diff options
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/nc/CMakeLists.txt | 8 | ||||
| -rw-r--r-- | apps/nc/Makefile.am | 4 | ||||
| -rw-r--r-- | apps/ocspcheck/CMakeLists.txt | 8 | ||||
| -rw-r--r-- | apps/ocspcheck/Makefile.am | 4 | ||||
| -rw-r--r-- | apps/openssl/CMakeLists.txt | 8 | ||||
| -rw-r--r-- | apps/openssl/Makefile.am | 4 |
6 files changed, 0 insertions, 36 deletions
diff --git a/apps/nc/CMakeLists.txt b/apps/nc/CMakeLists.txt index e873de8..bd59211 100644 --- a/apps/nc/CMakeLists.txt +++ b/apps/nc/CMakeLists.txt | |||
| @@ -29,14 +29,6 @@ else() | |||
| 29 | set(NC_SRC ${NC_SRC} compat/readpassphrase.c) | 29 | set(NC_SRC ${NC_SRC} compat/readpassphrase.c) |
| 30 | endif() | 30 | endif() |
| 31 | 31 | ||
| 32 | check_function_exists(strtonum HAVE_STRTONUM) | ||
| 33 | if(HAVE_STRTONUM AND CMAKE_SYSTEM_NAME MATCHES "Darwin" AND | ||
| 34 | CMAKE_HOST_SYSTEM_VERSION VERSION_GREATER_EQUAL 20) | ||
| 35 | add_definitions(-DHAVE_STRTONUM) | ||
| 36 | else() | ||
| 37 | set(NC_SRC ${NC_SRC} compat/strtonum.c) | ||
| 38 | endif() | ||
| 39 | |||
| 40 | if(NOT "${OPENSSLDIR}" STREQUAL "") | 32 | if(NOT "${OPENSSLDIR}" STREQUAL "") |
| 41 | add_definitions(-DDEFAULT_CA_FILE=\"${OPENSSLDIR}/cert.pem\") | 33 | add_definitions(-DDEFAULT_CA_FILE=\"${OPENSSLDIR}/cert.pem\") |
| 42 | else() | 34 | else() |
diff --git a/apps/nc/Makefile.am b/apps/nc/Makefile.am index 58b5c01..e9db6e5 100644 --- a/apps/nc/Makefile.am +++ b/apps/nc/Makefile.am | |||
| @@ -43,8 +43,4 @@ if !HAVE_READPASSPHRASE | |||
| 43 | nc_SOURCES += compat/readpassphrase.c | 43 | nc_SOURCES += compat/readpassphrase.c |
| 44 | endif | 44 | endif |
| 45 | 45 | ||
| 46 | if !HAVE_STRTONUM | ||
| 47 | nc_SOURCES += compat/strtonum.c | ||
| 48 | endif | ||
| 49 | |||
| 50 | endif | 46 | endif |
diff --git a/apps/ocspcheck/CMakeLists.txt b/apps/ocspcheck/CMakeLists.txt index 249f0f4..2dddb6e 100644 --- a/apps/ocspcheck/CMakeLists.txt +++ b/apps/ocspcheck/CMakeLists.txt | |||
| @@ -13,14 +13,6 @@ else() | |||
| 13 | set(OCSPCHECK_SRC ${OCSPCHECK_SRC} compat/memmem.c) | 13 | set(OCSPCHECK_SRC ${OCSPCHECK_SRC} compat/memmem.c) |
| 14 | endif() | 14 | endif() |
| 15 | 15 | ||
| 16 | check_function_exists(strtonum HAVE_STRTONUM) | ||
| 17 | if(HAVE_STRTONUM AND CMAKE_SYSTEM_NAME MATCHES "Darwin" AND | ||
| 18 | CMAKE_HOST_SYSTEM_VERSION VERSION_GREATER_EQUAL 20) | ||
| 19 | add_definitions(-DHAVE_STRTONUM) | ||
| 20 | else() | ||
| 21 | set(OCSPCHECK_SRC ${OCSPCHECK_SRC} compat/strtonum.c) | ||
| 22 | endif() | ||
| 23 | |||
| 24 | if(NOT "${OPENSSLDIR}" STREQUAL "") | 16 | if(NOT "${OPENSSLDIR}" STREQUAL "") |
| 25 | add_definitions(-DDEFAULT_CA_FILE=\"${OPENSSLDIR}/cert.pem\") | 17 | add_definitions(-DDEFAULT_CA_FILE=\"${OPENSSLDIR}/cert.pem\") |
| 26 | else() | 18 | else() |
diff --git a/apps/ocspcheck/Makefile.am b/apps/ocspcheck/Makefile.am index 71a73ea..7c7b454 100644 --- a/apps/ocspcheck/Makefile.am +++ b/apps/ocspcheck/Makefile.am | |||
| @@ -22,7 +22,3 @@ noinst_HEADERS = http.h | |||
| 22 | if !HAVE_MEMMEM | 22 | if !HAVE_MEMMEM |
| 23 | ocspcheck_SOURCES += compat/memmem.c | 23 | ocspcheck_SOURCES += compat/memmem.c |
| 24 | endif | 24 | endif |
| 25 | |||
| 26 | if !HAVE_STRTONUM | ||
| 27 | ocspcheck_SOURCES += compat/strtonum.c | ||
| 28 | endif | ||
diff --git a/apps/openssl/CMakeLists.txt b/apps/openssl/CMakeLists.txt index bb058e1..2a84178 100644 --- a/apps/openssl/CMakeLists.txt +++ b/apps/openssl/CMakeLists.txt | |||
| @@ -61,14 +61,6 @@ if(WIN32) | |||
| 61 | set(OPENSSL_SRC ${OPENSSL_SRC} compat/poll_win.c) | 61 | set(OPENSSL_SRC ${OPENSSL_SRC} compat/poll_win.c) |
| 62 | endif() | 62 | endif() |
| 63 | 63 | ||
| 64 | check_function_exists(strtonum HAVE_STRTONUM) | ||
| 65 | if(HAVE_STRTONUM AND CMAKE_SYSTEM_NAME MATCHES "Darwin" AND | ||
| 66 | CMAKE_HOST_SYSTEM_VERSION VERSION_GREATER_EQUAL 20) | ||
| 67 | add_definitions(-DHAVE_STRTONUM) | ||
| 68 | else() | ||
| 69 | set(OPENSSL_SRC ${OPENSSL_SRC} compat/strtonum.c) | ||
| 70 | endif() | ||
| 71 | |||
| 72 | if(CMAKE_SYSTEM_NAME MATCHES "Darwin") | 64 | if(CMAKE_SYSTEM_NAME MATCHES "Darwin") |
| 73 | check_function_exists(clock_gettime HAVE_CLOCK_GETTIME) | 65 | check_function_exists(clock_gettime HAVE_CLOCK_GETTIME) |
| 74 | if(NOT HAVE_CLOCK_GETTIME) | 66 | if(NOT HAVE_CLOCK_GETTIME) |
diff --git a/apps/openssl/Makefile.am b/apps/openssl/Makefile.am index b98e08d..7cbac48 100644 --- a/apps/openssl/Makefile.am +++ b/apps/openssl/Makefile.am | |||
| @@ -84,10 +84,6 @@ openssl_SOURCES += compat/clock_gettime_osx.c | |||
| 84 | endif | 84 | endif |
| 85 | endif | 85 | endif |
| 86 | 86 | ||
| 87 | if !HAVE_STRTONUM | ||
| 88 | openssl_SOURCES += compat/strtonum.c | ||
| 89 | endif | ||
| 90 | |||
| 91 | noinst_HEADERS = apps.h | 87 | noinst_HEADERS = apps.h |
| 92 | noinst_HEADERS += progs.h | 88 | noinst_HEADERS += progs.h |
| 93 | noinst_HEADERS += s_apps.h | 89 | noinst_HEADERS += s_apps.h |
