Tag
Hash :
5f11c708
Author :
Date :
2000-11-24T02:25:13
* m4/regex.m4 (AM_WITH_REGEX): This macro was broken because of M4 underquoting. * m4/ccstdc.m4 (AC_PROG_CC_STDC): Added some M4 quotes. * m4/dmalloc.m4 (AM_WITH_DMALLOC): Likewise. * m4/lispdir.m4 (AM_PATH_LISPDIR): Likewise. * m4/maintainer.m4 (AM_MAINTAINER_MODE): Likewise. * m4/multi.m4 (AM_WITH_DMALLOC): Likewise. * m4/python.m4 (AM_PATH_PYTHON): Likewise. * m4/strtod.m4 (AM_FUNC_STRTOD): Likewise.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
# Add --enable-multilib to configure.
# Usage: AM_ENABLE_MULTILIB([makefile, [rel-to-top-srcdir]])
AC_DEFUN([AM_ENABLE_MULTILIB], [
# Default to --enable-multilib
AC_ARG_ENABLE(multilib,
[ --enable-multilib build many library versions (default)],
[case "${enableval}" in
yes) multilib=yes ;;
no) multilib=no ;;
*) AC_MSG_ERROR([bad value ${enableval} for multilib option]) ;;
esac], [multilib=yes])
# We may get other options which we are undocumented:
# --with-target-subdir, --with-multisrctop, --with-multisubdir
if test "[$]{srcdir}" = "."; then
if test "[$]{with_target_subdir}" != "."; then
multi_basedir="[$]{srcdir}/[$]{with_multisrctop}../ifelse([$2],,,[$2])"
else
multi_basedir="[$]{srcdir}/[$]{with_multisrctop}ifelse([$2],,,[$2])"
fi
else
multi_basedir="[$]{srcdir}/ifelse([$2],,,[$2])"
fi
AC_SUBST(multi_basedir)
AC_OUTPUT_COMMANDS(
if test -n "$CONFIG_FILES"; then
ac_file=[]ifelse([$1],,Makefile,[$1]) . ${multi_basedir}/config-ml.in
fi, [
srcdir="$srcdir"
host="$host"
target="$target"
with_multisubdir="$with_multisubdir"
with_multisrctop="$with_multisrctop"
with_target_subdir="$with_target_subdir"
ac_configure_args="${multilib_arg} ${ac_configure_args}"
multi_basedir="$multi_basedir"
CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
CC="$CC"])])dnl