mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
[svn-r3251] Purpose:
New configure feature. Description: The H5private.h header file was re-defining the strdup function on several platforms, generating a warning. Solution: Detect if the system defines a strdup function and don't re-define it, if so. Platforms tested: FreeBSD 4.2 (hawkwind), IRIX64-64 (modi4)
This commit is contained in:
parent
a771c6fc66
commit
1290c4808d
2
configure
vendored
2
configure
vendored
@ -8799,7 +8799,7 @@ else
|
||||
fi
|
||||
done
|
||||
|
||||
for ac_func in compress2 setsysinfo longjmp signal sigaction
|
||||
for ac_func in compress2 setsysinfo longjmp signal sigaction strdup
|
||||
do
|
||||
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
||||
echo "configure:8806: checking for $ac_func" >&5
|
||||
|
@ -1025,7 +1025,7 @@ dnl Check for functions.
|
||||
dnl
|
||||
AC_CHECK_FUNCS(getpwuid gethostname system getrusage fork waitpid)
|
||||
AC_CHECK_FUNCS(gettimeofday BSDgettimeofday difftime snprintf vsnprintf)
|
||||
AC_CHECK_FUNCS(compress2 setsysinfo longjmp signal sigaction)
|
||||
AC_CHECK_FUNCS(compress2 setsysinfo longjmp signal sigaction strdup)
|
||||
AC_TRY_COMPILE([#include<sys/types.h>],
|
||||
[off64_t n = 0;],
|
||||
AC_CHECK_FUNCS(lseek64 fseek64),
|
||||
|
Loading…
Reference in New Issue
Block a user