]> git.wh0rd.org - fontconfig.git/blobdiff - autogen.sh
Bug 44826 - <alias> must contain only a single <family>
[fontconfig.git] / autogen.sh
index c3d11caad731a36fde184132d5e5f36615480090..df4cd4142a48976959fa21f0f7240fe93423f768 100755 (executable)
@@ -29,7 +29,7 @@ DIE=0
 
 have_libtool=false
 if $LIBTOOLIZE --version < /dev/null > /dev/null 2>&1 ; then
-       libtool_version=`$LIBTOOLIZE --version | sed 's/^[^0-9]*\([0-9].[0-9.]*\).*/\1/'`
+       libtool_version=`$LIBTOOLIZE --version | sed 's/^.* \([0-9][.][0-9.]*\)[^ ]*$/\1/'`
        case $libtool_version in
            1.4*|1.5*|1.6*|1.7*|2*)
                have_libtool=true
@@ -115,8 +115,8 @@ $AUTOCONF
 cd $ORIGDIR
 
 if test -z "$AUTOGEN_SUBDIR_MODE"; then
-       echo Running $srcdir/configure --enable-maintainer-mode "$@"
-        $srcdir/configure --enable-maintainer-mode "$@"
+       echo Running $srcdir/configure "$@"
+        $srcdir/configure "$@"
 
         echo 
         echo "Now type 'make' to compile $PROJECT."