Skip to content
Permalink
Newer
Older
100644 18222 lines (15681 sloc) 551 KB
saq10002
Oct 26, 2014
1
#! /bin/sh
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.68 for Google C++ Testing Framework 1.7.0.
4
#
5
# Report bugs to <googletestframework@googlegroups.com>.
6
#
7
#
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10
# Foundation, Inc.
11
#
12
#
13
# This configure script is free software; the Free Software Foundation
14
# gives unlimited permission to copy, distribute and modify it.
15
## -------------------- ##
16
## M4sh Initialization. ##
17
## -------------------- ##
18
19
# Be more Bourne compatible
20
DUALCASE=1; export DUALCASE # for MKS sh
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22
emulate sh
23
NULLCMD=:
24
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25
# is contrary to our usage. Disable this feature.
26
alias -g '${1+"$@"}'='"$@"'
27
setopt NO_GLOB_SUBST
28
else
29
case `(set -o) 2>/dev/null` in #(
30
*posix*) :
31
set -o posix ;; #(
32
*) :
33
;;
34
esac
35
fi
36
37
38
as_nl='
39
'
40
export as_nl
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
46
# but without wasting forks for bash or zsh.
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
48
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49
as_echo='print -r --'
50
as_echo_n='print -rn --'
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52
as_echo='printf %s\n'
53
as_echo_n='printf %s'
54
else
55
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57
as_echo_n='/usr/ucb/echo -n'
58
else
59
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60
as_echo_n_body='eval
61
arg=$1;
62
case $arg in #(
63
*"$as_nl"*)
64
expr "X$arg" : "X\\(.*\\)$as_nl";
65
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66
esac;
67
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
'
69
export as_echo_n_body
70
as_echo_n='sh -c $as_echo_n_body as_echo'
71
fi
72
export as_echo_body
73
as_echo='sh -c $as_echo_body as_echo'
74
fi
75
76
# The user is always right.
77
if test "${PATH_SEPARATOR+set}" != set; then
78
PATH_SEPARATOR=:
79
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81
PATH_SEPARATOR=';'
82
}
83
fi
84
85
86
# IFS
87
# We need space, tab and new line, in precisely that order. Quoting is
88
# there to prevent editors from complaining about space-tab.
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90
# splitting by setting IFS to empty value.)
91
IFS=" "" $as_nl"
92
93
# Find who we are. Look in the path if we contain no directory separator.
94
as_myself=
95
case $0 in #((
96
*[\\/]* ) as_myself=$0 ;;
97
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98
for as_dir in $PATH
99
do
100
IFS=$as_save_IFS
101
test -z "$as_dir" && as_dir=.
102
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103
done
104
IFS=$as_save_IFS
105
106
;;
107
esac
108
# We did not find ourselves, most probably we were run as `sh COMMAND'
109
# in which case we are not to be found in the path.
110
if test "x$as_myself" = x; then
111
as_myself=$0
112
fi
113
if test ! -f "$as_myself"; then
114
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115
exit 1
116
fi
117
118
# Unset variables that we do not need and which cause bugs (e.g. in
119
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120
# suppresses any "Segmentation fault" message there. '((' could
121
# trigger a bug in pdksh 5.2.14.
122
for as_var in BASH_ENV ENV MAIL MAILPATH
123
do eval test x\${$as_var+set} = xset \
124
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125
done
126
PS1='$ '
127
PS2='> '
128
PS4='+ '
129
130
# NLS nuisances.
131
LC_ALL=C
132
export LC_ALL
133
LANGUAGE=C
134
export LANGUAGE
135
136
# CDPATH.
137
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139
if test "x$CONFIG_SHELL" = x; then
140
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141
emulate sh
142
NULLCMD=:
143
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144
# is contrary to our usage. Disable this feature.
145
alias -g '\${1+\"\$@\"}'='\"\$@\"'
146
setopt NO_GLOB_SUBST
147
else
148
case \`(set -o) 2>/dev/null\` in #(
149
*posix*) :
150
set -o posix ;; #(
151
*) :
152
;;
153
esac
154
fi
155
"
156
as_required="as_fn_return () { (exit \$1); }
157
as_fn_success () { as_fn_return 0; }
158
as_fn_failure () { as_fn_return 1; }
159
as_fn_ret_success () { return 0; }
160
as_fn_ret_failure () { return 1; }
161
162
exitcode=0
163
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169
else
170
exitcode=1; echo positional parameters were not saved.
171
fi
172
test x\$exitcode = x0 || exit 1"
173
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
178
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182
PATH=/empty FPATH=/empty; export PATH FPATH
183
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185
test \$(( 1 + 1 )) = 2 || exit 1"
186
if (eval "$as_required") 2>/dev/null; then :
187
as_have_required=yes
188
else
189
as_have_required=no
190
fi
191
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193
else
194
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195
as_found=false
196
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197
do
198
IFS=$as_save_IFS
199
test -z "$as_dir" && as_dir=.
200
as_found=:
201
case $as_dir in #(
202
/*)
203
for as_base in sh bash ksh sh5; do
204
# Try only shells that exist, to save several forks.
205
as_shell=$as_dir/$as_base
206
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208
CONFIG_SHELL=$as_shell as_have_required=yes
209
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210
break 2
211
fi
212
fi
213
done;;
214
esac
215
as_found=false
216
done
217
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219
CONFIG_SHELL=$SHELL as_have_required=yes
220
fi; }
221
IFS=$as_save_IFS
222
223
224
if test "x$CONFIG_SHELL" != x; then :
225
# We cannot yet assume a decent shell, so we have to provide a
226
# neutralization value for shells without unset; and this also
227
# works around shells that cannot unset nonexistent variables.
228
# Preserve -v and -x to the replacement shell.
229
BASH_ENV=/dev/null
230
ENV=/dev/null
231
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232
export CONFIG_SHELL
233
case $- in # ((((
234
*v*x* | *x*v* ) as_opts=-vx ;;
235
*v* ) as_opts=-v ;;
236
*x* ) as_opts=-x ;;
237
* ) as_opts= ;;
238
esac
239
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240
fi
241
242
if test x$as_have_required = xno; then :
243
$as_echo "$0: This script requires a shell more modern than all"
244
$as_echo "$0: the shells that I found on your system."
245
if test x${ZSH_VERSION+set} = xset ; then
246
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
248
else
249
$as_echo "$0: Please tell bug-autoconf@gnu.org and
250
$0: googletestframework@googlegroups.com about your system,
251
$0: including any error possibly output before this
252
$0: message. Then install a modern shell, or manually run
253
$0: the script under such a shell if you do have one."
254
fi
255
exit 1
256
fi
257
fi
258
fi
259
SHELL=${CONFIG_SHELL-/bin/sh}
260
export SHELL
261
# Unset more variables known to interfere with behavior of common tools.
262
CLICOLOR_FORCE= GREP_OPTIONS=
263
unset CLICOLOR_FORCE GREP_OPTIONS
264
265
## --------------------- ##
266
## M4sh Shell Functions. ##
267
## --------------------- ##
268
# as_fn_unset VAR
269
# ---------------
270
# Portably unset VAR.
271
as_fn_unset ()
272
{
273
{ eval $1=; unset $1;}
274
}
275
as_unset=as_fn_unset
276
277
# as_fn_set_status STATUS
278
# -----------------------
279
# Set $? to STATUS, without forking.
280
as_fn_set_status ()
281
{
282
return $1
283
} # as_fn_set_status
284
285
# as_fn_exit STATUS
286
# -----------------
287
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
288
as_fn_exit ()
289
{
290
set +e
291
as_fn_set_status $1
292
exit $1
293
} # as_fn_exit
294
295
# as_fn_mkdir_p
296
# -------------
297
# Create "$as_dir" as a directory, including parents if necessary.
298
as_fn_mkdir_p ()
299
{
300
301
case $as_dir in #(
302
-*) as_dir=./$as_dir;;
303
esac
304
test -d "$as_dir" || eval $as_mkdir_p || {
305
as_dirs=
306
while :; do
307
case $as_dir in #(
308
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
309
*) as_qdir=$as_dir;;
310
esac
311
as_dirs="'$as_qdir' $as_dirs"
312
as_dir=`$as_dirname -- "$as_dir" ||
313
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314
X"$as_dir" : 'X\(//\)[^/]' \| \
315
X"$as_dir" : 'X\(//\)$' \| \
316
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317
$as_echo X"$as_dir" |
318
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319
s//\1/
320
q
321
}
322
/^X\(\/\/\)[^/].*/{
323
s//\1/
324
q
325
}
326
/^X\(\/\/\)$/{
327
s//\1/
328
q
329
}
330
/^X\(\/\).*/{
331
s//\1/
332
q
333
}
334
s/.*/./; q'`
335
test -d "$as_dir" && break
336
done
337
test -z "$as_dirs" || eval "mkdir $as_dirs"
338
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339
340
341
} # as_fn_mkdir_p
342
# as_fn_append VAR VALUE
343
# ----------------------
344
# Append the text in VALUE to the end of the definition contained in VAR. Take
345
# advantage of any shell optimizations that allow amortized linear growth over
346
# repeated appends, instead of the typical quadratic growth present in naive
347
# implementations.
348
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349
eval 'as_fn_append ()
350
{
351
eval $1+=\$2
352
}'
353
else
354
as_fn_append ()
355
{
356
eval $1=\$$1\$2
357
}
358
fi # as_fn_append
359
360
# as_fn_arith ARG...
361
# ------------------
362
# Perform arithmetic evaluation on the ARGs, and store the result in the
363
# global $as_val. Take advantage of shells that can avoid forks. The arguments
364
# must be portable across $(()) and expr.
365
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
366
eval 'as_fn_arith ()
367
{
368
as_val=$(( $* ))
369
}'
370
else
371
as_fn_arith ()
372
{
373
as_val=`expr "$@" || test $? -eq 1`
374
}
375
fi # as_fn_arith
376
377
378
# as_fn_error STATUS ERROR [LINENO LOG_FD]
379
# ----------------------------------------
380
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382
# script with STATUS, using 1 if that was 0.
383
as_fn_error ()
384
{
385
as_status=$1; test $as_status -eq 0 && as_status=1
386
if test "$4"; then
387
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
389
fi
390
$as_echo "$as_me: error: $2" >&2
391
as_fn_exit $as_status
392
} # as_fn_error
393
394
if expr a : '\(a\)' >/dev/null 2>&1 &&
395
test "X`expr 00001 : '.*\(...\)'`" = X001; then
396
as_expr=expr
397
else
398
as_expr=false
399
fi
400
401
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
402
as_basename=basename
403
else
404
as_basename=false
405
fi
406
407
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
408
as_dirname=dirname
409
else
410
as_dirname=false
411
fi
412
413
as_me=`$as_basename -- "$0" ||
414
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415
X"$0" : 'X\(//\)$' \| \
416
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
417
$as_echo X/"$0" |
418
sed '/^.*\/\([^/][^/]*\)\/*$/{
419
s//\1/
420
q
421
}
422
/^X\/\(\/\/\)$/{
423
s//\1/
424
q
425
}
426
/^X\/\(\/\).*/{
427
s//\1/
428
q
429
}
430
s/.*/./; q'`
431
432
# Avoid depending upon Character Ranges.
433
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436
as_cr_digits='0123456789'
437
as_cr_alnum=$as_cr_Letters$as_cr_digits
438
439
440
as_lineno_1=$LINENO as_lineno_1a=$LINENO
441
as_lineno_2=$LINENO as_lineno_2a=$LINENO
442
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
445
sed -n '
446
p
447
/[$]LINENO/=
448
' <$as_myself |
449
sed '
450
s/[$]LINENO.*/&-/
451
t lineno
452
b
453
:lineno
454
N
455
:loop
456
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457
t loop
458
s/-\n.*//
459
' >$as_me.lineno &&
460
chmod +x "$as_me.lineno" ||
461
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
462
463
# Don't try to exec as it changes $[0], causing all sort of problems
464
# (the dirname of $[0] is not the place where we might find the
465
# original and so on. Autoconf is especially sensitive to this).
466
. "./$as_me.lineno"
467
# Exit status is that of the last command.
468
exit
469
}
470
471
ECHO_C= ECHO_N= ECHO_T=
472
case `echo -n x` in #(((((
473
-n*)
474
case `echo 'xy\c'` in
475
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
476
xy) ECHO_C='\c';;
477
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
478
ECHO_T=' ';;
479
esac;;
480
*)
481
ECHO_N='-n';;
482
esac
483
484
rm -f conf$$ conf$$.exe conf$$.file
485
if test -d conf$$.dir; then
486
rm -f conf$$.dir/conf$$.file
487
else
488
rm -f conf$$.dir
489
mkdir conf$$.dir 2>/dev/null
490
fi
491
if (echo >conf$$.file) 2>/dev/null; then
492
if ln -s conf$$.file conf$$ 2>/dev/null; then
493
as_ln_s='ln -s'
494
# ... but there are two gotchas:
495
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497
# In both cases, we have to default to `cp -p'.
498
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499
as_ln_s='cp -p'
500
elif ln conf$$.file conf$$ 2>/dev/null; then
501
as_ln_s=ln
502
else
503
as_ln_s='cp -p'
504
fi
505
else
506
as_ln_s='cp -p'
507
fi
508
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509
rmdir conf$$.dir 2>/dev/null
510
511
if mkdir -p . 2>/dev/null; then
512
as_mkdir_p='mkdir -p "$as_dir"'
513
else
514
test -d ./-p && rmdir ./-p
515
as_mkdir_p=false
516
fi
517
518
if test -x / >/dev/null 2>&1; then
519
as_test_x='test -x'
520
else
521
if ls -dL / >/dev/null 2>&1; then
522
as_ls_L_option=L
523
else
524
as_ls_L_option=
525
fi
526
as_test_x='
527
eval sh -c '\''
528
if test -d "$1"; then
529
test -d "$1/.";
530
else
531
case $1 in #(
532
-*)set "./$1";;
533
esac;
534
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535
???[sx]*):;;*)false;;esac;fi
536
'\'' sh
537
'
538
fi
539
as_executable_p=$as_test_x
540
541
# Sed expression to map a string onto a valid CPP name.
542
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
543
544
# Sed expression to map a string onto a valid variable name.
545
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
546
547
SHELL=${CONFIG_SHELL-/bin/sh}
548
549
550
test -n "$DJDIR" || exec 7<&0 </dev/null
551
exec 6>&1
552
553
# Name of the host.
554
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555
# so uname gets run too.
556
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
557
558
#
559
# Initializations.
560
#
561
ac_default_prefix=/usr/local
562
ac_clean_files=
563
ac_config_libobj_dir=.
564
LIBOBJS=
565
cross_compiling=no
566
subdirs=
567
MFLAGS=
568
MAKEFLAGS=
569
570
# Identity of this package.
571
PACKAGE_NAME='Google C++ Testing Framework'
572
PACKAGE_TARNAME='gtest'
573
PACKAGE_VERSION='1.7.0'
574
PACKAGE_STRING='Google C++ Testing Framework 1.7.0'
575
PACKAGE_BUGREPORT='googletestframework@googlegroups.com'
576
PACKAGE_URL=''
577
578
ac_unique_file="./LICENSE"
579
# Factoring default headers for most tests.
580
ac_includes_default="\
581
#include <stdio.h>
582
#ifdef HAVE_SYS_TYPES_H
583
# include <sys/types.h>
584
#endif
585
#ifdef HAVE_SYS_STAT_H
586
# include <sys/stat.h>
587
#endif
588
#ifdef STDC_HEADERS
589
# include <stdlib.h>
590
# include <stddef.h>
591
#else
592
# ifdef HAVE_STDLIB_H
593
# include <stdlib.h>
594
# endif
595
#endif
596
#ifdef HAVE_STRING_H
597
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
598
# include <memory.h>
599
# endif
600
# include <string.h>
601
#endif
602
#ifdef HAVE_STRINGS_H
603
# include <strings.h>
604
#endif
605
#ifdef HAVE_INTTYPES_H
606
# include <inttypes.h>
607
#endif
608
#ifdef HAVE_STDINT_H
609
# include <stdint.h>
610
#endif
611
#ifdef HAVE_UNISTD_H
612
# include <unistd.h>
613
#endif"
614
615
ac_subst_vars='am__EXEEXT_FALSE
616
am__EXEEXT_TRUE
617
LTLIBOBJS
618
LIBOBJS
619
HAVE_PTHREADS_FALSE
620
HAVE_PTHREADS_TRUE
621
PTHREAD_CFLAGS
622
PTHREAD_LIBS
623
PTHREAD_CC
624
acx_pthread_config
625
HAVE_PYTHON_FALSE
626
HAVE_PYTHON_TRUE
627
PYTHON
628
CXXCPP
629
CPP
630
OTOOL64
631
OTOOL
632
LIPO
633
NMEDIT
634
DSYMUTIL
635
MANIFEST_TOOL
636
RANLIB
637
ac_ct_AR
638
AR
639
DLLTOOL
640
OBJDUMP
641
LN_S
642
NM
643
ac_ct_DUMPBIN
644
DUMPBIN
645
LD
646
FGREP
647
EGREP
648
GREP
649
SED
650
host_os
651
host_vendor
652
host_cpu
653
host
654
build_os
655
build_vendor
656
build_cpu
657
build
658
LIBTOOL
659
am__fastdepCXX_FALSE
660
am__fastdepCXX_TRUE
661
CXXDEPMODE
662
ac_ct_CXX
663
CXXFLAGS
664
CXX
665
am__fastdepCC_FALSE
666
am__fastdepCC_TRUE
667
CCDEPMODE
668
am__nodep
669
AMDEPBACKSLASH
670
AMDEP_FALSE
671
AMDEP_TRUE
672
am__quote
673
am__include
674
DEPDIR
675
OBJEXT
676
EXEEXT
677
ac_ct_CC
678
CPPFLAGS
679
LDFLAGS
680
CFLAGS
681
CC
682
am__untar
683
am__tar
684
AMTAR
685
am__leading_dot
686
SET_MAKE
687
AWK
688
mkdir_p
689
MKDIR_P
690
INSTALL_STRIP_PROGRAM
691
STRIP
692
install_sh
693
MAKEINFO
694
AUTOHEADER
695
AUTOMAKE
696
AUTOCONF
697
ACLOCAL
698
VERSION
699
PACKAGE
700
CYGPATH_W
701
am__isrc
702
INSTALL_DATA
703
INSTALL_SCRIPT
704
INSTALL_PROGRAM
705
target_alias
706
host_alias
707
build_alias
708
LIBS
709
ECHO_T
710
ECHO_N
711
ECHO_C
712
DEFS
713
mandir
714
localedir
715
libdir
716
psdir
717
pdfdir
718
dvidir
719
htmldir
720
infodir
721
docdir
722
oldincludedir
723
includedir
724
localstatedir
725
sharedstatedir
726
sysconfdir
727
datadir
728
datarootdir
729
libexecdir
730
sbindir
731
bindir
732
program_transform_name
733
prefix
734
exec_prefix
735
PACKAGE_URL
736
PACKAGE_BUGREPORT
737
PACKAGE_STRING
738
PACKAGE_VERSION
739
PACKAGE_TARNAME
740
PACKAGE_NAME
741
PATH_SEPARATOR
742
SHELL'
743
ac_subst_files=''
744
ac_user_opts='
745
enable_option_checking
746
enable_dependency_tracking
747
enable_shared
748
enable_static
749
with_pic
750
enable_fast_install
751
with_gnu_ld
752
with_sysroot
753
enable_libtool_lock
754
with_pthreads
755
'
756
ac_precious_vars='build_alias
757
host_alias
758
target_alias
759
CC
760
CFLAGS
761
LDFLAGS
762
LIBS
763
CPPFLAGS
764
CXX
765
CXXFLAGS
766
CCC
767
CPP
768
CXXCPP'
769
770
771
# Initialize some variables set by options.
772
ac_init_help=
773
ac_init_version=false
774
ac_unrecognized_opts=
775
ac_unrecognized_sep=
776
# The variables have the same names as the options, with
777
# dashes changed to underlines.
778
cache_file=/dev/null
779
exec_prefix=NONE
780
no_create=
781
no_recursion=
782
prefix=NONE
783
program_prefix=NONE
784
program_suffix=NONE
785
program_transform_name=s,x,x,
786
silent=
787
site=
788
srcdir=
789
verbose=
790
x_includes=NONE
791
x_libraries=NONE
792
793
# Installation directory options.
794
# These are left unexpanded so users can "make install exec_prefix=/foo"
795
# and all the variables that are supposed to be based on exec_prefix
796
# by default will actually change.
797
# Use braces instead of parens because sh, perl, etc. also accept them.
798
# (The list follows the same order as the GNU Coding Standards.)
799
bindir='${exec_prefix}/bin'
800
sbindir='${exec_prefix}/sbin'
801
libexecdir='${exec_prefix}/libexec'
802
datarootdir='${prefix}/share'
803
datadir='${datarootdir}'
804
sysconfdir='${prefix}/etc'
805
sharedstatedir='${prefix}/com'
806
localstatedir='${prefix}/var'
807
includedir='${prefix}/include'
808
oldincludedir='/usr/include'
809
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
810
infodir='${datarootdir}/info'
811
htmldir='${docdir}'
812
dvidir='${docdir}'
813
pdfdir='${docdir}'
814
psdir='${docdir}'
815
libdir='${exec_prefix}/lib'
816
localedir='${datarootdir}/locale'
817
mandir='${datarootdir}/man'
818
819
ac_prev=
820
ac_dashdash=
821
for ac_option
822
do
823
# If the previous option needs an argument, assign it.
824
if test -n "$ac_prev"; then
825
eval $ac_prev=\$ac_option
826
ac_prev=
827
continue
828
fi
829
830
case $ac_option in
831
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
832
*=) ac_optarg= ;;
833
*) ac_optarg=yes ;;
834
esac
835
836
# Accept the important Cygnus configure options, so we can diagnose typos.
837
838
case $ac_dashdash$ac_option in
839
--)
840
ac_dashdash=yes ;;
841
842
-bindir | --bindir | --bindi | --bind | --bin | --bi)
843
ac_prev=bindir ;;
844
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
845
bindir=$ac_optarg ;;
846
847
-build | --build | --buil | --bui | --bu)
848
ac_prev=build_alias ;;
849
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
850
build_alias=$ac_optarg ;;
851
852
-cache-file | --cache-file | --cache-fil | --cache-fi \
853
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
854
ac_prev=cache_file ;;
855
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
856
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
857
cache_file=$ac_optarg ;;
858
859
--config-cache | -C)
860
cache_file=config.cache ;;
861
862
-datadir | --datadir | --datadi | --datad)
863
ac_prev=datadir ;;
864
-datadir=* | --datadir=* | --datadi=* | --datad=*)
865
datadir=$ac_optarg ;;
866
867
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
868
| --dataroo | --dataro | --datar)
869
ac_prev=datarootdir ;;
870
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
871
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
872
datarootdir=$ac_optarg ;;
873
874
-disable-* | --disable-*)
875
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
876
# Reject names that are not valid shell variable names.
877
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
878
as_fn_error $? "invalid feature name: $ac_useropt"
879
ac_useropt_orig=$ac_useropt
880
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
881
case $ac_user_opts in
882
*"
883
"enable_$ac_useropt"
884
"*) ;;
885
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
886
ac_unrecognized_sep=', ';;
887
esac
888
eval enable_$ac_useropt=no ;;
889
890
-docdir | --docdir | --docdi | --doc | --do)
891
ac_prev=docdir ;;
892
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
893
docdir=$ac_optarg ;;
894
895
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
896
ac_prev=dvidir ;;
897
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
898
dvidir=$ac_optarg ;;
899
900
-enable-* | --enable-*)
901
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
902
# Reject names that are not valid shell variable names.
903
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
904
as_fn_error $? "invalid feature name: $ac_useropt"
905
ac_useropt_orig=$ac_useropt
906
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
907
case $ac_user_opts in
908
*"
909
"enable_$ac_useropt"
910
"*) ;;
911
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
912
ac_unrecognized_sep=', ';;
913
esac
914
eval enable_$ac_useropt=\$ac_optarg ;;
915
916
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
917
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
918
| --exec | --exe | --ex)
919
ac_prev=exec_prefix ;;
920
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
921
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
922
| --exec=* | --exe=* | --ex=*)
923
exec_prefix=$ac_optarg ;;
924
925
-gas | --gas | --ga | --g)
926
# Obsolete; use --with-gas.
927
with_gas=yes ;;
928
929
-help | --help | --hel | --he | -h)
930
ac_init_help=long ;;
931
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
932
ac_init_help=recursive ;;
933
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
934
ac_init_help=short ;;
935
936
-host | --host | --hos | --ho)
937
ac_prev=host_alias ;;
938
-host=* | --host=* | --hos=* | --ho=*)
939
host_alias=$ac_optarg ;;
940
941
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
942
ac_prev=htmldir ;;
943
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
944
| --ht=*)
945
htmldir=$ac_optarg ;;
946
947
-includedir | --includedir | --includedi | --included | --include \
948
| --includ | --inclu | --incl | --inc)
949
ac_prev=includedir ;;
950
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
951
| --includ=* | --inclu=* | --incl=* | --inc=*)
952
includedir=$ac_optarg ;;
953
954
-infodir | --infodir | --infodi | --infod | --info | --inf)
955
ac_prev=infodir ;;
956
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
957
infodir=$ac_optarg ;;
958
959
-libdir | --libdir | --libdi | --libd)
960
ac_prev=libdir ;;
961
-libdir=* | --libdir=* | --libdi=* | --libd=*)
962
libdir=$ac_optarg ;;
963
964
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
965
| --libexe | --libex | --libe)
966
ac_prev=libexecdir ;;
967
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
968
| --libexe=* | --libex=* | --libe=*)
969
libexecdir=$ac_optarg ;;
970
971
-localedir | --localedir | --localedi | --localed | --locale)
972
ac_prev=localedir ;;
973
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
974
localedir=$ac_optarg ;;
975
976
-localstatedir | --localstatedir | --localstatedi | --localstated \
977
| --localstate | --localstat | --localsta | --localst | --locals)
978
ac_prev=localstatedir ;;
979
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
980
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
981
localstatedir=$ac_optarg ;;
982
983
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
984
ac_prev=mandir ;;
985
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
986
mandir=$ac_optarg ;;
987
988
-nfp | --nfp | --nf)
989
# Obsolete; use --without-fp.
990
with_fp=no ;;
991
992
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
993
| --no-cr | --no-c | -n)
994
no_create=yes ;;
995
996
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
997
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
998
no_recursion=yes ;;
999
1000
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1001
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1002
| --oldin | --oldi | --old | --ol | --o)
1003
ac_prev=oldincludedir ;;
1004
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1005
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1006
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1007
oldincludedir=$ac_optarg ;;
1008
1009
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1010
ac_prev=prefix ;;
1011
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1012
prefix=$ac_optarg ;;
1013
1014
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1015
| --program-pre | --program-pr | --program-p)
1016
ac_prev=program_prefix ;;
1017
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1018
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1019
program_prefix=$ac_optarg ;;
1020
1021
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1022
| --program-suf | --program-su | --program-s)
1023
ac_prev=program_suffix ;;
1024
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1025
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1026
program_suffix=$ac_optarg ;;
1027
1028
-program-transform-name | --program-transform-name \
1029
| --program-transform-nam | --program-transform-na \
1030
| --program-transform-n | --program-transform- \
1031
| --program-transform | --program-transfor \
1032
| --program-transfo | --program-transf \
1033
| --program-trans | --program-tran \
1034
| --progr-tra | --program-tr | --program-t)
1035
ac_prev=program_transform_name ;;
1036
-program-transform-name=* | --program-transform-name=* \
1037
| --program-transform-nam=* | --program-transform-na=* \
1038
| --program-transform-n=* | --program-transform-=* \
1039
| --program-transform=* | --program-transfor=* \
1040
| --program-transfo=* | --program-transf=* \
1041
| --program-trans=* | --program-tran=* \
1042
| --progr-tra=* | --program-tr=* | --program-t=*)
1043
program_transform_name=$ac_optarg ;;
1044
1045
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1046
ac_prev=pdfdir ;;
1047
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1048
pdfdir=$ac_optarg ;;
1049
1050
-psdir | --psdir | --psdi | --psd | --ps)
1051
ac_prev=psdir ;;
1052
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1053
psdir=$ac_optarg ;;
1054
1055
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1056
| -silent | --silent | --silen | --sile | --sil)
1057
silent=yes ;;
1058
1059
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1060
ac_prev=sbindir ;;
1061
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1062
| --sbi=* | --sb=*)
1063
sbindir=$ac_optarg ;;
1064
1065
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1066
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1067
| --sharedst | --shareds | --shared | --share | --shar \
1068
| --sha | --sh)
1069
ac_prev=sharedstatedir ;;
1070
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1071
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1072
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1073
| --sha=* | --sh=*)
1074
sharedstatedir=$ac_optarg ;;
1075
1076
-site | --site | --sit)
1077
ac_prev=site ;;
1078
-site=* | --site=* | --sit=*)
1079
site=$ac_optarg ;;
1080
1081
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1082
ac_prev=srcdir ;;
1083
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1084
srcdir=$ac_optarg ;;
1085
1086
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1087
| --syscon | --sysco | --sysc | --sys | --sy)
1088
ac_prev=sysconfdir ;;
1089
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1090
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1091
sysconfdir=$ac_optarg ;;
1092
1093
-target | --target | --targe | --targ | --tar | --ta | --t)
1094
ac_prev=target_alias ;;
1095
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1096
target_alias=$ac_optarg ;;
1097
1098
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1099
verbose=yes ;;
1100
1101
-version | --version | --versio | --versi | --vers | -V)
1102
ac_init_version=: ;;
1103
1104
-with-* | --with-*)
1105
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1106
# Reject names that are not valid shell variable names.
1107
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1108
as_fn_error $? "invalid package name: $ac_useropt"
1109
ac_useropt_orig=$ac_useropt
1110
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1111
case $ac_user_opts in
1112
*"
1113
"with_$ac_useropt"
1114
"*) ;;
1115
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1116
ac_unrecognized_sep=', ';;
1117
esac
1118
eval with_$ac_useropt=\$ac_optarg ;;
1119
1120
-without-* | --without-*)
1121
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1122
# Reject names that are not valid shell variable names.
1123
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1124
as_fn_error $? "invalid package name: $ac_useropt"
1125
ac_useropt_orig=$ac_useropt
1126
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1127
case $ac_user_opts in
1128
*"
1129
"with_$ac_useropt"
1130
"*) ;;
1131
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1132
ac_unrecognized_sep=', ';;
1133
esac
1134
eval with_$ac_useropt=no ;;
1135
1136
--x)
1137
# Obsolete; use --with-x.
1138
with_x=yes ;;
1139
1140
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1141
| --x-incl | --x-inc | --x-in | --x-i)
1142
ac_prev=x_includes ;;
1143
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1144
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1145
x_includes=$ac_optarg ;;
1146
1147
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1148
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1149
ac_prev=x_libraries ;;
1150
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1151
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1152
x_libraries=$ac_optarg ;;
1153
1154
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1155
Try \`$0 --help' for more information"
1156
;;
1157
1158
*=*)
1159
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1160
# Reject names that are not valid shell variable names.
1161
case $ac_envvar in #(
1162
'' | [0-9]* | *[!_$as_cr_alnum]* )
1163
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1164
esac
1165
eval $ac_envvar=\$ac_optarg
1166
export $ac_envvar ;;
1167
1168
*)
1169
# FIXME: should be removed in autoconf 3.0.
1170
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1171
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1172
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1173
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1174
;;
1175
1176
esac
1177
done
1178
1179
if test -n "$ac_prev"; then
1180
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1181
as_fn_error $? "missing argument to $ac_option"
1182
fi
1183
1184
if test -n "$ac_unrecognized_opts"; then
1185
case $enable_option_checking in
1186
no) ;;
1187
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1188
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1189
esac
1190
fi
1191
1192
# Check all directory arguments for consistency.
1193
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1194
datadir sysconfdir sharedstatedir localstatedir includedir \
1195
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1196
libdir localedir mandir
1197
do
1198
eval ac_val=\$$ac_var
1199
# Remove trailing slashes.
1200
case $ac_val in
1201
*/ )
1202
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1203
eval $ac_var=\$ac_val;;
1204
esac
1205
# Be sure to have absolute directory names.
1206
case $ac_val in
1207
[\\/$]* | ?:[\\/]* ) continue;;
1208
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1209
esac
1210
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1211
done
1212
1213
# There might be people who depend on the old broken behavior: `$host'
1214
# used to hold the argument of --host etc.
1215
# FIXME: To remove some day.
1216
build=$build_alias
1217
host=$host_alias
1218
target=$target_alias
1219
1220
# FIXME: To remove some day.
1221
if test "x$host_alias" != x; then
1222
if test "x$build_alias" = x; then
1223
cross_compiling=maybe
1224
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1225
If a cross compiler is detected then cross compile mode will be used" >&2
1226
elif test "x$build_alias" != "x$host_alias"; then
1227
cross_compiling=yes
1228
fi
1229
fi
1230
1231
ac_tool_prefix=
1232
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1233
1234
test "$silent" = yes && exec 6>/dev/null
1235
1236
1237
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1238
ac_ls_di=`ls -di .` &&
1239
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1240
as_fn_error $? "working directory cannot be determined"
1241
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1242
as_fn_error $? "pwd does not report name of working directory"
1243
1244
1245
# Find the source files, if location was not specified.
1246
if test -z "$srcdir"; then
1247
ac_srcdir_defaulted=yes
1248
# Try the directory containing this script, then the parent directory.
1249
ac_confdir=`$as_dirname -- "$as_myself" ||
1250
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1251
X"$as_myself" : 'X\(//\)[^/]' \| \
1252
X"$as_myself" : 'X\(//\)$' \| \
1253
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1254
$as_echo X"$as_myself" |
1255
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1256
s//\1/
1257
q
1258
}
1259
/^X\(\/\/\)[^/].*/{
1260
s//\1/
1261
q
1262
}
1263
/^X\(\/\/\)$/{
1264
s//\1/
1265
q
1266
}
1267
/^X\(\/\).*/{
1268
s//\1/
1269
q
1270
}
1271
s/.*/./; q'`
1272
srcdir=$ac_confdir
1273
if test ! -r "$srcdir/$ac_unique_file"; then
1274
srcdir=..
1275
fi
1276
else
1277
ac_srcdir_defaulted=no
1278
fi
1279
if test ! -r "$srcdir/$ac_unique_file"; then
1280
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1281
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1282
fi
1283
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1284
ac_abs_confdir=`(
1285
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1286
pwd)`
1287
# When building in place, set srcdir=.
1288
if test "$ac_abs_confdir" = "$ac_pwd"; then
1289
srcdir=.
1290
fi
1291
# Remove unnecessary trailing slashes from srcdir.
1292
# Double slashes in file names in object file debugging info
1293
# mess up M-x gdb in Emacs.
1294
case $srcdir in
1295
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1296
esac
1297
for ac_var in $ac_precious_vars; do
1298
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1299
eval ac_env_${ac_var}_value=\$${ac_var}
1300
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1301
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1302
done
1303
1304
#
1305
# Report the --help message.
1306
#
1307
if test "$ac_init_help" = "long"; then
1308
# Omit some internal or obsolete options to make the list less imposing.
1309
# This message is too long to be a string in the A/UX 3.1 sh.
1310
cat <<_ACEOF
1311
\`configure' configures Google C++ Testing Framework 1.7.0 to adapt to many kinds of systems.
1312
1313
Usage: $0 [OPTION]... [VAR=VALUE]...
1314
1315
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1316
VAR=VALUE. See below for descriptions of some of the useful variables.
1317
1318
Defaults for the options are specified in brackets.
1319
1320
Configuration:
1321
-h, --help display this help and exit
1322
--help=short display options specific to this package
1323
--help=recursive display the short help of all the included packages
1324
-V, --version display version information and exit
1325
-q, --quiet, --silent do not print \`checking ...' messages
1326
--cache-file=FILE cache test results in FILE [disabled]
1327
-C, --config-cache alias for \`--cache-file=config.cache'
1328
-n, --no-create do not create output files
1329
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1330
1331
Installation directories:
1332
--prefix=PREFIX install architecture-independent files in PREFIX
1333
[$ac_default_prefix]
1334
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1335
[PREFIX]
1336
1337
By default, \`make install' will install all the files in
1338
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1339
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1340
for instance \`--prefix=\$HOME'.
1341
1342
For better control, use the options below.
1343
1344
Fine tuning of the installation directories:
1345
--bindir=DIR user executables [EPREFIX/bin]
1346
--sbindir=DIR system admin executables [EPREFIX/sbin]
1347
--libexecdir=DIR program executables [EPREFIX/libexec]
1348
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1349
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1350
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1351
--libdir=DIR object code libraries [EPREFIX/lib]
1352
--includedir=DIR C header files [PREFIX/include]
1353
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1354
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1355
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1356
--infodir=DIR info documentation [DATAROOTDIR/info]
1357
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1358
--mandir=DIR man documentation [DATAROOTDIR/man]
1359
--docdir=DIR documentation root [DATAROOTDIR/doc/gtest]
1360
--htmldir=DIR html documentation [DOCDIR]
1361
--dvidir=DIR dvi documentation [DOCDIR]
1362
--pdfdir=DIR pdf documentation [DOCDIR]
1363
--psdir=DIR ps documentation [DOCDIR]
1364
_ACEOF
1365
1366
cat <<\_ACEOF
1367
1368
Program names:
1369
--program-prefix=PREFIX prepend PREFIX to installed program names
1370
--program-suffix=SUFFIX append SUFFIX to installed program names
1371
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1372
1373
System types:
1374
--build=BUILD configure for building on BUILD [guessed]
1375
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1376
_ACEOF
1377
fi
1378
1379
if test -n "$ac_init_help"; then
1380
case $ac_init_help in
1381
short | recursive ) echo "Configuration of Google C++ Testing Framework 1.7.0:";;
1382
esac
1383
cat <<\_ACEOF
1384
1385
Optional Features:
1386
--disable-option-checking ignore unrecognized --enable/--with options
1387
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1388
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1389
--disable-dependency-tracking speeds up one-time build
1390
--enable-dependency-tracking do not reject slow dependency extractors
1391
--enable-shared[=PKGS] build shared libraries [default=yes]
1392
--enable-static[=PKGS] build static libraries [default=yes]
1393
--enable-fast-install[=PKGS]
1394
optimize for fast installation [default=yes]
1395
--disable-libtool-lock avoid locking (might break parallel builds)
1396
1397
Optional Packages:
1398
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1399
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1400
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1401
both]
1402
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1403
--with-sysroot=DIR Search for dependent libraries within DIR
1404
(or the compiler's sysroot if not specified).
1405
--with-pthreads use pthreads (default is yes)
1406
1407
Some influential environment variables:
1408
CC C compiler command
1409
CFLAGS C compiler flags
1410
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1411
nonstandard directory <lib dir>
1412
LIBS libraries to pass to the linker, e.g. -l<library>
1413
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1414
you have headers in a nonstandard directory <include dir>
1415
CXX C++ compiler command
1416
CXXFLAGS C++ compiler flags
1417
CPP C preprocessor
1418
CXXCPP C++ preprocessor
1419
1420
Use these variables to override the choices made by `configure' or to help
1421
it to find libraries and programs with nonstandard names/locations.
1422
1423
Report bugs to <googletestframework@googlegroups.com>.
1424
_ACEOF
1425
ac_status=$?
1426
fi
1427
1428
if test "$ac_init_help" = "recursive"; then
1429
# If there are subdirs, report their specific --help.
1430
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1431
test -d "$ac_dir" ||
1432
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1433
continue
1434
ac_builddir=.
1435
1436
case "$ac_dir" in
1437
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1438
*)
1439
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1440
# A ".." for each directory in $ac_dir_suffix.
1441
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1442
case $ac_top_builddir_sub in
1443
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1444
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1445
esac ;;
1446
esac
1447
ac_abs_top_builddir=$ac_pwd
1448
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1449
# for backward compatibility:
1450
ac_top_builddir=$ac_top_build_prefix
1451
1452
case $srcdir in
1453
.) # We are building in place.
1454
ac_srcdir=.
1455
ac_top_srcdir=$ac_top_builddir_sub
1456
ac_abs_top_srcdir=$ac_pwd ;;
1457
[\\/]* | ?:[\\/]* ) # Absolute name.
1458
ac_srcdir=$srcdir$ac_dir_suffix;
1459
ac_top_srcdir=$srcdir
1460
ac_abs_top_srcdir=$srcdir ;;
1461
*) # Relative name.
1462
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1463
ac_top_srcdir=$ac_top_build_prefix$srcdir
1464
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1465
esac
1466
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1467
1468
cd "$ac_dir" || { ac_status=$?; continue; }
1469
# Check for guested configure.
1470
if test -f "$ac_srcdir/configure.gnu"; then
1471
echo &&
1472
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1473
elif test -f "$ac_srcdir/configure"; then
1474
echo &&
1475
$SHELL "$ac_srcdir/configure" --help=recursive
1476
else
1477
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1478
fi || ac_status=$?
1479
cd "$ac_pwd" || { ac_status=$?; break; }
1480
done
1481
fi
1482
1483
test -n "$ac_init_help" && exit $ac_status
1484
if $ac_init_version; then
1485
cat <<\_ACEOF
1486
Google C++ Testing Framework configure 1.7.0
1487
generated by GNU Autoconf 2.68
1488
1489
Copyright (C) 2010 Free Software Foundation, Inc.
1490
This configure script is free software; the Free Software Foundation
1491
gives unlimited permission to copy, distribute and modify it.
1492
_ACEOF
1493
exit
1494
fi
1495
1496
## ------------------------ ##
1497
## Autoconf initialization. ##
1498
## ------------------------ ##
1499
1500
# ac_fn_c_try_compile LINENO
1501
# --------------------------
1502
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1503
ac_fn_c_try_compile ()
1504
{
1505
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1506
rm -f conftest.$ac_objext
1507
if { { ac_try="$ac_compile"
1508
case "(($ac_try" in
1509
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1510
*) ac_try_echo=$ac_try;;
1511
esac
1512
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1513
$as_echo "$ac_try_echo"; } >&5
1514
(eval "$ac_compile") 2>conftest.err
1515
ac_status=$?
1516
if test -s conftest.err; then
1517
grep -v '^ *+' conftest.err >conftest.er1
1518
cat conftest.er1 >&5
1519
mv -f conftest.er1 conftest.err
1520
fi
1521
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1522
test $ac_status = 0; } && {
1523
test -z "$ac_c_werror_flag" ||
1524
test ! -s conftest.err
1525
} && test -s conftest.$ac_objext; then :
1526
ac_retval=0
1527
else
1528
$as_echo "$as_me: failed program was:" >&5
1529
sed 's/^/| /' conftest.$ac_ext >&5
1530
1531
ac_retval=1
1532
fi
1533
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1534
as_fn_set_status $ac_retval
1535
1536
} # ac_fn_c_try_compile
1537
1538
# ac_fn_cxx_try_compile LINENO
1539
# ----------------------------
1540
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1541
ac_fn_cxx_try_compile ()
1542
{
1543
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1544
rm -f conftest.$ac_objext
1545
if { { ac_try="$ac_compile"
1546
case "(($ac_try" in
1547
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1548
*) ac_try_echo=$ac_try;;
1549
esac
1550
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1551
$as_echo "$ac_try_echo"; } >&5
1552
(eval "$ac_compile") 2>conftest.err
1553
ac_status=$?
1554
if test -s conftest.err; then
1555
grep -v '^ *+' conftest.err >conftest.er1
1556
cat conftest.er1 >&5
1557
mv -f conftest.er1 conftest.err
1558
fi
1559
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1560
test $ac_status = 0; } && {
1561
test -z "$ac_cxx_werror_flag" ||
1562
test ! -s conftest.err
1563
} && test -s conftest.$ac_objext; then :
1564
ac_retval=0
1565
else
1566
$as_echo "$as_me: failed program was:" >&5
1567
sed 's/^/| /' conftest.$ac_ext >&5
1568
1569
ac_retval=1
1570
fi
1571
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1572
as_fn_set_status $ac_retval
1573
1574
} # ac_fn_cxx_try_compile
1575
1576
# ac_fn_c_try_link LINENO
1577
# -----------------------
1578
# Try to link conftest.$ac_ext, and return whether this succeeded.
1579
ac_fn_c_try_link ()
1580
{
1581
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1582
rm -f conftest.$ac_objext conftest$ac_exeext
1583
if { { ac_try="$ac_link"
1584
case "(($ac_try" in
1585
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1586
*) ac_try_echo=$ac_try;;
1587
esac
1588
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1589
$as_echo "$ac_try_echo"; } >&5
1590
(eval "$ac_link") 2>conftest.err
1591
ac_status=$?
1592
if test -s conftest.err; then
1593
grep -v '^ *+' conftest.err >conftest.er1
1594
cat conftest.er1 >&5
1595
mv -f conftest.er1 conftest.err
1596
fi
1597
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1598
test $ac_status = 0; } && {
1599
test -z "$ac_c_werror_flag" ||
1600
test ! -s conftest.err
1601
} && test -s conftest$ac_exeext && {
1602
test "$cross_compiling" = yes ||
1603
$as_test_x conftest$ac_exeext
1604
}; then :
1605
ac_retval=0
1606
else
1607
$as_echo "$as_me: failed program was:" >&5
1608
sed 's/^/| /' conftest.$ac_ext >&5
1609
1610
ac_retval=1
1611
fi
1612
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1613
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1614
# interfere with the next link command; also delete a directory that is
1615
# left behind by Apple's compiler. We do this before executing the actions.
1616
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1617
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1618
as_fn_set_status $ac_retval
1619
1620
} # ac_fn_c_try_link
1621
1622
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1623
# -------------------------------------------------------
1624
# Tests whether HEADER exists and can be compiled using the include files in
1625
# INCLUDES, setting the cache variable VAR accordingly.
1626
ac_fn_c_check_header_compile ()
1627
{
1628
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1629
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1630
$as_echo_n "checking for $2... " >&6; }
1631
if eval \${$3+:} false; then :
1632
$as_echo_n "(cached) " >&6
1633
else
1634
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1635
/* end confdefs.h. */
1636
$4
1637
#include <$2>
1638
_ACEOF
1639
if ac_fn_c_try_compile "$LINENO"; then :
1640
eval "$3=yes"
1641
else
1642
eval "$3=no"
1643
fi
1644
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1645
fi
1646
eval ac_res=\$$3
1647
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1648
$as_echo "$ac_res" >&6; }
1649
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1650
1651
} # ac_fn_c_check_header_compile
1652
1653
# ac_fn_c_try_cpp LINENO
1654
# ----------------------
1655
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1656
ac_fn_c_try_cpp ()
1657
{
1658
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1659
if { { ac_try="$ac_cpp conftest.$ac_ext"
1660
case "(($ac_try" in
1661
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1662
*) ac_try_echo=$ac_try;;
1663
esac
1664
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1665
$as_echo "$ac_try_echo"; } >&5
1666
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1667
ac_status=$?
1668
if test -s conftest.err; then
1669
grep -v '^ *+' conftest.err >conftest.er1
1670
cat conftest.er1 >&5
1671
mv -f conftest.er1 conftest.err
1672
fi
1673
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1674
test $ac_status = 0; } > conftest.i && {
1675
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1676
test ! -s conftest.err
1677
}; then :
1678
ac_retval=0
1679
else
1680
$as_echo "$as_me: failed program was:" >&5
1681
sed 's/^/| /' conftest.$ac_ext >&5
1682
1683
ac_retval=1
1684
fi
1685
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1686
as_fn_set_status $ac_retval
1687
1688
} # ac_fn_c_try_cpp
1689
1690
# ac_fn_c_try_run LINENO
1691
# ----------------------
1692
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1693
# that executables *can* be run.
1694
ac_fn_c_try_run ()
1695
{
1696
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697
if { { ac_try="$ac_link"
1698
case "(($ac_try" in
1699
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1700
*) ac_try_echo=$ac_try;;
1701
esac
1702
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1703
$as_echo "$ac_try_echo"; } >&5
1704
(eval "$ac_link") 2>&5
1705
ac_status=$?
1706
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1707
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1708
{ { case "(($ac_try" in
1709
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1710
*) ac_try_echo=$ac_try;;
1711
esac
1712
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1713
$as_echo "$ac_try_echo"; } >&5
1714
(eval "$ac_try") 2>&5
1715
ac_status=$?
1716
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717
test $ac_status = 0; }; }; then :
1718
ac_retval=0
1719
else
1720
$as_echo "$as_me: program exited with status $ac_status" >&5
1721
$as_echo "$as_me: failed program was:" >&5
1722
sed 's/^/| /' conftest.$ac_ext >&5
1723
1724
ac_retval=$ac_status
1725
fi
1726
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1727
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1728
as_fn_set_status $ac_retval
1729
1730
} # ac_fn_c_try_run
1731
1732
# ac_fn_c_check_func LINENO FUNC VAR
1733
# ----------------------------------
1734
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1735
ac_fn_c_check_func ()
1736
{
1737
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1739
$as_echo_n "checking for $2... " >&6; }
1740
if eval \${$3+:} false; then :
1741
$as_echo_n "(cached) " >&6
1742
else
1743
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1744
/* end confdefs.h. */
1745
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1746
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1747
#define $2 innocuous_$2
1748
1749
/* System header to define __stub macros and hopefully few prototypes,
1750
which can conflict with char $2 (); below.
1751
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1752
<limits.h> exists even on freestanding compilers. */
1753
1754
#ifdef __STDC__
1755
# include <limits.h>
1756
#else
1757
# include <assert.h>
1758
#endif
1759
1760
#undef $2
1761
1762
/* Override any GCC internal prototype to avoid an error.
1763
Use char because int might match the return type of a GCC
1764
builtin and then its argument prototype would still apply. */
1765
#ifdef __cplusplus
1766
extern "C"
1767
#endif
1768
char $2 ();
1769
/* The GNU C library defines this for functions which it implements
1770
to always fail with ENOSYS. Some functions are actually named
1771
something starting with __ and the normal name is an alias. */
1772
#if defined __stub_$2 || defined __stub___$2
1773
choke me
1774
#endif
1775
1776
int
1777
main ()
1778
{
1779
return $2 ();
1780
;
1781
return 0;
1782
}
1783
_ACEOF
1784
if ac_fn_c_try_link "$LINENO"; then :
1785
eval "$3=yes"
1786
else
1787
eval "$3=no"
1788
fi
1789
rm -f core conftest.err conftest.$ac_objext \
1790
conftest$ac_exeext conftest.$ac_ext
1791
fi
1792
eval ac_res=\$$3
1793
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1794
$as_echo "$ac_res" >&6; }
1795
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1796
1797
} # ac_fn_c_check_func
1798
1799
# ac_fn_cxx_try_cpp LINENO
1800
# ------------------------
1801
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1802
ac_fn_cxx_try_cpp ()
1803
{
1804
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1805
if { { ac_try="$ac_cpp conftest.$ac_ext"
1806
case "(($ac_try" in
1807
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1808
*) ac_try_echo=$ac_try;;
1809
esac
1810
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1811
$as_echo "$ac_try_echo"; } >&5
1812
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1813
ac_status=$?
1814
if test -s conftest.err; then
1815
grep -v '^ *+' conftest.err >conftest.er1
1816
cat conftest.er1 >&5
1817
mv -f conftest.er1 conftest.err
1818
fi
1819
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1820
test $ac_status = 0; } > conftest.i && {
1821
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1822
test ! -s conftest.err
1823
}; then :
1824
ac_retval=0
1825
else
1826
$as_echo "$as_me: failed program was:" >&5
1827
sed 's/^/| /' conftest.$ac_ext >&5
1828
1829
ac_retval=1
1830
fi
1831
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1832
as_fn_set_status $ac_retval
1833
1834
} # ac_fn_cxx_try_cpp
1835
1836
# ac_fn_cxx_try_link LINENO
1837
# -------------------------
1838
# Try to link conftest.$ac_ext, and return whether this succeeded.
1839
ac_fn_cxx_try_link ()
1840
{
1841
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1842
rm -f conftest.$ac_objext conftest$ac_exeext
1843
if { { ac_try="$ac_link"
1844
case "(($ac_try" in
1845
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1846
*) ac_try_echo=$ac_try;;
1847
esac
1848
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1849
$as_echo "$ac_try_echo"; } >&5
1850
(eval "$ac_link") 2>conftest.err
1851
ac_status=$?
1852
if test -s conftest.err; then
1853
grep -v '^ *+' conftest.err >conftest.er1
1854
cat conftest.er1 >&5
1855
mv -f conftest.er1 conftest.err
1856
fi
1857
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1858
test $ac_status = 0; } && {
1859
test -z "$ac_cxx_werror_flag" ||
1860
test ! -s conftest.err
1861
} && test -s conftest$ac_exeext && {
1862
test "$cross_compiling" = yes ||
1863
$as_test_x conftest$ac_exeext
1864
}; then :
1865
ac_retval=0
1866
else
1867
$as_echo "$as_me: failed program was:" >&5
1868
sed 's/^/| /' conftest.$ac_ext >&5
1869
1870
ac_retval=1
1871
fi
1872
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1873
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1874
# interfere with the next link command; also delete a directory that is
1875
# left behind by Apple's compiler. We do this before executing the actions.
1876
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1877
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1878
as_fn_set_status $ac_retval
1879
1880
} # ac_fn_cxx_try_link
1881
cat >config.log <<_ACEOF
1882
This file contains any messages produced by compilers while
1883
running configure, to aid debugging if configure makes a mistake.
1884
1885
It was created by Google C++ Testing Framework $as_me 1.7.0, which was
1886
generated by GNU Autoconf 2.68. Invocation command line was
1887
1888
$ $0 $@
1889
1890
_ACEOF
1891
exec 5>>config.log
1892
{
1893
cat <<_ASUNAME
1894
## --------- ##
1895
## Platform. ##
1896
## --------- ##
1897
1898
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1899
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1900
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1901
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1902
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1903
1904
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1905
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1906
1907
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1908
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1909
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1910
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1911
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1912
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1913
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1914
1915
_ASUNAME
1916
1917
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1918
for as_dir in $PATH
1919
do
1920
IFS=$as_save_IFS
1921
test -z "$as_dir" && as_dir=.
1922
$as_echo "PATH: $as_dir"
1923
done
1924
IFS=$as_save_IFS
1925
1926
} >&5
1927
1928
cat >&5 <<_ACEOF
1929
1930
1931
## ----------- ##
1932
## Core tests. ##
1933
## ----------- ##
1934
1935
_ACEOF
1936
1937
1938
# Keep a trace of the command line.
1939
# Strip out --no-create and --no-recursion so they do not pile up.
1940
# Strip out --silent because we don't want to record it for future runs.
1941
# Also quote any args containing shell meta-characters.
1942
# Make two passes to allow for proper duplicate-argument suppression.
1943
ac_configure_args=
1944
ac_configure_args0=
1945
ac_configure_args1=
1946
ac_must_keep_next=false
1947
for ac_pass in 1 2
1948
do
1949
for ac_arg
1950
do
1951
case $ac_arg in
1952
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1953
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1954
| -silent | --silent | --silen | --sile | --sil)
1955
continue ;;
1956
*\'*)
1957
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1958
esac
1959
case $ac_pass in
1960
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1961
2)
1962
as_fn_append ac_configure_args1 " '$ac_arg'"
1963
if test $ac_must_keep_next = true; then
1964
ac_must_keep_next=false # Got value, back to normal.
1965
else
1966
case $ac_arg in
1967
*=* | --config-cache | -C | -disable-* | --disable-* \
1968
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1969
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1970
| -with-* | --with-* | -without-* | --without-* | --x)
1971
case "$ac_configure_args0 " in
1972
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1973
esac
1974
;;
1975
-* ) ac_must_keep_next=true ;;
1976
esac
1977
fi
1978
as_fn_append ac_configure_args " '$ac_arg'"
1979
;;
1980
esac
1981
done
1982
done
1983
{ ac_configure_args0=; unset ac_configure_args0;}
1984
{ ac_configure_args1=; unset ac_configure_args1;}
1985
1986
# When interrupted or exit'd, cleanup temporary files, and complete
1987
# config.log. We remove comments because anyway the quotes in there
1988
# would cause problems or look ugly.
1989
# WARNING: Use '\'' to represent an apostrophe within the trap.
1990
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1991
trap 'exit_status=$?
1992
# Save into config.log some information that might help in debugging.
1993
{
1994
echo
1995
1996
$as_echo "## ---------------- ##
1997
## Cache variables. ##
1998
## ---------------- ##"
1999
echo
2000
# The following way of writing the cache mishandles newlines in values,
2001
(
2002
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2003
eval ac_val=\$$ac_var
2004
case $ac_val in #(
2005
*${as_nl}*)
2006
case $ac_var in #(
2007
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2008
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2009
esac
2010
case $ac_var in #(
2011
_ | IFS | as_nl) ;; #(
2012
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2013
*) { eval $ac_var=; unset $ac_var;} ;;
2014
esac ;;
2015
esac
2016
done
2017
(set) 2>&1 |
2018
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2019
*${as_nl}ac_space=\ *)
2020
sed -n \
2021
"s/'\''/'\''\\\\'\'''\''/g;
2022
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2023
;; #(
2024
*)
2025
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2026
;;
2027
esac |
2028
sort
2029
)
2030
echo
2031
2032
$as_echo "## ----------------- ##
2033
## Output variables. ##
2034
## ----------------- ##"
2035
echo
2036
for ac_var in $ac_subst_vars
2037
do
2038
eval ac_val=\$$ac_var
2039
case $ac_val in
2040
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2041
esac
2042
$as_echo "$ac_var='\''$ac_val'\''"
2043
done | sort
2044
echo
2045
2046
if test -n "$ac_subst_files"; then
2047
$as_echo "## ------------------- ##
2048
## File substitutions. ##
2049
## ------------------- ##"
2050
echo
2051
for ac_var in $ac_subst_files
2052
do
2053
eval ac_val=\$$ac_var
2054
case $ac_val in
2055
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2056
esac
2057
$as_echo "$ac_var='\''$ac_val'\''"
2058
done | sort
2059
echo
2060
fi
2061
2062
if test -s confdefs.h; then
2063
$as_echo "## ----------- ##
2064
## confdefs.h. ##
2065
## ----------- ##"
2066
echo
2067
cat confdefs.h
2068
echo
2069
fi
2070
test "$ac_signal" != 0 &&
2071
$as_echo "$as_me: caught signal $ac_signal"
2072
$as_echo "$as_me: exit $exit_status"
2073
} >&5
2074
rm -f core *.core core.conftest.* &&
2075
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2076
exit $exit_status
2077
' 0
2078
for ac_signal in 1 2 13 15; do
2079
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2080
done
2081
ac_signal=0
2082
2083
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2084
rm -f -r conftest* confdefs.h
2085
2086
$as_echo "/* confdefs.h */" > confdefs.h
2087
2088
# Predefined preprocessor variables.
2089
2090
cat >>confdefs.h <<_ACEOF
2091
#define PACKAGE_NAME "$PACKAGE_NAME"
2092
_ACEOF
2093
2094
cat >>confdefs.h <<_ACEOF
2095
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2096
_ACEOF
2097
2098
cat >>confdefs.h <<_ACEOF
2099
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2100
_ACEOF
2101
2102
cat >>confdefs.h <<_ACEOF
2103
#define PACKAGE_STRING "$PACKAGE_STRING"
2104
_ACEOF
2105
2106
cat >>confdefs.h <<_ACEOF
2107
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2108
_ACEOF
2109
2110
cat >>confdefs.h <<_ACEOF
2111
#define PACKAGE_URL "$PACKAGE_URL"
2112
_ACEOF
2113
2114
2115
# Let the site file select an alternate cache file if it wants to.
2116
# Prefer an explicitly selected file to automatically selected ones.
2117
ac_site_file1=NONE
2118
ac_site_file2=NONE
2119
if test -n "$CONFIG_SITE"; then
2120
# We do not want a PATH search for config.site.
2121
case $CONFIG_SITE in #((
2122
-*) ac_site_file1=./$CONFIG_SITE;;
2123
*/*) ac_site_file1=$CONFIG_SITE;;
2124
*) ac_site_file1=./$CONFIG_SITE;;
2125
esac
2126
elif test "x$prefix" != xNONE; then
2127
ac_site_file1=$prefix/share/config.site
2128
ac_site_file2=$prefix/etc/config.site
2129
else
2130
ac_site_file1=$ac_default_prefix/share/config.site
2131
ac_site_file2=$ac_default_prefix/etc/config.site
2132
fi
2133
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2134
do
2135
test "x$ac_site_file" = xNONE && continue
2136
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2137
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2138
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2139
sed 's/^/| /' "$ac_site_file" >&5
2140
. "$ac_site_file" \
2141
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2142
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2143
as_fn_error $? "failed to load site script $ac_site_file
2144
See \`config.log' for more details" "$LINENO" 5; }
2145
fi
2146
done
2147
2148
if test -r "$cache_file"; then
2149
# Some versions of bash will fail to source /dev/null (special files
2150
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2151
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2152
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2153
$as_echo "$as_me: loading cache $cache_file" >&6;}
2154
case $cache_file in
2155
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2156
*) . "./$cache_file";;
2157
esac
2158
fi
2159
else
2160
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2161
$as_echo "$as_me: creating cache $cache_file" >&6;}
2162
>$cache_file
2163
fi
2164
2165
# Check that the precious variables saved in the cache have kept the same
2166
# value.
2167
ac_cache_corrupted=false
2168
for ac_var in $ac_precious_vars; do
2169
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2170
eval ac_new_set=\$ac_env_${ac_var}_set
2171
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2172
eval ac_new_val=\$ac_env_${ac_var}_value
2173
case $ac_old_set,$ac_new_set in
2174
set,)
2175
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2176
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2177
ac_cache_corrupted=: ;;
2178
,set)
2179
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2180
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2181
ac_cache_corrupted=: ;;
2182
,);;
2183
*)
2184
if test "x$ac_old_val" != "x$ac_new_val"; then
2185
# differences in whitespace do not lead to failure.
2186
ac_old_val_w=`echo x $ac_old_val`
2187
ac_new_val_w=`echo x $ac_new_val`
2188
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2189
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2190
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2191
ac_cache_corrupted=:
2192
else
2193
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2194
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2195
eval $ac_var=\$ac_old_val
2196
fi
2197
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2198
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2199
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2200
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2201
fi;;
2202
esac
2203
# Pass precious variables to config.status.
2204
if test "$ac_new_set" = set; then
2205
case $ac_new_val in
2206
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2207
*) ac_arg=$ac_var=$ac_new_val ;;
2208
esac
2209
case " $ac_configure_args " in
2210
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2211
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2212
esac
2213
fi
2214
done
2215
if $ac_cache_corrupted; then
2216
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2217
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2218
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2219
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2220
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2221
fi
2222
## -------------------- ##
2223
## Main body of script. ##
2224
## -------------------- ##
2225
2226
ac_ext=c
2227
ac_cpp='$CPP $CPPFLAGS'
2228
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2229
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2230
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2231
2232
2233
2234
# Provide various options to initialize the Autoconf and configure processes.
2235
2236
2237
2238
ac_aux_dir=
2239
for ac_dir in build-aux "$srcdir"/build-aux; do
2240
if test -f "$ac_dir/install-sh"; then
2241
ac_aux_dir=$ac_dir
2242
ac_install_sh="$ac_aux_dir/install-sh -c"
2243
break
2244
elif test -f "$ac_dir/install.sh"; then
2245
ac_aux_dir=$ac_dir
2246
ac_install_sh="$ac_aux_dir/install.sh -c"
2247
break
2248
elif test -f "$ac_dir/shtool"; then
2249
ac_aux_dir=$ac_dir
2250
ac_install_sh="$ac_aux_dir/shtool install -c"
2251
break
2252
fi
2253
done
2254
if test -z "$ac_aux_dir"; then
2255
as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2256
fi
2257
2258
# These three variables are undocumented and unsupported,
2259
# and are intended to be withdrawn in a future Autoconf release.
2260
# They can cause serious problems if a builder's source tree is in a directory
2261
# whose full name contains unusual characters.
2262
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2263
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2264
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2265
2266
2267
ac_config_headers="$ac_config_headers build-aux/config.h"
2268
2269
ac_config_files="$ac_config_files Makefile"
2270
2271
ac_config_files="$ac_config_files scripts/gtest-config"
2272
2273
2274
# Initialize Automake with various options. We require at least v1.9, prevent
2275
# pedantic complaints about package files, and enable various distribution
2276
# targets.
2277
am__api_version='1.11'
2278
2279
# Find a good install program. We prefer a C program (faster),
2280
# so one script is as good as another. But avoid the broken or
2281
# incompatible versions:
2282
# SysV /etc/install, /usr/sbin/install
2283
# SunOS /usr/etc/install
2284
# IRIX /sbin/install
2285
# AIX /bin/install
2286
# AmigaOS /C/install, which installs bootblocks on floppy discs
2287
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2288
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2289
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2290
# OS/2's system install, which has a completely different semantic
2291
# ./install, which can be erroneously created by make from ./install.sh.
2292
# Reject install programs that cannot install multiple files.
2293
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2294
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2295
if test -z "$INSTALL"; then
2296
if ${ac_cv_path_install+:} false; then :
2297
$as_echo_n "(cached) " >&6
2298
else
2299
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2300
for as_dir in $PATH
2301
do
2302
IFS=$as_save_IFS
2303
test -z "$as_dir" && as_dir=.
2304
# Account for people who put trailing slashes in PATH elements.
2305
case $as_dir/ in #((
2306
./ | .// | /[cC]/* | \
2307
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2308
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2309
/usr/ucb/* ) ;;
2310
*)
2311
# OSF1 and SCO ODT 3.0 have their own names for install.
2312
# Don't use installbsd from OSF since it installs stuff as root
2313
# by default.
2314
for ac_prog in ginstall scoinst install; do
2315
for ac_exec_ext in '' $ac_executable_extensions; do
2316
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2317
if test $ac_prog = install &&
2318
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2319
# AIX install. It has an incompatible calling convention.
2320
:
2321
elif test $ac_prog = install &&
2322
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2323
# program-specific install script used by HP pwplus--don't use.
2324
:
2325
else
2326
rm -rf conftest.one conftest.two conftest.dir
2327
echo one > conftest.one
2328
echo two > conftest.two
2329
mkdir conftest.dir
2330
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2331
test -s conftest.one && test -s conftest.two &&
2332
test -s conftest.dir/conftest.one &&
2333
test -s conftest.dir/conftest.two
2334
then
2335
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2336
break 3
2337
fi
2338
fi
2339
fi
2340
done
2341
done
2342
;;
2343
esac
2344
2345
done
2346
IFS=$as_save_IFS
2347
2348
rm -rf conftest.one conftest.two conftest.dir
2349
2350
fi
2351
if test "${ac_cv_path_install+set}" = set; then
2352
INSTALL=$ac_cv_path_install
2353
else
2354
# As a last resort, use the slow shell script. Don't cache a
2355
# value for INSTALL within a source directory, because that will
2356
# break other packages using the cache if that directory is
2357
# removed, or if the value is a relative name.
2358
INSTALL=$ac_install_sh
2359
fi
2360
fi
2361
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2362
$as_echo "$INSTALL" >&6; }
2363
2364
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2365
# It thinks the first close brace ends the variable substitution.
2366
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2367
2368
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2369
2370
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2371
2372
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2373
$as_echo_n "checking whether build environment is sane... " >&6; }
2374
# Just in case
2375
sleep 1
2376
echo timestamp > conftest.file
2377
# Reject unsafe characters in $srcdir or the absolute working directory
2378
# name. Accept space and tab only in the latter.
2379
am_lf='
2380
'
2381
case `pwd` in
2382
*[\\\"\#\$\&\'\`$am_lf]*)
2383
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2384
esac
2385
case $srcdir in
2386
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2387
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2388
esac
2389
2390
# Do `set' in a subshell so we don't clobber the current shell's
2391
# arguments. Must try -L first in case configure is actually a
2392
# symlink; some systems play weird games with the mod time of symlinks
2393
# (eg FreeBSD returns the mod time of the symlink's containing
2394
# directory).
2395
if (
2396
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2397
if test "$*" = "X"; then
2398
# -L didn't work.
2399
set X `ls -t "$srcdir/configure" conftest.file`
2400
fi
2401
rm -f conftest.file
2402
if test "$*" != "X $srcdir/configure conftest.file" \
2403
&& test "$*" != "X conftest.file $srcdir/configure"; then
2404
2405
# If neither matched, then we have a broken ls. This can happen
2406
# if, for instance, CONFIG_SHELL is bash and it inherits a
2407
# broken ls alias from the environment. This has actually
2408
# happened. Such a system could not be considered "sane".
2409
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2410
alias in your environment" "$LINENO" 5
2411
fi
2412
2413
test "$2" = conftest.file
2414
)
2415
then
2416
# Ok.
2417
:
2418
else
2419
as_fn_error $? "newly created file is older than distributed files!
2420
Check your system clock" "$LINENO" 5
2421
fi
2422
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2423
$as_echo "yes" >&6; }
2424
test "$program_prefix" != NONE &&
2425
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2426
# Use a double $ so make ignores it.
2427
test "$program_suffix" != NONE &&
2428
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2429
# Double any \ or $.
2430
# By default was `s,x,x', remove it if useless.
2431
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2432
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2433
2434
# expand $ac_aux_dir to an absolute path
2435
am_aux_dir=`cd $ac_aux_dir && pwd`
2436
2437
if test x"${MISSING+set}" != xset; then
2438
case $am_aux_dir in
2439
*\ * | *\ *)
2440
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2441
*)
2442
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2443
esac
2444
fi
2445
# Use eval to expand $SHELL
2446
if eval "$MISSING --run true"; then
2447
am_missing_run="$MISSING --run "
2448
else
2449
am_missing_run=
2450
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2451
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2452
fi
2453
2454
if test x"${install_sh}" != xset; then
2455
case $am_aux_dir in
2456
*\ * | *\ *)
2457
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2458
*)
2459
install_sh="\${SHELL} $am_aux_dir/install-sh"
2460
esac
2461
fi
2462
2463
# Installed binaries are usually stripped using `strip' when the user
2464
# run `make install-strip'. However `strip' might not be the right
2465
# tool to use in cross-compilation environments, therefore Automake
2466
# will honor the `STRIP' environment variable to overrule this program.
2467
if test "$cross_compiling" != no; then
2468
if test -n "$ac_tool_prefix"; then
2469
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2470
set dummy ${ac_tool_prefix}strip; ac_word=$2
2471
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2472
$as_echo_n "checking for $ac_word... " >&6; }
2473
if ${ac_cv_prog_STRIP+:} false; then :
2474
$as_echo_n "(cached) " >&6
2475
else
2476
if test -n "$STRIP"; then
2477
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2478
else
2479
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2480
for as_dir in $PATH
2481
do
2482
IFS=$as_save_IFS
2483
test -z "$as_dir" && as_dir=.
2484
for ac_exec_ext in '' $ac_executable_extensions; do
2485
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2486
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2487
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2488
break 2
2489
fi
2490
done
2491
done
2492
IFS=$as_save_IFS
2493
2494
fi
2495
fi
2496
STRIP=$ac_cv_prog_STRIP
2497
if test -n "$STRIP"; then
2498
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2499
$as_echo "$STRIP" >&6; }
2500
else
2501
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2502
$as_echo "no" >&6; }
2503
fi
2504
2505
2506
fi
2507
if test -z "$ac_cv_prog_STRIP"; then
2508
ac_ct_STRIP=$STRIP
2509
# Extract the first word of "strip", so it can be a program name with args.
2510
set dummy strip; ac_word=$2
2511
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2512
$as_echo_n "checking for $ac_word... " >&6; }
2513
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2514
$as_echo_n "(cached) " >&6
2515
else
2516
if test -n "$ac_ct_STRIP"; then
2517
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2518
else
2519
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2520
for as_dir in $PATH
2521
do
2522
IFS=$as_save_IFS
2523
test -z "$as_dir" && as_dir=.
2524
for ac_exec_ext in '' $ac_executable_extensions; do
2525
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2526
ac_cv_prog_ac_ct_STRIP="strip"
2527
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2528
break 2
2529
fi
2530
done
2531
done
2532
IFS=$as_save_IFS
2533
2534
fi
2535
fi
2536
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2537
if test -n "$ac_ct_STRIP"; then
2538
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2539
$as_echo "$ac_ct_STRIP" >&6; }
2540
else
2541
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2542
$as_echo "no" >&6; }
2543
fi
2544
2545
if test "x$ac_ct_STRIP" = x; then
2546
STRIP=":"
2547
else
2548
case $cross_compiling:$ac_tool_warned in
2549
yes:)
2550
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2551
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2552
ac_tool_warned=yes ;;
2553
esac
2554
STRIP=$ac_ct_STRIP
2555
fi
2556
else