Skip to content

Commit

Permalink
Don't configure locale.h, just include it directly.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2271 57a11ea4-9604-0410-9ed3-97b8803252fd
  • Loading branch information
jdavisp3 committed May 7, 2000
1 parent f620ffd commit b3a395f
Show file tree
Hide file tree
Showing 9 changed files with 170 additions and 193 deletions.
9 changes: 9 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
2000-05-07 Dave Peticolas <peticola@cs.ucdavis.edu>

* src/guile/i18n.h.in: always include locale.h

* src/messages_i18n.h: no longer needs to be configured.

* configure.in: don't bother checking for locale.h, we have
to have it anyway.

* aclocal.m4: always include locale.h

* src/gnome/window-register.c (deleteCB): use g_strdup_printf
instead of asprintf.

Expand Down
13 changes: 7 additions & 6 deletions aclocal.m4
Original file line number Diff line number Diff line change
Expand Up @@ -321,12 +321,13 @@ AC_DEFUN(AC_CAN_USE_GNU_GETTEXT,
dnl The reference to <locale.h> in the installed <libintl.h> file
dnl must be resolved because we cannot expect the users of this
dnl to define HAVE_LOCALE_H.
if test "$ac_cv_header_locale_h" = yes; then
INCLUDE_LOCALE_H="#include <locale.h>"
else
INCLUDE_LOCALE_H="\
/* The system does not provide the header <locale.h>. Take care yourself. */"
fi
dnl if test "$ac_cv_header_locale_h" = yes; then
dnl Gnucash requires locale.h, so just hard-code it in -- Dave Peticolas
INCLUDE_LOCALE_H="#include <locale.h>"
dnl else
dnl INCLUDE_LOCALE_H="\
dnl /* The system does not provide the header <locale.h>. Take care yourself. */"
dnl fi
AC_SUBST(INCLUDE_LOCALE_H)
dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
Expand Down

0 comments on commit b3a395f

Please sign in to comment.