diff -Nur evas-0.9.9.037~/configure.in evas-0.9.9.037/configure.in --- evas-0.9.9.037~/configure.in 2007-01-14 20:09:57.000000000 -0800 +++ evas-0.9.9.037/configure.in 2007-01-14 20:11:09.000000000 -0800 @@ -161,9 +161,7 @@ AC_CHECK_HEADER(X11/X.h, [ AC_DEFINE(BUILD_ENGINE_SOFTWARE_X11, 1, [Software X11 Rendering Backend]) - x_dir=${x_dir:-/usr/X11R6} - x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}} - x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext" + x_libs="-lX11 -lXext" ], [ AC_MSG_RESULT(disabling software X11 engine) @@ -407,10 +405,10 @@ AC_DEFINE(BUILD_ENGINE_GL_X11, 1, [OpenGL X11 Rendering Backend]) AM_CONDITIONAL(BUILD_ENGINE_GL_COMMON, true) AC_DEFINE(BUILD_ENGINE_GL_COMMON, 1, [Generic OpenGL Rendering Support]) - x_dir=${x_dir:-/usr/X11R6}; + x_dir=${x_dir:-}; x_cflags=${x_cflags:--I$x_dir/include} x_libs="${x_libs:--L$x_dir/lib -lX11 -lXext}" - gl_cflags="-I/usr/include" + gl_cflags="" gl_libs="-lGL -lGLU -lpthread" gl_dir="" ], [ @@ -471,7 +469,7 @@ AC_DEFINE(BUILD_ENGINE_CAIRO_X11, 1, [Cairo X11 Rendering Backend]) AM_CONDITIONAL(BUILD_ENGINE_CAIRO_COMMON, true) AC_DEFINE(BUILD_ENGINE_CAIRO_COMMON, 1, [Generic Cairo Rendering Support]) - x_dir="/usr/X11R6"; + x_dir=""; x_cflags="-I"$x_dir"/include" x_libs="-L"$x_dir"/lib -lX11 -lXext" ], [