~ubuntu-branches/ubuntu/vivid/nettle/vivid-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Magnus Holmgren
  • Date: 2013-03-24 11:38:21 UTC
  • mfrom: (1.5.2)
  • mto: (8.1.7 sid)
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: package-import@ubuntu.com-20130324113821-47kc1q7ojsxmuevv
Tags: 2.6-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.67 for nettle 2.5.
 
3
# Generated by GNU Autoconf 2.69 for nettle 2.6.
4
4
#
5
5
# Report bugs to <nettle-bugs@lists.lysator.liu.se>.
6
6
#
7
7
#
8
 
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10
 
# Foundation, Inc.
 
8
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11
9
#
12
10
#
13
11
# This configure script is free software; the Free Software Foundation
91
89
IFS=" ""        $as_nl"
92
90
 
93
91
# Find who we are.  Look in the path if we contain no directory separator.
 
92
as_myself=
94
93
case $0 in #((
95
94
  *[\\/]* ) as_myself=$0 ;;
96
95
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
135
134
# CDPATH.
136
135
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
136
 
 
137
# Use a proper internal environment variable to ensure we don't fall
 
138
  # into an infinite loop, continuously re-executing ourselves.
 
139
  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
 
140
    _as_can_reexec=no; export _as_can_reexec;
 
141
    # We cannot yet assume a decent shell, so we have to provide a
 
142
# neutralization value for shells without unset; and this also
 
143
# works around shells that cannot unset nonexistent variables.
 
144
# Preserve -v and -x to the replacement shell.
 
145
BASH_ENV=/dev/null
 
146
ENV=/dev/null
 
147
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
148
case $- in # ((((
 
149
  *v*x* | *x*v* ) as_opts=-vx ;;
 
150
  *v* ) as_opts=-v ;;
 
151
  *x* ) as_opts=-x ;;
 
152
  * ) as_opts= ;;
 
153
esac
 
154
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 
155
# Admittedly, this is quite paranoid, since all the known shells bail
 
156
# out after a failed `exec'.
 
157
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 
158
as_fn_exit 255
 
159
  fi
 
160
  # We don't want this to propagate to other subprocesses.
 
161
          { _as_can_reexec=; unset _as_can_reexec;}
138
162
if test "x$CONFIG_SHELL" = x; then
139
163
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140
164
  emulate sh
168
192
else
169
193
  exitcode=1; echo positional parameters were not saved.
170
194
fi
171
 
test x\$exitcode = x0 || exit 1"
 
195
test x\$exitcode = x0 || exit 1
 
196
test -x / || exit 1"
172
197
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173
198
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
199
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
213
238
 
214
239
 
215
240
      if test "x$CONFIG_SHELL" != x; then :
216
 
  # We cannot yet assume a decent shell, so we have to provide a
217
 
        # neutralization value for shells without unset; and this also
218
 
        # works around shells that cannot unset nonexistent variables.
219
 
        BASH_ENV=/dev/null
220
 
        ENV=/dev/null
221
 
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222
 
        export CONFIG_SHELL
223
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
241
  export CONFIG_SHELL
 
242
             # We cannot yet assume a decent shell, so we have to provide a
 
243
# neutralization value for shells without unset; and this also
 
244
# works around shells that cannot unset nonexistent variables.
 
245
# Preserve -v and -x to the replacement shell.
 
246
BASH_ENV=/dev/null
 
247
ENV=/dev/null
 
248
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
249
case $- in # ((((
 
250
  *v*x* | *x*v* ) as_opts=-vx ;;
 
251
  *v* ) as_opts=-v ;;
 
252
  *x* ) as_opts=-x ;;
 
253
  * ) as_opts= ;;
 
254
esac
 
255
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 
256
# Admittedly, this is quite paranoid, since all the known shells bail
 
257
# out after a failed `exec'.
 
258
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 
259
exit 255
224
260
fi
225
261
 
226
262
    if test x$as_have_required = xno; then :
323
359
 
324
360
 
325
361
} # as_fn_mkdir_p
 
362
 
 
363
# as_fn_executable_p FILE
 
364
# -----------------------
 
365
# Test if FILE is an executable regular file.
 
366
as_fn_executable_p ()
 
367
{
 
368
  test -f "$1" && test -x "$1"
 
369
} # as_fn_executable_p
326
370
# as_fn_append VAR VALUE
327
371
# ----------------------
328
372
# Append the text in VALUE to the end of the definition contained in VAR. Take
444
488
  chmod +x "$as_me.lineno" ||
445
489
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
446
490
 
 
491
  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
 
492
  # already done that, so ensure we don't try to do so again and fall
 
493
  # in an infinite loop.  This has already happened in practice.
 
494
  _as_can_reexec=no; export _as_can_reexec
447
495
  # Don't try to exec as it changes $[0], causing all sort of problems
448
496
  # (the dirname of $[0] is not the place where we might find the
449
497
  # original and so on.  Autoconf is especially sensitive to this).
478
526
    # ... but there are two gotchas:
479
527
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480
528
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481
 
    # In both cases, we have to default to `cp -p'.
 
529
    # In both cases, we have to default to `cp -pR'.
482
530
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
483
 
      as_ln_s='cp -p'
 
531
      as_ln_s='cp -pR'
484
532
  elif ln conf$$.file conf$$ 2>/dev/null; then
485
533
    as_ln_s=ln
486
534
  else
487
 
    as_ln_s='cp -p'
 
535
    as_ln_s='cp -pR'
488
536
  fi
489
537
else
490
 
  as_ln_s='cp -p'
 
538
  as_ln_s='cp -pR'
491
539
fi
492
540
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493
541
rmdir conf$$.dir 2>/dev/null
499
547
  as_mkdir_p=false
500
548
fi
501
549
 
502
 
if test -x / >/dev/null 2>&1; then
503
 
  as_test_x='test -x'
504
 
else
505
 
  if ls -dL / >/dev/null 2>&1; then
506
 
    as_ls_L_option=L
507
 
  else
508
 
    as_ls_L_option=
509
 
  fi
510
 
  as_test_x='
511
 
    eval sh -c '\''
512
 
      if test -d "$1"; then
513
 
        test -d "$1/.";
514
 
      else
515
 
        case $1 in #(
516
 
        -*)set "./$1";;
517
 
        esac;
518
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519
 
        ???[sx]*):;;*)false;;esac;fi
520
 
    '\'' sh
521
 
  '
522
 
fi
523
 
as_executable_p=$as_test_x
 
550
as_test_x='test -x'
 
551
as_executable_p=as_fn_executable_p
524
552
 
525
553
# Sed expression to map a string onto a valid CPP name.
526
554
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552
580
# Identity of this package.
553
581
PACKAGE_NAME='nettle'
554
582
PACKAGE_TARNAME='nettle'
555
 
PACKAGE_VERSION='2.5'
556
 
PACKAGE_STRING='nettle 2.5'
 
583
PACKAGE_VERSION='2.6'
 
584
PACKAGE_STRING='nettle 2.6'
557
585
PACKAGE_BUGREPORT='nettle-bugs@lists.lysator.liu.se'
558
586
PACKAGE_URL=''
559
587
 
598
626
BENCH_LIBS
599
627
OPENSSL_LIBFLAGS
600
628
IF_DLL
 
629
IF_DOCUMENTATION
601
630
IF_SHARED
 
631
IF_STATIC
602
632
IF_HOGWEED
 
633
MAKEINFO
603
634
LIBOBJS
604
635
ALLOCA
605
636
ALIGNOF_UINT64_T
641
672
INSTALL_DATA
642
673
INSTALL_SCRIPT
643
674
INSTALL_PROGRAM
 
675
AR
644
676
OBJDUMP
645
677
NM
646
678
RANLIB
647
679
SET_MAKE
648
 
CXX_TESTS
 
680
IF_CXX
649
681
ac_ct_CXX
650
682
CXXFLAGS
651
683
CXX
709
741
with_lib_path
710
742
enable_public_key
711
743
enable_assembler
 
744
enable_static
712
745
enable_shared
713
746
enable_pic
714
747
enable_openssl
715
748
enable_gcov
 
749
enable_documentation
716
750
enable_dependency_tracking
717
751
'
718
752
      ac_precious_vars='build_alias
1131
1165
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1132
1166
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1133
1167
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1134
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1168
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1135
1169
    ;;
1136
1170
 
1137
1171
  esac
1182
1216
if test "x$host_alias" != x; then
1183
1217
  if test "x$build_alias" = x; then
1184
1218
    cross_compiling=maybe
1185
 
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1186
 
    If a cross compiler is detected then cross compile mode will be used" >&2
1187
1219
  elif test "x$build_alias" != "x$host_alias"; then
1188
1220
    cross_compiling=yes
1189
1221
  fi
1269
1301
  # Omit some internal or obsolete options to make the list less imposing.
1270
1302
  # This message is too long to be a string in the A/UX 3.1 sh.
1271
1303
  cat <<_ACEOF
1272
 
