From: Andre Noll Date: Sun, 19 May 2024 15:17:55 +0000 (+0200) Subject: build: Shorten lopsub error message. X-Git-Tag: v1.0.0~3 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=348be9de410b76ff01167d0d1ba4bedfa5332795;p=micoforia.git build: Shorten lopsub error message. Just ask the user to install the debian package. --- diff --git a/configure.ac b/configure.ac index e29968f..b26e952 100644 --- a/configure.ac +++ b/configure.ac @@ -15,21 +15,8 @@ AC_DEFUN([REQUIRE_EXECUTABLE], [ ]) REQUIRE_EXECUTABLE([m4], [m4 is required to build this package]) -AC_DEFUN([LOPSUB_NOT_FOUND], [ -The lopsub library is required to build this software, but the checks -indicate it is not installed on your system. Run the following -command to download a copy. - git clone git://git.tuebingen.mpg.de/lopsub.git -Install the library, then run this configure script again. - -If you installed lopsub at a non-standard location, make sure to set -PATH, CPPFLAGS and LDFLAGS accordingly. For example: - - pfx=/prefix/where/lopsub/is/installed - export PATH=\$pfx/bin:\$PATH - export CPPFLAGS=-I\$pfx/include - export LDFLAGS=-L\$pfx/lib -]) +AC_DEFUN([LOPSUB_NOT_FOUND], [the lopsub library is required to build dnl +this software. Package: liblopsub-dev]) REQUIRE_EXECUTABLE([lopsubgen], [LOPSUB_NOT_FOUND()]) AC_CHECK_HEADER(lopsub.h, [], [AC_MSG_ERROR([LOPSUB_NOT_FOUND()])]) AC_CHECK_LIB([lopsub], [lls_merge], [], [AC_MSG_ERROR([LOPSUB_NOT_FOUND()])])