OSDN Git Service

2006-04-11 Jeff Johnston <jjohnstn@redhat.com>
[pf3gnuchains/pf3gnuchains3x.git] / newlib / libc / sys / linux / linuxthreads / machine / configure.in
1 dnl This is the newlib/libc/sys configure.in file.
2 dnl Process this file with autoconf to produce a configure script.
3
4 AC_PREREQ(2.5)
5 AC_INIT(i386)
6
7 dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. 
8 AC_CONFIG_AUX_DIR(../../../../../..)
9
10 NEWLIB_CONFIGURE(../../../../..)
11
12 dnl We have to enable libtool after NEWLIB_CONFIGURE because if we try and
13 dnl add it into NEWLIB_CONFIGURE, executable tests are made before the first
14 dnl line of the macro which fail because appropriate LDFLAGS are not set.
15 if test "${use_libtool}" = "yes"; then
16 AC_LIBTOOL_WIN32_DLL
17 AM_PROG_LIBTOOL
18 fi
19
20 if test -n "${machine_dir}"; then
21   case ${machine_dir} in
22         i386) AC_CONFIG_SUBDIRS(i386) ;;
23   esac;
24 fi
25
26 AM_CONDITIONAL(HAVE_MACHINE_DIR, test x${machine_dir} != x)
27
28 AC_OUTPUT(Makefile)