diff options
author | Brent Cook <bcook@openbsd.org> | 2014-10-22 12:37:06 -0500 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2014-10-22 12:37:06 -0500 |
commit | 54259e50a5241d8cc82824fa0f0711eef36ec9f5 (patch) | |
tree | 6ff033a0fbc653d03c49f1d1ab8aad49ab02a20d /update.sh | |
parent | 48520cf629f17243e7662e302f61ef10e849a920 (diff) | |
download | portable-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-x | update.sh | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |