diff options
| author | Andrew Choi | 2002-05-01 04:30:59 +0000 |
|---|---|---|
| committer | Andrew Choi | 2002-05-01 04:30:59 +0000 |
| commit | e3ba1015a28b20635514da8ce1f2c10c1f9ab87a (patch) | |
| tree | 2c6e33a6a61e63c61305fb817ab8b7331df027a4 | |
| parent | 39e2c94978b4964e662e26326c3791d33224c15f (diff) | |
| download | emacs-e3ba1015a28b20635514da8ce1f2c10c1f9ab87a.tar.gz emacs-e3ba1015a28b20635514da8ce1f2c10c1f9ab87a.zip | |
2002-04-30 Andrew Choi <akochoi@shaw.ca>
* configure.in: Provide documentation string when defining
variable HAVE_CARBON. Also define HAVE_WINDOW_SYSTEM, HAVE_MOUSE,
and HAVE_MENUS in AH_BOTTOM if HAVE_CARBON is defined.
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rwxr-xr-x | configure | 3 | ||||
| -rw-r--r-- | configure.in | 10 | ||||
| -rw-r--r-- | src/config.in | 23 |
4 files changed, 28 insertions, 14 deletions
| @@ -1,3 +1,9 @@ | |||
| 1 | 2002-04-30 Andrew Choi <akochoi@shaw.ca> | ||
| 2 | |||
| 3 | * configure.in: Provide documentation string when defining | ||
| 4 | variable HAVE_CARBON. Also define HAVE_WINDOW_SYSTEM, HAVE_MOUSE, | ||
| 5 | and HAVE_MENUS in AH_BOTTOM if HAVE_CARBON is defined. | ||
| 6 | |||
| 1 | 2002-04-28 Colin Walters <walters@verbum.org> | 7 | 2002-04-28 Colin Walters <walters@verbum.org> |
| 2 | 8 | ||
| 3 | * configure.in: Delete configure check for access to the game | 9 | * configure.in: Delete configure check for access to the game |
| @@ -9166,7 +9166,8 @@ fi | |||
| 9166 | fi | 9166 | fi |
| 9167 | 9167 | ||
| 9168 | if test "${HAVE_CARBON}" = "yes"; then | 9168 | if test "${HAVE_CARBON}" = "yes"; then |
| 9169 | cat >>confdefs.h <<\_ACEOF | 9169 | |
| 9170 | cat >>confdefs.h <<\_ACEOF | ||
| 9170 | #define HAVE_CARBON 1 | 9171 | #define HAVE_CARBON 1 |
| 9171 | _ACEOF | 9172 | _ACEOF |
| 9172 | 9173 | ||
diff --git a/configure.in b/configure.in index 65d54abab24..2d48555015a 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -1994,7 +1994,7 @@ if test "${with_carbon}" != "no"; then | |||
| 1994 | fi | 1994 | fi |
| 1995 | 1995 | ||
| 1996 | if test "${HAVE_CARBON}" = "yes"; then | 1996 | if test "${HAVE_CARBON}" = "yes"; then |
| 1997 | AC_DEFINE(HAVE_CARBON) | 1997 | AC_DEFINE(HAVE_CARBON, 1, [Define to 1 if you are using the Carbon API on Mac OS X.]) |
| 1998 | fi | 1998 | fi |
| 1999 | 1999 | ||
| 2000 | ### Use session management (-lSM -lICE) if available | 2000 | ### Use session management (-lSM -lICE) if available |
| @@ -2410,6 +2410,14 @@ AH_BOTTOM([ | |||
| 2410 | #define HAVE_MOUSE | 2410 | #define HAVE_MOUSE |
| 2411 | #endif | 2411 | #endif |
| 2412 | 2412 | ||
| 2413 | /* If we're using the Carbon API on Mac OS X, define a few more | ||
| 2414 | variables as well. */ | ||
| 2415 | #ifdef HAVE_CARBON | ||
| 2416 | #define HAVE_WINDOW_SYSTEM | ||
| 2417 | #define HAVE_MOUSE | ||
| 2418 | #define HAVE_MENUS | ||
| 2419 | #endif | ||
| 2420 | |||
| 2413 | /* Define USER_FULL_NAME to return a string | 2421 | /* Define USER_FULL_NAME to return a string |
| 2414 | that is the user's full name. | 2422 | that is the user's full name. |
| 2415 | It can assume that the variable `pw' | 2423 | It can assume that the variable `pw' |
diff --git a/src/config.in b/src/config.in index e54ecc659a1..52ae7052744 100644 --- a/src/config.in +++ b/src/config.in | |||
| @@ -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 are using the Carbon API on Mac OS X. */ | ||
| 93 | #undef HAVE_CARBON | ||
| 94 | |||
| 92 | /* Define to 1 if you have the `cbrt' function. */ | 95 | /* Define to 1 if you have the `cbrt' function. */ |
| 93 | #undef HAVE_CBRT | 96 | #undef HAVE_CBRT |
| 94 | 97 | ||
| @@ -717,18 +720,6 @@ Boston, MA 02111-1307, USA. */ | |||
| 717 | /* Define as `fork' if `vfork' does not work. */ | 720 | /* Define as `fork' if `vfork' does not work. */ |
| 718 | #undef vfork | 721 | #undef vfork |
| 719 | 722 | ||
| 720 | /* Define if we should use the Carbon API on Mac OS X. */ | ||
| 721 | #undef HAVE_CARBON | ||
| 722 | |||
| 723 | #ifdef HAVE_CARBON | ||
| 724 | #define HAVE_WINDOW_SYSTEM | ||
| 725 | #define HAVE_MOUSE | ||
| 726 | #define HAVE_MENUS | ||
| 727 | #endif | ||
| 728 | |||
| 729 | /* Define if we have the session management (SM) library. */ | ||
| 730 | #undef HAVE_X_SM | ||
| 731 | |||
| 732 | /* Define to empty if the keyword `volatile' does not work. Warning: valid | 723 | /* Define to empty if the keyword `volatile' does not work. Warning: valid |
| 733 | code using `volatile' can become incorrect without. Disable with care. */ | 724 | code using `volatile' can become incorrect without. Disable with care. */ |
| 734 | #undef volatile | 725 | #undef volatile |
| @@ -741,6 +732,14 @@ Boston, MA 02111-1307, USA. */ | |||
| 741 | #define HAVE_MOUSE | 732 | #define HAVE_MOUSE |
| 742 | #endif | 733 | #endif |
| 743 | 734 | ||
| 735 | /* If we're using the Carbon API on Mac OS X, define a few more | ||
| 736 | variables as well. */ | ||
| 737 | #ifdef HAVE_CARBON | ||
| 738 | #define HAVE_WINDOW_SYSTEM | ||
| 739 | #define HAVE_MOUSE | ||
| 740 | #define HAVE_MENUS | ||
| 741 | #endif | ||
| 742 | |||
| 744 | /* Define USER_FULL_NAME to return a string | 743 | /* Define USER_FULL_NAME to return a string |
| 745 | that is the user's full name. | 744 | that is the user's full name. |
| 746 | It can assume that the variable `pw' | 745 | It can assume that the variable `pw' |