~ubuntu-branches/ubuntu/saucy/python-crypto/saucy-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Sebastian Ramacher
  • Date: 2012-05-24 20:16:34 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20120524201634-de6vxznjsdgekuwp
Tags: 2.6-1
* New upstream release.
  - Fixes CVE-2012-2417: insecure ElGamal key generation.
* Set urgency to high since this fixes a security issue.
* debian/copyright:
  - Fix formatting.
  - Update Format URL.
* debian/control:
  - Bump Standards-Version to 3.9.3 (no changes required).
  - Drop qNEW from Description since qNEW has been removed.
* debian/patches: Remove posixread.patch (not needed anymore).

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 FULL-PACKAGE-NAME VERSION.
 
3
# Generated by GNU Autoconf 2.68 for FULL-PACKAGE-NAME VERSION.
4
4
#
5
5
# Report bugs to <BUG-REPORT-ADDRESS>.
6
6
#
91
91
IFS=" ""        $as_nl"
92
92
 
93
93
# Find who we are.  Look in the path if we contain no directory separator.
 
94
as_myself=
94
95
case $0 in #((
95
96
  *[\\/]* ) as_myself=$0 ;;
96
97
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
216
217
  # We cannot yet assume a decent shell, so we have to provide a
217
218
        # neutralization value for shells without unset; and this also
218
219
        # works around shells that cannot unset nonexistent variables.
 
220
        # Preserve -v and -x to the replacement shell.
219
221
        BASH_ENV=/dev/null
220
222
        ENV=/dev/null
221
223
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222
224
        export CONFIG_SHELL
223
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
225
        case $- in # ((((
 
226
          *v*x* | *x*v* ) as_opts=-vx ;;
 
227
          *v* ) as_opts=-v ;;
 
228
          *x* ) as_opts=-x ;;
 
229
          * ) as_opts= ;;
 
230
        esac
 
231
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
224
232
fi
225
233
 
226
234
    if test x$as_have_required = xno; then :
647
655
ac_subst_files=''
648
656
ac_user_opts='
649
657
enable_option_checking
 
658
with_gmp
 
659
with_mpir
650
660
'
651
661
      ac_precious_vars='build_alias
652
662
host_alias
1061
1071
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1062
1072
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1063
1073
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1064
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1074
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1065
1075
    ;;
1066
1076
 
1067
1077
  esac
1265
1275
   esac
1266
1276
  cat <<\_ACEOF
1267
1277
 
 
1278
Optional Packages:
 
1279
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
1280
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1281
  --without-gmp           Build without gmp library (default: test)
 
1282
  --without-mpir          Build without mpir library (default: test)
 
1283
 
1268
1284
Some influential environment variables:
1269
1285
  CC          C compiler command
1270
1286
  CFLAGS      C compiler flags
1342
1358
if $ac_init_version; then
1343
1359
  cat <<\_ACEOF
1344
1360
FULL-PACKAGE-NAME configure VERSION
1345
 
generated by GNU Autoconf 2.67
 
1361
generated by GNU Autoconf 2.68
1346
1362
 
1347
1363
Copyright (C) 2010 Free Software Foundation, Inc.
1348
1364
This configure script is free software; the Free Software Foundation
1388
1404
 
1389
1405
        ac_retval=1
1390
1406
fi
1391
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1407
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1392
1408
  as_fn_set_status $ac_retval
1393
1409
 
1394
1410
} # ac_fn_c_try_compile
1434
1450
  # interfere with the next link command; also delete a directory that is
1435
1451
  # left behind by Apple's compiler.  We do this before executing the actions.
1436
1452
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1437
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1453
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1438
1454
  as_fn_set_status $ac_retval
1439
1455
 
1440
1456
} # ac_fn_c_try_link
1450
1466
  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1451
1467
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1452
1468
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1453
 
if eval "test \"\${$3+set}\"" = set; then :
 
1469
if eval \${$3+:} false; then :
1454
1470
  $as_echo_n "(cached) " >&6
1455
1471
else
1456
1472
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1481
1497
eval ac_res=\$$3
1482
1498
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1483
1499
$as_echo "$ac_res" >&6; }
1484
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1500
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1485
1501
 
1486
1502
} # ac_fn_c_check_decl
1487
1503
 
1517
1533
 
1518
1534
    ac_retval=1
1519
1535
fi
1520
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1536
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1521
1537
  as_fn_set_status $ac_retval
1522
1538
 
1523
1539
} # ac_fn_c_try_cpp
1530
1546
ac_fn_c_check_header_mongrel ()
1531
1547
{
1532
1548
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1533
 
  if eval "test \"\${$3+set}\"" = set; then :
 
1549
  if eval \${$3+:} false; then :
1534
1550
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1535
1551
$as_echo_n "checking for $2... " >&6; }
1536
 
if eval "test \"\${$3+set}\"" = set; then :
 
1552
if eval \${$3+:} false; then :
1537
1553
  $as_echo_n "(cached) " >&6
1538
1554
fi
1539
1555
eval ac_res=\$$3
1600
1616
esac
1601
1617
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1602
1618
$as_echo_n "checking for $2... " >&6; }
1603
 
if eval "test \"\${$3+set}\"" = set; then :
 
1619
if eval \${$3+:} false; then :
1604
1620
  $as_echo_n "(cached) " >&6
1605
1621
else
1606
1622
  eval "$3=\$ac_header_compiler"
1609
1625
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1610
1626
$as_echo "$ac_res" >&6; }
1611
1627
fi
1612
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1628
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1613
1629
 
1614
1630
} # ac_fn_c_check_header_mongrel
1615
1631
 
1650
1666
       ac_retval=$ac_status
1651
1667
fi
1652
1668
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1653
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1669
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1654
1670
  as_fn_set_status $ac_retval
1655
1671
 
1656
1672
} # ac_fn_c_try_run
1664
1680
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1665
1681
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1666
1682
$as_echo_n "checking for $2... " >&6; }
1667
 
if eval "test \"\${$3+set}\"" = set; then :
 
1683
if eval \${$3+:} false; then :
1668
1684
  $as_echo_n "(cached) " >&6
1669
1685
else
1670
1686
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1682
1698
eval ac_res=\$$3
1683
1699
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1684
1700
$as_echo "$ac_res" >&6; }
1685
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1701
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1686
1702
 
1687
1703
} # ac_fn_c_check_header_compile
1688
1704
 
1695
1711
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696
1712
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1697
1713
$as_echo_n "checking for int$2_t... " >&6; }
1698
 
if eval "test \"\${$3+set}\"" = set; then :
 
1714
if eval \${$3+:} false; then :
1699
1715
  $as_echo_n "(cached) " >&6
1700
1716
else
1701
1717
  eval "$3=no"
1756
1772
eval ac_res=\$$3
1757
1773
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1758
1774
$as_echo "$ac_res" >&6; }
1759
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1775
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1760
1776
 
1761
1777
} # ac_fn_c_find_intX_t
1762
1778
 
1769
1785
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1770
1786
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1771
1787
$as_echo_n "checking for $2... " >&6; }
1772
 
if eval "test \"\${$3+set}\"" = set; then :
 
1788
if eval \${$3+:} false; then :
1773
1789
  $as_echo_n "(cached) " >&6
1774
1790
else
1775
1791
  eval "$3=no"
1810
1826
eval ac_res=\$$3
1811
1827
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1812
1828
$as_echo "$ac_res" >&6; }
1813
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1829
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1814
1830
 
1815
1831
} # ac_fn_c_check_type
1816
1832
 
1823
1839
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1824
1840
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1825
1841
$as_echo_n "checking for uint$2_t... " >&6; }
1826
 
if eval "test \"\${$3+set}\"" = set; then :
 
1842
if eval \${$3+:} false; then :
1827
1843
  $as_echo_n "(cached) " >&6
1828
1844
else
1829
1845
  eval "$3=no"
1863
1879
eval ac_res=\$$3
1864
1880
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1865
1881
$as_echo "$ac_res" >&6; }
1866
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1882
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1867
1883
 
1868
1884
} # ac_fn_c_find_uintX_t
1869
1885
 
1875
1891
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1876
1892
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1877
1893
$as_echo_n "checking for $2... " >&6; }
1878
 
if eval "test \"\${$3+set}\"" = set; then :
 
1894
if eval \${$3+:} false; then :
1879
1895
  $as_echo_n "(cached) " >&6
1880
1896
else
1881
1897
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1930
1946
eval ac_res=\$$3
1931
1947
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1932
1948
$as_echo "$ac_res" >&6; }
1933
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1949
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1934
1950
 
1935
1951
} # ac_fn_c_check_func
1936
1952
cat >config.log <<_ACEOF
1938
1954
running configure, to aid debugging if configure makes a mistake.
1939
1955
 
1940
1956
It was created by FULL-PACKAGE-NAME $as_me VERSION, which was
1941
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
1957
generated by GNU Autoconf 2.68.  Invocation command line was
1942
1958
 
