summaryrefslogtreecommitdiff
path: root/neon-config.in
diff options
context:
space:
mode:
authorjoe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845>2005-08-19 09:24:20 +0000
committerjoe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845>2005-08-19 09:24:20 +0000
commitef3565de9526bf9b23097b820a21d9893c87861a (patch)
tree81add0fe7d10d31265a5e397735d6b2ee9ce3dc7 /neon-config.in
parent03916caccf27c16dfa3f70788f7c796f885c953d (diff)
downloadneon-ef3565de9526bf9b23097b820a21d9893c87861a.tar.gz
Implement support for internationalization of error message:
* src/Makefile.in (NEON_BASEOBJS): Build ne_i18n.o. * src/ne_i18n.c: Include config.h, ne_i18n.h. (ne_i18n_init): Renamed from neon_i18n_init. * src/ne_i18n.h: Remove library-private definition of '_' and 'N_' macros. * src/ne_internal.h: New header; add definitions of _ and N_. * src/*.c: Update all sources to include ne_internal.h instead of ne_i18n.h. * po/: New directory. Add message catalog template and translated message catalogs extracted from sitecopy. * macros/neon-test.m4: Check for setlocale and locale.h. * test/common/tests.c: Include locale.h, ne_i18n.h. (main): Call setlocale and ne_i18n_init. * test/run.sh: By default disable i18n to allow checks for English error messages to succeed. * .release.sh: Compile the gmo files here. * macros/neon.m4 (NEON_I18N): Add macro. * configure.in: Use NEON_I18N. Define ALL_LINGUAS. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@680 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
Diffstat (limited to 'neon-config.in')
-rw-r--r--neon-config.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/neon-config.in b/neon-config.in
index c13f080..83ace56 100644
--- a/neon-config.in
+++ b/neon-config.in
@@ -7,6 +7,9 @@ exec_prefix=@exec_prefix@
includedir=@includedir@
libdir=@libdir@
+features="dav [@NE_FLAG_DAV@], ssl [@NE_FLAG_SSL@], zlib [@NE_FLAG_ZLIB@], \
+ipv6 [@NE_FLAG_IPV6@], lfs [@NE_FLAG_LFS@], i18n [@NE_FLAG_I18N@]"
+
usage()
{
cat <<EOF
@@ -21,7 +24,7 @@ Known values for OPTION are:
--help display this help and exit
--version output version information
--support FEATURE exit with success if feature is supported
- Known features: dav [@NE_FLAG_DAV@], ssl [@NE_FLAG_SSL@], zlib [@NE_FLAG_ZLIB@], ipv6 [@NE_FLAG_IPV6@], lfs [@NE_FLAG_LFS@]
+ Known features: $features
EOF
@@ -91,6 +94,7 @@ while test $# -gt 0; do
ipv6|IPV6) support @NE_FLAG_IPV6@ ;;
dav|DAV) support @NE_FLAG_DAV@ ;;
lfs|LFS) support @NE_FLAG_LFS@ ;;
+ i18n|I18N) support @NE_FLAG_I18N@ ;;
*) support no ;;
esac
;;