\`configure' configures nettle 2.5 to adapt to many kinds of systems.
 
1304
\`configure' configures nettle 2.6 to adapt to many kinds of systems.
1273
1305
 
1274
1306
Usage: $0 [OPTION]... [VAR=VALUE]...
1275
1307
 
1334
1366
 
1335
1367
if test -n "$ac_init_help"; then
1336
1368
  case $ac_init_help in
1337
 
     short | recursive ) echo "Configuration of nettle 2.5:";;
 
1369
     short | recursive ) echo "Configuration of nettle 2.6:";;
1338
1370
   esac
1339
1371
  cat <<\_ACEOF
1340
1372
 
1344
1376
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1345
1377
  --disable-public-key    Disable public key algorithms
1346
1378
  --disable-assembler     Disable assembler code
 
1379
  --disable-static        Do not build any static library
1347
1380
  --disable-shared        Do not build any shared library
1348
1381
  --disable-pic           Do not try to compile library files as position
1349
1382
                          independent code
1350
1383
  --disable-openssl       Do not include openssl glue in the benchmark program
1351
1384
  --enable-gcov           Instrument for gcov (requires a modern gcc)
 
1385
  --disable-documentation Omit building and installing the documentation.
 
1386
                          (default=auto)
1352
1387
  --disable-dependency-tracking
1353
1388
                          Disable dependency tracking. Dependency tracking
1354
1389
                          doesn't work with BSD make
1439
1474
test -n "$ac_init_help" && exit $ac_status
1440
1475
if $ac_init_version; then
1441
1476
  cat <<\_ACEOF
1442
 
nettle configure 2.5
1443
 
generated by GNU Autoconf 2.67
 
1477
nettle configure 2.6
 
1478
generated by GNU Autoconf 2.69
1444
1479
 
1445
 
Copyright (C) 2010 Free Software Foundation, Inc.
 
1480
Copyright (C) 2012 Free Software Foundation, Inc.
1446
1481
This configure script is free software; the Free Software Foundation
1447
1482
gives unlimited permission to copy, distribute and modify it.
1448
1483
_ACEOF
1486
1521
 
1487
1522
        ac_retval=1
1488
1523
fi
1489
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1524
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1490
1525
  as_fn_set_status $ac_retval
1491
1526
 
1492
1527
} # ac_fn_c_try_compile
1524
1559
 
1525
1560
        ac_retval=1
1526
1561
fi
1527
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1562
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1528
1563
  as_fn_set_status $ac_retval
1529
1564
 
1530
1565
} # ac_fn_cxx_try_compile
1561
1596
 
1562
1597
    ac_retval=1
1563
1598
fi
1564
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1599
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1565
1600
  as_fn_set_status $ac_retval
1566
1601
 
1567
1602
} # ac_fn_c_try_cpp
1575
1610
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1576
1611
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1577
1612
$as_echo_n "checking for $2... " >&6; }
1578
 
if eval "test \"\${$3+set}\"" = set; then :
 
1613
if eval \${$3+:} false; then :
1579
1614
  $as_echo_n "(cached) " >&6
1580
1615
else
1581
1616
  eval "$3=no"
1616
1651
eval ac_res=\$$3
1617
1652
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1618
1653
$as_echo "$ac_res" >&6; }
1619
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1654
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1620
1655
 
1621
1656
} # ac_fn_c_check_type
1622
1657
 
1657
1692
       ac_retval=$ac_status
1658
1693
fi
1659
1694
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1660
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1695
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1661
1696
  as_fn_set_status $ac_retval
1662
1697
 
1663
1698
} # ac_fn_c_try_run
1671
1706
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1672
1707
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1673
1708
$as_echo_n "checking for $2... " >&6; }
1674
 
if eval "test \"\${$3+set}\"" = set; then :
 
1709
if eval \${$3+:} false; then :
1675
1710
  $as_echo_n "(cached) " >&6
1676
1711
else
1677
1712
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1689
1724
eval ac_res=\$$3
1690
1725
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1691
1726
$as_echo "$ac_res" >&6; }
1692
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1727
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1693
1728
 
1694
1729
} # ac_fn_c_check_header_compile
1695
1730
 
1710
1745
main ()
1711
1746
{
1712
1747
static int test_array [1 - 2 * !(($2) >= 0)];
1713
 
test_array [0] = 0
 
1748
test_array [0] = 0;
 
1749
return test_array [0];
1714
1750
 
1715
1751
  ;
1716
1752
  return 0;
1726
1762
main ()
1727
1763
{
1728
1764
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1729
 
test_array [0] = 0
 
1765
test_array [0] = 0;
 
1766
return test_array [0];
1730
1767
 
1731
1768
  ;
1732
1769
  return 0;
1752
1789
main ()
1753
1790
{
1754
1791
static int test_array [1 - 2 * !(($2) < 0)];
1755
 
test_array [0] = 0
 
1792
test_array [0] = 0;
 
1793
return test_array [0];
1756
1794
 
1757
1795
  ;
1758
1796
  return 0;
1768
1806
main ()
1769
1807
{
1770
1808
static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1771
 
test_array [0] = 0
 
1809
test_array [0] = 0;
 
1810
return test_array [0];
1772
1811
 
1773
1812
  ;
1774
1813
  return 0;
1802
1841
main ()
1803
1842
{
1804
1843
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1805
 
test_array [0] = 0
 
1844
test_array [0] = 0;
 
1845
return test_array [0];
1806
1846
 
1807
1847
  ;
1808
1848
  return 0;
1866
1906
rm -f conftest.val
1867
1907
 
1868
1908
  fi
1869
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1909
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1870
1910
  as_fn_set_status $ac_retval
1871
1911
 
1872
1912
} # ac_fn_c_compute_int
1879
1919
ac_fn_c_check_header_mongrel ()
1880
1920
{
1881
1921
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1882
 
  if eval "test \"\${$3+set}\"" = set; then :
 
1922
  if eval \${$3+:} false; then :
1883
1923
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1884
1924
$as_echo_n "checking for $2... " >&6; }
1885
 
if eval "test \"\${$3+set}\"" = set; then :
 
1925
if eval \${$3+:} false; then :
1886
1926
  $as_echo_n "(cached) " >&6
1887
1927
fi
1888
1928
eval ac_res=\$$3
1949
1989
esac
1950
1990
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1951
1991
$as_echo_n "checking for $2... " >&6; }
1952
 
if eval "test \"\${$3+set}\"" = set; then :
 
1992
if eval \${$3+:} false; then :
1953
1993
  $as_echo_n "(cached) " >&6
1954
1994
else
1955
1995
  eval "$3=\$ac_header_compiler"
1958
1998
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1959
1999
$as_echo "$ac_res" >&6; }
1960
2000
fi
1961
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2001
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1962
2002
 
1963
2003
} # ac_fn_c_check_header_mongrel
1964
2004
 
1989
2029
         test ! -s conftest.err
1990
2030
       } && test -s conftest$ac_exeext && {
1991
2031
         test "$cross_compiling" = yes ||
1992
 
         $as_test_x conftest$ac_exeext
 
2032
         test -x conftest$ac_exeext
1993
2033
       }; then :
1994
2034
  ac_retval=0
1995
2035
else
2003
2043
  # interfere with the next link command; also delete a directory that is
2004
2044
  # left behind by Apple's compiler.  We do this before executing the actions.
2005
2045
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2006
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2046
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2007
2047
  as_fn_set_status $ac_retval
2008
2048
 
2009
2049
} # ac_fn_c_try_link
2016
2056
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2017
2057
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2018
2058
$as_echo_n "checking for $2... " >&6; }
2019
 
if eval "test \"\${$3+set}\"" = set; then :
 
2059
if eval \${$3+:} false; then :
2020
2060
  $as_echo_n "(cached) " >&6
2021
2061
else
2022
2062
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2071
2111
eval ac_res=\$$3
2072
2112
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2073
2113
$as_echo "$ac_res" >&6; }
2074
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2114
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2075
2115
 
2076
2116
} # ac_fn_c_check_func
2077
2117
cat >config.log <<_ACEOF
2078
2118
This file contains any messages produced by compilers while
2079
2119
running configure, to aid debugging if configure makes a mistake.
2080
2120
 
2081
 
It was created by nettle $as_me 2.5, which was
2082
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
2121
It was created by nettle $as_me 2.6, which was
 
2122
generated by GNU Autoconf 2.69.  Invocation command line was
2083
2123
 
2084
2124
  $ $0 $@
2085
2125
 
2337
2377
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2338
2378
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2339
2379
as_fn_error $? "failed to load site script $ac_site_file
2340
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2380
See \`config.log' for more details" "$LINENO" 5; }
2341
2381
  fi
2342
2382
done
2343
2383
 
2463
2503
 
2464
2504
 
2465
2505
LIBNETTLE_MAJOR=4
2466
 
LIBNETTLE_MINOR=4
 
2506
LIBNETTLE_MINOR=5
2467
2507
 
2468
2508
LIBHOGWEED_MAJOR=2
2469
 
LIBHOGWEED_MINOR=2
 
2509
LIBHOGWEED_MINOR=3
2470
2510
 
2471
2511
# Make sure we can run config.sub.
2472
2512
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2474
2514
 
2475
2515
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2476
2516
$as_echo_n "checking build system type... " >&6; }
2477
 
if test "${ac_cv_build+set}" = set; then :
 
2517
if ${ac_cv_build+:} false; then :
2478
2518
  $as_echo_n "(cached) " >&6
2479
2519
else
2480
2520
  ac_build_alias=$build_alias
2490
2530
$as_echo "$ac_cv_build" >&6; }
2491
2531
case $ac_cv_build in
2492
2532
*-*-*) ;;
2493
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
 
2533
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2494
2534
esac
2495
2535
build=$ac_cv_build
2496
2536
ac_save_IFS=$IFS; IFS='-'
2508
2548
 
2509
2549
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2510
2550
$as_echo_n "checking host system type... " >&6; }
2511
 
if test "${ac_cv_host+set}" = set; then :
 
2551
if ${ac_cv_host+:} false; then :
2512
2552
  $as_echo_n "(cached) " >&6
2513
2553
else
2514
2554
  if test "x$host_alias" = x; then
2523
2563
$as_echo "$ac_cv_host" >&6; }
2524
2564
case $ac_cv_host in
2525
2565
*-*-*) ;;
2526
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
 
2566
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2527
2567
esac
2528
2568
host=$ac_cv_host
2529
2569
ac_save_IFS=$IFS; IFS='-'
2583
2623
fi
2584
2624
 
2585
2625
 
 
2626
# Check whether --enable-static was given.
 
2627
if test "${enable_static+set}" = set; then :
 
2628
  enableval=$enable_static;
 
2629
else
 
2630
  enable_static=yes
 
2631
fi
 
2632
 
 
2633
 
2586
2634
# Check whether --enable-shared was given.
2587
2635
if test "${enable_shared+set}" = set; then :
2588
2636
  enableval=$enable_shared;
2615
2663
fi
2616
2664
 
2617
2665
 
 
2666
# Check whether --enable-documentation was given.
 
2667
if test "${enable_documentation+set}" = set; then :
 
2668
  enableval=$enable_documentation;
 
2669
else
 
2670
  enable_documentation=auto
 
2671
fi
 
2672
 
 
2673
 
2618
2674
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -R flag" >&5
2619
2675
$as_echo_n "checking for -R flag... " >&6; }
2620
2676
RPATHFLAG=''
2696
2752
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2697
2753
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2698
2754
$as_echo_n "checking for $ac_word... " >&6; }
2699
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2755
if ${ac_cv_prog_CC+:} false; then :
2700
2756
  $as_echo_n "(cached) " >&6
2701
2757
else
2702
2758
  if test -n "$CC"; then
2708
2764
  IFS=$as_save_IFS
2709
2765
  test -z "$as_dir" && as_dir=.
2710
2766
    for ac_exec_ext in '' $ac_executable_extensions; do
2711
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2767
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2712
2768
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2713
2769
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2714
2770
    break 2
2736
2792
set dummy gcc; ac_word=$2
2737
2793
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2738
2794
$as_echo_n "checking for $ac_word... " >&6; }
2739
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2795
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2740
2796
  $as_echo_n "(cached) " >&6
2741
2797
else
2742
2798
  if test -n "$ac_ct_CC"; then
2748
2804
  IFS=$as_save_IFS
2749
2805
  test -z "$as_dir" && as_dir=.
2750
2806
    for ac_exec_ext in '' $ac_executable_extensions; do
2751
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2807
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2752
2808
    ac_cv_prog_ac_ct_CC="gcc"
2753
2809
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2754
2810
    break 2
2789
2845
set dummy ${ac_tool_prefix}cc; ac_word=$2
2790
2846
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2791
2847
$as_echo_n "checking for $ac_word... " >&6; }
2792
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2848
if ${ac_cv_prog_CC+:} false; then :
2793
2849
  $as_echo_n "(cached) " >&6
2794
2850
else
2795
2851
  if test -n "$CC"; then
2801
2857
  IFS=$as_save_IFS
2802
2858
  test -z "$as_dir" && as_dir=.
2803
2859
    for ac_exec_ext in '' $ac_executable_extensions; do
2804
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2860
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2805
2861
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2806
2862
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2807
2863
    break 2
2829
2885
set dummy cc; ac_word=$2
2830
2886
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2831
2887
$as_echo_n "checking for $ac_word... " >&6; }
2832
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2888
if ${ac_cv_prog_CC+:} false; then :
2833
2889
  $as_echo_n "(cached) " >&6
2834
2890
else
2835
2891
  if test -n "$CC"; then
2842
2898
  IFS=$as_save_IFS
2843
2899
  test -z "$as_dir" && as_dir=.
2844
2900
    for ac_exec_ext in '' $ac_executable_extensions; do
2845
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2901
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2846
2902
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2847
2903
       ac_prog_rejected=yes
2848
2904
       continue
2888
2944
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2889
2945
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2890
2946
$as_echo_n "checking for $ac_word... " >&6; }
2891
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2947
if ${ac_cv_prog_CC+:} false; then :
2892
2948
  $as_echo_n "(cached) " >&6
2893
2949
else
2894
2950
  if test -n "$CC"; then
2900
2956
  IFS=$as_save_IFS
2901
2957
  test -z "$as_dir" && as_dir=.
2902
2958
    for ac_exec_ext in '' $ac_executable_extensions; do
2903
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2959
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2904
2960
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2905
2961
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2906
2962
    break 2
2932
2988
set dummy $ac_prog; ac_word=$2
2933
2989
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2934
2990
$as_echo_n "checking for $ac_word... " >&6; }
2935
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2991
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2936
2992
  $as_echo_n "(cached) " >&6
2937
2993
else
2938
2994
  if test -n "$ac_ct_CC"; then
2944
3000
  IFS=$as_save_IFS
2945
3001
  test -z "$as_dir" && as_dir=.
2946
3002
    for ac_exec_ext in '' $ac_executable_extensions; do
2947
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3003
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2948
3004
    ac_cv_prog_ac_ct_CC="$ac_prog"
2949
3005
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2950
3006
    break 2
2987
3043
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2988
3044
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2989
3045
as_fn_error $? "no acceptable C compiler found in \$PATH
2990
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3046
See \`config.log' for more details" "$LINENO" 5; }
2991
3047
 
2992
3048
# Provide some information about the compiler.
2993
3049
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3102
3158
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3103
3159
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3104
3160
as_fn_error 77 "C compiler cannot create executables
3105
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3161
See \`config.log' for more details" "$LINENO" 5; }
3106
3162
else
3107
3163
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3108
3164
$as_echo "yes" >&6; }
3145
3201
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3146
3202
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3147
3203
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3148
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3204
See \`config.log' for more details" "$LINENO" 5; }
3149
3205
fi
3150
3206
rm -f conftest conftest$ac_cv_exeext
3151
3207
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3204
3260
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3205
3261
as_fn_error $? "cannot run C compiled programs.
3206
3262
If you meant to cross compile, use \`--host'.
3207
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3263
See \`config.log' for more details" "$LINENO" 5; }
3208
3264
    fi
3209
3265
  fi
3210
3266
fi
3215
3271
ac_clean_files=$ac_clean_files_save
3216
3272
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3217
3273
$as_echo_n "checking for suffix of object files... " >&6; }
3218
 
if test "${ac_cv_objext+set}" = set; then :
 
3274
if ${ac_cv_objext+:} false; then :
3219
3275
  $as_echo_n "(cached) " >&6
3220
3276
else
3221
3277
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3256
3312
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3257
3313
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3258
3314
as_fn_error $? "cannot compute suffix of object files: cannot compile
3259
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3315
See \`config.log' for more details" "$LINENO" 5; }
3260
3316
fi
3261
3317
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3262
3318
fi
3266
3322
ac_objext=$OBJEXT
3267
3323
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3268
3324
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3269
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3325
if ${ac_cv_c_compiler_gnu+:} false; then :
3270
3326
  $as_echo_n "(cached) " >&6
3271
3327
else
3272
3328
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3303
3359
ac_save_CFLAGS=$CFLAGS
3304
3360
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3305
3361
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3306
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3362
if ${ac_cv_prog_cc_g+:} false; then :
3307
3363
  $as_echo_n "(cached) " >&6
3308
3364
else
3309
3365
  ac_save_c_werror_flag=$ac_c_werror_flag
3381
3437
fi
3382
3438
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3383
3439
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3384
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3440
if ${ac_cv_prog_cc_c89+:} false; then :
3385
3441
  $as_echo_n "(cached) " >&6
3386
3442
else
3387
3443
  ac_cv_prog_cc_c89=no
3390
3446
/* end confdefs.h.  */
3391
3447
#include <stdarg.h>
3392
3448
#include <stdio.h>
3393
 
#include <sys/types.h>
3394
 
#include <sys/stat.h>
 
3449
struct stat;
3395
3450
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3396
3451
struct buf { int x; };
3397
3452
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3510
3565
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3511
3566
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3512
3567
$as_echo_n "checking for $ac_word... " >&6; }
3513
 
if test "${ac_cv_prog_CXX+set}" = set; then :
 
3568
if ${ac_cv_prog_CXX+:} false; then :
3514
3569
  $as_echo_n "(cached) " >&6
3515
3570
else
3516
3571
  if test -n "$CXX"; then
3522
3577
  IFS=$as_save_IFS
3523
3578
  test -z "$as_dir" && as_dir=.
3524
3579
    for ac_exec_ext in '' $ac_executable_extensions; do
3525
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3580
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3526
3581
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3527
3582
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3528
3583
    break 2
3554
3609
set dummy $ac_prog; ac_word=$2
3555
3610
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3556
3611
$as_echo_n "checking for $ac_word... " >&6; }
3557
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
3612
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3558
3613
  $as_echo_n "(cached) " >&6
3559
3614
else
3560
3615
  if test -n "$ac_ct_CXX"; then
3566
3621
  IFS=$as_save_IFS
3567
3622
  test -z "$as_dir" && as_dir=.
3568
3623
    for ac_exec_ext in '' $ac_executable_extensions; do
3569
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3624
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3570
3625
    ac_cv_prog_ac_ct_CXX="$ac_prog"
3571
3626
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3572
3627
    break 2
3632
3687
 
3633
3688
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3634
3689
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3635
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
3690
if ${ac_cv_cxx_compiler_gnu+:} false; then :
3636
3691
  $as_echo_n "(cached) " >&6
3637
3692
else
3638
3693
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3669
3724
ac_save_CXXFLAGS=$CXXFLAGS
3670
3725
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3671
3726
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3672
 
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
3727
if ${ac_cv_prog_cxx_g+:} false; then :
3673
3728
  $as_echo_n "(cached) " >&6
3674
3729
else
3675
3730
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3771
3826
}
3772
3827
_ACEOF
3773
3828
if ac_fn_cxx_try_compile "$LINENO"; then :
3774
 
  CXX_TESTS='cxx-test$(EXEEXT)'
 
3829
  IF_CXX=''
3775
3830
else
3776
 
  CXX_TESTS=''
 
3831
  IF_CXX='#'
3777
3832
fi
3778
3833
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3779
3834
 
3788
3843
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3789
3844
set x ${MAKE-make}
3790
3845
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3791
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 
3846
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3792
3847
  $as_echo_n "(cached) " >&6
3793
3848
else
3794
3849
  cat >conftest.make <<\_ACEOF
3820
3875
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3821
3876
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3822
3877
$as_echo_n "checking for $ac_word... " >&6; }
3823
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
3878
if ${ac_cv_prog_RANLIB+:} false; then :
3824
3879
  $as_echo_n "(cached) " >&6
3825
3880
else
3826
3881
  if test -n "$RANLIB"; then
3832
3887
  IFS=$as_save_IFS
3833
3888
  test -z "$as_dir" && as_dir=.
3834
3889
    for ac_exec_ext in '' $ac_executable_extensions; do
3835
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3890
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3836
3891
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3837
3892
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3838
3893
    break 2
3860
3915
set dummy ranlib; ac_word=$2
3861
3916
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3862
3917
$as_echo_n "checking for $ac_word... " >&6; }
3863
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
3918
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3864
3919
  $as_echo_n "(cached) " >&6
3865
3920
else
3866
3921
  if test -n "$ac_ct_RANLIB"; then
3872
3927
  IFS=$as_save_IFS
3873
3928
  test -z "$as_dir" && as_dir=.
3874
3929
    for ac_exec_ext in '' $ac_executable_extensions; do
3875
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3930
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3876
3931
    ac_cv_prog_ac_ct_RANLIB="ranlib"
3877
3932
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3878
3933
    break 2
3912
3967
set dummy ${ac_tool_prefix}nm; ac_word=$2
3913
3968
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3914
3969
$as_echo_n "checking for $ac_word... " >&6; }
3915
 
if test "${ac_cv_prog_NM+set}" = set; then :
 
3970
if ${ac_cv_prog_NM+:} false; then :
3916
3971
  $as_echo_n "(cached) " >&6
3917
3972
else
3918
3973
  if test -n "$NM"; then
3924
3979
  IFS=$as_save_IFS
3925
3980
  test -z "$as_dir" && as_dir=.
3926
3981
    for ac_exec_ext in '' $ac_executable_extensions; do
3927
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3982
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3928
3983
    ac_cv_prog_NM="${ac_tool_prefix}nm"
3929
3984
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3930
3985
    break 2
3952
4007
set dummy nm; ac_word=$2
3953
4008
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3954
4009
$as_echo_n "checking for $ac_word... " >&6; }
3955
 
if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
 
4010
if ${ac_cv_prog_ac_ct_NM+:} false; then :
3956
4011
  $as_echo_n "(cached) " >&6
3957
4012
else
3958
4013
  if test -n "$ac_ct_NM"; then
3964
4019
  IFS=$as_save_IFS
3965
4020
  test -z "$as_dir" && as_dir=.
3966
4021
    for ac_exec_ext in '' $ac_executable_extensions; do
3967
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4022
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3968
4023
    ac_cv_prog_ac_ct_NM="nm"
3969
4024
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3970
4025
    break 2
4005
4060
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4006
4061
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4007
4062
$as_echo_n "checking for $ac_word... " >&6; }
4008
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
4063
if ${ac_cv_prog_OBJDUMP+:} false; then :
4009
4064
  $as_echo_n "(cached) " >&6
4010
4065
else
4011
4066
  if test -n "$OBJDUMP"; then
4017
4072
  IFS=$as_save_IFS
4018
4073
  test -z "$as_dir" && as_dir=.
4019
4074
    for ac_exec_ext in '' $ac_executable_extensions; do
4020
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4075
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4021
4076
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4022
4077
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4023
4078
    break 2
4045
4100
set dummy objdump; ac_word=$2
4046
4101
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4047
4102
$as_echo_n "checking for $ac_word... " >&6; }
4048
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
4103
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4049
4104
  $as_echo_n "(cached) " >&6
4050
4105
else
4051
4106
  if test -n "$ac_ct_OBJDUMP"; then
4057
4112
  IFS=$as_save_IFS
4058
4113
  test -z "$as_dir" && as_dir=.
4059
4114
    for ac_exec_ext in '' $ac_executable_extensions; do
4060
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4115
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4061
4116
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4062
4117
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4063
4118
    break 2
4092
4147
  OBJDUMP="$ac_cv_prog_OBJDUMP"
4093
4148
fi
4094
4149
 
 
4150
if test -n "$ac_tool_prefix"; then
 
4151
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
4152
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
4153
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4154
$as_echo_n "checking for $ac_word... " >&6; }
 
4155
if ${ac_cv_prog_AR+:} false; then :
 
4156
  $as_echo_n "(cached) " >&6
 
4157
else
 
4158
  if test -n "$AR"; then
 
4159
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
4160
else
 
4161
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4162
for as_dir in $PATH
 
4163
do
 
4164
  IFS=$as_save_IFS
 
4165
  test -z "$as_dir" && as_dir=.
 
4166
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4167
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4168
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
4169
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4170
    break 2
 
4171
  fi
 
4172
done
 
4173
  done
 
4174
IFS=$as_save_IFS
 
4175
 
 
4176
fi
 
4177
fi
 
4178
AR=$ac_cv_prog_AR
 
4179
if test -n "$AR"; then
 
4180
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
4181
$as_echo "$AR" >&6; }
 
4182
else
 
4183
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4184
$as_echo "no" >&6; }
 
4185
fi
 
4186
 
 
4187
 
 
4188
fi
 
4189
if test -z "$ac_cv_prog_AR"; then
 
4190
  ac_ct_AR=$AR
 
4191
  # Extract the first word of "ar", so it can be a program name with args.
 
4192
set dummy ar; ac_word=$2
 
4193
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4194
$as_echo_n "checking for $ac_word... " >&6; }
 
4195
if ${ac_cv_prog_ac_ct_AR+:} false; then :
 
4196
  $as_echo_n "(cached) " >&6
 
4197
else
 
4198
  if test -n "$ac_ct_AR"; then
 
4199
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
4200
else
 
4201
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4202
for as_dir in $PATH
 
4203
do
 
4204
  IFS=$as_save_IFS
 
4205
  test -z "$as_dir" && as_dir=.
 
4206
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4207
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4208
    ac_cv_prog_ac_ct_AR="ar"
 
4209
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4210
    break 2
 
4211
  fi
 
4212
done
 
4213
  done
 
4214
IFS=$as_save_IFS
 
4215
 
 
4216
fi
 
4217
fi
 
4218
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
4219
if test -n "$ac_ct_AR"; then
 
4220
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
4221
$as_echo "$ac_ct_AR" >&6; }
 
4222
else
 
4223
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4224
$as_echo "no" >&6; }
 
4225
fi
 
4226
 
 
4227
  if test "x$ac_ct_AR" = x; then
 
4228
    AR="false"
 
4229
  else
 
4230
    case $cross_compiling:$ac_tool_warned in
 
4231
yes:)
 
4232
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4233
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4234
ac_tool_warned=yes ;;
 
4235
esac
 
4236
    AR=$ac_ct_AR
 
4237
  fi
 
4238
else
 
4239
  AR="$ac_cv_prog_AR"
 
4240
fi
 
4241
 
4095
4242
 
4096
4243
if test "x$ac_cv_prog_cc_stdc" = xno ; then
4097
 
  as_fn_error $? "the C compiler doesn't handle ANSI-C" "$LINENO" 5  #'
 
4244
  as_fn_error $? "the C compiler doesn't handle ANSI-C" "$LINENO" 5 #'
4098
4245
fi
4099
4246
 
4100
4247
# Find a good install program.  We prefer a C program (faster),
4114
4261
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4115
4262
$as_echo_n "checking for a BSD-compatible install... " >&6; }
4116
4263
if test -z "$INSTALL"; then
4117
 
if test "${ac_cv_path_install+set}" = set; then :
 
4264
if ${ac_cv_path_install+:} false; then :
4118
4265
  $as_echo_n "(cached) " >&6
4119
4266
else
4120
4267
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4134
4281
    # by default.
4135
4282
    for ac_prog in ginstall scoinst install; do
4136
4283
      for ac_exec_ext in '' $ac_executable_extensions; do
4137
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
4284
        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4138
4285
          if test $ac_prog = install &&
4139
4286
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4140
4287
            # AIX install.  It has an incompatible calling convention.
4196
4343
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4197
4344
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4198
4345
if test -z "$MKDIR_P"; then
4199
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
4346
  if ${ac_cv_path_mkdir+:} false; then :
4200
4347
  $as_echo_n "(cached) " >&6
4201
4348
else
4202
4349
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4206
4353
  test -z "$as_dir" && as_dir=.
4207
4354
    for ac_prog in mkdir gmkdir; do
4208
4355
         for ac_exec_ext in '' $ac_executable_extensions; do
4209
 
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
4356
           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
4210
4357
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4211
4358
             'mkdir (GNU coreutils) '* | \
4212
4359
             'mkdir (coreutils) '* | \
4445
4592
    found=no
4446
4593
    for tmp_f in aes-encrypt-internal.asm aes-decrypt-internal.asm \
4447
4594
                 arcfour-crypt.asm camellia-crypt-internal.asm \
4448
 
                 md5-compress.asm memxor.asm salsa20-crypt.asm \
 
4595
                 md5-compress.asm memxor.asm \
 
4596
                 salsa20-crypt.asm salsa20-core-internal.asm \
4449
4597
                 serpent-encrypt.asm serpent-decrypt.asm \
4450
4598
                 sha1-compress.asm machine.m4; do
4451
4599
#       echo "Looking for $srcdir/$asm_path/$tmp_f"
4466
4614
 
4467
4615
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking CCPIC" >&5
4468
4616
$as_echo_n "checking CCPIC... " >&6; }
4469
 
if test "${lsh_cv_sys_ccpic+set}" = set; then :
 
4617
if ${lsh_cv_sys_ccpic+:} false; then :
4470
4618
  $as_echo_n "(cached) " >&6
4471
4619
else
4472
4620
 
4563
4711
    LIBNETTLE_SONAME=''
4564
4712
    LIBNETTLE_FILE='libnettle.dll.a'
4565
4713
    LIBNETTLE_FILE_SRC='$(LIBNETTLE_FILE)'
4566
 
    LIBNETTLE_LINK='$(CC) $(LDFLAGS) -shared -Wl,--out-implib=$(LIBNETTLE_FILE) -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--whole-archive'
 
4714
    LIBNETTLE_LINK='$(CC) $(CFLAGS) $(LDFLAGS) -shared -Wl,--out-implib=$(LIBNETTLE_FILE) -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--whole-archive'
4567
4715
    LIBNETTLE_LIBS='-Wl,--no-whole-archive $(LIBS)'
4568
4716
 
4569
4717
    LIBHOGWEED_SONAME=''
4570
4718
    LIBHOGWEED_FILE='libhogweed.dll.a'
4571
4719
    LIBHOGWEED_FILE_SRC='$(LIBHOGWEED_FILE)'
4572
 
    LIBHOGWEED_LINK='$(CC) $(LDFLAGS) -shared -Wl,--out-implib=$(LIBHOGWEED_FILE) -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--whole-archive'
 
4720
    LIBHOGWEED_LINK='$(CC) $(CFLAGS) $(LDFLAGS) -shared -Wl,--out-implib=$(LIBHOGWEED_FILE) -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--whole-archive'
4573
4721
    LIBHOGWEED_LIBS='-Wl,--no-whole-archive $(LIBS) libnettle.dll.a'
4574
4722
    IF_DLL=''
4575
4723
    ;;
4577
4725
    LIBNETTLE_FORLINK=libnettle.dylib
4578
4726
    LIBNETTLE_SONAME='libnettle.$(LIBNETTLE_MAJOR).dylib'
4579
4727
    LIBNETTLE_FILE='libnettle.$(LIBNETTLE_MAJOR).$(LIBNETTLE_MINOR).dylib'
4580
 
    LIBNETTLE_LINK='$(CC) -dynamiclib $(LDFLAGS) -install_name ${libdir}/$(LIBNETTLE_SONAME) -compatibility_version $(LIBNETTLE_MAJOR) -current_version $(LIBNETTLE_MAJOR).$(LIBNETTLE_MINOR)'
 
4728
    LIBNETTLE_LINK='$(CC) $(CFLAGS) -dynamiclib $(LDFLAGS) -install_name ${libdir}/$(LIBNETTLE_SONAME) -compatibility_version $(LIBNETTLE_MAJOR) -current_version $(LIBNETTLE_MAJOR).$(LIBNETTLE_MINOR)'
4581
4729
    LIBNETTLE_LIBS=''
4582
4730
 
4583
4731
    LIBHOGWEED_FORLINK=libhogweed.dylib
4584
4732
    LIBHOGWEED_SONAME='libhogweed.$(LIBHOGWEED_MAJOR).dylib'
4585
4733
    LIBHOGWEED_FILE='libhogweed.$(LIBHOGWEED_MAJOR).$(LIBHOGWEED_MINOR).dylib'
4586
 
    LIBHOGWEED_LINK='$(CC) -dynamiclib -L. $(LDFLAGS) -install_name ${libdir}/$(LIBHOGWEED_SONAME) -compatibility_version $(LIBHOGWEED_MAJOR) -current_version $(LIBHOGWEED_MAJOR).$(LIBHOGWEED_MINOR)'
 
4734
    LIBHOGWEED_LINK='$(CC) $(CFLAGS) -dynamiclib -L. $(LDFLAGS) -install_name ${libdir}/$(LIBHOGWEED_SONAME) -compatibility_version $(LIBHOGWEED_MAJOR) -current_version $(LIBHOGWEED_MAJOR).$(LIBHOGWEED_MINOR)'
4587
4735
    LIBHOGWEED_LIBS='-lnettle -lgmp'
4588
4736
    ;;
4589
4737
  solaris*)
4593
4741
    LIBNETTLE_FORLINK=libnettle.so
4594
4742
    LIBNETTLE_SONAME='$(LIBNETTLE_FORLINK).$(LIBNETTLE_MAJOR)'
4595
4743
    LIBNETTLE_FILE='$(LIBNETTLE_SONAME).$(LIBNETTLE_MINOR)'
4596
 
    LIBNETTLE_LINK='$(CC) $(LDFLAGS) -G -h $(LIBNETTLE_SONAME)'
 
4744
    LIBNETTLE_LINK='$(CC) $(CFLAGS) $(LDFLAGS) -G -h $(LIBNETTLE_SONAME)'
4597
4745
    LIBNETTLE_LIBS=''
4598
4746
 
4599
4747
    LIBHOGWEED_FORLINK=libhogweed.so
4600
4748
    LIBHOGWEED_SONAME='$(LIBHOGWEED_FORLINK).$(LIBHOGWEED_MAJOR)'
4601
4749
    LIBHOGWEED_FILE='$(LIBHOGWEED_SONAME).$(LIBHOGWEED_MINOR)'
4602
 
    LIBHOGWEED_LINK='$(CC) $(LDFLAGS) -L. -G -h $(LIBHOGWEED_SONAME)'
 
4750
    LIBHOGWEED_LINK='$(CC) $(CFLAGS) $(LDFLAGS) -L. -G -h $(LIBHOGWEED_SONAME)'
4603
4751
    LIBHOGWEED_LIBS='-lnettle -lgmp'
4604
4752
    ;;
4605
4753
  *)
4606
4754
    LIBNETTLE_FORLINK=libnettle.so
4607
4755
    LIBNETTLE_SONAME='$(LIBNETTLE_FORLINK).$(LIBNETTLE_MAJOR)'
4608
4756
    LIBNETTLE_FILE='$(LIBNETTLE_SONAME).$(LIBNETTLE_MINOR)'
4609
 
    LIBNETTLE_LINK='$(CC) $(LDFLAGS) -shared -Wl,-soname=$(LIBNETTLE_SONAME)'
 
4757
    LIBNETTLE_LINK='$(CC) $(CFLAGS) $(LDFLAGS) -shared -Wl,-soname=$(LIBNETTLE_SONAME)'
4610
4758
    LIBNETTLE_LIBS=''
4611
4759
 
4612
4760
    LIBHOGWEED_FORLINK=libhogweed.so
4613
4761
    LIBHOGWEED_SONAME='$(LIBHOGWEED_FORLINK).$(LIBHOGWEED_MAJOR)'
4614
4762
    LIBHOGWEED_FILE='$(LIBHOGWEED_SONAME).$(LIBHOGWEED_MINOR)'
4615
 
    LIBHOGWEED_LINK='$(CC) $(LDFLAGS) -L. -shared -Wl,-soname=$(LIBHOGWEED_SONAME)'
 
4763
    LIBHOGWEED_LINK='$(CC) $(CFLAGS) $(LDFLAGS) -L. -shared -Wl,-soname=$(LIBHOGWEED_SONAME)'
4616
4764
    # Requested by debian, to make linking with only -lhogweed work
4617
4765
    # (does not work in general, e.g., with static linking all of
4618
4766
    # -lhogweed -lgmp -lnettle are still required). Also makes dlopen
4638
4786
if test x$enable_assembler = xyes ; then
4639
4787
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if globals are prefixed by underscore" >&5
4640
4788
$as_echo_n "checking if globals are prefixed by underscore... " >&6; }
4641
 
if test "${nettle_cv_asm_underscore+set}" = set; then :
 
4789
if ${nettle_cv_asm_underscore+:} false; then :
4642
4790
  $as_echo_n "(cached) " >&6
4643
4791
else
4644
4792
   # Default is no underscore
4671
4819
 
4672
4820
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should use a .note.GNU-stack section" >&5
4673
4821
$as_echo_n "checking if we should use a .note.GNU-stack section... " >&6; }
4674
 
if test "${nettle_cv_asm_gnu_stack+set}" = set; then :
 
4822
if ${nettle_cv_asm_gnu_stack+:} false; then :
4675
4823
  $as_echo_n "(cached) " >&6
4676
4824
else
4677
4825
   # Default
4704
4852
 
4705
4853
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF-style .type,%function pseudo-ops" >&5
4706
4854
$as_echo_n "checking for ELF-style .type,%function pseudo-ops... " >&6; }
4707
 
if test "${nettle_cv_asm_type_percent_function+set}" = set; then :
 
4855
if ${nettle_cv_asm_type_percent_function+:} false; then :
4708
4856
  $as_echo_n "(cached) " >&6
4709
4857
else
4710
4858
  cat >conftest.s <<EOF
4740
4888
 
4741
4889
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF-style .type,#function pseudo-ops" >&5
4742
4890
$as_echo_n "checking for ELF-style .type,#function pseudo-ops... " >&6; }
4743
 
if test "${nettle_cv_asm_type_hash_function+set}" = set; then :
 
4891
if ${nettle_cv_asm_type_hash_function+:} false; then :
4744
4892
  $as_echo_n "(cached) " >&6
4745
4893
else
4746
4894
  cat >conftest.s <<EOF
4785
4933
  fi
4786
4934
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if .align assembly directive is logarithmic" >&5
4787
4935
$as_echo_n "checking if .align assembly directive is logarithmic... " >&6; }
4788
 
if test "${nettle_cv_asm_align_log+set}" = set; then :
 
4936
if ${nettle_cv_asm_align_log+:} false; then :
4789
4937
  $as_echo_n "(cached) " >&6
4790
4938
else
4791
4939
  cat >conftest.s <<EOF
4849
4997
set dummy m4; ac_word=$2
4850
4998
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4851
4999
$as_echo_n "checking for $ac_word... " >&6; }
4852
 
if test "${ac_cv_path_M4+set}" = set; then :
 
5000
if ${ac_cv_path_M4+:} false; then :
4853
5001
  $as_echo_n "(cached) " >&6
4854
5002
else
4855
5003
  case $M4 in
4863
5011
  IFS=$as_save_IFS
4864
5012
  test -z "$as_dir" && as_dir=.
4865
5013
    for ac_exec_ext in '' $ac_executable_extensions; do
4866
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5014
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4867
5015
    ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
4868
5016
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4869
5017
    break 2
4894
5042
# Checks for typedefs, structures, and compiler characteristics.
4895
5043
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4896
5044
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4897
 
if test "${ac_cv_c_const+set}" = set; then :
 
5045
if ${ac_cv_c_const+:} false; then :
4898
5046
  $as_echo_n "(cached) " >&6
4899
5047
else
4900
5048
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4903
5051
int
4904
5052
main ()
4905
5053
{
4906
 
/* FIXME: Include the comments suggested by Paul. */
 
5054
 
4907
5055
#ifndef __cplusplus
4908
 
  /* Ultrix mips cc rejects this.  */
 
5056
  /* Ultrix mips cc rejects this sort of thing.  */
4909
5057
  typedef int charset[2];
4910
 
  const charset cs;
 
5058
  const charset cs = { 0, 0 };
4911
5059
  /* SunOS 4.1.1 cc rejects this.  */
4912
5060
  char const *const *pcpcc;
4913
5061
  char **ppc;
4924
5072
  ++pcpcc;
4925
5073
  ppc = (char**) pcpcc;
4926
5074
  pcpcc = (char const *const *) ppc;
4927
 
  { /* SCO 3.2v4 cc rejects this.  */
4928
 
    char *t;
 
5075
  { /* SCO 3.2v4 cc rejects this sort of thing.  */
 
5076
    char tx;
 
5077
    char *t = &tx;
4929
5078
    char const *s = 0 ? (char *) 0 : (char const *) 0;
4930
5079
 
4931
5080
    *t++ = 0;
4941
5090
    iptr p = 0;
4942
5091
    ++p;
4943
5092
  }
4944
 
  { /* AIX XL C 1.02.0.0 rejects this saying
 
5093
  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
4945
5094
       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4946
 
    struct s { int j; const int *ap[3]; };
4947
 
    struct s *b; b->j = 5;
 
5095
    struct s { int j; const int *ap[3]; } bx;
 
5096
    struct s *b = &bx; b->j = 5;
4948
5097
  }
4949
5098
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4950
5099
    const int foo = 10;
4974
5123
 
4975
5124
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4976
5125
$as_echo_n "checking for inline... " >&6; }
4977
 
if test "${ac_cv_c_inline+set}" = set; then :
 
5126
if ${ac_cv_c_inline+:} false; then :
4978
5127
  $as_echo_n "(cached) " >&6
4979
5128
else
4980
5129
  ac_cv_c_inline=no
5026
5175
  CPP=
5027
5176
fi
5028
5177
if test -z "$CPP"; then
5029
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
5178
  if ${ac_cv_prog_CPP+:} false; then :
5030
5179
  $as_echo_n "(cached) " >&6
5031
5180
else
5032
5181
      # Double quotes because CPP needs to be expanded
5142
5291
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5143
5292
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5144
5293
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5145
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
5294
See \`config.log' for more details" "$LINENO" 5; }
5146
5295
fi
5147
5296
 
5148
5297
ac_ext=c
5154
5303
 
5155
5304
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5156
5305
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5157
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
5306
if ${ac_cv_path_GREP+:} false; then :
5158
5307
  $as_echo_n "(cached) " >&6
5159
5308
else
5160
5309
  if test -z "$GREP"; then
5168
5317
    for ac_prog in grep ggrep; do
5169
5318
    for ac_exec_ext in '' $ac_executable_extensions; do
5170
5319
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5171
 
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
5320
      as_fn_executable_p "$ac_path_GREP" || continue
5172
5321
# Check for GNU ac_path_GREP and select it if it is found.
5173
5322
  # Check for GNU $ac_path_GREP
5174
5323
case `"$ac_path_GREP" --version 2>&1` in
5217
5366
 
5218
5367
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5219
5368
$as_echo_n "checking for egrep... " >&6; }
5220
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
5369
if ${ac_cv_path_EGREP+:} false; then :
5221
5370
  $as_echo_n "(cached) " >&6
5222
5371
else
5223
5372
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5234
5383
    for ac_prog in egrep; do
5235
5384
    for ac_exec_ext in '' $ac_executable_extensions; do
5236
5385
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5237
 
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
5386
      as_fn_executable_p "$ac_path_EGREP" || continue
5238
5387
# Check for GNU ac_path_EGREP and select it if it is found.
5239
5388
  # Check for GNU $ac_path_EGREP
5240
5389
case `"$ac_path_EGREP" --version 2>&1` in
5284
5433
 
5285
5434
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
5286
5435
$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
5287
 
if test "${ac_cv_type_uid_t+set}" = set; then :
 
5436
if ${ac_cv_type_uid_t+:} false; then :
5288
5437
  $as_echo_n "(cached) " >&6
5289
5438
else
5290
5439
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5314
5463
 
5315
5464
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5316
5465
$as_echo_n "checking for ANSI C header files... " >&6; }
5317
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
5466
if ${ac_cv_header_stdc+:} false; then :
5318
5467
  $as_echo_n "(cached) " >&6
5319
5468
else
5320
5469
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5442
5591
 
5443
5592
 
5444
5593
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5445
 
if test "x$ac_cv_type_size_t" = x""yes; then :
 
5594
if test "x$ac_cv_type_size_t" = xyes; then :
5446
5595
 
5447
5596
else
5448
5597
 
5454
5603
 
5455
5604
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
5456
5605
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
5457
 
if test "${ac_cv_header_time+set}" = set; then :
 
5606
if ${ac_cv_header_time+:} false; then :
5458
5607
  $as_echo_n "(cached) " >&6
5459
5608
else
5460
5609
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5493
5642
# This bug is HP SR number 8606223364.
5494
5643
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
5495
5644
$as_echo_n "checking size of long... " >&6; }
5496
 
if test "${ac_cv_sizeof_long+set}" = set; then :
 
5645
if ${ac_cv_sizeof_long+:} false; then :
5497
5646
  $as_echo_n "(cached) " >&6
5498
5647
else
5499
5648
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
5503
5652
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5504
5653
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5505
5654
as_fn_error 77 "cannot compute sizeof (long)
5506
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
5655
See \`config.log' for more details" "$LINENO" 5; }
5507
5656
   else
5508
5657
     ac_cv_sizeof_long=0
5509
5658
   fi
5524
5673
# see AC_CHECK_SIZEOF for more information.
5525
5674
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of uint64_t" >&5
5526
5675
$as_echo_n "checking alignment of uint64_t... " >&6; }
5527
 
if test "${ac_cv_alignof_uint64_t+set}" = set; then :
 
5676
if ${ac_cv_alignof_uint64_t+:} false; then :
5528
5677
  $as_echo_n "(cached) " >&6
5529
5678
else
5530
5679
  if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_uint64_t"        "$ac_includes_default
5538
5687
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5539
5688
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5540
5689
as_fn_error 77 "cannot compute alignment of uint64_t
5541
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
5690
See \`config.log' for more details" "$LINENO" 5; }
5542
5691
   else
5543
5692
     ac_cv_alignof_uint64_t=0
5544
5693
   fi
5580
5729
# for constant arguments.  Useless!
5581
5730
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
5582
5731
$as_echo_n "checking for working alloca.h... " >&6; }
5583
 
if test "${ac_cv_working_alloca_h+set}" = set; then :
 
5732
if ${ac_cv_working_alloca_h+:} false; then :
5584
5733
  $as_echo_n "(cached) " >&6
5585
5734
else
5586
5735
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5613
5762
 
5614
5763
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
5615
5764
$as_echo_n "checking for alloca... " >&6; }
5616
 
if test "${ac_cv_func_alloca_works+set}" = set; then :
 
5765
if ${ac_cv_func_alloca_works+:} false; then :
5617
5766
  $as_echo_n "(cached) " >&6
5618
5767
else
5619
5768
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5632
5781
 #pragma alloca
5633
5782
#   else
5634
5783
#    ifndef alloca /* predefined by HP cc +Olibcalls */
5635
 
char *alloca ();
 
5784
void *alloca (size_t);
5636
5785
#    endif
5637
5786
#   endif
5638
5787
#  endif
5676
5825
 
5677
5826
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
5678
5827
$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
5679
 
if test "${ac_cv_os_cray+set}" = set; then :
 
5828
if ${ac_cv_os_cray+:} false; then :
5680
5829
  $as_echo_n "(cached) " >&6
5681
5830
else
5682
5831
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5717
5866
 
5718
5867
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
5719
5868
$as_echo_n "checking stack direction for C alloca... " >&6; }
5720
 
if test "${ac_cv_c_stack_direction+set}" = set; then :
 
5869
if ${ac_cv_c_stack_direction+:} false; then :
5721
5870
  $as_echo_n "(cached) " >&6
5722
5871
else
5723
5872
  if test "$cross_compiling" = yes; then :
5727
5876
/* end confdefs.h.  */
5728
5877
$ac_includes_default
5729
5878
int
5730
 
find_stack_direction ()
 
5879
find_stack_direction (int *addr, int depth)
5731
5880
{
5732
 
  static char *addr = 0;
5733
 
  auto char dummy;
5734
 
  if (addr == 0)
5735
 
    {
5736
 
      addr = &dummy;
5737
 
      return find_stack_direction ();
5738
 
    }
5739
 
  else
5740
 
    return (&dummy > addr) ? 1 : -1;
 
5881
  int dir, dummy = 0;
 
5882
  if (! addr)
 
5883
    addr = &dummy;
 
5884
  *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
 
5885
  dir = depth ? find_stack_direction (addr, depth - 1) : 0;
 
5886
  return dir + dummy;
5741
5887
}
5742
5888
 
5743
5889
int
5744
 
main ()
 
5890
main (int argc, char **argv)
5745
5891
{
5746
 
  return find_stack_direction () < 0;
 
5892
  return find_stack_direction (0, argc + !argv + 20) < 0;
5747
5893
}
5748
5894
_ACEOF
5749
5895
if ac_fn_c_try_run "$LINENO"; then :
5768
5914
for ac_header in malloc.h
5769
5915
do :
5770
5916
  ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
5771
 
if test "x$ac_cv_header_malloc_h" = x""yes; then :
 
5917
if test "x$ac_cv_header_malloc_h" = xyes; then :
5772
5918
  cat >>confdefs.h <<_ACEOF
5773
5919
#define HAVE_MALLOC_H 1
5774
5920
_ACEOF
5781
5927
for ac_func in strerror
5782
5928
do :
5783
5929
  ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror"
5784
 
if test "x$ac_cv_func_strerror" = x""yes; then :
 
5930
if test "x$ac_cv_func_strerror" = xyes; then :
5785
5931
  cat >>confdefs.h <<_ACEOF
5786
5932
#define HAVE_STRERROR 1
5787
5933
_ACEOF
5794
5940
# Needed by the supplied memcmp.c
5795
5941
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5796
5942
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5797
 
if test "${ac_cv_c_bigendian+set}" = set; then :
 
5943
if ${ac_cv_c_bigendian+:} false; then :
5798
5944
  $as_echo_n "(cached) " >&6
5799
5945
else
5800
5946
  ac_cv_c_bigendian=unknown
6013
6159
     ;; #(
6014
6160
   *)
6015
6161
     as_fn_error $? "unknown endianness
6016
 
 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5  ;;
 
6162
 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
6017
6163
 esac
6018
6164
 
6019
6165
ac_fn_c_check_func "$LINENO" "memxor" "ac_cv_func_memxor"
6020
 
if test "x$ac_cv_func_memxor" = x""yes; then :
 
6166
if test "x$ac_cv_func_memxor" = xyes; then :
6021
6167
  $as_echo "#define HAVE_MEMXOR 1" >>confdefs.h
6022
6168
 
6023
6169
else
6033
6179
 
6034
6180
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
6035
6181
$as_echo_n "checking for __attribute__... " >&6; }
6036
 
if test "${lsh_cv_c_attribute+set}" = set; then :
 
6182
if ${lsh_cv_c_attribute+:} false; then :
6037
6183
  $as_echo_n "(cached) " >&6
6038
6184
else
6039
6185
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6083
6229
ac_stdint_h=`echo nettle-stdint.h`
6084
6230
# try to shortcircuit - if the default include path of the compiler
6085
6231
# can find a "stdint.h" header then we assume that all compilers can.
6086
 
if test "${ac_cv_header_stdint_t+set}" = set; then :
 
6232
if ${ac_cv_header_stdint_t+:} false; then :
6087
6233
  $as_echo_n "(cached) " >&6
6088
6234
else
6089
6235
 
6138
6284
ac_cv_stdint_result="(no helpful system typedefs seen)"
6139
6285
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
6140
6286
$as_echo_n "checking for stdint uintptr_t... " >&6; }
6141
 
if test "${ac_cv_header_stdint_x+set}" = set; then :
 
6287
if ${ac_cv_header_stdint_x+:} false; then :
6142
6288
  $as_echo_n "(cached) " >&6
6143
6289
else
6144
6290
 
6150
6296
   unset ac_cv_type_uint64_t
6151
6297
   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
6152
6298
"
6153
 
if test "x$ac_cv_type_uintptr_t" = x""yes; then :
 
6299
if test "x$ac_cv_type_uintptr_t" = xyes; then :
6154
6300
  ac_cv_header_stdint_x=$i
6155
6301
else
6156
6302
       continue
6158
6304
 
6159
6305
   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
6160
6306
"
6161
 
if test "x$ac_cv_type_uint64_t" = x""yes; then :
 
6307
if test "x$ac_cv_type_uint64_t" = xyes; then :
6162
6308
  and64="/uint64_t"
6163
6309
else
6164
6310
  and64=""
6177
6323
if test "_$ac_cv_header_stdint_x" = "_" ; then
6178
6324
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
6179
6325
$as_echo_n "checking for stdint uint32_t... " >&6; }
6180
 
if test "${ac_cv_header_stdint_o+set}" = set; then :
 
6326
if ${ac_cv_header_stdint_o+:} false; then :
6181
6327
  $as_echo_n "(cached) " >&6
6182
6328
else
6183
6329
 
6189
6335
   unset ac_cv_type_uint64_t
6190
6336
   ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
6191
6337
"
6192
 
if test "x$ac_cv_type_uint32_t" = x""yes; then :
 
6338
if test "x$ac_cv_type_uint32_t" = xyes; then :
6193
6339
  ac_cv_header_stdint_o=$i
6194
6340
else
6195
6341
       continue
6197
6343
 
6198
6344
   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
6199
6345
"
6200
 
if test "x$ac_cv_type_uint64_t" = x""yes; then :
 
6346
if test "x$ac_cv_type_uint64_t" = xyes; then :
6201
6347
  and64="/uint64_t"
6202
6348
else
6203
6349
  and64=""
6218
6364
if test "_$ac_cv_header_stdint_o" = "_" ; then
6219
6365
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
6220
6366
$as_echo_n "checking for stdint u_int32_t... " >&6; }
6221
 
if test "${ac_cv_header_stdint_u+set}" = set; then :
 
6367
if ${ac_cv_header_stdint_u+:} false; then :
6222
6368
  $as_echo_n "(cached) " >&6
6223
6369
else
6224
6370
 
6230
6376
   unset ac_cv_type_u_int64_t
6231
6377
   ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
6232
6378
"
6233
 
if test "x$ac_cv_type_u_int32_t" = x""yes; then :
 
6379
if test "x$ac_cv_type_u_int32_t" = xyes; then :
6234
6380
  ac_cv_header_stdint_u=$i
6235
6381
else
6236
6382
       continue
6238
6384
 
6239
6385
   ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
6240
6386
"
6241
 
if test "x$ac_cv_type_u_int64_t" = x""yes; then :
 
6387
if test "x$ac_cv_type_u_int64_t" = xyes; then :
6242
6388
  and64="/u_int64_t"
6243
6389
else
6244
6390
  and64=""
6266
6412
# This bug is HP SR number 8606223364.
6267
6413
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
6268
6414
$as_echo_n "checking size of char... " >&6; }
6269
 
if test "${ac_cv_sizeof_char+set}" = set; then :
 
6415
if ${ac_cv_sizeof_char+:} false; then :
6270
6416
  $as_echo_n "(cached) " >&6
6271
6417
else
6272
6418
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
6276
6422
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6277
6423
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6278
6424
as_fn_error 77 "cannot compute sizeof (char)
6279
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
6425
See \`config.log' for more details" "$LINENO" 5; }
6280
6426
   else
6281
6427
     ac_cv_sizeof_char=0
6282
6428
   fi
6299
6445
# This bug is HP SR number 8606223364.
6300
6446
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
6301
6447
$as_echo_n "checking size of short... " >&6; }
6302
 
if test "${ac_cv_sizeof_short+set}" = set; then :
 
6448
if ${ac_cv_sizeof_short+:} false; then :
6303
6449
  $as_echo_n "(cached) " >&6
6304
6450
else
6305
6451
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
6309
6455
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6310
6456
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6311
6457
as_fn_error 77 "cannot compute sizeof (short)
6312
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
6458
See \`config.log' for more details" "$LINENO" 5; }
6313
6459
   else
6314
6460
     ac_cv_sizeof_short=0
6315
6461
   fi
6332
6478
# This bug is HP SR number 8606223364.
6333
6479
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
6334
6480
$as_echo_n "checking size of int... " >&6; }
6335
 
if test "${ac_cv_sizeof_int+set}" = set; then :
 
6481
if ${ac_cv_sizeof_int+:} false; then :
6336
6482
  $as_echo_n "(cached) " >&6
6337
6483
else
6338
6484
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
6342
6488
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6343
6489
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6344
6490
as_fn_error 77 "cannot compute sizeof (int)
6345
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
6491
See \`config.log' for more details" "$LINENO" 5; }
6346
6492
   else
6347
6493
     ac_cv_sizeof_int=0
6348
6494
   fi
6365
6511
# This bug is HP SR number 8606223364.
6366
6512
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
6367
6513
$as_echo_n "checking size of long... " >&6; }
6368
 
if test "${ac_cv_sizeof_long+set}" = set; then :
 
6514
if ${ac_cv_sizeof_long+:} false; then :
6369
6515
  $as_echo_n "(cached) " >&6
6370
6516
else
6371
6517
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
6375
6521
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6376
6522
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6377
6523
as_fn_error 77 "cannot compute sizeof (long)
6378
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
6524
See \`config.log' for more details" "$LINENO" 5; }
6379
6525
   else
6380
6526
     ac_cv_sizeof_long=0
6381
6527
   fi
6398
6544
# This bug is HP SR number 8606223364.
6399
6545
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
6400
6546
$as_echo_n "checking size of void*... " >&6; }
6401
 
if test "${ac_cv_sizeof_voidp+set}" = set; then :
 
6547
if ${ac_cv_sizeof_voidp+:} false; then :
6402
6548
  $as_echo_n "(cached) " >&6
6403
6549
else
6404
6550
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp"        "$ac_includes_default"; then :
6408
6554
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6409
6555
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6410
6556
as_fn_error 77 "cannot compute sizeof (void*)
6411
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
6557
See \`config.log' for more details" "$LINENO" 5; }
6412
6558
   else
6413
6559
     ac_cv_sizeof_voidp=0
6414
6560
   fi
6469
6615
unset ac_cv_type_int_fast32_t
6470
6616
ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
6471
6617
"
6472
 
if test "x$ac_cv_type_int_least32_t" = x""yes; then :
 
6618
if test "x$ac_cv_type_int_least32_t" = xyes; then :
6473
6619
 
6474
6620
fi
6475
6621
 
6476
6622
ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
6477
6623
"
6478
 
if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
 
6624
if test "x$ac_cv_type_int_fast32_t" = xyes; then :
6479
6625
 
6480
6626
fi
6481
6627
 
6482
6628
ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
6483
6629
"
6484
 
if test "x$ac_cv_type_intmax_t" = x""yes; then :
 
6630
if test "x$ac_cv_type_intmax_t" = xyes; then :
6485
6631
 
6486
6632
fi
6487
6633
 
6506
6652
# sys/types.h and unistd.h.
6507
6653
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fcntl file locking" >&5
6508
6654
$as_echo_n "checking for fcntl file locking... " >&6; }
6509
 
if test "${nettle_cv_fcntl_locking+set}" = set; then :
 
6655
if ${nettle_cv_fcntl_locking+:} false; then :
6510
6656
  $as_echo_n "(cached) " >&6
6511
6657
else
6512
6658
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6550
6696
# Checks for libraries
6551
6697
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_getlimbn in -lgmp" >&5
6552
6698
$as_echo_n "checking for __gmpz_getlimbn in -lgmp... " >&6; }
6553
 
if test "${ac_cv_lib_gmp___gmpz_getlimbn+set}" = set; then :
 
6699
if ${ac_cv_lib_gmp___gmpz_getlimbn+:} false; then :
6554
6700
  $as_echo_n "(cached) " >&6
6555
6701
else
6556
6702
  ac_check_lib_save_LIBS=$LIBS
6584
6730
fi
6585
6731
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmpz_getlimbn" >&5
6586
6732
$as_echo "$ac_cv_lib_gmp___gmpz_getlimbn" >&6; }
6587
 
if test "x$ac_cv_lib_gmp___gmpz_getlimbn" = x""yes; then :
 
6733
if test "x$ac_cv_lib_gmp___gmpz_getlimbn" = xyes; then :
6588
6734
  cat >>confdefs.h <<_ACEOF
6589
6735
#define HAVE_LIBGMP 1
6590
6736
_ACEOF
6664
6810
 
6665
6811
 
6666
6812
ac_fn_c_check_func "$LINENO" "__gmpz_powm_sec" "ac_cv_func___gmpz_powm_sec"
6667
 
if test "x$ac_cv_func___gmpz_powm_sec" = x""yes; then :
 
6813
if test "x$ac_cv_func___gmpz_powm_sec" = xyes; then :
6668
6814
  $as_echo "#define HAVE_MPZ_POWM_SEC 1" >>confdefs.h
6669
6815
 
6670
6816
fi
6680
6826
  IF_HOGWEED='#'
6681
6827
fi
6682
6828
 
 
6829
if test "x$enable_static" = xyes ; then
 
6830
  IF_STATIC=''
 
6831
else
 
6832
  IF_STATIC='#'
 
6833
fi
 
6834
 
6683
6835
if test "x$enable_shared" = xyes ; then
6684
6836
  IF_SHARED=''
6685
6837
else
6686
6838
  IF_SHARED='#'
6687
6839
fi
6688
6840
 
 
6841
# Documentation tools
 
6842
if test "x$enable_documentation" != "xno"; then
 
6843
  # Extract the first word of "makeinfo", so it can be a program name with args.
 
6844
set dummy makeinfo; ac_word=$2
 
6845
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6846
$as_echo_n "checking for $ac_word... " >&6; }
 
6847
if ${ac_cv_path_MAKEINFO+:} false; then :
 
6848
  $as_echo_n "(cached) " >&6
 
6849
else
 
6850
  case $MAKEINFO in
 
6851
  [\\/]* | ?:[\\/]*)
 
6852
  ac_cv_path_MAKEINFO="$MAKEINFO" # Let the user override the test with a path.
 
6853
  ;;
 
6854
  *)
 
6855
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6856
for as_dir in $PATH
 
6857
do
 
6858
  IFS=$as_save_IFS
 
6859
  test -z "$as_dir" && as_dir=.
 
6860
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6861
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6862
    ac_cv_path_MAKEINFO="$as_dir/$ac_word$ac_exec_ext"
 
6863
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6864
    break 2
 
6865
  fi
 
6866
done
 
6867
  done
 
6868
IFS=$as_save_IFS
 
6869
 
 
6870
  test -z "$ac_cv_path_MAKEINFO" && ac_cv_path_MAKEINFO="not-found"
 
6871
  ;;
 
6872
esac
 
6873
fi
 
6874
MAKEINFO=$ac_cv_path_MAKEINFO
 
6875
if test -n "$MAKEINFO"; then
 
6876
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
 
6877
$as_echo "$MAKEINFO" >&6; }
 
6878
else
 
6879
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6880
$as_echo "no" >&6; }
 
6881
fi
 
6882
 
 
6883
 
 
6884
 
 
6885
  if test "x$MAKEINFO" != "xnot-found"; then
 
6886
    enable_documentation=yes
 
6887
 
 
6888
  else
 
6889
    if test "x$enable_documentation" == "xauto" ; then
 
6890
      enable_documentation=no
 
6891
    else
 
6892
      as_fn_error $? "Cannot find 'makeinfo', required for documentation." "$LINENO" 5
 
6893
    fi
 
6894
  fi
 
6895
fi
 
6896
 
 
6897
if test "x$enable_documentation" = "xyes" ; then
 
6898
  IF_DOCUMENTATION=''
 
6899
else
 
6900
  IF_DOCUMENTATION='#'
 
6901
fi
 
6902
 
 
6903
 
 
6904
 
6689
6905
 
6690
6906
 
6691
6907
 
6696
6912
if test x$enable_openssl = xyes ; then
6697
6913
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BF_ecb_encrypt in -lcrypto" >&5
6698
6914
$as_echo_n "checking for BF_ecb_encrypt in -lcrypto... " >&6; }
6699
 
if test "${ac_cv_lib_crypto_BF_ecb_encrypt+set}" = set; then :
 
6915
if ${ac_cv_lib_crypto_BF_ecb_encrypt+:} false; then :
6700
6916
  $as_echo_n "(cached) " >&6
6701
6917
else
6702
6918
  ac_check_lib_save_LIBS=$LIBS
6730
6946
fi
6731
6947
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_BF_ecb_encrypt" >&5
6732
6948
$as_echo "$ac_cv_lib_crypto_BF_ecb_encrypt" >&6; }
6733
 
if test "x$ac_cv_lib_crypto_BF_ecb_encrypt" = x""yes; then :
 
6949
if test "x$ac_cv_lib_crypto_BF_ecb_encrypt" = xyes; then :
6734
6950
  OPENSSL_LIBFLAGS='-lcrypto'
6735
6951
else
6736
6952
  enable_openssl=no
6756
6972
old_LIBS="$LIBS"
6757
6973
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
6758
6974
$as_echo_n "checking for library containing clock_gettime... " >&6; }
6759
 
if test "${ac_cv_search_clock_gettime+set}" = set; then :
 
6975
if ${ac_cv_search_clock_gettime+:} false; then :
6760
6976
  $as_echo_n "(cached) " >&6
6761
6977
else
6762
6978
  ac_func_search_save_LIBS=$LIBS
6790
7006
fi
6791
7007
rm -f core conftest.err conftest.$ac_objext \
6792
7008
    conftest$ac_exeext
6793
 
  if test "${ac_cv_search_clock_gettime+set}" = set; then :
 
7009
  if ${ac_cv_search_clock_gettime+:} false; then :
6794
7010
  break
6795
7011
fi
6796
7012
done
6797
 
if test "${ac_cv_search_clock_gettime+set}" = set; then :
 
7013
if ${ac_cv_search_clock_gettime+:} false; then :
6798
7014
 
6799
7015
else
6800
7016
  ac_cv_search_clock_gettime=no
6912
7128
     :end' >>confcache
6913
7129
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6914
7130
  if test -w "$cache_file"; then
6915
 
    test "x$cache_file" != "x/dev/null" &&
 
7131
    if test "x$cache_file" != "x/dev/null"; then
6916
7132
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6917
7133
$as_echo "$as_me: updating cache $cache_file" >&6;}
6918
 
    cat confcache >$cache_file
 
7134
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
7135
        cat confcache >"$cache_file"
 
7136
      else
 
7137
        case $cache_file in #(
 
7138
        */* | ?:*)
 
7139
          mv -f confcache "$cache_file"$$ &&
 
7140
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
7141
        *)
 
7142
          mv -f confcache "$cache_file" ;;
 
7143
        esac
 
7144
      fi
 
7145
    fi
6919
7146
  else
6920
7147
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6921
7148
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6948
7175
 
6949
7176
 
6950
7177
 
6951
 
: ${CONFIG_STATUS=./config.status}
 
7178
: "${CONFIG_STATUS=./config.status}"
6952
7179
ac_write_fail=0
6953
7180
ac_clean_files_save=$ac_clean_files
6954
7181
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7049
7276
IFS=" ""        $as_nl"
7050
7277
 
7051
7278
# Find who we are.  Look in the path if we contain no directory separator.
 
7279
as_myself=
7052
7280
case $0 in #((
7053
7281
  *[\\/]* ) as_myself=$0 ;;
7054
7282
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7244
7472
    # ... but there are two gotchas:
7245
7473
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7246
7474
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7247
 
    # In both cases, we have to default to `cp -p'.
 
7475
    # In both cases, we have to default to `cp -pR'.
7248
7476
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7249
 
      as_ln_s='cp -p'
 
7477
      as_ln_s='cp -pR'
7250
7478
  elif ln conf$$.file conf$$ 2>/dev/null; then
7251
7479
    as_ln_s=ln
7252
7480
  else
7253
 
    as_ln_s='cp -p'
 
7481
    as_ln_s='cp -pR'
7254
7482
  fi
7255
7483
else
7256
 
  as_ln_s='cp -p'
 
7484
  as_ln_s='cp -pR'
7257
7485
fi
7258
7486
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7259
7487
rmdir conf$$.dir 2>/dev/null
7313
7541
  as_mkdir_p=false
7314
7542
fi
7315
7543
 
7316
 
if test -x / >/dev/null 2>&1; then
7317
 
  as_test_x='test -x'
7318
 
else
7319
 
  if ls -dL / >/dev/null 2>&1; then
7320
 
    as_ls_L_option=L
7321
 
  else
7322
 
    as_ls_L_option=
7323
 
  fi
7324
 
  as_test_x='
7325
 
    eval sh -c '\''
7326
 
      if test -d "$1"; then
7327
 
        test -d "$1/.";
7328
 
      else
7329
 
        case $1 in #(
7330
 
        -*)set "./$1";;
