Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dmitry Baryshkov
nettle
Commits
5aa8abd0
Commit
5aa8abd0
authored
Oct 01, 2002
by
Niels Möller
Browse files
New define WITH_PUBLIC_KEY, and new configure flag
--disable-public-key. Rev: src/nettle/configure.ac:1.9
parent
9ae3c545
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
5aa8abd0
...
...
@@ -28,13 +28,13 @@ if test x$with_lib_path != x ; then
LDFLAGS="-L `echo $with_lib_path | sed 's/:/ -L /g'`"
fi
AC_ARG_ENABLE(public-key,
AC_HELP_STRING([--disable-public-key], [Disable public key algorithms]),,
[enable_public_key=yes])
AC_ARG_ENABLE(assembler,
AC_HELP_STRING([--enable-assembler],[enable assembler code [default=yes]]),
[ case $enableval in
yes|no) ;;
*) AC_MSG_ERROR([bad value $enableval for --enable-assembler, need yes or no]) ;;
esac],
[enable_assembler=yes])
AC_HELP_STRING([--disable-assembler],[Disable assembler code]),,
[enable_assembler=yes])
LSH_RPATH_INIT([`echo $with_lib_path | sed 's/:/ /g'` \
`echo $exec_prefix | sed "s@^NONE@$prefix/lib@g" | sed "s@^NONE@$ac_default_prefix/lib@g"` \
...
...
@@ -64,7 +64,7 @@ esac
# echo "enable_assembler: $enable_assembler, asm_path: $asm_path"
if test "$enable_assembler" = yes ; then
if test "
x
$enable_assembler" =
x
yes ; then
if test -n "$asm_path"; then
AC_MSG_NOTICE([Looking for assembler files in $asm_path/.])
found=no
...
...
@@ -101,7 +101,14 @@ AC_REPLACE_FUNCS(memxor)
AC_CHECK_LIB(gmp, __gmpz_getlimbn,,
[AC_MSG_WARN(
[GNU MP not found, or not 3.1 or up, see http://www.swox.com/gmp.
Support for public key algorithms will be unavailable.])])
Support for public key algorithms will be unavailable.])]
enable_public_key=no)
if test "x$enable_public_key" = xyes ; then
AC_DEFINE(WITH_PUBLIC_KEY)
fi
AH_TEMPLATE([WITH_PUBLIC_KEY], [Define to enable public key features])
# Add -R flags needed to run programs linked with gmp
LSH_RPATH_FIX
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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