Changeset d17f63e for configure


Ignore:
Timestamp:
Nov 30, 2004, 10:22:09 PM (20 years ago)
Author:
Paul Brossier <piem@altern.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
00e4659
Parents:
96fb8ad
Message:

added -lmx on macosx

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r96fb8ad rd17f63e  
    19131913
    19141914CFLAGS="$CFLAGS -O2"
     1915
    19151916
    19161917# Check whether --enable-debug or --disable-debug was given.
     
    37233724*-*-irix6*)
    37243725  # Find out which ABI we are using.
    3725   echo '#line 3725 "configure"' > conftest.$ac_ext
     3726  echo '#line 3726 "configure"' > conftest.$ac_ext
    37263727  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    37273728  (eval $ac_compile) 2>&5
     
    52805281
    52815282# Provide some information about the compiler.
    5282 echo "$as_me:5282:" \
     5283echo "$as_me:5283:" \
    52835284     "checking for Fortran 77 compiler version" >&5
    52845285ac_compiler=`set X $ac_compile; echo $2`
     
    63126313   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    63136314   -e 's:$: $lt_compiler_flag:'`
    6314    (eval echo "\"\$as_me:6314: $lt_compile\"" >&5)
     6315   (eval echo "\"\$as_me:6315: $lt_compile\"" >&5)
    63156316   (eval "$lt_compile" 2>conftest.err)
    63166317   ac_status=$?
    63176318   cat conftest.err >&5
    6318    echo "$as_me:6318: \$? = $ac_status" >&5
     6319   echo "$as_me:6319: \$? = $ac_status" >&5
    63196320   if (exit $ac_status) && test -s "$ac_outfile"; then
    63206321     # The compiler can only warn and ignore the option if not recognized
     
    65456546   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    65466547   -e 's:$: $lt_compiler_flag:'`
    6547    (eval echo "\"\$as_me:6547: $lt_compile\"" >&5)
     6548   (eval echo "\"\$as_me:6548: $lt_compile\"" >&5)
    65486549   (eval "$lt_compile" 2>conftest.err)
    65496550   ac_status=$?
    65506551   cat conftest.err >&5
    6551    echo "$as_me:6551: \$? = $ac_status" >&5
     6552   echo "$as_me:6552: \$? = $ac_status" >&5
    65526553   if (exit $ac_status) && test -s "$ac_outfile"; then
    65536554     # The compiler can only warn and ignore the option if not recognized
     
    66056606   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    66066607   -e 's:$: $lt_compiler_flag:'`
    6607    (eval echo "\"\$as_me:6607: $lt_compile\"" >&5)
     6608   (eval echo "\"\$as_me:6608: $lt_compile\"" >&5)
    66086609   (eval "$lt_compile" 2>out/conftest.err)
    66096610   ac_status=$?
    66106611   cat out/conftest.err >&5
    6611    echo "$as_me:6611: \$? = $ac_status" >&5
     6612   echo "$as_me:6612: \$? = $ac_status" >&5
    66126613   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    66136614   then
     
    87938794  lt_status=$lt_dlunknown
    87948795  cat > conftest.$ac_ext <<EOF
    8795 #line 8795 "configure"
     8796#line 8796 "configure"
    87968797#include "confdefs.h"
    87978798
     
    88918892  lt_status=$lt_dlunknown
    88928893  cat > conftest.$ac_ext <<EOF
    8893 #line 8893 "configure"
     8894#line 8894 "configure"
    88948895#include "confdefs.h"
    88958896
     
    1106811069   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1106911070   -e 's:$: $lt_compiler_flag:'`
    11070    (eval echo "\"\$as_me:11070: $lt_compile\"" >&5)
     11071   (eval echo "\"\$as_me:11071: $lt_compile\"" >&5)
    1107111072   (eval "$lt_compile" 2>conftest.err)
    1107211073   ac_status=$?
    1107311074   cat conftest.err >&5
    11074    echo "$as_me:11074: \$? = $ac_status" >&5
     11075   echo "$as_me:11075: \$? = $ac_status" >&5
    1107511076   if (exit $ac_status) && test -s "$ac_outfile"; then
    1107611077     # The compiler can only warn and ignore the option if not recognized
     
    1112811129   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1112911130   -e 's:$: $lt_compiler_flag:'`
    11130    (eval echo "\"\$as_me:11130: $lt_compile\"" >&5)
     11131   (eval echo "\"\$as_me:11131: $lt_compile\"" >&5)
    1113111132   (eval "$lt_compile" 2>out/conftest.err)
    1113211133   ac_status=$?
    1113311134   cat out/conftest.err >&5
    11134    echo "$as_me:11134: \$? = $ac_status" >&5
     11135   echo "$as_me:11135: \$? = $ac_status" >&5
    1113511136   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1113611137   then
     
    1249712498  lt_status=$lt_dlunknown
    1249812499  cat > conftest.$ac_ext <<EOF
    12499 #line 12499 "configure"
     12500#line 12500 "configure"
    1250012501#include "confdefs.h"
    1250112502
     
    1259512596  lt_status=$lt_dlunknown
    1259612597  cat > conftest.$ac_ext <<EOF
    12597 #line 12597 "configure"
     12598#line 12598 "configure"
    1259812599#include "confdefs.h"
    1259912600
     
    1342213423   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1342313424   -e 's:$: $lt_compiler_flag:'`
    13424    (eval echo "\"\$as_me:13424: $lt_compile\"" >&5)
     13425   (eval echo "\"\$as_me:13425: $lt_compile\"" >&5)
    1342513426   (eval "$lt_compile" 2>conftest.err)
    1342613427   ac_status=$?
    1342713428   cat conftest.err >&5
    13428    echo "$as_me:13428: \$? = $ac_status" >&5
     13429   echo "$as_me:13429: \$? = $ac_status" >&5
    1342913430   if (exit $ac_status) && test -s "$ac_outfile"; then
    1343013431     # The compiler can only warn and ignore the option if not recognized
     
    1348213483   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1348313484   -e 's:$: $lt_compiler_flag:'`
    13484    (eval echo "\"\$as_me:13484: $lt_compile\"" >&5)
     13485   (eval echo "\"\$as_me:13485: $lt_compile\"" >&5)
    1348513486   (eval "$lt_compile" 2>out/conftest.err)
    1348613487   ac_status=$?
    1348713488   cat out/conftest.err >&5
    13488    echo "$as_me:13488: \$? = $ac_status" >&5
     13489   echo "$as_me:13489: \$? = $ac_status" >&5
    1348913490   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1349013491   then
     
    1552715528   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1552815529   -e 's:$: $lt_compiler_flag:'`
    15529    (eval echo "\"\$as_me:15529: $lt_compile\"" >&5)
     15530   (eval echo "\"\$as_me:15530: $lt_compile\"" >&5)
    1553015531   (eval "$lt_compile" 2>conftest.err)
    1553115532   ac_status=$?
    1553215533   cat conftest.err >&5
    15533    echo "$as_me:15533: \$? = $ac_status" >&5
     15534   echo "$as_me:15534: \$? = $ac_status" >&5
    1553415535   if (exit $ac_status) && test -s "$ac_outfile"; then
    1553515536     # The compiler can only warn and ignore the option if not recognized
     
    1576015761   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1576115762   -e 's:$: $lt_compiler_flag:'`
    15762    (eval echo "\"\$as_me:15762: $lt_compile\"" >&5)
     15763   (eval echo "\"\$as_me:15763: $lt_compile\"" >&5)
    1576315764   (eval "$lt_compile" 2>conftest.err)
    1576415765   ac_status=$?
    1576515766   cat conftest.err >&5
    15766    echo "$as_me:15766: \$? = $ac_status" >&5
     15767   echo "$as_me:15767: \$? = $ac_status" >&5
    1576715768   if (exit $ac_status) && test -s "$ac_outfile"; then
    1576815769     # The compiler can only warn and ignore the option if not recognized
     
    1582015821   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1582115822   -e 's:$: $lt_compiler_flag:'`
    15822    (eval echo "\"\$as_me:15822: $lt_compile\"" >&5)
     15823   (eval echo "\"\$as_me:15823: $lt_compile\"" >&5)
    1582315824   (eval "$lt_compile" 2>out/conftest.err)
    1582415825   ac_status=$?
    1582515826   cat out/conftest.err >&5
    15826    echo "$as_me:15826: \$? = $ac_status" >&5
     15827   echo "$as_me:15827: \$? = $ac_status" >&5
    1582715828   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1582815829   then
     
    1800818009  lt_status=$lt_dlunknown
    1800918010  cat > conftest.$ac_ext <<EOF
    18010 #line 18010 "configure"
     18011#line 18011 "configure"
    1801118012#include "confdefs.h"
    1801218013
     
    1810618107  lt_status=$lt_dlunknown
    1810718108  cat > conftest.$ac_ext <<EOF
    18108 #line 18108 "configure"
     18109#line 18109 "configure"
    1810918110#include "confdefs.h"
    1811018111
     
    1926519266
    1926619267fi
     19268
     19269
     19270  ;;
     19271darwin*)
     19272    LDFLAGS="$LDFLAGS -lmx"
     19273
     19274        echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
     19275echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
     19276if test "${ac_cv_lib_cposix_strerror+set}" = set; then
     19277  echo $ECHO_N "(cached) $ECHO_C" >&6
     19278else
     19279  ac_check_lib_save_LIBS=$LIBS
     19280LIBS="-lcposix  $LIBS"
     19281cat >conftest.$ac_ext <<_ACEOF
     19282/* confdefs.h.  */
     19283_ACEOF
     19284cat confdefs.h >>conftest.$ac_ext
     19285cat >>conftest.$ac_ext <<_ACEOF
     19286/* end confdefs.h.  */
     19287
     19288/* Override any gcc2 internal prototype to avoid an error.  */
     19289#ifdef __cplusplus
     19290extern "C"
     19291#endif
     19292/* We use char because int might match the return type of a gcc2
     19293   builtin and then its argument prototype would still apply.  */
     19294char strerror ();
     19295int
     19296main ()
     19297{
     19298strerror ();
     19299  ;
     19300  return 0;
     19301}
     19302_ACEOF
     19303rm -f conftest.$ac_objext conftest$ac_exeext
     19304if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     19305  (eval $ac_link) 2>conftest.er1
     19306  ac_status=$?
     19307  grep -v '^ *+' conftest.er1 >conftest.err
     19308  rm -f conftest.er1
     19309  cat conftest.err >&5
     19310  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     19311  (exit $ac_status); } &&
     19312         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
     19313  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     19314  (eval $ac_try) 2>&5
     19315  ac_status=$?
     19316  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     19317  (exit $ac_status); }; } &&
     19318         { ac_try='test -s conftest$ac_exeext'
     19319  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     19320  (eval $ac_try) 2>&5
     19321  ac_status=$?
     19322  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     19323  (exit $ac_status); }; }; then
     19324  ac_cv_lib_cposix_strerror=yes
     19325else
     19326  echo "$as_me: failed program was:" >&5
     19327sed 's/^/| /' conftest.$ac_ext >&5
     19328
     19329ac_cv_lib_cposix_strerror=no
     19330fi
     19331rm -f conftest.err conftest.$ac_objext \
     19332      conftest$ac_exeext conftest.$ac_ext
     19333LIBS=$ac_check_lib_save_LIBS
     19334fi
     19335echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
     19336echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
     19337if test $ac_cv_lib_cposix_strerror = yes; then
     19338  LIBS="$LIBS -lcposix"
     19339fi
     19340
    1926719341
    1926819342
Note: See TracChangeset for help on using the changeset viewer.