~ubuntu-branches/ubuntu/maverick/synaptic/maverick

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2009-09-04 11:52:17 UTC
  • Revision ID: james.westby@ubuntu.com-20090904115217-adjwd99boc2py9xq
Tags: 0.62.7ubuntu3
* common/rpackagelister.cc:
  - add prefixes for "name" and "section" in the quick search
    This allows "name:apt" or "section:devel" searches
* debian/control:
  - recommends gksu|kdebase-bin (kdsu is fine too) 
    closes: #442421
* add filter for manual installed packages (LP: #122047)
* fix typo (thanks to Florentin Duneau), closes: #542122
* po/pt_BR.po:
  - updated translation, thanks to Sergio Cipolla
    (closes: #532473)
* common/rpackage.{cc,h}:
  - fix potential segfault

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.10.2 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.11 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
 
# 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
 
4
# 2005, 2006, 2007, 2008, 2009  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.
13
13
 
14
14
m4_ifndef([AC_AUTOCONF_VERSION],
15
15
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16
 
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
17
 
[m4_warning([this file was generated for autoconf 2.63.
 
16
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.64],,
 
17
[m4_warning([this file was generated for autoconf 2.64.
18
18
You have another version of autoconf.  It may work, but is not guaranteed to.
19
19
If you have problems, you may need to regenerate the build system entirely.
20
20
To do so, use the procedure documented by the package, typically `autoreconf'.])])
858
858
# generated from the m4 files accompanying Automake X.Y.
859
859
# (This private macro should not be called outside this file.)
860
860
AC_DEFUN([AM_AUTOMAKE_VERSION],
861
 
[am__api_version='1.10'
 
861
[am__api_version='1.11'
862
862
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
863
863
dnl require some minimum version.  Point them to the right macro.
864
 
m4_if([$1], [1.10.2], [],
 
864
m4_if([$1], [1.11], [],
865
865
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
866
866
])
867
867
 
877
877
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
878
878
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
879
879
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
880
 
[AM_AUTOMAKE_VERSION([1.10.2])dnl
 
880
[AM_AUTOMAKE_VERSION([1.11])dnl
881
881
m4_ifndef([AC_AUTOCONF_VERSION],
882
882
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
883
883
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
960
960
 
961
961
# AM_CONDITIONAL                                            -*- Autoconf -*-
962
962
 
963
 
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
 
963
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
964
964
# Free Software Foundation, Inc.
965
965
#
966
966
# This file is free software; the Free Software Foundation
967
967
# gives unlimited permission to copy and/or distribute it,
968
968
# with or without modifications, as long as this notice is preserved.
969
969
 
970
 
# serial 8
 
970
# serial 9
971
971
 
972
972
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
973
973
# -------------------------------------
980
980
AC_SUBST([$1_FALSE])dnl
981
981
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
982
982
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
 
983
m4_define([_AM_COND_VALUE_$1], [$2])dnl
983
984
if $2; then
984
985
  $1_TRUE=
985
986
  $1_FALSE='#'
993
994
Usually this means the macro was only invoked conditionally.]])
994
995
fi])])
995
996
 
996
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
 
997
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
997
998
# Free Software Foundation, Inc.
998
999
#
999
1000
# This file is free software; the Free Software Foundation
1000
1001
# gives unlimited permission to copy and/or distribute it,
1001
1002
# with or without modifications, as long as this notice is preserved.
1002
1003
 
1003
 
# serial 9
 
1004
# serial 10
1004
1005
 
1005
1006
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
1006
1007
# written in clear, in which case automake, when reading aclocal.m4,
1057
1058
  if test "$am_compiler_list" = ""; then
1058
1059
     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
1059
1060
  fi
 
1061
  am__universal=false
 
1062
  m4_case([$1], [CC],
 
1063
    [case " $depcc " in #(
 
1064
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
1065
     esac],
 
1066
    [CXX],
 
1067
    [case " $depcc " in #(
 
1068
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
1069
     esac])
 
1070
 
1060
1071
  for depmode in $am_compiler_list; do
1061
1072
    # Setup a source with many dependencies, because some compilers
1062
1073
    # like to wrap large dependency lists on column 80 (with \), and
1074
1085
    done
1075
1086
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1076
1087
 
 
1088
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
1089
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
1090
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
1091
    # versions had trouble with output in subdirs
 
1092
    am__obj=sub/conftest.${OBJEXT-o}
 
1093
    am__minus_obj="-o $am__obj"
1077
1094
    case $depmode in
 
1095
    gcc)
 
1096
      # This depmode causes a compiler race in universal mode.
 
1097
      test "$am__universal" = false || continue
 
1098
      ;;
1078
1099
    nosideeffect)
1079
1100
      # after this tag, mechanisms are not by side-effect, so they'll
1080
1101
      # only be used when explicitly requested
1084
1105
        break
1085
1106
      fi
1086
1107
      ;;
 
1108
    msvisualcpp | msvcmsys)
 
1109
      # This compiler won't grok `-c -o', but also, the minuso test has
 
1110
      # not run yet.  These depmodes are late enough in the game, and
 
1111
      # so weak that their functioning should not be impacted.
 
1112
      am__obj=conftest.${OBJEXT-o}
 
1113
      am__minus_obj=
 
1114
      ;;
1087
1115
    none) break ;;
1088
1116
    esac
1089
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
1090
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
1091
 
    # handle `-M -o', and we need to detect this.
1092
1117
    if depmode=$depmode \
1093
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
1118
       source=sub/conftest.c object=$am__obj \
1094
1119
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1095
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
1120
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1096
1121
         >/dev/null 2>conftest.err &&
1097
1122
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1098
1123
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1099
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
1124
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1100
1125
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1101
1126
      # icc doesn't choke on unknown options, it will just issue warnings
1102
1127
      # or remarks (even with -Werror).  So we grep stderr for any message
1246
1271
# Do all the work for Automake.                             -*- Autoconf -*-
1247
1272
 
1248
1273
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
1249
 
# 2005, 2006, 2008 Free Software Foundation, Inc.
 
1274
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
1250
1275
#
1251
1276
# This file is free software; the Free Software Foundation
1252
1277
# gives unlimited permission to copy and/or distribute it,
1253
1278
# with or without modifications, as long as this notice is preserved.
1254
1279
 
1255
 
# serial 13
 
1280
# serial 16
1256
1281
 
1257
1282
# This macro actually does too much.  Some checks are only needed if
1258
1283
# your package does certain things.  But this isn't really a big deal.
1269
1294
# arguments mandatory, and then we can depend on a new Autoconf
1270
1295
# release and drop the old call support.
1271
1296
AC_DEFUN([AM_INIT_AUTOMAKE],
1272
 
[AC_PREREQ([2.60])dnl
 
1297
[AC_PREREQ([2.62])dnl
1273
1298
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
1274
1299
dnl the ones we care about.
1275
1300
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
1320
1345
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
1321
1346
AM_MISSING_PROG(AUTOHEADER, autoheader)
1322
1347
AM_MISSING_PROG(MAKEINFO, makeinfo)
1323
 
AM_PROG_INSTALL_SH
1324
 
AM_PROG_INSTALL_STRIP
 
1348
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
 
1349
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
1325
1350
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
1326
1351
# We need awk for the "check" target.  The system "awk" is bad on
1327
1352
# some platforms.
1329
1354
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
1330
1355
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1331
1356
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
1332
 
              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
1333
 
                             [_AM_PROG_TAR([v7])])])
 
1357
              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
 
1358
                             [_AM_PROG_TAR([v7])])])
1334
1359
_AM_IF_OPTION([no-dependencies],,
1335
1360
[AC_PROVIDE_IFELSE([AC_PROG_CC],
1336
 
                  [_AM_DEPENDENCIES(CC)],
1337
 
                  [define([AC_PROG_CC],
1338
 
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
 
1361
                  [_AM_DEPENDENCIES(CC)],
 
1362
                  [define([AC_PROG_CC],
 
1363
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
1339
1364
AC_PROVIDE_IFELSE([AC_PROG_CXX],
1340
 
                  [_AM_DEPENDENCIES(CXX)],
1341
 
                  [define([AC_PROG_CXX],
1342
 
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
 
1365
                  [_AM_DEPENDENCIES(CXX)],
 
1366
                  [define([AC_PROG_CXX],
 
1367
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
1343
1368
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
1344
 
                  [_AM_DEPENDENCIES(OBJC)],
1345
 
                  [define([AC_PROG_OBJC],
1346
 
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
1347
 
])
1348
 
])
 
1369
                  [_AM_DEPENDENCIES(OBJC)],
 
1370
                  [define([AC_PROG_OBJC],
 
1371
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
 
1372
])
 
1373
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
 
1374
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
 
1375
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
 
1376
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
 
1377
AC_CONFIG_COMMANDS_PRE(dnl
 
1378
[m4_provide_if([_AM_COMPILER_EXEEXT],
 
1379
  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
 
1380
])
 
1381
 
 
1382
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
 
1383
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
 
1384
dnl mangled by Autoconf and run in a shell conditional statement.
 
1385
m4_define([_AC_COMPILER_EXEEXT],
 
1386
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
1349
1387
 
1350
1388
 
1351
1389
# When config.status generates a header, we must update the stamp-h file.
1369
1407
done
1370
1408
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
1371
1409
 
1372
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
1410
# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
1373
1411
#
1374
1412
# This file is free software; the Free Software Foundation
1375
1413
# gives unlimited permission to copy and/or distribute it,
1380
1418
# Define $install_sh.
1381
1419
AC_DEFUN([AM_PROG_INSTALL_SH],
1382
1420
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1383
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
 
1421
if test x"${install_sh}" != xset; then
 
1422
  case $am_aux_dir in
 
1423
  *\ * | *\     *)
 
1424
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
1425
  *)
 
1426
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
1427
  esac
 
1428
fi
1384
1429
AC_SUBST(install_sh)])
1385
1430
 
1386
1431
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
1407
1452
# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
1408
1453
# From Jim Meyering
1409
1454
 
1410
 
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
 
1455
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
1411
1456
# Free Software Foundation, Inc.
1412
1457
#
1413
1458
# This file is free software; the Free Software Foundation
1414
1459
# gives unlimited permission to copy and/or distribute it,
1415
1460
# with or without modifications, as long as this notice is preserved.
1416
1461
 
1417
 
# serial 4
 
1462
# serial 5
1418
1463
 
 
1464
# AM_MAINTAINER_MODE([DEFAULT-MODE])
 
1465
# ----------------------------------
 
1466
# Control maintainer-specific portions of Makefiles.
 
1467
# Default is to disable them, unless `enable' is passed literally.
 
1468
# For symmetry, `disable' may be passed as well.  Anyway, the user
 
1469
# can override the default with the --enable/--disable switch.
1419
1470
AC_DEFUN([AM_MAINTAINER_MODE],
1420
 
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
1421
 
  dnl maintainer-mode is disabled by default
1422
 
  AC_ARG_ENABLE(maintainer-mode,
1423
 
[  --enable-maintainer-mode  enable make rules and dependencies not useful
 
1471
[m4_case(m4_default([$1], [disable]),
 
1472
       [enable], [m4_define([am_maintainer_other], [disable])],
 
1473
       [disable], [m4_define([am_maintainer_other], [enable])],
 
1474
       [m4_define([am_maintainer_other], [enable])
 
1475
        m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
 
1476
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
 
1477
  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
 
1478
  AC_ARG_ENABLE([maintainer-mode],
 
1479
[  --][am_maintainer_other][-maintainer-mode  am_maintainer_other make rules and dependencies not useful
1424
1480
                          (and sometimes confusing) to the casual installer],
1425
 
      USE_MAINTAINER_MODE=$enableval,
1426
 
      USE_MAINTAINER_MODE=no)
 
1481
      [USE_MAINTAINER_MODE=$enableval],
 
1482
      [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
1427
1483
  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
1428
 
  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
 
1484
  AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
1429
1485
  MAINT=$MAINTAINER_MODE_TRUE
1430
 
  AC_SUBST(MAINT)dnl
 
1486
  AC_SUBST([MAINT])dnl
1431
1487
]
1432
1488
)
1433
1489
 
1435
1491
 
1436
1492
# Check to see how 'make' treats includes.                  -*- Autoconf -*-
1437
1493
 
1438
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
1494
# Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
1439
1495
#
1440
1496
# This file is free software; the Free Software Foundation
1441
1497
# gives unlimited permission to copy and/or distribute it,
1442
1498
# with or without modifications, as long as this notice is preserved.
1443
1499
 
1444
 
# serial 3
 
1500
# serial 4
1445
1501
 
1446
1502
# AM_MAKE_INCLUDE()
1447
1503
# -----------------
1450
1506
[am_make=${MAKE-make}
1451
1507
cat > confinc << 'END'
1452
1508
am__doit:
1453
 
        @echo done
 
1509
        @echo this is the am__doit target
1454
1510
.PHONY: am__doit
1455
1511
END
1456
1512
# If we don't find an include directive, just comment out the code.
1460
1516
_am_result=none
1461
1517
# First try GNU make style include.
1462
1518
echo "include confinc" > confmf
1463
 
# We grep out `Entering directory' and `Leaving directory'
1464
 
# messages which can occur if `w' ends up in MAKEFLAGS.
1465
 
# In particular we don't look at `^make:' because GNU make might
1466
 
# be invoked under some other name (usually "gmake"), in which
1467
 
# case it prints its new name instead of `make'.
1468
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1469
 
   am__include=include
1470
 
   am__quote=
1471
 
   _am_result=GNU
1472
 
fi
 
1519
# Ignore all kinds of additional output from `make'.
 
1520
case `$am_make -s -f confmf 2> /dev/null` in #(
 
1521
*the\ am__doit\ target*)
 
1522
  am__include=include
 
1523
  am__quote=
 
1524
  _am_result=GNU
 
1525
  ;;
 
1526
esac
1473
1527
# Now try BSD make style include.
1474
1528
if test "$am__include" = "#"; then
1475
1529
   echo '.include "confinc"' > confmf
1476
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1477
 
      am__include=.include
1478
 
      am__quote="\""
1479
 
      _am_result=BSD
1480
 
   fi
 
1530
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
1531
   *the\ am__doit\ target*)
 
1532
     am__include=.include
 
1533
     am__quote="\""
 
1534
     _am_result=BSD
 
1535
     ;;
 
1536
   esac
1481
1537
fi
1482
1538
AC_SUBST([am__include])
1483
1539
AC_SUBST([am__quote])
1487
1543
 
1488
1544
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
1489
1545
 
1490
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
 
1546
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
1491
1547
# Free Software Foundation, Inc.
1492
1548
#
1493
1549
# This file is free software; the Free Software Foundation
1494
1550
# gives unlimited permission to copy and/or distribute it,
1495
1551
# with or without modifications, as long as this notice is preserved.
1496
1552
 
1497
 
# serial 5
 
1553
# serial 6
1498
1554
 
1499
1555
# AM_MISSING_PROG(NAME, PROGRAM)
1500
1556
# ------------------------------
1511
1567
AC_DEFUN([AM_MISSING_HAS_RUN],
1512
1568
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1513
1569
AC_REQUIRE_AUX_FILE([missing])dnl
1514
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
1570
if test x"${MISSING+set}" != xset; then
 
1571
  case $am_aux_dir in
 
1572
  *\ * | *\     *)
 
1573
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
1574
  *)
 
1575
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
1576
  esac
 
1577
fi
1515
1578
# Use eval to expand $SHELL
1516
1579
if eval "$MISSING --run true"; then
1517
1580
  am_missing_run="$MISSING --run "
1582
1645
 
1583
1646
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
1584
1647
 
1585
 
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
 
1648
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
1586
1649
# Free Software Foundation, Inc.
1587
1650
#
1588
1651
# This file is free software; the Free Software Foundation
1589
1652
# gives unlimited permission to copy and/or distribute it,
1590
1653
# with or without modifications, as long as this notice is preserved.
1591
1654
 
1592
 
# serial 4
 
1655
# serial 5
1593
1656
 
1594
1657
# AM_SANITY_CHECK
1595
1658
# ---------------
1598
1661
# Just in case
1599
1662
sleep 1
1600
1663
echo timestamp > conftest.file
 
1664
# Reject unsafe characters in $srcdir or the absolute working directory
 
1665
# name.  Accept space and tab only in the latter.
 
1666
am_lf='
 
1667
'
 
1668
case `pwd` in
 
1669
  *[[\\\"\#\$\&\'\`$am_lf]]*)
 
1670
    AC_MSG_ERROR([unsafe absolute working directory name]);;
 
1671
esac
 
1672
case $srcdir in
 
1673
  *[[\\\"\#\$\&\'\`$am_lf\ \    ]]*)
 
1674
    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
 
1675
esac
 
1676
 
1601
1677
# Do `set' in a subshell so we don't clobber the current shell's
1602
1678
# arguments.  Must try -L first in case configure is actually a
1603
1679
# symlink; some systems play weird games with the mod time of symlinks
1604
1680
# (eg FreeBSD returns the mod time of the symlink's containing
1605
1681
# directory).
1606
1682
if (
1607
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
1683
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1608
1684
   if test "$[*]" = "X"; then
1609
1685
      # -L didn't work.
1610
 
      set X `ls -t $srcdir/configure conftest.file`
 
1686
      set X `ls -t "$srcdir/configure" conftest.file`
1611
1687
   fi
1612
1688
   rm -f conftest.file
1613
1689
   if test "$[*]" != "X $srcdir/configure conftest.file" \
1660
1736
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1661
1737
AC_SUBST([INSTALL_STRIP_PROGRAM])])
1662
1738
 
1663
 
# Copyright (C) 2006  Free Software Foundation, Inc.
 
1739
# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
1664
1740
#
1665
1741
# This file is free software; the Free Software Foundation
1666
1742
# gives unlimited permission to copy and/or distribute it,
1667
1743
# with or without modifications, as long as this notice is preserved.
1668
1744
 
 
1745
# serial 2
 
1746
 
1669
1747
# _AM_SUBST_NOTMAKE(VARIABLE)
1670
1748
# ---------------------------
1671
1749
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
1672
1750
# This macro is traced by Automake.
1673
1751
AC_DEFUN([_AM_SUBST_NOTMAKE])
1674
1752
 
 
1753
# AM_SUBST_NOTMAKE(VARIABLE)
 
1754
# ---------------------------
 
1755
# Public sister of _AM_SUBST_NOTMAKE.
 
1756
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 
1757
 
1675
1758
# Check how to create a tarball.                            -*- Autoconf -*-
1676
1759
 
1677
1760
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.