]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
2002-11-21 Havoc Pennington <hp@redhat.com>
authorHavoc Pennington <hp@redhat.com>
Thu, 21 Nov 2002 19:03:04 +0000 (19:03 +0000)
committerHavoc Pennington <hp@redhat.com>
Thu, 21 Nov 2002 19:03:04 +0000 (19:03 +0000)
* 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.

ChangeLog
Makefile.cvs [new file with mode: 0644]
acconfig.h [deleted file]
autogen.sh
configure.in

index 3654d20457973314106e1b928291e20c0c2c68b1..6ca594b0e037a34c772dfd8ff6d71fb0c7a59ac5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,18 @@
+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.
+       
 2002-11-21  Anders Carlsson  <andersca@codefactory.se>
 
        * doc/Makefile.am:
        Fix references so we can distcheck.
-       
+
 2002-11-21  Havoc Pennington  <hp@redhat.com>
 
        * Initial module creation
diff --git a/Makefile.cvs b/Makefile.cvs
new file mode 100644 (file)
index 0000000..fb06305
--- /dev/null
@@ -0,0 +1,6 @@
+## -*- makefile -*-
+
+all: configure
+
+configure: configure.in autogen.sh
+       ./autogen.sh --no-configure
diff --git a/acconfig.h b/acconfig.h
deleted file mode 100644 (file)
index e100ec2..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-#undef PACKAGE
-#undef VERSION
-#undef HAVE_CATGETS
-#undef HAVE_GETTEXT
-#undef HAVE_LC_MESSAGES
-#undef HAVE_STPCPY
-#undef ENABLE_NLS
-#undef HAVE_PTHREAD_H
-#undef GETTEXT_PACKAGE
-#undef SANE_MALLOC_PROTOS
index 3b74d828c171234bd83bbb2e294026f66ad0d50b..a3923bbc2cffc1d86feb3959864d727ab759853b 100755 (executable)
@@ -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."
index 18f8f967c27ceb3194f53283baf807db7069a0e3..b236dffe0b56b4b9a37e4e59aedb0112b036584a 100644 (file)
@@ -1,22 +1,24 @@
-AC_INIT(dbus/dbus.h)
+dnl -*- mode: m4 -*-
+AC_PREREQ(2.52)
 
-AM_CONFIG_HEADER(config.h)
+AC_INIT(dbus/dbus.h)
 
 AM_INIT_AUTOMAKE(dbus, 0.1)
 
+AM_CONFIG_HEADER(config.h)
+
 # Honor aclocal flags
 ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
 
 GETTEXT_PACKAGE=dbus-1
 AC_SUBST(GETTEXT_PACKAGE)
-AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE")
+AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",[The name of the gettext domain])
 
 AM_MAINTAINER_MODE
 
 AC_PROG_CC
 AC_ISC_POSIX
 AC_HEADER_STDC
-AC_ARG_PROGRAM
 AM_PROG_LIBTOOL
 
 AC_ARG_ENABLE(qt,   [  --disable-qt      disable Qt-friendly client library],enable_qt=no,enable_qt=yes)