AC_INIT([GnuTLS], [3.1.9], [bug-gnutls@gnu.org])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])
-AC_CANONICAL_TARGET
+AC_CANONICAL_HOST
AM_INIT_AUTOMAKE([1.11.3 no-dist-gzip dist-xz dist-lzip -Wall -Wno-override])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
if test "$use_accel" != "no"; then
-case $target_cpu in
+case $host_cpu in
i?86 | x86_64 | amd64)
AC_CHECK_HEADERS(cpuid.h)
- if test "$target_cpu" = "x86_64" || test "$target_cpu" = "amd64"; then
+ if test "$host_cpu" = "x86_64" || test "$host_cpu" = "amd64"; then
hw_accel="x86-64"
else
hw_accel="x86"
AC_ARG_WITH([default-trust-store-file],
[AS_HELP_STRING([--with-default-trust-store-file=FILE],
[use the given file default trust store])], with_default_trust_store_file="$withval",
- [if test "$target_cpu" = "$host_cpu";then
+ [if test "$build" = "$host";then
for i in \
/etc/ssl/certs/ca-certificates.crt \
/etc/pki/tls/cert.pem \
AC_OUTPUT
+dnl Warning flags: errors: ${WERROR_CFLAGS} warnings: ${WARN_CFLAGS}
+dnl Valgrind: $opt_valgrind_tests ${VALGRIND}
AC_MSG_NOTICE([summary of build options:
version: ${VERSION} shared $LT_CURRENT:$LT_REVISION:$LT_AGE
- Host type: ${host}
+ Host/Target system: ${host}
+ Build system: ${build}
Install prefix: ${prefix}
Compiler: ${CC}
CFlags: ${CFLAGS}
- Warning flags: errors: ${WERROR_CFLAGS} warnings: ${WARN_CFLAGS}
Library types: Shared=${enable_shared}, Static=${enable_static}
- Valgrind: $opt_valgrind_tests ${VALGRIND}
])
AC_MSG_NOTICE([External hardware support: