~ubuntu-branches/ubuntu/karmic/sdl-image1.2/karmic

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Michael Koch
  • Date: 2009-07-21 21:08:48 UTC
  • mfrom: (6.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090721210848-fgds32w1q9z6y1tt
Tags: 1.2.7-1
* New upstream release.
* debian/control: Build-Depends on debhelper (>= 5).
* debian/control: Updated Standards-Version to 3.8.2.
* debian/control: Add Homepage field.
* debian/watch: Updated watch file for easier upstream updates.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.9.4 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.10 -*- 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, 2006  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
m4_if(m4_PACKAGE_VERSION, [2.61],,
 
15
[m4_fatal([this file was generated for autoconf 2.61.
 
16
You have another version of autoconf.  If you want to use that,
 
17
you should regenerate the build system entirely.], [63])])
 
18
 
 
19
# Copyright (C) 2002, 2003, 2005, 2006  Free Software Foundation, Inc.
 
20
#
 
21
# This file is free software; the Free Software Foundation
 
22
# gives unlimited permission to copy and/or distribute it,
 
23
# with or without modifications, as long as this notice is preserved.
31
24
 
32
25
# AM_AUTOMAKE_VERSION(VERSION)
33
26
# ----------------------------
34
27
# Automake X.Y traces this macro to ensure aclocal.m4 has been
35
28
# generated from the m4 files accompanying Automake X.Y.
36
 
AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
 
29
# (This private macro should not be called outside this file.)
 
30
AC_DEFUN([AM_AUTOMAKE_VERSION],
 
31
[am__api_version='1.10'
 
32
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
 
33
dnl require some minimum version.  Point them to the right macro.
 
34
m4_if([$1], [1.10], [],
 
35
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
 
36
])
 
37
 
 
38
# _AM_AUTOCONF_VERSION(VERSION)
 
39
# -----------------------------
 
40
# aclocal traces this macro to find the Autoconf version.
 
41
# This is a private macro too.  Using m4_define simplifies
 
42
# the logic in aclocal, which can simply ignore this definition.
 
43
m4_define([_AM_AUTOCONF_VERSION], [])
37
44
 
38
45
# AM_SET_CURRENT_AUTOMAKE_VERSION
39
46
# -------------------------------
40
 
# Call AM_AUTOMAKE_VERSION so it can be traced.
 
47
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
41
48
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
42
49
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
43
 
         [AM_AUTOMAKE_VERSION([1.9.4])])
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.
 
50
[AM_AUTOMAKE_VERSION([1.10])dnl
 
51
_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
 
52
 
 
53
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
 
54
 
 
55
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
56
#
 
57
# This file is free software; the Free Software Foundation
 
58
# gives unlimited permission to copy and/or distribute it,
 
59
# with or without modifications, as long as this notice is preserved.
63
60
 
64
61
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
65
62
# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
106
103
am_aux_dir=`cd $ac_aux_dir && pwd`
107
104
])
108
105
 
109
 
# AM_CONDITIONAL                                              -*- Autoconf -*-
110
 
 
111
 
# Copyright (C) 1997, 2000, 2001, 2003, 2004 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 6
 
106
# AM_CONDITIONAL                                            -*- Autoconf -*-
 
107
 
 
108
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
 
109
# Free Software Foundation, Inc.
 
110
#
 
111
# This file is free software; the Free Software Foundation
 
112
# gives unlimited permission to copy and/or distribute it,
 
113
# with or without modifications, as long as this notice is preserved.
 
114
 
 
115
# serial 8
129
116
 
130
117
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
131
118
# -------------------------------------
134
121
[AC_PREREQ(2.52)dnl
135
122
 ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
136
123
        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
137
 
AC_SUBST([$1_TRUE])
138
 
AC_SUBST([$1_FALSE])
 
124
AC_SUBST([$1_TRUE])dnl
 
125
AC_SUBST([$1_FALSE])dnl
 
126
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
 
127
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
139
128
if $2; then
140
129
  $1_TRUE=
141
130
  $1_FALSE='#'
149
138
Usually this means the macro was only invoked conditionally.]])
150
139
fi])])
151
140
 
152
 
# serial 7                                              -*- Autoconf -*-
153
 
 
154
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
 
141
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
155
142
# Free Software Foundation, Inc.
156
 
 
157
 
# This program is free software; you can redistribute it and/or modify
158
 
# it under the terms of the GNU General Public License as published by
159
 
# the Free Software Foundation; either version 2, or (at your option)
160
 
# any later version.
161
 
 
162
 
# This program is distributed in the hope that it will be useful,
163
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
164
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
165
 
# GNU General Public License for more details.
166
 
 
167
 
# You should have received a copy of the GNU General Public License
168
 
# along with this program; if not, write to the Free Software
169
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
170
 
# 02111-1307, USA.
171
 
 
 
143
#
 
144
# This file is free software; the Free Software Foundation
 
145
# gives unlimited permission to copy and/or distribute it,
 
146
# with or without modifications, as long as this notice is preserved.
 
147
 
 
148
# serial 9
172
149
 
173
150
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
174
151
# written in clear, in which case automake, when reading aclocal.m4,
177
154
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
178
155
 
179
156
 
180
 
 
181
157
# _AM_DEPENDENCIES(NAME)
182
158
# ----------------------
183
159
# See how the compiler implements dependency checking.
197
173
ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
198
174
       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
199
175
       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
 
176
       [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
200
177
       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
201
178
                   [depcc="$$1"   am_compiler_list=])
202
179
 
262
239
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
263
240
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
264
241
         >/dev/null 2>conftest.err &&
 
242
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
265
243
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
266
244
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
267
245
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
314
292
  AMDEPBACKSLASH='\'
315
293
fi
316
294
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
317
 
AC_SUBST([AMDEPBACKSLASH])
 
295
AC_SUBST([AMDEPBACKSLASH])dnl
 
296
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
318
297
])
319
298
 
320
 
# Generate code to set up dependency tracking.   -*- Autoconf -*-
321
 
 
322
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
323
 
#   Free Software Foundation, Inc.
324
 
 
325
 
# This program is free software; you can redistribute it and/or modify
326
 
# it under the terms of the GNU General Public License as published by
327
 
# the Free Software Foundation; either version 2, or (at your option)
328
 
# any later version.
329
 
 
330
 
# This program is distributed in the hope that it will be useful,
331
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
332
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
333
 
# GNU General Public License for more details.
334
 
 
335
 
# You should have received a copy of the GNU General Public License
336
 
# along with this program; if not, write to the Free Software
337
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
338
 
# 02111-1307, USA.
339
 
 
340
 
#serial 2
 
299
# Generate code to set up dependency tracking.              -*- Autoconf -*-
 
300
 
 
301
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
302
# Free Software Foundation, Inc.
 
303
#
 
304
# This file is free software; the Free Software Foundation
 
305
# gives unlimited permission to copy and/or distribute it,
 
306
# with or without modifications, as long as this notice is preserved.
 
307
 
 
308
#serial 3
341
309
 
342
310
# _AM_OUTPUT_DEPENDENCY_COMMANDS
343
311
# ------------------------------
350
318
  # some people rename them; so instead we look at the file content.
351
319
  # Grep'ing the first line is not enough: some people post-process
352
320
  # each Makefile.in and add a new line on top of each file to say so.
353
 
  # So let's grep whole file.
354
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 
321
  # Grep'ing the whole file is not good either: AIX grep has a line
 
322
  # limit of 2048, but all sed's we know have understand at least 4000.
 
323
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
355
324
    dirpart=`AS_DIRNAME("$mf")`
356
325
  else
357
326
    continue
396
365
     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
397
366
])
398
367
 
399
 
# Do all the work for Automake.                            -*- Autoconf -*-
400
 
 
401
 
# This macro actually does too much some checks are only needed if
 
368
# Do all the work for Automake.                             -*- Autoconf -*-
 
369
 
 
370
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
 
371
# 2005, 2006 Free Software Foundation, Inc.
 
372
#
 
373
# This file is free software; the Free Software Foundation
 
374
# gives unlimited permission to copy and/or distribute it,
 
375
# with or without modifications, as long as this notice is preserved.
 
376
 
 
377
# serial 12
 
378
 
 
379
# This macro actually does too much.  Some checks are only needed if
402
380
# your package does certain things.  But this isn't really a big deal.
403
381
 
404
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
405
 
# Free Software Foundation, Inc.
406
 
 
407
 
# This program is free software; you can redistribute it and/or modify
408
 
# it under the terms of the GNU General Public License as published by
409
 
# the Free Software Foundation; either version 2, or (at your option)
410
 
# any later version.
411
 
 
412
 
# This program is distributed in the hope that it will be useful,
413
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
414
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
415
 
# GNU General Public License for more details.
416
 
 
417
 
# You should have received a copy of the GNU General Public License
418
 
# along with this program; if not, write to the Free Software
419
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
420
 
# 02111-1307, USA.
421
 
 
422
 
# serial 11
423
 
 
424
382
# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
425
383
# AM_INIT_AUTOMAKE([OPTIONS])
426
384
# -----------------------------------------------
433
391
# arguments mandatory, and then we can depend on a new Autoconf
434
392
# release and drop the old call support.
435
393
AC_DEFUN([AM_INIT_AUTOMAKE],
436
 
[AC_PREREQ([2.58])dnl
 
394
[AC_PREREQ([2.60])dnl
437
395
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
438
396
dnl the ones we care about.
439
397
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
440
398
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
441
399
AC_REQUIRE([AC_PROG_INSTALL])dnl
442
 
# test to see if srcdir already configured
443
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
444
 
   test -f $srcdir/config.status; then
445
 
  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
 
400
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
401
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
402
  # is not polluted with repeated "-I."
 
403
  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
 
404
  # test to see if srcdir already configured
 
405
  if test -f $srcdir/config.status; then
 
406
    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
 
407
  fi
446
408
fi
447
409
 
448
410
# test whether we have cygpath
462
424
 AC_SUBST([PACKAGE], [$1])dnl
463
425
 AC_SUBST([VERSION], [$2])],
464
426
[_AM_SET_OPTIONS([$1])dnl
 
427
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
 
428
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
 
429
  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
465
430
 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
466
431
 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
467
432
 
497
462
                  [_AM_DEPENDENCIES(CXX)],
498
463
                  [define([AC_PROG_CXX],
499
464
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
 
465
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
 
466
                  [_AM_DEPENDENCIES(OBJC)],
 
467
                  [define([AC_PROG_OBJC],
 
468
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
500
469
])
501
470
])
502
471
 
521
490
done
522
491
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
523
492
 
 
493
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
494
#
 
495
# This file is free software; the Free Software Foundation
 
496
# gives unlimited permission to copy and/or distribute it,
 
497
# with or without modifications, as long as this notice is preserved.
 
498
 
524
499
# AM_PROG_INSTALL_SH
525
500
# ------------------
526
501
# Define $install_sh.
527
 
 
528
 
# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
529
 
 
530
 
# This program is free software; you can redistribute it and/or modify
531
 
# it under the terms of the GNU General Public License as published by
532
 
# the Free Software Foundation; either version 2, or (at your option)
533
 
# any later version.
534
 
 
535
 
# This program is distributed in the hope that it will be useful,
536
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
537
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
538
 
# GNU General Public License for more details.
539
 
 
540
 
# You should have received a copy of the GNU General Public License
541
 
# along with this program; if not, write to the Free Software
542
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
543
 
# 02111-1307, USA.
544
 
 
545
502
AC_DEFUN([AM_PROG_INSTALL_SH],
546
503
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
547
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
504
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
548
505
AC_SUBST(install_sh)])
549
506
 
550
 
#                                                          -*- Autoconf -*-
551
 
# Copyright (C) 2003  Free Software Foundation, Inc.
552
 
 
553
 
# This program is free software; you can redistribute it and/or modify
554
 
# it under the terms of the GNU General Public License as published by
555
 
# the Free Software Foundation; either version 2, or (at your option)
556
 
# any later version.
557
 
 
558
 
# This program is distributed in the hope that it will be useful,
559
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
560
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
561
 
# GNU General Public License for more details.
562
 
 
563
 
# You should have received a copy of the GNU General Public License
564
 
# along with this program; if not, write to the Free Software
565
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
566
 
# 02111-1307, USA.
567
 
 
568
 
# serial 1
 
507
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
 
508
#
 
509
# This file is free software; the Free Software Foundation
 
510
# gives unlimited permission to copy and/or distribute it,
 
511
# with or without modifications, as long as this notice is preserved.
 
512
 
 
513
# serial 2
569
514
 
570
515
# Check whether the underlying file-system supports filenames
571
516
# with a leading dot.  For instance MS-DOS doesn't.
580
525
rmdir .tst 2>/dev/null
581
526
AC_SUBST([am__leading_dot])])
582
527
 
583
 
# Check to see how 'make' treats includes.      -*- Autoconf -*-
584
 
 
585
 
# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
586
 
 
587
 
# This program is free software; you can redistribute it and/or modify
588
 
# it under the terms of the GNU General Public License as published by
589
 
# the Free Software Foundation; either version 2, or (at your option)
590
 
# any later version.
591
 
 
592
 
# This program is distributed in the hope that it will be useful,
593
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
594
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
595
 
# GNU General Public License for more details.
596
 
 
597
 
# You should have received a copy of the GNU General Public License
598
 
# along with this program; if not, write to the Free Software
599
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
600
 
# 02111-1307, USA.
601
 
 
602
 
# serial 2
 
528
# Check to see how 'make' treats includes.                  -*- Autoconf -*-
 
529
 
 
530
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
531
#
 
532
# This file is free software; the Free Software Foundation
 
533
# gives unlimited permission to copy and/or distribute it,
 
534
# with or without modifications, as long as this notice is preserved.
 
535
 
 
536
# serial 3
603
537
 
604
538
# AM_MAKE_INCLUDE()
605
539
# -----------------
643
577
rm -f confinc confmf
644
578
])
645
579
 
646
 
#  -*- Autoconf -*-
647
 
 
648
 
 
649
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
650
 
 
651
 
# This program is free software; you can redistribute it and/or modify
652
 
# it under the terms of the GNU General Public License as published by
653
 
# the Free Software Foundation; either version 2, or (at your option)
654
 
# any later version.
655
 
 
656
 
# This program is distributed in the hope that it will be useful,
657
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
658
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
659
 
# GNU General Public License for more details.
660
 
 
661
 
# You should have received a copy of the GNU General Public License
662
 
# along with this program; if not, write to the Free Software
663
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
664
 
# 02111-1307, USA.
665
 
 
666
 
# serial 3
 
580
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
 
581
 
 
582
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
 
583
# Free Software Foundation, Inc.
 
584
#
 
585
# This file is free software; the Free Software Foundation
 
586
# gives unlimited permission to copy and/or distribute it,
 
587
# with or without modifications, as long as this notice is preserved.
 
588
 
 
589
# serial 5
667
590
 
668
591
# AM_MISSING_PROG(NAME, PROGRAM)
669
592
# ------------------------------
679
602
# If it does, set am_missing_run to use it, otherwise, to nothing.
680
603
AC_DEFUN([AM_MISSING_HAS_RUN],
681
604
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
 
605
AC_REQUIRE_AUX_FILE([missing])dnl
682
606
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
683
607
# Use eval to expand $SHELL
684
608
if eval "$MISSING --run true"; then
689
613
fi
690
614
])
691
615
 
 
616
# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
 
617
#
 
618
# This file is free software; the Free Software Foundation
 
619
# gives unlimited permission to copy and/or distribute it,
 
620
# with or without modifications, as long as this notice is preserved.
 
621
 
692
622
# AM_PROG_MKDIR_P
693
623
# ---------------
694
 
# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
695
 
 
696
 
# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
697
 
 
698
 
# This program is free software; you can redistribute it and/or modify
699
 
# it under the terms of the GNU General Public License as published by
700
 
# the Free Software Foundation; either version 2, or (at your option)
701
 
# any later version.
702
 
 
703
 
# This program is distributed in the hope that it will be useful,
704
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
705
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
706
 
# GNU General Public License for more details.
707
 
 
708
 
# You should have received a copy of the GNU General Public License
709
 
# along with this program; if not, write to the Free Software
710
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
711
 
# 02111-1307, USA.
712
 
 
713
 
# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
714
 
