Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for rdfind 1.6.0.
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 [email protected] 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='rdfind'
579 PACKAGE_TARNAME='rdfind'
580 PACKAGE_VERSION='1.6.0'
581 PACKAGE_STRING='rdfind 1.6.0'
582 PACKAGE_BUGREPORT=''
583 PACKAGE_URL=''
584
585 ac_unique_file="rdfind.cc"
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='am__EXEEXT_FALSE
623 am__EXEEXT_TRUE
624 LTLIBOBJS
625 LIBOBJS
626 EGREP
627 GREP
628 CXXCPP
629 am__fastdepCXX_FALSE
630 am__fastdepCXX_TRUE
631 CXXDEPMODE
632 am__nodep
633 AMDEPBACKSLASH
634 AMDEP_FALSE
635 AMDEP_TRUE
636 am__include
637 DEPDIR
638 OBJEXT
639 EXEEXT
640 ac_ct_CXX
641 CPPFLAGS
642 LDFLAGS
643 CXXFLAGS
644 CXX
645 AM_BACKSLASH
646 AM_DEFAULT_VERBOSITY
647 AM_DEFAULT_V
648 AM_V
649 am__untar
650 am__tar
651 AMTAR
652 am__leading_dot
653 SET_MAKE
654 AWK
655 mkdir_p
656 MKDIR_P
657 INSTALL_STRIP_PROGRAM
658 STRIP
659 install_sh
660 MAKEINFO
661 AUTOHEADER
662 AUTOMAKE
663 AUTOCONF
664 ACLOCAL
665 VERSION
666 PACKAGE
667 CYGPATH_W
668 am__isrc
669 INSTALL_DATA
670 INSTALL_SCRIPT
671 INSTALL_PROGRAM
672 target_alias
673 host_alias
674 build_alias
675 LIBS
676 ECHO_T
677 ECHO_N
678 ECHO_C
679 DEFS
680 mandir
681 localedir
682 libdir
683 psdir
684 pdfdir
685 dvidir
686 htmldir
687 infodir
688 docdir
689 oldincludedir
690 includedir
691 runstatedir
692 localstatedir
693 sharedstatedir
694 sysconfdir
695 datadir
696 datarootdir
697 libexecdir
698 sbindir
699 bindir
700 program_transform_name
701 prefix
702 exec_prefix
703 PACKAGE_URL
704 PACKAGE_BUGREPORT
705 PACKAGE_STRING
706 PACKAGE_VERSION
707 PACKAGE_TARNAME
708 PACKAGE_NAME
709 PATH_SEPARATOR
710 SHELL
711 am__quote'
712 ac_subst_files=''
713 ac_user_opts='
714 enable_option_checking
715 enable_silent_rules
716 enable_dependency_tracking
717 enable_debug
718 enable_assert
719 enable_largefile
720 enable_warnings
721 '
722 ac_precious_vars='build_alias
723 host_alias
724 target_alias
725 CXX
726 CXXFLAGS
727 LDFLAGS
728 LIBS
729 CPPFLAGS
730 CCC
731 CXXCPP'
732
733
734 # Initialize some variables set by options.
735 ac_init_help=
736 ac_init_version=false
737 ac_unrecognized_opts=
738 ac_unrecognized_sep=
739 # The variables have the same names as the options, with
740 # dashes changed to underlines.
741 cache_file=/dev/null
742 exec_prefix=NONE
743 no_create=
744 no_recursion=
745 prefix=NONE
746 program_prefix=NONE
747 program_suffix=NONE
748 program_transform_name=s,x,x,
749 silent=
750 site=
751 srcdir=
752 verbose=
753 x_includes=NONE
754 x_libraries=NONE
755
756 # Installation directory options.
757 # These are left unexpanded so users can "make install exec_prefix=/foo"
758 # and all the variables that are supposed to be based on exec_prefix
759 # by default will actually change.
760 # Use braces instead of parens because sh, perl, etc. also accept them.
761 # (The list follows the same order as the GNU Coding Standards.)
762 bindir='${exec_prefix}/bin'
763 sbindir='${exec_prefix}/sbin'
764 libexecdir='${exec_prefix}/libexec'
765 datarootdir='${prefix}/share'
766 datadir='${datarootdir}'
767 sysconfdir='${prefix}/etc'
768 sharedstatedir='${prefix}/com'
769 localstatedir='${prefix}/var'
770 runstatedir='${localstatedir}/run'
771 includedir='${prefix}/include'
772 oldincludedir='/usr/include'
773 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
774 infodir='${datarootdir}/info'
775 htmldir='${docdir}'
776 dvidir='${docdir}'
777 pdfdir='${docdir}'
778 psdir='${docdir}'
779 libdir='${exec_prefix}/lib'
780 localedir='${datarootdir}/locale'
781 mandir='${datarootdir}/man'
782
783 ac_prev=
784 ac_dashdash=
785 for ac_option
786 do
787 # If the previous option needs an argument, assign it.
788 if test -n "$ac_prev"; then
789 eval $ac_prev=\$ac_option
790 ac_prev=
791 continue
792 fi
793
794 case $ac_option in
795 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
796 *=) ac_optarg= ;;
797 *) ac_optarg=yes ;;
798 esac
799
800 # Accept the important Cygnus configure options, so we can diagnose typos.
801
802 case $ac_dashdash$ac_option in
803 --)
804 ac_dashdash=yes ;;
805
806 -bindir | --bindir | --bindi | --bind | --bin | --bi)
807 ac_prev=bindir ;;
808 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
809 bindir=$ac_optarg ;;
810
811 -build | --build | --buil | --bui | --bu)
812 ac_prev=build_alias ;;
813 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
814 build_alias=$ac_optarg ;;
815
816 -cache-file | --cache-file | --cache-fil | --cache-fi \
817 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
818 ac_prev=cache_file ;;
819 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
820 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
821 cache_file=$ac_optarg ;;
822
823 --config-cache | -C)
824 cache_file=config.cache ;;
825
826 -datadir | --datadir | --datadi | --datad)
827 ac_prev=datadir ;;
828 -datadir=* | --datadir=* | --datadi=* | --datad=*)
829 datadir=$ac_optarg ;;
830
831 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
832 | --dataroo | --dataro | --datar)
833 ac_prev=datarootdir ;;
834 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
835 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
836 datarootdir=$ac_optarg ;;
837
838 -disable-* | --disable-*)
839 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
840 # Reject names that are not valid shell variable names.
841 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
842 as_fn_error $? "invalid feature name: $ac_useropt"
843 ac_useropt_orig=$ac_useropt
844 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
845 case $ac_user_opts in
846 *"
847 "enable_$ac_useropt"
848 "*) ;;
849 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
850 ac_unrecognized_sep=', ';;
851 esac
852 eval enable_$ac_useropt=no ;;
853
854 -docdir | --docdir | --docdi | --doc | --do)
855 ac_prev=docdir ;;
856 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
857 docdir=$ac_optarg ;;
858
859 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
860 ac_prev=dvidir ;;
861 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
862 dvidir=$ac_optarg ;;
863
864 -enable-* | --enable-*)
865 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
866 # Reject names that are not valid shell variable names.
867 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
868 as_fn_error $? "invalid feature name: $ac_useropt"
869 ac_useropt_orig=$ac_useropt
870 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
871 case $ac_user_opts in
872 *"
873 "enable_$ac_useropt"
874 "*) ;;
875 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
876 ac_unrecognized_sep=', ';;
877 esac
878 eval enable_$ac_useropt=\$ac_optarg ;;
879
880 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
881 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
882 | --exec | --exe | --ex)
883 ac_prev=exec_prefix ;;
884 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
885 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
886 | --exec=* | --exe=* | --ex=*)
887 exec_prefix=$ac_optarg ;;
888
889 -gas | --gas | --ga | --g)
890 # Obsolete; use --with-gas.
891 with_gas=yes ;;
892
893 -help | --help | --hel | --he | -h)
894 ac_init_help=long ;;
895 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
896 ac_init_help=recursive ;;
897 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
898 ac_init_help=short ;;
899
900 -host | --host | --hos | --ho)
901 ac_prev=host_alias ;;
902 -host=* | --host=* | --hos=* | --ho=*)
903 host_alias=$ac_optarg ;;
904
905 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
906 ac_prev=htmldir ;;
907 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
908 | --ht=*)
909 htmldir=$ac_optarg ;;
910
911 -includedir | --includedir | --includedi | --included | --include \
912 | --includ | --inclu | --incl | --inc)
913 ac_prev=includedir ;;
914 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
915 | --includ=* | --inclu=* | --incl=* | --inc=*)
916 includedir=$ac_optarg ;;
917
918 -infodir | --infodir | --infodi | --infod | --info | --inf)
919 ac_prev=infodir ;;
920 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
921 infodir=$ac_optarg ;;
922
923 -libdir | --libdir | --libdi | --libd)
924 ac_prev=libdir ;;
925 -libdir=* | --libdir=* | --libdi=* | --libd=*)
926 libdir=$ac_optarg ;;
927
928 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
929 | --libexe | --libex | --libe)
930 ac_prev=libexecdir ;;
931 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
932 | --libexe=* | --libex=* | --libe=*)
933 libexecdir=$ac_optarg ;;
934
935 -localedir | --localedir | --localedi | --localed | --locale)
936 ac_prev=localedir ;;
937 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
938 localedir=$ac_optarg ;;
939
940 -localstatedir | --localstatedir | --localstatedi | --localstated \
941 | --localstate | --localstat | --localsta | --localst | --locals)
942 ac_prev=localstatedir ;;
943 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
944 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
945 localstatedir=$ac_optarg ;;
946
947 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
948 ac_prev=mandir ;;
949 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
950 mandir=$ac_optarg ;;
951
952 -nfp | --nfp | --nf)
953 # Obsolete; use --without-fp.
954 with_fp=no ;;
955
956 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
957 | --no-cr | --no-c | -n)
958 no_create=yes ;;
959
960 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
961 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
962 no_recursion=yes ;;
963
964 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
965 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
966 | --oldin | --oldi | --old | --ol | --o)
967 ac_prev=oldincludedir ;;
968 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
969 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
970 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
971 oldincludedir=$ac_optarg ;;
972
973 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
974 ac_prev=prefix ;;
975 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
976 prefix=$ac_optarg ;;
977
978 -program-prefix | --program-prefix | --program-prefi | --program-pref \
979 | --program-pre | --program-pr | --program-p)
980 ac_prev=program_prefix ;;
981 -program-prefix=* | --program-prefix=* | --program-prefi=* \
982 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
983 program_prefix=$ac_optarg ;;
984
985 -program-suffix | --program-suffix | --program-suffi | --program-suff \
986 | --program-suf | --program-su | --program-s)
987 ac_prev=program_suffix ;;
988 -program-suffix=* | --program-suffix=* | --program-suffi=* \
989 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
990 program_suffix=$ac_optarg ;;
991
992 -program-transform-name | --program-transform-name \
993 | --program-transform-nam | --program-transform-na \
994 | --program-transform-n | --program-transform- \
995 | --program-transform | --program-transfor \
996 | --program-transfo | --program-transf \
997 | --program-trans | --program-tran \
998 | --progr-tra | --program-tr | --program-t)
999 ac_prev=program_transform_name ;;
1000 -program-transform-name=* | --program-transform-name=* \
1001 | --program-transform-nam=* | --program-transform-na=* \
1002 | --program-transform-n=* | --program-transform-=* \
1003 | --program-transform=* | --program-transfor=* \
1004 | --program-transfo=* | --program-transf=* \
1005 | --program-trans=* | --program-tran=* \
1006 | --progr-tra=* | --program-tr=* | --program-t=*)
1007 program_transform_name=$ac_optarg ;;
1008
1009 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1010 ac_prev=pdfdir ;;
1011 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1012 pdfdir=$ac_optarg ;;
1013
1014 -psdir | --psdir | --psdi | --psd | --ps)
1015 ac_prev=psdir ;;
1016 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1017 psdir=$ac_optarg ;;
1018
1019 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1020 | -silent | --silent | --silen | --sile | --sil)
1021 silent=yes ;;
1022
1023 -runstatedir | --runstatedir | --runstatedi | --runstated \
1024 | --runstate | --runstat | --runsta | --runst | --runs \
1025 | --run | --ru | --r)
1026 ac_prev=runstatedir ;;
1027 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1028 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1029 | --run=* | --ru=* | --r=*)
1030 runstatedir=$ac_optarg ;;
1031
1032 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1033 ac_prev=sbindir ;;
1034 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1035 | --sbi=* | --sb=*)
1036 sbindir=$ac_optarg ;;
1037
1038 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1039 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1040 | --sharedst | --shareds | --shared | --share | --shar \
1041 | --sha | --sh)
1042 ac_prev=sharedstatedir ;;
1043 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1044 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1045 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1046 | --sha=* | --sh=*)
1047 sharedstatedir=$ac_optarg ;;
1048
1049 -site | --site | --sit)
1050 ac_prev=site ;;
1051 -site=* | --site=* | --sit=*)
1052 site=$ac_optarg ;;
1053
1054 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1055 ac_prev=srcdir ;;
1056 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1057 srcdir=$ac_optarg ;;
1058
1059 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1060 | --syscon | --sysco | --sysc | --sys | --sy)
1061 ac_prev=sysconfdir ;;
1062 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1063 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1064 sysconfdir=$ac_optarg ;;
1065
1066 -target | --target | --targe | --targ | --tar | --ta | --t)
1067 ac_prev=target_alias ;;
1068 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1069 target_alias=$ac_optarg ;;
1070
1071 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1072 verbose=yes ;;
1073
1074 -version | --version | --versio | --versi | --vers | -V)
1075 ac_init_version=: ;;
1076
1077 -with-* | --with-*)
1078 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1079 # Reject names that are not valid shell variable names.
1080 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1081 as_fn_error $? "invalid package name: $ac_useropt"
1082 ac_useropt_orig=$ac_useropt
1083 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1084 case $ac_user_opts in
1085 *"
1086 "with_$ac_useropt"
1087 "*) ;;
1088 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1089 ac_unrecognized_sep=', ';;
1090 esac
1091 eval with_$ac_useropt=\$ac_optarg ;;
1092
1093 -without-* | --without-*)
1094 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1095 # Reject names that are not valid shell variable names.
1096 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1097 as_fn_error $? "invalid package name: $ac_useropt"
1098 ac_useropt_orig=$ac_useropt
1099 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1100 case $ac_user_opts in
1101 *"
1102 "with_$ac_useropt"
1103 "*) ;;
1104 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1105 ac_unrecognized_sep=', ';;
1106 esac
1107 eval with_$ac_useropt=no ;;
1108
1109 --x)
1110 # Obsolete; use --with-x.
1111 with_x=yes ;;
1112
1113 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1114 | --x-incl | --x-inc | --x-in | --x-i)
1115 ac_prev=x_includes ;;
1116 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1117 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1118 x_includes=$ac_optarg ;;
1119
1120 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1121 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1122 ac_prev=x_libraries ;;
1123 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1124 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1125 x_libraries=$ac_optarg ;;
1126
1127 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1128 Try \`$0 --help' for more information"
1129 ;;
1130
1131 *=*)
1132 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1133 # Reject names that are not valid shell variable names.
1134 case $ac_envvar in #(
1135 '' | [0-9]* | *[!_$as_cr_alnum]* )
1136 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1137 esac
1138 eval $ac_envvar=\$ac_optarg
1139 export $ac_envvar ;;
1140
1141 *)
1142 # FIXME: should be removed in autoconf 3.0.
1143 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1144 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1145 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1146 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1147 ;;
1148
1149 esac
1150 done
1151
1152 if test -n "$ac_prev"; then
1153 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1154 as_fn_error $? "missing argument to $ac_option"
1155 fi
1156
1157 if test -n "$ac_unrecognized_opts"; then
1158 case $enable_option_checking in
1159 no) ;;
1160 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1161 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1162 esac
1163 fi
1164
1165 # Check all directory arguments for consistency.
1166 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1167 datadir sysconfdir sharedstatedir localstatedir includedir \
1168 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1169 libdir localedir mandir runstatedir
1170 do
1171 eval ac_val=\$$ac_var
1172 # Remove trailing slashes.
1173 case $ac_val in
1174 */ )
1175 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1176 eval $ac_var=\$ac_val;;
1177 esac
1178 # Be sure to have absolute directory names.
1179 case $ac_val in
1180 [\\/$]* | ?:[\\/]* ) continue;;
1181 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1182 esac
1183 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1184 done
1185
1186 # There might be people who depend on the old broken behavior: `$host'
1187 # used to hold the argument of --host etc.
1188 # FIXME: To remove some day.
1189 build=$build_alias
1190 host=$host_alias
1191 target=$target_alias
1192
1193 # FIXME: To remove some day.
1194 if test "x$host_alias" != x; then
1195 if test "x$build_alias" = x; then
1196 cross_compiling=maybe
1197 elif test "x$build_alias" != "x$host_alias"; then
1198 cross_compiling=yes
1199 fi
1200 fi
1201
1202 ac_tool_prefix=
1203 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1204
1205 test "$silent" = yes && exec 6>/dev/null
1206
1207
1208 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1209 ac_ls_di=`ls -di .` &&
1210 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1211 as_fn_error $? "working directory cannot be determined"
1212 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1213 as_fn_error $? "pwd does not report name of working directory"
1214
1215
1216 # Find the source files, if location was not specified.
1217 if test -z "$srcdir"; then
1218 ac_srcdir_defaulted=yes
1219 # Try the directory containing this script, then the parent directory.
1220 ac_confdir=`$as_dirname -- "$as_myself" ||
1221 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1222 X"$as_myself" : 'X\(//\)[^/]' \| \
1223 X"$as_myself" : 'X\(//\)$' \| \
1224 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1225 $as_echo X"$as_myself" |
1226 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1227 s//\1/
1228 q
1229 }
1230 /^X\(\/\/\)[^/].*/{
1231 s//\1/
1232 q
1233 }
1234 /^X\(\/\/\)$/{
1235 s//\1/
1236 q
1237 }
1238 /^X\(\/\).*/{
1239 s//\1/
1240 q
1241 }
1242 s/.*/./; q'`
1243 srcdir=$ac_confdir
1244 if test ! -r "$srcdir/$ac_unique_file"; then
1245 srcdir=..
1246 fi
1247 else
1248 ac_srcdir_defaulted=no
1249 fi
1250 if test ! -r "$srcdir/$ac_unique_file"; then
1251 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1252 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1253 fi
1254 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1255 ac_abs_confdir=`(
1256 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1257 pwd)`
1258 # When building in place, set srcdir=.
1259 if test "$ac_abs_confdir" = "$ac_pwd"; then
1260 srcdir=.
1261 fi
1262 # Remove unnecessary trailing slashes from srcdir.
1263 # Double slashes in file names in object file debugging info
1264 # mess up M-x gdb in Emacs.
1265 case $srcdir in
1266 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1267 esac
1268 for ac_var in $ac_precious_vars; do
1269 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1270 eval ac_env_${ac_var}_value=\$${ac_var}
1271 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1272 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1273 done
1274
1275 #
1276 # Report the --help message.
1277 #
1278 if test "$ac_init_help" = "long"; then
1279 # Omit some internal or obsolete options to make the list less imposing.
1280 # This message is too long to be a string in the A/UX 3.1 sh.
1281 cat <<_ACEOF
1282 \`configure' configures rdfind 1.6.0 to adapt to many kinds of systems.
1283
1284 Usage: $0 [OPTION]... [VAR=VALUE]...
1285
1286 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1287 VAR=VALUE. See below for descriptions of some of the useful variables.
1288
1289 Defaults for the options are specified in brackets.
1290
1291 Configuration:
1292 -h, --help display this help and exit
1293 --help=short display options specific to this package
1294 --help=recursive display the short help of all the included packages
1295 -V, --version display version information and exit
1296 -q, --quiet, --silent do not print \`checking ...' messages
1297 --cache-file=FILE cache test results in FILE [disabled]
1298 -C, --config-cache alias for \`--cache-file=config.cache'
1299 -n, --no-create do not create output files
1300 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1301
1302 Installation directories:
1303 --prefix=PREFIX install architecture-independent files in PREFIX
1304 [$ac_default_prefix]
1305 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1306 [PREFIX]
1307
1308 By default, \`make install' will install all the files in
1309 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1310 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1311 for instance \`--prefix=\$HOME'.
1312
1313 For better control, use the options below.
1314
1315 Fine tuning of the installation directories:
1316 --bindir=DIR user executables [EPREFIX/bin]
1317 --sbindir=DIR system admin executables [EPREFIX/sbin]
1318 --libexecdir=DIR program executables [EPREFIX/libexec]
1319 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1320 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1321 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1322 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1323 --libdir=DIR object code libraries [EPREFIX/lib]
1324 --includedir=DIR C header files [PREFIX/include]
1325 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1326 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1327 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1328 --infodir=DIR info documentation [DATAROOTDIR/info]
1329 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1330 --mandir=DIR man documentation [DATAROOTDIR/man]
1331 --docdir=DIR documentation root [DATAROOTDIR/doc/rdfind]
1332 --htmldir=DIR html documentation [DOCDIR]
1333 --dvidir=DIR dvi documentation [DOCDIR]
1334 --pdfdir=DIR pdf documentation [DOCDIR]
1335 --psdir=DIR ps documentation [DOCDIR]
1336 _ACEOF
1337
1338 cat <<\_ACEOF
1339
1340 Program names:
1341 --program-prefix=PREFIX prepend PREFIX to installed program names
1342 --program-suffix=SUFFIX append SUFFIX to installed program names
1343 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1344 _ACEOF
1345 fi
1346
1347 if test -n "$ac_init_help"; then
1348 case $ac_init_help in
1349 short | recursive ) echo "Configuration of rdfind 1.6.0:";;
1350 esac
1351 cat <<\_ACEOF
1352
1353 Optional Features:
1354 --disable-option-checking ignore unrecognized --enable/--with options
1355 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1356 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1357 --enable-silent-rules less verbose build output (undo: "make V=1")
1358 --disable-silent-rules verbose build output (undo: "make V=0")
1359 --enable-dependency-tracking
1360 do not reject slow dependency extractors
1361 --disable-dependency-tracking
1362 speeds up one-time build
1363 --enable-debug enable debug printouts in program (default=no)
1364 --disable-assert turn off assertions
1365 --disable-largefile omit support for large files
1366 --enable-warnings enable compiler warnings (default=no)
1367
1368 Some influential environment variables:
1369 CXX C++ compiler command
1370 CXXFLAGS C++ compiler flags
1371 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1372 nonstandard directory <lib dir>
1373 LIBS libraries to pass to the linker, e.g. -l<library>
1374 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1375 you have headers in a nonstandard directory <include dir>
1376 CXXCPP C++ preprocessor
1377
1378 Use these variables to override the choices made by `configure' or to help
1379 it to find libraries and programs with nonstandard names/locations.
1380
1381 Report bugs to the package provider.
1382 _ACEOF
1383 ac_status=$?
1384 fi
1385
1386 if test "$ac_init_help" = "recursive"; then
1387 # If there are subdirs, report their specific --help.
1388 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1389 test -d "$ac_dir" ||
1390 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1391 continue
1392 ac_builddir=.
1393
1394 case "$ac_dir" in
1395 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1396 *)
1397 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1398 # A ".." for each directory in $ac_dir_suffix.
1399 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1400 case $ac_top_builddir_sub in
1401 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1402 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1403 esac ;;
1404 esac
1405 ac_abs_top_builddir=$ac_pwd
1406 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1407 # for backward compatibility:
1408 ac_top_builddir=$ac_top_build_prefix
1409
1410 case $srcdir in
1411 .) # We are building in place.
1412 ac_srcdir=.
1413 ac_top_srcdir=$ac_top_builddir_sub
1414 ac_abs_top_srcdir=$ac_pwd ;;
1415 [\\/]* | ?:[\\/]* ) # Absolute name.
1416 ac_srcdir=$srcdir$ac_dir_suffix;
1417 ac_top_srcdir=$srcdir
1418 ac_abs_top_srcdir=$srcdir ;;
1419 *) # Relative name.
1420 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1421 ac_top_srcdir=$ac_top_build_prefix$srcdir
1422 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1423 esac
1424 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1425
1426 cd "$ac_dir" || { ac_status=$?; continue; }
1427 # Check for guested configure.
1428 if test -f "$ac_srcdir/configure.gnu"; then
1429 echo &&
1430 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1431 elif test -f "$ac_srcdir/configure"; then
1432 echo &&
1433 $SHELL "$ac_srcdir/configure" --help=recursive
1434 else
1435 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1436 fi || ac_status=$?
1437 cd "$ac_pwd" || { ac_status=$?; break; }
1438 done
1439 fi
1440
1441 test -n "$ac_init_help" && exit $ac_status
1442 if $ac_init_version; then
1443 cat <<\_ACEOF
1444 rdfind configure 1.6.0
1445 generated by GNU Autoconf 2.69
1446
1447 Copyright (C) 2012 Free Software Foundation, Inc.
1448 This configure script is free software; the Free Software Foundation
1449 gives unlimited permission to copy, distribute and modify it.
1450 _ACEOF
1451 exit
1452 fi
1453
1454 ## ------------------------ ##
1455 ## Autoconf initialization. ##
1456 ## ------------------------ ##
1457
1458 # ac_fn_cxx_try_compile LINENO
1459 # ----------------------------
1460 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1461 ac_fn_cxx_try_compile ()
1462 {
1463 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1464 rm -f conftest.$ac_objext
1465 if { { ac_try="$ac_compile"
1466 case "(($ac_try" in
1467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1468 *) ac_try_echo=$ac_try;;
1469 esac
1470 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1471 $as_echo "$ac_try_echo"; } >&5
1472 (eval "$ac_compile") 2>conftest.err
1473 ac_status=$?
1474 if test -s conftest.err; then
1475 grep -v '^ *+' conftest.err >conftest.er1
1476 cat conftest.er1 >&5
1477 mv -f conftest.er1 conftest.err
1478 fi
1479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1480 test $ac_status = 0; } && {
1481 test -z "$ac_cxx_werror_flag" ||
1482 test ! -s conftest.err
1483 } && test -s conftest.$ac_objext; then :
1484 ac_retval=0
1485 else
1486 $as_echo "$as_me: failed program was:" >&5
1487 sed 's/^/| /' conftest.$ac_ext >&5
1488
1489 ac_retval=1
1490 fi
1491 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1492 as_fn_set_status $ac_retval
1493
1494 } # ac_fn_cxx_try_compile
1495
1496 # ac_fn_cxx_try_cpp LINENO
1497 # ------------------------
1498 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1499 ac_fn_cxx_try_cpp ()
1500 {
1501 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1502 if { { ac_try="$ac_cpp conftest.$ac_ext"
1503 case "(($ac_try" in
1504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1505 *) ac_try_echo=$ac_try;;
1506 esac
1507 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1508 $as_echo "$ac_try_echo"; } >&5
1509 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1510 ac_status=$?
1511 if test -s conftest.err; then
1512 grep -v '^ *+' conftest.err >conftest.er1
1513 cat conftest.er1 >&5
1514 mv -f conftest.er1 conftest.err
1515 fi
1516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1517 test $ac_status = 0; } > conftest.i && {
1518 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1519 test ! -s conftest.err
1520 }; then :
1521 ac_retval=0
1522 else
1523 $as_echo "$as_me: failed program was:" >&5
1524 sed 's/^/| /' conftest.$ac_ext >&5
1525
1526 ac_retval=1
1527 fi
1528 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1529 as_fn_set_status $ac_retval
1530
1531 } # ac_fn_cxx_try_cpp
1532
1533 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1534 # ---------------------------------------------------------
1535 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1536 # the include files in INCLUDES and setting the cache variable VAR
1537 # accordingly.
1538 ac_fn_cxx_check_header_mongrel ()
1539 {
1540 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1541 if eval \${$3+:} false; then :
1542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1543 $as_echo_n "checking for $2... " >&6; }
1544 if eval \${$3+:} false; then :
1545 $as_echo_n "(cached) " >&6
1546 fi
1547 eval ac_res=\$$3
1548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1549 $as_echo "$ac_res" >&6; }
1550 else
1551 # Is the header compilable?
1552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1553 $as_echo_n "checking $2 usability... " >&6; }
1554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1555 /* end confdefs.h. */
1556 $4
1557 #include <$2>
1558 _ACEOF
1559 if ac_fn_cxx_try_compile "$LINENO"; then :
1560 ac_header_compiler=yes
1561 else
1562 ac_header_compiler=no
1563 fi
1564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1566 $as_echo "$ac_header_compiler" >&6; }
1567
1568 # Is the header present?
1569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1570 $as_echo_n "checking $2 presence... " >&6; }
1571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1572 /* end confdefs.h. */
1573 #include <$2>
1574 _ACEOF
1575 if ac_fn_cxx_try_cpp "$LINENO"; then :
1576 ac_header_preproc=yes
1577 else
1578 ac_header_preproc=no
1579 fi
1580 rm -f conftest.err conftest.i conftest.$ac_ext
1581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1582 $as_echo "$ac_header_preproc" >&6; }
1583
1584 # So? What about this header?
1585 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1586 yes:no: )
1587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1588 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1590 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1591 ;;
1592 no:yes:* )
1593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1594 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1596 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1598 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1600 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1602 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1603 ;;
1604 esac
1605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1606 $as_echo_n "checking for $2... " >&6; }
1607 if eval \${$3+:} false; then :
1608 $as_echo_n "(cached) " >&6
1609 else
1610 eval "$3=\$ac_header_compiler"
1611 fi
1612 eval ac_res=\$$3
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1614 $as_echo "$ac_res" >&6; }
1615 fi
1616 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1617
1618 } # ac_fn_cxx_check_header_mongrel
1619
1620 # ac_fn_cxx_try_run LINENO
1621 # ------------------------
1622 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1623 # that executables *can* be run.
1624 ac_fn_cxx_try_run ()
1625 {
1626 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1627 if { { ac_try="$ac_link"
1628 case "(($ac_try" in
1629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1630 *) ac_try_echo=$ac_try;;
1631 esac
1632 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1633 $as_echo "$ac_try_echo"; } >&5
1634 (eval "$ac_link") 2>&5
1635 ac_status=$?
1636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1637 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1638 { { case "(($ac_try" in
1639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1640 *) ac_try_echo=$ac_try;;
1641 esac
1642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1643 $as_echo "$ac_try_echo"; } >&5
1644 (eval "$ac_try") 2>&5
1645 ac_status=$?
1646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1647 test $ac_status = 0; }; }; then :
1648 ac_retval=0
1649 else
1650 $as_echo "$as_me: program exited with status $ac_status" >&5
1651 $as_echo "$as_me: failed program was:" >&5
1652 sed 's/^/| /' conftest.$ac_ext >&5
1653
1654 ac_retval=$ac_status
1655 fi
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_run
1661
1662 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1663 # ---------------------------------------------------------
1664 # Tests whether HEADER exists and can be compiled using the include files in
1665 # INCLUDES, setting the cache variable VAR accordingly.
1666 ac_fn_cxx_check_header_compile ()
1667 {
1668 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1670 $as_echo_n "checking for $2... " >&6; }
1671 if eval \${$3+:} false; then :
1672 $as_echo_n "(cached) " >&6
1673 else
1674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1675 /* end confdefs.h. */
1676 $4
1677 #include <$2>
1678 _ACEOF
1679 if ac_fn_cxx_try_compile "$LINENO"; then :
1680 eval "$3=yes"
1681 else
1682 eval "$3=no"
1683 fi
1684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1685 fi
1686 eval ac_res=\$$3
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1688 $as_echo "$ac_res" >&6; }
1689 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1690
1691 } # ac_fn_cxx_check_header_compile
1692
1693 # ac_fn_cxx_try_link LINENO
1694 # -------------------------
1695 # Try to link conftest.$ac_ext, and return whether this succeeded.
1696 ac_fn_cxx_try_link ()
1697 {
1698 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1699 rm -f conftest.$ac_objext conftest$ac_exeext
1700 if { { ac_try="$ac_link"
1701 case "(($ac_try" in
1702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1703 *) ac_try_echo=$ac_try;;
1704 esac
1705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1706 $as_echo "$ac_try_echo"; } >&5
1707 (eval "$ac_link") 2>conftest.err
1708 ac_status=$?
1709 if test -s conftest.err; then
1710 grep -v '^ *+' conftest.err >conftest.er1
1711 cat conftest.er1 >&5
1712 mv -f conftest.er1 conftest.err
1713 fi
1714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1715 test $ac_status = 0; } && {
1716 test -z "$ac_cxx_werror_flag" ||
1717 test ! -s conftest.err
1718 } && test -s conftest$ac_exeext && {
1719 test "$cross_compiling" = yes ||
1720 test -x conftest$ac_exeext
1721 }; then :
1722 ac_retval=0
1723 else
1724 $as_echo "$as_me: failed program was:" >&5
1725 sed 's/^/| /' conftest.$ac_ext >&5
1726
1727 ac_retval=1
1728 fi
1729 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1730 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1731 # interfere with the next link command; also delete a directory that is
1732 # left behind by Apple's compiler. We do this before executing the actions.
1733 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1734 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1735 as_fn_set_status $ac_retval
1736
1737 } # ac_fn_cxx_try_link
1738
1739 # ac_fn_cxx_check_func LINENO FUNC VAR
1740 # ------------------------------------
1741 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1742 ac_fn_cxx_check_func ()
1743 {
1744 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1746 $as_echo_n "checking for $2... " >&6; }
1747 if eval \${$3+:} false; then :
1748 $as_echo_n "(cached) " >&6
1749 else
1750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1751 /* end confdefs.h. */
1752 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1754 #define $2 innocuous_$2
1755
1756 /* System header to define __stub macros and hopefully few prototypes,
1757 which can conflict with char $2 (); below.
1758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1759 <limits.h> exists even on freestanding compilers. */
1760
1761 #ifdef __STDC__
1762 # include <limits.h>
1763 #else
1764 # include <assert.h>
1765 #endif
1766
1767 #undef $2
1768
1769 /* Override any GCC internal prototype to avoid an error.
1770 Use char because int might match the return type of a GCC
1771 builtin and then its argument prototype would still apply. */
1772 #ifdef __cplusplus
1773 extern "C"
1774 #endif
1775 char $2 ();
1776 /* The GNU C library defines this for functions which it implements
1777 to always fail with ENOSYS. Some functions are actually named
1778 something starting with __ and the normal name is an alias. */
1779 #if defined __stub_$2 || defined __stub___$2
1780 choke me
1781 #endif
1782
1783 int
1784 main ()
1785 {
1786 return $2 ();
1787 ;
1788 return 0;
1789 }
1790 _ACEOF
1791 if ac_fn_cxx_try_link "$LINENO"; then :
1792 eval "$3=yes"
1793 else
1794 eval "$3=no"
1795 fi
1796 rm -f core conftest.err conftest.$ac_objext \
1797 conftest$ac_exeext conftest.$ac_ext
1798 fi
1799 eval ac_res=\$$3
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1801 $as_echo "$ac_res" >&6; }
1802 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1803
1804 } # ac_fn_cxx_check_func
1805 cat >config.log <<_ACEOF
1806 This file contains any messages produced by compilers while
1807 running configure, to aid debugging if configure makes a mistake.
1808
1809 It was created by rdfind $as_me 1.6.0, which was
1810 generated by GNU Autoconf 2.69. Invocation command line was
1811
1812 $ $0 $@
1813
1814 _ACEOF
1815 exec 5>>config.log
1816 {
1817 cat <<_ASUNAME
1818 ## --------- ##
1819 ## Platform. ##
1820 ## --------- ##
1821
1822 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1823 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1824 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1825 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1826 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1827
1828 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1829 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1830
1831 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1832 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1833 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1834 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1835 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1836 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1837 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1838
1839 _ASUNAME
1840
1841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1842 for as_dir in $PATH
1843 do
1844 IFS=$as_save_IFS
1845 test -z "$as_dir" && as_dir=.
1846 $as_echo "PATH: $as_dir"
1847 done
1848 IFS=$as_save_IFS
1849
1850 } >&5
1851
1852 cat >&5 <<_ACEOF
1853
1854
1855 ## ----------- ##
1856 ## Core tests. ##
1857 ## ----------- ##
1858
1859 _ACEOF
1860
1861
1862 # Keep a trace of the command line.
1863 # Strip out --no-create and --no-recursion so they do not pile up.
1864 # Strip out --silent because we don't want to record it for future runs.
1865 # Also quote any args containing shell meta-characters.
1866 # Make two passes to allow for proper duplicate-argument suppression.
1867 ac_configure_args=
1868 ac_configure_args0=
1869 ac_configure_args1=
1870 ac_must_keep_next=false
1871 for ac_pass in 1 2
1872 do
1873 for ac_arg
1874 do
1875 case $ac_arg in
1876 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1877 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1878 | -silent | --silent | --silen | --sile | --sil)
1879 continue ;;
1880 *\'*)
1881 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1882 esac
1883 case $ac_pass in
1884 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1885 2)
1886 as_fn_append ac_configure_args1 " '$ac_arg'"
1887 if test $ac_must_keep_next = true; then
1888 ac_must_keep_next=false # Got value, back to normal.
1889 else
1890 case $ac_arg in
1891 *=* | --config-cache | -C | -disable-* | --disable-* \
1892 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1893 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1894 | -with-* | --with-* | -without-* | --without-* | --x)
1895 case "$ac_configure_args0 " in
1896 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1897 esac
1898 ;;
1899 -* ) ac_must_keep_next=true ;;
1900 esac
1901 fi
1902 as_fn_append ac_configure_args " '$ac_arg'"
1903 ;;
1904 esac
1905 done
1906 done
1907 { ac_configure_args0=; unset ac_configure_args0;}
1908 { ac_configure_args1=; unset ac_configure_args1;}
1909
1910 # When interrupted or exit'd, cleanup temporary files, and complete
1911 # config.log. We remove comments because anyway the quotes in there
1912 # would cause problems or look ugly.
1913 # WARNING: Use '\'' to represent an apostrophe within the trap.
1914 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1915 trap 'exit_status=$?
1916 # Save into config.log some information that might help in debugging.
1917 {
1918 echo
1919
1920 $as_echo "## ---------------- ##
1921 ## Cache variables. ##
1922 ## ---------------- ##"
1923 echo
1924 # The following way of writing the cache mishandles newlines in values,
1925 (
1926 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1927 eval ac_val=\$$ac_var
1928 case $ac_val in #(
1929 *${as_nl}*)
1930 case $ac_var in #(
1931 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1932 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1933 esac
1934 case $ac_var in #(
1935 _ | IFS | as_nl) ;; #(
1936 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1937 *) { eval $ac_var=; unset $ac_var;} ;;
1938 esac ;;
1939 esac
1940 done
1941 (set) 2>&1 |
1942 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1943 *${as_nl}ac_space=\ *)
1944 sed -n \
1945 "s/'\''/'\''\\\\'\'''\''/g;
1946 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1947 ;; #(
1948 *)
1949 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1950 ;;
1951 esac |
1952 sort
1953 )
1954 echo
1955
1956 $as_echo "## ----------------- ##
1957 ## Output variables. ##
1958 ## ----------------- ##"
1959 echo
1960 for ac_var in $ac_subst_vars
1961 do
1962 eval ac_val=\$$ac_var
1963 case $ac_val in
1964 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1965 esac
1966 $as_echo "$ac_var='\''$ac_val'\''"
1967 done | sort
1968 echo
1969
1970 if test -n "$ac_subst_files"; then
1971 $as_echo "## ------------------- ##
1972 ## File substitutions. ##
1973 ## ------------------- ##"
1974 echo
1975 for ac_var in $ac_subst_files
1976 do
1977 eval ac_val=\$$ac_var
1978 case $ac_val in
1979 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1980 esac
1981 $as_echo "$ac_var='\''$ac_val'\''"
1982 done | sort
1983 echo
1984 fi
1985
1986 if test -s confdefs.h; then
1987 $as_echo "## ----------- ##
1988 ## confdefs.h. ##
1989 ## ----------- ##"
1990 echo
1991 cat confdefs.h
1992 echo
1993 fi
1994 test "$ac_signal" != 0 &&
1995 $as_echo "$as_me: caught signal $ac_signal"
1996 $as_echo "$as_me: exit $exit_status"
1997 } >&5
1998 rm -f core *.core core.conftest.* &&
1999 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2000 exit $exit_status
2001 ' 0
2002 for ac_signal in 1 2 13 15; do
2003 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2004 done
2005 ac_signal=0
2006
2007 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2008 rm -f -r conftest* confdefs.h
2009
2010 $as_echo "/* confdefs.h */" > confdefs.h
2011
2012 # Predefined preprocessor variables.
2013
2014 cat >>confdefs.h <<_ACEOF
2015 #define PACKAGE_NAME "$PACKAGE_NAME"
2016 _ACEOF
2017
2018 cat >>confdefs.h <<_ACEOF
2019 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2020 _ACEOF
2021
2022 cat >>confdefs.h <<_ACEOF
2023 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2024 _ACEOF
2025
2026 cat >>confdefs.h <<_ACEOF
2027 #define PACKAGE_STRING "$PACKAGE_STRING"
2028 _ACEOF
2029
2030 cat >>confdefs.h <<_ACEOF
2031 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2032 _ACEOF
2033
2034 cat >>confdefs.h <<_ACEOF
2035 #define PACKAGE_URL "$PACKAGE_URL"
2036 _ACEOF
2037
2038
2039 # Let the site file select an alternate cache file if it wants to.
2040 # Prefer an explicitly selected file to automatically selected ones.
2041 ac_site_file1=NONE
2042 ac_site_file2=NONE
2043 if test -n "$CONFIG_SITE"; then
2044 # We do not want a PATH search for config.site.
2045 case $CONFIG_SITE in #((
2046 -*) ac_site_file1=./$CONFIG_SITE;;
2047 */*) ac_site_file1=$CONFIG_SITE;;
2048 *) ac_site_file1=./$CONFIG_SITE;;
2049 esac
2050 elif test "x$prefix" != xNONE; then
2051 ac_site_file1=$prefix/share/config.site
2052 ac_site_file2=$prefix/etc/config.site
2053 else
2054 ac_site_file1=$ac_default_prefix/share/config.site
2055 ac_site_file2=$ac_default_prefix/etc/config.site
2056 fi
2057 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2058 do
2059 test "x$ac_site_file" = xNONE && continue
2060 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2062 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2063 sed 's/^/| /' "$ac_site_file" >&5
2064 . "$ac_site_file" \
2065 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2066 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2067 as_fn_error $? "failed to load site script $ac_site_file
2068 See \`config.log' for more details" "$LINENO" 5; }
2069 fi
2070 done
2071
2072 if test -r "$cache_file"; then
2073 # Some versions of bash will fail to source /dev/null (special files
2074 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2075 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2077 $as_echo "$as_me: loading cache $cache_file" >&6;}
2078 case $cache_file in
2079 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2080 *) . "./$cache_file";;
2081 esac
2082 fi
2083 else
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2085 $as_echo "$as_me: creating cache $cache_file" >&6;}
2086 >$cache_file
2087 fi
2088
2089 # Check that the precious variables saved in the cache have kept the same
2090 # value.
2091 ac_cache_corrupted=false
2092 for ac_var in $ac_precious_vars; do
2093 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2094 eval ac_new_set=\$ac_env_${ac_var}_set
2095 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2096 eval ac_new_val=\$ac_env_${ac_var}_value
2097 case $ac_old_set,$ac_new_set in
2098 set,)
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2100 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2101 ac_cache_corrupted=: ;;
2102 ,set)
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2104 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2105 ac_cache_corrupted=: ;;
2106 ,);;
2107 *)
2108 if test "x$ac_old_val" != "x$ac_new_val"; then
2109 # differences in whitespace do not lead to failure.
2110 ac_old_val_w=`echo x $ac_old_val`
2111 ac_new_val_w=`echo x $ac_new_val`
2112 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2114 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2115 ac_cache_corrupted=:
2116 else
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2118 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2119 eval $ac_var=\$ac_old_val
2120 fi
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2122 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2124 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2125 fi;;
2126 esac
2127 # Pass precious variables to config.status.
2128 if test "$ac_new_set" = set; then
2129 case $ac_new_val in
2130 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2131 *) ac_arg=$ac_var=$ac_new_val ;;
2132 esac
2133 case " $ac_configure_args " in
2134 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2135 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2136 esac
2137 fi
2138 done
2139 if $ac_cache_corrupted; then
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2141 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2143 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2144 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2145 fi
2146 ## -------------------- ##
2147 ## Main body of script. ##
2148 ## -------------------- ##
2149
2150 ac_ext=c
2151 ac_cpp='$CPP $CPPFLAGS'
2152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2155
2156
2157
2158 ac_config_headers="$ac_config_headers config.h"
2159
2160
2161 am__api_version='1.16'
2162
2163 ac_aux_dir=
2164 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2165 if test -f "$ac_dir/install-sh"; then
2166 ac_aux_dir=$ac_dir
2167 ac_install_sh="$ac_aux_dir/install-sh -c"
2168 break
2169 elif test -f "$ac_dir/install.sh"; then
2170 ac_aux_dir=$ac_dir
2171 ac_install_sh="$ac_aux_dir/install.sh -c"
2172 break
2173 elif test -f "$ac_dir/shtool"; then
2174 ac_aux_dir=$ac_dir
2175 ac_install_sh="$ac_aux_dir/shtool install -c"
2176 break
2177 fi
2178 done
2179 if test -z "$ac_aux_dir"; then
2180 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2181 fi
2182
2183 # These three variables are undocumented and unsupported,
2184 # and are intended to be withdrawn in a future Autoconf release.
2185 # They can cause serious problems if a builder's source tree is in a directory
2186 # whose full name contains unusual characters.
2187 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2188 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2189 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2190
2191
2192 # Find a good install program. We prefer a C program (faster),
2193 # so one script is as good as another. But avoid the broken or
2194 # incompatible versions:
2195 # SysV /etc/install, /usr/sbin/install
2196 # SunOS /usr/etc/install
2197 # IRIX /sbin/install
2198 # AIX /bin/install
2199 # AmigaOS /C/install, which installs bootblocks on floppy discs
2200 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2201 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2202 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2203 # OS/2's system install, which has a completely different semantic
2204 # ./install, which can be erroneously created by make from ./install.sh.
2205 # Reject install programs that cannot install multiple files.
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2207 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2208 if test -z "$INSTALL"; then
2209 if ${ac_cv_path_install+:} false; then :
2210 $as_echo_n "(cached) " >&6
2211 else
2212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2213 for as_dir in $PATH
2214 do
2215 IFS=$as_save_IFS
2216 test -z "$as_dir" && as_dir=.
2217 # Account for people who put trailing slashes in PATH elements.
2218 case $as_dir/ in #((
2219 ./ | .// | /[cC]/* | \
2220 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2221 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2222 /usr/ucb/* ) ;;
2223 *)
2224 # OSF1 and SCO ODT 3.0 have their own names for install.
2225 # Don't use installbsd from OSF since it installs stuff as root
2226 # by default.
2227 for ac_prog in ginstall scoinst install; do
2228 for ac_exec_ext in '' $ac_executable_extensions; do
2229 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2230 if test $ac_prog = install &&
2231 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2232 # AIX install. It has an incompatible calling convention.
2233 :
2234 elif test $ac_prog = install &&
2235 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2236 # program-specific install script used by HP pwplus--don't use.
2237 :
2238 else
2239 rm -rf conftest.one conftest.two conftest.dir
2240 echo one > conftest.one
2241 echo two > conftest.two
2242 mkdir conftest.dir
2243 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2244 test -s conftest.one && test -s conftest.two &&
2245 test -s conftest.dir/conftest.one &&
2246 test -s conftest.dir/conftest.two
2247 then
2248 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2249 break 3
2250 fi
2251 fi
2252 fi
2253 done
2254 done
2255 ;;
2256 esac
2257
2258 done
2259 IFS=$as_save_IFS
2260
2261 rm -rf conftest.one conftest.two conftest.dir
2262
2263 fi
2264 if test "${ac_cv_path_install+set}" = set; then
2265 INSTALL=$ac_cv_path_install
2266 else
2267 # As a last resort, use the slow shell script. Don't cache a
2268 # value for INSTALL within a source directory, because that will
2269 # break other packages using the cache if that directory is
2270 # removed, or if the value is a relative name.
2271 INSTALL=$ac_install_sh
2272 fi
2273 fi
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2275 $as_echo "$INSTALL" >&6; }
2276
2277 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2278 # It thinks the first close brace ends the variable substitution.
2279 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2280
2281 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2282
2283 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2284
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2286 $as_echo_n "checking whether build environment is sane... " >&6; }
2287 # Reject unsafe characters in $srcdir or the absolute working directory
2288 # name. Accept space and tab only in the latter.
2289 am_lf='
2290 '
2291 case `pwd` in
2292 *[\\\"\#\$\&\'\`$am_lf]*)
2293 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2294 esac
2295 case $srcdir in
2296 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2297 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2298 esac
2299
2300 # Do 'set' in a subshell so we don't clobber the current shell's
2301 # arguments. Must try -L first in case configure is actually a
2302 # symlink; some systems play weird games with the mod time of symlinks
2303 # (eg FreeBSD returns the mod time of the symlink's containing
2304 # directory).
2305 if (
2306 am_has_slept=no
2307 for am_try in 1 2; do
2308 echo "timestamp, slept: $am_has_slept" > conftest.file
2309 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2310 if test "$*" = "X"; then
2311 # -L didn't work.
2312 set X `ls -t "$srcdir/configure" conftest.file`
2313 fi
2314 if test "$*" != "X $srcdir/configure conftest.file" \
2315 && test "$*" != "X conftest.file $srcdir/configure"; then
2316
2317 # If neither matched, then we have a broken ls. This can happen
2318 # if, for instance, CONFIG_SHELL is bash and it inherits a
2319 # broken ls alias from the environment. This has actually
2320 # happened. Such a system could not be considered "sane".
2321 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2322 alias in your environment" "$LINENO" 5
2323 fi
2324 if test "$2" = conftest.file || test $am_try -eq 2; then
2325 break
2326 fi
2327 # Just in case.
2328 sleep 1
2329 am_has_slept=yes
2330 done
2331 test "$2" = conftest.file
2332 )
2333 then
2334 # Ok.
2335 :
2336 else
2337 as_fn_error $? "newly created file is older than distributed files!
2338 Check your system clock" "$LINENO" 5
2339 fi
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2341 $as_echo "yes" >&6; }
2342 # If we didn't sleep, we still need to ensure time stamps of config.status and
2343 # generated files are strictly newer.
2344 am_sleep_pid=
2345 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2346 ( sleep 1 ) &
2347 am_sleep_pid=$!
2348 fi
2349
2350 rm -f conftest.file
2351
2352 test "$program_prefix" != NONE &&
2353 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2354 # Use a double $ so make ignores it.
2355 test "$program_suffix" != NONE &&
2356 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2357 # Double any \ or $.
2358 # By default was `s,x,x', remove it if useless.
2359 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2360 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2361
2362 # Expand $ac_aux_dir to an absolute path.
2363 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2364
2365 if test x"${MISSING+set}" != xset; then
2366 MISSING="\${SHELL} '$am_aux_dir/missing'"
2367 fi
2368 # Use eval to expand $SHELL
2369 if eval "$MISSING --is-lightweight"; then
2370 am_missing_run="$MISSING "
2371 else
2372 am_missing_run=
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2374 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2375 fi
2376
2377 if test x"${install_sh+set}" != xset; then
2378 case $am_aux_dir in
2379 *\ * | *\ *)
2380 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2381 *)
2382 install_sh="\${SHELL} $am_aux_dir/install-sh"
2383 esac
2384 fi
2385
2386 # Installed binaries are usually stripped using 'strip' when the user
2387 # run "make install-strip". However 'strip' might not be the right
2388 # tool to use in cross-compilation environments, therefore Automake
2389 # will honor the 'STRIP' environment variable to overrule this program.
2390 if test "$cross_compiling" != no; then
2391 if test -n "$ac_tool_prefix"; then
2392 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2393 set dummy ${ac_tool_prefix}strip; ac_word=$2
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2395 $as_echo_n "checking for $ac_word... " >&6; }
2396 if ${ac_cv_prog_STRIP+:} false; then :
2397 $as_echo_n "(cached) " >&6
2398 else
2399 if test -n "$STRIP"; then
2400 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2401 else
2402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2403 for as_dir in $PATH
2404 do
2405 IFS=$as_save_IFS
2406 test -z "$as_dir" && as_dir=.
2407 for ac_exec_ext in '' $ac_executable_extensions; do
2408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2409 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2411 break 2
2412 fi
2413 done
2414 done
2415 IFS=$as_save_IFS
2416
2417 fi
2418 fi
2419 STRIP=$ac_cv_prog_STRIP
2420 if test -n "$STRIP"; then
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2422 $as_echo "$STRIP" >&6; }
2423 else
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2425 $as_echo "no" >&6; }
2426 fi
2427
2428
2429 fi
2430 if test -z "$ac_cv_prog_STRIP"; then
2431 ac_ct_STRIP=$STRIP
2432 # Extract the first word of "strip", so it can be a program name with args.
2433 set dummy strip; ac_word=$2
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2435 $as_echo_n "checking for $ac_word... " >&6; }
2436 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2437 $as_echo_n "(cached) " >&6
2438 else
2439 if test -n "$ac_ct_STRIP"; then
2440 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2441 else
2442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2443 for as_dir in $PATH
2444 do
2445 IFS=$as_save_IFS
2446 test -z "$as_dir" && as_dir=.
2447 for ac_exec_ext in '' $ac_executable_extensions; do
2448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2449 ac_cv_prog_ac_ct_STRIP="strip"
2450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2451 break 2
2452 fi
2453 done
2454 done
2455 IFS=$as_save_IFS
2456
2457 fi
2458 fi
2459 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2460 if test -n "$ac_ct_STRIP"; then
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2462 $as_echo "$ac_ct_STRIP" >&6; }
2463 else
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2465 $as_echo "no" >&6; }
2466 fi
2467
2468 if test "x$ac_ct_STRIP" = x; then
2469 STRIP=":"
2470 else
2471 case $cross_compiling:$ac_tool_warned in
2472 yes:)
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2474 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2475 ac_tool_warned=yes ;;
2476 esac
2477 STRIP=$ac_ct_STRIP
2478 fi
2479 else
2480 STRIP="$ac_cv_prog_STRIP"
2481 fi
2482
2483 fi
2484 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2485
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2487 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2488 if test -z "$MKDIR_P"; then
2489 if ${ac_cv_path_mkdir+:} false; then :
2490 $as_echo_n "(cached) " >&6
2491 else
2492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2493 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2494 do
2495 IFS=$as_save_IFS
2496 test -z "$as_dir" && as_dir=.
2497 for ac_prog in mkdir gmkdir; do
2498 for ac_exec_ext in '' $ac_executable_extensions; do
2499 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2500 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2501 'mkdir (GNU coreutils) '* | \
2502 'mkdir (coreutils) '* | \
2503 'mkdir (fileutils) '4.1*)
2504 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2505 break 3;;
2506 esac
2507 done
2508 done
2509 done
2510 IFS=$as_save_IFS
2511
2512 fi
2513
2514 test -d ./--version && rmdir ./--version
2515 if test "${ac_cv_path_mkdir+set}" = set; then
2516 MKDIR_P="$ac_cv_path_mkdir -p"
2517 else
2518 # As a last resort, use the slow shell script. Don't cache a
2519 # value for MKDIR_P within a source directory, because that will
2520 # break other packages using the cache if that directory is
2521 # removed, or if the value is a relative name.
2522 MKDIR_P="$ac_install_sh -d"
2523 fi
2524 fi
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2526 $as_echo "$MKDIR_P" >&6; }
2527
2528 for ac_prog in gawk mawk nawk awk
2529 do
2530 # Extract the first word of "$ac_prog", so it can be a program name with args.
2531 set dummy $ac_prog; ac_word=$2
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2533 $as_echo_n "checking for $ac_word... " >&6; }
2534 if ${ac_cv_prog_AWK+:} false; then :
2535 $as_echo_n "(cached) " >&6
2536 else
2537 if test -n "$AWK"; then
2538 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2539 else
2540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2541 for as_dir in $PATH
2542 do
2543 IFS=$as_save_IFS
2544 test -z "$as_dir" && as_dir=.
2545 for ac_exec_ext in '' $ac_executable_extensions; do
2546 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2547 ac_cv_prog_AWK="$ac_prog"
2548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2549 break 2
2550 fi
2551 done
2552 done
2553 IFS=$as_save_IFS
2554
2555 fi
2556 fi
2557 AWK=$ac_cv_prog_AWK
2558 if test -n "$AWK"; then
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2560 $as_echo "$AWK" >&6; }
2561 else
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2563 $as_echo "no" >&6; }
2564 fi
2565
2566
2567 test -n "$AWK" && break
2568 done
2569
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2571 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2572 set x ${MAKE-make}
2573 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2574 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2575 $as_echo_n "(cached) " >&6
2576 else
2577 cat >conftest.make <<\_ACEOF
2578 SHELL = /bin/sh
2579 all:
2580 @echo '@@@%%%=$(MAKE)=@@@%%%'
2581 _ACEOF
2582 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2583 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2584 *@@@%%%=?*=@@@%%%*)
2585 eval ac_cv_prog_make_${ac_make}_set=yes;;
2586 *)
2587 eval ac_cv_prog_make_${ac_make}_set=no;;
2588 esac
2589 rm -f conftest.make
2590 fi
2591 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2593 $as_echo "yes" >&6; }
2594 SET_MAKE=
2595 else
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2597 $as_echo "no" >&6; }
2598 SET_MAKE="MAKE=${MAKE-make}"
2599 fi
2600
2601 rm -rf .tst 2>/dev/null
2602 mkdir .tst 2>/dev/null
2603 if test -d .tst; then
2604 am__leading_dot=.
2605 else
2606 am__leading_dot=_
2607 fi
2608 rmdir .tst 2>/dev/null
2609
2610 # Check whether --enable-silent-rules was given.
2611 if test "${enable_silent_rules+set}" = set; then :
2612 enableval=$enable_silent_rules;
2613 fi
2614
2615 case $enable_silent_rules in # (((
2616 yes) AM_DEFAULT_VERBOSITY=0;;
2617 no) AM_DEFAULT_VERBOSITY=1;;
2618 *) AM_DEFAULT_VERBOSITY=1;;
2619 esac
2620 am_make=${MAKE-make}
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2622 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2623 if ${am_cv_make_support_nested_variables+:} false; then :
2624 $as_echo_n "(cached) " >&6
2625 else
2626 if $as_echo 'TRUE=$(BAR$(V))
2627 BAR0=false
2628 BAR1=true
2629 V=1
2630 am__doit:
2631 @$(TRUE)
2632 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2633 am_cv_make_support_nested_variables=yes
2634 else
2635 am_cv_make_support_nested_variables=no
2636 fi
2637 fi
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2639 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2640 if test $am_cv_make_support_nested_variables = yes; then
2641 AM_V='$(V)'
2642 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2643 else
2644 AM_V=$AM_DEFAULT_VERBOSITY
2645 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2646 fi
2647 AM_BACKSLASH='\'
2648
2649 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2650 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2651 # is not polluted with repeated "-I."
2652 am__isrc=' -I$(srcdir)'
2653 # test to see if srcdir already configured
2654 if test -f $srcdir/config.status; then
2655 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2656 fi
2657 fi
2658
2659 # test whether we have cygpath
2660 if test -z "$CYGPATH_W"; then
2661 if (cygpath --version) >/dev/null 2>/dev/null; then
2662 CYGPATH_W='cygpath -w'
2663 else
2664 CYGPATH_W=echo
2665 fi
2666 fi
2667
2668
2669 # Define the identity of the package.
2670 PACKAGE='rdfind'
2671 VERSION='1.6.0'
2672
2673
2674 cat >>confdefs.h <<_ACEOF
2675 #define PACKAGE "$PACKAGE"
2676 _ACEOF
2677
2678
2679 cat >>confdefs.h <<_ACEOF
2680 #define VERSION "$VERSION"
2681 _ACEOF
2682
2683 # Some tools Automake needs.
2684
2685 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2686
2687
2688 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2689
2690
2691 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2692
2693
2694 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2695
2696
2697 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2698
2699 # For better backward compatibility. To be removed once Automake 1.9.x
2700 # dies out for good. For more background, see:
2701 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2702 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2703 mkdir_p='$(MKDIR_P)'
2704
2705 # We need awk for the "check" target (and possibly the TAP driver). The
2706 # system "awk" is bad on some platforms.
2707 # Always define AMTAR for backward compatibility. Yes, it's still used
2708 # in the wild :-( We should find a proper way to deprecate it ...
2709 AMTAR='$${TAR-tar}'
2710
2711
2712 # We'll loop over all known methods to create a tar archive until one works.
2713 _am_tools='gnutar pax cpio none'
2714
2715 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2716
2717
2718
2719
2720
2721
2722 # POSIX will say in a future version that running "rm -f" with no argument
2723 # is OK; and we want to be able to make that assumption in our Makefile
2724 # recipes. So use an aggressive probe to check that the usage we want is
2725 # actually supported "in the wild" to an acceptable degree.
2726 # See automake bug#10828.
2727 # To make any issue more visible, cause the running configure to be aborted
2728 # by default if the 'rm' program in use doesn't match our expectations; the
2729 # user can still override this though.
2730 if rm -f && rm -fr && rm -rf; then : OK; else
2731 cat >&2 <<'END'
2732 Oops!
2733
2734 Your 'rm' program seems unable to run without file operands specified
2735 on the command line, even when the '-f' option is present. This is contrary
2736 to the behaviour of most rm programs out there, and not conforming with
2737 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2738
2739 Please tell [email protected] about your system, including the value
2740 of your $PATH and any error possibly output before this message. This
2741 can help us improve future automake versions.
2742
2743 END
2744 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2745 echo 'Configuration will proceed anyway, since you have set the' >&2
2746 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2747 echo >&2
2748 else
2749 cat >&2 <<'END'
2750 Aborting the configuration process, to ensure you take notice of the issue.
2751
2752 You can download and install GNU coreutils to get an 'rm' implementation
2753 that behaves properly: <https://www.gnu.org/software/coreutils/>.
2754
2755 If you want to complete the configuration process using your problematic
2756 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2757 to "yes", and re-run configure.
2758
2759 END
2760 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2761 fi
2762 fi
2763
2764
2765
2766 ac_ext=cpp
2767 ac_cpp='$CXXCPP $CPPFLAGS'
2768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2771 if test -z "$CXX"; then
2772 if test -n "$CCC"; then
2773 CXX=$CCC
2774 else
2775 if test -n "$ac_tool_prefix"; then
2776 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2777 do
2778 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2779 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2781 $as_echo_n "checking for $ac_word... " >&6; }
2782 if ${ac_cv_prog_CXX+:} false; then :
2783 $as_echo_n "(cached) " >&6
2784 else
2785 if test -n "$CXX"; then
2786 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2787 else
2788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2789 for as_dir in $PATH
2790 do
2791 IFS=$as_save_IFS
2792 test -z "$as_dir" && as_dir=.
2793 for ac_exec_ext in '' $ac_executable_extensions; do
2794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2795 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2797 break 2
2798 fi
2799 done
2800 done
2801 IFS=$as_save_IFS
2802
2803 fi
2804 fi
2805 CXX=$ac_cv_prog_CXX
2806 if test -n "$CXX"; then
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2808 $as_echo "$CXX" >&6; }
2809 else
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2811 $as_echo "no" >&6; }
2812 fi
2813
2814
2815 test -n "$CXX" && break
2816 done
2817 fi
2818 if test -z "$CXX"; then
2819 ac_ct_CXX=$CXX
2820 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2821 do
2822 # Extract the first word of "$ac_prog", so it can be a program name with args.
2823 set dummy $ac_prog; ac_word=$2
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2825 $as_echo_n "checking for $ac_word... " >&6; }
2826 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2827 $as_echo_n "(cached) " >&6
2828 else
2829 if test -n "$ac_ct_CXX"; then
2830 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2831 else
2832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2833 for as_dir in $PATH
2834 do
2835 IFS=$as_save_IFS
2836 test -z "$as_dir" && as_dir=.
2837 for ac_exec_ext in '' $ac_executable_extensions; do
2838 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2839 ac_cv_prog_ac_ct_CXX="$ac_prog"
2840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2841 break 2
2842 fi
2843 done
2844 done
2845 IFS=$as_save_IFS
2846
2847 fi
2848 fi
2849 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2850 if test -n "$ac_ct_CXX"; then
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2852 $as_echo "$ac_ct_CXX" >&6; }
2853 else
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2855 $as_echo "no" >&6; }
2856 fi
2857
2858
2859 test -n "$ac_ct_CXX" && break
2860 done
2861
2862 if test "x$ac_ct_CXX" = x; then
2863 CXX="g++"
2864 else
2865 case $cross_compiling:$ac_tool_warned in
2866 yes:)
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2869 ac_tool_warned=yes ;;
2870 esac
2871 CXX=$ac_ct_CXX
2872 fi
2873 fi
2874
2875 fi
2876 fi
2877 # Provide some information about the compiler.
2878 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2879 set X $ac_compile
2880 ac_compiler=$2
2881 for ac_option in --version -v -V -qversion; do
2882 { { ac_try="$ac_compiler $ac_option >&5"
2883 case "(($ac_try" in
2884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2885 *) ac_try_echo=$ac_try;;
2886 esac
2887 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2888 $as_echo "$ac_try_echo"; } >&5
2889 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2890 ac_status=$?
2891 if test -s conftest.err; then
2892 sed '10a\
2893 ... rest of stderr output deleted ...
2894 10q' conftest.err >conftest.er1
2895 cat conftest.er1 >&5
2896 fi
2897 rm -f conftest.er1 conftest.err
2898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2899 test $ac_status = 0; }
2900 done
2901
2902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2903 /* end confdefs.h. */
2904
2905 int
2906 main ()
2907 {
2908
2909 ;
2910 return 0;
2911 }
2912 _ACEOF
2913 ac_clean_files_save=$ac_clean_files
2914 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2915 # Try to create an executable without -o first, disregard a.out.
2916 # It will help us diagnose broken compilers, and finding out an intuition
2917 # of exeext.
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2919 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2920 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2921
2922 # The possible output files:
2923 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2924
2925 ac_rmfiles=
2926 for ac_file in $ac_files
2927 do
2928 case $ac_file in
2929 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2930 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2931 esac
2932 done
2933 rm -f $ac_rmfiles
2934
2935 if { { ac_try="$ac_link_default"
2936 case "(($ac_try" in
2937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2938 *) ac_try_echo=$ac_try;;
2939 esac
2940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2941 $as_echo "$ac_try_echo"; } >&5
2942 (eval "$ac_link_default") 2>&5
2943 ac_status=$?
2944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2945 test $ac_status = 0; }; then :
2946 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2947 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2948 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2949 # so that the user can short-circuit this test for compilers unknown to
2950 # Autoconf.
2951 for ac_file in $ac_files ''
2952 do
2953 test -f "$ac_file" || continue
2954 case $ac_file in
2955 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2956 ;;
2957 [ab].out )
2958 # We found the default executable, but exeext='' is most
2959 # certainly right.
2960 break;;
2961 *.* )
2962 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2963 then :; else
2964 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2965 fi
2966 # We set ac_cv_exeext here because the later test for it is not
2967 # safe: cross compilers may not add the suffix if given an `-o'
2968 # argument, so we may need to know it at that point already.
2969 # Even if this section looks crufty: it has the advantage of
2970 # actually working.
2971 break;;
2972 * )
2973 break;;
2974 esac
2975 done
2976 test "$ac_cv_exeext" = no && ac_cv_exeext=
2977
2978 else
2979 ac_file=''
2980 fi
2981 if test -z "$ac_file"; then :
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2983 $as_echo "no" >&6; }
2984 $as_echo "$as_me: failed program was:" >&5
2985 sed 's/^/| /' conftest.$ac_ext >&5
2986
2987 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2988 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2989 as_fn_error 77 "C++ compiler cannot create executables
2990 See \`config.log' for more details" "$LINENO" 5; }
2991 else
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2993 $as_echo "yes" >&6; }
2994 fi
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2996 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2998 $as_echo "$ac_file" >&6; }
2999 ac_exeext=$ac_cv_exeext
3000
3001 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3002 ac_clean_files=$ac_clean_files_save
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3004 $as_echo_n "checking for suffix of executables... " >&6; }
3005 if { { ac_try="$ac_link"
3006 case "(($ac_try" in
3007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3008 *) ac_try_echo=$ac_try;;
3009 esac
3010 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3011 $as_echo "$ac_try_echo"; } >&5
3012 (eval "$ac_link") 2>&5
3013 ac_status=$?
3014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3015 test $ac_status = 0; }; then :
3016 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3017 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3018 # work properly (i.e., refer to `conftest.exe'), while it won't with
3019 # `rm'.
3020 for ac_file in conftest.exe conftest conftest.*; do
3021 test -f "$ac_file" || continue
3022 case $ac_file in
3023 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3024 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3025 break;;
3026 * ) break;;
3027 esac
3028 done
3029 else
3030 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3031 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3032 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3033 See \`config.log' for more details" "$LINENO" 5; }
3034 fi
3035 rm -f conftest conftest$ac_cv_exeext
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3037 $as_echo "$ac_cv_exeext" >&6; }
3038
3039 rm -f conftest.$ac_ext
3040 EXEEXT=$ac_cv_exeext
3041 ac_exeext=$EXEEXT
3042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3043 /* end confdefs.h. */
3044 #include <stdio.h>
3045 int
3046 main ()
3047 {
3048 FILE *f = fopen ("conftest.out", "w");
3049 return ferror (f) || fclose (f) != 0;
3050
3051 ;
3052 return 0;
3053 }
3054 _ACEOF
3055 ac_clean_files="$ac_clean_files conftest.out"
3056 # Check that the compiler produces executables we can run. If not, either
3057 # the compiler is broken, or we cross compile.
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3059 $as_echo_n "checking whether we are cross compiling... " >&6; }
3060 if test "$cross_compiling" != yes; then
3061 { { ac_try="$ac_link"
3062 case "(($ac_try" in
3063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3064 *) ac_try_echo=$ac_try;;
3065 esac
3066 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3067 $as_echo "$ac_try_echo"; } >&5
3068 (eval "$ac_link") 2>&5
3069 ac_status=$?
3070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3071 test $ac_status = 0; }
3072 if { ac_try='./conftest$ac_cv_exeext'
3073 { { case "(($ac_try" in
3074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3075 *) ac_try_echo=$ac_try;;
3076 esac
3077 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3078 $as_echo "$ac_try_echo"; } >&5
3079 (eval "$ac_try") 2>&5
3080 ac_status=$?
3081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3082 test $ac_status = 0; }; }; then
3083 cross_compiling=no
3084 else
3085 if test "$cross_compiling" = maybe; then
3086 cross_compiling=yes
3087 else
3088 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3089 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3090 as_fn_error $? "cannot run C++ compiled programs.
3091 If you meant to cross compile, use \`--host'.
3092 See \`config.log' for more details" "$LINENO" 5; }
3093 fi
3094 fi
3095 fi
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3097 $as_echo "$cross_compiling" >&6; }
3098
3099 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3100 ac_clean_files=$ac_clean_files_save
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3102 $as_echo_n "checking for suffix of object files... " >&6; }
3103 if ${ac_cv_objext+:} false; then :
3104 $as_echo_n "(cached) " >&6
3105 else
3106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3107 /* end confdefs.h. */
3108
3109 int
3110 main ()
3111 {
3112
3113 ;
3114 return 0;
3115 }
3116 _ACEOF
3117 rm -f conftest.o conftest.obj
3118 if { { ac_try="$ac_compile"
3119 case "(($ac_try" in
3120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3121 *) ac_try_echo=$ac_try;;
3122 esac
3123 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3124 $as_echo "$ac_try_echo"; } >&5
3125 (eval "$ac_compile") 2>&5
3126 ac_status=$?
3127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3128 test $ac_status = 0; }; then :
3129 for ac_file in conftest.o conftest.obj conftest.*; do
3130 test -f "$ac_file" || continue;
3131 case $ac_file in
3132 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3133 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3134 break;;
3135 esac
3136 done
3137 else
3138 $as_echo "$as_me: failed program was:" >&5
3139 sed 's/^/| /' conftest.$ac_ext >&5
3140
3141 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3142 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3143 as_fn_error $? "cannot compute suffix of object files: cannot compile
3144 See \`config.log' for more details" "$LINENO" 5; }
3145 fi
3146 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3147 fi
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3149 $as_echo "$ac_cv_objext" >&6; }
3150 OBJEXT=$ac_cv_objext
3151 ac_objext=$OBJEXT
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3153 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3154 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3155 $as_echo_n "(cached) " >&6
3156 else
3157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3158 /* end confdefs.h. */
3159
3160 int
3161 main ()
3162 {
3163 #ifndef __GNUC__
3164 choke me
3165 #endif
3166
3167 ;
3168 return 0;
3169 }
3170 _ACEOF
3171 if ac_fn_cxx_try_compile "$LINENO"; then :
3172 ac_compiler_gnu=yes
3173 else
3174 ac_compiler_gnu=no
3175 fi
3176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3177 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3178
3179 fi
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3181 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3182 if test $ac_compiler_gnu = yes; then
3183 GXX=yes
3184 else
3185 GXX=
3186 fi
3187 ac_test_CXXFLAGS=${CXXFLAGS+set}
3188 ac_save_CXXFLAGS=$CXXFLAGS
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3190 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3191 if ${ac_cv_prog_cxx_g+:} false; then :
3192 $as_echo_n "(cached) " >&6
3193 else
3194 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3195 ac_cxx_werror_flag=yes
3196 ac_cv_prog_cxx_g=no
3197 CXXFLAGS="-g"
3198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3199 /* end confdefs.h. */
3200
3201 int
3202 main ()
3203 {
3204
3205 ;
3206 return 0;
3207 }
3208 _ACEOF
3209 if ac_fn_cxx_try_compile "$LINENO"; then :
3210 ac_cv_prog_cxx_g=yes
3211 else
3212 CXXFLAGS=""
3213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3214 /* end confdefs.h. */
3215
3216 int
3217 main ()
3218 {
3219
3220 ;
3221 return 0;
3222 }
3223 _ACEOF
3224 if ac_fn_cxx_try_compile "$LINENO"; then :
3225
3226 else
3227 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3228 CXXFLAGS="-g"
3229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3230 /* end confdefs.h. */
3231
3232 int
3233 main ()
3234 {
3235
3236 ;
3237 return 0;
3238 }
3239 _ACEOF
3240 if ac_fn_cxx_try_compile "$LINENO"; then :
3241 ac_cv_prog_cxx_g=yes
3242 fi
3243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3244 fi
3245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3246 fi
3247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3248 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3249 fi
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3251 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3252 if test "$ac_test_CXXFLAGS" = set; then
3253 CXXFLAGS=$ac_save_CXXFLAGS
3254 elif test $ac_cv_prog_cxx_g = yes; then
3255 if test "$GXX" = yes; then
3256 CXXFLAGS="-g -O2"
3257 else
3258 CXXFLAGS="-g"
3259 fi
3260 else
3261 if test "$GXX" = yes; then
3262 CXXFLAGS="-O2"
3263 else
3264 CXXFLAGS=
3265 fi
3266 fi
3267 ac_ext=c
3268 ac_cpp='$CPP $CPPFLAGS'
3269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3272 DEPDIR="${am__leading_dot}deps"
3273
3274 ac_config_commands="$ac_config_commands depfiles"
3275
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3277 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3278 cat > confinc.mk << 'END'
3279 am__doit:
3280 @echo this is the am__doit target >confinc.out
3281 .PHONY: am__doit
3282 END
3283 am__include="#"
3284 am__quote=
3285 # BSD make does it like this.
3286 echo '.include "confinc.mk" # ignored' > confmf.BSD
3287 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3288 echo 'include confinc.mk # ignored' > confmf.GNU
3289 _am_result=no
3290 for s in GNU BSD; do
3291 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3292 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3293 ac_status=$?
3294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3295 (exit $ac_status); }
3296 case $?:`cat confinc.out 2>/dev/null` in #(
3297 '0:this is the am__doit target') :
3298 case $s in #(
3299 BSD) :
3300 am__include='.include' am__quote='"' ;; #(
3301 *) :
3302 am__include='include' am__quote='' ;;
3303 esac ;; #(
3304 *) :
3305 ;;
3306 esac
3307 if test "$am__include" != "#"; then
3308 _am_result="yes ($s style)"
3309 break
3310 fi
3311 done
3312 rm -f confinc.* confmf.*
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3314 $as_echo "${_am_result}" >&6; }
3315
3316 # Check whether --enable-dependency-tracking was given.
3317 if test "${enable_dependency_tracking+set}" = set; then :
3318 enableval=$enable_dependency_tracking;
3319 fi
3320
3321 if test "x$enable_dependency_tracking" != xno; then
3322 am_depcomp="$ac_aux_dir/depcomp"
3323 AMDEPBACKSLASH='\'
3324 am__nodep='_no'
3325 fi
3326 if test "x$enable_dependency_tracking" != xno; then
3327 AMDEP_TRUE=
3328 AMDEP_FALSE='#'
3329 else
3330 AMDEP_TRUE='#'
3331 AMDEP_FALSE=
3332 fi
3333
3334
3335
3336 depcc="$CXX" am_compiler_list=
3337
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3339 $as_echo_n "checking dependency style of $depcc... " >&6; }
3340 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3341 $as_echo_n "(cached) " >&6
3342 else
3343 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3344 # We make a subdir and do the tests there. Otherwise we can end up
3345 # making bogus files that we don't know about and never remove. For
3346 # instance it was reported that on HP-UX the gcc test will end up
3347 # making a dummy file named 'D' -- because '-MD' means "put the output
3348 # in D".
3349 rm -rf conftest.dir
3350 mkdir conftest.dir
3351 # Copy depcomp to subdir because otherwise we won't find it if we're
3352 # using a relative directory.
3353 cp "$am_depcomp" conftest.dir
3354 cd conftest.dir
3355 # We will build objects and dependencies in a subdirectory because
3356 # it helps to detect inapplicable dependency modes. For instance
3357 # both Tru64's cc and ICC support -MD to output dependencies as a
3358 # side effect of compilation, but ICC will put the dependencies in
3359 # the current directory while Tru64 will put them in the object
3360 # directory.
3361 mkdir sub
3362
3363 am_cv_CXX_dependencies_compiler_type=none
3364 if test "$am_compiler_list" = ""; then
3365 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3366 fi
3367 am__universal=false
3368 case " $depcc " in #(
3369 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3370 esac
3371
3372 for depmode in $am_compiler_list; do
3373 # Setup a source with many dependencies, because some compilers
3374 # like to wrap large dependency lists on column 80 (with \), and
3375 # we should not choose a depcomp mode which is confused by this.
3376 #
3377 # We need to recreate these files for each test, as the compiler may
3378 # overwrite some of them when testing with obscure command lines.
3379 # This happens at least with the AIX C compiler.
3380 : > sub/conftest.c
3381 for i in 1 2 3 4 5 6; do
3382 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3383 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3384 # Solaris 10 /bin/sh.
3385 echo '/* dummy */' > sub/conftst$i.h
3386 done
3387 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3388
3389 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3390 # mode. It turns out that the SunPro C++ compiler does not properly
3391 # handle '-M -o', and we need to detect this. Also, some Intel
3392 # versions had trouble with output in subdirs.
3393 am__obj=sub/conftest.${OBJEXT-o}
3394 am__minus_obj="-o $am__obj"
3395 case $depmode in
3396 gcc)
3397 # This depmode causes a compiler race in universal mode.
3398 test "$am__universal" = false || continue
3399 ;;
3400 nosideeffect)
3401 # After this tag, mechanisms are not by side-effect, so they'll
3402 # only be used when explicitly requested.
3403 if test "x$enable_dependency_tracking" = xyes; then
3404 continue
3405 else
3406 break
3407 fi
3408 ;;
3409 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3410 # This compiler won't grok '-c -o', but also, the minuso test has
3411 # not run yet. These depmodes are late enough in the game, and
3412 # so weak that their functioning should not be impacted.
3413 am__obj=conftest.${OBJEXT-o}
3414 am__minus_obj=
3415 ;;
3416 none) break ;;
3417 esac
3418 if depmode=$depmode \
3419 source=sub/conftest.c object=$am__obj \
3420 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3421 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3422 >/dev/null 2>conftest.err &&
3423 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3424 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3425 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3426 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3427 # icc doesn't choke on unknown options, it will just issue warnings
3428 # or remarks (even with -Werror). So we grep stderr for any message
3429 # that says an option was ignored or not supported.
3430 # When given -MP, icc 7.0 and 7.1 complain thusly:
3431 # icc: Command line warning: ignoring option '-M'; no argument required
3432 # The diagnosis changed in icc 8.0:
3433 # icc: Command line remark: option '-MP' not supported
3434 if (grep 'ignoring option' conftest.err ||
3435 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3436 am_cv_CXX_dependencies_compiler_type=$depmode
3437 break
3438 fi
3439 fi
3440 done
3441
3442 cd ..
3443 rm -rf conftest.dir
3444 else
3445 am_cv_CXX_dependencies_compiler_type=none
3446 fi
3447
3448 fi
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3450 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3451 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3452
3453 if
3454 test "x$enable_dependency_tracking" != xno \
3455 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3456 am__fastdepCXX_TRUE=
3457 am__fastdepCXX_FALSE='#'
3458 else
3459 am__fastdepCXX_TRUE='#'
3460 am__fastdepCXX_FALSE=
3461 fi
3462
3463
3464 ac_ext=cpp
3465 ac_cpp='$CXXCPP $CPPFLAGS'
3466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3469
3470
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3472 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3473 set x ${MAKE-make}
3474 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3475 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3476 $as_echo_n "(cached) " >&6
3477 else
3478 cat >conftest.make <<\_ACEOF
3479 SHELL = /bin/sh
3480 all:
3481 @echo '@@@%%%=$(MAKE)=@@@%%%'
3482 _ACEOF
3483 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3484 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3485 *@@@%%%=?*=@@@%%%*)
3486 eval ac_cv_prog_make_${ac_make}_set=yes;;
3487 *)
3488 eval ac_cv_prog_make_${ac_make}_set=no;;
3489 esac
3490 rm -f conftest.make
3491 fi
3492 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3494 $as_echo "yes" >&6; }
3495 SET_MAKE=
3496 else
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3498 $as_echo "no" >&6; }
3499 SET_MAKE="MAKE=${MAKE-make}"
3500 fi
3501
3502
3503 showdebugmessages=no
3504 # Check whether --enable-debug was given.
3505 if test "${enable_debug+set}" = set; then :
3506 enableval=$enable_debug; showdebugmessages="$enableval"
3507
3508 fi
3509
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $showdebugmessages" >&5
3511 $as_echo "$showdebugmessages" >&6; }
3512 if test x"$showdebugmessages" = x"yes"; then
3513
3514 $as_echo "#define RDFIND_DEBUG 1" >>confdefs.h
3515
3516 fi
3517
3518
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable assertions" >&5
3520 $as_echo_n "checking whether to enable assertions... " >&6; }
3521 # Check whether --enable-assert was given.
3522 if test "${enable_assert+set}" = set; then :
3523 enableval=$enable_assert; ac_enable_assert=$enableval
3524 if test "x$enableval" = xno; then :
3525
3526 $as_echo "#define NDEBUG 1" >>confdefs.h
3527
3528 elif test "x$enableval" != xyes; then :
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: invalid argument supplied to --enable-assert" >&5
3530 $as_echo "$as_me: WARNING: invalid argument supplied to --enable-assert" >&2;}
3531 ac_enable_assert=yes
3532 fi
3533 else
3534 ac_enable_assert=yes
3535 fi
3536
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_enable_assert" >&5
3538 $as_echo "$ac_enable_assert" >&6; }
3539
3540
3541
3542 ac_ext=cpp
3543 ac_cpp='$CXXCPP $CPPFLAGS'
3544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
3548 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
3549 if test -z "$CXXCPP"; then
3550 if ${ac_cv_prog_CXXCPP+:} false; then :
3551 $as_echo_n "(cached) " >&6
3552 else
3553 # Double quotes because CXXCPP needs to be expanded
3554 for CXXCPP in "$CXX -E" "/lib/cpp"
3555 do
3556 ac_preproc_ok=false
3557 for ac_cxx_preproc_warn_flag in '' yes
3558 do
3559 # Use a header file that comes with gcc, so configuring glibc
3560 # with a fresh cross-compiler works.
3561 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3562 # <limits.h> exists even on freestanding compilers.
3563 # On the NeXT, cc -E runs the code through the compiler's parser,
3564 # not just through cpp. "Syntax error" is here to catch this case.
3565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3566 /* end confdefs.h. */
3567 #ifdef __STDC__
3568 # include <limits.h>
3569 #else
3570 # include <assert.h>
3571 #endif
3572 Syntax error
3573 _ACEOF
3574 if ac_fn_cxx_try_cpp "$LINENO"; then :
3575
3576 else
3577 # Broken: fails on valid input.
3578 continue
3579 fi
3580 rm -f conftest.err conftest.i conftest.$ac_ext
3581
3582 # OK, works on sane cases. Now check whether nonexistent headers
3583 # can be detected and how.
3584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3585 /* end confdefs.h. */
3586 #include <ac_nonexistent.h>
3587 _ACEOF
3588 if ac_fn_cxx_try_cpp "$LINENO"; then :
3589 # Broken: success on invalid input.
3590 continue
3591 else
3592 # Passes both tests.
3593 ac_preproc_ok=:
3594 break
3595 fi
3596 rm -f conftest.err conftest.i conftest.$ac_ext
3597
3598 done
3599 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3600 rm -f conftest.i conftest.err conftest.$ac_ext
3601 if $ac_preproc_ok; then :
3602 break
3603 fi
3604
3605 done
3606 ac_cv_prog_CXXCPP=$CXXCPP
3607
3608 fi
3609 CXXCPP=$ac_cv_prog_CXXCPP
3610 else
3611 ac_cv_prog_CXXCPP=$CXXCPP
3612 fi
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
3614 $as_echo "$CXXCPP" >&6; }
3615 ac_preproc_ok=false
3616 for ac_cxx_preproc_warn_flag in '' yes
3617 do
3618 # Use a header file that comes with gcc, so configuring glibc
3619 # with a fresh cross-compiler works.
3620 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3621 # <limits.h> exists even on freestanding compilers.
3622 # On the NeXT, cc -E runs the code through the compiler's parser,
3623 # not just through cpp. "Syntax error" is here to catch this case.
3624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3625 /* end confdefs.h. */
3626 #ifdef __STDC__
3627 # include <limits.h>
3628 #else
3629 # include <assert.h>
3630 #endif
3631 Syntax error
3632 _ACEOF
3633 if ac_fn_cxx_try_cpp "$LINENO"; then :
3634
3635 else
3636 # Broken: fails on valid input.
3637 continue
3638 fi
3639 rm -f conftest.err conftest.i conftest.$ac_ext
3640
3641 # OK, works on sane cases. Now check whether nonexistent headers
3642 # can be detected and how.
3643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3644 /* end confdefs.h. */
3645 #include <ac_nonexistent.h>
3646 _ACEOF
3647 if ac_fn_cxx_try_cpp "$LINENO"; then :
3648 # Broken: success on invalid input.
3649 continue
3650 else
3651 # Passes both tests.
3652 ac_preproc_ok=:
3653 break
3654 fi
3655 rm -f conftest.err conftest.i conftest.$ac_ext
3656
3657 done
3658 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3659 rm -f conftest.i conftest.err conftest.$ac_ext
3660 if $ac_preproc_ok; then :
3661
3662 else
3663 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3665 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
3666 See \`config.log' for more details" "$LINENO" 5; }
3667 fi
3668
3669 ac_ext=cpp
3670 ac_cpp='$CXXCPP $CPPFLAGS'
3671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3674
3675
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3677 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3678 if ${ac_cv_path_GREP+:} false; then :
3679 $as_echo_n "(cached) " >&6
3680 else
3681 if test -z "$GREP"; then
3682 ac_path_GREP_found=false
3683 # Loop through the user's path and test for each of PROGNAME-LIST
3684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3685 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3686 do
3687 IFS=$as_save_IFS
3688 test -z "$as_dir" && as_dir=.
3689 for ac_prog in grep ggrep; do
3690 for ac_exec_ext in '' $ac_executable_extensions; do
3691 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3692 as_fn_executable_p "$ac_path_GREP" || continue
3693 # Check for GNU ac_path_GREP and select it if it is found.
3694 # Check for GNU $ac_path_GREP
3695 case `"$ac_path_GREP" --version 2>&1` in
3696 *GNU*)
3697 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3698 *)
3699 ac_count=0
3700 $as_echo_n 0123456789 >"conftest.in"
3701 while :
3702 do
3703 cat "conftest.in" "conftest.in" >"conftest.tmp"
3704 mv "conftest.tmp" "conftest.in"
3705 cp "conftest.in" "conftest.nl"
3706 $as_echo 'GREP' >> "conftest.nl"
3707 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3708 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3709 as_fn_arith $ac_count + 1 && ac_count=$as_val
3710 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3711 # Best one so far, save it but keep looking for a better one
3712 ac_cv_path_GREP="$ac_path_GREP"
3713 ac_path_GREP_max=$ac_count
3714 fi
3715 # 10*(2^10) chars as input seems more than enough
3716 test $ac_count -gt 10 && break
3717 done
3718 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3719 esac
3720
3721 $ac_path_GREP_found && break 3
3722 done
3723 done
3724 done
3725 IFS=$as_save_IFS
3726 if test -z "$ac_cv_path_GREP"; then
3727 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3728 fi
3729 else
3730 ac_cv_path_GREP=$GREP
3731 fi
3732
3733 fi
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3735 $as_echo "$ac_cv_path_GREP" >&6; }
3736 GREP="$ac_cv_path_GREP"
3737
3738
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3740 $as_echo_n "checking for egrep... " >&6; }
3741 if ${ac_cv_path_EGREP+:} false; then :
3742 $as_echo_n "(cached) " >&6
3743 else
3744 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3745 then ac_cv_path_EGREP="$GREP -E"
3746 else
3747 if test -z "$EGREP"; then
3748 ac_path_EGREP_found=false
3749 # Loop through the user's path and test for each of PROGNAME-LIST
3750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3751 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3752 do
3753 IFS=$as_save_IFS
3754 test -z "$as_dir" && as_dir=.
3755 for ac_prog in egrep; do
3756 for ac_exec_ext in '' $ac_executable_extensions; do
3757 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3758 as_fn_executable_p "$ac_path_EGREP" || continue
3759 # Check for GNU ac_path_EGREP and select it if it is found.
3760 # Check for GNU $ac_path_EGREP
3761 case `"$ac_path_EGREP" --version 2>&1` in
3762 *GNU*)
3763 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3764 *)
3765 ac_count=0
3766 $as_echo_n 0123456789 >"conftest.in"
3767 while :
3768 do
3769 cat "conftest.in" "conftest.in" >"conftest.tmp"
3770 mv "conftest.tmp" "conftest.in"
3771 cp "conftest.in" "conftest.nl"
3772 $as_echo 'EGREP' >> "conftest.nl"
3773 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3774 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3775 as_fn_arith $ac_count + 1 && ac_count=$as_val
3776 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3777 # Best one so far, save it but keep looking for a better one
3778 ac_cv_path_EGREP="$ac_path_EGREP"
3779 ac_path_EGREP_max=$ac_count
3780 fi
3781 # 10*(2^10) chars as input seems more than enough
3782 test $ac_count -gt 10 && break
3783 done
3784 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3785 esac
3786
3787 $ac_path_EGREP_found && break 3
3788 done
3789 done
3790 done
3791 IFS=$as_save_IFS
3792 if test -z "$ac_cv_path_EGREP"; then
3793 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3794 fi
3795 else
3796 ac_cv_path_EGREP=$EGREP
3797 fi
3798
3799 fi
3800 fi
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3802 $as_echo "$ac_cv_path_EGREP" >&6; }
3803 EGREP="$ac_cv_path_EGREP"
3804
3805
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3807 $as_echo_n "checking for ANSI C header files... " >&6; }
3808 if ${ac_cv_header_stdc+:} false; then :
3809 $as_echo_n "(cached) " >&6
3810 else
3811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3812 /* end confdefs.h. */
3813 #include <stdlib.h>
3814 #include <stdarg.h>
3815 #include <string.h>
3816 #include <float.h>
3817
3818 int
3819 main ()
3820 {
3821
3822 ;
3823 return 0;
3824 }
3825 _ACEOF
3826 if ac_fn_cxx_try_compile "$LINENO"; then :
3827 ac_cv_header_stdc=yes
3828 else
3829 ac_cv_header_stdc=no
3830 fi
3831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3832
3833 if test $ac_cv_header_stdc = yes; then
3834 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3836 /* end confdefs.h. */
3837 #include <string.h>
3838
3839 _ACEOF
3840 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3841 $EGREP "memchr" >/dev/null 2>&1; then :
3842
3843 else
3844 ac_cv_header_stdc=no
3845 fi
3846 rm -f conftest*
3847
3848 fi
3849
3850 if test $ac_cv_header_stdc = yes; then
3851 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3853 /* end confdefs.h. */
3854 #include <stdlib.h>
3855
3856 _ACEOF
3857 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3858 $EGREP "free" >/dev/null 2>&1; then :
3859
3860 else
3861 ac_cv_header_stdc=no
3862 fi
3863 rm -f conftest*
3864
3865 fi
3866
3867 if test $ac_cv_header_stdc = yes; then
3868 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3869 if test "$cross_compiling" = yes; then :
3870 :
3871 else
3872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3873 /* end confdefs.h. */
3874 #include <ctype.h>
3875 #include <stdlib.h>
3876 #if ((' ' & 0x0FF) == 0x020)
3877 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3878 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3879 #else
3880 # define ISLOWER(c) \
3881 (('a' <= (c) && (c) <= 'i') \
3882 || ('j' <= (c) && (c) <= 'r') \
3883 || ('s' <= (c) && (c) <= 'z'))
3884 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3885 #endif
3886
3887 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3888 int
3889 main ()
3890 {
3891 int i;
3892 for (i = 0; i < 256; i++)
3893 if (XOR (islower (i), ISLOWER (i))
3894 || toupper (i) != TOUPPER (i))
3895 return 2;
3896 return 0;
3897 }
3898 _ACEOF
3899 if ac_fn_cxx_try_run "$LINENO"; then :
3900
3901 else
3902 ac_cv_header_stdc=no
3903 fi
3904 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3905 conftest.$ac_objext conftest.beam conftest.$ac_ext
3906 fi
3907
3908 fi
3909 fi
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3911 $as_echo "$ac_cv_header_stdc" >&6; }
3912 if test $ac_cv_header_stdc = yes; then
3913
3914 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3915
3916 fi
3917
3918 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3919 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3920 inttypes.h stdint.h unistd.h
3921 do :
3922 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3923 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3924 "
3925 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3926 cat >>confdefs.h <<_ACEOF
3927 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3928 _ACEOF
3929
3930 fi
3931
3932 done
3933
3934
3935 ac_fn_cxx_check_header_mongrel "$LINENO" "nettle/sha.h" "ac_cv_header_nettle_sha_h" "$ac_includes_default"
3936 if test "x$ac_cv_header_nettle_sha_h" = xyes; then :
3937
3938 else
3939 as_fn_error $? "
3940 nettle header files missing. Please install nettle
3941 first. If you have already done so and get this error message
3942 anyway, it may be installed somewhere else, maybe because you
3943 don't have root access. Pass CPPFLAGS=-I/your/path/to/nettle to configure
3944 and try again. The path should be so that \#include \"nettle/sha.h\" works.
3945 On Debian-ish systems, use \"apt-get install nettle-dev\" to get a system
3946 wide nettle install.
3947 " "$LINENO" 5
3948 fi
3949
3950
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nettle_pbkdf2_hmac_sha256 in -lnettle" >&5
3952 $as_echo_n "checking for nettle_pbkdf2_hmac_sha256 in -lnettle... " >&6; }
3953 if ${ac_cv_lib_nettle_nettle_pbkdf2_hmac_sha256+:} false; then :
3954 $as_echo_n "(cached) " >&6
3955 else
3956 ac_check_lib_save_LIBS=$LIBS
3957 LIBS="-lnettle $LIBS"
3958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3959 /* end confdefs.h. */
3960
3961 /* Override any GCC internal prototype to avoid an error.
3962 Use char because int might match the return type of a GCC
3963 builtin and then its argument prototype would still apply. */
3964 #ifdef __cplusplus
3965 extern "C"
3966 #endif
3967 char nettle_pbkdf2_hmac_sha256 ();
3968 int
3969 main ()
3970 {
3971 return nettle_pbkdf2_hmac_sha256 ();
3972 ;
3973 return 0;
3974 }
3975 _ACEOF
3976 if ac_fn_cxx_try_link "$LINENO"; then :
3977 ac_cv_lib_nettle_nettle_pbkdf2_hmac_sha256=yes
3978 else
3979 ac_cv_lib_nettle_nettle_pbkdf2_hmac_sha256=no
3980 fi
3981 rm -f core conftest.err conftest.$ac_objext \
3982 conftest$ac_exeext conftest.$ac_ext
3983 LIBS=$ac_check_lib_save_LIBS
3984 fi
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nettle_nettle_pbkdf2_hmac_sha256" >&5
3986 $as_echo "$ac_cv_lib_nettle_nettle_pbkdf2_hmac_sha256" >&6; }
3987 if test "x$ac_cv_lib_nettle_nettle_pbkdf2_hmac_sha256" = xyes; then :
3988 cat >>confdefs.h <<_ACEOF
3989 #define HAVE_LIBNETTLE 1
3990 _ACEOF
3991
3992 LIBS="-lnettle $LIBS"
3993
3994 else
3995 as_fn_error $? "
3996 Could not link to libnettle. Please install nettle
3997 first. If you have already done so; please run ldconfig
3998 as root or check whether the path libnettle was installed
3999 to is in your LD_LIBRARY_PATH. If you have nettle
4000 somewhere else, maybe because you don't have root
4001 access, pass LDFLAGS=-L/your/path/to/nettle to configure
4002 and try again.
4003 " "$LINENO" 5
4004 fi
4005
4006
4007 ac_fn_cxx_check_func "$LINENO" "stat" "ac_cv_func_stat"
4008 if test "x$ac_cv_func_stat" = xyes; then :
4009
4010 else
4011 as_fn_error $? "oops! no stat ?!?" "$LINENO" 5
4012 fi
4013
4014
4015 # Check whether --enable-largefile was given.
4016 if test "${enable_largefile+set}" = set; then :
4017 enableval=$enable_largefile;
4018 fi
4019
4020 if test "$enable_largefile" != no; then
4021
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4023 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4024 if ${ac_cv_sys_largefile_CC+:} false; then :
4025 $as_echo_n "(cached) " >&6
4026 else
4027 ac_cv_sys_largefile_CC=no
4028 if test "$GCC" != yes; then
4029 ac_save_CC=$CC
4030 while :; do
4031 # IRIX 6.2 and later do not support large files by default,
4032 # so use the C compiler's -n32 option if that helps.
4033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4034 /* end confdefs.h. */
4035 #include <sys/types.h>
4036 /* Check that off_t can represent 2**63 - 1 correctly.
4037 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4038 since some C++ compilers masquerading as C compilers
4039 incorrectly reject 9223372036854775807. */
4040 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4041 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4042 && LARGE_OFF_T % 2147483647 == 1)
4043 ? 1 : -1];
4044 int
4045 main ()
4046 {
4047
4048 ;
4049 return 0;
4050 }
4051 _ACEOF
4052 if ac_fn_cxx_try_compile "$LINENO"; then :
4053 break
4054 fi
4055 rm -f core conftest.err conftest.$ac_objext
4056 CC="$CC -n32"
4057 if ac_fn_cxx_try_compile "$LINENO"; then :
4058 ac_cv_sys_largefile_CC=' -n32'; break
4059 fi
4060 rm -f core conftest.err conftest.$ac_objext
4061 break
4062 done
4063 CC=$ac_save_CC
4064 rm -f conftest.$ac_ext
4065 fi
4066 fi
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4068 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4069 if test "$ac_cv_sys_largefile_CC" != no; then
4070 CC=$CC$ac_cv_sys_largefile_CC
4071 fi
4072
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4074 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4075 if ${ac_cv_sys_file_offset_bits+:} false; then :
4076 $as_echo_n "(cached) " >&6
4077 else
4078 while :; do
4079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4080 /* end confdefs.h. */
4081 #include <sys/types.h>
4082 /* Check that off_t can represent 2**63 - 1 correctly.
4083 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4084 since some C++ compilers masquerading as C compilers
4085 incorrectly reject 9223372036854775807. */
4086 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4087 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4088 && LARGE_OFF_T % 2147483647 == 1)
4089 ? 1 : -1];
4090 int
4091 main ()
4092 {
4093
4094 ;
4095 return 0;
4096 }
4097 _ACEOF
4098 if ac_fn_cxx_try_compile "$LINENO"; then :
4099 ac_cv_sys_file_offset_bits=no; break
4100 fi
4101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4103 /* end confdefs.h. */
4104 #define _FILE_OFFSET_BITS 64
4105 #include <sys/types.h>
4106 /* Check that off_t can represent 2**63 - 1 correctly.
4107 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4108 since some C++ compilers masquerading as C compilers
4109 incorrectly reject 9223372036854775807. */
4110 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4111 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4112 && LARGE_OFF_T % 2147483647 == 1)
4113 ? 1 : -1];
4114 int
4115 main ()
4116 {
4117
4118 ;
4119 return 0;
4120 }
4121 _ACEOF
4122 if ac_fn_cxx_try_compile "$LINENO"; then :
4123 ac_cv_sys_file_offset_bits=64; break
4124 fi
4125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4126 ac_cv_sys_file_offset_bits=unknown
4127 break
4128 done
4129 fi
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4131 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4132 case $ac_cv_sys_file_offset_bits in #(
4133 no | unknown) ;;
4134 *)
4135 cat >>confdefs.h <<_ACEOF
4136 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4137 _ACEOF
4138 ;;
4139 esac
4140 rm -rf conftest*
4141 if test $ac_cv_sys_file_offset_bits = unknown; then
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4143 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4144 if ${ac_cv_sys_large_files+:} false; then :
4145 $as_echo_n "(cached) " >&6
4146 else
4147 while :; do
4148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4149 /* end confdefs.h. */
4150 #include <sys/types.h>
4151 /* Check that off_t can represent 2**63 - 1 correctly.
4152 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4153 since some C++ compilers masquerading as C compilers
4154 incorrectly reject 9223372036854775807. */
4155 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4156 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4157 && LARGE_OFF_T % 2147483647 == 1)
4158 ? 1 : -1];
4159 int
4160 main ()
4161 {
4162
4163 ;
4164 return 0;
4165 }
4166 _ACEOF
4167 if ac_fn_cxx_try_compile "$LINENO"; then :
4168 ac_cv_sys_large_files=no; break
4169 fi
4170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4172 /* end confdefs.h. */
4173 #define _LARGE_FILES 1
4174 #include <sys/types.h>
4175 /* Check that off_t can represent 2**63 - 1 correctly.
4176 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4177 since some C++ compilers masquerading as C compilers
4178 incorrectly reject 9223372036854775807. */
4179 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4180 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4181 && LARGE_OFF_T % 2147483647 == 1)
4182 ? 1 : -1];
4183 int
4184 main ()
4185 {
4186
4187 ;
4188 return 0;
4189 }
4190 _ACEOF
4191 if ac_fn_cxx_try_compile "$LINENO"; then :
4192 ac_cv_sys_large_files=1; break
4193 fi
4194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4195 ac_cv_sys_large_files=unknown
4196 break
4197 done
4198 fi
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4200 $as_echo "$ac_cv_sys_large_files" >&6; }
4201 case $ac_cv_sys_large_files in #(
4202 no | unknown) ;;
4203 *)
4204 cat >>confdefs.h <<_ACEOF
4205 #define _LARGE_FILES $ac_cv_sys_large_files
4206 _ACEOF
4207 ;;
4208 esac
4209 rm -rf conftest*
4210 fi
4211
4212
4213 fi
4214
4215
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 support or better" >&5
4217 $as_echo_n "checking for C++11 support or better... " >&6; }
4218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4219 /* end confdefs.h. */
4220 int f() { auto a=1;return a;}
4221 int
4222 main ()
4223 {
4224
4225 ;
4226 return 0;
4227 }
4228 _ACEOF
4229 if ac_fn_cxx_try_compile "$LINENO"; then :
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4231 $as_echo "yes" >&6; }
4232 else
4233 as_fn_error $? "no c++11 support, please set CXXFLAGS properly" "$LINENO" 5
4234 fi
4235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4236
4237
4238
4239
4240 set_more_warnings=no
4241 # Check whether --enable-warnings was given.
4242 if test "${enable_warnings+set}" = set; then :
4243 enableval=$enable_warnings; set_more_warnings="$enableval"
4244
4245 fi
4246
4247
4248 if test "x$set_more_warnings" != xno; then
4249 uwoption="-Werror=unknown-warning-option"
4250 SAVE_CXXFLAGS="$CXXFLAGS"
4251 CXXFLAGS="$CXXFLAGS $uwoption"
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler understands $uwoption" >&5
4253 $as_echo_n "checking whether compiler understands $uwoption... " >&6; }
4254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4255 /* end confdefs.h. */
4256
4257 int
4258 main ()
4259 {
4260
4261 ;
4262 return 0;
4263 }
4264 _ACEOF
4265 if ac_fn_cxx_try_compile "$LINENO"; then :
4266 has_unknown_warning_option=yes
4267 else
4268 has_unknown_warning_option=no; uwoption=""
4269 fi
4270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_unknown_warning_option" >&5
4272 $as_echo "$has_unknown_warning_option" >&6; }
4273 CXXFLAGS="$SAVE_CXXFLAGS"
4274
4275 warning_options="-Wall -Wextra -pedantic \
4276 -Wshadow \
4277 -Wold-style-cast \
4278 -Wnon-virtual-dtor \
4279 -Wold-style-cast \
4280 -Wcast-align \
4281 -Wunused \
4282 -Woverloaded-virtual \
4283 -Wconversion \
4284 -Wsign-conversion \
4285 -Wmisleading-indentation \
4286 -Wduplicated-cond \
4287 -Wduplicated-branches \
4288 -Wlogical-op \
4289 -Wnull-dereference \
4290 -Wuseless-cast \
4291 -Wdouble-promotion \
4292 -Wformat=2 \
4293 -Wlifetime \
4294 -Wsuggest-attribute=const \
4295 -Wsuggest-attribute=pure \
4296 -Wsuggest-final-types \
4297 -Wsuggest-final-methods \
4298 -Wsuggest-override \
4299 -Wcast-qual -Wcast-align=strict \
4300 -Wzero-as-null-pointer-constant \
4301 -Wparentheses \
4302 -Wdate-time \
4303 -Wextra-semi \
4304 -Wbiznafronck"
4305
4306 #these warnings were tried but deemed unuseful for this project:
4307 # -Wunsafe-loop-optimizations \
4308
4309 for option in $warning_options ; do
4310 SAVE_CXXFLAGS="$CXXFLAGS"
4311 CXXFLAGS="$CXXFLAGS $uwoption $option"
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler understands $option" >&5
4313 $as_echo_n "checking whether compiler understands $option... " >&6; }
4314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4315 /* end confdefs.h. */
4316 #include <stdio.h>
4317 int
4318 main ()
4319 {
4320
4321 ;
4322 return 0;
4323 }
4324 _ACEOF
4325 if ac_fn_cxx_try_compile "$LINENO"; then :
4326 has_option=yes
4327 else
4328 has_option=no
4329 fi
4330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4331 CXXFLAGS="$SAVE_CXXFLAGS"
4332 if test $has_option = yes; then
4333 CXXFLAGS="$CXXFLAGS $option"
4334 fi
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: got result $has_option" >&5
4336 $as_echo "got result $has_option" >&6; }
4337 unset has_option
4338 unset SAVE_CXXFLAGS
4339 done
4340 unset option
4341 fi
4342
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking check for fallthrough support" >&5
4344 $as_echo_n "checking check for fallthrough support... " >&6; }
4345
4346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4347 /* end confdefs.h. */
4348
4349 int f() {
4350 switch(1){
4351 case 1:
4352 [[fallthrough]];
4353 case 2:
4354 return 2;
4355 };
4356 }
4357
4358 int
4359 main ()
4360 {
4361
4362 ;
4363 return 0;
4364 }
4365 _ACEOF
4366 if ac_fn_cxx_try_compile "$LINENO"; then :
4367 has_fallthrough=yes
4368 else
4369 has_fallthrough=no
4370 fi
4371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_fallthrough" >&5
4373 $as_echo "$has_fallthrough" >&6; }
4374 if test $has_fallthrough = yes; then
4375
4376 $as_echo "#define FALLTHROUGH [[fallthrough]]" >>confdefs.h
4377
4378 else
4379
4380 $as_echo "#define FALLTHROUGH /**/" >>confdefs.h
4381
4382 fi
4383
4384 ac_config_files="$ac_config_files Makefile"
4385
4386 cat >confcache <<\_ACEOF
4387 # This file is a shell script that caches the results of configure
4388 # tests run on this system so they can be shared between configure
4389 # scripts and configure runs, see configure's option --config-cache.
4390 # It is not useful on other systems. If it contains results you don't
4391 # want to keep, you may remove or edit it.
4392 #
4393 # config.status only pays attention to the cache file if you give it
4394 # the --recheck option to rerun configure.
4395 #
4396 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4397 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4398 # following values.
4399
4400 _ACEOF
4401
4402 # The following way of writing the cache mishandles newlines in values,
4403 # but we know of no workaround that is simple, portable, and efficient.
4404 # So, we kill variables containing newlines.
4405 # Ultrix sh set writes to stderr and can't be redirected directly,
4406 # and sets the high bit in the cache file unless we assign to the vars.
4407 (
4408 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4409 eval ac_val=\$$ac_var
4410 case $ac_val in #(
4411 *${as_nl}*)
4412 case $ac_var in #(
4413 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4414 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4415 esac
4416 case $ac_var in #(
4417 _ | IFS | as_nl) ;; #(
4418 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4419 *) { eval $ac_var=; unset $ac_var;} ;;
4420 esac ;;
4421 esac
4422 done
4423
4424 (set) 2>&1 |
4425 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4426 *${as_nl}ac_space=\ *)
4427 # `set' does not quote correctly, so add quotes: double-quote
4428 # substitution turns \\\\ into \\, and sed turns \\ into \.
4429 sed -n \
4430 "s/'/'\\\\''/g;
4431 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4432 ;; #(
4433 *)
4434 # `set' quotes correctly as required by POSIX, so do not add quotes.
4435 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4436 ;;
4437 esac |
4438 sort
4439 ) |
4440 sed '
4441 /^ac_cv_env_/b end
4442 t clear
4443 :clear
4444 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4445 t end
4446 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4447 :end' >>confcache
4448 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4449 if test -w "$cache_file"; then
4450 if test "x$cache_file" != "x/dev/null"; then
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4452 $as_echo "$as_me: updating cache $cache_file" >&6;}
4453 if test ! -f "$cache_file" || test -h "$cache_file"; then
4454 cat confcache >"$cache_file"
4455 else
4456 case $cache_file in #(
4457 */* | ?:*)
4458 mv -f confcache "$cache_file"$$ &&
4459 mv -f "$cache_file"$$ "$cache_file" ;; #(
4460 *)
4461 mv -f confcache "$cache_file" ;;
4462 esac
4463 fi
4464 fi
4465 else
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4467 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4468 fi
4469 fi
4470 rm -f confcache
4471
4472 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4473 # Let make expand exec_prefix.
4474 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4475
4476 DEFS=-DHAVE_CONFIG_H
4477
4478 ac_libobjs=
4479 ac_ltlibobjs=
4480 U=
4481 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4482 # 1. Remove the extension, and $U if already installed.
4483 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4484 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4485 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4486 # will be set to the directory where LIBOBJS objects are built.
4487 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4488 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4489 done
4490 LIBOBJS=$ac_libobjs
4491
4492 LTLIBOBJS=$ac_ltlibobjs
4493
4494
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
4496 $as_echo_n "checking that generated files are newer than configure... " >&6; }
4497 if test -n "$am_sleep_pid"; then
4498 # Hide warnings about reused PIDs.
4499 wait $am_sleep_pid 2>/dev/null
4500 fi
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
4502 $as_echo "done" >&6; }
4503 if test -n "$EXEEXT"; then
4504 am__EXEEXT_TRUE=
4505 am__EXEEXT_FALSE='#'
4506 else
4507 am__EXEEXT_TRUE='#'
4508 am__EXEEXT_FALSE=
4509 fi
4510
4511 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4512 as_fn_error $? "conditional \"AMDEP\" was never defined.
4513 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4514 fi
4515 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
4516 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
4517 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4518 fi
4519
4520 : "${CONFIG_STATUS=./config.status}"
4521 ac_write_fail=0
4522 ac_clean_files_save=$ac_clean_files
4523 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4525 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4526 as_write_fail=0
4527 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4528 #! $SHELL
4529 # Generated by $as_me.
4530 # Run this file to recreate the current configuration.
4531 # Compiler output produced by configure, useful for debugging
4532 # configure, is in config.log if it exists.
4533
4534 debug=false
4535 ac_cs_recheck=false
4536 ac_cs_silent=false
4537
4538 SHELL=\${CONFIG_SHELL-$SHELL}
4539 export SHELL
4540 _ASEOF
4541 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4542 ## -------------------- ##
4543 ## M4sh Initialization. ##
4544 ## -------------------- ##
4545
4546 # Be more Bourne compatible
4547 DUALCASE=1; export DUALCASE # for MKS sh
4548 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4549 emulate sh
4550 NULLCMD=:
4551 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4552 # is contrary to our usage. Disable this feature.
4553 alias -g '${1+"$@"}'='"$@"'
4554 setopt NO_GLOB_SUBST
4555 else
4556 case `(set -o) 2>/dev/null` in #(
4557 *posix*) :
4558 set -o posix ;; #(
4559 *) :
4560 ;;
4561 esac
4562 fi
4563
4564
4565 as_nl='
4566 '
4567 export as_nl
4568 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4569 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4570 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4571 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4572 # Prefer a ksh shell builtin over an external printf program on Solaris,
4573 # but without wasting forks for bash or zsh.
4574 if test -z "$BASH_VERSION$ZSH_VERSION" \
4575 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4576 as_echo='print -r --'
4577 as_echo_n='print -rn --'
4578 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4579 as_echo='printf %s\n'
4580 as_echo_n='printf %s'
4581 else
4582 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4583 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4584 as_echo_n='/usr/ucb/echo -n'
4585 else
4586 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4587 as_echo_n_body='eval
4588 arg=$1;
4589 case $arg in #(
4590 *"$as_nl"*)
4591 expr "X$arg" : "X\\(.*\\)$as_nl";
4592 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4593 esac;
4594 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4595 '
4596 export as_echo_n_body
4597 as_echo_n='sh -c $as_echo_n_body as_echo'
4598 fi
4599 export as_echo_body
4600 as_echo='sh -c $as_echo_body as_echo'
4601 fi
4602
4603 # The user is always right.
4604 if test "${PATH_SEPARATOR+set}" != set; then
4605 PATH_SEPARATOR=:
4606 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4607 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4608 PATH_SEPARATOR=';'
4609 }
4610 fi
4611
4612
4613 # IFS
4614 # We need space, tab and new line, in precisely that order. Quoting is
4615 # there to prevent editors from complaining about space-tab.
4616 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4617 # splitting by setting IFS to empty value.)
4618 IFS=" "" $as_nl"
4619
4620 # Find who we are. Look in the path if we contain no directory separator.
4621 as_myself=
4622 case $0 in #((
4623 *[\\/]* ) as_myself=$0 ;;
4624 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4625 for as_dir in $PATH
4626 do
4627 IFS=$as_save_IFS
4628 test -z "$as_dir" && as_dir=.
4629 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4630 done
4631 IFS=$as_save_IFS
4632
4633 ;;
4634 esac
4635 # We did not find ourselves, most probably we were run as `sh COMMAND'
4636 # in which case we are not to be found in the path.
4637 if test "x$as_myself" = x; then
4638 as_myself=$0
4639 fi
4640 if test ! -f "$as_myself"; then
4641 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4642 exit 1
4643 fi
4644
4645 # Unset variables that we do not need and which cause bugs (e.g. in
4646 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4647 # suppresses any "Segmentation fault" message there. '((' could
4648 # trigger a bug in pdksh 5.2.14.
4649 for as_var in BASH_ENV ENV MAIL MAILPATH
4650 do eval test x\${$as_var+set} = xset \
4651 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4652 done
4653 PS1='$ '
4654 PS2='> '
4655 PS4='+ '
4656
4657 # NLS nuisances.
4658 LC_ALL=C
4659 export LC_ALL
4660 LANGUAGE=C
4661 export LANGUAGE
4662
4663 # CDPATH.
4664 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4665
4666
4667 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4668 # ----------------------------------------
4669 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4670 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4671 # script with STATUS, using 1 if that was 0.
4672 as_fn_error ()
4673 {
4674 as_status=$1; test $as_status -eq 0 && as_status=1
4675 if test "$4"; then
4676 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4677 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4678 fi
4679 $as_echo "$as_me: error: $2" >&2
4680 as_fn_exit $as_status
4681 } # as_fn_error
4682
4683
4684 # as_fn_set_status STATUS
4685 # -----------------------
4686 # Set $? to STATUS, without forking.
4687 as_fn_set_status ()
4688 {
4689 return $1
4690 } # as_fn_set_status
4691
4692 # as_fn_exit STATUS
4693 # -----------------
4694 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4695 as_fn_exit ()
4696 {
4697 set +e
4698 as_fn_set_status $1
4699 exit $1
4700 } # as_fn_exit
4701
4702 # as_fn_unset VAR
4703 # ---------------
4704 # Portably unset VAR.
4705 as_fn_unset ()
4706 {
4707 { eval $1=; unset $1;}
4708 }
4709 as_unset=as_fn_unset
4710 # as_fn_append VAR VALUE
4711 # ----------------------
4712 # Append the text in VALUE to the end of the definition contained in VAR. Take
4713 # advantage of any shell optimizations that allow amortized linear growth over
4714 # repeated appends, instead of the typical quadratic growth present in naive
4715 # implementations.
4716 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4717 eval 'as_fn_append ()
4718 {
4719 eval $1+=\$2
4720 }'
4721 else
4722 as_fn_append ()
4723 {
4724 eval $1=\$$1\$2
4725 }
4726 fi # as_fn_append
4727
4728 # as_fn_arith ARG...
4729 # ------------------
4730 # Perform arithmetic evaluation on the ARGs, and store the result in the
4731 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4732 # must be portable across $(()) and expr.
4733 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4734 eval 'as_fn_arith ()
4735 {
4736 as_val=$(( $* ))
4737 }'
4738 else
4739 as_fn_arith ()
4740 {
4741 as_val=`expr "$@" || test $? -eq 1`
4742 }
4743 fi # as_fn_arith
4744
4745
4746 if expr a : '\(a\)' >/dev/null 2>&1 &&
4747 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4748 as_expr=expr
4749 else
4750 as_expr=false
4751 fi
4752
4753 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4754 as_basename=basename
4755 else
4756 as_basename=false
4757 fi
4758
4759 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4760 as_dirname=dirname
4761 else
4762 as_dirname=false
4763 fi
4764
4765 as_me=`$as_basename -- "$0" ||
4766 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4767 X"$0" : 'X\(//\)$' \| \
4768 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4769 $as_echo X/"$0" |
4770 sed '/^.*\/\([^/][^/]*\)\/*$/{
4771 s//\1/
4772 q
4773 }
4774 /^X\/\(\/\/\)$/{
4775 s//\1/
4776 q
4777 }
4778 /^X\/\(\/\).*/{
4779 s//\1/
4780 q
4781 }
4782 s/.*/./; q'`
4783
4784 # Avoid depending upon Character Ranges.
4785 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4786 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4787 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4788 as_cr_digits='0123456789'
4789 as_cr_alnum=$as_cr_Letters$as_cr_digits
4790
4791 ECHO_C= ECHO_N= ECHO_T=
4792 case `echo -n x` in #(((((
4793 -n*)
4794 case `echo 'xy\c'` in
4795 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4796 xy) ECHO_C='\c';;
4797 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4798 ECHO_T=' ';;
4799 esac;;
4800 *)
4801 ECHO_N='-n';;
4802 esac
4803
4804 rm -f conf$$ conf$$.exe conf$$.file
4805 if test -d conf$$.dir; then
4806 rm -f conf$$.dir/conf$$.file
4807 else
4808 rm -f conf$$.dir
4809 mkdir conf$$.dir 2>/dev/null
4810 fi
4811 if (echo >conf$$.file) 2>/dev/null; then
4812 if ln -s conf$$.file conf$$ 2>/dev/null; then
4813 as_ln_s='ln -s'
4814 # ... but there are two gotchas:
4815 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4816 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4817 # In both cases, we have to default to `cp -pR'.
4818 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4819 as_ln_s='cp -pR'
4820 elif ln conf$$.file conf$$ 2>/dev/null; then
4821 as_ln_s=ln
4822 else
4823 as_ln_s='cp -pR'
4824 fi
4825 else
4826 as_ln_s='cp -pR'
4827 fi
4828 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4829 rmdir conf$$.dir 2>/dev/null
4830
4831
4832 # as_fn_mkdir_p
4833 # -------------
4834 # Create "$as_dir" as a directory, including parents if necessary.
4835 as_fn_mkdir_p ()
4836 {
4837
4838 case $as_dir in #(
4839 -*) as_dir=./$as_dir;;
4840 esac
4841 test -d "$as_dir" || eval $as_mkdir_p || {
4842 as_dirs=
4843 while :; do
4844 case $as_dir in #(
4845 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4846 *) as_qdir=$as_dir;;
4847 esac
4848 as_dirs="'$as_qdir' $as_dirs"
4849 as_dir=`$as_dirname -- "$as_dir" ||
4850 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4851 X"$as_dir" : 'X\(//\)[^/]' \| \
4852 X"$as_dir" : 'X\(//\)$' \| \
4853 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4854 $as_echo X"$as_dir" |
4855 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4856 s//\1/
4857 q
4858 }
4859 /^X\(\/\/\)[^/].*/{
4860 s//\1/
4861 q
4862 }
4863 /^X\(\/\/\)$/{
4864 s//\1/
4865 q
4866 }
4867 /^X\(\/\).*/{
4868 s//\1/
4869 q
4870 }
4871 s/.*/./; q'`
4872 test -d "$as_dir" && break
4873 done
4874 test -z "$as_dirs" || eval "mkdir $as_dirs"
4875 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4876
4877
4878 } # as_fn_mkdir_p
4879 if mkdir -p . 2>/dev/null; then
4880 as_mkdir_p='mkdir -p "$as_dir"'
4881 else
4882 test -d ./-p && rmdir ./-p
4883 as_mkdir_p=false
4884 fi
4885
4886
4887 # as_fn_executable_p FILE
4888 # -----------------------
4889 # Test if FILE is an executable regular file.
4890 as_fn_executable_p ()
4891 {
4892 test -f "$1" && test -x "$1"
4893 } # as_fn_executable_p
4894 as_test_x='test -x'
4895 as_executable_p=as_fn_executable_p
4896
4897 # Sed expression to map a string onto a valid CPP name.
4898 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4899
4900 # Sed expression to map a string onto a valid variable name.
4901 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4902
4903
4904 exec 6>&1
4905 ## ----------------------------------- ##
4906 ## Main body of $CONFIG_STATUS script. ##
4907 ## ----------------------------------- ##
4908 _ASEOF
4909 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4910
4911 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4912 # Save the log message, to keep $0 and so on meaningful, and to
4913 # report actual input values of CONFIG_FILES etc. instead of their
4914 # values after options handling.
4915 ac_log="
4916 This file was extended by rdfind $as_me 1.6.0, which was
4917 generated by GNU Autoconf 2.69. Invocation command line was
4918
4919 CONFIG_FILES = $CONFIG_FILES
4920 CONFIG_HEADERS = $CONFIG_HEADERS
4921 CONFIG_LINKS = $CONFIG_LINKS
4922 CONFIG_COMMANDS = $CONFIG_COMMANDS
4923 $ $0 $@
4924
4925 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4926 "
4927
4928 _ACEOF
4929
4930 case $ac_config_files in *"
4931 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4932 esac
4933
4934 case $ac_config_headers in *"
4935 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4936 esac
4937
4938
4939 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4940 # Files that config.status was made for.
4941 config_files="$ac_config_files"
4942 config_headers="$ac_config_headers"
4943 config_commands="$ac_config_commands"
4944
4945 _ACEOF
4946
4947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4948 ac_cs_usage="\
4949 \`$as_me' instantiates files and other configuration actions
4950 from templates according to the current configuration. Unless the files
4951 and actions are specified as TAGs, all are instantiated by default.
4952
4953 Usage: $0 [OPTION]... [TAG]...
4954
4955 -h, --help print this help, then exit
4956 -V, --version print version number and configuration settings, then exit
4957 --config print configuration, then exit
4958 -q, --quiet, --silent
4959 do not print progress messages
4960 -d, --debug don't remove temporary files
4961 --recheck update $as_me by reconfiguring in the same conditions
4962 --file=FILE[:TEMPLATE]
4963 instantiate the configuration file FILE
4964 --header=FILE[:TEMPLATE]
4965 instantiate the configuration header FILE
4966
4967 Configuration files:
4968 $config_files
4969
4970 Configuration headers:
4971 $config_headers
4972
4973 Configuration commands:
4974 $config_commands
4975
4976 Report bugs to the package provider."
4977
4978 _ACEOF
4979 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4980 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4981 ac_cs_version="\\
4982 rdfind config.status 1.6.0
4983 configured by $0, generated by GNU Autoconf 2.69,
4984 with options \\"\$ac_cs_config\\"
4985
4986 Copyright (C) 2012 Free Software Foundation, Inc.
4987 This config.status script is free software; the Free Software Foundation
4988 gives unlimited permission to copy, distribute and modify it."
4989
4990 ac_pwd='$ac_pwd'
4991 srcdir='$srcdir'
4992 INSTALL='$INSTALL'
4993 MKDIR_P='$MKDIR_P'
4994 AWK='$AWK'
4995 test -n "\$AWK" || AWK=awk
4996 _ACEOF
4997
4998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4999 # The default lists apply if the user does not specify any file.
5000 ac_need_defaults=:
5001 while test $# != 0
5002 do
5003 case $1 in
5004 --*=?*)
5005 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5006 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5007 ac_shift=:
5008 ;;
5009 --*=)
5010 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5011 ac_optarg=
5012 ac_shift=:
5013 ;;
5014 *)
5015 ac_option=$1
5016 ac_optarg=$2
5017 ac_shift=shift
5018 ;;
5019 esac
5020
5021 case $ac_option in
5022 # Handling of the options.
5023 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5024 ac_cs_recheck=: ;;
5025 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5026 $as_echo "$ac_cs_version"; exit ;;
5027 --config | --confi | --conf | --con | --co | --c )
5028 $as_echo "$ac_cs_config"; exit ;;
5029 --debug | --debu | --deb | --de | --d | -d )
5030 debug=: ;;
5031 --file | --fil | --fi | --f )
5032 $ac_shift
5033 case $ac_optarg in
5034 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5035 '') as_fn_error $? "missing file argument" ;;
5036 esac
5037 as_fn_append CONFIG_FILES " '$ac_optarg'"
5038 ac_need_defaults=false;;
5039 --header | --heade | --head | --hea )
5040 $ac_shift
5041 case $ac_optarg in
5042 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5043 esac
5044 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5045 ac_need_defaults=false;;
5046 --he | --h)
5047 # Conflict between --help and --header
5048 as_fn_error $? "ambiguous option: \`$1'
5049 Try \`$0 --help' for more information.";;
5050 --help | --hel | -h )
5051 $as_echo "$ac_cs_usage"; exit ;;
5052 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5053 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5054 ac_cs_silent=: ;;
5055
5056 # This is an error.
5057 -*) as_fn_error $? "unrecognized option: \`$1'
5058 Try \`$0 --help' for more information." ;;
5059
5060 *) as_fn_append ac_config_targets " $1"
5061 ac_need_defaults=false ;;
5062
5063 esac
5064 shift
5065 done
5066
5067 ac_configure_extra_args=
5068
5069 if $ac_cs_silent; then
5070 exec 6>/dev/null
5071 ac_configure_extra_args="$ac_configure_extra_args --silent"
5072 fi
5073
5074 _ACEOF
5075 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5076 if \$ac_cs_recheck; then
5077 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5078 shift
5079 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5080 CONFIG_SHELL='$SHELL'
5081 export CONFIG_SHELL
5082 exec "\$@"
5083 fi
5084
5085 _ACEOF
5086 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5087 exec 5>>config.log
5088 {
5089 echo
5090 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5091 ## Running $as_me. ##
5092 _ASBOX
5093 $as_echo "$ac_log"
5094 } >&5
5095
5096 _ACEOF
5097 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5098 #
5099 # INIT-COMMANDS
5100 #
5101 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
5102
5103 _ACEOF
5104
5105 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5106
5107 # Handling of arguments.
5108 for ac_config_target in $ac_config_targets
5109 do
5110 case $ac_config_target in
5111 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5112 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5113 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5114
5115 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5116 esac
5117 done
5118
5119
5120 # If the user did not use the arguments to specify the items to instantiate,
5121 # then the envvar interface is used. Set only those that are not.
5122 # We use the long form for the default assignment because of an extremely
5123 # bizarre bug on SunOS 4.1.3.
5124 if $ac_need_defaults; then
5125 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5126 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5127 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5128 fi
5129
5130 # Have a temporary directory for convenience. Make it in the build tree
5131 # simply because there is no reason against having it here, and in addition,
5132 # creating and moving files from /tmp can sometimes cause problems.
5133 # Hook for its removal unless debugging.
5134 # Note that there is a small window in which the directory will not be cleaned:
5135 # after its creation but before its name has been assigned to `$tmp'.
5136 $debug ||
5137 {
5138 tmp= ac_tmp=
5139 trap 'exit_status=$?
5140 : "${ac_tmp:=$tmp}"
5141 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5142 ' 0
5143 trap 'as_fn_exit 1' 1 2 13 15
5144 }
5145 # Create a (secure) tmp directory for tmp files.
5146
5147 {
5148 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5149 test -d "$tmp"
5150 } ||
5151 {
5152 tmp=./conf$$-$RANDOM
5153 (umask 077 && mkdir "$tmp")
5154 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5155 ac_tmp=$tmp
5156
5157 # Set up the scripts for CONFIG_FILES section.
5158 # No need to generate them if there are no CONFIG_FILES.
5159 # This happens for instance with `./config.status config.h'.
5160 if test -n "$CONFIG_FILES"; then
5161
5162
5163 ac_cr=`echo X | tr X '\015'`
5164 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5165 # But we know of no other shell where ac_cr would be empty at this
5166 # point, so we can use a bashism as a fallback.
5167 if test "x$ac_cr" = x; then
5168 eval ac_cr=\$\'\\r\'
5169 fi
5170 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5171 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5172 ac_cs_awk_cr='\\r'
5173 else
5174 ac_cs_awk_cr=$ac_cr
5175 fi
5176
5177 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5178 _ACEOF
5179
5180
5181 {
5182 echo "cat >conf$$subs.awk <<_ACEOF" &&
5183 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5184 echo "_ACEOF"
5185 } >conf$$subs.sh ||
5186 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5187 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5188 ac_delim='%!_!# '
5189 for ac_last_try in false false false false false :; do
5190 . ./conf$$subs.sh ||
5191 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5192
5193 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5194 if test $ac_delim_n = $ac_delim_num; then
5195 break
5196 elif $ac_last_try; then
5197 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5198 else
5199 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5200 fi
5201 done
5202 rm -f conf$$subs.sh
5203
5204 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5205 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5206 _ACEOF
5207 sed -n '
5208 h
5209 s/^/S["/; s/!.*/"]=/
5210 p
5211 g
5212 s/^[^!]*!//
5213 :repl
5214 t repl
5215 s/'"$ac_delim"'$//
5216 t delim
5217 :nl
5218 h
5219 s/\(.\{148\}\)..*/\1/
5220 t more1
5221 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5222 p
5223 n
5224 b repl
5225 :more1
5226 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5227 p
5228 g
5229 s/.\{148\}//
5230 t nl
5231 :delim
5232 h
5233 s/\(.\{148\}\)..*/\1/
5234 t more2
5235 s/["\\]/\\&/g; s/^/"/; s/$/"/
5236 p
5237 b
5238 :more2
5239 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5240 p
5241 g
5242 s/.\{148\}//
5243 t delim
5244 ' <conf$$subs.awk | sed '
5245 /^[^""]/{
5246 N
5247 s/\n//
5248 }
5249 ' >>$CONFIG_STATUS || ac_write_fail=1
5250 rm -f conf$$subs.awk
5251 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5252 _ACAWK
5253 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5254 for (key in S) S_is_set[key] = 1
5255 FS = ""
5256
5257 }
5258 {
5259 line = $ 0
5260 nfields = split(line, field, "@")
5261 substed = 0
5262 len = length(field[1])
5263 for (i = 2; i < nfields; i++) {
5264 key = field[i]
5265 keylen = length(key)
5266 if (S_is_set[key]) {
5267 value = S[key]
5268 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5269 len += length(value) + length(field[++i])
5270 substed = 1
5271 } else
5272 len += 1 + keylen
5273 }
5274
5275 print line
5276 }
5277
5278 _ACAWK
5279 _ACEOF
5280 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5281 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5282 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5283 else
5284 cat
5285 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5286 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5287 _ACEOF
5288
5289 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5290 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5291 # trailing colons and then remove the whole line if VPATH becomes empty
5292 # (actually we leave an empty line to preserve line numbers).
5293 if test "x$srcdir" = x.; then
5294 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5295 h
5296 s///
5297 s/^/:/
5298 s/[ ]*$/:/
5299 s/:\$(srcdir):/:/g
5300 s/:\${srcdir}:/:/g
5301 s/:@srcdir@:/:/g
5302 s/^:*//
5303 s/:*$//
5304 x
5305 s/\(=[ ]*\).*/\1/
5306 G
5307 s/\n//
5308 s/^[^=]*=[ ]*$//
5309 }'
5310 fi
5311
5312 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5313 fi # test -n "$CONFIG_FILES"
5314
5315 # Set up the scripts for CONFIG_HEADERS section.
5316 # No need to generate them if there are no CONFIG_HEADERS.
5317 # This happens for instance with `./config.status Makefile'.
5318 if test -n "$CONFIG_HEADERS"; then
5319 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5320 BEGIN {
5321 _ACEOF
5322
5323 # Transform confdefs.h into an awk script `defines.awk', embedded as
5324 # here-document in config.status, that substitutes the proper values into
5325 # config.h.in to produce config.h.
5326
5327 # Create a delimiter string that does not exist in confdefs.h, to ease
5328 # handling of long lines.
5329 ac_delim='%!_!# '
5330 for ac_last_try in false false :; do
5331 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5332 if test -z "$ac_tt"; then
5333 break
5334 elif $ac_last_try; then
5335 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5336 else
5337 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5338 fi
5339 done
5340
5341 # For the awk script, D is an array of macro values keyed by name,
5342 # likewise P contains macro parameters if any. Preserve backslash
5343 # newline sequences.
5344
5345 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5346 sed -n '
5347 s/.\{148\}/&'"$ac_delim"'/g
5348 t rset
5349 :rset
5350 s/^[ ]*#[ ]*define[ ][ ]*/ /
5351 t def
5352 d
5353 :def
5354 s/\\$//
5355 t bsnl
5356 s/["\\]/\\&/g
5357 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5358 D["\1"]=" \3"/p
5359 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5360 d
5361 :bsnl
5362 s/["\\]/\\&/g
5363 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5364 D["\1"]=" \3\\\\\\n"\\/p
5365 t cont
5366 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5367 t cont
5368 d
5369 :cont
5370 n
5371 s/.\{148\}/&'"$ac_delim"'/g
5372 t clear
5373 :clear
5374 s/\\$//
5375 t bsnlc
5376 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5377 d
5378 :bsnlc
5379 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5380 b cont
5381 ' <confdefs.h | sed '
5382 s/'"$ac_delim"'/"\\\
5383 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5384
5385 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5386 for (key in D) D_is_set[key] = 1
5387 FS = ""
5388 }
5389 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5390 line = \$ 0
5391 split(line, arg, " ")
5392 if (arg[1] == "#") {
5393 defundef = arg[2]
5394 mac1 = arg[3]
5395 } else {
5396 defundef = substr(arg[1], 2)
5397 mac1 = arg[2]
5398 }
5399 split(mac1, mac2, "(") #)
5400 macro = mac2[1]
5401 prefix = substr(line, 1, index(line, defundef) - 1)
5402 if (D_is_set[macro]) {
5403 # Preserve the white space surrounding the "#".
5404 print prefix "define", macro P[macro] D[macro]
5405 next
5406 } else {
5407 # Replace #undef with comments. This is necessary, for example,
5408 # in the case of _POSIX_SOURCE, which is predefined and required
5409 # on some systems where configure will not decide to define it.
5410 if (defundef == "undef") {
5411 print "/*", prefix defundef, macro, "*/"
5412 next
5413 }
5414 }
5415 }
5416 { print }
5417 _ACAWK
5418 _ACEOF
5419 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5420 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5421 fi # test -n "$CONFIG_HEADERS"
5422
5423
5424 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5425 shift
5426 for ac_tag
5427 do
5428 case $ac_tag in
5429 :[FHLC]) ac_mode=$ac_tag; continue;;
5430 esac
5431 case $ac_mode$ac_tag in
5432 :[FHL]*:*);;
5433 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5434 :[FH]-) ac_tag=-:-;;
5435 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5436 esac
5437 ac_save_IFS=$IFS
5438 IFS=:
5439 set x $ac_tag
5440 IFS=$ac_save_IFS
5441 shift
5442 ac_file=$1
5443 shift
5444
5445 case $ac_mode in
5446 :L) ac_source=$1;;
5447 :[FH])
5448 ac_file_inputs=
5449 for ac_f
5450 do
5451 case $ac_f in
5452 -) ac_f="$ac_tmp/stdin";;
5453 *) # Look for the file first in the build tree, then in the source tree
5454 # (if the path is not absolute). The absolute path cannot be DOS-style,
5455 # because $ac_f cannot contain `:'.
5456 test -f "$ac_f" ||
5457 case $ac_f in
5458 [\\/$]*) false;;
5459 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5460 esac ||
5461 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5462 esac
5463 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5464 as_fn_append ac_file_inputs " '$ac_f'"
5465 done
5466
5467 # Let's still pretend it is `configure' which instantiates (i.e., don't
5468 # use $as_me), people would be surprised to read:
5469 # /* config.h. Generated by config.status. */
5470 configure_input='Generated from '`
5471 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5472 `' by configure.'
5473 if test x"$ac_file" != x-; then
5474 configure_input="$ac_file. $configure_input"
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5476 $as_echo "$as_me: creating $ac_file" >&6;}
5477 fi
5478 # Neutralize special characters interpreted by sed in replacement strings.
5479 case $configure_input in #(
5480 *\&* | *\|* | *\\* )
5481 ac_sed_conf_input=`$as_echo "$configure_input" |
5482 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5483 *) ac_sed_conf_input=$configure_input;;
5484 esac
5485
5486 case $ac_tag in
5487 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5488 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5489 esac
5490 ;;
5491 esac
5492
5493 ac_dir=`$as_dirname -- "$ac_file" ||
5494 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5495 X"$ac_file" : 'X\(//\)[^/]' \| \
5496 X"$ac_file" : 'X\(//\)$' \| \
5497 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5498 $as_echo X"$ac_file" |
5499 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5500 s//\1/
5501 q
5502 }
5503 /^X\(\/\/\)[^/].*/{
5504 s//\1/
5505 q
5506 }
5507 /^X\(\/\/\)$/{
5508 s//\1/
5509 q
5510 }
5511 /^X\(\/\).*/{
5512 s//\1/
5513 q
5514 }
5515 s/.*/./; q'`
5516 as_dir="$ac_dir"; as_fn_mkdir_p
5517 ac_builddir=.
5518
5519 case "$ac_dir" in
5520 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5521 *)
5522 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5523 # A ".." for each directory in $ac_dir_suffix.
5524 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5525 case $ac_top_builddir_sub in
5526 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5527 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5528 esac ;;
5529 esac
5530 ac_abs_top_builddir=$ac_pwd
5531 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5532 # for backward compatibility:
5533 ac_top_builddir=$ac_top_build_prefix
5534
5535 case $srcdir in
5536 .) # We are building in place.
5537 ac_srcdir=.
5538 ac_top_srcdir=$ac_top_builddir_sub
5539 ac_abs_top_srcdir=$ac_pwd ;;
5540 [\\/]* | ?:[\\/]* ) # Absolute name.
5541 ac_srcdir=$srcdir$ac_dir_suffix;
5542 ac_top_srcdir=$srcdir
5543 ac_abs_top_srcdir=$srcdir ;;
5544 *) # Relative name.
5545 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5546 ac_top_srcdir=$ac_top_build_prefix$srcdir
5547 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5548 esac
5549 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5550
5551
5552 case $ac_mode in
5553 :F)
5554 #
5555 # CONFIG_FILE
5556 #
5557
5558 case $INSTALL in
5559 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5560 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5561 esac
5562 ac_MKDIR_P=$MKDIR_P
5563 case $MKDIR_P in
5564 [\\/$]* | ?:[\\/]* ) ;;
5565 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5566 esac
5567 _ACEOF
5568
5569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5570 # If the template does not know about datarootdir, expand it.
5571 # FIXME: This hack should be removed a few years after 2.60.
5572 ac_datarootdir_hack=; ac_datarootdir_seen=
5573 ac_sed_dataroot='
5574 /datarootdir/ {
5575 p
5576 q
5577 }
5578 /@datadir@/p
5579 /@docdir@/p
5580 /@infodir@/p
5581 /@localedir@/p
5582 /@mandir@/p'
5583 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5584 *datarootdir*) ac_datarootdir_seen=yes;;
5585 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5587 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5588 _ACEOF
5589 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5590 ac_datarootdir_hack='
5591 s&@datadir@&$datadir&g
5592 s&@docdir@&$docdir&g
5593 s&@infodir@&$infodir&g
5594 s&@localedir@&$localedir&g
5595 s&@mandir@&$mandir&g
5596 s&\\\${datarootdir}&$datarootdir&g' ;;
5597 esac
5598 _ACEOF
5599
5600 # Neutralize VPATH when `$srcdir' = `.'.
5601 # Shell code in configure.ac might set extrasub.
5602 # FIXME: do we really want to maintain this feature?
5603 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5604 ac_sed_extra="$ac_vpsub
5605 $extrasub
5606 _ACEOF
5607 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5608 :t
5609 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5610 s|@configure_input@|$ac_sed_conf_input|;t t
5611 s&@top_builddir@&$ac_top_builddir_sub&;t t
5612 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5613 s&@srcdir@&$ac_srcdir&;t t
5614 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5615 s&@top_srcdir@&$ac_top_srcdir&;t t
5616 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5617 s&@builddir@&$ac_builddir&;t t
5618 s&@abs_builddir@&$ac_abs_builddir&;t t
5619 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5620 s&@INSTALL@&$ac_INSTALL&;t t
5621 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5622 $ac_datarootdir_hack
5623 "
5624 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5625 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5626
5627 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5628 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5629 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5630 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5632 which seems to be undefined. Please make sure it is defined" >&5
5633 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5634 which seems to be undefined. Please make sure it is defined" >&2;}
5635
5636 rm -f "$ac_tmp/stdin"
5637 case $ac_file in
5638 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5639 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5640 esac \
5641 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5642 ;;
5643 :H)
5644 #
5645 # CONFIG_HEADER
5646 #
5647 if test x"$ac_file" != x-; then
5648 {
5649 $as_echo "/* $configure_input */" \
5650 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5651 } >"$ac_tmp/config.h" \
5652 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5653 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5655 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5656 else
5657 rm -f "$ac_file"
5658 mv "$ac_tmp/config.h" "$ac_file" \
5659 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5660 fi
5661 else
5662 $as_echo "/* $configure_input */" \
5663 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5664 || as_fn_error $? "could not create -" "$LINENO" 5
5665 fi
5666 # Compute "$ac_file"'s index in $config_headers.
5667 _am_arg="$ac_file"
5668 _am_stamp_count=1
5669 for _am_header in $config_headers :; do
5670 case $_am_header in
5671 $_am_arg | $_am_arg:* )
5672 break ;;
5673 * )
5674 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5675 esac
5676 done
5677 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5678 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5679 X"$_am_arg" : 'X\(//\)[^/]' \| \
5680 X"$_am_arg" : 'X\(//\)$' \| \
5681 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5682 $as_echo X"$_am_arg" |
5683 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5684 s//\1/
5685 q
5686 }
5687 /^X\(\/\/\)[^/].*/{
5688 s//\1/
5689 q
5690 }
5691 /^X\(\/\/\)$/{
5692 s//\1/
5693 q
5694 }
5695 /^X\(\/\).*/{
5696 s//\1/
5697 q
5698 }
5699 s/.*/./; q'`/stamp-h$_am_stamp_count
5700 ;;
5701
5702 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5703 $as_echo "$as_me: executing $ac_file commands" >&6;}
5704 ;;
5705 esac
5706
5707
5708 case $ac_file$ac_mode in
5709 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5710 # Older Autoconf quotes --file arguments for eval, but not when files
5711 # are listed without --file. Let's play safe and only enable the eval
5712 # if we detect the quoting.
5713 # TODO: see whether this extra hack can be removed once we start
5714 # requiring Autoconf 2.70 or later.
5715 case $CONFIG_FILES in #(
5716 *\'*) :
5717 eval set x "$CONFIG_FILES" ;; #(
5718 *) :
5719 set x $CONFIG_FILES ;; #(
5720 *) :
5721 ;;
5722 esac
5723 shift
5724 # Used to flag and report bootstrapping failures.
5725 am_rc=0
5726 for am_mf
5727 do
5728 # Strip MF so we end up with the name of the file.
5729 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
5730 # Check whether this is an Automake generated Makefile which includes
5731 # dependency-tracking related rules and includes.
5732 # Grep'ing the whole file directly is not great: AIX grep has a line
5733 # limit of 2048, but all sed's we know have understand at least 4000.
5734 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
5735 || continue
5736 am_dirpart=`$as_dirname -- "$am_mf" ||
5737 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5738 X"$am_mf" : 'X\(//\)[^/]' \| \
5739 X"$am_mf" : 'X\(//\)$' \| \
5740 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
5741 $as_echo X"$am_mf" |
5742 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5743 s//\1/
5744 q
5745 }
5746 /^X\(\/\/\)[^/].*/{
5747 s//\1/
5748 q
5749 }
5750 /^X\(\/\/\)$/{
5751 s//\1/
5752 q
5753 }
5754 /^X\(\/\).*/{
5755 s//\1/
5756 q
5757 }
5758 s/.*/./; q'`
5759 am_filepart=`$as_basename -- "$am_mf" ||
5760 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
5761 X"$am_mf" : 'X\(//\)$' \| \
5762 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
5763 $as_echo X/"$am_mf" |
5764 sed '/^.*\/\([^/][^/]*\)\/*$/{
5765 s//\1/
5766 q
5767 }
5768 /^X\/\(\/\/\)$/{
5769 s//\1/
5770 q
5771 }
5772 /^X\/\(\/\).*/{
5773 s//\1/
5774 q
5775 }
5776 s/.*/./; q'`
5777 { echo "$as_me:$LINENO: cd "$am_dirpart" \
5778 && sed -e '/# am--include-marker/d' "$am_filepart" \
5779 | $MAKE -f - am--depfiles" >&5
5780 (cd "$am_dirpart" \
5781 && sed -e '/# am--include-marker/d' "$am_filepart" \
5782 | $MAKE -f - am--depfiles) >&5 2>&5
5783 ac_status=$?
5784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5785 (exit $ac_status); } || am_rc=$?
5786 done
5787 if test $am_rc -ne 0; then
5788 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5789 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5790 as_fn_error $? "Something went wrong bootstrapping makefile fragments
5791 for automatic dependency tracking. If GNU make was not used, consider
5792 re-running the configure script with MAKE=\"gmake\" (or whatever is
5793 necessary). You can also try re-running configure with the
5794 '--disable-dependency-tracking' option to at least be able to build
5795 the package (albeit without support for automatic dependency tracking).
5796 See \`config.log' for more details" "$LINENO" 5; }
5797 fi
5798 { am_dirpart=; unset am_dirpart;}
5799 { am_filepart=; unset am_filepart;}
5800 { am_mf=; unset am_mf;}
5801 { am_rc=; unset am_rc;}
5802 rm -f conftest-deps.mk
5803 }
5804 ;;
5805
5806 esac
5807 done # for ac_tag
5808
5809
5810 as_fn_exit 0
5811 _ACEOF
5812 ac_clean_files=$ac_clean_files_save
5813
5814 test $ac_write_fail = 0 ||
5815 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5816
5817
5818 # configure is writing to config.log, and then calls config.status.
5819 # config.status does its own redirection, appending to config.log.
5820 # Unfortunately, on DOS this fails, as config.log is still kept open
5821 # by configure, so config.status won't be able to write to it; its
5822 # output is simply discarded. So we exec the FD to /dev/null,
5823 # effectively closing config.log, so it can be properly (re)opened and
5824 # appended to by config.status. When coming back to configure, we
5825 # need to make the FD available again.
5826 if test "$no_create" != yes; then
5827 ac_cs_success=:
5828 ac_config_status_args=
5829 test "$silent" = yes &&
5830 ac_config_status_args="$ac_config_status_args --quiet"
5831 exec 5>/dev/null
5832 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5833 exec 5>>config.log
5834 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5835 # would make configure fail if this is the last instruction.
5836 $ac_cs_success || as_fn_exit 1
5837 fi
5838 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5840 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5841 fi
5842