]> git.pld-linux.org Git - packages/dropbear.git/blame - system-libtom.patch
use system libtommath/libtomcrypt bcond
[packages/dropbear.git] / system-libtom.patch
CommitLineData
a3183add
ER
1--- dropbear-2014.66/configure.ac~ 2014-10-23 16:43:38.000000000 +0300
2+++ dropbear-2014.66/configure.ac 2015-01-25 19:00:39.840166231 +0200
3@@ -660,6 +660,7 @@
4 AC_EXEEXT
5
6 # XXX there must be a nicer way to do this
7+if test $BUNDLED_LIBTOM = 1 ; then
8 AS_MKDIR_P(libtomcrypt/src/ciphers/aes)
9 AS_MKDIR_P(libtomcrypt/src/ciphers/safer)
10 AS_MKDIR_P(libtomcrypt/src/ciphers/twofish)
11@@ -710,8 +711,10 @@
12 AS_MKDIR_P(libtomcrypt/src/pk/pkcs1)
13 AS_MKDIR_P(libtomcrypt/src/pk/rsa)
14 AS_MKDIR_P(libtomcrypt/src/prngs)
15+LIBTOM_FILES="libtomcrypt/Makefile libtommath/Makefile"
16+fi
17 AC_CONFIG_HEADER(config.h)
18-AC_CONFIG_FILES(Makefile libtomcrypt/Makefile libtommath/Makefile)
19+AC_CONFIG_FILES(Makefile $LIBTOM_FILES)
20 AC_OUTPUT
21
22 AC_MSG_NOTICE()
This page took 0.090786 seconds and 4 git commands to generate.