~ubuntu-branches/ubuntu/vivid/fyre/vivid

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Haas
  • Date: 2006-10-22 20:33:21 UTC
  • mfrom: (2.1.1 etch)
  • Revision ID: james.westby@ubuntu.com-20061022203321-xlc2dvrxbptdojtf
Tags: 1.0.1-1
* New upstream release
* Patch from Sebastian Dröge included to avoid libcairo dependency.

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.9.6 -*- 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
 
 
15
 
dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
16
 
dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
17
 
dnl also defines GSTUFF_PKG_ERRORS on error
18
 
AC_DEFUN(PKG_CHECK_MODULES, [
19
 
  succeeded=no
20
 
 
21
 
  if test -z "$PKG_CONFIG"; then
22
 
    AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
23
 
  fi
24
 
 
25
 
  if test "$PKG_CONFIG" = "no" ; then
26
 
     echo "*** The pkg-config script could not be found. Make sure it is"
27
 
     echo "*** in your path, or set the PKG_CONFIG environment variable"
28
 
     echo "*** to the full path to pkg-config."
29
 
     echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
30
 
  else
31
 
     PKG_CONFIG_MIN_VERSION=0.9.0
32
 
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
33
 
        AC_MSG_CHECKING(for $2)
34
 
 
35
 
        if $PKG_CONFIG --exists "$2" ; then
36
 
            AC_MSG_RESULT(yes)
37
 
            succeeded=yes
38
 
 
39
 
            AC_MSG_CHECKING($1_CFLAGS)
40
 
            $1_CFLAGS=`$PKG_CONFIG --cflags "$2"`
41
 
            AC_MSG_RESULT($$1_CFLAGS)
42
 
 
43
 
            AC_MSG_CHECKING($1_LIBS)
44
 
            $1_LIBS=`$PKG_CONFIG --libs "$2"`
45
 
            AC_MSG_RESULT($$1_LIBS)
46
 
        else
47
 
            $1_CFLAGS=""
48
 
            $1_LIBS=""
49
 
            ## If we have a custom action on failure, don't print errors, but 
50
 
            ## do set a variable so people can do so.
51
 
            $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
52
 
            ifelse([$4], ,echo $$1_PKG_ERRORS,)
 
14
# pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
 
15
 
16
# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
 
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 of the License, or
 
21
# (at your option) any later version.
 
22
#
 
23
# This program is distributed in the hope that it will be useful, but
 
24
# WITHOUT ANY WARRANTY; without even the implied warranty of
 
25
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
26
# 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 02111-1307, USA.
 
31
#
 
32
# As a special exception to the GNU General Public License, if you
 
33
# distribute this file as part of a program that contains a
 
34
# configuration script generated by Autoconf, you may include it under
 
35
# the same distribution terms that you use for the rest of that program.
 
36
 
 
37
# PKG_PROG_PKG_CONFIG([MIN-VERSION])
 
38
# ----------------------------------
 
39
AC_DEFUN([PKG_PROG_PKG_CONFIG],
 
40
[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
 
41
m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
 
42
AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
 
43
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
44
        AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
 
45
fi
 
46
if test -n "$PKG_CONFIG"; then
 
47
        _pkg_min_version=m4_default([$1], [0.9.0])
 
48
        AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
 
49
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
50
                AC_MSG_RESULT([yes])
 
51
        else
 
52
                AC_MSG_RESULT([no])
 
53
                PKG_CONFIG=""
 
54
        fi
 
55
                
 
56
fi[]dnl
 
57
])# PKG_PROG_PKG_CONFIG
 
58
 
 
59
# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
 
60
#
 
61
# Check to see whether a particular set of modules exists.  Similar
 
62
# to PKG_CHECK_MODULES(), but does not set variables or print errors.
 
63
#
 
64
#
 
65
# Similar to PKG_CHECK_MODULES, make sure that the first instance of
 
66
# this or PKG_CHECK_MODULES is called, or make sure to call
 
67
# PKG_CHECK_EXISTS manually
 
68
# --------------------------------------------------------------
 
69
AC_DEFUN([PKG_CHECK_EXISTS],
 
70
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
 
71
if test -n "$PKG_CONFIG" && \
 
72
    AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
 
73
  m4_ifval([$2], [$2], [:])
 
74
m4_ifvaln([$3], [else
 
75
  $3])dnl
 
76
fi])
 
77
 
 
78
 
 
79
# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
 
80
# ---------------------------------------------
 
81
m4_define([_PKG_CONFIG],
 
82
[if test -n "$PKG_CONFIG"; then
 
83
    if test -n "$$1"; then
 
84
        pkg_cv_[]$1="$$1"
 
85
    else
 
86
        PKG_CHECK_EXISTS([$3],
 
87
                         [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
 
88
                         [pkg_failed=yes])
 
89
    fi
 
90
else
 
91
        pkg_failed=untried
 
92
fi[]dnl
 
93
])# _PKG_CONFIG
 
94
 
 
95
# _PKG_SHORT_ERRORS_SUPPORTED
 
96
# -----------------------------
 
97
AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
 
98
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
 
99
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
100
        _pkg_short_errors_supported=yes
 
101
else
 
102
        _pkg_short_errors_supported=no
 
103
fi[]dnl
 
104
])# _PKG_SHORT_ERRORS_SUPPORTED
 
