mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Do not search for X in mingw builds
The manual qt configuration did not work previously for mingw builds, since it serached for X libraries, which are not used by LyX on mingw.
This commit is contained in:
parent
78e17b1579
commit
6343a017f7
@ -253,8 +253,13 @@ AC_DEFUN([QT_DO_PKG_CONFIG],
|
||||
AC_DEFUN([QT_DO_MANUAL_CONFIG],
|
||||
[
|
||||
dnl Check for X libraries
|
||||
AC_PATH_X
|
||||
AC_PATH_XTRA
|
||||
case ${host} in
|
||||
*mingw*) ;;
|
||||
*) \
|
||||
AC_PATH_X \
|
||||
AC_PATH_XTRA \
|
||||
;;
|
||||
esac
|
||||
case $have_x in
|
||||
yes) LIBS="$X_PRE_LIBS $LIBS $X_LIBS -lX11 $X_EXTRA_LIBS"
|
||||
CPPFLAGS="$CPPFLAGS $X_CFLAGS";;
|
||||
|
Loading…
Reference in New Issue
Block a user