2006-03-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+ * bootstrap: Enable `WORKING_LIBOBJ_SUPPORT' if we detect
+ Autoconf-2.60+ and Automake-1.10+, or CVS versions.
+
* libltdl/m4/argz.m4 (gl_FUNC_ARGZ): Sync with gnulib: If we
define `error_t', also define `__error_t_defined', so argp.h
will not typedef the former.
SHELL=${CONFIG_SHELL-/bin/sh}
export SHELL
: ${AUTORECONF=autoreconf}
+: ${AUTOCONF=autoconf}
+: ${AUTOMAKE=automake}
: ${AUTOM4TE=autom4te}
: ${MAKE=make}
: ${GREP=grep}
# Workaround for missing LIBOBJDIR support in Autoconf 2.59, Automake 1.9.6:
# Have symlinks of the libobj files in top source dir.
# Set WORKING_LIBOBJ_SUPPORT=: when calling bootstrap if you have fixed tools.
+case `($AUTOCONF --version) 2>/dev/null` in
+ *\ 2.[5-9][0-9]* | *\ [3-9].[0-9]*)
+ case `($AUTOMAKE --version) 2>/dev/null` in
+ *\ 1.1[0-9]* | *\ [2-9].[0-9]*)
+ WORKING_LIBOBJ_SUPPORT=: ;;
+ esac ;;
+esac
for file in argz.c lt__dirent.c lt__strl.c; do
rm -f $file
$WORKING_LIBOBJ_SUPPORT || $LN_S libltdl/$file $file