summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2002-11-21 19:03:04 +0000
committerHavoc Pennington <hp@redhat.com>2002-11-21 19:03:04 +0000
commit6c45c95ca8d10a201b5748dfab2fd7cf34742d02 (patch)
tree1885efa575561d1721f6f38a5cb9ceca19a170b5 /autogen.sh
parent6b0e7e822f017a11713dae51edce6c6412d869ff (diff)
downloaddbus-6c45c95ca8d10a201b5748dfab2fd7cf34742d02.tar.gz
dbus-6c45c95ca8d10a201b5748dfab2fd7cf34742d02.tar.bz2
dbus-6c45c95ca8d10a201b5748dfab2fd7cf34742d02.zip
2002-11-21 Havoc Pennington <hp@redhat.com>
* acconfig.h: get rid of this * autogen.sh (run_configure): add --no-configure option * configure.in: remove AC_ARG_PROGRAM to make autoconf complain less. add AC_PREREQ. add AC_DEFINE third arg.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh24
1 files changed, 20 insertions, 4 deletions
diff --git a/autogen.sh b/autogen.sh
index 3b74d828..a3923bbc 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -56,7 +56,7 @@ libtoolize --copy --force
echo $ACLOCAL $ACLOCAL_FLAGS
$ACLOCAL $ACLOCAL_FLAGS
-# optionally feature autoheader
+## optionally feature autoheader
(autoheader --version) < /dev/null > /dev/null 2>&1 && autoheader
$AUTOMAKE -a $am_opt
@@ -64,7 +64,23 @@ autoconf || echo "autoconf failed - version 2.5x is probably required"
cd $ORIGDIR
-$srcdir/configure --enable-maintainer-mode "$@"
+run_configure=true
+for arg in $*; do
+ case $arg in
+ --no-configure)
+ run_configure=false
+ ;;
+ *)
+ ;;
+ esac
+done
+
+if $run_configure; then
+ $srcdir/configure --enable-maintainer-mode "$@"
+ echo
+ echo "Now type 'make' to compile $PROJECT."
+else
+ echo
+ echo "Now run 'configure' and 'make' to compile $PROJECT."
+fi
-echo
-echo "Now type 'make' to compile $PROJECT."