105
 
 
106
 
 
107
# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
 
108
# [ACTION-IF-NOT-FOUND])
 
109
#
 
110
#
 
111
# Note that if there is a possibility the first call to
 
112
# PKG_CHECK_MODULES might not happen, you should be sure to include an
 
113
# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
 
114
#
 
115
#
 
116
# --------------------------------------------------------------
 
117
AC_DEFUN([PKG_CHECK_MODULES],
 
118
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
 
119
AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
 
120
AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
 
121
 
 
122
pkg_failed=no
 
123
AC_MSG_CHECKING([for $1])
 
124
 
 
125
_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
 
126
_PKG_CONFIG([$1][_LIBS], [libs], [$2])
 
127
 
 
128
m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
 
129
and $1[]_LIBS to avoid the need to call pkg-config.
 
130
See the pkg-config man page for more details.])
 
131
 
 
132
if test $pkg_failed = yes; then
 
133
        _PKG_SHORT_ERRORS_SUPPORTED
 
134
        if test $_pkg_short_errors_supported = yes; then
 
135
                $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
 
136
        else 
 
137
                $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
53
138
        fi
54
 
 
55
 
        AC_SUBST($1_CFLAGS)
56
 
        AC_SUBST($1_LIBS)
57
 
     else
58
 
        echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
59
 
        echo "*** See http://www.freedesktop.org/software/pkgconfig"
60
 
     fi
61
 
  fi
62
 
 
63
 
  if test $succeeded = yes; then
64
 
     ifelse([$3], , :, [$3])
65
 
  else
66
 
     ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4])
67
 
  fi
68
 
])
69
 
 
70
 
 
71
 
 
72
 
#                                                        -*- Autoconf -*-
73
 
# Copyright (C) 2002, 2003  Free Software Foundation, Inc.
74
 
# Generated from amversion.in; do not edit by hand.
75
 
 
76
 
# This program is free software; you can redistribute it and/or modify
77
 
# it under the terms of the GNU General Public License as published by
78
 
# the Free Software Foundation; either version 2, or (at your option)
79
 
# any later version.
80
 
 
81
 
# This program is distributed in the hope that it will be useful,
82
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
83
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
84
 
# GNU General Public License for more details.
85
 
 
86
 
# You should have received a copy of the GNU General Public License
87
 
# along with this program; if not, write to the Free Software
88
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
139
        # Put the nasty error message in config.log where it belongs
 
140
        echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
 