1943
1959
  $ $0 $@
1944
1960
 
2196
2212
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2197
2213
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2198
2214
as_fn_error $? "failed to load site script $ac_site_file
2199
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2215
See \`config.log' for more details" "$LINENO" 5; }
2200
2216
  fi
2201
2217
done
2202
2218
 
2300
2316
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2301
2317
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2302
2318
$as_echo_n "checking for $ac_word... " >&6; }
2303
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2319
if ${ac_cv_prog_CC+:} false; then :
2304
2320
  $as_echo_n "(cached) " >&6
2305
2321
else
2306
2322
  if test -n "$CC"; then
2340
2356
set dummy gcc; ac_word=$2
2341
2357
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2342
2358
$as_echo_n "checking for $ac_word... " >&6; }
2343
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2359
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2344
2360
  $as_echo_n "(cached) " >&6
2345
2361
else
2346
2362
  if test -n "$ac_ct_CC"; then
2393
2409
set dummy ${ac_tool_prefix}cc; ac_word=$2
2394
2410
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2395
2411
$as_echo_n "checking for $ac_word... " >&6; }
2396
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2412
if ${ac_cv_prog_CC+:} false; then :
2397
2413
  $as_echo_n "(cached) " >&6
2398
2414
else
2399
2415
  if test -n "$CC"; then
2433
2449
set dummy cc; ac_word=$2
2434
2450
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2435
2451
$as_echo_n "checking for $ac_word... " >&6; }
2436
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2452
if ${ac_cv_prog_CC+:} false; then :
2437
2453
  $as_echo_n "(cached) " >&6
2438
2454
else
2439
2455
  if test -n "$CC"; then
2492
2508
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2493
2509
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2494
2510
$as_echo_n "checking for $ac_word... " >&6; }
2495
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
2511
if ${ac_cv_prog_CC+:} false; then :
2496
2512
  $as_echo_n "(cached) " >&6
2497
2513
else
2498
2514
  if test -n "$CC"; then
2536
2552
set dummy $ac_prog; ac_word=$2
2537
2553
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2538
2554
$as_echo_n "checking for $ac_word... " >&6; }
2539
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
2555
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2540
2556
  $as_echo_n "(cached) " >&6
2541
2557
else
2542
2558
  if test -n "$ac_ct_CC"; then
2591
2607
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2592
2608
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2593
2609
as_fn_error $? "no acceptable C compiler found in \$PATH
2594
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2610
See \`config.log' for more details" "$LINENO" 5; }
2595
2611
 
2596
2612
# Provide some information about the compiler.
2597
2613
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2706
2722
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2707
2723
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2708
2724
as_fn_error 77 "C compiler cannot create executables
2709
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2725
See \`config.log' for more details" "$LINENO" 5; }
2710
2726
else
2711
2727
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2712
2728
$as_echo "yes" >&6; }
2749
2765
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2750
2766
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2751
2767
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2752
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2768
See \`config.log' for more details" "$LINENO" 5; }
2753
2769
fi
2754
2770
rm -f conftest conftest$ac_cv_exeext
2755
2771
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2808
2824
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2809
2825
as_fn_error $? "cannot run C compiled programs.
2810
2826
If you meant to cross compile, use \`--host'.
2811
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2827
See \`config.log' for more details" "$LINENO" 5; }
2812
2828
    fi
2813
2829
  fi
2814
2830
fi
2819
2835
ac_clean_files=$ac_clean_files_save
2820
2836
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2821
2837
$as_echo_n "checking for suffix of object files... " >&6; }
2822
 
if test "${ac_cv_objext+set}" = set; then :
 
2838
if ${ac_cv_objext+:} false; then :
2823
2839
  $as_echo_n "(cached) " >&6
2824
2840
else
2825
2841
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2860
2876
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2861
2877
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2862
2878
as_fn_error $? "cannot compute suffix of object files: cannot compile
2863
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2879
See \`config.log' for more details" "$LINENO" 5; }
2864
2880
fi
2865
2881
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2866
2882
fi
2870
2886
ac_objext=$OBJEXT
2871
2887
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2872
2888
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2873
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
2889
if ${ac_cv_c_compiler_gnu+:} false; then :
2874
2890
  $as_echo_n "(cached) " >&6
2875
2891
else
2876
2892
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2907
2923
ac_save_CFLAGS=$CFLAGS
2908
2924
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2909
2925
$as_echo_n "checking whether $CC accepts -g... " >&6; }
2910
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
2926
if ${ac_cv_prog_cc_g+:} false; then :
2911
2927
  $as_echo_n "(cached) " >&6
2912
2928
else
2913
2929
  ac_save_c_werror_flag=$ac_c_werror_flag
2985
3001
fi
2986
3002
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2987
3003
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2988
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3004
if ${ac_cv_prog_cc_c89+:} false; then :
2989
3005
  $as_echo_n "(cached) " >&6
2990
3006
else
2991
3007
  ac_cv_prog_cc_c89=no
3083
3099
 
3084
3100
# Checks for libraries.
3085
3101
 
3086
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_init in -lgmp" >&5
 
3102
# Check whether --with-gmp was given.
 
3103
if test "${with_gmp+set}" = set; then :
 
3104
  withval=$with_gmp;
 
3105
fi
 
3106
 
 
3107
 
 
3108
if test "x$with_gmp" != "xno"; then :
 
3109
 
 
3110
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_init in -lgmp" >&5
3087
3111
$as_echo_n "checking for __gmpz_init in -lgmp... " >&6; }
3088
 
if test "${ac_cv_lib_gmp___gmpz_init+set}" = set; then :
 
3112
if ${ac_cv_lib_gmp___gmpz_init+:} false; then :
3089
3113
  $as_echo_n "(cached) " >&6
3090
3114
else
3091
3115
  ac_check_lib_save_LIBS=$LIBS
3119
3143
fi
3120
3144
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmpz_init" >&5
3121
3145
$as_echo "$ac_cv_lib_gmp___gmpz_init" >&6; }
3122
 
if test "x$ac_cv_lib_gmp___gmpz_init" = x""yes; then :
 
3146
if test "x$ac_cv_lib_gmp___gmpz_init" = xyes; then :
3123
3147
  cat >>confdefs.h <<_ACEOF
3124
3148
#define HAVE_LIBGMP 1
3125
3149
_ACEOF
3128
3152
 
3129
3153
fi
3130
3154
 
3131
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_init in -lmpir" >&5
 
3155
 
 
3156
fi
 
3157
 
 
3158
 
 
3159
# Check whether --with-mpir was given.
 
3160
if test "${with_mpir+set}" = set; then :
 
3161
  withval=$with_mpir;
 
3162
fi
 
3163
 
 
3164
if test "x$with_mpir" != "xno"; then :
 
3165
 
 
3166
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_init in -lmpir" >&5
3132
3167
$as_echo_n "checking for __gmpz_init in -lmpir... " >&6; }
3133
 
if test "${ac_cv_lib_mpir___gmpz_init+set}" = set; then :
 
3168
if ${ac_cv_lib_mpir___gmpz_init+:} false; then :
3134
3169
  $as_echo_n "(cached) " >&6
3135
3170
else
3136
3171
  ac_check_lib_save_LIBS=$LIBS
3164
3199
fi
3165
3200
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpir___gmpz_init" >&5
3166
3201
$as_echo "$ac_cv_lib_mpir___gmpz_init" >&6; }
3167
 
if test "x$ac_cv_lib_mpir___gmpz_init" = x""yes; then :
 
3202
if test "x$ac_cv_lib_mpir___gmpz_init" = xyes; then :
3168
3203
  cat >>confdefs.h <<_ACEOF
3169
3204
#define HAVE_LIBMPIR 1
3170
3205
_ACEOF
3173
3208
 
3174
3209
fi
3175
3210
 
 
3211
 
 
3212
fi
 
3213
 
3176
3214
ac_fn_c_check_decl "$LINENO" "mpz_powm" "ac_cv_have_decl_mpz_powm" "
3177
3215
#if HAVE_LIBGMP
3178
3216
# include <gmp.h>
3181
3219
#endif
3182
3220
 
3183
3221
"
3184
 
if test "x$ac_cv_have_decl_mpz_powm" = x""yes; then :
 
3222
if test "x$ac_cv_have_decl_mpz_powm" = xyes; then :
3185
3223
  ac_have_decl=1
3186
3224
else
3187
3225
  ac_have_decl=0
3199
3237
#endif
3200
3238
 
3201
3239
"
3202
 
if test "x$ac_cv_have_decl_mpz_powm_sec" = x""yes; then :
 
3240
if test "x$ac_cv_have_decl_mpz_powm_sec" = xyes; then :
3203
3241
  ac_have_decl=1
3204
3242
else
3205
3243
  ac_have_decl=0
3223
3261
  CPP=
3224
3262
fi
3225
3263
if test -z "$CPP"; then
3226
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
3264
  if ${ac_cv_prog_CPP+:} false; then :
3227
3265
  $as_echo_n "(cached) " >&6
3228
3266
else
3229
3267
      # Double quotes because CPP needs to be expanded
3339
3377
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3340
3378
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3341
3379
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3342
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3380
See \`config.log' for more details" "$LINENO" 5; }
3343
3381
fi
3344
3382
 
3345
3383
ac_ext=c
3351
3389
 
3352
3390
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3353
3391
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3354
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
3392
if ${ac_cv_path_GREP+:} false; then :
3355
3393
  $as_echo_n "(cached) " >&6
3356
3394
else
3357
3395
  if test -z "$GREP"; then
3414
3452
 
3415
3453
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3416
3454
$as_echo_n "checking for egrep... " >&6; }
3417
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
3455
if ${ac_cv_path_EGREP+:} false; then :
3418
3456
  $as_echo_n "(cached) " >&6
3419
3457
else
3420
3458
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3481
3519
 
3482
3520
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3483
3521
$as_echo_n "checking for ANSI C header files... " >&6; }
3484
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
3522
if ${ac_cv_header_stdc+:} false; then :
3485
3523
  $as_echo_n "(cached) " >&6
3486
3524
else
3487
3525
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3625
3663
# Checks for typedefs, structures, and compiler characteristics.
3626
3664
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
3627
3665
$as_echo_n "checking for inline... " >&6; }
3628
 
if test "${ac_cv_c_inline+set}" = set; then :
 
3666
if ${ac_cv_c_inline+:} false; then :
3629
3667
  $as_echo_n "(cached) " >&6
3630
3668
else
3631
3669
  ac_cv_c_inline=no
3710
3748
esac
3711
3749
 
3712
3750
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
3713
 
if test "x$ac_cv_type_size_t" = x""yes; then :
 
3751
if test "x$ac_cv_type_size_t" = xyes; then :
3714
3752
 
3715
3753
else
3716
3754
 
3779
3817
for ac_header in stdlib.h
3780
3818
do :
3781
3819
  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
3782
 
if test "x$ac_cv_header_stdlib_h" = x""yes; then :
 
3820
if test "x$ac_cv_header_stdlib_h" = xyes; then :
3783
3821
  cat >>confdefs.h <<_ACEOF
3784
3822
#define HAVE_STDLIB_H 1
3785
3823
_ACEOF
3790
3828
 
3791
3829
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
3792
3830
$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
3793
 
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
 
3831
if ${ac_cv_func_malloc_0_nonnull+:} false; then :
3794
3832
  $as_echo_n "(cached) " >&6
3795
3833
else
3796
3834
  if test "$cross_compiling" = yes; then :
3920
3958
     :end' >>confcache
3921
3959
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3922
3960
  if test -w "$cache_file"; then
3923
 
    test "x$cache_file" != "x/dev/null" &&
 
3961
    if test "x$cache_file" != "x/dev/null"; then
3924
3962
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3925
3963
$as_echo "$as_me: updating cache $cache_file" >&6;}
3926
 
    cat confcache >$cache_file
 
3964
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
3965
        cat confcache >"$cache_file"
 
3966
      else
 
3967
        case $cache_file in #(
 
3968
        */* | ?:*)
 
3969
          mv -f confcache "$cache_file"$$ &&
 
3970
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
3971
        *)
 
3972
          mv -f confcache "$cache_file" ;;
 
3973
        esac
 
3974
      fi
 
3975
    fi
3927
3976
  else
3928
3977
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3929
3978
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3955
4004
 
3956
4005
 
3957
4006
 
3958
 
: ${CONFIG_STATUS=./config.status}
 
4007
: "${CONFIG_STATUS=./config.status}"
3959
4008
ac_write_fail=0
3960
4009
ac_clean_files_save=$ac_clean_files
3961
4010
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4056
4105
IFS=" ""        $as_nl"
4057
4106
 
4058
4107
# Find who we are.  Look in the path if we contain no directory separator.
 
4108
as_myself=
4059
4109
case $0 in #((
4060
4110
  *[\\/]* ) as_myself=$0 ;;
4061
4111
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4363
4413
# values after options handling.
4364
4414
ac_log="
4365
4415
This file was extended by FULL-PACKAGE-NAME $as_me VERSION, which was
4366
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
4416
generated by GNU Autoconf 2.68.  Invocation command line was
4367
4417
 
4368
4418
  CONFIG_FILES    = $CONFIG_FILES
4369
4419
  CONFIG_HEADERS  = $CONFIG_HEADERS
4416
4466
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4417
4467
ac_cs_version="\\
4418
4468
FULL-PACKAGE-NAME config.status VERSION
4419
 
configured by $0, generated by GNU Autoconf 2.67,
 
4469
configured by $0, generated by GNU Autoconf 2.68,
4420
4470
  with options \\"\$ac_cs_config\\"
4421
4471
 
4422
4472
Copyright (C) 2010 Free Software Foundation, Inc.
4530
4580
  case $ac_config_target in
4531
4581
    "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
4532
4582
 
4533
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
 
4583
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4534
4584
  esac
4535
4585
done
4536
4586
 
4551
4601
# after its creation but before its name has been assigned to `$tmp'.
4552
4602
$debug ||
4553
4603
{
4554
 
  tmp=
 
4604
  tmp= ac_tmp=
4555
4605
  trap 'exit_status=$?
4556
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
4606
  : "${ac_tmp:=$tmp}"
 
4607
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4557
4608
' 0
4558
4609
  trap 'as_fn_exit 1' 1 2 13 15
4559
4610
}
4561
4612
 
