2008-07-14 06:01:06 +02:00
|
|
|
$NetBSD: patch-ac,v 1.3 2008/07/14 04:01:07 tnn Exp $
|
2007-08-15 20:16:35 +02:00
|
|
|
|
2008-07-14 06:01:06 +02:00
|
|
|
--- configure.orig 2008-06-27 01:39:04.000000000 +0200
|
2007-08-15 20:16:35 +02:00
|
|
|
+++ configure
|
2008-07-14 06:01:06 +02:00
|
|
|
@@ -21440,23 +21440,15 @@ _ACEOF
|
2007-08-15 20:16:35 +02:00
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
-if test "$DRI" != no; then
|
|
|
|
+if test "x$DRI" = xauto; then
|
|
|
|
as_ac_File=`echo "ac_cv_file_${sdkdir}/dri.h" | $as_tr_sh`
|
2008-07-14 06:01:06 +02:00
|
|
|
{ echo "$as_me:$LINENO: checking for ${sdkdir}/dri.h" >&5
|
|
|
|
echo $ECHO_N "checking for ${sdkdir}/dri.h... $ECHO_C" >&6; }
|
|
|
|
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
|
2007-08-15 20:16:35 +02:00
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
else
|
|
|
|
- test "$cross_compiling" = yes &&
|
|
|
|
- { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
|
|
|
|
-echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
|
|
|
|
- { (exit 1); exit 1; }; }
|
2008-07-14 06:01:06 +02:00
|
|
|
-if test -r "${sdkdir}/dri.h"; then
|
2007-08-15 20:16:35 +02:00
|
|
|
- eval "$as_ac_File=yes"
|
|
|
|
-else
|
|
|
|
eval "$as_ac_File=no"
|
|
|
|
fi
|
|
|
|
-fi
|
2008-07-14 06:01:06 +02:00
|
|
|
ac_res=`eval echo '${'$as_ac_File'}'`
|
|
|
|
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
|
|
echo "${ECHO_T}$ac_res" >&6; }
|