Commit e35669e5 authored by Rémi Duraffort's avatar Rémi Duraffort

skins2: fix linking in OpenBSD (the X11 os factory must be use for linux and OpenBSD at least).

parent 60259082
...@@ -412,6 +412,7 @@ AM_CONDITIONAL(HAVE_LINUX, [test "${SYS}" = "linux"]) ...@@ -412,6 +412,7 @@ AM_CONDITIONAL(HAVE_LINUX, [test "${SYS}" = "linux"])
AM_CONDITIONAL(HAVE_WIN32, test "${SYS}" = "mingw32") AM_CONDITIONAL(HAVE_WIN32, test "${SYS}" = "mingw32")
AM_CONDITIONAL(HAVE_WINCE, test "${SYS}" = "mingwce") AM_CONDITIONAL(HAVE_WINCE, test "${SYS}" = "mingwce")
AM_CONDITIONAL(USE_PEFLAGS, [test "${enable_peflags}" = "yes"]) AM_CONDITIONAL(USE_PEFLAGS, [test "${enable_peflags}" = "yes"])
AM_CONDITIONAL(USE_X11_FOR_SKINS2, [case "${SYS}" in linux*|openbsd*) true;; *) false;; esac])
dnl dnl
dnl Sadly autoconf doesn't think about testing foo.exe when ask to test dnl Sadly autoconf doesn't think about testing foo.exe when ask to test
......
...@@ -211,7 +211,7 @@ SOURCES_skins2 += \ ...@@ -211,7 +211,7 @@ SOURCES_skins2 += \
$(NULL) $(NULL)
endif endif
if HAVE_LINUX if USE_X11_FOR_SKINS2
SOURCES_skins2 += \ SOURCES_skins2 += \
x11/x11_display.cpp \ x11/x11_display.cpp \
x11/x11_display.hpp \ x11/x11_display.hpp \
......
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