Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
5f9e5835
Commit
5f9e5835
authored
Aug 08, 2000
by
Brian Wellington
Browse files
--with-openssl didn't check whether a path was specified even though
it requires one.
parent
2d63e8f8
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
configure
View file @
5f9e5835
This diff is collapsed.
Click to expand it.
configure.in
View file @
5f9e5835
...
...
@@ -18,7 +18,7 @@ AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl
esyscmd([sed "s/^/# /" COPYRIGHT])dnl
AC_DIVERT_POP()dnl
AC_REVISION($Revision: 1.17
3
$)
AC_REVISION($Revision: 1.17
4
$)
AC_INIT(lib/dns/name.c)
AC_PREREQ(2.13)
...
...
@@ -180,32 +180,41 @@ AC_C_BIGENDIAN
#
# was --with-openssl specified?
#
AC_MSG_CHECKING(for compatible OpenSSL library)
AC_ARG_WITH(openssl,
[ --with-openssl
Specify path for system-supplied openssl
[ --with-openssl
=PATH
Specify path for system-supplied openssl
(rather than using bind-9 internal openssl)],
openssl="$withval", openssl="")
use_
openssl="$withval",
use_
openssl="
no
")
#
# If the user didn't specify where openssl is, and we didn't find or it
# is imcompatible with our code, use our internal one.
# is incompatible with our code, use our internal one.
#
# XXX This appears to assume that the user specified path is correct,
# and does no checking.
#
AC_MSG_CHECKING(for compatible OpenSSL library)
if test "X$openssl" = "X" ; then
DST_PRIVATEOPENSSL='-DDST_USE_PRIVATE_OPENSSL'
dst_privateopenssl='openssl'
DST_OPENSSL_INC='-I${srcdir}/../openssl/include'
DST_OPENSSL_LIB=''
DST_OPENSSL_OBJS='${OPENSSLOBJS}'
AC_MSG_RESULT(using private library)
else
DST_PRIVATEOPENSSL=''
dst_privateopenssl=''
DST_OPENSSL_INC="-I$openssl/include"
DNS_OPENSSL_LIBS="-L$openssl/lib -lssl -lcrypto"
DST_OPENSSL_LIB=''
AC_MSG_RESULT(using openssl from $openssl/lib and $openssl/include)
fi
case "$use_openssl" in
no)
DST_PRIVATEOPENSSL='-DDST_USE_PRIVATE_OPENSSL'
dst_privateopenssl='openssl'
DST_OPENSSL_INC='-I${srcdir}/../openssl/include'
DST_OPENSSL_LIB=''
DST_OPENSSL_OBJS='${OPENSSLOBJS}'
AC_MSG_RESULT(using private library)
;;
yes)
AC_MSG_ERROR([--with-openssl must specify a path])
;;
*)
DST_PRIVATEOPENSSL=''
dst_privateopenssl=''
DST_OPENSSL_INC="-I$use_openssl/include"
DNS_OPENSSL_LIBS="-L$use_openssl/lib -lcrypto"
DST_OPENSSL_LIB=''
AC_MSG_RESULT(using openssl from $use_openssl/lib and $use_openssl/include)
;;
esac
AC_SUBST(DST_PRIVATEOPENSSL)
AC_SUBST(dst_privateopenssl)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment