"Fossies" - the Fresh Open Source Software Archive 
Member "bonnie++-1.04/configure" (5 Sep 2017, 136489 Bytes) of package /linux/privat/bonnie++_1.04.tgz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
See also the latest
Fossies "Diffs" side-by-side code changes report for "configure":
1.03e_vs_1.04.
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 #
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
78 }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
88
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
95 do
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
101
102 ;;
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
112 fi
113
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
125
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
131
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
157 fi
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
173 ;;
174 esac
175 fi
176 "
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
182
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190 else
191 exitcode=1; echo positional parameters were not saved.
192 fi
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev/null; then :
201 as_have_required=yes
202 else
203 as_have_required=no
204 fi
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206
207 else
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209 as_found=false
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211 do
212 IFS=$as_save_IFS
213 test -z "$as_dir" && as_dir=.
214 as_found=:
215 case $as_dir in #(
216 /*)
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 break 2
225 fi
226 fi
227 done;;
228 esac
229 as_found=false
230 done
231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
234 fi; }
235 IFS=$as_save_IFS
236
237
238 if test "x$CONFIG_SHELL" != x; then :
239 export CONFIG_SHELL
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
244 BASH_ENV=/dev/null
245 ENV=/dev/null
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247 case $- in # ((((
248 *v*x* | *x*v* ) as_opts=-vx ;;
249 *v* ) as_opts=-v ;;
250 *x* ) as_opts=-x ;;
251 * ) as_opts= ;;
252 esac
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257 exit 255
258 fi
259
260 if test x$as_have_required = xno; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x${ZSH_VERSION+set} = xset ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266 else
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
271 fi
272 exit 1
273 fi
274 fi
275 fi
276 SHELL=${CONFIG_SHELL-/bin/sh}
277 export SHELL
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
281
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
285 # as_fn_unset VAR
286 # ---------------
287 # Portably unset VAR.
288 as_fn_unset ()
289 {
290 { eval $1=; unset $1;}
291 }
292 as_unset=as_fn_unset
293
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
297 as_fn_set_status ()
298 {
299 return $1
300 } # as_fn_set_status
301
302 # as_fn_exit STATUS
303 # -----------------
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
305 as_fn_exit ()
306 {
307 set +e
308 as_fn_set_status $1
309 exit $1
310 } # as_fn_exit
311
312 # as_fn_mkdir_p
313 # -------------
314 # Create "$as_dir" as a directory, including parents if necessary.
315 as_fn_mkdir_p ()
316 {
317
318 case $as_dir in #(
319 -*) as_dir=./$as_dir;;
320 esac
321 test -d "$as_dir" || eval $as_mkdir_p || {
322 as_dirs=
323 while :; do
324 case $as_dir in #(
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
326 *) as_qdir=$as_dir;;
327 esac
328 as_dirs="'$as_qdir' $as_dirs"
329 as_dir=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336 s//\1/
337 q
338 }
339 /^X\(\/\/\)[^/].*/{
340 s//\1/
341 q
342 }
343 /^X\(\/\/\)$/{
344 s//\1/
345 q
346 }
347 /^X\(\/\).*/{
348 s//\1/
349 q
350 }
351 s/.*/./; q'`
352 test -d "$as_dir" && break
353 done
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
356
357
358 } # as_fn_mkdir_p
359
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p ()
364 {
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
372 # implementations.
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374 eval 'as_fn_append ()
375 {
376 eval $1+=\$2
377 }'
378 else
379 as_fn_append ()
380 {
381 eval $1=\$$1\$2
382 }
383 fi # as_fn_append
384
385 # as_fn_arith ARG...
386 # ------------------
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
391 eval 'as_fn_arith ()
392 {
393 as_val=$(( $* ))
394 }'
395 else
396 as_fn_arith ()
397 {
398 as_val=`expr "$@" || test $? -eq 1`
399 }
400 fi # as_fn_arith
401
402
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
408 as_fn_error ()
409 {
410 as_status=$1; test $as_status -eq 0 && as_status=1
411 if test "$4"; then
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414 fi
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit $as_status
417 } # as_fn_error
418
419 if expr a : '\(a\)' >/dev/null 2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
421 as_expr=expr
422 else
423 as_expr=false
424 fi
425
426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
427 as_basename=basename
428 else
429 as_basename=false
430 fi
431
432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
433 as_dirname=dirname
434 else
435 as_dirname=false
436 fi
437
438 as_me=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442 $as_echo X/"$0" |
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
444 s//\1/
445 q
446 }
447 /^X\/\(\/\/\)$/{
448 s//\1/
449 q
450 }
451 /^X\/\(\/\).*/{
452 s//\1/
453 q
454 }
455 s/.*/./; q'`
456
457 # Avoid depending upon Character Ranges.
458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits='0123456789'
462 as_cr_alnum=$as_cr_Letters$as_cr_digits
463
464
465 as_lineno_1=$LINENO as_lineno_1a=$LINENO
466 as_lineno_2=$LINENO as_lineno_2a=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
470 sed -n '
471 p
472 /[$]LINENO/=
473 ' <$as_myself |
474 sed '
475 s/[$]LINENO.*/&-/
476 t lineno
477 b
478 :lineno
479 N
480 :loop
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
482 t loop
483 s/-\n.*//
484 ' >$as_me.lineno &&
485 chmod +x "$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
487
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
495 . "./$as_me.lineno"
496 # Exit status is that of the last command.
497 exit
498 }
499
500 ECHO_C= ECHO_N= ECHO_T=
501 case `echo -n x` in #(((((
502 -n*)
503 case `echo 'xy\c'` in
504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
505 xy) ECHO_C='\c';;
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
507 ECHO_T=' ';;
508 esac;;
509 *)
510 ECHO_N='-n';;
511 esac
512
513 rm -f conf$$ conf$$.exe conf$$.file
514 if test -d conf$$.dir; then
515 rm -f conf$$.dir/conf$$.file
516 else
517 rm -f conf$$.dir
518 mkdir conf$$.dir 2>/dev/null
519 fi
520 if (echo >conf$$.file) 2>/dev/null; then
521 if ln -s conf$$.file conf$$ 2>/dev/null; then
522 as_ln_s='ln -s'
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
528 as_ln_s='cp -pR'
529 elif ln conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s=ln
531 else
532 as_ln_s='cp -pR'
533 fi
534 else
535 as_ln_s='cp -pR'
536 fi
537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538 rmdir conf$$.dir 2>/dev/null
539
540 if mkdir -p . 2>/dev/null; then
541 as_mkdir_p='mkdir -p "$as_dir"'
542 else
543 test -d ./-p && rmdir ./-p
544 as_mkdir_p=false
545 fi
546
547 as_test_x='test -x'
548 as_executable_p=as_fn_executable_p
549
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555
556
557 test -n "$DJDIR" || exec 7<&0 </dev/null
558 exec 6>&1
559
560 # Name of the host.
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564
565 #
566 # Initializations.
567 #
568 ac_default_prefix=/usr/local
569 ac_clean_files=
570 ac_config_libobj_dir=.
571 LIBOBJS=
572 cross_compiling=no
573 subdirs=
574 MFLAGS=
575 MAKEFLAGS=
576
577 # Identity of this package.
578 PACKAGE_NAME=
579 PACKAGE_TARNAME=
580 PACKAGE_VERSION=
581 PACKAGE_STRING=
582 PACKAGE_BUGREPORT=
583 PACKAGE_URL=
584
585 ac_unique_file="bonnie++.cpp"
586 # Factoring default headers for most tests.
587 ac_includes_default="\
588 #include <stdio.h>
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
591 #endif
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
594 #endif
595 #ifdef STDC_HEADERS
596 # include <stdlib.h>
597 # include <stddef.h>
598 #else
599 # ifdef HAVE_STDLIB_H
600 # include <stdlib.h>
601 # endif
602 #endif
603 #ifdef HAVE_STRING_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 # include <memory.h>
606 # endif
607 # include <string.h>
608 #endif
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
611 #endif
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
614 #endif
615 #ifdef HAVE_STDINT_H
616 # include <stdint.h>
617 #endif
618 #ifdef HAVE_UNISTD_H
619 # include <unistd.h>
620 #endif"
621
622 ac_subst_vars='LTLIBOBJS
623 LIBOBJS
624 aix_mem_size
625 man8
626 exes
627 snprintf
628 true_false
629 bool
630 sa_sigaction
631 semun
632 EGREP
633 GREP
634 INSTALL_DATA
635 INSTALL_SCRIPT
636 INSTALL_PROGRAM
637 CXXCPP
638 OBJEXT
639 EXEEXT
640 ac_ct_CXX
641 CPPFLAGS
642 LDFLAGS
643 CXXFLAGS
644 CXX
645 debug
646 stripping
647 version
648 target_alias
649 host_alias
650 build_alias
651 LIBS
652 ECHO_T
653 ECHO_N
654 ECHO_C
655 DEFS
656 mandir
657 localedir
658 libdir
659 psdir
660 pdfdir
661 dvidir
662 htmldir
663 infodir
664 docdir
665 oldincludedir
666 includedir
667 runstatedir
668 localstatedir
669 sharedstatedir
670 sysconfdir
671 datadir
672 datarootdir
673 libexecdir
674 sbindir
675 bindir
676 program_transform_name
677 prefix
678 exec_prefix
679 PACKAGE_URL
680 PACKAGE_BUGREPORT
681 PACKAGE_STRING
682 PACKAGE_VERSION
683 PACKAGE_TARNAME
684 PACKAGE_NAME
685 PATH_SEPARATOR
686 SHELL'
687 ac_subst_files=''
688 ac_user_opts='
689 enable_option_checking
690 enable_stripping
691 enable_debug
692 '
693 ac_precious_vars='build_alias
694 host_alias
695 target_alias
696 CXX
697 CXXFLAGS
698 LDFLAGS
699 LIBS
700 CPPFLAGS
701 CCC
702 CXXCPP'
703
704
705 # Initialize some variables set by options.
706 ac_init_help=
707 ac_init_version=false
708 ac_unrecognized_opts=
709 ac_unrecognized_sep=
710 # The variables have the same names as the options, with
711 # dashes changed to underlines.
712 cache_file=/dev/null
713 exec_prefix=NONE
714 no_create=
715 no_recursion=
716 prefix=NONE
717 program_prefix=NONE
718 program_suffix=NONE
719 program_transform_name=s,x,x,
720 silent=
721 site=
722 srcdir=
723 verbose=
724 x_includes=NONE
725 x_libraries=NONE
726
727 # Installation directory options.
728 # These are left unexpanded so users can "make install exec_prefix=/foo"
729 # and all the variables that are supposed to be based on exec_prefix
730 # by default will actually change.
731 # Use braces instead of parens because sh, perl, etc. also accept them.
732 # (The list follows the same order as the GNU Coding Standards.)
733 bindir='${exec_prefix}/bin'
734 sbindir='${exec_prefix}/sbin'
735 libexecdir='${exec_prefix}/libexec'
736 datarootdir='${prefix}/share'
737 datadir='${datarootdir}'
738 sysconfdir='${prefix}/etc'
739 sharedstatedir='${prefix}/com'
740 localstatedir='${prefix}/var'
741 runstatedir='${localstatedir}/run'
742 includedir='${prefix}/include'
743 oldincludedir='/usr/include'
744 docdir='${datarootdir}/doc/${PACKAGE}'
745 infodir='${datarootdir}/info'
746 htmldir='${docdir}'
747 dvidir='${docdir}'
748 pdfdir='${docdir}'
749 psdir='${docdir}'
750 libdir='${exec_prefix}/lib'
751 localedir='${datarootdir}/locale'
752 mandir='${datarootdir}/man'
753
754 ac_prev=
755 ac_dashdash=
756 for ac_option
757 do
758 # If the previous option needs an argument, assign it.
759 if test -n "$ac_prev"; then
760 eval $ac_prev=\$ac_option
761 ac_prev=
762 continue
763 fi
764
765 case $ac_option in
766 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
767 *=) ac_optarg= ;;
768 *) ac_optarg=yes ;;
769 esac
770
771 # Accept the important Cygnus configure options, so we can diagnose typos.
772
773 case $ac_dashdash$ac_option in
774 --)
775 ac_dashdash=yes ;;
776
777 -bindir | --bindir | --bindi | --bind | --bin | --bi)
778 ac_prev=bindir ;;
779 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
780 bindir=$ac_optarg ;;
781
782 -build | --build | --buil | --bui | --bu)
783 ac_prev=build_alias ;;
784 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
785 build_alias=$ac_optarg ;;
786
787 -cache-file | --cache-file | --cache-fil | --cache-fi \
788 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
789 ac_prev=cache_file ;;
790 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
791 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
792 cache_file=$ac_optarg ;;
793
794 --config-cache | -C)
795 cache_file=config.cache ;;
796
797 -datadir | --datadir | --datadi | --datad)
798 ac_prev=datadir ;;
799 -datadir=* | --datadir=* | --datadi=* | --datad=*)
800 datadir=$ac_optarg ;;
801
802 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
803 | --dataroo | --dataro | --datar)
804 ac_prev=datarootdir ;;
805 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
806 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
807 datarootdir=$ac_optarg ;;
808
809 -disable-* | --disable-*)
810 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
811 # Reject names that are not valid shell variable names.
812 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
813 as_fn_error $? "invalid feature name: $ac_useropt"
814 ac_useropt_orig=$ac_useropt
815 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
816 case $ac_user_opts in
817 *"
818 "enable_$ac_useropt"
819 "*) ;;
820 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
821 ac_unrecognized_sep=', ';;
822 esac
823 eval enable_$ac_useropt=no ;;
824
825 -docdir | --docdir | --docdi | --doc | --do)
826 ac_prev=docdir ;;
827 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
828 docdir=$ac_optarg ;;
829
830 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
831 ac_prev=dvidir ;;
832 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
833 dvidir=$ac_optarg ;;
834
835 -enable-* | --enable-*)
836 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
837 # Reject names that are not valid shell variable names.
838 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
839 as_fn_error $? "invalid feature name: $ac_useropt"
840 ac_useropt_orig=$ac_useropt
841 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
842 case $ac_user_opts in
843 *"
844 "enable_$ac_useropt"
845 "*) ;;
846 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
847 ac_unrecognized_sep=', ';;
848 esac
849 eval enable_$ac_useropt=\$ac_optarg ;;
850
851 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
852 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
853 | --exec | --exe | --ex)
854 ac_prev=exec_prefix ;;
855 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
856 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
857 | --exec=* | --exe=* | --ex=*)
858 exec_prefix=$ac_optarg ;;
859
860 -gas | --gas | --ga | --g)
861 # Obsolete; use --with-gas.
862 with_gas=yes ;;
863
864 -help | --help | --hel | --he | -h)
865 ac_init_help=long ;;
866 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
867 ac_init_help=recursive ;;
868 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
869 ac_init_help=short ;;
870
871 -host | --host | --hos | --ho)
872 ac_prev=host_alias ;;
873 -host=* | --host=* | --hos=* | --ho=*)
874 host_alias=$ac_optarg ;;
875
876 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
877 ac_prev=htmldir ;;
878 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
879 | --ht=*)
880 htmldir=$ac_optarg ;;
881
882 -includedir | --includedir | --includedi | --included | --include \
883 | --includ | --inclu | --incl | --inc)
884 ac_prev=includedir ;;
885 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
886 | --includ=* | --inclu=* | --incl=* | --inc=*)
887 includedir=$ac_optarg ;;
888
889 -infodir | --infodir | --infodi | --infod | --info | --inf)
890 ac_prev=infodir ;;
891 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
892 infodir=$ac_optarg ;;
893
894 -libdir | --libdir | --libdi | --libd)
895 ac_prev=libdir ;;
896 -libdir=* | --libdir=* | --libdi=* | --libd=*)
897 libdir=$ac_optarg ;;
898
899 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
900 | --libexe | --libex | --libe)
901 ac_prev=libexecdir ;;
902 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
903 | --libexe=* | --libex=* | --libe=*)
904 libexecdir=$ac_optarg ;;
905
906 -localedir | --localedir | --localedi | --localed | --locale)
907 ac_prev=localedir ;;
908 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
909 localedir=$ac_optarg ;;
910
911 -localstatedir | --localstatedir | --localstatedi | --localstated \
912 | --localstate | --localstat | --localsta | --localst | --locals)
913 ac_prev=localstatedir ;;
914 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
915 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
916 localstatedir=$ac_optarg ;;
917
918 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
919 ac_prev=mandir ;;
920 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
921 mandir=$ac_optarg ;;
922
923 -nfp | --nfp | --nf)
924 # Obsolete; use --without-fp.
925 with_fp=no ;;
926
927 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
928 | --no-cr | --no-c | -n)
929 no_create=yes ;;
930
931 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
932 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
933 no_recursion=yes ;;
934
935 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
936 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
937 | --oldin | --oldi | --old | --ol | --o)
938 ac_prev=oldincludedir ;;
939 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
940 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
941 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
942 oldincludedir=$ac_optarg ;;
943
944 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
945 ac_prev=prefix ;;
946 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
947 prefix=$ac_optarg ;;
948
949 -program-prefix | --program-prefix | --program-prefi | --program-pref \
950 | --program-pre | --program-pr | --program-p)
951 ac_prev=program_prefix ;;
952 -program-prefix=* | --program-prefix=* | --program-prefi=* \
953 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
954 program_prefix=$ac_optarg ;;
955
956 -program-suffix | --program-suffix | --program-suffi | --program-suff \
957 | --program-suf | --program-su | --program-s)
958 ac_prev=program_suffix ;;
959 -program-suffix=* | --program-suffix=* | --program-suffi=* \
960 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
961 program_suffix=$ac_optarg ;;
962
963 -program-transform-name | --program-transform-name \
964 | --program-transform-nam | --program-transform-na \
965 | --program-transform-n | --program-transform- \
966 | --program-transform | --program-transfor \
967 | --program-transfo | --program-transf \
968 | --program-trans | --program-tran \
969 | --progr-tra | --program-tr | --program-t)
970 ac_prev=program_transform_name ;;
971 -program-transform-name=* | --program-transform-name=* \
972 | --program-transform-nam=* | --program-transform-na=* \
973 | --program-transform-n=* | --program-transform-=* \
974 | --program-transform=* | --program-transfor=* \
975 | --program-transfo=* | --program-transf=* \
976 | --program-trans=* | --program-tran=* \
977 | --progr-tra=* | --program-tr=* | --program-t=*)
978 program_transform_name=$ac_optarg ;;
979
980 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
981 ac_prev=pdfdir ;;
982 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
983 pdfdir=$ac_optarg ;;
984
985 -psdir | --psdir | --psdi | --psd | --ps)
986 ac_prev=psdir ;;
987 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
988 psdir=$ac_optarg ;;
989
990 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
991 | -silent | --silent | --silen | --sile | --sil)
992 silent=yes ;;
993
994 -runstatedir | --runstatedir | --runstatedi | --runstated \
995 | --runstate | --runstat | --runsta | --runst | --runs \
996 | --run | --ru | --r)
997 ac_prev=runstatedir ;;
998 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
999 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1000 | --run=* | --ru=* | --r=*)
1001 runstatedir=$ac_optarg ;;
1002
1003 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1004 ac_prev=sbindir ;;
1005 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1006 | --sbi=* | --sb=*)
1007 sbindir=$ac_optarg ;;
1008
1009 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1010 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1011 | --sharedst | --shareds | --shared | --share | --shar \
1012 | --sha | --sh)
1013 ac_prev=sharedstatedir ;;
1014 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1015 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1016 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1017 | --sha=* | --sh=*)
1018 sharedstatedir=$ac_optarg ;;
1019
1020 -site | --site | --sit)
1021 ac_prev=site ;;
1022 -site=* | --site=* | --sit=*)
1023 site=$ac_optarg ;;
1024
1025 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1026 ac_prev=srcdir ;;
1027 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1028 srcdir=$ac_optarg ;;
1029
1030 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1031 | --syscon | --sysco | --sysc | --sys | --sy)
1032 ac_prev=sysconfdir ;;
1033 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1034 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1035 sysconfdir=$ac_optarg ;;
1036
1037 -target | --target | --targe | --targ | --tar | --ta | --t)
1038 ac_prev=target_alias ;;
1039 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1040 target_alias=$ac_optarg ;;
1041
1042 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1043 verbose=yes ;;
1044
1045 -version | --version | --versio | --versi | --vers | -V)
1046 ac_init_version=: ;;
1047
1048 -with-* | --with-*)
1049 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1050 # Reject names that are not valid shell variable names.
1051 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1052 as_fn_error $? "invalid package name: $ac_useropt"
1053 ac_useropt_orig=$ac_useropt
1054 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1055 case $ac_user_opts in
1056 *"
1057 "with_$ac_useropt"
1058 "*) ;;
1059 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1060 ac_unrecognized_sep=', ';;
1061 esac
1062 eval with_$ac_useropt=\$ac_optarg ;;
1063
1064 -without-* | --without-*)
1065 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1066 # Reject names that are not valid shell variable names.
1067 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1068 as_fn_error $? "invalid package name: $ac_useropt"
1069 ac_useropt_orig=$ac_useropt
1070 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1071 case $ac_user_opts in
1072 *"
1073 "with_$ac_useropt"
1074 "*) ;;
1075 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1076 ac_unrecognized_sep=', ';;
1077 esac
1078 eval with_$ac_useropt=no ;;
1079
1080 --x)
1081 # Obsolete; use --with-x.
1082 with_x=yes ;;
1083
1084 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1085 | --x-incl | --x-inc | --x-in | --x-i)
1086 ac_prev=x_includes ;;
1087 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1088 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1089 x_includes=$ac_optarg ;;
1090
1091 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1092 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1093 ac_prev=x_libraries ;;
1094 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1095 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1096 x_libraries=$ac_optarg ;;
1097
1098 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1099 Try \`$0 --help' for more information"
1100 ;;
1101
1102 *=*)
1103 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1104 # Reject names that are not valid shell variable names.
1105 case $ac_envvar in #(
1106 '' | [0-9]* | *[!_$as_cr_alnum]* )
1107 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1108 esac
1109 eval $ac_envvar=\$ac_optarg
1110 export $ac_envvar ;;
1111
1112 *)
1113 # FIXME: should be removed in autoconf 3.0.
1114 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1115 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1116 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1117 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1118 ;;
1119
1120 esac
1121 done
1122
1123 if test -n "$ac_prev"; then
1124 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1125 as_fn_error $? "missing argument to $ac_option"
1126 fi
1127
1128 if test -n "$ac_unrecognized_opts"; then
1129 case $enable_option_checking in
1130 no) ;;
1131 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1132 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1133 esac
1134 fi
1135
1136 # Check all directory arguments for consistency.
1137 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1138 datadir sysconfdir sharedstatedir localstatedir includedir \
1139 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1140 libdir localedir mandir runstatedir
1141 do
1142 eval ac_val=\$$ac_var
1143 # Remove trailing slashes.
1144 case $ac_val in
1145 */ )
1146 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1147 eval $ac_var=\$ac_val;;
1148 esac
1149 # Be sure to have absolute directory names.
1150 case $ac_val in
1151 [\\/$]* | ?:[\\/]* ) continue;;
1152 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1153 esac
1154 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1155 done
1156
1157 # There might be people who depend on the old broken behavior: `$host'
1158 # used to hold the argument of --host etc.
1159 # FIXME: To remove some day.
1160 build=$build_alias
1161 host=$host_alias
1162 target=$target_alias
1163
1164 # FIXME: To remove some day.
1165 if test "x$host_alias" != x; then
1166 if test "x$build_alias" = x; then
1167 cross_compiling=maybe
1168 elif test "x$build_alias" != "x$host_alias"; then
1169 cross_compiling=yes
1170 fi
1171 fi
1172
1173 ac_tool_prefix=
1174 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1175
1176 test "$silent" = yes && exec 6>/dev/null
1177
1178
1179 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1180 ac_ls_di=`ls -di .` &&
1181 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1182 as_fn_error $? "working directory cannot be determined"
1183 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1184 as_fn_error $? "pwd does not report name of working directory"
1185
1186
1187 # Find the source files, if location was not specified.
1188 if test -z "$srcdir"; then
1189 ac_srcdir_defaulted=yes
1190 # Try the directory containing this script, then the parent directory.
1191 ac_confdir=`$as_dirname -- "$as_myself" ||
1192 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1193 X"$as_myself" : 'X\(//\)[^/]' \| \
1194 X"$as_myself" : 'X\(//\)$' \| \
1195 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1196 $as_echo X"$as_myself" |
1197 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1198 s//\1/
1199 q
1200 }
1201 /^X\(\/\/\)[^/].*/{
1202 s//\1/
1203 q
1204 }
1205 /^X\(\/\/\)$/{
1206 s//\1/
1207 q
1208 }
1209 /^X\(\/\).*/{
1210 s//\1/
1211 q
1212 }
1213 s/.*/./; q'`
1214 srcdir=$ac_confdir
1215 if test ! -r "$srcdir/$ac_unique_file"; then
1216 srcdir=..
1217 fi
1218 else
1219 ac_srcdir_defaulted=no
1220 fi
1221 if test ! -r "$srcdir/$ac_unique_file"; then
1222 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1223 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1224 fi
1225 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1226 ac_abs_confdir=`(
1227 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1228 pwd)`
1229 # When building in place, set srcdir=.
1230 if test "$ac_abs_confdir" = "$ac_pwd"; then
1231 srcdir=.
1232 fi
1233 # Remove unnecessary trailing slashes from srcdir.
1234 # Double slashes in file names in object file debugging info
1235 # mess up M-x gdb in Emacs.
1236 case $srcdir in
1237 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1238 esac
1239 for ac_var in $ac_precious_vars; do
1240 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1241 eval ac_env_${ac_var}_value=\$${ac_var}
1242 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1243 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1244 done
1245
1246 #
1247 # Report the --help message.
1248 #
1249 if test "$ac_init_help" = "long"; then
1250 # Omit some internal or obsolete options to make the list less imposing.
1251 # This message is too long to be a string in the A/UX 3.1 sh.
1252 cat <<_ACEOF
1253 \`configure' configures this package to adapt to many kinds of systems.
1254
1255 Usage: $0 [OPTION]... [VAR=VALUE]...
1256
1257 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1258 VAR=VALUE. See below for descriptions of some of the useful variables.
1259
1260 Defaults for the options are specified in brackets.
1261
1262 Configuration:
1263 -h, --help display this help and exit
1264 --help=short display options specific to this package
1265 --help=recursive display the short help of all the included packages
1266 -V, --version display version information and exit
1267 -q, --quiet, --silent do not print \`checking ...' messages
1268 --cache-file=FILE cache test results in FILE [disabled]
1269 -C, --config-cache alias for \`--cache-file=config.cache'
1270 -n, --no-create do not create output files
1271 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1272
1273 Installation directories:
1274 --prefix=PREFIX install architecture-independent files in PREFIX
1275 [$ac_default_prefix]
1276 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1277 [PREFIX]
1278
1279 By default, \`make install' will install all the files in
1280 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1281 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1282 for instance \`--prefix=\$HOME'.
1283
1284 For better control, use the options below.
1285
1286 Fine tuning of the installation directories:
1287 --bindir=DIR user executables [EPREFIX/bin]
1288 --sbindir=DIR system admin executables [EPREFIX/sbin]
1289 --libexecdir=DIR program executables [EPREFIX/libexec]
1290 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1291 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1292 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1293 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1294 --libdir=DIR object code libraries [EPREFIX/lib]
1295 --includedir=DIR C header files [PREFIX/include]
1296 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1297 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1298 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1299 --infodir=DIR info documentation [DATAROOTDIR/info]
1300 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1301 --mandir=DIR man documentation [DATAROOTDIR/man]
1302 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1303 --htmldir=DIR html documentation [DOCDIR]
1304 --dvidir=DIR dvi documentation [DOCDIR]
1305 --pdfdir=DIR pdf documentation [DOCDIR]
1306 --psdir=DIR ps documentation [DOCDIR]
1307 _ACEOF
1308
1309 cat <<\_ACEOF
1310 _ACEOF
1311 fi
1312
1313 if test -n "$ac_init_help"; then
1314
1315 cat <<\_ACEOF
1316
1317 Optional Features:
1318 --disable-option-checking ignore unrecognized --enable/--with options
1319 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1320 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1321 --disable-stripping disables stripping of installed binaries
1322 --with-debug enables debug code generation for binaries
1323
1324 Some influential environment variables:
1325 CXX C++ compiler command
1326 CXXFLAGS C++ compiler flags
1327 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1328 nonstandard directory <lib dir>
1329 LIBS libraries to pass to the linker, e.g. -l<library>
1330 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1331 you have headers in a nonstandard directory <include dir>
1332 CXXCPP C++ preprocessor
1333
1334 Use these variables to override the choices made by `configure' or to help
1335 it to find libraries and programs with nonstandard names/locations.
1336
1337 Report bugs to the package provider.
1338 _ACEOF
1339 ac_status=$?
1340 fi
1341
1342 if test "$ac_init_help" = "recursive"; then
1343 # If there are subdirs, report their specific --help.
1344 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1345 test -d "$ac_dir" ||
1346 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1347 continue
1348 ac_builddir=.
1349
1350 case "$ac_dir" in
1351 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1352 *)
1353 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1354 # A ".." for each directory in $ac_dir_suffix.
1355 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1356 case $ac_top_builddir_sub in
1357 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1358 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1359 esac ;;
1360 esac
1361 ac_abs_top_builddir=$ac_pwd
1362 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1363 # for backward compatibility:
1364 ac_top_builddir=$ac_top_build_prefix
1365
1366 case $srcdir in
1367 .) # We are building in place.
1368 ac_srcdir=.
1369 ac_top_srcdir=$ac_top_builddir_sub
1370 ac_abs_top_srcdir=$ac_pwd ;;
1371 [\\/]* | ?:[\\/]* ) # Absolute name.
1372 ac_srcdir=$srcdir$ac_dir_suffix;
1373 ac_top_srcdir=$srcdir
1374 ac_abs_top_srcdir=$srcdir ;;
1375 *) # Relative name.
1376 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1377 ac_top_srcdir=$ac_top_build_prefix$srcdir
1378 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1379 esac
1380 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1381
1382 cd "$ac_dir" || { ac_status=$?; continue; }
1383 # Check for guested configure.
1384 if test -f "$ac_srcdir/configure.gnu"; then
1385 echo &&
1386 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1387 elif test -f "$ac_srcdir/configure"; then
1388 echo &&
1389 $SHELL "$ac_srcdir/configure" --help=recursive
1390 else
1391 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1392 fi || ac_status=$?
1393 cd "$ac_pwd" || { ac_status=$?; break; }
1394 done
1395 fi
1396
1397 test -n "$ac_init_help" && exit $ac_status
1398 if $ac_init_version; then
1399 cat <<\_ACEOF
1400 configure
1401 generated by GNU Autoconf 2.69
1402
1403 Copyright (C) 2012 Free Software Foundation, Inc.
1404 This configure script is free software; the Free Software Foundation
1405 gives unlimited permission to copy, distribute and modify it.
1406 _ACEOF
1407 exit
1408 fi
1409
1410 ## ------------------------ ##
1411 ## Autoconf initialization. ##
1412 ## ------------------------ ##
1413
1414 # ac_fn_cxx_try_compile LINENO
1415 # ----------------------------
1416 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1417 ac_fn_cxx_try_compile ()
1418 {
1419 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1420 rm -f conftest.$ac_objext
1421 if { { ac_try="$ac_compile"
1422 case "(($ac_try" in
1423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1424 *) ac_try_echo=$ac_try;;
1425 esac
1426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1427 $as_echo "$ac_try_echo"; } >&5
1428 (eval "$ac_compile") 2>conftest.err
1429 ac_status=$?
1430 if test -s conftest.err; then
1431 grep -v '^ *+' conftest.err >conftest.er1
1432 cat conftest.er1 >&5
1433 mv -f conftest.er1 conftest.err
1434 fi
1435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1436 test $ac_status = 0; } && {
1437 test -z "$ac_cxx_werror_flag" ||
1438 test ! -s conftest.err
1439 } && test -s conftest.$ac_objext; then :
1440 ac_retval=0
1441 else
1442 $as_echo "$as_me: failed program was:" >&5
1443 sed 's/^/| /' conftest.$ac_ext >&5
1444
1445 ac_retval=1
1446 fi
1447 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1448 as_fn_set_status $ac_retval
1449
1450 } # ac_fn_cxx_try_compile
1451
1452 # ac_fn_cxx_try_cpp LINENO
1453 # ------------------------
1454 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1455 ac_fn_cxx_try_cpp ()
1456 {
1457 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1458 if { { ac_try="$ac_cpp conftest.$ac_ext"
1459 case "(($ac_try" in
1460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1461 *) ac_try_echo=$ac_try;;
1462 esac
1463 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1464 $as_echo "$ac_try_echo"; } >&5
1465 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1466 ac_status=$?
1467 if test -s conftest.err; then
1468 grep -v '^ *+' conftest.err >conftest.er1
1469 cat conftest.er1 >&5
1470 mv -f conftest.er1 conftest.err
1471 fi
1472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1473 test $ac_status = 0; } > conftest.i && {
1474 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1475 test ! -s conftest.err
1476 }; then :
1477 ac_retval=0
1478 else
1479 $as_echo "$as_me: failed program was:" >&5
1480 sed 's/^/| /' conftest.$ac_ext >&5
1481
1482 ac_retval=1
1483 fi
1484 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1485 as_fn_set_status $ac_retval
1486
1487 } # ac_fn_cxx_try_cpp
1488
1489 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
1490 # ---------------------------------------------
1491 # Tests whether TYPE exists after having included INCLUDES, setting cache
1492 # variable VAR accordingly.
1493 ac_fn_cxx_check_type ()
1494 {
1495 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1497 $as_echo_n "checking for $2... " >&6; }
1498 if eval \${$3+:} false; then :
1499 $as_echo_n "(cached) " >&6
1500 else
1501 eval "$3=no"
1502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1503 /* end confdefs.h. */
1504 $4
1505 int
1506 main ()
1507 {
1508 if (sizeof ($2))
1509 return 0;
1510 ;
1511 return 0;
1512 }
1513 _ACEOF
1514 if ac_fn_cxx_try_compile "$LINENO"; then :
1515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1516 /* end confdefs.h. */
1517 $4
1518 int
1519 main ()
1520 {
1521 if (sizeof (($2)))
1522 return 0;
1523 ;
1524 return 0;
1525 }
1526 _ACEOF
1527 if ac_fn_cxx_try_compile "$LINENO"; then :
1528
1529 else
1530 eval "$3=yes"
1531 fi
1532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1533 fi
1534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1535 fi
1536 eval ac_res=\$$3
1537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1538 $as_echo "$ac_res" >&6; }
1539 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1540
1541 } # ac_fn_cxx_check_type
1542
1543 # ac_fn_cxx_try_run LINENO
1544 # ------------------------
1545 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1546 # that executables *can* be run.
1547 ac_fn_cxx_try_run ()
1548 {
1549 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1550 if { { ac_try="$ac_link"
1551 case "(($ac_try" in
1552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1553 *) ac_try_echo=$ac_try;;
1554 esac
1555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1556 $as_echo "$ac_try_echo"; } >&5
1557 (eval "$ac_link") 2>&5
1558 ac_status=$?
1559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1560 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1561 { { case "(($ac_try" in
1562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1563 *) ac_try_echo=$ac_try;;
1564 esac
1565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1566 $as_echo "$ac_try_echo"; } >&5
1567 (eval "$ac_try") 2>&5
1568 ac_status=$?
1569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1570 test $ac_status = 0; }; }; then :
1571 ac_retval=0
1572 else
1573 $as_echo "$as_me: program exited with status $ac_status" >&5
1574 $as_echo "$as_me: failed program was:" >&5
1575 sed 's/^/| /' conftest.$ac_ext >&5
1576
1577 ac_retval=$ac_status
1578 fi
1579 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1580 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1581 as_fn_set_status $ac_retval
1582
1583 } # ac_fn_cxx_try_run
1584
1585 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1586 # ---------------------------------------------------------
1587 # Tests whether HEADER exists and can be compiled using the include files in
1588 # INCLUDES, setting the cache variable VAR accordingly.
1589 ac_fn_cxx_check_header_compile ()
1590 {
1591 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1593 $as_echo_n "checking for $2... " >&6; }
1594 if eval \${$3+:} false; then :
1595 $as_echo_n "(cached) " >&6
1596 else
1597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1598 /* end confdefs.h. */
1599 $4
1600 #include <$2>
1601 _ACEOF
1602 if ac_fn_cxx_try_compile "$LINENO"; then :
1603 eval "$3=yes"
1604 else
1605 eval "$3=no"
1606 fi
1607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1608 fi
1609 eval ac_res=\$$3
1610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1611 $as_echo "$ac_res" >&6; }
1612 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1613
1614 } # ac_fn_cxx_check_header_compile
1615
1616 # ac_fn_cxx_try_link LINENO
1617 # -------------------------
1618 # Try to link conftest.$ac_ext, and return whether this succeeded.
1619 ac_fn_cxx_try_link ()
1620 {
1621 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1622 rm -f conftest.$ac_objext conftest$ac_exeext
1623 if { { ac_try="$ac_link"
1624 case "(($ac_try" in
1625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1626 *) ac_try_echo=$ac_try;;
1627 esac
1628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1629 $as_echo "$ac_try_echo"; } >&5
1630 (eval "$ac_link") 2>conftest.err
1631 ac_status=$?
1632 if test -s conftest.err; then
1633 grep -v '^ *+' conftest.err >conftest.er1
1634 cat conftest.er1 >&5
1635 mv -f conftest.er1 conftest.err
1636 fi
1637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1638 test $ac_status = 0; } && {
1639 test -z "$ac_cxx_werror_flag" ||
1640 test ! -s conftest.err
1641 } && test -s conftest$ac_exeext && {
1642 test "$cross_compiling" = yes ||
1643 test -x conftest$ac_exeext
1644 }; then :
1645 ac_retval=0
1646 else
1647 $as_echo "$as_me: failed program was:" >&5
1648 sed 's/^/| /' conftest.$ac_ext >&5
1649
1650 ac_retval=1
1651 fi
1652 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1653 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1654 # interfere with the next link command; also delete a directory that is
1655 # left behind by Apple's compiler. We do this before executing the actions.
1656 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1657 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1658 as_fn_set_status $ac_retval
1659
1660 } # ac_fn_cxx_try_link
1661
1662 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1663 # ---------------------------------------------------------
1664 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1665 # the include files in INCLUDES and setting the cache variable VAR
1666 # accordingly.
1667 ac_fn_cxx_check_header_mongrel ()
1668 {
1669 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1670 if eval \${$3+:} false; then :
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1672 $as_echo_n "checking for $2... " >&6; }
1673 if eval \${$3+:} false; then :
1674 $as_echo_n "(cached) " >&6
1675 fi
1676 eval ac_res=\$$3
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1678 $as_echo "$ac_res" >&6; }
1679 else
1680 # Is the header compilable?
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1682 $as_echo_n "checking $2 usability... " >&6; }
1683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1684 /* end confdefs.h. */
1685 $4
1686 #include <$2>
1687 _ACEOF
1688 if ac_fn_cxx_try_compile "$LINENO"; then :
1689 ac_header_compiler=yes
1690 else
1691 ac_header_compiler=no
1692 fi
1693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1695 $as_echo "$ac_header_compiler" >&6; }
1696
1697 # Is the header present?
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1699 $as_echo_n "checking $2 presence... " >&6; }
1700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1701 /* end confdefs.h. */
1702 #include <$2>
1703 _ACEOF
1704 if ac_fn_cxx_try_cpp "$LINENO"; then :
1705 ac_header_preproc=yes
1706 else
1707 ac_header_preproc=no
1708 fi
1709 rm -f conftest.err conftest.i conftest.$ac_ext
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1711 $as_echo "$ac_header_preproc" >&6; }
1712
1713 # So? What about this header?
1714 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1715 yes:no: )
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1717 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1719 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1720 ;;
1721 no:yes:* )
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1723 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1725 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1727 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1729 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1731 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1732 ;;
1733 esac
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1735 $as_echo_n "checking for $2... " >&6; }
1736 if eval \${$3+:} false; then :
1737 $as_echo_n "(cached) " >&6
1738 else
1739 eval "$3=\$ac_header_compiler"
1740 fi
1741 eval ac_res=\$$3
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1743 $as_echo "$ac_res" >&6; }
1744 fi
1745 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1746
1747 } # ac_fn_cxx_check_header_mongrel
1748 cat >config.log <<_ACEOF
1749 This file contains any messages produced by compilers while
1750 running configure, to aid debugging if configure makes a mistake.
1751
1752 It was created by $as_me, which was
1753 generated by GNU Autoconf 2.69. Invocation command line was
1754
1755 $ $0 $@
1756
1757 _ACEOF
1758 exec 5>>config.log
1759 {
1760 cat <<_ASUNAME
1761 ## --------- ##
1762 ## Platform. ##
1763 ## --------- ##
1764
1765 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1766 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1767 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1768 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1769 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1770
1771 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1772 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1773
1774 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1775 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1776 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1777 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1778 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1779 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1780 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1781
1782 _ASUNAME
1783
1784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1785 for as_dir in $PATH
1786 do
1787 IFS=$as_save_IFS
1788 test -z "$as_dir" && as_dir=.
1789 $as_echo "PATH: $as_dir"
1790 done
1791 IFS=$as_save_IFS
1792
1793 } >&5
1794
1795 cat >&5 <<_ACEOF
1796
1797
1798 ## ----------- ##
1799 ## Core tests. ##
1800 ## ----------- ##
1801
1802 _ACEOF
1803
1804
1805 # Keep a trace of the command line.
1806 # Strip out --no-create and --no-recursion so they do not pile up.
1807 # Strip out --silent because we don't want to record it for future runs.
1808 # Also quote any args containing shell meta-characters.
1809 # Make two passes to allow for proper duplicate-argument suppression.
1810 ac_configure_args=
1811 ac_configure_args0=
1812 ac_configure_args1=
1813 ac_must_keep_next=false
1814 for ac_pass in 1 2
1815 do
1816 for ac_arg
1817 do
1818 case $ac_arg in
1819 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1820 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1821 | -silent | --silent | --silen | --sile | --sil)
1822 continue ;;
1823 *\'*)
1824 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1825 esac
1826 case $ac_pass in
1827 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1828 2)
1829 as_fn_append ac_configure_args1 " '$ac_arg'"
1830 if test $ac_must_keep_next = true; then
1831 ac_must_keep_next=false # Got value, back to normal.
1832 else
1833 case $ac_arg in
1834 *=* | --config-cache | -C | -disable-* | --disable-* \
1835 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1836 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1837 | -with-* | --with-* | -without-* | --without-* | --x)
1838 case "$ac_configure_args0 " in
1839 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1840 esac
1841 ;;
1842 -* ) ac_must_keep_next=true ;;
1843 esac
1844 fi
1845 as_fn_append ac_configure_args " '$ac_arg'"
1846 ;;
1847 esac
1848 done
1849 done
1850 { ac_configure_args0=; unset ac_configure_args0;}
1851 { ac_configure_args1=; unset ac_configure_args1;}
1852
1853 # When interrupted or exit'd, cleanup temporary files, and complete
1854 # config.log. We remove comments because anyway the quotes in there
1855 # would cause problems or look ugly.
1856 # WARNING: Use '\'' to represent an apostrophe within the trap.
1857 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1858 trap 'exit_status=$?
1859 # Save into config.log some information that might help in debugging.
1860 {
1861 echo
1862
1863 $as_echo "## ---------------- ##
1864 ## Cache variables. ##
1865 ## ---------------- ##"
1866 echo
1867 # The following way of writing the cache mishandles newlines in values,
1868 (
1869 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1870 eval ac_val=\$$ac_var
1871 case $ac_val in #(
1872 *${as_nl}*)
1873 case $ac_var in #(
1874 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1875 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1876 esac
1877 case $ac_var in #(
1878 _ | IFS | as_nl) ;; #(
1879 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1880 *) { eval $ac_var=; unset $ac_var;} ;;
1881 esac ;;
1882 esac
1883 done
1884 (set) 2>&1 |
1885 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1886 *${as_nl}ac_space=\ *)
1887 sed -n \
1888 "s/'\''/'\''\\\\'\'''\''/g;
1889 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1890 ;; #(
1891 *)
1892 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1893 ;;
1894 esac |
1895 sort
1896 )
1897 echo
1898
1899 $as_echo "## ----------------- ##
1900 ## Output variables. ##
1901 ## ----------------- ##"
1902 echo
1903 for ac_var in $ac_subst_vars
1904 do
1905 eval ac_val=\$$ac_var
1906 case $ac_val in
1907 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1908 esac
1909 $as_echo "$ac_var='\''$ac_val'\''"
1910 done | sort
1911 echo
1912
1913 if test -n "$ac_subst_files"; then
1914 $as_echo "## ------------------- ##
1915 ## File substitutions. ##
1916 ## ------------------- ##"
1917 echo
1918 for ac_var in $ac_subst_files
1919 do
1920 eval ac_val=\$$ac_var
1921 case $ac_val in
1922 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1923 esac
1924 $as_echo "$ac_var='\''$ac_val'\''"
1925 done | sort
1926 echo
1927 fi
1928
1929 if test -s confdefs.h; then
1930 $as_echo "## ----------- ##
1931 ## confdefs.h. ##
1932 ## ----------- ##"
1933 echo
1934 cat confdefs.h
1935 echo
1936 fi
1937 test "$ac_signal" != 0 &&
1938 $as_echo "$as_me: caught signal $ac_signal"
1939 $as_echo "$as_me: exit $exit_status"
1940 } >&5
1941 rm -f core *.core core.conftest.* &&
1942 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1943 exit $exit_status
1944 ' 0
1945 for ac_signal in 1 2 13 15; do
1946 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1947 done
1948 ac_signal=0
1949
1950 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1951 rm -f -r conftest* confdefs.h
1952
1953 $as_echo "/* confdefs.h */" > confdefs.h
1954
1955 # Predefined preprocessor variables.
1956
1957 cat >>confdefs.h <<_ACEOF
1958 #define PACKAGE_NAME "$PACKAGE_NAME"
1959 _ACEOF
1960
1961 cat >>confdefs.h <<_ACEOF
1962 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1963 _ACEOF
1964
1965 cat >>confdefs.h <<_ACEOF
1966 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1967 _ACEOF
1968
1969 cat >>confdefs.h <<_ACEOF
1970 #define PACKAGE_STRING "$PACKAGE_STRING"
1971 _ACEOF
1972
1973 cat >>confdefs.h <<_ACEOF
1974 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1975 _ACEOF
1976
1977 cat >>confdefs.h <<_ACEOF
1978 #define PACKAGE_URL "$PACKAGE_URL"
1979 _ACEOF
1980
1981
1982 # Let the site file select an alternate cache file if it wants to.
1983 # Prefer an explicitly selected file to automatically selected ones.
1984 ac_site_file1=NONE
1985 ac_site_file2=NONE
1986 if test -n "$CONFIG_SITE"; then
1987 # We do not want a PATH search for config.site.
1988 case $CONFIG_SITE in #((
1989 -*) ac_site_file1=./$CONFIG_SITE;;
1990 */*) ac_site_file1=$CONFIG_SITE;;
1991 *) ac_site_file1=./$CONFIG_SITE;;
1992 esac
1993 elif test "x$prefix" != xNONE; then
1994 ac_site_file1=$prefix/share/config.site
1995 ac_site_file2=$prefix/etc/config.site
1996 else
1997 ac_site_file1=$ac_default_prefix/share/config.site
1998 ac_site_file2=$ac_default_prefix/etc/config.site
1999 fi
2000 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2001 do
2002 test "x$ac_site_file" = xNONE && continue
2003 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2005 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2006 sed 's/^/| /' "$ac_site_file" >&5
2007 . "$ac_site_file" \
2008 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2009 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2010 as_fn_error $? "failed to load site script $ac_site_file
2011 See \`config.log' for more details" "$LINENO" 5; }
2012 fi
2013 done
2014
2015 if test -r "$cache_file"; then
2016 # Some versions of bash will fail to source /dev/null (special files
2017 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2018 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2020 $as_echo "$as_me: loading cache $cache_file" >&6;}
2021 case $cache_file in
2022 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2023 *) . "./$cache_file";;
2024 esac
2025 fi
2026 else
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2028 $as_echo "$as_me: creating cache $cache_file" >&6;}
2029 >$cache_file
2030 fi
2031
2032 # Check that the precious variables saved in the cache have kept the same
2033 # value.
2034 ac_cache_corrupted=false
2035 for ac_var in $ac_precious_vars; do
2036 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2037 eval ac_new_set=\$ac_env_${ac_var}_set
2038 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2039 eval ac_new_val=\$ac_env_${ac_var}_value
2040 case $ac_old_set,$ac_new_set in
2041 set,)
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2043 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2044 ac_cache_corrupted=: ;;
2045 ,set)
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2047 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2048 ac_cache_corrupted=: ;;
2049 ,);;
2050 *)
2051 if test "x$ac_old_val" != "x$ac_new_val"; then
2052 # differences in whitespace do not lead to failure.
2053 ac_old_val_w=`echo x $ac_old_val`
2054 ac_new_val_w=`echo x $ac_new_val`
2055 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2057 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2058 ac_cache_corrupted=:
2059 else
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2061 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2062 eval $ac_var=\$ac_old_val
2063 fi
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2065 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2067 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2068 fi;;
2069 esac
2070 # Pass precious variables to config.status.
2071 if test "$ac_new_set" = set; then
2072 case $ac_new_val in
2073 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2074 *) ac_arg=$ac_var=$ac_new_val ;;
2075 esac
2076 case " $ac_configure_args " in
2077 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2078 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2079 esac
2080 fi
2081 done
2082 if $ac_cache_corrupted; then
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2084 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2086 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2087 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2088 fi
2089 ## -------------------- ##
2090 ## Main body of script. ##
2091 ## -------------------- ##
2092
2093 ac_ext=c
2094 ac_cpp='$CPP $CPPFLAGS'
2095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2098
2099
2100 ac_config_headers="$ac_config_headers conf.h"
2101
2102
2103 version="1.04"
2104
2105
2106 # Check whether --enable-stripping was given.
2107 if test "${enable_stripping+set}" = set; then :
2108 enableval=$enable_stripping; STRIPPING=$strippingval
2109 else
2110 STRIPPING=no
2111 fi
2112
2113 if [ ! "$STRIPPING" = "no" ]; then
2114 stripping=""
2115 else
2116 stripping="-s"
2117 fi
2118 echo $DEB_BUILD_OPTIONS | grep -q nostrip
2119 if [ "$?" = "0" ]; then
2120 stripping=""
2121 fi
2122
2123
2124 # Check whether --enable-debug was given.
2125 if test "${enable_debug+set}" = set; then :
2126 enableval=$enable_debug; debug=-g
2127 else
2128 debug=""
2129 fi
2130
2131 echo $DEB_BUILD_OPTIONS | grep -q debug
2132 if [ "$?" = "0" ]; then
2133 debug=-g
2134 fi
2135
2136 ac_ext=cpp
2137 ac_cpp='$CXXCPP $CPPFLAGS'
2138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2141
2142 ac_ext=cpp
2143 ac_cpp='$CXXCPP $CPPFLAGS'
2144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2147 if test -z "$CXX"; then
2148 if test -n "$CCC"; then
2149 CXX=$CCC
2150 else
2151 if test -n "$ac_tool_prefix"; then
2152 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2153 do
2154 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2155 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2157 $as_echo_n "checking for $ac_word... " >&6; }
2158 if ${ac_cv_prog_CXX+:} false; then :
2159 $as_echo_n "(cached) " >&6
2160 else
2161 if test -n "$CXX"; then
2162 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2163 else
2164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2165 for as_dir in $PATH
2166 do
2167 IFS=$as_save_IFS
2168 test -z "$as_dir" && as_dir=.
2169 for ac_exec_ext in '' $ac_executable_extensions; do
2170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2171 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2173 break 2
2174 fi
2175 done
2176 done
2177 IFS=$as_save_IFS
2178
2179 fi
2180 fi
2181 CXX=$ac_cv_prog_CXX
2182 if test -n "$CXX"; then
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2184 $as_echo "$CXX" >&6; }
2185 else
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2187 $as_echo "no" >&6; }
2188 fi
2189
2190
2191 test -n "$CXX" && break
2192 done
2193 fi
2194 if test -z "$CXX"; then
2195 ac_ct_CXX=$CXX
2196 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2197 do
2198 # Extract the first word of "$ac_prog", so it can be a program name with args.
2199 set dummy $ac_prog; ac_word=$2
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2201 $as_echo_n "checking for $ac_word... " >&6; }
2202 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2203 $as_echo_n "(cached) " >&6
2204 else
2205 if test -n "$ac_ct_CXX"; then
2206 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2207 else
2208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2209 for as_dir in $PATH
2210 do
2211 IFS=$as_save_IFS
2212 test -z "$as_dir" && as_dir=.
2213 for ac_exec_ext in '' $ac_executable_extensions; do
2214 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2215 ac_cv_prog_ac_ct_CXX="$ac_prog"
2216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2217 break 2
2218 fi
2219 done
2220 done
2221 IFS=$as_save_IFS
2222
2223 fi
2224 fi
2225 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2226 if test -n "$ac_ct_CXX"; then
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2228 $as_echo "$ac_ct_CXX" >&6; }
2229 else
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2231 $as_echo "no" >&6; }
2232 fi
2233
2234
2235 test -n "$ac_ct_CXX" && break
2236 done
2237
2238 if test "x$ac_ct_CXX" = x; then
2239 CXX="g++"
2240 else
2241 case $cross_compiling:$ac_tool_warned in
2242 yes:)
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2245 ac_tool_warned=yes ;;
2246 esac
2247 CXX=$ac_ct_CXX
2248 fi
2249 fi
2250
2251 fi
2252 fi
2253 # Provide some information about the compiler.
2254 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2255 set X $ac_compile
2256 ac_compiler=$2
2257 for ac_option in --version -v -V -qversion; do
2258 { { ac_try="$ac_compiler $ac_option >&5"
2259 case "(($ac_try" in
2260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2261 *) ac_try_echo=$ac_try;;
2262 esac
2263 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2264 $as_echo "$ac_try_echo"; } >&5
2265 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2266 ac_status=$?
2267 if test -s conftest.err; then
2268 sed '10a\
2269 ... rest of stderr output deleted ...
2270 10q' conftest.err >conftest.er1
2271 cat conftest.er1 >&5
2272 fi
2273 rm -f conftest.er1 conftest.err
2274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2275 test $ac_status = 0; }
2276 done
2277
2278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2279 /* end confdefs.h. */
2280
2281 int
2282 main ()
2283 {
2284
2285 ;
2286 return 0;
2287 }
2288 _ACEOF
2289 ac_clean_files_save=$ac_clean_files
2290 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2291 # Try to create an executable without -o first, disregard a.out.
2292 # It will help us diagnose broken compilers, and finding out an intuition
2293 # of exeext.
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2295 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2296 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2297
2298 # The possible output files:
2299 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2300
2301 ac_rmfiles=
2302 for ac_file in $ac_files
2303 do
2304 case $ac_file in
2305 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2306 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2307 esac
2308 done
2309 rm -f $ac_rmfiles
2310
2311 if { { ac_try="$ac_link_default"
2312 case "(($ac_try" in
2313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2314 *) ac_try_echo=$ac_try;;
2315 esac
2316 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2317 $as_echo "$ac_try_echo"; } >&5
2318 (eval "$ac_link_default") 2>&5
2319 ac_status=$?
2320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2321 test $ac_status = 0; }; then :
2322 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2323 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2324 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2325 # so that the user can short-circuit this test for compilers unknown to
2326 # Autoconf.
2327 for ac_file in $ac_files ''
2328 do
2329 test -f "$ac_file" || continue
2330 case $ac_file in
2331 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2332 ;;
2333 [ab].out )
2334 # We found the default executable, but exeext='' is most
2335 # certainly right.
2336 break;;
2337 *.* )
2338 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2339 then :; else
2340 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2341 fi
2342 # We set ac_cv_exeext here because the later test for it is not
2343 # safe: cross compilers may not add the suffix if given an `-o'
2344 # argument, so we may need to know it at that point already.
2345 # Even if this section looks crufty: it has the advantage of
2346 # actually working.
2347 break;;
2348 * )
2349 break;;
2350 esac
2351 done
2352 test "$ac_cv_exeext" = no && ac_cv_exeext=
2353
2354 else
2355 ac_file=''
2356 fi
2357 if test -z "$ac_file"; then :
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2359 $as_echo "no" >&6; }
2360 $as_echo "$as_me: failed program was:" >&5
2361 sed 's/^/| /' conftest.$ac_ext >&5
2362
2363 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2365 as_fn_error 77 "C++ compiler cannot create executables
2366 See \`config.log' for more details" "$LINENO" 5; }
2367 else
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2369 $as_echo "yes" >&6; }
2370 fi
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2372 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2374 $as_echo "$ac_file" >&6; }
2375 ac_exeext=$ac_cv_exeext
2376
2377 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2378 ac_clean_files=$ac_clean_files_save
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2380 $as_echo_n "checking for suffix of executables... " >&6; }
2381 if { { ac_try="$ac_link"
2382 case "(($ac_try" in
2383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2384 *) ac_try_echo=$ac_try;;
2385 esac
2386 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2387 $as_echo "$ac_try_echo"; } >&5
2388 (eval "$ac_link") 2>&5
2389 ac_status=$?
2390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2391 test $ac_status = 0; }; then :
2392 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2393 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2394 # work properly (i.e., refer to `conftest.exe'), while it won't with
2395 # `rm'.
2396 for ac_file in conftest.exe conftest conftest.*; do
2397 test -f "$ac_file" || continue
2398 case $ac_file in
2399 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2400 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2401 break;;
2402 * ) break;;
2403 esac
2404 done
2405 else
2406 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2407 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2408 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2409 See \`config.log' for more details" "$LINENO" 5; }
2410 fi
2411 rm -f conftest conftest$ac_cv_exeext
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2413 $as_echo "$ac_cv_exeext" >&6; }
2414
2415 rm -f conftest.$ac_ext
2416 EXEEXT=$ac_cv_exeext
2417 ac_exeext=$EXEEXT
2418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2419 /* end confdefs.h. */
2420 #include <stdio.h>
2421 int
2422 main ()
2423 {
2424 FILE *f = fopen ("conftest.out", "w");
2425 return ferror (f) || fclose (f) != 0;
2426
2427 ;
2428 return 0;
2429 }
2430 _ACEOF
2431 ac_clean_files="$ac_clean_files conftest.out"
2432 # Check that the compiler produces executables we can run. If not, either
2433 # the compiler is broken, or we cross compile.
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2435 $as_echo_n "checking whether we are cross compiling... " >&6; }
2436 if test "$cross_compiling" != yes; then
2437 { { ac_try="$ac_link"
2438 case "(($ac_try" in
2439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2440 *) ac_try_echo=$ac_try;;
2441 esac
2442 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2443 $as_echo "$ac_try_echo"; } >&5
2444 (eval "$ac_link") 2>&5
2445 ac_status=$?
2446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2447 test $ac_status = 0; }
2448 if { ac_try='./conftest$ac_cv_exeext'
2449 { { case "(($ac_try" in
2450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2451 *) ac_try_echo=$ac_try;;
2452 esac
2453 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2454 $as_echo "$ac_try_echo"; } >&5
2455 (eval "$ac_try") 2>&5
2456 ac_status=$?
2457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2458 test $ac_status = 0; }; }; then
2459 cross_compiling=no
2460 else
2461 if test "$cross_compiling" = maybe; then
2462 cross_compiling=yes
2463 else
2464 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2466 as_fn_error $? "cannot run C++ compiled programs.
2467 If you meant to cross compile, use \`--host'.
2468 See \`config.log' for more details" "$LINENO" 5; }
2469 fi
2470 fi
2471 fi
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2473 $as_echo "$cross_compiling" >&6; }
2474
2475 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2476 ac_clean_files=$ac_clean_files_save
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2478 $as_echo_n "checking for suffix of object files... " >&6; }
2479 if ${ac_cv_objext+:} false; then :
2480 $as_echo_n "(cached) " >&6
2481 else
2482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2483 /* end confdefs.h. */
2484
2485 int
2486 main ()
2487 {
2488
2489 ;
2490 return 0;
2491 }
2492 _ACEOF
2493 rm -f conftest.o conftest.obj
2494 if { { ac_try="$ac_compile"
2495 case "(($ac_try" in
2496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2497 *) ac_try_echo=$ac_try;;
2498 esac
2499 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2500 $as_echo "$ac_try_echo"; } >&5
2501 (eval "$ac_compile") 2>&5
2502 ac_status=$?
2503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2504 test $ac_status = 0; }; then :
2505 for ac_file in conftest.o conftest.obj conftest.*; do
2506 test -f "$ac_file" || continue;
2507 case $ac_file in
2508 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2509 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2510 break;;
2511 esac
2512 done
2513 else
2514 $as_echo "$as_me: failed program was:" >&5
2515 sed 's/^/| /' conftest.$ac_ext >&5
2516
2517 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2518 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2519 as_fn_error $? "cannot compute suffix of object files: cannot compile
2520 See \`config.log' for more details" "$LINENO" 5; }
2521 fi
2522 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2523 fi
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2525 $as_echo "$ac_cv_objext" >&6; }
2526 OBJEXT=$ac_cv_objext
2527 ac_objext=$OBJEXT
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2529 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2530 if ${ac_cv_cxx_compiler_gnu+:} false; then :
2531 $as_echo_n "(cached) " >&6
2532 else
2533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2534 /* end confdefs.h. */
2535
2536 int
2537 main ()
2538 {
2539 #ifndef __GNUC__
2540 choke me
2541 #endif
2542
2543 ;
2544 return 0;
2545 }
2546 _ACEOF
2547 if ac_fn_cxx_try_compile "$LINENO"; then :
2548 ac_compiler_gnu=yes
2549 else
2550 ac_compiler_gnu=no
2551 fi
2552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2553 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2554
2555 fi
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2557 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2558 if test $ac_compiler_gnu = yes; then
2559 GXX=yes
2560 else
2561 GXX=
2562 fi
2563 ac_test_CXXFLAGS=${CXXFLAGS+set}
2564 ac_save_CXXFLAGS=$CXXFLAGS
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2566 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
2567 if ${ac_cv_prog_cxx_g+:} false; then :
2568 $as_echo_n "(cached) " >&6
2569 else
2570 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2571 ac_cxx_werror_flag=yes
2572 ac_cv_prog_cxx_g=no
2573 CXXFLAGS="-g"
2574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2575 /* end confdefs.h. */
2576
2577 int
2578 main ()
2579 {
2580
2581 ;
2582 return 0;
2583 }
2584 _ACEOF
2585 if ac_fn_cxx_try_compile "$LINENO"; then :
2586 ac_cv_prog_cxx_g=yes
2587 else
2588 CXXFLAGS=""
2589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2590 /* end confdefs.h. */
2591
2592 int
2593 main ()
2594 {
2595
2596 ;
2597 return 0;
2598 }
2599 _ACEOF
2600 if ac_fn_cxx_try_compile "$LINENO"; then :
2601
2602 else
2603 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2604 CXXFLAGS="-g"
2605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2606 /* end confdefs.h. */
2607
2608 int
2609 main ()
2610 {
2611
2612 ;
2613 return 0;
2614 }
2615 _ACEOF
2616 if ac_fn_cxx_try_compile "$LINENO"; then :
2617 ac_cv_prog_cxx_g=yes
2618 fi
2619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2620 fi
2621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2622 fi
2623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2624 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2625 fi
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2627 $as_echo "$ac_cv_prog_cxx_g" >&6; }
2628 if test "$ac_test_CXXFLAGS" = set; then
2629 CXXFLAGS=$ac_save_CXXFLAGS
2630 elif test $ac_cv_prog_cxx_g = yes; then
2631 if test "$GXX" = yes; then
2632 CXXFLAGS="-g -O2"
2633 else
2634 CXXFLAGS="-g"
2635 fi
2636 else
2637 if test "$GXX" = yes; then
2638 CXXFLAGS="-O2"
2639 else
2640 CXXFLAGS=
2641 fi
2642 fi
2643 ac_ext=cpp
2644 ac_cpp='$CXXCPP $CPPFLAGS'
2645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2648
2649 ac_ext=cpp
2650 ac_cpp='$CXXCPP $CPPFLAGS'
2651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
2655 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
2656 if test -z "$CXXCPP"; then
2657 if ${ac_cv_prog_CXXCPP+:} false; then :
2658 $as_echo_n "(cached) " >&6
2659 else
2660 # Double quotes because CXXCPP needs to be expanded
2661 for CXXCPP in "$CXX -E" "/lib/cpp"
2662 do
2663 ac_preproc_ok=false
2664 for ac_cxx_preproc_warn_flag in '' yes
2665 do
2666 # Use a header file that comes with gcc, so configuring glibc
2667 # with a fresh cross-compiler works.
2668 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2669 # <limits.h> exists even on freestanding compilers.
2670 # On the NeXT, cc -E runs the code through the compiler's parser,
2671 # not just through cpp. "Syntax error" is here to catch this case.
2672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2673 /* end confdefs.h. */
2674 #ifdef __STDC__
2675 # include <limits.h>
2676 #else
2677 # include <assert.h>
2678 #endif
2679 Syntax error
2680 _ACEOF
2681 if ac_fn_cxx_try_cpp "$LINENO"; then :
2682
2683 else
2684 # Broken: fails on valid input.
2685 continue
2686 fi
2687 rm -f conftest.err conftest.i conftest.$ac_ext
2688
2689 # OK, works on sane cases. Now check whether nonexistent headers
2690 # can be detected and how.
2691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2692 /* end confdefs.h. */
2693 #include <ac_nonexistent.h>
2694 _ACEOF
2695 if ac_fn_cxx_try_cpp "$LINENO"; then :
2696 # Broken: success on invalid input.
2697 continue
2698 else
2699 # Passes both tests.
2700 ac_preproc_ok=:
2701 break
2702 fi
2703 rm -f conftest.err conftest.i conftest.$ac_ext
2704
2705 done
2706 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2707 rm -f conftest.i conftest.err conftest.$ac_ext
2708 if $ac_preproc_ok; then :
2709 break
2710 fi
2711
2712 done
2713 ac_cv_prog_CXXCPP=$CXXCPP
2714
2715 fi
2716 CXXCPP=$ac_cv_prog_CXXCPP
2717 else
2718 ac_cv_prog_CXXCPP=$CXXCPP
2719 fi
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
2721 $as_echo "$CXXCPP" >&6; }
2722 ac_preproc_ok=false
2723 for ac_cxx_preproc_warn_flag in '' yes
2724 do
2725 # Use a header file that comes with gcc, so configuring glibc
2726 # with a fresh cross-compiler works.
2727 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2728 # <limits.h> exists even on freestanding compilers.
2729 # On the NeXT, cc -E runs the code through the compiler's parser,
2730 # not just through cpp. "Syntax error" is here to catch this case.
2731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2732 /* end confdefs.h. */
2733 #ifdef __STDC__
2734 # include <limits.h>
2735 #else
2736 # include <assert.h>
2737 #endif
2738 Syntax error
2739 _ACEOF
2740 if ac_fn_cxx_try_cpp "$LINENO"; then :
2741
2742 else
2743 # Broken: fails on valid input.
2744 continue
2745 fi
2746 rm -f conftest.err conftest.i conftest.$ac_ext
2747
2748 # OK, works on sane cases. Now check whether nonexistent headers
2749 # can be detected and how.
2750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2751 /* end confdefs.h. */
2752 #include <ac_nonexistent.h>
2753 _ACEOF
2754 if ac_fn_cxx_try_cpp "$LINENO"; then :
2755 # Broken: success on invalid input.
2756 continue
2757 else
2758 # Passes both tests.
2759 ac_preproc_ok=:
2760 break
2761 fi
2762 rm -f conftest.err conftest.i conftest.$ac_ext
2763
2764 done
2765 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2766 rm -f conftest.i conftest.err conftest.$ac_ext
2767 if $ac_preproc_ok; then :
2768
2769 else
2770 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2771 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2772 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
2773 See \`config.log' for more details" "$LINENO" 5; }
2774 fi
2775
2776 ac_ext=cpp
2777 ac_cpp='$CXXCPP $CPPFLAGS'
2778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2781
2782 ac_aux_dir=
2783 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2784 if test -f "$ac_dir/install-sh"; then
2785 ac_aux_dir=$ac_dir
2786 ac_install_sh="$ac_aux_dir/install-sh -c"
2787 break
2788 elif test -f "$ac_dir/install.sh"; then
2789 ac_aux_dir=$ac_dir
2790 ac_install_sh="$ac_aux_dir/install.sh -c"
2791 break
2792 elif test -f "$ac_dir/shtool"; then
2793 ac_aux_dir=$ac_dir
2794 ac_install_sh="$ac_aux_dir/shtool install -c"
2795 break
2796 fi
2797 done
2798 if test -z "$ac_aux_dir"; then
2799 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2800 fi
2801
2802 # These three variables are undocumented and unsupported,
2803 # and are intended to be withdrawn in a future Autoconf release.
2804 # They can cause serious problems if a builder's source tree is in a directory
2805 # whose full name contains unusual characters.
2806 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2807 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2808 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2809
2810
2811 # Find a good install program. We prefer a C program (faster),
2812 # so one script is as good as another. But avoid the broken or
2813 # incompatible versions:
2814 # SysV /etc/install, /usr/sbin/install
2815 # SunOS /usr/etc/install
2816 # IRIX /sbin/install
2817 # AIX /bin/install
2818 # AmigaOS /C/install, which installs bootblocks on floppy discs
2819 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2820 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2821 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2822 # OS/2's system install, which has a completely different semantic
2823 # ./install, which can be erroneously created by make from ./install.sh.
2824 # Reject install programs that cannot install multiple files.
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2826 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2827 if test -z "$INSTALL"; then
2828 if ${ac_cv_path_install+:} false; then :
2829 $as_echo_n "(cached) " >&6
2830 else
2831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2832 for as_dir in $PATH
2833 do
2834 IFS=$as_save_IFS
2835 test -z "$as_dir" && as_dir=.
2836 # Account for people who put trailing slashes in PATH elements.
2837 case $as_dir/ in #((
2838 ./ | .// | /[cC]/* | \
2839 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2840 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2841 /usr/ucb/* ) ;;
2842 *)
2843 # OSF1 and SCO ODT 3.0 have their own names for install.
2844 # Don't use installbsd from OSF since it installs stuff as root
2845 # by default.
2846 for ac_prog in ginstall scoinst install; do
2847 for ac_exec_ext in '' $ac_executable_extensions; do
2848 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2849 if test $ac_prog = install &&
2850 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2851 # AIX install. It has an incompatible calling convention.
2852 :
2853 elif test $ac_prog = install &&
2854 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2855 # program-specific install script used by HP pwplus--don't use.
2856 :
2857 else
2858 rm -rf conftest.one conftest.two conftest.dir
2859 echo one > conftest.one
2860 echo two > conftest.two
2861 mkdir conftest.dir
2862 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2863 test -s conftest.one && test -s conftest.two &&
2864 test -s conftest.dir/conftest.one &&
2865 test -s conftest.dir/conftest.two
2866 then
2867 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2868 break 3
2869 fi
2870 fi
2871 fi
2872 done
2873 done
2874 ;;
2875 esac
2876
2877 done
2878 IFS=$as_save_IFS
2879
2880 rm -rf conftest.one conftest.two conftest.dir
2881
2882 fi
2883 if test "${ac_cv_path_install+set}" = set; then
2884 INSTALL=$ac_cv_path_install
2885 else
2886 # As a last resort, use the slow shell script. Don't cache a
2887 # value for INSTALL within a source directory, because that will
2888 # break other packages using the cache if that directory is
2889 # removed, or if the value is a relative name.
2890 INSTALL=$ac_install_sh
2891 fi
2892 fi
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2894 $as_echo "$INSTALL" >&6; }
2895
2896 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2897 # It thinks the first close brace ends the variable substitution.
2898 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2899
2900 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2901
2902 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2903
2904
2905
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
2907 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
2908 if ${ac_cv_c_const+:} false; then :
2909 $as_echo_n "(cached) " >&6
2910 else
2911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2912 /* end confdefs.h. */
2913
2914 int
2915 main ()
2916 {
2917
2918 #ifndef __cplusplus
2919 /* Ultrix mips cc rejects this sort of thing. */
2920 typedef int charset[2];
2921 const charset cs = { 0, 0 };
2922 /* SunOS 4.1.1 cc rejects this. */
2923 char const *const *pcpcc;
2924 char **ppc;
2925 /* NEC SVR4.0.2 mips cc rejects this. */
2926 struct point {int x, y;};
2927 static struct point const zero = {0,0};
2928 /* AIX XL C 1.02.0.0 rejects this.
2929 It does not let you subtract one const X* pointer from another in
2930 an arm of an if-expression whose if-part is not a constant
2931 expression */
2932 const char *g = "string";
2933 pcpcc = &g + (g ? g-g : 0);
2934 /* HPUX 7.0 cc rejects these. */
2935 ++pcpcc;
2936 ppc = (char**) pcpcc;
2937 pcpcc = (char const *const *) ppc;
2938 { /* SCO 3.2v4 cc rejects this sort of thing. */
2939 char tx;
2940 char *t = &tx;
2941 char const *s = 0 ? (char *) 0 : (char const *) 0;
2942
2943 *t++ = 0;
2944 if (s) return 0;
2945 }
2946 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
2947 int x[] = {25, 17};
2948 const int *foo = &x[0];
2949 ++foo;
2950 }
2951 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
2952 typedef const int *iptr;
2953 iptr p = 0;
2954 ++p;
2955 }
2956 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
2957 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
2958 struct s { int j; const int *ap[3]; } bx;
2959 struct s *b = &bx; b->j = 5;
2960 }
2961 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
2962 const int foo = 10;
2963 if (!foo) return 0;
2964 }
2965 return !cs[0] && !zero.x;
2966 #endif
2967
2968 ;
2969 return 0;
2970 }
2971 _ACEOF
2972 if ac_fn_cxx_try_compile "$LINENO"; then :
2973 ac_cv_c_const=yes
2974 else
2975 ac_cv_c_const=no
2976 fi
2977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2978 fi
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
2980 $as_echo "$ac_cv_c_const" >&6; }
2981 if test $ac_cv_c_const = no; then
2982
2983 $as_echo "#define const /**/" >>confdefs.h
2984
2985 fi
2986
2987
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
2989 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2990 if ${ac_cv_path_GREP+:} false; then :
2991 $as_echo_n "(cached) " >&6
2992 else
2993 if test -z "$GREP"; then
2994 ac_path_GREP_found=false
2995 # Loop through the user's path and test for each of PROGNAME-LIST
2996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2997 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2998 do
2999 IFS=$as_save_IFS
3000 test -z "$as_dir" && as_dir=.
3001 for ac_prog in grep ggrep; do
3002 for ac_exec_ext in '' $ac_executable_extensions; do
3003 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3004 as_fn_executable_p "$ac_path_GREP" || continue
3005 # Check for GNU ac_path_GREP and select it if it is found.
3006 # Check for GNU $ac_path_GREP
3007 case `"$ac_path_GREP" --version 2>&1` in
3008 *GNU*)
3009 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3010 *)
3011 ac_count=0
3012 $as_echo_n 0123456789 >"conftest.in"
3013 while :
3014 do
3015 cat "conftest.in" "conftest.in" >"conftest.tmp"
3016 mv "conftest.tmp" "conftest.in"
3017 cp "conftest.in" "conftest.nl"
3018 $as_echo 'GREP' >> "conftest.nl"
3019 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3020 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3021 as_fn_arith $ac_count + 1 && ac_count=$as_val
3022 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3023 # Best one so far, save it but keep looking for a better one
3024 ac_cv_path_GREP="$ac_path_GREP"
3025 ac_path_GREP_max=$ac_count
3026 fi
3027 # 10*(2^10) chars as input seems more than enough
3028 test $ac_count -gt 10 && break
3029 done
3030 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3031 esac
3032
3033 $ac_path_GREP_found && break 3
3034 done
3035 done
3036 done
3037 IFS=$as_save_IFS
3038 if test -z "$ac_cv_path_GREP"; then
3039 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3040 fi
3041 else
3042 ac_cv_path_GREP=$GREP
3043 fi
3044
3045 fi
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3047 $as_echo "$ac_cv_path_GREP" >&6; }
3048 GREP="$ac_cv_path_GREP"
3049
3050
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3052 $as_echo_n "checking for egrep... " >&6; }
3053 if ${ac_cv_path_EGREP+:} false; then :
3054 $as_echo_n "(cached) " >&6
3055 else
3056 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3057 then ac_cv_path_EGREP="$GREP -E"
3058 else
3059 if test -z "$EGREP"; then
3060 ac_path_EGREP_found=false
3061 # Loop through the user's path and test for each of PROGNAME-LIST
3062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3063 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3064 do
3065 IFS=$as_save_IFS
3066 test -z "$as_dir" && as_dir=.
3067 for ac_prog in egrep; do
3068 for ac_exec_ext in '' $ac_executable_extensions; do
3069 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3070 as_fn_executable_p "$ac_path_EGREP" || continue
3071 # Check for GNU ac_path_EGREP and select it if it is found.
3072 # Check for GNU $ac_path_EGREP
3073 case `"$ac_path_EGREP" --version 2>&1` in
3074 *GNU*)
3075 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3076 *)
3077 ac_count=0
3078 $as_echo_n 0123456789 >"conftest.in"
3079 while :
3080 do
3081 cat "conftest.in" "conftest.in" >"conftest.tmp"
3082 mv "conftest.tmp" "conftest.in"
3083 cp "conftest.in" "conftest.nl"
3084 $as_echo 'EGREP' >> "conftest.nl"
3085 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3086 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3087 as_fn_arith $ac_count + 1 && ac_count=$as_val
3088 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3089 # Best one so far, save it but keep looking for a better one
3090 ac_cv_path_EGREP="$ac_path_EGREP"
3091 ac_path_EGREP_max=$ac_count
3092 fi
3093 # 10*(2^10) chars as input seems more than enough
3094 test $ac_count -gt 10 && break
3095 done
3096 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3097 esac
3098
3099 $ac_path_EGREP_found && break 3
3100 done
3101 done
3102 done
3103 IFS=$as_save_IFS
3104 if test -z "$ac_cv_path_EGREP"; then
3105 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3106 fi
3107 else
3108 ac_cv_path_EGREP=$EGREP
3109 fi
3110
3111 fi
3112 fi
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3114 $as_echo "$ac_cv_path_EGREP" >&6; }
3115 EGREP="$ac_cv_path_EGREP"
3116
3117
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3119 $as_echo_n "checking for ANSI C header files... " >&6; }
3120 if ${ac_cv_header_stdc+:} false; then :
3121 $as_echo_n "(cached) " >&6
3122 else
3123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3124 /* end confdefs.h. */
3125 #include <stdlib.h>
3126 #include <stdarg.h>
3127 #include <string.h>
3128 #include <float.h>
3129
3130 int
3131 main ()
3132 {
3133
3134 ;
3135 return 0;
3136 }
3137 _ACEOF
3138 if ac_fn_cxx_try_compile "$LINENO"; then :
3139 ac_cv_header_stdc=yes
3140 else
3141 ac_cv_header_stdc=no
3142 fi
3143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3144
3145 if test $ac_cv_header_stdc = yes; then
3146 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3148 /* end confdefs.h. */
3149 #include <string.h>
3150
3151 _ACEOF
3152 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3153 $EGREP "memchr" >/dev/null 2>&1; then :
3154
3155 else
3156 ac_cv_header_stdc=no
3157 fi
3158 rm -f conftest*
3159
3160 fi
3161
3162 if test $ac_cv_header_stdc = yes; then
3163 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3165 /* end confdefs.h. */
3166 #include <stdlib.h>
3167
3168 _ACEOF
3169 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3170 $EGREP "free" >/dev/null 2>&1; then :
3171
3172 else
3173 ac_cv_header_stdc=no
3174 fi
3175 rm -f conftest*
3176
3177 fi
3178
3179 if test $ac_cv_header_stdc = yes; then
3180 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3181 if test "$cross_compiling" = yes; then :
3182 :
3183 else
3184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3185 /* end confdefs.h. */
3186 #include <ctype.h>
3187 #include <stdlib.h>
3188 #if ((' ' & 0x0FF) == 0x020)
3189 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3190 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3191 #else
3192 # define ISLOWER(c) \
3193 (('a' <= (c) && (c) <= 'i') \
3194 || ('j' <= (c) && (c) <= 'r') \
3195 || ('s' <= (c) && (c) <= 'z'))
3196 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3197 #endif
3198
3199 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3200 int
3201 main ()
3202 {
3203 int i;
3204 for (i = 0; i < 256; i++)
3205 if (XOR (islower (i), ISLOWER (i))
3206 || toupper (i) != TOUPPER (i))
3207 return 2;
3208 return 0;
3209 }
3210 _ACEOF
3211 if ac_fn_cxx_try_run "$LINENO"; then :
3212
3213 else
3214 ac_cv_header_stdc=no
3215 fi
3216 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3217 conftest.$ac_objext conftest.beam conftest.$ac_ext
3218 fi
3219
3220 fi
3221 fi
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3223 $as_echo "$ac_cv_header_stdc" >&6; }
3224 if test $ac_cv_header_stdc = yes; then
3225
3226 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3227
3228 fi
3229
3230 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3231 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3232 inttypes.h stdint.h unistd.h
3233 do :
3234 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3235 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3236 "
3237 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3238 cat >>confdefs.h <<_ACEOF
3239 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3240 _ACEOF
3241
3242 fi
3243
3244 done
3245
3246
3247 ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
3248 if test "x$ac_cv_type_size_t" = xyes; then :
3249
3250 else
3251
3252 cat >>confdefs.h <<_ACEOF
3253 #define size_t unsigned int
3254 _ACEOF
3255
3256 fi
3257
3258
3259
3260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3261 /* end confdefs.h. */
3262 #include <sys/types.h>
3263 #include <sys/ipc.h>
3264 #include <sys/sem.h>
3265
3266 int
3267 main ()
3268 {
3269 union semun sem
3270 ;
3271 return 0;
3272 }
3273 _ACEOF
3274 if ac_fn_cxx_try_compile "$LINENO"; then :
3275 semun="yes"
3276 fi
3277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3278 if [ -n "$semun" ]; then
3279 semun="#define SEMUN_IN_SEM_H"
3280 fi
3281
3282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3283 /* end confdefs.h. */
3284 #include <signal.h>
3285
3286 int
3287 main ()
3288 {
3289 struct sigaction sa; sa.sa_sigaction = 0
3290
3291 ;
3292 return 0;
3293 }
3294 _ACEOF
3295 if ac_fn_cxx_try_compile "$LINENO"; then :
3296 sa_sigaction=y
3297 fi
3298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3299 if [ "$sa_sigaction" = "y" ]; then
3300 sa_sigaction="#define USE_SA_SIGACTION"
3301 fi
3302
3303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3304 /* end confdefs.h. */
3305
3306 int
3307 main ()
3308 {
3309 bool var;
3310 ;
3311 return 0;
3312 }
3313 _ACEOF
3314 if ac_fn_cxx_try_compile "$LINENO"; then :
3315
3316 else
3317 bool="typedef bool char;"
3318 fi
3319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3320
3321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3322 /* end confdefs.h. */
3323
3324 int
3325 main ()
3326 {
3327 char c = true; char d = false;
3328
3329 ;
3330 return 0;
3331 }
3332 _ACEOF
3333 if ac_fn_cxx_try_compile "$LINENO"; then :
3334 true_false="0"
3335 else
3336 true_false="1"
3337 fi
3338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3339
3340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3341 /* end confdefs.h. */
3342 #include <stdio.h>
3343 int
3344 main ()
3345 {
3346 char buf[10]; snprintf(buf, sizeof(buf), "abc");
3347 ;
3348 return 0;
3349 }
3350 _ACEOF
3351 if ac_fn_cxx_try_link "$LINENO"; then :
3352
3353 else
3354 snprintf="no"
3355 fi
3356 rm -f core conftest.err conftest.$ac_objext \
3357 conftest$ac_exeext conftest.$ac_ext;
3358 if [ -n "$snprintf" ]; then
3359 snprintf="#define NO_SNPRINTF"
3360 fi
3361
3362
3363
3364 for ac_header in vector.h vector
3365 do :
3366 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3367 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3368 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3369 cat >>confdefs.h <<_ACEOF
3370 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3371 _ACEOF
3372
3373 fi
3374
3375 done
3376
3377 exes="bonnie++ zcav"
3378 man8="bonnie++.8 zcav.8"
3379 for ac_header in algorithm algo.h algo
3380 do :
3381 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3382 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3383 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3384 cat >>confdefs.h <<_ACEOF
3385 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3386 _ACEOF
3387
3388 fi
3389
3390 done
3391
3392
3393
3394 if [ -f /etc/objrepos ]; then
3395 aix_mem_size="#define AIX_MEM_SIZE 1"
3396 fi
3397
3398 ac_config_files="$ac_config_files Makefile bonnie.h port.h bonnie++.spec bon_csv2html bon_csv2txt sun/pkginfo"
3399
3400 cat >confcache <<\_ACEOF
3401 # This file is a shell script that caches the results of configure
3402 # tests run on this system so they can be shared between configure
3403 # scripts and configure runs, see configure's option --config-cache.
3404 # It is not useful on other systems. If it contains results you don't
3405 # want to keep, you may remove or edit it.
3406 #
3407 # config.status only pays attention to the cache file if you give it
3408 # the --recheck option to rerun configure.
3409 #
3410 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3411 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3412 # following values.
3413
3414 _ACEOF
3415
3416 # The following way of writing the cache mishandles newlines in values,
3417 # but we know of no workaround that is simple, portable, and efficient.
3418 # So, we kill variables containing newlines.
3419 # Ultrix sh set writes to stderr and can't be redirected directly,
3420 # and sets the high bit in the cache file unless we assign to the vars.
3421 (
3422 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3423 eval ac_val=\$$ac_var
3424 case $ac_val in #(
3425 *${as_nl}*)
3426 case $ac_var in #(
3427 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3428 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3429 esac
3430 case $ac_var in #(
3431 _ | IFS | as_nl) ;; #(
3432 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3433 *) { eval $ac_var=; unset $ac_var;} ;;
3434 esac ;;
3435 esac
3436 done
3437
3438 (set) 2>&1 |
3439 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3440 *${as_nl}ac_space=\ *)
3441 # `set' does not quote correctly, so add quotes: double-quote
3442 # substitution turns \\\\ into \\, and sed turns \\ into \.
3443 sed -n \
3444 "s/'/'\\\\''/g;
3445 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3446 ;; #(
3447 *)
3448 # `set' quotes correctly as required by POSIX, so do not add quotes.
3449 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3450 ;;
3451 esac |
3452 sort
3453 ) |
3454 sed '
3455 /^ac_cv_env_/b end
3456 t clear
3457 :clear
3458 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3459 t end
3460 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3461 :end' >>confcache
3462 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3463 if test -w "$cache_file"; then
3464 if test "x$cache_file" != "x/dev/null"; then
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3466 $as_echo "$as_me: updating cache $cache_file" >&6;}
3467 if test ! -f "$cache_file" || test -h "$cache_file"; then
3468 cat confcache >"$cache_file"
3469 else
3470 case $cache_file in #(
3471 */* | ?:*)
3472 mv -f confcache "$cache_file"$$ &&
3473 mv -f "$cache_file"$$ "$cache_file" ;; #(
3474 *)
3475 mv -f confcache "$cache_file" ;;
3476 esac
3477 fi
3478 fi
3479 else
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3481 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3482 fi
3483 fi
3484 rm -f confcache
3485
3486 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3487 # Let make expand exec_prefix.
3488 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3489
3490 DEFS=-DHAVE_CONFIG_H
3491
3492 ac_libobjs=
3493 ac_ltlibobjs=
3494 U=
3495 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3496 # 1. Remove the extension, and $U if already installed.
3497 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3498 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3499 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3500 # will be set to the directory where LIBOBJS objects are built.
3501 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3502 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3503 done
3504 LIBOBJS=$ac_libobjs
3505
3506 LTLIBOBJS=$ac_ltlibobjs
3507
3508
3509
3510 : "${CONFIG_STATUS=./config.status}"
3511 ac_write_fail=0
3512 ac_clean_files_save=$ac_clean_files
3513 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3515 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3516 as_write_fail=0
3517 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3518 #! $SHELL
3519 # Generated by $as_me.
3520 # Run this file to recreate the current configuration.
3521 # Compiler output produced by configure, useful for debugging
3522 # configure, is in config.log if it exists.
3523
3524 debug=false
3525 ac_cs_recheck=false
3526 ac_cs_silent=false
3527
3528 SHELL=\${CONFIG_SHELL-$SHELL}
3529 export SHELL
3530 _ASEOF
3531 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3532 ## -------------------- ##
3533 ## M4sh Initialization. ##
3534 ## -------------------- ##
3535
3536 # Be more Bourne compatible
3537 DUALCASE=1; export DUALCASE # for MKS sh
3538 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3539 emulate sh
3540 NULLCMD=:
3541 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3542 # is contrary to our usage. Disable this feature.
3543 alias -g '${1+"$@"}'='"$@"'
3544 setopt NO_GLOB_SUBST
3545 else
3546 case `(set -o) 2>/dev/null` in #(
3547 *posix*) :
3548 set -o posix ;; #(
3549 *) :
3550 ;;
3551 esac
3552 fi
3553
3554
3555 as_nl='
3556 '
3557 export as_nl
3558 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3559 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3560 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3561 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3562 # Prefer a ksh shell builtin over an external printf program on Solaris,
3563 # but without wasting forks for bash or zsh.
3564 if test -z "$BASH_VERSION$ZSH_VERSION" \
3565 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3566 as_echo='print -r --'
3567 as_echo_n='print -rn --'
3568 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3569 as_echo='printf %s\n'
3570 as_echo_n='printf %s'
3571 else
3572 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3573 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3574 as_echo_n='/usr/ucb/echo -n'
3575 else
3576 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3577 as_echo_n_body='eval
3578 arg=$1;
3579 case $arg in #(
3580 *"$as_nl"*)
3581 expr "X$arg" : "X\\(.*\\)$as_nl";
3582 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3583 esac;
3584 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3585 '
3586 export as_echo_n_body
3587 as_echo_n='sh -c $as_echo_n_body as_echo'
3588 fi
3589 export as_echo_body
3590 as_echo='sh -c $as_echo_body as_echo'
3591 fi
3592
3593 # The user is always right.
3594 if test "${PATH_SEPARATOR+set}" != set; then
3595 PATH_SEPARATOR=:
3596 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3597 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3598 PATH_SEPARATOR=';'
3599 }
3600 fi
3601
3602
3603 # IFS
3604 # We need space, tab and new line, in precisely that order. Quoting is
3605 # there to prevent editors from complaining about space-tab.
3606 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3607 # splitting by setting IFS to empty value.)
3608 IFS=" "" $as_nl"
3609
3610 # Find who we are. Look in the path if we contain no directory separator.
3611 as_myself=
3612 case $0 in #((
3613 *[\\/]* ) as_myself=$0 ;;
3614 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3615 for as_dir in $PATH
3616 do
3617 IFS=$as_save_IFS
3618 test -z "$as_dir" && as_dir=.
3619 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3620 done
3621 IFS=$as_save_IFS
3622
3623 ;;
3624 esac
3625 # We did not find ourselves, most probably we were run as `sh COMMAND'
3626 # in which case we are not to be found in the path.
3627 if test "x$as_myself" = x; then
3628 as_myself=$0
3629 fi
3630 if test ! -f "$as_myself"; then
3631 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3632 exit 1
3633 fi
3634
3635 # Unset variables that we do not need and which cause bugs (e.g. in
3636 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3637 # suppresses any "Segmentation fault" message there. '((' could
3638 # trigger a bug in pdksh 5.2.14.
3639 for as_var in BASH_ENV ENV MAIL MAILPATH
3640 do eval test x\${$as_var+set} = xset \
3641 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3642 done
3643 PS1='$ '
3644 PS2='> '
3645 PS4='+ '
3646
3647 # NLS nuisances.
3648 LC_ALL=C
3649 export LC_ALL
3650 LANGUAGE=C
3651 export LANGUAGE
3652
3653 # CDPATH.
3654 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3655
3656
3657 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3658 # ----------------------------------------
3659 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3660 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3661 # script with STATUS, using 1 if that was 0.
3662 as_fn_error ()
3663 {
3664 as_status=$1; test $as_status -eq 0 && as_status=1
3665 if test "$4"; then
3666 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3667 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3668 fi
3669 $as_echo "$as_me: error: $2" >&2
3670 as_fn_exit $as_status
3671 } # as_fn_error
3672
3673
3674 # as_fn_set_status STATUS
3675 # -----------------------
3676 # Set $? to STATUS, without forking.
3677 as_fn_set_status ()
3678 {
3679 return $1
3680 } # as_fn_set_status
3681
3682 # as_fn_exit STATUS
3683 # -----------------
3684 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3685 as_fn_exit ()
3686 {
3687 set +e
3688 as_fn_set_status $1
3689 exit $1
3690 } # as_fn_exit
3691
3692 # as_fn_unset VAR
3693 # ---------------
3694 # Portably unset VAR.
3695 as_fn_unset ()
3696 {
3697 { eval $1=; unset $1;}
3698 }
3699 as_unset=as_fn_unset
3700 # as_fn_append VAR VALUE
3701 # ----------------------
3702 # Append the text in VALUE to the end of the definition contained in VAR. Take
3703 # advantage of any shell optimizations that allow amortized linear growth over
3704 # repeated appends, instead of the typical quadratic growth present in naive
3705 # implementations.
3706 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3707 eval 'as_fn_append ()
3708 {
3709 eval $1+=\$2
3710 }'
3711 else
3712 as_fn_append ()
3713 {
3714 eval $1=\$$1\$2
3715 }
3716 fi # as_fn_append
3717
3718 # as_fn_arith ARG...
3719 # ------------------
3720 # Perform arithmetic evaluation on the ARGs, and store the result in the
3721 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3722 # must be portable across $(()) and expr.
3723 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3724 eval 'as_fn_arith ()
3725 {
3726 as_val=$(( $* ))
3727 }'
3728 else
3729 as_fn_arith ()
3730 {
3731 as_val=`expr "$@" || test $? -eq 1`
3732 }
3733 fi # as_fn_arith
3734
3735
3736 if expr a : '\(a\)' >/dev/null 2>&1 &&
3737 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3738 as_expr=expr
3739 else
3740 as_expr=false
3741 fi
3742
3743 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3744 as_basename=basename
3745 else
3746 as_basename=false
3747 fi
3748
3749 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3750 as_dirname=dirname
3751 else
3752 as_dirname=false
3753 fi
3754
3755 as_me=`$as_basename -- "$0" ||
3756 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3757 X"$0" : 'X\(//\)$' \| \
3758 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3759 $as_echo X/"$0" |
3760 sed '/^.*\/\([^/][^/]*\)\/*$/{
3761 s//\1/
3762 q
3763 }
3764 /^X\/\(\/\/\)$/{
3765 s//\1/
3766 q
3767 }
3768 /^X\/\(\/\).*/{
3769 s//\1/
3770 q
3771 }
3772 s/.*/./; q'`
3773
3774 # Avoid depending upon Character Ranges.
3775 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3776 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3777 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3778 as_cr_digits='0123456789'
3779 as_cr_alnum=$as_cr_Letters$as_cr_digits
3780
3781 ECHO_C= ECHO_N= ECHO_T=
3782 case `echo -n x` in #(((((
3783 -n*)
3784 case `echo 'xy\c'` in
3785 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3786 xy) ECHO_C='\c';;
3787 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3788 ECHO_T=' ';;
3789 esac;;
3790 *)
3791 ECHO_N='-n';;
3792 esac
3793
3794 rm -f conf$$ conf$$.exe conf$$.file
3795 if test -d conf$$.dir; then
3796 rm -f conf$$.dir/conf$$.file
3797 else
3798 rm -f conf$$.dir
3799 mkdir conf$$.dir 2>/dev/null
3800 fi
3801 if (echo >conf$$.file) 2>/dev/null; then
3802 if ln -s conf$$.file conf$$ 2>/dev/null; then
3803 as_ln_s='ln -s'
3804 # ... but there are two gotchas:
3805 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3806 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3807 # In both cases, we have to default to `cp -pR'.
3808 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3809 as_ln_s='cp -pR'
3810 elif ln conf$$.file conf$$ 2>/dev/null; then
3811 as_ln_s=ln
3812 else
3813 as_ln_s='cp -pR'
3814 fi
3815 else
3816 as_ln_s='cp -pR'
3817 fi
3818 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3819 rmdir conf$$.dir 2>/dev/null
3820
3821
3822 # as_fn_mkdir_p
3823 # -------------
3824 # Create "$as_dir" as a directory, including parents if necessary.
3825 as_fn_mkdir_p ()
3826 {
3827
3828 case $as_dir in #(
3829 -*) as_dir=./$as_dir;;
3830 esac
3831 test -d "$as_dir" || eval $as_mkdir_p || {
3832 as_dirs=
3833 while :; do
3834 case $as_dir in #(
3835 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3836 *) as_qdir=$as_dir;;
3837 esac
3838 as_dirs="'$as_qdir' $as_dirs"
3839 as_dir=`$as_dirname -- "$as_dir" ||
3840 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3841 X"$as_dir" : 'X\(//\)[^/]' \| \
3842 X"$as_dir" : 'X\(//\)$' \| \
3843 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3844 $as_echo X"$as_dir" |
3845 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3846 s//\1/
3847 q
3848 }
3849 /^X\(\/\/\)[^/].*/{
3850 s//\1/
3851 q
3852 }
3853 /^X\(\/\/\)$/{
3854 s//\1/
3855 q
3856 }
3857 /^X\(\/\).*/{
3858 s//\1/
3859 q
3860 }
3861 s/.*/./; q'`
3862 test -d "$as_dir" && break
3863 done
3864 test -z "$as_dirs" || eval "mkdir $as_dirs"
3865 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3866
3867
3868 } # as_fn_mkdir_p
3869 if mkdir -p . 2>/dev/null; then
3870 as_mkdir_p='mkdir -p "$as_dir"'
3871 else
3872 test -d ./-p && rmdir ./-p
3873 as_mkdir_p=false
3874 fi
3875
3876
3877 # as_fn_executable_p FILE
3878 # -----------------------
3879 # Test if FILE is an executable regular file.
3880 as_fn_executable_p ()
3881 {
3882 test -f "$1" && test -x "$1"
3883 } # as_fn_executable_p
3884 as_test_x='test -x'
3885 as_executable_p=as_fn_executable_p
3886
3887 # Sed expression to map a string onto a valid CPP name.
3888 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3889
3890 # Sed expression to map a string onto a valid variable name.
3891 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3892
3893
3894 exec 6>&1
3895 ## ----------------------------------- ##
3896 ## Main body of $CONFIG_STATUS script. ##
3897 ## ----------------------------------- ##
3898 _ASEOF
3899 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3900
3901 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3902 # Save the log message, to keep $0 and so on meaningful, and to
3903 # report actual input values of CONFIG_FILES etc. instead of their
3904 # values after options handling.
3905 ac_log="
3906 This file was extended by $as_me, which was
3907 generated by GNU Autoconf 2.69. Invocation command line was
3908
3909 CONFIG_FILES = $CONFIG_FILES
3910 CONFIG_HEADERS = $CONFIG_HEADERS
3911 CONFIG_LINKS = $CONFIG_LINKS
3912 CONFIG_COMMANDS = $CONFIG_COMMANDS
3913 $ $0 $@
3914
3915 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3916 "
3917
3918 _ACEOF
3919
3920 case $ac_config_files in *"
3921 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3922 esac
3923
3924 case $ac_config_headers in *"
3925 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
3926 esac
3927
3928
3929 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3930 # Files that config.status was made for.
3931 config_files="$ac_config_files"
3932 config_headers="$ac_config_headers"
3933
3934 _ACEOF
3935
3936 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3937 ac_cs_usage="\
3938 \`$as_me' instantiates files and other configuration actions
3939 from templates according to the current configuration. Unless the files
3940 and actions are specified as TAGs, all are instantiated by default.
3941
3942 Usage: $0 [OPTION]... [TAG]...
3943
3944 -h, --help print this help, then exit
3945 -V, --version print version number and configuration settings, then exit
3946 --config print configuration, then exit
3947 -q, --quiet, --silent
3948 do not print progress messages
3949 -d, --debug don't remove temporary files
3950 --recheck update $as_me by reconfiguring in the same conditions
3951 --file=FILE[:TEMPLATE]
3952 instantiate the configuration file FILE
3953 --header=FILE[:TEMPLATE]
3954 instantiate the configuration header FILE
3955
3956 Configuration files:
3957 $config_files
3958
3959 Configuration headers:
3960 $config_headers
3961
3962 Report bugs to the package provider."
3963
3964 _ACEOF
3965 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3966 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3967 ac_cs_version="\\
3968 config.status
3969 configured by $0, generated by GNU Autoconf 2.69,
3970 with options \\"\$ac_cs_config\\"
3971
3972 Copyright (C) 2012 Free Software Foundation, Inc.
3973 This config.status script is free software; the Free Software Foundation
3974 gives unlimited permission to copy, distribute and modify it."
3975
3976 ac_pwd='$ac_pwd'
3977 srcdir='$srcdir'
3978 INSTALL='$INSTALL'
3979 test -n "\$AWK" || AWK=awk
3980 _ACEOF
3981
3982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3983 # The default lists apply if the user does not specify any file.
3984 ac_need_defaults=:
3985 while test $# != 0
3986 do
3987 case $1 in
3988 --*=?*)
3989 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3990 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3991 ac_shift=:
3992 ;;
3993 --*=)
3994 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3995 ac_optarg=
3996 ac_shift=:
3997 ;;
3998 *)
3999 ac_option=$1
4000 ac_optarg=$2
4001 ac_shift=shift
4002 ;;
4003 esac
4004
4005 case $ac_option in
4006 # Handling of the options.
4007 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4008 ac_cs_recheck=: ;;
4009 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4010 $as_echo "$ac_cs_version"; exit ;;
4011 --config | --confi | --conf | --con | --co | --c )
4012 $as_echo "$ac_cs_config"; exit ;;
4013 --debug | --debu | --deb | --de | --d | -d )
4014 debug=: ;;
4015 --file | --fil | --fi | --f )
4016 $ac_shift
4017 case $ac_optarg in
4018 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4019 '') as_fn_error $? "missing file argument" ;;
4020 esac
4021 as_fn_append CONFIG_FILES " '$ac_optarg'"
4022 ac_need_defaults=false;;
4023 --header | --heade | --head | --hea )
4024 $ac_shift
4025 case $ac_optarg in
4026 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4027 esac
4028 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4029 ac_need_defaults=false;;
4030 --he | --h)
4031 # Conflict between --help and --header
4032 as_fn_error $? "ambiguous option: \`$1'
4033 Try \`$0 --help' for more information.";;
4034 --help | --hel | -h )
4035 $as_echo "$ac_cs_usage"; exit ;;
4036 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4037 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4038 ac_cs_silent=: ;;
4039
4040 # This is an error.
4041 -*) as_fn_error $? "unrecognized option: \`$1'
4042 Try \`$0 --help' for more information." ;;
4043
4044 *) as_fn_append ac_config_targets " $1"
4045 ac_need_defaults=false ;;
4046
4047 esac
4048 shift
4049 done
4050
4051 ac_configure_extra_args=
4052
4053 if $ac_cs_silent; then
4054 exec 6>/dev/null
4055 ac_configure_extra_args="$ac_configure_extra_args --silent"
4056 fi
4057
4058 _ACEOF
4059 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4060 if \$ac_cs_recheck; then
4061 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4062 shift
4063 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4064 CONFIG_SHELL='$SHELL'
4065 export CONFIG_SHELL
4066 exec "\$@"
4067 fi
4068
4069 _ACEOF
4070 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4071 exec 5>>config.log
4072 {
4073 echo
4074 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4075 ## Running $as_me. ##
4076 _ASBOX
4077 $as_echo "$ac_log"
4078 } >&5
4079
4080 _ACEOF
4081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4082 _ACEOF
4083
4084 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4085
4086 # Handling of arguments.
4087 for ac_config_target in $ac_config_targets
4088 do
4089 case $ac_config_target in
4090 "conf.h") CONFIG_HEADERS="$CONFIG_HEADERS conf.h" ;;
4091 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4092 "bonnie.h") CONFIG_FILES="$CONFIG_FILES bonnie.h" ;;
4093 "port.h") CONFIG_FILES="$CONFIG_FILES port.h" ;;
4094 "bonnie++.spec") CONFIG_FILES="$CONFIG_FILES bonnie++.spec" ;;
4095 "bon_csv2html") CONFIG_FILES="$CONFIG_FILES bon_csv2html" ;;
4096 "bon_csv2txt") CONFIG_FILES="$CONFIG_FILES bon_csv2txt" ;;
4097 "sun/pkginfo") CONFIG_FILES="$CONFIG_FILES sun/pkginfo" ;;
4098
4099 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4100 esac
4101 done
4102
4103
4104 # If the user did not use the arguments to specify the items to instantiate,
4105 # then the envvar interface is used. Set only those that are not.
4106 # We use the long form for the default assignment because of an extremely
4107 # bizarre bug on SunOS 4.1.3.
4108 if $ac_need_defaults; then
4109 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4110 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4111 fi
4112
4113 # Have a temporary directory for convenience. Make it in the build tree
4114 # simply because there is no reason against having it here, and in addition,
4115 # creating and moving files from /tmp can sometimes cause problems.
4116 # Hook for its removal unless debugging.
4117 # Note that there is a small window in which the directory will not be cleaned:
4118 # after its creation but before its name has been assigned to `$tmp'.
4119 $debug ||
4120 {
4121 tmp= ac_tmp=
4122 trap 'exit_status=$?
4123 : "${ac_tmp:=$tmp}"
4124 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4125 ' 0
4126 trap 'as_fn_exit 1' 1 2 13 15
4127 }
4128 # Create a (secure) tmp directory for tmp files.
4129
4130 {
4131 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4132 test -d "$tmp"
4133 } ||
4134 {
4135 tmp=./conf$$-$RANDOM
4136 (umask 077 && mkdir "$tmp")
4137 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4138 ac_tmp=$tmp
4139
4140 # Set up the scripts for CONFIG_FILES section.
4141 # No need to generate them if there are no CONFIG_FILES.
4142 # This happens for instance with `./config.status config.h'.
4143 if test -n "$CONFIG_FILES"; then
4144
4145
4146 ac_cr=`echo X | tr X '\015'`
4147 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4148 # But we know of no other shell where ac_cr would be empty at this
4149 # point, so we can use a bashism as a fallback.
4150 if test "x$ac_cr" = x; then
4151 eval ac_cr=\$\'\\r\'
4152 fi
4153 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4154 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4155 ac_cs_awk_cr='\\r'
4156 else
4157 ac_cs_awk_cr=$ac_cr
4158 fi
4159
4160 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4161 _ACEOF
4162
4163
4164 {
4165 echo "cat >conf$$subs.awk <<_ACEOF" &&
4166 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4167 echo "_ACEOF"
4168 } >conf$$subs.sh ||
4169 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4170 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4171 ac_delim='%!_!# '
4172 for ac_last_try in false false false false false :; do
4173 . ./conf$$subs.sh ||
4174 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4175
4176 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4177 if test $ac_delim_n = $ac_delim_num; then
4178 break
4179 elif $ac_last_try; then
4180 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4181 else
4182 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4183 fi
4184 done
4185 rm -f conf$$subs.sh
4186
4187 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4188 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4189 _ACEOF
4190 sed -n '
4191 h
4192 s/^/S["/; s/!.*/"]=/
4193 p
4194 g
4195 s/^[^!]*!//
4196 :repl
4197 t repl
4198 s/'"$ac_delim"'$//
4199 t delim
4200 :nl
4201 h
4202 s/\(.\{148\}\)..*/\1/
4203 t more1
4204 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4205 p
4206 n
4207 b repl
4208 :more1
4209 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4210 p
4211 g
4212 s/.\{148\}//
4213 t nl
4214 :delim
4215 h
4216 s/\(.\{148\}\)..*/\1/
4217 t more2
4218 s/["\\]/\\&/g; s/^/"/; s/$/"/
4219 p
4220 b
4221 :more2
4222 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4223 p
4224 g
4225 s/.\{148\}//
4226 t delim
4227 ' <conf$$subs.awk | sed '
4228 /^[^""]/{
4229 N
4230 s/\n//
4231 }
4232 ' >>$CONFIG_STATUS || ac_write_fail=1
4233 rm -f conf$$subs.awk
4234 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4235 _ACAWK
4236 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4237 for (key in S) S_is_set[key] = 1
4238 FS = ""
4239
4240 }
4241 {
4242 line = $ 0
4243 nfields = split(line, field, "@")
4244 substed = 0
4245 len = length(field[1])
4246 for (i = 2; i < nfields; i++) {
4247 key = field[i]
4248 keylen = length(key)
4249 if (S_is_set[key]) {
4250 value = S[key]
4251 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4252 len += length(value) + length(field[++i])
4253 substed = 1
4254 } else
4255 len += 1 + keylen
4256 }
4257
4258 print line
4259 }
4260
4261 _ACAWK
4262 _ACEOF
4263 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4264 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4265 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4266 else
4267 cat
4268 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4269 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4270 _ACEOF
4271
4272 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4273 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4274 # trailing colons and then remove the whole line if VPATH becomes empty
4275 # (actually we leave an empty line to preserve line numbers).
4276 if test "x$srcdir" = x.; then
4277 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4278 h
4279 s///
4280 s/^/:/
4281 s/[ ]*$/:/
4282 s/:\$(srcdir):/:/g
4283 s/:\${srcdir}:/:/g
4284 s/:@srcdir@:/:/g
4285 s/^:*//
4286 s/:*$//
4287 x
4288 s/\(=[ ]*\).*/\1/
4289 G
4290 s/\n//
4291 s/^[^=]*=[ ]*$//
4292 }'
4293 fi
4294
4295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4296 fi # test -n "$CONFIG_FILES"
4297
4298 # Set up the scripts for CONFIG_HEADERS section.
4299 # No need to generate them if there are no CONFIG_HEADERS.
4300 # This happens for instance with `./config.status Makefile'.
4301 if test -n "$CONFIG_HEADERS"; then
4302 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4303 BEGIN {
4304 _ACEOF
4305
4306 # Transform confdefs.h into an awk script `defines.awk', embedded as
4307 # here-document in config.status, that substitutes the proper values into
4308 # config.h.in to produce config.h.
4309
4310 # Create a delimiter string that does not exist in confdefs.h, to ease
4311 # handling of long lines.
4312 ac_delim='%!_!# '
4313 for ac_last_try in false false :; do
4314 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
4315 if test -z "$ac_tt"; then
4316 break
4317 elif $ac_last_try; then
4318 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4319 else
4320 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4321 fi
4322 done
4323
4324 # For the awk script, D is an array of macro values keyed by name,
4325 # likewise P contains macro parameters if any. Preserve backslash
4326 # newline sequences.
4327
4328 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4329 sed -n '
4330 s/.\{148\}/&'"$ac_delim"'/g
4331 t rset
4332 :rset
4333 s/^[ ]*#[ ]*define[ ][ ]*/ /
4334 t def
4335 d
4336 :def
4337 s/\\$//
4338 t bsnl
4339 s/["\\]/\\&/g
4340 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4341 D["\1"]=" \3"/p
4342 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4343 d
4344 :bsnl
4345 s/["\\]/\\&/g
4346 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4347 D["\1"]=" \3\\\\\\n"\\/p
4348 t cont
4349 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4350 t cont
4351 d
4352 :cont
4353 n
4354 s/.\{148\}/&'"$ac_delim"'/g
4355 t clear
4356 :clear
4357 s/\\$//
4358 t bsnlc
4359 s/["\\]/\\&/g; s/^/"/; s/$/"/p
4360 d
4361 :bsnlc
4362 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4363 b cont
4364 ' <confdefs.h | sed '
4365 s/'"$ac_delim"'/"\\\
4366 "/g' >>$CONFIG_STATUS || ac_write_fail=1
4367
4368 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4369 for (key in D) D_is_set[key] = 1
4370 FS = ""
4371 }
4372 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4373 line = \$ 0
4374 split(line, arg, " ")
4375 if (arg[1] == "#") {
4376 defundef = arg[2]
4377 mac1 = arg[3]
4378 } else {
4379 defundef = substr(arg[1], 2)
4380 mac1 = arg[2]
4381 }
4382 split(mac1, mac2, "(") #)
4383 macro = mac2[1]
4384 prefix = substr(line, 1, index(line, defundef) - 1)
4385 if (D_is_set[macro]) {
4386 # Preserve the white space surrounding the "#".
4387 print prefix "define", macro P[macro] D[macro]
4388 next
4389 } else {
4390 # Replace #undef with comments. This is necessary, for example,
4391 # in the case of _POSIX_SOURCE, which is predefined and required
4392 # on some systems where configure will not decide to define it.
4393 if (defundef == "undef") {
4394 print "/*", prefix defundef, macro, "*/"
4395 next
4396 }
4397 }
4398 }
4399 { print }
4400 _ACAWK
4401 _ACEOF
4402 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4403 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4404 fi # test -n "$CONFIG_HEADERS"
4405
4406
4407 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
4408 shift
4409 for ac_tag
4410 do
4411 case $ac_tag in
4412 :[FHLC]) ac_mode=$ac_tag; continue;;
4413 esac
4414 case $ac_mode$ac_tag in
4415 :[FHL]*:*);;
4416 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4417 :[FH]-) ac_tag=-:-;;
4418 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4419 esac
4420 ac_save_IFS=$IFS
4421 IFS=:
4422 set x $ac_tag
4423 IFS=$ac_save_IFS
4424 shift
4425 ac_file=$1
4426 shift
4427
4428 case $ac_mode in
4429 :L) ac_source=$1;;
4430 :[FH])
4431 ac_file_inputs=
4432 for ac_f
4433 do
4434 case $ac_f in
4435 -) ac_f="$ac_tmp/stdin";;
4436 *) # Look for the file first in the build tree, then in the source tree
4437 # (if the path is not absolute). The absolute path cannot be DOS-style,
4438 # because $ac_f cannot contain `:'.
4439 test -f "$ac_f" ||
4440 case $ac_f in
4441 [\\/$]*) false;;
4442 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4443 esac ||
4444 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4445 esac
4446 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4447 as_fn_append ac_file_inputs " '$ac_f'"
4448 done
4449
4450 # Let's still pretend it is `configure' which instantiates (i.e., don't
4451 # use $as_me), people would be surprised to read:
4452 # /* config.h. Generated by config.status. */
4453 configure_input='Generated from '`
4454 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4455 `' by configure.'
4456 if test x"$ac_file" != x-; then
4457 configure_input="$ac_file. $configure_input"
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4459 $as_echo "$as_me: creating $ac_file" >&6;}
4460 fi
4461 # Neutralize special characters interpreted by sed in replacement strings.
4462 case $configure_input in #(
4463 *\&* | *\|* | *\\* )
4464 ac_sed_conf_input=`$as_echo "$configure_input" |
4465 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4466 *) ac_sed_conf_input=$configure_input;;
4467 esac
4468
4469 case $ac_tag in
4470 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4471 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4472 esac
4473 ;;
4474 esac
4475
4476 ac_dir=`$as_dirname -- "$ac_file" ||
4477 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4478 X"$ac_file" : 'X\(//\)[^/]' \| \
4479 X"$ac_file" : 'X\(//\)$' \| \
4480 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4481 $as_echo X"$ac_file" |
4482 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4483 s//\1/
4484 q
4485 }
4486 /^X\(\/\/\)[^/].*/{
4487 s//\1/
4488 q
4489 }
4490 /^X\(\/\/\)$/{
4491 s//\1/
4492 q
4493 }
4494 /^X\(\/\).*/{
4495 s//\1/
4496 q
4497 }
4498 s/.*/./; q'`
4499 as_dir="$ac_dir"; as_fn_mkdir_p
4500 ac_builddir=.
4501
4502 case "$ac_dir" in
4503 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4504 *)
4505 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4506 # A ".." for each directory in $ac_dir_suffix.
4507 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4508 case $ac_top_builddir_sub in
4509 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4510 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4511 esac ;;
4512 esac
4513 ac_abs_top_builddir=$ac_pwd
4514 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4515 # for backward compatibility:
4516 ac_top_builddir=$ac_top_build_prefix
4517
4518 case $srcdir in
4519 .) # We are building in place.
4520 ac_srcdir=.
4521 ac_top_srcdir=$ac_top_builddir_sub
4522 ac_abs_top_srcdir=$ac_pwd ;;
4523 [\\/]* | ?:[\\/]* ) # Absolute name.
4524 ac_srcdir=$srcdir$ac_dir_suffix;
4525 ac_top_srcdir=$srcdir
4526 ac_abs_top_srcdir=$srcdir ;;
4527 *) # Relative name.
4528 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4529 ac_top_srcdir=$ac_top_build_prefix$srcdir
4530 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4531 esac
4532 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4533
4534
4535 case $ac_mode in
4536 :F)
4537 #
4538 # CONFIG_FILE
4539 #
4540
4541 case $INSTALL in
4542 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4543 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4544 esac
4545 _ACEOF
4546
4547 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4548 # If the template does not know about datarootdir, expand it.
4549 # FIXME: This hack should be removed a few years after 2.60.
4550 ac_datarootdir_hack=; ac_datarootdir_seen=
4551 ac_sed_dataroot='
4552 /datarootdir/ {
4553 p
4554 q
4555 }
4556 /@datadir@/p
4557 /@docdir@/p
4558 /@infodir@/p
4559 /@localedir@/p
4560 /@mandir@/p'
4561 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4562 *datarootdir*) ac_datarootdir_seen=yes;;
4563 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4565 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4566 _ACEOF
4567 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4568 ac_datarootdir_hack='
4569 s&@datadir@&$datadir&g
4570 s&@docdir@&$docdir&g
4571 s&@infodir@&$infodir&g
4572 s&@localedir@&$localedir&g
4573 s&@mandir@&$mandir&g
4574 s&\\\${datarootdir}&$datarootdir&g' ;;
4575 esac
4576 _ACEOF
4577
4578 # Neutralize VPATH when `$srcdir' = `.'.
4579 # Shell code in configure.ac might set extrasub.
4580 # FIXME: do we really want to maintain this feature?
4581 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4582 ac_sed_extra="$ac_vpsub
4583 $extrasub
4584 _ACEOF
4585 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4586 :t
4587 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4588 s|@configure_input@|$ac_sed_conf_input|;t t
4589 s&@top_builddir@&$ac_top_builddir_sub&;t t
4590 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4591 s&@srcdir@&$ac_srcdir&;t t
4592 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4593 s&@top_srcdir@&$ac_top_srcdir&;t t
4594 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4595 s&@builddir@&$ac_builddir&;t t
4596 s&@abs_builddir@&$ac_abs_builddir&;t t
4597 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4598 s&@INSTALL@&$ac_INSTALL&;t t
4599 $ac_datarootdir_hack
4600 "
4601 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4602 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4603
4604 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4605 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4606 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4607 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4609 which seems to be undefined. Please make sure it is defined" >&5
4610 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4611 which seems to be undefined. Please make sure it is defined" >&2;}
4612
4613 rm -f "$ac_tmp/stdin"
4614 case $ac_file in
4615 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4616 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4617 esac \
4618 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4619 ;;
4620 :H)
4621 #
4622 # CONFIG_HEADER
4623 #
4624 if test x"$ac_file" != x-; then
4625 {
4626 $as_echo "/* $configure_input */" \
4627 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
4628 } >"$ac_tmp/config.h" \
4629 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4630 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4632 $as_echo "$as_me: $ac_file is unchanged" >&6;}
4633 else
4634 rm -f "$ac_file"
4635 mv "$ac_tmp/config.h" "$ac_file" \
4636 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4637 fi
4638 else
4639 $as_echo "/* $configure_input */" \
4640 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4641 || as_fn_error $? "could not create -" "$LINENO" 5
4642 fi
4643 ;;
4644
4645
4646 esac
4647
4648 done # for ac_tag
4649
4650
4651 as_fn_exit 0
4652 _ACEOF
4653 ac_clean_files=$ac_clean_files_save
4654
4655 test $ac_write_fail = 0 ||
4656 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4657
4658
4659 # configure is writing to config.log, and then calls config.status.
4660 # config.status does its own redirection, appending to config.log.
4661 # Unfortunately, on DOS this fails, as config.log is still kept open
4662 # by configure, so config.status won't be able to write to it; its
4663 # output is simply discarded. So we exec the FD to /dev/null,
4664 # effectively closing config.log, so it can be properly (re)opened and
4665 # appended to by config.status. When coming back to configure, we
4666 # need to make the FD available again.
4667 if test "$no_create" != yes; then
4668 ac_cs_success=:
4669 ac_config_status_args=
4670 test "$silent" = yes &&
4671 ac_config_status_args="$ac_config_status_args --quiet"
4672 exec 5>/dev/null
4673 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4674 exec 5>>config.log
4675 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4676 # would make configure fail if this is the last instruction.
4677 $ac_cs_success || as_fn_exit 1
4678 fi
4679 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4681 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4682 fi
4683