141
 
 
142
        ifelse([$4], , [AC_MSG_ERROR(dnl
 
143
[Package requirements ($2) were not met:
 
144
 
 
145
$$1_PKG_ERRORS
 
146
 
 
147
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
148
installed software in a non-standard prefix.
 
149
 
 
150
_PKG_TEXT
 
151
])],
 
152
                [AC_MSG_RESULT([no])
 
153
                $4])
 
154
elif test $pkg_failed = untried; then
 
155
        ifelse([$4], , [AC_MSG_FAILURE(dnl
 
156
[The pkg-config script could not be found or is too old.  Make sure it
 
157
is in your PATH or set the PKG_CONFIG environment variable to the full
 
158
path to pkg-config.
 
159
 
 
160
_PKG_TEXT
 
161
 
 
162
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.])],
 
163
                [$4])
 
164
else
 
165
        $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
 
166
        $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
 
167
        AC_MSG_RESULT([yes])
 
168
        ifelse([$3], , :, [$3])
 
169
fi[]dnl
 
170
])# PKG_CHECK_MODULES
 
171
 
 
172
# Copyright (C) 2002, 2003, 2005  Free Software Foundation, Inc.
 
173
#
 
174
# This file is free software; the Free Software Foundation
 
175
# gives unlimited permission to copy and/or distribute it,
 
176
# with or without modifications, as long as this notice is preserved.
89
177
 
90
178
# AM_AUTOMAKE_VERSION(VERSION)
91
179
# ----------------------------
98
186
# Call AM_AUTOMAKE_VERSION so it can be traced.
99
187
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
100
188
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
101
 
         [AM_AUTOMAKE_VERSION([1.9.4])])
102
 
 
103
 
# AM_AUX_DIR_EXPAND
104
 
 
105
 
# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
106
 
 
107
 
# This program is free software; you can redistribute it and/or modify
108
 
# it under the terms of the GNU General Public License as published by
109
 
# the Free Software Foundation; either version 2, or (at your option)
110
 
# any later version.
111
 
 
112
 
# This program is distributed in the hope that it will be useful,
113
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
114
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
115
 
# GNU General Public License for more details.
116
 
 
117
 
# You should have received a copy of the GNU General Public License
118
 
# along with this program; if not, write to the Free Software
119
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
120
 
# 02111-1307, USA.
 
189
         [AM_AUTOMAKE_VERSION([1.9.6])])
 
190
 
 
191
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
 
192
 
 
193
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
194
#
 
195
# This file is free software; the Free Software Foundation
 
196
# gives unlimited permission to copy and/or distribute it,
 
197
# with or without modifications, as long as this notice is preserved.
121
198
 
122
199
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
123
200
# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
164
241
am_aux_dir=`cd $ac_aux_dir && pwd`
165
242
])
166
243
 
167
 
# AM_CONDITIONAL                                              -*- Autoconf -*-
168
 
 
169
 
# Copyright (C) 1997, 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
170
 
 
171
 
# This program is free software; you can redistribute it and/or modify
172
 
# it under the terms of the GNU General Public License as published by
173
 
# the Free Software Foundation; either version 2, or (at your option)
174
 
# any later version.
175
 
 
176
 
# This program is distributed in the hope that it will be useful,
177
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
178
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
179
 
# GNU General Public License for more details.
180
 
 
181
 
# You should have received a copy of the GNU General Public License
182
 
# along with this program; if not, write to the Free Software
183
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
184
 
# 02111-1307, USA.
185
 
 
186
 
# serial 6
 
244
# AM_CONDITIONAL                                            -*- Autoconf -*-
 
245
 
 
246
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
 
247
# Free Software Foundation, Inc.
 
248
#
 
249
# This file is free software; the Free Software Foundation
 
250
# gives unlimited permission to copy and/or distribute it,
 
251
# with or without modifications, as long as this notice is preserved.
 
252
 
 
253
# serial 7
187
254
 
188
255
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
189
256
# -------------------------------------
207
274
Usually this means the macro was only invoked conditionally.]])
208
275
fi])])
209
276
 
210
 
# serial 7                                              -*- Autoconf -*-
211
277
 
