comparison src/config.in @ 106009:e6af95c4c862

Use gcc-generated dependency files if we can (GNU Make and gcc required). * Makefile.in: If AUTO_DEPEND is defined, make gcc generate dependency files in deps/. Include those files into Makefile. * config.in: Generated (AUTO_DEPEND). * configure.in: --enable-autodepend is new. Check for GNU Make and that gcc supports -MMD -MF. Define AUTO_DEPEND if we can use gcc and GNU make to generate dependencies.
author Jan Djärv <jan.h.d@swipnet.se>
date Sat, 14 Nov 2009 15:17:38 +0000
parents 15b68d7b12d4
children cd4cbab8bb21
comparison
equal deleted inserted replaced
106008:38f236a275ca 106009:e6af95c4c862
25 think they can include it as many times as they like. */ 25 think they can include it as many times as they like. */
26 #ifndef EMACS_CONFIG_H 26 #ifndef EMACS_CONFIG_H
27 #define EMACS_CONFIG_H 27 #define EMACS_CONFIG_H
28 28
29 29
30 /* Generate dependencies with gcc. */
31 #undef AUTO_DEPEND
32
30 /* Define to 1 if the mktime function is broken. */ 33 /* Define to 1 if the mktime function is broken. */
31 #undef BROKEN_MKTIME 34 #undef BROKEN_MKTIME
32 35
33 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP 36 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
34 systems. This function is required for `alloca.c' support on those systems. 37 systems. This function is required for `alloca.c' support on those systems.
825 on `HAVE_STRUCT_NLIST_N_UN_N_NAME */ 828 on `HAVE_STRUCT_NLIST_N_UN_N_NAME */
826 #undef NLIST_NAME_UNION 829 #undef NLIST_NAME_UNION
827 830
828 /* Define to 1 if you don't have struct exception in math.h. */ 831 /* Define to 1 if you don't have struct exception in math.h. */
829 #undef NO_MATHERR 832 #undef NO_MATHERR
833
834 /* Define to 1 if `NSInteger' is defined. */
835 #undef NS_HAVE_NSINTEGER
830 836
831 /* Define to 1 if you are using NS windowing under MacOS X. */ 837 /* Define to 1 if you are using NS windowing under MacOS X. */
832 #undef NS_IMPL_COCOA 838 #undef NS_IMPL_COCOA
833 839
834 /* Define to 1 if you are using NS windowing under GNUstep. */ 840 /* Define to 1 if you are using NS windowing under GNUstep. */
919 925
920 /* Define to the type of the 6th arg of XRegisterIMInstantiateCallback, either 926 /* Define to the type of the 6th arg of XRegisterIMInstantiateCallback, either
921 XPointer or XPointer*. */ 927 XPointer or XPointer*. */
922 #undef XRegisterIMInstantiateCallback_arg6 928 #undef XRegisterIMInstantiateCallback_arg6
923 929
924 /* Define to 1 if on AIX 3. 930 /* Number of bits in a file offset, on hosts where this is settable. */
925 System headers sometimes define this. 931 #undef _FILE_OFFSET_BITS
926 We just want to avoid a redefinition error message. */ 932
933 /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
934 #undef _LARGEFILE_SOURCE
935
936 /* Define for large files, on AIX-style hosts. */
937 #undef _LARGE_FILES
938
939 /* Define to 1 if on MINIX. */
940 #undef _MINIX
941
942 /* Define to 2 if the system does not provide POSIX.1 features except with
943 this defined. */
944 #undef _POSIX_1_SOURCE
945
946 /* Define to 1 if you need to in order for `stat' and other things to work. */
947 #undef _POSIX_SOURCE
948
949 /* Enable extensions on AIX 3, Interix. */
927 #ifndef _ALL_SOURCE 950 #ifndef _ALL_SOURCE
928 # undef _ALL_SOURCE 951 # undef _ALL_SOURCE
929 #endif 952 #endif
930
931 /* Number of bits in a file offset, on hosts where this is settable. */
932 #undef _FILE_OFFSET_BITS
933
934 /* Enable GNU extensions on systems that have them. */ 953 /* Enable GNU extensions on systems that have them. */
935 #ifndef _GNU_SOURCE 954 #ifndef _GNU_SOURCE
936 # undef _GNU_SOURCE 955 # undef _GNU_SOURCE
937 #endif 956 #endif
938 957 /* Enable threading extensions on Solaris. */
939 /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ 958 #ifndef _POSIX_PTHREAD_SEMANTICS
940 #undef _LARGEFILE_SOURCE 959 # undef _POSIX_PTHREAD_SEMANTICS
941 960 #endif
942 /* Define for large files, on AIX-style hosts. */ 961 /* Enable extensions on HP NonStop. */
943 #undef _LARGE_FILES 962 #ifndef _TANDEM_SOURCE
944 963 # undef _TANDEM_SOURCE
945 /* Define to 1 if on MINIX. */ 964 #endif
946 #undef _MINIX 965 /* Enable general extensions on Solaris. */
947
948 /* Define to 2 if the system does not provide POSIX.1 features except with
949 this defined. */
950 #undef _POSIX_1_SOURCE
951
952 /* Define to 1 if you need to in order for `stat' and other things to work. */
953 #undef _POSIX_SOURCE
954
955 /* Enable extensions on Solaris. */
956 #ifndef __EXTENSIONS__ 966 #ifndef __EXTENSIONS__
957 # undef __EXTENSIONS__ 967 # undef __EXTENSIONS__
958 #endif 968 #endif
959 #ifndef _POSIX_PTHREAD_SEMANTICS 969
960 # undef _POSIX_PTHREAD_SEMANTICS
961 #endif
962 #ifndef _TANDEM_SOURCE
963 # undef _TANDEM_SOURCE
964 #endif
965 970
966 /* Define to rpl_ if the getopt replacement functions and variables should be 971 /* Define to rpl_ if the getopt replacement functions and variables should be
967 used. */ 972 used. */
968 #undef __GETOPT_PREFIX 973 #undef __GETOPT_PREFIX
969 974