22 lines
569 B
Text
22 lines
569 B
Text
$NetBSD: patch-ab,v 1.2 2007/10/10 11:36:40 rillig Exp $
|
|
|
|
--- configure.orig 2002-10-20 18:32:19.000000000 +0000
|
|
+++ configure
|
|
@@ -3411,7 +3411,7 @@ if test "${ac_cv_lib_X11_XDestroyWindow+
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
-LIBS="-lX11 $LIBS"
|
|
+LIBS="${X11_LDFLAGS} -lX11 $LIBS"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
#line $LINENO "configure"
|
|
#include "confdefs.h"
|
|
@@ -3465,7 +3465,7 @@ if test $ac_cv_lib_X11_XDestroyWindow =
|
|
#define HAVE_LIBX11 1
|
|
_ACEOF
|
|
|
|
- LIBS="-lX11 $LIBS"
|
|
+ LIBS="${X11_LDFLAGS} -lX11 $LIBS"
|
|
|
|
fi
|
|
|