7331
 
        esac;
7332
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
7333
 
        ???[sx]*):;;*)false;;esac;fi
7334
 
    '\'' sh
7335
 
  '
7336
 
fi
7337
 
as_executable_p=$as_test_x
 
7544
 
 
7545
# as_fn_executable_p FILE
 
7546
# -----------------------
 
7547
# Test if FILE is an executable regular file.
 
7548
as_fn_executable_p ()
 
7549
{
 
7550
  test -f "$1" && test -x "$1"
 
7551
} # as_fn_executable_p
 
7552
as_test_x='test -x'
 
7553
as_executable_p=as_fn_executable_p
7338
7554
 
7339
7555
# Sed expression to map a string onto a valid CPP name.
7340
7556
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7355
7571
# report actual input values of CONFIG_FILES etc. instead of their
7356
7572
# values after options handling.
7357
7573
ac_log="
7358
 
This file was extended by nettle $as_me 2.5, which was
7359
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
7574
This file was extended by nettle $as_me 2.6, which was
 
7575
generated by GNU Autoconf 2.69.  Invocation command line was
7360
7576
 
7361
7577
  CONFIG_FILES    = $CONFIG_FILES
7362
7578
  CONFIG_HEADERS  = $CONFIG_HEADERS
7425
7641
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7426
7642
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7427
7643
ac_cs_version="\\
7428
 
