Commit 3c18f2d1 by Tom Tromey Committed by Tom Tromey

configure: Rebuilt.

	* configure: Rebuilt.
	* configure.in (--enable-multilib): New option.
	(libffi_basedir): New subst.
	(AC_OUTPUT): Added multilib code.

From-SVN: r32311
parent 6ce7e0f9
2000-03-03 Tom Tromey <tromey@cygnus.com>
* configure: Rebuilt.
* configure.in (--enable-multilib): New option.
(libffi_basedir): New subst.
(AC_OUTPUT): Added multilib code.
2000-03-02 Tom Tromey <tromey@cygnus.com> 2000-03-02 Tom Tromey <tromey@cygnus.com>
* Makefile.in: Rebuilt. * Makefile.in: Rebuilt.
......
...@@ -9,6 +9,29 @@ AC_MSG_WARN(then use the most recent one - libffi-1.20.) ...@@ -9,6 +9,29 @@ AC_MSG_WARN(then use the most recent one - libffi-1.20.)
AC_MSG_WARN(***********************************************************) AC_MSG_WARN(***********************************************************)
AC_MSG_WARN(***********************************************************) AC_MSG_WARN(***********************************************************)
dnl 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])dnl
dnl We may get other options which we don't document:
dnl --with-target-subdir, --with-multisrctop, --with-multisubdir
if test "${srcdir}" = "."; then
if test "${with_target_subdir}" != "."; then
libffi_basedir="${srcdir}/${with_multisrctop}.."
else
libffi_basedir="${srcdir}/${with_multisrctop}"
fi
else
libffi_basedir="${srcdir}"
fi
AC_SUBST(libffi_basedir)
AC_CANONICAL_HOST AC_CANONICAL_HOST
AM_INIT_AUTOMAKE(libffi,2.00-beta,no-define) AM_INIT_AUTOMAKE(libffi,2.00-beta,no-define)
...@@ -80,7 +103,27 @@ AC_ARG_ENABLE(purify-safety, ...@@ -80,7 +103,27 @@ AC_ARG_ENABLE(purify-safety,
AM_CONDITIONAL(USE_LIBDIR, test -z "$with_cross_host") AM_CONDITIONAL(USE_LIBDIR, test -z "$with_cross_host")
AC_OUTPUT(include/Makefile include/ffi.h Makefile,, if test "${multilib}" = "yes"; then
multilib_arg="--enable-multilib"
else
multilib_arg=
fi
AC_OUTPUT(include/Makefile include/ffi.h Makefile,
[
if test -n "$CONFIG_FILES"; then
ac_file=Makefile . ${libffi_basedir}/../config-ml.in
fi
],
srcdir=${srcdir}
host=${host}
target=${target}
with_multisubdir=${with_multisubdir}
ac_configure_args="${multilib_arg} ${ac_configure_args}"
CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
libffi_basedir=${libffi_basedir}
CC="${CC}"
DEFS="$DEFS"
test ! -d include && mkdir include test ! -d include && mkdir include
test ! -f include/fficonfig.h && cp fficonfig.h include/fficonfig.h test ! -f include/fficonfig.h && cp fficonfig.h include/fficonfig.h
if cmp -s fficonfig.h include/fficonfig.h 2>/dev/null; then if cmp -s fficonfig.h include/fficonfig.h 2>/dev/null; then
......
...@@ -59,18 +59,14 @@ PRE_UNINSTALL = : ...@@ -59,18 +59,14 @@ PRE_UNINSTALL = :
POST_UNINSTALL = : POST_UNINSTALL = :
host_alias = @host_alias@ host_alias = @host_alias@
host_triplet = @host@ host_triplet = @host@
AMTAR = @AMTAR@
AMTARFLAGS = @AMTARFLAGS@
AS = @AS@ AS = @AS@
CC = @CC@ CC = @CC@
DLLTOOL = @DLLTOOL@ DLLTOOL = @DLLTOOL@
EXEEXT = @EXEEXT@ EXEEXT = @EXEEXT@
LD = @LD@
LIBTOOL = @LIBTOOL@ LIBTOOL = @LIBTOOL@
LN_S = @LN_S@ LN_S = @LN_S@
MAINT = @MAINT@ MAINT = @MAINT@
MAKEINFO = @MAKEINFO@ MAKEINFO = @MAKEINFO@
NM = @NM@
OBJDUMP = @OBJDUMP@ OBJDUMP = @OBJDUMP@
PACKAGE = @PACKAGE@ PACKAGE = @PACKAGE@
RANLIB = @RANLIB@ RANLIB = @RANLIB@
...@@ -78,7 +74,7 @@ SHELL = @SHELL@ ...@@ -78,7 +74,7 @@ SHELL = @SHELL@
TARGET = @TARGET@ TARGET = @TARGET@
TARGETDIR = @TARGETDIR@ TARGETDIR = @TARGETDIR@
VERSION = @VERSION@ VERSION = @VERSION@
install_sh = @install_sh@ libffi_basedir = @libffi_basedir@
AUTOMAKE_OPTIONS = foreign AUTOMAKE_OPTIONS = foreign
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment