# handle pkg-config
# beware portability of extended regexps with sed.
-$egrep "^[$st]*(AUTH|LOOKUP)_[A-Z0-9_]*[$st]*=[$st]*" $mft | \
+$egrep "^[$st]*(AUTH|LOOKUP|SUPPORT)_[A-Z0-9_]*[$st]*=[$st]*" $mft | \
sed "s/[$st]*=/='/" | \
sed "s/\$/'/" > $mftt
$egrep "^[$st]*((USE_(OPENSSL|GNUTLS)_PC)|SUPPORT_TLS|USE_GNUTLS|PCRE2?_CONFIG|AVOID_GNUTLS_PKCS11)[$st]*=[$st]*" $mft | \
elif [ "$var" != "${var#AUTH_}" ]; then
echo "CFLAGS += $cflags"
echo "AUTH_LIBS += $libs"
+ elif [ "$var" != "${var#SUPPORT_}" ]; then
+ echo "CFLAGS += $cflags"
+ echo "LIBS += $libs"
else
echo >&2 "Don't know how to handle pkg-config for $var"
fi