diff options
Diffstat (limited to 'crypto')
| -rw-r--r-- | crypto/CMakeLists.txt | 5 | ||||
| -rw-r--r-- | crypto/Makefile.am | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt index 12bc8ae..196ae4a 100644 --- a/crypto/CMakeLists.txt +++ b/crypto/CMakeLists.txt | |||
| @@ -888,6 +888,11 @@ if(NOT HAVE_STRSEP) | |||
| 888 | set(EXTRA_EXPORT ${EXTRA_EXPORT} strsep) | 888 | set(EXTRA_EXPORT ${EXTRA_EXPORT} strsep) |
| 889 | endif() | 889 | endif() |
| 890 | 890 | ||
| 891 | if(NOT HAVE_STRTONUM) | ||
| 892 | set(CRYPTO_SRC ${CRYPTO_SRC} compat/strtonum.c) | ||
| 893 | set(EXTRA_EXPORT ${EXTRA_EXPORT} strtonum) | ||
| 894 | endif() | ||
| 895 | |||
| 891 | if(NOT HAVE_SYSLOG_R) | 896 | if(NOT HAVE_SYSLOG_R) |
| 892 | set(CRYPTO_SRC ${CRYPTO_SRC} compat/syslog_r.c) | 897 | set(CRYPTO_SRC ${CRYPTO_SRC} compat/syslog_r.c) |
| 893 | endif() | 898 | endif() |
diff --git a/crypto/Makefile.am b/crypto/Makefile.am index 155df59..42d0dd9 100644 --- a/crypto/Makefile.am +++ b/crypto/Makefile.am | |||
| @@ -76,6 +76,9 @@ endif | |||
| 76 | if !HAVE_STRSEP | 76 | if !HAVE_STRSEP |
| 77 | -echo strsep >> crypto_portable.sym | 77 | -echo strsep >> crypto_portable.sym |
| 78 | endif | 78 | endif |
| 79 | if !HAVE_STRTONUM | ||
| 80 | -echo strtonum >> crypto_portable.sym | ||
| 81 | endif | ||
| 79 | if !HAVE_TIMEGM | 82 | if !HAVE_TIMEGM |
| 80 | -echo timegm >> crypto_portable.sym | 83 | -echo timegm >> crypto_portable.sym |
| 81 | endif | 84 | endif |
| @@ -175,6 +178,10 @@ if !HAVE_STRSEP | |||
| 175 | libcompat_la_SOURCES += compat/strsep.c | 178 | libcompat_la_SOURCES += compat/strsep.c |
| 176 | endif | 179 | endif |
| 177 | 180 | ||
| 181 | if !HAVE_STRTONUM | ||
| 182 | libcompat_la_SOURCES += compat/strtonum.c | ||
| 183 | endif | ||
| 184 | |||
| 178 | if !HAVE_ASPRINTF | 185 | if !HAVE_ASPRINTF |
| 179 | libcompat_la_SOURCES += compat/bsd-asprintf.c | 186 | libcompat_la_SOURCES += compat/bsd-asprintf.c |
| 180 | endif | 187 | endif |
