Commit 6c45c95c authored by Havoc Pennington's avatar Havoc Pennington

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.
parent 6b0e7e82
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
......
## -*- makefile -*-
all: configure
configure: configure.in autogen.sh
./autogen.sh --no-configure
#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
......@@ -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."
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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment