New configuration file via confuse: xbps.conf.

This commit is contained in:
Juan RP
2011-12-15 11:19:20 +01:00
parent 3f45f563be
commit b0ceeaa58e
39 changed files with 336 additions and 544 deletions

15
configure vendored
View File

@ -530,6 +530,21 @@ else
>>$CONFIG_MK
fi
#
# confuse >= 2.7 with pkg-config support is required.
#
printf "Checking for confuse via pkg-config ..."
if ! $PKGCONFIG_BIN --exists libconfuse; then
echo "libconfuse.pc not found, exiting."
exit 1
else
echo "found version $($PKGCONFIG_BIN --modversion libconfuse)."
echo "CFLAGS += $($PKGCONFIG_BIN --cflags libconfuse)" >>$CONFIG_MK
echo "LDFLAGS += $($PKGCONFIG_BIN --libs libconfuse)" >>$CONFIG_MK
echo "STATIC_LIBS += $($PKGCONFIG_BIN --libs --static libconfuse)" \
>>$CONFIG_MK
fi
#
# OpenSSL libssl with pkg-config support is required.
#