Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libm/machine/configure.in')
-rw-r--r--newlib/libm/machine/configure.in39
1 files changed, 39 insertions, 0 deletions
diff --git a/newlib/libm/machine/configure.in b/newlib/libm/machine/configure.in
new file mode 100644
index 000000000..00a27a1e6
--- /dev/null
+++ b/newlib/libm/machine/configure.in
@@ -0,0 +1,39 @@
+dnl This is the newlib/libm/machine configure.in file.
+dnl Process this file with autoconf to produce a configure script.
+
+AC_PREREQ(2.5)
+AC_INIT(i386)
+
+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
+ AC_CONFIG_SUBDIRS(${libm_machine_dir})
+ 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)
+
+AC_OUTPUT(Makefile)
+
+
+