Re: calling AC_CANONICAL_HOST twice?

2005-08-26 Thread Stepan Kasal
On Thu, Aug 25, 2005 at 07:00:16PM -0700, Noah Misch wrote: This looks highly appropriate. Please do. Hi, I committed the patch as attached here. Stepan * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use

Re: AT_KEYWORDS failure: cmdline OR-combinations

2005-08-26 Thread Paul Eggert
Stepan Kasal [EMAIL PROTECTED] writes: I apologize that I haven't published our results earlier. No need to apologize! It's low priority, surely, since nobody really needs /usr/xpg4/bin/awk. Every Solaris implementation has nawk, and nawk will work. Perhaps we ought to filter out Solaris

Re: autoreconf error: possibly undefine macro: AC_DEFINE

2005-08-26 Thread Ralf Wildenhues
Hi Carlos, * Carlos Eduardo Rodrigues Diogenes wrote on Thu, Aug 25, 2005 at 09:26:47PM CEST: I'm running autoreconf and I'm getting the following error: configure.ac:38: error: possibly undefined macro: AC_DEFINE If this token and others are legitimate, please use m4_pattern_allow.

Re: autoreconf error: possibly undefine macro: AC_DEFINE

2005-08-26 Thread Ralf Wildenhues
Hi Carlos, Please keep the mailing list in Cc:. Thanks! * Carlos Eduardo Rodrigues Diogenes wrote on Fri, Aug 26, 2005 at 01:15:53PM CEST: Ralf Wildenhues wrote: * Carlos Eduardo Rodrigues Diogenes wrote on Thu, Aug 25, 2005 at Where is defined the AC_DEFINE macro? This macro is

Re: listing all sources

2005-08-26 Thread Trevor Woerner
brilliant... BRILLIANT! On 8/25/05, Allan Clark [EMAIL PROTECTED] wrote: I have a project with source files in multiple subdirectories: src, tests, cfg. Doxygen will generate code documentation based on special hints in the comments of the code files themselves (like javadoc, if you're

Re: listing all sources

2005-08-26 Thread Trevor Woerner
2 provisos: 1) the removal of the .doxygen files must be added to whatever mechanism you're using to perform a clean (e.g. CLEANFILES= or clean-local::) in order to satisfy make distcheck 2) because the cfg directory is not part of $(SUBDIRS) but only $(DIST_SUBDIRS), the generation of its

error (autoconf 2.59): possibly undefined macro: AC_DEFINE

2005-08-26 Thread Carlos Eduardo Rodrigues Diogenes
Hi, I'm using autoconf 2.59 and GNU M4 1.4.2 and I'm getting the following error when I run autoconf: configure.ac:38: error: possibly undefined macro: AC_DEFINE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. Here is a peace of

Scilab 3.1.1 compile on Solaris 10

2005-08-26 Thread Juan Casero
Hi - I got this error while trying to compile scilab-3.1.1 on a Solaris 10 Ultrasparc III (Sun Blade 1000) using the gcc 4.0.1 from blastwave.org. It says to report this to bug-autoconf@gnu.org so here it is. If you think it may be a problem with my compiler environment please let me know.

Re: autoreconf error: possibly undefine macro: AC_DEFINE

2005-08-26 Thread Stepan Kasal
Hi Carlos, you asked twice, so you get two answers from me. ;-) On Fri, Aug 26, 2005 at 09:51:57AM +0200, Ralf Wildenhues wrote: Hmm. I cannot reproduce it. Neither can I. I commented out the XORG_... macro, ran aclocal and then autoconf. It works. Perhaps the problem is in the XORG

Re: error (autoconf 2.59): possibly undefined macro: AC_DEFINE

2005-08-26 Thread Stepan Kasal
Hello, I'm not sure whether this'll fix your problem, but you should quote each argument. Otherwise it gets expanded when the parameters are collected, before the outer macro is expanded. See the Autoconf manual about quoting. So you need this: AC_CHECK_FUNC(mkstemp, [AC_DEFINE(HAS_MKSTEMP,1,

Re: listing all sources

2005-08-26 Thread Stepan Kasal
Hello, On Fri, Aug 26, 2005 at 11:02:56AM -0400, Trevor Woerner wrote: 2) because the cfg directory is not part of $(SUBDIRS) but only $(DIST_SUBDIRS), the generation of its .doxygen file has to be special-cased in the top-level Makefile.am: doxygen/html/index.html: cfg/.doxygen $(addsuffix

Re: autoreconf error: possibly undefine macro: AC_DEFINE

2005-08-26 Thread Carlos Eduardo Rodrigues Diogenes
Ralf Wildenhues wrote: Hi Carlos, Please keep the mailing list in Cc:. Thanks! * Carlos Eduardo Rodrigues Diogenes wrote on Fri, Aug 26, 2005 at 01:15:53PM CEST: Ralf Wildenhues wrote: * Carlos Eduardo Rodrigues Diogenes wrote on Thu, Aug 25, 2005 at Where is defined the

Re: autoreconf error: possibly undefine macro: AC_DEFINE

2005-08-26 Thread Stepan Kasal
Hello, On Fri, Aug 26, 2005 at 01:37:56PM -0300, Carlos Eduardo Rodrigues Diogenes wrote: I'm sending you the entirely file atached. I put it in a clean an separated directory and execute the lines that are equivalent to autoreconf and get the same error. well, first time I tried, I

Re: calling AC_CANONICAL_HOST twice?

2005-08-26 Thread Stepan Kasal
On Thu, Aug 25, 2005 at 07:00:16PM -0700, Noah Misch wrote: This looks highly appropriate. Please do. Hi, I committed the patch as attached here. Stepan * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use