Changeset 3003


Ignore:
Timestamp:
Oct 19, 2013 12:57:18 PM (6 years ago)
Author:
stefan
Message:

remove some remainings of -mno-cygwin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/coin.m4

    r3001 r3003  
    221221
    222222# This macro is included by any PROG_compiler macro, to set the LD
    223 # environment variable on MinGW to the correct value (link). But note that
    224 # if we're building in cygwin with -mno-cygwin, we still want ld! If we're
     223# environment variable on MinGW to the correct value (link). If we're
    225224# building from cygwin with MSVC tools (cl/link), then we do want link and
    226225# you'd better have your PATH variable straight, else you'll be doing file
    227 # links instead of code links! Arguably, LDFLAGS should include -mno-cygwin
    228 # but in practice all linking seems to be handled through the compilers, so
    229 # CFLAGS and CXXFLAGS suffice.
     226# links instead of code links!
    230227
    231228AC_DEFUN([AC_COIN_MINGW_LD_FIX],
     
    531528fi
    532529
    533 # If CXXFLAGS contains -mno-cygwin, CPPFLAGS must also have it.
    534 
    535 case "$CXXFLAGS" in
    536   *-mno-cygwin*)
    537     if test x${CPPFLAGS+set} != xset ; then
    538       CPPFLAGS="-mno-cygwin"
    539     else
    540       case "$CPPFLAGS" in
    541         *-mno-cygwin*)
    542           ;;
    543         *)
    544           CPPFLAGS="$CPPFLAGS -mno-cygwin"
    545           ;;
    546       esac
    547     fi ;;
    548 esac
    549 
    550530# add -DPROJECT_BUILD to signal compiler preprocessor which config header file to include
    551531if test x$COIN_PRJCT != x; then
     
    1007987  fi
    1008988fi
    1009 
    1010 # If CFLAGS contains -mno-cygwin, CPPFLAGS must also have it.
    1011 
    1012 case "$CFLAGS" in
    1013   *-mno-cygwin*)
    1014     if test x${CPPFLAGS+set} != xset ; then
    1015       CPPFLAGS="-mno-cygwin"
    1016     else
    1017       case "$CPPFLAGS" in
    1018         *-mno-cygwin*)
    1019           ;;
    1020         *)
    1021           CPPFLAGS="$CPPFLAGS -mno-cygwin"
    1022           ;;
    1023       esac
    1024     fi ;;
    1025 esac
    1026989
    1027990# add -DPROJECT_BUILD to signal compiler preprocessor which config header file to include
     
    12621225fi
    12631226
    1264 # If FFLAGS contains -mno-cygwin, CPPFLAGS must have it.
    1265 case "$FFLAGS" in
    1266   *-mno-cygwin*)
    1267     if test x${CPPFLAGS+set} != xset ; then
    1268       CPPFLAGS="-mno-cygwin"
    1269     else
    1270       case "$CPPFLAGS" in
    1271         *-mno-cygwin*)
    1272           ;;
    1273         *)
    1274           CPPFLAGS="$CPPFLAGS -mno-cygwin"
    1275           ;;
    1276       esac
    1277     fi ;;
    1278 esac
    1279 
    12801227# Try if FFLAGS works
    12811228if test "$F77" != "unavailable" ; then
Note: See TracChangeset for help on using the changeset viewer.