configure

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

mercurial