Changeset 2676


Ignore:
Timestamp:
Dec 2, 2012 10:36:42 AM (7 years ago)
Author:
stefan
Message:

don't advertise or use automatically --enable-static-standardlibs for now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/coin.m4

    r2668 r2676  
    728728# That is, if static libraries are build, then we also try to link against
    729729# static standard libraries, unless the corresponding flags do not work.
     730#
     731# Since this is not yet always working as desired, we do not advertise this
     732# option and do not enable it automatically, yet.
     733
     734#AC_DEFUN([AC_COIN_ENABLE_STATICSTDLIBS],
     735#[
     736#AC_ARG_ENABLE([static-standardlibs],
     737#  [AC_HELP_STRING([--enable-static-standardlibs],
     738#                  [whether to link against static standard libraries (libgcc, libgfortran, libstdc++)])],
     739#  [case "$enableval" in
     740#     no | yes | auto ) ;;
     741#     *)
     742#       AC_MSG_ERROR([invalid argument for --enable-static-standardlibs: $enableval]) ;;
     743#   esac
     744#   use_static_standardlibs=$enableval],
     745#  [if test x$enable_shared = xno ; then
     746#     use_static_standardlibs=auto
     747#   else
     748#     use_static_standardlibs=no
     749#   fi
     750#  ]
     751#)
     752#]);
    730753
    731754AC_DEFUN([AC_COIN_ENABLE_STATICSTDLIBS],
    732755[
    733 
    734 # check whether to add flags for static linking against standard libraries
    735756AC_ARG_ENABLE([static-standardlibs],
    736   [AC_HELP_STRING([--enable-static-standardlibs],
    737                   [whether to link against static standard libraries (libgcc, libgfortran, libstdc++)])],
     757  [],
    738758  [case "$enableval" in
    739759     no | yes | auto ) ;;
     
    742762   esac
    743763   use_static_standardlibs=$enableval],
    744   [if test x$enable_shared = xno ; then
    745      use_static_standardlibs = auto
    746    else
    747      use_static_standardlibs = no
    748    fi
    749   ]
    750 )
    751 
     764  [use_static_standardlibs=no])
    752765]);
    753766
Note: See TracChangeset for help on using the changeset viewer.