]> git.tue.mpg.de Git - micoforia.git/commitdiff
build: Shorten lopsub error message.
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 19 May 2024 15:17:55 +0000 (17:17 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 24 Jun 2024 13:26:07 +0000 (15:26 +0200)
Just ask the user to install the debian package.

configure.ac

index e29968f9a706a9580a3fc147ba9991a3f8f36987..b26e9525739ab33704c0d14b9413adef78e8ffcb 100644 (file)
@@ -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()])])