Unset release flag, and start NEWS for 0.82.5
[dbus-python-phuang.git] / autogen.sh
blob7e9e71920272ed1f90188216350ec9cbc8a05730
1 #!/bin/sh
2 # Run this to generate all the initial makefiles, etc.
4 srcdir=`dirname $0`
5 test -z "$srcdir" && srcdir=.
7 ORIGDIR=`pwd`
8 cd $srcdir
10 PROJECT=dbus-python
12 test -f dbus-python.pc.in || {
13 echo "You must run this script in the top-level $PROJECT directory">&2
14 exit 1
17 (autoreconf --version) < /dev/null > /dev/null 2>&1 || {
18 echo
19 echo "You must have autoconf, automake and libtoolize installed">&2
20 echo "to compile $PROJECT. Download the appropriate packages for">&2
21 echo "your distribution, or get the source tarball at ">&2
22 echo "ftp://ftp.gnu.org/pub/gnu/">&2
23 exit 1
26 if test -z "$*"; then
27 echo "I am going to run ./configure with no arguments - if you wish "
28 echo "to pass any to it, please specify them on the $0 command line."
31 echo "Running autoreconf -f -i..."
32 autoreconf -f -i
34 cd $ORIGDIR
36 run_configure=true
37 for arg in $*; do
38 case $arg in
39 --no-configure)
40 run_configure=false
44 esac
45 done
47 if $run_configure; then
48 $srcdir/configure --enable-maintainer-mode --config-cache "$@"
49 echo
50 echo "Now run 'make' to compile $PROJECT."