~ubuntu-branches/debian/jessie/engine-pkcs11/jessie

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Eric Dorland
  • Date: 2010-01-10 03:45:56 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20100110034556-aprmwos1sxnvfmzn
Tags: 0.1.8-1
* New upstream release. (Closes: #564056)
* debian/libengine-pkcs11-openssl.links: Engine is now installed into
  the correct location under /usr/lib/ssl/engines, add a symlink to the
  old location for compatibility. (Closes: 506772)

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'.])])
189
189
# generated from the m4 files accompanying Automake X.Y.
190
190
# (This private macro should not be called outside this file.)
191
191
AC_DEFUN([AM_AUTOMAKE_VERSION],
192
 
[am__api_version='1.10'
 
192
[am__api_version='1.11'
193
193
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
194
194
dnl require some minimum version.  Point them to the right macro.
195
 
m4_if([$1], [1.10.2], [],
 
195
m4_if([$1], [1.11], [],
196
196
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
197
197
])
198
198
 
208
208
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
209
209
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
210
210
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
211
 
[AM_AUTOMAKE_VERSION([1.10.2])dnl
 
211
[AM_AUTOMAKE_VERSION([1.11])dnl
212
212
m4_ifndef([AC_AUTOCONF_VERSION],
213
213
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
214
214
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
268
268
 
269
269
# AM_CONDITIONAL                                            -*- Autoconf -*-
270
270
 
271
 
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
 
271
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
272
272
# Free Software Foundation, Inc.
273
273
#
274
274
# This file is free software; the Free Software Foundation
275
275
# gives unlimited permission to copy and/or distribute it,
276
276
# with or without modifications, as long as this notice is preserved.
277
277
 
278
 
# serial 8
 
278
# serial 9
279
279
 
280
280
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
281
281
# -------------------------------------
288
288
AC_SUBST([$1_FALSE])dnl
289
289
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
290
290
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
 
291
m4_define([_AM_COND_VALUE_$1], [$2])dnl
291
292
if $2; then
292
293
  $1_TRUE=
293
294
  $1_FALSE='#'
301
302
Usually this means the macro was only invoked conditionally.]])
302
303
fi])])
303
304
 
304
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
 
305
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
305
306
# Free Software Foundation, Inc.
306
307
#
307
308
# This file is free software; the Free Software Foundation
308
309
# gives unlimited permission to copy and/or distribute it,
309
310
# with or without modifications, as long as this notice is preserved.
310
311
 
311
 
# serial 9
 
312
# serial 10
312
313
 
313
314
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
314
315
# written in clear, in which case automake, when reading aclocal.m4,
365
366
  if test "$am_compiler_list" = ""; then
366
367
     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
367
368
  fi
 
369
  am__universal=false
 
370
  m4_case([$1], [CC],
 
371
    [case " $depcc " in #(
 
372
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
373
     esac],
 
374
    [CXX],
 
375
    [case " $depcc " in #(
 
376
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
377
     esac])
 
378
 
368
379
  for depmode in $am_compiler_list; do
369
380
    # Setup a source with many dependencies, because some compilers
370
381
    # like to wrap large dependency lists on column 80 (with \), and
382
393
    done
383
394
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
384
395
 
 
396
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
397
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
398
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
399
    # versions had trouble with output in subdirs
 
400
    am__obj=sub/conftest.${OBJEXT-o}
 
401
    am__minus_obj="-o $am__obj"
385
402
    case $depmode in
 
403
    gcc)
 
404
      # This depmode causes a compiler race in universal mode.
 
405
      test "$am__universal" = false || continue
 
406
      ;;
386
407
    nosideeffect)
387
408
      # after this tag, mechanisms are not by side-effect, so they'll
388
409
      # only be used when explicitly requested
392
413
        break
393
414
      fi
394
415
      ;;
 
416
    msvisualcpp | msvcmsys)
 
417
      # This compiler won't grok `-c -o', but also, the minuso test has
 
418
      # not run yet.  These depmodes are late enough in the game, and
 
419
      # so weak that their functioning should not be impacted.
 
420
      am__obj=conftest.${OBJEXT-o}
 
421
      am__minus_obj=
 
422
      ;;
395
423
    none) break ;;
396
424
    esac
397
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
398
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
399
 
    # handle `-M -o', and we need to detect this.
400
425
    if depmode=$depmode \
401
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
426
       source=sub/conftest.c object=$am__obj \
402
427
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
403
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
428
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
404
429
         >/dev/null 2>conftest.err &&
405
430
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
406
431
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
407
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
432
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
408
433
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
409
434
      # icc doesn't choke on unknown options, it will just issue warnings
410
435
      # or remarks (even with -Werror).  So we grep stderr for any message
554
579
# Do all the work for Automake.                             -*- Autoconf -*-
555
580
 
556
581
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
557
 
# 2005, 2006, 2008 Free Software Foundation, Inc.
 
