~vcs-imports/gawk/master

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Arnold D. Robbins
  • Date: 2010-07-16 11:47:02 UTC
  • Revision ID: git-v1:315bd501ca696bc3e3c938b4604d8dac7a6f512f
Tags: gawk-3.1.5
Move to gawk 3.1.5.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.8.5 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
2
2
 
3
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
4
 
# Free Software Foundation, Inc.
 
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
 
4
# 2005  Free Software Foundation, Inc.
5
5
# This file is free software; the Free Software Foundation
6
6
# gives unlimited permission to copy and/or distribute it,
7
7
# with or without modifications, as long as this notice is preserved.
11
11
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12
12
# PARTICULAR PURPOSE.
13
13
 
14
 
#                                                        -*- Autoconf -*-
15
 
# Copyright (C) 2002, 2003  Free Software Foundation, Inc.
16
 
# Generated from amversion.in; do not edit by hand.
17
 
 
18
 
# This program is free software; you can redistribute it and/or modify
19
 
# it under the terms of the GNU General Public License as published by
20
 
# the Free Software Foundation; either version 2, or (at your option)
21
 
# any later version.
22
 
 
23
 
# This program is distributed in the hope that it will be useful,
24
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
25
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26
 
# GNU General Public License for more details.
27
 
 
28
 
# You should have received a copy of the GNU General Public License
29
 
# along with this program; if not, write to the Free Software
30
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
14
# Copyright (C) 2002, 2003, 2005  Free Software Foundation, Inc.
 
15
#
 
16
# This file is free software; the Free Software Foundation
 
17
# gives unlimited permission to copy and/or distribute it,
 
18
# with or without modifications, as long as this notice is preserved.
31
19
 
32
20
# AM_AUTOMAKE_VERSION(VERSION)
33
21
# ----------------------------
34
22
# Automake X.Y traces this macro to ensure aclocal.m4 has been
35
23
# generated from the m4 files accompanying Automake X.Y.
36
 
AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.8"])
 
24
AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
37
25
 
38
26
# AM_SET_CURRENT_AUTOMAKE_VERSION
39
27
# -------------------------------
40
28
# Call AM_AUTOMAKE_VERSION so it can be traced.
41
29
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
42
30
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
43
 
         [AM_AUTOMAKE_VERSION([1.8.5])])
44
 
 
45
 
# AM_AUX_DIR_EXPAND
46
 
 
47
 
# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
48
 
 
49
 
# This program is free software; you can redistribute it and/or modify
50
 
# it under the terms of the GNU General Public License as published by
51
 
# the Free Software Foundation; either version 2, or (at your option)
52
 
# any later version.
53
 
 
54
 
# This program is distributed in the hope that it will be useful,
55
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
56
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
57
 
# GNU General Public License for more details.
58
 
 
59
 
# You should have received a copy of the GNU General Public License
60
 
# along with this program; if not, write to the Free Software
61
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
62
 
# 02111-1307, USA.
 
31
         [AM_AUTOMAKE_VERSION([1.9.5])])
 
32
 
 
33
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
 
34
 
 
35
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
36
#
 
37
# This file is free software; the Free Software Foundation
 
38
# gives unlimited permission to copy and/or distribute it,
 
39
# with or without modifications, as long as this notice is preserved.
63
40
 
64
41
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
65
42
# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
107
84
])
108
85
 
109
86
 
110
 
# Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003
 
87
# Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2005
111
88
# Free Software Foundation, Inc.
112
 
 
113
 
# This program is free software; you can redistribute it and/or modify
114
 
# it under the terms of the GNU General Public License as published by
115
 
# the Free Software Foundation; either version 2, or (at your option)
116
 
# any later version.
117
 
 
118
 
# This program is distributed in the hope that it will be useful,
119
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
120
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
121
 
# GNU General Public License for more details.
122
 
 
123
 
# You should have received a copy of the GNU General Public License
124
 
# along with this program; if not, write to the Free Software
125
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
126
 
# 02111-1307, USA.
127
 
 
128
 
# serial 3
 
89
#
 
90
# This file is free software; the Free Software Foundation
 
91
# gives unlimited permission to copy and/or distribute it,
 
92
# with or without modifications, as long as this notice is preserved.
 
93
 
 
94
# serial 4
129
95
 
130
96
# This was merged into AC_PROG_CC in Autoconf.
131
97
 
