This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] Configure support for 'long long'



(did the other bits to this patch ever get put in?)

testsuite submissions.... hello.... 

Please, no configure or makefile checkins till the xcompiles are 
supported...give me till Sunday. It looks like getting multilibs to work 
will require moving the libstdc++-v3 sourcedir  into the gcc heirarchy. 
This has been bouncing back and forth in CVS this week, so please. Let 
me get it working.

After it's in, I'll work on this, kay Chip?

A cygnus automake (confusingly numbered 1.4 but different than the 1.4 
net release)  is needed to run automake on the v3 distro. I'll put it 
up in the ftp directory so that people besides the maintainers have 
access to it if people so desire. Perhaps this would be a good thing?

-benjamin

On Fri, 11 Feb 2000, Chip Salzenberg wrote:

> 2000-02-11  Chip Salzenberg  <chip@valinux.com>
> 
> 	Support 'configure --enable-long-long'.
> 	* bits/c++config.h (_GLIBCPP_USE_LONG_LONG): Remove.
> 	* stl/bits/stl_config.h (__STL_LONG_LONG): Remove '#if 0'.
> 	* acconfig.h (_GLIBCPP_USE_LONG_LONG): Add.  Default to undef.
> 	* acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Define flag macro.
> 	* configure.in (GLIBCPP_ENABLE_LONG_LONG): Use it.
> 
> (This patch also include changes to some derived files:
> 	* aclocal.m4
> 	* config.h.in
> 	* configure
> ... because the Cygnus versions of some of the tools involved
> are still not public, AFAIK.)
> +dnl GLIBCPP_ENABLE_LONG_LONG
> +dnl --enable-long-long defines _GLIBCPP_USE_LONG_LONG
> +dnl --disable-long-long leaves _GLIBCPP_USE_LONG_LONG undefined
> +dnl  +  Usage:  GLIBCPP_ENABLE_LONG_LONG[(DEFAULT)]
> +dnl       Where DEFAULT is either `yes' or `no'.  If ommitted, it
> +dnl       defaults to `no'.

looks good

> +AC_DEFUN(GLIBCPP_ENABLE_LONG_LONG, [dnl
> +define([GLIBCPP_ENABLE_LONG_LONG_DEFAULT], ifelse($1, yes, yes, no))dnl
> +AC_ARG_ENABLE(long-long,
> +changequote(<<, >>)dnl
> +<<  --enable-long_long     turns on 'long long' [default=>>GLIBCPP_ENABLE_LONG_LONG_DEFAULT],
> +changequote([, ])dnl
> +[case "$enableval" in
> + yes) enable_long_long=yes ;;
> + no)  enable_long_long=no ;;
> + *)   AC_MSG_ERROR([Unknown argument to enable/disable long long]) ;;
> + esac],
> +enable_long_long=GLIBCPP_ENABLE_LONG_LONG_DEFAULT)dnl
> +dnl Option parsed, now set things appropriately
> +case "$enable_long_long" in
> +    yes)  AC_DEFINE(_GLIBCPP_USE_LONG_LONG)
> +          ;;
> +esac
>  ])

kay

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]