Changeset 244 for ThirdParty/Blas


Ignore:
Timestamp:
Mar 6, 2007 11:38:59 AM (13 years ago)
Author:
andreasw
Message:

add bugfix for libtool to handle -m32 on x86_64 with gnu compilers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/Blas/trunk/configure

    r238 r244  
    47964796
    47974797
    4798 unset ac_cv_file__________libtool
    4799 unset ac_cv_file_______libtool
    4800 unset ac_cv_file____libtool
    4801 
    48024798LIBTOOL=
    48034799if test -r ../libtool; then
     
    48114807  fi
    48124808fi
    4813 
    4814 # AC_CHECK_FILE seems to complain when doing cross compilation...(?!??)
    4815 #AC_CHECK_FILE([../libtool],
    4816 #              [coin_config_dir=..
    4817 #               LIBTOOL='$(SHELL) $(top_builddir)/../libtool'])
    4818 #if test "x$LIBTOOL" = x; then
    4819 #  AC_CHECK_FILE([../../libtool],
    4820 #                [coin_config_dir=../..
    4821 #                 LIBTOOL='$(SHELL) $(top_builddir)/../../libtool'])
    4822 #fi
    4823 # if test "x$LIBTOOL" = x; then
    4824 #   AC_CHECK_FILE([../../../libtool],
    4825 #                 [coin_config_dir=../../..
    4826 #                  LIBTOOL='$(SHELL) $(top_builddir)/../../../libtool'])
    4827 # fi
    48284809
    48294810if test "x$LIBTOOL" = x; then
     
    53785359*-*-irix6*)
    53795360  # Find out which ABI we are using.
    5380   echo '#line 5380 "configure"' > conftest.$ac_ext
     5361  echo '#line 5361 "configure"' > conftest.$ac_ext
    53815362  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    53825363  (eval $ac_compile) 2>&5
     
    78077788   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    78087789   -e 's:$: $lt_compiler_flag:'`
    7809    (eval echo "\"\$as_me:7809: $lt_compile\"" >&5)
     7790   (eval echo "\"\$as_me:7790: $lt_compile\"" >&5)
    78107791   (eval "$lt_compile" 2>conftest.err)
    78117792   ac_status=$?
    78127793   cat conftest.err >&5
    7813    echo "$as_me:7813: \$? = $ac_status" >&5
     7794   echo "$as_me:7794: \$? = $ac_status" >&5
    78147795   if (exit $ac_status) && test -s "$ac_outfile"; then
    78157796     # The compiler can only warn and ignore the option if not recognized
     
    80758056   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    80768057   -e 's:$: $lt_compiler_flag:'`
    8077    (eval echo "\"\$as_me:8077: $lt_compile\"" >&5)
     8058   (eval echo "\"\$as_me:8058: $lt_compile\"" >&5)
    80788059   (eval "$lt_compile" 2>conftest.err)
    80798060   ac_status=$?
    80808061   cat conftest.err >&5
    8081    echo "$as_me:8081: \$? = $ac_status" >&5
     8062   echo "$as_me:8062: \$? = $ac_status" >&5
    80828063   if (exit $ac_status) && test -s "$ac_outfile"; then
    80838064     # The compiler can only warn and ignore the option if not recognized
     
    81798160   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    81808161   -e 's:$: $lt_compiler_flag:'`
    8181    (eval echo "\"\$as_me:8181: $lt_compile\"" >&5)
     8162   (eval echo "\"\$as_me:8162: $lt_compile\"" >&5)
    81828163   (eval "$lt_compile" 2>out/conftest.err)
    81838164   ac_status=$?
    81848165   cat out/conftest.err >&5
    8185    echo "$as_me:8185: \$? = $ac_status" >&5
     8166   echo "$as_me:8166: \$? = $ac_status" >&5
    81868167   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    81878168   then
     
    1052410505  lt_status=$lt_dlunknown
    1052510506  cat > conftest.$ac_ext <<EOF
    10526 #line 10526 "configure"
     10507#line 10507 "configure"
    1052710508#include "confdefs.h"
    1052810509
     
    1062410605  lt_status=$lt_dlunknown
    1062510606  cat > conftest.$ac_ext <<EOF
    10626 #line 10626 "configure"
     10607#line 10607 "configure"
    1062710608#include "confdefs.h"
    1062810609
     
    1296812949   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1296912950   -e 's:$: $lt_compiler_flag:'`
    12970    (eval echo "\"\$as_me:12970: $lt_compile\"" >&5)
     12951   (eval echo "\"\$as_me:12951: $lt_compile\"" >&5)
    1297112952   (eval "$lt_compile" 2>conftest.err)
    1297212953   ac_status=$?
    1297312954   cat conftest.err >&5
    12974    echo "$as_me:12974: \$? = $ac_status" >&5
     12955   echo "$as_me:12955: \$? = $ac_status" >&5
    1297512956   if (exit $ac_status) && test -s "$ac_outfile"; then
    1297612957     # The compiler can only warn and ignore the option if not recognized
     
    1307213053   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1307313054   -e 's:$: $lt_compiler_flag:'`
    13074    (eval echo "\"\$as_me:13074: $lt_compile\"" >&5)
     13055   (eval echo "\"\$as_me:13055: $lt_compile\"" >&5)
    1307513056   (eval "$lt_compile" 2>out/conftest.err)
    1307613057   ac_status=$?
    1307713058   cat out/conftest.err >&5
    13078    echo "$as_me:13078: \$? = $ac_status" >&5
     13059   echo "$as_me:13059: \$? = $ac_status" >&5
    1307913060   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1308013061   then
     
    1464214623   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1464314624   -e 's:$: $lt_compiler_flag:'`
    14644    (eval echo "\"\$as_me:14644: $lt_compile\"" >&5)
     14625   (eval echo "\"\$as_me:14625: $lt_compile\"" >&5)
    1464514626   (eval "$lt_compile" 2>conftest.err)
    1464614627   ac_status=$?
    1464714628   cat conftest.err >&5
    14648    echo "$as_me:14648: \$? = $ac_status" >&5
     14629   echo "$as_me:14629: \$? = $ac_status" >&5
    1464914630   if (exit $ac_status) && test -s "$ac_outfile"; then
    1465014631     # The compiler can only warn and ignore the option if not recognized
     
    1474614727   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1474714728   -e 's:$: $lt_compiler_flag:'`
    14748    (eval echo "\"\$as_me:14748: $lt_compile\"" >&5)
     14729   (eval echo "\"\$as_me:14729: $lt_compile\"" >&5)
    1474914730   (eval "$lt_compile" 2>out/conftest.err)
    1475014731   ac_status=$?
    1475114732   cat out/conftest.err >&5
    14752    echo "$as_me:14752: \$? = $ac_status" >&5
     14733   echo "$as_me:14733: \$? = $ac_status" >&5
    1475314734   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1475414735   then
     
    1695316934   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1695416935   -e 's:$: $lt_compiler_flag:'`
    16955    (eval echo "\"\$as_me:16955: $lt_compile\"" >&5)
     16936   (eval echo "\"\$as_me:16936: $lt_compile\"" >&5)
    1695616937   (eval "$lt_compile" 2>conftest.err)
    1695716938   ac_status=$?
    1695816939   cat conftest.err >&5
    16959    echo "$as_me:16959: \$? = $ac_status" >&5
     16940   echo "$as_me:16940: \$? = $ac_status" >&5
    1696016941   if (exit $ac_status) && test -s "$ac_outfile"; then
    1696116942     # The compiler can only warn and ignore the option if not recognized
     
    1722117202   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1722217203   -e 's:$: $lt_compiler_flag:'`
    17223    (eval echo "\"\$as_me:17223: $lt_compile\"" >&5)
     17204   (eval echo "\"\$as_me:17204: $lt_compile\"" >&5)
    1722417205   (eval "$lt_compile" 2>conftest.err)
    1722517206   ac_status=$?
    1722617207   cat conftest.err >&5
    17227    echo "$as_me:17227: \$? = $ac_status" >&5
     17208   echo "$as_me:17208: \$? = $ac_status" >&5
    1722817209   if (exit $ac_status) && test -s "$ac_outfile"; then
    1722917210     # The compiler can only warn and ignore the option if not recognized
     
    1732517306   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1732617307   -e 's:$: $lt_compiler_flag:'`
    17327    (eval echo "\"\$as_me:17327: $lt_compile\"" >&5)
     17308   (eval echo "\"\$as_me:17308: $lt_compile\"" >&5)
    1732817309   (eval "$lt_compile" 2>out/conftest.err)
    1732917310   ac_status=$?
    1733017311   cat out/conftest.err >&5
    17331    echo "$as_me:17331: \$? = $ac_status" >&5
     17312   echo "$as_me:17312: \$? = $ac_status" >&5
    1733217313   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1733317314   then
     
    2003920020
    2004020021  case $build in
     20022    *x86_64-*)
     20023# Here we need to check if -m32 is specified.  If so, we need to correct sys_lib_search_path_spec
     20024      if test "$GCC" = yes && (echo $CXXFLAGS $CFLAGS $FFLAGS | $EGREP 'm32' >& /dev/null); then
     20025        { echo "$as_me:$LINENO: Applying patches to libtool for 32bit compilation" >&5
     20026echo "$as_me: Applying patches to libtool for 32bit compilation" >&6;}
     20027        sed -e 's|sys_lib_search_path_spec=".*"|sys_lib_search_path_spec="/lib /usr/lib"|' libtool > conftest.bla
     20028        mv conftest.bla libtool
     20029        chmod 755 libtool
     20030      fi
     20031      ;;
    2004120032    *-cygwin* | *-mingw*)
    2004220033    case "$CXX" in
     
    2023020221ac_save_FFLAGS=$FFLAGS
    2023120222FFLAGS="$FFLAGS $ac_verb"
    20232 (eval echo $as_me:20232: \"$ac_link\") >&5
     20223(eval echo $as_me:20223: \"$ac_link\") >&5
    2023320224ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    2023420225echo "$ac_f77_v_output" >&5
     
    2030820299ac_save_FFLAGS=$FFLAGS
    2030920300FFLAGS="$FFLAGS $ac_cv_prog_f77_v"
    20310 (eval echo $as_me:20310: \"$ac_link\") >&5
     20301(eval echo $as_me:20301: \"$ac_link\") >&5
    2031120302ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    2031220303echo "$ac_f77_v_output" >&5
Note: See TracChangeset for help on using the changeset viewer.