summaryrefslogtreecommitdiff
path: root/m4/ax_compiler_vendor.m4
diff options
context:
space:
mode:
authorJohn Zaitseff <J.Zaitseff@zap.org.au>2018-08-05 14:22:53 +1000
committerPeter Simons <simons@cryp.to>2019-02-14 13:34:02 +0100
commit4f941880e965adbe7b003f1f14ce19146c2b8904 (patch)
tree03e1f07a86ae0d54f642b9506ee535b5d88062b1 /m4/ax_compiler_vendor.m4
parentd0667bcddb1f87b238f9e08b73ab72a082967d66 (diff)
downloadautoconf-archive-4f941880e965adbe7b003f1f14ce19146c2b8904.tar.gz
ax_compiler_vendor.m4: Make preprocessor directives start in column 1
Some compilers require preprocessor directives to start in the first column, particularly the Portland PGI Fortran compilers.
Diffstat (limited to 'm4/ax_compiler_vendor.m4')
-rw-r--r--m4/ax_compiler_vendor.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/ax_compiler_vendor.m4 b/m4/ax_compiler_vendor.m4
index 3413263..0a3469c 100644
--- a/m4/ax_compiler_vendor.m4
+++ b/m4/ax_compiler_vendor.m4
@@ -78,9 +78,9 @@ AC_DEFUN([AX_COMPILER_VENDOR],
*) vencpp="defined("`echo $ventest | sed 's/,/) || defined(/g'`")" ;;
esac
AC_COMPILE_IFELSE([AC_LANG_PROGRAM(,[
- #if !($vencpp)
- thisisanerror;
- #endif
+#if !($vencpp)
+ thisisanerror;
+#endif
])], [break])
done
ax_cv_[]_AC_LANG_ABBREV[]_compiler_vendor=`echo $vendor | cut -d: -f1`