From 8a95a28658dfc7da1f9432b0b115cecf578da904 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Sat, 26 Jan 2019 16:40:11 +0100 Subject: [PATCH] m4: Reformat C test code to be readable --- expat/conftools/expatcfg-compiler-supports-visibility.m4 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/expat/conftools/expatcfg-compiler-supports-visibility.m4 b/expat/conftools/expatcfg-compiler-supports-visibility.m4 index 7e24fb1c..28475180 100644 --- a/expat/conftools/expatcfg-compiler-supports-visibility.m4 +++ b/expat/conftools/expatcfg-compiler-supports-visibility.m4 @@ -28,7 +28,10 @@ AC_DEFUN([EXPATCFG_COMPILER_SUPPORTS_VISIBILITY], [AS_VAR_SET([expatcfg_cv_compiler_supports_visibility],[no]) AS_VAR_COPY([OLDFLAGS],[CFLAGS]) AS_VAR_APPEND([CFLAGS],[" -fvisibility=hidden -Wall -Werror"]) - AC_COMPILE_IFELSE([AC_LANG_SOURCE([[void __attribute__((visibility("default"))) foo(void); void foo(void) {}]])], + AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ + void __attribute__((visibility("default"))) foo(void); + void foo(void) {} + ]])], [AS_VAR_SET([expatcfg_cv_compiler_supports_visibility],[yes])]) AS_VAR_COPY([CFLAGS],[OLDFLAGS])]) AS_IF([test "$expatcfg_cv_compiler_supports_visibility" = yes],[$1],[$2])])