diff options
| author | Chet Ramey <chet.ramey@case.edu> | 2011-12-03 13:39:51 -0500 |
|---|---|---|
| committer | Chet Ramey <chet.ramey@case.edu> | 2011-12-03 13:39:51 -0500 |
| commit | f75912ae367f08a162d64cc7a542121c507a767d (patch) | |
| tree | facb5e27fde1a6cbab49e4be9fe3a29cfa167818 /lib/intl | |
| parent | ec2199bd304f0d91c17efe2aac899781a4b603f3 (diff) | |
| download | bash-f75912ae367f08a162d64cc7a542121c507a767d.tar.gz | |
commit bash-20041118 snapshot
Diffstat (limited to 'lib/intl')
| -rw-r--r-- | lib/intl/Makefile.in | 4 | ||||
| -rw-r--r-- | lib/intl/dcigettext.c | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lib/intl/Makefile.in b/lib/intl/Makefile.in index 70bafc9c..8520ed2e 100644 --- a/lib/intl/Makefile.in +++ b/lib/intl/Makefile.in @@ -51,12 +51,14 @@ RANLIB = @RANLIB@ YACC = @INTLBISON@ -y -d YFLAGS = --name-prefix=__gettext +LOCAL_DEFS = @LOCAL_DEFS@ + DEFS = -DLOCALEDIR=\"$(localedir)\" -DLOCALE_ALIAS_PATH=\"$(aliaspath)\" \ -DLIBDIR=\"$(prefix)/libdata\" -DIN_LIBINTL \ -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"$(libdir)\" -DNO_XMALLOC \ -Dset_relocation_prefix=libintl_set_relocation_prefix \ -Drelocate=libintl_relocate \ --DDEPENDS_ON_LIBICONV=1 @DEFS@ +-DDEPENDS_ON_LIBICONV=1 @DEFS@ @LOCAL_DEFS@ CPPFLAGS = @CPPFLAGS@ CFLAGS = @CFLAGS@ LDFLAGS = @LDFLAGS@ diff --git a/lib/intl/dcigettext.c b/lib/intl/dcigettext.c index d4ea843f..c7e696a8 100644 --- a/lib/intl/dcigettext.c +++ b/lib/intl/dcigettext.c @@ -134,6 +134,10 @@ extern int errno; /* @@ end of prolog @@ */ +#if defined (SHELL) && !defined (HAVE_GETCWD) +# define HAVE_GETCWD +#endif + #ifdef _LIBC /* Rename the non ANSI C functions. This is required by the standard because some ANSI C functions will require linking with this object |
