pkgsrc/x11/xf86-video-sis/patches/patch-aa
joerg b857793577 Change configure to check for DRI headers only, if it is not explicitly
enabled or disabled. Request DRI explicitly. Disable the SGML check.
2007-08-15 18:03:32 +00:00

43 lines
1.4 KiB
Text

$NetBSD: patch-aa,v 1.2 2007/08/15 18:03:32 joerg Exp $
--- configure.orig 2006-11-30 18:58:33.000000000 +0100
+++ configure
@@ -2283,10 +2283,10 @@ AMSHOWCMDSAT=''
AMDEPSHOWCMDSAT=''
AMPRETTYECHO=true
AMCMDECHO=echo
-if test "x$enable_pretty_cmds" == xyes;
+if test "x$enable_pretty_cmds" = xyes;
then
AMSHOWCMDSAT='@'
- test x$enable_dependency_tracking == xno && AMDEPSHOWCMDSAT='@'
+ test x$enable_dependency_tracking = xno && AMDEPSHOWCMDSAT='@'
AMPRETTYECHO=echo
AMCMDECHO=true
LT_QUIET='--quiet'
@@ -21618,7 +21618,7 @@ _ACEOF
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`
{ echo "$as_me:$LINENO: checking for ${sdkdir}/dri.h" >&5
echo $ECHO_N "checking for ${sdkdir}/dri.h... $ECHO_C" >&6; }
@@ -21956,16 +21956,8 @@ echo $ECHO_N "checking for $XORG_SGML_PA
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
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; }; }
-if test -r "$XORG_SGML_PATH/X11/defs.ent"; then
- eval "$as_ac_File=yes"
-else
eval "$as_ac_File=no"
fi
-fi
ac_res=`eval echo '${'$as_ac_File'}'`
{ echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }