]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
(AC_LANG_SOURCE(C)): Do not generate #line directives.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 6 Mar 2003 20:35:23 +0000 (20:35 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 6 Mar 2003 20:35:23 +0000 (20:35 +0000)
lib/autoconf/c.m4

index 6ae7341d28ddf8ca7938b030aac1f003ff44acd8..a217dd5fb18b6681ba3732dd4e5fcfe088de7315 100644 (file)
@@ -118,10 +118,12 @@ m4_define([_AC_LANG_ABBREV(C++)], [cxx])
 # AC_LANG_SOURCE(C)(BODY)
 # -----------------------
 # This sometimes fails to find confdefs.h, for some reason.
-# #line $LINENO "$[0]"
+# We can't use '#line $LINENO "configure"' here, since
+# Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08 2002/05/09)
+# rejects $LINENO greater than 32767, and some configure scripts
+# are longer than 32767 lines.
 m4_define([AC_LANG_SOURCE(C)],
-[#line $LINENO "configure"
-/* confdefs.h.  */
+[/* confdefs.h.  */
 _ACEOF
 cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF