Mercurial > emacs
comparison configure.in @ 45053:6ff64f2aa959
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.
author | Andrew Choi <akochoi@shaw.ca> |
---|---|
date | Wed, 01 May 2002 04:30:59 +0000 |
parents | 2f87e3be106c |
children | c061b7b5de47 |
comparison
equal
deleted
inserted
replaced
45052:8357077d84d7 | 45053:6ff64f2aa959 |
---|---|
1992 if test "${with_carbon}" != "no"; then | 1992 if test "${with_carbon}" != "no"; then |
1993 AC_CHECK_HEADER(Carbon/Carbon.h, HAVE_CARBON=yes) | 1993 AC_CHECK_HEADER(Carbon/Carbon.h, HAVE_CARBON=yes) |
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 |
2001 HAVE_X_SM=no | 2001 HAVE_X_SM=no |
2002 if test "${HAVE_X11}" = "yes"; then | 2002 if test "${HAVE_X11}" = "yes"; then |
2408 #define HAVE_WINDOW_SYSTEM | 2408 #define HAVE_WINDOW_SYSTEM |
2409 #define MULTI_KBOARD | 2409 #define MULTI_KBOARD |
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' |
2416 points to the password file entry for this user. | 2424 points to the password file entry for this user. |
2417 | 2425 |