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:
parent
6a4c63d9d9
commit
1eca726f65
10
autogen.sh
10
autogen.sh
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue