build-sys: add ${AC,AP,AM,AH}_OPTS to autogen.sh

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>
This commit is contained in:
Karel Zak 2007-07-25 18:45:01 +02:00
parent 6a4c63d9d9
commit 1eca726f65
1 changed files with 5 additions and 5 deletions

View File

@ -54,11 +54,11 @@ test -f mount/mount.c || {
} }
set -e set -e
autopoint --force autopoint --force $AP_OPTS
aclocal -I m4 aclocal -I m4 $AL_OPTS
autoconf autoconf $AC_OPTS
autoheader autoheader $AH_OPTS
automake --add-missing automake --add-missing $AM_OPTS
cd $THEDIR cd $THEDIR