--- configure.orig 2006-12-14 09:47:52.000000000 -0500 +++ configure 2006-12-14 09:48:12.000000000 -0500 @@ -7011,7 +7011,7 @@ return exitvar; } EOF - cc_check && _xshape=yes + cc_check "-lXext" && _xshape=yes fi if test "$_xshape" = yes ; then _def_xshape='#define HAVE_XSHAPE 1'