nettle config.status 2.5
7429
 
configured by $0, generated by GNU Autoconf 2.67,
 
7644
nettle config.status 2.6
 
7645
configured by $0, generated by GNU Autoconf 2.69,
7430
7646
  with options \\"\$ac_cs_config\\"
7431
7647
 
7432
 
Copyright (C) 2010 Free Software Foundation, Inc.
 
7648
Copyright (C) 2012 Free Software Foundation, Inc.
7433
7649
This config.status script is free software; the Free Software Foundation
7434
7650
gives unlimited permission to copy, distribute and modify it."
7435
7651
 
7519
7735
_ACEOF
7520
7736
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7521
7737
if \$ac_cs_recheck; then
7522
 
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
7738
  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7523
7739
  shift
7524
7740
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7525
7741
  CONFIG_SHELL='$SHELL'
7583
7799
    "nettle.pc") CONFIG_FILES="$CONFIG_FILES nettle.pc" ;;
7584
7800
    "hogweed.pc") CONFIG_FILES="$CONFIG_FILES hogweed.pc" ;;
7585
7801
 
7586
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
 
7802
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7587
7803
  esac
7588
7804
done
7589
7805
 
7607
7823
# after its creation but before its name has been assigned to `$tmp'.
7608
7824
$debug ||
7609
7825
{
7610
 
  tmp=
 
7826
  tmp= ac_tmp=
7611
7827
  trap 'exit_status=$?
7612
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
7828
  : "${ac_tmp:=$tmp}"
 
7829
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7613
7830
' 0
7614
7831
  trap 'as_fn_exit 1' 1 2 13 15
7615
7832
}
7617
7834
 
