diff options
author | Andrew Choi <akochoi@shaw.ca> | 2002-05-01 04:30:59 +0000 |
---|---|---|
committer | Andrew Choi <akochoi@shaw.ca> | 2002-05-01 04:30:59 +0000 |
commit | e3ba1015a28b20635514da8ce1f2c10c1f9ab87a (patch) | |
tree | 2c6e33a6a61e63c61305fb817ab8b7331df027a4 /configure.in | |
parent | 39e2c94978b4964e662e26326c3791d33224c15f (diff) | |
download | emacs-e3ba1015a28b20635514da8ce1f2c10c1f9ab87a.tar.gz |
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.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 10 |
1 files changed, 9 insertions, 1 deletions
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 fi if test "${HAVE_CARBON}" = "yes"; then - AC_DEFINE(HAVE_CARBON) + AC_DEFINE(HAVE_CARBON, 1, [Define to 1 if you are using the Carbon API on Mac OS X.]) fi ### Use session management (-lSM -lICE) if available @@ -2410,6 +2410,14 @@ AH_BOTTOM([ #define HAVE_MOUSE #endif +/* If we're using the Carbon API on Mac OS X, define a few more + variables as well. */ +#ifdef HAVE_CARBON +#define HAVE_WINDOW_SYSTEM +#define HAVE_MOUSE +#define HAVE_MENUS +#endif + /* Define USER_FULL_NAME to return a string that is the user's full name. It can assume that the variable `pw' |