~ubuntu-branches/ubuntu/wily/mobile-broadband-provider-info/wily

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Package Import Robot
  • Author(s): Bhavani Shankar, Bhavani Shankar, John Paul Adrian Glaubitz
  • Date: 2014-03-17 23:21:28 UTC
  • mfrom: (1.3.13)
  • Revision ID: package-import@ubuntu.com-20140317232128-zvw7dc4byf02hdhh
Tags: 20140317-1
[Bhavani Shankar]
* Merge upstream version 20140317 from git:
  - Add MMS information.
  - README: Update link to correct documentation.
  - KG: Add balance-check code for Beeline (Kyrgyzstan).
  - US: Add "fast.t-mobile.com" APN for T-Mobile.
  - CZ: Add O2 prepaid plans (like NA!VYBER).
  - AR: Personal Argentina: Merge 2 APNs into same provider.
  - AR: Movistar Argentina: Add 'Internet' credentials to APN.
  - AR: Movistar Argentina: Provide name for the WAP APN.
  - GL: Add Tele Greenland A/S support.
  - CZ: Add balance check ussd code for vodafone.cz.
  - SD: Update balance-check and balance-top-up for Zain Sudan.
  - MD: Add Moldovan provider "Unité" and remove "Eventis".
  - US: Add "pta" APN for AT&T.
* Bumping up standards in debian/control
* Updating the year in debian/copyright

[John Paul Adrian Glaubitz]
* Clean up debian/changelog.
* Update upstream homepage in debian/control and debian/copyright.
* Bump debhelper version in debian/control and debian/compat to 9.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.11.6 -*- Autoconf -*-
2
 
 
3
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
 
# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
5
 
# Inc.
 
1
# generated automatically by aclocal 1.13.3 -*- Autoconf -*-
 
2
 
 
3
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
 
4
 
