]> git.wh0rd.org - fontconfig.git/blobdiff - autogen.sh
Track line numbers in sgml edit tool input.
[fontconfig.git] / autogen.sh
index 9eb6780a9d4fc8ceea9e8fa71c80d9318be06c55..c3d11caad731a36fde184132d5e5f36615480090 100755 (executable)
@@ -1,9 +1,18 @@
 #!/bin/sh
 # Run this to generate all the initial makefiles, etc.
 
+set -e
+
 srcdir=`dirname $0`
 test -z "$srcdir" && srcdir=.
 
+case "$1" in
+--noconf*) 
+       AUTOGEN_SUBDIR_MODE="true"
+       shift
+       ;;
+esac
+
 ORIGDIR=`pwd`
 cd $srcdir
 PROJECT=Fontconfig
@@ -106,7 +115,7 @@ $AUTOCONF
 cd $ORIGDIR
 
 if test -z "$AUTOGEN_SUBDIR_MODE"; then
-       echo Running $srcdir/configure
+       echo Running $srcdir/configure --enable-maintainer-mode "$@"
         $srcdir/configure --enable-maintainer-mode "$@"
 
         echo