PAC_PROG_C_WEAK_SYMBOLS

Test whether C supports weak symbols. Synopsis PAC_PROG_C_WEAK_SYMBOLS(action-if-true,action-if-false)

Output Effect

Defines one of the following if a weak symbol pragma is found

    HAVE_PRAGMA_WEAK - #pragma weak
    HAVE_PRAGMA_HP_SEC_DEF - #pragma _HP_SECONDARY_DEF
    HAVE_PRAGMA_CRI_DUP  - #pragma _CRI duplicate x as y
May also define
    HAVE_WEAK_ATTRIBUTE
if functions can be declared as int foo(...) __attribute__ ((weak)); sets the shell variable pac_cv_attr_weak to yes.