diff options
Diffstat (limited to 'auto/lib/conf')
| -rw-r--r-- | auto/lib/conf | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/auto/lib/conf b/auto/lib/conf new file mode 100644 index 000000000..b5271a225 --- /dev/null +++ b/auto/lib/conf @@ -0,0 +1,24 @@ + +if [ $PCRE != NO ]; then + + CORE_INCS="$CORE_INCS -I $PCRE" + + if [ "$PLATFORM" = "win32" ]; then + CFLAGS="$CFLAGS -D PCRE_STATIC" + CORE_LIBS="$CORE_LIBS pcre.lib" + CORE_LINK="$CORE_LINK -libpath:$PCRE" + else + CORE_DEPS="$CORE_DEPS $PCRE/.libs/libpcre.a" + CORE_LIBS="$CORE_LIBS -L $PCRE/.libs -lpcre" + fi +fi + + +if [ $USE_MD5 = YES ]; then + . auto/lib/md5/conf +fi + + +if [ $USE_ZLIB = YES ]; then + . auto/lib/zlib/conf +fi |