212
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
 
278
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
213
279
# Free Software Foundation, Inc.
214
 
 
215
 
# This program is free software; you can redistribute it and/or modify
216
 
# it under the terms of the GNU General Public License as published by
217
 
# the Free Software Foundation; either version 2, or (at your option)
218
 
# any later version.
219
 
 
220
 
# This program is distributed in the hope that it will be useful,
221
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
222
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
223
 
# GNU General Public License for more details.
224
 
 
225
 
# You should have received a copy of the GNU General Public License
226
 
# along with this program; if not, write to the Free Software
227
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
228
 
# 02111-1307, USA.
229
 
 
 
280
#
 
281
# This file is free software; the Free Software Foundation
 
282
# gives unlimited permission to copy and/or distribute it,
 
283
# with or without modifications, as long as this notice is preserved.
 
284
 
 
285
# serial 8
230
286
 
231
287
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
232
288
# written in clear, in which case automake, when reading aclocal.m4,
235
291
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
236
292
 
237
293
 
238
 
 
239
294
# _AM_DEPENDENCIES(NAME)
240
295
# ----------------------
241
296
# See how the compiler implements dependency checking.
375
430
AC_SUBST([AMDEPBACKSLASH])
376
431
])
377
432
 
378
 
# Generate code to set up dependency tracking.   -*- Autoconf -*-
379
 
 
380
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
381
 
#   Free Software Foundation, Inc.
382
 
 
383
 
# This program is free software; you can redistribute it and/or modify
384
 
# it under the terms of the GNU General Public License as published by
385
 
# the Free Software Foundation; either version 2, or (at your option)
386
 
# any later version.
387
 
 
388
 
# This program is distributed in the hope that it will be useful,
389
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
390
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
391
 
# GNU General Public License for more details.
392
 
 
393
 
# You should have received a copy of the GNU General Public License
394
 
# along with this program; if not, write to the Free Software
395
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
396
 
# 02111-1307, USA.
397
 
 
398
 
#serial 2
 
433
# Generate code to set up dependency tracking.              -*- Autoconf -*-
 
434
 
 
435
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
436
# Free Software Foundation, Inc.
 
437
#
 
438
# This file is free software; the Free Software Foundation
 
439
# gives unlimited permission to copy and/or distribute it,
 
440
# with or without modifications, as long as this notice is preserved.
 
441
 
 
442
#serial 3
399
443
 
400
444
# _AM_OUTPUT_DEPENDENCY_COMMANDS
401
445
# ------------------------------
454
498
     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
455
499
])
456
500
 
457
 
# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
458
 
 
459
 
# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
460
 
 
461
 
# This program is free software; you can redistribute it and/or modify
462
 
# it under the terms of the GNU General Public License as published by
463
 
# the Free Software Foundation; either version 2, or (at your option)
464
 
# any later version.
465
 
 
466
 
# This program is distributed in the hope that it will be useful,
467
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
468
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
469
 
# GNU General Public License for more details.
470
 
 
471
 
# You should have received a copy of the GNU General Public License
472
 
# along with this program; if not, write to the Free Software
473
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
474
 
# 02111-1307, USA.
475
 
 
476
 
# serial 7
 
501
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
 
502
# Free Software Foundation, Inc.
 
503
#
 
504
# This file is free software; the Free Software Foundation
 
505
# gives unlimited permission to copy and/or distribute it,
 
506
# with or without modifications, as long as this notice is preserved.
 
507
 
 
508
# serial 8
477
509
 
478
510
# AM_CONFIG_HEADER is obsolete.  It has been replaced by AC_CONFIG_HEADERS.
479
511
AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
480
512
 
481
 
# Do all the work for Automake.                            -*- Autoconf -*-
482
 
 
483
 
# This macro actually does too much some checks are only needed if
 
513
# Do all the work for Automake.                             -*- Autoconf -*-
 
514
 
 
515
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
516
# Free Software Foundation, Inc.
 
517
#
 
