Index: configure.ac =================================================================== --- configure.ac.orig 2009-03-16 02:37:22.000000000 +0100 +++ configure.ac 2009-03-16 02:44:16.000000000 +0100 @@ -47,7 +47,8 @@ if test "${build}" != "${host}" -a "${PK fi AC_MSG_CHECKING(for library suffix) -LT_SUFFIX="`./libtool -n --mode=link gcc -o libTEST.la -no-undefined -version-number 123:666:999 -rpath / | xargs -n 1 | sed -ne 's/.*libTEST\(@<:@^, ()0-9@:>@*\)123\(@<:@^, ()0-9@:>@*\).*/\1'$LT_MAJOR'\2/p' | grep -v '\.$' | head -n 1`" +LT_SUFFIX="`/usr/bin/libtool -n --mode=link gcc -o libTEST.la -no-undefined -version-number 123:666:999 -rpath / | xargs -n 1 | sed -ne 's/.*libTEST\(@<:@^, ()0-9@:>@*\)123\(@<:@^, ()0-9@:>@*\).*/\1'$LT_MAJOR'\2/p' | grep -v '\.$' | head -n 1`" + if test "$LT_SUFFIX" = ""; then LT_SUFFIX=".so.$LT_MAJOR" AC_MSG_RESULT([unknown, defaulting to $LT_SUFFIX])