X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=autogen.sh;h=c8fcac7337037cbea70af4e2a2afd17e3ad00da7;hb=b51f8f420a99f380d9389bdd7a020b9a33a72820;hp=8241d5aeaa60e0e12b2beb623b4aa2ad6eeb9903;hpb=7d206be540b4ea7dc37ccc1d1649fb0947371af3;p=supertux.git diff --git a/autogen.sh b/autogen.sh index 8241d5aea..c8fcac733 100755 --- a/autogen.sh +++ b/autogen.sh @@ -10,10 +10,19 @@ aclocal -I mk/autoconf autoheader # generate Jamconfig.in +cat > Jamconfig.in << __EOF__ +# the following unsets some stuff from Jambase +CC = ; +CFLAGS = ; +LINK = ; +LINKFLAGS = ; +AR = ; +# Configuration part (you can customize this) +__EOF__ autoconf --trace=AC_SUBST \ | sed -e 's/configure.ac:[0-9]*:AC_SUBST:\([^:]*\).*/\1 ?= "@\1@" ;/g' \ | sed -e 's/.*BACKSLASH.*//' \ - > Jamconfig.in + >> Jamconfig.in echo 'INSTALL ?= "@INSTALL@" ;' >> Jamconfig.in echo 'JAMCONFIG_READ = yes ;' >> Jamconfig.in