+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
fi
if test "${HAVE_CARBON}" = "yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_CARBON 1
_ACEOF
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
#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'
/* 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
/* 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
#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'