aboutsummaryrefslogtreecommitdiff
path: root/update.sh
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2014-10-22 12:37:06 -0500
committerBrent Cook <bcook@openbsd.org>2014-10-22 12:37:06 -0500
commit54259e50a5241d8cc82824fa0f0711eef36ec9f5 (patch)
tree6ff033a0fbc653d03c49f1d1ab8aad49ab02a20d /update.sh
parent48520cf629f17243e7662e302f61ef10e849a920 (diff)
downloadportable-54259e50a5241d8cc82824fa0f0711eef36ec9f5.tar.gz
portable-54259e50a5241d8cc82824fa0f0711eef36ec9f5.tar.bz2
portable-54259e50a5241d8cc82824fa0f0711eef36ec9f5.zip
include a proper check for memmem when configuring unit tests
This allows the proper compatibility header definition to be exposed.
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/update.sh b/update.sh
index 269b670..a087a4c 100755
--- a/update.sh
+++ b/update.sh
@@ -321,7 +321,9 @@ $CP $libc_src/string/memmem.c tests/
321 echo "${TEST}_LDADD = \$(top_builddir)/ssl/libssl.la" >> Makefile.am 321 echo "${TEST}_LDADD = \$(top_builddir)/ssl/libssl.la" >> Makefile.am
322 echo "${TEST}_LDADD += \$(top_builddir)/crypto/libcrypto.la" >> Makefile.am 322 echo "${TEST}_LDADD += \$(top_builddir)/crypto/libcrypto.la" >> Makefile.am
323 done 323 done
324 echo "if NO_MEMMEM" >> Makefile.am
324 echo "explicit_bzero_SOURCES += memmem.c" >> Makefile.am 325 echo "explicit_bzero_SOURCES += memmem.c" >> Makefile.am
326 echo "endif" >> Makefile.am
325) 327)
326$CP $libcrypto_regress/evp/evptests.txt tests 328$CP $libcrypto_regress/evp/evptests.txt tests
327$CP $libcrypto_regress/aead/aeadtests.txt tests 329$CP $libcrypto_regress/aead/aeadtests.txt tests