AC_INIT(ac_unique_file)

2000-11-02 Thread Lars J. Aas
I think autoconf ought to warn the maintainer if $ac_unique_file (the AC_INIT argument) isn't found when run. Any reason it shouldn't? The way it is now, autoconf doesn't warn, and when you run configure, $srcdir is just set to ".." which causes configure to abort with an error for not finding i

Re: ifnames output

2000-11-02 Thread Akim Demaille
> "Pavel" == Pavel Roskin <[EMAIL PROTECTED]> writes: Pavel> Thus we see that Akim intended to submit only a copyright Pavel> change but somehow he submitted other changes. How delicately said :) :) :)

AC_PROG_CPP was called before AC_PROG_CC

2000-11-02 Thread Paul Martinolich
With this configure.in, I get the same warning twice. $ cat configure.in AC_INIT(aps,2.4,[EMAIL PROTECTED]) AC_PROG_CPP AC_PROG_CC(cc gcc) AC_CHECK_FUNCS(sincos) AC_OUTPUT $ autoconf configure.in:3: warning: AC_PROG_CPP was called before AC_PROG_CC configure.in:4: warning: AC_PROG_CPP was

Re: AC_INIT(ac_unique_file)

2000-11-02 Thread Pavel Roskin
Hello, Lars! > I think autoconf ought to warn the maintainer if $ac_unique_file > (the AC_INIT argument) isn't found when run. Any reason it shouldn't? It warns when "configure" is run, but not when "autoconf" is run. $ cat configure.in AC_INIT(abc) AC_OUTPUT $ autoconf $ ./configure configu

Re: AC_INIT(ac_unique_file)

2000-11-02 Thread Lars J. Aas
On Thu, Nov 02, 2000 at 02:07:43PM -0500, Pavel Roskin wrote: : Hello, Lars! : > I think autoconf ought to warn the maintainer if $ac_unique_file : > (the AC_INIT argument) isn't found when run. Any reason it shouldn't? : : It warns when "configure" is run, but not when "autoconf" is run. : : $

Re: AC_INIT(ac_unique_file)

2000-11-02 Thread Pavel Roskin
Hello, Lars! > : Are you suggesting that "autoconf" issues a warning as well? > > Yes, if there's no case where generating a configure-script under such a > circumstance is useful... It has a low priority for me. I'll not object if anybody else does it. > Anyways, I just found the problem. I

Problems with AC_CONFIG_AUX_DIR/AC_CONFIG_AUX_DIR_DEFAULT

2000-11-02 Thread Paul Martinolich
In my configure.in, I have AC_CONFIG_AUX_DIR(config) AM_INIT_AUTOMAKE(program,1.0) In the configure file, I have the output of AC_CONFIG_AUX_DIR followed immediately by AC_CONFIG_AUX_DIR_DEFAULT. The second version essentially negates the first. The first line in AM_INIT_AUTOMAKE is to AC_REQU

AC_LANG_SOURCE(C++) and exit

2000-11-02 Thread Raja R Harinath
Hi, AC_LANG_SOURCE(C++) uses extern "C" void exit (int); However, the latest libstdc++ will complain about this, since "exit" function is in the "_C_legacy" and/or "std" namespaces. I think this line shouldn't be in AC_LANG_SOURCE, but instead use #include - Hari -- Raja R Harinath --