File butt-fix.patch of Package butt
14
1
Index: butt-0.1.15/configure.ac
2
===================================================================
3
--- butt-0.1.15.orig/configure.ac
4
+++ butt-0.1.15/configure.ac
5
6
if test "$FLTKCONFIG" = "fltk-config"; then
7
AC_CHECK_LIB([fltk], [main],
8
[
9
- LIBS="$LIBS `fltk-config --ldflags --use-images`"
10
+ LIBS="$LIBS `fltk-config --ldflags --use-images` -lX11"
11
CXXFLAGS="$CXXFLAGS `fltk-config --cxxflags`"
12
],
13
[AC_MSG_ERROR([**** Could not find libfltk ****])]
14