582
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
558
583
#
559
584
# This file is free software; the Free Software Foundation
560
585
# gives unlimited permission to copy and/or distribute it,
561
586
# with or without modifications, as long as this notice is preserved.
562
587
 
563
 
# serial 13
 
588
# serial 16
564
589
 
565
590
# This macro actually does too much.  Some checks are only needed if
566
591
# your package does certain things.  But this isn't really a big deal.
577
602
# arguments mandatory, and then we can depend on a new Autoconf
578
603
# release and drop the old call support.
579
604
AC_DEFUN([AM_INIT_AUTOMAKE],
580
 
[AC_PREREQ([2.60])dnl
 
605
[AC_PREREQ([2.62])dnl
581
606
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
582
607
dnl the ones we care about.
583
608
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
628
653
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
629
654
AM_MISSING_PROG(AUTOHEADER, autoheader)
630
655
AM_MISSING_PROG(MAKEINFO, makeinfo)
631
 
AM_PROG_INSTALL_SH
632
 
AM_PROG_INSTALL_STRIP
 
656
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
 
657
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
633
658
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
634
659
# We need awk for the "check" target.  The system "awk" is bad on
635
660
# some platforms.
637
662
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
638
663
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
639
664
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
640
 
              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
641
 
                             [_AM_PROG_TAR([v7])])])
 
665
              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
 
666
                             [_AM_PROG_TAR([v7])])])
