comparison src/config.in @ 48497:016a2985b8c6

*** empty log message ***
author Dave Love <fx@gnu.org>
date Thu, 21 Nov 2002 20:38:07 +0000
parents 55c749e7394a
children 6d514752d91b
comparison
equal deleted inserted replaced
48496:07981d5d6992 48497:016a2985b8c6
19 along with GNU Emacs; see the file COPYING. If not, write to the 19 along with GNU Emacs; see the file COPYING. If not, write to the
20 Free Software Foundation, Inc., 59 Temple Place - Suite 330, 20 Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21 Boston, MA 02111-1307, USA. */ 21 Boston, 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
28 #define EMACS_CONFIG_H 28 #define EMACS_CONFIG_H
29 29
87 #undef HAVE_BCMP 87 #undef HAVE_BCMP
88 88
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
95 /* Define to 1 if you have the `cbrt' function. */ 98 /* Define to 1 if you have the `cbrt' function. */
96 #undef HAVE_CBRT 99 #undef HAVE_CBRT
131 /* Define to 1 if you have the `frexp' function. */ 134 /* Define to 1 if you have the `frexp' function. */
132 #undef HAVE_FREXP 135 #undef HAVE_FREXP
133 136
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
139
140 /* Define to 1 if you have the `fsync' function. */
141 #undef HAVE_FSYNC
136 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
140 /* Define to 1 if you have the `gai_strerror' function. */ 146 /* Define to 1 if you have the `gai_strerror' function. */
458 #undef HAVE_SYS_MMAN_H 464 #undef HAVE_SYS_MMAN_H
459 465
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
466 /* Define to 1 if you have the <sys/soundcard.h> header file. */ 475 /* Define to 1 if you have the <sys/soundcard.h> header file. */
467 #undef HAVE_SYS_SOUNDCARD_H 476 #undef HAVE_SYS_SOUNDCARD_H
481 /* Define to 1 if you have the <sys/types.h> header file. */ 490 /* Define to 1 if you have the <sys/types.h> header file. */
482 #undef HAVE_SYS_TYPES_H 491 #undef HAVE_SYS_TYPES_H
483 492
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
495
496 /* Define to 1 if you have the <sys/vlimit.h> header file. */
497 #undef HAVE_SYS_VLIMIT_H
486 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
490 /* Define to 1 if you have the <termcap.h> header file. */ 502 /* Define to 1 if you have the <termcap.h> header file. */
706 #endif 718 #endif
707 719
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
714 /* Define for large files, on AIX-style hosts. */ 731 /* Define for large files, on AIX-style hosts. */
715 #undef _LARGE_FILES 732 #undef _LARGE_FILES
716 733
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
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
719 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
723 /* Define to the used os dependent file. */ 748 /* Define to the used os dependent file. */
859 This declaration shouldn't appear when alloca.s or Makefile.in 884 This declaration shouldn't appear when alloca.s or Makefile.in
860 includes config.h. */ 885 includes config.h. */
861 #ifndef NOT_C_CODE 886 #ifndef NOT_C_CODE
862 extern char *getenv (); 887 extern char *getenv ();
863 #endif 888 #endif
864
865 #endif /* EMACS_CONFIG_H */
866 889
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
870 #ifndef BITS_PER_CHAR 893 #ifndef BITS_PER_CHAR
901 # else 924 # else
902 # define __P(args) () 925 # define __P(args) ()
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
910 #include "string.h" 932 #include "string.h"
911 #endif 933 #endif
913 #include "strings.h" /* May be needed for bcopy & al. */ 935 #include "strings.h" /* May be needed for bcopy & al. */
914 #endif 936 #endif
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 */
945 char *alloca ();
946 # endif
947 # endif /* HAVE_ALLOCA_H */
948 #endif /* __GNUC__ */
918 #ifndef HAVE_SIZE_T 949 #ifndef HAVE_SIZE_T
919 typedef size_t unsigned 950 typedef 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
925 #ifdef HAVE_X11R6 956 #ifdef HAVE_X11R6
926 #define HAVE_X_I18N 957 #define HAVE_X_I18N
942 #define NO_RETURN __attribute__ ((__noreturn__)) 973 #define NO_RETURN __attribute__ ((__noreturn__))
943 #else 974 #else
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 /*
948 Local variables: 1007 Local Variables:
949 mode: c 1008 mode: c
950 End: 1009 End:
951 */ 1010 */
952 1011