diff --git a/configure b/configure index 73a592d8da..dc56f84cd5 100755 --- a/configure +++ b/configure @@ -3910,7 +3910,7 @@ int main(void) { (void) DPMSQueryExtension(0, 0, 0); } EOF - cc_check && _xdpms4=yes + cc_check -lXext && _xdpms4=yes fi if test "$_xdpms4" = yes ; then _def_xdpms='#define HAVE_XDPMS 1' @@ -7163,7 +7163,7 @@ int main(void) { return exitvar; } EOF - cc_check && _xshape=yes + cc_check "-lXext" && _xshape=yes fi if test "$_xshape" = yes ; then _def_xshape='#define HAVE_XSHAPE 1'