~vorlon/ubuntu/oneiric/cyrus-sasl2/multiarch

« back to all changes in this revision

Viewing changes to saslauthd/aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2009-06-04 16:03:06 UTC
  • mfrom: (2.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090604160306-wioioa3amb1up5ws
Tags: 2.1.23.dfsg1-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - Add sysv-rc dependency
  - Since the libsasl2 package description so clearly
    states that the library is "completely useless" without one of the
    libsasl2-modules packages, upgrade the Recommends on a single package
    to an ORd Depends on the complete list of them.
  - Prepend XS-Original- to Vcs-{Browser,Svn}.
  - Remove stop links from rc0 and rc6
  - stop service only when switching to single user mode.
* Dropped changes, superseded in Debian:
  - build-depend on libdb4.6-dev; Debian has moved on to db4.7
  - Added debian/patches/021ubuntu-fix-threaded-sasl.dpatch
    - Fixes SEGV in threaded SASL applications.
* debian/rules: remove all the build-*stamp files on clean, not just
  build-stamp.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.7.2 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.7.9 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
4
4
# Free Software Foundation, Inc.
60
60
# This macro actually does too much some checks are only needed if
61
61
# your package does certain things.  But this isn't really a big deal.
62
62
 
63
 
# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
 
63
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
64
64
# Free Software Foundation, Inc.
65
65
 
66
66
# This program is free software; you can redistribute it and/or modify
78
78
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
79
79
# 02111-1307, USA.
80
80
 
81
 
# serial 8
82
 
 
83
 
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
84
 
# written in clear, in which case automake, when reading aclocal.m4,
85
 
# will think it sees a *use*, and therefore will trigger all it's
86
 
# C support machinery.  Also note that it means that autoscan, seeing
87
 
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
88
 
 
 
81
# serial 10
89
82
 
90
83
AC_PREREQ([2.54])
91
84
 
130
123
 AC_SUBST([PACKAGE], [$1])dnl
131
124
 AC_SUBST([VERSION], [$2])],
132
125
[_AM_SET_OPTIONS([$1])dnl
133
 
 AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME])dnl
134
 
 AC_SUBST([VERSION], [AC_PACKAGE_VERSION])])dnl
 
126
 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
 
127
 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
135
128
 
136
129
_AM_IF_OPTION([no-define],,
137
130
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
152
145
# some platforms.
153
146
AC_REQUIRE([AC_PROG_AWK])dnl
154
147
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
 
148
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
155
149
 
156
150
_AM_IF_OPTION([no-dependencies],,
157
151
[AC_PROVIDE_IFELSE([AC_PROG_CC],
174
168
# loop where config.status creates the headers, so we can generate
175
169
# our stamp files there.
176
170
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
177
 
[_am_stamp_count=`expr ${_am_stamp_count-0} + 1`
 
171
[# Compute $1's index in $config_headers.
 
172
_am_stamp_count=1
 
173
for _am_header in $config_headers :; do
 
174
  case $_am_header in
 
175
    $1 | $1:* )
 
176
      break ;;
 
177
    * )
 
178
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
179
  esac
 
180
done
178
181
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
179
182
 
180
183
# Copyright 2002  Free Software Foundation, Inc.
204
207
# Call AM_AUTOMAKE_VERSION so it can be traced.
205
208
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
206
209
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
207
 
         [AM_AUTOMAKE_VERSION([1.7.2])])
 
210
         [AM_AUTOMAKE_VERSION([1.7.9])])
208
211
 
209
212
# Helper functions for option handling.                    -*- Autoconf -*-
210
213
 
490
493
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
491
494
AC_SUBST([INSTALL_STRIP_PROGRAM])])
492
495
 
493
 
# serial 4                                              -*- Autoconf -*-
494
 
 
495
 
# Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
 
496
#                                                          -*- Autoconf -*-
 
497
# Copyright (C) 2003  Free Software Foundation, Inc.
 
498
 
 
499
# This program is free software; you can redistribute it and/or modify
 
500
# it under the terms of the GNU General Public License as published by
 
501
# the Free Software Foundation; either version 2, or (at your option)
 
502
# any later version.
 
503
 
 
504
# This program is distributed in the hope that it will be useful,
 
505
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
506
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
507
# GNU General Public License for more details.
 
508
 
 
509
# You should have received a copy of the GNU General Public License
 
510
# along with this program; if not, write to the Free Software
 
511
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
512
# 02111-1307, USA.
 
513
 
 
514
# serial 1
 
515
 
 
516
# Check whether the underlying file-system supports filenames
 
517
# with a leading dot.  For instance MS-DOS doesn't.
 
518
AC_DEFUN([AM_SET_LEADING_DOT],
 
519
[rm -rf .tst 2>/dev/null
 
520
mkdir .tst 2>/dev/null
 
521
if test -d .tst; then
 
522
  am__leading_dot=.
 
523
else
 
524
  am__leading_dot=_
 
525
fi
 
526
rmdir .tst 2>/dev/null
 
527
AC_SUBST([am__leading_dot])])
 