140
106
])
141
107
AU_DEFUN([fp_PROG_CC_STDC])
142
108
 
143
 
# AM_CONDITIONAL                                              -*- Autoconf -*-
144
 
 
145
 
# Copyright (C) 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
146
 
 
147
 
# This program is free software; you can redistribute it and/or modify
148
 
# it under the terms of the GNU General Public License as published by
149
 
# the Free Software Foundation; either version 2, or (at your option)
150
 
# any later version.
151
 
 
152
 
# This program is distributed in the hope that it will be useful,
153
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
154
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
155
 
# GNU General Public License for more details.
156
 
 
157
 
# You should have received a copy of the GNU General Public License
158
 
# along with this program; if not, write to the Free Software
159
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
160
 
# 02111-1307, USA.
161
 
 
162
 
# serial 6
 
109
# AM_CONDITIONAL                                            -*- Autoconf -*-
 
110
 
 
111
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
 
112
# Free Software Foundation, Inc.
 
113
#
 
114
# This file is free software; the Free Software Foundation
 
115
# gives unlimited permission to copy and/or distribute it,
 
116
# with or without modifications, as long as this notice is preserved.
 
117
 
 
118
# serial 7
163
119
 
164
120
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
165
121
# -------------------------------------
179
135
fi
180
136
AC_CONFIG_COMMANDS_PRE(
181
137
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
182
 
  AC_MSG_ERROR([conditional "$1" was never defined.
183
 
Usually this means the macro was only invoked conditionally.])
 
138
  AC_MSG_ERROR([[conditional "$1" was never defined.
 
139
Usually this means the macro was only invoked conditionally.]])
184
140
fi])])
185
141
 
186
 
# serial 7                                              -*- Autoconf -*-
187
142
 
188
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
 
143
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
189
144
# Free Software Foundation, Inc.
190
 
 
191
 
# This program is free software; you can redistribute it and/or modify
192
 
# it under the terms of the GNU General Public License as published by
193
 
# the Free Software Foundation; either version 2, or (at your option)
194
 
# any later version.
195
 
 
196
 
# This program is distributed in the hope that it will be useful,
197
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
198
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
199
 
# GNU General Public License for more details.
200
 
 
201
 
# You should have received a copy of the GNU General Public License
202
 
# along with this program; if not, write to the Free Software
203
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
204
 
# 02111-1307, USA.
205
 
 
 
145
#
 
146
# This file is free software; the Free Software Foundation
 
147
# gives unlimited permission to copy and/or distribute it,
 
148
# with or without modifications, as long as this notice is preserved.
 
149
 
 
150
# serial 8
206
151
 
207
152
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
208
153
# written in clear, in which case automake, when reading aclocal.m4,
211
156
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
212
157
 
213
158
 
214
 
 
215
159
# _AM_DEPENDENCIES(NAME)
216
160
# ----------------------
217
161
# See how the compiler implements dependency checking.
351
295
AC_SUBST([AMDEPBACKSLASH])
352
296
])
353
297
 
354
 
# Generate code to set up dependency tracking.   -*- Autoconf -*-
355
 
 
356
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
357
 
 
358
 
# This program is free software; you can redistribute it and/or modify
359
 
# it under the terms of the GNU General Public License as published by
360
 
# the Free Software Foundation; either version 2, or (at your option)
361
 
# any later version.
362
 
 
363
 
# This program is distributed in the hope that it will be useful,
364
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
365
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
366
 
# GNU General Public License for more details.
367
 
 
368
 
# You should have received a copy of the GNU General Public License
369
 
# along with this program; if not, write to the Free Software
370
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
371
 
# 02111-1307, USA.
372
 
 
373
 
#serial 2
 
298
# Generate code to set up dependency tracking.              -*- Autoconf -*-
 
299
 
 
300
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
301
# Free Software Foundation, Inc.
 
302
#
 
303
# This file is free software; the Free Software Foundation
 
304
# gives unlimited permission to copy and/or distribute it,
 
305
# with or without modifications, as long as this notice is preserved.
 
306
 
 
307
#serial 3
374
308
 
375
309
# _AM_OUTPUT_DEPENDENCY_COMMANDS
376
310
# ------------------------------
389
323
  else
390
324
    continue
391
325
  fi
392
 
  grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
