Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89894 - aclocal > 1.7 displays 'underquoted definition of XX' warnings
Summary: aclocal > 1.7 displays 'underquoted definition of XX' warnings
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-21 00:01 UTC by Ákos Maróy
Modified: 2005-05-05 11:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ákos Maróy 2005-04-21 00:01:20 UTC
when invoking aclocal > 1.7, even with a totally empty configure.ac file, it displays warnings like:

warning: underquoted definition of AM_OPTIONS_WXCONFIG


Reproducible: Always
Steps to Reproduce:
1. create an empty directory, and enter into it
2. touch configure.ac
3. aclocal-1.8

Actual Results:  
$ touch configure.ac
$ aclocal-1.9
/usr/share/aclocal/wxwin.m4:36: warning: underquoted definition of
AM_OPTIONS_WXCONFIG
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/wxwin.m4:59: warning: underquoted definition of AM_PATH_WXCONFIG
/usr/share/aclocal/smpeg.m4:13: warning: underquoted definition of
AM_PATH_SMPEG/usr/share/aclocal/pkg.m4:5: warning: underquoted definition of
PKG_CHECK_MODULES
/usr/share/aclocal/pilot-link.m4:1: warning: underquoted definition of
AC_PILOT_LINK_HOOK
/usr/share/aclocal/oaf.m4:4: warning: underquoted definition of AM_PATH_OAF
/usr/share/aclocal/movtar.m4:14: warning: underquoted definition of
MOVTAR_TEST_VERSION
/usr/share/aclocal/movtar.m4:59: warning: underquoted definition of AM_PATH_MOVTAR
/usr/share/aclocal/lqt.m4:14: warning: underquoted definition of AC_PATH_LQT
/usr/share/aclocal/libxosd.m4:9: warning: underquoted definition of AM_PATH_LIBXOSD
/usr/share/aclocal/libmikmod.m4:11: warning: underquoted definition of
AM_PATH_LIBMIKMOD
/usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of
AM_PATH_LIBMCRYPT
/usr/share/aclocal/libglade.m4:7: warning: underquoted definition of
AM_PATH_LIBGLADE
/usr/share/aclocal/libgcrypt.m4:23: warning: underquoted definition of
AM_PATH_LIBGCRYPT
/usr/share/aclocal/libfame.m4:6: warning: underquoted definition of AM_PATH_LIBFAME
/usr/share/aclocal/libart.m4:11: warning: underquoted definition of AM_PATH_LIBART
/usr/share/aclocal/libOggFLAC.m4:7: warning: underquoted definition of
AM_PATH_LIBOGGFLAC
/usr/share/aclocal/libOggFLAC++.m4:8: warning: underquoted definition of
AM_PATH_LIBOGGFLACPP
/usr/share/aclocal/libIDL.m4:6: warning: underquoted definition of AM_PATH_LIBIDL
/usr/share/aclocal/libFLAC.m4:7: warning: underquoted definition of AM_PATH_LIBFLAC
/usr/share/aclocal/libFLAC++.m4:8: warning: underquoted definition of
AM_PATH_LIBFLACPP
/usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB
/usr/share/aclocal/imlib.m4:167: warning: underquoted definition of
AM_PATH_GDK_IMLIB
/usr/share/aclocal/gtkgl.m4:4: warning: underquoted definition of AM_PATH_GTKGL
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/usr/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition of
AM_PATH_GDK_PIXBUF
/usr/share/aclocal/gconf-1.m4:4: warning: underquoted definition of AM_PATH_GCONF
/usr/share/aclocal/gconf-1.m4:71: warning: underquoted definition of AM_GCONF_SOURCE
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of
AM_PATH_AUDIOFILE
/usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO
/usr/share/aclocal/aalib.m4:12: warning: underquoted definition of
AM_PATH_AALIB/usr/share/aclocal/ORBit.m4:4: warning: underquoted definition of
AM_PATH_ORBIT


Expected Results:  
for aclocal to run without warnings. for example, aclocal-1.7 runs fine:

$ touch configure.ac
$ aclocal-1.7


aclocal-1.8 gives the same results as 1.9
Comment 1 Ákos Maróy 2005-04-21 02:04:37 UTC
for an explanation of the nature of the problem, see:

http://sources.redhat.com/automake/automake.html#index-underquoted-_0040code_007bAC_005fDEFUN_007d-232

"Starting with Automake 1.8, aclocal will warn about all underquoted
calls to AC_DEFUN. We realize this will annoy a lot of people, because
aclocal was not so strict in the past and many third party macros are
underquoted; and we have to apologize for this temporary inconvenience."


a solution generally involves changing:

AC_DEFUN(AX_FOOBAR, [
...
])

to

AC_DEFUN([AX_FOOBAR], [
...
])

(note the added brackets around AX_FOOBAR.)
Comment 2 SpanKY gentoo-dev 2005-04-21 05:58:41 UTC
it's a feature
Comment 3 Jan Brinkmann (RETIRED) gentoo-dev 2005-05-05 08:44:17 UTC
*** Bug 91376 has been marked as a duplicate of this bug. ***
Comment 4 Jan Brinkmann (RETIRED) gentoo-dev 2005-05-05 11:03:27 UTC
*** Bug 91384 has been marked as a duplicate of this bug. ***