diff options
author | James Touton <bekenn@gmail.com> | 2023-05-12 21:16:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-12 21:16:49 -0700 |
commit | 468014643d7a7c481ff67b9c87364d16eedc317a (patch) | |
tree | 29be15ba8747295e225255d774f8b9e8c4d564a4 | |
parent | 3bbfd9d8f94e3a0a083b6cd18da6de87f586a7a3 (diff) | |
download | yasm-468014643d7a7c481ff67b9c87364d16eedc317a.tar.gz |
Added missing config vars to config.h.cmake. (#160)
-rw-r--r-- | ConfigureChecks.cmake | 1 | ||||
-rw-r--r-- | config.h.cmake | 7 |
2 files changed, 7 insertions, 1 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 4b05d048..73a1a4c2 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -18,6 +18,7 @@ CHECK_INCLUDE_FILE(stdint.h HAVE_STDINT_H) CHECK_SYMBOL_EXISTS(abort "stdlib.h" HAVE_ABORT) CHECK_FUNCTION_EXISTS(getcwd HAVE_GETCWD) +CHECK_FUNCTION_EXISTS(_stricmp HAVE__STRICMP) CHECK_FUNCTION_EXISTS(toascii HAVE_TOASCII) CHECK_LIBRARY_EXISTS(dl dlopen "" HAVE_LIBDL) diff --git a/config.h.cmake b/config.h.cmake index e0026778..61e99d00 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -8,6 +8,9 @@ /* Define if messsage translations are enabled */ #cmakedefine ENABLE_NLS 1 +/* Define if you have the `abort' function. */ +#cmakedefine HAVE_ABORT 1 + /* */ #undef HAVE_GETTEXT @@ -23,6 +26,9 @@ /* Define to 1 if you have the `getcwd' function. */ #cmakedefine HAVE_GETCWD 1 +/* Define to 1 if you have the `_stricmp' function. */ +#cmakedefine HAVE__STRICMP 1 + /* Define to 1 if you have the `toascii' function. */ #cmakedefine HAVE_TOASCII 1 @@ -45,4 +51,3 @@ /* Command name to run C preprocessor */ #define CPP_PROG "@CPP_PROG@" - |