4562
4613
{
4563
4614
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4564
 
  test -n "$tmp" && test -d "$tmp"
 
4615
  test -d "$tmp"
4565
4616
}  ||
4566
4617
{
4567
4618
  tmp=./conf$$-$RANDOM
4568
4619
  (umask 077 && mkdir "$tmp")
4569
4620
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
4621
ac_tmp=$tmp
4570
4622
 
4571
4623
# Set up the scripts for CONFIG_HEADERS section.
4572
4624
# No need to generate them if there are no CONFIG_HEADERS.
4573
4625
# This happens for instance with `./config.status Makefile'.
4574
4626
if test -n "$CONFIG_HEADERS"; then
4575
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
4627
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4576
4628
BEGIN {
4577
4629
_ACEOF
4578
4630
 
4584
4636
# handling of long lines.
4585
4637
ac_delim='%!_!# '
4586
4638
for ac_last_try in false false :; do
4587
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
4588
 
  if test -z "$ac_t"; then
 
4639
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
4640
  if test -z "$ac_tt"; then
4589
4641
    break
4590
4642
  elif $ac_last_try; then
4591
4643
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4686
4738
  esac
4687
4739
  case $ac_mode$ac_tag in
4688
4740
  :[FHL]*:*);;
4689
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
 
4741
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4690
4742
  :[FH]-) ac_tag=-:-;;
