summaryrefslogtreecommitdiff
path: root/editors/emacs/patches/patch-bg
diff options
context:
space:
mode:
Diffstat (limited to 'editors/emacs/patches/patch-bg')
-rw-r--r--editors/emacs/patches/patch-bg31
1 files changed, 23 insertions, 8 deletions
diff --git a/editors/emacs/patches/patch-bg b/editors/emacs/patches/patch-bg
index ec22b1ff8e5..3426d791316 100644
--- a/editors/emacs/patches/patch-bg
+++ b/editors/emacs/patches/patch-bg
@@ -1,7 +1,7 @@
-$NetBSD: patch-bg,v 1.4 2001/10/06 22:04:22 hubertf Exp $
+$NetBSD: patch-bg,v 1.5 2002/10/26 19:47:07 bouyer Exp $
--- configure.in.orig Mon Jun 5 17:42:49 2000
-+++ configure.in
++++ configure.in Tue Oct 22 15:59:01 2002
@@ -66,6 +66,8 @@
esac
with_x_toolkit=$val
@@ -26,14 +26,29 @@ $NetBSD: patch-bg,v 1.4 2001/10/06 22:04:22 hubertf Exp $
esac
;;
-@@ -1745,6 +1751,10 @@
+@@ -1594,6 +1600,14 @@
+ LIBS="-lXt $LIBS"
+ fi
+ AC_CHECK_LIB(Xmu, XmuConvertStandardSelection)
++ if test x$HAVE_X11XTR6 = xyes; then
++dnl Check if Xaw needs Xpm
++ LIBS="$LIBS -lXpm"
++ AC_CHECK_LIB(Xaw, XawPixmapsInitialize, [ LIBXPM="-lXpm" ], [ LIBXPM=""])
++ else
++ LIBXPM=""
++ fi
++ AC_SUBST(LIBXPM)
+ LIBS="$OLDLIBS"
+ fi
- if test -f /usr/lpp/X11/bin/smt.exp; then
+@@ -1747,6 +1761,10 @@
AC_DEFINE(HAVE_AIX_SMT_EXP)
-+fi
-+
-+if test "x$with_ipv6" = xyes; then
-+ AC_CHECK_FUNCS(getaddrinfo)
fi
++if test "x$with_ipv6" = xyes; then
++ AC_CHECK_FUNCS(getaddrinfo)
++fi
++
# Set up the CFLAGS for real compilation, so we can substitute it.
+ CFLAGS="$REAL_CFLAGS"
+