Add configure option to not even try using xinerama, to make metacity

2004-02-14  Rob Adams  <readams@readams.net>

	* configure.in: Add configure option to not even try using
	xinerama, to make metacity buildable on systems with no shared
	library version of the xinerama libraries.  Patch for #134203 from
	Julio M. Merino Vidal.
This commit is contained in:
Rob Adams 2004-02-15 05:17:34 +00:00 committed by Rob Adams
parent 57f9a51a58
commit d53afd3ae1
2 changed files with 50 additions and 38 deletions

View File

@ -1,3 +1,10 @@
2004-02-14 Rob Adams <readams@readams.net>
* configure.in: Add configure option to not even try using
xinerama, to make metacity buildable on systems with no shared
library version of the xinerama libraries. Patch for #134203 from
Julio M. Merino Vidal.
2004-02-01 Rob Adams <readams@readams.net> 2004-02-01 Rob Adams <readams@readams.net>
* COMPLIANCE: Bring up to date with current draft EWHM. * COMPLIANCE: Bring up to date with current draft EWHM.

View File

@ -213,8 +213,12 @@ ALL_X_LIBS="$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
metacity_save_cppflags="$CPPFLAGS" metacity_save_cppflags="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $X_CFLAGS" CPPFLAGS="$CPPFLAGS $X_CFLAGS"
AC_ARG_ENABLE(xinerama,[ --disable-xinerama disable metacity's use of the Xinerama extension],
try_xinerama=no,try_xinerama=yes)
use_solaris_xinerama=no use_solaris_xinerama=no
use_xfree_xinerama=no use_xfree_xinerama=no
if test "${try_xinerama}" != no; then
case "$host" in case "$host" in
*-*-solaris*) *-*-solaris*)
# Check for solaris # Check for solaris
@ -253,6 +257,7 @@ case "$host" in
AC_MSG_RESULT($use_xfree_xinerama); AC_MSG_RESULT($use_xfree_xinerama);
;; ;;
esac esac
fi
CPPFLAGS="$metacity_save_cppflags" CPPFLAGS="$metacity_save_cppflags"