4691
4743
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4692
4744
  esac
4705
4757
    for ac_f
4706
4758
    do
4707
4759
      case $ac_f in
4708
 
      -) ac_f="$tmp/stdin";;
 
4760
      -) ac_f="$ac_tmp/stdin";;
4709
4761
      *) # Look for the file first in the build tree, then in the source tree
4710
4762
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
4711
4763
         # because $ac_f cannot contain `:'.
4714
4766
           [\\/$]*) false;;
4715
4767
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4716
4768
           esac ||
4717
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
 
4769
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4718
4770
      esac
4719
4771
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4720
4772
      as_fn_append ac_file_inputs " '$ac_f'"
4740
4792
    esac
4741
4793
 
4742
4794
    case $ac_tag in
4743
 
    *:-:* | *:-) cat >"$tmp/stdin" \
4744
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
 
4795
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
4796
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4745
4797
    esac
4746
4798
    ;;
4747
4799
  esac
4814
4866
  if test x"$ac_file" != x-; then
4815
4867
    {
4816
4868
      $as_echo "/* $configure_input  */" \
4817
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
4818
 
    } >"$tmp/config.h" \
 
4869
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
4870
    } >"$ac_tmp/config.h" \
4819
4871
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4820
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
4872
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
4821
4873
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4822
4874
$as_echo "$as_me: $ac_file is unchanged" >&6;}
4823
4875
    else
4824
4876
      rm -f "$ac_file"
4825
 
      mv "$tmp/config.h" "$ac_file" \
 
4877
      mv "$ac_tmp/config.h" "$ac_file" \
4826
4878
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4827
4879
    fi
4828
4880
  else
4829
4881
    $as_echo "/* $configure_input  */" \
4830
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
4882
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4831
4883
      || as_fn_error $? "could not create -" "$LINENO" 5
4832
4884
  fi
4833
4885
 ;;