ppp/m4
Mike Gilbert 9c5701cb40
Use pkg-config to detect PAM when possible (#479)
This fixes a link error on Gentoo Linux by not putting -L/usr/lib in the
link command on 64-bit systems. The correct path is -L/usr/lib64, and
this is the default path used by GCC and clang.

Users may override pkg-config by setting PAM_CFLAGS and PAM_LDFLAGS in
the environment before calling configure. This is standard behavior for
the PKG_CHECK_MODULES macro.

The legacy detection logic is maintained when a path is given as an
argument to --with-pam. Note that this logic is broken when libdir is
not "lib".

Signed-off-by: Mike Gilbert <floppym@gentoo.org>
2024-04-26 19:10:16 +10:00
..
ax_check_atm.m4 Fix build for when --without-[srp|atm|pcap|pam]=no, the value would be "no" and not empty in that case 2022-07-15 15:25:39 -07:00
ax_check_openssl_func.m4 Use autoconf/automake to configure and make ppp 2021-07-20 08:24:08 -07:00
ax_check_openssl.m4 Fix problem where the detection of openssl failed when pkgconfig isn't available (#468) 2023-12-21 09:29:29 +00:00
ax_check_pam.m4 Use pkg-config to detect PAM when possible (#479) 2024-04-26 19:10:16 +10:00
ax_check_pcap.m4 Fix build for when --without-[srp|atm|pcap|pam]=no, the value would be "no" and not empty in that case 2022-07-15 15:25:39 -07:00
ax_check_srp.m4 Fix build for when --without-[srp|atm|pcap|pam]=no, the value would be "no" and not empty in that case 2022-07-15 15:25:39 -07:00
pkg.m4 Use autoconf/automake to configure and make ppp 2021-07-20 08:24:08 -07:00