393
 
  # Extract the definition of DEP_FILES from the Makefile without
394
 
  # running `make'.
 
326
  # Extract the definition of DEPDIR, am__include, and am__quote
 
327
  # from the Makefile without running `make'.
395
328
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
396
329
  test -z "$DEPDIR" && continue
 
330
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
331
  test -z "am__include" && continue
 
332
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
397
333
  # When using ansi2knr, U may be empty or an underscore; expand it
398
334
  U=`sed -n 's/^U = //p' < "$mf"`
399
 
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
400
 
  # We invoke sed twice because it is the simplest approach to
401
 
  # changing $(DEPDIR) to its actual value in the expansion.
402
 
  for file in `sed -n '
403
 
    /^DEP_FILES = .*\\\\$/ {
404
 
      s/^DEP_FILES = //
405
 
      :loop
406
 
        s/\\\\$//
407
 
        p
408
 
        n
409
 
        /\\\\$/ b loop
410
 
      p
411
 
    }
412
 
    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
 
335
  # Find all dependency output files, they are included files with
 
336
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
337
  # simplest approach to changing $(DEPDIR) to its actual value in the
 
338
  # expansion.
 
339
  for file in `sed -n "
 
340
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
413
341
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
414
342
    # Make sure the directory exists.
415
343
    test -f "$dirpart/$file" && continue
435
363
     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
436
364
])
437
365
 
438
 
# Do all the work for Automake.                            -*- Autoconf -*-
439
 
 
440
 
# This macro actually does too much some checks are only needed if
 
366
# Do all the work for Automake.                             -*- Autoconf -*-
 
367
 
 
368
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
369
# Free Software Foundation, Inc.
 
370
#
 
371
# This file is free software; the Free Software Foundation
 
372
# gives unlimited permission to copy and/or distribute it,
 
373
# with or without modifications, as long as this notice is preserved.
 
374
 
 
375
# serial 12
 
376
 
 
377
# This macro actually does too much.  Some checks are only needed if
441
378
# your package does certain things.  But this isn't really a big deal.
442
379
 
443
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
444
 
# Free Software Foundation, Inc.
445
 
 
446
 
# This program is free software; you can redistribute it and/or modify
447
 
# it under the terms of the GNU General Public License as published by
448
 
# the Free Software Foundation; either version 2, or (at your option)
449
 
# any later version.
450
 
 
451
 
# This program is distributed in the hope that it will be useful,
452
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
453
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
454
 
# GNU General Public License for more details.
455
 
 
456
 
# You should have received a copy of the GNU General Public License
457
 
# along with this program; if not, write to the Free Software
458
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
459
 
# 02111-1307, USA.
460
 
 
461
 
# serial 11
462
 
 
463
380
# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
464
381
# AM_INIT_AUTOMAKE([OPTIONS])
465
382
# -----------------------------------------------
516
433
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
517
434
AM_MISSING_PROG(AUTOHEADER, autoheader)
518
435
AM_MISSING_PROG(MAKEINFO, makeinfo)
519
 
AM_MISSING_PROG(AMTAR, tar)
520
436
AM_PROG_INSTALL_SH
521
437
AM_PROG_INSTALL_STRIP
522
438
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
525
441
AC_REQUIRE([AC_PROG_AWK])dnl
526
442
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
527
443
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
528
 
 
 
444
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
 
445
              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
 
446
                             [_AM_PROG_TAR([v7])])])
529
447
_AM_IF_OPTION([no-dependencies],,
530
448
[AC_PROVIDE_IFELSE([AC_PROG_CC],
531
449
                  [_AM_DEPENDENCIES(CC)],
559
477
done
560
478
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
561
479
 
 
480
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
481
#
 
482
# This file is free software; the Free Software Foundation
 
483
# gives unlimited permission to copy and/or distribute it,
 
484
# with or without modifications, as long as this notice is preserved.
 
485
 
562
486
# AM_PROG_INSTALL_SH
563
487
# ------------------
564
488
# Define $install_sh.
565
 
 
566
 
# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
567
 
 
568
 
# This program is free software; you can redistribute it and/or modify
569
 
# it under the terms of the GNU General Public License as published by
570
 
# the Free Software Foundation; either version 2, or (at your option)
571
 
# any later version.
572
 
 
573
 
# This program is distributed in the hope that it will be useful,
574
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
575
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
576
 
# GNU General Public License for more details.
577
 
 
578
 
# You should have received a copy of the GNU General Public License
579
 
# along with this program; if not, write to the Free Software
580
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
581
 
# 02111-1307, USA.
582
 
 
583
489
AC_DEFUN([AM_PROG_INSTALL_SH],
584
490
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
585
491
install_sh=${install_sh-"$am_aux_dir/install-sh"}
586
492
AC_SUBST(install_sh)])
587
493
 
588
 
#                                                          -*- Autoconf -*-
589
 
# Copyright (C) 2003  Free Software Foundation, Inc.
590
 
 
591
 
# This program is free software; you can redistribute it and/or modify
592
 
# it under the terms of the GNU General Public License as published by
593
 
# the Free Software Foundation; either version 2, or (at your option)
594
 
# any later version.
595
 
 
596
 
# This program is distributed in the hope that it will be useful,
597
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
598
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
599
 
# GNU General Public License for more details.
600
 
 
601
 
# You should have received a copy of the GNU General Public License
602
 
# along with this program; if not, write to the Free Software
603
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
604
 
# 02111-1307, USA.
605
 
 
606
 
# serial 1
 
494
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
 
495
#
 
496
# This file is free software; the Free Software Foundation
 
497
# gives unlimited permission to copy and/or distribute it,
 
498
# with or without modifications, as long as this notice is preserved.
 
499
 
 
500
# serial 2
607
501
 
608
502
# Check whether the underlying file-system supports filenames
609
503
# with a leading dot.  For instance MS-DOS doesn't.
618
512
rmdir .tst 2>/dev/null
619
513
AC_SUBST([am__leading_dot])])
620
514
 
621
 
# Check to see how 'make' treats includes.      -*- Autoconf -*-
622
 
 
623
 
# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
624
 
 
625
 
# This program is free software; you can redistribute it and/or modify
626
 
# it under the terms of the GNU General Public License as published by
627
 
# the Free Software Foundation; either version 2, or (at your option)
628
 
# any later version.
629
 
 
630
 
# This program is distributed in the hope that it will be useful,
631
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
632
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
633
 
# GNU General Public License for more details.
634
 
 
635
 
# You should have received a copy of the GNU General Public License
636
 
# along with this program; if not, write to the Free Software
637
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
638
 
# 02111-1307, USA.
639
 
 
640
 
# serial 2
 
515
# Check to see how 'make' treats includes.                  -*- Autoconf -*-
 
516
 
 
517
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
518
#
 
519
# This file is free software; the Free Software Foundation
 
520
# gives unlimited permission to copy and/or distribute it,
 
521
# with or without modifications, as long as this notice is preserved.
 
522
 
 
523
# serial 3
641
524
 
642
525
# AM_MAKE_INCLUDE()
643
526
# -----------------
681
564
rm -f confinc confmf
682
565
])
683
566
 
684
 
#  -*- Autoconf -*-
685
 
 
686
 
 
687
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
688
 
 
689
 
# This program is free software; you can redistribute it and/or modify
690
 
# it under the terms of the GNU General Public License as published by
691
 
# the Free Software Foundation; either version 2, or (at your option)
692
 
# any later version.
693
 
 
694
 
# This program is distributed in the hope that it will be useful,
695
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
696
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
697
 
# GNU General Public License for more details.
698
 
 
699
 
# You should have received a copy of the GNU General Public License
700
 
# along with this program; if not, write to the Free Software
701
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
702
 
# 02111-1307, USA.
703
 
 
704
 
# serial 3
 
567
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
 
568
 
 
569
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
 
570
# Free Software Foundation, Inc.
 
571
#
 
572
# This file is free software; the Free Software Foundation
 
573
# gives unlimited permission to copy and/or distribute it,
 
574
# with or without modifications, as long as this notice is preserved.
 
575
 
 
576
# serial 4
705
577
 
706
578
# AM_MISSING_PROG(NAME, PROGRAM)
707
579
# ------------------------------
727
599
fi
728
600
])
729
601
 
 
602
# Copyright (C) 2003, 2004, 2005  Free Software Foundation, Inc.
 
603
#
 
604
# This file is free software; the Free Software Foundation
 
605
# gives unlimited permission to copy and/or distribute it,
 
606
# with or without modifications, as long as this notice is preserved.
 
607
 
730
608
# AM_PROG_MKDIR_P
731
609
# ---------------
732
610
# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
733
 
 
734
 
# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
735
 
 
736
 
# This program is free software; you can redistribute it and/or modify
737
 
# it under the terms of the GNU General Public License as published by
738
 
# the Free Software Foundation; either version 2, or (at your option)
739
 
# any later version.
740
 
 
741
 
# This program is distributed in the hope that it will be useful,
742
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
743
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
744
 
# GNU General Public License for more details.
745
 
 
746
 
# You should have received a copy of the GNU General Public License
747
 
# along with this program; if not, write to the Free Software
748
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
749
 
# 02111-1307, USA.
750
 
 
 
611
#
751
612
# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
752
613
# created by `make install' are always world readable, even if the
753
614
# installer happens to have an overly restrictive umask (e.g. 077).
768
629
# this.)
769
630
AC_DEFUN([AM_PROG_MKDIR_P],
770
631
[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
771
 
  # Keeping the `.' argument allows $(mkdir_p) to be used without
772
 
  # argument.  Indeed, we sometimes output rules like
 
632
  # We used to keeping the `.' as first argument, in order to
 
633
  # allow $(mkdir_p) to be used without argument.  As in
773
634
  #   $(mkdir_p) $(somedir)
774
 
  # where $(somedir) is conditionally defined.
775
 
  # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
776
 
  # expensive solution, as it forces Make to start a sub-shell.)
777
 
  mkdir_p='mkdir -p -- .'
 
635
  # where $(somedir) is conditionally defined.  However this is wrong
 
636
  # for two reasons:
 
637
  #  1. if the package is installed by a user who cannot write `.'
 
638
  #     make install will fail,
 
639
  #  2. the above comment should most certainly read
 
640
  #     $(mkdir_p) $(DESTDIR)$(somedir)
 
641
  #     so it does not work when $(somedir) is undefined and
 
642
  #     $(DESTDIR) is not.
 
643
  #  To support the latter case, we have to write
 
644
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
 
645
  #  so the `.' trick is pointless.
 
646
  mkdir_p='mkdir -p --'
778
647
else
779
648
  # On NextStep and OpenStep, the `mkdir' command does not
780
649
  # recognize any option.  It will interpret all options as
793
662
fi
794
663
AC_SUBST([mkdir_p])])
795
664
 
796
 
# Helper functions for option handling.                    -*- Autoconf -*-
797
 
 
798
 
# Copyright (C) 2001, 2002, 2003  Free Software Foundation, Inc.
799
 
 
800
 
# This program is free software; you can redistribute it and/or modify
801
 
# it under the terms of the GNU General Public License as published by
802
 
# the Free Software Foundation; either version 2, or (at your option)
803
 
# any later version.
804
 
 
805
 
# This program is distributed in the hope that it will be useful,
806
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
807
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
808
 
# GNU General Public License for more details.
809
 
 
810
 
# You should have received a copy of the GNU General Public License
811
 
# along with this program; if not, write to the Free Software
812
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
813
 
# 02111-1307, USA.
814
 
 
815
 
# serial 2
 
665
# Helper functions for option handling.                     -*- Autoconf -*-
 
666
 
 
667
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
668
#
 
669
# This file is free software; the Free Software Foundation
 
670
# gives unlimited permission to copy and/or distribute it,
 
671
# with or without modifications, as long as this notice is preserved.
 
672
 
 
673
# serial 3
816
674
 
