#! /bin/sh
-# From configure.in Revision: 1.42
+# From configure.in Revision: 1.43
fi
-F77_VERSION_STRING=`($F77 -v 2>&1)`
-if test -n "`echo $F77_VERSION_STRING | grep \"GNU F77\"`" ; then
- G77_VERSION_STRING="`($F77 -v 2>&1) | grep \"gcc version\"`"
- case "$G77_VERSION_STRING" in
- *"egcs-1.1"*)
- echo "$ac_t""compiler is egcs-1.1" 1>&6
- F77_VERSION=egcs1.1
- ;;
- *2.95*)
- echo "$ac_t""compiler is gcc-2.95" 1>&6
- F77_VERSION=gcc2.95
- ;;
- *2.96*)
- echo "$ac_t""compiler is gcc-2.96" 1>&6
- F77_VERSION=gcc2.96
- ;;
- *2.97*)
- echo "$ac_t""compiler is gcc-2.97" 1>&6
- F77_VERSION=gcc2.97
- ;;
- *2.4* | *2.5* | *2.6* | *2.7* | *2.8*)
- echo "$ac_t""compiler is $G77_VERSION_STRING" 1>&6
- { echo "configure: error: compiler is not supported" 1>&2; exit 1; }
- ;;
- *)
- echo "$ac_t""compiler is unknown but accepted gcc version" 1>&6
- F77_VERSION=other
- ;;
- esac
+if test "x$F77" != "x" ; then
+ F77_VERSION_STRING=`($F77 -v 2>&1)`
+ if test -n "`echo $F77_VERSION_STRING | grep \"GNU F77\"`" ; then
+ G77_VERSION_STRING="`($F77 -v 2>&1) | grep \"gcc version\"`"
+ case "$G77_VERSION_STRING" in
+ *"egcs-1.1"*)
+ echo "$ac_t""compiler is egcs-1.1" 1>&6
+ F77_VERSION=egcs1.1
+ ;;
+ *2.95*)
+ echo "$ac_t""compiler is gcc-2.95" 1>&6
+ F77_VERSION=gcc2.95
+ ;;
+ *2.96*)
+ echo "$ac_t""compiler is gcc-2.96" 1>&6
+ F77_VERSION=gcc2.96
+ ;;
+ *2.97*)
+ echo "$ac_t""compiler is gcc-2.97" 1>&6
+ F77_VERSION=gcc2.97
+ ;;
+ *2.4* | *2.5* | *2.6* | *2.7* | *2.8*)
+ echo "$ac_t""compiler is $G77_VERSION_STRING" 1>&6
+ { echo "configure: error: compiler is not supported" 1>&2; exit 1; }
+ ;;
+ *)
+ echo "$ac_t""compiler is unknown but accepted gcc version" 1>&6
+ F77_VERSION=other
+ ;;
+ esac
- F77FLAGSG="$FFLAGS -ggdb -DDEBUG -pedantic -W -Wall"
- F77FLAGSO="$FFLAGS -O2"
+ F77FLAGSG="$FFLAGS -ggdb -DDEBUG -pedantic -W -Wall"
+ F77FLAGSO="$FFLAGS -O2"
- if test "x$F77_VERSION" != "xegcs1.1" ; then
- F77FLAGSO="$F77FLAGSO -funroll-loops -funroll-all-loops -fstrict-aliasing"
- fi
+ if test "x$F77_VERSION" != "xegcs1.1" ; then
+ F77FLAGSO="$F77FLAGSO -funroll-loops -funroll-all-loops -fstrict-aliasing"
+ fi
- F77LDFLAGS=-lg2c
+ if test $enableshared = yes ; then
+ F77FLAGSG="$F77FLAGSG -fPIC"
+ F77FLAGSO="$F77FLAGSO -fPIC"
+ fi
-else
- F77_VERSION
+ F77LDFLAGS="-lg2c"
+
+ else
+
+ if test -n "`echo $F77_VERSION_STRING | grep \"XL Fortran for AIX\"`" ; then
+ F77_VERSION=AIXF77
+ echo "$ac_t""compiler is AIX Fortran77" 1>&6
+
+ else
+
+ F77_VERSION_STRING=`($F77 -V 2>&1)`
+ if test -n "`echo $F77_VERSION_STRING | grep \"WorkShop Compilers\"`" ; then
+
+ echo "$ac_t""compiler is Sun WorkShop f77" 1>&6
+ F77_VERSION="SunF77"
+ F77FLAGSG="$FFLAGS -silent -g"
+ F77FLAGSO="$FFLAGS -silent -O3 -w"
+ F77LDFLAGS="-lF77 -lsunmath -lM77"
+
+ if test $enableshared = yes ; then
+ F77FLAGSG="$F77FLAGSG -PIC"
+ F77FLAGSO="$F77FLAGSO -PIC"
+ fi
+
+ else
+
+ F77_VERSION=
+ echo "$ac_t""compiler is unkown. no flags set!" 1>&6
+ fi
+ fi
+ fi
fi
# Extract the first word of "perl", so it can be a program name with args.
set dummy perl; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1531: checking for $ac_word" >&5
+echo "configure:1564: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test $enablemultithreading = yes ; then
echo $ac_n "checking for platform specific thread flags""... $ac_c" 1>&6
-echo "configure:1583: checking for platform specific thread flags" >&5
+echo "configure:1616: checking for platform specific thread flags" >&5
for i in threads mt pthread pthreads mthreads Kthread kthread invalid_last_entry; do
CXXFLAGS="$CXXFLAGSG -$i"
echo $ac_n "checking for platform specific multi-threading defines""... $ac_c" 1>&6
-echo "configure:1619: checking for platform specific multi-threading defines" >&5
+echo "configure:1652: checking for platform specific multi-threading defines" >&5
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 1628 "configure"
+#line 1661 "configure"
#include "confdefs.h"
#if !defined (_REENTRANT) && !defined (_THREAD_SAFE)
; return 0; }
EOF
-if { (eval echo configure:1642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1675: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
echo "$ac_t"""not necessary"" 1>&6
if test $withmultithreading != no ; then
echo $ac_n "checking for ACE""... $ac_c" 1>&6
-echo "configure:1684: checking for ACE" >&5
+echo "configure:1717: checking for ACE" >&5
if test -d $withmultithreading ; then
echo "$ac_t""found" 1>&6
else
withval="$with_blas"
if test $withval != no ; then
echo $ac_n "checking for BLAS""... $ac_c" 1>&6
-echo "configure:1704: checking for BLAS" >&5
+echo "configure:1737: checking for BLAS" >&5
if test -r $withval ; then
echo "$ac_t""found" 1>&6
else
else
echo $ac_n "checking for main in -lblas""... $ac_c" 1>&6
-echo "configure:1720: checking for main in -lblas" >&5
+echo "configure:1753: checking for main in -lblas" >&5
ac_lib_var=`echo blas'_'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
ac_save_LIBS="$LIBS"
LIBS="-lblas $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1728 "configure"
+#line 1761 "configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
-if { (eval echo configure:1735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:1768: \"$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
withval="$with_lapack"
if test $withval != no ; then
echo $ac_n "checking for LAPACK""... $ac_c" 1>&6
-echo "configure:1767: checking for LAPACK" >&5
+echo "configure:1800: checking for LAPACK" >&5
if test -r $withval ; then
echo "$ac_t""found" 1>&6
else
else
echo $ac_n "checking for dgels_ in -llapack""... $ac_c" 1>&6
-echo "configure:1783: checking for dgels_ in -llapack" >&5
+echo "configure:1816: checking for dgels_ in -llapack" >&5
ac_lib_var=`echo lapack'_'dgels_ | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-llapack $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1791 "configure"
+#line 1824 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
dgels_()
; return 0; }
EOF
-if { (eval echo configure:1805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:1838: \"$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
fi
echo $ac_n "checking for kdoc""... $ac_c" 1>&6
-echo "configure:1872: checking for kdoc" >&5
+echo "configure:1905: checking for kdoc" >&5
if test "$kdocdir" != ${DEAL2_DIR}/contrib/kdoc/bin ; then
if test -r $kdocdir/kdoc ; then
echo "$ac_t""found" 1>&6
# Extract the first word of ""doc++"", so it can be a program name with args.
set dummy "doc++"; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1908: checking for $ac_word" >&5
+echo "configure:1941: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_docxx'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
else
echo $ac_n "checking for doc++""... $ac_c" 1>&6
-echo "configure:1942: checking for doc++" >&5
+echo "configure:1975: checking for doc++" >&5
if test -x "$docxx" ; then
echo "$ac_t""yes" 1>&6
else
echo $ac_n "checking whether getrusage is properly declared""... $ac_c" 1>&6
-echo "configure:1957: checking whether getrusage is properly declared" >&5
+echo "configure:1990: checking whether getrusage is properly declared" >&5
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 1966 "configure"
+#line 1999 "configure"
#include "confdefs.h"
#include <sys/resource.h>
; return 0; }
EOF
-if { (eval echo configure:1978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
echo "$ac_t"""yes"" 1>&6
rm -f conftest*
echo $ac_n "checking whether isnan is declared with debug flags""... $ac_c" 1>&6
-echo "configure:1996: checking whether isnan is declared with debug flags" >&5
+echo "configure:2029: checking whether isnan is declared with debug flags" >&5
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
CXXFLAGS=$CXXFLAGSG
deal_II_isnan_flag=""
cat > conftest.$ac_ext <<EOF
-#line 2007 "configure"
+#line 2040 "configure"
#include "confdefs.h"
#include <cmath>
; return 0; }
EOF
-if { (eval echo configure:2019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
echo "$ac_t"""yes"" 1>&6
if test "x$deal_II_isnan_flag" = "x" ; then
cat > conftest.$ac_ext <<EOF
-#line 2035 "configure"
+#line 2068 "configure"
#include "confdefs.h"
#include <cmath>
; return 0; }
EOF
-if { (eval echo configure:2047: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
echo "$ac_t"""yes"" 1>&6
for testflag in -D_ISOC99_SOURCE -D__EXTENSIONS__ ; do
CXXFLAGS="$CXXFLAGSG $testflag"
cat > conftest.$ac_ext <<EOF
-#line 2067 "configure"
+#line 2100 "configure"
#include "confdefs.h"
#include <cmath>
; return 0; }
EOF
-if { (eval echo configure:2079: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2112: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
deal_II_isnan_flag="-DHAVE_ISNAN $testflag"
rm -f conftest*
cat > conftest.$ac_ext <<EOF
-#line 2092 "configure"
+#line 2125 "configure"
#include "confdefs.h"
#include <cmath>
; return 0; }
EOF
-if { (eval echo configure:2104: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2137: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
deal_II_isnan_flag="-DHAVE_UNDERSCORE_ISNAN $testflag"
fi
echo $ac_n "checking whether isnan is declared with optimized flags""... $ac_c" 1>&6
-echo "configure:2126: checking whether isnan is declared with optimized flags" >&5
+echo "configure:2159: checking whether isnan is declared with optimized flags" >&5
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
CXXFLAGS=$CXXFLAGSO
deal_II_isnan_flag=""
cat > conftest.$ac_ext <<EOF
-#line 2137 "configure"
+#line 2170 "configure"
#include "confdefs.h"
#include <cmath>
; return 0; }
EOF
-if { (eval echo configure:2149: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2182: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
echo "$ac_t"""yes"" 1>&6
if test "x$deal_II_isnan_flag" = "x" ; then
cat > conftest.$ac_ext <<EOF
-#line 2165 "configure"
+#line 2198 "configure"
#include "confdefs.h"
#include <cmath>
; return 0; }
EOF
-if { (eval echo configure:2177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
echo "$ac_t"""yes"" 1>&6
for testflag in -D_ISOC99_SOURCE -D__EXTENSIONS__ ; do
CXXFLAGS="$CXXFLAGSO $testflag"
cat > conftest.$ac_ext <<EOF
-#line 2197 "configure"
+#line 2230 "configure"
#include "confdefs.h"
#include <cmath>
; return 0; }
EOF
-if { (eval echo configure:2209: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2242: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
deal_II_isnan_flag="-DHAVE_ISNAN $testflag"
rm -f conftest*
cat > conftest.$ac_ext <<EOF
-#line 2222 "configure"
+#line 2255 "configure"
#include "confdefs.h"
#include <cmath>
; return 0; }
EOF
-if { (eval echo configure:2234: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2267: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
deal_II_isnan_flag="-DHAVE_UNDERSCORE_ISNAN $testflag"
CXXFLAGS="$CXXFLAGSG"
echo $ac_n "checking for consistency of CXXFLAGSG flags""... $ac_c" 1>&6
-echo "configure:2269: checking for consistency of CXXFLAGSG flags" >&5
+echo "configure:2302: checking for consistency of CXXFLAGSG flags" >&5
cat > conftest.$ac_ext <<EOF
-#line 2271 "configure"
+#line 2304 "configure"
#include "confdefs.h"
int main() {
;
; return 0; }
EOF
-if { (eval echo configure:2278: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
echo "$ac_t""yes" 1>&6
CXXFLAGS="$CXXFLAGSO"
echo $ac_n "checking for consistency of CXXFLAGSO flags""... $ac_c" 1>&6
-echo "configure:2296: checking for consistency of CXXFLAGSO flags" >&5
+echo "configure:2329: checking for consistency of CXXFLAGSO flags" >&5
cat > conftest.$ac_ext <<EOF
-#line 2298 "configure"
+#line 2331 "configure"
#include "confdefs.h"
int main() {
;
; return 0; }
EOF
-if { (eval echo configure:2305: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
echo "$ac_t""yes" 1>&6
dnl have it).
dnl Next try to find out something about the name and version of the compiler
-F77_VERSION_STRING=`($F77 -v 2>&1)`
-if test -n "`echo $F77_VERSION_STRING | grep \"GNU F77\"`" ; then
- dnl Yes, this is a GNU g77 version. find out the right version
- G77_VERSION_STRING="`($F77 -v 2>&1) | grep \"gcc version\"`"
- case "$G77_VERSION_STRING" in
- *"egcs-1.1"*)
- AC_MSG_RESULT(compiler is egcs-1.1)
- F77_VERSION=egcs1.1
- ;;
- *2.95*)
- AC_MSG_RESULT(compiler is gcc-2.95)
- F77_VERSION=gcc2.95
- ;;
- *2.96*)
- AC_MSG_RESULT(compiler is gcc-2.96)
- F77_VERSION=gcc2.96
- ;;
- *2.97*)
- AC_MSG_RESULT(compiler is gcc-2.97)
- F77_VERSION=gcc2.97
- ;;
- *2.4* | *2.5* | *2.6* | *2.7* | *2.8*)
- dnl These compilers are too old to support a useful subset
- dnl of modern C++, so we don't support them
- AC_MSG_RESULT(compiler is $G77_VERSION_STRING)
- AC_MSG_ERROR(compiler is not supported)
- ;;
- *)
- AC_MSG_RESULT(compiler is unknown but accepted gcc version)
- F77_VERSION=other
- ;;
- esac
+if test "x$F77" != "x" ; then
+ F77_VERSION_STRING=`($F77 -v 2>&1)`
+ if test -n "`echo $F77_VERSION_STRING | grep \"GNU F77\"`" ; then
+ dnl Yes, this is a GNU g77 version. find out the right version
+ G77_VERSION_STRING="`($F77 -v 2>&1) | grep \"gcc version\"`"
+ case "$G77_VERSION_STRING" in
+ *"egcs-1.1"*)
+ AC_MSG_RESULT(compiler is egcs-1.1)
+ F77_VERSION=egcs1.1
+ ;;
+ *2.95*)
+ AC_MSG_RESULT(compiler is gcc-2.95)
+ F77_VERSION=gcc2.95
+ ;;
+ *2.96*)
+ AC_MSG_RESULT(compiler is gcc-2.96)
+ F77_VERSION=gcc2.96
+ ;;
+ *2.97*)
+ AC_MSG_RESULT(compiler is gcc-2.97)
+ F77_VERSION=gcc2.97
+ ;;
+ *2.4* | *2.5* | *2.6* | *2.7* | *2.8*)
+ dnl These compilers are too old to support a useful subset
+ dnl of modern C++, so we don't support them
+ AC_MSG_RESULT(compiler is $G77_VERSION_STRING)
+ AC_MSG_ERROR(compiler is not supported)
+ ;;
+ *)
+ AC_MSG_RESULT(compiler is unknown but accepted gcc version)
+ F77_VERSION=other
+ ;;
+ esac
+
+ dnl For g77 versions, it is simple which flags to use since we already
+ dnl know them mostly from the C++ compiler
+ F77FLAGSG="$FFLAGS -ggdb -DDEBUG -pedantic -W -Wall"
+ F77FLAGSO="$FFLAGS -O2"
+
+ dnl Some flags can only be set for some compilers as others either
+ dnl did not accept them or were buggy on them (see the explanation
+ dnl for CXXFLAGS for an explanation of some of these cases)
+ if test "x$F77_VERSION" != "xegcs1.1" ; then
+ F77FLAGSO="$F77FLAGSO -funroll-loops -funroll-all-loops -fstrict-aliasing"
+ fi
- dnl For g77 versions, it is simple which flags to use since we already
- dnl know them mostly from the C++ compiler
- F77FLAGSG="$FFLAGS -ggdb -DDEBUG -pedantic -W -Wall"
- F77FLAGSO="$FFLAGS -O2"
+ dnl If necessary, add shared lib flags
+ if test $enableshared = yes ; then
+ F77FLAGSG="$F77FLAGSG -fPIC"
+ F77FLAGSO="$F77FLAGSO -fPIC"
+ fi
- dnl Some flags can only be set for some compilers as others either
- dnl did not accept them or were buggy on them (see the explanation
- dnl for CXXFLAGS for an explanation of some of these cases)
- if test "x$F77_VERSION" != "xegcs1.1" ; then
- F77FLAGSO="$F77FLAGSO -funroll-loops -funroll-all-loops -fstrict-aliasing"
- fi
+ dnl Then we have to set the set of libraries we have to link with
+ dnl when linking C++ and Fortran code with the C++ compiler. For
+ dnl g77, this is only libg2c
+ F77LDFLAGS="-lg2c"
- dnl Then we have to set the set of libraries we have to link with
- dnl when linking C++ and Fortran code with the C++ compiler. For
- dnl g77, this is only libg2c
- F77LDFLAGS=-lg2c
+ else
-else
- dnl No GNU g77 version, something else. Don't set anything
- F77_VERSION
+ dnl No GNU g77 version, something else. Try to find out what it is:
+ if test -n "`echo $F77_VERSION_STRING | grep \"XL Fortran for AIX\"`" ; then
+ dnl This is the "XL Fortran for AIX" compiler, but we have no set
+ dnl of reasonable compiler flags for it, so sorry!
+ F77_VERSION=AIXF77
+ AC_MSG_RESULT(compiler is AIX Fortran77)
+
+ else
+
+ dnl Umh, still something else unknown. Try to find it out by a different
+ dnl method (-V instead of -v):
+ F77_VERSION_STRING=`($F77 -V 2>&1)`
+ if test -n "`echo $F77_VERSION_STRING | grep \"WorkShop Compilers\"`" ; then
+
+ dnl OK, this is the Sun Fortran77 compiler
+ AC_MSG_RESULT(compiler is Sun WorkShop f77)
+ F77_VERSION="SunF77"
+ F77FLAGSG="$FFLAGS -silent -g"
+ F77FLAGSO="$FFLAGS -silent -O3 -w"
+ F77LDFLAGS="-lF77 -lsunmath -lM77"
+
+ dnl If necessary, add shared lib flags
+ if test $enableshared = yes ; then
+ F77FLAGSG="$F77FLAGSG -PIC"
+ F77FLAGSO="$F77FLAGSO -PIC"
+ fi
+
+ else
+
+ dnl Now, this is a hard case, we have no more clues...
+ F77_VERSION=
+ AC_MSG_RESULT(compiler is unkown. no flags set!)
+ fi
+ fi
+ fi
fi
AC_SUBST(F77_VERSION)
AC_SUBST(F77FLAGSO)