diff options
author | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2007-12-17 12:30:29 +0100 |
---|---|---|
committer | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2007-12-17 12:30:29 +0100 |
commit | c097672357af49fef1970bf3de6976480d48967f (patch) | |
tree | 93eff7c2a9fcf31cc643ecba2b93d62d2517cbd3 /m4/gnulib-common.m4 | |
parent | c3049e535b86b91e4e109534b1c472e9508a853d (diff) | |
download | e2tools-c097672357af49fef1970bf3de6976480d48967f.tar.gz e2tools-c097672357af49fef1970bf3de6976480d48967f.tar.xz e2tools-c097672357af49fef1970bf3de6976480d48967f.zip |
Add gnulib-added .m4, .c, and .h files to repo
Diffstat (limited to 'm4/gnulib-common.m4')
-rw-r--r-- | m4/gnulib-common.m4 | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/m4/gnulib-common.m4 b/m4/gnulib-common.m4 new file mode 100644 index 0000000..5398010 --- /dev/null +++ b/m4/gnulib-common.m4 @@ -0,0 +1,22 @@ +# gnulib-common.m4 serial 2 +dnl Copyright (C) 2007 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. + +# gl_MODULE_INDICATOR([modulename]) +# defines a C macro indicating the presence of the given module. +AC_DEFUN([gl_MODULE_INDICATOR], +[ + AC_DEFINE([GNULIB_]translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___]), [1], + [Define to 1 when using the gnulib module ]$1[.]) +]) + +# AC_PROG_MKDIR_P +# is a backport of autoconf-2.60's AC_PROG_MKDIR_P. +# Remove this macro when we can assume autoconf >= 2.60. +m4_ifdef([AC_PROG_MKDIR_P], [], [ + AC_DEFUN([AC_PROG_MKDIR_P], + [AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake + MKDIR_P='$(mkdir_p)' + AC_SUBST([MKDIR_P])])]) |