Changeset 120


Ignore:
Timestamp:
Oct 18, 2006 4:24:27 PM (13 years ago)
Author:
andreasw
Message:

check for C compiler when we search for Fortran compiler to make sure we have consistent compilers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/ASL/stable/1.0/configure

    r101 r120  
    845845  --enable-debug          compile all projects with debug options tests
    846846  --enable-debug-asl compile this project (ASL) with debug options
     847  --enable-doscompile     Under Cygwin, compile so that executables run under
     848                          DOS (default: disabled)
    847849  --disable-dependency-tracking  speeds up one-time build
    848850  --enable-dependency-tracking   do not reject slow dependency extractors
     
    15541556esac
    15551557
     1558# Check whether --enable-doscompile or --disable-doscompile was given.
     1559if test "${enable_doscompile+set}" = set; then
     1560  enableval="$enable_doscompile"
     1561  if test "$enable_doscompile = yes"; then
     1562  case $build in
     1563    *-cygwin*) ;;
     1564    *) { { echo "$as_me:$LINENO: error: --enable-doscompile option makes only sense under Cygwin" >&5
     1565echo "$as_me: error: --enable-doscompile option makes only sense under Cygwin" >&2;}
     1566   { (exit 1); exit 1; }; } ;;
     1567  esac
     1568fi
     1569else
     1570  enable_doscompile=no
     1571fi;
     1572
     1573
    15561574
    15571575
     
    23342352        coin_dbg_cflags="-g"
    23352353        coin_warn_cflags="-pedantic-errors -Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall"
    2336 
    2337         case $build in
    2338           *-cygwin*)
    2339             CFLAGS="-mno-cygwin"
    2340             cat >conftest.$ac_ext <<_ACEOF
     2354        if test "$enable_doscompile" = yes; then
     2355          case $build in
     2356            *-cygwin*)
     2357              CFLAGS="-mno-cygwin"
     2358              cat >conftest.$ac_ext <<_ACEOF
    23412359/* confdefs.h.  */
    23422360_ACEOF
     
    23832401rm -f conftest.err conftest.$ac_objext \
    23842402      conftest$ac_exeext conftest.$ac_ext
    2385             CFLAGS=
    2386           ;;
    2387         esac
    2388         ;;
     2403              CFLAGS=
     2404            ;;
     2405          esac
     2406        fi
    23892407    esac
    23902408  fi
Note: See TracChangeset for help on using the changeset viewer.