1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-21 06:55:39 +00:00

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.
This commit is contained in:
Andrew Choi 2002-05-01 04:30:59 +00:00
parent 39e2c94978
commit e3ba1015a2
4 changed files with 28 additions and 14 deletions

View File

@ -1,3 +1,9 @@
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.
2002-04-28 Colin Walters <walters@verbum.org>
* configure.in: Delete configure check for access to the game

3
configure vendored
View File

@ -9166,7 +9166,8 @@ fi
fi
if test "${HAVE_CARBON}" = "yes"; then
cat >>confdefs.h <<\_ACEOF
cat >>confdefs.h <<\_ACEOF
#define HAVE_CARBON 1
_ACEOF

View File

@ -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'

View File

@ -89,6 +89,9 @@ Boston, MA 02111-1307, USA. */
/* Define to 1 if you have the `bcopy' function. */
#undef HAVE_BCOPY
/* Define to 1 if you are using the Carbon API on Mac OS X. */
#undef HAVE_CARBON
/* Define to 1 if you have the `cbrt' function. */
#undef HAVE_CBRT
@ -717,18 +720,6 @@ Boston, MA 02111-1307, USA. */
/* Define as `fork' if `vfork' does not work. */
#undef vfork
/* Define if we should use the Carbon API on Mac OS X. */
#undef HAVE_CARBON
#ifdef HAVE_CARBON
#define HAVE_WINDOW_SYSTEM
#define HAVE_MOUSE
#define HAVE_MENUS
#endif
/* Define if we have the session management (SM) library. */
#undef HAVE_X_SM
/* Define to empty if the keyword `volatile' does not work. Warning: valid
code using `volatile' can become incorrect without. Disable with care. */
#undef volatile
@ -741,6 +732,14 @@ Boston, MA 02111-1307, USA. */
#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'