fixed xinerama option
This commit is contained in:
parent
5e9e55e7ff
commit
4614f99b88
1 changed files with 11 additions and 11 deletions
20
configure.in
20
configure.in
|
@ -423,20 +423,20 @@ AC_ARG_ENABLE(
|
||||||
dnl Check for Xinerama support
|
dnl Check for Xinerama support
|
||||||
|
|
||||||
AC_MSG_CHECKING([whether to build support for the Xinerama extension])
|
AC_MSG_CHECKING([whether to build support for the Xinerama extension])
|
||||||
AC_ARG_ENABLE(xinerama,
|
AC_ARG_ENABLE(
|
||||||
[ --enable-xinerama enable xinerama extension [default=no]], , [enable_xinerama=no])
|
xinerama,
|
||||||
|
[ --enable-xinerama enable xinerama extension [default=no]],
|
||||||
if test "x$enable_xinerama" = "xyes"; then
|
if test x$enableval = "xyes"; then
|
||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
AC_CHECK_LIB(Xinerama, XineramaQueryScreens,
|
AC_CHECK_LIB(Xinerama, XineramaQueryScreens,
|
||||||
XINERAMA="-DXINERAMA"; Xinerama_libs="-lXinerama", )
|
AC_DEFINE(XINERAMA, 1, "Xinerama support")
|
||||||
else
|
LIBS="$LIBS -lXinerama")
|
||||||
|
else
|
||||||
AC_MSG_RESULT([no])
|
AC_MSG_RESULT([no])
|
||||||
fi
|
fi,
|
||||||
AC_SUBST(XINERAMA)
|
|
||||||
CXXFLAGS="$CXXFLAGS $XINERAMA"
|
|
||||||
|
|
||||||
LIBS="$LIBS $Xinerama_libs"
|
AC_MSG_RESULT([no])
|
||||||
|
)
|
||||||
|
|
||||||
dnl Determine the return type of signal handlers
|
dnl Determine the return type of signal handlers
|
||||||
AC_TYPE_SIGNAL
|
AC_TYPE_SIGNAL
|
||||||
|
|
Loading…
Reference in a new issue