AC_DEFINE_UNQUOTED(CAPABILITY_BANNER_STRING, "$capability_banner", IMAP capabilities advertised in banner)
CFLAGS="$CFLAGS $EXTRA_CFLAGS"
+NOPLUGIN_LDFLAGS="-no-undefined"
if test "$with_gnu_ld" = yes; then
- NOPLUGIN_LDFLAGS="-Wl,--as-needed"
- case "$host_os" in
- linux*)
- # This appears to work in Linux, but not in BSDs..
- NOPLUGIN_LDFLAGS="$NOPLUGIN_LDFLAGS -Wl,--no-undefined"
- ;;
- *)
- ;;
- esac
- LDFLAGS="\$(NOPLUGIN_LDFLAGS) $LDFLAGS"
- AC_SUBST(NOPLUGIN_LDFLAGS)
+ NOPLUGIN_LDFLAGS="$NOPLUGIN_LDFLAGS -Wl,--as-needed"
fi
+LDFLAGS="\$(NOPLUGIN_LDFLAGS) $LDFLAGS"
+AC_SUBST(NOPLUGIN_LDFLAGS)
if test "$docdir" = ""; then
dnl docdir supported only by autoconf v2.59c and later