[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:
Quincey Koziol 2001-01-09 16:16:15 -05:00
parent a771c6fc66
commit 1290c4808d
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -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

View File

@ -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),