diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2001-01-09 21:16:15 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2001-01-09 21:16:15 (GMT) |
commit | 1290c4808d3e9890c765b1445f66b823c9026734 (patch) | |
tree | 9e58157806d50d98464de76f0db679cd9d793684 /configure.in | |
parent | a771c6fc66cb04d2d104eba05f6b3fd10737cf65 (diff) | |
download | hdf5-1290c4808d3e9890c765b1445f66b823c9026734.zip hdf5-1290c4808d3e9890c765b1445f66b823c9026734.tar.gz hdf5-1290c4808d3e9890c765b1445f66b823c9026734.tar.bz2 |
[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)
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 0e28e50..3d53bfc 100644 --- a/configure.in +++ b/configure.in @@ -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), |