|
|
#! /bin/bash
|
|
|
# Generated by configure.
|
|
|
# Run this file to recreate the current configuration.
|
|
|
# Compiler output produced by configure, useful for debugging
|
|
|
# configure, is in config.log if it exists.
|
|
|
|
|
|
debug=false
|
|
|
ac_cs_recheck=false
|
|
|
ac_cs_silent=false
|
|
|
|
|
|
SHELL=${CONFIG_SHELL-/bin/bash}
|
|
|
export SHELL
|
|
|
## -------------------- ##
|
|
|
## M4sh Initialization. ##
|
|
|
## -------------------- ##
|
|
|
|
|
|
# Be more Bourne compatible
|
|
|
DUALCASE=1; export DUALCASE # for MKS sh
|
|
|
as_nop=:
|
|
|
if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
|
|
|
then :
|
|
|
emulate sh
|
|
|
NULLCMD=:
|
|
|
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
|
|
# is contrary to our usage. Disable this feature.
|
|
|
alias -g '${1+"$@"}'='"$@"'
|
|
|
setopt NO_GLOB_SUBST
|
|
|
else $as_nop
|
|
|
case `(set -o) 2>/dev/null` in #(
|
|
|
*posix*) :
|
|
|
set -o posix ;; #(
|
|
|
*) :
|
|
|
;;
|
|
|
esac
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# Reset variables that may have inherited troublesome values from
|
|
|
# the environment.
|
|
|
|
|
|
# IFS needs to be set, to space, tab, and newline, in precisely that order.
|
|
|
# (If _AS_PATH_WALK were called with IFS unset, it would have the
|
|
|
# side effect of setting IFS to empty, thus disabling word splitting.)
|
|
|
# Quoting is to prevent editors from complaining about space-tab.
|
|
|
as_nl='
|
|
|
'
|
|
|
export as_nl
|
|
|
IFS=" "" $as_nl"
|
|
|
|
|
|
PS1='$ '
|
|
|
PS2='> '
|
|
|
PS4='+ '
|
|
|
|
|
|
# Ensure predictable behavior from utilities with locale-dependent output.
|
|
|
LC_ALL=C
|
|
|
export LC_ALL
|
|
|
LANGUAGE=C
|
|
|
export LANGUAGE
|
|
|
|
|
|
# We cannot yet rely on "unset" to work, but we need these variables
|
|
|
# to be unset--not just set to an empty or harmless value--now, to
|
|
|
# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
|
|
|
# also avoids known problems related to "unset" and subshell syntax
|
|
|
# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
|
|
|
for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
|
|
|
do eval test \${$as_var+y} \
|
|
|
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
|
|
done
|
|
|
|
|
|
# Ensure that fds 0, 1, and 2 are open.
|
|
|
if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
|
|
|
if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
|
|
|
if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
|
|
|
|
|
|
# The user is always right.
|
|
|
if ${PATH_SEPARATOR+false} :; then
|
|
|
PATH_SEPARATOR=:
|
|
|
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
|
|
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
|
|
PATH_SEPARATOR=';'
|
|
|
}
|
|
|
fi
|
|
|
|
|
|
|
|
|
# Find who we are. Look in the path if we contain no directory separator.
|
|
|
as_myself=
|
|
|
case $0 in #((
|
|
|
*[\\/]* ) as_myself=$0 ;;
|
|
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
|
for as_dir in $PATH
|
|
|
do
|
|
|
IFS=$as_save_IFS
|
|
|
case $as_dir in #(((
|
|
|
'') as_dir=./ ;;
|
|
|
*/) ;;
|
|
|
*) as_dir=$as_dir/ ;;
|
|
|
esac
|
|
|
test -r "$as_dir$0" && as_myself=$as_dir$0 && break
|
|
|
done
|
|
|
IFS=$as_save_IFS
|
|
|
|
|
|
;;
|
|
|
esac
|
|
|
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
|
|
# in which case we are not to be found in the path.
|
|
|
if test "x$as_myself" = x; then
|
|
|
as_myself=$0
|
|
|
fi
|
|
|
if test ! -f "$as_myself"; then
|
|
|
printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
|
|
exit 1
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# as_fn_error STATUS ERROR [LINENO LOG_FD]
|
|
|
# ----------------------------------------
|
|
|
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
|
|
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
|
|
# script with STATUS, using 1 if that was 0.
|
|
|
as_fn_error ()
|
|
|
{
|
|
|
as_status=$1; test $as_status -eq 0 && as_status=1
|
|
|
if test "$4"; then
|
|
|
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
|
printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
|
|
fi
|
|
|
printf "%s\n" "$as_me: error: $2" >&2
|
|
|
as_fn_exit $as_status
|
|
|
} # as_fn_error
|
|
|
|
|
|
|
|
|
|
|
|
# as_fn_set_status STATUS
|
|
|
# -----------------------
|
|
|
# Set $? to STATUS, without forking.
|
|
|
as_fn_set_status ()
|
|
|
{
|
|
|
return $1
|
|
|
} # as_fn_set_status
|
|
|
|
|
|
# as_fn_exit STATUS
|
|
|
# -----------------
|
|
|
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
|
|
as_fn_exit ()
|
|
|
{
|
|
|
set +e
|
|
|
as_fn_set_status $1
|
|
|
exit $1
|
|
|
} # as_fn_exit
|
|
|
|
|
|
# as_fn_unset VAR
|
|
|
# ---------------
|
|
|
# Portably unset VAR.
|
|
|
as_fn_unset ()
|
|
|
{
|
|
|
{ eval $1=; unset $1;}
|
|
|
}
|
|
|
as_unset=as_fn_unset
|
|
|
|
|
|
# as_fn_append VAR VALUE
|
|
|
# ----------------------
|
|
|
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
|
|
# advantage of any shell optimizations that allow amortized linear growth over
|
|
|
# repeated appends, instead of the typical quadratic growth present in naive
|
|
|
# implementations.
|
|
|
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
|
|
|
then :
|
|
|
eval 'as_fn_append ()
|
|
|
{
|
|
|
eval $1+=\$2
|
|
|
}'
|
|
|
else $as_nop
|
|
|
as_fn_append ()
|
|
|
{
|
|
|
eval $1=\$$1\$2
|
|
|
}
|
|
|
fi # as_fn_append
|
|
|
|
|
|
# as_fn_arith ARG...
|
|
|
# ------------------
|
|
|
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
|
|
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
|
|
# must be portable across $(()) and expr.
|
|
|
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
|
|
|
then :
|
|
|
eval 'as_fn_arith ()
|
|
|
{
|
|
|
as_val=$(( $* ))
|
|
|
}'
|
|
|
else $as_nop
|
|
|
as_fn_arith ()
|
|
|
{
|
|
|
as_val=`expr "$@" || test $? -eq 1`
|
|
|
}
|
|
|
fi # as_fn_arith
|
|
|
|
|
|
|
|
|
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
|
|
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
|
|
as_expr=expr
|
|
|
else
|
|
|
as_expr=false
|
|
|
fi
|
|
|
|
|
|
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
|
|
as_basename=basename
|
|
|
else
|
|
|
as_basename=false
|
|
|
fi
|
|
|
|
|
|
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
|
as_dirname=dirname
|
|
|
else
|
|
|
as_dirname=false
|
|
|
fi
|
|
|
|
|
|
as_me=`$as_basename -- "$0" ||
|
|
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
|
|
X"$0" : 'X\(//\)$' \| \
|
|
|
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
|
|
printf "%s\n" X/"$0" |
|
|
|
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
|
|
s//\1/
|
|
|
q
|
|
|
}
|
|
|
/^X\/\(\/\/\)$/{
|
|
|
s//\1/
|
|
|
q
|
|
|
}
|
|
|
/^X\/\(\/\).*/{
|
|
|
s//\1/
|
|
|
q
|
|
|
}
|
|
|
s/.*/./; q'`
|
|
|
|
|
|
# Avoid depending upon Character Ranges.
|
|
|
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|
|
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
|
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|
|
as_cr_digits='0123456789'
|
|
|
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
|
|
|
|
|
|
|
# Determine whether it's possible to make 'echo' print without a newline.
|
|
|
# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
|
|
|
# for compatibility with existing Makefiles.
|
|
|
ECHO_C= ECHO_N= ECHO_T=
|
|
|
case `echo -n x` in #(((((
|
|
|
-n*)
|
|
|
case `echo 'xy\c'` in
|
|
|
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
|
|
xy) ECHO_C='\c';;
|
|
|
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
|
|
ECHO_T=' ';;
|
|
|
esac;;
|
|
|
*)
|
|
|
ECHO_N='-n';;
|
|
|
esac
|
|
|
|
|
|
# For backward compatibility with old third-party macros, we provide
|
|
|
# the shell variables $as_echo and $as_echo_n. New code should use
|
|
|
# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
|
|
|
as_echo='printf %s\n'
|
|
|
as_echo_n='printf %s'
|
|
|
|
|
|
rm -f conf$$ conf$$.exe conf$$.file
|
|
|
if test -d conf$$.dir; then
|
|
|
rm -f conf$$.dir/conf$$.file
|
|
|
else
|
|
|
rm -f conf$$.dir
|
|
|
mkdir conf$$.dir 2>/dev/null
|
|
|
fi
|
|
|
if (echo >conf$$.file) 2>/dev/null; then
|
|
|
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
|
|
as_ln_s='ln -s'
|
|
|
# ... but there are two gotchas:
|
|
|
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
|
|
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
|
|
# In both cases, we have to default to `cp -pR'.
|
|
|
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
|
|
as_ln_s='cp -pR'
|
|
|
elif ln conf$$.file conf$$ 2>/dev/null; then
|
|
|
as_ln_s=ln
|
|
|
else
|
|
|
as_ln_s='cp -pR'
|
|
|
fi
|
|
|
else
|
|
|
as_ln_s='cp -pR'
|
|
|
fi
|
|
|
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
|
|
rmdir conf$$.dir 2>/dev/null
|
|
|
|
|
|
|
|
|
# as_fn_mkdir_p
|
|
|
# -------------
|
|
|
# Create "$as_dir" as a directory, including parents if necessary.
|
|
|
as_fn_mkdir_p ()
|
|
|
{
|
|
|
|
|
|
case $as_dir in #(
|
|
|
-*) as_dir=./$as_dir;;
|
|
|
esac
|
|
|
test -d "$as_dir" || eval $as_mkdir_p || {
|
|
|
as_dirs=
|
|
|
while :; do
|
|
|
case $as_dir in #(
|
|
|
*\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
|
|
*) as_qdir=$as_dir;;
|
|
|
esac
|
|
|
as_dirs="'$as_qdir' $as_dirs"
|
|
|
as_dir=`$as_dirname -- "$as_dir" ||
|
|
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
|
X"$as_dir" : 'X\(//\)[^/]' \| \
|
|
|
X"$as_dir" : 'X\(//\)$' \| \
|
|
|
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
|
|
printf "%s\n" X"$as_dir" |
|
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
|
s//\1/
|
|
|
q
|
|
|
}
|
|
|
/^X\(\/\/\)[^/].*/{
|
|
|
s//\1/
|
|
|
q
|
|
|
}
|
|
|
/^X\(\/\/\)$/{
|
|
|
s//\1/
|
|
|
q
|
|
|
}
|
|
|
/^X\(\/\).*/{
|
|
|
s//\1/
|
|
|
q
|
|
|
}
|
|
|
s/.*/./; q'`
|
|
|
test -d "$as_dir" && break
|
|
|
done
|
|
|
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
|
|
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
|
|
|
|
|
|
|
|
} # as_fn_mkdir_p
|
|
|
if mkdir -p . 2>/dev/null; then
|
|
|
as_mkdir_p='mkdir -p "$as_dir"'
|
|
|
else
|
|
|
test -d ./-p && rmdir ./-p
|
|
|
as_mkdir_p=false
|
|
|
fi
|
|
|
|
|
|
|
|
|
# as_fn_executable_p FILE
|
|
|
# -----------------------
|
|
|
# Test if FILE is an executable regular file.
|
|
|
as_fn_executable_p ()
|
|
|
{
|
|
|
test -f "$1" && test -x "$1"
|
|
|
} # as_fn_executable_p
|
|
|
as_test_x='test -x'
|
|
|
as_executable_p=as_fn_executable_p
|
|
|
|
|
|
# Sed expression to map a string onto a valid CPP name.
|
|
|
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
|
|
|
|
|
# Sed expression to map a string onto a valid variable name.
|
|
|
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
|
|
|
|
|
|
|
|
exec 6>&1
|
|
|
## ----------------------------------- ##
|
|
|
## Main body of $CONFIG_STATUS script. ##
|
|
|
## ----------------------------------- ##
|
|
|
# Save the log message, to keep $0 and so on meaningful, and to
|
|
|
# report actual input values of CONFIG_FILES etc. instead of their
|
|
|
# values after options handling.
|
|
|
ac_log="
|
|
|
This file was extended by netCDF $as_me 4.9.2, which was
|
|
|
generated by GNU Autoconf 2.71. Invocation command line was
|
|
|
|
|
|
CONFIG_FILES = $CONFIG_FILES
|
|
|
CONFIG_HEADERS = $CONFIG_HEADERS
|
|
|
CONFIG_LINKS = $CONFIG_LINKS
|
|
|
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
|
|
$ $0 $@
|
|
|
|
|
|
on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
|
|
"
|
|
|
|
|
|
# Files that config.status was made for.
|
|
|
config_files=" test_common.sh:test_common.in nc_test4/findplugin.sh:nc_test4/findplugin.in nczarr_test/findplugin.sh:nc_test4/findplugin.in plugins/findplugin.sh:nc_test4/findplugin.in examples/C/findplugin.sh:nc_test4/findplugin.in ncdap_test/findtestserver.c:ncdap_test/findtestserver.c.in nc_test/run_pnetcdf_tests.sh:nc_test/run_pnetcdf_tests.sh.in dap4_test/findtestserver4.c:ncdap_test/findtestserver.c.in dap4_test/pingurl4.c:ncdap_test/pingurl.c h5_test/run_par_tests.sh nc_test4/run_par_test.sh nc_perf/run_par_bm_test.sh nc_perf/run_gfs_test.sh nczarr_test/timer_utils.h:unit_test/timer_utils.h nczarr_test/timer_utils.c:unit_test/timer_utils.c nczarr_test/test_filter.c:nc_test4/test_filter.c nczarr_test/test_filter_misc.c:nc_test4/test_filter_misc.c nczarr_test/tst_multifilter.c:nc_test4/tst_multifilter.c nczarr_test/test_filter_repeat.c:nc_test4/test_filter_repeat.c nczarr_test/test_filter_order.c:nc_test4/test_filter_order.c examples/C/run_par_test.sh nc-config Makefile netcdf.pc libnetcdf.settings postinstall.sh include/netcdf_meta.h include/netcdf_dispatch.h include/Makefile h5_test/Makefile hdf4_test/Makefile libsrc/Makefile libsrc4/Makefile libhdf5/Makefile libsrcp/Makefile ncdump/Makefile ncgen3/Makefile ncgen/Makefile examples/Makefile examples/C/Makefile examples/CDL/Makefile oc2/Makefile libdap2/Makefile libdap4/Makefile libhdf4/Makefile libnczarr/Makefile libncpoco/Makefile libncxml/Makefile libdispatch/Makefile liblib/Makefile ncdump/cdl/Makefile ncdump/expected/Makefile docs/Makefile docs/images/Makefile unit_test/Makefile nctest/Makefile nc_test4/Makefile nc_perf/Makefile nc_test/Makefile ncdap_test/Makefile ncdap_test/testdata3/Makefile ncdap_test/expected3/Makefile ncdap_test/expectremote3/Makefile dap4_test/Makefile plugins/Makefile nczarr_test/Makefile"
|
|
|
config_headers=" config.h"
|
|
|
config_links=" nc_test4/ref_hdf5_compat1.nc:nc_test4/ref_hdf5_compat1.nc nc_test4/ref_hdf5_compat2.nc:nc_test4/ref_hdf5_compat2.nc nc_test4/ref_hdf5_compat3.nc:nc_test4/ref_hdf5_compat3.nc hdf4_test/ref_chunked.hdf4:hdf4_test/ref_chunked.hdf4 hdf4_test/ref_contiguous.hdf4:hdf4_test/ref_contiguous.hdf4"
|
|
|
config_commands=" depfiles libtool"
|
|
|
|
|
|
ac_cs_usage="\
|
|
|
\`$as_me' instantiates files and other configuration actions
|
|
|
from templates according to the current configuration. Unless the files
|
|
|
and actions are specified as TAGs, all are instantiated by default.
|
|
|
|
|
|
Usage: $0 [OPTION]... [TAG]...
|
|
|
|
|
|
-h, --help print this help, then exit
|
|
|
-V, --version print version number and configuration settings, then exit
|
|
|
--config print configuration, then exit
|
|
|
-q, --quiet, --silent
|
|
|
do not print progress messages
|
|
|
-d, --debug don't remove temporary files
|
|
|
--recheck update $as_me by reconfiguring in the same conditions
|
|
|
--file=FILE[:TEMPLATE]
|
|
|
instantiate the configuration file FILE
|
|
|
--header=FILE[:TEMPLATE]
|
|
|
instantiate the configuration header FILE
|
|
|
|
|
|
Configuration files:
|
|
|
$config_files
|
|
|
|
|
|
Configuration headers:
|
|
|
$config_headers
|
|
|
|
|
|
Configuration links:
|
|
|
$config_links
|
|
|
|
|
|
Configuration commands:
|
|
|
$config_commands
|
|
|
|
|
|
Report bugs to <support-netcdf@unidata.ucar.edu>."
|
|
|
|
|
|
ac_cs_config='--prefix=/mnt/Storage/Documents/Code/LibraryTest/lib/netcdf-c-4.9.2 '\''LDFLAGS=-L/mnt/Storage/Documents/Code/LibraryTest/lib/hdf5-1.14.1/lib -L/mnt/Storage/Documents/Code/LibraryTest/lib/zlib-1.2.13/lib'\'' '\''CPPFLAGS=-I/mnt/Storage/Documents/Code/LibraryTest/lib/hdf5-1.14.1/include -I/mnt/Storage/Documents/Code/LibraryTest/lib/zlib-1.2.13/include'\'''
|
|
|
ac_cs_version="\
|
|
|
netCDF config.status 4.9.2
|
|
|
configured by ./configure, generated by GNU Autoconf 2.71,
|
|
|
with options \"$ac_cs_config\"
|
|
|
|
|
|
Copyright (C) 2021 Free Software Foundation, Inc.
|
|
|
This config.status script is free software; the Free Software Foundation
|
|
|
gives unlimited permission to copy, distribute and modify it."
|
|
|
|
|
|
ac_pwd='/home/kjao/Documents/Code/LibraryTest/lib/clone/netcdf-c-4.9.2'
|
|
|
srcdir='.'
|
|
|
INSTALL='/usr/bin/install -c'
|
|
|
MKDIR_P='/usr/bin/mkdir -p'
|
|
|
AWK='gawk'
|
|
|
test -n "$AWK" || AWK=awk
|
|
|
# The default lists apply if the user does not specify any file.
|
|
|
ac_need_defaults=:
|
|
|
while test $# != 0
|
|
|
do
|
|
|
case $1 in
|
|
|
--*=?*)
|
|
|
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
|
|
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
|
|
ac_shift=:
|
|
|
;;
|
|
|
--*=)
|
|
|
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
|
|
ac_optarg=
|
|
|
ac_shift=:
|
|
|
;;
|
|
|
*)
|
|
|
ac_option=$1
|
|
|
ac_optarg=$2
|
|
|
ac_shift=shift
|
|
|
;;
|
|
|
esac
|
|
|
|
|
|
case $ac_option in
|
|
|
# Handling of the options.
|
|
|
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
|
|
ac_cs_recheck=: ;;
|
|
|
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
|
|
printf "%s\n" "$ac_cs_version"; exit ;;
|
|
|
--config | --confi | --conf | --con | --co | --c )
|
|
|
printf "%s\n" "$ac_cs_config"; exit ;;
|
|
|
--debug | --debu | --deb | --de | --d | -d )
|
|
|
debug=: ;;
|
|
|
--file | --fil | --fi | --f )
|
|
|
$ac_shift
|
|
|
case $ac_optarg in
|
|
|
*\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
|
'') as_fn_error $? "missing file argument" ;;
|
|
|
esac
|
|
|
as_fn_append CONFIG_FILES " '$ac_optarg'"
|
|
|
ac_need_defaults=false;;
|
|
|
--header | --heade | --head | --hea )
|
|
|
$ac_shift
|
|
|
case $ac_optarg in
|
|
|
*\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
|
esac
|
|
|
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
|
|
ac_need_defaults=false;;
|
|
|
--he | --h)
|
|
|
# Conflict between --help and --header
|
|
|
as_fn_error $? "ambiguous option: \`$1'
|
|
|
Try \`$0 --help' for more information.";;
|
|
|
--help | --hel | -h )
|
|
|
printf "%s\n" "$ac_cs_usage"; exit ;;
|
|
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
|
|
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
|
|
ac_cs_silent=: ;;
|
|
|
|
|
|
# This is an error.
|
|
|
-*) as_fn_error $? "unrecognized option: \`$1'
|
|
|
Try \`$0 --help' for more information." ;;
|
|
|
|
|
|
*) as_fn_append ac_config_targets " $1"
|
|
|
ac_need_defaults=false ;;
|
|
|
|
|
|
esac
|
|
|
shift
|
|
|
done
|
|
|
|
|
|
ac_configure_extra_args=
|
|
|
|
|
|
if $ac_cs_silent; then
|
|
|
exec 6>/dev/null
|
|
|
ac_configure_extra_args="$ac_configure_extra_args --silent"
|
|
|
fi
|
|
|
|
|
|
if $ac_cs_recheck; then
|
|
|
set X /bin/bash './configure' '--prefix=/mnt/Storage/Documents/Code/LibraryTest/lib/netcdf-c-4.9.2' 'LDFLAGS=-L/mnt/Storage/Documents/Code/LibraryTest/lib/hdf5-1.14.1/lib -L/mnt/Storage/Documents/Code/LibraryTest/lib/zlib-1.2.13/lib' 'CPPFLAGS=-I/mnt/Storage/Documents/Code/LibraryTest/lib/hdf5-1.14.1/include -I/mnt/Storage/Documents/Code/LibraryTest/lib/zlib-1.2.13/include' $ac_configure_extra_args --no-create --no-recursion
|
|
|
shift
|
|
|
\printf "%s\n" "running CONFIG_SHELL=/bin/bash $*" >&6
|
|
|
CONFIG_SHELL='/bin/bash'
|
|
|
export CONFIG_SHELL
|
|
|
exec "$@"
|
|
|
fi
|
|
|
|
|
|
exec 5>>config.log
|
|
|
{
|
|
|
echo
|
|
|
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
|
|
## Running $as_me. ##
|
|
|
_ASBOX
|
|
|
printf "%s\n" "$ac_log"
|
|
|
} >&5
|
|
|
|
|
|
#
|
|
|
# INIT-COMMANDS
|
|
|
#
|
|
|
AMDEP_TRUE="" MAKE="make"
|
|
|
|
|
|
|
|
|
# The HP-UX ksh and POSIX shell print the target directory to stdout
|
|
|
# if CDPATH is set.
|
|
|
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
|
|
|
|
|
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
|
|
|
double_quote_subst='s/\(["`\\]\)/\\\1/g'
|
|
|
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
|
|
|
macro_version='2.4.7'
|
|
|
macro_revision='2.4.7'
|
|
|
enable_shared='yes'
|
|
|
enable_static='yes'
|
|
|
pic_mode='default'
|
|
|
enable_fast_install='needless'
|
|
|
shared_archive_member_spec=''
|
|
|
SHELL='/bin/bash'
|
|
|
ECHO='printf %s\n'
|
|
|
PATH_SEPARATOR=':'
|
|
|
host_alias=''
|
|
|
host='x86_64-pc-linux-gnu'
|
|
|
host_os='linux-gnu'
|
|
|
build_alias=''
|
|
|
build='x86_64-pc-linux-gnu'
|
|
|
build_os='linux-gnu'
|
|
|
SED='/usr/bin/sed'
|
|
|
Xsed='/usr/bin/sed -e 1s/^X//'
|
|
|
GREP='/usr/bin/grep'
|
|
|
EGREP='/usr/bin/grep -E'
|
|
|
FGREP='/usr/bin/grep -F'
|
|
|
LD='/usr/bin/ld -m elf_x86_64'
|
|
|
NM='/usr/bin/nm -B'
|
|
|
LN_S='ln -s'
|
|
|
max_cmd_len='1572864'
|
|
|
ac_objext='o'
|
|
|
exeext=''
|
|
|
lt_unset='unset'
|
|
|
lt_SP2NL='tr \040 \012'
|
|
|
lt_NL2SP='tr \015\012 \040\040'
|
|
|
lt_cv_to_host_file_cmd='func_convert_file_noop'
|
|
|
lt_cv_to_tool_file_cmd='func_convert_file_noop'
|
|
|
reload_flag=' -r'
|
|
|
reload_cmds='$LD$reload_flag -o $output$reload_objs'
|
|
|
FILECMD='file'
|
|
|
OBJDUMP='objdump'
|
|
|
deplibs_check_method='pass_all'
|
|
|
file_magic_cmd='$MAGIC_CMD'
|
|
|
file_magic_glob=''
|
|
|
want_nocaseglob='no'
|
|
|
DLLTOOL='false'
|
|
|
sharedlib_from_linklib_cmd='printf %s\n'
|
|
|
AR='ar'
|
|
|
lt_ar_flags='cr'
|
|
|
AR_FLAGS='cr'
|
|
|
archiver_list_spec='@'
|
|
|
STRIP='strip'
|
|
|
RANLIB='ranlib'
|
|
|
old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $tool_oldlib'
|
|
|
old_postuninstall_cmds=''
|
|
|
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $tool_oldlib'
|
|
|
lock_old_archive_extraction='no'
|
|
|
CC='gcc'
|
|
|
CFLAGS=' -fno-strict-aliasing'
|
|
|
compiler='g++'
|
|
|
GCC='yes'
|
|
|
lt_cv_sys_global_symbol_pipe='/usr/bin/sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | /usr/bin/sed '\''/ __gnu_lto/d'\'''
|
|
|
lt_cv_sys_global_symbol_to_cdecl='/usr/bin/sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
|
|
|
lt_cv_sys_global_symbol_to_import=''
|
|
|
lt_cv_sys_global_symbol_to_c_name_address='/usr/bin/sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\'''
|
|
|
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='/usr/bin/sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\'''
|
|
|
lt_cv_nm_interface='BSD nm'
|
|
|
nm_file_list_spec='@'
|
|
|
lt_sysroot=''
|
|
|
lt_cv_truncate_bin='/usr/bin/dd bs=4096 count=1'
|
|
|
objdir='.libs'
|
|
|
MAGIC_CMD='file'
|
|
|
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
|
|
|
lt_prog_compiler_pic=' -fPIC -DPIC'
|
|
|
lt_prog_compiler_wl='-Wl,'
|
|
|
lt_prog_compiler_static='-static'
|
|
|
lt_cv_prog_compiler_c_o='yes'
|
|
|
need_locks='no'
|
|
|
MANIFEST_TOOL=':'
|
|
|
DSYMUTIL=''
|
|
|
NMEDIT=''
|
|
|
LIPO=''
|
|
|
OTOOL=''
|
|
|
OTOOL64=''
|
|
|
libext='a'
|
|
|
shrext_cmds='.so'
|
|
|
extract_expsyms_cmds=''
|
|
|
archive_cmds_need_lc='no'
|
|
|
enable_shared_with_static_runtimes='no'
|
|
|
export_dynamic_flag_spec='$wl--export-dynamic'
|
|
|
whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
|
|
|
compiler_needs_object='no'
|
|
|
old_archive_from_new_cmds=''
|
|
|
old_archive_from_expsyms_cmds=''
|
|
|
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
|
|
|
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
|
|
|
cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
|
|
echo "local: *; };" >> $output_objdir/$libname.ver~
|
|
|
$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
|
|
|
module_cmds=''
|
|
|
module_expsym_cmds=''
|
|
|
with_gnu_ld='yes'
|
|
|
allow_undefined_flag=''
|
|
|
no_undefined_flag=''
|
|
|
hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
|
|
|
hardcode_libdir_separator=''
|
|
|
hardcode_direct='no'
|
|
|
hardcode_direct_absolute='no'
|
|
|
hardcode_minus_L='no'
|
|
|
hardcode_shlibpath_var='unsupported'
|
|
|
hardcode_automatic='no'
|
|
|
inherit_rpath='no'
|
|
|
link_all_deplibs='unknown'
|
|
|
always_export_symbols='no'
|
|
|
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
|
|
|
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
|
|
|
include_expsyms=''
|
|
|
prelink_cmds=''
|
|
|
postlink_cmds=''
|
|
|
file_list_spec=''
|
|
|
variables_saved_for_relink='PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH'
|
|
|
need_lib_prefix='no'
|
|
|
need_version='no'
|
|
|
version_type='linux'
|
|
|
runpath_var='LD_RUN_PATH'
|
|
|
shlibpath_var='LD_LIBRARY_PATH'
|
|
|
shlibpath_overrides_runpath='yes'
|
|
|
libname_spec='lib$name'
|
|
|
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
|
|
|
soname_spec='$libname$release$shared_ext$major'
|
|
|
install_override_mode=''
|
|
|
postinstall_cmds=''
|
|
|
postuninstall_cmds=''
|
|
|
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
|
|
|
finish_eval=''
|
|
|
hardcode_into_libs='yes'
|
|
|
sys_lib_search_path_spec='/usr/lib/gcc/x86_64-linux-gnu/9 /usr/lib/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib '
|
|
|
configure_time_dlsearch_path='/lib /usr/lib /usr/local/cuda-11.7/targets/x86_64-linux/lib /usr/lib/x86_64-linux-gnu/libfakeroot /usr/local/lib/i386-linux-gnu /lib/i386-linux-gnu /usr/lib/i386-linux-gnu /usr/local/lib/i686-linux-gnu /lib/i686-linux-gnu /usr/lib/i686-linux-gnu /usr/local/lib /usr/local/lib/x86_64-linux-gnu /lib/x86_64-linux-gnu /lib32 /usr/lib32 '
|
|
|
configure_time_lt_sys_library_path=''
|
|
|
hardcode_action='immediate'
|
|
|
enable_dlopen='unknown'
|
|
|
enable_dlopen_self='unknown'
|
|
|
enable_dlopen_self_static='unknown'
|
|
|
old_striplib='strip --strip-debug'
|
|
|
striplib='strip --strip-unneeded'
|
|
|
compiler_lib_search_dirs=''
|
|
|
predep_objects=''
|
|
|
postdep_objects=''
|
|
|
predeps=''
|
|
|
postdeps=''
|
|
|
compiler_lib_search_path=''
|
|
|
LD_CXX='/usr/bin/ld -m elf_x86_64'
|
|
|
reload_flag_CXX=' -r'
|
|
|
reload_cmds_CXX='$LD$reload_flag -o $output$reload_objs'
|
|
|
old_archive_cmds_CXX='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $tool_oldlib'
|
|
|
compiler_CXX='g++'
|
|
|
GCC_CXX='yes'
|
|
|
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
|
|
|
lt_prog_compiler_pic_CXX=' -fPIC -DPIC'
|
|
|
lt_prog_compiler_wl_CXX='-Wl,'
|
|
|
lt_prog_compiler_static_CXX='-static'
|
|
|
lt_cv_prog_compiler_c_o_CXX='yes'
|
|
|
archive_cmds_need_lc_CXX='no'
|
|
|
enable_shared_with_static_runtimes_CXX='no'
|
|
|
export_dynamic_flag_spec_CXX='$wl--export-dynamic'
|
|
|
whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
|
|
|
compiler_needs_object_CXX='no'
|
|
|
old_archive_from_new_cmds_CXX=''
|
|
|
old_archive_from_expsyms_cmds_CXX=''
|
|
|
archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
|
|
|
archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
|
|
|
module_cmds_CXX=''
|
|
|
module_expsym_cmds_CXX=''
|
|
|
with_gnu_ld_CXX='yes'
|
|
|
allow_undefined_flag_CXX=''
|
|
|
no_undefined_flag_CXX=''
|
|
|
hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
|
|
|
hardcode_libdir_separator_CXX=''
|
|
|
hardcode_direct_CXX='no'
|
|
|
hardcode_direct_absolute_CXX='no'
|
|
|
hardcode_minus_L_CXX='no'
|
|
|
hardcode_shlibpath_var_CXX='unsupported'
|
|
|
hardcode_automatic_CXX='no'
|
|
|
inherit_rpath_CXX='no'
|
|
|
link_all_deplibs_CXX='unknown'
|
|
|
always_export_symbols_CXX='no'
|
|
|
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
|
|
|
exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
|
|
|
include_expsyms_CXX=''
|
|
|
prelink_cmds_CXX=''
|
|
|
postlink_cmds_CXX=''
|
|
|
file_list_spec_CXX=''
|
|
|
hardcode_action_CXX='immediate'
|
|
|
compiler_lib_search_dirs_CXX='/usr/lib/gcc/x86_64-linux-gnu/9 /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu /usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /usr/lib/gcc/x86_64-linux-gnu/9/../../..'
|
|
|
predep_objects_CXX='/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o'
|
|
|
postdep_objects_CXX='/usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crtn.o'
|
|
|
predeps_CXX=''
|
|
|
postdeps_CXX='-lstdc++ -lm -lgcc_s -lc -lgcc_s'
|
|
|
compiler_lib_search_path_CXX='-L/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/9/../../..'
|
|
|
|
|
|
LTCC='gcc'
|
|
|
LTCFLAGS=' -fno-strict-aliasing'
|
|
|
compiler='gcc'
|
|
|
|
|
|
# A function that is used when there is no print builtin or printf.
|
|
|
func_fallback_echo ()
|
|
|
{
|
|
|
eval 'cat <<_LTECHO_EOF
|
|
|
$1
|
|
|
_LTECHO_EOF'
|
|
|
}
|
|
|
|
|
|
# Quote evaled strings.
|
|
|
for var in SHELL ECHO PATH_SEPARATOR SED GREP EGREP FGREP LD NM LN_S lt_SP2NL lt_NL2SP reload_flag FILECMD OBJDUMP deplibs_check_method file_magic_cmd file_magic_glob want_nocaseglob DLLTOOL sharedlib_from_linklib_cmd AR archiver_list_spec STRIP RANLIB CC CFLAGS compiler lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl lt_cv_sys_global_symbol_to_import lt_cv_sys_global_symbol_to_c_name_address lt_cv_sys_global_symbol_to_c_name_address_lib_prefix lt_cv_nm_interface nm_file_list_spec lt_cv_truncate_bin lt_prog_compiler_no_builtin_flag lt_prog_compiler_pic lt_prog_compiler_wl lt_prog_compiler_static lt_cv_prog_compiler_c_o need_locks MANIFEST_TOOL DSYMUTIL NMEDIT LIPO OTOOL OTOOL64 shrext_cmds export_dynamic_flag_spec whole_archive_flag_spec compiler_needs_object with_gnu_ld allow_undefined_flag no_undefined_flag hardcode_libdir_flag_spec hardcode_libdir_separator exclude_expsyms include_expsyms file_list_spec variables_saved_for_relink libname_spec library_names_spec soname_spec install_override_mode finish_eval old_striplib striplib compiler_lib_search_dirs predep_objects postdep_objects predeps postdeps compiler_lib_search_path LD_CXX reload_flag_CXX compiler_CXX lt_prog_compiler_no_builtin_flag_CXX lt_prog_compiler_pic_CXX lt_prog_compiler_wl_CXX lt_prog_compiler_static_CXX lt_cv_prog_compiler_c_o_CXX export_dynamic_flag_spec_CXX whole_archive_flag_spec_CXX compiler_needs_object_CXX with_gnu_ld_CXX allow_undefined_flag_CXX no_undefined_flag_CXX hardcode_libdir_flag_spec_CXX hardcode_libdir_separator_CXX exclude_expsyms_CXX include_expsyms_CXX file_list_spec_CXX compiler_lib_search_dirs_CXX predep_objects_CXX postdep_objects_CXX predeps_CXX postdeps_CXX compiler_lib_search_path_CXX; do
|
|
|
case `eval \\$ECHO \\""\\$$var"\\"` in
|
|
|
*[\\\`\"\$]*)
|
|
|
eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED \"\$sed_quote_subst\"\`\\\"" ## exclude from sc_prohibit_nested_quotes
|
|
|
;;
|
|
|
*)
|
|
|
eval "lt_$var=\\\"\$$var\\\""
|
|
|
;;
|
|
|
esac
|
|
|
done
|
|
|
|
|
|
# Double-quote double-evaled strings.
|
|
|
for var in reload_cmds old_postinstall_cmds old_postuninstall_cmds old_archive_cmds extract_expsyms_cmds old_archive_from_new_cmds old_archive_from_expsyms_cmds archive_cmds archive_expsym_cmds module_cmds module_expsym_cmds export_symbols_cmds prelink_cmds postlink_cmds postinstall_cmds postuninstall_cmds finish_cmds sys_lib_search_path_spec configure_time_dlsearch_path configure_time_lt_sys_library_path reload_cmds_CXX old_archive_cmds_CXX old_archive_from_new_cmds_CXX old_archive_from_expsyms_cmds_CXX archive_cmds_CXX archive_expsym_cmds_CXX module_cmds_CXX module_expsym_cmds_CXX export_symbols_cmds_CXX prelink_cmds_CXX postlink_cmds_CXX; do
|
|
|
case `eval \\$ECHO \\""\\$$var"\\"` in
|
|
|
*[\\\`\"\$]*)
|
|
|
eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ## exclude from sc_prohibit_nested_quotes
|
|
|
;;
|
|
|
*)
|
|
|
eval "lt_$var=\\\"\$$var\\\""
|
|
|
;;
|
|
|
esac
|
|
|
done
|
|
|
|
|
|
ac_aux_dir='./'
|
|
|
|
|
|
# See if we are running on zsh, and set the options that allow our
|
|
|
# commands through without removal of \ escapes INIT.
|
|
|
if test -n "${ZSH_VERSION+set}"; then
|
|
|
setopt NO_GLOB_SUBST
|
|
|
fi
|
|
|
|
|
|
|
|
|
PACKAGE='netcdf-c'
|
|
|
VERSION='4.9.2'
|
|
|
RM='rm -f'
|
|
|
ofile='libtool'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Handling of arguments.
|
|
|
for ac_config_target in $ac_config_targets
|
|
|
do
|
|
|
case $ac_config_target in
|
|
|
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
|
|
"nc_test4/ref_hdf5_compat1.nc") CONFIG_LINKS="$CONFIG_LINKS nc_test4/ref_hdf5_compat1.nc:nc_test4/ref_hdf5_compat1.nc" ;;
|
|
|
"nc_test4/ref_hdf5_compat2.nc") CONFIG_LINKS="$CONFIG_LINKS nc_test4/ref_hdf5_compat2.nc:nc_test4/ref_hdf5_compat2.nc" ;;
|
|
|
"nc_test4/ref_hdf5_compat3.nc") CONFIG_LINKS="$CONFIG_LINKS nc_test4/ref_hdf5_compat3.nc:nc_test4/ref_hdf5_compat3.nc" ;;
|
|
|
"hdf4_test/ref_chunked.hdf4") CONFIG_LINKS="$CONFIG_LINKS hdf4_test/ref_chunked.hdf4:hdf4_test/ref_chunked.hdf4" ;;
|
|
|
"hdf4_test/ref_contiguous.hdf4") CONFIG_LINKS="$CONFIG_LINKS hdf4_test/ref_contiguous.hdf4:hdf4_test/ref_contiguous.hdf4" ;;
|
|
|
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
|
|
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
|
|
|
"docs/Doxyfile") CONFIG_FILES="$CONFIG_FILES docs/Doxyfile" ;;
|
|
|
"test_common.sh") CONFIG_FILES="$CONFIG_FILES test_common.sh:test_common.in" ;;
|
|
|
"nc_test4/findplugin.sh") CONFIG_FILES="$CONFIG_FILES nc_test4/findplugin.sh:nc_test4/findplugin.in" ;;
|
|
|
"nczarr_test/findplugin.sh") CONFIG_FILES="$CONFIG_FILES nczarr_test/findplugin.sh:nc_test4/findplugin.in" ;;
|
|
|
"plugins/findplugin.sh") CONFIG_FILES="$CONFIG_FILES plugins/findplugin.sh:nc_test4/findplugin.in" ;;
|
|
|
"examples/C/findplugin.sh") CONFIG_FILES="$CONFIG_FILES examples/C/findplugin.sh:nc_test4/findplugin.in" ;;
|
|
|
"ncdap_test/findtestserver.c") CONFIG_FILES="$CONFIG_FILES ncdap_test/findtestserver.c:ncdap_test/findtestserver.c.in" ;;
|
|
|
"nc_test/run_pnetcdf_tests.sh") CONFIG_FILES="$CONFIG_FILES nc_test/run_pnetcdf_tests.sh:nc_test/run_pnetcdf_tests.sh.in" ;;
|
|
|
"dap4_test/findtestserver4.c") CONFIG_FILES="$CONFIG_FILES dap4_test/findtestserver4.c:ncdap_test/findtestserver.c.in" ;;
|
|
|
"dap4_test/pingurl4.c") CONFIG_FILES="$CONFIG_FILES dap4_test/pingurl4.c:ncdap_test/pingurl.c" ;;
|
|
|
"h5_test/run_par_tests.sh") CONFIG_FILES="$CONFIG_FILES h5_test/run_par_tests.sh" ;;
|
|
|
"nc_test4/run_par_test.sh") CONFIG_FILES="$CONFIG_FILES nc_test4/run_par_test.sh" ;;
|
|
|
"nc_perf/run_par_bm_test.sh") CONFIG_FILES="$CONFIG_FILES nc_perf/run_par_bm_test.sh" ;;
|
|
|
"nc_perf/run_gfs_test.sh") CONFIG_FILES="$CONFIG_FILES nc_perf/run_gfs_test.sh" ;;
|
|
|
"nczarr_test/timer_utils.h") CONFIG_FILES="$CONFIG_FILES nczarr_test/timer_utils.h:unit_test/timer_utils.h" ;;
|
|
|
"nczarr_test/timer_utils.c") CONFIG_FILES="$CONFIG_FILES nczarr_test/timer_utils.c:unit_test/timer_utils.c" ;;
|
|
|
"nczarr_test/test_filter.c") CONFIG_FILES="$CONFIG_FILES nczarr_test/test_filter.c:nc_test4/test_filter.c" ;;
|
|
|
"nczarr_test/test_filter_misc.c") CONFIG_FILES="$CONFIG_FILES nczarr_test/test_filter_misc.c:nc_test4/test_filter_misc.c" ;;
|
|
|
"nczarr_test/tst_multifilter.c") CONFIG_FILES="$CONFIG_FILES nczarr_test/tst_multifilter.c:nc_test4/tst_multifilter.c" ;;
|
|
|
"nczarr_test/test_filter_repeat.c") CONFIG_FILES="$CONFIG_FILES nczarr_test/test_filter_repeat.c:nc_test4/test_filter_repeat.c" ;;
|
|
|
"nczarr_test/test_filter_order.c") CONFIG_FILES="$CONFIG_FILES nczarr_test/test_filter_order.c:nc_test4/test_filter_order.c" ;;
|
|
|
"examples/C/run_par_test.sh") CONFIG_FILES="$CONFIG_FILES examples/C/run_par_test.sh" ;;
|
|
|
"nc-config") CONFIG_FILES="$CONFIG_FILES nc-config" ;;
|
|
|
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
|
|
"netcdf.pc") CONFIG_FILES="$CONFIG_FILES netcdf.pc" ;;
|
|
|
"libnetcdf.settings") CONFIG_FILES="$CONFIG_FILES libnetcdf.settings" ;;
|
|
|
"postinstall.sh") CONFIG_FILES="$CONFIG_FILES postinstall.sh" ;;
|
|
|
"include/netcdf_meta.h") CONFIG_FILES="$CONFIG_FILES include/netcdf_meta.h" ;;
|
|
|
"include/netcdf_dispatch.h") CONFIG_FILES="$CONFIG_FILES include/netcdf_dispatch.h" ;;
|
|
|
"include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
|
|
|
"h5_test/Makefile") CONFIG_FILES="$CONFIG_FILES h5_test/Makefile" ;;
|
|
|
"hdf4_test/Makefile") CONFIG_FILES="$CONFIG_FILES hdf4_test/Makefile" ;;
|
|
|
"libsrc/Makefile") CONFIG_FILES="$CONFIG_FILES libsrc/Makefile" ;;
|
|
|
"libsrc4/Makefile") CONFIG_FILES="$CONFIG_FILES libsrc4/Makefile" ;;
|
|
|
"libhdf5/Makefile") CONFIG_FILES="$CONFIG_FILES libhdf5/Makefile" ;;
|
|
|
"libsrcp/Makefile") CONFIG_FILES="$CONFIG_FILES libsrcp/Makefile" ;;
|
|
|
"ncdump/Makefile") CONFIG_FILES="$CONFIG_FILES ncdump/Makefile" ;;
|
|
|
"ncgen3/Makefile") CONFIG_FILES="$CONFIG_FILES ncgen3/Makefile" ;;
|
|
|
"ncgen/Makefile") CONFIG_FILES="$CONFIG_FILES ncgen/Makefile" ;;
|
|
|
"examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
|
|
|
"examples/C/Makefile") CONFIG_FILES="$CONFIG_FILES examples/C/Makefile" ;;
|
|
|
"examples/CDL/Makefile") CONFIG_FILES="$CONFIG_FILES examples/CDL/Makefile" ;;
|
|
|
"oc2/Makefile") CONFIG_FILES="$CONFIG_FILES oc2/Makefile" ;;
|
|
|
"libdap2/Makefile") CONFIG_FILES="$CONFIG_FILES libdap2/Makefile" ;;
|
|
|
"libdap4/Makefile") CONFIG_FILES="$CONFIG_FILES libdap4/Makefile" ;;
|
|
|
"libhdf4/Makefile") CONFIG_FILES="$CONFIG_FILES libhdf4/Makefile" ;;
|
|
|
"libnczarr/Makefile") CONFIG_FILES="$CONFIG_FILES libnczarr/Makefile" ;;
|
|
|
"libncpoco/Makefile") CONFIG_FILES="$CONFIG_FILES libncpoco/Makefile" ;;
|
|
|
"libncxml/Makefile") CONFIG_FILES="$CONFIG_FILES libncxml/Makefile" ;;
|
|
|
"libdispatch/Makefile") CONFIG_FILES="$CONFIG_FILES libdispatch/Makefile" ;;
|
|
|
"liblib/Makefile") CONFIG_FILES="$CONFIG_FILES liblib/Makefile" ;;
|
|
|
"ncdump/cdl/Makefile") CONFIG_FILES="$CONFIG_FILES ncdump/cdl/Makefile" ;;
|
|
|
"ncdump/expected/Makefile") CONFIG_FILES="$CONFIG_FILES ncdump/expected/Makefile" ;;
|
|
|
"docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
|
|
|
"docs/images/Makefile") CONFIG_FILES="$CONFIG_FILES docs/images/Makefile" ;;
|
|
|
"unit_test/Makefile") CONFIG_FILES="$CONFIG_FILES unit_test/Makefile" ;;
|
|
|
"nctest/Makefile") CONFIG_FILES="$CONFIG_FILES nctest/Makefile" ;;
|
|
|
"nc_test4/Makefile") CONFIG_FILES="$CONFIG_FILES nc_test4/Makefile" ;;
|
|
|
"nc_perf/Makefile") CONFIG_FILES="$CONFIG_FILES nc_perf/Makefile" ;;
|
|
|
"nc_test/Makefile") CONFIG_FILES="$CONFIG_FILES nc_test/Makefile" ;;
|
|
|
"ncdap_test/Makefile") CONFIG_FILES="$CONFIG_FILES ncdap_test/Makefile" ;;
|
|
|
"ncdap_test/testdata3/Makefile") CONFIG_FILES="$CONFIG_FILES ncdap_test/testdata3/Makefile" ;;
|
|
|
"ncdap_test/expected3/Makefile") CONFIG_FILES="$CONFIG_FILES ncdap_test/expected3/Makefile" ;;
|
|
|
"ncdap_test/expectremote3/Makefile") CONFIG_FILES="$CONFIG_FILES ncdap_test/expectremote3/Makefile" ;;
|
|
|
"dap4_test/Makefile") CONFIG_FILES="$CONFIG_FILES dap4_test/Makefile" ;;
|
|
|
"plugins/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/Makefile" ;;
|
|
|
"nczarr_test/Makefile") CONFIG_FILES="$CONFIG_FILES nczarr_test/Makefile" ;;
|
|
|
|
|
|
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
|
|
esac
|
|
|
done
|
|
|
|
|
|
|
|
|
# If the user did not use the arguments to specify the items to instantiate,
|
|
|
# then the envvar interface is used. Set only those that are not.
|
|
|
# We use the long form for the default assignment because of an extremely
|
|
|
# bizarre bug on SunOS 4.1.3.
|
|
|
if $ac_need_defaults; then
|
|
|
test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
|
|
|
test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
|
|
|
test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
|
|
|
test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
|
|
|
fi
|
|
|
|
|
|
# Have a temporary directory for convenience. Make it in the build tree
|
|
|
# simply because there is no reason against having it here, and in addition,
|
|
|
# creating and moving files from /tmp can sometimes cause problems.
|
|
|
# Hook for its removal unless debugging.
|
|
|
# Note that there is a small window in which the directory will not be cleaned:
|
|
|
# after its creation but before its name has been assigned to `$tmp'.
|
|
|
$debug ||
|
|
|
{
|
|
|
tmp= ac_tmp=
|
|
|
trap 'exit_status=$?
|
|
|
: "${ac_tmp:=$tmp}"
|
|
|
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
|
|
|
' 0
|
|
|
trap 'as_fn_exit 1' 1 2 13 15
|
|
|
}
|
|
|
# Create a (secure) tmp directory for tmp files.
|
|
|
|
|
|
{
|
|
|
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
|
|
test -d "$tmp"
|
|
|
} ||
|
|
|
{
|
|
|
tmp=./conf$$-$RANDOM
|
|
|
(umask 077 && mkdir "$tmp")
|
|
|
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
|
|
|
ac_tmp=$tmp
|
|
|
|
|
|
# Set up the scripts for CONFIG_FILES section.
|
|
|
# No need to generate them if there are no CONFIG_FILES.
|
|
|
# This happens for instance with `./config.status config.h'.
|
|
|
if test -n "$CONFIG_FILES"; then
|
|
|
|
|
|
|
|
|
ac_cr=`echo X | tr X '\015'`
|
|
|
# On cygwin, bash can eat \r inside `` if the user requested igncr.
|
|
|
# But we know of no other shell where ac_cr would be empty at this
|
|
|
# point, so we can use a bashism as a fallback.
|
|
|
if test "x$ac_cr" = x; then
|
|
|
eval ac_cr=\$\'\\r\'
|
|
|
fi
|
|
|
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
|
|
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
|
|
ac_cs_awk_cr='\\r'
|
|
|
else
|
|
|
ac_cs_awk_cr=$ac_cr
|
|
|
fi
|
|
|
|
|
|
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
|
|
|
cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
|
|
|
S["am__EXEEXT_FALSE"]=""
|
|
|
S["am__EXEEXT_TRUE"]="#"
|
|
|
S["LTLIBOBJS"]=""
|
|
|
S["LIBOBJS"]=""
|
|
|
S["AX_IGNORE_FALSE"]=""
|
|
|
S["AX_IGNORE_TRUE"]="#"
|
|
|
S["ISCMAKE"]=""
|
|
|
S["NC_DISPATCH_VERSION"]="5"
|
|
|
S["NC_HAS_BZ2"]="1"
|
|
|
S["NC_HAS_BLOSC"]="0"
|
|
|
S["NC_HAS_ZSTD"]="0"
|
|
|
S["NC_HAS_SZIP"]="0"
|
|
|
S["NC_HAS_QUANTIZE"]="1"
|
|
|
S["NC_HAS_LOGGING"]="0"
|
|
|
S["NC_HAS_MULTIFILTERS"]="1"
|
|
|
S["NC_HAS_S3"]="0"
|
|
|
S["NC_HAS_NCZARR"]="1"
|
|
|
S["NC_HAS_BYTERANGE"]="1"
|
|
|
S["NC_HAS_PAR_FILTERS"]="1"
|
|
|
S["NC_HAS_ERANGE_FILL"]="0"
|
|
|
S["NC_HAS_CDF5"]="1"
|
|
|
S["NC_HAS_PARALLEL4"]="0"
|
|
|
S["NC_HAS_PARALLEL"]="0"
|
|
|
S["NC_HAS_PNETCDF"]="0"
|
|
|
S["NC_HAS_JNA"]="0"
|
|
|
S["NC_HAS_MMAP"]="0"
|
|
|
S["NC_HAS_DISKLESS"]="1"
|
|
|
S["NC_HAS_DAP4"]="1"
|
|
|
S["NC_HAS_DAP2"]="1"
|
|
|
S["NC_HAS_HDF5"]="1"
|
|
|
S["NC_HAS_BENCHMARKS"]="0"
|
|
|
S["NC_HAS_HDF4"]="0"
|
|
|
S["NC_HAS_NC4"]="1"
|
|
|
S["NC_HAS_NC2"]="1"
|
|
|
S["NC_VERSION"]="4.9.2"
|
|
|
S["NOUNDEFINED"]=""
|
|
|
S["AM_LDFLAGS"]=""
|
|
|
S["AM_CPPFLAGS"]=""
|
|
|
S["AM_CFLAGS"]=""
|
|
|
S["enable_static"]="yes"
|
|
|
S["enable_shared"]="yes"
|
|
|
S["PLUGIN_INSTALL_DIR_SETTING"]="N.A."
|
|
|
S["PLUGIN_INSTALL_DIR"]="no"
|
|
|
S["ENABLE_PLUGIN_DIR_FALSE"]=""
|
|
|
S["ENABLE_PLUGIN_DIR_TRUE"]="#"
|
|
|
S["STD_FILTERS"]="deflate bz2"
|
|
|
S["HAS_ZSTD"]="no"
|
|
|
S["HAS_SZLIB_WRITE"]="yes"
|
|
|
S["HAS_SZLIB"]="yes"
|
|
|
S["DO_FILTER_TESTS"]="yes"
|
|
|
S["HAS_QUANTIZE"]="yes"
|
|
|
S["DO_NCZARR_ZIP_TESTS"]="no"
|
|
|
S["HAS_MULTIFILTERS"]="yes"
|
|
|
S["HAS_NCZARR_ZIP"]="no"
|
|
|
S["DO_NCZARR_S3_TESTS"]="no"
|
|
|
S["HAS_NCZARR"]="yes"
|
|
|
S["HAS_S3"]="no"
|
|
|
S["HAS_PAR_FILTERS"]="yes"
|
|
|
S["RELAX_COORD_BOUND"]="yes"
|
|
|
S["HAS_BYTERANGE"]="yes"
|
|
|
S["HAS_ERANGE_FILL"]="no"
|
|
|
S["HAS_JNA"]="no"
|
|
|
S["HAS_MMAP"]="no"
|
|
|
S["HAS_DISKLESS"]="yes"
|
|
|
S["HAS_PARALLEL4"]="no"
|
|
|
S["HAS_PARALLEL"]="no"
|
|
|
S["HAS_LOGGING"]="no"
|
|
|
S["HAS_PNETCDF"]="no"
|
|
|
S["HAS_HDF5"]="yes"
|
|
|
S["HAS_BENCHMARKS"]="no"
|
|
|
S["HAS_HDF4"]="no"
|
|
|
S["HAS_CDF5"]="yes"
|
|
|
S["HAS_NC4"]="yes"
|
|
|
S["HAS_NC2"]="yes"
|
|
|
S["HAS_DAP4"]="yes"
|
|
|
S["HAS_DAP2"]="yes"
|
|
|
S["HAS_DAP"]="yes"
|
|
|
S["NC_LIBS"]="-lnetcdf"
|
|
|
S["BINFILE_NAME"]="binary-netcdf-4.9.2.tar"
|
|
|
S["HAVE_ZSTD_FALSE"]=""
|
|
|
S["HAVE_ZSTD_TRUE"]="#"
|
|
|
S["HAVE_BZ2_FALSE"]="#"
|
|
|
S["HAVE_BZ2_TRUE"]=""
|
|
|
S["HAVE_BLOSC_FALSE"]=""
|
|
|
S["HAVE_BLOSC_TRUE"]="#"
|
|
|
S["HAVE_H5Z_SZIP_FALSE"]=""
|
|
|
S["HAVE_H5Z_SZIP_TRUE"]="#"
|
|
|
S["HAVE_SZ_FALSE"]="#"
|
|
|
S["HAVE_SZ_TRUE"]=""
|
|
|
S["HAS_MULTIFILTERS_FALSE"]="#"
|
|
|
S["HAS_MULTIFILTERS_TRUE"]=""
|
|
|
S["ENABLE_NCZARR_ZIP_FALSE"]=""
|
|
|
S["ENABLE_NCZARR_ZIP_TRUE"]="#"
|
|
|
S["ENABLE_NCZARR_S3_TESTS_FALSE"]=""
|
|
|
S["ENABLE_NCZARR_S3_TESTS_TRUE"]="#"
|
|
|
S["ENABLE_S3_SDK_FALSE"]=""
|
|
|
S["ENABLE_S3_SDK_TRUE"]="#"
|
|
|
S["ENABLE_S3_FALSE"]=""
|
|
|
S["ENABLE_S3_TRUE"]="#"
|
|
|
S["HAS_PAR_FILTERS_FALSE"]="#"
|
|
|
S["HAS_PAR_FILTERS_TRUE"]=""
|
|
|
S["RELAX_COORD_BOUND_FALSE"]="#"
|
|
|
S["RELAX_COORD_BOUND_TRUE"]=""
|
|
|
S["ENABLE_BYTERANGE_FALSE"]="#"
|
|
|
S["ENABLE_BYTERANGE_TRUE"]=""
|
|
|
S["ENABLE_METADATA_PERF_FALSE"]=""
|
|
|
S["ENABLE_METADATA_PERF_TRUE"]="#"
|
|
|
S["BUILD_MMAP_FALSE"]=""
|
|
|
S["BUILD_MMAP_TRUE"]="#"
|
|
|
S["USE_DISPATCH_FALSE"]=""
|
|
|
S["USE_DISPATCH_TRUE"]="#"
|
|
|
S["USE_PNETCDF_FALSE"]=""
|
|
|
S["USE_PNETCDF_TRUE"]="#"
|
|
|
S["BUILD_FORTRAN_FALSE"]=""
|
|
|
S["BUILD_FORTRAN_TRUE"]="#"
|
|
|
S["USE_RENAMEV3_FALSE"]="#"
|
|
|
S["USE_RENAMEV3_TRUE"]=""
|
|
|
S["USE_HDF4_FILE_TESTS_FALSE"]=""
|
|
|
S["USE_HDF4_FILE_TESTS_TRUE"]="#"
|
|
|
S["USE_HDF4_FALSE"]=""
|
|
|
S["USE_HDF4_TRUE"]="#"
|
|
|
S["USE_HDF5_FALSE"]="#"
|
|
|
S["USE_HDF5_TRUE"]=""
|
|
|
S["USE_NETCDF4_FALSE"]="#"
|
|
|
S["USE_NETCDF4_TRUE"]=""
|
|
|
S["CROSS_COMPILING_FALSE"]=""
|
|
|
S["CROSS_COMPILING_TRUE"]="#"
|
|
|
S["USE_LOGGING_FALSE"]=""
|
|
|
S["USE_LOGGING_TRUE"]="#"
|
|
|
S["USE_PNETCDF_DIR_FALSE"]=""
|
|
|
S["USE_PNETCDF_DIR_TRUE"]="#"
|
|
|
S["ENABLE_DAP_LONG_TESTS_FALSE"]=""
|
|
|
S["ENABLE_DAP_LONG_TESTS_TRUE"]="#"
|
|
|
S["ENABLE_DAP_AUTH_TESTS_FALSE"]=""
|
|
|
S["ENABLE_DAP_AUTH_TESTS_TRUE"]="#"
|
|
|
S["ENABLE_EXTERNAL_SERVER_TESTS_FALSE"]=""
|
|
|
S["ENABLE_EXTERNAL_SERVER_TESTS_TRUE"]="#"
|
|
|
S["ENABLE_DAP_REMOTE_TESTS_FALSE"]=""
|
|
|
S["ENABLE_DAP_REMOTE_TESTS_TRUE"]="#"
|
|
|
S["ENABLE_DAP4_FALSE"]="#"
|
|
|
S["ENABLE_DAP4_TRUE"]=""
|
|
|
S["ENABLE_DAP_FALSE"]="#"
|
|
|
S["ENABLE_DAP_TRUE"]=""
|
|
|
S["USE_DAP_FALSE"]="#"
|
|
|
S["USE_DAP_TRUE"]=""
|
|
|
S["BUILD_DAP_FALSE"]="#"
|
|
|
S["BUILD_DAP_TRUE"]=""
|
|
|
S["TEST_PARALLEL4_FALSE"]=""
|
|
|
S["TEST_PARALLEL4_TRUE"]="#"
|
|
|
S["BUILD_PARALLEL_FALSE"]=""
|
|
|
S["BUILD_PARALLEL_TRUE"]="#"
|
|
|
S["ENABLE_NCZARR_FILTERS_FALSE"]="#"
|
|
|
S["ENABLE_NCZARR_FILTERS_TRUE"]=""
|
|
|
S["ENABLE_FILTER_TESTING_FALSE"]="#"
|
|
|
S["ENABLE_FILTER_TESTING_TRUE"]=""
|
|
|
S["ENABLE_CLIENTSIDE_FILTERS_FALSE"]=""
|
|
|
S["ENABLE_CLIENTSIDE_FILTERS_TRUE"]="#"
|
|
|
S["M4FLAGS"]=""
|
|
|
S["CPP"]=""
|
|
|
S["ENABLE_PARALLEL_FALSE"]=""
|
|
|
S["ENABLE_PARALLEL_TRUE"]="#"
|
|
|
S["ENABLE_NCDUMPCHUNKS_FALSE"]="#"
|
|
|
S["ENABLE_NCDUMPCHUNKS_TRUE"]=""
|
|
|
S["ENABLE_CDF5_FALSE"]="#"
|
|
|
S["ENABLE_CDF5_TRUE"]=""
|
|
|
S["ISREGEDIT"]="yes"
|
|
|
S["REGEDIT_FALSE"]=""
|
|
|
S["REGEDIT_TRUE"]="#"
|
|
|
S["ISMSYS"]=""
|
|
|
S["ISMINGW"]=""
|
|
|
S["ISOSX"]=""
|
|
|
S["ISCYGWIN"]=""
|
|
|
S["WINVERBUILD"]="0"
|
|
|
S["WINVERMAJOR"]="0"
|
|
|
S["ISMSVC"]=""
|
|
|
S["ISMSYS_FALSE"]=""
|
|
|
S["ISMSYS_TRUE"]="#"
|
|
|
S["ISMINGW_FALSE"]=""
|
|
|
S["ISMINGW_TRUE"]="#"
|
|
|
S["ISOSX_FALSE"]=""
|
|
|
S["ISOSX_TRUE"]="#"
|
|
|
S["ISMSVC_FALSE"]=""
|
|
|
S["ISMSVC_TRUE"]="#"
|
|
|
S["ISCYGWIN_FALSE"]=""
|
|
|
S["ISCYGWIN_TRUE"]="#"
|
|
|
S["ALLOCA"]=""
|
|
|
S["USEPLUGINS"]="yes"
|
|
|
S["ENABLE_PLUGINS_FALSE"]="#"
|
|
|
S["ENABLE_PLUGINS_TRUE"]=""
|
|
|
S["HAVE_DOT"]="NO"
|
|
|
S["DOT"]="dot"
|
|
|
S["DOXYGEN"]=""
|
|
|
S["NC_M4"]="m4"
|
|
|
S["CXXCPP"]="g++ -E"
|
|
|
S["LT_SYS_LIBRARY_PATH"]=""
|
|
|
S["OTOOL64"]=""
|
|
|
S["OTOOL"]=""
|
|
|
S["LIPO"]=""
|
|
|
S["NMEDIT"]=""
|
|
|
S["DSYMUTIL"]=""
|
|
|
S["MANIFEST_TOOL"]=":"
|
|
|
S["RANLIB"]="ranlib"
|
|
|
S["ac_ct_AR"]="ar"
|
|
|
S["AR"]="ar"
|
|
|
S["DLLTOOL"]="false"
|
|
|
S["OBJDUMP"]="objdump"
|
|
|
S["FILECMD"]="file"
|
|
|
S["LN_S"]="ln -s"
|
|
|
S["NM"]="/usr/bin/nm -B"
|
|
|
S["ac_ct_DUMPBIN"]=""
|
|
|
S["DUMPBIN"]=""
|
|
|
S["LD"]="/usr/bin/ld -m elf_x86_64"
|
|
|
S["FGREP"]="/usr/bin/grep -F"
|
|
|
S["EGREP"]="/usr/bin/grep -E"
|
|
|
S["GREP"]="/usr/bin/grep"
|
|
|
S["SED"]="/usr/bin/sed"
|
|
|
S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool"
|
|
|
S["CC_VERSION"]="/usr/bin/gcc"
|
|
|
S["BUILD_BENCHMARKS_FALSE"]=""
|
|
|
S["BUILD_BENCHMARKS_TRUE"]="#"
|
|
|
S["LARGE_FILE_TESTS_FALSE"]=""
|
|
|
S["LARGE_FILE_TESTS_TRUE"]="#"
|
|
|
S["BUILD_TESTSETS_FALSE"]="#"
|
|
|
S["BUILD_TESTSETS_TRUE"]=""
|
|
|
S["BUILD_UTILITIES_FALSE"]="#"
|
|
|
S["BUILD_UTILITIES_TRUE"]=""
|
|
|
S["BUILD_V2_FALSE"]="#"
|
|
|
S["BUILD_V2_TRUE"]=""
|
|
|
S["BUILD_EXAMPLES_FALSE"]="#"
|
|
|
S["BUILD_EXAMPLES_TRUE"]=""
|
|
|
S["USE_STDIO_FALSE"]=""
|
|
|
S["USE_STDIO_TRUE"]="#"
|
|
|
S["USE_FFIO_FALSE"]=""
|
|
|
S["USE_FFIO_TRUE"]="#"
|
|
|
S["USE_STRICT_NULL_BYTE_HEADER_PADDING_FALSE"]=""
|
|
|
S["USE_STRICT_NULL_BYTE_HEADER_PADDING_TRUE"]="#"
|
|
|
S["am__fastdepCXX_FALSE"]="#"
|
|
|
S["am__fastdepCXX_TRUE"]=""
|
|
|
S["CXXDEPMODE"]="depmode=gcc3"
|
|
|
S["ac_ct_CXX"]="g++"
|
|
|
S["CXXFLAGS"]="-g -O2"
|
|
|
S["CXX"]="g++"
|
|
|
S["HAVE_LOCAL_BZ2_FALSE"]=""
|
|
|
S["HAVE_LOCAL_BZ2_TRUE"]="#"
|
|
|
S["ENABLE_NCZARR_FALSE"]="#"
|
|
|
S["ENABLE_NCZARR_TRUE"]=""
|
|
|
S["ENABLE_NCZARR"]=""
|
|
|
S["ENABLE_QUANTIZE_FALSE"]="#"
|
|
|
S["ENABLE_QUANTIZE_TRUE"]=""
|
|
|
S["XMLPARSER"]="libxml2"
|
|
|
S["ENABLE_LIBXML2_FALSE"]="#"
|
|
|
S["ENABLE_LIBXML2_TRUE"]=""
|
|
|
S["XML2FLAGS"]="-I/usr/include/libxml2"
|
|
|
S["NC_XML2_CONFIG"]="xml2-config"
|
|
|
S["MPIEXEC"]="mpiexec"
|
|
|
S["BUILD_UNIT_TESTS_FALSE"]="#"
|
|
|
S["BUILD_UNIT_TESTS_TRUE"]=""
|
|
|
S["ENABLED_DOC_SECTIONS"]=""
|
|
|
S["BUILD_INTERNAL_DOCS"]="no"
|
|
|
S["NC_ENABLE_DOXYGEN_PDF_OUTPUT"]=""
|
|
|
S["NC_ENABLE_DOXYGEN_PDF_OUTPUT_FALSE"]=""
|
|
|
S["NC_ENABLE_DOXYGEN_PDF_OUTPUT_TRUE"]="#"
|
|
|
S["DOXYGEN_SERVER_BASED_SEARCH"]="NO"
|
|
|
S["DOXYGEN_SEARCHENGINE"]="YES"
|
|
|
S["DOXYGEN_HEADER_FILE"]=""
|
|
|
S["DOXYGEN_CSS_FILE"]=""
|
|
|
S["DOXYGEN_BUILD_RELEASE_DOCS_FALSE"]=""
|
|
|
S["DOXYGEN_BUILD_RELEASE_DOCS_TRUE"]="#"
|
|
|
S["SHOW_DOXYGEN_TAG_LIST"]="no"
|
|
|
S["SHOW_DOXYGEN_TAG_LIST_FALSE"]=""
|
|
|
S["SHOW_DOXYGEN_TAG_LIST_TRUE"]="#"
|
|
|
S["BUILD_DOCS_FALSE"]=""
|
|
|
S["BUILD_DOCS_TRUE"]="#"
|
|
|
S["ENABLE_VALGRIND_FALSE"]=""
|
|
|
S["ENABLE_VALGRIND_TRUE"]="#"
|
|
|
S["VALGRIND_CHECK_RULES"]="\n"\
|
|
|
"# Valgrind check\n"\
|
|
|
"#\n"\
|
|
|
"# Optional:\n"\
|
|
|
"# - VALGRIND_SUPPRESSIONS_FILES: Space-separated list of Valgrind suppressions\n"\
|
|
|
"# files to load. (Default: empty)\n"\
|
|
|
"# - VALGRIND_FLAGS: General flags to pass to all Valgrind tools.\n"\
|
|
|
"# (Default: --num-callers=30)\n"\
|
|
|
"# - VALGRIND_$toolname_FLAGS: Flags to pass to Valgrind $toolname (one of:\n"\
|
|
|
"# memcheck, helgrind, drd, sgcheck). (Default: various)\n"\
|
|
|
"\n"\
|
|
|
"# Optional variables\n"\
|
|
|
"VALGRIND_SUPPRESSIONS ?= $(addprefix --suppressions=,$(VALGRIND_SUPPRESSIONS_FILES))\n"\
|
|
|
"VALGRIND_FLAGS ?= --num-callers=30\n"\
|
|
|
"VALGRIND_memcheck_FLAGS ?= --leak-check=full --show-reachable=no\n"\
|
|
|
"VALGRIND_helgrind_FLAGS ?= --history-level=approx\n"\
|
|
|
"VALGRIND_drd_FLAGS ?=\n"\
|
|
|
"VALGRIND_sgcheck_FLAGS ?=\n"\
|
|
|
"\n"\
|
|
|
"# Internal use\n"\
|
|
|
"valgrind_log_files = $(addprefix test-suite-,$(addsuffix .log,$(valgrind_tools)))\n"\
|
|
|
"\n"\
|
|
|
"valgrind_memcheck_flags = --tool=memcheck $(VALGRIND_memcheck_FLAGS)\n"\
|
|
|
"valgrind_helgrind_flags = --tool=helgrind $(VALGRIND_helgrind_FLAGS)\n"\
|
|
|
"valgrind_drd_flags = --tool=drd $(VALGRIND_drd_FLAGS)\n"\
|
|
|
"valgrind_sgcheck_flags = --tool=exp-sgcheck $(VALGRIND_sgcheck_FLAGS)\n"\
|
|
|
"\n"\
|
|
|
"valgrind_quiet = $(valgrind_quiet_$(V))\n"\
|
|
|
"valgrind_quiet_ = $(valgrind_quiet_$(AM_DEFAULT_VERBOSITY))\n"\
|
|
|
"valgrind_quiet_0 = --quiet\n"\
|
|
|
"valgrind_v_use = $(valgrind_v_use_$(V))\n"\
|
|
|
"valgrind_v_use_ = $(valgrind_v_use_$(AM_DEFAULT_VERBOSITY))\n"\
|
|
|
"valgrind_v_use_0 = @echo \" USE \" $(patsubst check-valgrind-%-am,%,$@):;\n"\
|
|
|
"\n"\
|
|
|
"# Support running with and without libtool.\n"\
|
|
|
"ifneq ($(LIBTOOL),)\n"\
|
|
|
"valgrind_lt = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=execute\n"\
|
|
|
"else\n"\
|
|
|
"valgrind_lt =\n"\
|
|
|
"endif\n"\
|
|
|
"\n"\
|
|
|
"# Use recursive makes in order to ignore errors during check\n"\
|
|
|
"check-valgrind-am:\n"\
|
|
|
"ifeq ($(VALGRIND_ENABLED),yes)\n"\
|
|
|
" $(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -k \\\n"\
|
|
|
" $(foreach tool, $(valgrind_enabled_tools), check-valgrind-$(tool))\n"\
|
|
|
"else\n"\
|
|
|
" @echo \"Need to reconfigure with --enable-valgrind\"\n"\
|
|
|
"endif\n"\
|
|
|
"\n"\
|
|
|
"# Valgrind running\n"\
|
|
|
"VALGRIND_TESTS_ENVIRONMENT = \\\n"\
|
|
|
" $(TESTS_ENVIRONMENT) \\\n"\
|
|
|
" env VALGRIND=$(VALGRIND) \\\n"\
|
|
|
" G_SLICE=always-malloc,debug-blocks \\\n"\
|
|
|
" G_DEBUG=fatal-warnings,fatal-criticals,gc-friendly\n"\
|
|
|
"\n"\
|
|
|
"VALGRIND_LOG_COMPILER = \\\n"\
|
|
|
" $(valgrind_lt) \\\n"\
|
|
|
" $(VALGRIND) $(VALGRIND_SUPPRESSIONS) --error-exitcode=1 $(VALGRIND_FLAGS)\n"\
|
|
|
"\n"\
|
|
|
"define valgrind_tool_rule\n"\
|
|
|
"check-valgrind-$(1)-am:\n"\
|
|
|
"ifeq ($$(VALGRIND_ENABLED)-$$(ENABLE_VALGRIND_$(1)),yes-yes)\n"\
|
|
|
"ifneq ($$(TESTS),)\n"\
|
|
|
" $$(valgrind_v_use)$$(MAKE) check-TESTS \\\n"\
|
|
|
" TESTS_ENVIRONMENT=\"$$(VALGRIND_TESTS_ENVIRONMENT)\" \\\n"\
|
|
|
" LOG_COMPILER=\"$$(VALGRIND_LOG_COMPILER)\" \\\n"\
|
|
|
" LOG_FLAGS=\"$$(valgrind_$(1)_flags)\" \\\n"\
|
|
|
" TEST_SUITE_LOG=test-suite-$(1).log\n"\
|
|
|
"endif\n"\
|
|
|
"else ifeq ($$(VALGRIND_ENABLED),yes)\n"\
|
|
|
" @echo \"Need to reconfigure with --enable-valgrind-$(1)\"\n"\
|
|
|
"else\n"\
|
|
|
" @echo \"Need to reconfigure with --enable-valgrind\"\n"\
|
|
|
"endif\n"\
|
|
|
"endef\n"\
|
|
|
"\n"\
|
|
|
"$(foreach tool,$(valgrind_tools),$(eval $(call valgrind_tool_rule,$(tool))))\n"\
|
|
|
"\n"\
|
|
|
"AM_DISTCHECK_CONFIGURE_FLAGS ?=\n"\
|
|
|
"AM_DISTCHECK_CONFIGURE_FLAGS += --disable-valgrind\n"\
|
|
|
"\n"\
|
|
|
"MOSTLYCLEANFILES ?=\n"\
|
|
|
"MOSTLYCLEANFILES += $(valgrind_log_files)\n"\
|
|
|
"\n"\
|
|
|
".PHONY: check-valgrind $(add-prefix check-valgrind-,$(valgrind_tools))\n"\
|
|
|
""
|
|
|
S["valgrind_enabled_tools"]=""
|
|
|
S["valgrind_tools"]="memcheck helgrind drd sgcheck"
|
|
|
S["ENABLE_VALGRIND_sgcheck"]="no"
|
|
|
S["ENABLE_VALGRIND_drd"]="no"
|
|
|
S["ENABLE_VALGRIND_helgrind"]="no"
|
|
|
S["ENABLE_VALGRIND_memcheck"]="no"
|
|
|
S["VALGRIND_ENABLED"]="no"
|
|
|
S["VALGRIND_ENABLED_FALSE"]=""
|
|
|
S["VALGRIND_ENABLED_TRUE"]="#"
|
|
|
S["VALGRIND"]=""
|
|
|
S["MAINT"]="#"
|
|
|
S["MAINTAINER_MODE_FALSE"]=""
|
|
|
S["MAINTAINER_MODE_TRUE"]="#"
|
|
|
S["AM_BACKSLASH"]="\\"
|
|
|
S["AM_DEFAULT_VERBOSITY"]="1"
|
|
|
S["AM_DEFAULT_V"]="$(AM_DEFAULT_VERBOSITY)"
|
|
|
S["AM_V"]="$(V)"
|
|
|
S["CSCOPE"]="cscope"
|
|
|
S["ETAGS"]="etags"
|
|
|
S["CTAGS"]="ctags"
|
|
|
S["am__fastdepCC_FALSE"]="#"
|
|
|
S["am__fastdepCC_TRUE"]=""
|
|
|
S["CCDEPMODE"]="depmode=gcc3"
|
|
|
S["am__nodep"]="_no"
|
|
|
S["AMDEPBACKSLASH"]="\\"
|
|
|
S["AMDEP_FALSE"]="#"
|
|
|
S["AMDEP_TRUE"]=""
|
|
|
S["am__include"]="include"
|
|
|
S["DEPDIR"]=".deps"
|
|
|
S["am__untar"]="$${TAR-tar} xf -"
|
|
|
S["am__tar"]="$${TAR-tar} chof - \"$$tardir\""
|
|
|
S["AMTAR"]="$${TAR-tar}"
|
|
|
S["am__leading_dot"]="."
|
|
|
S["SET_MAKE"]=""
|
|
|
S["AWK"]="gawk"
|
|
|
S["mkdir_p"]="$(MKDIR_P)"
|
|
|
S["MKDIR_P"]="/usr/bin/mkdir -p"
|
|
|
S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
|
|
|
S["STRIP"]="strip"
|
|
|
S["install_sh"]="${SHELL} /home/kjao/Documents/Code/LibraryTest/lib/clone/netcdf-c-4.9.2/install-sh"
|
|
|
S["MAKEINFO"]="${SHELL} '/home/kjao/Documents/Code/LibraryTest/lib/clone/netcdf-c-4.9.2/missing' makeinfo"
|
|
|
S["AUTOHEADER"]="${SHELL} '/home/kjao/Documents/Code/LibraryTest/lib/clone/netcdf-c-4.9.2/missing' autoheader"
|
|
|
S["AUTOMAKE"]="${SHELL} '/home/kjao/Documents/Code/LibraryTest/lib/clone/netcdf-c-4.9.2/missing' automake-1.16"
|
|
|
S["AUTOCONF"]="${SHELL} '/home/kjao/Documents/Code/LibraryTest/lib/clone/netcdf-c-4.9.2/missing' autoconf"
|
|
|
S["ACLOCAL"]="${SHELL} '/home/kjao/Documents/Code/LibraryTest/lib/clone/netcdf-c-4.9.2/missing' aclocal-1.16"
|
|
|
S["VERSION"]="4.9.2"
|
|
|
S["PACKAGE"]="netcdf-c"
|
|
|
S["CYGPATH_W"]="echo"
|
|
|
S["am__isrc"]=""
|
|
|
S["INSTALL_DATA"]="${INSTALL} -m 644"
|
|
|
S["INSTALL_SCRIPT"]="${INSTALL}"
|
|
|
S["INSTALL_PROGRAM"]="${INSTALL}"
|
|
|
S["OBJEXT"]="o"
|
|
|
S["EXEEXT"]=""
|
|
|
S["ac_ct_CC"]="gcc"
|
|
|
S["CPPFLAGS"]="-I/mnt/Storage/Documents/Code/LibraryTest/lib/hdf5-1.14.1/include -I/mnt/Storage/Documents/Code/LibraryTest/lib/zlib-1.2.13/include"
|
|
|
S["LDFLAGS"]="-L/mnt/Storage/Documents/Code/LibraryTest/lib/hdf5-1.14.1/lib -L/mnt/Storage/Documents/Code/LibraryTest/lib/zlib-1.2.13/lib"
|
|
|
S["CFLAGS"]=" -fno-strict-aliasing"
|
|
|
S["CC"]="gcc"
|
|
|
S["target_os"]="linux-gnu"
|
|
|
S["target_vendor"]="pc"
|
|
|
S["target_cpu"]="x86_64"
|
|
|
S["target"]="x86_64-pc-linux-gnu"
|
|
|
S["host_os"]="linux-gnu"
|
|
|
S["host_vendor"]="pc"
|
|
|
S["host_cpu"]="x86_64"
|
|
|
S["host"]="x86_64-pc-linux-gnu"
|
|
|
S["build_os"]="linux-gnu"
|
|
|
S["build_vendor"]="pc"
|
|
|
S["build_cpu"]="x86_64"
|
|
|
S["build"]="x86_64-pc-linux-gnu"
|
|
|
S["CONFIG_DATE"]="Thu Jun 15 00:26:09 CDT 2023"
|
|
|
S["netCDF_SO_VERSION"]="21:2:2"
|
|
|
S["NC_VERSION_NOTE"]=""
|
|
|
S["NC_VERSION_PATCH"]="2"
|
|
|
S["NC_VERSION_MINOR"]="9"
|
|
|
S["NC_VERSION_MAJOR"]="4"
|
|
|
S["target_alias"]=""
|
|
|
S["host_alias"]=""
|
|
|
S["build_alias"]=""
|
|
|
S["LIBS"]="-lhdf5_hl -lhdf5 -lm -lz -ldl -lsz -lbz2 -lxml2 -lcurl "
|
|
|
S["ECHO_T"]=""
|
|
|
S["ECHO_N"]="-n"
|
|
|
S["ECHO_C"]=""
|
|
|
S["DEFS"]="-DHAVE_CONFIG_H"
|
|
|
S["mandir"]="${datarootdir}/man"
|
|
|
S["localedir"]="${datarootdir}/locale"
|
|
|
S["libdir"]="${exec_prefix}/lib"
|
|
|
S["psdir"]="${docdir}"
|
|
|
S["pdfdir"]="${docdir}"
|
|
|
S["dvidir"]="${docdir}"
|
|
|
S["htmldir"]="${docdir}"
|
|
|
S["infodir"]="${datarootdir}/info"
|
|
|
S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
|
|
|
S["oldincludedir"]="/usr/include"
|
|
|
S["includedir"]="${prefix}/include"
|
|
|
S["runstatedir"]="${localstatedir}/run"
|
|
|
S["localstatedir"]="${prefix}/var"
|
|
|
S["sharedstatedir"]="${prefix}/com"
|
|
|
S["sysconfdir"]="${prefix}/etc"
|
|
|
S["datadir"]="${datarootdir}"
|
|
|
S["datarootdir"]="${prefix}/share"
|
|
|
S["libexecdir"]="${exec_prefix}/libexec"
|
|
|
S["sbindir"]="${exec_prefix}/sbin"
|
|
|
S["bindir"]="${exec_prefix}/bin"
|
|
|
S["program_transform_name"]="s,x,x,"
|
|
|
S["prefix"]="/mnt/Storage/Documents/Code/LibraryTest/lib/netcdf-c-4.9.2"
|
|
|
S["exec_prefix"]="${prefix}"
|
|
|
S["PACKAGE_URL"]=""
|
|
|
S["PACKAGE_BUGREPORT"]="support-netcdf@unidata.ucar.edu"
|
|
|
S["PACKAGE_STRING"]="netCDF 4.9.2"
|
|
|
S["PACKAGE_VERSION"]="4.9.2"
|
|
|
S["PACKAGE_TARNAME"]="netcdf-c"
|
|
|
S["PACKAGE_NAME"]="netCDF"
|
|
|
S["PATH_SEPARATOR"]=":"
|
|
|
S["SHELL"]="/bin/bash"
|
|
|
S["am__quote"]=""
|
|
|
_ACAWK
|
|
|
cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
|
|
|
for (key in S) S_is_set[key] = 1
|
|
|
FS = ""
|
|
|
|
|
|
}
|
|
|
{
|
|
|
line = $ 0
|
|
|
nfields = split(line, field, "@")
|
|
|
substed = 0
|
|
|
len = length(field[1])
|
|
|
for (i = 2; i < nfields; i++) {
|
|
|
key = field[i]
|
|
|
keylen = length(key)
|
|
|
if (S_is_set[key]) {
|
|
|
value = S[key]
|
|
|
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
|
|
len += length(value) + length(field[++i])
|
|
|
substed = 1
|
|
|
} else
|
|
|
len += 1 + keylen
|
|
|
}
|
|
|
|
|
|
print line
|
|
|
}
|
|
|
|
|
|
_ACAWK
|
|
|
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
|
|
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
|
|
else
|
|
|
cat
|
|
|
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
|
|
|
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
|
|
|
fi # test -n "$CONFIG_FILES"
|
|
|
|
|
|
# Set up the scripts for CONFIG_HEADERS section.
|
|
|
# No need to generate them if there are no CONFIG_HEADERS.
|
|
|
# This happens for instance with `./config.status Makefile'.
|
|
|
if test -n "$CONFIG_HEADERS"; then
|
|
|
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
|
|
|
BEGIN {
|
|
|
D["PACKAGE_NAME"]=" \"netCDF\""
|
|
|
D["PACKAGE_TARNAME"]=" \"netcdf-c\""
|
|
|
D["PACKAGE_VERSION"]=" \"4.9.2\""
|
|
|
D["PACKAGE_STRING"]=" \"netCDF 4.9.2\""
|
|
|
D["PACKAGE_BUGREPORT"]=" \"support-netcdf@unidata.ucar.edu\""
|
|
|
D["PACKAGE_URL"]=" \"\""
|
|
|
D["PACKAGE"]=" \"netcdf-c\""
|
|
|
D["VERSION"]=" \"4.9.2\""
|
|
|
D["WINVERMAJOR"]=" 0"
|
|
|
D["WINVERBUILD"]=" 0"
|
|
|
D["NCIO_MINBLOCKSIZE"]=" 256"
|
|
|
D["DEFAULT_CHUNK_SIZE"]=" 4194304"
|
|
|
D["MAX_DEFAULT_CACHE_SIZE"]=" 67108864"
|
|
|
D["DEFAULT_CHUNKS_IN_CACHE"]=" 10"
|
|
|
D["CHUNK_CACHE_SIZE"]=" 16777216"
|
|
|
D["CHUNK_CACHE_NELEMS"]=" 4133"
|
|
|
D["CHUNK_CACHE_PREEMPTION"]=" 0.75"
|
|
|
D["ENABLE_SET_LOG_LEVEL"]=" 1"
|
|
|
D["HAVE_CURLOPT_USERNAME"]=" 1"
|
|
|
D["HAVE_CURLOPT_PASSWORD"]=" 1"
|
|
|
D["HAVE_CURLOPT_KEYPASSWD"]=" 1"
|
|
|
D["HAVE_CURLINFO_RESPONSE_CODE"]=" 1"
|
|
|
D["HAVE_CURLOPT_BUFFERSIZE"]=" 1"
|
|
|
D["HAVE_CURLOPT_KEEPALIVE"]=" 1"
|
|
|
D["HAVE_LIBXML2"]=" 1"
|
|
|
D["ENABLE_QUANTIZE"]=" 1"
|
|
|
D["REMOTETESTSERVERS"]=" \"remotetest.unidata.ucar.edu\""
|
|
|
D["USE_DAP"]=" 1"
|
|
|
D["ENABLE_DAP"]=" 1"
|
|
|
D["ENABLE_NCZARR"]=" 1"
|
|
|
D["HAVE_BZ2"]=" 1"
|
|
|
D["HAVE_SZ"]=" 1"
|
|
|
D["CHUNK_CACHE_SIZE_NCZARR"]=" 4194304"
|
|
|
D["HAS_MULTIFILTERS"]=" 1"
|
|
|
D["USE_NETCDF_2"]=" 1"
|
|
|
D["USE_EXTREME_NUMBERS"]=" 1"
|
|
|
D["TEMP_LARGE"]=" \".\""
|
|
|
D["NCPROPERTIES_EXTRA"]=" \"\""
|
|
|
D["HAVE_DLFCN_H"]=" 1"
|
|
|
D["LT_OBJDIR"]=" \".libs/\""
|
|
|
D["HAVE_SYS_PARAM_H"]=" 1"
|
|
|
D["HAVE_LIBGEN_H"]=" 1"
|
|
|
D["HAVE_LOCALE_H"]=" 1"
|
|
|
D["HAVE_STDIO_H"]=" 1"
|
|
|
D["HAVE_STDARG_H"]=" 1"
|
|
|
D["HAVE_FCNTL_H"]=" 1"
|
|
|
D["HAVE_MALLOC_H"]=" 1"
|
|
|
D["HAVE_STDLIB_H"]=" 1"
|
|
|
D["HAVE_STRING_H"]=" 1"
|
|
|
D["HAVE_STRINGS_H"]=" 1"
|
|
|
D["HAVE_UNISTD_H"]=" 1"
|
|
|
D["HAVE_SYS_STAT_H"]=" 1"
|
|
|
D["HAVE_GETOPT_H"]=" 1"
|
|
|
D["HAVE_SYS_TIME_H"]=" 1"
|
|
|
D["HAVE_SYS_TYPES_H"]=" 1"
|
|
|
D["HAVE_TIME_H"]=" 1"
|
|
|
D["HAVE_DIRENT_H"]=" 1"
|
|
|
D["HAVE_STDINT_H"]=" 1"
|
|
|
D["HAVE_CTYPE_H"]=" 1"
|
|
|
D["HAVE_SYS_RESOURCE_H"]=" 1"
|
|
|
D["HAVE_FTW_H"]=" 1"
|
|
|
D["HAVE_EXECINFO_H"]=" 1"
|
|
|
D["HAVE_SNPRINTF"]=" 1"
|
|
|
D["HAVE_STRCASECMP"]=" 1"
|
|
|
D["HAVE_FILENO"]=" 1"
|
|
|
D["HAVE_STRDUP"]=" 1"
|
|
|
D["HAVE_STRTOLL"]=" 1"
|
|
|
D["HAVE_STRTOULL"]=" 1"
|
|
|
D["HAVE_MKSTEMP"]=" 1"
|
|
|
D["HAVE_MKTEMP"]=" 1"
|
|
|
D["HAVE_RANDOM"]=" 1"
|
|
|
D["HAVE_GETRLIMIT"]=" 1"
|
|
|
D["HAVE_GETTIMEOFDAY"]=" 1"
|
|
|
D["HAVE_FSYNC"]=" 1"
|
|
|
D["HAVE_STRNCASECMP"]=" 1"
|
|
|
D["HAVE_CLOCK_GETTIME"]=" 1"
|
|
|
D["HAVE_STRUCT_TIMESPEC"]=" 1"
|
|
|
D["ENABLE_DAP4"]=" 1"
|
|
|
D["HAVE_MEMMOVE"]=" 1"
|
|
|
D["HAVE_GETPAGESIZE"]=" 1"
|
|
|
D["HAVE_SYSCONF"]=" 1"
|
|
|
D["HAVE_MMAP"]=" 1"
|
|
|
D["HAVE_MREMAP"]=" 1"
|
|
|
D["ENABLE_BYTERANGE"]=" 1"
|
|
|
D["HAVE_ATEXIT"]=" 1"
|
|
|
D["ENABLE_ATEXIT_FINALIZE"]=" 1"
|
|
|
D["ENABLE_PLUGINS"]=" 1"
|
|
|
D["HAVE_ALLOCA_H"]=" 1"
|
|
|
D["HAVE_ALLOCA"]=" 1"
|
|
|
D["HAVE_DECL_ISNAN"]=" 1"
|
|
|
D["HAVE_DECL_ISINF"]=" 1"
|
|
|
D["HAVE_DECL_ISFINITE"]=" 1"
|
|
|
D["HAVE_STRUCT_STAT_ST_BLKSIZE"]=" 1"
|
|
|
D["HAVE_ST_BLKSIZE"]=" 1"
|
|
|
D["HAVE_SIZE_T"]=" 1"
|
|
|
D["HAVE_SSIZE_T"]=" 1"
|
|
|
D["HAVE_USHORT"]=" 1"
|
|
|
D["HAVE_UINT"]=" 1"
|
|
|
D["HAVE_UINT64_T"]=" 1"
|
|
|
D["HAVE_PTRDIFF_T"]=" 1"
|
|
|
D["HAVE_UINTPTR_T"]=" 1"
|
|
|
D["SIZEOF_SHORT"]=" 2"
|
|
|
D["SIZEOF_INT"]=" 4"
|
|
|
D["SIZEOF_LONG"]=" 8"
|
|
|
D["SIZEOF_LONG_LONG"]=" 8"
|
|
|
D["SIZEOF_FLOAT"]=" 4"
|
|
|
D["SIZEOF_DOUBLE"]=" 8"
|
|
|
D["SIZEOF_OFF_T"]=" 8"
|
|
|
D["SIZEOF_SIZE_T"]=" 8"
|
|
|
D["SIZEOF_UNSIGNED_LONG_LONG"]=" 8"
|
|
|
D["ENABLE_CDF5"]=" 1"
|
|
|
D["SIZEOF_UNSIGNED_CHAR"]=" 1"
|
|
|
D["SIZEOF_USHORT"]=" 2"
|
|
|
D["SIZEOF_UINT"]=" 4"
|
|
|
D["SIZEOF_USHORT"]=" 2"
|
|
|
D["SIZEOF_UINT"]=" 4"
|
|
|
D["SIZEOF_SSIZE_T"]=" 8"
|
|
|
D["SIZEOF_VOIDP"]=" 8"
|
|
|
D["HAVE_LIBM"]=" 1"
|
|
|
D["USE_NETCDF4"]=" 1"
|
|
|
D["USE_HDF5"]=" 1"
|
|
|
D["H5_USE_16_API"]=" 1"
|
|
|
D["HAVE_HDF5_H"]=" 1"
|
|
|
D["HAVE_H5PSET_DEFLATE"]=" 1"
|
|
|
D["HDF5_SUPPORTS_PAR_FILTERS"]=" 1"
|
|
|
D["HDF5_UTF8_PATHS"]=" 1"
|
|
|
D["ENABLE_NCZARR_FILTERS"]=" 1"
|
|
|
D["HAVE_UNSIGNED_LONG_LONG_INT"]=" 1"
|
|
|
D["HAVE_LONG_LONG_INT"]=" 1"
|
|
|
D["HAVE_UNSIGNED_LONG_LONG_INT"]=" 1"
|
|
|
D["NC_DISPATCH_VERSION"]=" 5"
|
|
|
for (key in D) D_is_set[key] = 1
|
|
|
FS = ""
|
|
|
}
|
|
|
/^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
|
|
|
line = $ 0
|
|
|
split(line, arg, " ")
|
|
|
if (arg[1] == "#") {
|
|
|
defundef = arg[2]
|
|
|
mac1 = arg[3]
|
|
|
} else {
|
|
|
defundef = substr(arg[1], 2)
|
|
|
mac1 = arg[2]
|
|
|
}
|
|
|
split(mac1, mac2, "(") #)
|
|
|
macro = mac2[1]
|
|
|
prefix = substr(line, 1, index(line, defundef) - 1)
|
|
|
if (D_is_set[macro]) {
|
|
|
# Preserve the white space surrounding the "#".
|
|
|
print prefix "define", macro P[macro] D[macro]
|
|
|
next
|
|
|
} else {
|
|
|
# Replace #undef with comments. This is necessary, for example,
|
|
|
# in the case of _POSIX_SOURCE, which is predefined and required
|
|
|
# on some systems where configure will not decide to define it.
|
|
|
if (defundef == "undef") {
|
|
|
print "/*", prefix defundef, macro, "*/"
|
|
|
next
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
{ print }
|
|
|
_ACAWK
|
|
|
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
|
|
|
fi # test -n "$CONFIG_HEADERS"
|
|
|
|
|
|
|
|
|
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
|
|
|
shift
|
|
|
for ac_tag
|
|
|
do
|
|
|
case $ac_tag in
|
|
|
:[FHLC]) ac_mode=$ac_tag; continue;;
|
|
|
esac
|
|
|
case $ac_mode$ac_tag in
|
|
|
:[FHL]*:*);;
|
|
|
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
|
|
|
:[FH]-) ac_tag=-:-;;
|
|
|
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
|
|
esac
|
|
|
ac_save_IFS=$IFS
|
|
|
IFS=:
|
|
|
set x $ac_tag
|
|
|
IFS=$ac_save_IFS
|
|
|
shift
|
|
|
ac_file=$1
|
|
|
shift
|
|
|
|
|
|
case $ac_mode in
|
|
|
:L) ac_source=$1;;
|
|
|
:[FH])
|
|
|
ac_file_inputs=
|
|
|
for ac_f
|
|
|
do
|
|
|
case $ac_f in
|
|
|
-) ac_f="$ac_tmp/stdin";;
|
|
|
*) # Look for the file first in the build tree, then in the source tree
|
|
|
# (if the path is not absolute). The absolute path cannot be DOS-style,
|
|
|
# because $ac_f cannot contain `:'.
|
|
|
test -f "$ac_f" ||
|
|
|
case $ac_f in
|
|
|
[\\/$]*) false;;
|
|
|
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
|
|
esac ||
|
|
|
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
|
|
esac
|
|
|
case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
|
|
as_fn_append ac_file_inputs " '$ac_f'"
|
|
|
done
|
|
|
|
|
|
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
|
|
# use $as_me), people would be surprised to read:
|
|
|
# /* config.h. Generated by config.status. */
|
|
|
configure_input='Generated from '`
|
|
|
printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
|
|
`' by configure.'
|
|
|
if test x"$ac_file" != x-; then
|
|
|
configure_input="$ac_file. $configure_input"
|
|
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
|
|
printf "%s\n" "$as_me: creating $ac_file" >&6;}
|
|
|
fi
|
|
|
# Neutralize special characters interpreted by sed in replacement strings.
|
|
|
case $configure_input in #(
|
|
|
*\&* | *\|* | *\\* )
|
|
|
ac_sed_conf_input=`printf "%s\n" "$configure_input" |
|
|
|
sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
|
|
*) ac_sed_conf_input=$configure_input;;
|
|
|
esac
|
|
|
|
|
|
case $ac_tag in
|
|
|
*:-:* | *:-) cat >"$ac_tmp/stdin" \
|
|
|
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
|
|
|
esac
|
|
|
;;
|
|
|
esac
|
|
|
|
|
|
ac_dir=`$as_dirname -- "$ac_file" ||
|
|
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
|
X"$ac_file" : 'X\(//\)[^/]' \| \
|
|
|
X"$ac_file" : 'X\(//\)$' \| \
|
|
|
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
|
|
printf "%s\n" X"$ac_file" |
|
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
|
s//\1/
|
|
|
q
|
|
|
}
|
|
|
/^X\(\/\/\)[^/].*/{
|
|
|
s//\1/
|
|
|
q
|
|
|
}
|
|
|
/^X\(\/\/\)$/{
|
|
|
s//\1/
|
|
|
q
|
|
|
}
|
|
|
/^X\(\/\).*/{
|
|
|
s//\1/
|
|
|
q
|
|
|
}
|
|
|
s/.*/./; q'`
|
|
|
as_dir="$ac_dir"; as_fn_mkdir_p
|
|
|
ac_builddir=.
|
|
|
|
|
|
case "$ac_dir" in
|
|
|
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
|
*)
|
|
|
ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
|
|
|
# A ".." for each directory in $ac_dir_suffix.
|
|
|
ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
|
|
case $ac_top_builddir_sub in
|
|
|
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
|
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|
|
esac ;;
|
|
|
esac
|
|
|
ac_abs_top_builddir=$ac_pwd
|
|
|
ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
|
|
# for backward compatibility:
|
|
|
ac_top_builddir=$ac_top_build_prefix
|
|
|
|
|
|
case $srcdir in
|
|
|
.) # We are building in place.
|
|
|
ac_srcdir=.
|
|
|
ac_top_srcdir=$ac_top_builddir_sub
|
|
|
ac_abs_top_srcdir=$ac_pwd ;;
|
|
|
[\\/]* | ?:[\\/]* ) # Absolute name.
|
|
|
ac_srcdir=$srcdir$ac_dir_suffix;
|
|
|
ac_top_srcdir=$srcdir
|
|
|
ac_abs_top_srcdir=$srcdir ;;
|
|
|
*) # Relative name.
|
|
|
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
|
|
ac_top_srcdir=$ac_top_build_prefix$srcdir
|
|
|
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
|
|
esac
|
|
|
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
|
|
|
|
|
|
|
|
case $ac_mode in
|
|
|
:F)
|
|
|
#
|
|
|
# CONFIG_FILE
|
|
|
#
|
|
|
|
|
|
case $INSTALL in
|
|
|
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
|
|
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
|
|
esac
|
|
|
ac_MKDIR_P=$MKDIR_P
|
|
|
case $MKDIR_P in
|
|
|
[\\/$]* | ?:[\\/]* ) ;;
|
|
|
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
|
|
|
esac
|
|
|
# If the template does not know about datarootdir, expand it.
|
|
|
# FIXME: This hack should be removed a few years after 2.60.
|
|
|
ac_datarootdir_hack=; ac_datarootdir_seen=
|
|
|
ac_sed_dataroot='
|
|
|
/datarootdir/ {
|
|
|
p
|
|
|
q
|
|
|
}
|
|
|
/@datadir@/p
|
|
|
/@docdir@/p
|
|
|
/@infodir@/p
|
|
|
/@localedir@/p
|
|
|
/@mandir@/p'
|
|
|
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
|
|
*datarootdir*) ac_datarootdir_seen=yes;;
|
|
|
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
|
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
|
|
printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
|
|
ac_datarootdir_hack='
|
|
|
s&@datadir@&${datarootdir}&g
|
|
|
s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
|
|
|
s&@infodir@&${datarootdir}/info&g
|
|
|
s&@localedir@&${datarootdir}/locale&g
|
|
|
s&@mandir@&${datarootdir}/man&g
|
|
|
s&\${datarootdir}&${prefix}/share&g' ;;
|
|
|
esac
|
|
|
ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{
|
|
|
h
|
|
|
s///
|
|
|
s/^/:/
|
|
|
s/[ ]*$/:/
|
|
|
s/:\$(srcdir):/:/g
|
|
|
s/:\${srcdir}:/:/g
|
|
|
s/:@srcdir@:/:/g
|
|
|
s/^:*//
|
|
|
s/:*$//
|
|
|
x
|
|
|
s/\(=[ ]*\).*/\1/
|
|
|
G
|
|
|
s/\n//
|
|
|
s/^[^=]*=[ ]*$//
|
|
|
}
|
|
|
|
|
|
:t
|
|
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
|
|
s|@configure_input@|$ac_sed_conf_input|;t t
|
|
|
s&@top_builddir@&$ac_top_builddir_sub&;t t
|
|
|
s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
|
|
s&@srcdir@&$ac_srcdir&;t t
|
|
|
s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
|
|
s&@top_srcdir@&$ac_top_srcdir&;t t
|
|
|
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
|
|
s&@builddir@&$ac_builddir&;t t
|
|
|
s&@abs_builddir@&$ac_abs_builddir&;t t
|
|
|
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
|
|
s&@INSTALL@&$ac_INSTALL&;t t
|
|
|
s&@MKDIR_P@&$ac_MKDIR_P&;t t
|
|
|
$ac_datarootdir_hack
|
|
|
"
|
|
|
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
|
|
|
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
|
|
|
|
|
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
|
|
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
|
|
|
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
|
|
|
"$ac_tmp/out"`; test -z "$ac_out"; } &&
|
|
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
|
which seems to be undefined. Please make sure it is defined" >&5
|
|
|
printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
|
which seems to be undefined. Please make sure it is defined" >&2;}
|
|
|
|
|
|
rm -f "$ac_tmp/stdin"
|
|
|
case $ac_file in
|
|
|
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
|
|
|
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
|
|
|
esac \
|
|
|
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
|
|
;;
|
|
|
:H)
|
|
|
#
|
|
|
# CONFIG_HEADER
|
|
|
#
|
|
|
if test x"$ac_file" != x-; then
|
|
|
{
|
|
|
printf "%s\n" "/* $configure_input */" >&1 \
|
|
|
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
|
|
|
} >"$ac_tmp/config.h" \
|
|
|
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
|
|
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
|
|
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
|
|
printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
|
|
|
else
|
|
|
rm -f "$ac_file"
|
|
|
mv "$ac_tmp/config.h" "$ac_file" \
|
|
|
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
|
|
fi
|
|
|
else
|
|
|
printf "%s\n" "/* $configure_input */" >&1 \
|
|
|
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
|
|
|
|| as_fn_error $? "could not create -" "$LINENO" 5
|
|
|
fi
|
|
|
# Compute "$ac_file"'s index in $config_headers.
|
|
|
_am_arg="$ac_file"
|
|
|
_am_stamp_count=1
|
|
|
for _am_header in $config_headers :; do
|
|
|
case $_am_header in
|
|
|
$_am_arg | $_am_arg:* )
|
|
|
break ;;
|
|
|
* )
|
|
|
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
|
|
|
esac
|
|
|
done
|
|
|
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
|
|
|
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
|
X"$_am_arg" : 'X\(//\)[^/]' \| \
|
|
|
X"$_am_arg" : 'X\(//\)$' \| \
|
|
|
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
|
|
|
printf "%s\n" X"$_am_arg" |
|
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
|
s//\1/
|
|
|
q
|
|
|
}
|
|
|
/^X\(\/\/\)[^/].*/{
|
|
|
s//\1/
|
|
|
q
|
|
|
}
|
|
|
/^X\(\/\/\)$/{
|
|
|
s//\1/
|
|
|
q
|
|
|
}
|
|
|
/^X\(\/\).*/{
|
|
|
s//\1/
|
|
|
q
|
|
|
}
|
|
|
s/.*/./; q'`/stamp-h$_am_stamp_count
|
|
|
;;
|
|
|
:L)
|
|
|
#
|
|
|
# CONFIG_LINK
|
|
|
#
|
|
|
|
|
|
if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
|
|
|
:
|
|
|
else
|
|
|
# Prefer the file from the source tree if names are identical.
|
|
|
if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
|
|
|
ac_source=$srcdir/$ac_source
|
|
|
fi
|
|
|
|
|
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
|
|
|
printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
|
|
|
|
|
|
if test ! -r "$ac_source"; then
|
|
|
as_fn_error $? "$ac_source: file not found" "$LINENO" 5
|
|
|
fi
|
|
|
rm -f "$ac_file"
|
|
|
|
|
|
# Try a relative symlink, then a hard link, then a copy.
|
|
|
case $ac_source in
|
|
|
[\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
|
|
|
*) ac_rel_source=$ac_top_build_prefix$ac_source ;;
|
|
|
esac
|
|
|
ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
|
|
|
ln "$ac_source" "$ac_file" 2>/dev/null ||
|
|
|
cp -p "$ac_source" "$ac_file" ||
|
|
|
as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
|
|
|
fi
|
|
|
;;
|
|
|
:C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
|
|
|
printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
|
|
|
;;
|
|
|
esac
|
|
|
|
|
|
|
|
|
case $ac_file$ac_mode in
|
|
|
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
|
|
|
# Older Autoconf quotes --file arguments for eval, but not when files
|
|
|
# are listed without --file. Let's play safe and only enable the eval
|
|
|
# if we detect the quoting.
|
|
|
# TODO: see whether this extra hack can be removed once we start
|
|
|
# requiring Autoconf 2.70 or later.
|
|
|
case $CONFIG_FILES in #(
|
|
|
*\'*) :
|
|
|
eval set x "$CONFIG_FILES" ;; #(
|
|
|
*) :
|
|
|
set x $CONFIG_FILES ;; #(
|
|
|
*) :
|
|
|
;;
|
|
|
esac
|
|
|
shift
|
|
|
# Used to flag and report bootstrapping failures.
|
|
|
am_rc=0
|
|
|
for am_mf
|
|
|
do
|
|
|
# Strip MF so we end up with the name of the file.
|
|
|
am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
|
|
|
# Check whether this is an Automake generated Makefile which includes
|
|
|
# dependency-tracking related rules and includes.
|
|
|
# Grep'ing the whole file directly is not great: AIX grep has a line
|
|
|
# limit of 2048, but all sed's we know have understand at least 4000.
|
|
|
sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
|
|
|
|| continue
|
|
|
am_dirpart=`$as_dirname -- "$am_mf" ||
|
|
|
$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
|
X"$am_mf" : 'X\(//\)[^/]' \| \
|
|
|
X"$am_mf" : 'X\(//\)$' \| \
|
|
|
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
|
|
|
printf "%s\n" X"$am_mf" |
|
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
|
s//\1/
|
|
|
q
|
|
|
}
|
|
|
/^X\(\/\/\)[^/].*/{
|
|
|
s//\1/
|
|
|
q
|
|
|
}
|
|
|
/^X\(\/\/\)$/{
|
|
|
s//\1/
|
|
|
q
|
|
|
}
|
|
|
/^X\(\/\).*/{
|
|
|
s//\1/
|
|
|
q
|
|
|
}
|
|
|
s/.*/./; q'`
|
|
|
am_filepart=`$as_basename -- "$am_mf" ||
|
|
|
$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
|
|
|
X"$am_mf" : 'X\(//\)$' \| \
|
|
|
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
|
|
|
printf "%s\n" X/"$am_mf" |
|
|
|
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
|
|
s//\1/
|
|
|
q
|
|
|
}
|
|
|
/^X\/\(\/\/\)$/{
|
|
|
s//\1/
|
|
|
q
|
|
|
}
|
|
|
/^X\/\(\/\).*/{
|
|
|
s//\1/
|
|
|
q
|
|
|
}
|
|
|
s/.*/./; q'`
|
|
|
{ echo "$as_me:$LINENO: cd "$am_dirpart" \
|
|
|
&& sed -e '/# am--include-marker/d' "$am_filepart" \
|
|
|
| $MAKE -f - am--depfiles" >&5
|
|
|
(cd "$am_dirpart" \
|
|
|
&& sed -e '/# am--include-marker/d' "$am_filepart" \
|
|
|
| $MAKE -f - am--depfiles) >&5 2>&5
|
|
|
ac_status=$?
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
(exit $ac_status); } || am_rc=$?
|
|
|
done
|
|
|
if test $am_rc -ne 0; then
|
|
|
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
|
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
|
as_fn_error $? "Something went wrong bootstrapping makefile fragments
|
|
|
for automatic dependency tracking. If GNU make was not used, consider
|
|
|
re-running the configure script with MAKE=\"gmake\" (or whatever is
|
|
|
necessary). You can also try re-running configure with the
|
|
|
'--disable-dependency-tracking' option to at least be able to build
|
|
|
the package (albeit without support for automatic dependency tracking).
|
|
|
See \`config.log' for more details" "$LINENO" 5; }
|
|
|
fi
|
|
|
{ am_dirpart=; unset am_dirpart;}
|
|
|
{ am_filepart=; unset am_filepart;}
|
|
|
{ am_mf=; unset am_mf;}
|
|
|
{ am_rc=; unset am_rc;}
|
|
|
rm -f conftest-deps.mk
|
|
|
}
|
|
|
;;
|
|
|
"libtool":C)
|
|
|
|
|
|
# See if we are running on zsh, and set the options that allow our
|
|
|
# commands through without removal of \ escapes.
|
|
|
if test -n "${ZSH_VERSION+set}"; then
|
|
|
setopt NO_GLOB_SUBST
|
|
|
fi
|
|
|
|
|
|
cfgfile=${ofile}T
|
|
|
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
|
|
|
$RM "$cfgfile"
|
|
|
|
|
|
cat <<_LT_EOF >> "$cfgfile"
|
|
|
#! $SHELL
|
|
|
# Generated automatically by $as_me ($PACKAGE) $VERSION
|
|
|
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
|
|
|
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
|
|
|
|
|
|
# Provide generalized library-building support services.
|
|
|
# Written by Gordon Matzigkeit, 1996
|
|
|
|
|
|
# Copyright (C) 2014 Free Software Foundation, Inc.
|
|
|
# This is free software; see the source for copying conditions. There is NO
|
|
|
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
|
|
# GNU Libtool is free software; you can redistribute it and/or modify
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
# the Free Software Foundation; either version 2 of of the License, or
|
|
|
# (at your option) any later version.
|
|
|
#
|
|
|
# As a special exception to the GNU General Public License, if you
|
|
|
# distribute this file as part of a program or library that is built
|
|
|
# using GNU Libtool, you may include this file under the same
|
|
|
# distribution terms that you use for the rest of that program.
|
|
|
#
|
|
|
# GNU Libtool is distributed in the hope that it will be useful, but
|
|
|
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
# GNU General Public License for more details.
|
|
|
#
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
# The names of the tagged configurations supported by this script.
|
|
|
available_tags='CXX '
|
|
|
|
|
|
# Configured defaults for sys_lib_dlsearch_path munging.
|
|
|
: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
|
|
|
|
|
|
# ### BEGIN LIBTOOL CONFIG
|
|
|
|
|
|
# Which release of libtool.m4 was used?
|
|
|
macro_version=$macro_version
|
|
|
macro_revision=$macro_revision
|
|
|
|
|
|
# Whether or not to build shared libraries.
|
|
|
build_libtool_libs=$enable_shared
|
|
|
|
|
|
# Whether or not to build static libraries.
|
|
|
build_old_libs=$enable_static
|
|
|
|
|
|
# What type of objects to build.
|
|
|
pic_mode=$pic_mode
|
|
|
|
|
|
# Whether or not to optimize for fast installation.
|
|
|
fast_install=$enable_fast_install
|
|
|
|
|
|
# Shared archive member basename,for filename based shared library versioning on AIX.
|
|
|
shared_archive_member_spec=$shared_archive_member_spec
|
|
|
|
|
|
# Shell to use when invoking shell scripts.
|
|
|
SHELL=$lt_SHELL
|
|
|
|
|
|
# An echo program that protects backslashes.
|
|
|
ECHO=$lt_ECHO
|
|
|
|
|
|
# The PATH separator for the build system.
|
|
|
PATH_SEPARATOR=$lt_PATH_SEPARATOR
|
|
|
|
|
|
# The host system.
|
|
|
host_alias=$host_alias
|
|
|
host=$host
|
|
|
host_os=$host_os
|
|
|
|
|
|
# The build system.
|
|
|
build_alias=$build_alias
|
|
|
build=$build
|
|
|
build_os=$build_os
|
|
|
|
|
|
# A sed program that does not truncate output.
|
|
|
SED=$lt_SED
|
|
|
|
|
|
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
|
|
|
Xsed="\$SED -e 1s/^X//"
|
|
|
|
|
|
# A grep program that handles long lines.
|
|
|
GREP=$lt_GREP
|
|
|
|
|
|
# An ERE matcher.
|
|
|
EGREP=$lt_EGREP
|
|
|
|
|
|
# A literal string matcher.
|
|
|
FGREP=$lt_FGREP
|
|
|
|
|
|
# A BSD- or MS-compatible name lister.
|
|
|
NM=$lt_NM
|
|
|
|
|
|
# Whether we need soft or hard links.
|
|
|
LN_S=$lt_LN_S
|
|
|
|
|
|
# What is the maximum length of a command?
|
|
|
max_cmd_len=$max_cmd_len
|
|
|
|
|
|
# Object file suffix (normally "o").
|
|
|
objext=$ac_objext
|
|
|
|
|
|
# Executable file suffix (normally "").
|
|
|
exeext=$exeext
|
|
|
|
|
|
# whether the shell understands "unset".
|
|
|
lt_unset=$lt_unset
|
|
|
|
|
|
# turn spaces into newlines.
|
|
|
SP2NL=$lt_lt_SP2NL
|
|
|
|
|
|
# turn newlines into spaces.
|
|
|
NL2SP=$lt_lt_NL2SP
|
|
|
|
|
|
# convert \$build file names to \$host format.
|
|
|
to_host_file_cmd=$lt_cv_to_host_file_cmd
|
|
|
|
|
|
# convert \$build files to toolchain format.
|
|
|
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
|
|
|
|
|
|
# A file(cmd) program that detects file types.
|
|
|
FILECMD=$lt_FILECMD
|
|
|
|
|
|
# An object symbol dumper.
|
|
|
OBJDUMP=$lt_OBJDUMP
|
|
|
|
|
|
# Method to check whether dependent libraries are shared objects.
|
|
|
deplibs_check_method=$lt_deplibs_check_method
|
|
|
|
|
|
# Command to use when deplibs_check_method = "file_magic".
|
|
|
file_magic_cmd=$lt_file_magic_cmd
|
|
|
|
|
|
# How to find potential files when deplibs_check_method = "file_magic".
|
|
|
file_magic_glob=$lt_file_magic_glob
|
|
|
|
|
|
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
|
|
|
want_nocaseglob=$lt_want_nocaseglob
|
|
|
|
|
|
# DLL creation program.
|
|
|
DLLTOOL=$lt_DLLTOOL
|
|
|
|
|
|
# Command to associate shared and link libraries.
|
|
|
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
|
|
|
|
|
|
# The archiver.
|
|
|
AR=$lt_AR
|
|
|
|
|
|
# Flags to create an archive (by configure).
|
|
|
lt_ar_flags=$lt_ar_flags
|
|
|
|
|
|
# Flags to create an archive.
|
|
|
AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
|
|
|
|
|
|
# How to feed a file listing to the archiver.
|
|
|
archiver_list_spec=$lt_archiver_list_spec
|
|
|
|
|
|
# A symbol stripping program.
|
|
|
STRIP=$lt_STRIP
|
|
|
|
|
|
# Commands used to install an old-style archive.
|
|
|
RANLIB=$lt_RANLIB
|
|
|
old_postinstall_cmds=$lt_old_postinstall_cmds
|
|
|
old_postuninstall_cmds=$lt_old_postuninstall_cmds
|
|
|
|
|
|
# Whether to use a lock for old archive extraction.
|
|
|
lock_old_archive_extraction=$lock_old_archive_extraction
|
|
|
|
|
|
# A C compiler.
|
|
|
LTCC=$lt_CC
|
|
|
|
|
|
# LTCC compiler flags.
|
|
|
LTCFLAGS=$lt_CFLAGS
|
|
|
|
|
|
# Take the output of nm and produce a listing of raw symbols and C names.
|
|
|
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
|
|
|
|
|
|
# Transform the output of nm in a proper C declaration.
|
|
|
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
|
|
|
|
|
|
# Transform the output of nm into a list of symbols to manually relocate.
|
|
|
global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
|
|
|
|
|
|
# Transform the output of nm in a C name address pair.
|
|
|
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
|
|
|
|
|
|
# Transform the output of nm in a C name address pair when lib prefix is needed.
|
|
|
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
|
|
|
|
|
|
# The name lister interface.
|
|
|
nm_interface=$lt_lt_cv_nm_interface
|
|
|
|
|
|
# Specify filename containing input files for \$NM.
|
|
|
nm_file_list_spec=$lt_nm_file_list_spec
|
|
|
|
|
|
# The root where to search for dependent libraries,and where our libraries should be installed.
|
|
|
lt_sysroot=$lt_sysroot
|
|
|
|
|
|
# Command to truncate a binary pipe.
|
|
|
lt_truncate_bin=$lt_lt_cv_truncate_bin
|
|
|
|
|
|
# The name of the directory that contains temporary libtool files.
|
|
|
objdir=$objdir
|
|
|
|
|
|
# Used to examine libraries when file_magic_cmd begins with "file".
|
|
|
MAGIC_CMD=$MAGIC_CMD
|
|
|
|
|
|
# Must we lock files when doing compilation?
|
|
|
need_locks=$lt_need_locks
|
|
|
|
|
|
# Manifest tool.
|
|
|
MANIFEST_TOOL=$lt_MANIFEST_TOOL
|
|
|
|
|
|
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
|
|
|
DSYMUTIL=$lt_DSYMUTIL
|
|
|
|
|
|
# Tool to change global to local symbols on Mac OS X.
|
|
|
NMEDIT=$lt_NMEDIT
|
|
|
|
|
|
# Tool to manipulate fat objects and archives on Mac OS X.
|
|
|
LIPO=$lt_LIPO
|
|
|
|
|
|
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
|
|
|
OTOOL=$lt_OTOOL
|
|
|
|
|
|
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
|
|
|
OTOOL64=$lt_OTOOL64
|
|
|
|
|
|
# Old archive suffix (normally "a").
|
|
|
libext=$libext
|
|
|
|
|
|
# Shared library suffix (normally ".so").
|
|
|
shrext_cmds=$lt_shrext_cmds
|
|
|
|
|
|
# The commands to extract the exported symbol list from a shared archive.
|
|
|
extract_expsyms_cmds=$lt_extract_expsyms_cmds
|
|
|
|
|
|
# Variables whose values should be saved in libtool wrapper scripts and
|
|
|
# restored at link time.
|
|
|
variables_saved_for_relink=$lt_variables_saved_for_relink
|
|
|
|
|
|
# Do we need the "lib" prefix for modules?
|
|
|
need_lib_prefix=$need_lib_prefix
|
|
|
|
|
|
# Do we need a version for libraries?
|
|
|
need_version=$need_version
|
|
|
|
|
|
# Library versioning type.
|
|
|
version_type=$version_type
|
|
|
|
|
|
# Shared library runtime path variable.
|
|
|
runpath_var=$runpath_var
|
|
|
|
|
|
# Shared library path variable.
|
|
|
shlibpath_var=$shlibpath_var
|
|
|
|
|
|
# Is shlibpath searched before the hard-coded library search path?
|
|
|
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
|
|
|
|
|
|
# Format of library name prefix.
|
|
|
libname_spec=$lt_libname_spec
|
|
|
|
|
|
# List of archive names. First name is the real one, the rest are links.
|
|
|
# The last name is the one that the linker finds with -lNAME
|
|
|
library_names_spec=$lt_library_names_spec
|
|
|
|
|
|
# The coded name of the library, if different from the real name.
|
|
|
soname_spec=$lt_soname_spec
|
|
|
|
|
|
# Permission mode override for installation of shared libraries.
|
|
|
install_override_mode=$lt_install_override_mode
|
|
|
|
|
|
# Command to use after installation of a shared archive.
|
|
|
postinstall_cmds=$lt_postinstall_cmds
|
|
|
|
|
|
# Command to use after uninstallation of a shared archive.
|
|
|
postuninstall_cmds=$lt_postuninstall_cmds
|
|
|
|
|
|
# Commands used to finish a libtool library installation in a directory.
|
|
|
finish_cmds=$lt_finish_cmds
|
|
|
|
|
|
# As "finish_cmds", except a single script fragment to be evaled but
|
|
|
# not shown.
|
|
|
finish_eval=$lt_finish_eval
|
|
|
|
|
|
# Whether we should hardcode library paths into libraries.
|
|
|
hardcode_into_libs=$hardcode_into_libs
|
|
|
|
|
|
# Compile-time system search path for libraries.
|
|
|
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
|
|
|
|
|
|
# Detected run-time system search path for libraries.
|
|
|
sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
|
|
|
|
|
|
# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
|
|
|
configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
|
|
|
|
|
|
# Whether dlopen is supported.
|
|
|
dlopen_support=$enable_dlopen
|
|
|
|
|
|
# Whether dlopen of programs is supported.
|
|
|
dlopen_self=$enable_dlopen_self
|
|
|
|
|
|
# Whether dlopen of statically linked programs is supported.
|
|
|
dlopen_self_static=$enable_dlopen_self_static
|
|
|
|
|
|
# Commands to strip libraries.
|
|
|
old_striplib=$lt_old_striplib
|
|
|
striplib=$lt_striplib
|
|
|
|
|
|
|
|
|
# The linker used to build libraries.
|
|
|
LD=$lt_LD
|
|
|
|
|
|
# How to create reloadable object files.
|
|
|
reload_flag=$lt_reload_flag
|
|
|
reload_cmds=$lt_reload_cmds
|
|
|
|
|
|
# Commands used to build an old-style archive.
|
|
|
old_archive_cmds=$lt_old_archive_cmds
|
|
|
|
|
|
# A language specific compiler.
|
|
|
CC=$lt_compiler
|
|
|
|
|
|
# Is the compiler the GNU compiler?
|
|
|
with_gcc=$GCC
|
|
|
|
|
|
# Compiler flag to turn off builtin functions.
|
|
|
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
|
|
|
|
|
|
# Additional compiler flags for building library objects.
|
|
|
pic_flag=$lt_lt_prog_compiler_pic
|
|
|
|
|
|
# How to pass a linker flag through the compiler.
|
|
|
wl=$lt_lt_prog_compiler_wl
|
|
|
|
|
|
# Compiler flag to prevent dynamic linking.
|
|
|
link_static_flag=$lt_lt_prog_compiler_static
|
|
|
|
|
|
# Does compiler simultaneously support -c and -o options?
|
|
|
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
|
|
|
|
|
|
# Whether or not to add -lc for building shared libraries.
|
|
|
build_libtool_need_lc=$archive_cmds_need_lc
|
|
|
|
|
|
# Whether or not to disallow shared libs when runtime libs are static.
|
|
|
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
|
|
|
|
|
|
# Compiler flag to allow reflexive dlopens.
|
|
|
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
|
|
|
|
|
|
# Compiler flag to generate shared objects directly from archives.
|
|
|
whole_archive_flag_spec=$lt_whole_archive_flag_spec
|
|
|
|
|
|
# Whether the compiler copes with passing no objects directly.
|
|
|
compiler_needs_object=$lt_compiler_needs_object
|
|
|
|
|
|
# Create an old-style archive from a shared archive.
|
|
|
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
|
|
|
|
|
|
# Create a temporary old-style archive to link instead of a shared archive.
|
|
|
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
|
|
|
|
|
|
# Commands used to build a shared archive.
|
|
|
archive_cmds=$lt_archive_cmds
|
|
|
archive_expsym_cmds=$lt_archive_expsym_cmds
|
|
|
|
|
|
# Commands used to build a loadable module if different from building
|
|
|
# a shared archive.
|
|
|
module_cmds=$lt_module_cmds
|
|
|
module_expsym_cmds=$lt_module_expsym_cmds
|
|
|
|
|
|
# Whether we are building with GNU ld or not.
|
|
|
with_gnu_ld=$lt_with_gnu_ld
|
|
|
|
|
|
# Flag that allows shared libraries with undefined symbols to be built.
|
|
|
allow_undefined_flag=$lt_allow_undefined_flag
|
|
|
|
|
|
# Flag that enforces no undefined symbols.
|
|
|
no_undefined_flag=$lt_no_undefined_flag
|
|
|
|
|
|
# Flag to hardcode \$libdir into a binary during linking.
|
|
|
# This must work even if \$libdir does not exist
|
|
|
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
|
|
|
|
|
|
# Whether we need a single "-rpath" flag with a separated argument.
|
|
|
hardcode_libdir_separator=$lt_hardcode_libdir_separator
|
|
|
|
|
|
# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
|
|
|
# DIR into the resulting binary.
|
|
|
hardcode_direct=$hardcode_direct
|
|
|
|
|
|
# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
|
|
|
# DIR into the resulting binary and the resulting library dependency is
|
|
|
# "absolute",i.e impossible to change by setting \$shlibpath_var if the
|
|
|
# library is relocated.
|
|
|
hardcode_direct_absolute=$hardcode_direct_absolute
|
|
|
|
|
|
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
|
|
|
# into the resulting binary.
|
|
|
hardcode_minus_L=$hardcode_minus_L
|
|
|
|
|
|
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
|
|
|
# into the resulting binary.
|
|
|
hardcode_shlibpath_var=$hardcode_shlibpath_var
|
|
|
|
|
|
# Set to "yes" if building a shared library automatically hardcodes DIR
|
|
|
# into the library and all subsequent libraries and executables linked
|
|
|
# against it.
|
|
|
hardcode_automatic=$hardcode_automatic
|
|
|
|
|
|
# Set to yes if linker adds runtime paths of dependent libraries
|
|
|
# to runtime path list.
|
|
|
inherit_rpath=$inherit_rpath
|
|
|
|
|
|
# Whether libtool must link a program against all its dependency libraries.
|
|
|
link_all_deplibs=$link_all_deplibs
|
|
|
|
|
|
# Set to "yes" if exported symbols are required.
|
|
|
always_export_symbols=$always_export_symbols
|
|
|
|
|
|
# The commands to list exported symbols.
|
|
|
export_symbols_cmds=$lt_export_symbols_cmds
|
|
|
|
|
|
# Symbols that should not be listed in the preloaded symbols.
|
|
|
exclude_expsyms=$lt_exclude_expsyms
|
|
|
|
|
|
# Symbols that must always be exported.
|
|
|
include_expsyms=$lt_include_expsyms
|
|
|
|
|
|
# Commands necessary for linking programs (against libraries) with templates.
|
|
|
prelink_cmds=$lt_prelink_cmds
|
|
|
|
|
|
# Commands necessary for finishing linking programs.
|
|
|
postlink_cmds=$lt_postlink_cmds
|
|
|
|
|
|
# Specify filename containing input files.
|
|
|
file_list_spec=$lt_file_list_spec
|
|
|
|
|
|
# How to hardcode a shared library path into an executable.
|
|
|
hardcode_action=$hardcode_action
|
|
|
|
|
|
# The directories searched by this compiler when creating a shared library.
|
|
|
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
|
|
|
|
|
|
# Dependencies to place before and after the objects being linked to
|
|
|
# create a shared library.
|
|
|
predep_objects=$lt_predep_objects
|
|
|
postdep_objects=$lt_postdep_objects
|
|
|
predeps=$lt_predeps
|
|
|
postdeps=$lt_postdeps
|
|
|
|
|
|
# The library search path used internally by the compiler when linking
|
|
|
# a shared library.
|
|
|
compiler_lib_search_path=$lt_compiler_lib_search_path
|
|
|
|
|
|
# ### END LIBTOOL CONFIG
|
|
|
|
|
|
_LT_EOF
|
|
|
|
|
|
cat <<'_LT_EOF' >> "$cfgfile"
|
|
|
|
|
|
# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
|
|
|
|
|
|
# func_munge_path_list VARIABLE PATH
|
|
|
# -----------------------------------
|
|
|
# VARIABLE is name of variable containing _space_ separated list of
|
|
|
# directories to be munged by the contents of PATH, which is string
|
|
|
# having a format:
|
|
|
# "DIR[:DIR]:"
|
|
|
# string "DIR[ DIR]" will be prepended to VARIABLE
|
|
|
# ":DIR[:DIR]"
|
|
|
# string "DIR[ DIR]" will be appended to VARIABLE
|
|
|
# "DIRP[:DIRP]::[DIRA:]DIRA"
|
|
|
# string "DIRP[ DIRP]" will be prepended to VARIABLE and string
|
|
|
# "DIRA[ DIRA]" will be appended to VARIABLE
|
|
|
# "DIR[:DIR]"
|
|
|
# VARIABLE will be replaced by "DIR[ DIR]"
|
|
|
func_munge_path_list ()
|
|
|
{
|
|
|
case x$2 in
|
|
|
x)
|
|
|
;;
|
|
|
*:)
|
|
|
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
|
|
|
;;
|
|
|
x:*)
|
|
|
eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
|
|
|
;;
|
|
|
*::*)
|
|
|
eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
|
|
|
eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
|
|
|
;;
|
|
|
*)
|
|
|
eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
|
|
|
;;
|
|
|
esac
|
|
|
}
|
|
|
|
|
|
|
|
|
# Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
|
|
|
func_cc_basename ()
|
|
|
{
|
|
|
for cc_temp in $*""; do
|
|
|
case $cc_temp in
|
|
|
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
|
|
|
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
|
|
|
\-*) ;;
|
|
|
*) break;;
|
|
|
esac
|
|
|
done
|
|
|
func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
|
|
|
}
|
|
|
|
|
|
|
|
|
# ### END FUNCTIONS SHARED WITH CONFIGURE
|
|
|
|
|
|
_LT_EOF
|
|
|
|
|
|
case $host_os in
|
|
|
aix3*)
|
|
|
cat <<\_LT_EOF >> "$cfgfile"
|
|
|
# AIX sometimes has problems with the GCC collect2 program. For some
|
|
|
# reason, if we set the COLLECT_NAMES environment variable, the problems
|
|
|
# vanish in a puff of smoke.
|
|
|
if test set != "${COLLECT_NAMES+set}"; then
|
|
|
COLLECT_NAMES=
|
|
|
export COLLECT_NAMES
|
|
|
fi
|
|
|
_LT_EOF
|
|
|
;;
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
|
|
ltmain=$ac_aux_dir/ltmain.sh
|
|
|
|
|
|
|
|
|
# We use sed instead of cat because bash on DJGPP gets confused if
|
|
|
# if finds mixed CR/LF and LF-only lines. Since sed operates in
|
|
|
# text mode, it properly converts lines to CR/LF. This bash problem
|
|
|
# is reportedly fixed, but why not run on old versions too?
|
|
|
$SED '$q' "$ltmain" >> "$cfgfile" \
|
|
|
|| (rm -f "$cfgfile"; exit 1)
|
|
|
|
|
|
mv -f "$cfgfile" "$ofile" ||
|
|
|
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
|
|
|
chmod +x "$ofile"
|
|
|
|
|
|
|
|
|
cat <<_LT_EOF >> "$ofile"
|
|
|
|
|
|
# ### BEGIN LIBTOOL TAG CONFIG: CXX
|
|
|
|
|
|
# The linker used to build libraries.
|
|
|
LD=$lt_LD_CXX
|
|
|
|
|
|
# How to create reloadable object files.
|
|
|
reload_flag=$lt_reload_flag_CXX
|
|
|
reload_cmds=$lt_reload_cmds_CXX
|
|
|
|
|
|
# Commands used to build an old-style archive.
|
|
|
old_archive_cmds=$lt_old_archive_cmds_CXX
|
|
|
|
|
|
# A language specific compiler.
|
|
|
CC=$lt_compiler_CXX
|
|
|
|
|
|
# Is the compiler the GNU compiler?
|
|
|
with_gcc=$GCC_CXX
|
|
|
|
|
|
# Compiler flag to turn off builtin functions.
|
|
|
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
|
|
|
|
|
|
# Additional compiler flags for building library objects.
|
|
|
pic_flag=$lt_lt_prog_compiler_pic_CXX
|
|
|
|
|
|
# How to pass a linker flag through the compiler.
|
|
|
wl=$lt_lt_prog_compiler_wl_CXX
|
|
|
|
|
|
# Compiler flag to prevent dynamic linking.
|
|
|
link_static_flag=$lt_lt_prog_compiler_static_CXX
|
|
|
|
|
|
# Does compiler simultaneously support -c and -o options?
|
|
|
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
|
|
|
|
|
|
# Whether or not to add -lc for building shared libraries.
|
|
|
build_libtool_need_lc=$archive_cmds_need_lc_CXX
|
|
|
|
|
|
# Whether or not to disallow shared libs when runtime libs are static.
|
|
|
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
|
|
|
|
|
|
# Compiler flag to allow reflexive dlopens.
|
|
|
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
|
|
|
|
|
|
# Compiler flag to generate shared objects directly from archives.
|
|
|
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
|
|
|
|
|
|
# Whether the compiler copes with passing no objects directly.
|
|
|
compiler_needs_object=$lt_compiler_needs_object_CXX
|
|
|
|
|
|
# Create an old-style archive from a shared archive.
|
|
|
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
|
|
|
|
|
|
# Create a temporary old-style archive to link instead of a shared archive.
|
|
|
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
|
|
|
|
|
|
# Commands used to build a shared archive.
|
|
|
archive_cmds=$lt_archive_cmds_CXX
|
|
|
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
|
|
|
|
|
|
# Commands used to build a loadable module if different from building
|
|
|
# a shared archive.
|
|
|
module_cmds=$lt_module_cmds_CXX
|
|
|
module_expsym_cmds=$lt_module_expsym_cmds_CXX
|
|
|
|
|
|
# Whether we are building with GNU ld or not.
|
|
|
with_gnu_ld=$lt_with_gnu_ld_CXX
|
|
|
|
|
|
# Flag that allows shared libraries with undefined symbols to be built.
|
|
|
allow_undefined_flag=$lt_allow_undefined_flag_CXX
|
|
|
|
|
|
# Flag that enforces no undefined symbols.
|
|
|
no_undefined_flag=$lt_no_undefined_flag_CXX
|
|
|
|
|
|
# Flag to hardcode \$libdir into a binary during linking.
|
|
|
# This must work even if \$libdir does not exist
|
|
|
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
|
|
|
|
|
|
# Whether we need a single "-rpath" flag with a separated argument.
|
|
|
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
|
|
|
|
|
|
# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
|
|
|
# DIR into the resulting binary.
|
|
|
hardcode_direct=$hardcode_direct_CXX
|
|
|
|
|
|
# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
|
|
|
# DIR into the resulting binary and the resulting library dependency is
|
|
|
# "absolute",i.e impossible to change by setting \$shlibpath_var if the
|
|
|
# library is relocated.
|
|
|
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
|
|
|
|
|
|
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
|
|
|
# into the resulting binary.
|
|
|
hardcode_minus_L=$hardcode_minus_L_CXX
|
|
|
|
|
|
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
|
|
|
# into the resulting binary.
|
|
|
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
|
|
|
|
|
|
# Set to "yes" if building a shared library automatically hardcodes DIR
|
|
|
# into the library and all subsequent libraries and executables linked
|
|
|
# against it.
|
|
|
hardcode_automatic=$hardcode_automatic_CXX
|
|
|
|
|
|
# Set to yes if linker adds runtime paths of dependent libraries
|
|
|
# to runtime path list.
|
|
|
inherit_rpath=$inherit_rpath_CXX
|
|
|
|
|
|
# Whether libtool must link a program against all its dependency libraries.
|
|
|
link_all_deplibs=$link_all_deplibs_CXX
|
|
|
|
|
|
# Set to "yes" if exported symbols are required.
|
|
|
always_export_symbols=$always_export_symbols_CXX
|
|
|
|
|
|
# The commands to list exported symbols.
|
|
|
export_symbols_cmds=$lt_export_symbols_cmds_CXX
|
|
|
|
|
|
# Symbols that should not be listed in the preloaded symbols.
|
|
|
exclude_expsyms=$lt_exclude_expsyms_CXX
|
|
|
|
|
|
# Symbols that must always be exported.
|
|
|
include_expsyms=$lt_include_expsyms_CXX
|
|
|
|
|
|
# Commands necessary for linking programs (against libraries) with templates.
|
|
|
prelink_cmds=$lt_prelink_cmds_CXX
|
|
|
|
|
|
# Commands necessary for finishing linking programs.
|
|
|
postlink_cmds=$lt_postlink_cmds_CXX
|
|
|
|
|
|
# Specify filename containing input files.
|
|
|
file_list_spec=$lt_file_list_spec_CXX
|
|
|
|
|
|
# How to hardcode a shared library path into an executable.
|
|
|
hardcode_action=$hardcode_action_CXX
|
|
|
|
|
|
# The directories searched by this compiler when creating a shared library.
|
|
|
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
|
|
|
|
|
|
# Dependencies to place before and after the objects being linked to
|
|
|
# create a shared library.
|
|
|
predep_objects=$lt_predep_objects_CXX
|
|
|
postdep_objects=$lt_postdep_objects_CXX
|
|
|
predeps=$lt_predeps_CXX
|
|
|
postdeps=$lt_postdeps_CXX
|
|
|
|
|
|
# The library search path used internally by the compiler when linking
|
|
|
# a shared library.
|
|
|
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
|
|
|
|
|
|
# ### END LIBTOOL TAG CONFIG: CXX
|
|
|
_LT_EOF
|
|
|
|
|
|
;;
|
|
|
"nc_test/run_pnetcdf_tests.sh":F) chmod ugo+x nc_test/run_pnetcdf_tests.sh ;;
|
|
|
"h5_test/run_par_tests.sh":F) chmod ugo+x h5_test/run_par_tests.sh ;;
|
|
|
"nc_test4/run_par_test.sh":F) chmod ugo+x nc_test4/run_par_test.sh ;;
|
|
|
"nc_perf/run_par_bm_test.sh":F) chmod ugo+x nc_perf/run_par_bm_test.sh ;;
|
|
|
"nc_perf/run_gfs_test.sh":F) chmod ugo+x nc_perf/run_gfs_test.sh ;;
|
|
|
"examples/C/run_par_test.sh":F) chmod ugo+x examples/C/run_par_test.sh ;;
|
|
|
"nc-config":F) chmod 755 nc-config ;;
|
|
|
|
|
|
esac
|
|
|
done # for ac_tag
|
|
|
|
|
|
|
|
|
as_fn_exit 0
|
|
|
|