231 |
# to the aix ld manual. |
# to the aix ld manual. |
232 |
AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], |
AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], |
233 |
[AC_LINK_IFELSE(AC_LANG_PROGRAM,[ |
[AC_LINK_IFELSE(AC_LANG_PROGRAM,[ |
234 |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | ${AWK-awk} '/Import File Strings/ { getline; getline; if ($[2] ~ /^\//) print $[2] }'` |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^[0-9][0-9]*[ ][ ]*\(.*\)$/\1/; p; }; }'` |
235 |
# Check for a 64-bit object if we didn't find anything. |
# Check for a 64-bit object if we didn't find anything. |
236 |
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | ${AWK-awk} '/Import File Strings/ { getline; getline; if ($[2] ~ /^\//) print $[2] }'`; fi],[]) |
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^[0-9][0-9]*[ ][ ]*\(.*\)$/\1/; p; }; }'`; fi],[]) |
237 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
238 |
])# _LT_AC_SYS_LIBPATH_AIX |
])# _LT_AC_SYS_LIBPATH_AIX |
239 |
|
|