aboutsummaryrefslogtreecommitdiff
blob: 0c0650fdb5a889f8e0e1f29c43ed42394da79287 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff -U2 --recursive udav-0.3.2.orig/configure.ac udav-0.3.2/configure.ac
--- udav-0.3.2.orig/configure.ac	2008-04-03 01:24:14.000000000 +0700
+++ udav-0.3.2/configure.ac	2008-05-03 12:49:16.000000000 +0700
@@ -18,6 +18,6 @@
 	)
 
-AC_CHECK_HEADERS([FL/Fl_Export.H],,[echo "Please install FLTK library"; exit])
-AC_CHECK_LIB([fltk], [main], [FLTK_LIBS="-lfltk -lfltk_images" AC_SUBST(FLTK_LIBS)], 
+AC_CHECK_HEADERS([@FLTK_H@FL/Fl_Export.H],,[echo "Please install FLTK library"; exit])
+AC_CHECK_LIB([fltk], [main], [FLTK_LIBS="@FLTK_LIBS@" AC_SUBST(FLTK_LIBS)], 
 	[echo "Please install FLTK library (libfltk)"; exit],\
 	)
diff -U2 --recursive udav-0.3.2.orig/src/Makefile.am udav-0.3.2/src/Makefile.am
--- udav-0.3.2.orig/src/Makefile.am	2008-04-03 01:24:14.000000000 +0700
+++ udav-0.3.2/src/Makefile.am	2008-05-03 12:51:08.000000000 +0700
@@ -8,3 +8,3 @@
 
 udav_LDADD = $(MGL_LIBS) $(FLTK_LIBS)
-udav_CPPFLAGS = -O2 -DDOC_DIR=\"$(docdir)/\"
+udav_CPPFLAGS = $(CPPFLASGS) @FLTK_FLAGS@ -DDOC_DIR=\"$(docdir)/\"