$OpenBSD: patch-common_m4_gettext_m4,v 1.1 2007/01/08 17:39:53 espie Exp $
--- common/m4/gettext.m4.orig	Mon Jan  8 13:57:39 2007
+++ common/m4/gettext.m4	Mon Jan  8 14:00:04 2007
@@ -315,8 +315,12 @@ return (int) gettext ("")]ifelse([$2], [
   ])
 
   dnl For backward compatibility. Some Makefiles may be using this.
-  INTLLIBS="$LIBINTL"
+  INTLLIBS="$LTLIBINTL"
   AC_SUBST(INTLLIBS)
+
+  dnl Let's cheat
+  LIBICONV="$LTLIBICONV"
+  LIBINTL="$LTLIBINTL"
 
   dnl Make all documented variables known to autoconf.
   AC_SUBST(LIBINTL)
