Ignore:
Timestamp:
Oct 7, 2008, 6:06:02 PM (11 years ago)
Author:
Sam Hocevar
Message:

Fix the library suffix detection.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/configure.ac

    r2888 r2895  
    4848
    4949AC_MSG_CHECKING(for library suffix)
    50 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`"
     50LT_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`"
    5151if test "$LT_SUFFIX" = ""; then
    5252  LT_SUFFIX=".so.$LT_MAJOR"
    53   AC_MSG_RESULT(unknown, defaulting to $LT_SUFFIX)
     53  AC_MSG_RESULT([unknown, defaulting to $LT_SUFFIX])
    5454else
    5555  AC_MSG_RESULT($LT_SUFFIX)
Note: See TracChangeset for help on using the changeset viewer.