817
675
# _AM_MANGLE_OPTION(NAME)
818
676
# -----------------------
837
695
AC_DEFUN([_AM_IF_OPTION],
838
696
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
839
697
 
840
 
 
841
 
# Copyright (C) 1996, 1997, 1998, 2000, 2001, 2002, 2003
 
698
# Copyright (C) 1996, 1997, 1998, 2000, 2001, 2002, 2003, 2005
842
699
# Free Software Foundation, Inc.
843
 
 
844
 
# This program is free software; you can redistribute it and/or modify
845
 
# it under the terms of the GNU General Public License as published by
846
 
# the Free Software Foundation; either version 2, or (at your option)
847
 
# any later version.
848
 
 
849
 
# This program is distributed in the hope that it will be useful,
850
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
851
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
852
 
# GNU General Public License for more details.
853
 
 
854
 
# You should have received a copy of the GNU General Public License
855
 
# along with this program; if not, write to the Free Software
856
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
857
 
# 02111-1307, USA.
858
 
 
859
 
# serial 3
 
700
#
 
701
# This file is free software; the Free Software Foundation
 
702
# gives unlimited permission to copy and/or distribute it,
 
703
# with or without modifications, as long as this notice is preserved.
 
704
 
 
705
# serial 4
860
706
 
861
707
AC_DEFUN([AM_C_PROTOTYPES],
862
708
[AC_REQUIRE([AC_C_PROTOTYPES])
874
720
 
875
721
AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES])
876
722
 
877
 
#
878
 
# Check to make sure that the build environment is sane.
879
 
#
880
 
 
881
 
# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
882
 
 
883
 
# This program is free software; you can redistribute it and/or modify
884
 
# it under the terms of the GNU General Public License as published by
885
 
# the Free Software Foundation; either version 2, or (at your option)
886
 
# any later version.
887
 
 
888
 
# This program is distributed in the hope that it will be useful,
889
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
890
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
891
 
# GNU General Public License for more details.
892
 
 
893
 
# You should have received a copy of the GNU General Public License
894
 
# along with this program; if not, write to the Free Software
895
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
896
 
# 02111-1307, USA.
897
 
 
898
 
# serial 3
 
723
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
 
724
 
 
725
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
 
726
# Free Software Foundation, Inc.
 
727
#
 
728
# This file is free software; the Free Software Foundation
 
729
# gives unlimited permission to copy and/or distribute it,
 
730
# with or without modifications, as long as this notice is preserved.
 
731
 
 
732
# serial 4
899
733
 
900
734
# AM_SANITY_CHECK
901
735
# ---------------
938
772
fi
939
773
AC_MSG_RESULT(yes)])
940
774
 
 
775
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
776
#
 
777
# This file is free software; the Free Software Foundation
 
778
# gives unlimited permission to copy and/or distribute it,
 
779
# with or without modifications, as long as this notice is preserved.
 
780
 
941
781
# AM_PROG_INSTALL_STRIP
942
 
 
943
 
# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
944
 
 
945
 
# This program is free software; you can redistribute it and/or modify
946
 
# it under the terms of the GNU General Public License as published by
947
 
# the Free Software Foundation; either version 2, or (at your option)
948
 
# any later version.
949
 
 
950
 
# This program is distributed in the hope that it will be useful,
951
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
952
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
953
 
# GNU General Public License for more details.
954
 
 
955
 
# You should have received a copy of the GNU General Public License
956
 
# along with this program; if not, write to the Free Software
957
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
958
 
# 02111-1307, USA.
959
 
 
 
782
# ---------------------
960
783
# One issue with vendor `install' (even GNU) is that you can't
961
784
# specify the program used to strip binaries.  This is especially
962
785
# annoying in cross-compiling environments, where the build's strip
977
800
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
978
801
AC_SUBST([INSTALL_STRIP_PROGRAM])])
979
802
 
 
803
# Check how to create a tarball.                            -*- Autoconf -*-
 
804
 
 
805
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
 
806
#
 
807
# This file is free software; the Free Software Foundation
 
808
# gives unlimited permission to copy and/or distribute it,
 
809
# with or without modifications, as long as this notice is preserved.
 
810
 
 
811
# serial 2
 
812
 
 
813
# _AM_PROG_TAR(FORMAT)
 
814
# --------------------
 
815
# Check how to create a tarball in format FORMAT.
 
816
# FORMAT should be one of `v7', `ustar', or `pax'.
 
817
#
 
818
# Substitute a variable $(am__tar) that is a command
 
819
# writing to stdout a FORMAT-tarball containing the directory
 
820
# $tardir.
 
821
#     tardir=directory && $(am__tar) > result.tar
 
822
#
 
823
# Substitute a variable $(am__untar) that extract such
 
824
# a tarball read from stdin.
 
825
#     $(am__untar) < result.tar
 
