1995-07-05 22:54:10 +00:00
|
|
|
dnl Process this file with autoconf to produce a configure script.
|
1996-06-26 03:35:01 +00:00
|
|
|
AC_PREREQ(2.5)dnl
|
1995-07-05 22:54:10 +00:00
|
|
|
AC_INIT(Makefile.in)
|
1993-04-27 01:02:38 +00:00
|
|
|
|
1995-07-05 22:54:10 +00:00
|
|
|
AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../..)
|
|
|
|
AC_CANONICAL_SYSTEM
|
|
|
|
AC_ARG_PROGRAM
|
1996-06-26 03:35:01 +00:00
|
|
|
AC_PROG_CC
|
|
|
|
AC_PROG_INSTALL
|
1993-04-27 01:02:38 +00:00
|
|
|
|
|
|
|
. ${srcdir}/../../bfd/configure.host
|
|
|
|
|
(Try to) Update to new bfd autoconf scheme.
* run.c: Don't include sysdep.h.
* Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value.
(CC, CFLAGS, AR, RANLIB): Likewise.
(HDEFINES, TDEFINES): Define.
(CC_FOR_BUILD): Delete.
(host_makefile_frag): Delete.
(Makefile): Don't depend on frags.
* configure.in (sysdep.h): Don't create symlink.
(host_makefile_frag, frags): Deleted.
(CC, CFLAGS, AR, RANLIB, INSTALL): Compute values.
* configure: Regenerated.
1995-09-07 22:07:47 +00:00
|
|
|
AC_SUBST(CFLAGS)
|
|
|
|
AC_SUBST(HDEFINES)
|
|
|
|
AR=${AR-ar}
|
|
|
|
AC_SUBST(AR)
|
|
|
|
AC_PROG_RANLIB
|
1995-09-08 18:32:37 +00:00
|
|
|
|
|
|
|
# Put a plausible default for CC_FOR_BUILD in Makefile.
|
|
|
|
AC_C_CROSS
|
|
|
|
if test "x$cross_compiling" = "xno"; then
|
|
|
|
CC_FOR_BUILD='$(CC)'
|
|
|
|
else
|
|
|
|
CC_FOR_BUILD=gcc
|
|
|
|
fi
|
|
|
|
AC_SUBST(CC_FOR_BUILD)
|
1994-11-24 05:33:47 +00:00
|
|
|
|
1995-07-05 22:54:10 +00:00
|
|
|
AC_OUTPUT(Makefile)
|