diff options
author | Havoc Pennington <hp@redhat.com> | 2002-11-21 19:03:04 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2002-11-21 19:03:04 +0000 |
commit | 6c45c95ca8d10a201b5748dfab2fd7cf34742d02 (patch) | |
tree | 1885efa575561d1721f6f38a5cb9ceca19a170b5 /autogen.sh | |
parent | 6b0e7e822f017a11713dae51edce6c6412d869ff (diff) | |
download | dbus-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-x | autogen.sh | 24 |
1 files changed, 20 insertions, 4 deletions
@@ -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." |