replace some obsoleted autoconf/automake macros and update autogen.sh accordingly
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@ fi
|
||||
|
||||
echo "Running aclocal ..."
|
||||
aclocal
|
||||
if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then
|
||||
if grep "^A[CM]_CONFIG_HEADER" configure.in >/dev/null; then
|
||||
echo "Running autoheader..."
|
||||
autoheader
|
||||
fi
|
||||
|
||||
+3
-4
@@ -1,11 +1,10 @@
|
||||
dnl Process this file with autoconf 2.50 (or higher) to produce a configure script.
|
||||
AC_PREREQ(2.59)
|
||||
AC_INIT
|
||||
AC_INIT(lcdproc, 0.5dev, lcdproc@lists.omnipotent.net)
|
||||
AC_CONFIG_SRCDIR([clients/lcdproc/batt.c])
|
||||
AM_INIT_AUTOMAKE(lcdproc, 0.5dev)
|
||||
AM_INIT_AUTOMAKE
|
||||
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
AC_EXEEXT
|
||||
AC_CONFIG_HEADERS(config.h)
|
||||
|
||||
AC_CANONICAL_HOST
|
||||
case "$host" in
|
||||
|
||||
Reference in New Issue
Block a user