Re: STDCXX issue

2020-01-23 Thread Vincent Blondel
Thank You for your help It works now Vincent On Tue, Jan 21, 2020 at 4:37 PM Zack Weinberg wrote: > On Tue, Jan 21, 2020 at 10:18 AM Zack Weinberg wrote: > > > > The `aclocal` program (which is run by autoreconf) is supposed to > > generate aclocal.m4, though. I strongly suspect the missing A

Re: STDCXX issue

2020-01-21 Thread Zack Weinberg
On Tue, Jan 21, 2020 at 10:18 AM Zack Weinberg wrote: > > The `aclocal` program (which is run by autoreconf) is supposed to > generate aclocal.m4, though. I strongly suspect the missing AC_INIT > is the problem here. Following up on this, if I run autoreconf -vif on Vincent's original configure.

Re: STDCXX issue

2020-01-21 Thread Zack Weinberg
On Tue, Jan 21, 2020 at 9:31 AM Bob Friesenhahn wrote: > > On Mon, 20 Jan 2020, Sébastien Hinderer wrote:a > > > 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 include

Re: STDCXX issue

2020-01-21 Thread Bob Friesenhahn
On Mon, 20 Jan 2020, Sébastien Hinderer wrote: 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. That does appear to be the case. For example, my configure.ac

Re: STDCXX issue

2020-01-20 Thread Sébastien Hinderer
Well it wouldn't hurt to fix the warnings. Perhaps it won't help, but I'd still do it. Sébastien.

Re: STDCXX issue

2020-01-20 Thread Sébastien Hinderer
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.

Re: STDCXX issue

2020-01-20 Thread Vincent Blondel
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

Re: STDCXX issue

2020-01-20 Thread Vincent Blondel
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

Re: STDCXX issue

2020-01-20 Thread Bob Friesenhahn
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

Re: STDCXX issue

2020-01-20 Thread Sébastien Hinderer
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.

STDCXX issue

2020-01-20 Thread Vincent Blondel
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])