diff --git a/Osi/configure b/Osi/configure index 3a25d2f8..732d5207 100755 --- a/Osi/configure +++ b/Osi/configure @@ -1977,7 +1977,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu # compiler, if the C++ is set, but the C compiler isn't (only for CXX=cl) if test x"$CXX" != x; then case "$CXX" in - clang* ) ;; + clang* | */clang* ) ;; cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) if test x"$CC" = x; then CC="$CXX" @@ -2798,7 +2798,7 @@ echo "$as_me: error: Failed to find a C compiler!" >&2;} fi # Autoconf incorrectly concludes that cl recognises -g. It doesn't. case "$CC" in - clang* ) ;; + clang* | */clang* ) ;; cl* | */cl* | CL* | */CL* ) if test "$ac_cv_prog_cc_g" = yes ; then ac_cv_prog_cc_g=no @@ -2816,7 +2816,7 @@ CFLAGS="$save_cflags" # add automake conditional so we can recognize cl compiler in makefile coin_cc_is_cl=false case "$CC" in - clang* ) ;; + clang* | */clang* ) ;; cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) coin_cc_is_cl=true ;; @@ -2862,7 +2862,7 @@ if test x"$CFLAGS" = x; then case $build in *-cygwin* | *-mingw*) case "$CC" in - clang* ) ;; + clang* | */clang* ) ;; cl* | */cl* | CL* | */CL*) if test "$coin_disable_shared" = yes || test "$enable_shared" = yes ; then coin_opt_cflags='-MD -O2' @@ -3177,7 +3177,7 @@ fi # Correct the LD variable if we are using the MS or Intel-windows compiler case "$CC" in - clang* ) ;; + clang* | */clang* ) ;; cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) LD=link ;; @@ -3677,7 +3677,7 @@ fi # Autoconf incorrectly concludes that cl recognises -g. It doesn't. case "$CXX" in - clang* ) ;; + clang* | */clang* ) ;; cl* | */cl* | CL* | */CL* ) if test "$ac_cv_prog_cxx_g" = yes ; then ac_cv_prog_cxx_g=no @@ -3727,7 +3727,7 @@ if test x"$CXXFLAGS" = x; then case $build in *-cygwin* | *-mingw*) case "$CXX" in - clang* ) ;; + clang* | */clang* ) ;; cl* | */cl* | CL* | */CL*) # The MT and MTd options are mutually exclusive if test "$coin_disable_shared" = yes || test "$enable_shared" = yes ; then @@ -4050,7 +4050,7 @@ fi # correct the LD variable in a build with MS or Intel-windows compiler case "$CXX" in - clang* ) ;; + clang* | */clang* ) ;; cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) LD=link ;; @@ -4086,7 +4086,7 @@ else coin_disable_shared=yes if test x"$enable_shared" = xyes; then case "$CC" in - clang* ) + clang* | */clang* ) { echo "$as_me:$LINENO: WARNING: Building of DLLs not supported in this configuration." >&5 echo "$as_me: WARNING: Building of DLLs not supported in this configuration." >&2;} ;; @@ -20285,7 +20285,7 @@ fi # sys_lib_search_path_spec *-cygwin* | *-mingw*) case "$CXX" in - clang* ) + clang* | */clang* ) # we assume that libtool patches for CLANG are the same as for GNU compiler - correct??? { echo "$as_me:$LINENO: Applying patches to libtool for CLANG compiler" >&5 echo "$as_me: Applying patches to libtool for CLANG compiler" >&6;} @@ -20484,7 +20484,7 @@ if test "$dependency_linking" = auto; then case $build in *-cygwin* | *-mingw*) case "$CC" in - clang* ) + clang* | */clang* ) dependency_linking=yes ;; cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) @@ -25331,7 +25331,7 @@ echo "$as_me:$LINENO: checking which command should be used to link input files" echo $ECHO_N "checking which command should be used to link input files... $ECHO_C" >&6 coin_link_input_cmd="$LN_S" case "$CC" in - clang* ) ;; + clang* | */clang* ) ;; cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) coin_link_input_cmd=cp ;; esac @@ -25345,7 +25345,7 @@ if test x$coin_skip_ac_output != xyes; then # library extension case "$CC" in - clang* ) + clang* | */clang* ) LIBEXT=a ;; cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) LIBEXT=lib ;; diff --git a/configure b/configure index 214176d2..ee859336 100755 --- a/configure +++ b/configure @@ -1831,7 +1831,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu # compiler, if the C++ is set, but the C compiler isn't (only for CXX=cl) if test x"$CXX" != x; then case "$CXX" in - clang* ) ;; + clang* | */clang* ) ;; cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) if test x"$CC" = x; then CC="$CXX" @@ -2652,7 +2652,7 @@ echo "$as_me: error: Failed to find a C compiler!" >&2;} fi # Autoconf incorrectly concludes that cl recognises -g. It doesn't. case "$CC" in - clang* ) ;; + clang* | */clang* ) ;; cl* | */cl* | CL* | */CL* ) if test "$ac_cv_prog_cc_g" = yes ; then ac_cv_prog_cc_g=no @@ -2670,7 +2670,7 @@ CFLAGS="$save_cflags" # add automake conditional so we can recognize cl compiler in makefile coin_cc_is_cl=false case "$CC" in - clang* ) ;; + clang* | */clang* ) ;; cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) coin_cc_is_cl=true ;; @@ -2716,7 +2716,7 @@ if test x"$CFLAGS" = x; then case $build in *-cygwin* | *-mingw*) case "$CC" in - clang* ) ;; + clang* | */clang* ) ;; cl* | */cl* | CL* | */CL*) if test "$coin_disable_shared" = yes || test "$enable_shared" = yes ; then coin_opt_cflags='-MD -O2' @@ -3031,7 +3031,7 @@ fi # Correct the LD variable if we are using the MS or Intel-windows compiler case "$CC" in - clang* ) ;; + clang* | */clang* ) ;; cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) LD=link ;; @@ -3533,7 +3533,7 @@ fi # Autoconf incorrectly concludes that cl recognises -g. It doesn't. case "$CXX" in - clang* ) ;; + clang* | */clang* ) ;; cl* | */cl* | CL* | */CL* ) if test "$ac_cv_prog_cxx_g" = yes ; then ac_cv_prog_cxx_g=no @@ -3583,7 +3583,7 @@ if test x"$CXXFLAGS" = x; then case $build in *-cygwin* | *-mingw*) case "$CXX" in - clang* ) ;; + clang* | */clang* ) ;; cl* | */cl* | CL* | */CL*) # The MT and MTd options are mutually exclusive if test "$coin_disable_shared" = yes || test "$enable_shared" = yes ; then @@ -3906,7 +3906,7 @@ fi # correct the LD variable in a build with MS or Intel-windows compiler case "$CXX" in - clang* ) ;; + clang* | */clang* ) ;; cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) LD=link ;; @@ -4632,7 +4632,7 @@ else coin_disable_shared=yes if test x"$enable_shared" = xyes; then case "$CC" in - clang* ) + clang* | */clang* ) { echo "$as_me:$LINENO: WARNING: Building of DLLs not supported in this configuration." >&5 echo "$as_me: WARNING: Building of DLLs not supported in this configuration." >&2;} ;; @@ -20594,7 +20594,7 @@ fi # sys_lib_search_path_spec *-cygwin* | *-mingw*) case "$CXX" in - clang* ) + clang* | */clang* ) # we assume that libtool patches for CLANG are the same as for GNU compiler - correct??? { echo "$as_me:$LINENO: Applying patches to libtool for CLANG compiler" >&5 echo "$as_me: Applying patches to libtool for CLANG compiler" >&6;} @@ -20793,7 +20793,7 @@ if test "$dependency_linking" = auto; then case $build in *-cygwin* | *-mingw*) case "$CC" in - clang* ) + clang* | */clang* ) dependency_linking=yes ;; cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) @@ -22086,7 +22086,7 @@ echo "$as_me:$LINENO: checking which command should be used to link input files" echo $ECHO_N "checking which command should be used to link input files... $ECHO_C" >&6 coin_link_input_cmd="$LN_S" case "$CC" in - clang* ) ;; + clang* | */clang* ) ;; cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) coin_link_input_cmd=cp ;; esac @@ -22100,7 +22100,7 @@ if test x$coin_skip_ac_output != xyes; then # library extension case "$CC" in - clang* ) + clang* | */clang* ) LIBEXT=a ;; cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) LIBEXT=lib ;;