# 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
REQUIRE_EXECUTABLE([m4])
REQUIRE_EXECUTABLE([flex])
REQUIRE_EXECUTABLE([bison])
-REQUIRE_EXECUTABLE([lopsubgen])
HAVE_LOPSUB=yes
AC_CHECK_HEADER(lopsub.h, [], [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
export LDFLAGS=-L\$pfx/lib
])
fi
+REQUIRE_EXECUTABLE([lopsubgen])
AC_OUTPUT