fixed bash/dash/sh issue (Ubuntu)
[zpugcc/jano.git] / toolchain / gcc / newlib / libc / sys / configure.in
blob4a53612e01229d0aef97ec805adcc753b1459cac
1 dnl This is the newlib/libc/sys configure.in file.
2 dnl Process this file with autoconf to produce a configure script.
4 AC_PREREQ(2.5)
5 AC_INIT(a29khif)
7 dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. 
8 AC_CONFIG_AUX_DIR(../../..)
10 NEWLIB_CONFIGURE(../..)
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
20 if test -n "${sys_dir}"; then
21   AC_CONFIG_SUBDIRS(${sys_dir})
24 CRT0=
25 if test -n "${sys_dir}"; then
26   CRT0=crt0.o
28 AC_SUBST(CRT0)
30 AM_CONDITIONAL(HAVE_SYS_DIR, test x${sys_dir} != x)
32 AC_OUTPUT(Makefile)