summaryrefslogtreecommitdiff
path: root/graphics/pixie/files/patch-configure.in
blob: ed2b9d16c61d37bf4a2a03d96e8032714f65a16d (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
--- configure.in.orig	Fri Jul 16 00:52:52 2004
+++ configure.in	Sun Aug 29 22:09:21 2004
@@ -21,9 +21,9 @@
 dnl ---------------------------------------------------
 dnl Check standard libraries
 dnl
-AC_CHECK_LIB(dl, dlopen,,[AC_MSG_ERROR([dl library is not found])],)
+dnl AC_CHECK_LIB(dl, dlopen,,[AC_MSG_ERROR([dl library is not found])],)
 AC_CHECK_LIB(m, sin,,[AC_MSG_ERROR([math library is not found])],)
-AC_CHECK_LIB(pthread, pthread_create,,[AC_MSG_ERROR([pthread library is not found])],)
+dnl AC_CHECK_LIB(pthread, pthread_create,,[AC_MSG_ERROR([pthread library is not found])],)
 
 dnl ---------------------------------------------------
 dnl Find X
@@ -50,9 +50,13 @@
 dnl Find FLTK
 dnl
 
+saved_LIBS="${LIBS}"
+
+LIBS="$LIBS -lGL"
+
 have_fltk=false
 AC_CHECK_LIB(fltk,main,LIBFLTK="-lfltk")
-AC_CHECK_LIB(fltk_gl,main,[LIBFLTKGL="-lfltk_gl -lGL" have_fltk=true])
+AC_CHECK_LIB(fltk_gl,main,[LIBFLTKGL="-lfltk_gl -lGL -lstdc++" have_fltk=true])
 AM_CONDITIONAL(BUILD_SHOW, test x$have_fltk = xtrue)
 
 dnl ---------------------------------------------------
@@ -61,7 +65,7 @@
 
 saved_LIBS="$LIBS"
 
-AC_CHECK_HEADER(tiffio.h,,AC_MSG_ERROR([tiffio.h not found]))
+dnl AC_CHECK_HEADER(tiffio.h,,AC_MSG_ERROR([tiffio.h not found]))
 AC_CHECK_LIB(tiff,TIFFOpen,,[AC_MSG_ERROR([libtiff not found])],)
 
 TIFF_LIBS="$LIBS"