elinks/elinks-0.10.1-pkgconfig.patch

23 lines
653 B
Diff
Raw Normal View History

2005-01-28 18:11:50 +00:00
--- elinks-0.10.1/configure.in.pkgconfig 2005-01-04 14:51:02.000000000 +0100
+++ elinks-0.10.1/configure.in 2005-01-28 18:00:55.964204016 +0100
@@ -655,6 +655,11 @@
if test "$disable_openssl" = yes; then
cf_result="not used"
else
+ if pkg-config openssl ; then
+ CFLAGS="$CFLAGS_X `pkg-config --cflags openssl`"
+ LIBS="$LIBS_X `pkg-config --libs openssl`"
+ cf_result=yes
+ else
for ssldir in "$openssl_withval" "" /usr /usr/local/openssl \
/usr/lib/openssl /usr/local/ssl \
/usr/local/www /usr/lib/ssl /usr/local \
@@ -682,6 +687,7 @@
fi
fi
done
+ fi
if test "$cf_result" != yes; then
if test "$withval" = yes; then