]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
ciphersuite tests: define HAVE_CONFIG_H
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Fri, 5 Dec 2014 08:00:04 +0000 (09:00 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Fri, 5 Dec 2014 08:00:04 +0000 (09:00 +0100)
tests/suite/ciphersuite/scan-gnutls.sh

index 7d5ed9ef7868a62c27425d62aa6deb777472c843..cd3a2c446ff596ec9a8013e7905e0bfdfffab9af 100755 (executable)
@@ -3,7 +3,7 @@
 
 echo 'var gnutls_ciphersuites = {'
 
-cd ../../../lib/algorithms/ && gcc -E ciphersuites.c -I.. -DHAVE_LIBNETTLE -I../../gl -DENABLE_DHE -DENABLE_ECDHE -DENABLE_PSK -DENABLE_ANON -DENABLE_SRP \
+cd ../../../lib/algorithms/ && gcc -E ciphersuites.c -I.. -I../../ -DHAVE_CONFIG_H -DHAVE_LIBNETTLE -I../../gl -DENABLE_DHE -DENABLE_ECDHE -DENABLE_PSK -DENABLE_ANON -DENABLE_SRP \
   | awk '/^static const gnutls_cipher_suite_entry cs_algorithms/, /;/ { print; }' \
   | grep '{' | head -n-1 | tail -n+2 \
   | sed -r -e 's#\{ *0x(..), *0x(..) *\}#0x\1\2#;s# *\{ *"#"#;s#\}##;s#, +# #g' \