aboutsummaryrefslogtreecommitdiff
path: root/binutils/configure.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-09-07 17:12:26 +0000
committerIan Lance Taylor <ian@airs.com>1995-09-07 17:12:26 +0000
commit320d4f291fe4b171a544dc5b48ed8c828344352e (patch)
tree24c76d3b95dbba6896d7f8ef1bf44a93795b496a /binutils/configure.in
parenta7873a6cbd0545c010f338ed1f3e26541dcc1e8d (diff)
downloadgdb-320d4f291fe4b171a544dc5b48ed8c828344352e.zip
gdb-320d4f291fe4b171a544dc5b48ed8c828344352e.tar.gz
gdb-320d4f291fe4b171a544dc5b48ed8c828344352e.tar.bz2
* 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.
Diffstat (limited to 'binutils/configure.in')
-rw-r--r--binutils/configure.in12
1 files changed, 5 insertions, 7 deletions
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])