mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 01:23:03 +00:00
43 lines
1.2 KiB
Diff
43 lines
1.2 KiB
Diff
|
diff -rc qt-x11-free-3.3.6-orig/config.tests/x11/xrandr.test qt-x11-free-3.3.6/config.tests/x11/xrandr.test
|
||
|
*** qt-x11-free-3.3.6-orig/config.tests/x11/xrandr.test 2006-09-14 14:00:08.000000000 +0200
|
||
|
--- qt-x11-free-3.3.6/config.tests/x11/xrandr.test 2006-09-14 14:10:39.000000000 +0200
|
||
|
***************
|
||
|
*** 52,69 ****
|
||
|
INCDIRS="$IN_INCDIRS $XDIRS /FOO/include /include"
|
||
|
F=
|
||
|
for INCDIR in $INCDIRS; do
|
||
|
! if [ -f $INCDIR/$INC -a -f $INCDIR/$INC2 ]; then
|
||
|
F=yes
|
||
|
! XRANDR_H=$INCDIR/$INC
|
||
|
RANDR_H=$INCDIR/$INC2
|
||
|
! [ "$VERBOSE" = "yes" ] && echo " Found $INC in $INCDIR"
|
||
|
break
|
||
|
fi
|
||
|
done
|
||
|
if [ -z "$F" ]
|
||
|
then
|
||
|
XRANDR=no
|
||
|
! [ "$VERBOSE" = "yes" ] && echo " Could not find $INC anywhere in $INCDIRS"
|
||
|
fi
|
||
|
fi
|
||
|
|
||
|
--- 52,69 ----
|
||
|
INCDIRS="$IN_INCDIRS $XDIRS /FOO/include /include"
|
||
|
F=
|
||
|
for INCDIR in $INCDIRS; do
|
||
|
! if [ -f $INCDIR/$INC2 ]; then
|
||
|
F=yes
|
||
|
! # XRANDR_H=$INCDIR/$INC
|
||
|
RANDR_H=$INCDIR/$INC2
|
||
|
! [ "$VERBOSE" = "yes" ] && echo " Found $INC2 in $INCDIR"
|
||
|
break
|
||
|
fi
|
||
|
done
|
||
|
if [ -z "$F" ]
|
||
|
then
|
||
|
XRANDR=no
|
||
|
! [ "$VERBOSE" = "yes" ] && echo " Could not find $INC2 anywhere in $INCDIRS"
|
||
|
fi
|
||
|
fi
|
||
|
|