mirror of git://gcc.gnu.org/git/gcc.git
acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro, stub.
2000-05-16 Phil Edwards <pme@sourceware.cygnus.com> * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro, stub. * aclocal.m4: Regenerate. * configure.in: Call. * configure: Regenerate. * docs/configopts.html: Stub documentation. From-SVN: r33936
This commit is contained in:
parent
317d4315c2
commit
99246c9013
|
@ -1,3 +1,11 @@
|
||||||
|
2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
|
||||||
|
|
||||||
|
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro, stub.
|
||||||
|
* aclocal.m4: Regenerate.
|
||||||
|
* configure.in: Call.
|
||||||
|
* configure: Regenerate.
|
||||||
|
* docs/configopts.html: Stub documentation.
|
||||||
|
|
||||||
2000-05-14 Nathan Myers <ncm@cantrip.org>
|
2000-05-14 Nathan Myers <ncm@cantrip.org>
|
||||||
|
|
||||||
* mkcshadow: build in more-correct directory, create cshadow/
|
* mkcshadow: build in more-correct directory, create cshadow/
|
||||||
|
|
|
@ -928,13 +928,39 @@ AC_DEFUN(GLIBCPP_ENABLE_LONG_LONG, [dnl
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
|
dnl
|
||||||
|
dnl Check for certain special build configurations.
|
||||||
|
dnl
|
||||||
|
dnl GLIBCPP_ENABLE_SHADOW
|
||||||
|
dnl --enable-shadow-headers [does stuff].
|
||||||
|
dnl --disable-shadow-headers [does not do stuff].
|
||||||
|
dnl + This will eventually need to be on by default.
|
||||||
|
dnl + Usage: GLIBCPP_ENABLE_SHADOW[(DEFAULT)]
|
||||||
|
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,
|
||||||
|
changequote(<<, >>)dnl
|
||||||
|
<< --enable-shadow-headers construct "shadowed" C header files for
|
||||||
|
g++ [default=>>GLIBCPP_ENABLE_SHADOW_DEFAULT],
|
||||||
|
changequote([, ])dnl
|
||||||
|
[case "$enableval" in
|
||||||
|
yes) enable_shadow_headers=yes ;;
|
||||||
|
no) enable_shadow_headers=no ;;
|
||||||
|
*) AC_MSG_ERROR([Unknown argument to enable/disable shadowed C headers]) ;;
|
||||||
|
esac],
|
||||||
|
enable_debug=GLIBCPP_ENABLE_SHADOW_DEFAULT)dnl
|
||||||
|
dnl Option parsed, now set things appropriately
|
||||||
|
case "$enable_debug" in
|
||||||
|
yes)
|
||||||
|
SHADOW_INCLUDES="-I -am -the -walrus"
|
||||||
|
;;
|
||||||
|
no)
|
||||||
|
SHADOW_INCLUDES=''
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
AC_SUBST(SHADOW_INCLUDES)
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -940,14 +940,40 @@ AC_DEFUN(GLIBCPP_ENABLE_LONG_LONG, [dnl
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
|
dnl
|
||||||
|
dnl Check for certain special build configurations.
|
||||||
|
dnl
|
||||||
|
dnl GLIBCPP_ENABLE_SHADOW
|
||||||
|
dnl --enable-shadow-headers [does stuff].
|
||||||
|
dnl --disable-shadow-headers [does not do stuff].
|
||||||
|
dnl + This will eventually need to be on by default.
|
||||||
|
dnl + Usage: GLIBCPP_ENABLE_SHADOW[(DEFAULT)]
|
||||||
|
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,
|
||||||
|
changequote(<<, >>)dnl
|
||||||
|
<< --enable-shadow-headers construct "shadowed" C header files for
|
||||||
|
g++ [default=>>GLIBCPP_ENABLE_SHADOW_DEFAULT],
|
||||||
|
changequote([, ])dnl
|
||||||
|
[case "$enableval" in
|
||||||
|
yes) enable_shadow_headers=yes ;;
|
||||||
|
no) enable_shadow_headers=no ;;
|
||||||
|
*) AC_MSG_ERROR([Unknown argument to enable/disable shadowed C headers]) ;;
|
||||||
|
esac],
|
||||||
|
enable_debug=GLIBCPP_ENABLE_SHADOW_DEFAULT)dnl
|
||||||
|
dnl Option parsed, now set things appropriately
|
||||||
|
case "$enable_debug" in
|
||||||
|
yes)
|
||||||
|
SHADOW_INCLUDES="-I -am -the -walrus"
|
||||||
|
;;
|
||||||
|
no)
|
||||||
|
SHADOW_INCLUDES=''
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
AC_SUBST(SHADOW_INCLUDES)
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -28,6 +28,7 @@ GLIBCPP_CHECK_CPU
|
||||||
GLIBCPP_ENABLE_DEBUG
|
GLIBCPP_ENABLE_DEBUG
|
||||||
GLIBCPP_ENABLE_CSTDIO
|
GLIBCPP_ENABLE_CSTDIO
|
||||||
GLIBCPP_ENABLE_LONG_LONG
|
GLIBCPP_ENABLE_LONG_LONG
|
||||||
|
GLIBCPP_ENABLE_SHADOW(no)
|
||||||
GLIBCPP_ENABLE_THREADS
|
GLIBCPP_ENABLE_THREADS
|
||||||
#GLIBCPP_ENABLE_RELIBGCC([../..])
|
#GLIBCPP_ENABLE_RELIBGCC([../..])
|
||||||
GLIBCPP_ENABLE_CXX_FLAGS([none])
|
GLIBCPP_ENABLE_CXX_FLAGS([none])
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<TITLE>libstdc++-v3 configure options</TITLE>
|
<TITLE>libstdc++-v3 configure options</TITLE>
|
||||||
<LINK REL="home" HREF="http://sourceware.cygnus.com/libstdc++/">
|
<LINK REL="home" HREF="http://sourceware.cygnus.com/libstdc++/">
|
||||||
<LINK REL=StyleSheet HREF="lib3styles.css">
|
<LINK REL=StyleSheet HREF="lib3styles.css">
|
||||||
<!-- $Id: configopts.html,v 1.1 2000/04/21 20:33:30 bkoz Exp $ -->
|
<!-- $Id: configopts.html,v 1.2 2000/05/09 20:25:13 pme Exp $ -->
|
||||||
</HEAD>
|
</HEAD>
|
||||||
<BODY>
|
<BODY>
|
||||||
|
|
||||||
|
@ -87,6 +87,11 @@ options</A></H1>
|
||||||
the global namespace.
|
the global namespace.
|
||||||
</P>
|
</P>
|
||||||
|
|
||||||
|
<DT><TT>--enable-shadow-headers </TT>
|
||||||
|
<DD><P>This turns on the code to construct shadowed C headers. Very
|
||||||
|
experimental as of this writing.
|
||||||
|
</P>
|
||||||
|
|
||||||
<DT><TT>--enable-threads </TT>
|
<DT><TT>--enable-threads </TT>
|
||||||
<DD><P>This is an abbreviated form of <TT>'--enable-threads=yes'</TT>
|
<DD><P>This is an abbreviated form of <TT>'--enable-threads=yes'</TT>
|
||||||
(described next).
|
(described next).
|
||||||
|
@ -154,7 +159,7 @@ options</A></H1>
|
||||||
|
|
||||||
<HR>
|
<HR>
|
||||||
<P CLASS="fineprint"><EM>
|
<P CLASS="fineprint"><EM>
|
||||||
$Id: configopts.html,v 1.1 2000/04/21 20:33:30 bkoz Exp $
|
$Id: configopts.html,v 1.2 2000/05/09 20:25:13 pme Exp $
|
||||||
</EM></P>
|
</EM></P>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue