From e406cdcf602c6580c7d129796a9a3a15818251f5 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Wed, 12 May 2004 03:31:24 +0000 Subject: add some stuff for statfs. 2004-05-12 Not Zed * configure.in: add some stuff for statfs. * devel-docs/misc/errors.txt: updated for xml format and i18n changes. svn path=/trunk/; revision=25863 --- ChangeLog | 7 +++++++ configure.in | 9 +++++++++ devel-docs/misc/errors.txt | 29 +++++++++++++++-------------- 3 files changed, 31 insertions(+), 14 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9a889aa799..cf4c2dc55d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2004-05-12 Not Zed + + * configure.in: add some stuff for statfs. + + * devel-docs/misc/errors.txt: updated for xml format and i18n + changes. + 2004-04-30 Rodney Dawes * configure.in: Require intltool 0.30 for the error xml files diff --git a/configure.in b/configure.in index 9a16913550..1592313039 100644 --- a/configure.in +++ b/configure.in @@ -261,6 +261,15 @@ if test "x$ac_cv_gethostbyaddr_r_seven_args" = "xyes" ; then AC_DEFINE(GETHOSTBYADDR_R_SEVEN_ARGS, 1, [Solaris-style gethostbyaddr_r]) fi +dnl ************************************************** +dnl statfs location/type +dnl ************************************************** + +AC_CHECK_HEADERS(sys/vfs.h) +AC_CHECK_HEADERS(sys/param.h) +AC_CHECK_HEADERS(sys/mount.h) +AC_CHECK_FUNCS(statfs) + dnl ************************************************** dnl * Gnome Icon Theme dnl ************************************************** diff --git a/devel-docs/misc/errors.txt b/devel-docs/misc/errors.txt index 37a64c1314..8a2206158e 100644 --- a/devel-docs/misc/errors.txt +++ b/devel-docs/misc/errors.txt @@ -104,23 +104,26 @@ defined, version-specific directory. They should be installed in "${privdatadir}/errors". The following Makefile.am entries should be setup for each error -template file. +template file. This is required to generate the i18n template files +used for internationalisation. List the files, and build rules: -error_in_files = error-file-name.xml.in -error_DATA = $(error_in_files:.xml.in=.xml) +error_DATA = error-file-name.xml +error_i18n = $(error_DATA:.xml=.xml.h) errordir = $(privdatadir)/errors -@INTLTOOL_XML_RULE@ +%.xml.h: %.xml + $(top_builddir)/e-util/e-error-tool $^ Add to EXTRA_DIST: EXTRA_DIST = \ - $(error_in_files) + $(error_DATA) \ + $(error_i18n) And add to BUILT_SOURCES: -BUILT_SOURCES = $(error_DATA) +BUILT_SOURCES = $(error_i18n) Error template format --------------------- @@ -130,10 +133,10 @@ The XML file is in the following format. - <_title>Window Title? - <_primary>Primary error text.? - <_secondary>Secondary error text.? -