$NetBSD: patch-aa,v 1.5 2000/08/23 12:39:37 jlam Exp $ --- configure.in.orig Mon Aug 21 04:15:51 2000 +++ configure.in @@ -80,6 +80,11 @@ AC_DEFINE (ENABLE_NLS) fi +dnl NetBSD: set DATADIRNAME to "share" +DATADIRNAME="share" +INTLDEPS= +INTLLIBS="-lintl" + LIBS="$LIBS `gtk-config --libs`" CFLAGS="$CFLAGS `gtk-config --cflags`" @@ -110,6 +115,7 @@ ) +if false; then dnl Check if system supports the graphical libraries AC_CHECK_LIB(ungif, main, GLIBS="-lungif", AC_CHECK_LIB(gif,main, GLIBS="-lgif")) @@ -124,6 +130,13 @@ AC_DEFINE(HAVE_LIBGDK_IMLIB,1) ] ,AC_DEFINE(HAVE_LIBGDK_IMLIB,0) ,$GLIBS) +else + GDK_IMLIB_CFLAGS="`imlib-config --cflags-gdk`" + GDK_IMLIB_LIBS="`imlib-config --libs-gdk`" + GDK_IMLIB_LIBS="$GDK_IMLIB_LIBS `imlib-config --libs`" + CFLAGS="$CFLAGS $GDK_IMLIB_CFLAGS" + LIBS="$LIBS $GDK_IMLIB_LIBS" +fi localedir='${prefix}/share/locale' AC_SUBST(localedir)