Added missing config vars to config.h.cmake. (#160)

This commit is contained in:
James Touton 2023-05-12 21:16:49 -07:00 committed by GitHub
parent 3bbfd9d8f9
commit 468014643d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View file

@ -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)

View file

@ -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@"