]> git.pld-linux.org Git - projects/rc-scripts.git/blobdiff - autogen.sh
fix RC_LOGGING=no daemon --makepid --fork write proper pidfile
[projects/rc-scripts.git] / autogen.sh
index 67d123ce8bcafed40db6f910d07bb74bfbce7637..a7028c278f34ea251b972c2e03ff41c6ce2a55e9 100755 (executable)
@@ -1,5 +1,4 @@
 #!/bin/sh
-# $Id$
 # Run this to generate all the initial makefiles, etc.
 
 srcdir=`dirname $0`
@@ -7,9 +6,11 @@ test -z "$srcdir" && srcdir=.
 
 PKG_NAME="PLD Linux Distribution rc-scripts"
 
-if [ "$1" = "changelog" ]; then
+if [ -x ./changelog.sh ]; then
        ./changelog.sh
-    exit 0
+else
+       echo "Error: missing script changelog.sh to generate ChangeLog" >&2
+       exit 1
 fi
 
 cd "$srcdir"
@@ -125,7 +126,7 @@ do
       fi
       echo "Running aclocal $aclocalinclude ..."
       aclocal $aclocalinclude
-      if grep "^AM_CONFIG_HEADER" configure.ac >/dev/null; then
+      if grep "^A[CM]_CONFIG_HEADER" configure.ac >/dev/null; then
        echo "Running autoheader..."
        autoheader
       fi
@@ -137,7 +138,7 @@ do
   fi
 done
 
-conf_flags="--enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c
+conf_flags="" #--enable-maintainer-mode --enable-compile-warnings --enable-iso-c
 
 if test x$NOCONFIGURE = x; then
   echo Running $srcdir/configure $conf_flags "$@" ...
This page took 0.218761 seconds and 4 git commands to generate.