summaryrefslogtreecommitdiff
path: root/autoconf/m4/pa_add_ldflags.m4
blob: 0a80d3487609005d559be4fed32f54e3e7250a4d (plain)
1
2
3
4
5
6
7
8
9
dnl --------------------------------------------------------------------------
dnl PA_ADD_LDFLAGS(variable, flag [,actual_flag])
dnl
dnl Attempt to add the given option to xFLAGS, if it doesn't break
dnl compilation.  If the option to be tested is different than the
dnl option that should actually be added, add the option to be
dnl actually added as a second argument.
dnl --------------------------------------------------------------------------
AC_DEFUN([PA_ADD_LDFLAGS], [PA_ADD_FLAGS(LDFLAGS, [$1], [$2])])