]> err.no Git - util-linux/commitdiff
build-sys: add ${AC,AP,AM,AH}_OPTS to autogen.sh
authorKarel Zak <kzak@redhat.com>
Wed, 25 Jul 2007 16:45:01 +0000 (18:45 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 25 Jul 2007 16:45:01 +0000 (18:45 +0200)
With this patch, you can define autotool options when you
need to generate build-system. For example:

  $ AM_OPTS="--copy" ./autogen.sh

Signed-off-by: Karel Zak <kzak@redhat.com>
autogen.sh

index 3451b953f0a228cae994b0a229ceea15f59907c0..2354461fc2ccc301d6ae2ab9d6a0c6148c551189 100755 (executable)
@@ -54,11 +54,11 @@ test -f mount/mount.c || {
 }
 
 set -e
-autopoint --force
-aclocal -I m4
-autoconf
-autoheader
-automake --add-missing
+autopoint --force $AP_OPTS
+aclocal -I m4 $AL_OPTS
+autoconf $AC_OPTS
+autoheader $AH_OPTS
+automake --add-missing $AM_OPTS
 
 cd $THEDIR