Artifact 95abc5f88bd5271e63232fffaee9dd462ac02934:


0000: 23 20 30 30 67 6e 75 6c 69 62 2e 6d 34 20 73 65  # 00gnulib.m4 se
0010: 72 69 61 6c 20 32 0a 64 6e 6c 20 43 6f 70 79 72  rial 2.dnl Copyr
0020: 69 67 68 74 20 28 43 29 20 32 30 30 39 2d 32 30  ight (C) 2009-20
0030: 31 30 20 46 72 65 65 20 53 6f 66 74 77 61 72 65  10 Free Software
0040: 20 46 6f 75 6e 64 61 74 69 6f 6e 2c 20 49 6e 63   Foundation, Inc
0050: 2e 0a 64 6e 6c 20 54 68 69 73 20 66 69 6c 65 20  ..dnl This file 
0060: 69 73 20 66 72 65 65 20 73 6f 66 74 77 61 72 65  is free software
0070: 3b 20 74 68 65 20 46 72 65 65 20 53 6f 66 74 77  ; the Free Softw
0080: 61 72 65 20 46 6f 75 6e 64 61 74 69 6f 6e 0a 64  are Foundation.d
0090: 6e 6c 20 67 69 76 65 73 20 75 6e 6c 69 6d 69 74  nl gives unlimit
00a0: 65 64 20 70 65 72 6d 69 73 73 69 6f 6e 20 74 6f  ed permission to
00b0: 20 63 6f 70 79 20 61 6e 64 2f 6f 72 20 64 69 73   copy and/or dis
00c0: 74 72 69 62 75 74 65 20 69 74 2c 0a 64 6e 6c 20  tribute it,.dnl 
00d0: 77 69 74 68 20 6f 72 20 77 69 74 68 6f 75 74 20  with or without 
00e0: 6d 6f 64 69 66 69 63 61 74 69 6f 6e 73 2c 20 61  modifications, a
00f0: 73 20 6c 6f 6e 67 20 61 73 20 74 68 69 73 20 6e  s long as this n
0100: 6f 74 69 63 65 20 69 73 20 70 72 65 73 65 72 76  otice is preserv
0110: 65 64 2e 0a 0a 64 6e 6c 20 54 68 69 73 20 66 69  ed...dnl This fi
0120: 6c 65 20 6d 75 73 74 20 62 65 20 6e 61 6d 65 64  le must be named
0130: 20 73 6f 6d 65 74 68 69 6e 67 20 74 68 61 74 20   something that 
0140: 73 6f 72 74 73 20 62 65 66 6f 72 65 20 61 6c 6c  sorts before all
0150: 20 6f 74 68 65 72 0a 64 6e 6c 20 67 6e 75 6c 69   other.dnl gnuli
0160: 62 2d 70 72 6f 76 69 64 65 64 20 2e 6d 34 20 66  b-provided .m4 f
0170: 69 6c 65 73 2e 20 20 49 74 20 69 73 20 6e 65 65  iles.  It is nee
0180: 64 65 64 20 75 6e 74 69 6c 20 73 75 63 68 20 74  ded until such t
0190: 69 6d 65 20 61 73 20 77 65 20 63 61 6e 0a 64 6e  ime as we can.dn
01a0: 6c 20 61 73 73 75 6d 65 20 41 75 74 6f 63 6f 6e  l assume Autocon
01b0: 66 20 32 2e 36 34 2c 20 77 69 74 68 20 69 74 73  f 2.64, with its
01c0: 20 69 6d 70 72 6f 76 65 64 20 41 43 5f 44 45 46   improved AC_DEF
01d0: 55 4e 5f 4f 4e 43 45 20 73 65 6d 61 6e 74 69 63  UN_ONCE semantic
01e0: 73 2e 0a 0a 23 20 41 43 5f 44 45 46 55 4e 5f 4f  s...# AC_DEFUN_O
01f0: 4e 43 45 28 5b 4e 41 4d 45 5d 2c 20 56 41 4c 55  NCE([NAME], VALU
0200: 45 29 0a 23 20 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  E).# -----------
0210: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0220: 2d 0a 23 20 44 65 66 69 6e 65 20 4e 41 4d 45 20  -.# Define NAME 
0230: 74 6f 20 65 78 70 61 6e 64 20 74 6f 20 56 41 4c  to expand to VAL
0240: 55 45 20 6f 6e 20 74 68 65 20 66 69 72 73 74 20  UE on the first 
0250: 75 73 65 20 28 77 68 65 74 68 65 72 20 62 79 20  use (whether by 
0260: 64 69 72 65 63 74 0a 23 20 65 78 70 61 6e 73 69  direct.# expansi
0270: 6f 6e 2c 20 6f 72 20 62 79 20 41 43 5f 52 45 51  on, or by AC_REQ
0280: 55 49 52 45 29 2c 20 61 6e 64 20 74 6f 20 6e 6f  UIRE), and to no
0290: 74 68 69 6e 67 20 6f 6e 20 61 6c 6c 20 73 75 62  thing on all sub
02a0: 73 65 71 75 65 6e 74 20 75 73 65 73 2e 0a 23 20  sequent uses..# 
02b0: 41 76 6f 69 64 20 62 75 67 73 20 69 6e 20 41 43  Avoid bugs in AC
02c0: 5f 52 45 51 55 49 52 45 20 69 6e 20 41 75 74 6f  _REQUIRE in Auto
02d0: 63 6f 6e 66 20 32 2e 36 33 20 61 6e 64 20 65 61  conf 2.63 and ea
02e0: 72 6c 69 65 72 2e 20 20 54 68 69 73 0a 23 20 64  rlier.  This.# d
02f0: 65 66 69 6e 69 74 69 6f 6e 20 69 73 20 73 6c 6f  efinition is slo
0300: 77 65 72 20 74 68 61 6e 20 74 68 65 20 76 65 72  wer than the ver
0310: 73 69 6f 6e 20 69 6e 20 41 75 74 6f 63 6f 6e 66  sion in Autoconf
0320: 20 32 2e 36 34 2c 20 62 65 63 61 75 73 65 20 69   2.64, because i
0330: 74 0a 23 20 63 61 6e 20 6f 6e 6c 79 20 75 73 65  t.# can only use
0340: 20 69 6e 74 65 72 66 61 63 65 73 20 74 68 61 74   interfaces that
0350: 20 65 78 69 73 74 65 64 20 73 69 6e 63 65 20 32   existed since 2
0360: 2e 35 39 3b 20 62 75 74 20 69 74 20 61 63 68 69  .59; but it achi
0370: 65 76 65 73 20 74 68 65 0a 23 20 73 61 6d 65 20  eves the.# same 
0380: 65 66 66 65 63 74 2e 20 20 51 75 6f 74 69 6e 67  effect.  Quoting
0390: 20 69 73 20 6e 65 63 65 73 73 61 72 79 20 74 6f   is necessary to
03a0: 20 61 76 6f 69 64 20 63 6f 6e 66 75 73 69 6e 67   avoid confusing
03b0: 20 41 75 74 6f 6d 61 6b 65 2e 0a 6d 34 5f 76 65   Automake..m4_ve
03c0: 72 73 69 6f 6e 5f 70 72 65 72 65 71 28 5b 32 2e  rsion_prereq([2.
03d0: 36 33 2e 32 36 33 5d 2c 20 5b 5d 2c 0a 5b 6d 34  63.263], [],.[m4
03e0: 5f 64 65 66 69 6e 65 28 5b 41 43 5d 5b 5f 44 45  _define([AC][_DE
03f0: 46 55 4e 5f 4f 4e 43 45 5d 2c 0a 20 20 5b 41 43  FUN_ONCE],.  [AC
0400: 5d 5b 5f 44 45 46 55 4e 28 5b 24 31 5d 2c 0a 20  ][_DEFUN([$1],. 
0410: 20 20 20 5b 41 43 5f 52 45 51 55 49 52 45 28 5b     [AC_REQUIRE([
0420: 5f 67 6c 5f 44 45 46 55 4e 5f 4f 4e 43 45 28 5b  _gl_DEFUN_ONCE([
0430: 24 31 5d 29 5d 2c 0a 20 20 20 20 20 20 5b 6d 34  $1])],.      [m4
0440: 5f 69 6e 64 69 72 28 5b 5f 67 6c 5f 44 45 46 55  _indir([_gl_DEFU
0450: 4e 5f 4f 4e 43 45 28 5b 24 31 5d 29 5d 29 5d 29  N_ONCE([$1])])])
0460: 5d 29 5d 64 6e 6c 0a 5b 41 43 5d 5b 5f 44 45 46  ])]dnl.[AC][_DEF
0470: 55 4e 28 5b 5f 67 6c 5f 44 45 46 55 4e 5f 4f 4e  UN([_gl_DEFUN_ON
0480: 43 45 28 5b 24 31 5d 29 5d 2c 20 5b 24 32 5d 29  CE([$1])], [$2])
0490: 5d 29 5d 29 0a 0a 23 20 67 6c 5f 30 30 47 4e 55  ])])..# gl_00GNU
04a0: 4c 49 42 0a 23 20 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  LIB.# ----------
04b0: 2d 0a 23 20 57 69 74 6e 65 73 73 20 6d 61 63 72  -.# Witness macr
04c0: 6f 20 74 68 61 74 20 74 68 69 73 20 66 69 6c 65  o that this file
04d0: 20 68 61 73 20 62 65 65 6e 20 69 6e 63 6c 75 64   has been includ
04e0: 65 64 2e 20 20 4e 65 65 64 65 64 20 74 6f 20 66  ed.  Needed to f
04f0: 6f 72 63 65 0a 23 20 41 75 74 6f 6d 61 6b 65 20  orce.# Automake 
0500: 74 6f 20 69 6e 63 6c 75 64 65 20 74 68 69 73 20  to include this 
0510: 66 69 6c 65 20 70 72 69 6f 72 20 74 6f 20 61 6c  file prior to al
0520: 6c 20 6f 74 68 65 72 20 67 6e 75 6c 69 62 20 2e  l other gnulib .
0530: 6d 34 20 66 69 6c 65 73 2e 0a 41 43 5f 44 45 46  m4 files..AC_DEF
0540: 55 4e 28 5b 67 6c 5f 30 30 47 4e 55 4c 49 42 5d  UN([gl_00GNULIB]
0550: 29 0a                                            ).