Blame gnulib/m4/00gnulib.m4

Packit Service 51e54d
# 00gnulib.m4 serial 2
Packit Service 51e54d
dnl Copyright (C) 2009-2014 Free Software Foundation, Inc.
Packit Service 51e54d
dnl This file is free software; the Free Software Foundation
Packit Service 51e54d
dnl gives unlimited permission to copy and/or distribute it,
Packit Service 51e54d
dnl with or without modifications, as long as this notice is preserved.
Packit Service 51e54d
Packit Service 51e54d
dnl This file must be named something that sorts before all other
Packit Service 51e54d
dnl gnulib-provided .m4 files.  It is needed until such time as we can
Packit Service 51e54d
dnl assume Autoconf 2.64, with its improved AC_DEFUN_ONCE semantics.
Packit Service 51e54d
Packit Service 51e54d
# AC_DEFUN_ONCE([NAME], VALUE)
Packit Service 51e54d
# ----------------------------
Packit Service 51e54d
# Define NAME to expand to VALUE on the first use (whether by direct
Packit Service 51e54d
# expansion, or by AC_REQUIRE), and to nothing on all subsequent uses.
Packit Service 51e54d
# Avoid bugs in AC_REQUIRE in Autoconf 2.63 and earlier.  This
Packit Service 51e54d
# definition is slower than the version in Autoconf 2.64, because it
Packit Service 51e54d
# can only use interfaces that existed since 2.59; but it achieves the
Packit Service 51e54d
# same effect.  Quoting is necessary to avoid confusing Automake.
Packit Service 51e54d
m4_version_prereq([2.63.263], [],
Packit Service 51e54d
[m4_define([AC][_DEFUN_ONCE],
Packit Service 51e54d
  [AC][_DEFUN([$1],
Packit Service 51e54d
    [AC_REQUIRE([_gl_DEFUN_ONCE([$1])],
Packit Service 51e54d
      [m4_indir([_gl_DEFUN_ONCE([$1])])])])]dnl
Packit Service 51e54d
[AC][_DEFUN([_gl_DEFUN_ONCE([$1])], [$2])])])
Packit Service 51e54d
Packit Service 51e54d
# gl_00GNULIB
Packit Service 51e54d
# -----------
Packit Service 51e54d
# Witness macro that this file has been included.  Needed to force
Packit Service 51e54d
# Automake to include this file prior to all other gnulib .m4 files.
Packit Service 51e54d
AC_DEFUN([gl_00GNULIB])