# created by `make install' are always world readable, even if the
715
 
# installer happens to have an overly restrictive umask (e.g. 077).
716
 
# This was a mistake.  There are at least two reasons why we must not
717
 
# use `-m 0755':
718
 
#   - it causes special bits like SGID to be ignored,
719
 
#   - it may be too restrictive (some setups expect 775 directories).
720
 
#
721
 
# Do not use -m 0755 and let people choose whatever they expect by
722
 
# setting umask.
723
 
#
724
 
# We cannot accept any implementation of `mkdir' that recognizes `-p'.
725
 
# Some implementations (such as Solaris 8's) are not thread-safe: if a
726
 
# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
727
 
# concurrently, both version can detect that a/ is missing, but only
728
 
# one can create it and the other will error out.  Consequently we
729
 
# restrict ourselves to GNU make (using the --version option ensures
730
 
# this.)
 
624
# Check for `mkdir -p'.
731
625
AC_DEFUN([AM_PROG_MKDIR_P],
732
 
[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
733
 
  # We used to keeping the `.' as first argument, in order to
734
 
  # allow $(mkdir_p) to be used without argument.  As in
735
 
  #   $(mkdir_p) $(somedir)
736
 
  # where $(somedir) is conditionally defined.  However this is wrong
737
 
  # for two reasons:
738
 
  #  1. if the package is installed by a user who cannot write `.'
739
 
  #     make install will fail,
740
 
  #  2. the above comment should most certainly read
741
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
742
 
  #     so it does not work when $(somedir) is undefined and
743
 
  #     $(DESTDIR) is not.
744
 
  #  To support the latter case, we have to write
745
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
746
 
  #  so the `.' trick is pointless.
747
 
  mkdir_p='mkdir -p --'
748
 
else
749
 
  # On NextStep and OpenStep, the `mkdir' command does not
750
 
  # recognize any option.  It will interpret all options as
751
 
  # directories to create, and then abort because `.' already
752
 
  # exists.
753
 
  for d in ./-p ./--version;
754
 
  do
755
 
    test -d $d && rmdir $d
756
 
  done
757
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
758
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
759
 
    mkdir_p='$(mkinstalldirs)'
760
 
  else
761
 
    mkdir_p='$(install_sh) -d'
762
 
  fi
763
 
fi
764
 
AC_SUBST([mkdir_p])])
765
 
 
766
 
# Helper functions for option handling.                    -*- Autoconf -*-
767
 
 
768
 
# Copyright (C) 2001, 2002, 2003  Free Software Foundation, Inc.
769
 
 
770
 
# This program is free software; you can redistribute it and/or modify
771
 
# it under the terms of the GNU General Public License as published by
772
 
# the Free Software Foundation; either version 2, or (at your option)
773
 
# any later version.
774
 
 
775
 
# This program is distributed in the hope that it will be useful,
776
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
777
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
778
 
# GNU General Public License for more details.
779
 
 
780
 
# You should have received a copy of the GNU General Public License
781
 
# along with this program; if not, write to the Free Software
782
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
783
 
# 02111-1307, USA.
784
 
 
785
 
# serial 2
 
626
[AC_PREREQ([2.60])dnl
 
627
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
 
628
dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
 
629
dnl while keeping a definition of mkdir_p for backward compatibility.
 
630
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
 
631
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
 
632
dnl Makefile.ins that do not define MKDIR_P, so we do our own
 
633
dnl adjustment using top_builddir (which is defined more often than
 
634
dnl MKDIR_P).
 
635
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
 
636
case $mkdir_p in
 
637
  [[\\/$]]* | ?:[[\\/]]*) ;;
 
638
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
639
esac
 
640
])
 
641
 
 
642
# Helper functions for option handling.                     -*- Autoconf -*-
 
643
 
 
644
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
645
#
 
646
# This file is free software; the Free Software Foundation
 
647
# gives unlimited permission to copy and/or distribute it,
 
648
# with or without modifications, as long as this notice is preserved.
 
649
 
 
650
# serial 3
786
651
 
