~ubuntu-branches/ubuntu/wily/libwpd/wily-proposed

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Package Import Robot
  • Author(s): Rene Engelhard
  • Date: 2013-08-20 22:00:26 UTC
  • mfrom: (1.5.5)
  • Revision ID: package-import@ubuntu.com-20130820220026-9p9khyr1llcfkypl
Tags: 0.9.9-1
* New upstream release

* bump dh compat to 9, use /usr/share/dpkg/{architecture,buildflags}.mk 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.13.1 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.13.4 -*- Autoconf -*-
2
2
 
3
 
# Copyright (C) 1996-2012 Free Software Foundation, Inc.
 
3
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
4
4
 
5
5
# This file is free software; the Free Software Foundation
6
6
# gives unlimited permission to copy and/or distribute it,
235
235
[am__api_version='1.13'
236
236
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
237
237
dnl require some minimum version.  Point them to the right macro.
238
 
m4_if([$1], [1.13.1], [],
 
238
m4_if([$1], [1.13.4], [],
239
239
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
240
240
])
241
241
 
251
251
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
252
252
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
253
253
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
254
 
[AM_AUTOMAKE_VERSION([1.13.1])dnl
 
254
[AM_AUTOMAKE_VERSION([1.13.4])dnl
255
255
m4_ifndef([AC_AUTOCONF_VERSION],
256
256
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
257
257
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
632
632
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
633
633
    test -z "$DEPDIR" && continue
634
634
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
635
 
    test -z "am__include" && continue
 
635
    test -z "$am__include" && continue
636
636
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
637
637
    # Find all dependency output files, they are included files with
638
638
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
1184
1184
# Substitute a variable $(am__untar) that extract such
1185
1185
# a tarball read from stdin.
1186
1186
#     $(am__untar) < result.tar
 
1187
#
1187
1188
AC_DEFUN([_AM_PROG_TAR],
1188
1189
[# Always define AMTAR for backward compatibility.  Yes, it's still used
1189
1190
# in the wild :-(  We should find a proper way to deprecate it ...
1190
1191
AC_SUBST([AMTAR], ['$${TAR-tar}'])
 
1192
 
 
1193
# We'll loop over all known methods to create a tar archive until one works.
 
1194
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
 
1195
 
1191
1196
m4_if([$1], [v7],
1192
 
     [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1193
 
     [m4_case([$1], [ustar],, [pax],,
1194
 
              [m4_fatal([Unknown tar format])])
1195
 
AC_MSG_CHECKING([how to create a $1 tar archive])
1196
 
# Loop over all known methods to create a tar archive until one works.
1197
 
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1198
 
_am_tools=${am_cv_prog_tar_$1-$_am_tools}
1199
 
# Do not fold the above two line into one, because Tru64 sh and
1200
 
# Solaris sh will not grok spaces in the rhs of '-'.
1201
 
for _am_tool in $_am_tools
1202
 
do
1203
 
  case $_am_tool in
1204
 
  gnutar)
1205
 
    for _am_tar in tar gnutar gtar;
1206
 
    do
1207
 
      AM_RUN_LOG([$_am_tar --version]) && break
1208
 
    done
1209
 
    am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1210
 
    am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1211
 
    am__untar="$_am_tar -xf -"
1212
 
    ;;
1213
 
  plaintar)
1214
 
    # Must skip GNU tar: if it does not support --format= it doesn't create
1215
 
    # ustar tarball either.
1216
 
    (tar --version) >/dev/null 2>&1 && continue
1217
 
    am__tar='tar chf - "$$tardir"'
1218
 
    am__tar_='tar chf - "$tardir"'
1219
 
    am__untar='tar xf -'
1220
 
    ;;
1221
 
  pax)
1222
 
    am__tar='pax -L -x $1 -w "$$tardir"'
1223
 
    am__tar_='pax -L -x $1 -w "$tardir"'
1224
 
    am__untar='pax -r'
1225
 
    ;;
1226
 
  cpio)
1227
 
    am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1228
 
    am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1229
 
    am__untar='cpio -i -H $1 -d'
1230
 
    ;;
1231
 
  none)
1232
 
    am__tar=false
1233
 
    am__tar_=false
1234
 
    am__untar=false
1235
 
    ;;
1236
 
  esac
1237
 
 
1238
 
  # If the value was cached, stop now.  We just wanted to have am__tar
1239
 
  # and am__untar set.
1240
 
  test -n "${am_cv_prog_tar_$1}" && break
1241
 
 
1242
 
  # tar/untar a dummy directory, and stop if the command works
1243
 
  rm -rf conftest.dir
1244
 
  mkdir conftest.dir
1245
 
  echo GrepMe > conftest.dir/file
1246
 
  AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1247
 
  rm -rf conftest.dir
1248
 
  if test -s conftest.tar; then
1249
 
    AM_RUN_LOG([$am__untar <conftest.tar])
1250
 
    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1251
 
  fi
1252
 
done
1253
 
rm -rf conftest.dir
1254
 
 
1255
 
AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1256
 
AC_MSG_RESULT([$am_cv_prog_tar_$1])])
 
1197
  [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
 
1198
 
 
1199
  [m4_case([$1],
 
1200
    [ustar],
 
1201
     [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
 
1202
      # There is notably a 21 bits limit for the UID and the GID.  In fact,
 
1203
      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
 
1204
      # and bug#13588).
 
1205
      am_max_uid=2097151 # 2^21 - 1
 
1206
      am_max_gid=$am_max_uid
 
1207
      # The $UID and $GID variables are not portable, so we need to resort
 
1208
      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
 
1209
      # below are definitely unexpected, so allow the users to see them
 
1210
      # (that is, avoid stderr redirection).
 
1211
      am_uid=`id -u || echo unknown`
 
1212
      am_gid=`id -g || echo unknown`
 
1213
      AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
 
1214
      if test $am_uid -le $am_max_uid; then
 
1215
         AC_MSG_RESULT([yes])
 
1216
      else
 
1217
         AC_MSG_RESULT([no])
 
1218
         _am_tools=none
 
1219
      fi
 
1220
      AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
 
1221
      if test $am_gid -le $am_max_gid; then
 
1222
         AC_MSG_RESULT([yes])
 
1223
      else
 
1224
        AC_MSG_RESULT([no])
 
1225
        _am_tools=none
 
1226
      fi],
 
1227
 
 
1228
  [pax],
 
1229
    [],
 
1230
 
 
1231
  [m4_fatal([Unknown tar format])])
 
1232
 
 
1233
  AC_MSG_CHECKING([how to create a $1 tar archive])
 
1234
 
 
1235
  # Go ahead even if we have the value already cached.  We do so because we
 
1236
  # need to set the values for the 'am__tar' and 'am__untar' variables.
 
1237
  _am_tools=${am_cv_prog_tar_$1-$_am_tools}
 
1238
 
 
1239
  for _am_tool in $_am_tools; do
 
1240
    case $_am_tool in
 
1241
    gnutar)
 
1242
      for _am_tar in tar gnutar gtar; do
 
1243
        AM_RUN_LOG([$_am_tar --version]) && break
 
1244
      done
 
1245
      am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
 
1246
      am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
 
1247
      am__untar="$_am_tar -xf -"
 
1248
      ;;
 
1249
    plaintar)
 
1250
      # Must skip GNU tar: if it does not support --format= it doesn't create
 
1251
      # ustar tarball either.
 
1252
      (tar --version) >/dev/null 2>&1 && continue
 
1253
      am__tar='tar chf - "$$tardir"'
 
1254
      am__tar_='tar chf - "$tardir"'
 
1255
      am__untar='tar xf -'
 
1256
      ;;
 
1257
    pax)
 
1258
      am__tar='pax -L -x $1 -w "$$tardir"'
 
1259
      am__tar_='pax -L -x $1 -w "$tardir"'
 
1260
      am__untar='pax -r'
 
1261
      ;;
 
1262
    cpio)
 
