newlib-cygwin/newlib/libm/machine/configure.in

46 lines
1.1 KiB
Plaintext
Raw Normal View History

* Makefile.shared: New file. * libc/sys/linux/shared.ld: New file. * libm/machine/*: New files. * libm/machine/i386/*: New files. * Makefile.am: Add libtool support. Change math and mathfp references to variables. * configure.host: Add variables for libtool support. Add libm_machine_dir variable. * configure.in: Add objectlist variables, for libtool support. Add CC_FOR_BUILD tests. * libc/Makefile.am: Add libtool support. Change crt0.o reference to be a variable reference. * libc/configure.in: Add libtool support. Change sublib names to be lib${subdir}.la when using libtool. * libc/ctype/Makefile.am: Add libtool support. * libc/errno/Makefile.am: Likewise. * libc/locale/Makefile.am: Likewise. * libc/machine/Makefile.am: Likewise. * libc/machine/configure.in: Likewise. * libc/machine/i386/Makefile.am: Likewise. * libc/machine/i386/configure.in: Likewise. * libc/misc/Makefile.am: Likewise. * libc/posix/Makefile.am: Likewise. * libc/reent/Makefile.am: Likewise. * libc/signal/Makefile.am: Likewise. * libc/stdio/Makefile.am: Likewise. * libc/stdlib/Makefile.am: Likewise. * libc/string/Makefile.am: Likewise. * libc/sys/Makefile.am: Likewise. * libc/sys/configure.in: Likewise. * libc/sys/linux/Makefile.am: Add libtool support. Change awk reference to a variable reference. Change signal.h reference to a variable reference. * libc/sys/linux/configure.in: Add libtool support. * libc/syscalls/Makefile.am: Likewise. * libc/time/Makefile.am: Likewise. * libc/unix/Makefile.am: Likewise. * libm/Makefile.am: Add libtool support. Change math and mathfp references to variables. * libm/configure.in: Add libtool support. Add LIBM_MACHINE_LIB variable. * libm/common/Makefile.am: Add libtool support. * libm/math/Makefile.am: Likewise. * libm/mathfp/Makefile.am: Likewise. Regenerate all Makefile.in, aclocal.m4, and configure.
2001-12-14 07:50:11 +08:00
dnl This is the newlib/libm/machine configure.in file.
dnl Process this file with autoconf to produce a configure script.
2006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org> * acinclude.m4: New _NEWLIB_VERSION. * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION). Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM. Use new form of AC_INIT_AUTOMAKE. * configure.in: AC_PREREQ(2.59). Use autoconf-2.5.x version of AC_INIT. Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of autoconf-2.13's AC_OUTPUT. * libm/configure.in: Ditto. * libm/machine/configure.in: Ditto. * libm/machine/i386/configure.in: Ditto. * libc/configure.in: Ditto. * libc/machine/a29k/configure.in: Ditto. * libc/machine/arm/configure.in: Ditto. * libc/machine/configure.in: Ditto. * libc/machine/mn10300/configure.in: Ditto. * libc/machine/powerpc/configure.in: Ditto. * libc/machine/z8k/configure.in: Ditto. * libc/machine/h8300/configure.in: Ditto. * libc/machine/mips/configure.in: Ditto. * libc/machine/crx/configure.in: Ditto. * libc/machine/m68hc11/configure.in: Ditto. * libc/machine/h8500/configure.in: Ditto. * libc/machine/xscale/configure.in: Ditto. * libc/machine/d10v/configure.in: Ditto. * libc/machine/fr30/configure.in: Ditto. * libc/machine/sh/configure.in: Ditto. * libc/machine/tic80/configure.in: Ditto. * libc/machine/m32r/configure.in: Ditto. * libc/machine/xstormy16/configure.in: Ditto. * libc/machine/i386/configure.in: Ditto. * libc/machine/d30v/configure.in: Ditto. * libc/machine/mn10200/configure.in: Ditto. * libc/machine/frv/configure.in: Ditto. * libc/machine/mt/configure.in: Ditto. * libc/machine/i960/configure.in: Ditto. * libc/machine/v850/configure.in: Ditto. * libc/machine/necv70/configure.in: Ditto. * libc/machine/tic4x/configure.in: Ditto. * libc/machine/cris/configure.in: Ditto. * libc/machine/m68k/configure.in: Ditto. * libc/machine/m32c/configure.in: Ditto. * libc/machine/hppa/configure.in: Ditto. * libc/machine/w65/configure.in: Ditto. * libc/machine/iq2000/configure.in: Ditto. * libc/machine/sparc/configure.in: Ditto. * libc/machine/m88k/configure.in: Ditto. * libc/sys/linux/configure.in: Ditto. * libc/sys/linux/machine/configure.in: Ditto. * libc/sys/linux/machine/i386/configure.in: Ditto. * libc/sys/linux/linuxthreads/configure.in: Ditto. * libc/sys/linux/linuxthreads/machine/configure.in: Ditto. * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto. * libc/sys/arm/configure.in: Ditto. * libc/sys/configure.in: Ditto. * libc/sys/decstation/configure.in: Ditto. * libc/sys/a29khif/configure.in: Ditto. * libc/sys/sysnecv850/configure.in: Ditto. * libc/sys/d10v/configure.in: Ditto. * libc/sys/netware/configure.in: Ditto. * libc/sys/mmixware/configure.in: Ditto. * libc/sys/h8500hms/configure.in: Ditto. * libc/sys/sh/configure.in: Ditto. * libc/sys/tic80/configure.in: Ditto. * libc/sys/rdos/configure.in: Ditto. * libc/sys/sysmec/configure.in: Ditto. * libc/sys/sysvi386/configure.in: Ditto. * libc/sys/h8300hms/configure.in: Ditto. * libc/sys/sparc64/configure.in: Ditto. * libc/sys/arc/configure.in: Ditto. * libc/sys/sysnec810/configure.in: Ditto. * libc/sys/m88kbug/configure.in: Ditto. * libc/sys/sysvnecv70/configure.in: Ditto. * libc/sys/z8ksim/configure.in: Ditto. * libc/sys/rtems/configure.in: Ditto. * libc/sys/w65/configure.in: Ditto. * libc/sys/sun4/configure.in: Ditto. * doc/configure.in: Ditto. * iconvdata/configure.in: Ditto. * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
2006-04-14 03:56:32 +08:00
AC_PREREQ(2.59)
AC_INIT([newlib],[NEWLIB_VERSION])
AC_CONFIG_SRCDIR([i386])
* Makefile.shared: New file. * libc/sys/linux/shared.ld: New file. * libm/machine/*: New files. * libm/machine/i386/*: New files. * Makefile.am: Add libtool support. Change math and mathfp references to variables. * configure.host: Add variables for libtool support. Add libm_machine_dir variable. * configure.in: Add objectlist variables, for libtool support. Add CC_FOR_BUILD tests. * libc/Makefile.am: Add libtool support. Change crt0.o reference to be a variable reference. * libc/configure.in: Add libtool support. Change sublib names to be lib${subdir}.la when using libtool. * libc/ctype/Makefile.am: Add libtool support. * libc/errno/Makefile.am: Likewise. * libc/locale/Makefile.am: Likewise. * libc/machine/Makefile.am: Likewise. * libc/machine/configure.in: Likewise. * libc/machine/i386/Makefile.am: Likewise. * libc/machine/i386/configure.in: Likewise. * libc/misc/Makefile.am: Likewise. * libc/posix/Makefile.am: Likewise. * libc/reent/Makefile.am: Likewise. * libc/signal/Makefile.am: Likewise. * libc/stdio/Makefile.am: Likewise. * libc/stdlib/Makefile.am: Likewise. * libc/string/Makefile.am: Likewise. * libc/sys/Makefile.am: Likewise. * libc/sys/configure.in: Likewise. * libc/sys/linux/Makefile.am: Add libtool support. Change awk reference to a variable reference. Change signal.h reference to a variable reference. * libc/sys/linux/configure.in: Add libtool support. * libc/syscalls/Makefile.am: Likewise. * libc/time/Makefile.am: Likewise. * libc/unix/Makefile.am: Likewise. * libm/Makefile.am: Add libtool support. Change math and mathfp references to variables. * libm/configure.in: Add libtool support. Add LIBM_MACHINE_LIB variable. * libm/common/Makefile.am: Add libtool support. * libm/math/Makefile.am: Likewise. * libm/mathfp/Makefile.am: Likewise. Regenerate all Makefile.in, aclocal.m4, and configure.
2001-12-14 07:50:11 +08:00
dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake.
AC_CONFIG_AUX_DIR(../../..)
NEWLIB_CONFIGURE(../..)
dnl We have to add the following lines because automake detects the
dnl references to libtool libraries from aclocal and tries to verify that
dnl AM_PROG_LIBTOOL is being used. This must be added after
dnl the call to NEWLIB_CONFIGURE.
if test "${use_libtool}" = "yes"; then
AC_LIBTOOL_WIN32_DLL
AM_PROG_LIBTOOL
fi
machlib=
if test -n "${libm_machine_dir}"; then
2006-04-11 Jeff Johnston <jjohnstn@redhat.com> * acinclude.m4: Properly add square brackets for AC_DEFUN macros. Rewrite LIB_AC_PROG_CC to remove macros no longer available. Add LIB_AM_PROG_AS to remove prereq of AC_PROG_CC. Add LIB_AC_PROG_CC_GNU macro. Substitute lpfx (library object prefix). * configure.host: Set lpfx depending on whether libtool is used or not. * configure.in: Individually specify libc and libm to AC_CONFIG_SUBDIRS. Add square bracket quoting as necessary. * Makefile.am: Use $(lpfx) to get object names for math-library functions that should also be in libc. * libc/machine/configure.in: Use case statement to determine AC_CONFIG_SUBDIRS statement. * libc/sys/linux/linuxthreads/machine/configure.in: Ditto. * libc/sys/linux/machine/configure.in: Ditto. * libc/sys/configure.in: Ditto. * libm/machine/configure.in: Ditto. * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS. * libm/configure.in: Add AM_CONDITIONAL statement for HAVE_LIBM_MACHINE_DIR. * libc/machine/a29k/Makefile.am: Modified to work with latest automake. Change includes setting AM_CCASFLAGS so building .S files will properly pick up flags used to build C files. * libc/machine/arm/Makefile.am: Ditto. * libc/machine/crx/Makefile.am: Ditto. * libc/machine/d10v/Makefile.am: Ditto. * libc/machine/d30v/Makefile.am: Ditto. * libc/machine/fr30/Makefile.am: Ditto. * libc/machine/frv/Makefile.am: Ditto. * libc/machine/h8300/Makefile.am: Ditto. * libc/machine/h8500/Makefile.am: Ditto. * libc/machine/hppa/Makefile.am: Ditto. * libc/machine/i386/Makefile.am: Ditto. * libc/machine/iq2000/Makefile.am: Ditto. * libc/machine/m32c/Makefile.am: Ditto. * libc/machine/m32r/Makefile.am: Ditto. * libc/machine/m68hc11/Makefile.am: Ditto. * libc/machine/m68k/Makefile.am: Ditto. * libc/machine/m88k/Makefile.am: Ditto. * libc/machine/mips/Makefile.am: Ditto. * libc/machine/mn10200/Makefile.am: Ditto. * libc/machine/mn10300/Makefile.am: Ditto. * libc/machine/mt/Makefile.am: Ditto. * libc/machine/necv70/Makefile.am: Ditto. * libc/machine/powerpc/Makefile.am: Ditto. * libc/machine/sh/Makefile.am: Ditto. * libc/machine/sparc/Makefile.am: Ditto. * libc/machine/tic4x/Makefile.am: Ditto. * libc/machine/tic80/Makefile.am: Ditto. * libc/machine/v850/Makefile.am: Ditto. * libc/machine/w65/Makefile.am: Ditto. * libc/machine/xscale/Makefile.am: Ditto. * libc/machine/xstormy16/Makefile.am: Ditto. * libc/machine/z8k/Makefile.am: Ditto. * libc/sys/a29khif/Makefile.am: Ditto. * libc/sys/arc/Makefile.am: Ditto. * libc/sys/arm/Makefile.am: Ditto. * libc/sys/d10v/Makefile.am: Ditto. * libc/sys/decstation/Makefile.am: Ditto. * libc/sys/h8300hms/Makefile.am: Ditto. * libc/sys/h8500hms/Makefile.am: Ditto. * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto. * libc/sys/linux/machine/i386/Makefile.am: Ditto. * libc/sys/m88kbug/Makefile.am: Ditto. * libc/sys/mmixware/Makefile.am: Ditto. * libc/sys/netware/Makefile.am: Ditto. * libc/sys/rdos/Makefile.am: Ditto. * libc/sys/rtems/Makefile.am: Ditto. * libc/sys/sh/Makefile.am: Ditto. * libc/sys/sparc64/Makefile.am: Ditto. * libc/sys/sysmec/Makefile.am: Ditto. * libc/sys/sysnec810/Makefile.am: Ditto. * libc/sys/sysnecv850/Makefile.am: Ditto. * libc/sys/sysvi386/Makefile.am: Ditto. * libc/sys/sysvnecv70/Makefile.am: Ditto. * libc/sys/tic80/Makefile.am: Ditto. * libc/sys/w65/Makefile.am: Ditto. * libc/sys/z8ksim/Makefile.am: Ditto. * libm/machine/i386/Makefile.am: Ditto. * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including trap.S so that automake will generate a .S.o suffix rule. * libc/argz/Makefile.am: Modified to work with latest automake. Change includes adding lib_a_CFLAGS so automake doesn't complain about libtool and non-libtool libraries sharing objects. * libc/ctype/Makefile.am: Ditto. * libc/errno/Makefile.am: Ditto. * libc/iconv/ccs/Makefile.am: Ditto. * libc/iconv/ces/Makefile.am: Ditto. * libc/iconv/lib/Makefile.am: Ditto. * libc/locale/Makefile.am: Ditto. * libc/misc/Makefile.am: Ditto. * libc/posix/Makefile.am: Ditto. * libc/reent/Makefile.am: Ditto. * libc/search/Makefile.am: Ditto. * libc/signal/Makefile.am: Ditto. * libc/stdio/Makefile.am: Ditto. * libc/stdio64/Makefile.am: Ditto. * libc/stdlib/Makefile.am: Ditto. * libc/string/Makefile.am: Ditto. * libc/sys/linux/Makefile.am: Ditto. * libc/sys/linux/argp/Makefile.am: Ditto. * libc/sys/linux/cmath/Makefile.am: Ditto. * libc/sys/linux/dl/Makefile.am: Ditto. * libc/sys/linux/iconv/Makefile.am: Ditto. * libc/sys/linux/intl/Makefile.am: Ditto. * libc/sys/linux/linuxthreads/Makefile.am: Ditto. * libc/sys/linux/net/Makefile.am: Ditto. * libc/sys/linux/stdlib/Makefile.am: Ditto. * libc/syscalls/Makefile.am: Ditto. * libc/time/Makefile.am: Ditto. * libc/unix/Makefile.am: Ditto. * libm/Makefile.am: Ditto. * libm/common/Makefile.am: Ditto. * libm/math/Makefile.am: Ditto. * libm/mathfp/Makefile.am: Ditto. * Regenerate all aclocal.m4, Makefile.in, and configure files.
2006-04-12 03:02:16 +08:00
case ${libm_machine_dir} in
i386) AC_CONFIG_SUBDIRS(i386) ;;
2007-02-14 Patrick Mansfield <patmans@us.ibm.com> Add a floating point environment for SPU (cell): * configure.host: add libm_machine_dir=spu. * libm/machine/configure: Add spu. * libm/machine/configure.in: regenerated with spu added. * libc/machine/spu/include/fenv.h: New file. * libc/machine/spu/sys/fenv.h: Ditto. * libm/machine/spu/Makefile.am: Ditto. * libm/machine/spu/Makefile.in: Ditto. * libm/machine/spu/aclocal.m4: Ditto. * libm/machine/spu/configure: Ditto. * libm/machine/spu/configure.in: Ditto. * libm/machine/spu/fe_dfl_env.c: Ditto. * libm/machine/spu/feclearexcept.c: Ditto. * libm/machine/spu/fegetenv.c: Ditto. * libm/machine/spu/fegetexceptflag.c: Ditto. * libm/machine/spu/fegetround.c: Ditto. * libm/machine/spu/feholdexcept.c: Ditto. * libm/machine/spu/feraiseexcept.c: Ditto. * libm/machine/spu/fesetenv.c: Ditto. * libm/machine/spu/fesetexceptflag.c: Ditto. * libm/machine/spu/fesetround.c: Ditto. * libm/machine/spu/fetestexcept.c: Ditto. * libm/machine/spu/feupdateenv.c: Ditto. * libm/machine/spu/headers/feclearexcept.h: Ditto. * libm/machine/spu/headers/fefpscr.h: Ditto. * libm/machine/spu/headers/fegetenv.h: Ditto. * libm/machine/spu/headers/fegetexceptflag.h: Ditto. * libm/machine/spu/headers/fegetround.h: Ditto. * libm/machine/spu/headers/feholdexcept.h: Ditto. * libm/machine/spu/headers/feraiseexcept.h: Ditto. * libm/machine/spu/headers/fesetenv.h: Ditto. * libm/machine/spu/headers/fesetexceptflag.h: Ditto. * libm/machine/spu/headers/fesetround.h: Ditto. * libm/machine/spu/headers/fetestexcept.h: Ditto. * libm/machine/spu/headers/feupdateenv.h: Ditto.
2007-02-15 07:18:25 +08:00
spu) AC_CONFIG_SUBDIRS(spu) ;;
2006-04-11 Jeff Johnston <jjohnstn@redhat.com> * acinclude.m4: Properly add square brackets for AC_DEFUN macros. Rewrite LIB_AC_PROG_CC to remove macros no longer available. Add LIB_AM_PROG_AS to remove prereq of AC_PROG_CC. Add LIB_AC_PROG_CC_GNU macro. Substitute lpfx (library object prefix). * configure.host: Set lpfx depending on whether libtool is used or not. * configure.in: Individually specify libc and libm to AC_CONFIG_SUBDIRS. Add square bracket quoting as necessary. * Makefile.am: Use $(lpfx) to get object names for math-library functions that should also be in libc. * libc/machine/configure.in: Use case statement to determine AC_CONFIG_SUBDIRS statement. * libc/sys/linux/linuxthreads/machine/configure.in: Ditto. * libc/sys/linux/machine/configure.in: Ditto. * libc/sys/configure.in: Ditto. * libm/machine/configure.in: Ditto. * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS. * libm/configure.in: Add AM_CONDITIONAL statement for HAVE_LIBM_MACHINE_DIR. * libc/machine/a29k/Makefile.am: Modified to work with latest automake. Change includes setting AM_CCASFLAGS so building .S files will properly pick up flags used to build C files. * libc/machine/arm/Makefile.am: Ditto. * libc/machine/crx/Makefile.am: Ditto. * libc/machine/d10v/Makefile.am: Ditto. * libc/machine/d30v/Makefile.am: Ditto. * libc/machine/fr30/Makefile.am: Ditto. * libc/machine/frv/Makefile.am: Ditto. * libc/machine/h8300/Makefile.am: Ditto. * libc/machine/h8500/Makefile.am: Ditto. * libc/machine/hppa/Makefile.am: Ditto. * libc/machine/i386/Makefile.am: Ditto. * libc/machine/iq2000/Makefile.am: Ditto. * libc/machine/m32c/Makefile.am: Ditto. * libc/machine/m32r/Makefile.am: Ditto. * libc/machine/m68hc11/Makefile.am: Ditto. * libc/machine/m68k/Makefile.am: Ditto. * libc/machine/m88k/Makefile.am: Ditto. * libc/machine/mips/Makefile.am: Ditto. * libc/machine/mn10200/Makefile.am: Ditto. * libc/machine/mn10300/Makefile.am: Ditto. * libc/machine/mt/Makefile.am: Ditto. * libc/machine/necv70/Makefile.am: Ditto. * libc/machine/powerpc/Makefile.am: Ditto. * libc/machine/sh/Makefile.am: Ditto. * libc/machine/sparc/Makefile.am: Ditto. * libc/machine/tic4x/Makefile.am: Ditto. * libc/machine/tic80/Makefile.am: Ditto. * libc/machine/v850/Makefile.am: Ditto. * libc/machine/w65/Makefile.am: Ditto. * libc/machine/xscale/Makefile.am: Ditto. * libc/machine/xstormy16/Makefile.am: Ditto. * libc/machine/z8k/Makefile.am: Ditto. * libc/sys/a29khif/Makefile.am: Ditto. * libc/sys/arc/Makefile.am: Ditto. * libc/sys/arm/Makefile.am: Ditto. * libc/sys/d10v/Makefile.am: Ditto. * libc/sys/decstation/Makefile.am: Ditto. * libc/sys/h8300hms/Makefile.am: Ditto. * libc/sys/h8500hms/Makefile.am: Ditto. * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto. * libc/sys/linux/machine/i386/Makefile.am: Ditto. * libc/sys/m88kbug/Makefile.am: Ditto. * libc/sys/mmixware/Makefile.am: Ditto. * libc/sys/netware/Makefile.am: Ditto. * libc/sys/rdos/Makefile.am: Ditto. * libc/sys/rtems/Makefile.am: Ditto. * libc/sys/sh/Makefile.am: Ditto. * libc/sys/sparc64/Makefile.am: Ditto. * libc/sys/sysmec/Makefile.am: Ditto. * libc/sys/sysnec810/Makefile.am: Ditto. * libc/sys/sysnecv850/Makefile.am: Ditto. * libc/sys/sysvi386/Makefile.am: Ditto. * libc/sys/sysvnecv70/Makefile.am: Ditto. * libc/sys/tic80/Makefile.am: Ditto. * libc/sys/w65/Makefile.am: Ditto. * libc/sys/z8ksim/Makefile.am: Ditto. * libm/machine/i386/Makefile.am: Ditto. * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including trap.S so that automake will generate a .S.o suffix rule. * libc/argz/Makefile.am: Modified to work with latest automake. Change includes adding lib_a_CFLAGS so automake doesn't complain about libtool and non-libtool libraries sharing objects. * libc/ctype/Makefile.am: Ditto. * libc/errno/Makefile.am: Ditto. * libc/iconv/ccs/Makefile.am: Ditto. * libc/iconv/ces/Makefile.am: Ditto. * libc/iconv/lib/Makefile.am: Ditto. * libc/locale/Makefile.am: Ditto. * libc/misc/Makefile.am: Ditto. * libc/posix/Makefile.am: Ditto. * libc/reent/Makefile.am: Ditto. * libc/search/Makefile.am: Ditto. * libc/signal/Makefile.am: Ditto. * libc/stdio/Makefile.am: Ditto. * libc/stdio64/Makefile.am: Ditto. * libc/stdlib/Makefile.am: Ditto. * libc/string/Makefile.am: Ditto. * libc/sys/linux/Makefile.am: Ditto. * libc/sys/linux/argp/Makefile.am: Ditto. * libc/sys/linux/cmath/Makefile.am: Ditto. * libc/sys/linux/dl/Makefile.am: Ditto. * libc/sys/linux/iconv/Makefile.am: Ditto. * libc/sys/linux/intl/Makefile.am: Ditto. * libc/sys/linux/linuxthreads/Makefile.am: Ditto. * libc/sys/linux/net/Makefile.am: Ditto. * libc/sys/linux/stdlib/Makefile.am: Ditto. * libc/syscalls/Makefile.am: Ditto. * libc/time/Makefile.am: Ditto. * libc/unix/Makefile.am: Ditto. * libm/Makefile.am: Ditto. * libm/common/Makefile.am: Ditto. * libm/math/Makefile.am: Ditto. * libm/mathfp/Makefile.am: Ditto. * Regenerate all aclocal.m4, Makefile.in, and configure files.
2006-04-12 03:02:16 +08:00
esac;
* Makefile.shared: New file. * libc/sys/linux/shared.ld: New file. * libm/machine/*: New files. * libm/machine/i386/*: New files. * Makefile.am: Add libtool support. Change math and mathfp references to variables. * configure.host: Add variables for libtool support. Add libm_machine_dir variable. * configure.in: Add objectlist variables, for libtool support. Add CC_FOR_BUILD tests. * libc/Makefile.am: Add libtool support. Change crt0.o reference to be a variable reference. * libc/configure.in: Add libtool support. Change sublib names to be lib${subdir}.la when using libtool. * libc/ctype/Makefile.am: Add libtool support. * libc/errno/Makefile.am: Likewise. * libc/locale/Makefile.am: Likewise. * libc/machine/Makefile.am: Likewise. * libc/machine/configure.in: Likewise. * libc/machine/i386/Makefile.am: Likewise. * libc/machine/i386/configure.in: Likewise. * libc/misc/Makefile.am: Likewise. * libc/posix/Makefile.am: Likewise. * libc/reent/Makefile.am: Likewise. * libc/signal/Makefile.am: Likewise. * libc/stdio/Makefile.am: Likewise. * libc/stdlib/Makefile.am: Likewise. * libc/string/Makefile.am: Likewise. * libc/sys/Makefile.am: Likewise. * libc/sys/configure.in: Likewise. * libc/sys/linux/Makefile.am: Add libtool support. Change awk reference to a variable reference. Change signal.h reference to a variable reference. * libc/sys/linux/configure.in: Add libtool support. * libc/syscalls/Makefile.am: Likewise. * libc/time/Makefile.am: Likewise. * libc/unix/Makefile.am: Likewise. * libm/Makefile.am: Add libtool support. Change math and mathfp references to variables. * libm/configure.in: Add libtool support. Add LIBM_MACHINE_LIB variable. * libm/common/Makefile.am: Add libtool support. * libm/math/Makefile.am: Likewise. * libm/mathfp/Makefile.am: Likewise. Regenerate all Makefile.in, aclocal.m4, and configure.
2001-12-14 07:50:11 +08:00
if test "${use_libtool}" = "yes"; then
machlib=${libm_machine_dir}/lib${libm_machine_dir}.${aext}
else
machlib=${libm_machine_dir}/lib.${aext}
fi
fi
AC_SUBST(libm_machine_dir)
AC_SUBST(machlib)
AM_CONDITIONAL(HAVE_LIBM_MACHINE_DIR, test x${libm_machine_dir} != x)
2006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org> * acinclude.m4: New _NEWLIB_VERSION. * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION). Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM. Use new form of AC_INIT_AUTOMAKE. * configure.in: AC_PREREQ(2.59). Use autoconf-2.5.x version of AC_INIT. Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of autoconf-2.13's AC_OUTPUT. * libm/configure.in: Ditto. * libm/machine/configure.in: Ditto. * libm/machine/i386/configure.in: Ditto. * libc/configure.in: Ditto. * libc/machine/a29k/configure.in: Ditto. * libc/machine/arm/configure.in: Ditto. * libc/machine/configure.in: Ditto. * libc/machine/mn10300/configure.in: Ditto. * libc/machine/powerpc/configure.in: Ditto. * libc/machine/z8k/configure.in: Ditto. * libc/machine/h8300/configure.in: Ditto. * libc/machine/mips/configure.in: Ditto. * libc/machine/crx/configure.in: Ditto. * libc/machine/m68hc11/configure.in: Ditto. * libc/machine/h8500/configure.in: Ditto. * libc/machine/xscale/configure.in: Ditto. * libc/machine/d10v/configure.in: Ditto. * libc/machine/fr30/configure.in: Ditto. * libc/machine/sh/configure.in: Ditto. * libc/machine/tic80/configure.in: Ditto. * libc/machine/m32r/configure.in: Ditto. * libc/machine/xstormy16/configure.in: Ditto. * libc/machine/i386/configure.in: Ditto. * libc/machine/d30v/configure.in: Ditto. * libc/machine/mn10200/configure.in: Ditto. * libc/machine/frv/configure.in: Ditto. * libc/machine/mt/configure.in: Ditto. * libc/machine/i960/configure.in: Ditto. * libc/machine/v850/configure.in: Ditto. * libc/machine/necv70/configure.in: Ditto. * libc/machine/tic4x/configure.in: Ditto. * libc/machine/cris/configure.in: Ditto. * libc/machine/m68k/configure.in: Ditto. * libc/machine/m32c/configure.in: Ditto. * libc/machine/hppa/configure.in: Ditto. * libc/machine/w65/configure.in: Ditto. * libc/machine/iq2000/configure.in: Ditto. * libc/machine/sparc/configure.in: Ditto. * libc/machine/m88k/configure.in: Ditto. * libc/sys/linux/configure.in: Ditto. * libc/sys/linux/machine/configure.in: Ditto. * libc/sys/linux/machine/i386/configure.in: Ditto. * libc/sys/linux/linuxthreads/configure.in: Ditto. * libc/sys/linux/linuxthreads/machine/configure.in: Ditto. * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto. * libc/sys/arm/configure.in: Ditto. * libc/sys/configure.in: Ditto. * libc/sys/decstation/configure.in: Ditto. * libc/sys/a29khif/configure.in: Ditto. * libc/sys/sysnecv850/configure.in: Ditto. * libc/sys/d10v/configure.in: Ditto. * libc/sys/netware/configure.in: Ditto. * libc/sys/mmixware/configure.in: Ditto. * libc/sys/h8500hms/configure.in: Ditto. * libc/sys/sh/configure.in: Ditto. * libc/sys/tic80/configure.in: Ditto. * libc/sys/rdos/configure.in: Ditto. * libc/sys/sysmec/configure.in: Ditto. * libc/sys/sysvi386/configure.in: Ditto. * libc/sys/h8300hms/configure.in: Ditto. * libc/sys/sparc64/configure.in: Ditto. * libc/sys/arc/configure.in: Ditto. * libc/sys/sysnec810/configure.in: Ditto. * libc/sys/m88kbug/configure.in: Ditto. * libc/sys/sysvnecv70/configure.in: Ditto. * libc/sys/z8ksim/configure.in: Ditto. * libc/sys/rtems/configure.in: Ditto. * libc/sys/w65/configure.in: Ditto. * libc/sys/sun4/configure.in: Ditto. * doc/configure.in: Ditto. * iconvdata/configure.in: Ditto. * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
2006-04-14 03:56:32 +08:00
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
* Makefile.shared: New file. * libc/sys/linux/shared.ld: New file. * libm/machine/*: New files. * libm/machine/i386/*: New files. * Makefile.am: Add libtool support. Change math and mathfp references to variables. * configure.host: Add variables for libtool support. Add libm_machine_dir variable. * configure.in: Add objectlist variables, for libtool support. Add CC_FOR_BUILD tests. * libc/Makefile.am: Add libtool support. Change crt0.o reference to be a variable reference. * libc/configure.in: Add libtool support. Change sublib names to be lib${subdir}.la when using libtool. * libc/ctype/Makefile.am: Add libtool support. * libc/errno/Makefile.am: Likewise. * libc/locale/Makefile.am: Likewise. * libc/machine/Makefile.am: Likewise. * libc/machine/configure.in: Likewise. * libc/machine/i386/Makefile.am: Likewise. * libc/machine/i386/configure.in: Likewise. * libc/misc/Makefile.am: Likewise. * libc/posix/Makefile.am: Likewise. * libc/reent/Makefile.am: Likewise. * libc/signal/Makefile.am: Likewise. * libc/stdio/Makefile.am: Likewise. * libc/stdlib/Makefile.am: Likewise. * libc/string/Makefile.am: Likewise. * libc/sys/Makefile.am: Likewise. * libc/sys/configure.in: Likewise. * libc/sys/linux/Makefile.am: Add libtool support. Change awk reference to a variable reference. Change signal.h reference to a variable reference. * libc/sys/linux/configure.in: Add libtool support. * libc/syscalls/Makefile.am: Likewise. * libc/time/Makefile.am: Likewise. * libc/unix/Makefile.am: Likewise. * libm/Makefile.am: Add libtool support. Change math and mathfp references to variables. * libm/configure.in: Add libtool support. Add LIBM_MACHINE_LIB variable. * libm/common/Makefile.am: Add libtool support. * libm/math/Makefile.am: Likewise. * libm/mathfp/Makefile.am: Likewise. Regenerate all Makefile.in, aclocal.m4, and configure.
2001-12-14 07:50:11 +08:00