
$FreeBSD: ports/finance/gnucash/files/patch-configure,v 1.9 2003/02/18 03:45:50 marcus Exp $

--- configure.orig	Mon Feb 10 00:26:24 2003
+++ configure	Mon Feb 17 17:54:58 2003
@@ -3535,10 +3535,10 @@
 #include "confdefs.h"
 #include <libintl.h>
 extern int _nl_msg_cat_cntr;
-extern int *_nl_domain_bindings;
+extern int *libintl_nl_domain_bindings;
 int main() {
 bindtextdomain ("", "");
-return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
+return (int) gettext ("") + _nl_msg_cat_cntr + *libintl_nl_domain_bindings
 ; return 0; }
 EOF
 if { (eval echo configure:3545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@@ -3924,7 +3924,7 @@
 #include "confdefs.h"
 #include <libintl.h>
 extern int _nl_msg_cat_cntr;
-extern int *_nl_domain_bindings;
+extern int *libintl_nl_domain_bindings;
 extern
 #ifdef __cplusplus
 "C"
@@ -3932,7 +3932,7 @@
 const char *_nl_expand_alias ();
 int main() {
 bindtextdomain ("", "");
-return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings + *_nl_expand_alias (0)
+return (int) gettext ("") + _nl_msg_cat_cntr + *libintl_nl_domain_bindings + *_nl_expand_alias (0)
 ; return 0; }
 EOF
 if { (eval echo configure:3939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@@ -3952,7 +3952,7 @@
 #include "confdefs.h"
 #include <libintl.h>
 extern int _nl_msg_cat_cntr;
-extern int *_nl_domain_bindings;
+extern int *libintl_nl_domain_bindings;
 extern
 #ifdef __cplusplus
 "C"
@@ -3960,7 +3960,7 @@
 const char *_nl_expand_alias ();
 int main() {
 bindtextdomain ("", "");
-return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings + *_nl_expand_alias (0)
+return (int) gettext ("") + _nl_msg_cat_cntr + *libintl_nl_domain_bindings + *_nl_expand_alias (0)
 ; return 0; }
 EOF
 if { (eval echo configure:3967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@@ -11328,7 +11328,7 @@
   withval="$with_help_prefix"
   GNC_HELPDIR="$with_help_prefix/gnome/help/gnucash"
 else
-  GNC_HELPDIR="\${datadir}/gnome/help/gnucash"
+  GNC_HELPDIR="\${datadir}/help/gnucash"
 fi
 
 
@@ -13115,7 +13115,7 @@
 echo "configure:13116: checking for gtkhtml < 1.1" >&5
     GTKHTML_LIBS=`$GNOME_CONFIG --libs gtkhtml`
     GTKHTML_CFLAGS=`$GNOME_CONFIG --cflags gtkhtml`
-    if test "x$GTKHTML_LIBS" != x; then
+    if test "x$GTKHTML_LIBS" = "xNO"; then
 	# check for gtkhtml and enable it via HAVE_LIBGTKHTML
 	# if found
 	echo $ac_n "checking for gtk_html_new in -lgtkhtml""... $ac_c" 1>&6