7618
7835
{
7619
7836
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7620
 
  test -n "$tmp" && test -d "$tmp"
 
7837
  test -d "$tmp"
7621
7838
}  ||
7622
7839
{
7623
7840
  tmp=./conf$$-$RANDOM
7624
7841
  (umask 077 && mkdir "$tmp")
7625
7842
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
7843
ac_tmp=$tmp
7626
7844
 
7627
7845
# Set up the scripts for CONFIG_FILES section.
7628
7846
# No need to generate them if there are no CONFIG_FILES.
7644
7862
  ac_cs_awk_cr=$ac_cr
7645
7863
fi
7646
7864
 
7647
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
7865
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7648
7866
_ACEOF
7649
7867
 
7650
7868
 
7672
7890
rm -f conf$$subs.sh
7673
7891
 
7674
7892
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7675
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
7893
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7676
7894
_ACEOF
7677
7895
sed -n '
7678
7896
h
7720
7938
rm -f conf$$subs.awk
7721
7939
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7722
7940
_ACAWK
7723
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
7941
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7724
7942
  for (key in S) S_is_set[key] = 1
7725
7943
  FS = ""
7726
7944
 
7752
7970
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7753
7971
else
7754
7972
  cat
7755
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
7973
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7756
7974
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7757
7975
_ACEOF
7758
7976
 
7786
8004
# No need to generate them if there are no CONFIG_HEADERS.
7787
8005
# This happens for instance with `./config.status Makefile'.
7788
8006
if test -n "$CONFIG_HEADERS"; then
7789
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
8007
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
7790
8008
BEGIN {
7791
8009
_ACEOF
7792
8010
 
7798
8016
# handling of long lines.
7799
8017
ac_delim='%!_!# '
7800
8018
for ac_last_try in false false :; do
7801
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
7802
 
  if test -z "$ac_t"; then
 
8019
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
8020
  if test -z "$ac_tt"; then
7803
8021
    break
7804
8022
  elif $ac_last_try; then
7805
8023
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7900
8118
  esac
7901
8119
  case $ac_mode$ac_tag in
7902
8120
  :[FHL]*:*);;
7903
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
 
8121
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7904
8122
  :[FH]-) ac_tag=-:-;;
