blob: ddfe953eef3793da44bc8ab815ae62fa998c2bdf (
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
|
$NetBSD: patch-aa,v 1.1 2004/12/28 15:00:50 wiz Exp $
--- configure.orig 2004-12-28 15:55:24.000000000 +0100
+++ configure
@@ -3308,7 +3308,7 @@ if eval "test \"`echo '$''{'ac_cv_lib_$a
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-lMesaGL $LIBS"
+LIBS="-lMesaGL -lXext $LIBS"
cat > conftest.$ac_ext <<EOF
#line 3314 "configure"
#include "confdefs.h"
@@ -3336,7 +3336,7 @@ LIBS="$ac_save_LIBS"
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
- OPENGL_LIBS="-lMesaGL"
+ OPENGL_LIBS="-lMesaGL -lXext"
else
echo "$ac_t""no" 1>&6
{ echo "configure: error: *** OpenGL libs not found - please install first ***" 1>&2; exit 1; }
@@ -3422,7 +3422,7 @@ if eval "test \"`echo '$''{'ac_cv_lib_$a
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-lMesaGLU $LIBS"
+LIBS="-lMesaGLU -lXext $LIBS"
cat > conftest.$ac_ext <<EOF
#line 3428 "configure"
#include "confdefs.h"
@@ -3453,7 +3453,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_l
cat >> confdefs.h <<\EOF
#define HAVE_GLU 1
EOF
- OPENGL_LIBS="$OPENGL_LIBS -l MesaGLU"
+ OPENGL_LIBS="$OPENGL_LIBS -lMesaGLU -lXext"
else
echo "$ac_t""no" 1>&6
fi
|