diff options
author | eschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2014-04-19 11:01:12 +0000 |
---|---|---|
committer | eschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2014-04-19 11:01:12 +0000 |
commit | c403f2c1810cf1553d047303e09f5c7ccc0ba7df (patch) | |
tree | a032ed862f88020d99c9ee66fd16e674f6b51c34 | |
parent | 568c2e3b24c630b01e0f3d4c62a536756c1fc561 (diff) |
Drop explicit support for Fortran 77 in Cactus
This patch drops explicit support for Fortran 77 in Cactus. Fortran 77
is, for all practical purposes, a subset of Fortran 90, and thus
Fortran 77 code can be compiled by Fortran 90 compilers.
There is currently no platform that has a Fortran 77 and no Fortran 90
compiler, and there is no Fortran source code in Cactus that cannot be
compiled by a Fortran 90 compiler.
This patch removes/ignores all configuration options regarding Fortran
77, and compiles .f77 and .F77 files with a Fortran 90 compiler. This
simplifies the configuration stage of Cactus.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@5108 17b73243-c579-4c4c-a9d2-2d5706c11dac
-rw-r--r-- | doc/UsersGuide.pdf | bin | 718198 -> 717550 bytes | |||
-rw-r--r-- | doc/UsersGuide/Appendices.tex | 4 | ||||
-rw-r--r-- | doc/UsersGuide/ApplicationThorns.tex | 32 | ||||
-rw-r--r-- | doc/UsersGuide/Notes.tex | 40 | ||||
-rwxr-xr-x | lib/make/configure | 932 | ||||
-rw-r--r-- | lib/make/configure.in | 86 | ||||
-rw-r--r-- | lib/make/force-reconfigure | 1 |
7 files changed, 505 insertions, 590 deletions
diff --git a/doc/UsersGuide.pdf b/doc/UsersGuide.pdf Binary files differindex 733d239c..0ec09e8a 100644 --- a/doc/UsersGuide.pdf +++ b/doc/UsersGuide.pdf diff --git a/doc/UsersGuide/Appendices.tex b/doc/UsersGuide/Appendices.tex index 126c65a8..37722b1c 100644 --- a/doc/UsersGuide/Appendices.tex +++ b/doc/UsersGuide/Appendices.tex @@ -57,8 +57,8 @@ http://en.wikipedia.org/wiki/Cactus \item[configuration] The combination of a set of thorns, and all the Cactus configure options which affect what binary will be produced when compiling - Cactus. For example, the choice of compilers (Cactus \verb|CC|, \verb|CUCC|, - \verb|CXX|, \verb|F77|, and \verb|F90| configure options) and the + Cactus. For example, the choice of compilers (Cactus \verb|CC|, + \verb|CXX|, \verb|CUCC|, and \verb|F90| configure options) and the compiler optimization settings (\verb|OPTIMISE|/\verb|OPTIMIZE| and \verb|*_OPTIMISE_FLAGS| configure options) are part of a configuration (these flags change what binary is produced), but the diff --git a/doc/UsersGuide/ApplicationThorns.tex b/doc/UsersGuide/ApplicationThorns.tex index 0b21bd77..48dcc93a 100644 --- a/doc/UsersGuide/ApplicationThorns.tex +++ b/doc/UsersGuide/ApplicationThorns.tex @@ -770,18 +770,16 @@ The following extensions are understood: \begin{center} \begin{tabular}{|l|c|c|c|} \hline -Extension & Language & Format & Preprocess \\ +Extension & Language & Preprocess \\ \hline -{\t .c} & C & - & yes \\ -{\t .cc} or {\t .C} & C++ & - & yes \\ -{\t .cl} & OpenCL & - & yes \\ -{\t .cu} & CUDA & - & yes \\ -{\t .F77} & Fortran 77 & fixed & yes \\ -{\t .f77} & Fortran 77 & fixed & no \\ -{\t .F} & Fortran 90 & fixed & yes \\ -{\t .f} & Fortran 90 & fixed & no \\ -{\t .F90} & Fortran 90 & free & yes \\ -{\t .f90} & Fortran 90 & free & no \\ +{\t .c} & C & yes \\ +{\t .cc} or {\t .C} & C++ & yes \\ +{\t .cl} & OpenCL & yes \\ +{\t .cu} & CUDA & yes \\ +{\t .F} or {\t .F77} & Fortran (fixed-format) & yes \\ +{\t .f} or {\t .f77} & Fortran (fixed-format) & no \\ +{\t .F90} & Fortran (free-format) & yes \\ +{\t .f90} & Fortran (free-format) & no \\ \hline \end{tabular} \end{center} @@ -790,7 +788,7 @@ In order to use Cactus \texttt{\#include} directives in a file, it must be preprocessed. A complete description of Fortran fixed and free format can be found in any -textbook on Fortran 90. The most obvious differences are that in fixed +textbook on Fortran. The most obvious differences are that in fixed format, code must begin after the 5th column and line continuations are indicated by a character in column 5, while in free format, lines can begin anywhere, and line continuations are indicated by an ampersand at the end of @@ -802,7 +800,7 @@ The following restrictions apply to file names: \item For portability across all operating systems, the base names for any particular extension should not depend on the operating system being case sensitive (e.g.\ having \texttt{MyFile.c} and - \texttt{MYFILE.f77} is allright, but \texttt{MyFile.c} and + \texttt{MYFILE.f} is allright, but \texttt{MyFile.c} and \texttt{MYFILE.c} could cause problems). \item Currently, all source files within a thorn must have distinct names, regardless of whether they are placed in different subdirectories. We hope @@ -889,15 +887,13 @@ and has a working directory of \item \texttt{CC}: The C compiler \item \texttt{CXX}: The C++ compiler \item \texttt{CUCC}: The CUDA compiler -\item \texttt{F77}: The Fortran 77 compiler. This is only used if - there is no Fortran 90 compiler -\item \texttt{F90}: The Fortran 90 compiler. If this variable is - set, it is also used to compile Fortran 77 files +\item \texttt{F90}: The Fortran compiler +\item \texttt{F77}: Same as \texttt{F90} \item \texttt{CFLAGS}: Flags which are passed to \texttt{CC} \item \texttt{CXXFLAGS}: Flags which are passed to \texttt{CXX} \item \texttt{CUCCFLAGS}: Flags which are passed to \texttt{CUDA} -\item \texttt{F77FLAGS}: Flags which are passed to \texttt{F77} \item \texttt{F90FLAGS}: Flags which are passed to \texttt{F90} +\item \texttt{F77FLAGS}: Same as \texttt{F90FLAGS} \item \texttt{LD}: The binder. This should not be directly \texttt{ld}, but should be a compiler driver such as C++. Often, \texttt{LD} is the same as \texttt{CXX} diff --git a/doc/UsersGuide/Notes.tex b/doc/UsersGuide/Notes.tex index 7cb14c7e..4778c3e8 100644 --- a/doc/UsersGuide/Notes.tex +++ b/doc/UsersGuide/Notes.tex @@ -80,7 +80,7 @@ If you are using any thorns containing routines written in CUDA (Compute Unified Device Architecture), a parallel computing architecture developed by NVIDIA, you also need \begin{Lentry} -\item[CUCC] CUDA compiler. For example, the NVIDIA C compiler. In many +\item[CUCC] a CUDA compiler. For example, the NVIDIA C compiler. In many cases, you can compile your C and C++ code with a CUDA compiler without encountering any problems, but you are advised to use a CUDA compiler exclusively for CUDA code. @@ -90,10 +90,7 @@ for CUDA code. If you are using any thorns containing routines written in Fortran you also need \begin{Lentry} -\item[F90/F77] For routines written in Fortran 77, either a Fortran 90 or - a Fortran 77 compiler can be used. For routines written in Fortran 90, - a Fortran 90 compiler is obviously required. There is a very limited set of - free Fortran 90 compilers available for the different architectures. +\item[F90] a Fortran compiler. \end{Lentry} \noindent @@ -282,10 +279,10 @@ by * may be specified on the command line. \begin{Lentry} \item [\texttt{CC}] * The C compiler. -\item [\texttt{CUCC}] * The CUDA compiler. \item [\texttt{CXX}] The C++ compiler. -\item [\texttt{F90}] * The Fortran 90 compiler. -\item [\texttt{F77}] * The Fortran 77 compiler. +\item [\texttt{CUCC}] * The CUDA compiler. +\item [\texttt{F90}] * The Fortran compiler. +\item [\texttt{F77}] * Ignored \item [\texttt{CPP}] The preprocessor used to generate dependencies for and to preprocess C and C++ code. \item [\texttt{FPP}] The preprocessor used to generate dependencies @@ -320,10 +317,10 @@ Flags for the CUDA compiler. Flags for the C++ compiler. \item [\texttt{F90FLAGS}] -* Flags for the Fortran 90 compiler. +* Flags for the Fortran compiler. \item [\texttt{F77FLAGS}] -* Flags for the Fortran 77 compiler. +* Ignored \item [\texttt{CPPFLAGS}] Flags for the preprocessor (used to generate compilation dependencies @@ -404,8 +401,7 @@ Debug flags for the Fortran 90 compiler, their use depends on the type of debugging being used. \item [\texttt{F77\_DEBUG\_FLAGS}] -Debug flags for the Fortran 77 compiler, their use depends on the -type of debugging being used. +Ignored. \item [\texttt{OPTIMISE, OPTIMIZE}] * Specifies what type of optimisation should be used. The only options currently @@ -430,21 +426,27 @@ Optimisation flags for the Fortran 90 compiler, their use depends on the type of optimisation being used. \item [\texttt{F77\_OPTIMISE\_FLAGS}] -Optimisation flags for the Fortran 77 compiler, their use depends on the -type of optimisation being used. +Ignored. \item [\texttt{C\_NO\_OPTIMISE\_FLAGS}] +Optimisation flags used to indicate that no optimisation should be +performed. These are invoked when OPTIMISE=no is used. \item [\texttt{CUCC\_NO\_OPTIMISE\_FLAGS}] +Optimisation flags used to indicate that no optimisation should be +performed. These are invoked when OPTIMISE=no is used. \item [\texttt{CXX\_NO\_OPTIMISE\_FLAGS}] +Optimisation flags used to indicate that no optimisation should be +performed. These are invoked when OPTIMISE=no is used. \item [\texttt{F90\_NO\_OPTIMISE\_FLAGS}] - -\item [\texttt{F77\_NO\_OPTIMISE\_FLAGS}] Optimisation flags used to indicate that no optimisation should be performed. These are invoked when OPTIMISE=no is used. +\item [\texttt{F77\_NO\_OPTIMISE\_FLAGS}] +Ignored. + \item [\texttt{PROFILE}] * Specifies what type of profiling should be used. The only options currently available are \texttt{yes} and \texttt{no}. The default @@ -467,8 +469,7 @@ performed. These are invoked when OPTIMISE=no is used. type of profiling being used. \item [\texttt{F77\_PROFILE\_FLAGS}] - Profile flags for the Fortran 77 compiler, their use depends on the - type of profiling being used. + Ignored. \item [\texttt{WARN}] * Specifies what type of build warnings should be used. The only @@ -492,8 +493,7 @@ Warning flags for the Fortran 90 compiler, their use depends on the type of warnings used during compilation (Section \ref{sec:gmopfobuco}). \item [\texttt{F77\_WARN\_FLAGS}] -Warning flags for the Fortran 77 compiler, their use depends on the type of -warnings used during compilation (Section \ref{sec:gmopfobuco}). +Ignored. \end{Lentry} diff --git a/lib/make/configure b/lib/make/configure index 03154da4..e079db90 100755 --- a/lib/make/configure +++ b/lib/make/configure @@ -1574,50 +1574,13 @@ done fi -if test -z "$F77" ; then - for ac_prog in f77 pgf77 g77 f90 pgf90 xlf90 ifort gfortran-mp-4.4 gfortran-mp-4.3 gfortran-mp-4.2 gfortran -do -# Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1584: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_F77'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$F77"; then - ac_cv_prog_F77="$F77" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_F77="$ac_prog" - break - fi - done - IFS="$ac_save_ifs" -fi -fi -F77="$ac_cv_prog_F77" -if test -n "$F77"; then - echo "$ac_t""$F77" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - -test -n "$F77" && break -done - -fi - if test -z "$AR" ; then for ac_prog in ar do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1621: checking for $ac_word" >&5 +echo "configure:1584: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1654,7 +1617,7 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1658: checking for $ac_word" >&5 +echo "configure:1621: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_MKDIR'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1693,7 +1656,7 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1697: checking for $ac_word" >&5 +echo "configure:1660: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_SHELL'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1812,13 +1775,6 @@ fi : ${CUCC_WARN_FLAGS=''} -if test "$F77" = 'g77' ; then - : ${F77_WARN_FLAGS='-Wall'} -else - : ${F77_WARN_FLAGS=''} -fi - - if test "$F90" = 'gfortran' ; then : ${F90_WARN_FLAGS='-Wall -Wshadow -Wsurprising'} else @@ -1826,6 +1782,9 @@ else fi +F77_WARN_FLAGS="$F90_WARN_FLAGS" + + DEBUG_MODE='no' if test -n "$DEBUG_FLAGS"; then DEBUG_MODE=$DEBUG_FLAGS @@ -1849,10 +1808,10 @@ fi : ${CUCC_DEBUG_FLAGS='-g'} -: ${F77_DEBUG_FLAGS='-g'} +: ${F90_DEBUG_FLAGS='-g'} -: ${F90_DEBUG_FLAGS='-g'} +F77_DEBUG_FLAGS="$F90_WARN_FLAGS" # Set the optimization flags if they've not been set by now # (using '-O2' as a reasonable default) @@ -1874,14 +1833,10 @@ fi : ${CUCC_OPTIMISE_FLAGS='-O2'} -if test -z "$F77_OPTIMISE_FLAGS" -a "$F77" = 'g77' ; then - F77_OPTIMISE_FLAGS='-O2' -else - : ${F77_OPTIMISE_FLAGS=''} -fi +: ${F90_OPTIMISE_FLAGS='-O2'} -: ${F90_OPTIMISE_FLAGS='-O2'} +F77_OPTIMISE_FLAGS="$F90_OPTIMISE_FLAGS" # Set the no-optimization flags if they've not been set by now # (using '-O0' as a reasonable default) @@ -1896,10 +1851,10 @@ fi : ${CUCC_NO_OPTIMISE_FLAGS='-O0'} -: ${F77_NO_OPTIMISE_FLAGS='-O0'} +: ${F90_NO_OPTIMISE_FLAGS='-O0'} -: ${F90_NO_OPTIMISE_FLAGS='-O0'} +F77_NO_OPTIMISE_FLAGS="$F90_NO_OPTIMISE_FLAGS" # Set the profiling flags if they've not been set by now # (using '-pg' as a reasonable default) @@ -1921,10 +1876,10 @@ fi : ${CUCC_PROFILE_FLAGS=''} -: ${F77_PROFILE_FLAGS='-pg'} +: ${F90_PROFILE_FLAGS='-pg'} -: ${F90_PROFILE_FLAGS='-pg'} +F77_PROFILE_FLAGS="$F90_PROFILE_FLAGS" # Set the OpenMP flags if they've not been set by now @@ -1939,28 +1894,14 @@ fi ########################################################################## -# Deal with the Fortran compiler issues. -# If there's a Fortran 90 compiler use that for all the Fortran. -if test "x$F90" != "x" -a "x$F90" != "xnone" -a "x$F77" = "x" ; then - F77=$F90 - F77FLAGS=$F90FLAGS - F77_WARN_FLAGS=$F90_WARN_FLAGS - F77_DEBUG_FLAGS=$F90_DEBUG_FLAGS - F77_OPTIMISE_FLAGS=$F90_OPTIMISE_FLAGS - F77_PROFILE_FLAGS=$F90_PROFILE_FLAGS - F77_OPENMP_FLAGS=$F90_OPENMP_FLAGS -fi - -# Set default Fortran compilers +# Set default Fortran compiler if test -z "$F90" ; then F90='none' fi -if test -z "$F77" ; then - F77='none' -fi +F77="$F90" # The known architecture stuff has probably set the LIBS variable @@ -1990,7 +1931,7 @@ unset LDFLAGS echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:1994: checking how to run the C preprocessor" >&5 +echo "configure:1935: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= @@ -2005,13 +1946,13 @@ else # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext <<EOF -#line 2009 "configure" +#line 1950 "configure" #include "confdefs.h" #include <assert.h> Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2015: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1956: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -2022,13 +1963,13 @@ else rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext <<EOF -#line 2026 "configure" +#line 1967 "configure" #include "confdefs.h" #include <assert.h> Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2032: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1973: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -2039,13 +1980,13 @@ else rm -rf conftest* CPP="${CC-cc} -nologo -E" cat > conftest.$ac_ext <<EOF -#line 2043 "configure" +#line 1984 "configure" #include "confdefs.h" #include <assert.h> Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2049: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1990: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -2070,12 +2011,12 @@ fi echo "$ac_t""$CPP" 1>&6 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 -echo "configure:2074: checking for ANSI C header files" >&5 +echo "configure:2015: checking for ANSI C header files" >&5 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2079 "configure" +#line 2020 "configure" #include "confdefs.h" #include <stdlib.h> #include <stdarg.h> @@ -2083,7 +2024,7 @@ else #include <float.h> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -2100,7 +2041,7 @@ rm -f conftest* if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext <<EOF -#line 2104 "configure" +#line 2045 "configure" #include "confdefs.h" #include <string.h> EOF @@ -2118,7 +2059,7 @@ fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext <<EOF -#line 2122 "configure" +#line 2063 "configure" #include "confdefs.h" #include <stdlib.h> EOF @@ -2139,7 +2080,7 @@ if test "$cross_compiling" = yes; then : else cat > conftest.$ac_ext <<EOF -#line 2143 "configure" +#line 2084 "configure" #include "confdefs.h" #include <ctype.h> #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') @@ -2150,7 +2091,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); exit (0); } EOF -if { (eval echo configure:2154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then : else @@ -2176,13 +2117,13 @@ fi echo $ac_n "checking for C99 features""... $ac_c" 1>&6 -echo "configure:2180: checking for C99 features" >&5 +echo "configure:2121: checking for C99 features" >&5 if eval "test \"`echo '$''{'cctk_cv_have_c99'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cctk_cv_have_c99=no cat > conftest.$ac_ext <<EOF -#line 2186 "configure" +#line 2127 "configure" #include "confdefs.h" int main() { @@ -2194,7 +2135,7 @@ for (int i=0; i<10; ++i) x+=i; ; return 0; } EOF -if { (eval echo configure:2198: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2139: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_have_c99=yes else @@ -2223,14 +2164,14 @@ fi if test "x$cross_compiling" = 'xno' ; then echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 -echo "configure:2227: checking whether byte ordering is bigendian" >&5 +echo "configure:2168: checking whether byte ordering is bigendian" >&5 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_c_bigendian=unknown # See if sys/param.h defines the BYTE_ORDER macro. cat > conftest.$ac_ext <<EOF -#line 2234 "configure" +#line 2175 "configure" #include "confdefs.h" #include <sys/types.h> #include <sys/param.h> @@ -2241,11 +2182,11 @@ int main() { #endif ; return 0; } EOF -if { (eval echo configure:2245: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* # It does; now see whether it defined to BIG_ENDIAN or not. cat > conftest.$ac_ext <<EOF -#line 2249 "configure" +#line 2190 "configure" #include "confdefs.h" #include <sys/types.h> #include <sys/param.h> @@ -2256,7 +2197,7 @@ int main() { #endif ; return 0; } EOF -if { (eval echo configure:2260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2201: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_bigendian=yes else @@ -2276,7 +2217,7 @@ if test "$cross_compiling" = yes; then { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <<EOF -#line 2280 "configure" +#line 2221 "configure" #include "confdefs.h" main () { /* Are we little or big endian? From Harbison&Steele. */ @@ -2289,7 +2230,7 @@ main () { exit (u.c[sizeof (long) - 1] == 1); } EOF -if { (eval echo configure:2293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_c_bigendian=no else @@ -2332,7 +2273,7 @@ if test "x$cross_compiling" = 'xyes' -a -z "$SIZEOF_LONG_LONG" ; then fi echo $ac_n "checking size of long long""... $ac_c" 1>&6 -echo "configure:2336: checking size of long long" >&5 +echo "configure:2277: checking size of long long" >&5 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2340,7 +2281,7 @@ else ac_cv_sizeof_long_long=$SIZEOF_LONG_LONG else cat > conftest.$ac_ext <<EOF -#line 2344 "configure" +#line 2285 "configure" #include "confdefs.h" #include <stdio.h> main() @@ -2351,7 +2292,7 @@ main() exit(0); } EOF -if { (eval echo configure:2355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_sizeof_long_long=`cat conftestval` else @@ -2376,7 +2317,7 @@ if test "x$cross_compiling" = 'xyes' -a -z "$SIZEOF_LONG_INT" ; then fi echo $ac_n "checking size of long int""... $ac_c" 1>&6 -echo "configure:2380: checking size of long int" >&5 +echo "configure:2321: checking size of long int" >&5 if eval "test \"`echo '$''{'ac_cv_sizeof_long_int'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2384,7 +2325,7 @@ else ac_cv_sizeof_long_int=$SIZEOF_LONG_INT else cat > conftest.$ac_ext <<EOF -#line 2388 "configure" +#line 2329 "configure" #include "confdefs.h" #include <stdio.h> main() @@ -2395,7 +2336,7 @@ main() exit(0); } EOF -if { (eval echo configure:2399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_sizeof_long_int=`cat conftestval` else @@ -2420,7 +2361,7 @@ if test "x$cross_compiling" = 'xyes' -a -z "$SIZEOF_INT" ; then fi echo $ac_n "checking size of int""... $ac_c" 1>&6 -echo "configure:2424: checking size of int" >&5 +echo "configure:2365: checking size of int" >&5 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2428,7 +2369,7 @@ else ac_cv_sizeof_int=$SIZEOF_INT else cat > conftest.$ac_ext <<EOF -#line 2432 "configure" +#line 2373 "configure" #include "confdefs.h" #include <stdio.h> main() @@ -2439,7 +2380,7 @@ main() exit(0); } EOF -if { (eval echo configure:2443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_sizeof_int=`cat conftestval` else @@ -2464,7 +2405,7 @@ if test "x$cross_compiling" = 'xyes' -a -z "$SIZEOF_SHORT_INT" ; then fi echo $ac_n "checking size of short int""... $ac_c" 1>&6 -echo "configure:2468: checking size of short int" >&5 +echo "configure:2409: checking size of short int" >&5 if eval "test \"`echo '$''{'ac_cv_sizeof_short_int'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2472,7 +2413,7 @@ else ac_cv_sizeof_short_int=$SIZEOF_SHORT_INT else cat > conftest.$ac_ext <<EOF -#line 2476 "configure" +#line 2417 "configure" #include "confdefs.h" #include <stdio.h> main() @@ -2483,7 +2424,7 @@ main() exit(0); } EOF -if { (eval echo configure:2487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_sizeof_short_int=`cat conftestval` else @@ -2510,7 +2451,7 @@ if test "x$cross_compiling" = 'xyes' -a -z "$SIZEOF_LONG_DOUBLE" ; then fi echo $ac_n "checking size of long double""... $ac_c" 1>&6 -echo "configure:2514: checking size of long double" >&5 +echo "configure:2455: checking size of long double" >&5 if eval "test \"`echo '$''{'ac_cv_sizeof_long_double'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2518,7 +2459,7 @@ else ac_cv_sizeof_long_double=$SIZEOF_LONG_DOUBLE else cat > conftest.$ac_ext <<EOF -#line 2522 "configure" +#line 2463 "configure" #include "confdefs.h" #include <stdio.h> main() @@ -2529,7 +2470,7 @@ main() exit(0); } EOF -if { (eval echo configure:2533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_sizeof_long_double=`cat conftestval` else @@ -2554,7 +2495,7 @@ if test "x$cross_compiling" = 'xyes' -a -z "$SIZEOF_DOUBLE" ; then fi echo $ac_n "checking size of double""... $ac_c" 1>&6 -echo "configure:2558: checking size of double" >&5 +echo "configure:2499: checking size of double" >&5 if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2562,7 +2503,7 @@ else ac_cv_sizeof_double=$SIZEOF_DOUBLE else cat > conftest.$ac_ext <<EOF -#line 2566 "configure" +#line 2507 "configure" #include "confdefs.h" #include <stdio.h> main() @@ -2573,7 +2514,7 @@ main() exit(0); } EOF -if { (eval echo configure:2577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_sizeof_double=`cat conftestval` else @@ -2599,7 +2540,7 @@ if test "x$cross_compiling" = 'xyes' -a -z "$SIZEOF_FLOAT" ; then fi echo $ac_n "checking size of float""... $ac_c" 1>&6 -echo "configure:2603: checking size of float" >&5 +echo "configure:2544: checking size of float" >&5 if eval "test \"`echo '$''{'ac_cv_sizeof_float'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2607,7 +2548,7 @@ else ac_cv_sizeof_float=$SIZEOF_FLOAT else cat > conftest.$ac_ext <<EOF -#line 2611 "configure" +#line 2552 "configure" #include "confdefs.h" #include <stdio.h> main() @@ -2618,7 +2559,7 @@ main() exit(0); } EOF -if { (eval echo configure:2622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_sizeof_float=`cat conftestval` else @@ -2645,7 +2586,7 @@ if test "x$cross_compiling" = 'xyes' -a -z "$SIZEOF_POINTER" ; then fi echo $ac_n "checking size of char *""... $ac_c" 1>&6 -echo "configure:2649: checking size of char *" >&5 +echo "configure:2590: checking size of char *" >&5 if eval "test \"`echo '$''{'ac_cv_sizeof_char_p'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2653,7 +2594,7 @@ else ac_cv_sizeof_char_p=$SIZEOF_POINTER else cat > conftest.$ac_ext <<EOF -#line 2657 "configure" +#line 2598 "configure" #include "confdefs.h" #include <stdio.h> main() @@ -2664,7 +2605,7 @@ main() exit(0); } EOF -if { (eval echo configure:2668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_sizeof_char_p=`cat conftestval` else @@ -2699,7 +2640,7 @@ EOF else echo $ac_n "checking for the null device""... $ac_c" 1>&6 -echo "configure:2703: checking for the null device" >&5 +echo "configure:2644: checking for the null device" >&5 if eval "test \"`echo '$''{'cctk_cv_nulldevice'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2745,6 +2686,7 @@ fi +F77FLAGS="$F90FLAGS" #: ${F90FLAGS="$CFLAGS"} #: ${F77FLAGS="$CFLAGS"} @@ -2764,12 +2706,12 @@ ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ for ac_func in gethostbyname do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:2768: checking for $ac_func" >&5 +echo "configure:2710: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2773 "configure" +#line 2715 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -2792,7 +2734,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:2796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -2814,7 +2756,7 @@ EOF else echo "$ac_t""no" 1>&6 echo $ac_n "checking for gethostbyname in library nsl""... $ac_c" 1>&6 -echo "configure:2818: checking for gethostbyname in library nsl" >&5 +echo "configure:2760: checking for gethostbyname in library nsl" >&5 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2823,7 +2765,7 @@ else ac_save_LIBS="$LIBS" LIBS="nsl $LIBS" cat > conftest.$ac_ext <<EOF -#line 2827 "configure" +#line 2769 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -2834,7 +2776,7 @@ int main() { gethostbyname() ; return 0; } EOF -if { (eval echo configure:2838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2865,12 +2807,12 @@ done # Check if we have mode_t available echo $ac_n "checking whether mode_t is defined""... $ac_c" 1>&6 -echo "configure:2869: checking whether mode_t is defined" >&5 +echo "configure:2811: checking whether mode_t is defined" >&5 if eval "test \"`echo '$''{'cctk_cv_have_mode_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2874 "configure" +#line 2816 "configure" #include "confdefs.h" #include <stdio.h> #include <stdlib.h> @@ -2880,7 +2822,7 @@ int main() { mode_t foo; return 0 ; return 0; } EOF -if { (eval echo configure:2884: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "cctk_cv_have_mode_t=yes" else @@ -2906,12 +2848,12 @@ fi echo $ac_n "checking for availability of gettimeofday timing""... $ac_c" 1>&6 -echo "configure:2910: checking for availability of gettimeofday timing" >&5 +echo "configure:2852: checking for availability of gettimeofday timing" >&5 if eval "test \"`echo '$''{'cctk_cv_time_gettimeofday'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2915 "configure" +#line 2857 "configure" #include "confdefs.h" int main() { @@ -2919,7 +2861,7 @@ gettimeofday(0, 0); return 0; ; return 0; } EOF -if { (eval echo configure:2923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "cctk_cv_time_gettimeofday=yes" else @@ -2941,12 +2883,12 @@ else fi if eval "test \"`echo '$cctk_cv_time_gettimeofday'`\" = yes"; then echo $ac_n "checking if gettimeofday needs timezone""... $ac_c" 1>&6 -echo "configure:2945: checking if gettimeofday needs timezone" >&5 +echo "configure:2887: checking if gettimeofday needs timezone" >&5 if eval "test \"`echo '$''{'cctk_cv_time_gettimeofday_timezone'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2950 "configure" +#line 2892 "configure" #include "confdefs.h" #include <stdio.h> #include <sys/time.h> @@ -2959,7 +2901,7 @@ struct timeval tp; return 0; ; return 0; } EOF -if { (eval echo configure:2963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "cctk_cv_time_gettimeofday_timezone=yes" else @@ -2982,12 +2924,12 @@ fi fi echo $ac_n "checking for availability of getrusage timing""... $ac_c" 1>&6 -echo "configure:2986: checking for availability of getrusage timing" >&5 +echo "configure:2928: checking for availability of getrusage timing" >&5 if eval "test \"`echo '$''{'cctk_cv_time_getrusage'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2991 "configure" +#line 2933 "configure" #include "confdefs.h" #include <stdio.h> #include <sys/time.h> @@ -3000,7 +2942,7 @@ struct rusage ru; return 0; ; return 0; } EOF -if { (eval echo configure:3004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "cctk_cv_time_getrusage=yes" else @@ -3022,12 +2964,12 @@ else fi echo $ac_n "checking for availability of _ftime timing""... $ac_c" 1>&6 -echo "configure:3026: checking for availability of _ftime timing" >&5 +echo "configure:2968: checking for availability of _ftime timing" >&5 if eval "test \"`echo '$''{'cctk_cv_time_ftime'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3031 "configure" +#line 2973 "configure" #include "confdefs.h" #include <stdio.h> #include <time.h> @@ -3040,7 +2982,7 @@ int main() { return 0; ; return 0; } EOF -if { (eval echo configure:3044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "cctk_cv_time_ftime=yes" else @@ -3067,12 +3009,12 @@ for cctk_hdr in time.h do cctk_safe=`echo "$cctk_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $cctk_hdr""... $ac_c" 1>&6 -echo "configure:3071: checking for $cctk_hdr" >&5 +echo "configure:3013: checking for $cctk_hdr" >&5 if eval "test \"`echo '$''{'cctk_cv_header_$cctk_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3076 "configure" +#line 3018 "configure" #include "confdefs.h" #include <$cctk_hdr> @@ -3080,7 +3022,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:3084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "cctk_cv_header_$cctk_safe=yes" else @@ -3107,12 +3049,12 @@ for cctk_hdr in sys/time.h do cctk_safe=`echo "$cctk_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $cctk_hdr""... $ac_c" 1>&6 -echo "configure:3111: checking for $cctk_hdr" >&5 +echo "configure:3053: checking for $cctk_hdr" >&5 if eval "test \"`echo '$''{'cctk_cv_header_$cctk_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3116 "configure" +#line 3058 "configure" #include "confdefs.h" #include <$cctk_hdr> @@ -3120,7 +3062,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:3124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3066: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "cctk_cv_header_$cctk_safe=yes" else @@ -3147,12 +3089,12 @@ for cctk_hdr in sys/types.h do cctk_safe=`echo "$cctk_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $cctk_hdr""... $ac_c" 1>&6 -echo "configure:3151: checking for $cctk_hdr" >&5 +echo "configure:3093: checking for $cctk_hdr" >&5 if eval "test \"`echo '$''{'cctk_cv_header_$cctk_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3156 "configure" +#line 3098 "configure" #include "confdefs.h" #include <$cctk_hdr> @@ -3160,7 +3102,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:3164: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3106: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "cctk_cv_header_$cctk_safe=yes" else @@ -3187,12 +3129,12 @@ for cctk_hdr in unistd.h do cctk_safe=`echo "$cctk_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $cctk_hdr""... $ac_c" 1>&6 -echo "configure:3191: checking for $cctk_hdr" >&5 +echo "configure:3133: checking for $cctk_hdr" >&5 if eval "test \"`echo '$''{'cctk_cv_header_$cctk_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3196 "configure" +#line 3138 "configure" #include "confdefs.h" #include <$cctk_hdr> @@ -3200,7 +3142,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:3204: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "cctk_cv_header_$cctk_safe=yes" else @@ -3227,12 +3169,12 @@ for cctk_hdr in string.h do cctk_safe=`echo "$cctk_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $cctk_hdr""... $ac_c" 1>&6 -echo "configure:3231: checking for $cctk_hdr" >&5 +echo "configure:3173: checking for $cctk_hdr" >&5 if eval "test \"`echo '$''{'cctk_cv_header_$cctk_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3236 "configure" +#line 3178 "configure" #include "confdefs.h" #include <$cctk_hdr> @@ -3240,7 +3182,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:3244: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "cctk_cv_header_$cctk_safe=yes" else @@ -3267,12 +3209,12 @@ for cctk_hdr in assert.h do cctk_safe=`echo "$cctk_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $cctk_hdr""... $ac_c" 1>&6 -echo "configure:3271: checking for $cctk_hdr" >&5 +echo "configure:3213: checking for $cctk_hdr" >&5 if eval "test \"`echo '$''{'cctk_cv_header_$cctk_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3276 "configure" +#line 3218 "configure" #include "confdefs.h" #include <$cctk_hdr> @@ -3280,7 +3222,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:3284: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "cctk_cv_header_$cctk_safe=yes" else @@ -3307,12 +3249,12 @@ for cctk_hdr in tgmath.h do cctk_safe=`echo "$cctk_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $cctk_hdr""... $ac_c" 1>&6 -echo "configure:3311: checking for $cctk_hdr" >&5 +echo "configure:3253: checking for $cctk_hdr" >&5 if eval "test \"`echo '$''{'cctk_cv_header_$cctk_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3316 "configure" +#line 3258 "configure" #include "confdefs.h" #include <$cctk_hdr> @@ -3320,7 +3262,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:3324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3266: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "cctk_cv_header_$cctk_safe=yes" else @@ -3347,12 +3289,12 @@ for cctk_hdr in sys/stat.h do cctk_safe=`echo "$cctk_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $cctk_hdr""... $ac_c" 1>&6 -echo "configure:3351: checking for $cctk_hdr" >&5 +echo "configure:3293: checking for $cctk_hdr" >&5 if eval "test \"`echo '$''{'cctk_cv_header_$cctk_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3356 "configure" +#line 3298 "configure" #include "confdefs.h" #include <$cctk_hdr> @@ -3360,7 +3302,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:3364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3306: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "cctk_cv_header_$cctk_safe=yes" else @@ -3387,12 +3329,12 @@ for cctk_hdr in getopt.h do cctk_safe=`echo "$cctk_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $cctk_hdr""... $ac_c" 1>&6 -echo "configure:3391: checking for $cctk_hdr" >&5 +echo "configure:3333: checking for $cctk_hdr" >&5 if eval "test \"`echo '$''{'cctk_cv_header_$cctk_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3396 "configure" +#line 3338 "configure" #include "confdefs.h" #include <$cctk_hdr> @@ -3400,7 +3342,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:3404: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3346: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "cctk_cv_header_$cctk_safe=yes" else @@ -3427,12 +3369,12 @@ for cctk_hdr in dirent.h do cctk_safe=`echo "$cctk_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $cctk_hdr""... $ac_c" 1>&6 -echo "configure:3431: checking for $cctk_hdr" >&5 +echo "configure:3373: checking for $cctk_hdr" >&5 if eval "test \"`echo '$''{'cctk_cv_header_$cctk_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3436 "configure" +#line 3378 "configure" #include "confdefs.h" #include <$cctk_hdr> @@ -3440,7 +3382,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:3444: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3386: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "cctk_cv_header_$cctk_safe=yes" else @@ -3467,12 +3409,12 @@ for cctk_hdr in c_asm.h do cctk_safe=`echo "$cctk_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $cctk_hdr""... $ac_c" 1>&6 -echo "configure:3471: checking for $cctk_hdr" >&5 +echo "configure:3413: checking for $cctk_hdr" >&5 if eval "test \"`echo '$''{'cctk_cv_header_$cctk_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3476 "configure" +#line 3418 "configure" #include "confdefs.h" #include <$cctk_hdr> @@ -3480,7 +3422,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:3484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "cctk_cv_header_$cctk_safe=yes" else @@ -3507,12 +3449,12 @@ for cctk_hdr in intrinsics.h do cctk_safe=`echo "$cctk_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $cctk_hdr""... $ac_c" 1>&6 -echo "configure:3511: checking for $cctk_hdr" >&5 +echo "configure:3453: checking for $cctk_hdr" >&5 if eval "test \"`echo '$''{'cctk_cv_header_$cctk_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3516 "configure" +#line 3458 "configure" #include "confdefs.h" #include <$cctk_hdr> @@ -3520,7 +3462,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:3524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3466: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "cctk_cv_header_$cctk_safe=yes" else @@ -3547,12 +3489,12 @@ for cctk_hdr in mach/mach_time.h do cctk_safe=`echo "$cctk_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $cctk_hdr""... $ac_c" 1>&6 -echo "configure:3551: checking for $cctk_hdr" >&5 +echo "configure:3493: checking for $cctk_hdr" >&5 if eval "test \"`echo '$''{'cctk_cv_header_$cctk_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3556 "configure" +#line 3498 "configure" #include "confdefs.h" #include <$cctk_hdr> @@ -3560,7 +3502,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:3564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3506: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "cctk_cv_header_$cctk_safe=yes" else @@ -3584,12 +3526,12 @@ fi done echo $ac_n "checking for regex.h""... $ac_c" 1>&6 -echo "configure:3588: checking for regex.h" >&5 +echo "configure:3530: checking for regex.h" >&5 if eval "test \"`echo '$''{'cctk_cv_header_regex_h'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3593 "configure" +#line 3535 "configure" #include "confdefs.h" #include <stdio.h> #include <regex.h> @@ -3597,7 +3539,7 @@ int main() { return 0; ; return 0; } EOF -if { (eval echo configure:3601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "cctk_cv_header_regex_h=yes" else @@ -3622,12 +3564,12 @@ for cctk_hdr in sys/filio.h do cctk_safe=`echo "$cctk_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $cctk_hdr""... $ac_c" 1>&6 -echo "configure:3626: checking for $cctk_hdr" >&5 +echo "configure:3568: checking for $cctk_hdr" >&5 if eval "test \"`echo '$''{'cctk_cv_header_$cctk_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3631 "configure" +#line 3573 "configure" #include "confdefs.h" #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> @@ -3637,7 +3579,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:3641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "cctk_cv_header_$cctk_safe=yes" else @@ -3664,12 +3606,12 @@ for cctk_hdr in sys/ioctl.h do cctk_safe=`echo "$cctk_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $cctk_hdr""... $ac_c" 1>&6 -echo "configure:3668: checking for $cctk_hdr" >&5 +echo "configure:3610: checking for $cctk_hdr" >&5 if eval "test \"`echo '$''{'cctk_cv_header_$cctk_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3673 "configure" +#line 3615 "configure" #include "confdefs.h" #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> @@ -3679,7 +3621,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:3683: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "cctk_cv_header_$cctk_safe=yes" else @@ -3706,12 +3648,12 @@ for cctk_hdr in sys/socket.h do cctk_safe=`echo "$cctk_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $cctk_hdr""... $ac_c" 1>&6 -echo "configure:3710: checking for $cctk_hdr" >&5 +echo "configure:3652: checking for $cctk_hdr" >&5 if eval "test \"`echo '$''{'cctk_cv_header_$cctk_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3715 "configure" +#line 3657 "configure" #include "confdefs.h" #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> @@ -3721,7 +3663,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:3725: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3667: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "cctk_cv_header_$cctk_safe=yes" else @@ -3748,12 +3690,12 @@ for cctk_hdr in netinet/in.h do cctk_safe=`echo "$cctk_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $cctk_hdr""... $ac_c" 1>&6 -echo "configure:3752: checking for $cctk_hdr" >&5 +echo "configure:3694: checking for $cctk_hdr" >&5 if eval "test \"`echo '$''{'cctk_cv_header_$cctk_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3757 "configure" +#line 3699 "configure" #include "confdefs.h" #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> @@ -3763,7 +3705,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:3767: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3709: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "cctk_cv_header_$cctk_safe=yes" else @@ -3790,12 +3732,12 @@ for cctk_hdr in netdb.h do cctk_safe=`echo "$cctk_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $cctk_hdr""... $ac_c" 1>&6 -echo "configure:3794: checking for $cctk_hdr" >&5 +echo "configure:3736: checking for $cctk_hdr" >&5 if eval "test \"`echo '$''{'cctk_cv_header_$cctk_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3799 "configure" +#line 3741 "configure" #include "confdefs.h" #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> @@ -3805,7 +3747,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:3809: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3751: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "cctk_cv_header_$cctk_safe=yes" else @@ -3832,12 +3774,12 @@ for cctk_hdr in arpa/inet.h do cctk_safe=`echo "$cctk_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $cctk_hdr""... $ac_c" 1>&6 -echo "configure:3836: checking for $cctk_hdr" >&5 +echo "configure:3778: checking for $cctk_hdr" >&5 if eval "test \"`echo '$''{'cctk_cv_header_$cctk_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3841 "configure" +#line 3783 "configure" #include "confdefs.h" #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> @@ -3847,7 +3789,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:3851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3793: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "cctk_cv_header_$cctk_safe=yes" else @@ -3874,12 +3816,12 @@ for cctk_hdr in winsock2.h do cctk_safe=`echo "$cctk_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $cctk_hdr""... $ac_c" 1>&6 -echo "configure:3878: checking for $cctk_hdr" >&5 +echo "configure:3820: checking for $cctk_hdr" >&5 if eval "test \"`echo '$''{'cctk_cv_header_$cctk_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3883 "configure" +#line 3825 "configure" #include "confdefs.h" #include <$cctk_hdr> @@ -3887,7 +3829,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:3891: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "cctk_cv_header_$cctk_safe=yes" else @@ -3914,12 +3856,12 @@ for cctk_hdr in crypt.h do cctk_safe=`echo "$cctk_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $cctk_hdr""... $ac_c" 1>&6 -echo "configure:3918: checking for $cctk_hdr" >&5 +echo "configure:3860: checking for $cctk_hdr" >&5 if eval "test \"`echo '$''{'cctk_cv_header_$cctk_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3923 "configure" +#line 3865 "configure" #include "confdefs.h" #ifdef HAVE_UNISTD_H #include <unistd.h> @@ -3929,7 +3871,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:3933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3875: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "cctk_cv_header_$cctk_safe=yes" else @@ -3956,12 +3898,12 @@ for cctk_hdr in signal.h do cctk_safe=`echo "$cctk_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $cctk_hdr""... $ac_c" 1>&6 -echo "configure:3960: checking for $cctk_hdr" >&5 +echo "configure:3902: checking for $cctk_hdr" >&5 if eval "test \"`echo '$''{'cctk_cv_header_$cctk_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3965 "configure" +#line 3907 "configure" #include "confdefs.h" #include <$cctk_hdr> @@ -3969,7 +3911,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:3973: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "cctk_cv_header_$cctk_safe=yes" else @@ -3996,12 +3938,12 @@ for cctk_hdr in malloc.h do cctk_safe=`echo "$cctk_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $cctk_hdr""... $ac_c" 1>&6 -echo "configure:4000: checking for $cctk_hdr" >&5 +echo "configure:3942: checking for $cctk_hdr" >&5 if eval "test \"`echo '$''{'cctk_cv_header_$cctk_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4005 "configure" +#line 3947 "configure" #include "confdefs.h" #include <$cctk_hdr> @@ -4009,7 +3951,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:4013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3955: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "cctk_cv_header_$cctk_safe=yes" else @@ -4036,12 +3978,12 @@ for cctk_hdr in sched.h do cctk_safe=`echo "$cctk_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $cctk_hdr""... $ac_c" 1>&6 -echo "configure:4040: checking for $cctk_hdr" >&5 +echo "configure:3982: checking for $cctk_hdr" >&5 if eval "test \"`echo '$''{'cctk_cv_header_$cctk_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4045 "configure" +#line 3987 "configure" #include "confdefs.h" #include <$cctk_hdr> @@ -4049,7 +3991,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:4053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "cctk_cv_header_$cctk_safe=yes" else @@ -4076,12 +4018,12 @@ for cctk_hdr in execinfo.h do cctk_safe=`echo "$cctk_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $cctk_hdr""... $ac_c" 1>&6 -echo "configure:4080: checking for $cctk_hdr" >&5 +echo "configure:4022: checking for $cctk_hdr" >&5 if eval "test \"`echo '$''{'cctk_cv_header_$cctk_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4085 "configure" +#line 4027 "configure" #include "confdefs.h" #include <$cctk_hdr> @@ -4089,7 +4031,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:4093: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4035: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "cctk_cv_header_$cctk_safe=yes" else @@ -4114,12 +4056,12 @@ done echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 -echo "configure:4118: checking whether time.h and sys/time.h may both be included" >&5 +echo "configure:4060: checking whether time.h and sys/time.h may both be included" >&5 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4123 "configure" +#line 4065 "configure" #include "confdefs.h" #include <sys/types.h> #include <sys/time.h> @@ -4128,7 +4070,7 @@ int main() { struct tm *tp; ; return 0; } EOF -if { (eval echo configure:4132: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_time=yes else @@ -4153,12 +4095,12 @@ fi # Check if we have socklen_t available echo $ac_n "checking whether socklen_t is defined""... $ac_c" 1>&6 -echo "configure:4157: checking whether socklen_t is defined" >&5 +echo "configure:4099: checking whether socklen_t is defined" >&5 if eval "test \"`echo '$''{'cctk_cv_have_socklen_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4162 "configure" +#line 4104 "configure" #include "confdefs.h" #include <stdio.h> #include <stdlib.h> @@ -4178,7 +4120,7 @@ int main() { socklen_t foo; return 0 ; return 0; } EOF -if { (eval echo configure:4182: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "cctk_cv_have_socklen_t=yes" else @@ -4203,12 +4145,12 @@ fi # Check if someone has defined SOCKET echo $ac_n "checking whether SOCKET is defined""... $ac_c" 1>&6 -echo "configure:4207: checking whether SOCKET is defined" >&5 +echo "configure:4149: checking whether SOCKET is defined" >&5 if eval "test \"`echo '$''{'cctk_cv_have_SOCKET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4212 "configure" +#line 4154 "configure" #include "confdefs.h" #include <stdio.h> #include <stdlib.h> @@ -4228,7 +4170,7 @@ int main() { SOCKET foo; return 0 ; return 0; } EOF -if { (eval echo configure:4232: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4174: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "cctk_cv_have_SOCKET=yes" else @@ -4254,12 +4196,12 @@ fi # Check for timing functions echo $ac_n "checking for hrtime_t""... $ac_c" 1>&6 -echo "configure:4258: checking for hrtime_t" >&5 +echo "configure:4200: checking for hrtime_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_hrtime_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4263 "configure" +#line 4205 "configure" #include "confdefs.h" #include <sys/types.h> #if STDC_HEADERS @@ -4290,12 +4232,12 @@ fi for ac_func in gethrtime read_real_time time_base_to_time clock_gettime mach_absolute_time do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4294: checking for $ac_func" >&5 +echo "configure:4236: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4299 "configure" +#line 4241 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -4318,7 +4260,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:4322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -4344,10 +4286,10 @@ done echo $ac_n "checking for _rtc intrinsic""... $ac_c" 1>&6 -echo "configure:4348: checking for _rtc intrinsic" >&5 +echo "configure:4290: checking for _rtc intrinsic" >&5 rtc_ok=yes cat > conftest.$ac_ext <<EOF -#line 4351 "configure" +#line 4293 "configure" #include "confdefs.h" #ifdef HAVE_INTRINSICS_H #include <intrinsics.h> @@ -4356,7 +4298,7 @@ int main() { _rtc() ; return 0; } EOF -if { (eval echo configure:4360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* cat >> confdefs.h <<\EOF #define HAVE__RTC 1 @@ -4377,12 +4319,12 @@ ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ for ac_func in mallinfo do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4381: checking for $ac_func" >&5 +echo "configure:4323: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4386 "configure" +#line 4328 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -4405,7 +4347,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:4409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -4434,12 +4376,12 @@ ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ for ac_func in mallopt do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4438: checking for $ac_func" >&5 +echo "configure:4380: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4443 "configure" +#line 4385 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -4462,7 +4404,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:4466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -4490,12 +4432,12 @@ done # Check if M_MMAP_THRESHOLD is defined echo $ac_n "checking whether M_MMAP_THRESHOLD is defined""... $ac_c" 1>&6 -echo "configure:4494: checking whether M_MMAP_THRESHOLD is defined" >&5 +echo "configure:4436: checking whether M_MMAP_THRESHOLD is defined" >&5 if eval "test \"`echo '$''{'cctk_cv_have_M_MMAP_THRESHOLD'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4499 "configure" +#line 4441 "configure" #include "confdefs.h" #include <stdlib.h> #ifdef HAVE_MALLOC_H @@ -4505,7 +4447,7 @@ int main() { int x=M_MMAP_THRESHOLD; return 0 ; return 0; } EOF -if { (eval echo configure:4509: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "cctk_cv_have_M_MMAP_THRESHOLD=yes" else @@ -4532,12 +4474,12 @@ ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ for ac_func in sched_getaffinity do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4536: checking for $ac_func" >&5 +echo "configure:4478: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4541 "configure" +#line 4483 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -4560,7 +4502,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:4564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -4589,12 +4531,12 @@ ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ for ac_func in getpid do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4593: checking for $ac_func" >&5 +echo "configure:4535: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4598 "configure" +#line 4540 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -4617,7 +4559,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:4621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -4646,19 +4588,19 @@ done # Check if we have __int64 echo $ac_n "checking if __int64 is defined""... $ac_c" 1>&6 -echo "configure:4650: checking if __int64 is defined" >&5 +echo "configure:4592: checking if __int64 is defined" >&5 if eval "test \"`echo '$''{'cctk_cv_have___int64'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4655 "configure" +#line 4597 "configure" #include "confdefs.h" int main() { __int64 foo; return 0 ; return 0; } EOF -if { (eval echo configure:4662: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "cctk_cv_have___int64=yes" else @@ -4693,12 +4635,12 @@ cross_compiling=$ac_cv_prog_cxx_cross do cctk_safe=`echo "$cctk_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $cctk_hdr""... $ac_c" 1>&6 -echo "configure:4697: checking for $cctk_hdr" >&5 +echo "configure:4639: checking for $cctk_hdr" >&5 if eval "test \"`echo '$''{'cctk_cv_header_$cctk_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4702 "configure" +#line 4644 "configure" #include "confdefs.h" #include <$cctk_hdr> @@ -4706,7 +4648,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:4710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "cctk_cv_header_$cctk_safe=yes" else @@ -4745,12 +4687,12 @@ ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ for ac_func in getopt_long_only do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4749: checking for $ac_func" >&5 +echo "configure:4691: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4754 "configure" +#line 4696 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -4773,7 +4715,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:4777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -4816,20 +4758,20 @@ else fi echo $ac_n "checking for C bool""... $ac_c" 1>&6 -echo "configure:4820: checking for C bool" >&5 +echo "configure:4762: checking for C bool" >&5 if eval "test \"`echo '$''{'cctk_cv_have_c_bool'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cctk_cv_have_c_bool=no cat > conftest.$ac_ext <<EOF -#line 4826 "configure" +#line 4768 "configure" #include "confdefs.h" int main() { bool foo; ; return 0; } EOF -if { (eval echo configure:4833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4775: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_have_c_bool=yes else @@ -4851,7 +4793,7 @@ EOF fi echo $ac_n "checking for CXX bool""... $ac_c" 1>&6 -echo "configure:4855: checking for CXX bool" >&5 +echo "configure:4797: checking for CXX bool" >&5 if eval "test \"`echo '$''{'cctk_cv_have_cxx_bool'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4865,14 +4807,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 4869 "configure" +#line 4811 "configure" #include "confdefs.h" int main() { bool foo; ; return 0; } EOF -if { (eval echo configure:4876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4818: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_have_cxx_bool=yes else @@ -4902,12 +4844,12 @@ fi echo $ac_n "checking for working const""... $ac_c" 1>&6 -echo "configure:4906: checking for working const" >&5 +echo "configure:4848: checking for working const" >&5 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4911 "configure" +#line 4853 "configure" #include "confdefs.h" int main() { @@ -4956,7 +4898,7 @@ ccp = (char const *const *) p; ; return 0; } EOF -if { (eval echo configure:4960: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4902: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_const=yes else @@ -4978,14 +4920,14 @@ fi #AC_C_INLINE echo $ac_n "checking for C inline""... $ac_c" 1>&6 -echo "configure:4982: checking for C inline" >&5 +echo "configure:4924: checking for C inline" >&5 if eval "test \"`echo '$''{'cctk_cv_c_inline'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cctk_cv_c_inline=no for ac_kw in inline __inline__ __inline '__inline__ __attribute__((__gnu_inline__))'; do cat > conftest.$ac_ext <<EOF -#line 4989 "configure" +#line 4931 "configure" #include "confdefs.h" int main() { @@ -4993,14 +4935,14 @@ foo(); ; return 0; } EOF cat > conftest2.$ac_ext <<EOF -#line 4997 "configure" +#line 4939 "configure" #include "confdefs.h" int main2() { ;} $ac_kw foo() { ; return 0; } EOF -if { (eval echo configure:5004: \"$ac_link conftest2.$ac_ext\") 1>&5; (eval $ac_link conftest2.$ac_ext) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4946: \"$ac_link conftest2.$ac_ext\") 1>&5; (eval $ac_link conftest2.$ac_ext) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* cctk_cv_c_inline=$ac_kw; break else @@ -5034,14 +4976,14 @@ EOF esac echo $ac_n "checking for C static inline""... $ac_c" 1>&6 -echo "configure:5038: checking for C static inline" >&5 +echo "configure:4980: checking for C static inline" >&5 if eval "test \"`echo '$''{'cctk_cv_c_static_inline'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cctk_cv_c_static_inline=no for ac_kw in 'static inline' 'static __inline__' 'static __inline' 'static __inline__ __attribute__((__gnu_inline__))'; do cat > conftest.$ac_ext <<EOF -#line 5045 "configure" +#line 4987 "configure" #include "confdefs.h" int main() { @@ -5049,14 +4991,14 @@ int main() { ; return 0; } EOF cat > conftest2.$ac_ext <<EOF -#line 5053 "configure" +#line 4995 "configure" #include "confdefs.h" int main2() { ;} $ac_kw ifoo(){} foo2(){ifoo(); ; return 0; } EOF -if { (eval echo configure:5060: \"$ac_link conftest2.$ac_ext\") 1>&5; (eval $ac_link conftest2.$ac_ext) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5002: \"$ac_link conftest2.$ac_ext\") 1>&5; (eval $ac_link conftest2.$ac_ext) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* cctk_cv_c_static_inline=$ac_kw; break else @@ -5082,14 +5024,14 @@ esac echo $ac_n "checking for C restrict""... $ac_c" 1>&6 -echo "configure:5086: checking for C restrict" >&5 +echo "configure:5028: checking for C restrict" >&5 if eval "test \"`echo '$''{'cctk_cv_c_restrict'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cctk_cv_c_restrict=no for ac_kw in restrict __restrict__ __restrict; do cat > conftest.$ac_ext <<EOF -#line 5093 "configure" +#line 5035 "configure" #include "confdefs.h" double * $ac_kw p1; @@ -5114,7 +5056,7 @@ double * $ac_kw v2[3]; ; return 0; } EOF -if { (eval echo configure:5118: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5060: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_c_restrict=$ac_kw; break else @@ -5144,7 +5086,7 @@ EOF esac echo $ac_n "checking for C++ restrict""... $ac_c" 1>&6 -echo "configure:5148: checking for C++ restrict" >&5 +echo "configure:5090: checking for C++ restrict" >&5 if eval "test \"`echo '$''{'cctk_cv_cxx_restrict'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5159,7 +5101,7 @@ cross_compiling=$ac_cv_prog_cxx_cross for ac_kw in restrict __restrict__ __restrict; do cat > conftest.$ac_ext <<EOF -#line 5163 "configure" +#line 5105 "configure" #include "confdefs.h" double * $ac_kw p1; @@ -5184,7 +5126,7 @@ double * $ac_kw v2[3]; ; return 0; } EOF -if { (eval echo configure:5188: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5130: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_cxx_restrict=$ac_kw; break else @@ -5225,7 +5167,7 @@ cctk_func=`echo copysign | sed 'y%./+-%__p_%'` cctk_tr_func=`echo $cctk_func | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` echo $ac_n "checking for C++ copysign""... $ac_c" 1>&6 -echo "configure:5229: checking for C++ copysign" >&5 +echo "configure:5171: checking for C++ copysign" >&5 if eval "test \"`echo '$''{'cctk_cv_cxx_$cctk_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5245,7 +5187,7 @@ for ac_nargs in 1 2; do 2) ac_args='(1.0, 1.0)'; ac_argsf='(1.0f, 1.0f)' ;; esac cat > conftest.$ac_ext <<EOF -#line 5249 "configure" +#line 5191 "configure" #include "confdefs.h" /* See note in cctk_Math.h regarding these include statements */ @@ -5266,7 +5208,7 @@ using namespace std; ; return 0; } EOF -if { (eval echo configure:5270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5212: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_cxx_func="$ac_func"; break 2 else @@ -5304,7 +5246,7 @@ cctk_func=`echo fpclassify | sed 'y%./+-%__p_%'` cctk_tr_func=`echo $cctk_func | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` echo $ac_n "checking for C++ fpclassify""... $ac_c" 1>&6 -echo "configure:5308: checking for C++ fpclassify" >&5 +echo "configure:5250: checking for C++ fpclassify" >&5 if eval "test \"`echo '$''{'cctk_cv_cxx_$cctk_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5324,7 +5266,7 @@ for ac_nargs in 1 2; do 2) ac_args='(1.0, 1.0)'; ac_argsf='(1.0f, 1.0f)' ;; esac cat > conftest.$ac_ext <<EOF -#line 5328 "configure" +#line 5270 "configure" #include "confdefs.h" /* See note in cctk_Math.h regarding these include statements */ @@ -5345,7 +5287,7 @@ using namespace std; ; return 0; } EOF -if { (eval echo configure:5349: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5291: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_cxx_func="$ac_func"; break 2 else @@ -5383,7 +5325,7 @@ cctk_func=`echo isfinite | sed 'y%./+-%__p_%'` cctk_tr_func=`echo $cctk_func | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` echo $ac_n "checking for C++ isfinite""... $ac_c" 1>&6 -echo "configure:5387: checking for C++ isfinite" >&5 +echo "configure:5329: checking for C++ isfinite" >&5 if eval "test \"`echo '$''{'cctk_cv_cxx_$cctk_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5403,7 +5345,7 @@ for ac_nargs in 1 2; do 2) ac_args='(1.0, 1.0)'; ac_argsf='(1.0f, 1.0f)' ;; esac cat > conftest.$ac_ext <<EOF -#line 5407 "configure" +#line 5349 "configure" #include "confdefs.h" /* See note in cctk_Math.h regarding these include statements */ @@ -5424,7 +5366,7 @@ using namespace std; ; return 0; } EOF -if { (eval echo configure:5428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5370: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_cxx_func="$ac_func"; break 2 else @@ -5462,7 +5404,7 @@ cctk_func=`echo isinf | sed 'y%./+-%__p_%'` cctk_tr_func=`echo $cctk_func | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` echo $ac_n "checking for C++ isinf""... $ac_c" 1>&6 -echo "configure:5466: checking for C++ isinf" >&5 +echo "configure:5408: checking for C++ isinf" >&5 if eval "test \"`echo '$''{'cctk_cv_cxx_$cctk_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5482,7 +5424,7 @@ for ac_nargs in 1 2; do 2) ac_args='(1.0, 1.0)'; ac_argsf='(1.0f, 1.0f)' ;; esac cat > conftest.$ac_ext <<EOF -#line 5486 "configure" +#line 5428 "configure" #include "confdefs.h" /* See note in cctk_Math.h regarding these include statements */ @@ -5503,7 +5445,7 @@ using namespace std; ; return 0; } EOF -if { (eval echo configure:5507: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_cxx_func="$ac_func"; break 2 else @@ -5541,7 +5483,7 @@ cctk_func=`echo isnan | sed 'y%./+-%__p_%'` cctk_tr_func=`echo $cctk_func | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` echo $ac_n "checking for C++ isnan""... $ac_c" 1>&6 -echo "configure:5545: checking for C++ isnan" >&5 +echo "configure:5487: checking for C++ isnan" >&5 if eval "test \"`echo '$''{'cctk_cv_cxx_$cctk_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5561,7 +5503,7 @@ for ac_nargs in 1 2; do 2) ac_args='(1.0, 1.0)'; ac_argsf='(1.0f, 1.0f)' ;; esac cat > conftest.$ac_ext <<EOF -#line 5565 "configure" +#line 5507 "configure" #include "confdefs.h" /* See note in cctk_Math.h regarding these include statements */ @@ -5582,7 +5524,7 @@ using namespace std; ; return 0; } EOF -if { (eval echo configure:5586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_cxx_func="$ac_func"; break 2 else @@ -5620,7 +5562,7 @@ cctk_func=`echo isnormal | sed 'y%./+-%__p_%'` cctk_tr_func=`echo $cctk_func | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` echo $ac_n "checking for C++ isnormal""... $ac_c" 1>&6 -echo "configure:5624: checking for C++ isnormal" >&5 +echo "configure:5566: checking for C++ isnormal" >&5 if eval "test \"`echo '$''{'cctk_cv_cxx_$cctk_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5640,7 +5582,7 @@ for ac_nargs in 1 2; do 2) ac_args='(1.0, 1.0)'; ac_argsf='(1.0f, 1.0f)' ;; esac cat > conftest.$ac_ext <<EOF -#line 5644 "configure" +#line 5586 "configure" #include "confdefs.h" /* See note in cctk_Math.h regarding these include statements */ @@ -5661,7 +5603,7 @@ using namespace std; ; return 0; } EOF -if { (eval echo configure:5665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5607: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_cxx_func="$ac_func"; break 2 else @@ -5699,7 +5641,7 @@ cctk_func=`echo signbit | sed 'y%./+-%__p_%'` cctk_tr_func=`echo $cctk_func | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` echo $ac_n "checking for C++ signbit""... $ac_c" 1>&6 -echo "configure:5703: checking for C++ signbit" >&5 +echo "configure:5645: checking for C++ signbit" >&5 if eval "test \"`echo '$''{'cctk_cv_cxx_$cctk_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5719,7 +5661,7 @@ for ac_nargs in 1 2; do 2) ac_args='(1.0, 1.0)'; ac_argsf='(1.0f, 1.0f)' ;; esac cat > conftest.$ac_ext <<EOF -#line 5723 "configure" +#line 5665 "configure" #include "confdefs.h" /* See note in cctk_Math.h regarding these include statements */ @@ -5740,7 +5682,7 @@ using namespace std; ; return 0; } EOF -if { (eval echo configure:5744: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5686: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_cxx_func="$ac_func"; break 2 else @@ -5776,13 +5718,13 @@ esac echo $ac_n "checking for C _Pragma""... $ac_c" 1>&6 -echo "configure:5780: checking for C _Pragma" >&5 +echo "configure:5722: checking for C _Pragma" >&5 if eval "test \"`echo '$''{'cctk_cv_have_c__Pragma'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cctk_cv_have_c__Pragma=no cat > conftest.$ac_ext <<EOF -#line 5786 "configure" +#line 5728 "configure" #include "confdefs.h" #define LOOP(i) _Pragma("omp for") for (int i=0; i<10; ++i) @@ -5797,7 +5739,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:5801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_have_c__Pragma=yes else @@ -5835,20 +5777,20 @@ fi # Find out whether the compiler supports __attribute__((noinline)) echo $ac_n "checking for C function __attribute__((__noinline__))""... $ac_c" 1>&6 -echo "configure:5839: checking for C function __attribute__((__noinline__))" >&5 +echo "configure:5781: checking for C function __attribute__((__noinline__))" >&5 if eval "test \"`echo '$''{'cctk_cv_have_c_attribute_noinline'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cctk_cv_have_c_attribute_noinline=no cat > conftest.$ac_ext <<EOF -#line 5845 "configure" +#line 5787 "configure" #include "confdefs.h" int main() { double foo (double) __attribute__((__noinline__)); ; return 0; } EOF -if { (eval echo configure:5852: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_have_c_attribute_noinline=yes else @@ -5870,7 +5812,7 @@ EOF fi echo $ac_n "checking for CXX function __attribute__((__noinline__))""... $ac_c" 1>&6 -echo "configure:5874: checking for CXX function __attribute__((__noinline__))" >&5 +echo "configure:5816: checking for CXX function __attribute__((__noinline__))" >&5 if eval "test \"`echo '$''{'cctk_cv_have_cxx_attribute_noinline'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5884,14 +5826,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 5888 "configure" +#line 5830 "configure" #include "confdefs.h" int main() { double foo (double) __attribute__((__noinline__)); ; return 0; } EOF -if { (eval echo configure:5895: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5837: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_have_cxx_attribute_noinline=yes else @@ -5920,7 +5862,7 @@ EOF fi echo $ac_n "checking for CXX member function __attribute__((__noinline__))""... $ac_c" 1>&6 -echo "configure:5924: checking for CXX member function __attribute__((__noinline__))" >&5 +echo "configure:5866: checking for CXX member function __attribute__((__noinline__))" >&5 if eval "test \"`echo '$''{'cctk_cv_have_cxx_member_attribute_noinline'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5934,14 +5876,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 5938 "configure" +#line 5880 "configure" #include "confdefs.h" int main() { struct bar { double foo (double) __attribute__((__noinline__)); }; ; return 0; } EOF -if { (eval echo configure:5945: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_have_cxx_member_attribute_noinline=yes else @@ -5972,20 +5914,20 @@ fi # Find out whether the compiler supports __attribute__((always_inline)) echo $ac_n "checking for C function __attribute__((__always_inline__))""... $ac_c" 1>&6 -echo "configure:5976: checking for C function __attribute__((__always_inline__))" >&5 +echo "configure:5918: checking for C function __attribute__((__always_inline__))" >&5 if eval "test \"`echo '$''{'cctk_cv_have_c_attribute_always_inline'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cctk_cv_have_c_attribute_always_inline=no cat > conftest.$ac_ext <<EOF -#line 5982 "configure" +#line 5924 "configure" #include "confdefs.h" int main() { double foo (double) __attribute__((__always_inline__)); ; return 0; } EOF -if { (eval echo configure:5989: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5931: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_have_c_attribute_always_inline=yes else @@ -6007,7 +5949,7 @@ EOF fi echo $ac_n "checking for CXX function __attribute__((__always_inline__))""... $ac_c" 1>&6 -echo "configure:6011: checking for CXX function __attribute__((__always_inline__))" >&5 +echo "configure:5953: checking for CXX function __attribute__((__always_inline__))" >&5 if eval "test \"`echo '$''{'cctk_cv_have_cxx_attribute_always_inline'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6021,14 +5963,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 6025 "configure" +#line 5967 "configure" #include "confdefs.h" int main() { double foo (double) __attribute__((__always_inline__)); ; return 0; } EOF -if { (eval echo configure:6032: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5974: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_have_cxx_attribute_always_inline=yes else @@ -6057,7 +5999,7 @@ EOF fi echo $ac_n "checking for CXX member function __attribute__((__always_inline__))""... $ac_c" 1>&6 -echo "configure:6061: checking for CXX member function __attribute__((__always_inline__))" >&5 +echo "configure:6003: checking for CXX member function __attribute__((__always_inline__))" >&5 if eval "test \"`echo '$''{'cctk_cv_have_cxx_member_attribute_always_inline'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6071,14 +6013,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 6075 "configure" +#line 6017 "configure" #include "confdefs.h" int main() { struct bar { double foo (double) __attribute__((__always_inline__)); }; ; return 0; } EOF -if { (eval echo configure:6082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6024: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_have_cxx_member_attribute_always_inline=yes else @@ -6109,20 +6051,20 @@ fi # Find out whether the compiler supports __attribute__((unused)) echo $ac_n "checking for C __attribute__((__unused__))""... $ac_c" 1>&6 -echo "configure:6113: checking for C __attribute__((__unused__))" >&5 +echo "configure:6055: checking for C __attribute__((__unused__))" >&5 if eval "test \"`echo '$''{'cctk_cv_have_c_attribute_unused'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cctk_cv_have_c_attribute_unused=no cat > conftest.$ac_ext <<EOF -#line 6119 "configure" +#line 6061 "configure" #include "confdefs.h" int main() { double * foo __attribute__((__unused__)); ; return 0; } EOF -if { (eval echo configure:6126: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_have_c_attribute_unused=yes else @@ -6144,7 +6086,7 @@ EOF fi echo $ac_n "checking for CXX __attribute__((__unused__))""... $ac_c" 1>&6 -echo "configure:6148: checking for CXX __attribute__((__unused__))" >&5 +echo "configure:6090: checking for CXX __attribute__((__unused__))" >&5 if eval "test \"`echo '$''{'cctk_cv_have_cxx_attribute_unused'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6158,14 +6100,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 6162 "configure" +#line 6104 "configure" #include "confdefs.h" int main() { double * foo __attribute__((__unused__)); ; return 0; } EOF -if { (eval echo configure:6169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6111: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_have_cxx_attribute_unused=yes else @@ -6196,20 +6138,20 @@ fi # Find out whether the compiler supports __attribute__((aligned(...))) echo $ac_n "checking for C __attribute__((__aligned__(...)))""... $ac_c" 1>&6 -echo "configure:6200: checking for C __attribute__((__aligned__(...)))" >&5 +echo "configure:6142: checking for C __attribute__((__aligned__(...)))" >&5 if eval "test \"`echo '$''{'cctk_cv_have_c_attribute_aligned'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cctk_cv_have_c_attribute_aligned=no cat > conftest.$ac_ext <<EOF -#line 6206 "configure" +#line 6148 "configure" #include "confdefs.h" int main() { double * foo __attribute__((__aligned__(16))); ; return 0; } EOF -if { (eval echo configure:6213: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6155: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_have_c_attribute_aligned=yes else @@ -6231,7 +6173,7 @@ EOF fi echo $ac_n "checking for CXX __attribute__((__aligned__(...)))""... $ac_c" 1>&6 -echo "configure:6235: checking for CXX __attribute__((__aligned__(...)))" >&5 +echo "configure:6177: checking for CXX __attribute__((__aligned__(...)))" >&5 if eval "test \"`echo '$''{'cctk_cv_have_cxx_attribute_aligned'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6245,14 +6187,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 6249 "configure" +#line 6191 "configure" #include "confdefs.h" int main() { double * foo __attribute__((__aligned__(16))); ; return 0; } EOF -if { (eval echo configure:6256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6198: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_have_cxx_attribute_aligned=yes else @@ -6283,20 +6225,20 @@ fi # Find out whether the compiler supports __attribute__((cold)) echo $ac_n "checking for C __attribute__((__cold__))""... $ac_c" 1>&6 -echo "configure:6287: checking for C __attribute__((__cold__))" >&5 +echo "configure:6229: checking for C __attribute__((__cold__))" >&5 if eval "test \"`echo '$''{'cctk_cv_have_c_attribute_cold'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cctk_cv_have_c_attribute_cold=no cat > conftest.$ac_ext <<EOF -#line 6293 "configure" +#line 6235 "configure" #include "confdefs.h" int main() { double * foo __attribute__((__cold__)); ; return 0; } EOF -if { (eval echo configure:6300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6242: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_have_c_attribute_cold=yes else @@ -6318,7 +6260,7 @@ EOF fi echo $ac_n "checking for CXX __attribute__((__cold__))""... $ac_c" 1>&6 -echo "configure:6322: checking for CXX __attribute__((__cold__))" >&5 +echo "configure:6264: checking for CXX __attribute__((__cold__))" >&5 if eval "test \"`echo '$''{'cctk_cv_have_cxx_attribute_cold'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6332,14 +6274,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 6336 "configure" +#line 6278 "configure" #include "confdefs.h" int main() { double * foo __attribute__((__cold__)); ; return 0; } EOF -if { (eval echo configure:6343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6285: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_have_cxx_attribute_cold=yes else @@ -6370,20 +6312,20 @@ fi # Find out whether the compiler supports __attribute__((hot)) echo $ac_n "checking for C __attribute__((__hot__))""... $ac_c" 1>&6 -echo "configure:6374: checking for C __attribute__((__hot__))" >&5 +echo "configure:6316: checking for C __attribute__((__hot__))" >&5 if eval "test \"`echo '$''{'cctk_cv_have_c_attribute_hot'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cctk_cv_have_c_attribute_hot=no cat > conftest.$ac_ext <<EOF -#line 6380 "configure" +#line 6322 "configure" #include "confdefs.h" int main() { double * foo __attribute__((__hot__)); ; return 0; } EOF -if { (eval echo configure:6387: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6329: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_have_c_attribute_hot=yes else @@ -6405,7 +6347,7 @@ EOF fi echo $ac_n "checking for CXX __attribute__((__hot__))""... $ac_c" 1>&6 -echo "configure:6409: checking for CXX __attribute__((__hot__))" >&5 +echo "configure:6351: checking for CXX __attribute__((__hot__))" >&5 if eval "test \"`echo '$''{'cctk_cv_have_cxx_attribute_hot'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6419,14 +6361,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 6423 "configure" +#line 6365 "configure" #include "confdefs.h" int main() { double * foo __attribute__((__hot__)); ; return 0; } EOF -if { (eval echo configure:6430: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_have_cxx_attribute_hot=yes else @@ -6457,20 +6399,20 @@ fi # Find out whether the compiler supports __attribute__((format(...))) echo $ac_n "checking for C __attribute__((__format__(printf, 1, 2)))""... $ac_c" 1>&6 -echo "configure:6461: checking for C __attribute__((__format__(printf, 1, 2)))" >&5 +echo "configure:6403: checking for C __attribute__((__format__(printf, 1, 2)))" >&5 if eval "test \"`echo '$''{'cctk_cv_have_c_attribute_format'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cctk_cv_have_c_attribute_format=no cat > conftest.$ac_ext <<EOF -#line 6467 "configure" +#line 6409 "configure" #include "confdefs.h" void xyzzy(const char*, ...) __attribute__((__format__(printf, 1, 2))); int main() { xyzzy("%d",42); ; return 0; } EOF -if { (eval echo configure:6474: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6416: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_have_c_attribute_format=yes else @@ -6492,7 +6434,7 @@ EOF fi echo $ac_n "checking for CXX __attribute__((__format__(printf, 1, 2)))""... $ac_c" 1>&6 -echo "configure:6496: checking for CXX __attribute__((__format__(printf, 1, 2)))" >&5 +echo "configure:6438: checking for CXX __attribute__((__format__(printf, 1, 2)))" >&5 if eval "test \"`echo '$''{'cctk_cv_have_cxx_attribute_format'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6506,14 +6448,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 6510 "configure" +#line 6452 "configure" #include "confdefs.h" void xyzzy(const char*, ...) __attribute__((__format__(printf, 1, 2))); int main() { xyzzy("%d",42); ; return 0; } EOF -if { (eval echo configure:6517: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_have_cxx_attribute_format=yes else @@ -6544,20 +6486,20 @@ fi # Find out whether the compiler supports __attribute__((noreturn)) echo $ac_n "checking for C __attribute__((__noreturn__))""... $ac_c" 1>&6 -echo "configure:6548: checking for C __attribute__((__noreturn__))" >&5 +echo "configure:6490: checking for C __attribute__((__noreturn__))" >&5 if eval "test \"`echo '$''{'cctk_cv_have_c_attribute_noreturn'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cctk_cv_have_c_attribute_noreturn=no cat > conftest.$ac_ext <<EOF -#line 6554 "configure" +#line 6496 "configure" #include "confdefs.h" void xyzzy(void) __attribute__((__noreturn__)); int main() { xyzzy() ; return 0; } EOF -if { (eval echo configure:6561: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_have_c_attribute_noreturn=yes else @@ -6579,7 +6521,7 @@ EOF fi echo $ac_n "checking for CXX __attribute__((__noreturn__))""... $ac_c" 1>&6 -echo "configure:6583: checking for CXX __attribute__((__noreturn__))" >&5 +echo "configure:6525: checking for CXX __attribute__((__noreturn__))" >&5 if eval "test \"`echo '$''{'cctk_cv_have_cxx_attribute_noreturn'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6593,14 +6535,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 6597 "configure" +#line 6539 "configure" #include "confdefs.h" void xyzzy(void) __attribute__((__noreturn__)); int main() { xyzzy() ; return 0; } EOF -if { (eval echo configure:6604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6546: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_have_cxx_attribute_noreturn=yes else @@ -6631,20 +6573,20 @@ fi # Find out whether the compiler supports __builtin_expect echo $ac_n "checking for C __builtin_expect""... $ac_c" 1>&6 -echo "configure:6635: checking for C __builtin_expect" >&5 +echo "configure:6577: checking for C __builtin_expect" >&5 if eval "test \"`echo '$''{'cctk_cv_have_c_builtin_expect'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cctk_cv_have_c_builtin_expect=no cat > conftest.$ac_ext <<EOF -#line 6641 "configure" +#line 6583 "configure" #include "confdefs.h" int main() { __builtin_expect(0,0); ; return 0; } EOF -if { (eval echo configure:6648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* cctk_cv_have_c_builtin_expect=yes else @@ -6666,7 +6608,7 @@ EOF fi echo $ac_n "checking for CXX __builtin_expect""... $ac_c" 1>&6 -echo "configure:6670: checking for CXX __builtin_expect" >&5 +echo "configure:6612: checking for CXX __builtin_expect" >&5 if eval "test \"`echo '$''{'cctk_cv_have_cxx_builtin_expect'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6680,14 +6622,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 6684 "configure" +#line 6626 "configure" #include "confdefs.h" int main() { __builtin_expect(0,0); ; return 0; } EOF -if { (eval echo configure:6691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* cctk_cv_have_cxx_builtin_expect=yes else @@ -6718,20 +6660,20 @@ fi # Find out whether the compiler supports __builtin_unreachable echo $ac_n "checking for C __builtin_unreachable""... $ac_c" 1>&6 -echo "configure:6722: checking for C __builtin_unreachable" >&5 +echo "configure:6664: checking for C __builtin_unreachable" >&5 if eval "test \"`echo '$''{'cctk_cv_have_c_builtin_unreachable'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cctk_cv_have_c_builtin_unreachable=no cat > conftest.$ac_ext <<EOF -#line 6728 "configure" +#line 6670 "configure" #include "confdefs.h" int main() { __builtin_unreachable(); ; return 0; } EOF -if { (eval echo configure:6735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* cctk_cv_have_c_builtin_unreachable=yes else @@ -6753,7 +6695,7 @@ EOF fi echo $ac_n "checking for CXX __builtin_unreachable""... $ac_c" 1>&6 -echo "configure:6757: checking for CXX __builtin_unreachable" >&5 +echo "configure:6699: checking for CXX __builtin_unreachable" >&5 if eval "test \"`echo '$''{'cctk_cv_have_cxx_builtin_unreachable'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6767,14 +6709,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 6771 "configure" +#line 6713 "configure" #include "confdefs.h" int main() { __builtin_unreachable(); ; return 0; } EOF -if { (eval echo configure:6778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* cctk_cv_have_cxx_builtin_unreachable=yes else @@ -6805,13 +6747,13 @@ fi # Find out whether the compiler supports __builtin_assume_aligned echo $ac_n "checking for C __builtin_assume_aligned""... $ac_c" 1>&6 -echo "configure:6809: checking for C __builtin_assume_aligned" >&5 +echo "configure:6751: checking for C __builtin_assume_aligned" >&5 if eval "test \"`echo '$''{'cctk_cv_have_c_builtin_assume_aligned'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cctk_cv_have_c_builtin_assume_aligned=no cat > conftest.$ac_ext <<EOF -#line 6815 "configure" +#line 6757 "configure" #include "confdefs.h" int main() { @@ -6820,7 +6762,7 @@ __builtin_assume_aligned((void*)1001, 10, 1); ; return 0; } EOF -if { (eval echo configure:6824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* cctk_cv_have_c_builtin_assume_aligned=yes else @@ -6842,7 +6784,7 @@ EOF fi echo $ac_n "checking for CXX __builtin_assume_aligned""... $ac_c" 1>&6 -echo "configure:6846: checking for CXX __builtin_assume_aligned" >&5 +echo "configure:6788: checking for CXX __builtin_assume_aligned" >&5 if eval "test \"`echo '$''{'cctk_cv_have_cxx_builtin_assume_aligned'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6856,7 +6798,7 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 6860 "configure" +#line 6802 "configure" #include "confdefs.h" int main() { @@ -6865,7 +6807,7 @@ __builtin_assume_aligned((void*)1001, 10, 1); ; return 0; } EOF -if { (eval echo configure:6869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* cctk_cv_have_cxx_builtin_assume_aligned=yes else @@ -6896,7 +6838,7 @@ fi # Find out whether the compiler supports static_assert echo $ac_n "checking for CXX static_assert""... $ac_c" 1>&6 -echo "configure:6900: checking for CXX static_assert" >&5 +echo "configure:6842: checking for CXX static_assert" >&5 if eval "test \"`echo '$''{'cctk_cv_have_cxx_static_assert'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6910,14 +6852,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 6914 "configure" +#line 6856 "configure" #include "confdefs.h" int main() { static_assert(1, "good"); ; return 0; } EOF -if { (eval echo configure:6921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* cctk_cv_have_cxx_static_assert=yes else @@ -6952,7 +6894,7 @@ fi COMPLEX32_KIND=$(( $REAL16_KIND * 2 )) echo $ac_n "checking for Fortran REAL*4""... $ac_c" 1>&6 -echo "configure:6956: checking for Fortran REAL*4" >&5 +echo "configure:6898: checking for Fortran REAL*4" >&5 if eval "test \"`echo '$''{'cctk_cv_have_fortran_real4'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6969,7 +6911,7 @@ cat > conftest.$ac_ext <<EOF REAL*4 a end EOF -if { (eval echo configure:6973: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_have_fortran_real4=yes else @@ -6998,7 +6940,7 @@ EOF fi echo $ac_n "checking for Fortran REAL*8""... $ac_c" 1>&6 -echo "configure:7002: checking for Fortran REAL*8" >&5 +echo "configure:6944: checking for Fortran REAL*8" >&5 if eval "test \"`echo '$''{'cctk_cv_have_fortran_real8'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7015,7 +6957,7 @@ cat > conftest.$ac_ext <<EOF REAL*8 a end EOF -if { (eval echo configure:7019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_have_fortran_real8=yes else @@ -7044,7 +6986,7 @@ EOF fi echo $ac_n "checking for Fortran REAL*16""... $ac_c" 1>&6 -echo "configure:7048: checking for Fortran REAL*16" >&5 +echo "configure:6990: checking for Fortran REAL*16" >&5 if eval "test \"`echo '$''{'cctk_cv_have_fortran_real16'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7061,7 +7003,7 @@ cat > conftest.$ac_ext <<EOF REAL*$REAL16_KIND a end EOF -if { (eval echo configure:7065: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:7007: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_have_fortran_real16=yes else @@ -7091,7 +7033,7 @@ fi echo $ac_n "checking for Fortran COMPLEX*8""... $ac_c" 1>&6 -echo "configure:7095: checking for Fortran COMPLEX*8" >&5 +echo "configure:7037: checking for Fortran COMPLEX*8" >&5 if eval "test \"`echo '$''{'cctk_cv_have_fortran_complex8'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7108,7 +7050,7 @@ cat > conftest.$ac_ext <<EOF COMPLEX*8 a end EOF -if { (eval echo configure:7112: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:7054: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_have_fortran_complex8=yes else @@ -7137,7 +7079,7 @@ EOF fi echo $ac_n "checking for Fortran COMPLEX*16""... $ac_c" 1>&6 -echo "configure:7141: checking for Fortran COMPLEX*16" >&5 +echo "configure:7083: checking for Fortran COMPLEX*16" >&5 if eval "test \"`echo '$''{'cctk_cv_have_fortran_complex16'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7154,7 +7096,7 @@ cat > conftest.$ac_ext <<EOF COMPLEX*16 a end EOF -if { (eval echo configure:7158: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:7100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_have_fortran_complex16=yes else @@ -7183,7 +7125,7 @@ EOF fi echo $ac_n "checking for Fortran COMPLEX*32""... $ac_c" 1>&6 -echo "configure:7187: checking for Fortran COMPLEX*32" >&5 +echo "configure:7129: checking for Fortran COMPLEX*32" >&5 if eval "test \"`echo '$''{'cctk_cv_have_fortran_complex32'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7200,7 +7142,7 @@ cat > conftest.$ac_ext <<EOF COMPLEX*$COMPLEX32_KIND a end EOF -if { (eval echo configure:7204: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:7146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cctk_cv_have_fortran_complex32=yes else @@ -7247,12 +7189,12 @@ for cctk_hdr in cxxabi.h do cctk_safe=`echo "$cctk_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $cctk_hdr""... $ac_c" 1>&6 -echo "configure:7251: checking for $cctk_hdr" >&5 +echo "configure:7193: checking for $cctk_hdr" >&5 if eval "test \"`echo '$''{'cctk_cv_header_$cctk_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 7256 "configure" +#line 7198 "configure" #include "confdefs.h" #include <$cctk_hdr> @@ -7260,7 +7202,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:7264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:7206: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "cctk_cv_header_$cctk_safe=yes" else @@ -7284,19 +7226,19 @@ fi done echo $ac_n "checking for __cxa_demangle""... $ac_c" 1>&6 -echo "configure:7288: checking for __cxa_demangle" >&5 +echo "configure:7230: checking for __cxa_demangle" >&5 if eval "test \"`echo '$''{'cctk_cv_have___cxa_demangle'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 7293 "configure" +#line 7235 "configure" #include "confdefs.h" #include <cxxabi.h> int main() { abi::__cxa_demangle(0,0,0,0) ; return 0; } EOF -if { (eval echo configure:7300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:7242: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "cctk_cv_have___cxa_demangle=yes" else @@ -7328,12 +7270,12 @@ cross_compiling=$ac_cv_prog_cc_cross ac_member_var=`echo Dl_info'_'dli_sname | sed 'y% %_%'` echo $ac_n "checking for Dl_info.dli_sname""... $ac_c" 1>&6 -echo "configure:7332: checking for Dl_info.dli_sname" >&5 +echo "configure:7274: checking for Dl_info.dli_sname" >&5 if eval "test \"`echo '$''{'ac_cv_member_$ac_member_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 7337 "configure" +#line 7279 "configure" #include "confdefs.h" #define _GNU_SOURCE 1 #include <dlfcn.h> @@ -7343,7 +7285,7 @@ if (ac_aggr.dli_sname) return 0; ; return 0; } EOF -if { (eval echo configure:7347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:7289: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "ac_cv_member_$ac_member_var=yes" else @@ -7355,7 +7297,7 @@ fi rm -f conftest* if eval "test \"`echo '$''{'ac_cv_member_$ac_member_var'}'`\" = no"; then cat > conftest.$ac_ext <<EOF -#line 7359 "configure" +#line 7301 "configure" #include "confdefs.h" #define _GNU_SOURCE 1 #include <dlfcn.h> @@ -7365,7 +7307,7 @@ if (sizeof ac_aggr.dli_sname) return 0; ; return 0; } EOF -if { (eval echo configure:7369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:7311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "ac_cv_member_$ac_member_var=yes" else @@ -7383,12 +7325,12 @@ if eval "test \"`echo '$ac_cv_member_'$ac_member_var`\" = yes"; then for ac_func in dladdr do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:7387: checking for $ac_func" >&5 +echo "configure:7329: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 7392 "configure" +#line 7334 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -7411,7 +7353,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:7415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -7433,7 +7375,7 @@ EOF else echo "$ac_t""no" 1>&6 echo $ac_n "checking for dladdr in library dl""... $ac_c" 1>&6 -echo "configure:7437: checking for dladdr in library dl" >&5 +echo "configure:7379: checking for dladdr in library dl" >&5 ac_lib_var=`echo dl'_'dladdr | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -7442,7 +7384,7 @@ else ac_save_LIBS="$LIBS" LIBS="dl $LIBS" cat > conftest.$ac_ext <<EOF -#line 7446 "configure" +#line 7388 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -7453,7 +7395,7 @@ int main() { dladdr() ; return 0; } EOF -if { (eval echo configure:7457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -7501,12 +7443,12 @@ ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ for ac_func in backtrace do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:7505: checking for $ac_func" >&5 +echo "configure:7447: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 7510 "configure" +#line 7452 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -7529,7 +7471,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:7533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -7559,12 +7501,12 @@ ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ for ac_func in backtrace_symbols do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:7563: checking for $ac_func" >&5 +echo "configure:7505: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 7568 "configure" +#line 7510 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -7587,7 +7529,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:7591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -7617,12 +7559,12 @@ ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ for ac_func in crypt do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:7621: checking for $ac_func" >&5 +echo "configure:7563: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 7626 "configure" +#line 7568 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -7645,7 +7587,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:7649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -7667,7 +7609,7 @@ EOF else echo "$ac_t""no" 1>&6 echo $ac_n "checking for crypt in library crypt""... $ac_c" 1>&6 -echo "configure:7671: checking for crypt in library crypt" >&5 +echo "configure:7613: checking for crypt in library crypt" >&5 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -7676,7 +7618,7 @@ else ac_save_LIBS="$LIBS" LIBS="crypt $LIBS" cat > conftest.$ac_ext <<EOF -#line 7680 "configure" +#line 7622 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -7687,7 +7629,7 @@ int main() { crypt() ; return 0; } EOF -if { (eval echo configure:7691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -7727,7 +7669,7 @@ done echo $ac_n "checking for finite in header math.h and library m""... $ac_c" 1>&6 -echo "configure:7731: checking for finite in header math.h and library m" >&5 +echo "configure:7673: checking for finite in header math.h and library m" >&5 ac_lib_var=`echo math.h'_'m'_'finite | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -7736,7 +7678,7 @@ else ac_save_LIBS="$LIBS" LIBS="m $LIBS" cat > conftest.$ac_ext <<EOF -#line 7740 "configure" +#line 7682 "configure" #include "confdefs.h" #include <math.h> @@ -7744,7 +7686,7 @@ int main() { finite (1.0) ; return 0; } EOF -if { (eval echo configure:7748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -7785,7 +7727,7 @@ fi echo $ac_n "checking for copysign in header math.h and library m""... $ac_c" 1>&6 -echo "configure:7789: checking for copysign in header math.h and library m" >&5 +echo "configure:7731: checking for copysign in header math.h and library m" >&5 ac_lib_var=`echo math.h'_'m'_'copysign | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -7794,7 +7736,7 @@ else ac_save_LIBS="$LIBS" LIBS="m $LIBS" cat > conftest.$ac_ext <<EOF -#line 7798 "configure" +#line 7740 "configure" #include "confdefs.h" #include <math.h> @@ -7802,7 +7744,7 @@ int main() { copysign (1.0, 1.0) ; return 0; } EOF -if { (eval echo configure:7806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -7843,7 +7785,7 @@ fi echo $ac_n "checking for fpclassify in header math.h and library m""... $ac_c" 1>&6 -echo "configure:7847: checking for fpclassify in header math.h and library m" >&5 +echo "configure:7789: checking for fpclassify in header math.h and library m" >&5 ac_lib_var=`echo math.h'_'m'_'fpclassify | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -7852,7 +7794,7 @@ else ac_save_LIBS="$LIBS" LIBS="m $LIBS" cat > conftest.$ac_ext <<EOF -#line 7856 "configure" +#line 7798 "configure" #include "confdefs.h" #include <math.h> @@ -7860,7 +7802,7 @@ int main() { fpclassify (1.0) ; return 0; } EOF -if { (eval echo configure:7864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -7901,7 +7843,7 @@ fi echo $ac_n "checking for isfinite in header math.h and library m""... $ac_c" 1>&6 -echo "configure:7905: checking for isfinite in header math.h and library m" >&5 +echo "configure:7847: checking for isfinite in header math.h and library m" >&5 ac_lib_var=`echo math.h'_'m'_'isfinite | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -7910,7 +7852,7 @@ else ac_save_LIBS="$LIBS" LIBS="m $LIBS" cat > conftest.$ac_ext <<EOF -#line 7914 "configure" +#line 7856 "configure" #include "confdefs.h" #include <math.h> @@ -7918,7 +7860,7 @@ int main() { isfinite (1.0) ; return 0; } EOF -if { (eval echo configure:7922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -7959,7 +7901,7 @@ fi echo $ac_n "checking for isinf in header math.h and library m""... $ac_c" 1>&6 -echo "configure:7963: checking for isinf in header math.h and library m" >&5 +echo "configure:7905: checking for isinf in header math.h and library m" >&5 ac_lib_var=`echo math.h'_'m'_'isinf | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -7968,7 +7910,7 @@ else ac_save_LIBS="$LIBS" LIBS="m $LIBS" cat > conftest.$ac_ext <<EOF -#line 7972 "configure" +#line 7914 "configure" #include "confdefs.h" #include <math.h> @@ -7976,7 +7918,7 @@ int main() { isinf (1.0) ; return 0; } EOF -if { (eval echo configure:7980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -8017,7 +7959,7 @@ fi echo $ac_n "checking for isnan in header math.h and library m""... $ac_c" 1>&6 -echo "configure:8021: checking for isnan in header math.h and library m" >&5 +echo "configure:7963: checking for isnan in header math.h and library m" >&5 ac_lib_var=`echo math.h'_'m'_'isnan | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -8026,7 +7968,7 @@ else ac_save_LIBS="$LIBS" LIBS="m $LIBS" cat > conftest.$ac_ext <<EOF -#line 8030 "configure" +#line 7972 "configure" #include "confdefs.h" #include <math.h> @@ -8034,7 +7976,7 @@ int main() { isnan (1.0) ; return 0; } EOF -if { (eval echo configure:8038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -8075,7 +8017,7 @@ fi echo $ac_n "checking for isnormal in header math.h and library m""... $ac_c" 1>&6 -echo "configure:8079: checking for isnormal in header math.h and library m" >&5 +echo "configure:8021: checking for isnormal in header math.h and library m" >&5 ac_lib_var=`echo math.h'_'m'_'isnormal | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -8084,7 +8026,7 @@ else ac_save_LIBS="$LIBS" LIBS="m $LIBS" cat > conftest.$ac_ext <<EOF -#line 8088 "configure" +#line 8030 "configure" #include "confdefs.h" #include <math.h> @@ -8092,7 +8034,7 @@ int main() { isnormal (1.0) ; return 0; } EOF -if { (eval echo configure:8096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:8038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -8133,7 +8075,7 @@ fi echo $ac_n "checking for signbit in header math.h and library m""... $ac_c" 1>&6 -echo "configure:8137: checking for signbit in header math.h and library m" >&5 +echo "configure:8079: checking for signbit in header math.h and library m" >&5 ac_lib_var=`echo math.h'_'m'_'signbit | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -8142,7 +8084,7 @@ else ac_save_LIBS="$LIBS" LIBS="m $LIBS" cat > conftest.$ac_ext <<EOF -#line 8146 "configure" +#line 8088 "configure" #include "confdefs.h" #include <math.h> @@ -8150,7 +8092,7 @@ int main() { signbit (1.0) ; return 0; } EOF -if { (eval echo configure:8154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:8096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -8195,12 +8137,12 @@ ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ for ac_func in mkstemp do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:8199: checking for $ac_func" >&5 +echo "configure:8141: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 8204 "configure" +#line 8146 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -8223,7 +8165,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:8227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:8169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -8245,7 +8187,7 @@ EOF else echo "$ac_t""no" 1>&6 echo $ac_n "checking for mkstemp in library c""... $ac_c" 1>&6 -echo "configure:8249: checking for mkstemp in library c" >&5 +echo "configure:8191: checking for mkstemp in library c" >&5 ac_lib_var=`echo c'_'mkstemp | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -8254,18 +8196,18 @@ else ac_save_LIBS="$LIBS" LIBS="c $LIBS" cat > conftest.$ac_ext <<EOF -#line 8258 "configure" +#line 8200 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ -char PMHTlY; +char Iwu9wF; int main() { mkstemp() ; return 0; } EOF -if { (eval echo configure:8269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:8211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -8305,19 +8247,19 @@ done echo $ac_n "checking for va_copy""... $ac_c" 1>&6 -echo "configure:8309: checking for va_copy" >&5 +echo "configure:8251: checking for va_copy" >&5 if eval "test \"`echo '$''{'cctk_cv_have_va_copy'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 8314 "configure" +#line 8256 "configure" #include "confdefs.h" #include <stdarg.h> int main() { va_list src, dest; va_copy(dest, src); return 0 ; return 0; } EOF -if { (eval echo configure:8321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:8263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "cctk_cv_have_va_copy=yes" else @@ -8356,7 +8298,7 @@ if test "$PTHREADS_MODE" = 'yes'; then if test -z "$PTHREAD_LIBS"; then PTHREAD_LIBS= echo $ac_n "checking for main in library c_r""... $ac_c" 1>&6 -echo "configure:8360: checking for main in library c_r" >&5 +echo "configure:8302: checking for main in library c_r" >&5 ac_lib_var=`echo c_r'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -8365,14 +8307,14 @@ else ac_save_LIBS="$LIBS" LIBS="c_r $LIBS" cat > conftest.$ac_ext <<EOF -#line 8369 "configure" +#line 8311 "configure" #include "confdefs.h" int main() { main() ; return 0; } EOF -if { (eval echo configure:8376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:8318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -8393,7 +8335,7 @@ else fi echo $ac_n "checking for main in library pthread""... $ac_c" 1>&6 -echo "configure:8397: checking for main in library pthread" >&5 +echo "configure:8339: checking for main in library pthread" >&5 ac_lib_var=`echo pthread'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -8402,14 +8344,14 @@ else ac_save_LIBS="$LIBS" LIBS="pthread $LIBS" cat > conftest.$ac_ext <<EOF -#line 8406 "configure" +#line 8348 "configure" #include "confdefs.h" int main() { main() ; return 0; } EOF -if { (eval echo configure:8413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:8355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -8428,7 +8370,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then else echo "$ac_t""no" 1>&6 echo $ac_n "checking for main in library pthreads""... $ac_c" 1>&6 -echo "configure:8432: checking for main in library pthreads" >&5 +echo "configure:8374: checking for main in library pthreads" >&5 ac_lib_var=`echo pthreads'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -8437,14 +8379,14 @@ else ac_save_LIBS="$LIBS" LIBS="pthreads $LIBS" cat > conftest.$ac_ext <<EOF -#line 8441 "configure" +#line 8383 "configure" #include "confdefs.h" int main() { main() ; return 0; } EOF -if { (eval echo configure:8448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:8390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -8601,7 +8543,7 @@ if test "x$DISABLE_REAL16" != 'xyes' -a "x$DISABLE_REAL16" != 'xno' -a "x$DISABL { echo "configure: error: Didn't recognise setting of DISABLE_REAL16=\"$DISABLE_REAL16\"; should be either \"yes\" or \"no\" or \"\" (empty)" 1>&2; exit 1; } fi -if test -n "$CCTK_REAL16_TYPE" -a \( "x$F77" = 'xnone' -o \( "x$cctk_cv_have_fortran_real16" = 'xyes' -a "x$cctk_cv_have_fortran_complex32" = 'xyes' \) \) -a "x$DISABLE_REAL16" != 'xyes' ; then +if test -n "$CCTK_REAL16_TYPE" -a "x$cctk_cv_have_fortran_real16" = 'xyes' -a "x$cctk_cv_have_fortran_complex32" = 'xyes' -a "x$DISABLE_REAL16" != 'xyes' ; then cat >> confdefs.h <<EOF #define CCTK_REAL16_TYPE $CCTK_REAL16_TYPE EOF @@ -8620,7 +8562,7 @@ EOF fi -if test -n "$CCTK_REAL8_TYPE" -a \( "x$F77" = 'xnone' -o \( "x$cctk_cv_have_fortran_real8" -a "x$cctk_cv_have_fortran_complex16" = 'xyes' \) \); then +if test -n "$CCTK_REAL8_TYPE" -a "x$cctk_cv_have_fortran_real8" -a "x$cctk_cv_have_fortran_complex16" = 'xyes' ; then cat >> confdefs.h <<EOF #define CCTK_REAL8_TYPE $CCTK_REAL8_TYPE EOF @@ -8631,7 +8573,7 @@ EOF fi -if test -n "$CCTK_REAL4_TYPE" -a \( "x$F77" = 'xnone' -o \( "x$cctk_cv_have_fortran_real4" = 'xyes' -a "x$cctk_cv_have_fortran_complex8" = 'xyes' \) \); then +if test -n "$CCTK_REAL4_TYPE" -a "x$cctk_cv_have_fortran_real4" = 'xyes' -a "x$cctk_cv_have_fortran_complex8" = 'xyes' ; then cat >> confdefs.h <<EOF #define CCTK_REAL4_TYPE $CCTK_REAL4_TYPE EOF @@ -8840,14 +8782,14 @@ LDFLAGS="$LDFLAGS $KNOWN_LDFLAGS" : ${CUCC_DEPEND_OUT=' > $@'} -: ${F77_DEPEND='$(FPP) -M $(FPPFLAGS)'} +: ${F_DEPEND='$(FPP) -M $(FPPFLAGS)'} -: ${F77_DEPEND_OUT=' > $@'} +: ${F_DEPEND_OUT=' > $@'} -: ${F_DEPEND='$(FPP) -M $(FPPFLAGS)'} +F77_DEPEND="$F_DEPEND" -: ${F_DEPEND_OUT=' > $@'} +F77_DEPEND_OUT="$F_DEPEND_OUT" # How to generate F90 dependency info for modules @@ -8865,10 +8807,10 @@ LDFLAGS="$LDFLAGS $KNOWN_LDFLAGS" : ${CUCC_POSTPROCESSING=''} -: ${F77_POSTPROCESSING=''} - : ${F_POSTPROCESSING=''} +F77_POSTPROCESSING="$F_POSTPROCESSING" + : ${F90_POSTPROCESSING=''} # How to generate an intermediate C++ name (some compilers are very picky). @@ -8954,7 +8896,7 @@ if test "x$CCTK_NEED_X" = 'xyes' ; then # Uses ac_ vars as temps to allow command line to override cache and checks. # --without-x overrides everything else, but does not touch the cache. echo $ac_n "checking for X""... $ac_c" 1>&6 -echo "configure:8958: checking for X" >&5 +echo "configure:8900: checking for X" >&5 # Check whether --with-x or --without-x was given. if test "${with_x+set}" = set; then @@ -9016,12 +8958,12 @@ if test "$ac_x_includes" = NO; then # First, try using that file with no special directory specified. cat > conftest.$ac_ext <<EOF -#line 9020 "configure" +#line 8962 "configure" #include "confdefs.h" #include <$x_direct_test_include> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:9025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:8967: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -9090,14 +9032,14 @@ if test "$ac_x_libraries" = NO; then ac_save_LIBS="$LIBS" LIBS="-l$x_direct_test_library $LIBS" cat > conftest.$ac_ext <<EOF -#line 9094 "configure" +#line 9036 "configure" #include "confdefs.h" int main() { ${x_direct_test_function}() ; return 0; } EOF -if { (eval echo configure:9101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:9043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* LIBS="$ac_save_LIBS" # We can link X programs with no special library path. @@ -9350,7 +9292,6 @@ s%@GZIP_CMD@%$GZIP_CMD%g s%@PATCH@%$PATCH%g s%@GIT@%$GIT%g s%@F90@%$F90%g -s%@F77@%$F77%g s%@AR@%$AR%g s%@MKDIR@%$MKDIR%g s%@LD@%$LD%g @@ -9360,45 +9301,46 @@ s%@FPP_WARN_FLAGS@%$FPP_WARN_FLAGS%g s%@C_WARN_FLAGS@%$C_WARN_FLAGS%g s%@CXX_WARN_FLAGS@%$CXX_WARN_FLAGS%g s%@CUCC_WARN_FLAGS@%$CUCC_WARN_FLAGS%g -s%@F77_WARN_FLAGS@%$F77_WARN_FLAGS%g s%@F90_WARN_FLAGS@%$F90_WARN_FLAGS%g +s%@F77_WARN_FLAGS@%$F77_WARN_FLAGS%g s%@DEBUG_MODE@%$DEBUG_MODE%g s%@CPP_DEBUG_FLAGS@%$CPP_DEBUG_FLAGS%g s%@FPP_DEBUG_FLAGS@%$FPP_DEBUG_FLAGS%g s%@C_DEBUG_FLAGS@%$C_DEBUG_FLAGS%g s%@CXX_DEBUG_FLAGS@%$CXX_DEBUG_FLAGS%g s%@CUCC_DEBUG_FLAGS@%$CUCC_DEBUG_FLAGS%g -s%@F77_DEBUG_FLAGS@%$F77_DEBUG_FLAGS%g s%@F90_DEBUG_FLAGS@%$F90_DEBUG_FLAGS%g +s%@F77_DEBUG_FLAGS@%$F77_DEBUG_FLAGS%g s%@OPTIMISE_MODE@%$OPTIMISE_MODE%g s%@CPP_OPTIMISE_FLAGS@%$CPP_OPTIMISE_FLAGS%g s%@FPP_OPTIMISE_FLAGS@%$FPP_OPTIMISE_FLAGS%g s%@C_OPTIMISE_FLAGS@%$C_OPTIMISE_FLAGS%g s%@CXX_OPTIMISE_FLAGS@%$CXX_OPTIMISE_FLAGS%g s%@CUCC_OPTIMISE_FLAGS@%$CUCC_OPTIMISE_FLAGS%g -s%@F77_OPTIMISE_FLAGS@%$F77_OPTIMISE_FLAGS%g s%@F90_OPTIMISE_FLAGS@%$F90_OPTIMISE_FLAGS%g +s%@F77_OPTIMISE_FLAGS@%$F77_OPTIMISE_FLAGS%g s%@C_NO_OPTIMISE_FLAGS@%$C_NO_OPTIMISE_FLAGS%g s%@CXX_NO_OPTIMISE_FLAGS@%$CXX_NO_OPTIMISE_FLAGS%g s%@CUCC_NO_OPTIMISE_FLAGS@%$CUCC_NO_OPTIMISE_FLAGS%g -s%@F77_NO_OPTIMISE_FLAGS@%$F77_NO_OPTIMISE_FLAGS%g s%@F90_NO_OPTIMISE_FLAGS@%$F90_NO_OPTIMISE_FLAGS%g +s%@F77_NO_OPTIMISE_FLAGS@%$F77_NO_OPTIMISE_FLAGS%g s%@PROFILE_MODE@%$PROFILE_MODE%g s%@CPP_PROFILE_FLAGS@%$CPP_PROFILE_FLAGS%g s%@FPP_PROFILE_FLAGS@%$FPP_PROFILE_FLAGS%g s%@C_PROFILE_FLAGS@%$C_PROFILE_FLAGS%g s%@CXX_PROFILE_FLAGS@%$CXX_PROFILE_FLAGS%g s%@CUCC_PROFILE_FLAGS@%$CUCC_PROFILE_FLAGS%g -s%@F77_PROFILE_FLAGS@%$F77_PROFILE_FLAGS%g s%@F90_PROFILE_FLAGS@%$F90_PROFILE_FLAGS%g +s%@F77_PROFILE_FLAGS@%$F77_PROFILE_FLAGS%g s%@OPENMP_MODE@%$OPENMP_MODE%g s%@CPP_OPENMP_FLAGS@%$CPP_OPENMP_FLAGS%g s%@FPP_OPENMP_FLAGS@%$FPP_OPENMP_FLAGS%g s%@C_OPENMP_FLAGS@%$C_OPENMP_FLAGS%g s%@CXX_OPENMP_FLAGS@%$CXX_OPENMP_FLAGS%g s%@CUCC_OPENMP_FLAGS@%$CUCC_OPENMP_FLAGS%g -s%@F77_OPENMP_FLAGS@%$F77_OPENMP_FLAGS%g s%@F90_OPENMP_FLAGS@%$F90_OPENMP_FLAGS%g +s%@F77_OPENMP_FLAGS@%$F77_OPENMP_FLAGS%g +s%@F77@%$F77%g s%@LIBDIR_PREFIX@%$LIBDIR_PREFIX%g s%@RUNDIR_PREFIX@%$RUNDIR_PREFIX%g s%@LIBLINK_PREFIX@%$LIBLINK_PREFIX%g @@ -9413,8 +9355,8 @@ s%@CC_VERSION@%$CC_VERSION%g s%@CXX_VERSION@%$CXX_VERSION%g s%@CUCC_VERSION@%$CUCC_VERSION%g s%@FPP_VERSION@%$FPP_VERSION%g -s%@F77_VERSION@%$F77_VERSION%g s%@F90_VERSION@%$F90_VERSION%g +s%@F77_VERSION@%$F77_VERSION%g s%@BUILD_GETOPT@%$BUILD_GETOPT%g s%@BUILD_REGEX@%$BUILD_REGEX%g s%@LIBDIRS@%$LIBDIRS%g @@ -9448,18 +9390,18 @@ s%@CXX_DEPEND@%$CXX_DEPEND%g s%@CXX_DEPEND_OUT@%$CXX_DEPEND_OUT%g s%@CUCC_DEPEND@%$CUCC_DEPEND%g s%@CUCC_DEPEND_OUT@%$CUCC_DEPEND_OUT%g -s%@F77_DEPEND@%$F77_DEPEND%g -s%@F77_DEPEND_OUT@%$F77_DEPEND_OUT%g s%@F_DEPEND@%$F_DEPEND%g s%@F_DEPEND_OUT@%$F_DEPEND_OUT%g +s%@F77_DEPEND@%$F77_DEPEND%g +s%@F77_DEPEND_OUT@%$F77_DEPEND_OUT%g s%@F_DEPEND_MODULES@%$F_DEPEND_MODULES%g s%@F_DEPEND_MODULES_OUT@%$F_DEPEND_MODULES_OUT%g s%@C_POSTPROCESSING@%$C_POSTPROCESSING%g s%@CXX_POSTPROCESSING@%$CXX_POSTPROCESSING%g s%@CL_POSTPROCESSING@%$CL_POSTPROCESSING%g s%@CUCC_POSTPROCESSING@%$CUCC_POSTPROCESSING%g -s%@F77_POSTPROCESSING@%$F77_POSTPROCESSING%g s%@F_POSTPROCESSING@%$F_POSTPROCESSING%g +s%@F77_POSTPROCESSING@%$F77_POSTPROCESSING%g s%@F90_POSTPROCESSING@%$F90_POSTPROCESSING%g s%@CXX_WORKING_NAME@%$CXX_WORKING_NAME%g s%@F90_SUFFIX@%$F90_SUFFIX%g diff --git a/lib/make/configure.in b/lib/make/configure.in index 0d0153a0..2dc3f988 100644 --- a/lib/make/configure.in +++ b/lib/make/configure.in @@ -1,3 +1,4 @@ +dnl -*-m4-*- dnl @@ dnl @file configure.in dnl @date Sun Jan 17 15:54:23 1999 @@ -225,10 +226,6 @@ if test -z "$F90" ; then AC_CHECK_PROGS(F90, f90 pgf90 xlf90 ifort gfortran-mp-4.4 gfortran-mp-4.3 gfortran-mp-4.2 gfortran) fi -if test -z "$F77" ; then - AC_CHECK_PROGS(F77, f77 pgf77 g77 f90 pgf90 xlf90 ifort gfortran-mp-4.4 gfortran-mp-4.3 gfortran-mp-4.2 gfortran) -fi - if test -z "$AR" ; then AC_CHECK_PROGS(AR, ar) fi @@ -321,13 +318,6 @@ fi AC_SUBST(CUCC_WARN_FLAGS) : ${CUCC_WARN_FLAGS=''} -AC_SUBST(F77_WARN_FLAGS) -if test "$F77" = 'g77' ; then - : ${F77_WARN_FLAGS='-Wall'} -else - : ${F77_WARN_FLAGS=''} -fi - AC_SUBST(F90_WARN_FLAGS) if test "$F90" = 'gfortran' ; then : ${F90_WARN_FLAGS='-Wall -Wshadow -Wsurprising'} @@ -335,6 +325,9 @@ else : ${F90_WARN_FLAGS=''} fi +AC_SUBST(F77_WARN_FLAGS) +F77_WARN_FLAGS="$F90_WARN_FLAGS" + AC_SUBST(DEBUG_MODE) DEBUG_MODE='no' if test -n "$DEBUG_FLAGS"; then @@ -358,12 +351,12 @@ AC_SUBST(CXX_DEBUG_FLAGS) AC_SUBST(CUCC_DEBUG_FLAGS) : ${CUCC_DEBUG_FLAGS='-g'} -AC_SUBST(F77_DEBUG_FLAGS) -: ${F77_DEBUG_FLAGS='-g'} - AC_SUBST(F90_DEBUG_FLAGS) : ${F90_DEBUG_FLAGS='-g'} +AC_SUBST(F77_DEBUG_FLAGS) +F77_DEBUG_FLAGS="$F90_WARN_FLAGS" + # Set the optimization flags if they've not been set by now # (using '-O2' as a reasonable default) AC_SUBST(OPTIMISE_MODE) @@ -383,16 +376,12 @@ AC_SUBST(CXX_OPTIMISE_FLAGS) AC_SUBST(CUCC_OPTIMISE_FLAGS) : ${CUCC_OPTIMISE_FLAGS='-O2'} -AC_SUBST(F77_OPTIMISE_FLAGS) -if test -z "$F77_OPTIMISE_FLAGS" -a "$F77" = 'g77' ; then - F77_OPTIMISE_FLAGS='-O2' -else - : ${F77_OPTIMISE_FLAGS=''} -fi - AC_SUBST(F90_OPTIMISE_FLAGS) : ${F90_OPTIMISE_FLAGS='-O2'} +AC_SUBST(F77_OPTIMISE_FLAGS) +F77_OPTIMISE_FLAGS="$F90_OPTIMISE_FLAGS" + # Set the no-optimization flags if they've not been set by now # (using '-O0' as a reasonable default) @@ -405,12 +394,12 @@ AC_SUBST(CXX_NO_OPTIMISE_FLAGS) AC_SUBST(CUCC_NO_OPTIMISE_FLAGS) : ${CUCC_NO_OPTIMISE_FLAGS='-O0'} -AC_SUBST(F77_NO_OPTIMISE_FLAGS) -: ${F77_NO_OPTIMISE_FLAGS='-O0'} - AC_SUBST(F90_NO_OPTIMISE_FLAGS) : ${F90_NO_OPTIMISE_FLAGS='-O0'} +AC_SUBST(F77_NO_OPTIMISE_FLAGS) +F77_NO_OPTIMISE_FLAGS="$F90_NO_OPTIMISE_FLAGS" + # Set the profiling flags if they've not been set by now # (using '-pg' as a reasonable default) AC_SUBST(PROFILE_MODE) @@ -430,12 +419,12 @@ AC_SUBST(CXX_PROFILE_FLAGS) AC_SUBST(CUCC_PROFILE_FLAGS) : ${CUCC_PROFILE_FLAGS=''} -AC_SUBST(F77_PROFILE_FLAGS) -: ${F77_PROFILE_FLAGS='-pg'} - AC_SUBST(F90_PROFILE_FLAGS) : ${F90_PROFILE_FLAGS='-pg'} +AC_SUBST(F77_PROFILE_FLAGS) +F77_PROFILE_FLAGS="$F90_PROFILE_FLAGS" + # Set the OpenMP flags if they've not been set by now AC_SUBST(OPENMP_MODE) @@ -444,33 +433,19 @@ AC_SUBST(FPP_OPENMP_FLAGS) AC_SUBST(C_OPENMP_FLAGS) AC_SUBST(CXX_OPENMP_FLAGS) AC_SUBST(CUCC_OPENMP_FLAGS) -AC_SUBST(F77_OPENMP_FLAGS) AC_SUBST(F90_OPENMP_FLAGS) +AC_SUBST(F77_OPENMP_FLAGS) ########################################################################## -# Deal with the Fortran compiler issues. -# If there's a Fortran 90 compiler use that for all the Fortran. -if test "x$F90" != "x" -a "x$F90" != "xnone" -a "x$F77" = "x" ; then - F77=$F90 - F77FLAGS=$F90FLAGS - F77_WARN_FLAGS=$F90_WARN_FLAGS - F77_DEBUG_FLAGS=$F90_DEBUG_FLAGS - F77_OPTIMISE_FLAGS=$F90_OPTIMISE_FLAGS - F77_PROFILE_FLAGS=$F90_PROFILE_FLAGS - F77_OPENMP_FLAGS=$F90_OPENMP_FLAGS -fi - -# Set default Fortran compilers +# Set default Fortran compiler AC_SUBST(F90) if test -z "$F90" ; then F90='none' fi AC_SUBST(F77) -if test -z "$F77" ; then - F77='none' -fi +F77="$F90" # The known architecture stuff has probably set the LIBS variable @@ -610,6 +585,7 @@ AC_SUBST(RANLIBFLAGS) AC_SUBST(CUCCFLAGS) AC_SUBST(F90FLAGS) AC_SUBST(F77FLAGS) +F77FLAGS="$F90FLAGS" #: ${F90FLAGS="$CFLAGS"} #: ${F77FLAGS="$CFLAGS"} @@ -619,8 +595,8 @@ AC_SUBST(CC_VERSION) AC_SUBST(CXX_VERSION) AC_SUBST(CUCC_VERSION) AC_SUBST(FPP_VERSION) -AC_SUBST(F77_VERSION) AC_SUBST(F90_VERSION) +AC_SUBST(F77_VERSION) dnl Checks for library functions. @@ -1152,19 +1128,19 @@ if test "x$DISABLE_REAL16" != 'xyes' -a "x$DISABLE_REAL16" != 'xno' -a "x$DISABL AC_ERROR([Didn't recognise setting of DISABLE_REAL16=\"$DISABLE_REAL16\"; should be either \"yes\" or \"no\" or \"\" (empty)]) fi -if test -n "$CCTK_REAL16_TYPE" -a \( "x$F77" = 'xnone' -o \( "x$cctk_cv_have_fortran_real16" = 'xyes' -a "x$cctk_cv_have_fortran_complex32" = 'xyes' \) \) -a "x$DISABLE_REAL16" != 'xyes' ; then +if test -n "$CCTK_REAL16_TYPE" -a "x$cctk_cv_have_fortran_real16" = 'xyes' -a "x$cctk_cv_have_fortran_complex32" = 'xyes' -a "x$DISABLE_REAL16" != 'xyes' ; then AC_DEFINE_UNQUOTED(CCTK_REAL16_TYPE, $CCTK_REAL16_TYPE) AC_DEFINE(HAVE_CCTK_REAL16) AC_DEFINE_UNQUOTED(CCTK_REAL16_KIND, $REAL16_KIND) AC_DEFINE_UNQUOTED(CCTK_COMPLEX32_KIND, $COMPLEX32_KIND) fi -if test -n "$CCTK_REAL8_TYPE" -a \( "x$F77" = 'xnone' -o \( "x$cctk_cv_have_fortran_real8" -a "x$cctk_cv_have_fortran_complex16" = 'xyes' \) \); then +if test -n "$CCTK_REAL8_TYPE" -a "x$cctk_cv_have_fortran_real8" -a "x$cctk_cv_have_fortran_complex16" = 'xyes' ; then AC_DEFINE_UNQUOTED(CCTK_REAL8_TYPE, $CCTK_REAL8_TYPE) AC_DEFINE(HAVE_CCTK_REAL8) fi -if test -n "$CCTK_REAL4_TYPE" -a \( "x$F77" = 'xnone' -o \( "x$cctk_cv_have_fortran_real4" = 'xyes' -a "x$cctk_cv_have_fortran_complex8" = 'xyes' \) \); then +if test -n "$CCTK_REAL4_TYPE" -a "x$cctk_cv_have_fortran_real4" = 'xyes' -a "x$cctk_cv_have_fortran_complex8" = 'xyes' ; then AC_DEFINE_UNQUOTED(CCTK_REAL4_TYPE, $CCTK_REAL4_TYPE) AC_DEFINE(HAVE_CCTK_REAL4) fi @@ -1327,16 +1303,16 @@ AC_SUBST(CUCC_DEPEND) AC_SUBST(CUCC_DEPEND_OUT) : ${CUCC_DEPEND_OUT=' > $@'} -AC_SUBST(F77_DEPEND) -: ${F77_DEPEND='$(FPP) -M $(FPPFLAGS)'} -AC_SUBST(F77_DEPEND_OUT) -: ${F77_DEPEND_OUT=' > $@'} - AC_SUBST(F_DEPEND) : ${F_DEPEND='$(FPP) -M $(FPPFLAGS)'} AC_SUBST(F_DEPEND_OUT) : ${F_DEPEND_OUT=' > $@'} +AC_SUBST(F77_DEPEND) +F77_DEPEND="$F_DEPEND" +AC_SUBST(F77_DEPEND_OUT) +F77_DEPEND_OUT="$F_DEPEND_OUT" + # How to generate F90 dependency info for modules AC_SUBST(F_DEPEND_MODULES) : ${F_DEPEND_MODULES='$(CCTK_HOME)/lib/sbin/f_depend_modules.pl'} @@ -1352,10 +1328,10 @@ AC_SUBST(CL_POSTPROCESSING) : ${CL_POSTPROCESSING=''} AC_SUBST(CUCC_POSTPROCESSING) : ${CUCC_POSTPROCESSING=''} -AC_SUBST(F77_POSTPROCESSING) -: ${F77_POSTPROCESSING=''} AC_SUBST(F_POSTPROCESSING) : ${F_POSTPROCESSING=''} +AC_SUBST(F77_POSTPROCESSING) +F77_POSTPROCESSING="$F_POSTPROCESSING" AC_SUBST(F90_POSTPROCESSING) : ${F90_POSTPROCESSING=''} diff --git a/lib/make/force-reconfigure b/lib/make/force-reconfigure index f5dc1401..d0d6cef4 100644 --- a/lib/make/force-reconfigure +++ b/lib/make/force-reconfigure @@ -42,3 +42,4 @@ 20 May 2013: Auto-configure static_assert 16 Jun 2013: Auto-configure __builtin_assume_aligned 07 Feb 2014: Change CCTK_REAL8 etc. from #define to typedef +25 Mar 2014: Disable support for explicitly configuring Fortran 77 |