X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=autogen.sh;h=c3d11caad731a36fde184132d5e5f36615480090;hb=dfd5d0937ce44b4a60b5ee7e2e82650a5e31a456;hp=9eb6780a9d4fc8ceea9e8fa71c80d9318be06c55;hpb=993ffcdd0cb1ab956a456243241ae96eb2b398d1;p=fontconfig.git diff --git a/autogen.sh b/autogen.sh index 9eb6780..c3d11ca 100755 --- a/autogen.sh +++ b/autogen.sh @@ -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