]> git.tuebingen.mpg.de Git - tfortune.git/blobdiff - configure.ac
Add NEWS file.
[tfortune.git] / configure.ac
index 58925f1c1bb5cb4bc926d8473418aec43eb61212..4784b981827f1136d2522a788865cfb738eca73e 100644 (file)
@@ -1,8 +1,8 @@
 # SPDX-License-Identifier: GPL-3.0-only
 
 AC_PREREQ([2.61])
-AC_INIT([tfortune], [m4_esyscmd_s(./version-gen.sh)],
-       [maan@tuebingen.mpg.de], [], [http://people.tuebingen.mpg.de/maan/tfortune/])
+# only for configure -h, see Makefile
+AC_INIT([software], [packages])
 AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_FILES([config.mak])
 AC_USE_SYSTEM_EXTENSIONS
@@ -16,7 +16,6 @@ AC_DEFUN([REQUIRE_EXECUTABLE], [
 REQUIRE_EXECUTABLE([m4])
 REQUIRE_EXECUTABLE([flex])
 REQUIRE_EXECUTABLE([bison])
-REQUIRE_EXECUTABLE([lopsubgen])
 
 HAVE_LOPSUB=yes
 AC_CHECK_HEADER(lopsub.h, [], [HAVE_LOPSUB=no])
@@ -24,8 +23,10 @@ AC_CHECK_LIB([lopsub], [lls_merge], [], [HAVE_LOPSUB=no])
 if test $HAVE_LOPSUB == no; then AC_MSG_ERROR([
        The lopsub library is required to build this software, but
        the above 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
+
+       On Debian/Ubuntu systems you may install the liblopsub-dev package.
+       Alternatively, run the following command to download a copy.
+               git clone https://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
@@ -37,4 +38,5 @@ if test $HAVE_LOPSUB == no; then AC_MSG_ERROR([
                export LDFLAGS=-L\$pfx/lib
 ])
 fi
+REQUIRE_EXECUTABLE([lopsubgen])
 AC_OUTPUT