Hi all,
I am totally new with auto tools :-)
When trying to make a very first project, I do encounter always the same
issue with _CXX_COMPILE_STDCXX macro.
Below the current content of both configure.ac and Makefile.am
$ configure.ac
AC_CONFIG_MACRO_DIRS([m4])
m4_pattern_allow([AC_PROG_CC_C99])
Hi vincent,
I'm all but an autoconf expert. Is it on purpose that you didn't call
AC_INIT at the beginningof your autoconf script?
Did you try running autoconf and automake with warnings enable to see
whether they find something suspicious in your code?
Best wishes,
Sébastien.
On Mon, 20 Jan 2020, Vincent Blondel wrote:
BUT when doing the configure script I get the same error ...
$ ./configure
./configure: line 2428: syntax error near unexpected token
`AX_CXX_COMPILE_STDCXX'
./configure: line 2428: `AX_REQUIRE_DEFINED(AX_CXX_COMPILE_STDCXX)'
It appears that th
both ..._stdcxxx.m4 files are in the m4 subfolder ... is that not enough ?
On Mon, Jan 20, 2020 at 3:02 PM Bob Friesenhahn <
bfrie...@simple.dallas.tx.us> wrote:
> On Mon, 20 Jan 2020, Vincent Blondel wrote:
>
> > BUT when doing the configure script I get the same error ...
> >
> > $ ./confi
this is the run with warnings ...
$ autoreconf --verbose --force --install --warnings=all
autoreconf-2.69: Entering directory `.'
autoreconf-2.69: configure.ac: not using Gettext
autoreconf-2.69: running: aclocal --force --warnings=all ${ACLOCAL_FLAGS}
-I m4
autoreconf-2.69: configure.ac: tracing
Vincent Blondel (2020/01/20 15:10 +0100):
> both ..._stdcxxx.m4 files are in the m4 subfolder ... is that not
> enough ?
As far as I know each .m4 file needs to be included explicitly.
Sébastien.
Well it wouldn't hurt to fix the warnings. Perhaps it won't help, but
I'd still do it.
Sébastien.