~darkxst/ubuntu/quantal/telepathy-logger/lp1049210

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Package Import Robot
  • Author(s): Laurent Bigonville
  • Date: 2012-05-02 15:55:41 UTC
  • mfrom: (1.1.15)
  • mto: (14.2.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 24.
  • Revision ID: package-import@ubuntu.com-20120502155541-9hr3lk9ftsftqym6
* New upstream release.
  - Drop --enable-call to configure, call is always enabled now
  - Bump libtelepathy-glib-dev build-dependency
* debian/control:
  - Move gir1.2-telepathylogger-0.2 to introspection Section
  - Bump debhelper build-dependency to 9
  - Bump Standards-Version to 3.9.3 (no further changes)
  - Move telepathy-logger to Section utils (Closes: #663080)
* debian/libtelepathy-logger2.symbols: Bump Call API to 0.2.13, with that
  version Call support is enabled by default

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.11.3 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
 
# 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
 
4
# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
 
5
# Inc.
5
6
# This file is free software; the Free Software Foundation
6
7
# gives unlimited permission to copy and/or distribute it,
7
8
# with or without modifications, as long as this notice is preserved.
85
86
    GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
86
87
    GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
87
88
    GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
 
89
    GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
88
90
 
89
91
    GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
90
92
    GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
221
223
     GLIB_GENMARSHAL=""
222
224
     GOBJECT_QUERY=""
223
225
     GLIB_MKENUMS=""
 
226
     GLIB_COMPILE_RESOURCES=""
224
227
     ifelse([$3], , :, [$3])
225
228
  fi
226
229
  AC_SUBST(GLIB_CFLAGS)
228
231
  AC_SUBST(GLIB_GENMARSHAL)
229
232
  AC_SUBST(GOBJECT_QUERY)
230
233
  AC_SUBST(GLIB_MKENUMS)
 
234
  AC_SUBST(GLIB_COMPILE_RESOURCES)
231
235
  rm -f conf.glibtest
232
236
])
233
237
 
292
296
# ----------------------------------
293
297
AC_DEFUN([PKG_PROG_PKG_CONFIG],
294
298
[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
295
 
m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
 
299
m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
 
300
m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
296
301
AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
297
302
AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
298
303
AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
338
343
    pkg_cv_[]$1="$$1"
339
344
 elif test -n "$PKG_CONFIG"; then
340
345
    PKG_CHECK_EXISTS([$3],
341
 
                     [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
 
346
                     [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
 
347
                      test "x$?" != "x0" && pkg_failed=yes ],
342
348
                     [pkg_failed=yes])
343
349
 else
344
350
    pkg_failed=untried
386
392
        AC_MSG_RESULT([no])
387
393
        _PKG_SHORT_ERRORS_SUPPORTED
388
394
        if test $_pkg_short_errors_supported = yes; then
389
 
                $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
 
395
                $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
390
396
        else 
391
 
                $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
 
397
                $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
392
398
        fi
393
399
        # Put the nasty error message in config.log where it belongs
394
400
        echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
401
407
Consider adjusting the PKG_CONFIG_PATH environment variable if you
402
408
installed software in a non-standard prefix.
403
409
 
404
 
_PKG_TEXT])
 
410
_PKG_TEXT])[]dnl
405
411
        ])
406
412
elif test $pkg_failed = untried; then
407
413
        AC_MSG_RESULT([no])
412
418
 
413
419
_PKG_TEXT
414
420
 
415
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.])
 
421
To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
416
422
        ])
417
423
else
418
424
        $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
422
428
fi[]dnl
423
429
])# PKG_CHECK_MODULES
424
430
 
425
 
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
 
431
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
 
432
# Foundation, Inc.
426
433
#
427
434
# This file is free software; the Free Software Foundation
428
435
# gives unlimited permission to copy and/or distribute it,
429
436
# with or without modifications, as long as this notice is preserved.
430
437
 
 
438
# serial 1
 
439
 
431
440
# AM_AUTOMAKE_VERSION(VERSION)
432
441
# ----------------------------
433
442
# Automake X.Y traces this macro to ensure aclocal.m4 has been
437
446
[am__api_version='1.11'
438
447
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
439
448
dnl require some minimum version.  Point them to the right macro.
440
 
m4_if([$1], [1.11.1], [],
 
449
m4_if([$1], [1.11.3], [],
441
450
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
442
451
])
443
452
 
453
462
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
454
463
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
455
464
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
456
 
[AM_AUTOMAKE_VERSION([1.11.1])dnl
 
465
[AM_AUTOMAKE_VERSION([1.11.3])dnl
457
466
m4_ifndef([AC_AUTOCONF_VERSION],
458
467
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
459
468
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
460
469
 
461
470
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
462
471
 
463
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
472
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
464
473
#
465
474
# This file is free software; the Free Software Foundation
466
475
# gives unlimited permission to copy and/or distribute it,
467
476
# with or without modifications, as long as this notice is preserved.
468
477
 
 
478
# serial 1
 
479
 
469
480
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
470
481
# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
471
482
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
547
558
Usually this means the macro was only invoked conditionally.]])
548
559
fi])])
549
560
 
550
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
551
 
# Free Software Foundation, Inc.
 
561
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
 
562
# 2010, 2011 Free Software Foundation, Inc.
552
563
#
553
564
# This file is free software; the Free Software Foundation
554
565
# gives unlimited permission to copy and/or distribute it,
555
566
# with or without modifications, as long as this notice is preserved.
556
567
 
557
 
# serial 10
 
568
# serial 12
558
569
 
559
570
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
560
571
# written in clear, in which case automake, when reading aclocal.m4,
594
605
  # instance it was reported that on HP-UX the gcc test will end up
595
606
  # making a dummy file named `D' -- because `-MD' means `put the output
596
607
  # in D'.
 
608
  rm -rf conftest.dir
597
609
  mkdir conftest.dir
598
610
  # Copy depcomp to subdir because otherwise we won't find it if we're
599
611
  # using a relative directory.
658
670
        break
659
671
      fi
660
672
      ;;
661
 
    msvisualcpp | msvcmsys)
 
673
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
662
674
      # This compiler won't grok `-c -o', but also, the minuso test has
663
675
      # not run yet.  These depmodes are late enough in the game, and
664
676
      # so weak that their functioning should not be impacted.
723
735
if test "x$enable_dependency_tracking" != xno; then
724
736
  am_depcomp="$ac_aux_dir/depcomp"
725
737
  AMDEPBACKSLASH='\'
 
738
  am__nodep='_no'
726
739
fi
727
740
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
728
741
AC_SUBST([AMDEPBACKSLASH])dnl
729
742
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
 
743
AC_SUBST([am__nodep])dnl
 
744
_AM_SUBST_NOTMAKE([am__nodep])dnl
730
745
])
731
746
 
732
747
# Generate code to set up dependency tracking.              -*- Autoconf -*-
948
963
done
949
964
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
950
965
 
951
 
# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
 
966
# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
 
967
# Inc.
952
968
#
953
969
# This file is free software; the Free Software Foundation
954
970
# gives unlimited permission to copy and/or distribute it,
955
971
# with or without modifications, as long as this notice is preserved.
956
972
 
 
973
# serial 1
 
974
 
957
975
# AM_PROG_INSTALL_SH
958
976
# ------------------
959
977
# Define $install_sh.
1085
1103
fi
1086
1104
])
1087
1105
 
1088
 
# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
 
1106
# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
 
1107
# Inc.
1089
1108
#
1090
1109
# This file is free software; the Free Software Foundation
1091
1110
# gives unlimited permission to copy and/or distribute it,
1092
1111
# with or without modifications, as long as this notice is preserved.
1093
1112
 
 
1113
# serial 1
 
1114
 
1094
1115
# AM_PROG_MKDIR_P
1095
1116
# ---------------
1096
1117
# Check for `mkdir -p'.
1113
1134
 
1114
1135
# Helper functions for option handling.                     -*- Autoconf -*-
1115
1136
 
1116
 
# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
 
1137
# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
 
1138
# Foundation, Inc.
1117
1139
#
1118
1140
# This file is free software; the Free Software Foundation
1119
1141
# gives unlimited permission to copy and/or distribute it,
1120
1142
# with or without modifications, as long as this notice is preserved.
1121
1143
 
1122
 
# serial 4
 
1144
# serial 5
1123
1145
 
1124
1146
# _AM_MANGLE_OPTION(NAME)
1125
1147
# -----------------------
1127
1149
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1128
1150
 
1129
1151
# _AM_SET_OPTION(NAME)
1130
 
# ------------------------------
 
1152
# --------------------
1131
1153
# Set option NAME.  Presently that only means defining a flag for this option.
1132
1154
AC_DEFUN([_AM_SET_OPTION],
1133
1155
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
1134
1156
 
1135
1157
# _AM_SET_OPTIONS(OPTIONS)
1136
 
# ----------------------------------
 
1158
# ------------------------
1137
1159
# OPTIONS is a space-separated list of Automake options.
1138
1160
AC_DEFUN([_AM_SET_OPTIONS],
1139
1161
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1144
1166
AC_DEFUN([_AM_IF_OPTION],
1145
1167
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1146
1168
 
1147
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2009
1148
 
# Free Software Foundation, Inc.
 
1169
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2009,
 
1170
# 2011 Free Software Foundation, Inc.
1149
1171
#
1150
1172
# This file is free software; the Free Software Foundation
1151
1173
# gives unlimited permission to copy and/or distribute it,
1152
1174
# with or without modifications, as long as this notice is preserved.
1153
1175
 
 
1176
# serial 2
 
1177
 
1154
1178
# AM_PATH_PYTHON([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
1155
1179
# ---------------------------------------------------------------------------
1156
1180
# Adds support for distributing Python modules and packages.  To
1178
1202
  dnl Find a Python interpreter.  Python versions prior to 2.0 are not
1179
1203
  dnl supported. (2.0 was released on October 16, 2000).
1180
1204
  m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
1181
 
                    [python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 dnl
1182
 
python2.1 python2.0])
 
1205
[python python2 python3 python3.2 python3.1 python3.0 python2.7 dnl
 
1206
 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0])
 
1207
 
 
1208
  AC_ARG_VAR([PYTHON], [the Python interpreter])
1183
1209
 
1184
1210
  m4_if([$1],[],[
1185
1211
    dnl No version check is needed.
1251
1277
  dnl   site-packages directory, not the python standard library
1252
1278
  dnl   directory like in previous automake betas.  This behavior
1253
1279
  dnl   is more consistent with lispdir.m4 for example.
1254
 
  dnl Query distutils for this directory.  distutils does not exist in
1255
 
  dnl Python 1.5, so we fall back to the hardcoded directory if it
1256
 
  dnl doesn't work.
 
1280
  dnl Query distutils for this directory.
1257
1281
  AC_CACHE_CHECK([for $am_display_PYTHON script directory],
1258
1282
    [am_cv_python_pythondir],
1259
1283
    [if test "x$prefix" = xNONE
1262
1286
     else
1263
1287
       am_py_prefix=$prefix
1264
1288
     fi
1265
 
     am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
1266
 
     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
 
1289
     am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null`
1267
1290
     case $am_cv_python_pythondir in
1268
1291
     $am_py_prefix*)
1269
1292
       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
1289
1312
 
1290
1313
  dnl pyexecdir -- directory for installing python extension modules
1291
1314
  dnl   (shared libraries)
1292
 
  dnl Query distutils for this directory.  distutils does not exist in
1293
 
  dnl Python 1.5, so we fall back to the hardcoded directory if it
1294
 
  dnl doesn't work.
 
1315
  dnl Query distutils for this directory.
1295
1316
  AC_CACHE_CHECK([for $am_display_PYTHON extension module directory],
1296
1317
    [am_cv_python_pyexecdir],
1297
1318
    [if test "x$exec_prefix" = xNONE
1300
1321
     else
1301
1322
       am_py_exec_prefix=$exec_prefix
1302
1323
     fi
1303
 
     am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
1304
 
     echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
 
1324
     am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null`
1305
1325
     case $am_cv_python_pyexecdir in
1306
1326
     $am_py_exec_prefix*)
1307
1327
       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
1349
1369
sys.exit(sys.hexversion < minverhex)"
1350
1370
  AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])])
1351
1371
 
1352
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
1372
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
1353
1373
#
1354
1374
# This file is free software; the Free Software Foundation
1355
1375
# gives unlimited permission to copy and/or distribute it,
1356
1376
# with or without modifications, as long as this notice is preserved.
1357
1377
 
 
1378
# serial 1
 
1379
 
1358
1380
# AM_RUN_LOG(COMMAND)
1359
1381
# -------------------
1360
1382
# Run COMMAND, save the exit status in ac_status, and log it.
1431
1453
fi
1432
1454
AC_MSG_RESULT(yes)])
1433
1455
 
1434
 
# Copyright (C) 2009  Free Software Foundation, Inc.
 
1456
# Copyright (C) 2009, 2011  Free Software Foundation, Inc.
1435
1457
#
1436
1458
# This file is free software; the Free Software Foundation
1437
1459
# gives unlimited permission to copy and/or distribute it,
1438
1460
# with or without modifications, as long as this notice is preserved.
1439
1461
 
1440
 
# serial 1
 
1462
# serial 2
1441
1463
 
1442
1464
# AM_SILENT_RULES([DEFAULT])
1443
1465
# --------------------------
1452
1474
no)  AM_DEFAULT_VERBOSITY=1;;
1453
1475
*)   AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
1454
1476
esac
 
1477
dnl
 
1478
dnl A few `make' implementations (e.g., NonStop OS and NextStep)
 
1479
dnl do not support nested variable expansions.
 
1480
dnl See automake bug#9928 and bug#10237.
 
1481
am_make=${MAKE-make}
 
1482
AC_CACHE_CHECK([whether $am_make supports nested variables],
 
1483
   [am_cv_make_support_nested_variables],
 
1484
   [if AS_ECHO([['TRUE=$(BAR$(V))
 
1485
BAR0=false
 
1486
BAR1=true
 
1487
V=1
 
1488
am__doit:
 
1489
        @$(TRUE)
 
1490
.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
 
1491
  am_cv_make_support_nested_variables=yes
 
1492
else
 
1493
  am_cv_make_support_nested_variables=no
 
1494
fi])
 
1495
if test $am_cv_make_support_nested_variables = yes; then
 
1496
  dnl Using `$V' instead of `$(V)' breaks IRIX make.
 
1497
  AM_V='$(V)'
 
1498
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 
1499
else
 
1500
  AM_V=$AM_DEFAULT_VERBOSITY
 
1501
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 
1502
fi
 
1503
AC_SUBST([AM_V])dnl
 
1504
AM_SUBST_NOTMAKE([AM_V])dnl
 
1505
AC_SUBST([AM_DEFAULT_V])dnl
 
1506
AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
1455
1507
AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
1456
1508
AM_BACKSLASH='\'
1457
1509
AC_SUBST([AM_BACKSLASH])dnl
1458
1510
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
1459
1511
])
1460
1512
 
1461
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
1513
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
1462
1514
#
1463
1515
# This file is free software; the Free Software Foundation
1464
1516
# gives unlimited permission to copy and/or distribute it,
1465
1517
# with or without modifications, as long as this notice is preserved.
1466
1518
 
 
1519
# serial 1
 
1520
 
1467
1521
# AM_PROG_INSTALL_STRIP
1468
1522
# ---------------------
1469
1523
# One issue with vendor `install' (even GNU) is that you can't
1486
1540
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1487
1541
AC_SUBST([INSTALL_STRIP_PROGRAM])])
1488
1542
 
1489
 
# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
 
1543
# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
1490
1544
#
1491
1545
# This file is free software; the Free Software Foundation
1492
1546
# gives unlimited permission to copy and/or distribute it,
1493
1547
# with or without modifications, as long as this notice is preserved.
1494
1548
 
1495
 
# serial 2
 
1549
# serial 3
1496
1550
 
1497
1551
# _AM_SUBST_NOTMAKE(VARIABLE)
1498
1552
# ---------------------------
1501
1555
AC_DEFUN([_AM_SUBST_NOTMAKE])
1502
1556
 
1503
1557
# AM_SUBST_NOTMAKE(VARIABLE)
1504
 
# ---------------------------
 
1558
# --------------------------
1505
1559
# Public sister of _AM_SUBST_NOTMAKE.
1506
1560
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1507
1561
 
1508
1562
# Check how to create a tarball.                            -*- Autoconf -*-
1509
1563
 
1510
 
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
 
1564
# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
1511
1565
#
1512
1566
# This file is free software; the Free Software Foundation
1513
1567
# gives unlimited permission to copy and/or distribute it,
1529
1583
# a tarball read from stdin.
1530
1584
#     $(am__untar) < result.tar
1531
1585
AC_DEFUN([_AM_PROG_TAR],
1532
 
[# Always define AMTAR for backward compatibility.
1533
 
AM_MISSING_PROG([AMTAR], [tar])
 
1586
[# Always define AMTAR for backward compatibility.  Yes, it's still used
 
1587
# in the wild :-(  We should find a proper way to deprecate it ...
 
1588
AC_SUBST([AMTAR], ['$${TAR-tar}'])
1534
1589
m4_if([$1], [v7],
1535
 
     [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
 
1590
     [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1536
1591
     [m4_case([$1], [ustar],, [pax],,
1537
1592
              [m4_fatal([Unknown tar format])])
1538
1593
AC_MSG_CHECKING([how to create a $1 tar archive])