openbsd-ports/print/fontforge/patches/patch-configure_in
steven 8a35478042 import fontforge-20060413
An outline font editor that lets you create your own PostScript, TrueType,
OpenType, CID-keyed, Multi-Master, CFF, SVG and bitmap (BDF) fonts, or
edit existing ones. It also lets you convert one format to another.
FontForge has support for many Macintosh font formats.

joint work with Matthias Kilian <kili at outback.escape.de>

ok bernd@
2006-06-18 13:33:25 +00:00

30 lines
1.5 KiB
Plaintext

$OpenBSD: patch-configure_in,v 1.1.1.1 2006/06/18 13:33:25 steven Exp $
--- configure.in.orig Sun Apr 9 18:30:21 2006
+++ configure.in Wed Jun 14 21:52:36 2006
@@ -163,22 +163,15 @@ AC_CHECK_FILE(/usr/include/libxml2/libxm
AC_CHECK_FILE(/usr/local/include/libxml2/libxml,[CFLAGS="$CFLAGS -I/usr/local/include -I/usr/local/include/libxml2/"],
AC_DEFINE(_NO_LIBXML))])
-dnl Some old versions of lib(un)gif don't work for us, they've got the
+dnl Some old versions of libungif don't work for us, they've got the
dnl Function argument in the wrong place. So check the header files.
-dnl check for both libgif and libungif, I think they use the same args.
-AC_CHECK_LIB(gif, DGifOpenFileName, [
+AC_CHECK_LIB(ungif, DGifOpenFileName, [
echo -n checking for ExtensionBlock.Function in gif_lib.h...
AC_TRY_COMPILE([#include <gif_lib.h>], [ ExtensionBlock foo; foo.Function=3; ], echo " " yes , [echo " " no
ac_cv_lib_ungif_DGifOpenFileName=no
AC_DEFINE(_NO_LIBUNGIF)])
-] , [
- AC_CHECK_LIB(ungif, DGifOpenFileName, [
- echo -n checking for ExtensionBlock.Function in gif_lib.h...
- AC_TRY_COMPILE([#include <gif_lib.h>], [ ExtensionBlock foo; foo.Function=3; ], echo " " yes , [echo " " no
- ac_cv_lib_ungif_DGifOpenFileName=no
- AC_DEFINE(_NO_LIBUNGIF)])
- ] , AC_DEFINE(_NO_LIBUNGIF))])
+] , AC_DEFINE(_NO_LIBUNGIF))
dnl some people have installed libraries without include files.
dnl bloody useless thing to do, but check for both (don't need to check for