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