I'm trying to straighten out the build process so that we're not as
suceptable to autoconf's expansion issues, and one of the things I
need to do is to change the *i18*.in files or the configure process,
or both.

So far, the one thing I don't understand is why these headers are
using @INCLUDE_LOCALE_H@ like this:

  #ifdef HAVE_GETTEXT
  @INCLUDE_LOCALE_H@
  #include <libintl.h>
  #endif

when it looks like libintl.h automatically includes locale.h.  Given
that, it seems like

  #ifdef HAVE_GETTEXT
  #include <libintl.h>
  #endif

should work just as well, or, from looking at the aclocal.m4 file and
their presumption that they can't presume the user will use
HAVE_LOCALE_H, we could use the slightly more verbose:

  #ifdef HAVE_GETTEXT
    #ifdef HAVE_LOCALE_H
      #include <locale.h>
    #endif
    #include <libintl.h>
  #endif

or might locale.h be in some strange location?

Thanks

-- 
Rob Browning <[EMAIL PROTECTED]> PGP=E80E0D04F521A094 532B97F5D64E3930

--
Gnucash Developer's List 
To unsubscribe send empty email to: [EMAIL PROTECTED]


Reply via email to