• Bug#267140: autoconf: AC_LINK_IFELSE does not allow to specify an alter

    From Yann Dirson@1:229/2 to All on Fri Aug 20 23:20:14 2004
    From: [email protected]

    Package: autoconf
    Version: 2.59-7
    Severity: wishlist

    AC_LINK_IFELSE and such rely on the definition of ac_link (from c.m4
    for C and C++, AFAICT). For those 2 langauges, ac_link is defined as
    a $CC or $CXX invocation.

    This notably causes problems when one wants to link about libtool .la
    files, since then the linker must be 'libtool --mode=link $CC".

    I work around this by setting ac_link="libtool --mode=link $ac_link"
    prior to calling AC_LINK_IFELSE, but that's obviously a gross hack.

    Especially, automake makes use of LD and CXXLD in Makefiles, and I
    also have to set them to "libtool --mode=link $(CXX)" and such.

    It would be nice to be able to change LD and CXXLD in configure.ac,
    have those values used fo the tests, and automatically propagated to Makefile's.

    Does that sound reasonable, or am I missing an obvious feature here ?

    -- System Information:
    Debian Release: 3.1
    APT prefers unstable
    APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (i586)
    Kernel: Linux 2.4.23-k6+preempt+acl
    Locale: LANG=C, LC_CTYPE=french

    Versions of packages autoconf depends on:
    ii debianutils 2.8.4 Miscellaneous utilities specific t ii m4 1.4.1-1 a macro processing language
    ii perl 5.8.4-2 Larry Wall's Practical Extraction

    -- no debconf information

    --
    Yann Dirson <[email protected]> |
    Debian-related: <[email protected]> | Support Debian GNU/Linux:
    | Freedom, Power, Stability, Gratis
    http://ydirson.free.fr/ | Check <http://www.debian.org/>


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)