summaryrefslogtreecommitdiffstats
path: root/daemon/m4
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-09-24 10:59:01 +0200
committerJim Meyering <meyering@redhat.com>2009-09-24 11:00:44 +0200
commit6a14f1c2502f58ff7bed8cb451f95a83f5ee920a (patch)
tree975cb6488e6413dab5aece9fcf1aee5a595381ac /daemon/m4
parent0ca36888c6975ffa7e03df11bf8ded42156939c7 (diff)
downloadlibguestfs-6a14f1c2502f58ff7bed8cb451f95a83f5ee920a.tar.gz
libguestfs-6a14f1c2502f58ff7bed8cb451f95a83f5ee920a.tar.xz
libguestfs-6a14f1c2502f58ff7bed8cb451f95a83f5ee920a.zip
avoid use of all ctype macros
* cfg.mk (disable_temporarily): Don't disable sc_avoid_ctype_macros. * fish/tilde.c: Remove unnecessary inclusion of ctype.h. * bootstrap: Add gnulib's c-ctype module to the list. * daemon/m4/gnulib-cache.m4: Likewise. * daemon/ext2.c: Include "c-ctype.h", not <ctype.h>. Use c_isspace, etc, rather than isspace. * daemon/guestfsd.c: Likewise. * daemon/lvm.c: Likewise. * daemon/proto.c: Likewise. * fish/fish.c: Likewise. * fish/tilde.c: Likewise. * src/generator.ml: Likewise. * src/guestfs.c: Likewise. * examples/to-xml.c: Likewise. * examples/Makefile.am (to_xml_CPPFLAGS): Add -I$(top_srcdir)/gnulib/lib so inclusion of "c-ctype.h" works. (to_xml_CPPFLAGS): Rename from to_xml_CFLAGS.
Diffstat (limited to 'daemon/m4')
-rw-r--r--daemon/m4/gnulib-cache.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/daemon/m4/gnulib-cache.m4 b/daemon/m4/gnulib-cache.m4
index bd6cf61d..df69113a 100644
--- a/daemon/m4/gnulib-cache.m4
+++ b/daemon/m4/gnulib-cache.m4
@@ -15,11 +15,12 @@
# Specification in the form of a command-line invocation:
-# gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --with-tests --no-libtool --macro-prefix=gl hash ignore-value manywarnings warnings
+# gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --with-tests --no-libtool --macro-prefix=gl c-ctype hash ignore-value manywarnings warnings
# Specification in the form of a few gnulib-tool.m4 macro invocations:
gl_LOCAL_DIR([])
gl_MODULES([
+ c-ctype
hash
ignore-value
manywarnings