#!/bin/sh
-# $Id$
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
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"
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
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 "$@" ...