From: Lucas De Marchi Date: Mon, 9 Jan 2012 15:00:28 +0000 (-0200) Subject: build-sys: do not run configure in autogen.sh X-Git-Tag: v4~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63dc83291ce40db54dc3f1f2c9ee11d51b3af514;p=thirdparty%2Fkmod.git build-sys: do not run configure in autogen.sh --- diff --git a/autogen.sh b/autogen.sh index aa59f3b6..56e61e65 100755 --- a/autogen.sh +++ b/autogen.sh @@ -3,17 +3,18 @@ gtkdocize --docdir libkmod/docs autoreconf --install --symlink -MYCFLAGS="-g -O2 -Werror" - libdir() { echo $(cd $1/$(gcc -print-multi-os-directory); pwd) } args="--prefix=/usr \ --sysconfdir=/etc \ ---libdir=$(libdir /usr/lib) \ ---enable-debug" +--libdir=$(libdir /usr/lib)" -if [ -z "$NOCONFIGURE" ]; then - exec ./configure $args CFLAGS="${MYCFLAGS} ${CFLAGS}" "$@" -fi +echo +echo "----------------------------------------------------------------" +echo "Initialized build system. For a common configuration please run:" +echo "----------------------------------------------------------------" +echo +echo "# ./configure $args" +echo diff --git a/configure.ac b/configure.ac index bbb4d1f4..c05c6699 100644 --- a/configure.ac +++ b/configure.ac @@ -137,7 +137,7 @@ GTK_DOC_CHECK([1.14],[--flavour no-tmpl-flat]) AC_OUTPUT AC_MSG_RESULT([ $PACKAGE $VERSION - ======== + ====== prefix: ${prefix} rootprefix: ${rootprefix}