#!/bin/sh -e
# Run this to generate all the initial makefiles, etc.
-amver=1.8
+amver=1.9
# AUTOCONF=
# AUTOHEADER=
# AUTOPOINT=
# LIBTOOLIZE=
-ACLOCAL="aclocal-$amver -I acmacro -I /usr/share/aclocal/gnome2-macros" \
+ACLOCAL="aclocal-$amver -I acmacro" \
AUTOMAKE="automake-$amver" \
- autoreconf -v || exit 1
-
-if test -z "$*"; then
- if test -e aci.conf ; then
- source aci.conf
- echo "**Warning**: I am going to run \`configure' with arguments resulting from aci_configurator execution."
- echo "ie, $configure_args."
- echo "If you wish to pass other ones, please specify them on the"
- echo \`$0\'" command line, or rerun aci_configurator and save the new ones."
- echo
- else
- configure_args="--enable-maintainer-mode --enable-gtk-doc"
- echo "**Warning**: I am going to run \`configure' with the default arguments."
- echo "ie, $configure_args."
- echo "If you wish to pass any to it, please specify them on the"
- echo \`$0\'" command line."
- echo
- fi
-else
- configure_args="$@"
- echo "I am going to run \`configure' with the provided arguments."
- echo "ie, $configure_args."
-fi
-
-echo "************"
-echo "* Running ./configure $configure_args..."
-echo "************"
-./configure $configure_args || exit 1
-
-echo Now type \`make\' to compile the package
-
-
+ autoreconf -v -i -s || exit 1
+
+echo
+echo "And now, please launch ./configure"
+echo "----------------------------------"
+
+# What to do the day we declare optional modules using ACI:
+# if test -e aci.conf ; then
+# source aci.conf
+# pass the content of $configure_args to configure
+
+echo
+echo "Most common flags:"
+echo " --enable-maintainer-mode mandatory if you are a maintainer"
+echo " --disable-compile-optimizations useful if your gdb gets fooled"
+echo
+
+echo
+echo "If you want to compile for several archs from the same (nfs-mounted?) tree, do:"
+echo " mkdir your_arch; cd your_arch && ../configure --srcdir=.."
+
+echo
+echo "(after configure, you'll naturally have to run \`make')"
+echo
+echo