X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sim%2Fcommon%2Fconfigure.ac;h=ec4ee203743b0266df4ebb48410035dcd7c23f31;hb=2951f6c068f961a2ea1de892fc82cf0229af67da;hp=39302c8bb3ac5d919a624ca86bf2b07761aea1d2;hpb=75005b3a8e2897f056a0adabac591fbf4bad91cd;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/common/configure.ac b/sim/common/configure.ac index 39302c8bb3..ec4ee20374 100644 --- a/sim/common/configure.ac +++ b/sim/common/configure.ac @@ -1,11 +1,7 @@ dnl Process this file with autoconf to produce a configure script. -AC_PREREQ(2.59)dnl AC_INIT(Makefile.in) -AC_CONFIG_HEADER(cconfig.h:config.in) -# Bugs in autoconf 2.59 break the call to SIM_AC_COMMON, hack around -# it by inlining the macro's contents. -sinclude(../common/common.m4) +AC_PROG_CC # Put a useful copy of CPP_FOR_TARGET in Makefile. # This is only used to build the target values header files. These files are @@ -35,24 +31,4 @@ else fi AC_SUBST(TARGET_SUBDIR) -# These aren't all needed yet, but will be eventually. -AC_CHECK_HEADERS(stdlib.h string.h strings.h time.h sys/times.h sys/stat.h sys/mman.h) -AC_CHECK_FUNCS(mmap munmap lstat truncate ftruncate) -AC_CHECK_MEMBERS([[struct stat.st_dev], [struct stat.st_ino], -[struct stat.st_mode], [struct stat.st_nlink], [struct stat.st_uid], -[struct stat.st_gid], [struct stat.st_rdev], [struct stat.st_size], -[struct stat.st_blksize], [struct stat.st_blocks], [struct stat.st_atime], -[struct stat.st_mtime], [struct stat.st_ctime]], [], [], -[[#ifdef HAVE_SYS_TYPES_H -#include -#endif -#ifdef HAVE_SYS_STAT_H -#include -#endif]]) -AC_CHECK_TYPES(socklen_t, [], [], -[#include -#include -]) - -AC_OUTPUT(Makefile, -[case x$CONFIG_HEADERS in xcconfig.h:config.in) echo > stamp-h ;; esac]) +AC_OUTPUT(Makefile)