aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorkinichiro <kinichiro.inoguchi@gmail.com>2017-01-25 19:37:29 +0900
committerkinichiro <kinichiro.inoguchi@gmail.com>2017-01-25 21:31:04 +0900
commit91a8bd7914a809d3be9f0a98d6246c2d10c3ad96 (patch)
treedabad83045b4c56ffc38a414f8f9dfcbe7a006ff /crypto
parent93754dc5cfb68199b659180bbac77eecd6636c28 (diff)
downloadportable-91a8bd7914a809d3be9f0a98d6246c2d10c3ad96.tar.gz
portable-91a8bd7914a809d3be9f0a98d6246c2d10c3ad96.tar.bz2
portable-91a8bd7914a809d3be9f0a98d6246c2d10c3ad96.zip
Move strsep.c to crypto/compat/ and add ocspcheck build to CMake
Diffstat (limited to 'crypto')
-rw-r--r--crypto/CMakeLists.txt5
-rw-r--r--crypto/Makefile.am4
2 files changed, 9 insertions, 0 deletions
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt
index d8e1ddb..41dc37b 100644
--- a/crypto/CMakeLists.txt
+++ b/crypto/CMakeLists.txt
@@ -714,6 +714,11 @@ if(NOT HAVE_STRNDUP)
714 endif() 714 endif()
715endif() 715endif()
716 716
717if(NOT HAVE_STRSEP)
718 set(CRYPTO_SRC ${CRYPTO_SRC} compat/strsep.c)
719 set(EXTRA_EXPORT ${EXTRA_EXPORT} strsep)
720endif()
721
717if(NOT HAVE_TIMEGM) 722if(NOT HAVE_TIMEGM)
718 set(CRYPTO_SRC ${CRYPTO_SRC} compat/timegm.c) 723 set(CRYPTO_SRC ${CRYPTO_SRC} compat/timegm.c)
719 set(EXTRA_EXPORT ${EXTRA_EXPORT} timegm) 724 set(EXTRA_EXPORT ${EXTRA_EXPORT} timegm)
diff --git a/crypto/Makefile.am b/crypto/Makefile.am
index 1332c24..26def2a 100644
--- a/crypto/Makefile.am
+++ b/crypto/Makefile.am
@@ -73,6 +73,10 @@ libcompat_la_SOURCES += compat/strnlen.c
73endif 73endif
74endif 74endif
75 75
76if !HAVE_STRSEP
77libcompat_la_SOURCES += compat/strsep.c
78endif
79
76if !HAVE_ASPRINTF 80if !HAVE_ASPRINTF
77libcompat_la_SOURCES += compat/bsd-asprintf.c 81libcompat_la_SOURCES += compat/bsd-asprintf.c
78endif 82endif