7905
8123
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7906
8124
  esac
7919
8137
    for ac_f
7920
8138
    do
7921
8139
      case $ac_f in
7922
 
      -) ac_f="$tmp/stdin";;
 
8140
      -) ac_f="$ac_tmp/stdin";;
7923
8141
      *) # Look for the file first in the build tree, then in the source tree
7924
8142
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
7925
8143
         # because $ac_f cannot contain `:'.
7928
8146
           [\\/$]*) false;;
7929
8147
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7930
8148
           esac ||
7931
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
 
8149
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7932
8150
      esac
7933
8151
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7934
8152
      as_fn_append ac_file_inputs " '$ac_f'"
7954
8172
    esac
7955
8173
 
7956
8174
    case $ac_tag in
7957
 
    *:-:* | *:-) cat >"$tmp/stdin" \
7958
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
 
8175
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
8176
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7959
8177
    esac
7960
8178
    ;;
7961
8179
  esac
8091
8309
s&@MKDIR_P@&$ac_MKDIR_P&;t t
8092
8310
$ac_datarootdir_hack
8093
8311
"
8094
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
8095
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
8312
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
8313
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8096
8314
 
8097
8315
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8098
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
8099
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
8316
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
8317
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
8318
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
8100
8319
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8101
8320
which seems to be undefined.  Please make sure it is defined" >&5
8102
8321
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8103
8322
which seems to be undefined.  Please make sure it is defined" >&2;}
8104
8323
 
