summaryrefslogtreecommitdiff
path: root/multimedia/xine-lib/patches/disabled-patch-aa
blob: d6b2aa820f120a370b6d443f66d0b64c534f14a6 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
$NetBSD: disabled-patch-aa,v 1.1.1.1 2004/01/26 13:03:38 jmmv Exp $

--- configure.ac.orig	2003-08-02 11:45:26.000000000 +0000
+++ configure.ac	2003-10-05 09:10:13.000000000 +0000
@@ -301,6 +301,9 @@
 AC_CHECK_LIB(nsl, gethostbyname, NET_LIBS="-lnsl $NET_LIBS",)
 AC_SUBST(NET_LIBS)
 
+WINE_LIBS=""
+AC_CHECK_LIB(i386, i386_set_ldt, WINE_LIBS="-li386 $WINE_LIBS",)
+AC_SUBST(WINE_LIBS)
 
 dnl ---------------------------------------------
 dnl zlib
@@ -330,7 +333,7 @@
 AC_CHECK_LIB(GL, glBegin,
 	[AC_CHECK_HEADER(GL/gl.h,
              [ ac_have_opengl="yes"
-               OPENGL_LIBS="-lGL" 
+               OPENGL_LIBS="-lGL -lm" 
 	       AC_CHECK_LIB(glut, glutInit, dnl check for glut
 	                    [ ac_have_glut="yes"
                               GLUT_LIBS="-lglut"
@@ -348,7 +351,7 @@
              ],
 	[])],
    [],
-   [$X_LIBS $X_PRE_LIBS -lGL $X_EXTRA_LIBS])
+   [$X_LIBS $X_PRE_LIBS -lGL -lm $X_EXTRA_LIBS])
 AC_SUBST(OPENGL_LIBS)
 AC_SUBST(GLUT_LIBS)
 AC_SUBST(GLU_LIBS)
@@ -456,8 +459,7 @@
 dnl ---------------------------------------------
 
 AC_CHECK_LIB(Xinerama, XineramaQueryExtension, 
-             [X_LIBS="$X_LIBS -lXinerama"
-              AC_DEFINE(HAVE_XINERAMA,1,[Define this if you have libXinerama installed])
+             [AC_DEFINE(HAVE_XINERAMA,1,[Define this if you have libXinerama installed])
               ac_have_xinerama="yes"],,
              [$X_LIBS $X_PRE_LIBS -lXext $X_EXTRA_LIBS])
 AM_CONDITIONAL(HAVE_XINERAMA, test x$ac_have_xinerama = "xyes")
@@ -761,9 +763,10 @@
 dnl ---------------------------------------------
 dnl gnome-vfs support
 dnl ---------------------------------------------
-PKG_CHECK_MODULES(GNOME_VFS, gnome-vfs-2.0,
-                no_gnome_vfs=no,
-		no_gnome_vfs=yes)
+dnl PKG_CHECK_MODULES(GNOME_VFS, gnome-vfs-2.0,
+dnl                 no_gnome_vfs=no,
+dnl 		no_gnome_vfs=yes)
+no_gnome_vfs=yes
 AC_SUBST(GNOME_VFS_CFLAGS)
 AC_SUBST(GNOME_VFS_LIBS)
 if test x"$no_gnome_vfs" != "xyes"; then