libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 2286bbe11ead41246069e3ff27f7d120050105dd
parent 14228333e7e450081318589a51062b3dd3ea7816
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Wed, 22 Jun 2022 10:04:41 +0300

configure: added basic support for AIX XLC flags

Diffstat:
Mconfigure.ac | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac @@ -254,7 +254,9 @@ AC_MSG_RESULT([${enable_compact_code} (${compact_code_MSG})]) CFLAGS="${user_CFLAGS}" # Compiler options to always enable (if supported) -MHD_CHECK_ADD_CC_CFLAG([-fno-strict-aliasing], [CFLAGS_ac]) +MHD_FIND_ADD_CC_CFLAG([CFLAGS_ac], [-fno-strict-aliasing], [-qnoansialias]) +# '-qlonglong' is XLC option for C89, not used with C99 or later +MHD_CHECK_ADD_CC_CFLAG([-qlonglong], [CFLAGS_ac]) AS_VAR_IF([enable_build_type],["neutral"],[], [ # Any non-neutral build types