Debian Codegraph @

configure

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