]> git.pld-linux.org Git - packages/nut.git/blame - nut-lookup_for_libgd_ac_fix.patch
- updated to 0.45.2
[packages/nut.git] / nut-lookup_for_libgd_ac_fix.patch
CommitLineData
0fb118d7
SZ
1diff -Naur nut-0.45.2/configure.in nut-0.45.2-p/configure.in
2--- nut-0.45.2/configure.in Sun Sep 9 23:52:14 2001
3+++ nut-0.45.2-p/configure.in Thu Nov 22 12:38:00 2001
4@@ -157,22 +157,7 @@
9a5f7070 5 [ -lXpm ],
6 )
7
8-AC_CHECK_LIB(gd, gdImagePng,
9-[
10- GFXLIBS="-lgd -lpng -lz"
11-],
12-[
13- echo "Trying again - using -L/usr/local/lib -I/usr/local/include..."
14- unset ac_cv_lib_gd_gdImagePng
15- CPPFLAGS="$CPPFLAGS -L/usr/local/lib -I/usr/local/include"
16- AC_CHECK_LIB(gd, gdImagePng,
17- [
18- GFXLIBS="-lgd -lpng -lz -L/usr/local/lib -I/usr/local/include"
0fb118d7 19- ],,
9a5f7070 20- [-lm -lpng -lz])
21-],
22-[-lm -lpng -lz],
23-)
9a5f7070 24+AC_CHECK_LIB(gd, gdImagePng, GFXLIBS="-lgd")
25
0fb118d7
SZ
26 if test "$GFXLIBS" = "" ; then
27 echo "Trying again - using $LIBTTF"
This page took 0.027189 seconds and 4 git commands to generate.