826
AC_DEFUN([_AM_PROG_TAR],
 
827
[# Always define AMTAR for backward compatibility.
 
828
AM_MISSING_PROG([AMTAR], [tar])
 
829
m4_if([$1], [v7],
 
830
     [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
 
831
     [m4_case([$1], [ustar],, [pax],,
 
832
              [m4_fatal([Unknown tar format])])
 
833
AC_MSG_CHECKING([how to create a $1 tar archive])
 
834
# Loop over all known methods to create a tar archive until one works.
 
835
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
 
836
_am_tools=${am_cv_prog_tar_$1-$_am_tools}
 
837
# Do not fold the above two line into one, because Tru64 sh and
 
838
# Solaris sh will not grok spaces in the rhs of `-'.
 
839
for _am_tool in $_am_tools
 
840
do
 
841
  case $_am_tool in
 
842
  gnutar)
 
843
    for _am_tar in tar gnutar gtar;
 
844
    do
 
845
      AM_RUN_LOG([$_am_tar --version]) && break
 
846
    done
 
847
    am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
 
848
    am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
 
849
    am__untar="$_am_tar -xf -"
 
850
    ;;
 
851
  plaintar)
 
852
    # Must skip GNU tar: if it does not support --format= it doesn't create
 
853
    # ustar tarball either.
 
854
    (tar --version) >/dev/null 2>&1 && continue
 
855
    am__tar='tar chf - "$$tardir"'
 
856
    am__tar_='tar chf - "$tardir"'
 
857
    am__untar='tar xf -'
 
858
    ;;
 
859
  pax)
 
860
    am__tar='pax -L -x $1 -w "$$tardir"'
 
861
    am__tar_='pax -L -x $1 -w "$tardir"'
 
862
    am__untar='pax -r'
 
863
    ;;
 
864
  cpio)
 
865
    am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
 
866
    am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
 
867
    am__untar='cpio -i -H $1 -d'
 
868
    ;;
 
869
  none)
 
870
    am__tar=false
 
871
    am__tar_=false
 
872
    am__untar=false
 
873
    ;;
 
874
  esac
 
875
 
 
876
  # If the value was cached, stop now.  We just wanted to have am__tar
 
877
  # and am__untar set.
 
878
  test -n "${am_cv_prog_tar_$1}" && break
 
879
 
 
880
  # tar/untar a dummy directory, and stop if the command works
 
881
  rm -rf conftest.dir
 
882
  mkdir conftest.dir
 
883
  echo GrepMe > conftest.dir/file
 
884
  AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
 
885
  rm -rf conftest.dir
 
886
  if test -s conftest.tar; then
 
887
    AM_RUN_LOG([$am__untar <conftest.tar])
 
888
    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
 
889
  fi
 
890
done
 
891
rm -rf conftest.dir
 
892
 
 
893
AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
 
894
AC_MSG_RESULT([$am_cv_prog_tar_$1])])
 
895
AC_SUBST([am__tar])
 
896
AC_SUBST([am__untar])
 
897
]) # _AM_PROG_TAR
 
898
 
980
899
m4_include([m4/arch.m4])
981
 
m4_include([m4/codeset.m4])
982
900
m4_include([m4/gettext.m4])
983
 
m4_include([m4/glibc21.m4])
984
901
m4_include([m4/iconv.m4])
985
 
m4_include([m4/intdiv0.m4])
986
 
m4_include([m4/intmax.m4])
987
902
m4_include([m4/intmax_t.m4])
988
 
m4_include([m4/inttypes-pri.m4])
989
 
m4_include([m4/inttypes.m4])
990
903
m4_include([m4/inttypes_h.m4])
991
 
m4_include([m4/lcmessage.m4])
992
904
m4_include([m4/lib-ld.m4])
993
905
m4_include([m4/lib-link.m4])
994
906
m4_include([m4/lib-prefix.m4])
995
 
m4_include([m4/longdouble.m4])
996
907
m4_include([m4/longlong.m4])
997
908
m4_include([m4/nls.m4])
998
909
m4_include([m4/po.m4])
999
 
m4_include([m4/printf-posix.m4])
1000
910
m4_include([m4/progtest.m4])
1001
 
m4_include([m4/signed.m4])
1002
 
m4_include([m4/size_max.m4])
1003
911
m4_include([m4/socket.m4])
1004
912
m4_include([m4/stdint_h.m4])
1005
913
m4_include([m4/strtod.m4])
1006
914
m4_include([m4/uintmax_t.m4])
1007
915
m4_include([m4/ulonglong.m4])
1008
 
m4_include([m4/wchar_t.m4])
1009
 
m4_include([m4/wint_t.m4])
1010
 
m4_include([m4/xsize.m4])