blob: 23497e21715a421ced29de82f63401aca5b2ac85 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
--- git/configure.sav 2012-04-06 12:08:07.891529546 -0600
+++ xen-unstable.hg/../git/configure 2012-04-06 12:09:39.872923477 -0600
@@ -289,7 +289,7 @@
kqemu="yes"
fi
fi
- if test -f /usr/include/sys/soundcard.h ; then
+ if test -f ${CROSS_SYS_ROOT}/usr/include/sys/soundcard.h ; then
audio_drv_list="oss"
fi
audio_possible_drivers="oss sdl"
@@ -872,7 +872,7 @@
#endif
int main( void ) { return (int) glGetString(GL_EXTENSIONS); }
EOF
-if $cc $ARCH_CFLAGS -o $TMPE `$sdl_config --cflags --libs 2> /dev/null` -I/usr/include/GL $TMPC -lXext -lGL 2> /dev/null
+if $cc $ARCH_CFLAGS -o $TMPE `$sdl_config --cflags --libs 2> /dev/null` -I${CROSS_SYS_ROOT}/usr/include/GL $TMPC -lXext -lGL 2> /dev/null
then
opengl="yes"
else
@@ -1450,7 +1450,7 @@
then
echo "#define CONFIG_OPENGL 1" >> $config_h
echo "CONFIG_OPENGL=yes" >> $config_mak
- echo "SDL_CFLAGS+=-I/usr/include/GL" >> $config_mak
+ echo "SDL_CFLAGS+=-I${CROSS_SYS_ROOT}/usr/include/GL" >> $config_mak
echo "SDL_LIBS+=-lXext" >> $config_mak
echo "SDL_LIBS+=-lGL" >> $config_mak
fi
|