[libstdc++] Build system cleanup [4/n]

Benjamin Kosnik bkoz@redhat.com
Mon Apr 4 23:47:00 GMT 2005


Thanks. These patches to slim down acconfig.h are great. Patches trying
to slim down that file and the resulting c++config.h are always
worthwhile.

> This takes advantage of a feature introduced with aclocal 1.8 which 
> automatically m4_include all the required macro files.  This gets rid of 
> the manual includes in configure.ac and acinclude.m4 as well as the 
> libtool dance that GCC used to use.

Sounds good.

> 2005-04-04  Kelley Cook  <kcook@gcc.gnu.org>
> 
> 	* Makefile.am (ACLOCAL_AMFLAGS): Define.
> 	* crossconfig.m4: Wrap file into new GLIBCXX_CROSSCONFIG macro.
> 	* configure.ac: Use it.
> 	* acinclude.m4: Delete explicit m4_includes and sincludes.
> 	* aclocal.m4, configure, Makefile.in, po/Makefile.in, 
> 	src/Makefile.in, include/Makefile.in, libmath/Makefile.in, 
> 	testsuite/Makefile.in: Regenerate.

I cannot test this patch, as aclocal/autoconf won't regenerate. I'm
assuming this is something to do with pulling all the patches out into
separate bits: it's not a big deal, assuming regenerating works when you
finish up this work. 

However:

+ACLOCAL_AMFLAGS = -I . -I .. -I ../config

Should be just

+ACLOCAL_AMFLAGS = -I . -I .. 

I think. There's no reason for it.

-benjamin



More information about the Libstdc++ mailing list