2003-03-19 23:08:42 +00:00
|
|
|
# Macro added for some Cygwin-specific support -*- sh -*-
|
|
|
|
# @author@: Kayvan Sylvan
|
|
|
|
|
2004-05-25 14:42:10 +00:00
|
|
|
AC_DEFUN([CHECK_WITH_CYGWIN],
|
2003-03-19 23:08:42 +00:00
|
|
|
[
|
|
|
|
case $host_os in
|
2006-04-15 16:19:15 +00:00
|
|
|
cygwin* )
|
|
|
|
for frontend in $FRONTENDS ; do
|
|
|
|
case "$frontend" in
|
|
|
|
qt* )
|
|
|
|
if test "$lyx_use_packaging" = posix; then
|
|
|
|
AC_MSG_CHECKING([window system for Qt])
|
|
|
|
if test "x$with_x" = xno; then
|
|
|
|
CPPFLAGS="${CPPFLAGS} -DQ_CYGWIN_WIN"
|
|
|
|
AC_MSG_RESULT([Windows])
|
|
|
|
else
|
|
|
|
AC_MSG_RESULT([X11])
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
done
|
2003-03-19 23:08:42 +00:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
])
|