Discussion:
[libhid-discuss] Problem with configure
Tom Isaacson
2009-08-27 22:36:43 UTC
Permalink
What version of autoconf should I be using? I'm using Ubuntu 9.04, and when I run ./configure I get the error:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
./configure: line 2568: syntax error near unexpected token `pedantic,'
./configure: line 2568: `MD_ARG_ENABLE_CUSTOM(pedantic, pedantic compiler checks, no)'

Am I using an incompatible version of autoconf or is something else going wrong here?

Thanks.

Tom Isaacson
Charles Lepple
2009-08-28 01:24:32 UTC
Permalink
Post by Tom Isaacson
What version of autoconf should I be using? I'm using Ubuntu 9.04,
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of
Makefiles... no
./configure: line 2568: syntax error near unexpected token `pedantic,'
./configure: line 2568: `MD_ARG_ENABLE_CUSTOM(pedantic, pedantic compiler checks, no)'
Am I using an incompatible version of autoconf or is something else going wrong here?
How are you running autoconf? It should interpret MD_ARG_ENABLE_CUSTOM
before it goes into the configure script.
Charles Lepple
2009-08-28 02:01:56 UTC
Permalink
Post by Tom Isaacson
What version of autoconf should I be using? I'm using Ubuntu 9.04,
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of
Makefiles... no
./configure: line 2568: syntax error near unexpected token `pedantic,'
./configure: line 2568: `MD_ARG_ENABLE_CUSTOM(pedantic, pedantic compiler checks, no)'
Am I using an incompatible version of autoconf or is something else going wrong here?
You may need to run "aclocal -I m4". The "autogen.sh" script takes
care of this for you.

(just tested with autoconf 2.63 and automake 1.11)

Loading...