bug-automake
[Top][All Lists]
Advanced

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

Re: [Bug-gnulib] proposed gettext.m4 patch for inttypes.h (merge from co


From: Paul Eggert
Subject: Re: [Bug-gnulib] proposed gettext.m4 patch for inttypes.h (merge from coreutils)
Date: 12 Aug 2003 16:04:18 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Bruno Haible <address@hidden> writes:

> Can someone please fix 'aclocal' so that, after determining which macros
> are potentially needed, it runs autoconf with tracing enabled, to determine
> which macros are really needed?

That sounds like the right fix in the long run.

In the short run I'm inclined to suggest the following for coreutils.
I'm working on a patch to coreutils that merges gnulib, and I'd like
to put something like this into that patch.

# Assume AM_GNU_GETTEXT([external]) and Autoconf 2.54 or later, for coreutils.

# serial 1

dnl Copyright (C) 2003 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License.  As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
dnl that contains a configuration script generated by Autoconf, under
dnl the same distribution terms as the rest of that program.

dnl From Paul Eggert

dnl Automake doesn't understand that AM_GNU_GETTEXT([external])
dnl never invokes the following macros, because of the [external].
dnl Insert empty macros to pacify Automake.

AC_DEFUN([AM_LC_MESSAGES])
AC_DEFUN([AM_MKINSTALLDIRS])
AC_DEFUN([AM_NLS])
AC_DEFUN([AM_PO_SUBDIRS])
AC_DEFUN([gt_INTDIV0])

dnl A simpler substitute for gt_INTTYPES_PRI that assumes Autoconf 2.54
dnl or later.

AC_DEFUN([gt_HEADER_INTTYPES_H], [
  AC_REQUIRE([AC_HEADER_STDC])
  gt_cv_header_inttypes_h=$ac_cv_header_inttypes_h
])




reply via email to

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