Commit e3ba1015 authored by Andrew Choi's avatar Andrew Choi
Browse files

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.
parent 39e2c949
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> 2002-04-28 Colin Walters <walters@verbum.org>
* configure.in: Delete configure check for access to the game * configure.in: Delete configure check for access to the game
......
...@@ -9166,7 +9166,8 @@ fi ...@@ -9166,7 +9166,8 @@ fi
fi fi
if test "${HAVE_CARBON}" = "yes"; then if test "${HAVE_CARBON}" = "yes"; then
cat >>confdefs.h <<\_ACEOF
cat >>confdefs.h <<\_ACEOF
#define HAVE_CARBON 1 #define HAVE_CARBON 1
_ACEOF _ACEOF
......
...@@ -1994,7 +1994,7 @@ if test "${with_carbon}" != "no"; then ...@@ -1994,7 +1994,7 @@ if test "${with_carbon}" != "no"; then
fi fi
if test "${HAVE_CARBON}" = "yes"; then 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 fi
### Use session management (-lSM -lICE) if available ### Use session management (-lSM -lICE) if available
...@@ -2410,6 +2410,14 @@ AH_BOTTOM([ ...@@ -2410,6 +2410,14 @@ AH_BOTTOM([
#define HAVE_MOUSE #define HAVE_MOUSE
#endif #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 /* Define USER_FULL_NAME to return a string
that is the user's full name. that is the user's full name.
It can assume that the variable `pw' It can assume that the variable `pw'
......
...@@ -89,6 +89,9 @@ Boston, MA 02111-1307, USA. */ ...@@ -89,6 +89,9 @@ Boston, MA 02111-1307, USA. */
/* Define to 1 if you have the `bcopy' function. */ /* Define to 1 if you have the `bcopy' function. */
#undef HAVE_BCOPY #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. */ /* Define to 1 if you have the `cbrt' function. */
#undef HAVE_CBRT #undef HAVE_CBRT
...@@ -717,18 +720,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -717,18 +720,6 @@ Boston, MA 02111-1307, USA. */
/* Define as `fork' if `vfork' does not work. */ /* Define as `fork' if `vfork' does not work. */
#undef vfork #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 /* Define to empty if the keyword `volatile' does not work. Warning: valid
code using `volatile' can become incorrect without. Disable with care. */ code using `volatile' can become incorrect without. Disable with care. */
#undef volatile #undef volatile
...@@ -741,6 +732,14 @@ Boston, MA 02111-1307, USA. */ ...@@ -741,6 +732,14 @@ Boston, MA 02111-1307, USA. */
#define HAVE_MOUSE #define HAVE_MOUSE
#endif #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 /* Define USER_FULL_NAME to return a string
that is the user's full name. that is the user's full name.
It can assume that the variable `pw' It can assume that the variable `pw'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment