# HG changeset patch # User alex # Date 1051210543 0 # Node ID 7bd7a1aa605fd8789ff5738a49ee88a1afe76c79 # Parent a4ea0311ade2a5dc159db82e50f213a0e7a6b3f1 darwin ldd support patch by Steven M. Schultz diff -r a4ea0311ade2 -r 7bd7a1aa605f configure --- a/configure Thu Apr 24 18:52:16 2003 +0000 +++ b/configure Thu Apr 24 18:55:43 2003 +0000 @@ -35,7 +35,7 @@ TMP="$?" echo >> "$TMPLOG" echo "ldd $TMPO" >> "$TMPLOG" - ( ldd "$TMPO" ) >> "$TMPLOG" 2>&1 + ( $_ldd "$TMPO" ) >> "$TMPLOG" 2>&1 echo >> "$TMPLOG" return "$TMP" } @@ -458,6 +458,10 @@ _inc_extra="$_inc_extra -I/usr/local/include" fi +_ldd=ldd +if darwin; then + _ldd="otool -L" +fi # Checking CC version... if test "$_skip_cc_check" != yes ; then