diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ebd8260..437570b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -214,6 +214,16 @@ if(HAVE_ASPRINTF) | |||
214 | add_definitions(-DHAVE_ASPRINTF) | 214 | add_definitions(-DHAVE_ASPRINTF) |
215 | endif() | 215 | endif() |
216 | 216 | ||
217 | check_symbol_exists(getdelim "stdio.h" HAVE_GETDELIM) | ||
218 | if(HAVE_GETDELIM) | ||
219 | add_definitions(-DHAVE_GETDELIM) | ||
220 | endif() | ||
221 | |||
222 | check_symbol_exists(getline "stdio.h" HAVE_GETLINE) | ||
223 | if(HAVE_GETLINE) | ||
224 | add_definitions(-DHAVE_GETLINE) | ||
225 | endif() | ||
226 | |||
217 | check_symbol_exists(getopt "unistd.h" HAVE_GETOPT) | 227 | check_symbol_exists(getopt "unistd.h" HAVE_GETOPT) |
218 | if(HAVE_GETOPT) | 228 | if(HAVE_GETOPT) |
219 | add_definitions(-DHAVE_GETOPT) | 229 | add_definitions(-DHAVE_GETOPT) |