changeset 64:045ca45f9610

Remove --displaysize, as it was not used.
author Thibaut GIRKA <thib@sitedethib.com>
date Sun, 07 Feb 2010 11:33:23 +0100
parents 4b9ffe15a87d
children 4416cfac86ae
files configure.ac
diffstat 1 files changed, 1 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac
+++ b/configure.ac
@@ -133,7 +133,6 @@ dnl >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
 dnl
 dnl Check option ... Zaurus or embed machines
 USE_X11=1
-DISPSIZE="no"
 
 AC_ARG_ENABLE(nwatowav,
     AS_HELP_STRING([--enable-nwatowav], [Build the nwatowav utility (default no)]))
@@ -151,7 +150,6 @@ AC_ARG_ENABLE(zaurus,
     AS_HELP_STRING([--enable-zaurus], [Compile for zaurus environment (default no)]))
 if test X$enable_zaurus = X"yes"; then
 	USE_X11=0
-	DISPSIZE="320x240"
 fi
 
 AC_ARG_WITH(x11,
@@ -161,19 +159,10 @@ if test X$with_x11 = X"no"; then
 else
 	AC_PATH_X
 	AC_PATH_XTRA
-	X_LIBS="$X_LIBS -lX11 -lXext -L/usr/X11R6/lib"
+	X_LIBS="$X_LIBS -lX11 -lXext"
 	LIBS="$LIBS $X_LIBS"
 fi
 
-AC_ARG_ENABLE(displaysize,
-    AS_HELP_STRING([--enable-displaysize=SIZE],
-                   [Change default display size, for example --enable-displaysize=320x240]),
-	displaysize=$enableval)
-if test X$displaysize != X; then
-	DISPSIZE=$displaysize
-fi
-
 AC_DEFINE_UNQUOTED(USE_X11,$USE_X11, [X11 library is used])
-AC_DEFINE_UNQUOTED(DISPSIZE, "$DISPSIZE", [default display size])
 
 AC_OUTPUT(Makefile system/Makefile font/Makefile window/Makefile music2/Makefile scn2k/Makefile)