518
# This file is free software; the Free Software Foundation
 
519
# gives unlimited permission to copy and/or distribute it,
 
520
# with or without modifications, as long as this notice is preserved.
 
521
 
 
522
# serial 12
 
523
 
 
524
# This macro actually does too much.  Some checks are only needed if
484
525
# your package does certain things.  But this isn't really a big deal.
485
526
 
486
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
487
 
# Free Software Foundation, Inc.
488
 
 
489
 
# This program is free software; you can redistribute it and/or modify
490
 
# it under the terms of the GNU General Public License as published by
491
 
# the Free Software Foundation; either version 2, or (at your option)
492
 
# any later version.
493
 
 
494
 
# This program is distributed in the hope that it will be useful,
495
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
496
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
497
 
# GNU General Public License for more details.
498
 
 
499
 
# You should have received a copy of the GNU General Public License
500
 
# along with this program; if not, write to the Free Software
501
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
502
 
# 02111-1307, USA.
503
 
 
504
 
# serial 11
505
 
 
506
527
# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
507
528
# AM_INIT_AUTOMAKE([OPTIONS])
508
529
# -----------------------------------------------
603
624
done
604
625
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
605
626
 
 
627
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
628
#
 
629
# This file is free software; the Free Software Foundation
 
630
# gives unlimited permission to copy and/or distribute it,
 
631
# with or without modifications, as long as this notice is preserved.
 
632
 
606
633
# AM_PROG_INSTALL_SH
607
634
# ------------------
608
635
# Define $install_sh.
609
 
 
610
 
# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
611
 
 
612
 
# This program is free software; you can redistribute it and/or modify
613
 
# it under the terms of the GNU General Public License as published by
614
 
# the Free Software Foundation; either version 2, or (at your option)
615
 
# any later version.
616
 
 
617
 
# This program is distributed in the hope that it will be useful,
618
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
619
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
620
 
# GNU General Public License for more details.
621
 
 
622
 
# You should have received a copy of the GNU General Public License
623
 
# along with this program; if not, write to the Free Software
624
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
625
 
# 02111-1307, USA.
626
 
 
627
636
AC_DEFUN([AM_PROG_INSTALL_SH],
628
637
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
629
638
install_sh=${install_sh-"$am_aux_dir/install-sh"}
630
639
AC_SUBST(install_sh)])
631
640
 
632
 
#                                                          -*- Autoconf -*-
633
 
# Copyright (C) 2003  Free Software Foundation, Inc.
634
 
 
635
 
# This program is free software; you can redistribute it and/or modify
636
 
# it under the terms of the GNU General Public License as published by
637
 
# the Free Software Foundation; either version 2, or (at your option)
638
 
# any later version.
639
 
 
640
 
# This program is distributed in the hope that it will be useful,
641
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
642
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
643
 
# GNU General Public License for more details.
644
 
 
645
 
# You should have received a copy of the GNU General Public License
646
 
# along with this program; if not, write to the Free Software
647
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
648
 
# 02111-1307, USA.
649
 
 
650
 
# serial 1
 
641
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
 
642
#
 
643
# This file is free software; the Free Software Foundation
 
644
# gives unlimited permission to copy and/or distribute it,
 
645
# with or without modifications, as long as this notice is preserved.
 
646
 
 
647
# serial 2
651
648
 
652
649
# Check whether the underlying file-system supports filenames
653
650
# with a leading dot.  For instance MS-DOS doesn't.
662
659
rmdir .tst 2>/dev/null
663
660
AC_SUBST([am__leading_dot])])
664
661
 
665
 
# Check to see how 'make' treats includes.      -*- Autoconf -*-
666
 
 
667
 
# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
668
 
 
669
 
# This program is free software; you can redistribute it and/or modify
670
 
# it under the terms of the GNU General Public License as published by
671
 
# the Free Software Foundation; either version 2, or (at your option)
672
 
# any later version.
673
 
 
674
 
# This program is distributed in the hope that it will be useful,
675
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
676
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
677
 