642
667
_AM_IF_OPTION([no-dependencies],,
643
668
[AC_PROVIDE_IFELSE([AC_PROG_CC],
644
 
                  [_AM_DEPENDENCIES(CC)],
645
 
                  [define([AC_PROG_CC],
646
 
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
 
669
                  [_AM_DEPENDENCIES(CC)],
 
670
                  [define([AC_PROG_CC],
 
671
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
647
672
AC_PROVIDE_IFELSE([AC_PROG_CXX],
648
 
                  [_AM_DEPENDENCIES(CXX)],
649
 
                  [define([AC_PROG_CXX],
650
 
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
 
673
                  [_AM_DEPENDENCIES(CXX)],
 
674
                  [define([AC_PROG_CXX],
 
675
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
651
676
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
652
 
                  [_AM_DEPENDENCIES(OBJC)],
653
 
                  [define([AC_PROG_OBJC],
654
 
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
655
 
])
656
 
])
 
677
                  [_AM_DEPENDENCIES(OBJC)],
 
678
                  [define([AC_PROG_OBJC],
 
679
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
 
680
])
 
681
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
 
682
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
 
683
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
 
684
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
 
685
AC_CONFIG_COMMANDS_PRE(dnl
 
686
[m4_provide_if([_AM_COMPILER_EXEEXT],
 
687
  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
 
688
])
 
689
 
 
690
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
 
691
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
 
692
dnl mangled by Autoconf and run in a shell conditional statement.
 
693
m4_define([_AC_COMPILER_EXEEXT],
 
694
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
657
695
 
658
696
 
659
697
# When config.status generates a header, we must update the stamp-h file.
677
715
done
678
716
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
679
717
 
680
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
718
# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
681
719
#
682
720
# This file is free software; the Free Software Foundation
683
721
# gives unlimited permission to copy and/or distribute it,
688
726
# Define $install_sh.
689
727
AC_DEFUN([AM_PROG_INSTALL_SH],
690
728
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
691
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
 
729
if test x"${install_sh}" != xset; then
 
730
  case $am_aux_dir in
 
731
  *\ * | *\     *)
 
732
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
733
  *)
 
734
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
735
  esac
 
736
fi
692
737
AC_SUBST(install_sh)])
693
738
 
694
739
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
714
759
 
715
760
# Check to see how 'make' treats includes.                  -*- Autoconf -*-
716
761
 
717
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
762
# Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
718
763
#
719
764
# This file is free software; the Free Software Foundation
720
765
# gives unlimited permission to copy and/or distribute it,
721
766
# with or without modifications, as long as this notice is preserved.
722
767
 
723
 
# serial 3
 
768
# serial 4
724
769
 
725
770
# AM_MAKE_INCLUDE()
726
771
# -----------------
729
774
[am_make=${MAKE-make}
730
775
cat > confinc << 'END'
731
776
am__doit:
732
 
        @echo done
 
777
        @echo this is the am__doit target
733
778
.PHONY: am__doit
734
779
END
735
780
# If we don't find an include directive, just comment out the code.
739
784
_am_result=none
740
785
# First try GNU make style include.
741
786
echo "include confinc" > confmf
742
 
# We grep out `Entering directory' and `Leaving directory'
743
 
# messages which can occur if `w' ends up in MAKEFLAGS.
744
 
# In particular we don't look at `^make:' because GNU make might
745
 
# be invoked under some other name (usually "gmake"), in which
746
 
# case it prints its new name instead of `make'.
747
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
748
 
   am__include=include
749
 
   am__quote=
750
 
   _am_result=GNU
751
 
fi
 
787
# Ignore all kinds of additional output from `make'.
 
788
case `$am_make -s -f confmf 2> /dev/null` in #(
 
789
*the\ am__doit\ target*)
 
790
  am__include=include
 
791
  am__quote=
 
792
  _am_result=GNU
 
793
  ;;
 
794
esac
752
795
# Now try BSD make style include.
753
796
if test "$am__include" = "#"; then
754
797
   echo '.include "confinc"' > confmf
755
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
756
 
      am__include=.include
757
 
      am__quote="\""
758
 
      _am_result=BSD
759
 
   fi
 
798
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
799
   *the\ am__doit\ target*)
 
800
     am__include=.include
 
801
     am__quote="\""
 
802
     _am_result=BSD
 
803
     ;;
 
804
   esac
760
805
fi
761
806
AC_SUBST([am__include])
762
807
AC_SUBST([am__quote])
766
811
 
767
812
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
768
813
 
769
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
 
814
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
770
815
# Free Software Foundation, Inc.
771
816
#
772
817
# This file is free software; the Free Software Foundation
773
818
# gives unlimited permission to copy and/or distribute it,
774
819
# with or without modifications, as long as this notice is preserved.
775
820
 
776
 
# serial 5
 
821
# serial 6
777
822
 
778
823
# AM_MISSING_PROG(NAME, PROGRAM)
779
824
# ------------------------------
790
835
AC_DEFUN([AM_MISSING_HAS_RUN],
791
836
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
792
837
AC_REQUIRE_AUX_FILE([missing])dnl
793
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
838
if test x"${MISSING+set}" != xset; then
 
839
  case $am_aux_dir in
 
840
  *\ * | *\     *)
 
841
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
842
  *)
 
843
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
844
  esac
 
845
fi
794
846
# Use eval to expand $SHELL
795
847
if eval "$MISSING --run true"; then
796
848
  am_missing_run="$MISSING --run "
861
913
 
862
914
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
863
915
 
864
 
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
 
916
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
865
917
# Free Software Foundation, Inc.
866
918
#
867
919
# This file is free software; the Free Software Foundation
868
920
# gives unlimited permission to copy and/or distribute it,
869
921
# with or without modifications, as long as this notice is preserved.
870
922
 
871
 
# serial 4
 
923
# serial 5
872
924
 
873
925
# AM_SANITY_CHECK
874
926
# ---------------
877
929
# Just in case
878
930
sleep 1
879
931
echo timestamp > conftest.file
 
932
# Reject unsafe characters in $srcdir or the absolute working directory
 
933
# name.  Accept space and tab only in the latter.
 
934
am_lf='
 
935
'
 
936
case `pwd` in
 
937
  *[[\\\"\#\$\&\'\`$am_lf]]*)
 
938
    AC_MSG_ERROR([unsafe absolute working directory name]);;
 
939
esac
 
940
case $srcdir in
 
941
  *[[\\\"\#\$\&\'\`$am_lf\ \    ]]*)
 
942
    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
 
943
esac
 
944
 
880
945
# Do `set' in a subshell so we don't clobber the current shell's
881
946
# arguments.  Must try -L first in case configure is actually a
882
947
# symlink; some systems play weird games with the mod time of symlinks
883
948
# (eg FreeBSD returns the mod time of the symlink's containing
884
949
# directory).
885
950
if (
886
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
951
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
887
952
   if test "$[*]" = "X"; then
888
953
      # -L didn't work.
889
 
      set X `ls -t $srcdir/configure conftest.file`
 
954
      set X `ls -t "$srcdir/configure" conftest.file`
890
955
   fi
891
956
   rm -f conftest.file
892
957
   if test "$[*]" != "X $srcdir/configure conftest.file" \
939
1004
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
940
1005
AC_SUBST([INSTALL_STRIP_PROGRAM])])
941
1006
 
942
 
# Copyright (C) 2006  Free Software Foundation, Inc.
 
1007
# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
943
1008
#
944
1009
# This file is free software; the Free Software Foundation
945
1010
# gives unlimited permission to copy and/or distribute it,
946
1011
# with or without modifications, as long as this notice is preserved.
947
1012
 
 
1013
# serial 2
 
1014
 
948
1015
# _AM_SUBST_NOTMAKE(VARIABLE)
949
1016
# ---------------------------
950
1017
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
951
1018
# This macro is traced by Automake.
952
1019
AC_DEFUN([_AM_SUBST_NOTMAKE])
953
1020
 
 
1021
# AM_SUBST_NOTMAKE(VARIABLE)
 
1022
# ---------------------------
 
1023
# Public sister of _AM_SUBST_NOTMAKE.
 
1024
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 
1025
 
954
1026
# Check how to create a tarball.                            -*- Autoconf -*-
955
1027
 
956
1028
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.