1263
      am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
 
1264
      am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
 
1265
      am__untar='cpio -i -H $1 -d'
 
1266
      ;;
 
1267
    none)
 
1268
      am__tar=false
 
1269
      am__tar_=false
 
1270
      am__untar=false
 
1271
      ;;
 
1272
    esac
 
1273
 
 
1274
    # If the value was cached, stop now.  We just wanted to have am__tar
 
1275
    # and am__untar set.
 
1276
    test -n "${am_cv_prog_tar_$1}" && break
 
1277
 
 
1278
    # tar/untar a dummy directory, and stop if the command works.
 
1279
    rm -rf conftest.dir
 
1280
    mkdir conftest.dir
 
1281
    echo GrepMe > conftest.dir/file
 
1282
    AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
 
1283
    rm -rf conftest.dir
 
1284
    if test -s conftest.tar; then
 
1285
      AM_RUN_LOG([$am__untar <conftest.tar])
 
1286
      AM_RUN_LOG([cat conftest.dir/file])
 
1287
      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
 
1288
    fi
 
1289
  done
 
1290
  rm -rf conftest.dir
 
1291
 
 
1292
  AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
 
1293
  AC_MSG_RESULT([$am_cv_prog_tar_$1])])
 
1294
 
1257
1295
AC_SUBST([am__tar])
1258
1296
AC_SUBST([am__untar])
1259
1297
]) # _AM_PROG_TAR