Mercurial > emacs
comparison src/config.in @ 96675:d45acf0c8d23
merging Emacs.app (NeXTstep port)
author | Adrian Robert <Adrian.B.Robert@gmail.com> |
---|---|
date | Tue, 15 Jul 2008 18:15:18 +0000 |
parents | ac3d7f9c33d5 |
children | b9cd22789f50 |
comparison
equal
deleted
inserted
replaced
96674:ff312a846b25 | 96675:d45acf0c8d23 |
---|---|
28 | 28 |
29 | 29 |
30 /* Define to 1 if the mktime function is broken. */ | 30 /* Define to 1 if the mktime function is broken. */ |
31 #undef BROKEN_MKTIME | 31 #undef BROKEN_MKTIME |
32 | 32 |
33 /* Define to 1 if you are trying experimental enhanced Ctrl-g support using NS | |
34 windowing under MacOS X. */ | |
35 #undef COCOA_EXPERIMENTAL_CTRL_G | |
36 | |
33 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP | 37 /* 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. | 38 systems. This function is required for `alloca.c' support on those systems. |
35 */ | 39 */ |
36 #undef CRAY_STACKSEG_END | 40 #undef CRAY_STACKSEG_END |
37 | 41 |
470 #undef HAVE_NET_IF_H | 474 #undef HAVE_NET_IF_H |
471 | 475 |
472 /* Define to 1 if you have the <nlist.h> header file. */ | 476 /* Define to 1 if you have the <nlist.h> header file. */ |
473 #undef HAVE_NLIST_H | 477 #undef HAVE_NLIST_H |
474 | 478 |
479 /* Define to 1 if you are using the NeXTstep API, either GNUstep or Cocoa on | |
480 Mac OS X. */ | |
481 #undef HAVE_NS | |
482 | |
475 /* Define to 1 if personality LINUX32 can be set. */ | 483 /* Define to 1 if personality LINUX32 can be set. */ |
476 #undef HAVE_PERSONALITY_LINUX32 | 484 #undef HAVE_PERSONALITY_LINUX32 |
477 | 485 |
478 /* Define to 1 if you have the png library (-lpng). */ | 486 /* Define to 1 if you have the png library (-lpng). */ |
479 #undef HAVE_PNG | 487 #undef HAVE_PNG |
795 on `HAVE_STRUCT_NLIST_N_UN_N_NAME */ | 803 on `HAVE_STRUCT_NLIST_N_UN_N_NAME */ |
796 #undef NLIST_NAME_UNION | 804 #undef NLIST_NAME_UNION |
797 | 805 |
798 /* Define to 1 if you don't have struct exception in math.h. */ | 806 /* Define to 1 if you don't have struct exception in math.h. */ |
799 #undef NO_MATHERR | 807 #undef NO_MATHERR |
808 | |
809 /* Define to 1 if you are using NS windowing under MacOS X. */ | |
810 #undef NS_IMPL_COCOA | |
811 | |
812 /* Define to 1 if you are using NS windowing under GNUstep. */ | |
813 #undef NS_IMPL_GNUSTEP | |
800 | 814 |
801 /* Define to the address where bug reports for this package should be sent. */ | 815 /* Define to the address where bug reports for this package should be sent. */ |
802 #undef PACKAGE_BUGREPORT | 816 #undef PACKAGE_BUGREPORT |
803 | 817 |
804 /* Define to the full name of this package. */ | 818 /* Define to the full name of this package. */ |
963 /* Define to empty if the keyword `volatile' does not work. Warning: valid | 977 /* Define to empty if the keyword `volatile' does not work. Warning: valid |
964 code using `volatile' can become incorrect without. Disable with care. */ | 978 code using `volatile' can become incorrect without. Disable with care. */ |
965 #undef volatile | 979 #undef volatile |
966 | 980 |
967 | 981 |
968 /* If we're using any sort of window system, define some consequences. */ | 982 /* If we're using X11/Carbon/GNUstep, define some consequences. */ |
969 #ifdef HAVE_X_WINDOWS | 983 #if defined HAVE_X_WINDOWS || defined(HAVE_CARBON) || defined(HAVE_NS) |
970 #define HAVE_WINDOW_SYSTEM | 984 #define HAVE_WINDOW_SYSTEM |
971 #define MULTI_KBOARD | 985 #define MULTI_KBOARD |
972 #define HAVE_MOUSE | 986 #define HAVE_MOUSE |
973 #endif | 987 #endif |
974 | 988 |
976 on unconditionally. */ | 990 on unconditionally. */ |
977 #ifndef MULTI_KBOARD | 991 #ifndef MULTI_KBOARD |
978 #define MULTI_KBOARD | 992 #define MULTI_KBOARD |
979 #endif | 993 #endif |
980 | 994 |
981 /* If we're using the Carbon API on Mac OS X, define a few more | 995 /* Sadly for now, GNUstep dump does not work. */ |
982 variables as well. */ | 996 #ifdef NS_IMPL_GNUSTEP |
983 #ifdef HAVE_CARBON | 997 #define CANNOT_DUMP |
984 #define HAVE_WINDOW_SYSTEM | 998 #endif |
985 #define HAVE_MOUSE | 999 |
986 #endif | 1000 /* PENDING: These are used for the Carbon port only. */ |
1001 #undef MAC_OS | |
1002 #undef MAC_OSX | |
987 | 1003 |
988 /* Define USER_FULL_NAME to return a string | 1004 /* Define USER_FULL_NAME to return a string |
989 that is the user's full name. | 1005 that is the user's full name. |
990 It can assume that the variable `pw' | 1006 It can assume that the variable `pw' |
991 points to the password file entry for this user. | 1007 points to the password file entry for this user. |
1034 #endif | 1050 #endif |
1035 | 1051 |
1036 /* Include the os and machine dependent files. */ | 1052 /* Include the os and machine dependent files. */ |
1037 #include config_opsysfile | 1053 #include config_opsysfile |
1038 #include config_machfile | 1054 #include config_machfile |
1055 | |
1056 /* Set up some defines, C and LD flags for NeXTstep interface on GNUstep. | |
1057 (There is probably a better place to do this, but right now the Cocoa | |
1058 side does this in s/darwin.h, following the Carbon port, and we cannot | |
1059 parallel this exactly since GNUstep is multi-OS. */ | |
1060 #ifdef HAVE_NS | |
1061 # ifdef C_SWITCH_SYSTEM | |
1062 # undef C_SWITCH_SYSTEM | |
1063 # endif | |
1064 # ifdef NS_IMPL_GNUSTEP | |
1065 /* See also .m.o rule in Makefile.in */ | |
1066 # define C_SWITCH_X_SYSTEM -MMD -MP -D_REENTRANT -fPIC -fno-strict-aliasing | |
1067 # define LD_SWITCH_SITE -lgnustep-gui -lgnustep-base -lobjc $(CONFIG_SYSTEM_LIBS) -lpthread | |
1068 # define GNU_OBJC_CFLAGS -fgnu-runtime -Wno-import -fconstant-string-class=NSConstantString -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGSWARN -DGSDIAGNOSE | |
1069 # define OTHER_FILES ns-app | |
1070 # else /* COCOA */ | |
1071 # define C_SWITCH_X_SYSTEM | |
1072 # define GNU_OBJC_CFLAGS | |
1073 # endif /* COCOA */ | |
1074 #endif /* HAVE_NS */ | |
1075 | |
1076 | |
1039 | 1077 |
1040 /* If no remapping takes place, static variables cannot be dumped as | 1078 /* If no remapping takes place, static variables cannot be dumped as |
1041 pure, so don't worry about the `static' keyword. */ | 1079 pure, so don't worry about the `static' keyword. */ |
1042 #ifdef NO_REMAP | 1080 #ifdef NO_REMAP |
1043 #undef static | 1081 #undef static |