8105
 
  rm -f "$tmp/stdin"
 
8324
  rm -f "$ac_tmp/stdin"
8106
8325
  case $ac_file in
8107
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
8108
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
8326
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
8327
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8109
8328
  esac \
8110
8329
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8111
8330
 ;;
8116
8335
  if test x"$ac_file" != x-; then
8117
8336
    {
8118
8337
      $as_echo "/* $configure_input  */" \
8119
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
8120
 
    } >"$tmp/config.h" \
 
8338
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
8339
    } >"$ac_tmp/config.h" \
8121
8340
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8122
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
8341
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8123
8342
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8124
8343
$as_echo "$as_me: $ac_file is unchanged" >&6;}
8125
8344
    else
8126
8345
      rm -f "$ac_file"
8127
 
      mv "$tmp/config.h" "$ac_file" \
 
8346
      mv "$ac_tmp/config.h" "$ac_file" \
8128
8347
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8129
8348
    fi
8130
8349
  else
8131
8350
    $as_echo "/* $configure_input  */" \
8132
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
8351
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8133
8352
      || as_fn_error $? "could not create -" "$LINENO" 5
8134
8353
  fi
8135
8354
 ;;
8172
8391
 
8173
8392
 
8174
8393
  case $ac_file$ac_mode in
8175
 
    "dummy-dep-files":C) (cd "$srcdir" && find . -name '*.c' -print) \
8176
 
 | sed 's/\.c$//' | (while read f; do echo > "$f.o.d"; echo > "$f.po.d"; done)
 
8394
    "dummy-dep-files":C) (cd "$srcdir" && find . '(' -name '*.c' -o -name '*.cxx' ')' -print) \
 
8395
 | sed 's/\.c\(xx\)\{0,1\}$//' | (while read f; do echo > "$f.o.d"; echo > "$f.po.d"; done)
8177
8396
 ;;
8178
8397
    "$ac_stdint_h":C)
8179
8398
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h" >&5
8606
8825
  Install prefix:    ${prefix}
8607
8826
  Library directory: ${libdir}
8608
8827
  Compiler:          ${CC}
 
8828
  Static libraries:  ${enable_static}
8609
8829
  Shared libraries:  ${enable_shared}
8610
8830
  Public key crypto: ${enable_public_key}
 
8831
  Documentation:     ${enable_documentation}
8611
8832
" >&5
8612
8833
$as_echo "$as_me: summary of build options:
8613
8834
 
8618
8839
  Install prefix:    ${prefix}
8619
8840
  Library directory: ${libdir}
8620
8841
  Compiler:          ${CC}
 
8842
  Static libraries:  ${enable_static}
8621
8843
  Shared libraries:  ${enable_shared}
8622
8844
  Public key crypto: ${enable_public_key}
 
8845
  Documentation:     ${enable_documentation}
8623
8846
" >&6;}