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
> "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 :) :) :)
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
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
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.
:
: $
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
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
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 --