bootstrap:

make it so bootstrap can be run out of dir (like configure)
configure.ac:
	evil hack to get $AR working with older libtool (1.3)
This commit is contained in:
Bill Currie 2001-10-01 20:49:38 +00:00
parent 20f702b5fe
commit 27d302f9c9
2 changed files with 17 additions and 0 deletions

View file

@ -1,4 +1,5 @@
#! /bin/sh
cd `dirname $0`
# Check Autoconf version
if [ -x `which autoconf` ]; then
AC_VER=`autoconf --version | head -1 | sed 's/^[^0-9]*//'`

View file

@ -38,6 +38,12 @@ AC_SUBST(ISODATE)
AC_LANG_C
if test ${AR-unset} = unset; then
echo boo
AR="ar"
fi
export AR
endian=""
case "$host_os" in
mingw32*)
@ -1541,6 +1547,16 @@ AC_OUTPUT(
RPM/quakeforge.spec,
chmod +x quakeforge-config RPM/build_rpm
if test "$AR" != "ar"; then
sed -e 's/^AR="ar"$/AR="'$AR'"/' libtool > libtool.qf
if cmp -s libtool.qf libtool; then
echo libtool is unchanged
rm -f libtool.qf
else
rm -f libtool
mv libtool.qf libtool
fi
fi
)
if test "x$CCVER" = "x"; then