aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-06-22 10:04:41 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-06-22 16:38:17 +0300
commit2286bbe11ead41246069e3ff27f7d120050105dd (patch)
treead66647abdb79b618b70b185c2f75247a46a31a6
parent14228333e7e450081318589a51062b3dd3ea7816 (diff)
downloadlibmicrohttpd-2286bbe11ead41246069e3ff27f7d120050105dd.tar.gz
libmicrohttpd-2286bbe11ead41246069e3ff27f7d120050105dd.zip
configure: added basic support for AIX XLC flags
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 0b6fde92..4ae5497d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -254,7 +254,9 @@ AC_MSG_RESULT([${enable_compact_code} (${compact_code_MSG})])
254 254
255CFLAGS="${user_CFLAGS}" 255CFLAGS="${user_CFLAGS}"
256# Compiler options to always enable (if supported) 256# Compiler options to always enable (if supported)
257MHD_CHECK_ADD_CC_CFLAG([-fno-strict-aliasing], [CFLAGS_ac]) 257MHD_FIND_ADD_CC_CFLAG([CFLAGS_ac], [-fno-strict-aliasing], [-qnoansialias])
258# '-qlonglong' is XLC option for C89, not used with C99 or later
259MHD_CHECK_ADD_CC_CFLAG([-qlonglong], [CFLAGS_ac])
258 260
259AS_VAR_IF([enable_build_type],["neutral"],[], 261AS_VAR_IF([enable_build_type],["neutral"],[],
260 [ # Any non-neutral build types 262 [ # Any non-neutral build types