From 24565cab221dac12eaad701564fd46d5ac15febf Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Mon, 3 May 2010 13:16:30 +0000 Subject: [PATCH] - '--enable-64' removed - bug in CFLAGS handling fixed --- configure.ac | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/configure.ac b/configure.ac index 616b5fa..c88e955 100644 --- a/configure.ac +++ b/configure.ac @@ -74,7 +74,6 @@ SAVE_MPIFC=$MPIFC SAVE_MPILIB=$MPILIB SAVE_MPIINC=$MPIINC SAVE_CFLAGS=$CFLAGS -#CFLAGS='' SAVE_FFLAGS=$FFLAGS SAVE_MPIROOT=$MPIROOT SAVE_HDF5ROOT=$HDF5ROOT @@ -195,32 +194,10 @@ AC_DEFINE_UNQUOTED(MY_GNUNAME, "${host_cpu}-${host_vendor}-${host_os}", "") AC_DEFINE_UNQUOTED(MY_UNAME, "$uname", "") - ############################################################################### ######################## CONFIGURE LINE OPTIONS ############################### ############################################################################### -###################### 64-bit compilation enabled ############################# -AC_MSG_CHECKING([if 64-bit compilation is enabled]) - - -# If --enable-64 is set in the configure line -if test "X$USE_64" = "Xyes"; then - AC_MSG_RESULT([yes]) - if test $uname = "AIX"; then - CFLAGS="$CFLAGS -q64" - FFLAGS="$FFLAGS -q64" - fi - - if test $uname = "IRIX64"; then - CFLAGS="$CFLAGS -64" - FFLAGS="$FFLAGS -64 -fPIC -fno-second-underscore" - fi -else - AC_MSG_RESULT([no]) -fi - - ############################ fortran enabled ################################## AC_MSG_CHECKING([if fortran interface enabled]) if test "X$USE_FORTRAN" = "Xyes"; then @@ -498,9 +475,7 @@ if test -n "$SAVE_MPIINC"; then MPIINC=$SAVE_MPIINC fi -if test -n "$SAVE_CFLAGS"; then - CFLAGS="$SAVE_CFLAGS ${CFLAGS}" -fi +#CFLAGS="$SAVE_CFLAGS ${CFLAGS}" if test -n "$SAVE_FFLAGS"; then FFLAGS=$SAVE_FFLAGS