~ubuntu-dev/ubuntu/lucid/dovecot/lucid-201002101901

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Chuck Short
  • Date: 2010-01-21 20:21:25 UTC
  • mfrom: (4.1.11 squeeze)
  • Revision ID: zulcss@ubuntu.com-20100121202125-pme73o491kfwj5nc
* Merge from debian testing, remaining changes:
  + Add new binary pkg dovecot-postfix that integrates postfix and dovecot
    automatically: (LP: #164837)
  + debian/control:
    - add new binary with short description
    - set Architecture all for dovecot-postfix (LP: #329878)
  + debian/dovecot-postfix.postinst:
    - create initial certificate symlinks to snakeoil.
    - set up postfix with postconf to:
      - use Maildir/ as the default mailbox.
      - use dovecot as the sasl authentication server.
      - use dovecot LDA (deliver).
      - use tls for smtp{d} services.
    - fix certificates paths in postfix' main.cf
    - add reject_unauth_destination to postfix' recipient restrictions
    - add reject_unknown_sender_domain to postfix' sender restriction
    - rename configuration name on remove, delete on purge
    - restart dovecot after linking certificates
    - handle use case when postfix is unconfigurated
  + debian/dovecot-postfix.dirs: create backup directory for postfix's config
    configuration
  + restart postfix and dovecot.
  + debian/dovecot-postfix.postrm:
    - remove all dovecot related configuration from postfix.
    - restart postfix and dovecot.
  + debian/dovecot-common.init:
    - check if /etc/dovecot/dovecot-postfix.conf exists and use it
      as the configuration file if so.
  + debian/patches/warning-ubuntu-postfix.dpatch
    - add warning about dovecot-postfix.conf in dovecot default
      configuration file
  + debian/patches/dovecot-postfix.conf.diff:
    - Ubuntu server custom changes to the default dovecot configuration for
      better interfation with postfix.
    - enable sieve plugin.
    - Ubuntu server custom changes to the default dovecot configuration for
      better integration with postfix:
      - enable imap, pop3, imaps, pop3s and managesieve by default.
      - enable dovecot LDA (deliver).
      - enable SASL auth socket in postfix private directory
   + debian/rules:
     - copy, patch and install dovecot-postfix.conf in /etc/dovecot/.
     - build architecure independent packages too
   + Use Snakeoil SSL certificates by default.
     - debian/control: Depend on ssl-cert.
     - debian/patches/ssl-cert-snakeoil.dpatch: Change default SSL cert
       paths to snakeoil.
     - debian/dovecot-common.postinst: Relax grep for SSL_* a bit.
   + Add autopkgtest to debian/tests/*.
   + Fast TearDown: Update the lsb init header to not stop in level 6.
   + Add ufw integration:
     - Created debian/dovecot-common.ufw.profile.
     - debian/rules: install profile.
     - debian/control: suggest ufw.
   + debian/{control,rules}: enable PIE hardening.
   + dovecot-imapd, dovecot-pop3: Replaces dovecot-common (<< 1:1.1). (LP: #254721)
   + debian/control: Update Vcs-* headers.
   + Add SMTP-AUTH support for Outlook (login auth mechanism)
* New upstream release.
* debian/patches/gold-fix.patch: Removed. Fixed upstream.
* Moved libexec to lib corrections in dovecot-managesieve.patch and
  dovecot-managesieve-dist.patch to dovecot-example.patch
* debian/patches/dovecot-mboxlocking.patch: Regenerated to avoid FTBFS
  when quilt isn't installed.
* debian/patches/quota-mountpoint.patch: Removed. Not needed anymore.
* debian/patches/dovecot-quota.patch: Removed. Quotas aren't properly
  enabled unless mail_plugins = quota imap_quota.
* debian/patches/gold-fix.patch: Fixed configure script to build even
  with binutils-gold or --no-add-needed linker flag (Closes: #554306)
* debian/dovecot-common.init: fixed LSB headers. Thanks to Pascal Volk.
  (Closes: #558040)
* debian/changelog: added CVE references to previous changelog entry.
* debian/rules: checked up the build system. It's not fragile anymore.
  (Closes: 493803)
* debian/dovecot-common.postinst: Now invoking dpkg-reconfigure
  on dovecot-common is enough to generate new certificates
  if the previous ones were removed. (Closes: #545582)
* debian/rules: No longer install convert-tool in /usr/bin.
  It isn't an user utility and it should stay in /usr/lib/dovecot
  like all other similar tool.
* New upstream release. (Closes: #557601)
* [SECURITY] Fixes local information disclosure and denial of service.
  (see: http://www.dovecot.org/list/dovecot-news/2009-November/000143.html
  and CVE-2009-3897)
* Added myself to uploaders.
* Switched to the new source format "3.0 (quilt)":
  - removed dpatch from build-depends
  - removed debian/README.source because now we use only standard
    dpkg features
  - regenerated all patches
* Prepared to switch to multi-origin source:
  - recreated dovecot-libsieve.patch and dovecot-managesieve-dist.patch
    starting from the upstream tarball
  - removed all autotools related build-depends and build-conflict
  - renamed dovecot-libsieve and dovecot-managesieve directories
    to libsieve and managesieve.
* debian/rules: Moved the configuration of libsieve and managesieve from
  the build phase to the configuration phase
* Added dovecot-dbg package  with debugging symbols.  Thanks Stephan Bosch.
  (Closes: #554710)
* Fixed some stray libexec'isms in the default configuration.
* New upstream release.
* debian/dovecot-common.init:
  - use $CONF when starting the daemon. (Closes: #549944)
  - always output start/stop messages. (Closes: #523810)

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'.])])
5464
5464
  openbsd*)
5465
5465
    with_gnu_ld=no
5466
5466
    ;;
 
5467
  linux* | k*bsd*-gnu)
 
5468
    _LT_TAGVAR(link_all_deplibs, $1)=no
 
5469
    ;;
5467
5470
  esac
5468
5471
 
5469
5472
  _LT_TAGVAR(ld_shlibs, $1)=yes
9339
9342
# generated from the m4 files accompanying Automake X.Y.
9340
9343
# (This private macro should not be called outside this file.)
9341
9344
AC_DEFUN([AM_AUTOMAKE_VERSION],
9342
 
[am__api_version='1.10'
 
9345
[am__api_version='1.11'
9343
9346
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
9344
9347
dnl require some minimum version.  Point them to the right macro.
9345
 
m4_if([$1], [1.10.2], [],
 
9348
m4_if([$1], [1.11], [],
9346
9349
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
9347
9350
])
9348
9351
 
9358
9361
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
9359
9362
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
9360
9363
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
9361
 
[AM_AUTOMAKE_VERSION([1.10.2])dnl
 
9364
[AM_AUTOMAKE_VERSION([1.11])dnl
9362
9365
m4_ifndef([AC_AUTOCONF_VERSION],
9363
9366
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
9364
9367
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
9418
9421
 
9419
9422
# AM_CONDITIONAL                                            -*- Autoconf -*-
9420
9423
 
9421
 
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
 
9424
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
9422
9425
# Free Software Foundation, Inc.
9423
9426
#
9424
9427
# This file is free software; the Free Software Foundation
9425
9428
# gives unlimited permission to copy and/or distribute it,
9426
9429
# with or without modifications, as long as this notice is preserved.
9427
9430
 
9428
 
# serial 8
 
9431
# serial 9
9429
9432
 
9430
9433
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
9431
9434
# -------------------------------------
9438
9441
AC_SUBST([$1_FALSE])dnl
9439
9442
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
9440
9443
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
 
9444
m4_define([_AM_COND_VALUE_$1], [$2])dnl
9441
9445
if $2; then
9442
9446
  $1_TRUE=
9443
9447
  $1_FALSE='#'
9451
9455
Usually this means the macro was only invoked conditionally.]])
9452
9456
fi])])
9453
9457
 
9454
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
 
9458
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
9455
9459
# Free Software Foundation, Inc.
9456
9460
#
9457
9461
# This file is free software; the Free Software Foundation
9458
9462
# gives unlimited permission to copy and/or distribute it,
9459
9463
# with or without modifications, as long as this notice is preserved.
9460
9464
 
9461
 
# serial 9
 
9465
# serial 10
9462
9466
 
9463
9467
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
9464
9468
# written in clear, in which case automake, when reading aclocal.m4,
9515
9519
  if test "$am_compiler_list" = ""; then
9516
9520
     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
9517
9521
  fi
 
9522
  am__universal=false
 
9523
  m4_case([$1], [CC],
 
9524
    [case " $depcc " in #(
 
9525
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
9526
     esac],
 
9527
    [CXX],
 
9528
    [case " $depcc " in #(
 
9529
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
9530
     esac])
 
9531
 
9518
9532
  for depmode in $am_compiler_list; do
9519
9533
    # Setup a source with many dependencies, because some compilers
9520
9534
    # like to wrap large dependency lists on column 80 (with \), and
9532
9546
    done
9533
9547
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
9534
9548
 
 
9549
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
9550
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
9551
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
9552
    # versions had trouble with output in subdirs
 
9553
    am__obj=sub/conftest.${OBJEXT-o}
 
9554
    am__minus_obj="-o $am__obj"
9535
9555
    case $depmode in
 
9556
    gcc)
 
9557
      # This depmode causes a compiler race in universal mode.
 
9558
      test "$am__universal" = false || continue
 
9559
      ;;
9536
9560
    nosideeffect)
9537
9561
      # after this tag, mechanisms are not by side-effect, so they'll
9538
9562
      # only be used when explicitly requested
9542
9566
        break
9543
9567
      fi
9544
9568
      ;;
 
9569
    msvisualcpp | msvcmsys)
 
9570
      # This compiler won't grok `-c -o', but also, the minuso test has
 
9571
      # not run yet.  These depmodes are late enough in the game, and
 
9572
      # so weak that their functioning should not be impacted.
 
9573
      am__obj=conftest.${OBJEXT-o}
 
9574
      am__minus_obj=
 
9575
      ;;
9545
9576
    none) break ;;
9546
9577
    esac
9547
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
9548
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
9549
 
    # handle `-M -o', and we need to detect this.
9550
9578
    if depmode=$depmode \
9551
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
9579
       source=sub/conftest.c object=$am__obj \
9552
9580
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
9553
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
9581
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
9554
9582
         >/dev/null 2>conftest.err &&
9555
9583
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
9556
9584
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
9557
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
9585
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
9558
9586
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9559
9587
      # icc doesn't choke on unknown options, it will just issue warnings
9560
9588
      # or remarks (even with -Werror).  So we grep stderr for any message
9692
9720
# Do all the work for Automake.                             -*- Autoconf -*-
9693
9721
 
9694
9722
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
9695
 
# 2005, 2006, 2008 Free Software Foundation, Inc.
 
9723
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
9696
9724
#
9697
9725
# This file is free software; the Free Software Foundation
9698
9726
# gives unlimited permission to copy and/or distribute it,
9699
9727
# with or without modifications, as long as this notice is preserved.
9700
9728
 
9701
 
# serial 13
 
9729
# serial 16
9702
9730
 
9703
9731
# This macro actually does too much.  Some checks are only needed if
9704
9732
# your package does certain things.  But this isn't really a big deal.
9715
9743
# arguments mandatory, and then we can depend on a new Autoconf
9716
9744
# release and drop the old call support.
9717
9745
AC_DEFUN([AM_INIT_AUTOMAKE],
9718
 
[AC_PREREQ([2.60])dnl
 
9746
[AC_PREREQ([2.62])dnl
9719
9747
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
9720
9748
dnl the ones we care about.
9721
9749
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
9766
9794
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
9767
9795
AM_MISSING_PROG(AUTOHEADER, autoheader)
9768
9796
AM_MISSING_PROG(MAKEINFO, makeinfo)
9769
 
AM_PROG_INSTALL_SH
9770
 
AM_PROG_INSTALL_STRIP
 
9797
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
 
9798
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
9771
9799
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
9772
9800
# We need awk for the "check" target.  The system "awk" is bad on
9773
9801
# some platforms.
9775
9803
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
9776
9804
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
9777
9805
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
9778
 
              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
9779
 
                             [_AM_PROG_TAR([v7])])])
 
9806
              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
 
9807
                             [_AM_PROG_TAR([v7])])])
9780
9808
_AM_IF_OPTION([no-dependencies],,
9781
9809
[AC_PROVIDE_IFELSE([AC_PROG_CC],
9782
 
                  [_AM_DEPENDENCIES(CC)],
9783
 
                  [define([AC_PROG_CC],
9784
 
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
 
9810
                  [_AM_DEPENDENCIES(CC)],
 
9811
                  [define([AC_PROG_CC],
 
9812
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
9785
9813
AC_PROVIDE_IFELSE([AC_PROG_CXX],
9786
 
                  [_AM_DEPENDENCIES(CXX)],
9787
 
                  [define([AC_PROG_CXX],
9788
 
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
 
9814
                  [_AM_DEPENDENCIES(CXX)],
 
9815
                  [define([AC_PROG_CXX],
 
9816
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
9789
9817
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
9790
 
                  [_AM_DEPENDENCIES(OBJC)],
9791
 
                  [define([AC_PROG_OBJC],
9792
 
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
9793
 
])
9794
 
])
 
9818
                  [_AM_DEPENDENCIES(OBJC)],
 
9819
                  [define([AC_PROG_OBJC],
 
9820
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
 
9821
])
 
9822
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
 
9823
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
 
9824
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
 
9825
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
 
9826
AC_CONFIG_COMMANDS_PRE(dnl
 
9827
[m4_provide_if([_AM_COMPILER_EXEEXT],
 
9828
  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
 
9829
])
 
9830
 
 
9831
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
 
9832
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
 
9833
dnl mangled by Autoconf and run in a shell conditional statement.
 
9834
m4_define([_AC_COMPILER_EXEEXT],
 
9835
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
9795
9836
 
9796
9837
 
9797
9838
# When config.status generates a header, we must update the stamp-h file.
9815
9856
done
9816
9857
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
9817
9858
 
9818
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
9859
# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
9819
9860
#
9820
9861
# This file is free software; the Free Software Foundation
9821
9862
# gives unlimited permission to copy and/or distribute it,
9826
9867
# Define $install_sh.
9827
9868
AC_DEFUN([AM_PROG_INSTALL_SH],
9828
9869
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
9829
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
 
9870
if test x"${install_sh}" != xset; then
 
9871
  case $am_aux_dir in
 
9872
  *\ * | *\     *)
 
9873
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
9874
  *)
 
9875
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
9876
  esac
 
9877
fi
9830
9878
AC_SUBST(install_sh)])
9831
9879
 
9832
9880
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
9853
9901
# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
9854
9902
# From Jim Meyering
9855
9903
 
9856
 
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
 
9904
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
9857
9905
# Free Software Foundation, Inc.
9858
9906
#
9859
9907
# This file is free software; the Free Software Foundation
9860
9908
# gives unlimited permission to copy and/or distribute it,
9861
9909
# with or without modifications, as long as this notice is preserved.
9862
9910
 
9863
 
# serial 4
 
9911
# serial 5
9864
9912
 
 
9913
# AM_MAINTAINER_MODE([DEFAULT-MODE])
 
9914
# ----------------------------------
 
9915
# Control maintainer-specific portions of Makefiles.
 
9916
# Default is to disable them, unless `enable' is passed literally.
 
9917
# For symmetry, `disable' may be passed as well.  Anyway, the user
 
9918
# can override the default with the --enable/--disable switch.
9865
9919
AC_DEFUN([AM_MAINTAINER_MODE],
9866
 
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
9867
 
  dnl maintainer-mode is disabled by default
9868
 
  AC_ARG_ENABLE(maintainer-mode,
9869
 
[  --enable-maintainer-mode  enable make rules and dependencies not useful
 
9920
[m4_case(m4_default([$1], [disable]),
 
9921
       [enable], [m4_define([am_maintainer_other], [disable])],
 
9922
       [disable], [m4_define([am_maintainer_other], [enable])],
 
9923
       [m4_define([am_maintainer_other], [enable])
 
9924
        m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
 
9925
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
 
9926
  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
 
9927
  AC_ARG_ENABLE([maintainer-mode],
 
9928
[  --][am_maintainer_other][-maintainer-mode  am_maintainer_other make rules and dependencies not useful
9870
9929
                          (and sometimes confusing) to the casual installer],
9871
 
      USE_MAINTAINER_MODE=$enableval,
9872
 
      USE_MAINTAINER_MODE=no)
 
9930
      [USE_MAINTAINER_MODE=$enableval],
 
9931
      [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
9873
9932
  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
9874
 
  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
 
9933
  AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
9875
9934
  MAINT=$MAINTAINER_MODE_TRUE
9876
 
  AC_SUBST(MAINT)dnl
 
9935
  AC_SUBST([MAINT])dnl
9877
9936
]
9878
9937
)
9879
9938
 
9881
9940
 
9882
9941
# Check to see how 'make' treats includes.                  -*- Autoconf -*-
9883
9942
 
9884
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
9943
# Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
9885
9944
#
9886
9945
# This file is free software; the Free Software Foundation
9887
9946
# gives unlimited permission to copy and/or distribute it,
9888
9947
# with or without modifications, as long as this notice is preserved.
9889
9948
 
9890
 
# serial 3
 
9949
# serial 4
9891
9950
 
9892
9951
# AM_MAKE_INCLUDE()
9893
9952
# -----------------
9896
9955
[am_make=${MAKE-make}
9897
9956
cat > confinc << 'END'
9898
9957
am__doit:
9899
 
        @echo done
 
9958
        @echo this is the am__doit target
9900
9959
.PHONY: am__doit
9901
9960
END
9902
9961
# If we don't find an include directive, just comment out the code.
9906
9965
_am_result=none
9907
9966
# First try GNU make style include.
9908
9967
echo "include confinc" > confmf
9909
 
# We grep out `Entering directory' and `Leaving directory'
9910
 
# messages which can occur if `w' ends up in MAKEFLAGS.
9911
 
# In particular we don't look at `^make:' because GNU make might
9912
 
# be invoked under some other name (usually "gmake"), in which
9913
 
# case it prints its new name instead of `make'.
9914
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
9915
 
   am__include=include
9916
 
   am__quote=
9917
 
   _am_result=GNU
9918
 
fi
 
9968
# Ignore all kinds of additional output from `make'.
 
9969
case `$am_make -s -f confmf 2> /dev/null` in #(
 
9970
*the\ am__doit\ target*)
 
9971
  am__include=include
 
9972
  am__quote=
 
9973
  _am_result=GNU
 
9974
  ;;
 
9975
esac
9919
9976
# Now try BSD make style include.
9920
9977
if test "$am__include" = "#"; then
9921
9978
   echo '.include "confinc"' > confmf
9922
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
9923
 
      am__include=.include
9924
 
      am__quote="\""
9925
 
      _am_result=BSD
9926
 
   fi
 
9979
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
9980
   *the\ am__doit\ target*)
 
9981
     am__include=.include
 
9982
     am__quote="\""
 
9983
     _am_result=BSD
 
9984
     ;;
 
9985
   esac
9927
9986
fi
9928
9987
AC_SUBST([am__include])
9929
9988
AC_SUBST([am__quote])
9933
9992
 
9934
9993
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
9935
9994
 
9936
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
 
9995
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
9937
9996
# Free Software Foundation, Inc.
9938
9997
#
9939
9998
# This file is free software; the Free Software Foundation
9940
9999
# gives unlimited permission to copy and/or distribute it,
9941
10000
# with or without modifications, as long as this notice is preserved.
9942
10001
 
9943
 
# serial 5
 
10002
# serial 6
9944
10003
 
9945
10004
# AM_MISSING_PROG(NAME, PROGRAM)
9946
10005
# ------------------------------
9957
10016
AC_DEFUN([AM_MISSING_HAS_RUN],
9958
10017
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
9959
10018
AC_REQUIRE_AUX_FILE([missing])dnl
9960
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
10019
if test x"${MISSING+set}" != xset; then
 
10020
  case $am_aux_dir in
 
10021
  *\ * | *\     *)
 
10022
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
10023
  *)
 
10024
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
10025
  esac
 
10026
fi
9961
10027
# Use eval to expand $SHELL
9962
10028
if eval "$MISSING --run true"; then
9963
10029
  am_missing_run="$MISSING --run "
10028
10094
 
10029
10095
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
10030
10096
 
10031
 
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
 
10097
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
10032
10098
# Free Software Foundation, Inc.
10033
10099
#
10034
10100
# This file is free software; the Free Software Foundation
10035
10101
# gives unlimited permission to copy and/or distribute it,
10036
10102
# with or without modifications, as long as this notice is preserved.
10037
10103
 
10038
 
# serial 4
 
10104
# serial 5
10039
10105
 
10040
10106
# AM_SANITY_CHECK
10041
10107
# ---------------
10044
10110
# Just in case
10045
10111
sleep 1
10046
10112
echo timestamp > conftest.file
 
10113
# Reject unsafe characters in $srcdir or the absolute working directory
 
10114
# name.  Accept space and tab only in the latter.
 
10115
am_lf='
 
10116
'
 
10117
case `pwd` in
 
10118
  *[[\\\"\#\$\&\'\`$am_lf]]*)
 
10119
    AC_MSG_ERROR([unsafe absolute working directory name]);;
 
10120
esac
 
10121
case $srcdir in
 
10122
  *[[\\\"\#\$\&\'\`$am_lf\ \    ]]*)
 
10123
    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
 
10124
esac
 
10125
 
10047
10126
# Do `set' in a subshell so we don't clobber the current shell's
10048
10127
# arguments.  Must try -L first in case configure is actually a
10049
10128
# symlink; some systems play weird games with the mod time of symlinks
10050
10129
# (eg FreeBSD returns the mod time of the symlink's containing
10051
10130
# directory).
10052
10131
if (
10053
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
10132
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
10054
10133
   if test "$[*]" = "X"; then
10055
10134
      # -L didn't work.
10056
 
      set X `ls -t $srcdir/configure conftest.file`
 
10135
      set X `ls -t "$srcdir/configure" conftest.file`
10057
10136
   fi
10058
10137
   rm -f conftest.file
10059
10138
   if test "$[*]" != "X $srcdir/configure conftest.file" \
10106
10185
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
10107
10186
AC_SUBST([INSTALL_STRIP_PROGRAM])])
10108
10187
 
10109
 
# Copyright (C) 2006  Free Software Foundation, Inc.
 
10188
# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
10110
10189
#
10111
10190
# This file is free software; the Free Software Foundation
10112
10191
# gives unlimited permission to copy and/or distribute it,
10113
10192
# with or without modifications, as long as this notice is preserved.
10114
10193
 
 
10194
# serial 2
 
10195
 
10115
10196
# _AM_SUBST_NOTMAKE(VARIABLE)
10116
10197
# ---------------------------
10117
10198
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
10118
10199
# This macro is traced by Automake.
10119
10200
AC_DEFUN([_AM_SUBST_NOTMAKE])
10120
10201
 
 
10202
# AM_SUBST_NOTMAKE(VARIABLE)
 
10203
# ---------------------------
 
10204
# Public sister of _AM_SUBST_NOTMAKE.
 
10205
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 
10206
 
10121
10207
# Check how to create a tarball.                            -*- Autoconf -*-
10122
10208
 
10123
10209
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.