Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e


Modified Files:
        configure.in 


Log Message:
Fooling around a bit with RandR.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/configure.in,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -3 -r1.78 -r1.79
--- configure.in        9 Mar 2004 18:44:49 -0000       1.78
+++ configure.in        9 Mar 2004 20:32:13 -0000       1.79
@@ -69,9 +69,11 @@
 AM_GNU_GETTEXT
 AM_GNU_GETTEXT_VERSION(0.12.1)
 
-AC_ARG_ENABLE(fsstd, [  --enable-fsstd          install files following FSSTD 
[default=no]], ,enable_fsstd=no)
+AC_ARG_ENABLE(fsstd,
+  [  --enable-fsstd          install files following FSSTD [default=no]], 
,enable_fsstd=no)
 
-AC_ARG_ENABLE(sound, [  --enable-sound          compile with sound support 
[default=yes]], ,enable_sound=yes)
+AC_ARG_ENABLE(sound,
+  [  --enable-sound          compile with sound support [default=yes]], 
,enable_sound=yes)
 
 AC_ARG_ENABLE(hints-ewmh,
   [  --enable-hints-ewmh     compile with Extended Window Manager Hints support 
[default=yes]],, enable_hints_ewmh=yes)
@@ -163,24 +165,32 @@
 AC_CHECK_LIB(Xtst, XTestQueryExtension, XTST_LIBS=-lXtst, , $X_LIBS)
 AC_SUBST(XTST_LIBS)
 
-AC_CHECK_LIB(Xext, XkbQueryExtension, AC_DEFINE(WITH_TARTY_WARP, 1, [Tarty Warp]), , 
$X_LIBS)
-AC_CHECK_LIB(Xinerama, XineramaQueryExtension, AC_DEFINE(HAS_XINERAMA, 1, [Xinerama 
support])
-               XINERAMA_LIBS=-lXinerama
-               , ,$X_LIBS)
-
-AC_ARG_ENABLE(zoom, [  --enable-zoom           compile with zoom support 
[default=yes]], ,enable_zoom=yes)
+AC_CHECK_LIB(Xext, XkbQueryExtension,
+             AC_DEFINE(WITH_TARTY_WARP, 1, [Tarty Warp]), , $X_LIBS)
+AC_CHECK_LIB(Xinerama, XineramaQueryExtension,
+             AC_DEFINE(HAS_XINERAMA, 1, [Xinerama support]) XINERAMA_LIBS=-lXinerama, 
,$X_LIBS)
+AC_SUBST(XINERAMA_LIBS)
 
+AC_ARG_ENABLE(zoom,
+  [  --enable-zoom           compile with zoom support [default=yes]], 
,enable_zoom=yes)
 if test "x$enable_zoom" = "xyes"; then
 AC_CHECK_LIB(Xxf86vm, XF86VidModeQueryExtension,
              AC_DEFINE(WITH_ZOOM, 1, [Zoom Support])
-             XVM_LIBS=-lXxf86vm
-             , , $X_LIBS)
+             XVM_LIBS=-lXxf86vm, , $X_LIBS)
 else
 echo "zoom has been turned off by request at compiletime"
 fi
-
 AC_SUBST(XVM_LIBS)
-AC_SUBST(XINERAMA_LIBS)
+
+AC_ARG_ENABLE(randr,
+  [  --enable-randr          compile with RandR support [default=no]], 
,enable_randr=no)
+if test "x$enable_randr" = "xyes"; then
+AC_CHECK_LIB(Xrandr, XRRQueryExtension,
+             AC_DEFINE(HAS_XRANDR, 1, [RandR support]) XRANDR_LIBS=-lXrandr, ,$X_LIBS)
+AC_CHECK_HEADERS(X11/extensions/Xrandr.h)
+LIBS="$XRANDR_LIBS $LIBS"
+fi
+
 AC_SUBST(XKB)
 
 AC_CHECK_LIB(Fridge,mass_quantities_of_bass_ale)




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to