$OpenBSD: patch-m4_gettext_m4,v 1.2 2007/03/17 21:35:31 espie Exp $
--- m4/gettext.m4.orig	Thu Nov 30 23:29:00 2006
+++ m4/gettext.m4	Sat Mar 17 12:34:15 2007
@@ -315,8 +315,12 @@ return (int) gettext ("")]ifelse([$2], [need-ngettext]
   ])
 
   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)
