Changeset 2894 for libpipi/trunk


Ignore:
Timestamp:
Oct 7, 2008, 1:36:55 AM (12 years ago)
Author:
Sam Hocevar
Message:

Fix the library suffix detection.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/configure.ac

    r2886 r2894  
    4545
    4646AC_MSG_CHECKING(for library suffix)
    47 LT_SUFFIX="`./libtool -n --mode=link gcc -o libTEST.la -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`"
     47LT_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`"
    4848if test "$LT_SUFFIX" = ""; then
    4949  LT_SUFFIX=".so.$LT_MAJOR"
    50   AC_MSG_RESULT(unknown, defaulting to $LT_SUFFIX)
     50  AC_MSG_RESULT([unknown, defaulting to $LT_SUFFIX])
    5151else
    5252  AC_MSG_RESULT($LT_SUFFIX)
Note: See TracChangeset for help on using the changeset viewer.