1996-05-20 02:46:07 +00:00
|
|
|
dnl Process this file with autoconf to produce a configure script.
|
1996-06-26 03:20:23 +00:00
|
|
|
AC_PREREQ(2.5)dnl
|
1996-05-20 02:46:07 +00:00
|
|
|
AC_INIT(Makefile.in)
|
|
|
|
|
|
|
|
AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../..)
|
|
|
|
AC_CANONICAL_SYSTEM
|
|
|
|
AC_ARG_PROGRAM
|
1996-06-24 18:21:47 +00:00
|
|
|
AC_PROG_CC
|
1996-06-26 03:20:23 +00:00
|
|
|
AC_PROG_INSTALL
|
1996-05-20 02:46:07 +00:00
|
|
|
|
|
|
|
. ${srcdir}/../../bfd/configure.host
|
|
|
|
|
|
|
|
AC_SUBST(CFLAGS)
|
|
|
|
AC_SUBST(HDEFINES)
|
|
|
|
AR=${AR-ar}
|
|
|
|
AC_SUBST(AR)
|
|
|
|
AC_PROG_RANLIB
|
|
|
|
|
1996-09-14 04:05:41 +00:00
|
|
|
# Put a plausible default for CC_FOR_BUILD in Makefile.
|
|
|
|
AC_C_CROSS
|
|
|
|
if test -z "$CC_FOR_BUILD"; then
|
|
|
|
if test "x$cross_compiling" = "xno"; then
|
|
|
|
CC_FOR_BUILD='$(CC)'
|
|
|
|
else
|
|
|
|
CC_FOR_BUILD=gcc
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
AC_SUBST(CC_FOR_BUILD)
|
|
|
|
|
1996-05-20 02:46:07 +00:00
|
|
|
AC_OUTPUT(Makefile)
|