Changeset 2495 for ThirdParty/ASL
- Timestamp:
- Feb 1, 2012 4:58:52 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/ASL/stable/1.2/configure
r2481 r2495 1953 1953 if test x"$CXX" != x; then 1954 1954 case "$CXX" in 1955 clang* ) ;; 1955 1956 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 1956 1957 if test x"$CC" = x; then … … 2772 2773 # Autoconf incorrectly concludes that cl recognises -g. It doesn't. 2773 2774 case "$CC" in 2775 clang* ) ;; 2774 2776 cl* | */cl* | CL* | */CL* ) 2775 2777 if test "$ac_cv_prog_cc_g" = yes ; then … … 2784 2786 coin_cc_is_cl=false 2785 2787 case "$CC" in 2788 clang* ) ;; 2786 2789 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 2787 2790 coin_cc_is_cl=true … … 2887 2890 *-cygwin* | *-mingw*) 2888 2891 case "$CC" in 2892 clang* ) ;; 2889 2893 cl* | */cl* | CL* | */CL*) 2890 2894 coin_opt_cflags='-MT -O2' … … 3208 3212 # Correct the LD variable if we are using the MS or Intel-windows compiler 3209 3213 case "$CC" in 3214 clang* ) ;; 3210 3215 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 3211 3216 case $build in … … 4848 4853 *-*-irix6*) 4849 4854 # Find out which ABI we are using. 4850 echo '#line 485 0"configure"' > conftest.$ac_ext4855 echo '#line 4855 "configure"' > conftest.$ac_ext 4851 4856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4852 4857 (eval $ac_compile) 2>&5 … … 6447 6452 6448 6453 # Provide some information about the compiler. 6449 echo "$as_me:64 49:" \6454 echo "$as_me:6454:" \ 6450 6455 "checking for Fortran 77 compiler version" >&5 6451 6456 ac_compiler=`set X $ac_compile; echo $2` … … 7514 7519 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7515 7520 -e 's:$: $lt_compiler_flag:'` 7516 (eval echo "\"\$as_me:75 16: $lt_compile\"" >&5)7521 (eval echo "\"\$as_me:7521: $lt_compile\"" >&5) 7517 7522 (eval "$lt_compile" 2>conftest.err) 7518 7523 ac_status=$? 7519 7524 cat conftest.err >&5 7520 echo "$as_me:752 0: \$? = $ac_status" >&57525 echo "$as_me:7525: \$? = $ac_status" >&5 7521 7526 if (exit $ac_status) && test -s "$ac_outfile"; then 7522 7527 # The compiler can only warn and ignore the option if not recognized … … 7782 7787 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7783 7788 -e 's:$: $lt_compiler_flag:'` 7784 (eval echo "\"\$as_me:778 4: $lt_compile\"" >&5)7789 (eval echo "\"\$as_me:7789: $lt_compile\"" >&5) 7785 7790 (eval "$lt_compile" 2>conftest.err) 7786 7791 ac_status=$? 7787 7792 cat conftest.err >&5 7788 echo "$as_me:77 88: \$? = $ac_status" >&57793 echo "$as_me:7793: \$? = $ac_status" >&5 7789 7794 if (exit $ac_status) && test -s "$ac_outfile"; then 7790 7795 # The compiler can only warn and ignore the option if not recognized … … 7886 7891 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7887 7892 -e 's:$: $lt_compiler_flag:'` 7888 (eval echo "\"\$as_me:78 88: $lt_compile\"" >&5)7893 (eval echo "\"\$as_me:7893: $lt_compile\"" >&5) 7889 7894 (eval "$lt_compile" 2>out/conftest.err) 7890 7895 ac_status=$? 7891 7896 cat out/conftest.err >&5 7892 echo "$as_me:789 2: \$? = $ac_status" >&57897 echo "$as_me:7897: \$? = $ac_status" >&5 7893 7898 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7894 7899 then … … 10231 10236 lt_status=$lt_dlunknown 10232 10237 cat > conftest.$ac_ext <<EOF 10233 #line 1023 3"configure"10238 #line 10238 "configure" 10234 10239 #include "confdefs.h" 10235 10240 … … 10331 10336 lt_status=$lt_dlunknown 10332 10337 cat > conftest.$ac_ext <<EOF 10333 #line 1033 3"configure"10338 #line 10338 "configure" 10334 10339 #include "confdefs.h" 10335 10340 … … 12675 12680 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12676 12681 -e 's:$: $lt_compiler_flag:'` 12677 (eval echo "\"\$as_me:126 77: $lt_compile\"" >&5)12682 (eval echo "\"\$as_me:12682: $lt_compile\"" >&5) 12678 12683 (eval "$lt_compile" 2>conftest.err) 12679 12684 ac_status=$? 12680 12685 cat conftest.err >&5 12681 echo "$as_me:1268 1: \$? = $ac_status" >&512686 echo "$as_me:12686: \$? = $ac_status" >&5 12682 12687 if (exit $ac_status) && test -s "$ac_outfile"; then 12683 12688 # The compiler can only warn and ignore the option if not recognized … … 12779 12784 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 12780 12785 -e 's:$: $lt_compiler_flag:'` 12781 (eval echo "\"\$as_me:1278 1: $lt_compile\"" >&5)12786 (eval echo "\"\$as_me:12786: $lt_compile\"" >&5) 12782 12787 (eval "$lt_compile" 2>out/conftest.err) 12783 12788 ac_status=$? 12784 12789 cat out/conftest.err >&5 12785 echo "$as_me:127 85: \$? = $ac_status" >&512790 echo "$as_me:12790: \$? = $ac_status" >&5 12786 12791 if (exit $ac_status) && test -s out/conftest2.$ac_objext 12787 12792 then … … 14349 14354 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14350 14355 -e 's:$: $lt_compiler_flag:'` 14351 (eval echo "\"\$as_me:1435 1: $lt_compile\"" >&5)14356 (eval echo "\"\$as_me:14356: $lt_compile\"" >&5) 14352 14357 (eval "$lt_compile" 2>conftest.err) 14353 14358 ac_status=$? 14354 14359 cat conftest.err >&5 14355 echo "$as_me:143 55: \$? = $ac_status" >&514360 echo "$as_me:14360: \$? = $ac_status" >&5 14356 14361 if (exit $ac_status) && test -s "$ac_outfile"; then 14357 14362 # The compiler can only warn and ignore the option if not recognized … … 14453 14458 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14454 14459 -e 's:$: $lt_compiler_flag:'` 14455 (eval echo "\"\$as_me:144 55: $lt_compile\"" >&5)14460 (eval echo "\"\$as_me:14460: $lt_compile\"" >&5) 14456 14461 (eval "$lt_compile" 2>out/conftest.err) 14457 14462 ac_status=$? 14458 14463 cat out/conftest.err >&5 14459 echo "$as_me:144 59: \$? = $ac_status" >&514464 echo "$as_me:14464: \$? = $ac_status" >&5 14460 14465 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14461 14466 then … … 16660 16665 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16661 16666 -e 's:$: $lt_compiler_flag:'` 16662 (eval echo "\"\$as_me:1666 2: $lt_compile\"" >&5)16667 (eval echo "\"\$as_me:16667: $lt_compile\"" >&5) 16663 16668 (eval "$lt_compile" 2>conftest.err) 16664 16669 ac_status=$? 16665 16670 cat conftest.err >&5 16666 echo "$as_me:166 66: \$? = $ac_status" >&516671 echo "$as_me:16671: \$? = $ac_status" >&5 16667 16672 if (exit $ac_status) && test -s "$ac_outfile"; then 16668 16673 # The compiler can only warn and ignore the option if not recognized … … 16928 16933 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16929 16934 -e 's:$: $lt_compiler_flag:'` 16930 (eval echo "\"\$as_me:1693 0: $lt_compile\"" >&5)16935 (eval echo "\"\$as_me:16935: $lt_compile\"" >&5) 16931 16936 (eval "$lt_compile" 2>conftest.err) 16932 16937 ac_status=$? 16933 16938 cat conftest.err >&5 16934 echo "$as_me:1693 4: \$? = $ac_status" >&516939 echo "$as_me:16939: \$? = $ac_status" >&5 16935 16940 if (exit $ac_status) && test -s "$ac_outfile"; then 16936 16941 # The compiler can only warn and ignore the option if not recognized … … 17032 17037 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17033 17038 -e 's:$: $lt_compiler_flag:'` 17034 (eval echo "\"\$as_me:1703 4: $lt_compile\"" >&5)17039 (eval echo "\"\$as_me:17039: $lt_compile\"" >&5) 17035 17040 (eval "$lt_compile" 2>out/conftest.err) 17036 17041 ac_status=$? 17037 17042 cat out/conftest.err >&5 17038 echo "$as_me:170 38: \$? = $ac_status" >&517043 echo "$as_me:17043: \$? = $ac_status" >&5 17039 17044 if (exit $ac_status) && test -s out/conftest2.$ac_objext 17040 17045 then … … 19772 19777 *-cygwin* | *-mingw*) 19773 19778 case "$CXX" in 19779 clang* ) 19780 # we assume that libtool patches for CLANG are the same as for GNU compiler - correct??? 19781 { echo "$as_me:$LINENO: Applying patches to libtool for CLANG compiler" >&5 19782 echo "$as_me: Applying patches to libtool for CLANG compiler" >&6;} 19783 sed -e 's|fix_srcfile_path=\"`cygpath -w \"\$srcfile\"`\"|fix_srcfile_path=\"\\\`'"$CYGPATH_W"' \\\"\\$srcfile\\\"\\\`\"|' \ 19784 -e 's|"lib /OUT:\\$oldlib\\$oldobjs\\$old_deplibs"|"\\$AR \\$AR_FLAGS \\$oldlib\\$oldobjs\\$old_deplibs~\\$RANLIB \\$oldlib"|' \ 19785 -e 's|libext="lib"|libext="a"|' \ 19786 libtool > conftest.bla 19787 ;; 19774 19788 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 19775 19789 { echo "$as_me:$LINENO: Applying patches to libtool for cl compiler" >&5 … … 19787 19801 -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"%' \ 19788 19802 libtool > conftest.bla 19789 19790 mv conftest.bla libtool19791 chmod 755 libtool19792 19803 ;; 19793 19804 *) … … 19798 19809 -e 's|libext="lib"|libext="a"|' \ 19799 19810 libtool > conftest.bla 19800 19801 mv conftest.bla libtool19802 chmod 755 libtool19803 19811 ;; 19804 19812 esac 19813 mv conftest.bla libtool 19814 chmod 755 libtool 19815 19805 19816 ;; 19806 19817 *-darwin*) … … 20454 20465 20455 20466 20456 case "$CC" in 20457 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 20458 ;; 20459 *) 20460 20461 ASL_LIBS="-lm $ASL_LIBS" 20462 ASL_PCLIBS="-lm $ASL_PCLIBS" 20463 ASL_LIBS_INSTALLED="-lm $ASL_LIBS_INSTALLED" 20464 20465 ;; 20466 esac 20467 if test $coin_cc_is_cl != true ; then 20468 20469 ASL_LIBS="-lm $ASL_LIBS" 20470 ASL_PCLIBS="-lm $ASL_PCLIBS" 20471 ASL_LIBS_INSTALLED="-lm $ASL_LIBS_INSTALLED" 20472 20473 fi 20467 20474 20468 20475 … … 20480 20487 fi 20481 20488 case "$CC" in 20489 clang* ) ;; 20482 20490 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 20483 20491 coin_link_input_cmd=cp ;; … … 20493 20501 20494 20502 case "$CC" in 20503 clang* ) 20504 LIBEXT=a ;; 20495 20505 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 20496 20506 LIBEXT=lib ;;
Note: See TracChangeset
for help on using the changeset viewer.