Blame gnulib/m4/gnulib-common.m4
|
Packit |
15a5a8 |
# gnulib-common.m4 serial 2
|
|
Packit |
15a5a8 |
dnl Copyright (C) 2007 Free Software Foundation, Inc.
|
|
Packit |
15a5a8 |
dnl This file is free software; the Free Software Foundation
|
|
Packit |
15a5a8 |
dnl gives unlimited permission to copy and/or distribute it,
|
|
Packit |
15a5a8 |
dnl with or without modifications, as long as this notice is preserved.
|
|
Packit |
15a5a8 |
|
|
Packit |
15a5a8 |
# gl_MODULE_INDICATOR([modulename])
|
|
Packit |
15a5a8 |
# defines a C macro indicating the presence of the given module.
|
|
Packit |
15a5a8 |
AC_DEFUN([gl_MODULE_INDICATOR],
|
|
Packit |
15a5a8 |
[
|
|
Packit |
15a5a8 |
AC_DEFINE([GNULIB_]translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___]), [1],
|
|
Packit |
15a5a8 |
[Define to 1 when using the gnulib module ]$1[.])
|
|
Packit |
15a5a8 |
])
|
|
Packit |
15a5a8 |
|
|
Packit |
15a5a8 |
# AC_PROG_MKDIR_P
|
|
Packit |
15a5a8 |
# is a backport of autoconf-2.60's AC_PROG_MKDIR_P.
|
|
Packit |
15a5a8 |
# Remove this macro when we can assume autoconf >= 2.60.
|
|
Packit |
15a5a8 |
m4_ifdef([AC_PROG_MKDIR_P], [], [
|
|
Packit |
15a5a8 |
AC_DEFUN([AC_PROG_MKDIR_P],
|
|
Packit |
15a5a8 |
[AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake
|
|
Packit |
15a5a8 |
MKDIR_P='$(mkdir_p)'
|
|
Packit |
15a5a8 |
AC_SUBST([MKDIR_P])])])
|