$OpenBSD: patch-m4_intltool_m4,v 1.1 2012/09/11 07:58:06 ajacoutot Exp $ Fix DATADIRNAME: see LOCALBASE/share/aclocal/{glib-gettext.m4,intltool.m4} --- m4/intltool.m4.orig Sat Jul 28 11:56:57 2012 +++ m4/intltool.m4 Tue Sep 11 09:10:39 2012 @@ -155,6 +155,8 @@ fi # Substitute ALL_LINGUAS so we can use it in po/Makefile AC_SUBST(ALL_LINGUAS) +AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host + # Set DATADIRNAME correctly if it is not set yet # (copied from glib-gettext.m4) if test -z "$DATADIRNAME"; then @@ -172,6 +174,9 @@ if test -z "$DATADIRNAME"; then dnl in this case. AC_CHECK_FUNC(bind_textdomain_codeset, [DATADIRNAME=share], [DATADIRNAME=lib]) + ;; + *-*-openbsd*) + [DATADIRNAME=share] ;; *) [DATADIRNAME=lib]