diff options
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/ocspcheck/CMakeLists.txt | 7 | ||||
| -rw-r--r-- | apps/ocspcheck/Makefile.am | 4 |
2 files changed, 0 insertions, 11 deletions
diff --git a/apps/ocspcheck/CMakeLists.txt b/apps/ocspcheck/CMakeLists.txt index 4f89f4e..15af8a8 100644 --- a/apps/ocspcheck/CMakeLists.txt +++ b/apps/ocspcheck/CMakeLists.txt | |||
| @@ -13,13 +13,6 @@ set( | |||
| 13 | ocspcheck.c | 13 | ocspcheck.c |
| 14 | ) | 14 | ) |
| 15 | 15 | ||
| 16 | check_function_exists(inet_ntop HAVE_INET_NTOP) | ||
| 17 | if(HAVE_INET_NTOP) | ||
| 18 | add_definitions(-DHAVE_INET_NTOP) | ||
| 19 | else() | ||
| 20 | set(OCSPCHECK_SRC ${OCSPCHECK_SRC} compat/inet_ntop.c) | ||
| 21 | endif() | ||
| 22 | |||
| 23 | check_function_exists(memmem HAVE_MEMMEM) | 16 | check_function_exists(memmem HAVE_MEMMEM) |
| 24 | if(HAVE_MEMMEM) | 17 | if(HAVE_MEMMEM) |
| 25 | add_definitions(-DHAVE_MEMMEM) | 18 | add_definitions(-DHAVE_MEMMEM) |
diff --git a/apps/ocspcheck/Makefile.am b/apps/ocspcheck/Makefile.am index f7eb131..7482101 100644 --- a/apps/ocspcheck/Makefile.am +++ b/apps/ocspcheck/Makefile.am | |||
| @@ -14,10 +14,6 @@ ocspcheck_SOURCES = http.c | |||
| 14 | ocspcheck_SOURCES += ocspcheck.c | 14 | ocspcheck_SOURCES += ocspcheck.c |
| 15 | noinst_HEADERS = http.h | 15 | noinst_HEADERS = http.h |
| 16 | 16 | ||
| 17 | if !HAVE_INET_NTOP | ||
| 18 | ocspcheck_SOURCES += compat/inet_ntop.c | ||
| 19 | endif | ||
| 20 | |||
| 21 | if !HAVE_MEMMEM | 17 | if !HAVE_MEMMEM |
| 22 | ocspcheck_SOURCES += compat/memmem.c | 18 | ocspcheck_SOURCES += compat/memmem.c |
| 23 | endif | 19 | endif |
