This is the mail archive of the
mailing list for the libstdc++ project.
Re: autotools transition report: State of the disUnion
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Phil Edwards <phil at jaj dot com>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Mon, 21 Jul 2003 10:49:59 -0500
- Subject: Re: autotools transition report: State of the disUnion
- References: <20030721115559.GA14050@disaster.jaj.com>
>As a side effect, I've found a couple of bugs and am fixing them en passant.
>For example, if --enable-clocale was not given, we were reporting "yes" as
>the choice, and going with generic without ever trying the OS-based probe.
>In the real world, this doesn't seem to have been a problem, since distro
>vendors were specifying a model.
Ouch! Thanks for fixing this.
>Also, option handling is a lot easier. Picking the concept checks as an
> AC_DEFUN(GLIBCXX_ENABLE_CONCEPT_CHECKS, [dnl
> define([GLIBCXX_ENABLE_CONCEPT_CHECKS_DEFAULT], ifelse($1, yes, yes, no))dnl
> changequote(<<, >>)dnl
> << --enable-concept-checks use Boost-derived template checks [default=>>GLIBCXX_ENABLE_CONCEPT_CHECKS_DEFAULT],
> changequote([, ])dnl
> [case "$enableval" in
> yes) enable_concept_checks=yes ;;
> no) enable_concept_checks=no ;;
> *) AC_MSG_ERROR([Unknown argument to enable/disable concept checks]) ;;
> dnl Option parsed, now set things appropriately
> if test x"$enable_concept_checks" = xyes; then
> AC_DEFUN(GLIBCXX_ENABLE_CONCEPT_CHECKS, [
> GLIBCXX_ENABLE(concept-checks,$1,[use Boost-derived template checks])
> if test $enable_concept_checks = yes; then
Nice. I can actually understand this now...
>Even the --help output is sane now.
Whee. Does this mean that it's aligned, without having to hand-space the
acinclude.m4 text? That was really funky.