Changeset 2483 for stable/0.7
- Timestamp:
- Nov 13, 2011 1:19:10 PM (9 years ago)
- Location:
- stable/0.7
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable/0.7
-
stable/0.7/coin.m4
r2432 r2483 350 350 # It seems that we need to cleanup something here for the Windows 351 351 case "$CXX" in 352 clang* ) ;; 352 353 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 353 354 sed -e 's/^void exit (int);//' confdefs.h >> confdefs.hh … … 362 363 # Autoconf incorrectly concludes that cl recognises -g. It doesn't. 363 364 case "$CXX" in 365 clang* ) ;; 364 366 cl* | */cl* | CL* | */CL* ) 365 367 if test "$ac_cv_prog_cxx_g" = yes ; then … … 420 422 *-cygwin* | *-mingw*) 421 423 case "$CXX" in 424 clang* ) ;; 422 425 cl* | */cl* | CL* | */CL*) 423 426 # The MT and MTd options are mutually exclusive … … 567 570 # correct the LD variable in a mingw build with MS or intel compiler 568 571 case "$CXX" in 572 clang* ) ;; 569 573 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 570 574 AC_COIN_MINGW_LD_FIX … … 601 605 *-mingw32 | *-cygwin* ) 602 606 case "$CXX" in 607 clang* ) ;; 603 608 cl* | */cl* | CL* | */CL*) 604 609 CXXLIBS=nothing;; … … 703 708 if test x"$CXX" != x; then 704 709 case "$CXX" in 710 clang* ) ;; 705 711 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 706 712 if test x"$CC" = x; then … … 756 762 # Autoconf incorrectly concludes that cl recognises -g. It doesn't. 757 763 case "$CC" in 764 clang* ) ;; 758 765 cl* | */cl* | CL* | */CL* ) 759 766 if test "$ac_cv_prog_cc_g" = yes ; then … … 767 774 coin_cc_is_cl=false 768 775 case "$CC" in 776 clang* ) ;; 769 777 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 770 778 coin_cc_is_cl=true … … 818 826 *-cygwin* | *-mingw*) 819 827 case "$CC" in 828 clang* ) ;; 820 829 cl* | */cl* | CL* | */CL*) 821 830 coin_opt_cflags='-MT -O2' … … 957 966 # Correct the LD variable if we are using the MS or Intel-windows compiler 958 967 case "$CC" in 968 clang* ) ;; 959 969 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 960 970 AC_COIN_MINGW_LD_FIX … … 1717 1727 AC_DEFUN([AC_COIN_PATCH_LIBTOOL_CYGWIN], 1718 1728 [ case "$CXX" in 1729 clang* ) 1730 # we assume that libtool patches for CLANG are the same as for GNU compiler - correct??? 1731 AC_MSG_NOTICE(Applying patches to libtool for CLANG compiler) 1732 sed -e 's|fix_srcfile_path=\"`cygpath -w \"\$srcfile\"`\"|fix_srcfile_path=\"\\\`'"$CYGPATH_W"' \\\"\\$srcfile\\\"\\\`\"|' \ 1733 -e 's|"lib /OUT:\\$oldlib\\$oldobjs\\$old_deplibs"|"\\$AR \\$AR_FLAGS \\$oldlib\\$oldobjs\\$old_deplibs~\\$RANLIB \\$oldlib"|' \ 1734 -e 's|libext="lib"|libext="a"|' \ 1735 libtool > conftest.bla 1736 ;; 1719 1737 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 1720 1738 AC_MSG_NOTICE(Applying patches to libtool for cl compiler) … … 1731 1749 -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"%' \ 1732 1750 libtool > conftest.bla 1733 1734 mv conftest.bla libtool1735 chmod 755 libtool1736 1751 ;; 1737 1752 *) … … 1741 1756 -e 's|libext="lib"|libext="a"|' \ 1742 1757 libtool > conftest.bla 1743 1744 mv conftest.bla libtool1745 chmod 755 libtool1746 1758 ;; 1747 esac ]) # COIN_PATCH_LIBTOOL_CYGWIN 1759 esac 1760 mv conftest.bla libtool 1761 chmod 755 libtool 1762 ]) # COIN_PATCH_LIBTOOL_CYGWIN 1748 1763 1749 1764 ########################################################################### … … 1946 1961 fi 1947 1962 case "$CC" in 1963 clang* ) ;; 1948 1964 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 1949 1965 coin_link_input_cmd=cp ;; … … 1971 1987 AC_SUBST(LIBEXT) 1972 1988 case "$CC" in 1989 clang* ) 1990 LIBEXT=a ;; 1973 1991 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 1974 1992 LIBEXT=lib ;; … … 2089 2107 [AC_BEFORE([AC_COIN_PROG_CC],[$0]) 2090 2108 2091 case "$CC" in 2092 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 2093 ;; 2094 *) 2095 coin_foreach_w([myvar], [$1], [ 2096 m4_toupper(myvar)_LIBS="-lm $m4_toupper(myvar)_LIBS" 2097 m4_toupper(myvar)_PCLIBS="-lm $m4_toupper(myvar)_PCLIBS" 2098 m4_toupper(myvar)_LIBS_INSTALLED="-lm $m4_toupper(myvar)_LIBS_INSTALLED" 2099 ]) 2100 ;; 2101 esac 2109 if test $coin_cc_is_cl != true ; then 2110 coin_foreach_w([myvar], [$1], [ 2111 m4_toupper(myvar)_LIBS="-lm $m4_toupper(myvar)_LIBS" 2112 m4_toupper(myvar)_PCLIBS="-lm $m4_toupper(myvar)_PCLIBS" 2113 m4_toupper(myvar)_LIBS_INSTALLED="-lm $m4_toupper(myvar)_LIBS_INSTALLED" 2114 ]) 2115 fi 2102 2116 2103 2117 ]) # AC_COIN_CHECK_LIBM … … 2623 2637 fi 2624 2638 case "$CC" in 2639 clang* ) ;; 2625 2640 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 2626 2641 lnkcmd=cp ;; … … 3940 3955 fi 3941 3956 case "$CC" in 3957 clang* ) ;; 3942 3958 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 3943 3959 coin_save_LIBS="$LIBS" -
stable/0.7/compile_f2c
- Property svn:mergeinfo changed (with no actual effect on merging)
Note: See TracChangeset
for help on using the changeset viewer.