Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
b7c47912
Commit
b7c47912
authored
May 12, 2009
by
Uwe Schulzweida
Browse files
No commit message
No commit message
parent
0c381c0d
Changes
8
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
b7c47912
2009-??-?? Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* add env CDI_SORTNAME to sort netCDF names
* streamSync: extent to non netCDF files
* Version 1.3.2 released
2009-04-16 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
...
...
config/default
View file @
b7c47912
...
...
@@ -76,6 +76,15 @@ case "${HOSTNAME}" in
--with-netcdf
=
/usr/local/lib/netcdf-3.5.0/LP64
\
CFLAGS
=
"-q64 -qmaxmem=-1"
CFINT
=
-Dextname
;;
# powerpc-ibm-aix5.3.0.0
blizzard
*
)
./configure
--prefix
=
$HOME
/local
\
--with-netcdf
=
/sw/aix53/netcdf-4.0.1-ibm
\
--with-hdf5
=
/sw/aix53/hdf5-1.8.2
\
--with-szlib
=
/sw/aix53/szip-2.1
\
AR
=
"ar -X 64"
CFINT
=
-Dextname
\
CC
=
xlc_r
CFLAGS
=
"-g -O4 -q64 -qlargepage -blpdata -DHAVE_MMAP"
;;
*
)
echo
"configuration for hostname
$HOSTNAME
not found!"
;;
...
...
configure
View file @
b7c47912
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for cdi 1.3.
1
.
# Generated by GNU Autoconf 2.61 for cdi 1.3.
2
.
#
# Report bugs to <Uwe.Schulzweida@zmaw.de>.
#
...
...
@@ -574,8 +574,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME
=
'cdi'
PACKAGE_TARNAME
=
'cdi'
PACKAGE_VERSION
=
'1.3.
1
'
PACKAGE_STRING
=
'cdi 1.3.
1
'
PACKAGE_VERSION
=
'1.3.
2
'
PACKAGE_STRING
=
'cdi 1.3.
2
'
PACKAGE_BUGREPORT
=
'Uwe.Schulzweida@zmaw.de'
# Factoring default headers for most tests.
...
...
@@ -1229,7 +1229,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat
<<
_ACEOF
\`
configure' configures cdi 1.3.
1
to adapt to many kinds of systems.
\`
configure' configures cdi 1.3.
2
to adapt to many kinds of systems.
Usage:
$0
[OPTION]... [VAR=VALUE]...
...
...
@@ -1300,7 +1300,7 @@ fi
if
test
-n
"
$ac_init_help
"
;
then
case
$ac_init_help
in
short
|
recursive
)
echo
"Configuration of cdi 1.3.
1
:"
;;
short
|
recursive
)
echo
"Configuration of cdi 1.3.
2
:"
;;
esac
cat
<<
\
_ACEOF
...
...
@@ -1316,6 +1316,15 @@ Optional Features:
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-zlib=<directory> Specify location of ZLIB library. ZLIB is required
for HDF5. Configure will expect to find subdirs
include and lib.
--with-szlib=<directory>
Specify location of SZLIB library. You must specify
its location if HDF5 was built with SZLIB. Configure
will expect to find subdirs include and lib.
--with-hdf5=<directory> Specify location of HDF5 library. Configure will
expect to find subdirs include and lib.
--with-grib Use the internal GRIB library [default=yes]
--with-service Use the internal SERVICE library [default=yes]
--with-extra Use the internal EXTRA library [default=yes]
...
...
@@ -1323,9 +1332,6 @@ Optional Packages:
--with-netcdf=<directory>
Specify location of netCDF library. Configure will
expect to find subdirs include and lib.
--with-szlib=<directory>
Specify location of SZLIB library. Configure will
expect to find subdirs include and lib.
Some influential environment variables:
CFINT C/Fortran interface preprocessor flag, e.g. -Df2cFortran
...
...
@@ -1405,7 +1411,7 @@ fi
test
-n
"
$ac_init_help
"
&&
exit
$ac_status
if
$ac_init_version
;
then
cat
<<
\
_ACEOF
cdi configure 1.3.
1
cdi configure 1.3.
2
generated by GNU Autoconf 2.61
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
...
...
@@ -1419,7 +1425,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by cdi
$as_me
1.3.
1
, which was
It was created by cdi
$as_me
1.3.
2
, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ $0
$@
...
...
@@ -2246,7 +2252,7 @@ fi
# Define the identity of the package.
PACKAGE
=
'cdi'
VERSION
=
'1.3.
1
'
VERSION
=
'1.3.
2
'
cat
>>
confdefs.h
<<
_ACEOF
...
...
@@ -5653,6 +5659,386 @@ fi
done
# ----------------------------------------------------------------------
# Check for math library
#
{
echo
"
$as_me
:
$LINENO
: checking for floor in -lm"
>
&5
echo
$ECHO_N
"checking for floor in -lm...
$ECHO_C
"
>
&6
;
}
if
test
"
${
ac_cv_lib_m_floor
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
ac_check_lib_save_LIBS
=
$LIBS
LIBS
=
"-lm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
_ACEOF
/* confdefs.h. */
_ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char floor ();
int
main ()
{
return floor ();
;
return 0;
}
_ACEOF
rm
-f
conftest.
$ac_objext
conftest
$ac_exeext
if
{
(
ac_try
=
"
$ac_link
"
case
"((
$ac_try
"
in
*
\"
*
|
*
\`
*
|
*
\\
*
)
ac_try_echo
=
\$
ac_try
;;
*
)
ac_try_echo
=
$ac_try
;;
esac
eval
"echo
\"\$
as_me:
$LINENO
:
$ac_try_echo
\"
"
)
>
&5
(
eval
"
$ac_link
"
)
2>conftest.er1
ac_status
=
$?
grep
-v
'^ *+'
conftest.er1
>
conftest.err
rm
-f
conftest.er1
cat
conftest.err
>
&5
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
&&
{
test
-z
"
$ac_c_werror_flag
"
||
test
!
-s
conftest.err
}
&&
test
-s
conftest
$ac_exeext
&&
$as_test_x
conftest
$ac_exeext
;
then
ac_cv_lib_m_floor
=
yes
else
echo
"
$as_me
: failed program was:"
>
&5
sed
's/^/| /'
conftest.
$ac_ext
>
&5
ac_cv_lib_m_floor
=
no
fi
rm
-f
core conftest.err conftest.
$ac_objext
conftest_ipa8_conftest.oo
\
conftest
$ac_exeext
conftest.
$ac_ext
LIBS
=
$ac_check_lib_save_LIBS
fi
{
echo
"
$as_me
:
$LINENO
: result:
$ac_cv_lib_m_floor
"
>
&5
echo
"
${
ECHO_T
}
$ac_cv_lib_m_floor
"
>
&6
;
}
if
test
$ac_cv_lib_m_floor
=
yes
;
then
cat
>>
confdefs.h
<<
_ACEOF
#define HAVE_LIBM 1
_ACEOF
LIBS
=
"-lm
$LIBS
"
fi
# ----------------------------------------------------------------------
# Compile application with ZLIB library
#
{
echo
"
$as_me
:
$LINENO
: checking whether a location for the ZLIB library was specified"
>
&5
echo
$ECHO_N
"checking whether a location for the ZLIB library was specified...
$ECHO_C
"
>
&6
;
}
# Check whether --with-zlib was given.
if
test
"
${
with_zlib
+set
}
"
=
set
;
then
withval
=
$with_zlib
;
ZLIBDIR
=
$with_zlib
fi
if
test
-z
"
$ZLIBDIR
"
;
then
{
echo
"
$as_me
:
$LINENO
: result: no"
>
&5
echo
"
${
ECHO_T
}
no"
>
&6
;
}
else
{
echo
"
$as_me
:
$LINENO
: result:
$ZLIBDIR
"
>
&5
echo
"
${
ECHO_T
}
$ZLIBDIR
"
>
&6
;
}
LDFLAGS
=
"
$LDFLAGS
-L
$ZLIBDIR
/lib"
CPPFLAGS
=
"
$CPPFLAGS
-I
$ZLIBDIR
/include"
# AC_CHECK_LIB(z, xxx, , LDFLAGS="$LDFLAGS")
# AC_SUBST([ZLIBDIR], [$ZLIBDIR])
fi
# ----------------------------------------------------------------------
# Compile application with SZLIB library
#
{
echo
"
$as_me
:
$LINENO
: checking whether a location for the SZLIB library was specified"
>
&5
echo
$ECHO_N
"checking whether a location for the SZLIB library was specified...
$ECHO_C
"
>
&6
;
}
# Check whether --with-szlib was given.
if
test
"
${
with_szlib
+set
}
"
=
set
;
then
withval
=
$with_szlib
;
SZLIBDIR
=
$with_szlib
fi
if
test
-z
"
$SZLIBDIR
"
;
then
{
echo
"
$as_me
:
$LINENO
: result: no"
>
&5
echo
"
${
ECHO_T
}
no"
>
&6
;
}
else
{
echo
"
$as_me
:
$LINENO
: result:
$SZLIBDIR
"
>
&5
echo
"
${
ECHO_T
}
$SZLIBDIR
"
>
&6
;
}
LDFLAGS
=
"
$LDFLAGS
-L
$SZLIBDIR
/lib"
CPPFLAGS
=
"
$CPPFLAGS
-I
$SZLIBDIR
/include"
{
echo
"
$as_me
:
$LINENO
: checking for SZ_BufftoBuffCompress in -lsz"
>
&5
echo
$ECHO_N
"checking for SZ_BufftoBuffCompress in -lsz...
$ECHO_C
"
>
&6
;
}
if
test
"
${
ac_cv_lib_sz_SZ_BufftoBuffCompress
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
ac_check_lib_save_LIBS
=
$LIBS
LIBS
=
"-lsz
$LIBS
"
cat
>
conftest.
$ac_ext
<<
_ACEOF
/* confdefs.h. */
_ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char SZ_BufftoBuffCompress ();
int
main ()
{
return SZ_BufftoBuffCompress ();
;
return 0;
}
_ACEOF
rm
-f
conftest.
$ac_objext
conftest
$ac_exeext
if
{
(
ac_try
=
"
$ac_link
"
case
"((
$ac_try
"
in
*
\"
*
|
*
\`
*
|
*
\\
*
)
ac_try_echo
=
\$
ac_try
;;
*
)
ac_try_echo
=
$ac_try
;;
esac
eval
"echo
\"\$
as_me:
$LINENO
:
$ac_try_echo
\"
"
)
>
&5
(
eval
"
$ac_link
"
)
2>conftest.er1
ac_status
=
$?
grep
-v
'^ *+'
conftest.er1
>
conftest.err
rm
-f
conftest.er1
cat
conftest.err
>
&5
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
&&
{
test
-z
"
$ac_c_werror_flag
"
||
test
!
-s
conftest.err
}
&&
test
-s
conftest
$ac_exeext
&&
$as_test_x
conftest
$ac_exeext
;
then
ac_cv_lib_sz_SZ_BufftoBuffCompress
=
yes
else
echo
"
$as_me
: failed program was:"
>
&5
sed
's/^/| /'
conftest.
$ac_ext
>
&5
ac_cv_lib_sz_SZ_BufftoBuffCompress
=
no
fi
rm
-f
core conftest.err conftest.
$ac_objext
conftest_ipa8_conftest.oo
\
conftest
$ac_exeext
conftest.
$ac_ext
LIBS
=
$ac_check_lib_save_LIBS
fi
{
echo
"
$as_me
:
$LINENO
: result:
$ac_cv_lib_sz_SZ_BufftoBuffCompress
"
>
&5
echo
"
${
ECHO_T
}
$ac_cv_lib_sz_SZ_BufftoBuffCompress
"
>
&6
;
}
if
test
$ac_cv_lib_sz_SZ_BufftoBuffCompress
=
yes
;
then
cat
>>
confdefs.h
<<
_ACEOF
#define HAVE_LIBSZ 1
_ACEOF
LIBS
=
"-lsz
$LIBS
"
else
LDFLAGS
=
"
$LDFLAGS
"
fi
# AC_SUBST([SZLIBDIR], [$SZLIBDIR])
fi
# ----------------------------------------------------------------------
# Compile application with HDF5 library
#
{
echo
"
$as_me
:
$LINENO
: checking whether a location for the HDF5 library was specified"
>
&5
echo
$ECHO_N
"checking whether a location for the HDF5 library was specified...
$ECHO_C
"
>
&6
;
}
# Check whether --with-hdf5 was given.
if
test
"
${
with_hdf5
+set
}
"
=
set
;
then
withval
=
$with_hdf5
;
HDF5DIR
=
$with_hdf5
fi
if
test
-z
"
$HDF5DIR
"
;
then
{
echo
"
$as_me
:
$LINENO
: result: no"
>
&5
echo
"
${
ECHO_T
}
no"
>
&6
;
}
else
{
echo
"
$as_me
:
$LINENO
: result:
$HDF5DIR
"
>
&5
echo
"
${
ECHO_T
}
$HDF5DIR
"
>
&6
;
}
LDFLAGS
=
"
$LDFLAGS
-L
$HDF5DIR
/lib"
CPPFLAGS
=
"
$CPPFLAGS
-I
$HDF5DIR
/include"
{
echo
"
$as_me
:
$LINENO
: checking for H5Fopen in -lhdf5"
>
&5
echo
$ECHO_N
"checking for H5Fopen in -lhdf5...
$ECHO_C
"
>
&6
;
}
if
test
"
${
ac_cv_lib_hdf5_H5Fopen
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
ac_check_lib_save_LIBS
=
$LIBS
LIBS
=
"-lhdf5 -lz
$LIBS
"
cat
>
conftest.
$ac_ext
<<
_ACEOF
/* confdefs.h. */
_ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char H5Fopen ();
int
main ()
{
return H5Fopen ();
;
return 0;
}
_ACEOF
rm
-f
conftest.
$ac_objext
conftest
$ac_exeext
if
{
(
ac_try
=
"
$ac_link
"
case
"((
$ac_try
"
in
*
\"
*
|
*
\`
*
|
*
\\
*
)
ac_try_echo
=
\$
ac_try
;;
*
)
ac_try_echo
=
$ac_try
;;
esac
eval
"echo
\"\$
as_me:
$LINENO
:
$ac_try_echo
\"
"
)
>
&5
(
eval
"
$ac_link
"
)
2>conftest.er1
ac_status
=
$?
grep
-v
'^ *+'
conftest.er1
>
conftest.err
rm
-f
conftest.er1
cat
conftest.err
>
&5
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
&&
{
test
-z
"
$ac_c_werror_flag
"
||
test
!
-s
conftest.err
}
&&
test
-s
conftest
$ac_exeext
&&
$as_test_x
conftest
$ac_exeext
;
then
ac_cv_lib_hdf5_H5Fopen
=
yes
else
echo
"
$as_me
: failed program was:"
>
&5
sed
's/^/| /'
conftest.
$ac_ext
>
&5
ac_cv_lib_hdf5_H5Fopen
=
no
fi
rm
-f
core conftest.err conftest.
$ac_objext
conftest_ipa8_conftest.oo
\
conftest
$ac_exeext
conftest.
$ac_ext
LIBS
=
$ac_check_lib_save_LIBS
fi
{
echo
"
$as_me
:
$LINENO
: result:
$ac_cv_lib_hdf5_H5Fopen
"
>
&5
echo
"
${
ECHO_T
}
$ac_cv_lib_hdf5_H5Fopen
"
>
&6
;
}
if
test
$ac_cv_lib_hdf5_H5Fopen
=
yes
;
then
cat
>>
confdefs.h
<<
_ACEOF
#define HAVE_LIBHDF5 1
_ACEOF
LIBS
=
"-lhdf5
$LIBS
"
else
nc_hdf5_lib_missing
=
yes
fi
# AC_SUBST([HDF5DIR], [$HDF5DIR])
if
test
"x
$nc_hdf5_lib_missing
"
=
xyes
;
then
{
{
echo
"
$as_me
:
$LINENO
: error: Can't find the hdf5 header and/or library, or can't link a program
\
to it. HDF5 must be built with zlib; the location of zlib must be specified for HDF5 with the
\
--with-zlib option. If HDF5 was also built with szlib, then the location of szlib must also be
\
specified with the --with-szlib option."
>
&5
echo
"
$as_me
: error: Can't find the hdf5 header and/or library, or can't link a program
\
to it. HDF5 must be built with zlib; the location of zlib must be specified for HDF5 with the
\
--with-zlib option. If HDF5 was also built with szlib, then the location of szlib must also be
\
specified with the --with-szlib option."
>
&2
;
}
{
(
exit
1
)
;
exit
1
;
}
;
}
else
LIBS
=
"
${
LIBS
}
-lz"
# Check for the HDF5 High Level library.
{
echo
"
$as_me
:
$LINENO
: checking for H5DSis_scale in -lhdf5_hl"
>
&5
echo
$ECHO_N
"checking for H5DSis_scale in -lhdf5_hl...
$ECHO_C
"
>
&6
;
}
if
test
"
${
ac_cv_lib_hdf5_hl_H5DSis_scale
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
ac_check_lib_save_LIBS
=
$LIBS
LIBS
=
"-lhdf5_hl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
_ACEOF
/* confdefs.h. */
_ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char H5DSis_scale ();
int
main ()
{
return H5DSis_scale ();
;
return 0;
}
_ACEOF
rm
-f
conftest.
$ac_objext
conftest
$ac_exeext
if
{
(
ac_try
=
"
$ac_link
"
case
"((
$ac_try
"
in
*
\"
*
|
*
\`
*
|
*
\\
*
)
ac_try_echo
=
\$
ac_try
;;
*
)
ac_try_echo
=
$ac_try
;;
esac
eval
"echo
\"\$
as_me:
$LINENO
:
$ac_try_echo
\"
"
)
>
&5
(
eval
"
$ac_link
"
)
2>conftest.er1
ac_status
=
$?
grep
-v
'^ *+'
conftest.er1
>
conftest.err
rm
-f
conftest.er1
cat
conftest.err
>
&5
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
&&
{
test
-z
"
$ac_c_werror_flag
"
||
test
!
-s
conftest.err
}
&&
test
-s
conftest
$ac_exeext
&&
$as_test_x
conftest
$ac_exeext
;
then
ac_cv_lib_hdf5_hl_H5DSis_scale
=
yes
else
echo
"
$as_me
: failed program was:"
>
&5
sed
's/^/| /'
conftest.
$ac_ext
>
&5
ac_cv_lib_hdf5_hl_H5DSis_scale
=
no
fi
rm
-f
core conftest.err conftest.
$ac_objext
conftest_ipa8_conftest.oo
\
conftest
$ac_exeext
conftest.
$ac_ext
LIBS
=
$ac_check_lib_save_LIBS
fi
{
echo
"
$as_me
:
$LINENO
: result:
$ac_cv_lib_hdf5_hl_H5DSis_scale
"
>
&5
echo
"
${
ECHO_T
}
$ac_cv_lib_hdf5_hl_H5DSis_scale
"
>
&6
;
}
if
test
$ac_cv_lib_hdf5_hl_H5DSis_scale
=
yes
;
then
cat
>>
confdefs.h
<<
_ACEOF
#define HAVE_LIBHDF5_HL 1
_ACEOF
LIBS
=
"-lhdf5_hl
$LIBS
"
else
nc_hdf5_hl_lib_missing
=
yes
fi
# if test "x$nc_hdf5_hl_lib_missing" = xyes; then
# AC_MSG_ERROR([Can't find the hdf5 high-level library. The high-level library is required for netCDF-4.])
# fi
fi
fi
# ----------------------------------------------------------------------
# Compile interface with internal GRIB library
#
...
...
@@ -6016,15 +6402,15 @@ fi
if
test
-z
"
$HAVE_NETCDF
"
-a
-n
"
$CONFIG_ABORT
"
;
then
{
{
echo
"
$as_me
:
$LINENO
: error:
could
n't find net
CDF
library"
>
&5
echo
"
$as_me
: error:
could
n't find net
CDF
library"
>
&2
;
}
{
{
echo
"
$as_me
:
$LINENO
: error:
Ca
n't find net
cdf
library
, or can't link a program to it.
"
>
&5
echo
"
$as_me
: error:
Ca
n't find net
cdf
library
, or can't link a program to it.
"
>
&2
;
}
{
(
exit
1
)
;
exit
1
;
}
;
}
fi
;;
no
)
HAVE_NETCDF
=
"no"
{
echo
"
$as_me
:
$LINENO
: checking for net
CDF
library"
>
&5
echo
$ECHO_N
"checking for net
CDF
library...
$ECHO_C
"
>
&6
;
}
{
echo
"
$as_me
:
$LINENO
: checking for net
cdf
library"
>
&5
echo
$ECHO_N
"checking for net
cdf
library...
$ECHO_C
"
>
&6
;
}
{
echo
"
$as_me
:
$LINENO
: result: suppressed"
>
&5
echo
"
${
ECHO_T
}
suppressed"
>
&6
;
}
;;
...
...
@@ -6376,108 +6762,13 @@ fi
fi
if
test
-z
"
$HAVE_NETCDF
"
-a
-n
"
$CONFIG_ABORT
"
;
then
{
{
echo
"
$as_me
:
$LINENO
: error:
could
n't find net
CDF
library"
>
&5
echo
"
$as_me
: error:
could
n't find net
CDF
library"
>
&2
;
}
{
{
echo
"
$as_me
:
$LINENO
: error:
Ca
n't find net
cdf
library
, or can't link a program to it.
"
>
&5
echo
"
$as_me
: error:
Ca
n't find net
cdf
library
, or can't link a program to it.
"
>
&2
;
}
{
(
exit
1
)
;
exit
1
;
}
;
}
fi
;;
esac
# ----------------------------------------------------------------------
# Compile interface with SZLIB library
#
{
echo
"
$as_me
:
$LINENO
: checking whether a location for the SZLIB library was specified"
>
&5
echo
$ECHO_N
"checking whether a location for the SZLIB library was specified...
$ECHO_C
"
>
&6
;
}
# Check whether --with-szlib was given.
if
test
"
${
with_szlib
+set
}
"
=
set
;
then
withval
=
$with_szlib
;
SZLIBDIR
=
$with_szlib
fi
if
test
-z
"
$SZLIBDIR
"
;
then
{
echo
"
$as_me
:
$LINENO
: result: no"
>
&5
echo
"
${
ECHO_T
}
no"
>
&6
;
}
else
{
echo
"
$as_me
:
$LINENO
: result:
$SZLIBDIR
"
>
&5
echo
"
${
ECHO_T
}
$SZLIBDIR
"
>
&6
;
}
LDFLAGS
=
"
$LDFLAGS
-L
$SZLIBDIR
/lib"
CPPFLAGS
=
"
$CPPFLAGS
-I
$SZLIBDIR
/include"
{
echo
"
$as_me
:
$LINENO
: checking for SZ_BufftoBuffCompress in -lsz"
>
&5
echo
$ECHO_N
"checking for SZ_BufftoBuffCompress in -lsz...
$ECHO_C
"
>
&6
;
}
if
test
"
${
ac_cv_lib_sz_SZ_BufftoBuffCompress
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
ac_check_lib_save_LIBS
=
$LIBS
LIBS
=
"-lsz
$LIBS
"
cat
>
conftest.
$ac_ext
<<
_ACEOF
/* confdefs.h. */
_ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char SZ_BufftoBuffCompress ();
int
main ()
{
return SZ_BufftoBuffCompress ();
;
return 0;
}
_ACEOF
rm
-f
conftest.
$ac_objext
conftest
$ac_exeext
if
{
(
ac_try
=
"
$ac_link
"
case
"((
$ac_try
"
in
*
\"
*
|
*
\`
*
|
*
\\
*
)
ac_try_echo
=
\$
ac_try
;;
*
)
ac_try_echo
=
$ac_try
;;
esac
eval
"echo
\"\$
as_me:
$LINENO
:
$ac_try_echo
\"
"
)
>
&5
(
eval
"
$ac_link
"
)
2>conftest.er1
ac_status
=
$?
grep
-v
'^ *+'
conftest.er1
>
conftest.err
rm
-f
conftest.er1
cat
conftest.err
>
&5
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
&&
{
test
-z
"
$ac_c_werror_flag
"
||
test
!
-s
conftest.err
}
&&
test
-s
conftest
$ac_exeext
&&
$as_test_x
conftest
$ac_exeext
;
then
ac_cv_lib_sz_SZ_BufftoBuffCompress
=
yes
else
echo
"
$as_me
: failed program was:"
>
&5
sed
's/^/| /'
conftest.
$ac_ext
>
&5
ac_cv_lib_sz_SZ_BufftoBuffCompress
=
no
fi
rm
-f
core conftest.err conftest.
$ac_objext
conftest_ipa8_conftest.oo
\
conftest
$ac_exeext
conftest.
$ac_ext
LIBS
=
$ac_check_lib_save_LIBS
fi
{
echo
"
$as_me
:
$LINENO
: result:
$ac_cv_lib_sz_SZ_BufftoBuffCompress
"
>
&5
echo
"
${
ECHO_T
}
$ac_cv_lib_sz_SZ_BufftoBuffCompress
"
>
&6
;
}
if
test
$ac_cv_lib_sz_SZ_BufftoBuffCompress
=
yes
;
then
cat
>>
confdefs.h
<<
_ACEOF
#define HAVE_LIBSZ 1
_ACEOF
LIBS
=
"-lsz
$LIBS
"
else
LDFLAGS
=
"
$LDFLAGS
"
fi
# AC_SUBST([SZLIBDIR], [$SZLIBDIR])
fi
# Check C / Fortran interface
{
echo
"
$as_me
:
$LINENO
: checking whether the C / Fortran interface works"
>
&5
...
...
@@ -6972,7 +7263,7 @@ exec 6>&1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="