diff options
| author | Dennis Camera <skonfig@dtnr.ch> | 2022-08-20 00:52:23 +0200 |
|---|---|---|
| committer | Dennis Camera <skonfig@dtnr.ch> | 2022-08-20 00:52:23 +0200 |
| commit | 6782d2ee5ebc0b3c00811133fa14485ee29aa3a6 (patch) | |
| tree | 961e2afd95a6c86397f70dacd451ad9c6b346240 /configure.ac | |
| parent | ccb0ff5437495985b585439be935ec0e956cf68d (diff) | |
| download | skonfig-c-6782d2ee5ebc0b3c00811133fa14485ee29aa3a6.tar.gz skonfig-c-6782d2ee5ebc0b3c00811133fa14485ee29aa3a6.zip | |
Implement local workdir clean up
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index a0457ad..d68cd45 100644 --- a/configure.ac +++ b/configure.ac @@ -38,6 +38,12 @@ AC_COMPILE_IFELSE([AC_LANG_SOURCE([ AC_DEFINE_UNQUOTED([_POSIX_C_SOURCE], [${_want_posix_level}], [define the POSIX conformance level]) CFLAGS=${CFLAGS-}${CFLAGS:+ }-D_POSIX_C_SOURCE=${_want_posix_level} +# set X/Open level +_want_xopen_level=500 +AC_DEFINE_UNQUOTED([_XOPEN_SOURCE], [${_want_xopen_level}], [define the X/Open conformance level]) +CFLAGS=${CFLAGS-}${CFLAGS:+ }-D_XOPEN_SOURCE=${_want_xopen_level} + + # Check compiler options check_ccopt() { ( _ccopt=${1:?} |
