Commit 032cc955 by Phil Edwards Committed by Phil Edwards

acinclude.m4: Fix typo, switch to decaf...

2000-05-16  Phil Edwards  <pme@sourceware.cygnus.com>

	* acinclude.m4:  Fix typo, switch to decaf...
	* aclocal.m4:  Regenerate.
	* configure:  Regenerate.

From-SVN: r33937
parent 99246c90
2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
* acinclude.m4: Fix typo, switch to decaf...
* aclocal.m4: Regenerate.
* configure: Regenerate.
2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro, stub.
* aclocal.m4: Regenerate.
* configure.in: Call.
......
......@@ -940,7 +940,7 @@ dnl Where DEFAULT is either `yes' or `no'. If ommitted, it
dnl defaults to `no'.
AC_DEFUN(GLIBCPP_ENABLE_SHADOW, [dnl
define([GLIBCPP_ENABLE_SHADOW_DEFAULT], ifelse($1, yes, yes, no))dnl
AC_ARG_ENABLE(debug,
AC_ARG_ENABLE(shadow-headers,
changequote(<<, >>)dnl
<< --enable-shadow-headers construct "shadowed" C header files for
g++ [default=>>GLIBCPP_ENABLE_SHADOW_DEFAULT],
......@@ -950,9 +950,9 @@ changequote([, ])dnl
no) enable_shadow_headers=no ;;
*) AC_MSG_ERROR([Unknown argument to enable/disable shadowed C headers]) ;;
esac],
enable_debug=GLIBCPP_ENABLE_SHADOW_DEFAULT)dnl
enable_shadow_headers=GLIBCPP_ENABLE_SHADOW_DEFAULT)dnl
dnl Option parsed, now set things appropriately
case "$enable_debug" in
case "$enable_shadow_headers" in
yes)
SHADOW_INCLUDES="-I -am -the -walrus"
;;
......@@ -960,6 +960,7 @@ case "$enable_debug" in
SHADOW_INCLUDES=''
;;
esac
# SHADOW_INCLUDES is currently not used anywhere in the source
AC_SUBST(SHADOW_INCLUDES)
])
......
......@@ -952,7 +952,7 @@ dnl Where DEFAULT is either `yes' or `no'. If ommitted, it
dnl defaults to `no'.
AC_DEFUN(GLIBCPP_ENABLE_SHADOW, [dnl
define([GLIBCPP_ENABLE_SHADOW_DEFAULT], ifelse($1, yes, yes, no))dnl
AC_ARG_ENABLE(debug,
AC_ARG_ENABLE(shadow-headers,
changequote(<<, >>)dnl
<< --enable-shadow-headers construct "shadowed" C header files for
g++ [default=>>GLIBCPP_ENABLE_SHADOW_DEFAULT],
......@@ -962,9 +962,9 @@ changequote([, ])dnl
no) enable_shadow_headers=no ;;
*) AC_MSG_ERROR([Unknown argument to enable/disable shadowed C headers]) ;;
esac],
enable_debug=GLIBCPP_ENABLE_SHADOW_DEFAULT)dnl
enable_shadow_headers=GLIBCPP_ENABLE_SHADOW_DEFAULT)dnl
dnl Option parsed, now set things appropriately
case "$enable_debug" in
case "$enable_shadow_headers" in
yes)
SHADOW_INCLUDES="-I -am -the -walrus"
;;
......@@ -972,6 +972,7 @@ case "$enable_debug" in
SHADOW_INCLUDES=''
;;
esac
# SHADOW_INCLUDES is currently not used anywhere in the source
AC_SUBST(SHADOW_INCLUDES)
])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment