Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
5928d31e
Commit
5928d31e
authored
Aug 24, 2018
by
Evan Hunt
Committed by
Ondřej Surý
Aug 29, 2018
Browse files
make --without-pic imply --disable-shared and --without-dlopen
parent
ae80e616
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure
View file @
5928d31e
...
...
@@ -1680,7 +1680,7 @@ Optional Packages:
--with-cmocka=no enable cmocka based tests (default is no)
--with-atf support Automated Test Framework
--with-tuning=ARG Specify server tuning (large or default)
--with-dlopen=ARG support dynamically loadable DLZ drivers
--with-dlopen=ARG support dynamically loadable DLZ
and DYNDB
drivers
--with-dlz-postgres=PATH
Build with Postgres DLZ driver [yes|no|path].
(Required to use Postgres with DLZ)
...
...
@@ -15572,6 +15572,13 @@ $as_echo "no" >&6; }
esac
#
# If PIC is disabled, shared libraries must also be
#
if "$pic_mode" = "no"; then :
enable_shared="no"
fi
CRYPTO=OpenSSL
#
...
...
@@ -20764,10 +20771,26 @@ SO_STRIP="cat"
if test "${with_dlopen+set}" = set; then :
withval=$with_dlopen; dlopen="$withval"
else
dlopen="
yes
"
dlopen="
auto
"
fi
#
# If PIC is disabled, dlopen must also be
#
if test "auto" = "$dlopen"; then
if test "no" = "$pic_mode"; then
dlopen="no"
else
dlopen="yes"
fi
elif test "yes" = "$dlopen"; then
if test "no" = "$pic_mode"; then
as_fn_error $? "--with-dlopen requires PIC" "$LINENO" 5
fi
fi
if test "yes" = "$dlopen"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
$as_echo_n "checking for dlopen in -ldl... " >&6; }
...
...
configure.in
View file @
5928d31e
...
...
@@ -910,6 +910,12 @@ case $use_libtool in
esac
AC_SUBST(INSTALL_LIBRARY)
#
# If PIC is disabled, shared libraries must also be
#
AS_IF(["$pic_mode" = "no"],
[enable_shared="no"])
CRYPTO=OpenSSL
#
...
...
@@ -3005,8 +3011,24 @@ SO_STRIP="cat"
AC_ARG_WITH(dlopen,
AS_HELP_STRING([--with-dlopen=ARG],
[support dynamically loadable DLZ drivers]),
dlopen="$withval", dlopen="yes")
[support dynamically loadable DLZ and DYNDB drivers]),
dlopen="$withval", dlopen="auto")
#
# If PIC is disabled, dlopen must also be
#
if test "auto" = "$dlopen"; then
if test "no" = "$pic_mode"; then
dlopen="no"
else
dlopen="yes"
fi
elif test "yes" = "$dlopen"; then
if test "no" = "$pic_mode"; then
AC_MSG_ERROR([--with-dlopen requires PIC])
fi
fi
if test "yes" = "$dlopen"; then
AC_CHECK_LIB(dl, dlopen, have_dl=yes, have_dl=no)
...
...
Write
Preview
Markdown
is supported
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