diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2014-08-25 19:13:37 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2014-08-25 19:20:00 +0300 |
commit | e26cb120ffe5f7303ddd8b514246ac6874e83f9f (patch) | |
tree | 64ca646b34103a5e8934b42fbbd9ca732a14e034 /configure.ac | |
parent | 713bc0ca4b4ea3114d33f06c57c117de7f9fef11 (diff) | |
download | direvent-e26cb120ffe5f7303ddd8b514246ac6874e83f9f.tar.gz direvent-e26cb120ffe5f7303ddd8b514246ac6874e83f9f.tar.bz2 |
I18N
* .gitignore: Add am
* bootstrap: Create am, unless exists.
* Makefile.am (SUBDIRS): Add po
* acinclude.m4: New file.
* configure.ac: Use gettext
* doc/direvent.texi: Update
* po/.gitignore: New file
* po/POTFILES.in: New file.
* po/Makevars: New file.
* src/Makefile.am (LDADD): Add @LIBINTL@
(noinst_HEADERS): Add gettext.h
* src/config.c: gettextize
* src/direvent.c: Likewise.
* src/environ.c: Likewise.
* src/hashtab.c: Likewise.
* src/progman.c: Likewise.
* src/watcher.c: Likewise.
* src/gettext.h: New file.
* src/direvent.h: Add missing prototypes.
* tests/re05.at: Remove superfluous quoting.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index c4060d8..57cda4b 100644 --- a/configure.ac +++ b/configure.ac @@ -28,6 +28,7 @@ AM_SILENT_RULES([yes]) # Checks for programs. AC_PROG_AWK AC_PROG_CC +DEVT_CC_PAREN_QUIRK AC_PROG_RANLIB AC_PROG_INSTALL AC_PROG_MAKE_SET @@ -65,10 +66,16 @@ AH_TOP([ # Grecs subsystem GRECS_SETUP([grecs],[tree-api git2chg no-preproc getopt tests]) +GRECS_HOST_PROJECT_INCLUDES='-I$(top_srcdir)/src' + +# Gettext. +AM_ICONV +AM_GNU_GETTEXT([external], [need-formatstring-macros]) +AM_GNU_GETTEXT_VERSION([0.18]) # Initialize the test suite. AC_CONFIG_TESTDIR(tests) -AC_CONFIG_FILES([tests/Makefile tests/atlocal]) +AC_CONFIG_FILES([tests/Makefile tests/atlocal po/Makefile.in]) AM_MISSING_PROG([AUTOM4TE], [autom4te]) AC_CONFIG_COMMANDS([status],[ |