summaryrefslogtreecommitdiff
path: root/finance/gnucash-devel/files/patch-configure
blob: e8a6c574bf3ad86b642dcfd55a815664a0b82a24 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
--- configure.orig	Wed Aug 21 23:07:06 2002
+++ configure	Mon Nov 11 21:54:28 2002
@@ -5523,6 +5523,7 @@
 
 # This can be used to rebuild libtool when needed
 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
 
 # Always use our own libtool.
 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
@@ -10138,7 +10139,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"
@@ -10146,7 +10147,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:10153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@@ -10614,7 +10615,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
 
 
@@ -11134,7 +11135,7 @@
 
 
 if test "$prefer_db1" = "yes"; then
-	for ac_hdr in db_185.h db1/db.h
+	for ac_hdr in db_185.h db.h db1/db.h
 do
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
@@ -11174,7 +11175,7 @@
 fi
 done
 
-	if test "$ac_cv_header_db_185_h$ac_cv_header_db1_db_h" = nono; then
+	if test "$ac_cv_header_db_185_h$ac_cv_header_db_h" = nono; then
 	  { echo "configure: error: Berkeley db library required for GnuCash" 1>&2; exit 1; }
 	fi
 	cat >> confdefs.h <<\EOF
@@ -11329,14 +11330,14 @@
 
 # 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
-echo "configure:11334: checking for gtk_html_new in -lgtkhtml" >&5
+echo $ac_n "checking for gtk_html_new in -lgtkhtml-1.1""... $ac_c" 1>&6
+echo "configure:11334: checking for gtk_html_new in -lgtkhtml-1.1" >&5
 ac_lib_var=`echo gtkhtml'_'gtk_html_new | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   ac_save_LIBS="$LIBS"
-LIBS="-lgtkhtml $GTKHTML_LIBS $LIBS"
+LIBS="-lgtkhtml-1.1 $GTKHTML_LIBS $LIBS"
 cat > conftest.$ac_ext <<EOF
 #line 11342 "configure"
 #include "confdefs.h"