Lines 11763-11778
Link Here
|
11763 |
if test -n "$cf_cflags_ssl" ; then |
11763 |
if test -n "$cf_cflags_ssl" ; then |
11764 |
case "$cf_cflags_ssl" in #(vi |
11764 |
case "$cf_cflags_ssl" in #(vi |
11765 |
*-I*) #(vi |
11765 |
*-I*) #(vi |
11766 |
cf_cv_header_path_ssl=`echo "$cf_cflags_ssl" | sed -e 's/^.*-I//' -e 's/ .*//'` |
11766 |
# if openssl pkg-config lists more than one includedir, |
11767 |
;; |
11767 |
# primary one will be first |
11768 |
*) |
11768 |
# (e.g. kerberos includedir may follow) |
11769 |
cf_cv_header_path_ssl=/usr/include |
11769 |
# so, pick out path following first '-I' |
|
|
11770 |
cf_cv_header_path_ssl=`echo "$cf_cflags_ssl" | sed -e 's/\(-I[^ ]*\).*/\1/' -e 's/.*-I//'` |
11771 |
cf_cv_header_path_ssl=$cf_cv_header_path_ssl/openssl |
11770 |
;; |
11772 |
;; |
11771 |
esac |
11773 |
esac |
11772 |
if test -d $cf_cv_header_path_ssl/openssl ; then |
11774 |
# try standard location if couldn't |
11773 |
cf_cv_header_path_ssl=$cf_cv_header_path_ssl/openssl |
11775 |
# figure out path using pkg-config |
|
|
11776 |
if ! test -d "$cf_cv_header_path_ssl" ; then |
11777 |
if test -d "/usr/include/openssl" ; then |
11778 |
cf_cv_header_path_ssl=/usr/include/openssl |
11779 |
else |
11780 |
cf_cv_header_path_ssl=/usr/include |
11781 |
fi |
11774 |
fi |
11782 |
fi |
11775 |
|
|
|
11776 |
cf_fix_cppflags=no |
11783 |
cf_fix_cppflags=no |
11777 |
cf_new_cflags= |
11784 |
cf_new_cflags= |
11778 |
cf_new_cppflags= |
11785 |
cf_new_cppflags= |