Changeset 2976


Ignore:
Timestamp:
Oct 15, 2013 12:07:26 PM (6 years ago)
Author:
tkr
Message:

Re-running the autotools

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/Blas/releases/1.3.7/configure

    r2951 r2976  
    10781078                          (implies --disable-shared)
    10791079  --enable-debug-blas compile project Blas with debug compiler flags
    1080   --enable-doscompile     Under Cygwin, compile so that executables run under
    1081                           DOS. Set to mingw to use gcc/g++/ld with
    1082                           -mno-cygwin. Set to msvc to use cl/link (or
    1083                           icl/link). Default when mentioned: mingw. Default
    1084                           when not mentioned: disabled.
     1080
     1081  --enable-msvc           Prefer (i)cl/ifort/link over GNU on MinGW/Cygwin.
    10851082  --disable-pkg-config    disable use of pkg-config (if available)
    10861083  --enable-static[=PKGS]
     
    18741871
    18751872# Get the name of the Fortran compiler and appropriate compiler options
    1876 case $build in
     1873
     1874
     1875  # for backward compatibility
     1876  # Check whether --enable-doscompile or --disable-doscompile was given.
     1877if test "${enable_doscompile+set}" = set; then
     1878  enableval="$enable_doscompile"
     1879  enable_doscompile=$enableval
     1880else
     1881  enable_doscompile=no
     1882fi;
     1883
     1884  # Check whether --enable-msvc or --disable-msvc was given.
     1885if test "${enable_msvc+set}" = set; then
     1886  enableval="$enable_msvc"
     1887  enable_msvc=$enableval
     1888else
     1889  enable_msvc=no
     1890     if test "$enable_doscompile" = msvc ; then
     1891       enable_msvc=yes
     1892     elif test "$enable_doscompile" != no ; then
     1893       { { echo "$as_me:$LINENO: error: --enable-doscompile=$enable_doscompile not supported anymore." >&5
     1894echo "$as_me: error: --enable-doscompile=$enable_doscompile not supported anymore." >&2;}
     1895   { (exit 1); exit 1; }; }
     1896     fi
     1897
     1898fi;
     1899
     1900  if test "$enable_msvc" = yes; then
     1901    case $build in
     1902      *-cygwin* | *-mingw*) ;;
     1903      *) { { echo "$as_me:$LINENO: error: --enable-msvc option makes sense only under Cygwin or MinGW" >&5
     1904echo "$as_me: error: --enable-msvc option makes sense only under Cygwin or MinGW" >&2;}
     1905   { (exit 1); exit 1; }; } ;;
     1906    esac
     1907  fi
     1908
     1909
     1910 case $build in
    18771911  *-mingw*)
    18781912    if test "${LD+set}" = set; then :; else
     
    18811915    ;;
    18821916 esac
    1883  case $enable_doscompile in
    1884    msvc)
    1885      if test "x${LD+set}" = xset; then :; else
    1886        LD=link
    1887      fi
    1888      ;;
    1889  esac
    1890 
    1891 
    1892  # Check whether --enable-doscompile or --disable-doscompile was given.
    1893 if test "${enable_doscompile+set}" = set; then
    1894   enableval="$enable_doscompile"
    1895   if test "$enable_doscompile" != no; then
    1896      case $build in
    1897        *-cygwin* | *-mingw*) ;;
    1898        *) { { echo "$as_me:$LINENO: error: --enable-doscompile option makes sense only under Cygwin or MinGW" >&5
    1899 echo "$as_me: error: --enable-doscompile option makes sense only under Cygwin or MinGW" >&2;}
    1900    { (exit 1); exit 1; }; } ;;
    1901      esac
     1917 if test $enable_msvc = yes ; then
     1918   if test "x${LD+set}" = xset; then :; else
     1919     LD=link
    19021920   fi
    1903 else
    1904   enable_doscompile=no
    1905 fi;
    1906  case "$enable_doscompile" in
    1907    mingw)
    1908      case $build in
    1909        *-mingw*) enable_doscompile=no ;;
    1910      esac
    1911      ;;
    1912    msvc|no) ;;
    1913    yes) enable_doscompile=mingw ;;
    1914    *) { { echo "$as_me:$LINENO: error: Invalid value $enable_doscompile for --enable-doscompile.
    1915                     Try configure --help=recursive." >&5
    1916 echo "$as_me: error: Invalid value $enable_doscompile for --enable-doscompile.
    1917                     Try configure --help=recursive." >&2;}
    1918    { (exit 1); exit 1; }; }
    1919       ;;
    1920   esac
    1921   if test "$enable_doscompile" != no ; then
    1922     { echo "$as_me:$LINENO: DOS compile style is: $enable_doscompile" >&5
    1923 echo "$as_me: DOS compile style is: $enable_doscompile" >&6;}
    1924   fi
     1921 fi
    19251922
    19261923
     
    19651962case $build in
    19661963  *-cygwin* | *-mingw*)
    1967              if test "$enable_doscompile" = msvc ; then
    1968                comps="icl cl"
     1964             if test "$enable_msvc" = yes ; then
     1965               comps="icl cl gcc"
    19691966             else
    1970                comps="gcc cl"
     1967               comps="gcc icl cl"
    19711968             fi ;;
    19721969  *-*-solaris*)
     
    28212818            ;;
    28222819        esac
    2823         case $enable_doscompile in
    2824           mingw)
    2825             CFLAGS="-mno-cygwin"
    2826             cat >conftest.$ac_ext <<_ACEOF
    2827 /* confdefs.h.  */
    2828 _ACEOF
    2829 cat confdefs.h >>conftest.$ac_ext
    2830 cat >>conftest.$ac_ext <<_ACEOF
    2831 /* end confdefs.h.  */
    2832 
    2833 int
    2834 main ()
    2835 {
    2836 int i=0; i++;
    2837   ;
    2838   return 0;
    2839 }
    2840 _ACEOF
    2841 rm -f conftest.$ac_objext conftest$ac_exeext
    2842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2843   (eval $ac_link) 2>conftest.er1
    2844   ac_status=$?
    2845   grep -v '^ *+' conftest.er1 >conftest.err
    2846   rm -f conftest.er1
    2847   cat conftest.err >&5
    2848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2849   (exit $ac_status); } &&
    2850          { ac_try='test -z "$ac_c_werror_flag"
    2851                          || test ! -s conftest.err'
    2852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2853   (eval $ac_try) 2>&5
    2854   ac_status=$?
    2855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2856   (exit $ac_status); }; } &&
    2857          { ac_try='test -s conftest$ac_exeext'
    2858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2859   (eval $ac_try) 2>&5
    2860   ac_status=$?
    2861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2862   (exit $ac_status); }; }; then
    2863   coin_add_cflags="-mno-cygwin $coin_add_cflags"
    2864 else
    2865   echo "$as_me: failed program was:" >&5
    2866 sed 's/^/| /' conftest.$ac_ext >&5
    2867 
    2868 fi
    2869 rm -f conftest.err conftest.$ac_objext \
    2870       conftest$ac_exeext conftest.$ac_ext
    2871             CFLAGS=
    2872           ;;
    2873         esac
    28742820    esac
    28752821  fi
     
    32123158  clang* ) ;;
    32133159  cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
    3214     case $build in
     3160
     3161 case $build in
    32153162  *-mingw*)
    32163163    if test "${LD+set}" = set; then :; else
     
    32193166    ;;
    32203167 esac
    3221  case $enable_doscompile in
    3222    msvc)
    3223      if test "x${LD+set}" = xset; then :; else
    3224        LD=link
    3225      fi
    3226      ;;
    3227  esac
     3168 if test $enable_msvc = yes ; then
     3169   if test "x${LD+set}" = xset; then :; else
     3170     LD=link
     3171   fi
     3172 fi
    32283173
    32293174    ;;
     
    32393184case $build in
    32403185  *-cygwin* | *-mingw*)
    3241      if test "$enable_doscompile" = msvc ; then
    3242        coin_f77_comps="ifort fl32 compile_f2c"
     3186     if test "$enable_msvc" = yes ; then
     3187       coin_f77_comps="ifort fl32 compile_f2c gfortran g95 g77"
    32433188     else
    32443189       coin_f77_comps="gfortran ifort g95 g77 fl32 compile_f2c"
     
    34653410
    34663411# Provide some information about the compiler.
    3467 echo "$as_me:3467:" \
     3412echo "$as_me:3412:" \
    34683413     "checking for Fortran 77 compiler version" >&5
    34693414ac_compiler=`set X $ac_compile; echo $2`
     
    36343579    coin_add_fflags="-pipe"
    36353580    coin_dbg_fflags="-g -O0"
    3636     case $enable_doscompile in
    3637       mingw)
    3638         FFLAGS="-mno-cygwin"
    3639         cat >conftest.$ac_ext <<_ACEOF
    3640       program main
    3641       write(*,*) 'Hello world'
    3642       end
    3643 _ACEOF
    3644 rm -f conftest.$ac_objext conftest$ac_exeext
    3645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3646   (eval $ac_link) 2>conftest.er1
    3647   ac_status=$?
    3648   grep -v '^ *+' conftest.er1 >conftest.err
    3649   rm -f conftest.er1
    3650   cat conftest.err >&5
    3651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3652   (exit $ac_status); } &&
    3653          { ac_try='test -z "$ac_f77_werror_flag"
    3654                          || test ! -s conftest.err'
    3655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3656   (eval $ac_try) 2>&5
    3657   ac_status=$?
    3658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3659   (exit $ac_status); }; } &&
    3660          { ac_try='test -s conftest$ac_exeext'
    3661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3662   (eval $ac_try) 2>&5
    3663   ac_status=$?
    3664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3665   (exit $ac_status); }; }; then
    3666   coin_add_fflags="-mno-cygwin $coin_add_fflags"
    3667 else
    3668   echo "$as_me: failed program was:" >&5
    3669 sed 's/^/| /' conftest.$ac_ext >&5
    3670 
    3671 fi
    3672 rm -f conftest.err conftest.$ac_objext \
    3673       conftest$ac_exeext conftest.$ac_ext
    3674         FFLAGS=
    3675       ;;
    3676     esac
    36773581  else
    36783582    case $build in
     
    39663870case "$F77" in
    39673871  ifort* | */ifort* | IFORT* | */IFORT*)
    3968     case $build in
     3872
     3873 case $build in
    39693874  *-mingw*)
    39703875    if test "${LD+set}" = set; then :; else
     
    39733878    ;;
    39743879 esac
    3975  case $enable_doscompile in
    3976    msvc)
    3977      if test "x${LD+set}" = xset; then :; else
    3978        LD=link
    3979      fi
    3980      ;;
    3981  esac
     3880 if test $enable_msvc = yes ; then
     3881   if test "x${LD+set}" = xset; then :; else
     3882     LD=link
     3883   fi
     3884 fi
    39823885
    39833886    ;;
     
    40463949ac_save_FFLAGS=$FFLAGS
    40473950FFLAGS="$FFLAGS $ac_verb"
    4048 (eval echo $as_me:4048: \"$ac_link\") >&5
     3951(eval echo $as_me:3951: \"$ac_link\") >&5
    40493952ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    40503953echo "$ac_f77_v_output" >&5
     
    41244027ac_save_FFLAGS=$FFLAGS
    41254028FFLAGS="$FFLAGS $ac_cv_prog_f77_v"
    4126 (eval echo $as_me:4126: \"$ac_link\") >&5
     4029(eval echo $as_me:4029: \"$ac_link\") >&5
    41274030ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    41284031echo "$ac_f77_v_output" >&5
     
    67346637*-*-irix6*)
    67356638  # Find out which ABI we are using.
    6736   echo '#line 6736 "configure"' > conftest.$ac_ext
     6639  echo '#line 6639 "configure"' > conftest.$ac_ext
    67376640  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    67386641  (eval $ac_compile) 2>&5
     
    92119114   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    92129115   -e 's:$: $lt_compiler_flag:'`
    9213    (eval echo "\"\$as_me:9213: $lt_compile\"" >&5)
     9116   (eval echo "\"\$as_me:9116: $lt_compile\"" >&5)
    92149117   (eval "$lt_compile" 2>conftest.err)
    92159118   ac_status=$?
    92169119   cat conftest.err >&5
    9217    echo "$as_me:9217: \$? = $ac_status" >&5
     9120   echo "$as_me:9120: \$? = $ac_status" >&5
    92189121   if (exit $ac_status) && test -s "$ac_outfile"; then
    92199122     # The compiler can only warn and ignore the option if not recognized
     
    94799382   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    94809383   -e 's:$: $lt_compiler_flag:'`
    9481    (eval echo "\"\$as_me:9481: $lt_compile\"" >&5)
     9384   (eval echo "\"\$as_me:9384: $lt_compile\"" >&5)
    94829385   (eval "$lt_compile" 2>conftest.err)
    94839386   ac_status=$?
    94849387   cat conftest.err >&5
    9485    echo "$as_me:9485: \$? = $ac_status" >&5
     9388   echo "$as_me:9388: \$? = $ac_status" >&5
    94869389   if (exit $ac_status) && test -s "$ac_outfile"; then
    94879390     # The compiler can only warn and ignore the option if not recognized
     
    95839486   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    95849487   -e 's:$: $lt_compiler_flag:'`
    9585    (eval echo "\"\$as_me:9585: $lt_compile\"" >&5)
     9488   (eval echo "\"\$as_me:9488: $lt_compile\"" >&5)
    95869489   (eval "$lt_compile" 2>out/conftest.err)
    95879490   ac_status=$?
    95889491   cat out/conftest.err >&5
    9589    echo "$as_me:9589: \$? = $ac_status" >&5
     9492   echo "$as_me:9492: \$? = $ac_status" >&5
    95909493   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    95919494   then
     
    1200011903  lt_status=$lt_dlunknown
    1200111904  cat > conftest.$ac_ext <<EOF
    12002 #line 12002 "configure"
     11905#line 11905 "configure"
    1200311906#include "confdefs.h"
    1200411907
     
    1210012003  lt_status=$lt_dlunknown
    1210112004  cat > conftest.$ac_ext <<EOF
    12102 #line 12102 "configure"
     12005#line 12005 "configure"
    1210312006#include "confdefs.h"
    1210412007
     
    1446014363   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1446114364   -e 's:$: $lt_compiler_flag:'`
    14462    (eval echo "\"\$as_me:14462: $lt_compile\"" >&5)
     14365   (eval echo "\"\$as_me:14365: $lt_compile\"" >&5)
    1446314366   (eval "$lt_compile" 2>conftest.err)
    1446414367   ac_status=$?
    1446514368   cat conftest.err >&5
    14466    echo "$as_me:14466: \$? = $ac_status" >&5
     14369   echo "$as_me:14369: \$? = $ac_status" >&5
    1446714370   if (exit $ac_status) && test -s "$ac_outfile"; then
    1446814371     # The compiler can only warn and ignore the option if not recognized
     
    1456414467   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1456514468   -e 's:$: $lt_compiler_flag:'`
    14566    (eval echo "\"\$as_me:14566: $lt_compile\"" >&5)
     14469   (eval echo "\"\$as_me:14469: $lt_compile\"" >&5)
    1456714470   (eval "$lt_compile" 2>out/conftest.err)
    1456814471   ac_status=$?
    1456914472   cat out/conftest.err >&5
    14570    echo "$as_me:14570: \$? = $ac_status" >&5
     14473   echo "$as_me:14473: \$? = $ac_status" >&5
    1457114474   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1457214475   then
     
    1613416037   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1613516038   -e 's:$: $lt_compiler_flag:'`
    16136    (eval echo "\"\$as_me:16136: $lt_compile\"" >&5)
     16039   (eval echo "\"\$as_me:16039: $lt_compile\"" >&5)
    1613716040   (eval "$lt_compile" 2>conftest.err)
    1613816041   ac_status=$?
    1613916042   cat conftest.err >&5
    16140    echo "$as_me:16140: \$? = $ac_status" >&5
     16043   echo "$as_me:16043: \$? = $ac_status" >&5
    1614116044   if (exit $ac_status) && test -s "$ac_outfile"; then
    1614216045     # The compiler can only warn and ignore the option if not recognized
     
    1623816141   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1623916142   -e 's:$: $lt_compiler_flag:'`
    16240    (eval echo "\"\$as_me:16240: $lt_compile\"" >&5)
     16143   (eval echo "\"\$as_me:16143: $lt_compile\"" >&5)
    1624116144   (eval "$lt_compile" 2>out/conftest.err)
    1624216145   ac_status=$?
    1624316146   cat out/conftest.err >&5
    16244    echo "$as_me:16244: \$? = $ac_status" >&5
     16147   echo "$as_me:16147: \$? = $ac_status" >&5
    1624516148   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1624616149   then
     
    1844518348   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1844618349   -e 's:$: $lt_compiler_flag:'`
    18447    (eval echo "\"\$as_me:18447: $lt_compile\"" >&5)
     18350   (eval echo "\"\$as_me:18350: $lt_compile\"" >&5)
    1844818351   (eval "$lt_compile" 2>conftest.err)
    1844918352   ac_status=$?
    1845018353   cat conftest.err >&5
    18451    echo "$as_me:18451: \$? = $ac_status" >&5
     18354   echo "$as_me:18354: \$? = $ac_status" >&5
    1845218355   if (exit $ac_status) && test -s "$ac_outfile"; then
    1845318356     # The compiler can only warn and ignore the option if not recognized
     
    1871318616   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1871418617   -e 's:$: $lt_compiler_flag:'`
    18715    (eval echo "\"\$as_me:18715: $lt_compile\"" >&5)
     18618   (eval echo "\"\$as_me:18618: $lt_compile\"" >&5)
    1871618619   (eval "$lt_compile" 2>conftest.err)
    1871718620   ac_status=$?
    1871818621   cat conftest.err >&5
    18719    echo "$as_me:18719: \$? = $ac_status" >&5
     18622   echo "$as_me:18622: \$? = $ac_status" >&5
    1872018623   if (exit $ac_status) && test -s "$ac_outfile"; then
    1872118624     # The compiler can only warn and ignore the option if not recognized
     
    1881718720   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1881818721   -e 's:$: $lt_compiler_flag:'`
    18819    (eval echo "\"\$as_me:18819: $lt_compile\"" >&5)
     18722   (eval echo "\"\$as_me:18722: $lt_compile\"" >&5)
    1882018723   (eval "$lt_compile" 2>out/conftest.err)
    1882118724   ac_status=$?
    1882218725   cat out/conftest.err >&5
    18823    echo "$as_me:18823: \$? = $ac_status" >&5
     18726   echo "$as_me:18726: \$? = $ac_status" >&5
    1882418727   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1882518728   then
     
    2175121654echo $ECHO_N "checking which command should be used to link input files... $ECHO_C" >&6
    2175221655coin_link_input_cmd="$LN_S"
    21753 if test "$enable_doscompile" = mingw; then
    21754   coin_link_input_cmd=cp
    21755 fi
    2175621656case "$CC" in
    2175721657  clang* ) ;;
Note: See TracChangeset for help on using the changeset viewer.