openbsd-ports/net/mrtg/patches/patch-configure_in
brad bcb2afa4e7 upgrade to mrtg 2.10.13
--
Based on a diff from Robert Nagy <thuglife at bsd dot hu>
with additional changes from me.
2004-01-25 19:27:26 +00:00

16 lines
539 B
Plaintext

$OpenBSD: patch-configure_in,v 1.1 2004/01/25 19:27:26 brad Exp $
--- configure.in.orig 2004-01-19 18:56:24.000000000 -0500
+++ configure.in 2004-01-19 19:01:47.000000000 -0500
@@ -113,6 +113,11 @@ AC_CHECK_LIB(gd,gdImagePng,[
GLIBS="-lgd -lpng -lz"
],:,[-lgd -lpng -lz ${MATHLIBS}])
+AC_CHECK_LIB(gd,gdImageStringTTF,[
+ GDFORM_EXT=png
+ GLIBS="-lgd -lpng -lz -ljpeg -lttf"
+ ],:,[-lgd -lpng -lz -ljpeg -lttf ${MATHLIBS}])
+
AC_CHECK_LIB(gd,gdImagePng_jpg,[
GDFORM_EXT=png
GLIBS="-lgd -lpng -lz -ljpeg"