mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +00:00
* Headers/Additions/GNUstepBase/config.h.in, configure.ac (alloca.h):
Check for header. * configure: Regenerate. * Source/mframe.m, Source/cifframe.m, Source/NSConnection.m, Source/callframe.m, Source/GSFormat.m: Include alloca.h where available. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25773 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
01078afdb7
commit
d3dbdfe3ac
9 changed files with 37 additions and 7 deletions
|
@ -2,6 +2,12 @@
|
||||||
|
|
||||||
* Source/NSPathUtilities.m (_POSIX_PTHREAD_SEMANTICS): Define to expose
|
* Source/NSPathUtilities.m (_POSIX_PTHREAD_SEMANTICS): Define to expose
|
||||||
POSIX compliant signatures for get(pw/gr)(nam/uid)_r.
|
POSIX compliant signatures for get(pw/gr)(nam/uid)_r.
|
||||||
|
|
||||||
|
* Headers/Additions/GNUstepBase/config.h.in, configure.ac (alloca.h):
|
||||||
|
Check for header.
|
||||||
|
* configure: Regenerate.
|
||||||
|
* Source/mframe.m, Source/cifframe.m, Source/NSConnection.m,
|
||||||
|
Source/callframe.m, Source/GSFormat.m: Include alloca.h where available.
|
||||||
|
|
||||||
2007-12-20 David Ayers <ayers@fsfe.org>
|
2007-12-20 David Ayers <ayers@fsfe.org>
|
||||||
|
|
||||||
|
|
|
@ -313,6 +313,9 @@
|
||||||
/* Define if your Obj-C compiler calls +load methods before main */
|
/* Define if your Obj-C compiler calls +load methods before main */
|
||||||
#undef HAVE_LOAD_METHOD
|
#undef HAVE_LOAD_METHOD
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <alloca.h> header file. */
|
||||||
|
#undef HAVE_ALLOCA_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <locale.h> header file. */
|
/* Define to 1 if you have the <locale.h> header file. */
|
||||||
#undef HAVE_LOCALE_H
|
#undef HAVE_LOCALE_H
|
||||||
|
|
||||||
|
|
|
@ -48,10 +48,14 @@
|
||||||
#ifdef HAVE_STDINT_H
|
#ifdef HAVE_STDINT_H
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAVE_ALLOCA_H
|
||||||
|
#include <alloca.h>
|
||||||
|
#endif
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#import "GNUstepBase/preface.h"
|
#import "GNUstepBase/preface.h"
|
||||||
#import "Foundation/NSString.h"
|
#import "Foundation/NSString.h"
|
||||||
#import "Foundation/NSArray.h"
|
#import "Foundation/NSArray.h"
|
||||||
|
|
|
@ -30,6 +30,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#import "config.h"
|
#import "config.h"
|
||||||
|
#ifdef HAVE_ALLOCA_H
|
||||||
|
#include <alloca.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#import "Foundation/NSEnumerator.h"
|
#import "Foundation/NSEnumerator.h"
|
||||||
#import "GNUstepBase/preface.h"
|
#import "GNUstepBase/preface.h"
|
||||||
#import "GNUstepBase/GSLock.h"
|
#import "GNUstepBase/GSLock.h"
|
||||||
|
|
|
@ -25,6 +25,10 @@
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#ifdef HAVE_ALLOCA_H
|
||||||
|
#include <alloca.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "callframe.h"
|
#include "callframe.h"
|
||||||
#include "Foundation/NSException.h"
|
#include "Foundation/NSException.h"
|
||||||
#include "Foundation/NSData.h"
|
#include "Foundation/NSData.h"
|
||||||
|
|
|
@ -25,6 +25,10 @@
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#ifdef HAVE_ALLOCA_H
|
||||||
|
#include <alloca.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "cifframe.h"
|
#include "cifframe.h"
|
||||||
#include "Foundation/NSException.h"
|
#include "Foundation/NSException.h"
|
||||||
#include "Foundation/NSData.h"
|
#include "Foundation/NSData.h"
|
||||||
|
|
|
@ -34,14 +34,13 @@
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "GNUstepBase/preface.h"
|
#include "GNUstepBase/preface.h"
|
||||||
#include <mframe.h>
|
#ifdef HAVE_ALLOCA_H
|
||||||
#include "Foundation/NSObjCRuntime.h"
|
#include <alloca.h>
|
||||||
#include "Foundation/NSData.h"
|
#endif
|
||||||
#include "Foundation/NSException.h"
|
|
||||||
#include "Foundation/NSDebug.h"
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
#include <mframe.h>
|
||||||
|
|
||||||
/* Deal with strrchr: */
|
/* Deal with strrchr: */
|
||||||
#if STDC_HEADERS || defined(HAVE_STRING_H)
|
#if STDC_HEADERS || defined(HAVE_STRING_H)
|
||||||
|
@ -60,6 +59,11 @@
|
||||||
/* memory.h and strings.h conflict on some systems. */
|
/* memory.h and strings.h conflict on some systems. */
|
||||||
#endif /* not STDC_HEADERS and not HAVE_STRING_H */
|
#endif /* not STDC_HEADERS and not HAVE_STRING_H */
|
||||||
|
|
||||||
|
#include "Foundation/NSObjCRuntime.h"
|
||||||
|
#include "Foundation/NSData.h"
|
||||||
|
#include "Foundation/NSException.h"
|
||||||
|
#include "Foundation/NSDebug.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* For encoding and decoding the method arguments, we have to know where
|
/* For encoding and decoding the method arguments, we have to know where
|
||||||
|
|
3
configure
vendored
3
configure
vendored
|
@ -9732,7 +9732,8 @@ fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
for ac_header in string.h memory.h
|
|
||||||
|
for ac_header in string.h memory.h alloca.h
|
||||||
do
|
do
|
||||||
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
||||||
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
||||||
|
|
|
@ -1316,7 +1316,7 @@ AC_C_INLINE
|
||||||
# Following header checks needed for bzero in Storage.m and other places
|
# Following header checks needed for bzero in Storage.m and other places
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
AC_HEADER_STDC
|
AC_HEADER_STDC
|
||||||
AC_CHECK_HEADERS(string.h memory.h)
|
AC_CHECK_HEADERS(string.h memory.h alloca.h)
|
||||||
|
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
# Following header check needed NSConnection.h
|
# Following header check needed NSConnection.h
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue