Changeset 1837


Ignore:
Timestamp:
Jan 28, 2012 11:16:32 AM (8 years ago)
Author:
tkr
Message:

Updating configure file for tweak in build tools

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/configure

    r1803 r1837  
    20102010if test x"$CXX" != x; then
    20112011  case "$CXX" in
     2012    clang* ) ;;
    20122013    cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
    20132014      if test x"$CC" = x; then
     
    28292830# Autoconf incorrectly concludes that cl recognises -g. It doesn't.
    28302831case "$CC" in
     2832  clang* ) ;;
    28312833  cl* | */cl* | CL* | */CL* )
    28322834    if test "$ac_cv_prog_cc_g" = yes ; then
     
    28412843coin_cc_is_cl=false
    28422844case "$CC" in
     2845  clang* ) ;;
    28432846  cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
    28442847    coin_cc_is_cl=true
     
    29442947      *-cygwin* | *-mingw*)
    29452948        case "$CC" in
     2949          clang* ) ;;
    29462950          cl* | */cl* | CL* | */CL*)
    29472951            coin_opt_cflags='-MT -O2'
     
    32653269# Correct the LD variable if we are using the MS or Intel-windows compiler
    32663270case "$CC" in
     3271  clang* ) ;;
    32673272  cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
    32683273    case $build in
     
    37563761# It seems that we need to cleanup something here for the Windows
    37573762case "$CXX" in
     3763  clang* ) ;;
    37583764  cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
    37593765    sed -e 's/^void exit (int);//' confdefs.h >> confdefs.hh
     
    37773783# Autoconf incorrectly concludes that cl recognises -g. It doesn't.
    37783784case "$CXX" in
     3785  clang* ) ;;
    37793786  cl* | */cl* | CL* | */CL* )
    37803787    if test "$ac_cv_prog_cxx_g" = yes ; then
     
    38803887      *-cygwin* | *-mingw*)
    38813888        case "$CXX" in
     3889          clang* ) ;;
    38823890          cl* | */cl* | CL* | */CL*)
    38833891            # The MT and MTd options are mutually exclusive
     
    42094217# correct the LD variable in a mingw build with MS or intel compiler
    42104218case "$CXX" in
     4219  clang* ) ;;
    42114220  cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
    42124221    case $build in
     
    59845993*-*-irix6*)
    59855994  # Find out which ABI we are using.
    5986   echo '#line 5986 "configure"' > conftest.$ac_ext
     5995  echo '#line 5995 "configure"' > conftest.$ac_ext
    59875996  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    59885997  (eval $ac_compile) 2>&5
     
    71187127
    71197128# Provide some information about the compiler.
    7120 echo "$as_me:7120:" \
     7129echo "$as_me:7129:" \
    71217130     "checking for Fortran 77 compiler version" >&5
    71227131ac_compiler=`set X $ac_compile; echo $2`
     
    81858194   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    81868195   -e 's:$: $lt_compiler_flag:'`
    8187    (eval echo "\"\$as_me:8187: $lt_compile\"" >&5)
     8196   (eval echo "\"\$as_me:8196: $lt_compile\"" >&5)
    81888197   (eval "$lt_compile" 2>conftest.err)
    81898198   ac_status=$?
    81908199   cat conftest.err >&5
    8191    echo "$as_me:8191: \$? = $ac_status" >&5
     8200   echo "$as_me:8200: \$? = $ac_status" >&5
    81928201   if (exit $ac_status) && test -s "$ac_outfile"; then
    81938202     # The compiler can only warn and ignore the option if not recognized
     
    84538462   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    84548463   -e 's:$: $lt_compiler_flag:'`
    8455    (eval echo "\"\$as_me:8455: $lt_compile\"" >&5)
     8464   (eval echo "\"\$as_me:8464: $lt_compile\"" >&5)
    84568465   (eval "$lt_compile" 2>conftest.err)
    84578466   ac_status=$?
    84588467   cat conftest.err >&5
    8459    echo "$as_me:8459: \$? = $ac_status" >&5
     8468   echo "$as_me:8468: \$? = $ac_status" >&5
    84608469   if (exit $ac_status) && test -s "$ac_outfile"; then
    84618470     # The compiler can only warn and ignore the option if not recognized
     
    85578566   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    85588567   -e 's:$: $lt_compiler_flag:'`
    8559    (eval echo "\"\$as_me:8559: $lt_compile\"" >&5)
     8568   (eval echo "\"\$as_me:8568: $lt_compile\"" >&5)
    85608569   (eval "$lt_compile" 2>out/conftest.err)
    85618570   ac_status=$?
    85628571   cat out/conftest.err >&5
    8563    echo "$as_me:8563: \$? = $ac_status" >&5
     8572   echo "$as_me:8572: \$? = $ac_status" >&5
    85648573   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    85658574   then
     
    1090210911  lt_status=$lt_dlunknown
    1090310912  cat > conftest.$ac_ext <<EOF
    10904 #line 10904 "configure"
     10913#line 10913 "configure"
    1090510914#include "confdefs.h"
    1090610915
     
    1100211011  lt_status=$lt_dlunknown
    1100311012  cat > conftest.$ac_ext <<EOF
    11004 #line 11004 "configure"
     11013#line 11013 "configure"
    1100511014#include "confdefs.h"
    1100611015
     
    1334613355   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1334713356   -e 's:$: $lt_compiler_flag:'`
    13348    (eval echo "\"\$as_me:13348: $lt_compile\"" >&5)
     13357   (eval echo "\"\$as_me:13357: $lt_compile\"" >&5)
    1334913358   (eval "$lt_compile" 2>conftest.err)
    1335013359   ac_status=$?
    1335113360   cat conftest.err >&5
    13352    echo "$as_me:13352: \$? = $ac_status" >&5
     13361   echo "$as_me:13361: \$? = $ac_status" >&5
    1335313362   if (exit $ac_status) && test -s "$ac_outfile"; then
    1335413363     # The compiler can only warn and ignore the option if not recognized
     
    1345013459   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1345113460   -e 's:$: $lt_compiler_flag:'`
    13452    (eval echo "\"\$as_me:13452: $lt_compile\"" >&5)
     13461   (eval echo "\"\$as_me:13461: $lt_compile\"" >&5)
    1345313462   (eval "$lt_compile" 2>out/conftest.err)
    1345413463   ac_status=$?
    1345513464   cat out/conftest.err >&5
    13456    echo "$as_me:13456: \$? = $ac_status" >&5
     13465   echo "$as_me:13465: \$? = $ac_status" >&5
    1345713466   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1345813467   then
     
    1502015029   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1502115030   -e 's:$: $lt_compiler_flag:'`
    15022    (eval echo "\"\$as_me:15022: $lt_compile\"" >&5)
     15031   (eval echo "\"\$as_me:15031: $lt_compile\"" >&5)
    1502315032   (eval "$lt_compile" 2>conftest.err)
    1502415033   ac_status=$?
    1502515034   cat conftest.err >&5
    15026    echo "$as_me:15026: \$? = $ac_status" >&5
     15035   echo "$as_me:15035: \$? = $ac_status" >&5
    1502715036   if (exit $ac_status) && test -s "$ac_outfile"; then
    1502815037     # The compiler can only warn and ignore the option if not recognized
     
    1512415133   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1512515134   -e 's:$: $lt_compiler_flag:'`
    15126    (eval echo "\"\$as_me:15126: $lt_compile\"" >&5)
     15135   (eval echo "\"\$as_me:15135: $lt_compile\"" >&5)
    1512715136   (eval "$lt_compile" 2>out/conftest.err)
    1512815137   ac_status=$?
    1512915138   cat out/conftest.err >&5
    15130    echo "$as_me:15130: \$? = $ac_status" >&5
     15139   echo "$as_me:15139: \$? = $ac_status" >&5
    1513115140   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1513215141   then
     
    1733117340   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1733217341   -e 's:$: $lt_compiler_flag:'`
    17333    (eval echo "\"\$as_me:17333: $lt_compile\"" >&5)
     17342   (eval echo "\"\$as_me:17342: $lt_compile\"" >&5)
    1733417343   (eval "$lt_compile" 2>conftest.err)
    1733517344   ac_status=$?
    1733617345   cat conftest.err >&5
    17337    echo "$as_me:17337: \$? = $ac_status" >&5
     17346   echo "$as_me:17346: \$? = $ac_status" >&5
    1733817347   if (exit $ac_status) && test -s "$ac_outfile"; then
    1733917348     # The compiler can only warn and ignore the option if not recognized
     
    1759917608   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1760017609   -e 's:$: $lt_compiler_flag:'`
    17601    (eval echo "\"\$as_me:17601: $lt_compile\"" >&5)
     17610   (eval echo "\"\$as_me:17610: $lt_compile\"" >&5)
    1760217611   (eval "$lt_compile" 2>conftest.err)
    1760317612   ac_status=$?
    1760417613   cat conftest.err >&5
    17605    echo "$as_me:17605: \$? = $ac_status" >&5
     17614   echo "$as_me:17614: \$? = $ac_status" >&5
    1760617615   if (exit $ac_status) && test -s "$ac_outfile"; then
    1760717616     # The compiler can only warn and ignore the option if not recognized
     
    1770317712   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1770417713   -e 's:$: $lt_compiler_flag:'`
    17705    (eval echo "\"\$as_me:17705: $lt_compile\"" >&5)
     17714   (eval echo "\"\$as_me:17714: $lt_compile\"" >&5)
    1770617715   (eval "$lt_compile" 2>out/conftest.err)
    1770717716   ac_status=$?
    1770817717   cat out/conftest.err >&5
    17709    echo "$as_me:17709: \$? = $ac_status" >&5
     17718   echo "$as_me:17718: \$? = $ac_status" >&5
    1771017719   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1771117720   then
     
    2044320452    *-cygwin* | *-mingw*)
    2044420453       case "$CXX" in
     20454    clang* )
     20455      # we assume that libtool patches for CLANG are the same as for GNU compiler - correct???
     20456      { echo "$as_me:$LINENO: Applying patches to libtool for CLANG compiler" >&5
     20457echo "$as_me: Applying patches to libtool for CLANG compiler" >&6;}
     20458      sed -e 's|fix_srcfile_path=\"`cygpath -w \"\$srcfile\"`\"|fix_srcfile_path=\"\\\`'"$CYGPATH_W"' \\\"\\$srcfile\\\"\\\`\"|' \
     20459          -e 's|"lib /OUT:\\$oldlib\\$oldobjs\\$old_deplibs"|"\\$AR \\$AR_FLAGS \\$oldlib\\$oldobjs\\$old_deplibs~\\$RANLIB \\$oldlib"|' \
     20460          -e 's|libext="lib"|libext="a"|' \
     20461      libtool > conftest.bla
     20462      ;;
    2044520463    cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
    2044620464      { echo "$as_me:$LINENO: Applying patches to libtool for cl compiler" >&5
     
    2045820476          -e 's%old_archive_cmds="lib -OUT:\\$oldlib\\$oldobjs\\$old_deplibs"%old_archive_cmds="if test -r \\$oldlib; then bla=\\"\\$oldlib\\"; else bla=; fi; lib -OUT:\\$oldlib \\\\\\$bla\\$oldobjs\\$old_deplibs"%' \
    2045920477      libtool > conftest.bla
    20460 
    20461       mv conftest.bla libtool
    20462       chmod 755 libtool
    2046320478      ;;
    2046420479    *)
     
    2046920484          -e 's|libext="lib"|libext="a"|' \
    2047020485      libtool > conftest.bla
    20471 
    20472       mv conftest.bla libtool
    20473       chmod 755 libtool
    2047420486      ;;
    2047520487  esac
     20488  mv conftest.bla libtool
     20489  chmod 755 libtool
     20490
    2047620491      ;;
    2047720492    *-darwin*)
     
    2495524970
    2495624971# Provide some information about the compiler.
    24957 echo "$as_me:24957:" \
     24972echo "$as_me:24972:" \
    2495824973     "checking for Fortran 77 compiler version" >&5
    2495924974ac_compiler=`set X $ac_compile; echo $2`
     
    2552425539ac_save_FFLAGS=$FFLAGS
    2552525540FFLAGS="$FFLAGS $ac_verb"
    25526 (eval echo $as_me:25526: \"$ac_link\") >&5
     25541(eval echo $as_me:25541: \"$ac_link\") >&5
    2552725542ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    2552825543echo "$ac_f77_v_output" >&5
     
    2560225617ac_save_FFLAGS=$FFLAGS
    2560325618FFLAGS="$FFLAGS $ac_cv_prog_f77_v"
    25604 (eval echo $as_me:25604: \"$ac_link\") >&5
     25619(eval echo $as_me:25619: \"$ac_link\") >&5
    2560525620ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    2560625621echo "$ac_f77_v_output" >&5
     
    2759727612      fi
    2759827613      case "$CC" in
     27614        clang* ) ;;
    2759927615        cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
    2760027616          coin_save_LIBS="$LIBS"
     
    3138631402fi
    3138731403case "$CC" in
     31404  clang* ) ;;
    3138831405  cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
    3138931406    coin_link_input_cmd=cp ;;
     
    3139931416
    3140031417  case "$CC" in
     31418    clang* )
     31419         LIBEXT=a ;;
    3140131420    cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
    3140231421         LIBEXT=lib ;;
Note: See TracChangeset for help on using the changeset viewer.