automake
[Top][All Lists]
Advanced

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

PATCH: strip comments while scanning for macro dependencies


From: Alexandre Duret-Lutz
Subject: PATCH: strip comments while scanning for macro dependencies
Date: 03 Oct 2000 09:24:08 +0200
User-agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7

Hi,

aclocal is stripping comment lines from configure.in, but not from
other files.  Hence it can detect wrong dependencies and output useless
functions in aclocal.m4.

For instance the macro AC_PATH_GENERIC (from the autoconf
archive) refers to AM_PATH_GTK in its comments:

 % grep m4/generic_path.m4 AM_PATH_GTK
 dnl At present there is no support for additional "MODULES" (see AM_PATH_GTK)

Any use of AC_PATH_GENERIC will trigger the inclusion of AM_PATH_GTK:

 % aclocal --verbose
 [...]
 saw macro AC_PATH_GENERIC
 aclocal: configure.in: 226: macro `AM_PATH_GTK' not found in library
 [...]

Attachment: am.patch
Description: Strip comments while scanning for macro dependencies.

Thanks,
-- 
Alexandre Duret-Lutz

reply via email to

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