aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Love2002-11-21 20:38:07 +0000
committerDave Love2002-11-21 20:38:07 +0000
commit22044edfcebd3b628c2025a40d000a0a89d13c59 (patch)
tree24960f7c412bdb40c99367fce1773937575539cf /src
parent34c4c919b03429f4752aa9e4a70c49cc16330984 (diff)
downloademacs-22044edfcebd3b628c2025a40d000a0a89d13c59.tar.gz
emacs-22044edfcebd3b628c2025a40d000a0a89d13c59.zip
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r--src/config.in71
1 files changed, 65 insertions, 6 deletions
diff --git a/src/config.in b/src/config.in
index 3430d37ddc4..6d29437ad83 100644
--- a/src/config.in
+++ b/src/config.in
@@ -21,7 +21,7 @@ Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21Boston, MA 02111-1307, USA. */ 21Boston, MA 02111-1307, USA. */
22 22
23 23
24/* No code in Emacs #includes config.h twice, but some of the code 24/* No code in Emacs #includes config.h twice, but some bits of code
25 intended to work with other packages as well (like gmalloc.c) 25 intended to work with other packages as well (like gmalloc.c)
26 think they can include it as many times as they like. */ 26 think they can include it as many times as they like. */
27#ifndef EMACS_CONFIG_H 27#ifndef EMACS_CONFIG_H
@@ -89,6 +89,9 @@ Boston, MA 02111-1307, USA. */
89/* Define to 1 if you have the `bcopy' function. */ 89/* Define to 1 if you have the `bcopy' function. */
90#undef HAVE_BCOPY 90#undef HAVE_BCOPY
91 91
92/* Define to 1 if you have the `bzero' function. */
93#undef HAVE_BZERO
94
92/* Define to 1 if you are using the Carbon API on Mac OS X. */ 95/* Define to 1 if you are using the Carbon API on Mac OS X. */
93#undef HAVE_CARBON 96#undef HAVE_CARBON
94 97
@@ -134,6 +137,9 @@ Boston, MA 02111-1307, USA. */
134/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ 137/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
135#undef HAVE_FSEEKO 138#undef HAVE_FSEEKO
136 139
140/* Define to 1 if you have the `fsync' function. */
141#undef HAVE_FSYNC
142
137/* Define to 1 if you have the `ftime' function. */ 143/* Define to 1 if you have the `ftime' function. */
138#undef HAVE_FTIME 144#undef HAVE_FTIME
139 145
@@ -460,6 +466,9 @@ Boston, MA 02111-1307, USA. */
460/* Define to 1 if you have the <sys/param.h> header file. */ 466/* Define to 1 if you have the <sys/param.h> header file. */
461#undef HAVE_SYS_PARAM_H 467#undef HAVE_SYS_PARAM_H
462 468
469/* Define to 1 if you have the <sys/resource.h> header file. */
470#undef HAVE_SYS_RESOURCE_H
471
463/* Define to 1 if you have the <sys/select.h> header file. */ 472/* Define to 1 if you have the <sys/select.h> header file. */
464#undef HAVE_SYS_SELECT_H 473#undef HAVE_SYS_SELECT_H
465 474
@@ -484,6 +493,9 @@ Boston, MA 02111-1307, USA. */
484/* Define to 1 if you have the <sys/un.h> header file. */ 493/* Define to 1 if you have the <sys/un.h> header file. */
485#undef HAVE_SYS_UN_H 494#undef HAVE_SYS_UN_H
486 495
496/* Define to 1 if you have the <sys/vlimit.h> header file. */
497#undef HAVE_SYS_VLIMIT_H
498
487/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */ 499/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
488#undef HAVE_SYS_WAIT_H 500#undef HAVE_SYS_WAIT_H
489 501
@@ -708,6 +720,11 @@ Boston, MA 02111-1307, USA. */
708/* Number of bits in a file offset, on hosts where this is settable. */ 720/* Number of bits in a file offset, on hosts where this is settable. */
709#undef _FILE_OFFSET_BITS 721#undef _FILE_OFFSET_BITS
710 722
723/* Enable GNU extensions on systems that have them. */
724#ifndef _GNU_SOURCE
725# undef _GNU_SOURCE
726#endif
727
711/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ 728/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
712#undef _LARGEFILE_SOURCE 729#undef _LARGEFILE_SOURCE
713 730
@@ -717,6 +734,14 @@ Boston, MA 02111-1307, USA. */
717/* Define like PROTOTYPES; this can be used by system headers. */ 734/* Define like PROTOTYPES; this can be used by system headers. */
718#undef __PROTOTYPES 735#undef __PROTOTYPES
719 736
737/* Define to compiler's equivalent of C99 restrict keyword. Don't define if
738 equivalent is `__restrict'. */
739#undef __restrict
740
741/* Define to compiler's equivalent of C99 restrict keyword in array
742 declarations. Define as empty for no equivalent. */
743#undef __restrict_arr
744
720/* Define to the used machine dependent file. */ 745/* Define to the used machine dependent file. */
721#undef config_machfile 746#undef config_machfile
722 747
@@ -862,8 +887,6 @@ Boston, MA 02111-1307, USA. */
862extern char *getenv (); 887extern char *getenv ();
863#endif 888#endif
864 889
865#endif /* EMACS_CONFIG_H */
866
867/* These default definitions are good for almost all machines. 890/* These default definitions are good for almost all machines.
868 The exceptions override them in m/MACHINE.h. */ 891 The exceptions override them in m/MACHINE.h. */
869 892
@@ -903,7 +926,6 @@ extern char *getenv ();
903# endif /* GCC. */ 926# endif /* GCC. */
904#endif /* __P */ 927#endif /* __P */
905 928
906
907/* Don't include "string.h" or <stdlib.h> in non-C code. */ 929/* Don't include "string.h" or <stdlib.h> in non-C code. */
908#ifndef NOT_C_CODE 930#ifndef NOT_C_CODE
909#ifdef HAVE_STRING_H 931#ifdef HAVE_STRING_H
@@ -915,10 +937,19 @@ extern char *getenv ();
915#ifdef HAVE_STDLIB_H 937#ifdef HAVE_STDLIB_H
916#include <stdlib.h> 938#include <stdlib.h>
917#endif 939#endif
940#ifndef __GNUC__
941# ifdef HAVE_ALLOCA_H
942# include <alloca.h>
943# else /* AIX files deal with #pragma. */
944# ifndef alloca /* predefined by HP cc +Olibcalls */
945char *alloca ();
946# endif
947# endif /* HAVE_ALLOCA_H */
948#endif /* __GNUC__ */
918#ifndef HAVE_SIZE_T 949#ifndef HAVE_SIZE_T
919typedef size_t unsigned 950typedef size_t unsigned
920#endif 951#endif
921#endif 952#endif /* NOT_C_CODE */
922 953
923/* Define HAVE_X_I18N if we have usable i18n support. */ 954/* Define HAVE_X_I18N if we have usable i18n support. */
924 955
@@ -944,8 +975,36 @@ typedef size_t unsigned
944#define NO_RETURN /* nothing */ 975#define NO_RETURN /* nothing */
945#endif 976#endif
946 977
978/* These won't be used automatically yet. We also need to know, at least,
979 that the stack is continuous. */
980#ifdef __GNUC__
981# ifndef GC_SETJMP_WORKS
982 /* GC_SETJMP_WORKS is nearly always appropriate for GCC --
983 see NON_SAVING_SETJMP in the target descriptions. */
984 /* Exceptions (see NON_SAVING_SETJMP in target description) are ns32k,
985 SCO5 non-ELF (but Emacs specifies ELF) and SVR3 on x86.
986 Fixme: Deal with ns32k, SVR3. */
987# define GC_SETJMP_WORKS 1
988# endif
989# ifndef GC_LISP_OBJECT_ALIGNMENT
990# define GC_LISP_OBJECT_ALIGNMENT (__alignof__ (Lisp_Object))
991# endif
992#endif
993
994#ifndef HAVE_BCOPY
995#define bcopy(a,b,s) memcpy (b,a,s)
996#endif
997#ifndef HAVE_BZERO
998#define bzero(a,s) memset (a,0,s)
999#endif
1000#ifndef HAVE_BCMP
1001#define BCMP memcmp
1002#endif
1003
1004#endif /* EMACS_CONFIG_H */
1005
947/* 1006/*
948Local variables: 1007Local Variables:
949mode: c 1008mode: c
950End: 1009End:
951*/ 1010*/