aboutsummaryrefslogtreecommitdiff
path: root/gas/configure
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-02-11 05:12:26 +0000
committerAlan Modra <amodra@gmail.com>2002-02-11 05:12:26 +0000
commit9253c5e5c10f61f8093f193f40562443c45ceacd (patch)
treeb830c2624077a42c8b48c50e6761ecc44cb6cee6 /gas/configure
parent12b87c89b6e52a274148e1464ff625a5f7ebbb99 (diff)
downloadgdb-9253c5e5c10f61f8093f193f40562443c45ceacd.zip
gdb-9253c5e5c10f61f8093f193f40562443c45ceacd.tar.gz
gdb-9253c5e5c10f61f8093f193f40562443c45ceacd.tar.bz2
* Makefile.am: "make dep-am".
* Makefile.in: Regenerate. * aclocal.m4: Regenerate. * config.in: Regenerate. * configure: Regenerate. * doc/Makefile.in: Regenerate.
Diffstat (limited to 'gas/configure')
-rwxr-xr-xgas/configure21
1 files changed, 17 insertions, 4 deletions
diff --git a/gas/configure b/gas/configure
index 568d9d9..3e6d244 100755
--- a/gas/configure
+++ b/gas/configure
@@ -4213,7 +4213,7 @@ EOF
fi
-for ac_hdr in unistd.h
+for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
@@ -4345,11 +4345,24 @@ else
#include <fcntl.h>
#include <sys/mman.h>
+#if HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+
+#if HAVE_STDLIB_H
+# include <stdlib.h>
+#endif
+
+#if HAVE_SYS_STAT_H
+# include <sys/stat.h>
+#endif
+
+#if HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+
/* This mess was copied from the GNU getpagesize.h. */
#ifndef HAVE_GETPAGESIZE
-# ifdef HAVE_UNISTD_H
-# include <unistd.h>
-# endif
/* Assume that all systems that can run configure have sys/param.h. */
# ifndef HAVE_SYS_PARAM_H