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 | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^[0-9][0-9]*[ ][ ]*\(.*\)$/\1/; p; }; }'` |
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
235 |
|
}'` |
236 |
# Check for a 64-bit object if we didn't find anything. |
# Check for a 64-bit object if we didn't find anything. |
237 |
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],[]) |
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 *\(.*\)$/\1/; p; } |
238 |
|
}'`; fi],[]) |
239 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
240 |
])# _LT_AC_SYS_LIBPATH_AIX |
])# _LT_AC_SYS_LIBPATH_AIX |
241 |
|
|