Added gnutls_x509_privkey_get_pk_algorithm2(). Certtool prints the number of bits...
[gnutls.git] / configure.ac
blob81b6e8a75e8fe483026ca801c807754ff5e70208
1 dnl Process this file with autoconf to produce a configure script.
2 # Copyright (C) 2000-2012 Free Software Foundation, Inc.
4 # Author: Nikos Mavrogiannopoulos, Simon Josefsson
6 # This file is part of GnuTLS.
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 3 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful, but
14 # WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 # General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
21 # USA
23 AC_PREREQ(2.61)
24 AC_INIT([GnuTLS], [3.1.0], [bug-gnutls@gnu.org])
25 AC_CONFIG_AUX_DIR([build-aux])
26 AC_CONFIG_MACRO_DIR([m4])
28 AM_INIT_AUTOMAKE([1.11.3 no-dist-gzip dist-xz dist-lzip -Wall -Werror -Wno-override])
29 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
30 AM_CONFIG_HEADER(config.h)
32 AC_MSG_RESULT([***
33 *** Checking for compilation programs...
36 dnl Checks for programs.
37 AC_PROG_CC
38 AM_PROG_AS
39 AC_PROG_CXX
40 gl_EARLY
42 # For includes/gnutls/gnutls.h.in.
43 AC_SUBST(MAJOR_VERSION, `echo $PACKAGE_VERSION | sed 's/\(.*\)\..*\..*/\1/g'`)
44 AC_SUBST(MINOR_VERSION, `echo $PACKAGE_VERSION | sed 's/.*\.\(.*\)\..*/\1/g'`)
45 AC_SUBST(PATCH_VERSION, `echo $PACKAGE_VERSION | sed 's/.*\..*\.\(.*\)/\1/g'`)
46 AC_SUBST(NUMBER_VERSION, `printf "0x%02x%02x%02x" $MAJOR_VERSION $MINOR_VERSION $PATCH_VERSION`)
48 touch suppressions.valgrind
49 dnl C and C++ capabilities
50 AC_C_INLINE
51 AC_HEADER_STDC
53 # For the C++ code
54 AC_ARG_ENABLE(cxx,
55   AS_HELP_STRING([--disable-cxx], [unconditionally disable the C++ library]),
56     use_cxx=$enableval, use_cxx=yes)
57 if test "$use_cxx" != "no"; then
58   AC_LANG_PUSH(C++)
59   AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])], use_cxx=yes, use_cxx=no)
60   AC_LANG_POP(C++)
62 AM_CONDITIONAL(ENABLE_CXX, test "$use_cxx" != "no")
63 AM_CONDITIONAL(WANT_TEST_SUITE, [test -f tests/suite/mini-eagain2.c])
65 dnl Detect windows build
66 case "$host" in
67   *mingw32* | *mingw64*)
68     have_win=yes
69   ;;
70   *darwin*)
71     have_macosx=yes
72   ;;
73   *)
74     have_elf=yes
75   ;;
76 esac
78 AM_CONDITIONAL(WINDOWS, test "$have_win" = yes)
79 AM_CONDITIONAL(MACOSX, test "$have_macosx" = yes)
80 AM_CONDITIONAL(ELF, test "$have_elf" = yes)
82 dnl Hardware Acceleration
83 AC_ARG_ENABLE(hardware-acceleration,
84   AS_HELP_STRING([--disable-hardware-acceleration], [unconditionally disable hardware acceleration]),
85     use_accel=$enableval, use_accel=yes)
86 hw_accel=none
89 if test "$use_accel" != "no"; then
90 case $host_cpu in
91   i?86 | x86_64 | amd64)
92 dnl    GCC_FLAG_ADD([-maes -mpclmul],[X86])
93 dnl    if test "x$X86" = "xyes";then
94       AC_CHECK_HEADERS(cpuid.h)
95       if test "$host_cpu" = "x86_64" || test "$host_cpu" = "amd64"; then
96         hw_accel="x86-64"
97       else
98         hw_accel="x86"
99       fi
100 dnl    fi
101   ;;
102   *)
103   ;;
104 esac
108 AM_CONDITIONAL(ASM_X86_64, test x"$hw_accel" = x"x86-64")
109 AM_CONDITIONAL(ASM_X86_32, test x"$hw_accel" = x"x86")
110 AM_CONDITIONAL(ASM_X86, test x"$hw_accel" = x"x86" || test x"$hw_accel" = x"x86-64")
111 AM_CONDITIONAL(HAVE_GCC_GNU89_INLINE_OPTION, test "$gnu89_inline" = "yes"])
112 AM_CONDITIONAL(HAVE_GCC, test "$GCC" = "yes")
114 dnl Try the hooks.m4
115 LIBGNUTLS_HOOKS
116 LIBGNUTLS_EXTRA_HOOKS
118 GTK_DOC_CHECK(1.1)
119 AM_GNU_GETTEXT([external])
120 AM_GNU_GETTEXT_VERSION([0.18])
122 AC_C_BIGENDIAN
126 dnl No fork on MinGW, disable some self-tests until we fix them.
127 AC_CHECK_FUNCS([fork getrusage getpwuid_r daemon],,)
128 AM_CONDITIONAL(HAVE_FORK, test "$ac_cv_func_fork" != "no")
129 AC_LIB_HAVE_LINKFLAGS(pthread,, [#include <pthread.h>], [pthread_mutex_lock (0);])
131 dnl Check for p11-kit
132 AC_ARG_WITH(p11-kit,
133         AS_HELP_STRING([--without-p11-kit],
134                 [Build without p11-kit and PKCS#11 support]))
135 if test "$with_p11_kit" != "no"; then
136         PKG_CHECK_MODULES(P11_KIT, [p11-kit-1 >= 0.11], [with_p11_kit=yes], [with_p11_kit=no])
137         if test "$with_p11_kit" != "no";then
138                 AC_DEFINE([ENABLE_PKCS11], 1, [Build PKCS#11 support])
139                 if test "x$GNUTLS_REQUIRES_PRIVATE" = "x"; then
140                         GNUTLS_REQUIRES_PRIVATE="Requires.private: p11-kit-1"
141                 else
142                         GNUTLS_REQUIRES_PRIVATE="${GNUTLS_REQUIRES_PRIVATE}, p11-kit-1"
143                 fi
144         else
145                 with_p11_kit=no
146                 AC_MSG_WARN([[
147 *** 
148 *** p11-kit was not found. PKCS #11 support will be disabled.
149 *** You may get it from http://p11-glue.freedesktop.org/p11-kit.html
150 *** ]])
151         fi
154 AM_CONDITIONAL(ENABLE_PKCS11, test "$with_p11_kit" != "no")
156 AC_ARG_WITH(tpm,
157         AS_HELP_STRING([--without-tpm],
158                 [Build without TPM (trousers) support]))
159 if test "$with_tpm" != "no"; then
160     LIBS="$oldlibs -ltspi"
161     AC_MSG_CHECKING([for tss library])
162     AC_LINK_IFELSE([AC_LANG_PROGRAM([
163                    #include <trousers/tss.h>
164                    #include <trousers/trousers.h>],[
165                    int err = Tspi_Context_Create((void *)0);
166                    Trspi_Error_String(err);])],
167                   [AC_MSG_RESULT(yes)
168                    AC_SUBST([TSS_LIBS], [-ltspi])
169                    AC_SUBST([TSS_CFLAGS], [])
170                    AC_DEFINE([HAVE_TROUSERS], 1, [Enable TPM])
171                    with_tpm=yes],
172                   [AC_MSG_RESULT(no)
173                    AC_MSG_WARN([[
174 *** 
175 *** trousers was not found. TPM support will be disabled.
176 *** ]])
177                   with_tpm=no])
178     LIBS="$oldlibs"
181 AM_CONDITIONAL(ENABLE_TROUSERS, test "$with_tpm" != "no")
183 enable_local_libopts=yes
184 dnl PKG_CHECK_MODULES([autoopts], autoopts >= 36.2.11,, [enable_local_libopts=yes])
186 NEED_LIBOPTS_DIR=true
187 LIBOPTS_CHECK([src/libopts])
189 AC_CHECK_TYPE(ssize_t,
190   [
191     DEFINE_SSIZE_T="#include <sys/types.h>"
192     AC_SUBST(DEFINE_SSIZE_T)
193   ], [
194     AC_DEFINE([NO_SSIZE_T], 1, [no ssize_t type was found])
195     DEFINE_SSIZE_T="typedef int ssize_t;"
196     AC_SUBST(DEFINE_SSIZE_T)
197   ], [
198     #include <sys/types.h>
199   ])
201 # For minitasn1.
202 AC_CHECK_SIZEOF(unsigned long int, 4)
203 AC_CHECK_SIZEOF(unsigned int, 4)
205 AC_ARG_WITH(zlib, AS_HELP_STRING([--without-zlib],
206                                  [disable zlib compression support]),
207             ac_zlib=$withval, ac_zlib=yes)
208 AC_MSG_CHECKING([whether to include zlib compression support])
209 if test x$ac_zlib != xno; then
210  AC_MSG_RESULT(yes)
211  AC_LIB_HAVE_LINKFLAGS(z,, [#include <zlib.h>], [compress (0, 0, 0, 0);])
212  if test x$ac_cv_libz != xyes; then
213    AC_MSG_WARN(
214 *** 
215 *** ZLIB was not found. You will not be able to use ZLIB compression.)
216  fi
217 else
218  AC_MSG_RESULT(no)
221 PKG_CHECK_EXISTS(zlib, ZLIB_HAS_PKGCONFIG=y, ZLIB_HAS_PKGCONFIG=n)
223 if test x$ac_zlib != xno; then
224   if test "$ZLIB_HAS_PKGCONFIG" = "y" ; then
225     if test "x$GNUTLS_REQUIRES_PRIVATE" = x; then
226       GNUTLS_REQUIRES_PRIVATE="Requires.private: zlib"
227     else
228       GNUTLS_REQUIRES_PRIVATE="$GNUTLS_REQUIRES_PRIVATE, zlib"
229     fi
230   else
231     GNUTLS_ZLIB_LIBS_PRIVATE="$LTLIBZ"
232   fi
234 AC_SUBST(GNUTLS_REQUIRES_PRIVATE)
235 AC_SUBST(GNUTLS_ZLIB_LIBS_PRIVATE)
239 gl_INIT
241 dnl GCC warnings to enable
243 AC_ARG_ENABLE([gcc-warnings],
244   [AS_HELP_STRING([--enable-gcc-warnings],
245                   [turn on lots of GCC warnings (for developers)])],
246   [case $enableval in
247      yes|no) ;;
248      *)      AC_MSG_ERROR([bad value $enableval for gcc-warnings option]) ;;
249    esac
250    gl_gcc_warnings=$enableval],
251   [gl_gcc_warnings=no]
254 if test "$gl_gcc_warnings" = yes; then
255   gl_WARN_ADD([-Werror], [WERROR_CFLAGS])
256   gl_WARN_ADD([-Wframe-larger-than=5120], [WSTACK_CFLAGS])
258   nw="$nw -Wsystem-headers"         # Don't let system headers trigger warnings
259   nw="$nw -Wc++-compat"             # We don't care about C++ compilers
260   nw="$nw -Wundef"                  # Warns on '#if GNULIB_FOO' etc in gnulib
261   nw="$nw -Wtraditional"            # Warns on #elif which we use often
262   nw="$nw -Wlogical-op"             # Too many false positives
263   nw="$nw -Wold-style-definition"   # 
264   nw="$nw -Wpadded"                 # Our structs are not padded
265   nw="$nw -Wunreachable-code"       # Too many false positives
266   nw="$nw -Wtraditional-conversion" # Too many warnings for now
267   nw="$nw -Wcast-qual"              # Too many warnings for now
268   nw="$nw -Waggregate-return"       # Too many warnings for now
269   nw="$nw -Wshadow"                 # Too many warnings for now
270   nw="$nw -Wswitch-default"         # Too many warnings for now
271   nw="$nw -Wswitch-enum"            # Too many warnings for now
272   nw="$nw -Wconversion"             # Too many warnings for now
273   nw="$nw -Wsign-conversion"        # Too many warnings for now
274   nw="$nw -Wformat-y2k"             # Too many warnings for now
275   nw="$nw -Wvla"                    # There is no point to avoid C99 variable length arrays
276   nw="$nw -Wformat-nonliteral"      # Incompatible with gettext _()
277   nw="$nw -Wunsafe-loop-optimizations"
278   nw="$nw -Wstrict-overflow"
279   nw="$nw -Wmissing-noreturn"
281   gl_MANYWARN_ALL_GCC([ws])
282   gl_MANYWARN_COMPLEMENT(ws, [$ws], [$nw])
283   for w in $ws; do
284     gl_WARN_ADD([$w])
285   done
287   gl_WARN_ADD([-Wno-missing-field-initializers]) # We need this one
288   gl_WARN_ADD([-Wno-format-y2k])     # Too many warnings for now
289   gl_WARN_ADD([-Wno-suggest-attribute=pure])     # Too many warnings for now
290   gl_WARN_ADD([-Wno-suggest-attribute=const])     # Too many warnings for now
291   gl_WARN_ADD([-Wno-suggest-attribute=noreturn])     # Too many warnings for now
292   gl_WARN_ADD([-Wno-unused-value]) # warnings for things we don't want to get
293   gl_WARN_ADD([-Wno-unused-result]) # warnings for things we don't want to get
294   gl_WARN_ADD([-Wno-unused-parameter]) # Too many warnings for now
295   gl_WARN_ADD([-Wno-unused-parameter]) # Too many warnings for now
296   gl_WARN_ADD([-Wno-stack-protector])  # Some functions cannot be protected
297   gl_WARN_ADD([-Wno-int-to-pointer-cast])  # Some files cannot be compiled with that (gl_fd_to_handle)
298   gl_WARN_ADD([-Wno-redundant-decls])  # Some files cannot be compiled with that (gl_fd_to_handle)
299   gl_WARN_ADD([-fdiagnostics-show-option])
302 AC_SUBST([WERROR_CFLAGS])
303 AC_SUBST([WSTACK_CFLAGS])
304 AC_SUBST([WARN_CFLAGS])
306 dnl Programs for compilation or development
307 AC_PROG_LN_S
308 AC_LIBTOOL_WIN32_DLL
309 AC_PROG_LIBTOOL
311 AC_ARG_WITH([default-trust-store-pkcs11],
312   [AS_HELP_STRING([--with-default-trust-store-pkcs11=URI],
313     [use the given pkcs11 uri as default trust store])])
315 if test "x$with_default_trust_store_pkcs11" != x; then
316   if test "x$with_p11_kit" = xno; then
317     AC_MSG_ERROR([cannot use pkcs11 store without p11-kit])
318   fi
319   AC_DEFINE_UNQUOTED([DEFAULT_TRUST_STORE_PKCS11],
320     ["$with_default_trust_store_pkcs11"], [use the given pkcs11 uri as default trust store])
323 AC_ARG_WITH([default-trust-store-file],
324   [AS_HELP_STRING([--with-default-trust-store-file=FILE],
325     [use the given file default trust store])])
327 AC_ARG_WITH([default-crl-file],
328   [AS_HELP_STRING([--with-default-crl-file=FILE],
329     [use the given CRL file as default])])
331 if test "x$with_default_trust_store_pkcs11" = x -a "x$with_default_trust_store_file" = x; then
332   # auto detect http://lists.gnu.org/archive/html/help-gnutls/2012-05/msg00004.html
333   for i in \
334     /etc/ssl/certs/ca-certificates.crt \
335     /etc/pki/tls/cert.pem \
336     /usr/local/share/certs/ca-root-nss.crt \
337     /etc/ssl/cert.pem
338     do
339     if test -e $i; then
340       with_default_trust_store_file="$i"
341       break
342     fi
343   done
346 if test "x$with_default_trust_store_file" != x; then
347   AC_DEFINE_UNQUOTED([DEFAULT_TRUST_STORE_FILE],
348     ["$with_default_trust_store_file"], [use the given file default trust store])
351 if test "x$with_default_crl_file" != x; then
352   AC_DEFINE_UNQUOTED([DEFAULT_CRL_FILE],
353     ["$with_default_crl_file"], [use the given CRL file])
356 dnl Guile bindings.
357 opt_guile_bindings=yes
358 AC_MSG_CHECKING([whether building Guile bindings])
359 AC_ARG_ENABLE(guile,
360         AS_HELP_STRING([--enable-guile], [build GNU Guile bindings]),
361 opt_guile_bindings=$enableval)
362 AC_MSG_RESULT($opt_guile_bindings)
364 AC_ARG_WITH([--with-guile-site-dir],
365   [AS_HELP_STRING([--with-guile-site-dir],
366      [use the given directory as the Guile site (use with care)])])
368 if test "$opt_guile_bindings" = "yes"; then
369    AC_MSG_RESULT([***
370 *** Detecting GNU Guile...
373    AC_PATH_PROG([guile_snarf], [guile-snarf])
374    if test "x$guile_snarf" = "x"; then
375       AC_MSG_WARN([`guile-snarf' from Guile 1.8 not found.  Guile bindings not built.])
376       opt_guile_bindings=no
377    else
378       GUILE_PROGS
379       GUILE_FLAGS
381       save_CFLAGS="$CFLAGS"
382       save_LIBS="$LIBS"
383       CFLAGS="$CFLAGS $GUILE_CFLAGS"
384       LIBS="$LIBS $GUILE_LDFLAGS"
385       AC_MSG_CHECKING([whether GNU Guile is recent enough])
386       AC_LINK_IFELSE([AC_LANG_PROGRAM([], [scm_from_locale_string ("")])],
387         [], [opt_guile_bindings=no])
388       CFLAGS="$save_CFLAGS"
389       LIBS="$save_LIBS"
391       if test "$opt_guile_bindings" = "yes"; then
392         AC_MSG_RESULT([yes])
393         case "x$with_guile_site_dir" in 
394              xno)
395                 # Use the default $(GUILE_SITE).
396                 GUILE_SITE_DIR
397                 ;;
398              x|xyes)
399                 # Automatically derive $(GUILE_SITE) from $(pkgdatadir).  This
400                 # hack is used to allow `distcheck' to work (see
401                 # `DISTCHECK_CONFIGURE_FLAGS' in the top-level `Makefile.am').
402                 GUILE_SITE="\$(datadir)/guile/site"
403                 AC_SUBST(GUILE_SITE)
404                 ;;
405              *)
406                 # Use the user-specified directory as $(GUILE_SITE).
407                 GUILE_SITE="$with_guile_site_dir"
408                 AC_SUBST(GUILE_SITE)
409                 ;;
410         esac
411         AC_MSG_CHECKING([whether gcc supports -fgnu89-inline])
412         _gcc_cflags_save="$CFLAGS"
413         CFLAGS="${CFLAGS} -fgnu89-inline"
414         AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])],
415                           gnu89_inline=yes, gnu89_inline=no)
416         AC_MSG_RESULT($gnu89_inline)
417         CFLAGS="$_gcc_cflags_save"
419         # Optional Guile functions.
420         save_CFLAGS="$CFLAGS"
421         save_LIBS="$LIBS"
422         CFLAGS="$CFLAGS $GUILE_CFLAGS"
423         LIBS="$LIBS $GUILE_LDFLAGS"
424         AC_CHECK_FUNCS([scm_gc_malloc_pointerless])
425         CFLAGS="$save_CFLAGS"
426         LIBS="$save_LIBS"
428         # The place where guile-gnutls.la will go.
429         AC_MSG_CHECKING([the Guile effective version])
430         guile_effective_version="`$GUILE -c '(display (effective-version))'`"
431         AC_MSG_RESULT([$guile_effective_version])
432         guileextensiondir="$libdir/guile/$guile_effective_version"
433         AC_SUBST([guileextensiondir])
434       else
435         AC_MSG_RESULT([no])
436         AC_MSG_WARN([A sufficiently recent GNU Guile not found.  Guile bindings not built.])
437         opt_guile_bindings=no
438       fi
439    fi
441 AM_CONDITIONAL(HAVE_GUILE, test "$opt_guile_bindings" = "yes")
443 LIBGNUTLS_LIBS="-L${libdir} -lgnutls $LIBS"
444 LIBGNUTLS_CFLAGS="-I${includedir}"
445 AC_SUBST(LIBGNUTLS_LIBS)
446 AC_SUBST(LIBGNUTLS_CFLAGS)
449 AC_DEFINE([GNUTLS_COMPAT_H], 1, [Make sure we don't use old features in code.])
450 AC_DEFINE([GNUTLS_INTERNAL_BUILD], 1, [We allow temporarily usage of deprecated functions - until they are removed.])
452 AC_DEFINE([fread_file], [_gnutls_fread_file], [static lib rename])
453 AC_DEFINE([read_file], [_gnutls_read_file], [static lib rename])
454 AC_DEFINE([read_binary_file], [_gnutls_read_binary_file], [static lib rename])
456 dnl Crywrap dependencies
457    AC_MSG_RESULT([***
458 *** Checking dependencies for crywrap...
461 crywrap=no
463 if test "$have_win" != "yes"; then
465 AC_CHECK_HEADERS([arpa/inet.h netinet/in.h sys/select.h sys/types.h sys/wait.h])
467 dnl **********************
468 dnl * Typedefs & co
469 dnl **********************
470 AC_CACHE_CHECK([return type of signal handlers],[ac_cv_type_signal],[AC_COMPILE_IFELSE(
471 [AC_LANG_PROGRAM([#include <sys/types.h>
472 #include <signal.h>
474                  [return *(signal (0, 0)) (0) == 1;])],
475                    [ac_cv_type_signal=int],
476                    [ac_cv_type_signal=void])])
477 AC_DEFINE_UNQUOTED([RETSIGTYPE],[$ac_cv_type_signal],[Define as the return type of signal handlers
478                     (`int' or `void').])
480 AC_FUNC_SELECT_ARGTYPES
481 AC_CHECK_FUNCS([alarm atexit dup2 epoll_create kqueue memchr memset munmap \
482                 putenv regcomp scandir select socket strcasecmp strchr \
483                 strdup strerror strncasecmp strrchr strstr strtoul uname])
485 AC_ARG_ENABLE(crywrap,
486         AS_HELP_STRING([--disable-crywrap], [unconditionally disable the crywrap TLS proxy service]))
488  libidn=no
490  if test "x$enable_crywrap" != "xno" ; then
491         PKG_CHECK_MODULES(LIBIDN, libidn >= 0.0.0, [libidn=yes], [libidn=no])
492  fi
494  if test "x$libidn" != "xno" && test "$ac_cv_func_daemon" != "no";then
495   crywrap=yes
496  fi
500 AM_CONDITIONAL(ENABLE_CRYWRAP, test "x$crywrap" != "xno")
501 rm -f suppressions.valgrind
502 dnl end of crywrap requirements
504 AC_CONFIG_FILES([guile/pre-inst-guile], [chmod +x guile/pre-inst-guile])
505 AC_CONFIG_FILES([
506   Makefile
507   doc/Makefile
508   doc/credentials/Makefile
509   doc/credentials/openpgp/Makefile
510   doc/credentials/srp/Makefile
511   doc/credentials/x509/Makefile
512   doc/cyclo/Makefile
513   doc/doxygen/Doxyfile
514   doc/examples/Makefile
515   doc/latex/Makefile
516   doc/manpages/Makefile
517   doc/reference/Makefile
518   doc/reference/version.xml
519   doc/scripts/Makefile
520   extra/Makefile
521   extra/includes/Makefile
522   gl/Makefile
523   gl/tests/Makefile
524   guile/Makefile
525   guile/modules/Makefile
526   guile/src/Makefile
527   guile/tests/Makefile
528   lib/Makefile
529   lib/accelerated/Makefile
530   lib/accelerated/x86/Makefile
531   lib/algorithms/Makefile
532   lib/auth/Makefile
533   lib/ext/Makefile
534   lib/extras/Makefile
535   lib/gnutls.pc
536   lib/includes/Makefile
537   lib/includes/gnutls/gnutls.h
538   lib/minitasn1/Makefile
539   lib/nettle/Makefile
540   lib/opencdk/Makefile
541   lib/openpgp/Makefile
542   lib/x509/Makefile
543   po/Makefile.in
544   src/Makefile
545   src/crywrap/Makefile
546   tests/Makefile
547   tests/cert-tests/Makefile
548   tests/dsa/Makefile
549   tests/dtls/Makefile
550   tests/srp/Makefile
551   tests/ecdsa/Makefile
552   tests/key-id/Makefile
553   tests/openpgp-certs/Makefile
554   tests/pkcs1-padding/Makefile
555   tests/pkcs12-decode/Makefile
556   tests/pkcs8-decode/Makefile
557   tests/rsa-md5-collision/Makefile
558   tests/safe-renegotiation/Makefile
559   tests/scripts/Makefile
560   tests/sha2/Makefile
561   tests/slow/Makefile
562   tests/suite/Makefile
563   tests/userid/Makefile
566 AC_OUTPUT
568 AC_MSG_NOTICE([summary of build options:
570   version:          ${VERSION} shared $LT_CURRENT:$LT_REVISION:$LT_AGE
571   Host type:        ${host}
572   Install prefix:   ${prefix}
573   Compiler:         ${CC}
574   CFlags:           ${CFLAGS}
575   Warning flags:    errors: ${WERROR_CFLAGS} warnings: ${WARN_CFLAGS}
576   Library types:    Shared=${enable_shared}, Static=${enable_static}
577   Valgrind:         $opt_valgrind_tests ${VALGRIND}
580 AC_MSG_NOTICE([Optional features:
581 (note that included applications might not compile properly
582 if features are disabled)
584   OCSP support:     $ac_enable_ocsp
585   OpenPGP support:  $ac_enable_openpgp
586   SRP support:      $ac_enable_srp
587   PSK support:      $ac_enable_psk
588   Anon auth support:$ac_enable_anon
590   Trust store pkcs: $with_default_trust_store_pkcs11
591   Trust store file: $with_default_trust_store_file
592   CRL file: $with_default_crl_file
595 AC_MSG_NOTICE([Optional applications:
597   crywrap app:      $libidn
598   local libopts:    $enable_local_libopts
601 AC_MSG_NOTICE([Optional libraries:
603   Guile wrappers:   $opt_guile_bindings
604   C++ library:      $use_cxx
605   OpenSSL compat:   $enable_openssl
608 AC_MSG_NOTICE([Hardware acceleration/support:
610   /dev/crypto:      $enable_cryptodev
611   Hardware accel:   $hw_accel
612   PKCS#11 support:  $with_p11_kit
613   TPM support:      $with_tpm