dnl notably the IBM compilers have the bad habit of dumping
dnl all of their helptexts here, so only consider the first
dnl 10 lines. Otherwise we'll have a problem later on when
- dnl we do things like "echo $F&&_VERSION_STRING | grep ..." and
+ dnl we do things like "echo $F77_VERSION_STRING | grep ..." and
dnl the shell says that we exceeded the limit for the length of
dnl command lines :-(
F77_VERSION_STRING="`($F77 -v 2>&1) | head -10`"
#! /bin/sh
-# From configure.in Revision: 1.155 .
+# From configure.in Revision: 1.156 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.57.
#
if test "x$F77" != "x" ; then
if test "x$F77" != "x" ; then
- F77_VERSION_STRING="`($F77 -v 2>&1)`"
+
+ F77_VERSION_STRING="`($F77 -v 2>&1) | head -10`"
if test -n "`echo $F77_VERSION_STRING | grep \"GNU F77\"`" -o \
-n "`echo $F77_VERSION_STRING | grep \"gcc version\"`" ; then
G77_VERSION_STRING="`($F77 -v 2>&1) | grep \"gcc version\"`"
echo "${ECHO_T}PowerPC64" >&6
case $GXX_VERSION in
gcc*)
- CXXFLAGSG="$CXXFLAGSG -maix64"
+ CXXFLAGSG="$CXXFLAGSG -maix64"
CXXFLAGSO="$CXXFLAGSO -maix64 -mpowerpc64 -mcpu=powerpc64 -mtune=powerpc64"
- AR="$AR -X 64"
+
+ CXXFLAGSG="$CXXFLAGSG -mminimal-toc"
+ CXXFLAGSO="$CXXFLAGSO -mminimal-toc"
+
+ AR="$AR -X 64"
LDFLAGS="$LDFLAGS -maix64"
+
+ LIBS="$LIBS -lpthread
;;
esac
;;