ports/finance/gnucash-devel/files/patch-configure
2002-08-18 07:40:20 +00:00

58 lines
1.7 KiB
Text

$FreeBSD$
--- configure.orig Thu Aug 15 08:18:45 2002
+++ configure Sun Aug 18 09:35:54 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