bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnulib-tool: work around autoconf limitation


From: Bruno Haible
Subject: gnulib-tool: work around autoconf limitation
Date: Mon, 6 Apr 2009 03:05:42 +0200
User-agent: KMail/1.9.9

This patch is needed to work around the autoconf limitation reported in
<http://article.gmane.org/gmane.comp.sysutils.autoconf.bugs/6620>.


2009-04-05  Bruno Haible  <address@hidden>

        Work around an autoconf limitation.
        * gnulib-tool (func_emit_lib_Makefile_am): Omit the "Reproduce by"
        comment line if it would be longer than 3 KB.

*** gnulib-tool.orig    2009-04-06 02:59:48.000000000 +0200
--- gnulib-tool 2009-04-06 02:48:39.000000000 +0200
***************
*** 1953,1959 ****
    echo "## Process this file with automake to produce Makefile.in."
    func_emit_copyright_notice
    if test -n "$actioncmd"; then
!     echo "# Reproduce by: $actioncmd"
    fi
    echo
    uses_subdirs=
--- 1953,1966 ----
    echo "## Process this file with automake to produce Makefile.in."
    func_emit_copyright_notice
    if test -n "$actioncmd"; then
!     # The maximum line length (excluding the terminating newline) of any file
!     # that is to be preprocessed by config.status is 3070.  config.status uses
!     # awk, and the HP-UX 11.00 awk fails if a line has length >= 3071;
!     # similarly, the IRIX 6.5 awk fails if a line has length >= 3072.
!     len=`echo "$actioncmd" | wc -c`
!     if test -n "$len" && test "$len" -le 3000; then
!       echo "# Reproduce by: $actioncmd"
!     fi
    fi
    echo
    uses_subdirs=




reply via email to

[Prev in Thread] Current Thread [Next in Thread]