Changeset 3475


Ignore:
Timestamp:
May 19, 2009, 3:04:03 AM (11 years ago)
Author:
Sam Hocevar
Message:

Minor optimisation in configure.ac.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/configure.ac

    r3163 r3475  
    4747fi
    4848
     49dnl FIXME: this no longer works because libtool is generated at the end
    4950AC_MSG_CHECKING(for library suffix)
    50 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`"
     51LT_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' | sed '/\.$/d;q'`"
    5152if test "$LT_SUFFIX" = ""; then
    5253  LT_SUFFIX=".so.$LT_MAJOR"
Note: See TracChangeset for help on using the changeset viewer.