# GNU General Public License for more details.
678
 
 
679
 
# You should have received a copy of the GNU General Public License
680
 
# along with this program; if not, write to the Free Software
681
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
682
 
# 02111-1307, USA.
683
 
 
684
 
# serial 2
 
662
# Check to see how 'make' treats includes.                  -*- Autoconf -*-
 
663
 
 
664
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
665
#
 
666
# This file is free software; the Free Software Foundation
 
667
# gives unlimited permission to copy and/or distribute it,
 
668
# with or without modifications, as long as this notice is preserved.
 
669
 
 
670
# serial 3
685
671
 
686
672
# AM_MAKE_INCLUDE()
687
673
# -----------------
725
711
rm -f confinc confmf
726
712
])
727
713
 
728
 
#  -*- Autoconf -*-
729
 
 
730
 
 
731
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
732
 
 
733
 
# This program is free software; you can redistribute it and/or modify
734
 
# it under the terms of the GNU General Public License as published by
735
 
# the Free Software Foundation; either version 2, or (at your option)
736
 
# any later version.
737
 
 
738
 
# This program is distributed in the hope that it will be useful,
739
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
740
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
741
 
# GNU General Public License for more details.
742
 
 
743
 
# You should have received a copy of the GNU General Public License
744
 
# along with this program; if not, write to the Free Software
745
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
746
 
# 02111-1307, USA.
747
 
 
748
 
# serial 3
 
714
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
 
715
 
 
716
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
 
717
# Free Software Foundation, Inc.
 
718
#
 
719
# This file is free software; the Free Software Foundation
 
720
# gives unlimited permission to copy and/or distribute it,
 
721
# with or without modifications, as long as this notice is preserved.
 
722
 
 
723
# serial 4
749
724
 
750
725
# AM_MISSING_PROG(NAME, PROGRAM)
751
726
# ------------------------------
771
746
fi
772
747
])
773
748
 
 
749
# Copyright (C) 2003, 2004, 2005  Free Software Foundation, Inc.
 
750
#
 
751
# This file is free software; the Free Software Foundation
 
752
# gives unlimited permission to copy and/or distribute it,
 
753
# with or without modifications, as long as this notice is preserved.
 
754
 
774
755
# AM_PROG_MKDIR_P
775
756
# ---------------
776
757
# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
777
 
 
778
 
# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
779
 
 
780
 
# This program is free software; you can redistribute it and/or modify
781
 
# it under the terms of the GNU General Public License as published by
782
 
# the Free Software Foundation; either version 2, or (at your option)
783
 
# any later version.
784
 
 
785
 
# This program is distributed in the hope that it will be useful,
786
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
787
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
788
 
# GNU General Public License for more details.
789
 
 
790
 
# You should have received a copy of the GNU General Public License
791
 
# along with this program; if not, write to the Free Software
792
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
793
 
# 02111-1307, USA.
794
 
 
 
758
#
795
759
# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
796
760
# created by `make install' are always world readable, even if the
797
761
# installer happens to have an overly restrictive umask (e.g. 077).
845
809
fi
846
810
AC_SUBST([mkdir_p])])
847
811
 
848
 
# Helper functions for option handling.                    -*- Autoconf -*-
849
 
 
850
 
# Copyright (C) 2001, 2002, 2003  Free Software Foundation, Inc.
851
 
 
852
 
# This program is free software; you can redistribute it and/or modify
853
 
# it under the terms of the GNU General Public License as published by
854
 
# the Free Software Foundation; either version 2, or (at your option)
855
 
# any later version.
856
 
 
857
 
# This program is distributed in the hope that it will be useful,
858
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
859
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
860
 
# GNU General Public License for more details.
861
 
 
862
 
# You should have received a copy of the GNU General Public License
863
 
# along with this program; if not, write to the Free Software
864
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
865
 
# 02111-1307, USA.
866
 
 
867
 
# serial 2
 
812
# Helper functions for option handling.                     -*- Autoconf -*-
 
