bug-autoconf
[Top][All Lists]
Advanced

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

Re: Bug in autoconf version 2.50


From: Akim Demaille
Subject: Re: Bug in autoconf version 2.50
Date: 23 May 2001 17:05:39 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley)

| address@hidden > autoconf --version
| autoconf (GNU Autoconf) 2.50
| Written by David J. MacKenzie.
| 
| Copyright 1992, 1993, 1994, 1996, 1999, 2000, 2001
| Free Software Foundation, Inc.
| This is free software; see the source for copying conditions.  There is NO
| warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
| 
| 
| address@hidden > autoconf 
| configure.in:66: error: undefine: undefined: 
| configure.in:66: the top level
| 
| 
| Line 66 of my configure.in file is :
| 
|         AC_MSG_WARN([*** undefine CAN_READ_XXX in src/config.h.      ])
| 
| Changing that line to this:
| 
|         AC_MSG_WARN([*** un-define CAN_READ_XXX in src/config.h.     ])
| 
| fixes the error message and everything works.
| 
| It looks like autoconf if operating on 'undefine' even though it is part of
| a text message.
| 
| Hope this helps,

Your source is buggy and probably passes the AC_MSG_WARN invocation to
another macro without quoting it.  E.g.

AC_CHECK_HEADER(foo,,
                AC_MSG_WARN([*** undefine CAN_READ_XXX in src/config.h.]))

is wrong.  Write

AC_CHECK_HEADER(foo,,
                [AC_MSG_WARN([*** undefine CAN_READ_XXX in src/config.h.])])



reply via email to

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