From: Jim Meyering Date: Fri, 7 Mar 2003 19:52:03 +0000 (+0000) Subject: (AC_LANG_SOURCE(C)): New macro. X-Git-Tag: COREUTILS-4_5_10~96 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f7fcb9082236e3fd16cbb7ae7594009fa242b5e8;p=platform%2Fupstream%2Fcoreutils.git (AC_LANG_SOURCE(C)): New macro. --- diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4 index 0c87994..418b846 100644 --- a/m4/jm-macros.m4 +++ b/m4/jm-macros.m4 @@ -1,4 +1,22 @@ -#serial 59 -*- autoconf -*- +#serial 60 -*- autoconf -*- + +m4_undefine([AC_LANG_SOURCE(C)]) +dnl The following is identical to the definition in c.m4 +dnl from the autoconf cvs repository on 2003-03-07. +dnl FIXME: remove this code once we upgrade to autoconf-2.58. + +# 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)], +[/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$1]) + dnl Misc type-related macros for fileutils, sh-utils, textutils.