mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +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
c66e5b6e0d
commit
2ef54f7ef2
9 changed files with 37 additions and 7 deletions
|
@ -2,6 +2,12 @@
|
|||
|
||||
* Source/NSPathUtilities.m (_POSIX_PTHREAD_SEMANTICS): Define to expose
|
||||
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>
|
||||
|
||||
|
|
|
@ -313,6 +313,9 @@
|
|||
/* Define if your Obj-C compiler calls +load methods before main */
|
||||
#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. */
|
||||
#undef HAVE_LOCALE_H
|
||||
|
||||
|
|
|
@ -48,10 +48,14 @@
|
|||
#ifdef HAVE_STDINT_H
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
#ifdef HAVE_ALLOCA_H
|
||||
#include <alloca.h>
|
||||
#endif
|
||||
#include <limits.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#import "GNUstepBase/preface.h"
|
||||
#import "Foundation/NSString.h"
|
||||
#import "Foundation/NSArray.h"
|
||||
|
|
|
@ -30,6 +30,10 @@
|
|||
*/
|
||||
|
||||
#import "config.h"
|
||||
#ifdef HAVE_ALLOCA_H
|
||||
#include <alloca.h>
|
||||
#endif
|
||||
|
||||
#import "Foundation/NSEnumerator.h"
|
||||
#import "GNUstepBase/preface.h"
|
||||
#import "GNUstepBase/GSLock.h"
|
||||
|
|
|
@ -25,6 +25,10 @@
|
|||
|
||||
#include "config.h"
|
||||
#include <stdlib.h>
|
||||
#ifdef HAVE_ALLOCA_H
|
||||
#include <alloca.h>
|
||||
#endif
|
||||
|
||||
#include "callframe.h"
|
||||
#include "Foundation/NSException.h"
|
||||
#include "Foundation/NSData.h"
|
||||
|
|
|
@ -25,6 +25,10 @@
|
|||
|
||||
#include "config.h"
|
||||
#include <stdlib.h>
|
||||
#ifdef HAVE_ALLOCA_H
|
||||
#include <alloca.h>
|
||||
#endif
|
||||
|
||||
#include "cifframe.h"
|
||||
#include "Foundation/NSException.h"
|
||||
#include "Foundation/NSData.h"
|
||||
|
|
|
@ -34,14 +34,13 @@
|
|||
|
||||
#include "config.h"
|
||||
#include "GNUstepBase/preface.h"
|
||||
#include <mframe.h>
|
||||
#include "Foundation/NSObjCRuntime.h"
|
||||
#include "Foundation/NSData.h"
|
||||
#include "Foundation/NSException.h"
|
||||
#include "Foundation/NSDebug.h"
|
||||
#ifdef HAVE_ALLOCA_H
|
||||
#include <alloca.h>
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include <mframe.h>
|
||||
|
||||
/* Deal with strrchr: */
|
||||
#if STDC_HEADERS || defined(HAVE_STRING_H)
|
||||
|
@ -60,6 +59,11 @@
|
|||
/* memory.h and strings.h conflict on some systems. */
|
||||
#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
|
||||
|
|
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
|
||||
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
|
||||
|
|
|
@ -1316,7 +1316,7 @@ AC_C_INLINE
|
|||
# Following header checks needed for bzero in Storage.m and other places
|
||||
#--------------------------------------------------------------------
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue