Re: Strange warnings from AC_REQUIRE

2000-10-20 Thread Akim Demaille
> "Martin" == Martin Wilck <[EMAIL PROTECTED]> writes: >> [AC_REQUIRE([AC_LANG_COMPILER(C++)]) >> >> is not good, you can't do that. Use AC_LANG_COMPILER_REQUIRE >> instead. Martin> Ok, far better (I still get "CPP called before CC" messages, Martin> though). But then this comment: Marti

Re: Success (mostly) with the testsuite

2000-10-20 Thread Akim Demaille
| Eureka, quotes! Could you please test this construct: | | if $ac_need_defaults; then | : ${CONFIG_FILES="$config_files"} | fi No, this is not good. I removed the quotes on purpose. 2000-02-10 Akim Demaille <[EMAIL PROTECTED]> * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Don't

Re: Success (mostly) with the testsuite

2000-10-20 Thread David Morgan
Hi Pavel, I'll reply to you first and then Akim. It's easier to keep my mind straight that way :) Pavel Roskin wrote: > > Hello, David! > > > I have found the offending statement :) > > You are wonderful! > > > if $ac_need_defaults; then > > : ${CONFIG_FILES=$config_files} > > fi > > > >

Re: Success (mostly) with the testsuite

2000-10-20 Thread David Morgan
Akim Demaille wrote: > > | Eureka, quotes! Could you please test this construct: > | > | if $ac_need_defaults; then > | : ${CONFIG_FILES="$config_files"} > | fi > > No, this is not good. I removed the quotes on purpose. > > 2000-02-10 Akim Demaille <[EMAIL PROTECTED]> > > * acge

Re: Success (mostly) with the testsuite

2000-10-20 Thread Lars J. Aas
On Fri, Oct 20, 2000 at 08:41:49AM -0700, David Morgan wrote: : > test ${FOO+set} = set || FOO=$foo : : I just tried you proposed change and I get a syntax error from: : : test ${CONFIG_FILES+$config_files} = $config_files || CONFIG_FILES=$config_files Use "set" verbatim like Akim wrote - don't

Re: Success (mostly) with the testsuite

2000-10-20 Thread David Morgan
Hi Lars, "Lars J. Aas" wrote: > > On Fri, Oct 20, 2000 at 08:41:49AM -0700, David Morgan wrote: > : > test ${FOO+set} = set || FOO=$foo > : > : I just tried you proposed change and I get a syntax error from: > : > : test ${CONFIG_FILES+$config_files} = $config_files || CONFIG_FILES=$config_files

Re: Success (mostly) with the testsuite

2000-10-20 Thread Lars J. Aas
On Fri, Oct 20, 2000 at 08:57:50AM -0700, David Morgan wrote: : Hi Lars, : : "Lars J. Aas" wrote: : > : > On Fri, Oct 20, 2000 at 08:41:49AM -0700, David Morgan wrote: : > : > test ${FOO+set} = set || FOO=$foo : > : : > : I just tried you proposed change and I get a syntax error from: : > : : >

Re: Success (mostly) with the testsuite

2000-10-20 Thread David Morgan
Hi Lars, "Lars J. Aas" wrote: > > On Fri, Oct 20, 2000 at 08:57:50AM -0700, David Morgan wrote: > : Hi Lars, > : > : "Lars J. Aas" wrote: > : > > : > On Fri, Oct 20, 2000 at 08:41:49AM -0700, David Morgan wrote: > : > : > test ${FOO+set} = set || FOO=$foo > : > : > : > : I just tried you propose

name of m4 executable

2000-10-20 Thread Marco Franzen
Autoconf version 2.13 When I configured autoconf, it looked for GNU m4 under serveral names, including gm4: checking for gm4... /usr/gnu/bin/gm4 After building and installing autoconf, this information was lost, and the installed version did not find this very (g)m4. I would have expected

RE: Success (mostly) with the testsuite

2000-10-20 Thread Bernard Dautrevaux
> -Original Message- > From: David Morgan [mailto:[EMAIL PROTECTED]] > Sent: Friday, October 20, 2000 6:10 PM > To: [EMAIL PROTECTED] > Cc: Akim Demaille; Pavel Roskin; [EMAIL PROTECTED] > Subject: Re: Success (mostly) with the testsuite > > > Hi Lars, > > "Lars J. Aas" wrote: > > > >

Re: Success (mostly) with the testsuite

2000-10-20 Thread Lars J. Aas
On Fri, Oct 20, 2000 at 06:22:04PM +0200, Bernard Dautrevaux wrote: : > test s${CONFIG_FILES+et} = set || CONFIG_FILES=$config_files : : Hi all, : : I usually use the following construct, to protect against any kind of value : for FOO, be it empty or starting with a special character: : : test

Re: Success (mostly) with the testsuite

2000-10-20 Thread Lars J. Aas
On Fri, Oct 20, 2000 at 06:58:36PM +0200, Lars J. Aas wrote: : Anyways, what would be really cool is to find a LHS expansion that would : either expand to "set" or to "unset" depending on whether the variable was : set or not. I haven't been able to think of one, though. Does anyone : know it th

Some notes on the portability of Flex

2000-10-20 Thread Peter Eisentraut
The documentation now says under AC_PROG_LEX: : You are encouraged to use Flex in your sources, since it is both : more pleasant to use than plain Lex, and the C source it produces : is portable. But in order to ensure portability, you must either : provide a function `yywrap', or if you don't u

Bug in bash-1.14.7 causes testsuite failure

2000-10-20 Thread Pavel Roskin
Hello! I just found that the testsuite fails on stock RedHat 6.2 with Midnight Commander (!!!) installed in syntax.m4 when testing AC_FUNC_GETLOADAVG. It appears that bash-1.14.7 (not sure about 7.0, but RedHat 6.2 uses it as /bin/sh) prints functions in a different way after it encounters some

Re: name of m4 executable

2000-10-20 Thread Assar Westerlund
Marco Franzen <[EMAIL PROTECTED]> writes: > When I configured autoconf, it looked for GNU m4 under serveral names, > including gm4: > checking for gm4... /usr/gnu/bin/gm4 > After building and installing autoconf, this information was lost, and the > installed version did not find this very (

Re: dependencies in c++

2000-10-20 Thread Patrick Guio
On 19 Oct 2000, Raja R Harinath wrote: > Patrick Guio <[EMAIL PROTECTED]> writes: > > On 19 Oct 2000, Alexandre Oliva wrote: > > > On Oct 19, 2000, Patrick Guio <[EMAIL PROTECTED]> wrote: > > > > I really have problems to get the dependencies stuff to work correctly. I > > > > can see that some d