787
652
# _AM_MANGLE_OPTION(NAME)
788
653
# -----------------------
807
672
AC_DEFUN([_AM_IF_OPTION],
808
673
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
809
674
 
810
 
#
811
 
# Check to make sure that the build environment is sane.
812
 
#
813
 
 
814
 
# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
815
 
 
816
 
# This program is free software; you can redistribute it and/or modify
817
 
# it under the terms of the GNU General Public License as published by
818
 
# the Free Software Foundation; either version 2, or (at your option)
819
 
# any later version.
820
 
 
821
 
# This program is distributed in the hope that it will be useful,
822
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
823
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
824
 
# GNU General Public License for more details.
825
 
 
826
 
# You should have received a copy of the GNU General Public License
827
 
# along with this program; if not, write to the Free Software
828
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
829
 
# 02111-1307, USA.
830
 
 
831
 
# serial 3
 
675
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
 
676
 
 
677
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
 
678
# Free Software Foundation, Inc.
 
679
#
 
680
# This file is free software; the Free Software Foundation
 
681
# gives unlimited permission to copy and/or distribute it,
 
682
# with or without modifications, as long as this notice is preserved.
 
683
 
 
684
# serial 4
832
685
 
833
686
# AM_SANITY_CHECK
834
687
# ---------------
871
724
fi
872
725
AC_MSG_RESULT(yes)])
873
726
 
 
727
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
728
#
 
729
# This file is free software; the Free Software Foundation
 
730
# gives unlimited permission to copy and/or distribute it,
 
731
# with or without modifications, as long as this notice is preserved.
 
732
 
874
733
# AM_PROG_INSTALL_STRIP
875
 
 
876
 
# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
877
 
 
878
 
# This program is free software; you can redistribute it and/or modify
879
 
# it under the terms of the GNU General Public License as published by
880
 
# the Free Software Foundation; either version 2, or (at your option)
881
 
# any later version.
882
 
 
883
 
# This program is distributed in the hope that it will be useful,
884
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
885
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
886
 
# GNU General Public License for more details.
887
 
 
888
 
# You should have received a copy of the GNU General Public License
889
 
# along with this program; if not, write to the Free Software
890
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
891
 
# 02111-1307, USA.
892
 
 
 
734
# ---------------------
893
735
# One issue with vendor `install' (even GNU) is that you can't
894
736
# specify the program used to strip binaries.  This is especially
895
737
# annoying in cross-compiling environments, where the build's strip
907
749
if test "$cross_compiling" != no; then
908
750
  AC_CHECK_TOOL([STRIP], [strip], :)
909
751
fi
910
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
752
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
911
753
AC_SUBST([INSTALL_STRIP_PROGRAM])])
912
754
 
 
755
# Copyright (C) 2006  Free Software Foundation, Inc.
 
756
#
 
757
# This file is free software; the Free Software Foundation
 
758
# gives unlimited permission to copy and/or distribute it,
 
759
# with or without modifications, as long as this notice is preserved.
 
760
 
 
761
# _AM_SUBST_NOTMAKE(VARIABLE)
 
762
# ---------------------------
 
763
# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.
 
764
# This macro is traced by Automake.
 
765
AC_DEFUN([_AM_SUBST_NOTMAKE])
 
766
 
913
767
# Check how to create a tarball.                            -*- Autoconf -*-
914
768
 
915
 
# Copyright (C) 2004  Free Software Foundation, Inc.
916
 
 
917
 
# This program is free software; you can redistribute it and/or modify
918
 
# it under the terms of the GNU General Public License as published by
919
 
# the Free Software Foundation; either version 2, or (at your option)
920
 
# any later version.
921
 
 
922
 
# This program is distributed in the hope that it will be useful,
923
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
924
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
925
 
# GNU General Public License for more details.
926
 
 
927
 
# You should have received a copy of the GNU General Public License
928
 
# along with this program; if not, write to the Free Software
929
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
930
 
# 02111-1307, USA.
931
 
 
932
 
# serial 1
933
 
 
 
769
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
 
770
#
 
771
# This file is free software; the Free Software Foundation
 
772
# gives unlimited permission to copy and/or distribute it,
 
773
# with or without modifications, as long as this notice is preserved.
 
774
 
 
775
# serial 2
934
776
 
935
777
# _AM_PROG_TAR(FORMAT)
936
778
# --------------------