diff options
author | Jan Djärv <jan.h.d@swipnet.se> | 2005-06-06 20:17:49 +0000 |
---|---|---|
committer | Jan Djärv <jan.h.d@swipnet.se> | 2005-06-06 20:17:49 +0000 |
commit | a7c47af82dde7daf58b30f30ae7d86dc99d2bc2f (patch) | |
tree | cc14613aaa984bb89e130ff8d07be28283a203d2 /configure.in | |
parent | 98c3db672eadd97778928799e80f52d3409c32ac (diff) | |
download | emacs-a7c47af82dde7daf58b30f30ae7d86dc99d2bc2f.tar.gz |
* configure.in (HAVE_CANCELMENUTRACKING): New test.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.in b/configure.in index ec772a5c2a4..884e3309e42 100644 --- a/configure.in +++ b/configure.in @@ -2345,6 +2345,15 @@ if test "${HAVE_CARBON}" = "yes"; then fi # We also have mouse menus. HAVE_MENUS=yes + + tmp_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -framework Carbon" + AC_CHECK_FUNC(CancelMenuTracking, have_cmt=yes, have_cmt=no) + if test "$have_cmt" = yes; then + AC_DEFINE(HAVE_CANCELMENUTRACKING, 1, + [Define to 1 if CancelMenuTracking is available (Mac OSX).]) + fi + CFLAGS="$tmp_CFLAGS" fi ### Use session management (-lSM -lICE) if available |