813
 
 
814
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
815
#
 
816
# This file is free software; the Free Software Foundation
 
817
# gives unlimited permission to copy and/or distribute it,
 
818
# with or without modifications, as long as this notice is preserved.
 
819
 
 
820
# serial 3
868
821
 
869
822
# _AM_MANGLE_OPTION(NAME)
870
823
# -----------------------
889
842
AC_DEFUN([_AM_IF_OPTION],
890
843
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
891
844
 
892
 
#
893
 
# Check to make sure that the build environment is sane.
894
 
#
895
 
 
896
 
# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc.
897
 
 
898
 
# This program is free software; you can redistribute it and/or modify
899
 
# it under the terms of the GNU General Public License as published by
900
 
# the Free Software Foundation; either version 2, or (at your option)
901
 
# any later version.
902
 
 
903
 
# This program is distributed in the hope that it will be useful,
904
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
905
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
906
 
# GNU General Public License for more details.
907
 
 
908
 
# You should have received a copy of the GNU General Public License
909
 
# along with this program; if not, write to the Free Software
910
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
911
 
# 02111-1307, USA.
912
 
 
913
 
# serial 3
 
845
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
 
846
 
 
847
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
 
848
# Free Software Foundation, Inc.
 
849
#
 
850
# This file is free software; the Free Software Foundation
 
851
# gives unlimited permission to copy and/or distribute it,
 
852
# with or without modifications, as long as this notice is preserved.
 
853
 
 
854
# serial 4
914
855
 
915
856
# AM_SANITY_CHECK
916
857
# ---------------
953
894
fi
954
895
AC_MSG_RESULT(yes)])
955
896
 
 
897
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
898
#
 
899
# This file is free software; the Free Software Foundation
 
900
# gives unlimited permission to copy and/or distribute it,
 
901
# with or without modifications, as long as this notice is preserved.
 
902
 
956
903
# AM_PROG_INSTALL_STRIP
957
 
 
958
 
# Copyright (C) 2001, 2003 Free Software Foundation, Inc.
959
 
 
960
 
# This program is free software; you can redistribute it and/or modify
961
 
# it under the terms of the GNU General Public License as published by
962
 
# the Free Software Foundation; either version 2, or (at your option)
963
 
# any later version.
964
 
 
965
 
# This program is distributed in the hope that it will be useful,
966
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
967
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
968
 
# GNU General Public License for more details.
969
 
 
970
 
# You should have received a copy of the GNU General Public License
971
 
# along with this program; if not, write to the Free Software
972
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
973
 
# 02111-1307, USA.
974
 
 
 
904
# ---------------------
975
905
# One issue with vendor `install' (even GNU) is that you can't
976
906
# specify the program used to strip binaries.  This is especially
977
907
# annoying in cross-compiling environments, where the build's strip
994
924
 
995
925
# Check how to create a tarball.                            -*- Autoconf -*-
996
926
 
997
 
# Copyright (C) 2004  Free Software Foundation, Inc.
998
 
 
999
 
# This program is free software; you can redistribute it and/or modify
1000
 
# it under the terms of the GNU General Public License as published by
1001
 
# the Free Software Foundation; either version 2, or (at your option)
1002
 
# any later version.
1003
 
 
1004
 
# This program is distributed in the hope that it will be useful,
1005
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
1006
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1007
 
# GNU General Public License for more details.
1008
 
 
1009
 
# You should have received a copy of the GNU General Public License
1010
 
# along with this program; if not, write to the Free Software
1011
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1012
 
# 02111-1307, USA.
1013
 
 
1014
 
# serial 1
1015
 
 
 
927
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
 
928
#
 
929
# This file is free software; the Free Software Foundation
 
930
# gives unlimited permission to copy and/or distribute it,
 
931
# with or without modifications, as long as this notice is preserved.
 
932
 
 
933
# serial 2
1016
934
 
1017
935
# _AM_PROG_TAR(FORMAT)
1018
936
# --------------------