diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-04-28 01:42:43 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-04-28 01:42:43 +0000 |
commit | b3524c8f62bb28ea9ac8bb9e9a8add363a467922 (patch) | |
tree | b17419ab155b4e9009d38da21cac2f8c357d799b /libiberty/configure.in | |
parent | f0e2ad08921206fe3e9faab3938e93e7bb183b25 (diff) | |
download | gcc-b3524c8f62bb28ea9ac8bb9e9a8add363a467922.tar.gz |
* aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
* configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
(libiberty_AC_FUNC_STRNCMP): Invoke.
* strncmp.c: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33498 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/configure.in')
-rw-r--r-- | libiberty/configure.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libiberty/configure.in b/libiberty/configure.in index cc1b2c2082b..0814ae32967 100644 --- a/libiberty/configure.in +++ b/libiberty/configure.in @@ -109,7 +109,7 @@ AC_SUBST_FILE(host_makefile_frag) # It's OK to check for header files. Although the compiler may not be # able to link anything, it had better be able to at least compile # something. -AC_CHECK_HEADERS(sys/file.h sys/param.h stdlib.h string.h unistd.h strings.h sys/time.h sys/resource.h sys/stat.h) +AC_CHECK_HEADERS(sys/file.h sys/param.h stdlib.h string.h unistd.h strings.h sys/time.h sys/resource.h sys/stat.h sys/mman.h fcntl.h) AC_HEADER_SYS_WAIT # This is the list of functions which libiberty will provide if they @@ -352,6 +352,8 @@ EOF AC_CHECK_FUNCS($checkfuncs) fi +libiberty_AC_FUNC_STRNCMP + # Install a library built with a cross compiler in $(tooldir) rather # than $(libdir). if test -z "${with_cross_host}"; then |