Ignore:
Timestamp:
07/27/09 10:39:28 (16 years ago)
Author:
seroussi
Message:

Modifications for mac OSX compile... fiouh...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/autom4te.cache/traces.0

    r132 r1378  
    1 m4trace:/u/astrid1/larour/issm/trunk/devpackages/automake/install/share/aclocal-1.10/amversion.m4:20: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.10'
     1m4trace:/usr/share/aclocal-1.10/amversion.m4:20: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.10'
    22dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
    33dnl require some minimum version.  Point them to the right macro.
    4 m4_if([$1], [1.10.2], [],
     4m4_if([$1], [1.10], [],
    55      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
    66])
    7 m4trace:/u/astrid1/larour/issm/trunk/devpackages/automake/install/share/aclocal-1.10/amversion.m4:37: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.10.2])dnl
    8 m4_ifndef([AC_AUTOCONF_VERSION],
    9   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
    10 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
    11 m4trace:/u/astrid1/larour/issm/trunk/devpackages/automake/install/share/aclocal-1.10/auxdir.m4:52: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly.
     7m4trace:/usr/share/aclocal-1.10/amversion.m4:35: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.10])dnl
     8_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
     9m4trace:/usr/share/aclocal-1.10/auxdir.m4:52: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly.
    1210AC_PREREQ([2.50])dnl
    1311# expand $ac_aux_dir to an absolute path
    1412am_aux_dir=`cd $ac_aux_dir && pwd`
    1513])
    16 m4trace:/u/astrid1/larour/issm/trunk/devpackages/automake/install/share/aclocal-1.10/cond.m4:34: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl
     14m4trace:/usr/share/aclocal-1.10/cond.m4:34: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl
    1715 ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
    1816        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
     
    3331Usually this means the macro was only invoked conditionally.]])
    3432fi])])
    35 m4trace:/u/astrid1/larour/issm/trunk/devpackages/automake/install/share/aclocal-1.10/depend.m4:132: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
     33m4trace:/usr/share/aclocal-1.10/depend.m4:132: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
    3634AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
    3735AC_REQUIRE([AM_MAKE_INCLUDE])dnl
     
    137135  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
    138136])
    139 m4trace:/u/astrid1/larour/issm/trunk/devpackages/automake/install/share/aclocal-1.10/depend.m4:142: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
     137m4trace:/usr/share/aclocal-1.10/depend.m4:142: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
    140138AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
    141139])
    142 m4trace:/u/astrid1/larour/issm/trunk/devpackages/automake/install/share/aclocal-1.10/depend.m4:158: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking,
     140m4trace:/usr/share/aclocal-1.10/depend.m4:158: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking,
    143141[  --disable-dependency-tracking  speeds up one-time build
    144142  --enable-dependency-tracking   do not reject slow dependency extractors])
     
    151149_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
    152150])
    153 m4trace:/u/astrid1/larour/issm/trunk/devpackages/automake/install/share/aclocal-1.10/depout.m4:63: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [# Autoconf 2.62 quotes --file arguments for eval, but not when files
    154 # are listed without --file.  Let's play safe and only enable the eval
    155 # if we detect the quoting.
    156 case $CONFIG_FILES in
    157 *\'*) eval set x "$CONFIG_FILES" ;;
    158 *)   set x $CONFIG_FILES ;;
    159 esac
    160 shift
    161 for mf
    162 do
     151m4trace:/usr/share/aclocal-1.10/depout.m4:54: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [for mf in $CONFIG_FILES; do
    163152  # Strip MF so we end up with the name of the file.
    164153  mf=`echo "$mf" | sed -e 's/:.*$//'`
     
    170159  # Grep'ing the whole file is not good either: AIX grep has a line
    171160  # limit of 2048, but all sed's we know have understand at least 4000.
    172   if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
     161  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
    173162    dirpart=`AS_DIRNAME("$mf")`
    174163  else
     
    200189done
    201190])
    202 m4trace:/u/astrid1/larour/issm/trunk/devpackages/automake/install/share/aclocal-1.10/depout.m4:77: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
     191m4trace:/usr/share/aclocal-1.10/depout.m4:68: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
    203192     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
    204193     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
    205194])
    206 m4trace:/u/astrid1/larour/issm/trunk/devpackages/automake/install/share/aclocal-1.10/header.m4:12: -1- AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
    207 m4trace:/u/astrid1/larour/issm/trunk/devpackages/automake/install/share/aclocal-1.10/header.m4:12: -1- AC_DEFUN([AM_CONFIG_HEADER], [AC_DIAGNOSE([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete.
     195m4trace:/usr/share/aclocal-1.10/header.m4:12: -1- AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
     196m4trace:/usr/share/aclocal-1.10/header.m4:12: -1- AC_DEFUN([AM_CONFIG_HEADER], [AC_DIAGNOSE([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete.
    208197You should run autoupdate.])dnl
    209198AC_CONFIG_HEADERS($@)])
    210 m4trace:/u/astrid1/larour/issm/trunk/devpackages/automake/install/share/aclocal-1.10/init.m4:103: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.60])dnl
     199m4trace:/usr/share/aclocal-1.10/init.m4:103: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.60])dnl
    211200dnl Autoconf wants to disallow AM_ names.  We explicitly allow
    212201dnl the ones we care about.
     
    285274])
    286275])
    287 m4trace:/u/astrid1/larour/issm/trunk/devpackages/automake/install/share/aclocal-1.10/init.m4:125: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
    288 _am_arg=$1
     276m4trace:/usr/share/aclocal-1.10/init.m4:124: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
    289277_am_stamp_count=1
    290278for _am_header in $config_headers :; do
    291279  case $_am_header in
    292     $_am_arg | $_am_arg:* )
     280    $1 | $1:* )
    293281      break ;;
    294282    * )
     
    296284  esac
    297285done
    298 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
    299 m4trace:/u/astrid1/larour/issm/trunk/devpackages/automake/install/share/aclocal-1.10/install-sh.m4:14: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
     286echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
     287m4trace:/usr/share/aclocal-1.10/install-sh.m4:14: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
    300288install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
    301289AC_SUBST(install_sh)])
    302 m4trace:/u/astrid1/larour/issm/trunk/devpackages/automake/install/share/aclocal-1.10/lead-dot.m4:21: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
     290m4trace:/usr/share/aclocal-1.10/lead-dot.m4:21: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
    303291mkdir .tst 2>/dev/null
    304292if test -d .tst; then
     
    309297rmdir .tst 2>/dev/null
    310298AC_SUBST([am__leading_dot])])
    311 m4trace:/u/astrid1/larour/issm/trunk/devpackages/automake/install/share/aclocal-1.10/make.m4:51: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
     299m4trace:/usr/share/aclocal-1.10/make.m4:51: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
    312300cat > confinc << 'END'
    313301am__doit:
     
    346334rm -f confinc confmf
    347335])
    348 m4trace:/u/astrid1/larour/issm/trunk/devpackages/automake/install/share/aclocal-1.10/minuso.m4:35: -1- AC_DEFUN([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC_C_O])dnl
     336m4trace:/usr/share/aclocal-1.10/minuso.m4:34: -1- AC_DEFUN([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC_C_O])dnl
    349337AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
    350338AC_REQUIRE_AUX_FILE([compile])dnl
     
    352340# there is no other way.
    353341set dummy $CC
    354 am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
    355 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
    356 if test "$am_t" != yes; then
     342ac_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
     343if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
    357344   # Losing compiler, so override with the script.
    358345   # FIXME: It is wrong to rewrite CC.
     
    367354          [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
    368355])
    369 m4trace:/u/astrid1/larour/issm/trunk/devpackages/automake/install/share/aclocal-1.10/missing.m4:17: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
     356m4trace:/usr/share/aclocal-1.10/missing.m4:17: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
    370357$1=${$1-"${am_missing_run}$2"}
    371358AC_SUBST($1)])
    372 m4trace:/u/astrid1/larour/issm/trunk/devpackages/automake/install/share/aclocal-1.10/missing.m4:35: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
     359m4trace:/usr/share/aclocal-1.10/missing.m4:35: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
    373360AC_REQUIRE_AUX_FILE([missing])dnl
    374361test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
     
    381368fi
    382369])
    383 m4trace:/u/astrid1/larour/issm/trunk/devpackages/automake/install/share/aclocal-1.10/mkdirp.m4:26: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl
     370m4trace:/usr/share/aclocal-1.10/mkdirp.m4:26: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl
    384371AC_REQUIRE([AC_PROG_MKDIR_P])dnl
    385372dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
     
    396383esac
    397384])
    398 m4trace:/u/astrid1/larour/issm/trunk/devpackages/automake/install/share/aclocal-1.10/options.m4:14: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
    399 m4trace:/u/astrid1/larour/issm/trunk/devpackages/automake/install/share/aclocal-1.10/options.m4:20: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
    400 m4trace:/u/astrid1/larour/issm/trunk/devpackages/automake/install/share/aclocal-1.10/options.m4:26: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
    401 m4trace:/u/astrid1/larour/issm/trunk/devpackages/automake/install/share/aclocal-1.10/options.m4:32: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
    402 m4trace:/u/astrid1/larour/issm/trunk/devpackages/automake/install/share/aclocal-1.10/runlog.m4:17: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
     385m4trace:/usr/share/aclocal-1.10/options.m4:14: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
     386m4trace:/usr/share/aclocal-1.10/options.m4:20: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
     387m4trace:/usr/share/aclocal-1.10/options.m4:26: -1- AC_DEFUN([_AM_SET_OPTIONS], [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
     388m4trace:/usr/share/aclocal-1.10/options.m4:32: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
     389m4trace:/usr/share/aclocal-1.10/runlog.m4:17: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
    403390   ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
    404391   ac_status=$?
    405392   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
    406393   (exit $ac_status); }])
    407 m4trace:/u/astrid1/larour/issm/trunk/devpackages/automake/install/share/aclocal-1.10/sanity.m4:51: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
     394m4trace:/usr/share/aclocal-1.10/sanity.m4:51: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
    408395# Just in case
    409396sleep 1
     
    442429fi
    443430AC_MSG_RESULT(yes)])
    444 m4trace:/u/astrid1/larour/issm/trunk/devpackages/automake/install/share/aclocal-1.10/strip.m4:28: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
     431m4trace:/usr/share/aclocal-1.10/strip.m4:28: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
    445432# Installed binaries are usually stripped using `strip' when the user
    446433# run `make install-strip'.  However `strip' might not be the right
     
    453440INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
    454441AC_SUBST([INSTALL_STRIP_PROGRAM])])
    455 m4trace:/u/astrid1/larour/issm/trunk/devpackages/automake/install/share/aclocal-1.10/substnot.m4:12: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
    456 m4trace:/u/astrid1/larour/issm/trunk/devpackages/automake/install/share/aclocal-1.10/tar.m4:95: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility.
     442m4trace:/usr/share/aclocal-1.10/substnot.m4:12: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
     443m4trace:/usr/share/aclocal-1.10/tar.m4:95: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility.
    457444AM_MISSING_PROG([AMTAR], [tar])
    458445m4_if([$1], [v7],
     
    525512AC_SUBST([am__untar])
    526513])
    527 m4trace:m4/issm_options.m4:393: -1- AC_DEFUN([ISSM_OPTIONS], [
     514m4trace:m4/issm_options.m4:474: -1- AC_DEFUN([ISSM_OPTIONS], [
    528515        dnl Debugging option check.
    529516        AC_ARG_ENABLE([debugging],AS_HELP_STRING([--enable-debugging],
     
    591578                        fi
    592579                        ;;
     580                        *darwin9.6.0*)
     581                        MEXLIB=-L"$MATLAB_ROOT/bin/maci/ -lmex -lmx"
     582                        MEXLINK="-Wl,-twolevel_namespace -undefined error -arch i386 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -bundle -Wl,-exported_symbols_list,$MATLAB_ROOT/extern/lib/maci/mexFunction.map"
     583                        ;;
     584
    593585                esac
    594586
     
    659651        fi
    660652        AC_MSG_RESULT(ok)
     653
     654        dnl Dakota directory
     655        AC_ARG_WITH([dakota-dir],
     656                          AS_HELP_STRING([--with-dakota-dir = DIR], [dakota root directory. necessary for serial build]),
     657                         [DAKOTA_ROOT=$withval],[DAKOTA_ROOT=""])
     658        AC_MSG_CHECKING(for Dakota )
    661659       
     660        if test -d "$DAKOTA_ROOT"; then
     661
     662                dnl defaults
     663                HAVE_DAKOTA=yes
     664                DAKOTAINCL=-I$DAKOTA_ROOT/include
     665                DAKOTALIB="-L$DAKOTA_ROOT/lib -ldakota -lteuchos -lpecos -lfftw3 -llhs  -levidence -lsurfpack -lconmin -lddace -lfsudace    -ljega -lcport -lopt -lpsuade -lnewmat    -lncsuopt -lgsl -lquadrature -lcoliny -lcolin -lpebbl     -lutilib -l3po -lnappspack -lappspack -lconveyor -lshared -lcdd -lamplsolver "
     666
     667                AC_DEFINE([_HAVE_DAKOTA_],[1],[with Dakota in ISSM src])
     668                AC_SUBST([DAKOTAINCL])
     669                AC_SUBST([DAKOTALIB])
     670
     671        else
     672                HAVE_DAKOTA=no
     673        fi
     674        AC_MSG_RESULT($HAVE_DAKOTA)
     675
    662676               
    663677        dnl Metis directory
     
    716730                       
    717731                        AC_DEFINE([_HAVE_MPI_],[1],[with Mpi in ISSM src])
     732                        AC_DEFINE([HAVE_MPI],[1],[with Mpi in ISSM src])
    718733                        AC_SUBST([MPIINCL])
    719734                        AC_SUBST([MPILIB])
     
    834849                HAVE_BLASLAPACK=yes
    835850                BLASLAPACKINCL=""
    836                 BLASLAPACKLIB=-L"$BLASLAPACK_ROOT -lmkl_lapack -lmkl -lguide"
    837 
    838                 AC_DEFINE([_HAVE_BLASLAPACK_],[1],[with Scalapack in ISSM src])
     851                dnl BLASLAPACKLIB=-L"$BLASLAPACK_ROOT -lmkl_lapack -lmkl -lguide"
     852                BLASLAPACKLIB=-L"$BLASLAPACK_ROOT -lfblas -lflapack"
     853
     854                AC_DEFINE([_HAVE_BLASLAPACK_],[1],[with blas lapack in ISSM src])
    839855                AC_SUBST([BLASLAPACKLIB])
    840856                AC_SUBST([BLASLAPACKINCL])
     
    844860        AC_MSG_RESULT($HAVE_BLASLAPACK)
    845861
     862        dnl mkl directory
     863        AC_ARG_WITH([mkl-dir],
     864                          AS_HELP_STRING([--with-mkl-dir = DIR],
     865                                                         [mkl root directory]),
     866                          [MKL_ROOT=$withval],[MKL_ROOT=""])
     867                         
     868        AC_MSG_CHECKING(for mkl headers and libraries in $MKL_ROOT)
     869        if test -d "$MKL_ROOT"; then
     870
     871                dnl defaults
     872                HAVE_MKL=yes
     873                MKLINCL=""
     874                MKLLIB=-L"$MKL_ROOT -lmkl_lapack -lmkl -lguide"
     875
     876                AC_DEFINE([_HAVE_MKL_],[1],[with mkl in ISSM src])
     877                AC_SUBST([MKLLIB])
     878                AC_SUBST([MKLINCL])
     879        else
     880                HAVE_MKL=no
     881        fi
     882        AC_MSG_RESULT($HAVE_MKL)
    846883
    847884        dnl Plapack directory
     
    912949        AC_MSG_RESULT($HAVE_BLACS)
    913950
    914 
    915 
     951        dnl math library  option
     952        AC_MSG_CHECKING(for math library...)
     953        AC_ARG_WITH([math-lib],
     954                          AS_HELP_STRING([--with-math-lib = otions],
     955                                                         [math options, for ex: "/usr/lib/libm.a]),
     956                          [MATH_LIB=$withval],[MATH_LIB=""])
     957
     958        dnl check that --with-math-lib may have been provided
     959        if test -n "$MATH_LIB" ; then
     960                HAVE_MATH=yes
     961                MATHLIB="$MATH_LIB"
     962
     963                AC_DEFINE([_HAVE_MATH_],[1],[with MATH in ISSM src])
     964                AC_SUBST([MATHLIB])
     965        fi
     966        AC_MSG_RESULT(done)
     967
     968        dnl fortran library  option
     969        AC_MSG_CHECKING(for fortran library...)
     970        AC_ARG_WITH([fortran-lib],
     971                          AS_HELP_STRING([--with-fortran-lib = options],
     972                                                         [fortran options, for ex: "/usr/lib/gfortran.a]),
     973                          [FORTRAN_LIB=$withval],[FORTRAN_LIB=""])
     974
     975        dnl check that --with-fortran-lib may have been provided
     976        if test -n "$FORTRAN_LIB" ; then
     977                HAVE_FORTRAN=yes
     978                FORTRANLIB="$FORTRAN_LIB"
     979
     980                AC_DEFINE([_HAVE_FORTRAN_],[1],[with FORTRAN in ISSM src])
     981                AC_SUBST([FORTRANLIB])
     982        fi
     983        AC_MSG_RESULT(done)
    916984
    917985])
     
    16641732m4trace:configure.ac:2: -1- AM_CONFIG_HEADER([config.h])
    16651733m4trace:configure.ac:2: -1- _m4_warn([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete.
    1666 You should run autoupdate.], [/u/astrid1/larour/issm/trunk/devpackages/automake/install/share/aclocal-1.10/header.m4:12: AM_CONFIG_HEADER is expanded from...
     1734You should run autoupdate.], [/usr/share/aclocal-1.10/header.m4:12: AM_CONFIG_HEADER is expanded from...
    16671735configure.ac:2: the top level])
    16681736m4trace:configure.ac:3: -1- m4_pattern_allow([^build$])
     
    16811749m4trace:configure.ac:4: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
    16821750m4trace:configure.ac:4: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
    1683 m4trace:configure.ac:4: -1- AM_AUTOMAKE_VERSION([1.10.2])
    1684 m4trace:configure.ac:4: -1- _AM_AUTOCONF_VERSION([2.63])
     1751m4trace:configure.ac:4: -1- AM_AUTOMAKE_VERSION([1.10])
     1752m4trace:configure.ac:4: -1- _AM_AUTOCONF_VERSION([2.61])
    16851753m4trace:configure.ac:4: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
    16861754m4trace:configure.ac:4: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
     
    16901758m4trace:configure.ac:4: -1- m4_pattern_allow([^CYGPATH_W$])
    16911759m4trace:configure.ac:4: -1- _AM_SET_OPTIONS([])
     1760m4trace:configure.ac:4: -1- _m4_warn([obsolete], [The macro `AC_FOREACH' is obsolete.
     1761You should run autoupdate.], [/var/tmp/autoconf/autoconf-14~76/SRC/autoconf/lib/autoconf/general.m4:198: AC_FOREACH is expanded from...
     1762/usr/share/aclocal-1.10/options.m4:26: _AM_SET_OPTIONS is expanded from...
     1763/usr/share/aclocal-1.10/init.m4:103: AM_INIT_AUTOMAKE is expanded from...
     1764configure.ac:4: the top level])
    16921765m4trace:configure.ac:4: -1- m4_pattern_allow([^PACKAGE$])
    16931766m4trace:configure.ac:4: -1- m4_pattern_allow([^VERSION$])
     
    17161789m4trace:configure.ac:4: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
    17171790m4trace:configure.ac:4: -1- AM_PROG_MKDIR_P
    1718 m4trace:configure.ac:4: -1- m4_pattern_allow([^MKDIR_P$])
    17191791m4trace:configure.ac:4: -1- m4_pattern_allow([^mkdir_p$])
    17201792m4trace:configure.ac:4: -1- m4_pattern_allow([^AWK$])
     
    18371909m4trace:configure.ac:12: -1- AX_MATLAB
    18381910m4trace:configure.ac:12: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
    1839 You should run autoupdate.], [autoconf/general.m4:209: AC_HELP_STRING is expanded from...
     1911You should run autoupdate.], [/var/tmp/autoconf/autoconf-14~76/SRC/autoconf/lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
    18401912m4/matlab.m4:469: AX_MATLAB is expanded from...
    18411913m4/matlab.m4:323: AX_MATLAB_VERSION is expanded from...
    1842 m4/issm_options.m4:393: ISSM_OPTIONS is expanded from...
     1914m4/issm_options.m4:474: ISSM_OPTIONS is expanded from...
    18431915configure.ac:12: the top level])
    18441916m4trace:configure.ac:12: -1- m4_pattern_allow([^HAVE_MATLAB$])
     
    18571929m4trace:configure.ac:12: -1- m4_pattern_allow([^TRIANGLEINCL$])
    18581930m4trace:configure.ac:12: -1- m4_pattern_allow([^TRIANGLELIB$])
     1931m4trace:configure.ac:12: -1- m4_pattern_allow([^_HAVE_DAKOTA_$])
     1932m4trace:configure.ac:12: -1- m4_pattern_allow([^DAKOTAINCL$])
     1933m4trace:configure.ac:12: -1- m4_pattern_allow([^DAKOTALIB$])
    18591934m4trace:configure.ac:12: -1- m4_pattern_allow([^_HAVE_METIS_$])
    18601935m4trace:configure.ac:12: -1- m4_pattern_allow([^METISINCL$])
    18611936m4trace:configure.ac:12: -1- m4_pattern_allow([^METISLIB$])
    18621937m4trace:configure.ac:12: -1- m4_pattern_allow([^_HAVE_MPI_$])
     1938m4trace:configure.ac:12: -1- m4_pattern_allow([^HAVE_MPI$])
    18631939m4trace:configure.ac:12: -1- m4_pattern_allow([^MPIINCL$])
    18641940m4trace:configure.ac:12: -1- m4_pattern_allow([^MPILIB$])
     
    18741950m4trace:configure.ac:12: -1- m4_pattern_allow([^BLASLAPACKLIB$])
    18751951m4trace:configure.ac:12: -1- m4_pattern_allow([^BLASLAPACKINCL$])
     1952m4trace:configure.ac:12: -1- m4_pattern_allow([^_HAVE_MKL_$])
     1953m4trace:configure.ac:12: -1- m4_pattern_allow([^MKLLIB$])
     1954m4trace:configure.ac:12: -1- m4_pattern_allow([^MKLINCL$])
    18761955m4trace:configure.ac:12: -1- m4_pattern_allow([^_HAVE_PLAPACK_$])
    18771956m4trace:configure.ac:12: -1- m4_pattern_allow([^PLAPACKINCL$])
     
    18831962m4trace:configure.ac:12: -1- m4_pattern_allow([^BLACSINCL$])
    18841963m4trace:configure.ac:12: -1- m4_pattern_allow([^BLACSLIB$])
     1964m4trace:configure.ac:12: -1- m4_pattern_allow([^_HAVE_MATH_$])
     1965m4trace:configure.ac:12: -1- m4_pattern_allow([^MATHLIB$])
     1966m4trace:configure.ac:12: -1- m4_pattern_allow([^_HAVE_FORTRAN_$])
     1967m4trace:configure.ac:12: -1- m4_pattern_allow([^FORTRANLIB$])
    18851968m4trace:configure.ac:18: -1- m4_pattern_allow([^LIB@&t@OBJS$])
    18861969m4trace:configure.ac:18: -1- m4_pattern_allow([^LTLIBOBJS$])
    1887 m4trace:configure.ac:18: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
     1970m4trace:configure.ac:18: -1- _AC_AM_CONFIG_HEADER_HOOK([$ac_file])
    18881971m4trace:configure.ac:18: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
Note: See TracChangeset for help on using the changeset viewer.