about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2012-01-23 22:45:52 +0000
committerEric Wong <normalperson@yhbt.net>2012-01-23 22:45:52 +0000
commita01c4ebb97c21bc5d7c42d84d0ece2bf7d034dc9 (patch)
treefd029bfcb3e854516520b33911b36c3d866e72d8
parentbea4a4d6a8210f208a6916c459a62965f513708e (diff)
downloadcmogstored-a01c4ebb97c21bc5d7c42d84d0ece2bf7d034dc9.tar.gz
Trivial MIN/MAX macros to avoid having to parse ternary
operators in my head.
-rw-r--r--m4/.gitignore1
-rw-r--r--m4/gnulib-cache.m43
2 files changed, 3 insertions, 1 deletions
diff --git a/m4/.gitignore b/m4/.gitignore
index d431483..6c53f8c 100644
--- a/m4/.gitignore
+++ b/m4/.gitignore
@@ -131,3 +131,4 @@
 /onceonly.m4
 /socketlib.m4
 /base64.m4
+/minmax.m4
diff --git a/m4/gnulib-cache.m4 b/m4/gnulib-cache.m4
index 8b148ee..84886fc 100644
--- a/m4/gnulib-cache.m4
+++ b/m4/gnulib-cache.m4
@@ -27,7 +27,7 @@
 
 
 # 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=. --avoid=fstatat --avoid=ioctl --avoid=openat --no-conditional-dependencies --no-libtool --macro-prefix=gl argp base64 canonicalize cloexec crypto/md5 dprintf hash mempcpy mountlist nonblocking pipe2 verify warnings xvasprintf
+#   gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=. --avoid=fstatat --avoid=ioctl --avoid=openat --no-conditional-dependencies --no-libtool --macro-prefix=gl argp base64 canonicalize cloexec crypto/md5 dprintf hash mempcpy minmax mountlist nonblocking pipe2 verify warnings xvasprintf
 
 # Specification in the form of a few gnulib-tool.m4 macro invocations:
 gl_LOCAL_DIR([])
@@ -40,6 +40,7 @@ gl_MODULES([
   dprintf
   hash
   mempcpy
+  minmax
   mountlist
   nonblocking
   pipe2