2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.68.
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11
# This configure script is free software; the Free Software Foundation
12
# gives unlimited permission to copy, distribute and modify it.
13
## -------------------- ##
14
## M4sh Initialization. ##
15
## -------------------- ##
17
# Be more Bourne compatible
18
DUALCASE=1; export DUALCASE # for MKS sh
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
# is contrary to our usage. Disable this feature.
24
alias -g '${1+"$@"}'='"$@"'
27
case `(set -o) 2>/dev/null` in #(
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
# but without wasting forks for bash or zsh.
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48
as_echo_n='print -rn --'
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
as_echo_n='/usr/ucb/echo -n'
57
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62
expr "X$arg" : "X\\(.*\\)$as_nl";
63
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
as_echo_n='sh -c $as_echo_n_body as_echo'
71
as_echo='sh -c $as_echo_body as_echo'
74
# The user is always right.
75
if test "${PATH_SEPARATOR+set}" != set; then
77
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85
# We need space, tab and new line, in precisely that order. Quoting is
86
# there to prevent editors from complaining about space-tab.
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
# splitting by setting IFS to empty value.)
91
# Find who we are. Look in the path if we contain no directory separator.
94
*[\\/]* ) as_myself=$0 ;;
95
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99
test -z "$as_dir" && as_dir=.
100
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106
# We did not find ourselves, most probably we were run as `sh COMMAND'
107
# in which case we are not to be found in the path.
108
if test "x$as_myself" = x; then
111
if test ! -f "$as_myself"; then
112
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116
# Unset variables that we do not need and which cause bugs (e.g. in
117
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118
# suppresses any "Segmentation fault" message there. '((' could
119
# trigger a bug in pdksh 5.2.14.
120
for as_var in BASH_ENV ENV MAIL MAILPATH
121
do eval test x\${$as_var+set} = xset \
122
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
if test "x$CONFIG_SHELL" = x; then
138
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142
# is contrary to our usage. Disable this feature.
143
alias -g '\${1+\"\$@\"}'='\"\$@\"'
146
case \`(set -o) 2>/dev/null\` in #(
154
as_required="as_fn_return () { (exit \$1); }
155
as_fn_success () { as_fn_return 0; }
156
as_fn_failure () { as_fn_return 1; }
157
as_fn_ret_success () { return 0; }
158
as_fn_ret_failure () { return 1; }
161
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
exitcode=1; echo positional parameters were not saved.
170
test x\$exitcode = x0 || exit 1"
171
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175
test \$(( 1 + 1 )) = 2 || exit 1"
176
if (eval "$as_required") 2>/dev/null; then :
181
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
189
test -z "$as_dir" && as_dir=.
193
for as_base in sh bash ksh sh5; do
194
# Try only shells that exist, to save several forks.
195
as_shell=$as_dir/$as_base
196
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198
CONFIG_SHELL=$as_shell as_have_required=yes
199
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
207
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209
CONFIG_SHELL=$SHELL as_have_required=yes
214
if test "x$CONFIG_SHELL" != x; then :
215
# We cannot yet assume a decent shell, so we have to provide a
216
# neutralization value for shells without unset; and this also
217
# works around shells that cannot unset nonexistent variables.
218
# Preserve -v and -x to the replacement shell.
221
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224
*v*x* | *x*v* ) as_opts=-vx ;;
229
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232
if test x$as_have_required = xno; then :
233
$as_echo "$0: This script requires a shell more modern than all"
234
$as_echo "$0: the shells that I found on your system."
235
if test x${ZSH_VERSION+set} = xset ; then
236
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
239
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
240
$0: including any error possibly output before this
241
$0: message. Then install a modern shell, or manually run
242
$0: the script under such a shell if you do have one."
248
SHELL=${CONFIG_SHELL-/bin/sh}
250
# Unset more variables known to interfere with behavior of common tools.
251
CLICOLOR_FORCE= GREP_OPTIONS=
252
unset CLICOLOR_FORCE GREP_OPTIONS
254
## --------------------- ##
255
## M4sh Shell Functions. ##
256
## --------------------- ##
259
# Portably unset VAR.
262
{ eval $1=; unset $1;}
266
# as_fn_set_status STATUS
267
# -----------------------
268
# Set $? to STATUS, without forking.
276
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
286
# Create "$as_dir" as a directory, including parents if necessary.
291
-*) as_dir=./$as_dir;;
293
test -d "$as_dir" || eval $as_mkdir_p || {
297
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
300
as_dirs="'$as_qdir' $as_dirs"
301
as_dir=`$as_dirname -- "$as_dir" ||
302
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303
X"$as_dir" : 'X\(//\)[^/]' \| \
304
X"$as_dir" : 'X\(//\)$' \| \
305
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306
$as_echo X"$as_dir" |
307
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
324
test -d "$as_dir" && break
326
test -z "$as_dirs" || eval "mkdir $as_dirs"
327
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
331
# as_fn_append VAR VALUE
332
# ----------------------
333
# Append the text in VALUE to the end of the definition contained in VAR. Take
334
# advantage of any shell optimizations that allow amortized linear growth over
335
# repeated appends, instead of the typical quadratic growth present in naive
337
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
338
eval 'as_fn_append ()
351
# Perform arithmetic evaluation on the ARGs, and store the result in the
352
# global $as_val. Take advantage of shells that can avoid forks. The arguments
353
# must be portable across $(()) and expr.
354
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
362
as_val=`expr "$@" || test $? -eq 1`
367
# as_fn_error STATUS ERROR [LINENO LOG_FD]
368
# ----------------------------------------
369
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371
# script with STATUS, using 1 if that was 0.
374
as_status=$1; test $as_status -eq 0 && as_status=1
376
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
377
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
379
$as_echo "$as_me: error: $2" >&2
380
as_fn_exit $as_status
383
if expr a : '\(a\)' >/dev/null 2>&1 &&
384
test "X`expr 00001 : '.*\(...\)'`" = X001; then
390
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
396
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
402
as_me=`$as_basename -- "$0" ||
403
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404
X"$0" : 'X\(//\)$' \| \
405
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
407
sed '/^.*\/\([^/][^/]*\)\/*$/{
421
# Avoid depending upon Character Ranges.
422
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
423
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
425
as_cr_digits='0123456789'
426
as_cr_alnum=$as_cr_Letters$as_cr_digits
429
as_lineno_1=$LINENO as_lineno_1a=$LINENO
430
as_lineno_2=$LINENO as_lineno_2a=$LINENO
431
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
433
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
445
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449
chmod +x "$as_me.lineno" ||
450
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
452
# Don't try to exec as it changes $[0], causing all sort of problems
453
# (the dirname of $[0] is not the place where we might find the
454
# original and so on. Autoconf is especially sensitive to this).
456
# Exit status is that of the last command.
460
ECHO_C= ECHO_N= ECHO_T=
461
case `echo -n x` in #(((((
463
case `echo 'xy\c'` in
464
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
466
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
473
rm -f conf$$ conf$$.exe conf$$.file
474
if test -d conf$$.dir; then
475
rm -f conf$$.dir/conf$$.file
478
mkdir conf$$.dir 2>/dev/null
480
if (echo >conf$$.file) 2>/dev/null; then
481
if ln -s conf$$.file conf$$ 2>/dev/null; then
483
# ... but there are two gotchas:
484
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486
# In both cases, we have to default to `cp -p'.
487
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
489
elif ln conf$$.file conf$$ 2>/dev/null; then
497
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
498
rmdir conf$$.dir 2>/dev/null
500
if mkdir -p . 2>/dev/null; then
501
as_mkdir_p='mkdir -p "$as_dir"'
503
test -d ./-p && rmdir ./-p
507
if test -x / >/dev/null 2>&1; then
510
if ls -dL / >/dev/null 2>&1; then
517
if test -d "$1"; then
523
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524
???[sx]*):;;*)false;;esac;fi
528
as_executable_p=$as_test_x
530
# Sed expression to map a string onto a valid CPP name.
531
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533
# Sed expression to map a string onto a valid variable name.
534
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537
test -n "$DJDIR" || exec 7<&0 </dev/null
541
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
542
# so uname gets run too.
543
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
548
ac_default_prefix=/usr/local
550
ac_config_libobj_dir=.
557
# Identity of this package.
565
ac_unique_file="Makefile.in"
566
# Factoring default headers for most tests.
567
ac_includes_default="\
569
#ifdef HAVE_SYS_TYPES_H
570
# include <sys/types.h>
572
#ifdef HAVE_SYS_STAT_H
573
# include <sys/stat.h>
579
# ifdef HAVE_STDLIB_H
584
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
589
#ifdef HAVE_STRINGS_H
590
# include <strings.h>
592
#ifdef HAVE_INTTYPES_H
593
# include <inttypes.h>
602
ac_subst_vars='LTLIBOBJS
608
enable_zone_allocator
612
jemalloc_version_nrev
613
jemalloc_version_bugfix
614
jemalloc_version_minor
615
jemalloc_version_major
714
program_transform_name
727
enable_option_checking
735
with_private_namespace
742
enable_prof_libunwind
743
with_static_libunwind
756
enable_zone_allocator
758
ac_precious_vars='build_alias
769
# Initialize some variables set by options.
771
ac_init_version=false
772
ac_unrecognized_opts=
774
# The variables have the same names as the options, with
775
# dashes changed to underlines.
783
program_transform_name=s,x,x,
791
# Installation directory options.
792
# These are left unexpanded so users can "make install exec_prefix=/foo"
793
# and all the variables that are supposed to be based on exec_prefix
794
# by default will actually change.
795
# Use braces instead of parens because sh, perl, etc. also accept them.
796
# (The list follows the same order as the GNU Coding Standards.)
797
bindir='${exec_prefix}/bin'
798
sbindir='${exec_prefix}/sbin'
799
libexecdir='${exec_prefix}/libexec'
800
datarootdir='${prefix}/share'
801
datadir='${datarootdir}'
802
sysconfdir='${prefix}/etc'
803
sharedstatedir='${prefix}/com'
804
localstatedir='${prefix}/var'
805
includedir='${prefix}/include'
806
oldincludedir='/usr/include'
807
docdir='${datarootdir}/doc/${PACKAGE}'
808
infodir='${datarootdir}/info'
813
libdir='${exec_prefix}/lib'
814
localedir='${datarootdir}/locale'
815
mandir='${datarootdir}/man'
821
# If the previous option needs an argument, assign it.
822
if test -n "$ac_prev"; then
823
eval $ac_prev=\$ac_option
829
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
834
# Accept the important Cygnus configure options, so we can diagnose typos.
836
case $ac_dashdash$ac_option in
840
-bindir | --bindir | --bindi | --bind | --bin | --bi)
842
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
845
-build | --build | --buil | --bui | --bu)
846
ac_prev=build_alias ;;
847
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
848
build_alias=$ac_optarg ;;
850
-cache-file | --cache-file | --cache-fil | --cache-fi \
851
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
852
ac_prev=cache_file ;;
853
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
854
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
855
cache_file=$ac_optarg ;;
858
cache_file=config.cache ;;
860
-datadir | --datadir | --datadi | --datad)
862
-datadir=* | --datadir=* | --datadi=* | --datad=*)
863
datadir=$ac_optarg ;;
865
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
866
| --dataroo | --dataro | --datar)
867
ac_prev=datarootdir ;;
868
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
869
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
870
datarootdir=$ac_optarg ;;
872
-disable-* | --disable-*)
873
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
874
# Reject names that are not valid shell variable names.
875
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
876
as_fn_error $? "invalid feature name: $ac_useropt"
877
ac_useropt_orig=$ac_useropt
878
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
879
case $ac_user_opts in
883
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
884
ac_unrecognized_sep=', ';;
886
eval enable_$ac_useropt=no ;;
888
-docdir | --docdir | --docdi | --doc | --do)
890
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
893
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
895
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
898
-enable-* | --enable-*)
899
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
900
# Reject names that are not valid shell variable names.
901
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
902
as_fn_error $? "invalid feature name: $ac_useropt"
903
ac_useropt_orig=$ac_useropt
904
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
905
case $ac_user_opts in
909
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
910
ac_unrecognized_sep=', ';;
912
eval enable_$ac_useropt=\$ac_optarg ;;
914
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
915
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
916
| --exec | --exe | --ex)
917
ac_prev=exec_prefix ;;
918
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
919
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
920
| --exec=* | --exe=* | --ex=*)
921
exec_prefix=$ac_optarg ;;
923
-gas | --gas | --ga | --g)
924
# Obsolete; use --with-gas.
927
-help | --help | --hel | --he | -h)
929
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
930
ac_init_help=recursive ;;
931
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
932
ac_init_help=short ;;
934
-host | --host | --hos | --ho)
935
ac_prev=host_alias ;;
936
-host=* | --host=* | --hos=* | --ho=*)
937
host_alias=$ac_optarg ;;
939
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
941
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
943
htmldir=$ac_optarg ;;
945
-includedir | --includedir | --includedi | --included | --include \
946
| --includ | --inclu | --incl | --inc)
947
ac_prev=includedir ;;
948
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
949
| --includ=* | --inclu=* | --incl=* | --inc=*)
950
includedir=$ac_optarg ;;
952
-infodir | --infodir | --infodi | --infod | --info | --inf)
954
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
955
infodir=$ac_optarg ;;
957
-libdir | --libdir | --libdi | --libd)
959
-libdir=* | --libdir=* | --libdi=* | --libd=*)
962
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
963
| --libexe | --libex | --libe)
964
ac_prev=libexecdir ;;
965
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
966
| --libexe=* | --libex=* | --libe=*)
967
libexecdir=$ac_optarg ;;
969
-localedir | --localedir | --localedi | --localed | --locale)
971
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
972
localedir=$ac_optarg ;;
974
-localstatedir | --localstatedir | --localstatedi | --localstated \
975
| --localstate | --localstat | --localsta | --localst | --locals)
976
ac_prev=localstatedir ;;
977
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
978
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
979
localstatedir=$ac_optarg ;;
981
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
983
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
987
# Obsolete; use --without-fp.
990
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
991
| --no-cr | --no-c | -n)
994
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
995
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
998
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
999
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1000
| --oldin | --oldi | --old | --ol | --o)
1001
ac_prev=oldincludedir ;;
1002
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1003
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1004
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1005
oldincludedir=$ac_optarg ;;
1007
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1009
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1010
prefix=$ac_optarg ;;
1012
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1013
| --program-pre | --program-pr | --program-p)
1014
ac_prev=program_prefix ;;
1015
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1016
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1017
program_prefix=$ac_optarg ;;
1019
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1020
| --program-suf | --program-su | --program-s)
1021
ac_prev=program_suffix ;;
1022
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1023
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1024
program_suffix=$ac_optarg ;;
1026
-program-transform-name | --program-transform-name \
1027
| --program-transform-nam | --program-transform-na \
1028
| --program-transform-n | --program-transform- \
1029
| --program-transform | --program-transfor \
1030
| --program-transfo | --program-transf \
1031
| --program-trans | --program-tran \
1032
| --progr-tra | --program-tr | --program-t)
1033
ac_prev=program_transform_name ;;
1034
-program-transform-name=* | --program-transform-name=* \
1035
| --program-transform-nam=* | --program-transform-na=* \
1036
| --program-transform-n=* | --program-transform-=* \
1037
| --program-transform=* | --program-transfor=* \
1038
| --program-transfo=* | --program-transf=* \
1039
| --program-trans=* | --program-tran=* \
1040
| --progr-tra=* | --program-tr=* | --program-t=*)
1041
program_transform_name=$ac_optarg ;;
1043
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1045
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1046
pdfdir=$ac_optarg ;;
1048
-psdir | --psdir | --psdi | --psd | --ps)
1050
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1053
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1054
| -silent | --silent | --silen | --sile | --sil)
1057
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1059
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1061
sbindir=$ac_optarg ;;
1063
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1064
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1065
| --sharedst | --shareds | --shared | --share | --shar \
1067
ac_prev=sharedstatedir ;;
1068
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1069
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1070
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1072
sharedstatedir=$ac_optarg ;;
1074
-site | --site | --sit)
1076
-site=* | --site=* | --sit=*)
1079
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1081
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1082
srcdir=$ac_optarg ;;
1084
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1085
| --syscon | --sysco | --sysc | --sys | --sy)
1086
ac_prev=sysconfdir ;;
1087
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1088
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1089
sysconfdir=$ac_optarg ;;
1091
-target | --target | --targe | --targ | --tar | --ta | --t)
1092
ac_prev=target_alias ;;
1093
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1094
target_alias=$ac_optarg ;;
1096
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1099
-version | --version | --versio | --versi | --vers | -V)
1100
ac_init_version=: ;;
1103
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1104
# Reject names that are not valid shell variable names.
1105
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1106
as_fn_error $? "invalid package name: $ac_useropt"
1107
ac_useropt_orig=$ac_useropt
1108
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1109
case $ac_user_opts in
1113
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1114
ac_unrecognized_sep=', ';;
1116
eval with_$ac_useropt=\$ac_optarg ;;
1118
-without-* | --without-*)
1119
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1120
# Reject names that are not valid shell variable names.
1121
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1122
as_fn_error $? "invalid package name: $ac_useropt"
1123
ac_useropt_orig=$ac_useropt
1124
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1125
case $ac_user_opts in
1129
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1130
ac_unrecognized_sep=', ';;
1132
eval with_$ac_useropt=no ;;
1135
# Obsolete; use --with-x.
1138
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1139
| --x-incl | --x-inc | --x-in | --x-i)
1140
ac_prev=x_includes ;;
1141
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1142
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1143
x_includes=$ac_optarg ;;
1145
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1146
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1147
ac_prev=x_libraries ;;
1148
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1149
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1150
x_libraries=$ac_optarg ;;
1152
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1153
Try \`$0 --help' for more information"
1157
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1158
# Reject names that are not valid shell variable names.
1159
case $ac_envvar in #(
1160
'' | [0-9]* | *[!_$as_cr_alnum]* )
1161
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1163
eval $ac_envvar=\$ac_optarg
1164
export $ac_envvar ;;
1167
# FIXME: should be removed in autoconf 3.0.
1168
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1169
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1170
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1171
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1177
if test -n "$ac_prev"; then
1178
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1179
as_fn_error $? "missing argument to $ac_option"
1182
if test -n "$ac_unrecognized_opts"; then
1183
case $enable_option_checking in
1185
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1186
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1190
# Check all directory arguments for consistency.
1191
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1192
datadir sysconfdir sharedstatedir localstatedir includedir \
1193
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1194
libdir localedir mandir
1196
eval ac_val=\$$ac_var
1197
# Remove trailing slashes.
1200
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1201
eval $ac_var=\$ac_val;;
1203
# Be sure to have absolute directory names.
1205
[\\/$]* | ?:[\\/]* ) continue;;
1206
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1208
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1211
# There might be people who depend on the old broken behavior: `$host'
1212
# used to hold the argument of --host etc.
1213
# FIXME: To remove some day.
1216
target=$target_alias
1218
# FIXME: To remove some day.
1219
if test "x$host_alias" != x; then
1220
if test "x$build_alias" = x; then
1221
cross_compiling=maybe
1222
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1223
If a cross compiler is detected then cross compile mode will be used" >&2
1224
elif test "x$build_alias" != "x$host_alias"; then
1230
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1232
test "$silent" = yes && exec 6>/dev/null
1235
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1236
ac_ls_di=`ls -di .` &&
1237
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1238
as_fn_error $? "working directory cannot be determined"
1239
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1240
as_fn_error $? "pwd does not report name of working directory"
1243
# Find the source files, if location was not specified.
1244
if test -z "$srcdir"; then
1245
ac_srcdir_defaulted=yes
1246
# Try the directory containing this script, then the parent directory.
1247
ac_confdir=`$as_dirname -- "$as_myself" ||
1248
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1249
X"$as_myself" : 'X\(//\)[^/]' \| \
1250
X"$as_myself" : 'X\(//\)$' \| \
1251
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1252
$as_echo X"$as_myself" |
1253
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1271
if test ! -r "$srcdir/$ac_unique_file"; then
1275
ac_srcdir_defaulted=no
1277
if test ! -r "$srcdir/$ac_unique_file"; then
1278
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1279
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1281
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1283
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1285
# When building in place, set srcdir=.
1286
if test "$ac_abs_confdir" = "$ac_pwd"; then
1289
# Remove unnecessary trailing slashes from srcdir.
1290
# Double slashes in file names in object file debugging info
1291
# mess up M-x gdb in Emacs.
1293
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1295
for ac_var in $ac_precious_vars; do
1296
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1297
eval ac_env_${ac_var}_value=\$${ac_var}
1298
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1299
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1303
# Report the --help message.
1305
if test "$ac_init_help" = "long"; then
1306
# Omit some internal or obsolete options to make the list less imposing.
1307
# This message is too long to be a string in the A/UX 3.1 sh.
1309
\`configure' configures this package to adapt to many kinds of systems.
1311
Usage: $0 [OPTION]... [VAR=VALUE]...
1313
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1314
VAR=VALUE. See below for descriptions of some of the useful variables.
1316
Defaults for the options are specified in brackets.
1319
-h, --help display this help and exit
1320
--help=short display options specific to this package
1321
--help=recursive display the short help of all the included packages
1322
-V, --version display version information and exit
1323
-q, --quiet, --silent do not print \`checking ...' messages
1324
--cache-file=FILE cache test results in FILE [disabled]
1325
-C, --config-cache alias for \`--cache-file=config.cache'
1326
-n, --no-create do not create output files
1327
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1329
Installation directories:
1330
--prefix=PREFIX install architecture-independent files in PREFIX
1331
[$ac_default_prefix]
1332
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1335
By default, \`make install' will install all the files in
1336
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1337
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1338
for instance \`--prefix=\$HOME'.
1340
For better control, use the options below.
1342
Fine tuning of the installation directories:
1343
--bindir=DIR user executables [EPREFIX/bin]
1344
--sbindir=DIR system admin executables [EPREFIX/sbin]
1345
--libexecdir=DIR program executables [EPREFIX/libexec]
1346
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1347
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1348
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1349
--libdir=DIR object code libraries [EPREFIX/lib]
1350
--includedir=DIR C header files [PREFIX/include]
1351
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1352
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1353
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1354
--infodir=DIR info documentation [DATAROOTDIR/info]
1355
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1356
--mandir=DIR man documentation [DATAROOTDIR/man]
1357
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1358
--htmldir=DIR html documentation [DOCDIR]
1359
--dvidir=DIR dvi documentation [DOCDIR]
1360
--pdfdir=DIR pdf documentation [DOCDIR]
1361
--psdir=DIR ps documentation [DOCDIR]
1367
--build=BUILD configure for building on BUILD [guessed]
1368
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1372
if test -n "$ac_init_help"; then
1377
--disable-option-checking ignore unrecognized --enable/--with options
1378
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1379
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1380
--enable-autogen Automatically regenerate configure output
1381
--disable-experimental Disable support for the experimental API
1382
--enable-cc-silence Silence irrelevant compiler warnings
1383
--enable-debug Build debugging code (implies --enable-ivsalloc)
1384
--enable-ivsalloc Validate pointers passed through the public API
1385
--disable-stats Disable statistics calculation/reporting
1386
--enable-prof Enable allocation profiling
1387
--enable-prof-libunwind Use libunwind for backtracing
1388
--disable-prof-libgcc Do not use libgcc for backtracing
1389
--disable-prof-gcc Do not use gcc intrinsics for backtracing
1390
--disable-tcache Disable per thread caches
1391
--enable-mremap Enable mremap(2) for huge realloc()
1392
--disable-munmap Disable VM deallocation via munmap(2)
1393
--enable-dss Enable allocation from DSS
1394
--disable-fill Disable support for junk/zero filling, quarantine,
1396
--enable-utrace Enable utrace(2)-based tracing
1397
--disable-valgrind Disable support for Valgrind
1398
--enable-xmalloc Support xmalloc option
1399
--enable-lazy-lock Enable lazy locking (only lock when multi-threaded)
1400
--disable-tls Disable thread-local storage (__thread keyword)
1401
--disable-zone-allocator
1402
Disable zone allocator for Darwin
1405
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1406
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1407
--with-xslroot=<path> XSL stylesheet root path
1408
--with-rpath=<rpath> Colon-separated rpath (ELF systems only)
1409
--with-mangling=<map> Mangle symbols in <map>
1410
--with-jemalloc-prefix=<prefix>
1411
Prefix to prepend to all public APIs
1412
--without-export disable exporting jemalloc public APIs
1413
--with-private-namespace=<prefix>
1414
Prefix to prepend to all library-private APIs
1415
--with-install-suffix=<suffix>
1416
Suffix to append to all installed files
1417
--with-static-libunwind=<libunwind.a>
1418
Path to static libunwind library; use rather than
1421
Some influential environment variables:
1422
CC C compiler command
1423
CFLAGS C compiler flags
1424
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1425
nonstandard directory <lib dir>
1426
LIBS libraries to pass to the linker, e.g. -l<library>
1427
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1428
you have headers in a nonstandard directory <include dir>
1431
Use these variables to override the choices made by `configure' or to help
1432
it to find libraries and programs with nonstandard names/locations.
1434
Report bugs to the package provider.
1439
if test "$ac_init_help" = "recursive"; then
1440
# If there are subdirs, report their specific --help.
1441
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1442
test -d "$ac_dir" ||
1443
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1448
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1450
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1451
# A ".." for each directory in $ac_dir_suffix.
1452
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1453
case $ac_top_builddir_sub in
1454
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1455
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1458
ac_abs_top_builddir=$ac_pwd
1459
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1460
# for backward compatibility:
1461
ac_top_builddir=$ac_top_build_prefix
1464
.) # We are building in place.
1466
ac_top_srcdir=$ac_top_builddir_sub
1467
ac_abs_top_srcdir=$ac_pwd ;;
1468
[\\/]* | ?:[\\/]* ) # Absolute name.
1469
ac_srcdir=$srcdir$ac_dir_suffix;
1470
ac_top_srcdir=$srcdir
1471
ac_abs_top_srcdir=$srcdir ;;
1473
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1474
ac_top_srcdir=$ac_top_build_prefix$srcdir
1475
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1477
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1479
cd "$ac_dir" || { ac_status=$?; continue; }
1480
# Check for guested configure.
1481
if test -f "$ac_srcdir/configure.gnu"; then
1483
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1484
elif test -f "$ac_srcdir/configure"; then
1486
$SHELL "$ac_srcdir/configure" --help=recursive
1488
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1490
cd "$ac_pwd" || { ac_status=$?; break; }
1494
test -n "$ac_init_help" && exit $ac_status
1495
if $ac_init_version; then
1498
generated by GNU Autoconf 2.68
1500
Copyright (C) 2010 Free Software Foundation, Inc.
1501
This configure script is free software; the Free Software Foundation
1502
gives unlimited permission to copy, distribute and modify it.
1507
## ------------------------ ##
1508
## Autoconf initialization. ##
1509
## ------------------------ ##
1511
# ac_fn_c_try_compile LINENO
1512
# --------------------------
1513
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1514
ac_fn_c_try_compile ()
1516
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1517
rm -f conftest.$ac_objext
1518
if { { ac_try="$ac_compile"
1520
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1521
*) ac_try_echo=$ac_try;;
1523
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1524
$as_echo "$ac_try_echo"; } >&5
1525
(eval "$ac_compile") 2>conftest.err
1527
if test -s conftest.err; then
1528
grep -v '^ *+' conftest.err >conftest.er1
1529
cat conftest.er1 >&5
1530
mv -f conftest.er1 conftest.err
1532
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1533
test $ac_status = 0; } && {
1534
test -z "$ac_c_werror_flag" ||
1535
test ! -s conftest.err
1536
} && test -s conftest.$ac_objext; then :
1539
$as_echo "$as_me: failed program was:" >&5
1540
sed 's/^/| /' conftest.$ac_ext >&5
1544
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1545
as_fn_set_status $ac_retval
1547
} # ac_fn_c_try_compile
1549
# ac_fn_c_try_cpp LINENO
1550
# ----------------------
1551
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1554
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1555
if { { ac_try="$ac_cpp conftest.$ac_ext"
1557
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1558
*) ac_try_echo=$ac_try;;
1560
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1561
$as_echo "$ac_try_echo"; } >&5
1562
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1564
if test -s conftest.err; then
1565
grep -v '^ *+' conftest.err >conftest.er1
1566
cat conftest.er1 >&5
1567
mv -f conftest.er1 conftest.err
1569
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1570
test $ac_status = 0; } > conftest.i && {
1571
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1572
test ! -s conftest.err
1576
$as_echo "$as_me: failed program was:" >&5
1577
sed 's/^/| /' conftest.$ac_ext >&5
1581
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1582
as_fn_set_status $ac_retval
1586
# ac_fn_c_try_run LINENO
1587
# ----------------------
1588
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1589
# that executables *can* be run.
1592
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1593
if { { ac_try="$ac_link"
1595
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1596
*) ac_try_echo=$ac_try;;
1598
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1599
$as_echo "$ac_try_echo"; } >&5
1600
(eval "$ac_link") 2>&5
1602
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1603
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1604
{ { case "(($ac_try" in
1605
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1606
*) ac_try_echo=$ac_try;;
1608
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1609
$as_echo "$ac_try_echo"; } >&5
1610
(eval "$ac_try") 2>&5
1612
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1613
test $ac_status = 0; }; }; then :
1616
$as_echo "$as_me: program exited with status $ac_status" >&5
1617
$as_echo "$as_me: failed program was:" >&5
1618
sed 's/^/| /' conftest.$ac_ext >&5
1620
ac_retval=$ac_status
1622
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1623
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1624
as_fn_set_status $ac_retval
1628
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1629
# --------------------------------------------
1630
# Tries to find the compile-time value of EXPR in a program that includes
1631
# INCLUDES, setting VAR accordingly. Returns whether the value could be
1633
ac_fn_c_compute_int ()
1635
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1636
if test "$cross_compiling" = yes; then
1637
# Depending upon the size, compute the lo and hi bounds.
1638
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1639
/* end confdefs.h. */
1644
static int test_array [1 - 2 * !(($2) >= 0)];
1651
if ac_fn_c_try_compile "$LINENO"; then :
1654
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1655
/* end confdefs.h. */
1660
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1667
if ac_fn_c_try_compile "$LINENO"; then :
1668
ac_hi=$ac_mid; break
1670
as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1671
if test $ac_lo -le $ac_mid; then
1675
as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1677
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1680
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1681
/* end confdefs.h. */
1686
static int test_array [1 - 2 * !(($2) < 0)];
1693
if ac_fn_c_try_compile "$LINENO"; then :
1696
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1697
/* end confdefs.h. */
1702
static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1709
if ac_fn_c_try_compile "$LINENO"; then :
1710
ac_lo=$ac_mid; break
1712
as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1713
if test $ac_mid -le $ac_hi; then
1717
as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1719
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1724
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1726
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1727
# Binary search between lo and hi bounds.
1728
while test "x$ac_lo" != "x$ac_hi"; do
1729
as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1730
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1731
/* end confdefs.h. */
1736
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1743
if ac_fn_c_try_compile "$LINENO"; then :
1746
as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1748
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1751
?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1755
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1756
/* end confdefs.h. */
1758
static long int longval () { return $2; }
1759
static unsigned long int ulongval () { return $2; }
1766
FILE *f = fopen ("conftest.val", "w");
1771
long int i = longval ();
1774
fprintf (f, "%ld", i);
1778
unsigned long int i = ulongval ();
1781
fprintf (f, "%lu", i);
1783
/* Do not output a trailing newline, as this causes \r\n confusion
1784
on some platforms. */
1785
return ferror (f) || fclose (f) != 0;
1791
if ac_fn_c_try_run "$LINENO"; then :
1792
echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1796
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1797
conftest.$ac_objext conftest.beam conftest.$ac_ext
1801
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1802
as_fn_set_status $ac_retval
1804
} # ac_fn_c_compute_int
1806
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1807
# -------------------------------------------------------
1808
# Tests whether HEADER exists and can be compiled using the include files in
1809
# INCLUDES, setting the cache variable VAR accordingly.
1810
ac_fn_c_check_header_compile ()
1812
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1813
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1814
$as_echo_n "checking for $2... " >&6; }
1815
if eval \${$3+:} false; then :
1816
$as_echo_n "(cached) " >&6
1818
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1819
/* end confdefs.h. */
1823
if ac_fn_c_try_compile "$LINENO"; then :
1828
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1831
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1832
$as_echo "$ac_res" >&6; }
1833
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1835
} # ac_fn_c_check_header_compile
1837
# ac_fn_c_try_link LINENO
1838
# -----------------------
1839
# Try to link conftest.$ac_ext, and return whether this succeeded.
1842
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1843
rm -f conftest.$ac_objext conftest$ac_exeext
1844
if { { ac_try="$ac_link"
1846
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1847
*) ac_try_echo=$ac_try;;
1849
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1850
$as_echo "$ac_try_echo"; } >&5
1851
(eval "$ac_link") 2>conftest.err
1853
if test -s conftest.err; then
1854
grep -v '^ *+' conftest.err >conftest.er1
1855
cat conftest.er1 >&5
1856
mv -f conftest.er1 conftest.err
1858
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1859
test $ac_status = 0; } && {
1860
test -z "$ac_c_werror_flag" ||
1861
test ! -s conftest.err
1862
} && test -s conftest$ac_exeext && {
1863
test "$cross_compiling" = yes ||
1864
$as_test_x conftest$ac_exeext
1868
$as_echo "$as_me: failed program was:" >&5
1869
sed 's/^/| /' conftest.$ac_ext >&5
1873
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1874
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1875
# interfere with the next link command; also delete a directory that is
1876
# left behind by Apple's compiler. We do this before executing the actions.
1877
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1878
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1879
as_fn_set_status $ac_retval
1881
} # ac_fn_c_try_link
1883
# ac_fn_c_check_func LINENO FUNC VAR
1884
# ----------------------------------
1885
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1886
ac_fn_c_check_func ()
1888
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1889
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1890
$as_echo_n "checking for $2... " >&6; }
1891
if eval \${$3+:} false; then :
1892
$as_echo_n "(cached) " >&6
1894
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1895
/* end confdefs.h. */
1896
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1897
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1898
#define $2 innocuous_$2
1900
/* System header to define __stub macros and hopefully few prototypes,
1901
which can conflict with char $2 (); below.
1902
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1903
<limits.h> exists even on freestanding compilers. */
1906
# include <limits.h>
1908
# include <assert.h>
1913
/* Override any GCC internal prototype to avoid an error.
1914
Use char because int might match the return type of a GCC
1915
builtin and then its argument prototype would still apply. */
1920
/* The GNU C library defines this for functions which it implements
1921
to always fail with ENOSYS. Some functions are actually named
1922
something starting with __ and the normal name is an alias. */
1923
#if defined __stub_$2 || defined __stub___$2
1935
if ac_fn_c_try_link "$LINENO"; then :
1940
rm -f core conftest.err conftest.$ac_objext \
1941
conftest$ac_exeext conftest.$ac_ext
1944
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1945
$as_echo "$ac_res" >&6; }
1946
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1948
} # ac_fn_c_check_func
1950
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1951
# -------------------------------------------------------
1952
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1953
# the include files in INCLUDES and setting the cache variable VAR
1955
ac_fn_c_check_header_mongrel ()
1957
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1958
if eval \${$3+:} false; then :
1959
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1960
$as_echo_n "checking for $2... " >&6; }
1961
if eval \${$3+:} false; then :
1962
$as_echo_n "(cached) " >&6
1965
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1966
$as_echo "$ac_res" >&6; }
1968
# Is the header compilable?
1969
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1970
$as_echo_n "checking $2 usability... " >&6; }
1971
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1972
/* end confdefs.h. */
1976
if ac_fn_c_try_compile "$LINENO"; then :
1977
ac_header_compiler=yes
1979
ac_header_compiler=no
1981
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1982
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1983
$as_echo "$ac_header_compiler" >&6; }
1985
# Is the header present?
1986
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1987
$as_echo_n "checking $2 presence... " >&6; }
1988
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1989
/* end confdefs.h. */
1992
if ac_fn_c_try_cpp "$LINENO"; then :
1993
ac_header_preproc=yes
1995
ac_header_preproc=no
1997
rm -f conftest.err conftest.i conftest.$ac_ext
1998
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1999
$as_echo "$ac_header_preproc" >&6; }
2001
# So? What about this header?
2002
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2004
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2005
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2006
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2007
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2010
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2011
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2012
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2013
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2014
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2015
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2016
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2017
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2018
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2019
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2022
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2023
$as_echo_n "checking for $2... " >&6; }
2024
if eval \${$3+:} false; then :
2025
$as_echo_n "(cached) " >&6
2027
eval "$3=\$ac_header_compiler"
2030
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2031
$as_echo "$ac_res" >&6; }
2033
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2035
} # ac_fn_c_check_header_mongrel
2037
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2038
# -------------------------------------------
2039
# Tests whether TYPE exists after having included INCLUDES, setting cache
2040
# variable VAR accordingly.
2041
ac_fn_c_check_type ()
2043
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2044
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2045
$as_echo_n "checking for $2... " >&6; }
2046
if eval \${$3+:} false; then :
2047
$as_echo_n "(cached) " >&6
2050
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2051
/* end confdefs.h. */
2062
if ac_fn_c_try_compile "$LINENO"; then :
2063
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2064
/* end confdefs.h. */
2075
if ac_fn_c_try_compile "$LINENO"; then :
2080
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2082
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2085
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2086
$as_echo "$ac_res" >&6; }
2087
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2089
} # ac_fn_c_check_type
2090
cat >config.log <<_ACEOF
2091
This file contains any messages produced by compilers while
2092
running configure, to aid debugging if configure makes a mistake.
2094
It was created by $as_me, which was
2095
generated by GNU Autoconf 2.68. Invocation command line was
2107
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2108
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2109
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2110
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2111
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2113
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2114
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2116
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2117
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2118
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2119
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2120
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2121
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2122
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2126
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2130
test -z "$as_dir" && as_dir=.
2131
$as_echo "PATH: $as_dir"
2147
# Keep a trace of the command line.
2148
# Strip out --no-create and --no-recursion so they do not pile up.
2149
# Strip out --silent because we don't want to record it for future runs.
2150
# Also quote any args containing shell meta-characters.
2151
# Make two passes to allow for proper duplicate-argument suppression.
2155
ac_must_keep_next=false
2161
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2162
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2163
| -silent | --silent | --silen | --sile | --sil)
2166
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2169
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2171
as_fn_append ac_configure_args1 " '$ac_arg'"
2172
if test $ac_must_keep_next = true; then
2173
ac_must_keep_next=false # Got value, back to normal.
2176
*=* | --config-cache | -C | -disable-* | --disable-* \
2177
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2178
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2179
| -with-* | --with-* | -without-* | --without-* | --x)
2180
case "$ac_configure_args0 " in
2181
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2184
-* ) ac_must_keep_next=true ;;
2187
as_fn_append ac_configure_args " '$ac_arg'"
2192
{ ac_configure_args0=; unset ac_configure_args0;}
2193
{ ac_configure_args1=; unset ac_configure_args1;}
2195
# When interrupted or exit'd, cleanup temporary files, and complete
2196
# config.log. We remove comments because anyway the quotes in there
2197
# would cause problems or look ugly.
2198
# WARNING: Use '\'' to represent an apostrophe within the trap.
2199
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2200
trap 'exit_status=$?
2201
# Save into config.log some information that might help in debugging.
2205
$as_echo "## ---------------- ##
2206
## Cache variables. ##
2207
## ---------------- ##"
2209
# The following way of writing the cache mishandles newlines in values,
2211
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2212
eval ac_val=\$$ac_var
2216
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2217
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2220
_ | IFS | as_nl) ;; #(
2221
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2222
*) { eval $ac_var=; unset $ac_var;} ;;
2227
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2228
*${as_nl}ac_space=\ *)
2230
"s/'\''/'\''\\\\'\'''\''/g;
2231
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2234
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2241
$as_echo "## ----------------- ##
2242
## Output variables. ##
2243
## ----------------- ##"
2245
for ac_var in $ac_subst_vars
2247
eval ac_val=\$$ac_var
2249
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2251
$as_echo "$ac_var='\''$ac_val'\''"
2255
if test -n "$ac_subst_files"; then
2256
$as_echo "## ------------------- ##
2257
## File substitutions. ##
2258
## ------------------- ##"
2260
for ac_var in $ac_subst_files
2262
eval ac_val=\$$ac_var
2264
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2266
$as_echo "$ac_var='\''$ac_val'\''"
2271
if test -s confdefs.h; then
2272
$as_echo "## ----------- ##
2279
test "$ac_signal" != 0 &&
2280
$as_echo "$as_me: caught signal $ac_signal"
2281
$as_echo "$as_me: exit $exit_status"
2283
rm -f core *.core core.conftest.* &&
2284
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2287
for ac_signal in 1 2 13 15; do
2288
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2292
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2293
rm -f -r conftest* confdefs.h
2295
$as_echo "/* confdefs.h */" > confdefs.h
2297
# Predefined preprocessor variables.
2299
cat >>confdefs.h <<_ACEOF
2300
#define PACKAGE_NAME "$PACKAGE_NAME"
2303
cat >>confdefs.h <<_ACEOF
2304
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2307
cat >>confdefs.h <<_ACEOF
2308
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2311
cat >>confdefs.h <<_ACEOF
2312
#define PACKAGE_STRING "$PACKAGE_STRING"
2315
cat >>confdefs.h <<_ACEOF
2316
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2319
cat >>confdefs.h <<_ACEOF
2320
#define PACKAGE_URL "$PACKAGE_URL"
2324
# Let the site file select an alternate cache file if it wants to.
2325
# Prefer an explicitly selected file to automatically selected ones.
2328
if test -n "$CONFIG_SITE"; then
2329
# We do not want a PATH search for config.site.
2330
case $CONFIG_SITE in #((
2331
-*) ac_site_file1=./$CONFIG_SITE;;
2332
*/*) ac_site_file1=$CONFIG_SITE;;
2333
*) ac_site_file1=./$CONFIG_SITE;;
2335
elif test "x$prefix" != xNONE; then
2336
ac_site_file1=$prefix/share/config.site
2337
ac_site_file2=$prefix/etc/config.site
2339
ac_site_file1=$ac_default_prefix/share/config.site
2340
ac_site_file2=$ac_default_prefix/etc/config.site
2342
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2344
test "x$ac_site_file" = xNONE && continue
2345
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2346
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2347
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2348
sed 's/^/| /' "$ac_site_file" >&5
2350
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2351
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2352
as_fn_error $? "failed to load site script $ac_site_file
2353
See \`config.log' for more details" "$LINENO" 5; }
2357
if test -r "$cache_file"; then
2358
# Some versions of bash will fail to source /dev/null (special files
2359
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2360
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2361
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2362
$as_echo "$as_me: loading cache $cache_file" >&6;}
2364
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2365
*) . "./$cache_file";;
2369
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2370
$as_echo "$as_me: creating cache $cache_file" >&6;}
2374
# Check that the precious variables saved in the cache have kept the same
2376
ac_cache_corrupted=false
2377
for ac_var in $ac_precious_vars; do
2378
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2379
eval ac_new_set=\$ac_env_${ac_var}_set
2380
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2381
eval ac_new_val=\$ac_env_${ac_var}_value
2382
case $ac_old_set,$ac_new_set in
2384
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2385
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2386
ac_cache_corrupted=: ;;
2388
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2389
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2390
ac_cache_corrupted=: ;;
2393
if test "x$ac_old_val" != "x$ac_new_val"; then
2394
# differences in whitespace do not lead to failure.
2395
ac_old_val_w=`echo x $ac_old_val`
2396
ac_new_val_w=`echo x $ac_new_val`
2397
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2398
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2399
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2400
ac_cache_corrupted=:
2402
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2403
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2404
eval $ac_var=\$ac_old_val
2406
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2407
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2408
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2409
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2412
# Pass precious variables to config.status.
2413
if test "$ac_new_set" = set; then
2415
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2416
*) ac_arg=$ac_var=$ac_new_val ;;
2418
case " $ac_configure_args " in
2419
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2420
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2424
if $ac_cache_corrupted; then
2425
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2426
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2427
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2428
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2429
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2431
## -------------------- ##
2432
## Main body of script. ##
2433
## -------------------- ##
2436
ac_cpp='$CPP $CPPFLAGS'
2437
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2438
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2439
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2453
if test "x${srcroot}" = "x." ; then
2456
srcroot="${srcroot}/"
2459
abs_srcroot="`cd \"${srcdir}\"; pwd`/"
2464
abs_objroot="`pwd`/"
2467
if test "x$prefix" = "xNONE" ; then
2470
if test "x$exec_prefix" = "xNONE" ; then
2475
BINDIR=`eval echo $bindir`
2476
BINDIR=`eval echo $BINDIR`
2478
INCLUDEDIR=`eval echo $includedir`
2479
INCLUDEDIR=`eval echo $INCLUDEDIR`
2481
LIBDIR=`eval echo $libdir`
2482
LIBDIR=`eval echo $LIBDIR`
2484
DATADIR=`eval echo $datadir`
2485
DATADIR=`eval echo $DATADIR`
2487
MANDIR=`eval echo $mandir`
2488
MANDIR=`eval echo $MANDIR`
2491
# Extract the first word of "xsltproc", so it can be a program name with args.
2492
set dummy xsltproc; ac_word=$2
2493
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2494
$as_echo_n "checking for $ac_word... " >&6; }
2495
if ${ac_cv_path_XSLTPROC+:} false; then :
2496
$as_echo_n "(cached) " >&6
2500
ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
2503
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2507
test -z "$as_dir" && as_dir=.
2508
for ac_exec_ext in '' $ac_executable_extensions; do
2509
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2510
ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
2511
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2518
test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="false"
2522
XSLTPROC=$ac_cv_path_XSLTPROC
2523
if test -n "$XSLTPROC"; then
2524
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
2525
$as_echo "$XSLTPROC" >&6; }
2527
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2528
$as_echo "no" >&6; }
2532
if test -d "/usr/share/xml/docbook/stylesheet/docbook-xsl" ; then
2533
DEFAULT_XSLROOT="/usr/share/xml/docbook/stylesheet/docbook-xsl"
2534
elif test -d "/usr/share/sgml/docbook/xsl-stylesheets" ; then
2535
DEFAULT_XSLROOT="/usr/share/sgml/docbook/xsl-stylesheets"
2540
# Check whether --with-xslroot was given.
2541
if test "${with_xslroot+set}" = set; then :
2542
withval=$with_xslroot;
2543
if test "x$with_xslroot" = "xno" ; then
2544
XSLROOT="${DEFAULT_XSLROOT}"
2546
XSLROOT="${with_xslroot}"
2550
XSLROOT="${DEFAULT_XSLROOT}"
2558
ac_cpp='$CPP $CPPFLAGS'
2559
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2560
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2561
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2562
if test -n "$ac_tool_prefix"; then
2563
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2564
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2565
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2566
$as_echo_n "checking for $ac_word... " >&6; }
2567
if ${ac_cv_prog_CC+:} false; then :
2568
$as_echo_n "(cached) " >&6
2570
if test -n "$CC"; then
2571
ac_cv_prog_CC="$CC" # Let the user override the test.
2573
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2577
test -z "$as_dir" && as_dir=.
2578
for ac_exec_ext in '' $ac_executable_extensions; do
2579
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2580
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2581
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2591
if test -n "$CC"; then
2592
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2593
$as_echo "$CC" >&6; }
2595
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2596
$as_echo "no" >&6; }
2601
if test -z "$ac_cv_prog_CC"; then
2603
# Extract the first word of "gcc", so it can be a program name with args.
2604
set dummy gcc; ac_word=$2
2605
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2606
$as_echo_n "checking for $ac_word... " >&6; }
2607
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2608
$as_echo_n "(cached) " >&6
2610
if test -n "$ac_ct_CC"; then
2611
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2613
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2617
test -z "$as_dir" && as_dir=.
2618
for ac_exec_ext in '' $ac_executable_extensions; do
2619
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2620
ac_cv_prog_ac_ct_CC="gcc"
2621
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2630
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2631
if test -n "$ac_ct_CC"; then
2632
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2633
$as_echo "$ac_ct_CC" >&6; }
2635
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2636
$as_echo "no" >&6; }
2639
if test "x$ac_ct_CC" = x; then
2642
case $cross_compiling:$ac_tool_warned in
2644
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2645
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2646
ac_tool_warned=yes ;;
2654
if test -z "$CC"; then
2655
if test -n "$ac_tool_prefix"; then
2656
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2657
set dummy ${ac_tool_prefix}cc; ac_word=$2
2658
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2659
$as_echo_n "checking for $ac_word... " >&6; }
2660
if ${ac_cv_prog_CC+:} false; then :
2661
$as_echo_n "(cached) " >&6
2663
if test -n "$CC"; then
2664
ac_cv_prog_CC="$CC" # Let the user override the test.
2666
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2670
test -z "$as_dir" && as_dir=.
2671
for ac_exec_ext in '' $ac_executable_extensions; do
2672
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2673
ac_cv_prog_CC="${ac_tool_prefix}cc"
2674
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2684
if test -n "$CC"; then
2685
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2686
$as_echo "$CC" >&6; }
2688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2689
$as_echo "no" >&6; }
2695
if test -z "$CC"; then
2696
# Extract the first word of "cc", so it can be a program name with args.
2697
set dummy cc; ac_word=$2
2698
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2699
$as_echo_n "checking for $ac_word... " >&6; }
2700
if ${ac_cv_prog_CC+:} false; then :
2701
$as_echo_n "(cached) " >&6
2703
if test -n "$CC"; then
2704
ac_cv_prog_CC="$CC" # Let the user override the test.
2707
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2711
test -z "$as_dir" && as_dir=.
2712
for ac_exec_ext in '' $ac_executable_extensions; do
2713
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2714
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2715
ac_prog_rejected=yes
2719
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2726
if test $ac_prog_rejected = yes; then
2727
# We found a bogon in the path, so make sure we never use it.
2728
set dummy $ac_cv_prog_CC
2730
if test $# != 0; then
2731
# We chose a different compiler from the bogus one.
2732
# However, it has the same basename, so the bogon will be chosen
2733
# first if we set CC to just the basename; use the full file name.
2735
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2741
if test -n "$CC"; then
2742
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2743
$as_echo "$CC" >&6; }
2745
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2746
$as_echo "no" >&6; }
2751
if test -z "$CC"; then
2752
if test -n "$ac_tool_prefix"; then
2753
for ac_prog in cl.exe
2755
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2756
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2757
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2758
$as_echo_n "checking for $ac_word... " >&6; }
2759
if ${ac_cv_prog_CC+:} false; then :
2760
$as_echo_n "(cached) " >&6
2762
if test -n "$CC"; then
2763
ac_cv_prog_CC="$CC" # Let the user override the test.
2765
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2769
test -z "$as_dir" && as_dir=.
2770
for ac_exec_ext in '' $ac_executable_extensions; do
2771
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2772
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2773
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2783
if test -n "$CC"; then
2784
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2785
$as_echo "$CC" >&6; }
2787
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2788
$as_echo "no" >&6; }
2792
test -n "$CC" && break
2795
if test -z "$CC"; then
2797
for ac_prog in cl.exe
2799
# Extract the first word of "$ac_prog", so it can be a program name with args.
2800
set dummy $ac_prog; ac_word=$2
2801
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2802
$as_echo_n "checking for $ac_word... " >&6; }
2803
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2804
$as_echo_n "(cached) " >&6
2806
if test -n "$ac_ct_CC"; then
2807
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2809
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2813
test -z "$as_dir" && as_dir=.
2814
for ac_exec_ext in '' $ac_executable_extensions; do
2815
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2816
ac_cv_prog_ac_ct_CC="$ac_prog"
2817
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2826
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2827
if test -n "$ac_ct_CC"; then
2828
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2829
$as_echo "$ac_ct_CC" >&6; }
2831
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2832
$as_echo "no" >&6; }
2836
test -n "$ac_ct_CC" && break
2839
if test "x$ac_ct_CC" = x; then
2842
case $cross_compiling:$ac_tool_warned in
2844
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2845
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2846
ac_tool_warned=yes ;;
2855
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2856
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2857
as_fn_error $? "no acceptable C compiler found in \$PATH
2858
See \`config.log' for more details" "$LINENO" 5; }
2860
# Provide some information about the compiler.
2861
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2864
for ac_option in --version -v -V -qversion; do
2865
{ { ac_try="$ac_compiler $ac_option >&5"
2867
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2868
*) ac_try_echo=$ac_try;;
2870
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2871
$as_echo "$ac_try_echo"; } >&5
2872
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
2874
if test -s conftest.err; then
2876
... rest of stderr output deleted ...
2877
10q' conftest.err >conftest.er1
2878
cat conftest.er1 >&5
2880
rm -f conftest.er1 conftest.err
2881
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2882
test $ac_status = 0; }
2885
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2886
/* end confdefs.h. */
2896
ac_clean_files_save=$ac_clean_files
2897
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2898
# Try to create an executable without -o first, disregard a.out.
2899
# It will help us diagnose broken compilers, and finding out an intuition
2901
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2902
$as_echo_n "checking whether the C compiler works... " >&6; }
2903
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2905
# The possible output files:
2906
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2909
for ac_file in $ac_files
2912
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2913
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2918
if { { ac_try="$ac_link_default"
2920
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2921
*) ac_try_echo=$ac_try;;
2923
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2924
$as_echo "$ac_try_echo"; } >&5
2925
(eval "$ac_link_default") 2>&5
2927
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2928
test $ac_status = 0; }; then :
2929
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2930
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2931
# in a Makefile. We should not override ac_cv_exeext if it was cached,
2932
# so that the user can short-circuit this test for compilers unknown to
2934
for ac_file in $ac_files ''
2936
test -f "$ac_file" || continue
2938
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2941
# We found the default executable, but exeext='' is most
2945
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2947
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2949
# We set ac_cv_exeext here because the later test for it is not
2950
# safe: cross compilers may not add the suffix if given an `-o'
2951
# argument, so we may need to know it at that point already.
2952
# Even if this section looks crufty: it has the advantage of
2959
test "$ac_cv_exeext" = no && ac_cv_exeext=
2964
if test -z "$ac_file"; then :
2965
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2966
$as_echo "no" >&6; }
2967
$as_echo "$as_me: failed program was:" >&5
2968
sed 's/^/| /' conftest.$ac_ext >&5
2970
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2971
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2972
as_fn_error 77 "C compiler cannot create executables
2973
See \`config.log' for more details" "$LINENO" 5; }
2975
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2976
$as_echo "yes" >&6; }
2978
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2979
$as_echo_n "checking for C compiler default output file name... " >&6; }
2980
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2981
$as_echo "$ac_file" >&6; }
2982
ac_exeext=$ac_cv_exeext
2984
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2985
ac_clean_files=$ac_clean_files_save
2986
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2987
$as_echo_n "checking for suffix of executables... " >&6; }
2988
if { { ac_try="$ac_link"
2990
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2991
*) ac_try_echo=$ac_try;;
2993
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2994
$as_echo "$ac_try_echo"; } >&5
2995
(eval "$ac_link") 2>&5
2997
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2998
test $ac_status = 0; }; then :
2999
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3000
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3001
# work properly (i.e., refer to `conftest.exe'), while it won't with
3003
for ac_file in conftest.exe conftest conftest.*; do
3004
test -f "$ac_file" || continue
3006
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3007
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3013
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3014
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3015
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3016
See \`config.log' for more details" "$LINENO" 5; }
3018
rm -f conftest conftest$ac_cv_exeext
3019
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3020
$as_echo "$ac_cv_exeext" >&6; }
3022
rm -f conftest.$ac_ext
3023
EXEEXT=$ac_cv_exeext
3025
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3026
/* end confdefs.h. */
3031
FILE *f = fopen ("conftest.out", "w");
3032
return ferror (f) || fclose (f) != 0;
3038
ac_clean_files="$ac_clean_files conftest.out"
3039
# Check that the compiler produces executables we can run. If not, either
3040
# the compiler is broken, or we cross compile.
3041
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3042
$as_echo_n "checking whether we are cross compiling... " >&6; }
3043
if test "$cross_compiling" != yes; then
3044
{ { ac_try="$ac_link"
3046
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3047
*) ac_try_echo=$ac_try;;
3049
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3050
$as_echo "$ac_try_echo"; } >&5
3051
(eval "$ac_link") 2>&5
3053
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3054
test $ac_status = 0; }
3055
if { ac_try='./conftest$ac_cv_exeext'
3056
{ { case "(($ac_try" in
3057
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3058
*) ac_try_echo=$ac_try;;
3060
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3061
$as_echo "$ac_try_echo"; } >&5
3062
(eval "$ac_try") 2>&5
3064
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3065
test $ac_status = 0; }; }; then
3068
if test "$cross_compiling" = maybe; then
3071
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3072
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3073
as_fn_error $? "cannot run C compiled programs.
3074
If you meant to cross compile, use \`--host'.
3075
See \`config.log' for more details" "$LINENO" 5; }
3079
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3080
$as_echo "$cross_compiling" >&6; }
3082
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3083
ac_clean_files=$ac_clean_files_save
3084
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3085
$as_echo_n "checking for suffix of object files... " >&6; }
3086
if ${ac_cv_objext+:} false; then :
3087
$as_echo_n "(cached) " >&6
3089
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3090
/* end confdefs.h. */
3100
rm -f conftest.o conftest.obj
3101
if { { ac_try="$ac_compile"
3103
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3104
*) ac_try_echo=$ac_try;;
3106
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3107
$as_echo "$ac_try_echo"; } >&5
3108
(eval "$ac_compile") 2>&5
3110
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3111
test $ac_status = 0; }; then :
3112
for ac_file in conftest.o conftest.obj conftest.*; do
3113
test -f "$ac_file" || continue;
3115
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3116
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3121
$as_echo "$as_me: failed program was:" >&5
3122
sed 's/^/| /' conftest.$ac_ext >&5
3124
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3125
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3126
as_fn_error $? "cannot compute suffix of object files: cannot compile
3127
See \`config.log' for more details" "$LINENO" 5; }
3129
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3131
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3132
$as_echo "$ac_cv_objext" >&6; }
3133
OBJEXT=$ac_cv_objext
3135
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3136
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3137
if ${ac_cv_c_compiler_gnu+:} false; then :
3138
$as_echo_n "(cached) " >&6
3140
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3141
/* end confdefs.h. */
3154
if ac_fn_c_try_compile "$LINENO"; then :
3159
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3160
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3163
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3164
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3165
if test $ac_compiler_gnu = yes; then
3170
ac_test_CFLAGS=${CFLAGS+set}
3171
ac_save_CFLAGS=$CFLAGS
3172
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3173
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3174
if ${ac_cv_prog_cc_g+:} false; then :
3175
$as_echo_n "(cached) " >&6
3177
ac_save_c_werror_flag=$ac_c_werror_flag
3178
ac_c_werror_flag=yes
3181
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3182
/* end confdefs.h. */
3192
if ac_fn_c_try_compile "$LINENO"; then :
3196
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3197
/* end confdefs.h. */
3207
if ac_fn_c_try_compile "$LINENO"; then :
3210
ac_c_werror_flag=$ac_save_c_werror_flag
3212
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3213
/* end confdefs.h. */
3223
if ac_fn_c_try_compile "$LINENO"; then :
3226
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3228
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3230
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3231
ac_c_werror_flag=$ac_save_c_werror_flag
3233
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3234
$as_echo "$ac_cv_prog_cc_g" >&6; }
3235
if test "$ac_test_CFLAGS" = set; then
3236
CFLAGS=$ac_save_CFLAGS
3237
elif test $ac_cv_prog_cc_g = yes; then
3238
if test "$GCC" = yes; then
3244
if test "$GCC" = yes; then
3250
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3251
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3252
if ${ac_cv_prog_cc_c89+:} false; then :
3253
$as_echo_n "(cached) " >&6
3255
ac_cv_prog_cc_c89=no
3257
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3258
/* end confdefs.h. */
3261
#include <sys/types.h>
3262
#include <sys/stat.h>
3263
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3264
struct buf { int x; };
3265
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3266
static char *e (p, i)
3272
static char *f (char * (*g) (char **, int), char **p, ...)
3277
s = g (p, va_arg (v,int));
3282
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3283
function prototypes and stuff, but not '\xHH' hex character constants.
3284
These don't provoke an error unfortunately, instead are silently treated
3285
as 'x'. The following induces an error, until -std is added to get
3286
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3287
array size at least. It's necessary to write '\x00'==0 to get something
3288
that's true only with -std. */
3289
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3291
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3292
inside strings and character constants. */
3294
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3296
int test (int i, double x);
3297
struct s1 {int (*f) (int a);};
3298
struct s2 {int (*f) (double a);};
3299
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3305
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3310
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3311
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3313
CC="$ac_save_CC $ac_arg"
3314
if ac_fn_c_try_compile "$LINENO"; then :
3315
ac_cv_prog_cc_c89=$ac_arg
3317
rm -f core conftest.err conftest.$ac_objext
3318
test "x$ac_cv_prog_cc_c89" != "xno" && break
3320
rm -f conftest.$ac_ext
3325
case "x$ac_cv_prog_cc_c89" in
3327
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3328
$as_echo "none needed" >&6; } ;;
3330
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3331
$as_echo "unsupported" >&6; } ;;
3333
CC="$CC $ac_cv_prog_cc_c89"
3334
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3335
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3337
if test "x$ac_cv_prog_cc_c89" != xno; then :
3342
ac_cpp='$CPP $CPPFLAGS'
3343
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3344
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3345
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3347
if test "x$GCC" != "xyes" ; then
3349
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler is MSVC" >&5
3350
$as_echo_n "checking whether compiler is MSVC... " >&6; }
3351
if ${je_cv_msvc+:} false; then :
3352
$as_echo_n "(cached) " >&6
3354
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3355
/* end confdefs.h. */
3369
if ac_fn_c_try_compile "$LINENO"; then :
3374
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3376
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $je_cv_msvc" >&5
3377
$as_echo "$je_cv_msvc" >&6; }
3380
if test "x$CFLAGS" = "x" ; then
3382
if test "x$GCC" = "xyes" ; then
3384
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -std=gnu99" >&5
3385
$as_echo_n "checking whether compiler supports -std=gnu99... " >&6; }
3387
if test "x${CFLAGS}" = "x" ; then
3390
CFLAGS="${CFLAGS} -std=gnu99"
3392
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3393
/* end confdefs.h. */
3406
if ac_fn_c_try_compile "$LINENO"; then :
3407
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3408
$as_echo "yes" >&6; }
3410
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3411
$as_echo "no" >&6; }
3415
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3418
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Wall" >&5
3419
$as_echo_n "checking whether compiler supports -Wall... " >&6; }
3421
if test "x${CFLAGS}" = "x" ; then
3424
CFLAGS="${CFLAGS} -Wall"
3426
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3427
/* end confdefs.h. */
3440
if ac_fn_c_try_compile "$LINENO"; then :
3441
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3442
$as_echo "yes" >&6; }
3444
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3445
$as_echo "no" >&6; }
3449
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3452
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -pipe" >&5
3453
$as_echo_n "checking whether compiler supports -pipe... " >&6; }
3455
if test "x${CFLAGS}" = "x" ; then
3458
CFLAGS="${CFLAGS} -pipe"
3460
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3461
/* end confdefs.h. */
3474
if ac_fn_c_try_compile "$LINENO"; then :
3475
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3476
$as_echo "yes" >&6; }
3478
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3479
$as_echo "no" >&6; }
3483
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3486
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -g3" >&5
3487
$as_echo_n "checking whether compiler supports -g3... " >&6; }
3489
if test "x${CFLAGS}" = "x" ; then
3492
CFLAGS="${CFLAGS} -g3"
3494
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3495
/* end confdefs.h. */
3508
if ac_fn_c_try_compile "$LINENO"; then :
3509
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3510
$as_echo "yes" >&6; }
3512
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3513
$as_echo "no" >&6; }
3517
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3519
elif test "x$je_cv_msvc" = "xyes" ; then
3522
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Zi" >&5
3523
$as_echo_n "checking whether compiler supports -Zi... " >&6; }
3525
if test "x${CFLAGS}" = "x" ; then
3528
CFLAGS="${CFLAGS} -Zi"
3530
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3531
/* end confdefs.h. */
3544
if ac_fn_c_try_compile "$LINENO"; then :
3545
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3546
$as_echo "yes" >&6; }
3548
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3549
$as_echo "no" >&6; }
3553
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3556
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -MT" >&5
3557
$as_echo_n "checking whether compiler supports -MT... " >&6; }
3559
if test "x${CFLAGS}" = "x" ; then
3562
CFLAGS="${CFLAGS} -MT"
3564
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3565
/* end confdefs.h. */
3578
if ac_fn_c_try_compile "$LINENO"; then :
3579
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3580
$as_echo "yes" >&6; }
3582
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3583
$as_echo "no" >&6; }
3587
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3590
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -W3" >&5
3591
$as_echo_n "checking whether compiler supports -W3... " >&6; }
3593
if test "x${CFLAGS}" = "x" ; then
3596
CFLAGS="${CFLAGS} -W3"
3598
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3599
/* end confdefs.h. */
3612
if ac_fn_c_try_compile "$LINENO"; then :
3613
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3614
$as_echo "yes" >&6; }
3616
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3617
$as_echo "no" >&6; }
3621
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3623
CPPFLAGS="$CPPFLAGS -I${srcroot}/include/msvc_compat"
3626
if test "x$EXTRA_CFLAGS" != "x" ; then
3628
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports $EXTRA_CFLAGS" >&5
3629
$as_echo_n "checking whether compiler supports $EXTRA_CFLAGS... " >&6; }
3631
if test "x${CFLAGS}" = "x" ; then
3632
CFLAGS="$EXTRA_CFLAGS"
3634
CFLAGS="${CFLAGS} $EXTRA_CFLAGS"
3636
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3637
/* end confdefs.h. */
3650
if ac_fn_c_try_compile "$LINENO"; then :
3651
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3652
$as_echo "yes" >&6; }
3654
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3655
$as_echo "no" >&6; }
3659
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3663
ac_cpp='$CPP $CPPFLAGS'
3664
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3665
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3666
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3667
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3668
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3669
# On Suns, sometimes $CPP names a directory.
3670
if test -n "$CPP" && test -d "$CPP"; then
3673
if test -z "$CPP"; then
3674
if ${ac_cv_prog_CPP+:} false; then :
3675
$as_echo_n "(cached) " >&6
3677
# Double quotes because CPP needs to be expanded
3678
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3681
for ac_c_preproc_warn_flag in '' yes
3683
# Use a header file that comes with gcc, so configuring glibc
3684
# with a fresh cross-compiler works.
3685
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3686
# <limits.h> exists even on freestanding compilers.
3687
# On the NeXT, cc -E runs the code through the compiler's parser,
3688
# not just through cpp. "Syntax error" is here to catch this case.
3689
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3690
/* end confdefs.h. */
3692
# include <limits.h>
3694
# include <assert.h>
3698
if ac_fn_c_try_cpp "$LINENO"; then :
3701
# Broken: fails on valid input.
3704
rm -f conftest.err conftest.i conftest.$ac_ext
3706
# OK, works on sane cases. Now check whether nonexistent headers
3707
# can be detected and how.
3708
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3709
/* end confdefs.h. */
3710
#include <ac_nonexistent.h>
3712
if ac_fn_c_try_cpp "$LINENO"; then :
3713
# Broken: success on invalid input.
3716
# Passes both tests.
3720
rm -f conftest.err conftest.i conftest.$ac_ext
3723
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3724
rm -f conftest.i conftest.err conftest.$ac_ext
3725
if $ac_preproc_ok; then :
3737
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3738
$as_echo "$CPP" >&6; }
3740
for ac_c_preproc_warn_flag in '' yes
3742
# Use a header file that comes with gcc, so configuring glibc
3743
# with a fresh cross-compiler works.
3744
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3745
# <limits.h> exists even on freestanding compilers.
3746
# On the NeXT, cc -E runs the code through the compiler's parser,
3747
# not just through cpp. "Syntax error" is here to catch this case.
3748
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3749
/* end confdefs.h. */
3751
# include <limits.h>
3753
# include <assert.h>
3757
if ac_fn_c_try_cpp "$LINENO"; then :
3760
# Broken: fails on valid input.
3763
rm -f conftest.err conftest.i conftest.$ac_ext
3765
# OK, works on sane cases. Now check whether nonexistent headers
3766
# can be detected and how.
3767
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3768
/* end confdefs.h. */
3769
#include <ac_nonexistent.h>
3771
if ac_fn_c_try_cpp "$LINENO"; then :
3772
# Broken: success on invalid input.
3775
# Passes both tests.
3779
rm -f conftest.err conftest.i conftest.$ac_ext
3782
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3783
rm -f conftest.i conftest.err conftest.$ac_ext
3784
if $ac_preproc_ok; then :
3787
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3788
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3789
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3790
See \`config.log' for more details" "$LINENO" 5; }
3794
ac_cpp='$CPP $CPPFLAGS'
3795
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3796
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3797
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3801
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3802
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3803
if ${ac_cv_path_GREP+:} false; then :
3804
$as_echo_n "(cached) " >&6
3806
if test -z "$GREP"; then
3807
ac_path_GREP_found=false
3808
# Loop through the user's path and test for each of PROGNAME-LIST
3809
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3810
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3813
test -z "$as_dir" && as_dir=.
3814
for ac_prog in grep ggrep; do
3815
for ac_exec_ext in '' $ac_executable_extensions; do
3816
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3817
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3818
# Check for GNU ac_path_GREP and select it if it is found.
3819
# Check for GNU $ac_path_GREP
3820
case `"$ac_path_GREP" --version 2>&1` in
3822
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3825
$as_echo_n 0123456789 >"conftest.in"
3828
cat "conftest.in" "conftest.in" >"conftest.tmp"
3829
mv "conftest.tmp" "conftest.in"
3830
cp "conftest.in" "conftest.nl"
3831
$as_echo 'GREP' >> "conftest.nl"
3832
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3833
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3834
as_fn_arith $ac_count + 1 && ac_count=$as_val
3835
if test $ac_count -gt ${ac_path_GREP_max-0}; then
3836
# Best one so far, save it but keep looking for a better one
3837
ac_cv_path_GREP="$ac_path_GREP"
3838
ac_path_GREP_max=$ac_count
3840
# 10*(2^10) chars as input seems more than enough
3841
test $ac_count -gt 10 && break
3843
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3846
$ac_path_GREP_found && break 3
3851
if test -z "$ac_cv_path_GREP"; then
3852
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3855
ac_cv_path_GREP=$GREP
3859
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3860
$as_echo "$ac_cv_path_GREP" >&6; }
3861
GREP="$ac_cv_path_GREP"
3864
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3865
$as_echo_n "checking for egrep... " >&6; }
3866
if ${ac_cv_path_EGREP+:} false; then :
3867
$as_echo_n "(cached) " >&6
3869
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3870
then ac_cv_path_EGREP="$GREP -E"
3872
if test -z "$EGREP"; then
3873
ac_path_EGREP_found=false
3874
# Loop through the user's path and test for each of PROGNAME-LIST
3875
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3876
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3879
test -z "$as_dir" && as_dir=.
3880
for ac_prog in egrep; do
3881
for ac_exec_ext in '' $ac_executable_extensions; do
3882
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3883
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3884
# Check for GNU ac_path_EGREP and select it if it is found.
3885
# Check for GNU $ac_path_EGREP
3886
case `"$ac_path_EGREP" --version 2>&1` in
3888
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3891
$as_echo_n 0123456789 >"conftest.in"
3894
cat "conftest.in" "conftest.in" >"conftest.tmp"
3895
mv "conftest.tmp" "conftest.in"
3896
cp "conftest.in" "conftest.nl"
3897
$as_echo 'EGREP' >> "conftest.nl"
3898
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3899
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3900
as_fn_arith $ac_count + 1 && ac_count=$as_val
3901
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3902
# Best one so far, save it but keep looking for a better one
3903
ac_cv_path_EGREP="$ac_path_EGREP"
3904
ac_path_EGREP_max=$ac_count
3906
# 10*(2^10) chars as input seems more than enough
3907
test $ac_count -gt 10 && break
3909
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3912
$ac_path_EGREP_found && break 3
3917
if test -z "$ac_cv_path_EGREP"; then
3918
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3921
ac_cv_path_EGREP=$EGREP
3926
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3927
$as_echo "$ac_cv_path_EGREP" >&6; }
3928
EGREP="$ac_cv_path_EGREP"
3931
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3932
$as_echo_n "checking for ANSI C header files... " >&6; }
3933
if ${ac_cv_header_stdc+:} false; then :
3934
$as_echo_n "(cached) " >&6
3936
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3937
/* end confdefs.h. */
3951
if ac_fn_c_try_compile "$LINENO"; then :
3952
ac_cv_header_stdc=yes
3954
ac_cv_header_stdc=no
3956
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3958
if test $ac_cv_header_stdc = yes; then
3959
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3960
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3961
/* end confdefs.h. */
3965
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3966
$EGREP "memchr" >/dev/null 2>&1; then :
3969
ac_cv_header_stdc=no
3975
if test $ac_cv_header_stdc = yes; then
3976
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3977
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3978
/* end confdefs.h. */
3982
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3983
$EGREP "free" >/dev/null 2>&1; then :
3986
ac_cv_header_stdc=no
3992
if test $ac_cv_header_stdc = yes; then
3993
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3994
if test "$cross_compiling" = yes; then :
3997
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3998
/* end confdefs.h. */
4001
#if ((' ' & 0x0FF) == 0x020)
4002
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4003
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4005
# define ISLOWER(c) \
4006
(('a' <= (c) && (c) <= 'i') \
4007
|| ('j' <= (c) && (c) <= 'r') \
4008
|| ('s' <= (c) && (c) <= 'z'))
4009
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4012
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4017
for (i = 0; i < 256; i++)
4018
if (XOR (islower (i), ISLOWER (i))
4019
|| toupper (i) != TOUPPER (i))
4024
if ac_fn_c_try_run "$LINENO"; then :
4027
ac_cv_header_stdc=no
4029
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4030
conftest.$ac_objext conftest.beam conftest.$ac_ext
4035
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4036
$as_echo "$ac_cv_header_stdc" >&6; }
4037
if test $ac_cv_header_stdc = yes; then
4039
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4043
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4044
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4045
inttypes.h stdint.h unistd.h
4047
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4048
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4050
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4051
cat >>confdefs.h <<_ACEOF
4052
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4060
# The cast to long int works around a bug in the HP C Compiler
4061
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4062
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4063
# This bug is HP SR number 8606223364.
4064
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
4065
$as_echo_n "checking size of void *... " >&6; }
4066
if ${ac_cv_sizeof_void_p+:} false; then :
4067
$as_echo_n "(cached) " >&6
4069
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
4072
if test "$ac_cv_type_void_p" = yes; then
4073
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4074
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4075
as_fn_error 77 "cannot compute sizeof (void *)
4076
See \`config.log' for more details" "$LINENO" 5; }
4078
ac_cv_sizeof_void_p=0
4083
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
4084
$as_echo "$ac_cv_sizeof_void_p" >&6; }
4088
cat >>confdefs.h <<_ACEOF
4089
#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
4093
if test "x${ac_cv_sizeof_void_p}" = "x8" ; then
4095
elif test "x${ac_cv_sizeof_void_p}" = "x4" ; then
4098
as_fn_error $? "Unsupported pointer size: ${ac_cv_sizeof_void_p}" "$LINENO" 5
4100
cat >>confdefs.h <<_ACEOF
4101
#define LG_SIZEOF_PTR $LG_SIZEOF_PTR
4105
# The cast to long int works around a bug in the HP C Compiler
4106
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4107
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4108
# This bug is HP SR number 8606223364.
4109
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
4110
$as_echo_n "checking size of int... " >&6; }
4111
if ${ac_cv_sizeof_int+:} false; then :
4112
$as_echo_n "(cached) " >&6
4114
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
4117
if test "$ac_cv_type_int" = yes; then
4118
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4119
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4120
as_fn_error 77 "cannot compute sizeof (int)
4121
See \`config.log' for more details" "$LINENO" 5; }
4128
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
4129
$as_echo "$ac_cv_sizeof_int" >&6; }
4133
cat >>confdefs.h <<_ACEOF
4134
#define SIZEOF_INT $ac_cv_sizeof_int
4138
if test "x${ac_cv_sizeof_int}" = "x8" ; then
4140
elif test "x${ac_cv_sizeof_int}" = "x4" ; then
4143
as_fn_error $? "Unsupported int size: ${ac_cv_sizeof_int}" "$LINENO" 5
4145
cat >>confdefs.h <<_ACEOF
4146
#define LG_SIZEOF_INT $LG_SIZEOF_INT
4150
# The cast to long int works around a bug in the HP C Compiler
4151
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4152
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4153
# This bug is HP SR number 8606223364.
4154
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
4155
$as_echo_n "checking size of long... " >&6; }
4156
if ${ac_cv_sizeof_long+:} false; then :
4157
$as_echo_n "(cached) " >&6
4159
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
4162
if test "$ac_cv_type_long" = yes; then
4163
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4164
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4165
as_fn_error 77 "cannot compute sizeof (long)
4166
See \`config.log' for more details" "$LINENO" 5; }
4173
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
4174
$as_echo "$ac_cv_sizeof_long" >&6; }
4178
cat >>confdefs.h <<_ACEOF
4179
#define SIZEOF_LONG $ac_cv_sizeof_long
4183
if test "x${ac_cv_sizeof_long}" = "x8" ; then
4185
elif test "x${ac_cv_sizeof_long}" = "x4" ; then
4188
as_fn_error $? "Unsupported long size: ${ac_cv_sizeof_long}" "$LINENO" 5
4190
cat >>confdefs.h <<_ACEOF
4191
#define LG_SIZEOF_LONG $LG_SIZEOF_LONG
4195
# The cast to long int works around a bug in the HP C Compiler
4196
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4197
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4198
# This bug is HP SR number 8606223364.
4199
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of intmax_t" >&5
4200
$as_echo_n "checking size of intmax_t... " >&6; }
4201
if ${ac_cv_sizeof_intmax_t+:} false; then :
4202
$as_echo_n "(cached) " >&6
4204
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (intmax_t))" "ac_cv_sizeof_intmax_t" "$ac_includes_default"; then :
4207
if test "$ac_cv_type_intmax_t" = yes; then
4208
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4209
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4210
as_fn_error 77 "cannot compute sizeof (intmax_t)
4211
See \`config.log' for more details" "$LINENO" 5; }
4213
ac_cv_sizeof_intmax_t=0
4218
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_intmax_t" >&5
4219
$as_echo "$ac_cv_sizeof_intmax_t" >&6; }
4223
cat >>confdefs.h <<_ACEOF
4224
#define SIZEOF_INTMAX_T $ac_cv_sizeof_intmax_t
4228
if test "x${ac_cv_sizeof_intmax_t}" = "x16" ; then
4229
LG_SIZEOF_INTMAX_T=4
4230
elif test "x${ac_cv_sizeof_intmax_t}" = "x8" ; then
4231
LG_SIZEOF_INTMAX_T=3
4232
elif test "x${ac_cv_sizeof_intmax_t}" = "x4" ; then
4233
LG_SIZEOF_INTMAX_T=2
4235
as_fn_error $? "Unsupported intmax_t size: ${ac_cv_sizeof_intmax_t}" "$LINENO" 5
4237
cat >>confdefs.h <<_ACEOF
4238
#define LG_SIZEOF_INTMAX_T $LG_SIZEOF_INTMAX_T
4243
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
4244
if test -f "$ac_dir/install-sh"; then
4246
ac_install_sh="$ac_aux_dir/install-sh -c"
4248
elif test -f "$ac_dir/install.sh"; then
4250
ac_install_sh="$ac_aux_dir/install.sh -c"
4252
elif test -f "$ac_dir/shtool"; then
4254
ac_install_sh="$ac_aux_dir/shtool install -c"
4258
if test -z "$ac_aux_dir"; then
4259
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
4262
# These three variables are undocumented and unsupported,
4263
# and are intended to be withdrawn in a future Autoconf release.
4264
# They can cause serious problems if a builder's source tree is in a directory
4265
# whose full name contains unusual characters.
4266
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
4267
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
4268
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
4271
# Make sure we can run config.sub.
4272
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4273
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4275
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4276
$as_echo_n "checking build system type... " >&6; }
4277
if ${ac_cv_build+:} false; then :
4278
$as_echo_n "(cached) " >&6
4280
ac_build_alias=$build_alias
4281
test "x$ac_build_alias" = x &&
4282
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4283
test "x$ac_build_alias" = x &&
4284
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4285
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4286
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4289
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4290
$as_echo "$ac_cv_build" >&6; }
4291
case $ac_cv_build in
4293
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4296
ac_save_IFS=$IFS; IFS='-'
4302
# Remember, the first character of IFS is used to create $*,
4303
# except with old shells:
4306
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4309
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4310
$as_echo_n "checking host system type... " >&6; }
4311
if ${ac_cv_host+:} false; then :
4312
$as_echo_n "(cached) " >&6
4314
if test "x$host_alias" = x; then
4315
ac_cv_host=$ac_cv_build
4317
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4318
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4322
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4323
$as_echo "$ac_cv_host" >&6; }
4326
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4329
ac_save_IFS=$IFS; IFS='-'
4335
# Remember, the first character of IFS is used to create $*,
4336
# except with old shells:
4339
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4343
case "${host_cpu}" in
4348
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __asm__ is compilable" >&5
4349
$as_echo_n "checking whether __asm__ is compilable... " >&6; }
4350
if ${je_cv_asm+:} false; then :
4351
$as_echo_n "(cached) " >&6
4353
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4354
/* end confdefs.h. */
4359
__asm__ volatile("pause"); return 0;
4364
if ac_fn_c_try_link "$LINENO"; then :
4369
rm -f core conftest.err conftest.$ac_objext \
4370
conftest$ac_exeext conftest.$ac_ext
4372
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $je_cv_asm" >&5
4373
$as_echo "$je_cv_asm" >&6; }
4375
if test "x${je_cv_asm}" = "xyes" ; then
4376
CPU_SPINWAIT='__asm__ volatile("pause")'
4381
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __asm__ syntax is compilable" >&5
4382
$as_echo_n "checking whether __asm__ syntax is compilable... " >&6; }
4383
if ${je_cv_asm+:} false; then :
4384
$as_echo_n "(cached) " >&6
4386
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4387
/* end confdefs.h. */
4392
__asm__ volatile("pause"); return 0;
4397
if ac_fn_c_try_link "$LINENO"; then :
4402
rm -f core conftest.err conftest.$ac_objext \
4403
conftest$ac_exeext conftest.$ac_ext
4405
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $je_cv_asm" >&5
4406
$as_echo "$je_cv_asm" >&6; }
4408
if test "x${je_cv_asm}" = "xyes" ; then
4409
CPU_SPINWAIT='__asm__ volatile("pause")'
4415
cat >>confdefs.h <<_ACEOF
4416
#define CPU_SPINWAIT $CPU_SPINWAIT
4420
LD_PRELOAD_VAR="LD_PRELOAD"
4427
DSO_LDFLAGS='-shared -Wl,-soname,$(@F)'
4428
RPATH='-Wl,-rpath,$(1)'
4429
SOREV="${so}.${rev}"
4430
PIC_CFLAGS='-fPIC -DPIC'
4438
JEMALLOC_USABLE_SIZE_CONST="const"
4443
$as_echo "#define JEMALLOC_PURGE_MADVISE_FREE " >>confdefs.h
4446
LD_PRELOAD_VAR="DYLD_INSERT_LIBRARIES"
4450
DSO_LDFLAGS='-shared -Wl,-dylib_install_name,$(@F)'
4451
SOREV="${rev}.${so}"
4456
$as_echo "#define JEMALLOC_PURGE_MADVISE_FREE " >>confdefs.h
4462
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
4464
$as_echo "#define JEMALLOC_HAS_ALLOCA_H 1" >>confdefs.h
4466
$as_echo "#define JEMALLOC_PURGE_MADVISE_DONTNEED " >>confdefs.h
4468
$as_echo "#define JEMALLOC_THREADED_INIT " >>confdefs.h
4470
JEMALLOC_USABLE_SIZE_CONST=""
4474
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking ABI" >&5
4475
$as_echo_n "checking ABI... " >&6; }
4476
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4477
/* end confdefs.h. */
4492
if ac_fn_c_try_compile "$LINENO"; then :
4493
CFLAGS="$CFLAGS"; abi="elf"
4497
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4498
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $abi" >&5
4499
$as_echo "$abi" >&6; }
4500
$as_echo "#define JEMALLOC_PURGE_MADVISE_FREE " >>confdefs.h
4507
CPPFLAGS="$CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS"
4508
LIBS="$LIBS -lposix4 -lsocket -lnsl"
4511
if "$LG_SIZEOF_PTR" = "8"; then
4512
LD_PRELOAD_VAR="LDR_PRELOAD64"
4514
LD_PRELOAD_VAR="LDR_PRELOAD"
4523
if test "x$je_cv_msvc" = "xyes" ; then
4526
EXTRA_LDFLAGS="-link -DEBUG"
4529
MKLIB='lib -nologo -out:$@'
4533
DSO_LDFLAGS="-shared"
4541
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Unsupported operating system: ${host}" >&5
4542
$as_echo "Unsupported operating system: ${host}" >&6; }
4546
cat >>confdefs.h <<_ACEOF
4547
#define JEMALLOC_USABLE_SIZE_CONST $JEMALLOC_USABLE_SIZE_CONST
4568
if test "x$abi" != "xpecoff"; then
4573
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __attribute__ syntax is compilable" >&5
4574
$as_echo_n "checking whether __attribute__ syntax is compilable... " >&6; }
4575
if ${je_cv_attribute+:} false; then :
4576
$as_echo_n "(cached) " >&6
4578
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4579
/* end confdefs.h. */
4580
static __attribute__((unused)) void foo(void){}
4589
if ac_fn_c_try_link "$LINENO"; then :
4594
rm -f core conftest.err conftest.$ac_objext \
4595
conftest$ac_exeext conftest.$ac_ext
4597
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $je_cv_attribute" >&5
4598
$as_echo "$je_cv_attribute" >&6; }
4600
if test "x${je_cv_attribute}" = "xyes" ; then
4601
$as_echo "#define JEMALLOC_HAVE_ATTR " >>confdefs.h
4603
if test "x${GCC}" = "xyes" -a "x${abi}" = "xelf"; then
4605
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -fvisibility=hidden" >&5
4606
$as_echo_n "checking whether compiler supports -fvisibility=hidden... " >&6; }
4608
if test "x${CFLAGS}" = "x" ; then
4609
CFLAGS="-fvisibility=hidden"
4611
CFLAGS="${CFLAGS} -fvisibility=hidden"
4613
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4614
/* end confdefs.h. */
4627
if ac_fn_c_try_compile "$LINENO"; then :
4628
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4629
$as_echo "yes" >&6; }
4631
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4632
$as_echo "no" >&6; }
4636
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4640
SAVED_CFLAGS="${CFLAGS}"
4642
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -Werror" >&5
4643
$as_echo_n "checking whether compiler supports -Werror... " >&6; }
4645
if test "x${CFLAGS}" = "x" ; then
4648
CFLAGS="${CFLAGS} -Werror"
4650
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4651
/* end confdefs.h. */
4664
if ac_fn_c_try_compile "$LINENO"; then :
4665
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4666
$as_echo "yes" >&6; }
4668
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4669
$as_echo "no" >&6; }
4673
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4676
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tls_model attribute is compilable" >&5
4677
$as_echo_n "checking whether tls_model attribute is compilable... " >&6; }
4678
if ${je_cv_tls_model+:} false; then :
4679
$as_echo_n "(cached) " >&6
4681
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4682
/* end confdefs.h. */
4688
__attribute__((tls_model("initial-exec"))) foo;
4694
if ac_fn_c_try_link "$LINENO"; then :
4699
rm -f core conftest.err conftest.$ac_objext \
4700
conftest$ac_exeext conftest.$ac_ext
4702
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $je_cv_tls_model" >&5
4703
$as_echo "$je_cv_tls_model" >&6; }
4705
CFLAGS="${SAVED_CFLAGS}"
4706
if test "x${je_cv_tls_model}" = "xyes" ; then
4707
$as_echo "#define JEMALLOC_TLS_MODEL __attribute__((tls_model(\"initial-exec\")))" >>confdefs.h
4710
$as_echo "#define JEMALLOC_TLS_MODEL " >>confdefs.h
4715
# Check whether --with-rpath was given.
4716
if test "${with_rpath+set}" = set; then :
4717
withval=$with_rpath; if test "x$with_rpath" = "xno" ; then
4720
RPATH_EXTRA="`echo $with_rpath | tr \":\" \" \"`"
4729
# Check whether --enable-autogen was given.
4730
if test "${enable_autogen+set}" = set; then :
4731
enableval=$enable_autogen; if test "x$enable_autogen" = "xno" ; then
4744
# Find a good install program. We prefer a C program (faster),
4745
# so one script is as good as another. But avoid the broken or
4746
# incompatible versions:
4747
# SysV /etc/install, /usr/sbin/install
4748
# SunOS /usr/etc/install
4749
# IRIX /sbin/install
4751
# AmigaOS /C/install, which installs bootblocks on floppy discs
4752
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4753
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
4754
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4755
# OS/2's system install, which has a completely different semantic
4756
# ./install, which can be erroneously created by make from ./install.sh.
4757
# Reject install programs that cannot install multiple files.
4758
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4759
$as_echo_n "checking for a BSD-compatible install... " >&6; }
4760
if test -z "$INSTALL"; then
4761
if ${ac_cv_path_install+:} false; then :
4762
$as_echo_n "(cached) " >&6
4764
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4768
test -z "$as_dir" && as_dir=.
4769
# Account for people who put trailing slashes in PATH elements.
4770
case $as_dir/ in #((
4771
./ | .// | /[cC]/* | \
4772
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4773
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4776
# OSF1 and SCO ODT 3.0 have their own names for install.
4777
# Don't use installbsd from OSF since it installs stuff as root
4779
for ac_prog in ginstall scoinst install; do
4780
for ac_exec_ext in '' $ac_executable_extensions; do
4781
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4782
if test $ac_prog = install &&
4783
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4784
# AIX install. It has an incompatible calling convention.
4786
elif test $ac_prog = install &&
4787
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4788
# program-specific install script used by HP pwplus--don't use.
4791
rm -rf conftest.one conftest.two conftest.dir
4792
echo one > conftest.one
4793
echo two > conftest.two
4795
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4796
test -s conftest.one && test -s conftest.two &&
4797
test -s conftest.dir/conftest.one &&
4798
test -s conftest.dir/conftest.two
4800
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4813
rm -rf conftest.one conftest.two conftest.dir
4816
if test "${ac_cv_path_install+set}" = set; then
4817
INSTALL=$ac_cv_path_install
4819
# As a last resort, use the slow shell script. Don't cache a
4820
# value for INSTALL within a source directory, because that will
4821
# break other packages using the cache if that directory is
4822
# removed, or if the value is a relative name.
4823
INSTALL=$ac_install_sh
4826
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4827
$as_echo "$INSTALL" >&6; }
4829
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4830
# It thinks the first close brace ends the variable substitution.
4831
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4833
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4835
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4837
if test -n "$ac_tool_prefix"; then
4838
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4839
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4840
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4841
$as_echo_n "checking for $ac_word... " >&6; }
4842
if ${ac_cv_prog_RANLIB+:} false; then :
4843
$as_echo_n "(cached) " >&6
4845
if test -n "$RANLIB"; then
4846
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4848
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4852
test -z "$as_dir" && as_dir=.
4853
for ac_exec_ext in '' $ac_executable_extensions; do
4854
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4855
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4856
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4865
RANLIB=$ac_cv_prog_RANLIB
4866
if test -n "$RANLIB"; then
4867
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4868
$as_echo "$RANLIB" >&6; }
4870
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4871
$as_echo "no" >&6; }
4876
if test -z "$ac_cv_prog_RANLIB"; then
4877
ac_ct_RANLIB=$RANLIB
4878
# Extract the first word of "ranlib", so it can be a program name with args.
4879
set dummy ranlib; ac_word=$2
4880
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4881
$as_echo_n "checking for $ac_word... " >&6; }
4882
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4883
$as_echo_n "(cached) " >&6
4885
if test -n "$ac_ct_RANLIB"; then
4886
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4888
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4892
test -z "$as_dir" && as_dir=.
4893
for ac_exec_ext in '' $ac_executable_extensions; do
4894
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4895
ac_cv_prog_ac_ct_RANLIB="ranlib"
4896
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4905
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4906
if test -n "$ac_ct_RANLIB"; then
4907
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4908
$as_echo "$ac_ct_RANLIB" >&6; }
4910
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4911
$as_echo "no" >&6; }
4914
if test "x$ac_ct_RANLIB" = x; then
4917
case $cross_compiling:$ac_tool_warned in
4919
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4920
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4921
ac_tool_warned=yes ;;
4923
RANLIB=$ac_ct_RANLIB
4926
RANLIB="$ac_cv_prog_RANLIB"
4929
# Extract the first word of "ar", so it can be a program name with args.
4930
set dummy ar; ac_word=$2
4931
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4932
$as_echo_n "checking for $ac_word... " >&6; }
4933
if ${ac_cv_path_AR+:} false; then :
4934
$as_echo_n "(cached) " >&6
4938
ac_cv_path_AR="$AR" # Let the user override the test with a path.
4941
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4945
test -z "$as_dir" && as_dir=.
4946
for ac_exec_ext in '' $ac_executable_extensions; do
4947
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4948
ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
4949
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4956
test -z "$ac_cv_path_AR" && ac_cv_path_AR="false"
4961
if test -n "$AR"; then
4962
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4963
$as_echo "$AR" >&6; }
4965
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4966
$as_echo "no" >&6; }
4970
# Extract the first word of "ld", so it can be a program name with args.
4971
set dummy ld; ac_word=$2
4972
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4973
$as_echo_n "checking for $ac_word... " >&6; }
4974
if ${ac_cv_path_LD+:} false; then :
4975
$as_echo_n "(cached) " >&6
4979
ac_cv_path_LD="$LD" # Let the user override the test with a path.
4982
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4986
test -z "$as_dir" && as_dir=.
4987
for ac_exec_ext in '' $ac_executable_extensions; do
4988
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4989
ac_cv_path_LD="$as_dir/$ac_word$ac_exec_ext"
4990
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4997
test -z "$ac_cv_path_LD" && ac_cv_path_LD="false"
5002
if test -n "$LD"; then
5003
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5004
$as_echo "$LD" >&6; }
5006
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5007
$as_echo "no" >&6; }
5011
# Extract the first word of "autoconf", so it can be a program name with args.
5012
set dummy autoconf; ac_word=$2
5013
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5014
$as_echo_n "checking for $ac_word... " >&6; }
5015
if ${ac_cv_path_AUTOCONF+:} false; then :
5016
$as_echo_n "(cached) " >&6
5020
ac_cv_path_AUTOCONF="$AUTOCONF" # Let the user override the test with a path.
5023
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5027
test -z "$as_dir" && as_dir=.
5028
for ac_exec_ext in '' $ac_executable_extensions; do
5029
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5030
ac_cv_path_AUTOCONF="$as_dir/$ac_word$ac_exec_ext"
5031
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5038
test -z "$ac_cv_path_AUTOCONF" && ac_cv_path_AUTOCONF="false"
5042
AUTOCONF=$ac_cv_path_AUTOCONF
5043
if test -n "$AUTOCONF"; then
5044
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
5045
$as_echo "$AUTOCONF" >&6; }
5047
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5048
$as_echo "no" >&6; }
5053
public_syms="malloc_conf malloc_message malloc calloc posix_memalign aligned_alloc realloc free malloc_usable_size malloc_stats_print mallctl mallctlnametomib mallctlbymib"
5055
ac_fn_c_check_func "$LINENO" "memalign" "ac_cv_func_memalign"
5056
if test "x$ac_cv_func_memalign" = xyes; then :
5057
$as_echo "#define JEMALLOC_OVERRIDE_MEMALIGN " >>confdefs.h
5059
public_syms="${public_syms} memalign"
5062
ac_fn_c_check_func "$LINENO" "valloc" "ac_cv_func_valloc"
5063
if test "x$ac_cv_func_valloc" = xyes; then :
5064
$as_echo "#define JEMALLOC_OVERRIDE_VALLOC " >>confdefs.h
5066
public_syms="${public_syms} valloc"
5070
# Check whether --enable-experimental was given.
5071
if test "${enable_experimental+set}" = set; then :
5072
enableval=$enable_experimental; if test "x$enable_experimental" = "xno" ; then
5073
enable_experimental="0"
5075
enable_experimental="1"
5079
enable_experimental="1"
5083
if test "x$enable_experimental" = "x1" ; then
5084
$as_echo "#define JEMALLOC_EXPERIMENTAL " >>confdefs.h
5086
public_syms="${public_syms} allocm dallocm nallocm rallocm sallocm"
5091
# Check whether --with-mangling was given.
5092
if test "${with_mangling+set}" = set; then :
5093
withval=$with_mangling; mangling_map="$with_mangling"
5098
for nm in `echo ${mangling_map} |tr ',' ' '` ; do
5099
k="`echo ${nm} |tr ':' ' ' |awk '{print $1}'`"
5101
m=`echo ${nm} |tr ':' ' ' |awk '{print $2}'`
5102
cat >>confdefs.h <<_ACEOF
5106
public_syms=`for sym in ${public_syms}; do echo "${sym}"; done |grep -v "^${k}\$" |tr '\n' ' '`
5110
# Check whether --with-jemalloc_prefix was given.
5111
if test "${with_jemalloc_prefix+set}" = set; then :
5112
withval=$with_jemalloc_prefix; JEMALLOC_PREFIX="$with_jemalloc_prefix"
5114
if test "x$abi" != "xmacho" -a "x$abi" != "xpecoff"; then
5117
JEMALLOC_PREFIX="je_"
5122
if test "x$JEMALLOC_PREFIX" != "x" ; then
5123
JEMALLOC_CPREFIX=`echo ${JEMALLOC_PREFIX} | tr "a-z" "A-Z"`
5124
cat >>confdefs.h <<_ACEOF
5125
#define JEMALLOC_PREFIX "$JEMALLOC_PREFIX"
5128
cat >>confdefs.h <<_ACEOF
5129
#define JEMALLOC_CPREFIX "$JEMALLOC_CPREFIX"
5133
for stem in ${public_syms}; do
5135
m="${JEMALLOC_PREFIX}${stem}"
5136
cat >>confdefs.h <<_ACEOF
5143
# Check whether --with-export was given.
5144
if test "${with_export+set}" = set; then :
5145
withval=$with_export; if test "x$with_export" = "xno"; then
5146
$as_echo "#define JEMALLOC_EXPORT /**/" >>confdefs.h
5154
# Check whether --with-private_namespace was given.
5155
if test "${with_private_namespace+set}" = set; then :
5156
withval=$with_private_namespace; JEMALLOC_PRIVATE_NAMESPACE="$with_private_namespace"
5158
JEMALLOC_PRIVATE_NAMESPACE=""
5162
cat >>confdefs.h <<_ACEOF
5163
#define JEMALLOC_PRIVATE_NAMESPACE "$JEMALLOC_PRIVATE_NAMESPACE"
5166
if test "x$JEMALLOC_PRIVATE_NAMESPACE" != "x" ; then
5167
cat >>confdefs.h <<_ACEOF
5168
#define JEMALLOC_N(string_that_no_one_should_want_to_use_as_a_jemalloc_private_namespace_prefix) ${JEMALLOC_PRIVATE_NAMESPACE}##string_that_no_one_should_want_to_use_as_a_jemalloc_private_namespace_prefix
5172
cat >>confdefs.h <<_ACEOF
5173
#define JEMALLOC_N(string_that_no_one_should_want_to_use_as_a_jemalloc_private_namespace_prefix) string_that_no_one_should_want_to_use_as_a_jemalloc_private_namespace_prefix
5179
# Check whether --with-install_suffix was given.
5180
if test "${with_install_suffix+set}" = set; then :
5181
withval=$with_install_suffix; INSTALL_SUFFIX="$with_install_suffix"
5187
install_suffix="$INSTALL_SUFFIX"
5190
cfgoutputs_in="${srcroot}Makefile.in"
5191
cfgoutputs_in="${cfgoutputs_in} ${srcroot}doc/html.xsl.in"
5192
cfgoutputs_in="${cfgoutputs_in} ${srcroot}doc/manpages.xsl.in"
5193
cfgoutputs_in="${cfgoutputs_in} ${srcroot}doc/jemalloc.xml.in"
5194
cfgoutputs_in="${cfgoutputs_in} ${srcroot}include/jemalloc/jemalloc.h.in"
5195
cfgoutputs_in="${cfgoutputs_in} ${srcroot}include/jemalloc/internal/jemalloc_internal.h.in"
5196
cfgoutputs_in="${cfgoutputs_in} ${srcroot}test/jemalloc_test.h.in"
5198
cfgoutputs_out="Makefile"
5199
cfgoutputs_out="${cfgoutputs_out} doc/html.xsl"
5200
cfgoutputs_out="${cfgoutputs_out} doc/manpages.xsl"
5201
cfgoutputs_out="${cfgoutputs_out} doc/jemalloc${install_suffix}.xml"
5202
cfgoutputs_out="${cfgoutputs_out} include/jemalloc/jemalloc${install_suffix}.h"
5203
cfgoutputs_out="${cfgoutputs_out} include/jemalloc/internal/jemalloc_internal.h"
5204
cfgoutputs_out="${cfgoutputs_out} test/jemalloc_test.h"
5206
cfgoutputs_tup="Makefile"
5207
cfgoutputs_tup="${cfgoutputs_tup} doc/html.xsl:doc/html.xsl.in"
5208
cfgoutputs_tup="${cfgoutputs_tup} doc/manpages.xsl:doc/manpages.xsl.in"
5209
cfgoutputs_tup="${cfgoutputs_tup} doc/jemalloc${install_suffix}.xml:doc/jemalloc.xml.in"
5210
cfgoutputs_tup="${cfgoutputs_tup} include/jemalloc/jemalloc${install_suffix}.h:include/jemalloc/jemalloc.h.in"
5211
cfgoutputs_tup="${cfgoutputs_tup} include/jemalloc/internal/jemalloc_internal.h"
5212
cfgoutputs_tup="${cfgoutputs_tup} test/jemalloc_test.h:test/jemalloc_test.h.in"
5214
cfghdrs_in="${srcroot}include/jemalloc/jemalloc_defs.h.in"
5215
cfghdrs_in="${cfghdrs_in} ${srcroot}include/jemalloc/internal/size_classes.sh"
5217
cfghdrs_out="include/jemalloc/jemalloc_defs${install_suffix}.h"
5218
cfghdrs_out="${cfghdrs_out} include/jemalloc/internal/size_classes.h"
5220
cfghdrs_tup="include/jemalloc/jemalloc_defs${install_suffix}.h:include/jemalloc/jemalloc_defs.h.in"
5222
# Check whether --enable-cc-silence was given.
5223
if test "${enable_cc_silence+set}" = set; then :
5224
enableval=$enable_cc_silence; if test "x$enable_cc_silence" = "xno" ; then
5225
enable_cc_silence="0"
5227
enable_cc_silence="1"
5231
enable_cc_silence="0"
5235
if test "x$enable_cc_silence" = "x1" ; then
5236
$as_echo "#define JEMALLOC_CC_SILENCE " >>confdefs.h
5240
# Check whether --enable-debug was given.
5241
if test "${enable_debug+set}" = set; then :
5242
enableval=$enable_debug; if test "x$enable_debug" = "xno" ; then
5253
if test "x$enable_debug" = "x1" ; then
5254
$as_echo "#define JEMALLOC_DEBUG " >>confdefs.h
5260
# Check whether --enable-ivsalloc was given.
5261
if test "${enable_ivsalloc+set}" = set; then :
5262
enableval=$enable_ivsalloc; if test "x$enable_ivsalloc" = "xno" ; then
5273
if test "x$enable_ivsalloc" = "x1" ; then
5274
$as_echo "#define JEMALLOC_IVSALLOC " >>confdefs.h
5278
if test "x$enable_debug" = "x0" -a "x$no_CFLAGS" = "xyes" ; then
5280
echo "$EXTRA_CFLAGS" | grep "\-O" >/dev/null || optimize="yes"
5281
if test "x${optimize}" = "xyes" ; then
5282
if test "x$GCC" = "xyes" ; then
5284
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -O3" >&5
5285
$as_echo_n "checking whether compiler supports -O3... " >&6; }
5287
if test "x${CFLAGS}" = "x" ; then
5290
CFLAGS="${CFLAGS} -O3"
5292
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5293
/* end confdefs.h. */
5306
if ac_fn_c_try_compile "$LINENO"; then :
5307
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5308
$as_echo "yes" >&6; }
5310
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5311
$as_echo "no" >&6; }
5315
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5318
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -funroll-loops" >&5
5319
$as_echo_n "checking whether compiler supports -funroll-loops... " >&6; }
5321
if test "x${CFLAGS}" = "x" ; then
5322
CFLAGS="-funroll-loops"
5324
CFLAGS="${CFLAGS} -funroll-loops"
5326
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5327
/* end confdefs.h. */
5340
if ac_fn_c_try_compile "$LINENO"; then :
5341
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5342
$as_echo "yes" >&6; }
5344
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5345
$as_echo "no" >&6; }
5349
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5351
elif test "x$je_cv_msvc" = "xyes" ; then
5353
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -O2" >&5
5354
$as_echo_n "checking whether compiler supports -O2... " >&6; }
5356
if test "x${CFLAGS}" = "x" ; then
5359
CFLAGS="${CFLAGS} -O2"
5361
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5362
/* end confdefs.h. */
5375
if ac_fn_c_try_compile "$LINENO"; then :
5376
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5377
$as_echo "yes" >&6; }
5379
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5380
$as_echo "no" >&6; }
5384
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5388
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -O" >&5
5389
$as_echo_n "checking whether compiler supports -O... " >&6; }
5391
if test "x${CFLAGS}" = "x" ; then
5394
CFLAGS="${CFLAGS} -O"
5396
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5397
/* end confdefs.h. */
5410
if ac_fn_c_try_compile "$LINENO"; then :
5411
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5412
$as_echo "yes" >&6; }
5414
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5415
$as_echo "no" >&6; }
5419
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5425
# Check whether --enable-stats was given.
5426
if test "${enable_stats+set}" = set; then :
5427
enableval=$enable_stats; if test "x$enable_stats" = "xno" ; then
5438
if test "x$enable_stats" = "x1" ; then
5439
$as_echo "#define JEMALLOC_STATS " >>confdefs.h
5444
# Check whether --enable-prof was given.
5445
if test "${enable_prof+set}" = set; then :
5446
enableval=$enable_prof; if test "x$enable_prof" = "xno" ; then
5457
if test "x$enable_prof" = "x1" ; then
5460
backtrace_method="N/A"
5463
# Check whether --enable-prof-libunwind was given.
5464
if test "${enable_prof_libunwind+set}" = set; then :
5465
enableval=$enable_prof_libunwind; if test "x$enable_prof_libunwind" = "xno" ; then
5466
enable_prof_libunwind="0"
5468
enable_prof_libunwind="1"
5472
enable_prof_libunwind="0"
5477
# Check whether --with-static_libunwind was given.
5478
if test "${with_static_libunwind+set}" = set; then :
5479
withval=$with_static_libunwind; if test "x$with_static_libunwind" = "xno" ; then
5482
if test ! -f "$with_static_libunwind" ; then
5483
as_fn_error $? "Static libunwind not found: $with_static_libunwind" "$LINENO" 5
5485
LUNWIND="$with_static_libunwind"
5492
if test "x$backtrace_method" = "x" -a "x$enable_prof_libunwind" = "x1" ; then
5493
for ac_header in libunwind.h
5495
ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
5496
if test "x$ac_cv_header_libunwind_h" = xyes; then :
5497
cat >>confdefs.h <<_ACEOF
5498
#define HAVE_LIBUNWIND_H 1
5502
enable_prof_libunwind="0"
5507
if test "x$LUNWIND" = "x-lunwind" ; then
5508
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace in -lunwind" >&5
5509
$as_echo_n "checking for backtrace in -lunwind... " >&6; }
5510
if ${ac_cv_lib_unwind_backtrace+:} false; then :
5511
$as_echo_n "(cached) " >&6
5513
ac_check_lib_save_LIBS=$LIBS
5514
LIBS="-lunwind $LIBS"
5515
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5516
/* end confdefs.h. */
5518
/* Override any GCC internal prototype to avoid an error.
5519
Use char because int might match the return type of a GCC
5520
builtin and then its argument prototype would still apply. */
5528
return backtrace ();
5533
if ac_fn_c_try_link "$LINENO"; then :
5534
ac_cv_lib_unwind_backtrace=yes
5536
ac_cv_lib_unwind_backtrace=no
5538
rm -f core conftest.err conftest.$ac_objext \
5539
conftest$ac_exeext conftest.$ac_ext
5540
LIBS=$ac_check_lib_save_LIBS
5542
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unwind_backtrace" >&5
5543
$as_echo "$ac_cv_lib_unwind_backtrace" >&6; }
5544
if test "x$ac_cv_lib_unwind_backtrace" = xyes; then :
5545
LIBS="$LIBS $LUNWIND"
5547
enable_prof_libunwind="0"
5551
LIBS="$LIBS $LUNWIND"
5553
if test "x${enable_prof_libunwind}" = "x1" ; then
5554
backtrace_method="libunwind"
5555
$as_echo "#define JEMALLOC_PROF_LIBUNWIND " >>confdefs.h
5560
# Check whether --enable-prof-libgcc was given.
5561
if test "${enable_prof_libgcc+set}" = set; then :
5562
enableval=$enable_prof_libgcc; if test "x$enable_prof_libgcc" = "xno" ; then
5563
enable_prof_libgcc="0"
5565
enable_prof_libgcc="1"
5569
enable_prof_libgcc="1"
5573
if test "x$backtrace_method" = "x" -a "x$enable_prof_libgcc" = "x1" \
5574
-a "x$GCC" = "xyes" ; then
5575
for ac_header in unwind.h
5577
ac_fn_c_check_header_mongrel "$LINENO" "unwind.h" "ac_cv_header_unwind_h" "$ac_includes_default"
5578
if test "x$ac_cv_header_unwind_h" = xyes; then :
5579
cat >>confdefs.h <<_ACEOF
5580
#define HAVE_UNWIND_H 1
5584
enable_prof_libgcc="0"
5589
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _Unwind_Backtrace in -lgcc" >&5
5590
$as_echo_n "checking for _Unwind_Backtrace in -lgcc... " >&6; }
5591
if ${ac_cv_lib_gcc__Unwind_Backtrace+:} false; then :
5592
$as_echo_n "(cached) " >&6
5594
ac_check_lib_save_LIBS=$LIBS
5596
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5597
/* end confdefs.h. */
5599
/* Override any GCC internal prototype to avoid an error.
5600
Use char because int might match the return type of a GCC
5601
builtin and then its argument prototype would still apply. */
5605
char _Unwind_Backtrace ();
5609
return _Unwind_Backtrace ();
5614
if ac_fn_c_try_link "$LINENO"; then :
5615
ac_cv_lib_gcc__Unwind_Backtrace=yes
5617
ac_cv_lib_gcc__Unwind_Backtrace=no
5619
rm -f core conftest.err conftest.$ac_objext \
5620
conftest$ac_exeext conftest.$ac_ext
5621
LIBS=$ac_check_lib_save_LIBS
5623
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gcc__Unwind_Backtrace" >&5
5624
$as_echo "$ac_cv_lib_gcc__Unwind_Backtrace" >&6; }
5625
if test "x$ac_cv_lib_gcc__Unwind_Backtrace" = xyes; then :
5628
enable_prof_libgcc="0"
5631
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking libgcc-based backtracing reliability on ${host_cpu}" >&5
5632
$as_echo_n "checking libgcc-based backtracing reliability on ${host_cpu}... " >&6; }
5633
case "${host_cpu}" in
5635
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unreliable" >&5
5636
$as_echo "unreliable" >&6; }
5637
enable_prof_libgcc="0";
5640
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: reliable" >&5
5641
$as_echo "reliable" >&6; }
5644
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unreliable" >&5
5645
$as_echo "unreliable" >&6; }
5646
enable_prof_libgcc="0";
5649
if test "x${enable_prof_libgcc}" = "x1" ; then
5650
backtrace_method="libgcc"
5651
$as_echo "#define JEMALLOC_PROF_LIBGCC " >>confdefs.h
5655
enable_prof_libgcc="0"
5658
# Check whether --enable-prof-gcc was given.
5659
if test "${enable_prof_gcc+set}" = set; then :
5660
enableval=$enable_prof_gcc; if test "x$enable_prof_gcc" = "xno" ; then
5671
if test "x$backtrace_method" = "x" -a "x$enable_prof_gcc" = "x1" \
5672
-a "x$GCC" = "xyes" ; then
5673
backtrace_method="gcc intrinsics"
5674
$as_echo "#define JEMALLOC_PROF_GCC " >>confdefs.h
5680
if test "x$backtrace_method" = "x" ; then
5681
backtrace_method="none (disabling profiling)"
5684
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking configured backtracing method" >&5
5685
$as_echo_n "checking configured backtracing method... " >&6; }
5686
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $backtrace_method" >&5
5687
$as_echo "$backtrace_method" >&6; }
5688
if test "x$enable_prof" = "x1" ; then
5689
if test "x${force_tls}" = "x0" ; then
5690
as_fn_error $? "Heap profiling requires TLS" "$LINENO" 5;
5693
$as_echo "#define JEMALLOC_PROF " >>confdefs.h
5698
# Check whether --enable-tcache was given.
5699
if test "${enable_tcache+set}" = set; then :
5700
enableval=$enable_tcache; if test "x$enable_tcache" = "xno" ; then
5711
if test "x$enable_tcache" = "x1" ; then
5712
$as_echo "#define JEMALLOC_TCACHE " >>confdefs.h
5717
# Check whether --enable-mremap was given.
5718
if test "${enable_mremap+set}" = set; then :
5719
enableval=$enable_mremap; if test "x$enable_mremap" = "xno" ; then
5730
if test "x$enable_mremap" = "x1" ; then
5732
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mremap(...MREMAP_FIXED...) is compilable" >&5
5733
$as_echo_n "checking whether mremap(...MREMAP_FIXED...) is compilable... " >&6; }
5734
if ${je_cv_mremap_fixed+:} false; then :
5735
$as_echo_n "(cached) " >&6
5737
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5738
/* end confdefs.h. */
5741
#include <sys/mman.h>
5747
void *p = mremap((void *)0, 0, 0, MREMAP_MAYMOVE|MREMAP_FIXED, (void *)0);
5753
if ac_fn_c_try_link "$LINENO"; then :
5754
je_cv_mremap_fixed=yes
5756
je_cv_mremap_fixed=no
5758
rm -f core conftest.err conftest.$ac_objext \
5759
conftest$ac_exeext conftest.$ac_ext
5761
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $je_cv_mremap_fixed" >&5
5762
$as_echo "$je_cv_mremap_fixed" >&6; }
5764
if test "x${je_cv_mremap_fixed}" = "xno" ; then
5768
if test "x$enable_mremap" = "x1" ; then
5769
$as_echo "#define JEMALLOC_MREMAP " >>confdefs.h
5774
# Check whether --enable-munmap was given.
5775
if test "${enable_munmap+set}" = set; then :
5776
enableval=$enable_munmap; if test "x$enable_munmap" = "xno" ; then
5783
enable_munmap="${default_munmap}"
5787
if test "x$enable_munmap" = "x1" ; then
5788
$as_echo "#define JEMALLOC_MUNMAP " >>confdefs.h
5793
# Check whether --enable-dss was given.
5794
if test "${enable_dss+set}" = set; then :
5795
enableval=$enable_dss; if test "x$enable_dss" = "xno" ; then
5806
ac_fn_c_check_func "$LINENO" "sbrk" "ac_cv_func_sbrk"
5807
if test "x$ac_cv_func_sbrk" = xyes; then :
5813
if test "x$have_sbrk" = "x1" ; then
5814
$as_echo "#define JEMALLOC_HAVE_SBRK " >>confdefs.h
5820
if test "x$enable_dss" = "x1" ; then
5821
$as_echo "#define JEMALLOC_DSS " >>confdefs.h
5826
# Check whether --enable-fill was given.
5827
if test "${enable_fill+set}" = set; then :
5828
enableval=$enable_fill; if test "x$enable_fill" = "xno" ; then
5839
if test "x$enable_fill" = "x1" ; then
5840
$as_echo "#define JEMALLOC_FILL " >>confdefs.h
5845
# Check whether --enable-utrace was given.
5846
if test "${enable_utrace+set}" = set; then :
5847
enableval=$enable_utrace; if test "x$enable_utrace" = "xno" ; then
5859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether utrace(2) is compilable" >&5
5860
$as_echo_n "checking whether utrace(2) is compilable... " >&6; }
5861
if ${je_cv_utrace+:} false; then :
5862
$as_echo_n "(cached) " >&6
5864
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5865
/* end confdefs.h. */
5867
#include <sys/types.h>
5868
#include <sys/param.h>
5869
#include <sys/time.h>
5870
#include <sys/uio.h>
5871
#include <sys/ktrace.h>
5877
utrace((void *)0, 0);
5883
if ac_fn_c_try_link "$LINENO"; then :
5888
rm -f core conftest.err conftest.$ac_objext \
5889
conftest$ac_exeext conftest.$ac_ext
5891
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $je_cv_utrace" >&5
5892
$as_echo "$je_cv_utrace" >&6; }
5894
if test "x${je_cv_utrace}" = "xno" ; then
5897
if test "x$enable_utrace" = "x1" ; then
5898
$as_echo "#define JEMALLOC_UTRACE " >>confdefs.h
5903
# Check whether --enable-valgrind was given.
5904
if test "${enable_valgrind+set}" = set; then :
5905
enableval=$enable_valgrind; if test "x$enable_valgrind" = "xno" ; then
5916
if test "x$enable_valgrind" = "x1" ; then
5918
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether valgrind is compilable" >&5
5919
$as_echo_n "checking whether valgrind is compilable... " >&6; }
5920
if ${je_cv_valgrind+:} false; then :
5921
$as_echo_n "(cached) " >&6
5923
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5924
/* end confdefs.h. */
5926
#include <valgrind/valgrind.h>
5927
#include <valgrind/memcheck.h>
5929
#if !defined(VALGRIND_RESIZEINPLACE_BLOCK)
5930
# error "Incompatible Valgrind version"
5941
if ac_fn_c_try_link "$LINENO"; then :
5946
rm -f core conftest.err conftest.$ac_objext \
5947
conftest$ac_exeext conftest.$ac_ext
5949
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $je_cv_valgrind" >&5
5950
$as_echo "$je_cv_valgrind" >&6; }
5952
if test "x${je_cv_valgrind}" = "xno" ; then
5955
if test "x$enable_valgrind" = "x1" ; then
5956
$as_echo "#define JEMALLOC_VALGRIND " >>confdefs.h
5962
# Check whether --enable-xmalloc was given.
5963
if test "${enable_xmalloc+set}" = set; then :
5964
enableval=$enable_xmalloc; if test "x$enable_xmalloc" = "xno" ; then
5975
if test "x$enable_xmalloc" = "x1" ; then
5976
$as_echo "#define JEMALLOC_XMALLOC " >>confdefs.h
5981
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking STATIC_PAGE_SHIFT" >&5
5982
$as_echo_n "checking STATIC_PAGE_SHIFT... " >&6; }
5983
if ${je_cv_static_page_shift+:} false; then :
5984
$as_echo_n "(cached) " >&6
5986
if test "$cross_compiling" = yes; then :
5987
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5988
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5989
as_fn_error $? "cannot run test program while cross compiling
5990
See \`config.log' for more details" "$LINENO" 5; }
5992
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5993
/* end confdefs.h. */
5995
#include <strings.h>
5997
#include <windows.h>
6013
result = si.dwPageSize;
6015
result = sysconf(_SC_PAGESIZE);
6020
result = ffsl(result) - 1;
6022
f = fopen("conftest.out", "w");
6026
fprintf(f, "%d\n", result);
6035
if ac_fn_c_try_run "$LINENO"; then :
6036
je_cv_static_page_shift=`cat conftest.out`
6038
je_cv_static_page_shift=undefined
6040
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6041
conftest.$ac_objext conftest.beam conftest.$ac_ext
6045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $je_cv_static_page_shift" >&5
6046
$as_echo "$je_cv_static_page_shift" >&6; }
6048
if test "x$je_cv_static_page_shift" != "xundefined"; then
6049
cat >>confdefs.h <<_ACEOF
6050
#define STATIC_PAGE_SHIFT $je_cv_static_page_shift
6054
as_fn_error $? "cannot determine value for STATIC_PAGE_SHIFT" "$LINENO" 5
6058
if test -d "${srcroot}.git" ; then
6059
git describe --long --abbrev=40 > ${srcroot}VERSION
6061
jemalloc_version=`cat ${srcroot}VERSION`
6062
jemalloc_version_major=`echo ${jemalloc_version} | tr ".g-" " " | awk '{print $1}'`
6063
jemalloc_version_minor=`echo ${jemalloc_version} | tr ".g-" " " | awk '{print $2}'`
6064
jemalloc_version_bugfix=`echo ${jemalloc_version} | tr ".g-" " " | awk '{print $3}'`
6065
jemalloc_version_nrev=`echo ${jemalloc_version} | tr ".g-" " " | awk '{print $4}'`
6066
jemalloc_version_gid=`echo ${jemalloc_version} | tr ".g-" " " | awk '{print $5}'`
6075
if test "x$abi" != "xpecoff" ; then
6076
for ac_header in pthread.h
6078
ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
6079
if test "x$ac_cv_header_pthread_h" = xyes; then :
6080
cat >>confdefs.h <<_ACEOF
6081
#define HAVE_PTHREAD_H 1
6085
as_fn_error $? "pthread.h is missing" "$LINENO" 5
6090
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
6091
$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
6092
if ${ac_cv_lib_pthread_pthread_create+:} false; then :
6093
$as_echo_n "(cached) " >&6
6095
ac_check_lib_save_LIBS=$LIBS
6096
LIBS="-lpthread $LIBS"
6097
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6098
/* end confdefs.h. */
6100
/* Override any GCC internal prototype to avoid an error.
6101
Use char because int might match the return type of a GCC
6102
builtin and then its argument prototype would still apply. */
6106
char pthread_create ();
6110
return pthread_create ();
6115
if ac_fn_c_try_link "$LINENO"; then :
6116
ac_cv_lib_pthread_pthread_create=yes
6118
ac_cv_lib_pthread_pthread_create=no
6120
rm -f core conftest.err conftest.$ac_objext \
6121
conftest$ac_exeext conftest.$ac_ext
6122
LIBS=$ac_check_lib_save_LIBS
6124
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
6125
$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
6126
if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
6127
LIBS="$LIBS -lpthread"
6129
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
6130
$as_echo_n "checking for library containing pthread_create... " >&6; }
6131
if ${ac_cv_search_pthread_create+:} false; then :
6132
$as_echo_n "(cached) " >&6
6134
ac_func_search_save_LIBS=$LIBS
6135
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6136
/* end confdefs.h. */
6138
/* Override any GCC internal prototype to avoid an error.
6139
Use char because int might match the return type of a GCC
6140
builtin and then its argument prototype would still apply. */
6144
char pthread_create ();
6148
return pthread_create ();
6153
for ac_lib in '' ; do
6154
if test -z "$ac_lib"; then
6155
ac_res="none required"
6158
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6160
if ac_fn_c_try_link "$LINENO"; then :
6161
ac_cv_search_pthread_create=$ac_res
6163
rm -f core conftest.err conftest.$ac_objext \
6165
if ${ac_cv_search_pthread_create+:} false; then :
6169
if ${ac_cv_search_pthread_create+:} false; then :
6172
ac_cv_search_pthread_create=no
6175
LIBS=$ac_func_search_save_LIBS
6177
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5
6178
$as_echo "$ac_cv_search_pthread_create" >&6; }
6179
ac_res=$ac_cv_search_pthread_create
6180
if test "$ac_res" != no; then :
6181
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6184
as_fn_error $? "libpthread is missing" "$LINENO" 5
6191
CPPFLAGS="$CPPFLAGS -D_REENTRANT"
6193
ac_fn_c_check_func "$LINENO" "_malloc_thread_cleanup" "ac_cv_func__malloc_thread_cleanup"
6194
if test "x$ac_cv_func__malloc_thread_cleanup" = xyes; then :
6195
have__malloc_thread_cleanup="1"
6197
have__malloc_thread_cleanup="0"
6201
if test "x$have__malloc_thread_cleanup" = "x1" ; then
6202
$as_echo "#define JEMALLOC_MALLOC_THREAD_CLEANUP " >>confdefs.h
6207
ac_fn_c_check_func "$LINENO" "_pthread_mutex_init_calloc_cb" "ac_cv_func__pthread_mutex_init_calloc_cb"
6208
if test "x$ac_cv_func__pthread_mutex_init_calloc_cb" = xyes; then :
6209
have__pthread_mutex_init_calloc_cb="1"
6211
have__pthread_mutex_init_calloc_cb="0"
6215
if test "x$have__pthread_mutex_init_calloc_cb" = "x1" ; then
6216
$as_echo "#define JEMALLOC_MUTEX_INIT_CB 1" >>confdefs.h
6220
# Check whether --enable-lazy_lock was given.
6221
if test "${enable_lazy_lock+set}" = set; then :
6222
enableval=$enable_lazy_lock; if test "x$enable_lazy_lock" = "xno" ; then
6223
enable_lazy_lock="0"
6225
enable_lazy_lock="1"
6229
enable_lazy_lock="0"
6233
if test "x$enable_lazy_lock" = "x0" -a "x${force_lazy_lock}" = "x1" ; then
6234
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Forcing lazy-lock to avoid allocator/threading bootstrap issues" >&5
6235
$as_echo "Forcing lazy-lock to avoid allocator/threading bootstrap issues" >&6; }
6236
enable_lazy_lock="1"
6238
if test "x$enable_lazy_lock" = "x1" ; then
6239
if test "x$abi" != "xpecoff" ; then
6240
for ac_header in dlfcn.h
6242
ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
6243
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
6244
cat >>confdefs.h <<_ACEOF
6245
#define HAVE_DLFCN_H 1
6249
as_fn_error $? "dlfcn.h is missing" "$LINENO" 5
6254
ac_fn_c_check_func "$LINENO" "dlsym" "ac_cv_func_dlsym"
6255
if test "x$ac_cv_func_dlsym" = xyes; then :
6258
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
6259
$as_echo_n "checking for dlsym in -ldl... " >&6; }
6260
if ${ac_cv_lib_dl_dlsym+:} false; then :
6261
$as_echo_n "(cached) " >&6
6263
ac_check_lib_save_LIBS=$LIBS
6265
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6266
/* end confdefs.h. */
6268
/* Override any GCC internal prototype to avoid an error.
6269
Use char because int might match the return type of a GCC
6270
builtin and then its argument prototype would still apply. */
6283
if ac_fn_c_try_link "$LINENO"; then :
6284
ac_cv_lib_dl_dlsym=yes
6286
ac_cv_lib_dl_dlsym=no
6288
rm -f core conftest.err conftest.$ac_objext \
6289
conftest$ac_exeext conftest.$ac_ext
6290
LIBS=$ac_check_lib_save_LIBS
6292
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
6293
$as_echo "$ac_cv_lib_dl_dlsym" >&6; }
6294
if test "x$ac_cv_lib_dl_dlsym" = xyes; then :
6297
as_fn_error $? "libdl is missing" "$LINENO" 5
6304
$as_echo "#define JEMALLOC_LAZY_LOCK " >>confdefs.h
6309
# Check whether --enable-tls was given.
6310
if test "${enable_tls+set}" = set; then :
6311
enableval=$enable_tls; if test "x$enable_tls" = "xno" ; then
6322
if test "x${enable_tls}" = "x0" -a "x${force_tls}" = "x1" ; then
6323
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Forcing TLS to avoid allocator/threading bootstrap issues" >&5
6324
$as_echo "Forcing TLS to avoid allocator/threading bootstrap issues" >&6; }
6327
if test "x${enable_tls}" = "x1" -a "x${force_tls}" = "x0" ; then
6328
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Forcing no TLS to avoid allocator/threading bootstrap issues" >&5
6329
$as_echo "Forcing no TLS to avoid allocator/threading bootstrap issues" >&6; }
6332
if test "x${enable_tls}" = "x1" ; then
6333
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TLS" >&5
6334
$as_echo_n "checking for TLS... " >&6; }
6335
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6336
/* end confdefs.h. */
6352
if ac_fn_c_try_compile "$LINENO"; then :
6353
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6354
$as_echo "yes" >&6; }
6356
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6357
$as_echo "no" >&6; }
6360
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6363
if test "x${enable_tls}" = "x1" ; then
6364
cat >>confdefs.h <<_ACEOF
6365
#define JEMALLOC_TLS
6368
elif test "x${force_tls}" = "x1" ; then
6369
as_fn_error $? "Failed to configure TLS, which is mandatory for correct function" "$LINENO" 5
6373
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program using ffsl is compilable" >&5
6374
$as_echo_n "checking whether a program using ffsl is compilable... " >&6; }
6375
if ${je_cv_function_ffsl+:} false; then :
6376
$as_echo_n "(cached) " >&6
6378
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6379
/* end confdefs.h. */
6382
#include <strings.h>
6390
int rv = ffsl(0x08);
6398
if ac_fn_c_try_link "$LINENO"; then :
6399
je_cv_function_ffsl=yes
6401
je_cv_function_ffsl=no
6403
rm -f core conftest.err conftest.$ac_objext \
6404
conftest$ac_exeext conftest.$ac_ext
6406
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $je_cv_function_ffsl" >&5
6407
$as_echo "$je_cv_function_ffsl" >&6; }
6409
if test "x${je_cv_function_ffsl}" != "xyes" ; then
6410
as_fn_error $? "Cannot build without ffsl(3)" "$LINENO" 5
6415
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether atomic(9) is compilable" >&5
6416
$as_echo_n "checking whether atomic(9) is compilable... " >&6; }
6417
if ${je_cv_atomic9+:} false; then :
6418
$as_echo_n "(cached) " >&6
6420
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6421
/* end confdefs.h. */
6423
#include <sys/types.h>
6424
#include <machine/atomic.h>
6425
#include <inttypes.h>
6433
volatile uint32_t *x32p = &x32;
6434
atomic_fetchadd_32(x32p, 1);
6437
unsigned long xlong = 0;
6438
volatile unsigned long *xlongp = &xlong;
6439
atomic_fetchadd_long(xlongp, 1);
6446
if ac_fn_c_try_link "$LINENO"; then :
6451
rm -f core conftest.err conftest.$ac_objext \
6452
conftest$ac_exeext conftest.$ac_ext
6454
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $je_cv_atomic9" >&5
6455
$as_echo "$je_cv_atomic9" >&6; }
6457
if test "x${je_cv_atomic9}" = "xyes" ; then
6458
$as_echo "#define JEMALLOC_ATOMIC9 1" >>confdefs.h
6464
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Darwin OSAtomic*() is compilable" >&5
6465
$as_echo_n "checking whether Darwin OSAtomic*() is compilable... " >&6; }
6466
if ${je_cv_osatomic+:} false; then :
6467
$as_echo_n "(cached) " >&6
6469
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6470
/* end confdefs.h. */
6472
#include <libkern/OSAtomic.h>
6473
#include <inttypes.h>
6481
volatile int32_t *x32p = &x32;
6482
OSAtomicAdd32(1, x32p);
6486
volatile int64_t *x64p = &x64;
6487
OSAtomicAdd64(1, x64p);
6494
if ac_fn_c_try_link "$LINENO"; then :
6499
rm -f core conftest.err conftest.$ac_objext \
6500
conftest$ac_exeext conftest.$ac_ext
6502
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $je_cv_osatomic" >&5
6503
$as_echo "$je_cv_osatomic" >&6; }
6505
if test "x${je_cv_osatomic}" = "xyes" ; then
6506
$as_echo "#define JEMALLOC_OSATOMIC " >>confdefs.h
6513
if test "x${je_cv_atomic9}" != "xyes" -a "x${je_cv_osatomic}" != "xyes" ; then
6515
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to force 32-bit __sync_{add,sub}_and_fetch()" >&5
6516
$as_echo_n "checking whether to force 32-bit __sync_{add,sub}_and_fetch()... " >&6; }
6517
if ${je_cv_sync_compare_and_swap_4+:} false; then :
6518
$as_echo_n "(cached) " >&6
6520
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6521
/* end confdefs.h. */
6529
#ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
6532
__sync_add_and_fetch(&x32, 42);
6533
__sync_sub_and_fetch(&x32, 1);
6536
#error __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 is defined, no need to force
6543
if ac_fn_c_try_link "$LINENO"; then :
6544
je_cv_sync_compare_and_swap_4=yes
6546
je_cv_sync_compare_and_swap_4=no
6548
rm -f core conftest.err conftest.$ac_objext \
6549
conftest$ac_exeext conftest.$ac_ext
6551
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $je_cv_sync_compare_and_swap_4" >&5
6552
$as_echo "$je_cv_sync_compare_and_swap_4" >&6; }
6554
if test "x${je_cv_sync_compare_and_swap_4}" = "xyes" ; then
6555
$as_echo "#define JE_FORCE_SYNC_COMPARE_AND_SWAP_4 " >>confdefs.h
6560
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to force 64-bit __sync_{add,sub}_and_fetch()" >&5
6561
$as_echo_n "checking whether to force 64-bit __sync_{add,sub}_and_fetch()... " >&6; }
6562
if ${je_cv_sync_compare_and_swap_8+:} false; then :
6563
$as_echo_n "(cached) " >&6
6565
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6566
/* end confdefs.h. */
6574
#ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
6577
__sync_add_and_fetch(&x64, 42);
6578
__sync_sub_and_fetch(&x64, 1);
6581
#error __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 is defined, no need to force
6588
if ac_fn_c_try_link "$LINENO"; then :
6589
je_cv_sync_compare_and_swap_8=yes
6591
je_cv_sync_compare_and_swap_8=no
6593
rm -f core conftest.err conftest.$ac_objext \
6594
conftest$ac_exeext conftest.$ac_ext
6596
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $je_cv_sync_compare_and_swap_8" >&5
6597
$as_echo "$je_cv_sync_compare_and_swap_8" >&6; }
6599
if test "x${je_cv_sync_compare_and_swap_8}" = "xyes" ; then
6600
$as_echo "#define JE_FORCE_SYNC_COMPARE_AND_SWAP_8 " >>confdefs.h
6608
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Darwin OSSpin*() is compilable" >&5
6609
$as_echo_n "checking whether Darwin OSSpin*() is compilable... " >&6; }
6610
if ${je_cv_osspin+:} false; then :
6611
$as_echo_n "(cached) " >&6
6613
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6614
/* end confdefs.h. */
6616
#include <libkern/OSAtomic.h>
6617
#include <inttypes.h>
6623
OSSpinLock lock = 0;
6624
OSSpinLockLock(&lock);
6625
OSSpinLockUnlock(&lock);
6631
if ac_fn_c_try_link "$LINENO"; then :
6636
rm -f core conftest.err conftest.$ac_objext \
6637
conftest$ac_exeext conftest.$ac_ext
6639
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $je_cv_osspin" >&5
6640
$as_echo "$je_cv_osspin" >&6; }
6642
if test "x${je_cv_osspin}" = "xyes" ; then
6643
$as_echo "#define JEMALLOC_OSSPIN " >>confdefs.h
6648
# Check whether --enable-zone-allocator was given.
6649
if test "${enable_zone_allocator+set}" = set; then :
6650
enableval=$enable_zone_allocator; if test "x$enable_zone_allocator" = "xno" ; then
6651
enable_zone_allocator="0"
6653
enable_zone_allocator="1"
6657
if test "x${abi}" = "xmacho"; then
6658
enable_zone_allocator="1"
6666
if test "x${enable_zone_allocator}" = "x1" ; then
6667
if test "x${abi}" != "xmacho"; then
6668
as_fn_error $? "--enable-zone-allocator is only supported on Darwin" "$LINENO" 5
6670
$as_echo "#define JEMALLOC_IVSALLOC " >>confdefs.h
6672
$as_echo "#define JEMALLOC_ZONE " >>confdefs.h
6675
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking malloc zone version" >&5
6676
$as_echo_n "checking malloc zone version... " >&6; }
6679
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6680
/* end confdefs.h. */
6681
#include <malloc/malloc.h>
6685
static foo[sizeof(malloc_zone_t) == sizeof(void *) * 14 ? 1 : -1]
6691
if ac_fn_c_try_compile "$LINENO"; then :
6692
JEMALLOC_ZONE_VERSION=3
6695
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6696
/* end confdefs.h. */
6697
#include <malloc/malloc.h>
6701
static foo[sizeof(malloc_zone_t) == sizeof(void *) * 15 ? 1 : -1]
6707
if ac_fn_c_try_compile "$LINENO"; then :
6708
JEMALLOC_ZONE_VERSION=5
6711
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6712
/* end confdefs.h. */
6713
#include <malloc/malloc.h>
6717
static foo[sizeof(malloc_zone_t) == sizeof(void *) * 16 ? 1 : -1]
6723
if ac_fn_c_try_compile "$LINENO"; then :
6725
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6726
/* end confdefs.h. */
6727
#include <malloc/malloc.h>
6731
static foo[sizeof(malloc_introspection_t) == sizeof(void *) * 9 ? 1 : -1]
6737
if ac_fn_c_try_compile "$LINENO"; then :
6738
JEMALLOC_ZONE_VERSION=6
6741
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6742
/* end confdefs.h. */
6743
#include <malloc/malloc.h>
6747
static foo[sizeof(malloc_introspection_t) == sizeof(void *) * 13 ? 1 : -1]
6753
if ac_fn_c_try_compile "$LINENO"; then :
6754
JEMALLOC_ZONE_VERSION=7
6756
JEMALLOC_ZONE_VERSION=
6759
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6761
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6764
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6765
/* end confdefs.h. */
6766
#include <malloc/malloc.h>
6770
static foo[sizeof(malloc_zone_t) == sizeof(void *) * 17 ? 1 : -1]
6776
if ac_fn_c_try_compile "$LINENO"; then :
6777
JEMALLOC_ZONE_VERSION=8
6780
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6781
/* end confdefs.h. */
6782
#include <malloc/malloc.h>
6786
static foo[sizeof(malloc_zone_t) > sizeof(void *) * 17 ? 1 : -1]
6792
if ac_fn_c_try_compile "$LINENO"; then :
6793
JEMALLOC_ZONE_VERSION=9
6795
JEMALLOC_ZONE_VERSION=
6798
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6800
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6802
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6804
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6806
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6807
if test "x${JEMALLOC_ZONE_VERSION}" = "x"; then
6808
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6809
$as_echo "unsupported" >&6; }
6810
as_fn_error $? "Unsupported malloc zone version" "$LINENO" 5
6812
if test "${JEMALLOC_ZONE_VERSION}" = 9; then
6813
JEMALLOC_ZONE_VERSION=8
6814
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: > 8" >&5
6815
$as_echo "> 8" >&6; }
6817
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $JEMALLOC_ZONE_VERSION" >&5
6818
$as_echo "$JEMALLOC_ZONE_VERSION" >&6; }
6820
cat >>confdefs.h <<_ACEOF
6821
#define JEMALLOC_ZONE_VERSION $JEMALLOC_ZONE_VERSION
6826
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
6827
$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
6828
if ${ac_cv_header_stdbool_h+:} false; then :
6829
$as_echo_n "(cached) " >&6
6831
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6832
/* end confdefs.h. */
6834
#include <stdbool.h>
6836
"error: bool is not defined"
6839
"error: false is not defined"
6842
"error: false is not 0"
6845
"error: true is not defined"
6848
"error: true is not 1"
6850
#ifndef __bool_true_false_are_defined
6851
"error: __bool_true_false_are_defined is not defined"
6854
struct s { _Bool s: 1; _Bool t; } s;
6856
char a[true == 1 ? 1 : -1];
6857
char b[false == 0 ? 1 : -1];
6858
char c[__bool_true_false_are_defined == 1 ? 1 : -1];
6859
char d[(bool) 0.5 == true ? 1 : -1];
6860
/* See body of main program for 'e'. */
6861
char f[(_Bool) 0.0 == false ? 1 : -1];
6863
char h[sizeof (_Bool)];
6865
enum { j = false, k = true, l = false * true, m = true * 256 };
6866
/* The following fails for
6867
HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
6869
char o[sizeof n == m * sizeof n[0] ? 1 : -1];
6870
char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
6871
/* Catch a bug in an HP-UX C compiler. See
6872
http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
6873
http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
6885
/* Refer to every declared value, to avoid compiler optimizations. */
6886
return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
6887
+ !m + !n + !o + !p + !q + !pq);
6893
if ac_fn_c_try_compile "$LINENO"; then :
6894
ac_cv_header_stdbool_h=yes
6896
ac_cv_header_stdbool_h=no
6898
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6900
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
6901
$as_echo "$ac_cv_header_stdbool_h" >&6; }
6902
ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
6903
if test "x$ac_cv_type__Bool" = xyes; then :
6905
cat >>confdefs.h <<_ACEOF
6906
#define HAVE__BOOL 1
6912
if test $ac_cv_header_stdbool_h = yes; then
6914
$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
6919
ac_config_commands="$ac_config_commands include/jemalloc/internal/size_classes.h"
6924
ac_config_headers="$ac_config_headers $cfghdrs_tup"
6927
ac_config_files="$ac_config_files $cfgoutputs_tup config.stamp bin/jemalloc.sh"
6931
cat >confcache <<\_ACEOF
6932
# This file is a shell script that caches the results of configure
6933
# tests run on this system so they can be shared between configure
6934
# scripts and configure runs, see configure's option --config-cache.
6935
# It is not useful on other systems. If it contains results you don't
6936
# want to keep, you may remove or edit it.
6938
# config.status only pays attention to the cache file if you give it
6939
# the --recheck option to rerun configure.
6941
# `ac_cv_env_foo' variables (set or unset) will be overridden when
6942
# loading this file, other *unset* `ac_cv_foo' will be assigned the
6947
# The following way of writing the cache mishandles newlines in values,
6948
# but we know of no workaround that is simple, portable, and efficient.
6949
# So, we kill variables containing newlines.
6950
# Ultrix sh set writes to stderr and can't be redirected directly,
6951
# and sets the high bit in the cache file unless we assign to the vars.
6953
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6954
eval ac_val=\$$ac_var
6958
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6959
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6962
_ | IFS | as_nl) ;; #(
6963
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6964
*) { eval $ac_var=; unset $ac_var;} ;;
6970
case $as_nl`(ac_space=' '; set) 2>&1` in #(
6971
*${as_nl}ac_space=\ *)
6972
# `set' does not quote correctly, so add quotes: double-quote
6973
# substitution turns \\\\ into \\, and sed turns \\ into \.
6976
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6979
# `set' quotes correctly as required by POSIX, so do not add quotes.
6980
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6989
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6991
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6993
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6994
if test -w "$cache_file"; then
6995
if test "x$cache_file" != "x/dev/null"; then
6996
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6997
$as_echo "$as_me: updating cache $cache_file" >&6;}
6998
if test ! -f "$cache_file" || test -h "$cache_file"; then
6999
cat confcache >"$cache_file"
7001
case $cache_file in #(
7003
mv -f confcache "$cache_file"$$ &&
7004
mv -f "$cache_file"$$ "$cache_file" ;; #(
7006
mv -f confcache "$cache_file" ;;
7011
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7012
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7017
test "x$prefix" = xNONE && prefix=$ac_default_prefix
7018
# Let make expand exec_prefix.
7019
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7021
DEFS=-DHAVE_CONFIG_H
7026
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7027
# 1. Remove the extension, and $U if already installed.
7028
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7029
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7030
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7031
# will be set to the directory where LIBOBJS objects are built.
7032
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7033
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7037
LTLIBOBJS=$ac_ltlibobjs
7041
: "${CONFIG_STATUS=./config.status}"
7043
ac_clean_files_save=$ac_clean_files
7044
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7045
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7046
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7048
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7050
# Generated by $as_me.
7051
# Run this file to recreate the current configuration.
7052
# Compiler output produced by configure, useful for debugging
7053
# configure, is in config.log if it exists.
7059
SHELL=\${CONFIG_SHELL-$SHELL}
7062
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7063
## -------------------- ##
7064
## M4sh Initialization. ##
7065
## -------------------- ##
7067
# Be more Bourne compatible
7068
DUALCASE=1; export DUALCASE # for MKS sh
7069
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7072
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7073
# is contrary to our usage. Disable this feature.
7074
alias -g '${1+"$@"}'='"$@"'
7075
setopt NO_GLOB_SUBST
7077
case `(set -o) 2>/dev/null` in #(
7089
# Printing a long string crashes Solaris 7 /usr/bin/printf.
7090
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7091
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7092
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7093
# Prefer a ksh shell builtin over an external printf program on Solaris,
7094
# but without wasting forks for bash or zsh.
7095
if test -z "$BASH_VERSION$ZSH_VERSION" \
7096
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7097
as_echo='print -r --'
7098
as_echo_n='print -rn --'
7099
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7100
as_echo='printf %s\n'
7101
as_echo_n='printf %s'
7103
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7104
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7105
as_echo_n='/usr/ucb/echo -n'
7107
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7108
as_echo_n_body='eval
7112
expr "X$arg" : "X\\(.*\\)$as_nl";
7113
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7115
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7117
export as_echo_n_body
7118
as_echo_n='sh -c $as_echo_n_body as_echo'
7121
as_echo='sh -c $as_echo_body as_echo'
7124
# The user is always right.
7125
if test "${PATH_SEPARATOR+set}" != set; then
7127
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7128
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7135
# We need space, tab and new line, in precisely that order. Quoting is
7136
# there to prevent editors from complaining about space-tab.
7137
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
7138
# splitting by setting IFS to empty value.)
7141
# Find who we are. Look in the path if we contain no directory separator.
7144
*[\\/]* ) as_myself=$0 ;;
7145
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7149
test -z "$as_dir" && as_dir=.
7150
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7156
# We did not find ourselves, most probably we were run as `sh COMMAND'
7157
# in which case we are not to be found in the path.
7158
if test "x$as_myself" = x; then
7161
if test ! -f "$as_myself"; then
7162
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7166
# Unset variables that we do not need and which cause bugs (e.g. in
7167
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7168
# suppresses any "Segmentation fault" message there. '((' could
7169
# trigger a bug in pdksh 5.2.14.
7170
for as_var in BASH_ENV ENV MAIL MAILPATH
7171
do eval test x\${$as_var+set} = xset \
7172
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7185
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7188
# as_fn_error STATUS ERROR [LINENO LOG_FD]
7189
# ----------------------------------------
7190
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7191
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7192
# script with STATUS, using 1 if that was 0.
7195
as_status=$1; test $as_status -eq 0 && as_status=1
7197
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7198
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7200
$as_echo "$as_me: error: $2" >&2
7201
as_fn_exit $as_status
7205
# as_fn_set_status STATUS
7206
# -----------------------
7207
# Set $? to STATUS, without forking.
7211
} # as_fn_set_status
7215
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7225
# Portably unset VAR.
7228
{ eval $1=; unset $1;}
7230
as_unset=as_fn_unset
7231
# as_fn_append VAR VALUE
7232
# ----------------------
7233
# Append the text in VALUE to the end of the definition contained in VAR. Take
7234
# advantage of any shell optimizations that allow amortized linear growth over
7235
# repeated appends, instead of the typical quadratic growth present in naive
7237
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7238
eval 'as_fn_append ()
7249
# as_fn_arith ARG...
7250
# ------------------
7251
# Perform arithmetic evaluation on the ARGs, and store the result in the
7252
# global $as_val. Take advantage of shells that can avoid forks. The arguments
7253
# must be portable across $(()) and expr.
7254
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7255
eval 'as_fn_arith ()
7262
as_val=`expr "$@" || test $? -eq 1`
7267
if expr a : '\(a\)' >/dev/null 2>&1 &&
7268
test "X`expr 00001 : '.*\(...\)'`" = X001; then
7274
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7275
as_basename=basename
7280
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7286
as_me=`$as_basename -- "$0" ||
7287
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7288
X"$0" : 'X\(//\)$' \| \
7289
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7291
sed '/^.*\/\([^/][^/]*\)\/*$/{
7305
# Avoid depending upon Character Ranges.
7306
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7307
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7308
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7309
as_cr_digits='0123456789'
7310
as_cr_alnum=$as_cr_Letters$as_cr_digits
7312
ECHO_C= ECHO_N= ECHO_T=
7313
case `echo -n x` in #(((((
7315
case `echo 'xy\c'` in
7316
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
7318
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
7325
rm -f conf$$ conf$$.exe conf$$.file
7326
if test -d conf$$.dir; then
7327
rm -f conf$$.dir/conf$$.file
7330
mkdir conf$$.dir 2>/dev/null
7332
if (echo >conf$$.file) 2>/dev/null; then
7333
if ln -s conf$$.file conf$$ 2>/dev/null; then
7335
# ... but there are two gotchas:
7336
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7337
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7338
# In both cases, we have to default to `cp -p'.
7339
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7341
elif ln conf$$.file conf$$ 2>/dev/null; then
7349
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7350
rmdir conf$$.dir 2>/dev/null
7355
# Create "$as_dir" as a directory, including parents if necessary.
7360
-*) as_dir=./$as_dir;;
7362
test -d "$as_dir" || eval $as_mkdir_p || {
7366
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7367
*) as_qdir=$as_dir;;
7369
as_dirs="'$as_qdir' $as_dirs"
7370
as_dir=`$as_dirname -- "$as_dir" ||
7371
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7372
X"$as_dir" : 'X\(//\)[^/]' \| \
7373
X"$as_dir" : 'X\(//\)$' \| \
7374
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7375
$as_echo X"$as_dir" |
7376
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7393
test -d "$as_dir" && break
7395
test -z "$as_dirs" || eval "mkdir $as_dirs"
7396
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7400
if mkdir -p . 2>/dev/null; then
7401
as_mkdir_p='mkdir -p "$as_dir"'
7403
test -d ./-p && rmdir ./-p
7407
if test -x / >/dev/null 2>&1; then
7410
if ls -dL / >/dev/null 2>&1; then
7417
if test -d "$1"; then
7423
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
7424
???[sx]*):;;*)false;;esac;fi
7428
as_executable_p=$as_test_x
7430
# Sed expression to map a string onto a valid CPP name.
7431
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7433
# Sed expression to map a string onto a valid variable name.
7434
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7438
## ----------------------------------- ##
7439
## Main body of $CONFIG_STATUS script. ##
7440
## ----------------------------------- ##
7442
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7444
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7445
# Save the log message, to keep $0 and so on meaningful, and to
7446
# report actual input values of CONFIG_FILES etc. instead of their
7447
# values after options handling.
7449
This file was extended by $as_me, which was
7450
generated by GNU Autoconf 2.68. Invocation command line was
7452
CONFIG_FILES = $CONFIG_FILES
7453
CONFIG_HEADERS = $CONFIG_HEADERS
7454
CONFIG_LINKS = $CONFIG_LINKS
7455
CONFIG_COMMANDS = $CONFIG_COMMANDS
7458
on `(hostname || uname -n) 2>/dev/null | sed 1q`
7463
case $ac_config_files in *"
7464
"*) set x $ac_config_files; shift; ac_config_files=$*;;
7467
case $ac_config_headers in *"
7468
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7472
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7473
# Files that config.status was made for.
7474
config_files="$ac_config_files"
7475
config_headers="$ac_config_headers"
7476
config_commands="$ac_config_commands"
7480
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7482
\`$as_me' instantiates files and other configuration actions
7483
from templates according to the current configuration. Unless the files
7484
and actions are specified as TAGs, all are instantiated by default.
7486
Usage: $0 [OPTION]... [TAG]...
7488
-h, --help print this help, then exit
7489
-V, --version print version number and configuration settings, then exit
7490
--config print configuration, then exit
7491
-q, --quiet, --silent
7492
do not print progress messages
7493
-d, --debug don't remove temporary files
7494
--recheck update $as_me by reconfiguring in the same conditions
7495
--file=FILE[:TEMPLATE]
7496
instantiate the configuration file FILE
7497
--header=FILE[:TEMPLATE]
7498
instantiate the configuration header FILE
7500
Configuration files:
7503
Configuration headers:
7506
Configuration commands:
7509
Report bugs to the package provider."
7512
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7513
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7516
configured by $0, generated by GNU Autoconf 2.68,
7517
with options \\"\$ac_cs_config\\"
7519
Copyright (C) 2010 Free Software Foundation, Inc.
7520
This config.status script is free software; the Free Software Foundation
7521
gives unlimited permission to copy, distribute and modify it."
7526
test -n "\$AWK" || AWK=awk
7529
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7530
# The default lists apply if the user does not specify any file.
7536
ac_option=`expr "X$1" : 'X\([^=]*\)='`
7537
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7541
ac_option=`expr "X$1" : 'X\([^=]*\)='`
7553
# Handling of the options.
7554
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7556
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7557
$as_echo "$ac_cs_version"; exit ;;
7558
--config | --confi | --conf | --con | --co | --c )
7559
$as_echo "$ac_cs_config"; exit ;;
7560
--debug | --debu | --deb | --de | --d | -d )
7562
--file | --fil | --fi | --f )
7565
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7566
'') as_fn_error $? "missing file argument" ;;
7568
as_fn_append CONFIG_FILES " '$ac_optarg'"
7569
ac_need_defaults=false;;
7570
--header | --heade | --head | --hea )
7573
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7575
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7576
ac_need_defaults=false;;
7578
# Conflict between --help and --header
7579
as_fn_error $? "ambiguous option: \`$1'
7580
Try \`$0 --help' for more information.";;
7581
--help | --hel | -h )
7582
$as_echo "$ac_cs_usage"; exit ;;
7583
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
7584
| -silent | --silent | --silen | --sile | --sil | --si | --s)
7588
-*) as_fn_error $? "unrecognized option: \`$1'
7589
Try \`$0 --help' for more information." ;;
7591
*) as_fn_append ac_config_targets " $1"
7592
ac_need_defaults=false ;;
7598
ac_configure_extra_args=
7600
if $ac_cs_silent; then
7602
ac_configure_extra_args="$ac_configure_extra_args --silent"
7606
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7607
if \$ac_cs_recheck; then
7608
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7610
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7611
CONFIG_SHELL='$SHELL'
7617
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7621
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7622
## Running $as_me. ##
7628
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7631
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7633
# Handling of arguments.
7634
for ac_config_target in $ac_config_targets
7636
case $ac_config_target in
7637
"include/jemalloc/internal/size_classes.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/jemalloc/internal/size_classes.h" ;;
7638
"$cfghdrs_tup") CONFIG_HEADERS="$CONFIG_HEADERS $cfghdrs_tup" ;;
7639
"$cfgoutputs_tup") CONFIG_FILES="$CONFIG_FILES $cfgoutputs_tup" ;;
7640
"config.stamp") CONFIG_FILES="$CONFIG_FILES config.stamp" ;;
7641
"bin/jemalloc.sh") CONFIG_FILES="$CONFIG_FILES bin/jemalloc.sh" ;;
7643
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7648
# If the user did not use the arguments to specify the items to instantiate,
7649
# then the envvar interface is used. Set only those that are not.
7650
# We use the long form for the default assignment because of an extremely
7651
# bizarre bug on SunOS 4.1.3.
7652
if $ac_need_defaults; then
7653
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7654
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7655
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7658
# Have a temporary directory for convenience. Make it in the build tree
7659
# simply because there is no reason against having it here, and in addition,
7660
# creating and moving files from /tmp can sometimes cause problems.
7661
# Hook for its removal unless debugging.
7662
# Note that there is a small window in which the directory will not be cleaned:
7663
# after its creation but before its name has been assigned to `$tmp'.
7667
trap 'exit_status=$?
7669
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7671
trap 'as_fn_exit 1' 1 2 13 15
7673
# Create a (secure) tmp directory for tmp files.
7676
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7680
tmp=./conf$$-$RANDOM
7681
(umask 077 && mkdir "$tmp")
7682
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7685
# Set up the scripts for CONFIG_FILES section.
7686
# No need to generate them if there are no CONFIG_FILES.
7687
# This happens for instance with `./config.status config.h'.
7688
if test -n "$CONFIG_FILES"; then
7691
ac_cr=`echo X | tr X '\015'`
7692
# On cygwin, bash can eat \r inside `` if the user requested igncr.
7693
# But we know of no other shell where ac_cr would be empty at this
7694
# point, so we can use a bashism as a fallback.
7695
if test "x$ac_cr" = x; then
7696
eval ac_cr=\$\'\\r\'
7698
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7699
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7705
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7710
echo "cat >conf$$subs.awk <<_ACEOF" &&
7711
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7714
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7715
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7717
for ac_last_try in false false false false false :; do
7718
. ./conf$$subs.sh ||
7719
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7721
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7722
if test $ac_delim_n = $ac_delim_num; then
7724
elif $ac_last_try; then
7725
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7727
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7732
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7733
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7737
s/^/S["/; s/!.*/"]=/
7747
s/\(.\{148\}\)..*/\1/
7749
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7754
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7761
s/\(.\{148\}\)..*/\1/
7763
s/["\\]/\\&/g; s/^/"/; s/$/"/
7767
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7772
' <conf$$subs.awk | sed '
7777
' >>$CONFIG_STATUS || ac_write_fail=1
7778
rm -f conf$$subs.awk
7779
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7781
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7782
for (key in S) S_is_set[key] = 1
7788
nfields = split(line, field, "@")
7790
len = length(field[1])
7791
for (i = 2; i < nfields; i++) {
7793
keylen = length(key)
7794
if (S_is_set[key]) {
7796
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7797
len += length(value) + length(field[++i])
7808
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7809
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7810
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7813
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7814
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7817
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7818
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7819
# trailing colons and then remove the whole line if VPATH becomes empty
7820
# (actually we leave an empty line to preserve line numbers).
7821
if test "x$srcdir" = x.; then
7822
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7840
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7841
fi # test -n "$CONFIG_FILES"
7843
# Set up the scripts for CONFIG_HEADERS section.
7844
# No need to generate them if there are no CONFIG_HEADERS.
7845
# This happens for instance with `./config.status Makefile'.
7846
if test -n "$CONFIG_HEADERS"; then
7847
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
7851
# Transform confdefs.h into an awk script `defines.awk', embedded as
7852
# here-document in config.status, that substitutes the proper values into
7853
# config.h.in to produce config.h.
7855
# Create a delimiter string that does not exist in confdefs.h, to ease
7856
# handling of long lines.
7858
for ac_last_try in false false :; do
7859
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
7860
if test -z "$ac_tt"; then
7862
elif $ac_last_try; then
7863
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7865
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7869
# For the awk script, D is an array of macro values keyed by name,
7870
# likewise P contains macro parameters if any. Preserve backslash
7871
# newline sequences.
7873
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7875
s/.\{148\}/&'"$ac_delim"'/g
7878
s/^[ ]*#[ ]*define[ ][ ]*/ /
7885
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7887
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
7891
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7892
D["\1"]=" \3\\\\\\n"\\/p
7894
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7899
s/.\{148\}/&'"$ac_delim"'/g
7904
s/["\\]/\\&/g; s/^/"/; s/$/"/p
7907
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7909
' <confdefs.h | sed '
7910
s/'"$ac_delim"'/"\\\
7911
"/g' >>$CONFIG_STATUS || ac_write_fail=1
7913
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7914
for (key in D) D_is_set[key] = 1
7917
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7919
split(line, arg, " ")
7920
if (arg[1] == "#") {
7924
defundef = substr(arg[1], 2)
7927
split(mac1, mac2, "(") #)
7929
prefix = substr(line, 1, index(line, defundef) - 1)
7930
if (D_is_set[macro]) {
7931
# Preserve the white space surrounding the "#".
7932
print prefix "define", macro P[macro] D[macro]
7935
# Replace #undef with comments. This is necessary, for example,
7936
# in the case of _POSIX_SOURCE, which is predefined and required
7937
# on some systems where configure will not decide to define it.
7938
if (defundef == "undef") {
7939
print "/*", prefix defundef, macro, "*/"
7947
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7948
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7949
fi # test -n "$CONFIG_HEADERS"
7952
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7957
:[FHLC]) ac_mode=$ac_tag; continue;;
7959
case $ac_mode$ac_tag in
7961
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7962
:[FH]-) ac_tag=-:-;;
7963
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7980
-) ac_f="$ac_tmp/stdin";;
7981
*) # Look for the file first in the build tree, then in the source tree
7982
# (if the path is not absolute). The absolute path cannot be DOS-style,
7983
# because $ac_f cannot contain `:'.
7987
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7989
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7991
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7992
as_fn_append ac_file_inputs " '$ac_f'"
7995
# Let's still pretend it is `configure' which instantiates (i.e., don't
7996
# use $as_me), people would be surprised to read:
7997
# /* config.h. Generated by config.status. */
7998
configure_input='Generated from '`
7999
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8001
if test x"$ac_file" != x-; then
8002
configure_input="$ac_file. $configure_input"
8003
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8004
$as_echo "$as_me: creating $ac_file" >&6;}
8006
# Neutralize special characters interpreted by sed in replacement strings.
8007
case $configure_input in #(
8008
*\&* | *\|* | *\\* )
8009
ac_sed_conf_input=`$as_echo "$configure_input" |
8010
sed 's/[\\\\&|]/\\\\&/g'`;; #(
8011
*) ac_sed_conf_input=$configure_input;;
8015
*:-:* | *:-) cat >"$ac_tmp/stdin" \
8016
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
8021
ac_dir=`$as_dirname -- "$ac_file" ||
8022
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8023
X"$ac_file" : 'X\(//\)[^/]' \| \
8024
X"$ac_file" : 'X\(//\)$' \| \
8025
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8026
$as_echo X"$ac_file" |
8027
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8044
as_dir="$ac_dir"; as_fn_mkdir_p
8048
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8050
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8051
# A ".." for each directory in $ac_dir_suffix.
8052
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8053
case $ac_top_builddir_sub in
8054
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8055
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8058
ac_abs_top_builddir=$ac_pwd
8059
ac_abs_builddir=$ac_pwd$ac_dir_suffix
8060
# for backward compatibility:
8061
ac_top_builddir=$ac_top_build_prefix
8064
.) # We are building in place.
8066
ac_top_srcdir=$ac_top_builddir_sub
8067
ac_abs_top_srcdir=$ac_pwd ;;
8068
[\\/]* | ?:[\\/]* ) # Absolute name.
8069
ac_srcdir=$srcdir$ac_dir_suffix;
8070
ac_top_srcdir=$srcdir
8071
ac_abs_top_srcdir=$srcdir ;;
8073
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8074
ac_top_srcdir=$ac_top_build_prefix$srcdir
8075
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8077
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8087
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8088
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8092
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8093
# If the template does not know about datarootdir, expand it.
8094
# FIXME: This hack should be removed a few years after 2.60.
8095
ac_datarootdir_hack=; ac_datarootdir_seen=
8106
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8107
*datarootdir*) ac_datarootdir_seen=yes;;
8108
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8109
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8110
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8112
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8113
ac_datarootdir_hack='
8114
s&@datadir@&$datadir&g
8115
s&@docdir@&$docdir&g
8116
s&@infodir@&$infodir&g
8117
s&@localedir@&$localedir&g
8118
s&@mandir@&$mandir&g
8119
s&\\\${datarootdir}&$datarootdir&g' ;;
8123
# Neutralize VPATH when `$srcdir' = `.'.
8124
# Shell code in configure.ac might set extrasub.
8125
# FIXME: do we really want to maintain this feature?
8126
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8127
ac_sed_extra="$ac_vpsub
8130
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8132
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8133
s|@configure_input@|$ac_sed_conf_input|;t t
8134
s&@top_builddir@&$ac_top_builddir_sub&;t t
8135
s&@top_build_prefix@&$ac_top_build_prefix&;t t
8136
s&@srcdir@&$ac_srcdir&;t t
8137
s&@abs_srcdir@&$ac_abs_srcdir&;t t
8138
s&@top_srcdir@&$ac_top_srcdir&;t t
8139
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8140
s&@builddir@&$ac_builddir&;t t
8141
s&@abs_builddir@&$ac_abs_builddir&;t t
8142
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8143
s&@INSTALL@&$ac_INSTALL&;t t
8144
$ac_datarootdir_hack
8146
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
8147
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8149
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8150
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
8151
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8152
"$ac_tmp/out"`; test -z "$ac_out"; } &&
8153
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8154
which seems to be undefined. Please make sure it is defined" >&5
8155
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8156
which seems to be undefined. Please make sure it is defined" >&2;}
8158
rm -f "$ac_tmp/stdin"
8160
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8161
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8163
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
8169
if test x"$ac_file" != x-; then
8171
$as_echo "/* $configure_input */" \
8172
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8173
} >"$ac_tmp/config.h" \
8174
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
8175
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8176
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8177
$as_echo "$as_me: $ac_file is unchanged" >&6;}
8180
mv "$ac_tmp/config.h" "$ac_file" \
8181
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
8184
$as_echo "/* $configure_input */" \
8185
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8186
|| as_fn_error $? "could not create -" "$LINENO" 5
8190
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8191
$as_echo "$as_me: executing $ac_file commands" >&6;}
8196
case $ac_file$ac_mode in
8197
"include/jemalloc/internal/size_classes.h":C)
8198
mkdir -p "include/jemalloc/internal"
8199
"${srcdir}/include/jemalloc/internal/size_classes.sh" > "${objroot}include/jemalloc/internal/size_classes.h"
8208
ac_clean_files=$ac_clean_files_save
8210
test $ac_write_fail = 0 ||
8211
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8214
# configure is writing to config.log, and then calls config.status.
8215
# config.status does its own redirection, appending to config.log.
8216
# Unfortunately, on DOS this fails, as config.log is still kept open
8217
# by configure, so config.status won't be able to write to it; its
8218
# output is simply discarded. So we exec the FD to /dev/null,
8219
# effectively closing config.log, so it can be properly (re)opened and
8220
# appended to by config.status. When coming back to configure, we
8221
# need to make the FD available again.
8222
if test "$no_create" != yes; then
8224
ac_config_status_args=
8225
test "$silent" = yes &&
8226
ac_config_status_args="$ac_config_status_args --quiet"
8228
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8230
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
8231
# would make configure fail if this is the last instruction.
8232
$ac_cs_success || as_fn_exit 1
8234
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8235
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8236
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8240
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ===============================================================================" >&5
8241
$as_echo "===============================================================================" >&6; }
8242
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: jemalloc version : ${jemalloc_version}" >&5
8243
$as_echo "jemalloc version : ${jemalloc_version}" >&6; }
8244
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: library revision : ${rev}" >&5
8245
$as_echo "library revision : ${rev}" >&6; }
8246
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
8248
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: CC : ${CC}" >&5
8249
$as_echo "CC : ${CC}" >&6; }
8250
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: CPPFLAGS : ${CPPFLAGS}" >&5
8251
$as_echo "CPPFLAGS : ${CPPFLAGS}" >&6; }
8252
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: CFLAGS : ${CFLAGS}" >&5
8253
$as_echo "CFLAGS : ${CFLAGS}" >&6; }
8254
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: LDFLAGS : ${LDFLAGS}" >&5
8255
$as_echo "LDFLAGS : ${LDFLAGS}" >&6; }
8256
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: LIBS : ${LIBS}" >&5
8257
$as_echo "LIBS : ${LIBS}" >&6; }
8258
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: RPATH_EXTRA : ${RPATH_EXTRA}" >&5
8259
$as_echo "RPATH_EXTRA : ${RPATH_EXTRA}" >&6; }
8260
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
8262
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: XSLTPROC : ${XSLTPROC}" >&5
8263
$as_echo "XSLTPROC : ${XSLTPROC}" >&6; }
8264
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: XSLROOT : ${XSLROOT}" >&5
8265
$as_echo "XSLROOT : ${XSLROOT}" >&6; }
8266
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
8268
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: PREFIX : ${PREFIX}" >&5
8269
$as_echo "PREFIX : ${PREFIX}" >&6; }
8270
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: BINDIR : ${BINDIR}" >&5
8271
$as_echo "BINDIR : ${BINDIR}" >&6; }
8272
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: INCLUDEDIR : ${INCLUDEDIR}" >&5
8273
$as_echo "INCLUDEDIR : ${INCLUDEDIR}" >&6; }
8274
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: LIBDIR : ${LIBDIR}" >&5
8275
$as_echo "LIBDIR : ${LIBDIR}" >&6; }
8276
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: DATADIR : ${DATADIR}" >&5
8277
$as_echo "DATADIR : ${DATADIR}" >&6; }
8278
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: MANDIR : ${MANDIR}" >&5
8279
$as_echo "MANDIR : ${MANDIR}" >&6; }
8280
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
8282
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: srcroot : ${srcroot}" >&5
8283
$as_echo "srcroot : ${srcroot}" >&6; }
8284
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: abs_srcroot : ${abs_srcroot}" >&5
8285
$as_echo "abs_srcroot : ${abs_srcroot}" >&6; }
8286
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: objroot : ${objroot}" >&5
8287
$as_echo "objroot : ${objroot}" >&6; }
8288
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: abs_objroot : ${abs_objroot}" >&5
8289
$as_echo "abs_objroot : ${abs_objroot}" >&6; }
8290
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
8292
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: JEMALLOC_PREFIX : ${JEMALLOC_PREFIX}" >&5
8293
$as_echo "JEMALLOC_PREFIX : ${JEMALLOC_PREFIX}" >&6; }
8294
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: JEMALLOC_PRIVATE_NAMESPACE" >&5
8295
$as_echo "JEMALLOC_PRIVATE_NAMESPACE" >&6; }
8296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: : ${JEMALLOC_PRIVATE_NAMESPACE}" >&5
8297
$as_echo " : ${JEMALLOC_PRIVATE_NAMESPACE}" >&6; }
8298
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: install_suffix : ${install_suffix}" >&5
8299
$as_echo "install_suffix : ${install_suffix}" >&6; }
8300
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: autogen : ${enable_autogen}" >&5
8301
$as_echo "autogen : ${enable_autogen}" >&6; }
8302
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: experimental : ${enable_experimental}" >&5
8303
$as_echo "experimental : ${enable_experimental}" >&6; }
8304
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: cc-silence : ${enable_cc_silence}" >&5
8305
$as_echo "cc-silence : ${enable_cc_silence}" >&6; }
8306
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: debug : ${enable_debug}" >&5
8307
$as_echo "debug : ${enable_debug}" >&6; }
8308
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: stats : ${enable_stats}" >&5
8309
$as_echo "stats : ${enable_stats}" >&6; }
8310
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: prof : ${enable_prof}" >&5
8311
$as_echo "prof : ${enable_prof}" >&6; }
8312
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: prof-libunwind : ${enable_prof_libunwind}" >&5
8313
$as_echo "prof-libunwind : ${enable_prof_libunwind}" >&6; }
8314
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: prof-libgcc : ${enable_prof_libgcc}" >&5
8315
$as_echo "prof-libgcc : ${enable_prof_libgcc}" >&6; }
8316
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: prof-gcc : ${enable_prof_gcc}" >&5
8317
$as_echo "prof-gcc : ${enable_prof_gcc}" >&6; }
8318
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: tcache : ${enable_tcache}" >&5
8319
$as_echo "tcache : ${enable_tcache}" >&6; }
8320
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: fill : ${enable_fill}" >&5
8321
$as_echo "fill : ${enable_fill}" >&6; }
8322
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: utrace : ${enable_utrace}" >&5
8323
$as_echo "utrace : ${enable_utrace}" >&6; }
8324
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: valgrind : ${enable_valgrind}" >&5
8325
$as_echo "valgrind : ${enable_valgrind}" >&6; }
8326
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: xmalloc : ${enable_xmalloc}" >&5
8327
$as_echo "xmalloc : ${enable_xmalloc}" >&6; }
8328
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: mremap : ${enable_mremap}" >&5
8329
$as_echo "mremap : ${enable_mremap}" >&6; }
8330
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: munmap : ${enable_munmap}" >&5
8331
$as_echo "munmap : ${enable_munmap}" >&6; }
8332
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: dss : ${enable_dss}" >&5
8333
$as_echo "dss : ${enable_dss}" >&6; }
8334
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: lazy_lock : ${enable_lazy_lock}" >&5
8335
$as_echo "lazy_lock : ${enable_lazy_lock}" >&6; }
8336
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: tls : ${enable_tls}" >&5
8337
$as_echo "tls : ${enable_tls}" >&6; }
8338
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ===============================================================================" >&5
8339
$as_echo "===============================================================================" >&6; }