6
5
# This file is free software; the Free Software Foundation
7
6
# gives unlimited permission to copy and/or distribute it,
8
7
# with or without modifications, as long as this notice is preserved.
12
11
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13
12
# PARTICULAR PURPOSE.
14
13
 
 
14
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
15
15
m4_ifndef([AC_AUTOCONF_VERSION],
16
16
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
17
17
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
18
18
[m4_warning([this file was generated for autoconf 2.69.
19
19
You have another version of autoconf.  It may work, but is not guaranteed to.
20
20
If you have problems, you may need to regenerate the build system entirely.
21
 
To do so, use the procedure documented by the package, typically `autoreconf'.])])
 
21
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
22
22
 
23
 
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
24
 
# Foundation, Inc.
 
23
# Copyright (C) 2002-2013 Free Software Foundation, Inc.
25
24
#
26
25
# This file is free software; the Free Software Foundation
27
26
# gives unlimited permission to copy and/or distribute it,
28
27
# with or without modifications, as long as this notice is preserved.
29
28
 
30
 
# serial 1
31
 
 
32
29
# AM_AUTOMAKE_VERSION(VERSION)
33
30
# ----------------------------
34
31
# Automake X.Y traces this macro to ensure aclocal.m4 has been
35
32
# generated from the m4 files accompanying Automake X.Y.
36
33
# (This private macro should not be called outside this file.)
37
34
AC_DEFUN([AM_AUTOMAKE_VERSION],
38
 
[am__api_version='1.11'
 
35
[am__api_version='1.13'
39
36
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
40
37
dnl require some minimum version.  Point them to the right macro.
41
 
m4_if([$1], [1.11.6], [],
 
38
m4_if([$1], [1.13.3], [],
42
39
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
43
40
])
44
41
 
54
51
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
55
52
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
56
53
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
57
 
[AM_AUTOMAKE_VERSION([1.11.6])dnl
 
54
[AM_AUTOMAKE_VERSION([1.13.3])dnl
58
55
m4_ifndef([AC_AUTOCONF_VERSION],
59
56
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
60
57
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
61
58
 
62
59
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
63
60
 
64
 
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
 
61
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
65
62
#
66
63
# This file is free software; the Free Software Foundation
67
64
# gives unlimited permission to copy and/or distribute it,
68
65
# with or without modifications, as long as this notice is preserved.
69
66
 
70
 
# serial 1
71
 
 
72
67
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
73
 
# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
74
 
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
 
68
# $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to
 
69
# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
75
70
#
76
71
# Of course, Automake must honor this variable whenever it calls a
77
72
# tool from the auxiliary directory.  The problem is that $srcdir (and
90
85
#
91
86
# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
92
87
# are both prefixed by $srcdir.  In an in-source build this is usually
93
 
# harmless because $srcdir is `.', but things will broke when you
 
88
# harmless because $srcdir is '.', but things will broke when you
94
89
# start a VPATH build or use an absolute $srcdir.
95
90
#
96
91
# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
116
111
 
117
112
# AM_CONDITIONAL                                            -*- Autoconf -*-
118
113
 
119
 
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
120
 
# Free Software Foundation, Inc.
 
114
# Copyright (C) 1997-2013 Free Software Foundation, Inc.
121
115
#
122
116
# This file is free software; the Free Software Foundation
123
117
# gives unlimited permission to copy and/or distribute it,
124
118
# with or without modifications, as long as this notice is preserved.
125
119
 
126
 
# serial 9
127
 
 
128
120
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
129
121
# -------------------------------------
130
122
# Define a conditional.
131
123
AC_DEFUN([AM_CONDITIONAL],
132
 
[AC_PREREQ(2.52)dnl
133
 
 ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
134
 
        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
 
124
[AC_PREREQ([2.52])dnl
 
125
 m4_if([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
 
126
       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
135
127
AC_SUBST([$1_TRUE])dnl
136
128
AC_SUBST([$1_FALSE])dnl
137
129
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
152
144
 
153
145
# Do all the work for Automake.                             -*- Autoconf -*-
154
146
 
155
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
156
 
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
 
147
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
157
148
#
158
149
# This file is free software; the Free Software Foundation
159
150
# gives unlimited permission to copy and/or distribute it,
160
151
# with or without modifications, as long as this notice is preserved.
161
152
 
162
 
# serial 16
163
 
 
164
153
# This macro actually does too much.  Some checks are only needed if
165
154
# your package does certain things.  But this isn't really a big deal.
166
155
 
176
165
# arguments mandatory, and then we can depend on a new Autoconf
177
166
# release and drop the old call support.
178
167
AC_DEFUN([AM_INIT_AUTOMAKE],
179
 
[AC_PREREQ([2.62])dnl
 
168
[AC_PREREQ([2.65])dnl
180
169
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
181
170
dnl the ones we care about.
182
171
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
205
194
# Define the identity of the package.
206
195
dnl Distinguish between old-style and new-style calls.
207
196
m4_ifval([$2],
208
 
[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
 
197
[AC_DIAGNOSE([obsolete],
 
198
             [$0: two- and three-arguments forms are deprecated.])
 
199
m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
209
200
 AC_SUBST([PACKAGE], [$1])dnl
210
201
 AC_SUBST([VERSION], [$2])],
211
202
[_AM_SET_OPTIONS([$1])dnl
212
203
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
213
 
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
 
204
m4_if(
 
205
  m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
 
206
  [ok:ok],,
214
207
  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
215
208
 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
216
209
 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
217
210
 
218
211
_AM_IF_OPTION([no-define],,
219
 
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
220
 
 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
 
212
[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
 
213
 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
221
214
 
222
215
# Some tools Automake needs.
223
216
AC_REQUIRE([AM_SANITY_CHECK])dnl
224
217
AC_REQUIRE([AC_ARG_PROGRAM])dnl
225
 
AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
226
 
AM_MISSING_PROG(AUTOCONF, autoconf)
227
 
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
228
 
AM_MISSING_PROG(AUTOHEADER, autoheader)
229
 
AM_MISSING_PROG(MAKEINFO, makeinfo)
 
218
AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
 
219
AM_MISSING_PROG([AUTOCONF], [autoconf])
 
220
AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
 
221
AM_MISSING_PROG([AUTOHEADER], [autoheader])
 
222
AM_MISSING_PROG([MAKEINFO], [makeinfo])
230
223
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
231
224
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
232
 
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
 
225
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
 
226
# For better backward compatibility.  To be removed once Automake 1.9.x
 
227
# dies out for good.  For more background, see:
 
228
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
 
229
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
 
230
AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
233
231
# We need awk for the "check" target.  The system "awk" is bad on
234
232
# some platforms.
235
233
AC_REQUIRE([AC_PROG_AWK])dnl
240
238
                             [_AM_PROG_TAR([v7])])])
241
239
_AM_IF_OPTION([no-dependencies],,
242
240
[AC_PROVIDE_IFELSE([AC_PROG_CC],
243
 
                  [_AM_DEPENDENCIES(CC)],
244
 
                  [define([AC_PROG_CC],
245
 
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
 
241
                  [_AM_DEPENDENCIES([CC])],
 
242
                  [m4_define([AC_PROG_CC],
 
243
                             m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
246
244
AC_PROVIDE_IFELSE([AC_PROG_CXX],
247
 
                  [_AM_DEPENDENCIES(CXX)],
248
 
                  [define([AC_PROG_CXX],
249
 
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
 
245
                  [_AM_DEPENDENCIES([CXX])],
 
246
                  [m4_define([AC_PROG_CXX],
 
247
                             m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
250
248
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
251
 
                  [_AM_DEPENDENCIES(OBJC)],
252
 
                  [define([AC_PROG_OBJC],
253
 
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
 
249
                  [_AM_DEPENDENCIES([OBJC])],
 
250
                  [m4_define([AC_PROG_OBJC],
 
251
                             m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
 
252
AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
 
253
                  [_AM_DEPENDENCIES([OBJCXX])],
 
254
                  [m4_define([AC_PROG_OBJCXX],
 
255
                             m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
254
256
])
255
 
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
256
 
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
257
 
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
258
 
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
 
257
AC_REQUIRE([AM_SILENT_RULES])dnl
 
258
dnl The testsuite driver may need to know about EXEEXT, so add the
 
259
dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This
 
260
dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
259
261
AC_CONFIG_COMMANDS_PRE(dnl
260
262
[m4_provide_if([_AM_COMPILER_EXEEXT],
261
263
  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
262
264
])
263
265
 
264
 
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
 
266
dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
265
267
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
266
268
dnl mangled by Autoconf and run in a shell conditional statement.
267
269
m4_define([_AC_COMPILER_EXEEXT],
289
291
done
290
292
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
291
293
 
292
 
# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
293
 
# Inc.
 
294
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
294
295
#
295
296
# This file is free software; the Free Software Foundation
296
297
# gives unlimited permission to copy and/or distribute it,
297
298
# with or without modifications, as long as this notice is preserved.
298
299
 
299
 
# serial 1
300
 
 
301
300
# AM_PROG_INSTALL_SH
302
301
# ------------------
303
302
# Define $install_sh.
311
310
    install_sh="\${SHELL} $am_aux_dir/install-sh"
312
311
  esac
313
312
fi
314
 
AC_SUBST(install_sh)])
 
313
AC_SUBST([install_sh])])
315
314
 
316
 
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
 
315
# Copyright (C) 2003-2013 Free Software Foundation, Inc.
317
316
#
318
317
# This file is free software; the Free Software Foundation
319
318
# gives unlimited permission to copy and/or distribute it,
320
319
# with or without modifications, as long as this notice is preserved.
321
320
 
322
 
# serial 2
323
 
 
324
321
# Check whether the underlying file-system supports filenames
325
322
# with a leading dot.  For instance MS-DOS doesn't.
326
323
AC_DEFUN([AM_SET_LEADING_DOT],
337
334
# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
338
335
# From Jim Meyering
339
336
 
340
 
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
341
 
# 2011 Free Software Foundation, Inc.
 
337
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
342
338
#
343
339
# This file is free software; the Free Software Foundation
344
340
# gives unlimited permission to copy and/or distribute it,
345
341
# with or without modifications, as long as this notice is preserved.
346
342
 
347
 
# serial 5
348
 
 
349
343
# AM_MAINTAINER_MODE([DEFAULT-MODE])
350
344
# ----------------------------------
351
345
# Control maintainer-specific portions of Makefiles.
352
 
# Default is to disable them, unless `enable' is passed literally.
353
 
# For symmetry, `disable' may be passed as well.  Anyway, the user
 
346
# Default is to disable them, unless 'enable' is passed literally.
 
347
# For symmetry, 'disable' may be passed as well.  Anyway, the user
354
348
# can override the default with the --enable/--disable switch.
355
349
AC_DEFUN([AM_MAINTAINER_MODE],
356
350
[m4_case(m4_default([$1], [disable]),
361
355
AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
362
356
  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
363
357
  AC_ARG_ENABLE([maintainer-mode],
364
 
[  --][am_maintainer_other][-maintainer-mode  am_maintainer_other make rules and dependencies not useful
365
 
                          (and sometimes confusing) to the casual installer],
366
 
      [USE_MAINTAINER_MODE=$enableval],
367
 
      [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
 
358
    [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
 
359
      am_maintainer_other[ make rules and dependencies not useful
 
360
      (and sometimes confusing) to the casual installer])],
 
361
    [USE_MAINTAINER_MODE=$enableval],
 
362
    [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
368
363
  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
369
364
  AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
370
365
  MAINT=$MAINTAINER_MODE_TRUE
372
367
]
373
368
)
374
369
 
375
 
AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
376
 
 
377
370
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
378
371
 
379
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
380
 
# Free Software Foundation, Inc.
 
372
# Copyright (C) 1997-2013 Free Software Foundation, Inc.
381
373
#
382
374
# This file is free software; the Free Software Foundation
383
375
# gives unlimited permission to copy and/or distribute it,
384
376
# with or without modifications, as long as this notice is preserved.
385
377
 
386
 
# serial 6
387
 
 
388
378
# AM_MISSING_PROG(NAME, PROGRAM)
389
379
# ------------------------------
390
380
AC_DEFUN([AM_MISSING_PROG],
392
382
$1=${$1-"${am_missing_run}$2"}
393
383
AC_SUBST($1)])
394
384
 
395
 
 
396
385
# AM_MISSING_HAS_RUN
397
386
# ------------------
398
 
# Define MISSING if not defined so far and test if it supports --run.
399
 
# If it does, set am_missing_run to use it, otherwise, to nothing.
 
387
# Define MISSING if not defined so far and test if it is modern enough.
 
388
# If it is, set am_missing_run to use it, otherwise, to nothing.
400
389
AC_DEFUN([AM_MISSING_HAS_RUN],
401
390
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
402
391
AC_REQUIRE_AUX_FILE([missing])dnl
409
398
  esac
410
399
fi
411
400
# Use eval to expand $SHELL
412
 
if eval "$MISSING --run true"; then
413
 
  am_missing_run="$MISSING --run "
 
401
if eval "$MISSING --is-lightweight"; then
 
402
  am_missing_run="$MISSING "
414
403
else
415
404
  am_missing_run=
416
 
  AC_MSG_WARN([`missing' script is too old or missing])
 
405
  AC_MSG_WARN(['missing' script is too old or missing])
417
406
fi
418
407
])
419
408
 
420
 
# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
421
 
# Inc.
422
 
#
423
 
# This file is free software; the Free Software Foundation
424
 
# gives unlimited permission to copy and/or distribute it,
425
 
# with or without modifications, as long as this notice is preserved.
426
 
 
427
 
# serial 1
428
 
 
429
 
# AM_PROG_MKDIR_P
430
 
# ---------------
431
 
# Check for `mkdir -p'.
432
 
AC_DEFUN([AM_PROG_MKDIR_P],
433
 
[AC_PREREQ([2.60])dnl
434
 
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
435
 
dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
436
 
dnl while keeping a definition of mkdir_p for backward compatibility.
437
 
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
438
 
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
439
 
dnl Makefile.ins that do not define MKDIR_P, so we do our own
440
 
dnl adjustment using top_builddir (which is defined more often than
441
 
dnl MKDIR_P).
442
 
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
443
 
case $mkdir_p in
444
 
  [[\\/$]]* | ?:[[\\/]]*) ;;
445
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
446
 
esac
447
 
])
448
 
 
449
409
# Helper functions for option handling.                     -*- Autoconf -*-
450
410
 
451
 
# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
452
 
# Foundation, Inc.
 
411
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
453
412
#
454
413
# This file is free software; the Free Software Foundation
455
414
# gives unlimited permission to copy and/or distribute it,
456
415
# with or without modifications, as long as this notice is preserved.
457
416
 
458
 
# serial 5
459
 
 
460
417
# _AM_MANGLE_OPTION(NAME)
461
418
# -----------------------
462
419
AC_DEFUN([_AM_MANGLE_OPTION],
466
423
# --------------------
467
424
# Set option NAME.  Presently that only means defining a flag for this option.
468
425
AC_DEFUN([_AM_SET_OPTION],
469
 
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
 
426
[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
470
427
 
471
428
# _AM_SET_OPTIONS(OPTIONS)
472
429
# ------------------------
482
439
 
483
440
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
484
441
 
485
 
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
486
 
# Free Software Foundation, Inc.
 
442
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
487
443
#
488
444
# This file is free software; the Free Software Foundation
489
445
# gives unlimited permission to copy and/or distribute it,
490
446
# with or without modifications, as long as this notice is preserved.
491
447
 
492
 
# serial 5
493
 
 
494
448
# AM_SANITY_CHECK
495
449
# ---------------
496
450
AC_DEFUN([AM_SANITY_CHECK],
497
451
[AC_MSG_CHECKING([whether build environment is sane])
498
 
# Just in case
499
 
sleep 1
500
 
echo timestamp > conftest.file
501
452
# Reject unsafe characters in $srcdir or the absolute working directory
502
453
# name.  Accept space and tab only in the latter.
503
454
am_lf='
508
459
esac
509
460
case $srcdir in
510
461
  *[[\\\"\#\$\&\'\`$am_lf\ \    ]]*)
511
 
    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
 
462
    AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
512
463
esac
513
464
 
514
 
# Do `set' in a subshell so we don't clobber the current shell's
 
465
# Do 'set' in a subshell so we don't clobber the current shell's
515
466
# arguments.  Must try -L first in case configure is actually a
516
467
# symlink; some systems play weird games with the mod time of symlinks
517
468
# (eg FreeBSD returns the mod time of the symlink's containing
518
469
# directory).
519
470
if (
520
 
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
521
 
   if test "$[*]" = "X"; then
522
 
      # -L didn't work.
523
 
      set X `ls -t "$srcdir/configure" conftest.file`
524
 
   fi
525
 
   rm -f conftest.file
526
 
   if test "$[*]" != "X $srcdir/configure conftest.file" \
527
 
      && test "$[*]" != "X conftest.file $srcdir/configure"; then
528
 
 
529
 
      # If neither matched, then we have a broken ls.  This can happen
530
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
531
 
      # broken ls alias from the environment.  This has actually
532
 
      # happened.  Such a system could not be considered "sane".
533
 
      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
534
 
alias in your environment])
535
 
   fi
536
 
 
 
471
   am_has_slept=no
 
472
   for am_try in 1 2; do
 
473
     echo "timestamp, slept: $am_has_slept" > conftest.file
 
474
     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 
475
     if test "$[*]" = "X"; then
 
476
        # -L didn't work.
 
477
        set X `ls -t "$srcdir/configure" conftest.file`
 
478
     fi
 
479
     if test "$[*]" != "X $srcdir/configure conftest.file" \
 
480
        && test "$[*]" != "X conftest.file $srcdir/configure"; then
 
481
 
 
482
        # If neither matched, then we have a broken ls.  This can happen
 
483
        # if, for instance, CONFIG_SHELL is bash and it inherits a
 
484
        # broken ls alias from the environment.  This has actually
 
485
        # happened.  Such a system could not be considered "sane".
 
486
        AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
 
487
  alias in your environment])
 
488
     fi
 
489
     if test "$[2]" = conftest.file || test $am_try -eq 2; then
 
490
       break
 
491
     fi
 
492
     # Just in case.
 
493
     sleep 1
 
494
     am_has_slept=yes
 
495
   done
537
496
   test "$[2]" = conftest.file
538
497
   )
539
498
then
543
502
   AC_MSG_ERROR([newly created file is older than distributed files!
544
503
Check your system clock])
545
504
fi
546
 
AC_MSG_RESULT(yes)])
547
 
 
548
 
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
549
 
#
550
 
# This file is free software; the Free Software Foundation
551
 
# gives unlimited permission to copy and/or distribute it,
552
 
# with or without modifications, as long as this notice is preserved.
553
 
 
554
 
# serial 1
 
505
AC_MSG_RESULT([yes])
 
506
# If we didn't sleep, we still need to ensure time stamps of config.status and
 
507
# generated files are strictly newer.
 
508
am_sleep_pid=
 
509
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
 
510
  ( sleep 1 ) &
 
511
  am_sleep_pid=$!
 
512
fi
 
513
AC_CONFIG_COMMANDS_PRE(
 
514
  [AC_MSG_CHECKING([that generated files are newer than configure])
 
515
   if test -n "$am_sleep_pid"; then
 
516
     # Hide warnings about reused PIDs.
 
517
     wait $am_sleep_pid 2>/dev/null
 
518
   fi
 
519
   AC_MSG_RESULT([done])])
 
520
rm -f conftest.file
 
521
])
 
522
 
 
523
# Copyright (C) 2009-2013 Free Software Foundation, Inc.
 
524
#
 
525
# This file is free software; the Free Software Foundation
 
526
# gives unlimited permission to copy and/or distribute it,
 
527
# with or without modifications, as long as this notice is preserved.
 
528
 
 
529
# AM_SILENT_RULES([DEFAULT])
 
530
# --------------------------
 
531
# Enable less verbose build rules; with the default set to DEFAULT
 
532
# ("yes" being less verbose, "no" or empty being verbose).
 
533
AC_DEFUN([AM_SILENT_RULES],
 
534
[AC_ARG_ENABLE([silent-rules], [dnl
 
535
AS_HELP_STRING(
 
536
  [--enable-silent-rules],
 
537
  [less verbose build output (undo: "make V=1")])
 
538
AS_HELP_STRING(
 
539
  [--disable-silent-rules],
 
540
  [verbose build output (undo: "make V=0")])dnl
 
541
])
 
542
case $enable_silent_rules in @%:@ (((
 
543
  yes) AM_DEFAULT_VERBOSITY=0;;
 
544
   no) AM_DEFAULT_VERBOSITY=1;;
 
545
    *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
 
546
esac
 
547
dnl
 
548
dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
 
549
dnl do not support nested variable expansions.
 
550
dnl See automake bug#9928 and bug#10237.
 
551
am_make=${MAKE-make}
 
552
AC_CACHE_CHECK([whether $am_make supports nested variables],
 
553
   [am_cv_make_support_nested_variables],
 
554
   [if AS_ECHO([['TRUE=$(BAR$(V))
 
555
BAR0=false
 
556
BAR1=true
 
557
V=1
 
558
am__doit:
 
559
        @$(TRUE)
 
560
.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
 
561
  am_cv_make_support_nested_variables=yes
 
562
else
 
563
  am_cv_make_support_nested_variables=no
 
564
fi])
 
565
if test $am_cv_make_support_nested_variables = yes; then
 
566
  dnl Using '$V' instead of '$(V)' breaks IRIX make.
 
567
  AM_V='$(V)'
 
568
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 
569
else
 
570
  AM_V=$AM_DEFAULT_VERBOSITY
 
571
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 
572
fi
 
573
AC_SUBST([AM_V])dnl
 
574
AM_SUBST_NOTMAKE([AM_V])dnl
 
575
AC_SUBST([AM_DEFAULT_V])dnl
 
576
AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
 
577
AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
 
578
AM_BACKSLASH='\'
 
579
AC_SUBST([AM_BACKSLASH])dnl
 
580
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
 
581
])
 
582
 
 
583
# Copyright (C) 2001-2013 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.
555
588
 
556
589
# AM_PROG_INSTALL_STRIP
557
590
# ---------------------
558
 
# One issue with vendor `install' (even GNU) is that you can't
 
591
# One issue with vendor 'install' (even GNU) is that you can't
559
592
# specify the program used to strip binaries.  This is especially
560
593
# annoying in cross-compiling environments, where the build's strip
561
594
# is unlikely to handle the host's binaries.
562
595
# Fortunately install-sh will honor a STRIPPROG variable, so we
563
 
# always use install-sh in `make install-strip', and initialize
 
596
# always use install-sh in "make install-strip", and initialize
564
597
# STRIPPROG with the value of the STRIP variable (set by the user).
565
598
AC_DEFUN([AM_PROG_INSTALL_STRIP],
566
599
[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
567
 
# Installed binaries are usually stripped using `strip' when the user
568
 
# run `make install-strip'.  However `strip' might not be the right
 
600
# Installed binaries are usually stripped using 'strip' when the user
 
601
# run "make install-strip".  However 'strip' might not be the right
569
602
# tool to use in cross-compilation environments, therefore Automake
570
 
# will honor the `STRIP' environment variable to overrule this program.
571
 
dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
 
603
# will honor the 'STRIP' environment variable to overrule this program.
 
604
dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
572
605
if test "$cross_compiling" != no; then
573
606
  AC_CHECK_TOOL([STRIP], [strip], :)
574
607
fi
575
608
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
576
609
AC_SUBST([INSTALL_STRIP_PROGRAM])])
577
610
 
578
 
# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
 
611
# Copyright (C) 2006-2013 Free Software Foundation, Inc.
579
612
#
580
613
# This file is free software; the Free Software Foundation
581
614
# gives unlimited permission to copy and/or distribute it,
582
615
# with or without modifications, as long as this notice is preserved.
583
616
 
584
 
# serial 3
585
 
 
586
617
# _AM_SUBST_NOTMAKE(VARIABLE)
587
618
# ---------------------------
588
619
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
596
627
 
597
628
# Check how to create a tarball.                            -*- Autoconf -*-
598
629
 
599
 
# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
 
630
# Copyright (C) 2004-2013 Free Software Foundation, Inc.
600
631
#
601
632
# This file is free software; the Free Software Foundation
602
633
# gives unlimited permission to copy and/or distribute it,
603
634
# with or without modifications, as long as this notice is preserved.
604
635
 
605
 
# serial 2
606
 
 
607
636
# _AM_PROG_TAR(FORMAT)
608
637
# --------------------
609
638
# Check how to create a tarball in format FORMAT.
610
 
# FORMAT should be one of `v7', `ustar', or `pax'.
 
639
# FORMAT should be one of 'v7', 'ustar', or 'pax'.
611
640
#
612
641
# Substitute a variable $(am__tar) that is a command
613
642
# writing to stdout a FORMAT-tarball containing the directory
617
646
# Substitute a variable $(am__untar) that extract such
618
647
# a tarball read from stdin.
619
648
#     $(am__untar) < result.tar
 
649
#
620
650
AC_DEFUN([_AM_PROG_TAR],
621
651
[# Always define AMTAR for backward compatibility.  Yes, it's still used
622
652
# in the wild :-(  We should find a proper way to deprecate it ...
623
653
AC_SUBST([AMTAR], ['$${TAR-tar}'])
 
654
 
 
655
# We'll loop over all known methods to create a tar archive until one works.
 
656
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
 
657
 
624
658
m4_if([$1], [v7],
625
 
     [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
626
 
     [m4_case([$1], [ustar],, [pax],,
627
 
              [m4_fatal([Unknown tar format])])
628
 
AC_MSG_CHECKING([how to create a $1 tar archive])
629
 
# Loop over all known methods to create a tar archive until one works.
630
 
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
631
 
_am_tools=${am_cv_prog_tar_$1-$_am_tools}
632
 
# Do not fold the above two line into one, because Tru64 sh and
633
 
# Solaris sh will not grok spaces in the rhs of `-'.
634
 
for _am_tool in $_am_tools
635
 
do
636
 
  case $_am_tool in
637
 
  gnutar)
638
 
    for _am_tar in tar gnutar gtar;
639
 
    do
640
 
      AM_RUN_LOG([$_am_tar --version]) && break
641
 
    done
642
 
    am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
643
 
    am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
644
 
    am__untar="$_am_tar -xf -"
645
 
    ;;
646
 
  plaintar)
647
 
    # Must skip GNU tar: if it does not support --format= it doesn't create
648
 
    # ustar tarball either.
649
 
    (tar --version) >/dev/null 2>&1 && continue
650
 
    am__tar='tar chf - "$$tardir"'
651
 
    am__tar_='tar chf - "$tardir"'
652
 
    am__untar='tar xf -'
653
 
    ;;
654
 
  pax)
655
 
    am__tar='pax -L -x $1 -w "$$tardir"'
656
 
    am__tar_='pax -L -x $1 -w "$tardir"'
657
 
    am__untar='pax -r'
658
 
    ;;
659
 
  cpio)
660
 
    am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
661
 
    am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
662
 
    am__untar='cpio -i -H $1 -d'
663
 
    ;;
664
 
  none)
665
 
    am__tar=false
666
 
    am__tar_=false
667
 
    am__untar=false
668
 
    ;;
669
 
  esac
670
 
 
671
 
  # If the value was cached, stop now.  We just wanted to have am__tar
672
 
  # and am__untar set.
673
 
  test -n "${am_cv_prog_tar_$1}" && break
674
 
 
675
 
  # tar/untar a dummy directory, and stop if the command works
676
 
  rm -rf conftest.dir
677
 
  mkdir conftest.dir
678
 
  echo GrepMe > conftest.dir/file
679
 
  AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
680
 
  rm -rf conftest.dir
681
 
  if test -s conftest.tar; then
682
 
    AM_RUN_LOG([$am__untar <conftest.tar])
683
 
    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
684
 
  fi
685
 
done
686
 
rm -rf conftest.dir
687
 
 
688
 
AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
689
 
AC_MSG_RESULT([$am_cv_prog_tar_$1])])
 
659
  [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
 
660
 
 
661
  [m4_case([$1],
 
662
    [ustar],
 
663
     [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
 
664
      # There is notably a 21 bits limit for the UID and the GID.  In fact,
 
665
      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
 
666
      # and bug#13588).
 
667
      am_max_uid=2097151 # 2^21 - 1
 
668
      am_max_gid=$am_max_uid
 
669
      # The $UID and $GID variables are not portable, so we need to resort
 
670
      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
 
671
      # below are definitely unexpected, so allow the users to see them
 
672
      # (that is, avoid stderr redirection).
 
673
      am_uid=`id -u || echo unknown`
 
674
      am_gid=`id -g || echo unknown`
 
675
      AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
 
676
      if test $am_uid -le $am_max_uid; then
 
677
         AC_MSG_RESULT([yes])
 
678
      else
 
679
         AC_MSG_RESULT([no])
 
680
         _am_tools=none
 
681
      fi
 
682
      AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
 
683
      if test $am_gid -le $am_max_gid; then
 
684
         AC_MSG_RESULT([yes])
 
685
      else
 
686
        AC_MSG_RESULT([no])
 
687
        _am_tools=none
 
688
      fi],
 
689
 
 
690
  [pax],
 
691
    [],
 
692
 
 
693
  [m4_fatal([Unknown tar format])])
 
694
 
 
695
  AC_MSG_CHECKING([how to create a $1 tar archive])
 
696
 
 
697
  # Go ahead even if we have the value already cached.  We do so because we
 
698
  # need to set the values for the 'am__tar' and 'am__untar' variables.
 
699
  _am_tools=${am_cv_prog_tar_$1-$_am_tools}
 
700
 
 
701
  for _am_tool in $_am_tools; do
 
702
    case $_am_tool in
 
703
    gnutar)
 
704
      for _am_tar in tar gnutar gtar; do
 
705
        AM_RUN_LOG([$_am_tar --version]) && break
 
706
      done
 
707
      am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
 
708
      am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
 
709
      am__untar="$_am_tar -xf -"
 
710
      ;;
 
711
    plaintar)
 
712
      # Must skip GNU tar: if it does not support --format= it doesn't create
 
713
      # ustar tarball either.
 
714
      (tar --version) >/dev/null 2>&1 && continue
 
715
      am__tar='tar chf - "$$tardir"'
 
716
      am__tar_='tar chf - "$tardir"'
 
717
      am__untar='tar xf -'
 
718
      ;;
 
719
    pax)
 
720
      am__tar='pax -L -x $1 -w "$$tardir"'
 
721
      am__tar_='pax -L -x $1 -w "$tardir"'
 
722
      am__untar='pax -r'
 
723
      ;;
 
724
    cpio)
 
725
      am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
 
726
      am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
 
727
      am__untar='cpio -i -H $1 -d'
 
728
      ;;
 
729
    none)
 
730
      am__tar=false
 
731
      am__tar_=false
 
732
      am__untar=false
 
733
      ;;
 
734
    esac
 
735
 
 
736
    # If the value was cached, stop now.  We just wanted to have am__tar
 
737
    # and am__untar set.
 
738
    test -n "${am_cv_prog_tar_$1}" && break
 
739
 
 
740
    # tar/untar a dummy directory, and stop if the command works.
 
741
    rm -rf conftest.dir
 
742
    mkdir conftest.dir
 
743
    echo GrepMe > conftest.dir/file
 
744
    AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
 
745
    rm -rf conftest.dir
 
746
    if test -s conftest.tar; then
 
747
      AM_RUN_LOG([$am__untar <conftest.tar])
 
748
      AM_RUN_LOG([cat conftest.dir/file])
 
749
      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
 
750
    fi
 
751
  done
 
752
  rm -rf conftest.dir
 
753
 
 
754
  AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
 
755
  AC_MSG_RESULT([$am_cv_prog_tar_$1])])
 
756
 
690
757
AC_SUBST([am__tar])
691
758
AC_SUBST([am__untar])
692
759
]) # _AM_PROG_TAR