Commit a7c47af8 authored by Jan Djärv's avatar Jan Djärv
Browse files

* configure.in (HAVE_CANCELMENUTRACKING): New test.

parent 98c3db67
......@@ -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
......
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