236f4ca076
ok jasper@
30 lines
1.5 KiB
Plaintext
30 lines
1.5 KiB
Plaintext
$OpenBSD: patch-configure_in,v 1.3 2007/09/23 18:45:45 kili Exp $
|
|
--- configure.in.orig Wed Aug 22 22:27:47 2007
|
|
+++ configure.in Fri Sep 7 17:25:22 2007
|
|
@@ -220,22 +220,15 @@ AC_CHECK_FILE(/usr/include/libxml2/libxml,[CFLAGS="$CF
|
|
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
|