528
 
 
529
# serial 5                                              -*- Autoconf -*-
 
530
 
 
531
# Copyright (C) 1999, 2000, 2001, 2002, 2003  Free Software Foundation, Inc.
496
532
 
497
533
# This program is free software; you can redistribute it and/or modify
498
534
# it under the terms of the GNU General Public License as published by
553
589
  # using a relative directory.
554
590
  cp "$am_depcomp" conftest.dir
555
591
  cd conftest.dir
 
592
  # We will build objects and dependencies in a subdirectory because
 
593
  # it helps to detect inapplicable dependency modes.  For instance
 
594
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
595
  # side effect of compilation, but ICC will put the dependencies in
 
596
  # the current directory while Tru64 will put them in the object
 
597
  # directory.
 
598
  mkdir sub
556
599
 
557
600
  am_cv_$1_dependencies_compiler_type=none
558
601
  if test "$am_compiler_list" = ""; then
559
602
     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
560
603
  fi
561
604
  for depmode in $am_compiler_list; do
 
605
    # Setup a source with many dependencies, because some compilers
 
606
    # like to wrap large dependency lists on column 80 (with \), and
 
607
    # we should not choose a depcomp mode which is confused by this.
 
608
    #
562
609
    # We need to recreate these files for each test, as the compiler may
563
610
    # overwrite some of them when testing with obscure command lines.
564
611
    # This happens at least with the AIX C compiler.
565
 
    echo '#include "conftest.h"' > conftest.c
566
 
    echo 'int i;' > conftest.h
567
 
    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
 
612
    : > sub/conftest.c
 
613
    for i in 1 2 3 4 5 6; do
 
614
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
615
      : > sub/conftst$i.h
 
616
    done
 
617
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
568
618
 
569
619
    case $depmode in
570
620
    nosideeffect)
582
632
    # mode.  It turns out that the SunPro C++ compiler does not properly
583
633
    # handle `-M -o', and we need to detect this.
584
634
    if depmode=$depmode \
585
 
       source=conftest.c object=conftest.o \
586
 
       depfile=conftest.Po tmpdepfile=conftest.TPo \
587
 
       $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 &&
588
 
       grep conftest.h conftest.Po > /dev/null 2>&1 &&
 
635
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
636
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
637
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
638
         >/dev/null 2>conftest.err &&
 
639
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
640
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
589
641
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
590
 
      am_cv_$1_dependencies_compiler_type=$depmode
591
 
      break
 
642
      # icc doesn't choke on unknown options, it will just issue warnings
 
643
      # (even with -Werror).  So we grep stderr for any message
 
644
      # that says an option was ignored.
 
645
      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
 
646
        am_cv_$1_dependencies_compiler_type=$depmode
 
647
        break
 
648
      fi
592
649
    fi
593
650
  done
594
651
 
610
667
# Choose a directory name for dependency files.
611
668
# This macro is AC_REQUIREd in _AM_DEPENDENCIES
612
669
AC_DEFUN([AM_SET_DEPDIR],
613
 
[rm -f .deps 2>/dev/null
614
 
mkdir .deps 2>/dev/null
615
 
if test -d .deps; then
616
 
  DEPDIR=.deps
617
 
else
618
 
  # MS-DOS does not allow filenames that begin with a dot.
619
 
  DEPDIR=_deps
620
 
fi
621
 
rmdir .deps 2>/dev/null
622
 
AC_SUBST([DEPDIR])
 
670
[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
 
671
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
623
672
])
624
673
 
625
674
 
723
772
 
724
773
# Check to see how 'make' treats includes.      -*- Autoconf -*-
725
774
 
726
 
# Copyright (C) 2001, 2002 Free Software Foundation, Inc.
 
775
# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
727
776
 
728
777
# This program is free software; you can redistribute it and/or modify
729
778
# it under the terms of the GNU General Public License as published by
748
797
AC_DEFUN([AM_MAKE_INCLUDE],
749
798
[am_make=${MAKE-make}
750
799
cat > confinc << 'END'
751
 
doit:
 
800
am__doit:
752
801
        @echo done
 
802
.PHONY: am__doit
753
803
END
754
804
# If we don't find an include directive, just comment out the code.
755
805
AC_MSG_CHECKING([for style of include used by $am_make])
777
827
      _am_result=BSD
778
828
   fi
779
829
fi
780
 
AC_SUBST(am__include)
781
 
AC_SUBST(am__quote)
782
 
AC_MSG_RESULT($_am_result)
 
830
AC_SUBST([am__include])
 
831
AC_SUBST([am__quote])
 
832
AC_MSG_RESULT([$_am_result])
783
833
rm -f confinc confmf
784
834
])
785
835