From 320d4f291fe4b171a544dc5b48ed8c828344352e Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 7 Sep 1995 17:12:26 +0000 Subject: * config.in: Rename from config.h.in. * configure.in: Call AC_CONFIG_HEADER with config.h:config.in. Check for config.h:config.in when creating stamp-h. * configure: Rebuild. * Makefile.in (stamp-h): Depend upon config.in rather than config.h.in. Set CONFIG_HEADERS to config.h:config.in when calling config.status. --- binutils/configure.in | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'binutils/configure.in') diff --git a/binutils/configure.in b/binutils/configure.in index 2113844..b432c1a 100644 --- a/binutils/configure.in +++ b/binutils/configure.in @@ -12,7 +12,7 @@ AC_ARG_ENABLE(targets, *) enable_targets=$enableval ;; esac])dnl -AC_CONFIG_HEADER(config.h) +AC_CONFIG_HEADER(config.h:config.in) AC_CONFIG_AUX_DIR(`cd $srcdir/..; pwd`) AC_CANONICAL_SYSTEM @@ -40,6 +40,8 @@ AC_SUBST(AR) AC_PROG_RANLIB AC_PROG_INSTALL +BFD_CC_FOR_BUILD + AC_CHECK_HEADERS(string.h strings.h stdlib.h unistd.h fcntl.h sys/file.h) AC_CHECK_FUNCS(sbrk utimes) @@ -87,11 +89,7 @@ if test $bu_cv_decl_needed_fprintf = yes; then AC_DEFINE(NEED_DECLARATION_FPRINTF) fi -dnl FIXME: We should check this in some central place somehow -case "${host}" in -i[345]86-*-msdos* | i[345]86-*-go32* | i[345]86-*-win32) - AC_DEFINE(USE_BINARY_FOPEN) ;; -esac +BFD_BINARY_FOPEN # target-specific stuff: @@ -185,4 +183,4 @@ fi AC_SUBST(UNDERSCORE) AC_OUTPUT(Makefile, -[case x$CONFIG_HEADERS in xconfig.h) echo > stamp-h ;; esac]) +[case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac]) -- cgit v1.1