diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2000-11-15 16:09:37 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2000-11-15 16:09:37 (GMT) |
commit | 8dae2ec00b74a7af6be708a26583562af6a68e85 (patch) | |
tree | 7205df11687f9d1490a752d0bc5d3b2e6eb9972f /fortran/configure.in | |
parent | 80429f7f45c9ff631d2c1524ae9efb649bf8ebe1 (diff) | |
download | hdf5-8dae2ec00b74a7af6be708a26583562af6a68e85.zip hdf5-8dae2ec00b74a7af6be708a26583562af6a68e85.tar.gz hdf5-8dae2ec00b74a7af6be708a26583562af6a68e85.tar.bz2 |
[svn-r2915] Purpose:
Feature Add
Description:
Added the --enable-static-exec flag to the fortran stuff.
Platforms tested:
Linux
Diffstat (limited to 'fortran/configure.in')
-rw-r--r-- | fortran/configure.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/fortran/configure.in b/fortran/configure.in index 618094e..e2c98b9 100644 --- a/fortran/configure.in +++ b/fortran/configure.in @@ -214,6 +214,23 @@ EOF fi dnl ---------------------------------------------------------------------- +dnl If we should build only static executables +dnl +AC_MSG_CHECKING(if should build only statically linked executables) +AC_ARG_ENABLE(static_exec, + [ --enable-static-exec Build only statically linked executables [default=no]], + STATIC_EXEC=$enableval) + +if test "X$STATIC_EXEC" = "Xyes"; then + echo "yes" + LT_STATIC_EXEC="-all-static" +else + echo "no" + LT_STATIC_EXEC="" +fi +AC_SUBST(LT_STATIC_EXEC) + +dnl ---------------------------------------------------------------------- dnl Check for a Fortran 9X compiler, how to optimize it, and how to dnl include modules. dnl |