Debian Codegraph @

configure

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