This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: I can't get libgloss build system to agree with me
- From: Ken Werner <ken at linux dot vnet dot ibm dot com>
- To: Karolina Lindqvist <karolina dot lindqvist at kramnet dot se>, newlib at sourceware dot org
- Date: Wed, 6 May 2009 11:12:57 +0200
- Subject: Re: I can't get libgloss build system to agree with me
- References: <200902051411.56477.karolina.lindqvist@kramnet.se>
On Thursday 05 February 2009 02:11:56 pm Karolina Lindqvist wrote:
> I have been struggling for hours, but I just can't get the
> autoconf/automake build system to work in libgloss, as I need to add my own
> a new cpu.
>
> Here is a sample run, with an unmodified newlib-1,.17.0 tree:
> newlib-1.17.0/libgloss$ aclocal -I ..
> newlib-1.17.0/libgloss$ autoconf
> configure.in:27: error: possibly undefined macro: AC_CONFIG_SUBDIRS
> If this token and others are legitimate, please use m4_pattern_allow.
> See the Autoconf documentation.
I encountered the same error and tracked it down to the following comment of
the libgloss/configure.in file:
# if test ${config_testsuite); then AC_CONFIG_SUBDIRS(testsuite); fi
After removing this line autoconf works fine.
> Karolina
Ken