build: Hack build/autotools into autoreconf
authorEmmanuele Bassi <ebassi@linux.intel.com>
Wed, 10 Nov 2010 16:37:44 +0000 (16:37 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Wed, 10 Nov 2010 16:39:29 +0000 (16:39 +0000)
Since we require a version of gettext that might not match the version
installed we need to hack the order of includes for autoreconf.

This hack should go away, and we should just use the installed copy of
gettext.

autogen.sh

index 0cceae6..86e5180 100755 (executable)
@@ -63,7 +63,7 @@ fi
 rm -rf autom4te.cache
 
 gtkdocize || exit $?
-autoreconf ${ACLOCAL_FLAGS} -vfi || exit $?
+autoreconf -vfi -I $srcdir/build/autotools ${ACLOCAL_FLAGS} || exit $?
 cd $ORIGDIR || exit $?
 
 if test -z "$NOCONFIGURE"; then