diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-06-03 15:58:45 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-06-03 15:58:45 +0000 |
commit | 4fa134beac0943427788687d93cd3a73e56b082e (patch) | |
tree | c595d3a11d042d853964a6c1975fed522bc189e9 /sim/mips/configure.in | |
parent | 3b426f5a605cff1007ec6ffa03f02897a384ae18 (diff) | |
download | gdb-4fa134beac0943427788687d93cd3a73e56b082e.zip gdb-4fa134beac0943427788687d93cd3a73e56b082e.tar.gz gdb-4fa134beac0943427788687d93cd3a73e56b082e.tar.bz2 |
* configure.in: Add calls to AC_CONFIG_HEADER, AC_CHECK_HEADERS,
AC_CHECK_LIB, and AC_CHECK_FUNCS. Change AC_OUTPUT to set
stamp-h.
* configure: Rebuild.
* config.in: New file, generated by autoheader.
* interp.c: Include "config.h". Include <stdlib.h>, <string.h>,
and <strings.h> if they exist. Replace #ifdef sun with #ifdef
HAVE_ANINT and HAVE_AINT, as appropriate.
* Makefile.in (run): Use @LIBS@ rather than -lm.
(interp.o): Depend upon config.h.
(Makefile): Just rebuild Makefile.
(clean): Remove stamp-h.
(mostlyclean): Make the same as clean, not as distclean.
(config.h, stamp-h): New targets.
Diffstat (limited to 'sim/mips/configure.in')
-rw-r--r-- | sim/mips/configure.in | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sim/mips/configure.in b/sim/mips/configure.in index 7b96e72..534a897 100644 --- a/sim/mips/configure.in +++ b/sim/mips/configure.in @@ -2,6 +2,8 @@ dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.3)dnl AC_INIT(Makefile.in) +AC_CONFIG_HEADER(config.h:config.in) + AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../..) AC_CANONICAL_SYSTEM AC_ARG_PROGRAM @@ -24,4 +26,9 @@ else fi AC_SUBST(CC_FOR_BUILD) -AC_OUTPUT(Makefile) +AC_CHECK_HEADERS(string.h strings.h stdlib.h) +AC_CHECK_LIB(m, fabs) +AC_CHECK_FUNCS(aint anint) + +AC_OUTPUT(Makefile, +[case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac]) |