Debian Codegraph @

configure

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