mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 14:29:21 +00:00
d6aad3f95c
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13686 a592a061-630c-0410-9148-cb99ea01b6c8
26 lines
512 B
Bash
26 lines
512 B
Bash
# Macro added for some Cygwin-specific support -*- sh -*-
|
|
# @author@: Kayvan Sylvan
|
|
|
|
AC_DEFUN([CHECK_WITH_CYGWIN],
|
|
[
|
|
case $host_os in
|
|
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
|
|
;;
|
|
esac
|
|
])
|