configure

changeset 52
02816cd75edc
parent 51
5acf05940667
child 53
32b9e0a5cebd
equal deleted inserted replaced
51:5acf05940667 52:02816cd75edc
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 # Compiler (empty default options)
2793 ${CFLAGS=""}
2794 ac_ext=c
2795 ac_cpp='$CPP $CPPFLAGS'
2796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2799 if test -n "$ac_tool_prefix"; then
2800 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2801 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2803 $as_echo_n "checking for $ac_word... " >&6; }
2804 if ${ac_cv_prog_CC+:} false; then :
2805 $as_echo_n "(cached) " >&6
2806 else
2807 if test -n "$CC"; then
2808 ac_cv_prog_CC="$CC" # Let the user override the test.
2809 else
2810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2811 for as_dir in $PATH
2812 do
2813 IFS=$as_save_IFS
2814 test -z "$as_dir" && as_dir=.
2815 for ac_exec_ext in '' $ac_executable_extensions; do
2816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2817 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2819 break 2
2820 fi
2821 done
2822 done
2823 IFS=$as_save_IFS
2824
2825 fi
2826 fi
2827 CC=$ac_cv_prog_CC
2828 if test -n "$CC"; then
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2830 $as_echo "$CC" >&6; }
2831 else
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2833 $as_echo "no" >&6; }
2834 fi
2835
2836
2837 fi
2838 if test -z "$ac_cv_prog_CC"; then
2839 ac_ct_CC=$CC
2840 # Extract the first word of "gcc", so it can be a program name with args.
2841 set dummy gcc; ac_word=$2
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2843 $as_echo_n "checking for $ac_word... " >&6; }
2844 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2845 $as_echo_n "(cached) " >&6
2846 else
2847 if test -n "$ac_ct_CC"; then
2848 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2849 else
2850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2851 for as_dir in $PATH
2852 do
2853 IFS=$as_save_IFS
2854 test -z "$as_dir" && as_dir=.
2855 for ac_exec_ext in '' $ac_executable_extensions; do
2856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2857 ac_cv_prog_ac_ct_CC="gcc"
2858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2859 break 2
2860 fi
2861 done
2862 done
2863 IFS=$as_save_IFS
2864
2865 fi
2866 fi
2867 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2868 if test -n "$ac_ct_CC"; then
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2870 $as_echo "$ac_ct_CC" >&6; }
2871 else
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2873 $as_echo "no" >&6; }
2874 fi
2875
2876 if test "x$ac_ct_CC" = x; then
2877 CC=""
2878 else
2879 case $cross_compiling:$ac_tool_warned in
2880 yes:)
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2882 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2883 ac_tool_warned=yes ;;
2884 esac
2885 CC=$ac_ct_CC
2886 fi
2887 else
2888 CC="$ac_cv_prog_CC"
2889 fi
2890
2891 if test -z "$CC"; then
2892 if test -n "$ac_tool_prefix"; then
2893 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2894 set dummy ${ac_tool_prefix}cc; ac_word=$2
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2896 $as_echo_n "checking for $ac_word... " >&6; }
2897 if ${ac_cv_prog_CC+:} false; then :
2898 $as_echo_n "(cached) " >&6
2899 else
2900 if test -n "$CC"; then
2901 ac_cv_prog_CC="$CC" # Let the user override the test.
2902 else
2903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2904 for as_dir in $PATH
2905 do
2906 IFS=$as_save_IFS
2907 test -z "$as_dir" && as_dir=.
2908 for ac_exec_ext in '' $ac_executable_extensions; do
2909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2910 ac_cv_prog_CC="${ac_tool_prefix}cc"
2911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2912 break 2
2913 fi
2914 done
2915 done
2916 IFS=$as_save_IFS
2917
2918 fi
2919 fi
2920 CC=$ac_cv_prog_CC
2921 if test -n "$CC"; then
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2923 $as_echo "$CC" >&6; }
2924 else
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2926 $as_echo "no" >&6; }
2927 fi
2928
2929
2930 fi
2931 fi
2932 if test -z "$CC"; then
2933 # Extract the first word of "cc", so it can be a program name with args.
2934 set dummy cc; ac_word=$2
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2936 $as_echo_n "checking for $ac_word... " >&6; }
2937 if ${ac_cv_prog_CC+:} false; then :
2938 $as_echo_n "(cached) " >&6
2939 else
2940 if test -n "$CC"; then
2941 ac_cv_prog_CC="$CC" # Let the user override the test.
2942 else
2943 ac_prog_rejected=no
2944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2945 for as_dir in $PATH
2946 do
2947 IFS=$as_save_IFS
2948 test -z "$as_dir" && as_dir=.
2949 for ac_exec_ext in '' $ac_executable_extensions; do
2950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2951 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2952 ac_prog_rejected=yes
2953 continue
2954 fi
2955 ac_cv_prog_CC="cc"
2956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2957 break 2
2958 fi
2959 done
2960 done
2961 IFS=$as_save_IFS
2962
2963 if test $ac_prog_rejected = yes; then
2964 # We found a bogon in the path, so make sure we never use it.
2965 set dummy $ac_cv_prog_CC
2966 shift
2967 if test $# != 0; then
2968 # We chose a different compiler from the bogus one.
2969 # However, it has the same basename, so the bogon will be chosen
2970 # first if we set CC to just the basename; use the full file name.
2971 shift
2972 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2973 fi
2974 fi
2975 fi
2976 fi
2977 CC=$ac_cv_prog_CC
2978 if test -n "$CC"; then
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2980 $as_echo "$CC" >&6; }
2981 else
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2983 $as_echo "no" >&6; }
2984 fi
2985
2986
2987 fi
2988 if test -z "$CC"; then
2989 if test -n "$ac_tool_prefix"; then
2990 for ac_prog in cl.exe
2991 do
2992 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2993 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2995 $as_echo_n "checking for $ac_word... " >&6; }
2996 if ${ac_cv_prog_CC+:} false; then :
2997 $as_echo_n "(cached) " >&6
2998 else
2999 if test -n "$CC"; then
3000 ac_cv_prog_CC="$CC" # Let the user override the test.
3001 else
3002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3003 for as_dir in $PATH
3004 do
3005 IFS=$as_save_IFS
3006 test -z "$as_dir" && as_dir=.
3007 for ac_exec_ext in '' $ac_executable_extensions; do
3008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3009 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3011 break 2
3012 fi
3013 done
3014 done
3015 IFS=$as_save_IFS
3016
3017 fi
3018 fi
3019 CC=$ac_cv_prog_CC
3020 if test -n "$CC"; then
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3022 $as_echo "$CC" >&6; }
3023 else
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3025 $as_echo "no" >&6; }
3026 fi
3027
3028
3029 test -n "$CC" && break
3030 done
3031 fi
3032 if test -z "$CC"; then
3033 ac_ct_CC=$CC
3034 for ac_prog in cl.exe
3035 do
3036 # Extract the first word of "$ac_prog", so it can be a program name with args.
3037 set dummy $ac_prog; ac_word=$2
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3039 $as_echo_n "checking for $ac_word... " >&6; }
3040 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3041 $as_echo_n "(cached) " >&6
3042 else
3043 if test -n "$ac_ct_CC"; then
3044 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3045 else
3046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3047 for as_dir in $PATH
3048 do
3049 IFS=$as_save_IFS
3050 test -z "$as_dir" && as_dir=.
3051 for ac_exec_ext in '' $ac_executable_extensions; do
3052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3053 ac_cv_prog_ac_ct_CC="$ac_prog"
3054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3055 break 2
3056 fi
3057 done
3058 done
3059 IFS=$as_save_IFS
3060
3061 fi
3062 fi
3063 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3064 if test -n "$ac_ct_CC"; then
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3066 $as_echo "$ac_ct_CC" >&6; }
3067 else
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3069 $as_echo "no" >&6; }
3070 fi
3071
3072
3073 test -n "$ac_ct_CC" && break
3074 done
3075
3076 if test "x$ac_ct_CC" = x; then
3077 CC=""
3078 else
3079 case $cross_compiling:$ac_tool_warned in
3080 yes:)
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3082 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3083 ac_tool_warned=yes ;;
3084 esac
3085 CC=$ac_ct_CC
3086 fi
3087 fi
3088
3089 fi
3090
3091
3092 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3093 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3094 as_fn_error $? "no acceptable C compiler found in \$PATH
3095 See \`config.log' for more details" "$LINENO" 5; }
3096
3097 # Provide some information about the compiler.
3098 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3099 set X $ac_compile
3100 ac_compiler=$2
3101 for ac_option in --version -v -V -qversion; do
3102 { { ac_try="$ac_compiler $ac_option >&5"
3103 case "(($ac_try" in
3104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3105 *) ac_try_echo=$ac_try;;
3106 esac
3107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3108 $as_echo "$ac_try_echo"; } >&5
3109 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3110 ac_status=$?
3111 if test -s conftest.err; then
3112 sed '10a\
3113 ... rest of stderr output deleted ...
3114 10q' conftest.err >conftest.er1
3115 cat conftest.er1 >&5
3116 fi
3117 rm -f conftest.er1 conftest.err
3118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3119 test $ac_status = 0; }
3120 done
3121
3122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3123 /* end confdefs.h. */
3124
3125 int
3126 main ()
3127 {
3128
3129 ;
3130 return 0;
3131 }
3132 _ACEOF
3133 ac_clean_files_save=$ac_clean_files
3134 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3135 # Try to create an executable without -o first, disregard a.out.
3136 # It will help us diagnose broken compilers, and finding out an intuition
3137 # of exeext.
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3139 $as_echo_n "checking whether the C compiler works... " >&6; }
3140 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3141
3142 # The possible output files:
3143 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3144
3145 ac_rmfiles=
3146 for ac_file in $ac_files
3147 do
3148 case $ac_file in
3149 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3150 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3151 esac
3152 done
3153 rm -f $ac_rmfiles
3154
3155 if { { ac_try="$ac_link_default"
3156 case "(($ac_try" in
3157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3158 *) ac_try_echo=$ac_try;;
3159 esac
3160 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3161 $as_echo "$ac_try_echo"; } >&5
3162 (eval "$ac_link_default") 2>&5
3163 ac_status=$?
3164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3165 test $ac_status = 0; }; then :
3166 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3167 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3168 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3169 # so that the user can short-circuit this test for compilers unknown to
3170 # Autoconf.
3171 for ac_file in $ac_files ''
3172 do
3173 test -f "$ac_file" || continue
3174 case $ac_file in
3175 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3176 ;;
3177 [ab].out )
3178 # We found the default executable, but exeext='' is most
3179 # certainly right.
3180 break;;
3181 *.* )
3182 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3183 then :; else
3184 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3185 fi
3186 # We set ac_cv_exeext here because the later test for it is not
3187 # safe: cross compilers may not add the suffix if given an `-o'
3188 # argument, so we may need to know it at that point already.
3189 # Even if this section looks crufty: it has the advantage of
3190 # actually working.
3191 break;;
3192 * )
3193 break;;
3194 esac
3195 done
3196 test "$ac_cv_exeext" = no && ac_cv_exeext=
3197
3198 else
3199 ac_file=''
3200 fi
3201 if test -z "$ac_file"; then :
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3203 $as_echo "no" >&6; }
3204 $as_echo "$as_me: failed program was:" >&5
3205 sed 's/^/| /' conftest.$ac_ext >&5
3206
3207 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3209 as_fn_error 77 "C compiler cannot create executables
3210 See \`config.log' for more details" "$LINENO" 5; }
3211 else
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3213 $as_echo "yes" >&6; }
3214 fi
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3216 $as_echo_n "checking for C compiler default output file name... " >&6; }
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3218 $as_echo "$ac_file" >&6; }
3219 ac_exeext=$ac_cv_exeext
3220
3221 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3222 ac_clean_files=$ac_clean_files_save
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3224 $as_echo_n "checking for suffix of executables... " >&6; }
3225 if { { ac_try="$ac_link"
3226 case "(($ac_try" in
3227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3228 *) ac_try_echo=$ac_try;;
3229 esac
3230 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3231 $as_echo "$ac_try_echo"; } >&5
3232 (eval "$ac_link") 2>&5
3233 ac_status=$?
3234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3235 test $ac_status = 0; }; then :
3236 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3237 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3238 # work properly (i.e., refer to `conftest.exe'), while it won't with
3239 # `rm'.
3240 for ac_file in conftest.exe conftest conftest.*; do
3241 test -f "$ac_file" || continue
3242 case $ac_file in
3243 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3244 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3245 break;;
3246 * ) break;;
3247 esac
3248 done
3249 else
3250 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3251 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3252 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3253 See \`config.log' for more details" "$LINENO" 5; }
3254 fi
3255 rm -f conftest conftest$ac_cv_exeext
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3257 $as_echo "$ac_cv_exeext" >&6; }
3258
3259 rm -f conftest.$ac_ext
3260 EXEEXT=$ac_cv_exeext
3261 ac_exeext=$EXEEXT
3262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3263 /* end confdefs.h. */
3264 #include <stdio.h>
3265 int
3266 main ()
3267 {
3268 FILE *f = fopen ("conftest.out", "w");
3269 return ferror (f) || fclose (f) != 0;
3270
3271 ;
3272 return 0;
3273 }
3274 _ACEOF
3275 ac_clean_files="$ac_clean_files conftest.out"
3276 # Check that the compiler produces executables we can run. If not, either
3277 # the compiler is broken, or we cross compile.
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3279 $as_echo_n "checking whether we are cross compiling... " >&6; }
3280 if test "$cross_compiling" != yes; then
3281 { { ac_try="$ac_link"
3282 case "(($ac_try" in
3283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3284 *) ac_try_echo=$ac_try;;
3285 esac
3286 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3287 $as_echo "$ac_try_echo"; } >&5
3288 (eval "$ac_link") 2>&5
3289 ac_status=$?
3290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3291 test $ac_status = 0; }
3292 if { ac_try='./conftest$ac_cv_exeext'
3293 { { case "(($ac_try" in
3294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3295 *) ac_try_echo=$ac_try;;
3296 esac
3297 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3298 $as_echo "$ac_try_echo"; } >&5
3299 (eval "$ac_try") 2>&5
3300 ac_status=$?
3301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3302 test $ac_status = 0; }; }; then
3303 cross_compiling=no
3304 else
3305 if test "$cross_compiling" = maybe; then
3306 cross_compiling=yes
3307 else
3308 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3310 as_fn_error $? "cannot run C compiled programs.
3311 If you meant to cross compile, use \`--host'.
3312 See \`config.log' for more details" "$LINENO" 5; }
3313 fi
3314 fi
3315 fi
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3317 $as_echo "$cross_compiling" >&6; }
3318
3319 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3320 ac_clean_files=$ac_clean_files_save
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3322 $as_echo_n "checking for suffix of object files... " >&6; }
3323 if ${ac_cv_objext+:} false; then :
3324 $as_echo_n "(cached) " >&6
3325 else
3326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3327 /* end confdefs.h. */
3328
3329 int
3330 main ()
3331 {
3332
3333 ;
3334 return 0;
3335 }
3336 _ACEOF
3337 rm -f conftest.o conftest.obj
3338 if { { ac_try="$ac_compile"
3339 case "(($ac_try" in
3340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3341 *) ac_try_echo=$ac_try;;
3342 esac
3343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3344 $as_echo "$ac_try_echo"; } >&5
3345 (eval "$ac_compile") 2>&5
3346 ac_status=$?
3347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3348 test $ac_status = 0; }; then :
3349 for ac_file in conftest.o conftest.obj conftest.*; do
3350 test -f "$ac_file" || continue;
3351 case $ac_file in
3352 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3353 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3354 break;;
3355 esac
3356 done
3357 else
3358 $as_echo "$as_me: failed program was:" >&5
3359 sed 's/^/| /' conftest.$ac_ext >&5
3360
3361 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3362 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3363 as_fn_error $? "cannot compute suffix of object files: cannot compile
3364 See \`config.log' for more details" "$LINENO" 5; }
3365 fi
3366 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3367 fi
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3369 $as_echo "$ac_cv_objext" >&6; }
3370 OBJEXT=$ac_cv_objext
3371 ac_objext=$OBJEXT
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3373 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3374 if ${ac_cv_c_compiler_gnu+:} false; then :
3375 $as_echo_n "(cached) " >&6
3376 else
3377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3378 /* end confdefs.h. */
3379
3380 int
3381 main ()
3382 {
3383 #ifndef __GNUC__
3384 choke me
3385 #endif
3386
3387 ;
3388 return 0;
3389 }
3390 _ACEOF
3391 if ac_fn_c_try_compile "$LINENO"; then :
3392 ac_compiler_gnu=yes
3393 else
3394 ac_compiler_gnu=no
3395 fi
3396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3397 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3398
3399 fi
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3401 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3402 if test $ac_compiler_gnu = yes; then
3403 GCC=yes
3404 else
3405 GCC=
3406 fi
3407 ac_test_CFLAGS=${CFLAGS+set}
3408 ac_save_CFLAGS=$CFLAGS
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3410 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3411 if ${ac_cv_prog_cc_g+:} false; then :
3412 $as_echo_n "(cached) " >&6
3413 else
3414 ac_save_c_werror_flag=$ac_c_werror_flag
3415 ac_c_werror_flag=yes
3416 ac_cv_prog_cc_g=no
3417 CFLAGS="-g"
3418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3419 /* end confdefs.h. */
3420
3421 int
3422 main ()
3423 {
3424
3425 ;
3426 return 0;
3427 }
3428 _ACEOF
3429 if ac_fn_c_try_compile "$LINENO"; then :
3430 ac_cv_prog_cc_g=yes
3431 else
3432 CFLAGS=""
3433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3434 /* end confdefs.h. */
3435
3436 int
3437 main ()
3438 {
3439
3440 ;
3441 return 0;
3442 }
3443 _ACEOF
3444 if ac_fn_c_try_compile "$LINENO"; then :
3445
3446 else
3447 ac_c_werror_flag=$ac_save_c_werror_flag
3448 CFLAGS="-g"
3449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3450 /* end confdefs.h. */
3451
3452 int
3453 main ()
3454 {
3455
3456 ;
3457 return 0;
3458 }
3459 _ACEOF
3460 if ac_fn_c_try_compile "$LINENO"; then :
3461 ac_cv_prog_cc_g=yes
3462 fi
3463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3464 fi
3465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3466 fi
3467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3468 ac_c_werror_flag=$ac_save_c_werror_flag
3469 fi
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3471 $as_echo "$ac_cv_prog_cc_g" >&6; }
3472 if test "$ac_test_CFLAGS" = set; then
3473 CFLAGS=$ac_save_CFLAGS
3474 elif test $ac_cv_prog_cc_g = yes; then
3475 if test "$GCC" = yes; then
3476 CFLAGS="-g -O2"
3477 else
3478 CFLAGS="-g"
3479 fi
3480 else
3481 if test "$GCC" = yes; then
3482 CFLAGS="-O2"
3483 else
3484 CFLAGS=
3485 fi
3486 fi
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3488 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3489 if ${ac_cv_prog_cc_c89+:} false; then :
3490 $as_echo_n "(cached) " >&6
3491 else
3492 ac_cv_prog_cc_c89=no
3493 ac_save_CC=$CC
3494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3495 /* end confdefs.h. */
3496 #include <stdarg.h>
3497 #include <stdio.h>
3498 struct stat;
3499 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3500 struct buf { int x; };
3501 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3502 static char *e (p, i)
3503 char **p;
3504 int i;
3505 {
3506 return p[i];
3507 }
3508 static char *f (char * (*g) (char **, int), char **p, ...)
3509 {
3510 char *s;
3511 va_list v;
3512 va_start (v,p);
3513 s = g (p, va_arg (v,int));
3514 va_end (v);
3515 return s;
3516 }
3517
3518 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3519 function prototypes and stuff, but not '\xHH' hex character constants.
3520 These don't provoke an error unfortunately, instead are silently treated
3521 as 'x'. The following induces an error, until -std is added to get
3522 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3523 array size at least. It's necessary to write '\x00'==0 to get something
3524 that's true only with -std. */
3525 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3526
3527 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3528 inside strings and character constants. */
3529 #define FOO(x) 'x'
3530 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3531
3532 int test (int i, double x);
3533 struct s1 {int (*f) (int a);};
3534 struct s2 {int (*f) (double a);};
3535 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3536 int argc;
3537 char **argv;
3538 int
3539 main ()
3540 {
3541 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3542 ;
3543 return 0;
3544 }
3545 _ACEOF
3546 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3547 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3548 do
3549 CC="$ac_save_CC $ac_arg"
3550 if ac_fn_c_try_compile "$LINENO"; then :
3551 ac_cv_prog_cc_c89=$ac_arg
3552 fi
3553 rm -f core conftest.err conftest.$ac_objext
3554 test "x$ac_cv_prog_cc_c89" != "xno" && break
3555 done
3556 rm -f conftest.$ac_ext
3557 CC=$ac_save_CC
3558
3559 fi
3560 # AC_CACHE_VAL
3561 case "x$ac_cv_prog_cc_c89" in
3562 x)
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3564 $as_echo "none needed" >&6; } ;;
3565 xno)
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3567 $as_echo "unsupported" >&6; } ;;
3568 *)
3569 CC="$CC $ac_cv_prog_cc_c89"
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3571 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3572 esac
3573 if test "x$ac_cv_prog_cc_c89" != xno; then :
3574
3575 fi
3576
3577 ac_ext=c
3578 ac_cpp='$CPP $CPPFLAGS'
3579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3582 DEPDIR="${am__leading_dot}deps"
3583
3584 ac_config_commands="$ac_config_commands depfiles"
3585
3586
3587 am_make=${MAKE-make}
3588 cat > confinc << 'END'
3589 am__doit:
3590 @echo this is the am__doit target
3591 .PHONY: am__doit
3592 END
3593 # If we don't find an include directive, just comment out the code.
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3595 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3596 am__include="#"
3597 am__quote=
3598 _am_result=none
3599 # First try GNU make style include.
3600 echo "include confinc" > confmf
3601 # Ignore all kinds of additional output from 'make'.
3602 case `$am_make -s -f confmf 2> /dev/null` in #(
3603 *the\ am__doit\ target*)
3604 am__include=include
3605 am__quote=
3606 _am_result=GNU
3607 ;;
3608 esac
3609 # Now try BSD make style include.
3610 if test "$am__include" = "#"; then
3611 echo '.include "confinc"' > confmf
3612 case `$am_make -s -f confmf 2> /dev/null` in #(
3613 *the\ am__doit\ target*)
3614 am__include=.include
3615 am__quote="\""
3616 _am_result=BSD
3617 ;;
3618 esac
3619 fi
3620
3621
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3623 $as_echo "$_am_result" >&6; }
3624 rm -f confinc confmf
3625
3626 # Check whether --enable-dependency-tracking was given.
3627 if test "${enable_dependency_tracking+set}" = set; then :
3628 enableval=$enable_dependency_tracking;
3629 fi
3630
3631 if test "x$enable_dependency_tracking" != xno; then
3632 am_depcomp="$ac_aux_dir/depcomp"
3633 AMDEPBACKSLASH='\'
3634 am__nodep='_no'
3635 fi
3636 if test "x$enable_dependency_tracking" != xno; then
3637 AMDEP_TRUE=
3638 AMDEP_FALSE='#'
3639 else
3640 AMDEP_TRUE='#'
3641 AMDEP_FALSE=
3642 fi
3643
3644
3645
3646 depcc="$CC" am_compiler_list=
3647
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3649 $as_echo_n "checking dependency style of $depcc... " >&6; }
3650 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3651 $as_echo_n "(cached) " >&6
3652 else
3653 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3654 # We make a subdir and do the tests there. Otherwise we can end up
3655 # making bogus files that we don't know about and never remove. For
3656 # instance it was reported that on HP-UX the gcc test will end up
3657 # making a dummy file named 'D' -- because '-MD' means "put the output
3658 # in D".
3659 rm -rf conftest.dir
3660 mkdir conftest.dir
3661 # Copy depcomp to subdir because otherwise we won't find it if we're
3662 # using a relative directory.
3663 cp "$am_depcomp" conftest.dir
3664 cd conftest.dir
3665 # We will build objects and dependencies in a subdirectory because
3666 # it helps to detect inapplicable dependency modes. For instance
3667 # both Tru64's cc and ICC support -MD to output dependencies as a
3668 # side effect of compilation, but ICC will put the dependencies in
3669 # the current directory while Tru64 will put them in the object
3670 # directory.
3671 mkdir sub
3672
3673 am_cv_CC_dependencies_compiler_type=none
3674 if test "$am_compiler_list" = ""; then
3675 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3676 fi
3677 am__universal=false
3678 case " $depcc " in #(
3679 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3680 esac
3681
3682 for depmode in $am_compiler_list; do
3683 # Setup a source with many dependencies, because some compilers
3684 # like to wrap large dependency lists on column 80 (with \), and
3685 # we should not choose a depcomp mode which is confused by this.
3686 #
3687 # We need to recreate these files for each test, as the compiler may
3688 # overwrite some of them when testing with obscure command lines.
3689 # This happens at least with the AIX C compiler.
3690 : > sub/conftest.c
3691 for i in 1 2 3 4 5 6; do
3692 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3693 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3694 # Solaris 10 /bin/sh.
3695 echo '/* dummy */' > sub/conftst$i.h
3696 done
3697 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3698
3699 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3700 # mode. It turns out that the SunPro C++ compiler does not properly
3701 # handle '-M -o', and we need to detect this. Also, some Intel
3702 # versions had trouble with output in subdirs.
3703 am__obj=sub/conftest.${OBJEXT-o}
3704 am__minus_obj="-o $am__obj"
3705 case $depmode in
3706 gcc)
3707 # This depmode causes a compiler race in universal mode.
3708 test "$am__universal" = false || continue
3709 ;;
3710 nosideeffect)
3711 # After this tag, mechanisms are not by side-effect, so they'll
3712 # only be used when explicitly requested.
3713 if test "x$enable_dependency_tracking" = xyes; then
3714 continue
3715 else
3716 break
3717 fi
3718 ;;
3719 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3720 # This compiler won't grok '-c -o', but also, the minuso test has
3721 # not run yet. These depmodes are late enough in the game, and
3722 # so weak that their functioning should not be impacted.
3723 am__obj=conftest.${OBJEXT-o}
3724 am__minus_obj=
3725 ;;
3726 none) break ;;
3727 esac
3728 if depmode=$depmode \
3729 source=sub/conftest.c object=$am__obj \
3730 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3731 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3732 >/dev/null 2>conftest.err &&
3733 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3734 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3735 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3736 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3737 # icc doesn't choke on unknown options, it will just issue warnings
3738 # or remarks (even with -Werror). So we grep stderr for any message
3739 # that says an option was ignored or not supported.
3740 # When given -MP, icc 7.0 and 7.1 complain thusly:
3741 # icc: Command line warning: ignoring option '-M'; no argument required
3742 # The diagnosis changed in icc 8.0:
3743 # icc: Command line remark: option '-MP' not supported
3744 if (grep 'ignoring option' conftest.err ||
3745 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3746 am_cv_CC_dependencies_compiler_type=$depmode
3747 break
3748 fi
3749 fi
3750 done
3751
3752 cd ..
3753 rm -rf conftest.dir
3754 else
3755 am_cv_CC_dependencies_compiler_type=none
3756 fi
3757
3758 fi
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3760 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3761 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3762
3763 if
3764 test "x$enable_dependency_tracking" != xno \
3765 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3766 am__fastdepCC_TRUE=
3767 am__fastdepCC_FALSE='#'
3768 else
3769 am__fastdepCC_TRUE='#'
3770 am__fastdepCC_FALSE=
3771 fi
3772
3773
3774 case $ac_cv_prog_cc_stdc in #(
3775 no) :
3776 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3777 *) :
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3779 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3780 if ${ac_cv_prog_cc_c99+:} false; then :
3781 $as_echo_n "(cached) " >&6
3782 else
3783 ac_cv_prog_cc_c99=no
3784 ac_save_CC=$CC
3785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3786 /* end confdefs.h. */
3787 #include <stdarg.h>
3788 #include <stdbool.h>
3789 #include <stdlib.h>
3790 #include <wchar.h>
3791 #include <stdio.h>
3792
3793 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3794 #define debug(...) fprintf (stderr, __VA_ARGS__)
3795 #define showlist(...) puts (#__VA_ARGS__)
3796 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3797 static void
3798 test_varargs_macros (void)
3799 {
3800 int x = 1234;
3801 int y = 5678;
3802 debug ("Flag");
3803 debug ("X = %d\n", x);
3804 showlist (The first, second, and third items.);
3805 report (x>y, "x is %d but y is %d", x, y);
3806 }
3807
3808 // Check long long types.
3809 #define BIG64 18446744073709551615ull
3810 #define BIG32 4294967295ul
3811 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3812 #if !BIG_OK
3813 your preprocessor is broken;
3814 #endif
3815 #if BIG_OK
3816 #else
3817 your preprocessor is broken;
3818 #endif
3819 static long long int bignum = -9223372036854775807LL;
3820 static unsigned long long int ubignum = BIG64;
3821
3822 struct incomplete_array
3823 {
3824 int datasize;
3825 double data[];
3826 };
3827
3828 struct named_init {
3829 int number;
3830 const wchar_t *name;
3831 double average;
3832 };
3833
3834 typedef const char *ccp;
3835
3836 static inline int
3837 test_restrict (ccp restrict text)
3838 {
3839 // See if C++-style comments work.
3840 // Iterate through items via the restricted pointer.
3841 // Also check for declarations in for loops.
3842 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3843 continue;
3844 return 0;
3845 }
3846
3847 // Check varargs and va_copy.
3848 static void
3849 test_varargs (const char *format, ...)
3850 {
3851 va_list args;
3852 va_start (args, format);
3853 va_list args_copy;
3854 va_copy (args_copy, args);
3855
3856 const char *str;
3857 int number;
3858 float fnumber;
3859
3860 while (*format)
3861 {
3862 switch (*format++)
3863 {
3864 case 's': // string
3865 str = va_arg (args_copy, const char *);
3866 break;
3867 case 'd': // int
3868 number = va_arg (args_copy, int);
3869 break;
3870 case 'f': // float
3871 fnumber = va_arg (args_copy, double);
3872 break;
3873 default:
3874 break;
3875 }
3876 }
3877 va_end (args_copy);
3878 va_end (args);
3879 }
3880
3881 int
3882 main ()
3883 {
3884
3885 // Check bool.
3886 _Bool success = false;
3887
3888 // Check restrict.
3889 if (test_restrict ("String literal") == 0)
3890 success = true;
3891 char *restrict newvar = "Another string";
3892
3893 // Check varargs.
3894 test_varargs ("s, d' f .", "string", 65, 34.234);
3895 test_varargs_macros ();
3896
3897 // Check flexible array members.
3898 struct incomplete_array *ia =
3899 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3900 ia->datasize = 10;
3901 for (int i = 0; i < ia->datasize; ++i)
3902 ia->data[i] = i * 1.234;
3903
3904 // Check named initializers.
3905 struct named_init ni = {
3906 .number = 34,
3907 .name = L"Test wide string",
3908 .average = 543.34343,
3909 };
3910
3911 ni.number = 58;
3912
3913 int dynamic_array[ni.number];
3914 dynamic_array[ni.number - 1] = 543;
3915
3916 // work around unused variable warnings
3917 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3918 || dynamic_array[ni.number - 1] != 543);
3919
3920 ;
3921 return 0;
3922 }
3923 _ACEOF
3924 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
3925 do
3926 CC="$ac_save_CC $ac_arg"
3927 if ac_fn_c_try_compile "$LINENO"; then :
3928 ac_cv_prog_cc_c99=$ac_arg
3929 fi
3930 rm -f core conftest.err conftest.$ac_objext
3931 test "x$ac_cv_prog_cc_c99" != "xno" && break
3932 done
3933 rm -f conftest.$ac_ext
3934 CC=$ac_save_CC
3935
3936 fi
3937 # AC_CACHE_VAL
3938 case "x$ac_cv_prog_cc_c99" in
3939 x)
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3941 $as_echo "none needed" >&6; } ;;
3942 xno)
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3944 $as_echo "unsupported" >&6; } ;;
3945 *)
3946 CC="$CC $ac_cv_prog_cc_c99"
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3948 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3949 esac
3950 if test "x$ac_cv_prog_cc_c99" != xno; then :
3951 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3952 else
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3954 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3955 if ${ac_cv_prog_cc_c89+:} false; then :
3956 $as_echo_n "(cached) " >&6
3957 else
3958 ac_cv_prog_cc_c89=no
3959 ac_save_CC=$CC
3960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3961 /* end confdefs.h. */
3962 #include <stdarg.h>
3963 #include <stdio.h>
3964 struct stat;
3965 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3966 struct buf { int x; };
3967 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3968 static char *e (p, i)
3969 char **p;
3970 int i;
3971 {
3972 return p[i];
3973 }
3974 static char *f (char * (*g) (char **, int), char **p, ...)
3975 {
3976 char *s;
3977 va_list v;
3978 va_start (v,p);
3979 s = g (p, va_arg (v,int));
3980 va_end (v);
3981 return s;
3982 }
3983
3984 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3985 function prototypes and stuff, but not '\xHH' hex character constants.
3986 These don't provoke an error unfortunately, instead are silently treated
3987 as 'x'. The following induces an error, until -std is added to get
3988 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3989 array size at least. It's necessary to write '\x00'==0 to get something
3990 that's true only with -std. */
3991 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3992
3993 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3994 inside strings and character constants. */
3995 #define FOO(x) 'x'
3996 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3997
3998 int test (int i, double x);
3999 struct s1 {int (*f) (int a);};
4000 struct s2 {int (*f) (double a);};
4001 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4002 int argc;
4003 char **argv;
4004 int
4005 main ()
4006 {
4007 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4008 ;
4009 return 0;
4010 }
4011 _ACEOF
4012 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4013 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4014 do
4015 CC="$ac_save_CC $ac_arg"
4016 if ac_fn_c_try_compile "$LINENO"; then :
4017 ac_cv_prog_cc_c89=$ac_arg
4018 fi
4019 rm -f core conftest.err conftest.$ac_objext
4020 test "x$ac_cv_prog_cc_c89" != "xno" && break
4021 done
4022 rm -f conftest.$ac_ext
4023 CC=$ac_save_CC
4024
4025 fi
4026 # AC_CACHE_VAL
4027 case "x$ac_cv_prog_cc_c89" in
4028 x)
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4030 $as_echo "none needed" >&6; } ;;
4031 xno)
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4033 $as_echo "unsupported" >&6; } ;;
4034 *)
4035 CC="$CC $ac_cv_prog_cc_c89"
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4037 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4038 esac
4039 if test "x$ac_cv_prog_cc_c89" != xno; then :
4040 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4041 else
4042 ac_cv_prog_cc_stdc=no
4043 fi
4044
4045 fi
4046 ;;
4047 esac
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4049 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4050 if ${ac_cv_prog_cc_stdc+:} false; then :
4051 $as_echo_n "(cached) " >&6
4052 fi
4053
4054 case $ac_cv_prog_cc_stdc in #(
4055 no) :
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4057 $as_echo "unsupported" >&6; } ;; #(
4058 '') :
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4060 $as_echo "none needed" >&6; } ;; #(
4061 *) :
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4063 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4064 esac
4065
4066
4067 # Checks for header files.
4068
4069 ac_ext=c
4070 ac_cpp='$CPP $CPPFLAGS'
4071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4075 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4076 # On Suns, sometimes $CPP names a directory.
4077 if test -n "$CPP" && test -d "$CPP"; then
4078 CPP=
4079 fi
4080 if test -z "$CPP"; then
4081 if ${ac_cv_prog_CPP+:} false; then :
4082 $as_echo_n "(cached) " >&6
4083 else
4084 # Double quotes because CPP needs to be expanded
4085 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4086 do
4087 ac_preproc_ok=false
4088 for ac_c_preproc_warn_flag in '' yes
4089 do
4090 # Use a header file that comes with gcc, so configuring glibc
4091 # with a fresh cross-compiler works.
4092 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4093 # <limits.h> exists even on freestanding compilers.
4094 # On the NeXT, cc -E runs the code through the compiler's parser,
4095 # not just through cpp. "Syntax error" is here to catch this case.
4096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4097 /* end confdefs.h. */
4098 #ifdef __STDC__
4099 # include <limits.h>
4100 #else
4101 # include <assert.h>
4102 #endif
4103 Syntax error
4104 _ACEOF
4105 if ac_fn_c_try_cpp "$LINENO"; then :
4106
4107 else
4108 # Broken: fails on valid input.
4109 continue
4110 fi
4111 rm -f conftest.err conftest.i conftest.$ac_ext
4112
4113 # OK, works on sane cases. Now check whether nonexistent headers
4114 # can be detected and how.
4115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4116 /* end confdefs.h. */
4117 #include <ac_nonexistent.h>
4118 _ACEOF
4119 if ac_fn_c_try_cpp "$LINENO"; then :
4120 # Broken: success on invalid input.
4121 continue
4122 else
4123 # Passes both tests.
4124 ac_preproc_ok=:
4125 break
4126 fi
4127 rm -f conftest.err conftest.i conftest.$ac_ext
4128
4129 done
4130 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4131 rm -f conftest.i conftest.err conftest.$ac_ext
4132 if $ac_preproc_ok; then :
4133 break
4134 fi
4135
4136 done
4137 ac_cv_prog_CPP=$CPP
4138
4139 fi
4140 CPP=$ac_cv_prog_CPP
4141 else
4142 ac_cv_prog_CPP=$CPP
4143 fi
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4145 $as_echo "$CPP" >&6; }
4146 ac_preproc_ok=false
4147 for ac_c_preproc_warn_flag in '' yes
4148 do
4149 # Use a header file that comes with gcc, so configuring glibc
4150 # with a fresh cross-compiler works.
4151 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4152 # <limits.h> exists even on freestanding compilers.
4153 # On the NeXT, cc -E runs the code through the compiler's parser,
4154 # not just through cpp. "Syntax error" is here to catch this case.
4155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4156 /* end confdefs.h. */
4157 #ifdef __STDC__
4158 # include <limits.h>
4159 #else
4160 # include <assert.h>
4161 #endif
4162 Syntax error
4163 _ACEOF
4164 if ac_fn_c_try_cpp "$LINENO"; then :
4165
4166 else
4167 # Broken: fails on valid input.
4168 continue
4169 fi
4170 rm -f conftest.err conftest.i conftest.$ac_ext
4171
4172 # OK, works on sane cases. Now check whether nonexistent headers
4173 # can be detected and how.
4174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4175 /* end confdefs.h. */
4176 #include <ac_nonexistent.h>
4177 _ACEOF
4178 if ac_fn_c_try_cpp "$LINENO"; then :
4179 # Broken: success on invalid input.
4180 continue
4181 else
4182 # Passes both tests.
4183 ac_preproc_ok=:
4184 break
4185 fi
4186 rm -f conftest.err conftest.i conftest.$ac_ext
4187
4188 done
4189 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4190 rm -f conftest.i conftest.err conftest.$ac_ext
4191 if $ac_preproc_ok; then :
4192
4193 else
4194 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4196 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4197 See \`config.log' for more details" "$LINENO" 5; }
4198 fi
4199
4200 ac_ext=c
4201 ac_cpp='$CPP $CPPFLAGS'
4202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4205
4206
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4208 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4209 if ${ac_cv_path_GREP+:} false; then :
4210 $as_echo_n "(cached) " >&6
4211 else
4212 if test -z "$GREP"; then
4213 ac_path_GREP_found=false
4214 # Loop through the user's path and test for each of PROGNAME-LIST
4215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4216 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4217 do
4218 IFS=$as_save_IFS
4219 test -z "$as_dir" && as_dir=.
4220 for ac_prog in grep ggrep; do
4221 for ac_exec_ext in '' $ac_executable_extensions; do
4222 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4223 as_fn_executable_p "$ac_path_GREP" || continue
4224 # Check for GNU ac_path_GREP and select it if it is found.
4225 # Check for GNU $ac_path_GREP
4226 case `"$ac_path_GREP" --version 2>&1` in
4227 *GNU*)
4228 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4229 *)
4230 ac_count=0
4231 $as_echo_n 0123456789 >"conftest.in"
4232 while :
4233 do
4234 cat "conftest.in" "conftest.in" >"conftest.tmp"
4235 mv "conftest.tmp" "conftest.in"
4236 cp "conftest.in" "conftest.nl"
4237 $as_echo 'GREP' >> "conftest.nl"
4238 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4239 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4240 as_fn_arith $ac_count + 1 && ac_count=$as_val
4241 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4242 # Best one so far, save it but keep looking for a better one
4243 ac_cv_path_GREP="$ac_path_GREP"
4244 ac_path_GREP_max=$ac_count
4245 fi
4246 # 10*(2^10) chars as input seems more than enough
4247 test $ac_count -gt 10 && break
4248 done
4249 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4250 esac
4251
4252 $ac_path_GREP_found && break 3
4253 done
4254 done
4255 done
4256 IFS=$as_save_IFS
4257 if test -z "$ac_cv_path_GREP"; then
4258 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4259 fi
4260 else
4261 ac_cv_path_GREP=$GREP
4262 fi
4263
4264 fi
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4266 $as_echo "$ac_cv_path_GREP" >&6; }
4267 GREP="$ac_cv_path_GREP"
4268
4269
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4271 $as_echo_n "checking for egrep... " >&6; }
4272 if ${ac_cv_path_EGREP+:} false; then :
4273 $as_echo_n "(cached) " >&6
4274 else
4275 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4276 then ac_cv_path_EGREP="$GREP -E"
4277 else
4278 if test -z "$EGREP"; then
4279 ac_path_EGREP_found=false
4280 # Loop through the user's path and test for each of PROGNAME-LIST
4281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4282 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4283 do
4284 IFS=$as_save_IFS
4285 test -z "$as_dir" && as_dir=.
4286 for ac_prog in egrep; do
4287 for ac_exec_ext in '' $ac_executable_extensions; do
4288 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4289 as_fn_executable_p "$ac_path_EGREP" || continue
4290 # Check for GNU ac_path_EGREP and select it if it is found.
4291 # Check for GNU $ac_path_EGREP
4292 case `"$ac_path_EGREP" --version 2>&1` in
4293 *GNU*)
4294 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4295 *)
4296 ac_count=0
4297 $as_echo_n 0123456789 >"conftest.in"
4298 while :
4299 do
4300 cat "conftest.in" "conftest.in" >"conftest.tmp"
4301 mv "conftest.tmp" "conftest.in"
4302 cp "conftest.in" "conftest.nl"
4303 $as_echo 'EGREP' >> "conftest.nl"
4304 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4305 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4306 as_fn_arith $ac_count + 1 && ac_count=$as_val
4307 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4308 # Best one so far, save it but keep looking for a better one
4309 ac_cv_path_EGREP="$ac_path_EGREP"
4310 ac_path_EGREP_max=$ac_count
4311 fi
4312 # 10*(2^10) chars as input seems more than enough
4313 test $ac_count -gt 10 && break
4314 done
4315 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4316 esac
4317
4318 $ac_path_EGREP_found && break 3
4319 done
4320 done
4321 done
4322 IFS=$as_save_IFS
4323 if test -z "$ac_cv_path_EGREP"; then
4324 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4325 fi
4326 else
4327 ac_cv_path_EGREP=$EGREP
4328 fi
4329
4330 fi
4331 fi
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4333 $as_echo "$ac_cv_path_EGREP" >&6; }
4334 EGREP="$ac_cv_path_EGREP"
4335
4336
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4338 $as_echo_n "checking for ANSI C header files... " >&6; }
4339 if ${ac_cv_header_stdc+:} false; then :
4340 $as_echo_n "(cached) " >&6
4341 else
4342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4343 /* end confdefs.h. */
4344 #include <stdlib.h>
4345 #include <stdarg.h>
4346 #include <string.h>
4347 #include <float.h>
4348
4349 int
4350 main ()
4351 {
4352
4353 ;
4354 return 0;
4355 }
4356 _ACEOF
4357 if ac_fn_c_try_compile "$LINENO"; then :
4358 ac_cv_header_stdc=yes
4359 else
4360 ac_cv_header_stdc=no
4361 fi
4362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4363
4364 if test $ac_cv_header_stdc = yes; then
4365 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4367 /* end confdefs.h. */
4368 #include <string.h>
4369
4370 _ACEOF
4371 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4372 $EGREP "memchr" >/dev/null 2>&1; then :
4373
4374 else
4375 ac_cv_header_stdc=no
4376 fi
4377 rm -f conftest*
4378
4379 fi
4380
4381 if test $ac_cv_header_stdc = yes; then
4382 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4384 /* end confdefs.h. */
4385 #include <stdlib.h>
4386
4387 _ACEOF
4388 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4389 $EGREP "free" >/dev/null 2>&1; then :
4390
4391 else
4392 ac_cv_header_stdc=no
4393 fi
4394 rm -f conftest*
4395
4396 fi
4397
4398 if test $ac_cv_header_stdc = yes; then
4399 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4400 if test "$cross_compiling" = yes; then :
4401 :
4402 else
4403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4404 /* end confdefs.h. */
4405 #include <ctype.h>
4406 #include <stdlib.h>
4407 #if ((' ' & 0x0FF) == 0x020)
4408 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4409 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4410 #else
4411 # define ISLOWER(c) \
4412 (('a' <= (c) && (c) <= 'i') \
4413 || ('j' <= (c) && (c) <= 'r') \
4414 || ('s' <= (c) && (c) <= 'z'))
4415 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4416 #endif
4417
4418 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4419 int
4420 main ()
4421 {
4422 int i;
4423 for (i = 0; i < 256; i++)
4424 if (XOR (islower (i), ISLOWER (i))
4425 || toupper (i) != TOUPPER (i))
4426 return 2;
4427 return 0;
4428 }
4429 _ACEOF
4430 if ac_fn_c_try_run "$LINENO"; then :
4431
4432 else
4433 ac_cv_header_stdc=no
4434 fi
4435 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4436 conftest.$ac_objext conftest.beam conftest.$ac_ext
4437 fi
4438
4439 fi
4440 fi
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4442 $as_echo "$ac_cv_header_stdc" >&6; }
4443 if test $ac_cv_header_stdc = yes; then
4444
4445 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4446
4447 fi
4448
4449 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4450 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4451 inttypes.h stdint.h unistd.h
4452 do :
4453 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4454 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4455 "
4456 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4457 cat >>confdefs.h <<_ACEOF
4458 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4459 _ACEOF
4460
4461 fi
4462
4463 done
4464
4465
4466 for ac_header in stdlib.h string.h dirent.h regex.h
4467 do :
4468 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4469 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4470 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4471 cat >>confdefs.h <<_ACEOF
4472 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4473 _ACEOF
4474
4475 fi
4476
4477 done
4478
4479
4480 # Checks for typedefs, structures, and compiler characteristics.
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
4482 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4483 if ${ac_cv_header_stdbool_h+:} false; then :
4484 $as_echo_n "(cached) " >&6
4485 else
4486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4487 /* end confdefs.h. */
4488
4489 #include <stdbool.h>
4490 #ifndef bool
4491 "error: bool is not defined"
4492 #endif
4493 #ifndef false
4494 "error: false is not defined"
4495 #endif
4496 #if false
4497 "error: false is not 0"
4498 #endif
4499 #ifndef true
4500 "error: true is not defined"
4501 #endif
4502 #if true != 1
4503 "error: true is not 1"
4504 #endif
4505 #ifndef __bool_true_false_are_defined
4506 "error: __bool_true_false_are_defined is not defined"
4507 #endif
4508
4509 struct s { _Bool s: 1; _Bool t; } s;
4510
4511 char a[true == 1 ? 1 : -1];
4512 char b[false == 0 ? 1 : -1];
4513 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4514 char d[(bool) 0.5 == true ? 1 : -1];
4515 /* See body of main program for 'e'. */
4516 char f[(_Bool) 0.0 == false ? 1 : -1];
4517 char g[true];
4518 char h[sizeof (_Bool)];
4519 char i[sizeof s.t];
4520 enum { j = false, k = true, l = false * true, m = true * 256 };
4521 /* The following fails for
4522 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4523 _Bool n[m];
4524 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4525 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4526 /* Catch a bug in an HP-UX C compiler. See
4527 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4528 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4529 */
4530 _Bool q = true;
4531 _Bool *pq = &q;
4532
4533 int
4534 main ()
4535 {
4536
4537 bool e = &s;
4538 *pq |= q;
4539 *pq |= ! q;
4540 /* Refer to every declared value, to avoid compiler optimizations. */
4541 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4542 + !m + !n + !o + !p + !q + !pq);
4543
4544 ;
4545 return 0;
4546 }
4547 _ACEOF
4548 if ac_fn_c_try_compile "$LINENO"; then :
4549 ac_cv_header_stdbool_h=yes
4550 else
4551 ac_cv_header_stdbool_h=no
4552 fi
4553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4554 fi
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
4556 $as_echo "$ac_cv_header_stdbool_h" >&6; }
4557 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
4558 if test "x$ac_cv_type__Bool" = xyes; then :
4559
4560 cat >>confdefs.h <<_ACEOF
4561 #define HAVE__BOOL 1
4562 _ACEOF
4563
4564
4565 fi
4566
4567
4568 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4569 if test "x$ac_cv_type_size_t" = xyes; then :
4570
4571 else
4572
4573 cat >>confdefs.h <<_ACEOF
4574 #define size_t unsigned int
4575 _ACEOF
4576
4577 fi
4578
4579
4580 # Checks for library functions.
4581 for ac_header in stdlib.h
4582 do :
4583 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
4584 if test "x$ac_cv_header_stdlib_h" = xyes; then :
4585 cat >>confdefs.h <<_ACEOF
4586 #define HAVE_STDLIB_H 1
4587 _ACEOF
4588
4589 fi
4590
4591 done
4592
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
4594 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
4595 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
4596 $as_echo_n "(cached) " >&6
4597 else
4598 if test "$cross_compiling" = yes; then :
4599 ac_cv_func_malloc_0_nonnull=no
4600 else
4601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4602 /* end confdefs.h. */
4603 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
4604 # include <stdlib.h>
4605 #else
4606 char *malloc ();
4607 #endif
4608
4609 int
4610 main ()
4611 {
4612 return ! malloc (0);
4613 ;
4614 return 0;
4615 }
4616 _ACEOF
4617 if ac_fn_c_try_run "$LINENO"; then :
4618 ac_cv_func_malloc_0_nonnull=yes
4619 else
4620 ac_cv_func_malloc_0_nonnull=no
4621 fi
4622 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4623 conftest.$ac_objext conftest.beam conftest.$ac_ext
4624 fi
4625
4626 fi
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
4628 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
4629 if test $ac_cv_func_malloc_0_nonnull = yes; then :
4630
4631 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
4632
4633 else
4634 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
4635
4636 case " $LIBOBJS " in
4637 *" malloc.$ac_objext "* ) ;;
4638 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
4639 ;;
4640 esac
4641
4642
4643 $as_echo "#define malloc rpl_malloc" >>confdefs.h
4644
4645 fi
4646
4647
4648 for ac_header in stdlib.h
4649 do :
4650 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
4651 if test "x$ac_cv_header_stdlib_h" = xyes; then :
4652 cat >>confdefs.h <<_ACEOF
4653 #define HAVE_STDLIB_H 1
4654 _ACEOF
4655
4656 fi
4657
4658 done
4659
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
4661 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
4662 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
4663 $as_echo_n "(cached) " >&6
4664 else
4665 if test "$cross_compiling" = yes; then :
4666 ac_cv_func_realloc_0_nonnull=no
4667 else
4668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4669 /* end confdefs.h. */
4670 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
4671 # include <stdlib.h>
4672 #else
4673 char *realloc ();
4674 #endif
4675
4676 int
4677 main ()
4678 {
4679 return ! realloc (0, 0);
4680 ;
4681 return 0;
4682 }
4683 _ACEOF
4684 if ac_fn_c_try_run "$LINENO"; then :
4685 ac_cv_func_realloc_0_nonnull=yes
4686 else
4687 ac_cv_func_realloc_0_nonnull=no
4688 fi
4689 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4690 conftest.$ac_objext conftest.beam conftest.$ac_ext
4691 fi
4692
4693 fi
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
4695 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
4696 if test $ac_cv_func_realloc_0_nonnull = yes; then :
4697
4698 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
4699
4700 else
4701 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
4702
4703 case " $LIBOBJS " in
4704 *" realloc.$ac_objext "* ) ;;
4705 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
4706 ;;
4707 esac
4708
4709
4710 $as_echo "#define realloc rpl_realloc" >>confdefs.h
4711
4712 fi
4713
4714
4715 for ac_func in memset regcomp strcasecmp strchr
4716 do :
4717 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4718 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4719 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
4720 cat >>confdefs.h <<_ACEOF
4721 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4722 _ACEOF
4723
4724 fi
4725 done
4726
4727
4728 ac_config_files="$ac_config_files Makefile src/Makefile"
4729
4730 cat >confcache <<\_ACEOF
4731 # This file is a shell script that caches the results of configure
4732 # tests run on this system so they can be shared between configure
4733 # scripts and configure runs, see configure's option --config-cache.
4734 # It is not useful on other systems. If it contains results you don't
4735 # want to keep, you may remove or edit it.
4736 #
4737 # config.status only pays attention to the cache file if you give it
4738 # the --recheck option to rerun configure.
4739 #
4740 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4741 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4742 # following values.
4743
4744 _ACEOF
4745
4746 # The following way of writing the cache mishandles newlines in values,
4747 # but we know of no workaround that is simple, portable, and efficient.
4748 # So, we kill variables containing newlines.
4749 # Ultrix sh set writes to stderr and can't be redirected directly,
4750 # and sets the high bit in the cache file unless we assign to the vars.
4751 (
4752 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4753 eval ac_val=\$$ac_var
4754 case $ac_val in #(
4755 *${as_nl}*)
4756 case $ac_var in #(
4757 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4758 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4759 esac
4760 case $ac_var in #(
4761 _ | IFS | as_nl) ;; #(
4762 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4763 *) { eval $ac_var=; unset $ac_var;} ;;
4764 esac ;;
4765 esac
4766 done
4767
4768 (set) 2>&1 |
4769 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4770 *${as_nl}ac_space=\ *)
4771 # `set' does not quote correctly, so add quotes: double-quote
4772 # substitution turns \\\\ into \\, and sed turns \\ into \.
4773 sed -n \
4774 "s/'/'\\\\''/g;
4775 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4776 ;; #(
4777 *)
4778 # `set' quotes correctly as required by POSIX, so do not add quotes.
4779 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4780 ;;
4781 esac |
4782 sort
4783 ) |
4784 sed '
4785 /^ac_cv_env_/b end
4786 t clear
4787 :clear
4788 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4789 t end
4790 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4791 :end' >>confcache
4792 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4793 if test -w "$cache_file"; then
4794 if test "x$cache_file" != "x/dev/null"; then
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4796 $as_echo "$as_me: updating cache $cache_file" >&6;}
4797 if test ! -f "$cache_file" || test -h "$cache_file"; then
4798 cat confcache >"$cache_file"
4799 else
4800 case $cache_file in #(
4801 */* | ?:*)
4802 mv -f confcache "$cache_file"$$ &&
4803 mv -f "$cache_file"$$ "$cache_file" ;; #(
4804 *)
4805 mv -f confcache "$cache_file" ;;
4806 esac
4807 fi
4808 fi
4809 else
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4811 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4812 fi
4813 fi
4814 rm -f confcache
4815
4816 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4817 # Let make expand exec_prefix.
4818 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4819
4820 DEFS=-DHAVE_CONFIG_H
4821
4822 ac_libobjs=
4823 ac_ltlibobjs=
4824 U=
4825 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4826 # 1. Remove the extension, and $U if already installed.
4827 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4828 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4829 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4830 # will be set to the directory where LIBOBJS objects are built.
4831 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4832 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4833 done
4834 LIBOBJS=$ac_libobjs
4835
4836 LTLIBOBJS=$ac_ltlibobjs
4837
4838
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
4840 $as_echo_n "checking that generated files are newer than configure... " >&6; }
4841 if test -n "$am_sleep_pid"; then
4842 # Hide warnings about reused PIDs.
4843 wait $am_sleep_pid 2>/dev/null
4844 fi
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
4846 $as_echo "done" >&6; }
4847 if test -n "$EXEEXT"; then
4848 am__EXEEXT_TRUE=
4849 am__EXEEXT_FALSE='#'
4850 else
4851 am__EXEEXT_TRUE='#'
4852 am__EXEEXT_FALSE=
4853 fi
4854
4855 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
4856 as_fn_error $? "conditional \"DEBUG\" was never defined.
4857 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4858 fi
4859 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4860 as_fn_error $? "conditional \"AMDEP\" was never defined.
4861 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4862 fi
4863 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4864 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4865 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4866 fi
4867
4868 : "${CONFIG_STATUS=./config.status}"
4869 ac_write_fail=0
4870 ac_clean_files_save=$ac_clean_files
4871 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4873 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4874 as_write_fail=0
4875 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4876 #! $SHELL
4877 # Generated by $as_me.
4878 # Run this file to recreate the current configuration.
4879 # Compiler output produced by configure, useful for debugging
4880 # configure, is in config.log if it exists.
4881
4882 debug=false
4883 ac_cs_recheck=false
4884 ac_cs_silent=false
4885
4886 SHELL=\${CONFIG_SHELL-$SHELL}
4887 export SHELL
4888 _ASEOF
4889 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4890 ## -------------------- ##
4891 ## M4sh Initialization. ##
4892 ## -------------------- ##
4893
4894 # Be more Bourne compatible
4895 DUALCASE=1; export DUALCASE # for MKS sh
4896 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4897 emulate sh
4898 NULLCMD=:
4899 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4900 # is contrary to our usage. Disable this feature.
4901 alias -g '${1+"$@"}'='"$@"'
4902 setopt NO_GLOB_SUBST
4903 else
4904 case `(set -o) 2>/dev/null` in #(
4905 *posix*) :
4906 set -o posix ;; #(
4907 *) :
4908 ;;
4909 esac
4910 fi
4911
4912
4913 as_nl='
4914 '
4915 export as_nl
4916 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4917 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4918 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4919 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4920 # Prefer a ksh shell builtin over an external printf program on Solaris,
4921 # but without wasting forks for bash or zsh.
4922 if test -z "$BASH_VERSION$ZSH_VERSION" \
4923 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4924 as_echo='print -r --'
4925 as_echo_n='print -rn --'
4926 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4927 as_echo='printf %s\n'
4928 as_echo_n='printf %s'
4929 else
4930 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4931 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4932 as_echo_n='/usr/ucb/echo -n'
4933 else
4934 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4935 as_echo_n_body='eval
4936 arg=$1;
4937 case $arg in #(
4938 *"$as_nl"*)
4939 expr "X$arg" : "X\\(.*\\)$as_nl";
4940 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4941 esac;
4942 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4943 '
4944 export as_echo_n_body
4945 as_echo_n='sh -c $as_echo_n_body as_echo'
4946 fi
4947 export as_echo_body
4948 as_echo='sh -c $as_echo_body as_echo'
4949 fi
4950
4951 # The user is always right.
4952 if test "${PATH_SEPARATOR+set}" != set; then
4953 PATH_SEPARATOR=:
4954 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4955 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4956 PATH_SEPARATOR=';'
4957 }
4958 fi
4959
4960
4961 # IFS
4962 # We need space, tab and new line, in precisely that order. Quoting is
4963 # there to prevent editors from complaining about space-tab.
4964 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4965 # splitting by setting IFS to empty value.)
4966 IFS=" "" $as_nl"
4967
4968 # Find who we are. Look in the path if we contain no directory separator.
4969 as_myself=
4970 case $0 in #((
4971 *[\\/]* ) as_myself=$0 ;;
4972 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4973 for as_dir in $PATH
4974 do
4975 IFS=$as_save_IFS
4976 test -z "$as_dir" && as_dir=.
4977 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4978 done
4979 IFS=$as_save_IFS
4980
4981 ;;
4982 esac
4983 # We did not find ourselves, most probably we were run as `sh COMMAND'
4984 # in which case we are not to be found in the path.
4985 if test "x$as_myself" = x; then
4986 as_myself=$0
4987 fi
4988 if test ! -f "$as_myself"; then
4989 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4990 exit 1
4991 fi
4992
4993 # Unset variables that we do not need and which cause bugs (e.g. in
4994 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4995 # suppresses any "Segmentation fault" message there. '((' could
4996 # trigger a bug in pdksh 5.2.14.
4997 for as_var in BASH_ENV ENV MAIL MAILPATH
4998 do eval test x\${$as_var+set} = xset \
4999 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5000 done
5001 PS1='$ '
5002 PS2='> '
5003 PS4='+ '
5004
5005 # NLS nuisances.
5006 LC_ALL=C
5007 export LC_ALL
5008 LANGUAGE=C
5009 export LANGUAGE
5010
5011 # CDPATH.
5012 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5013
5014
5015 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5016 # ----------------------------------------
5017 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5018 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5019 # script with STATUS, using 1 if that was 0.
5020 as_fn_error ()
5021 {
5022 as_status=$1; test $as_status -eq 0 && as_status=1
5023 if test "$4"; then
5024 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5025 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5026 fi
5027 $as_echo "$as_me: error: $2" >&2
5028 as_fn_exit $as_status
5029 } # as_fn_error
5030
5031
5032 # as_fn_set_status STATUS
5033 # -----------------------
5034 # Set $? to STATUS, without forking.
5035 as_fn_set_status ()
5036 {
5037 return $1
5038 } # as_fn_set_status
5039
5040 # as_fn_exit STATUS
5041 # -----------------
5042 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5043 as_fn_exit ()
5044 {
5045 set +e
5046 as_fn_set_status $1
5047 exit $1
5048 } # as_fn_exit
5049
5050 # as_fn_unset VAR
5051 # ---------------
5052 # Portably unset VAR.
5053 as_fn_unset ()
5054 {
5055 { eval $1=; unset $1;}
5056 }
5057 as_unset=as_fn_unset
5058 # as_fn_append VAR VALUE
5059 # ----------------------
5060 # Append the text in VALUE to the end of the definition contained in VAR. Take
5061 # advantage of any shell optimizations that allow amortized linear growth over
5062 # repeated appends, instead of the typical quadratic growth present in naive
5063 # implementations.
5064 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5065 eval 'as_fn_append ()
5066 {
5067 eval $1+=\$2
5068 }'
5069 else
5070 as_fn_append ()
5071 {
5072 eval $1=\$$1\$2
5073 }
5074 fi # as_fn_append
5075
5076 # as_fn_arith ARG...
5077 # ------------------
5078 # Perform arithmetic evaluation on the ARGs, and store the result in the
5079 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5080 # must be portable across $(()) and expr.
5081 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5082 eval 'as_fn_arith ()
5083 {
5084 as_val=$(( $* ))
5085 }'
5086 else
5087 as_fn_arith ()
5088 {
5089 as_val=`expr "$@" || test $? -eq 1`
5090 }
5091 fi # as_fn_arith
5092
5093
5094 if expr a : '\(a\)' >/dev/null 2>&1 &&
5095 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5096 as_expr=expr
5097 else
5098 as_expr=false
5099 fi
5100
5101 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5102 as_basename=basename
5103 else
5104 as_basename=false
5105 fi
5106
5107 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5108 as_dirname=dirname
5109 else
5110 as_dirname=false
5111 fi
5112
5113 as_me=`$as_basename -- "$0" ||
5114 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5115 X"$0" : 'X\(//\)$' \| \
5116 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5117 $as_echo X/"$0" |
5118 sed '/^.*\/\([^/][^/]*\)\/*$/{
5119 s//\1/
5120 q
5121 }
5122 /^X\/\(\/\/\)$/{
5123 s//\1/
5124 q
5125 }
5126 /^X\/\(\/\).*/{
5127 s//\1/
5128 q
5129 }
5130 s/.*/./; q'`
5131
5132 # Avoid depending upon Character Ranges.
5133 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5134 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5135 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5136 as_cr_digits='0123456789'
5137 as_cr_alnum=$as_cr_Letters$as_cr_digits
5138
5139 ECHO_C= ECHO_N= ECHO_T=
5140 case `echo -n x` in #(((((
5141 -n*)
5142 case `echo 'xy\c'` in
5143 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5144 xy) ECHO_C='\c';;
5145 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5146 ECHO_T=' ';;
5147 esac;;
5148 *)
5149 ECHO_N='-n';;
5150 esac
5151
5152 rm -f conf$$ conf$$.exe conf$$.file
5153 if test -d conf$$.dir; then
5154 rm -f conf$$.dir/conf$$.file
5155 else
5156 rm -f conf$$.dir
5157 mkdir conf$$.dir 2>/dev/null
5158 fi
5159 if (echo >conf$$.file) 2>/dev/null; then
5160 if ln -s conf$$.file conf$$ 2>/dev/null; then
5161 as_ln_s='ln -s'
5162 # ... but there are two gotchas:
5163 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5164 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5165 # In both cases, we have to default to `cp -pR'.
5166 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5167 as_ln_s='cp -pR'
5168 elif ln conf$$.file conf$$ 2>/dev/null; then
5169 as_ln_s=ln
5170 else
5171 as_ln_s='cp -pR'
5172 fi
5173 else
5174 as_ln_s='cp -pR'
5175 fi
5176 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5177 rmdir conf$$.dir 2>/dev/null
5178
5179
5180 # as_fn_mkdir_p
5181 # -------------
5182 # Create "$as_dir" as a directory, including parents if necessary.
5183 as_fn_mkdir_p ()
5184 {
5185
5186 case $as_dir in #(
5187 -*) as_dir=./$as_dir;;
5188 esac
5189 test -d "$as_dir" || eval $as_mkdir_p || {
5190 as_dirs=
5191 while :; do
5192 case $as_dir in #(
5193 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5194 *) as_qdir=$as_dir;;
5195 esac
5196 as_dirs="'$as_qdir' $as_dirs"
5197 as_dir=`$as_dirname -- "$as_dir" ||
5198 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5199 X"$as_dir" : 'X\(//\)[^/]' \| \
5200 X"$as_dir" : 'X\(//\)$' \| \
5201 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5202 $as_echo X"$as_dir" |
5203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5204 s//\1/
5205 q
5206 }
5207 /^X\(\/\/\)[^/].*/{
5208 s//\1/
5209 q
5210 }
5211 /^X\(\/\/\)$/{
5212 s//\1/
5213 q
5214 }
5215 /^X\(\/\).*/{
5216 s//\1/
5217 q
5218 }
5219 s/.*/./; q'`
5220 test -d "$as_dir" && break
5221 done
5222 test -z "$as_dirs" || eval "mkdir $as_dirs"
5223 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5224
5225
5226 } # as_fn_mkdir_p
5227 if mkdir -p . 2>/dev/null; then
5228 as_mkdir_p='mkdir -p "$as_dir"'
5229 else
5230 test -d ./-p && rmdir ./-p
5231 as_mkdir_p=false
5232 fi
5233
5234
5235 # as_fn_executable_p FILE
5236 # -----------------------
5237 # Test if FILE is an executable regular file.
5238 as_fn_executable_p ()
5239 {
5240 test -f "$1" && test -x "$1"
5241 } # as_fn_executable_p
5242 as_test_x='test -x'
5243 as_executable_p=as_fn_executable_p
5244
5245 # Sed expression to map a string onto a valid CPP name.
5246 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5247
5248 # Sed expression to map a string onto a valid variable name.
5249 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5250
5251
5252 exec 6>&1
5253 ## ----------------------------------- ##
5254 ## Main body of $CONFIG_STATUS script. ##
5255 ## ----------------------------------- ##
5256 _ASEOF
5257 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5258
5259 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5260 # Save the log message, to keep $0 and so on meaningful, and to
5261 # report actual input values of CONFIG_FILES etc. instead of their
5262 # values after options handling.
5263 ac_log="
5264 This file was extended by cline $as_me 1.1, which was
5265 generated by GNU Autoconf 2.69. Invocation command line was
5266
5267 CONFIG_FILES = $CONFIG_FILES
5268 CONFIG_HEADERS = $CONFIG_HEADERS
5269 CONFIG_LINKS = $CONFIG_LINKS
5270 CONFIG_COMMANDS = $CONFIG_COMMANDS
5271 $ $0 $@
5272
5273 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5274 "
5275
5276 _ACEOF
5277
5278 case $ac_config_files in *"
5279 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5280 esac
5281
5282 case $ac_config_headers in *"
5283 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5284 esac
5285
5286
5287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5288 # Files that config.status was made for.
5289 config_files="$ac_config_files"
5290 config_headers="$ac_config_headers"
5291 config_commands="$ac_config_commands"
5292
5293 _ACEOF
5294
5295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5296 ac_cs_usage="\
5297 \`$as_me' instantiates files and other configuration actions
5298 from templates according to the current configuration. Unless the files
5299 and actions are specified as TAGs, all are instantiated by default.
5300
5301 Usage: $0 [OPTION]... [TAG]...
5302
5303 -h, --help print this help, then exit
5304 -V, --version print version number and configuration settings, then exit
5305 --config print configuration, then exit
5306 -q, --quiet, --silent
5307 do not print progress messages
5308 -d, --debug don't remove temporary files
5309 --recheck update $as_me by reconfiguring in the same conditions
5310 --file=FILE[:TEMPLATE]
5311 instantiate the configuration file FILE
5312 --header=FILE[:TEMPLATE]
5313 instantiate the configuration header FILE
5314
5315 Configuration files:
5316 $config_files
5317
5318 Configuration headers:
5319 $config_headers
5320
5321 Configuration commands:
5322 $config_commands
5323
5324 Report bugs to <universe@uap-core.de>."
5325
5326 _ACEOF
5327 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5328 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5329 ac_cs_version="\\
5330 cline config.status 1.1
5331 configured by $0, generated by GNU Autoconf 2.69,
5332 with options \\"\$ac_cs_config\\"
5333
5334 Copyright (C) 2012 Free Software Foundation, Inc.
5335 This config.status script is free software; the Free Software Foundation
5336 gives unlimited permission to copy, distribute and modify it."
5337
5338 ac_pwd='$ac_pwd'
5339 srcdir='$srcdir'
5340 INSTALL='$INSTALL'
5341 MKDIR_P='$MKDIR_P'
5342 AWK='$AWK'
5343 test -n "\$AWK" || AWK=awk
5344 _ACEOF
5345
5346 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5347 # The default lists apply if the user does not specify any file.
5348 ac_need_defaults=:
5349 while test $# != 0
5350 do
5351 case $1 in
5352 --*=?*)
5353 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5354 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5355 ac_shift=:
5356 ;;
5357 --*=)
5358 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5359 ac_optarg=
5360 ac_shift=:
5361 ;;
5362 *)
5363 ac_option=$1
5364 ac_optarg=$2
5365 ac_shift=shift
5366 ;;
5367 esac
5368
5369 case $ac_option in
5370 # Handling of the options.
5371 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5372 ac_cs_recheck=: ;;
5373 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5374 $as_echo "$ac_cs_version"; exit ;;
5375 --config | --confi | --conf | --con | --co | --c )
5376 $as_echo "$ac_cs_config"; exit ;;
5377 --debug | --debu | --deb | --de | --d | -d )
5378 debug=: ;;
5379 --file | --fil | --fi | --f )
5380 $ac_shift
5381 case $ac_optarg in
5382 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5383 '') as_fn_error $? "missing file argument" ;;
5384 esac
5385 as_fn_append CONFIG_FILES " '$ac_optarg'"
5386 ac_need_defaults=false;;
5387 --header | --heade | --head | --hea )
5388 $ac_shift
5389 case $ac_optarg in
5390 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5391 esac
5392 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5393 ac_need_defaults=false;;
5394 --he | --h)
5395 # Conflict between --help and --header
5396 as_fn_error $? "ambiguous option: \`$1'
5397 Try \`$0 --help' for more information.";;
5398 --help | --hel | -h )
5399 $as_echo "$ac_cs_usage"; exit ;;
5400 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5401 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5402 ac_cs_silent=: ;;
5403
5404 # This is an error.
5405 -*) as_fn_error $? "unrecognized option: \`$1'
5406 Try \`$0 --help' for more information." ;;
5407
5408 *) as_fn_append ac_config_targets " $1"
5409 ac_need_defaults=false ;;
5410
5411 esac
5412 shift
5413 done
5414
5415 ac_configure_extra_args=
5416
5417 if $ac_cs_silent; then
5418 exec 6>/dev/null
5419 ac_configure_extra_args="$ac_configure_extra_args --silent"
5420 fi
5421
5422 _ACEOF
5423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5424 if \$ac_cs_recheck; then
5425 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5426 shift
5427 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5428 CONFIG_SHELL='$SHELL'
5429 export CONFIG_SHELL
5430 exec "\$@"
5431 fi
5432
5433 _ACEOF
5434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5435 exec 5>>config.log
5436 {
5437 echo
5438 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5439 ## Running $as_me. ##
5440 _ASBOX
5441 $as_echo "$ac_log"
5442 } >&5
5443
5444 _ACEOF
5445 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5446 #
5447 # INIT-COMMANDS
5448 #
5449 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5450
5451 _ACEOF
5452
5453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5454
5455 # Handling of arguments.
5456 for ac_config_target in $ac_config_targets
5457 do
5458 case $ac_config_target in
5459 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5460 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5461 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5462 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5463
5464 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5465 esac
5466 done
5467
5468
5469 # If the user did not use the arguments to specify the items to instantiate,
5470 # then the envvar interface is used. Set only those that are not.
5471 # We use the long form for the default assignment because of an extremely
5472 # bizarre bug on SunOS 4.1.3.
5473 if $ac_need_defaults; then
5474 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5475 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5476 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5477 fi
5478
5479 # Have a temporary directory for convenience. Make it in the build tree
5480 # simply because there is no reason against having it here, and in addition,
5481 # creating and moving files from /tmp can sometimes cause problems.
5482 # Hook for its removal unless debugging.
5483 # Note that there is a small window in which the directory will not be cleaned:
5484 # after its creation but before its name has been assigned to `$tmp'.
5485 $debug ||
5486 {
5487 tmp= ac_tmp=
5488 trap 'exit_status=$?
5489 : "${ac_tmp:=$tmp}"
5490 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5491 ' 0
5492 trap 'as_fn_exit 1' 1 2 13 15
5493 }
5494 # Create a (secure) tmp directory for tmp files.
5495
5496 {
5497 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5498 test -d "$tmp"
5499 } ||
5500 {
5501 tmp=./conf$$-$RANDOM
5502 (umask 077 && mkdir "$tmp")
5503 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5504 ac_tmp=$tmp
5505
5506 # Set up the scripts for CONFIG_FILES section.
5507 # No need to generate them if there are no CONFIG_FILES.
5508 # This happens for instance with `./config.status config.h'.
5509 if test -n "$CONFIG_FILES"; then
5510
5511
5512 ac_cr=`echo X | tr X '\015'`
5513 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5514 # But we know of no other shell where ac_cr would be empty at this
5515 # point, so we can use a bashism as a fallback.
5516 if test "x$ac_cr" = x; then
5517 eval ac_cr=\$\'\\r\'
5518 fi
5519 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5520 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5521 ac_cs_awk_cr='\\r'
5522 else
5523 ac_cs_awk_cr=$ac_cr
5524 fi
5525
5526 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5527 _ACEOF
5528
5529
5530 {
5531 echo "cat >conf$$subs.awk <<_ACEOF" &&
5532 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5533 echo "_ACEOF"
5534 } >conf$$subs.sh ||
5535 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5536 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5537 ac_delim='%!_!# '
5538 for ac_last_try in false false false false false :; do
5539 . ./conf$$subs.sh ||
5540 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5541
5542 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5543 if test $ac_delim_n = $ac_delim_num; then
5544 break
5545 elif $ac_last_try; then
5546 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5547 else
5548 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5549 fi
5550 done
5551 rm -f conf$$subs.sh
5552
5553 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5554 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5555 _ACEOF
5556 sed -n '
5557 h
5558 s/^/S["/; s/!.*/"]=/
5559 p
5560 g
5561 s/^[^!]*!//
5562 :repl
5563 t repl
5564 s/'"$ac_delim"'$//
5565 t delim
5566 :nl
5567 h
5568 s/\(.\{148\}\)..*/\1/
5569 t more1
5570 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5571 p
5572 n
5573 b repl
5574 :more1
5575 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5576 p
5577 g
5578 s/.\{148\}//
5579 t nl
5580 :delim
5581 h
5582 s/\(.\{148\}\)..*/\1/
5583 t more2
5584 s/["\\]/\\&/g; s/^/"/; s/$/"/
5585 p
5586 b
5587 :more2
5588 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5589 p
5590 g
5591 s/.\{148\}//
5592 t delim
5593 ' <conf$$subs.awk | sed '
5594 /^[^""]/{
5595 N
5596 s/\n//
5597 }
5598 ' >>$CONFIG_STATUS || ac_write_fail=1
5599 rm -f conf$$subs.awk
5600 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5601 _ACAWK
5602 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5603 for (key in S) S_is_set[key] = 1
5604 FS = ""
5605
5606 }
5607 {
5608 line = $ 0
5609 nfields = split(line, field, "@")
5610 substed = 0
5611 len = length(field[1])
5612 for (i = 2; i < nfields; i++) {
5613 key = field[i]
5614 keylen = length(key)
5615 if (S_is_set[key]) {
5616 value = S[key]
5617 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5618 len += length(value) + length(field[++i])
5619 substed = 1
5620 } else
5621 len += 1 + keylen
5622 }
5623
5624 print line
5625 }
5626
5627 _ACAWK
5628 _ACEOF
5629 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5630 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5631 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5632 else
5633 cat
5634 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5635 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5636 _ACEOF
5637
5638 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5639 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5640 # trailing colons and then remove the whole line if VPATH becomes empty
5641 # (actually we leave an empty line to preserve line numbers).
5642 if test "x$srcdir" = x.; then
5643 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5644 h
5645 s///
5646 s/^/:/
5647 s/[ ]*$/:/
5648 s/:\$(srcdir):/:/g
5649 s/:\${srcdir}:/:/g
5650 s/:@srcdir@:/:/g
5651 s/^:*//
5652 s/:*$//
5653 x
5654 s/\(=[ ]*\).*/\1/
5655 G
5656 s/\n//
5657 s/^[^=]*=[ ]*$//
5658 }'
5659 fi
5660
5661 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5662 fi # test -n "$CONFIG_FILES"
5663
5664 # Set up the scripts for CONFIG_HEADERS section.
5665 # No need to generate them if there are no CONFIG_HEADERS.
5666 # This happens for instance with `./config.status Makefile'.
5667 if test -n "$CONFIG_HEADERS"; then
5668 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5669 BEGIN {
5670 _ACEOF
5671
5672 # Transform confdefs.h into an awk script `defines.awk', embedded as
5673 # here-document in config.status, that substitutes the proper values into
5674 # config.h.in to produce config.h.
5675
5676 # Create a delimiter string that does not exist in confdefs.h, to ease
5677 # handling of long lines.
5678 ac_delim='%!_!# '
5679 for ac_last_try in false false :; do
5680 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5681 if test -z "$ac_tt"; then
5682 break
5683 elif $ac_last_try; then
5684 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5685 else
5686 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5687 fi
5688 done
5689
5690 # For the awk script, D is an array of macro values keyed by name,
5691 # likewise P contains macro parameters if any. Preserve backslash
5692 # newline sequences.
5693
5694 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5695 sed -n '
5696 s/.\{148\}/&'"$ac_delim"'/g
5697 t rset
5698 :rset
5699 s/^[ ]*#[ ]*define[ ][ ]*/ /
5700 t def
5701 d
5702 :def
5703 s/\\$//
5704 t bsnl
5705 s/["\\]/\\&/g
5706 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5707 D["\1"]=" \3"/p
5708 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5709 d
5710 :bsnl
5711 s/["\\]/\\&/g
5712 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5713 D["\1"]=" \3\\\\\\n"\\/p
5714 t cont
5715 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5716 t cont
5717 d
5718 :cont
5719 n
5720 s/.\{148\}/&'"$ac_delim"'/g
5721 t clear
5722 :clear
5723 s/\\$//
5724 t bsnlc
5725 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5726 d
5727 :bsnlc
5728 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5729 b cont
5730 ' <confdefs.h | sed '
5731 s/'"$ac_delim"'/"\\\
5732 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5733
5734 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5735 for (key in D) D_is_set[key] = 1
5736 FS = ""
5737 }
5738 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5739 line = \$ 0
5740 split(line, arg, " ")
5741 if (arg[1] == "#") {
5742 defundef = arg[2]
5743 mac1 = arg[3]
5744 } else {
5745 defundef = substr(arg[1], 2)
5746 mac1 = arg[2]
5747 }
5748 split(mac1, mac2, "(") #)
5749 macro = mac2[1]
5750 prefix = substr(line, 1, index(line, defundef) - 1)
5751 if (D_is_set[macro]) {
5752 # Preserve the white space surrounding the "#".
5753 print prefix "define", macro P[macro] D[macro]
5754 next
5755 } else {
5756 # Replace #undef with comments. This is necessary, for example,
5757 # in the case of _POSIX_SOURCE, which is predefined and required
5758 # on some systems where configure will not decide to define it.
5759 if (defundef == "undef") {
5760 print "/*", prefix defundef, macro, "*/"
5761 next
5762 }
5763 }
5764 }
5765 { print }
5766 _ACAWK
5767 _ACEOF
5768 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5769 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5770 fi # test -n "$CONFIG_HEADERS"
5771
5772
5773 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5774 shift
5775 for ac_tag
5776 do
5777 case $ac_tag in
5778 :[FHLC]) ac_mode=$ac_tag; continue;;
5779 esac
5780 case $ac_mode$ac_tag in
5781 :[FHL]*:*);;
5782 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5783 :[FH]-) ac_tag=-:-;;
5784 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5785 esac
5786 ac_save_IFS=$IFS
5787 IFS=:
5788 set x $ac_tag
5789 IFS=$ac_save_IFS
5790 shift
5791 ac_file=$1
5792 shift
5793
5794 case $ac_mode in
5795 :L) ac_source=$1;;
5796 :[FH])
5797 ac_file_inputs=
5798 for ac_f
5799 do
5800 case $ac_f in
5801 -) ac_f="$ac_tmp/stdin";;
5802 *) # Look for the file first in the build tree, then in the source tree
5803 # (if the path is not absolute). The absolute path cannot be DOS-style,
5804 # because $ac_f cannot contain `:'.
5805 test -f "$ac_f" ||
5806 case $ac_f in
5807 [\\/$]*) false;;
5808 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5809 esac ||
5810 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5811 esac
5812 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5813 as_fn_append ac_file_inputs " '$ac_f'"
5814 done
5815
5816 # Let's still pretend it is `configure' which instantiates (i.e., don't
5817 # use $as_me), people would be surprised to read:
5818 # /* config.h. Generated by config.status. */
5819 configure_input='Generated from '`
5820 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5821 `' by configure.'
5822 if test x"$ac_file" != x-; then
5823 configure_input="$ac_file. $configure_input"
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5825 $as_echo "$as_me: creating $ac_file" >&6;}
5826 fi
5827 # Neutralize special characters interpreted by sed in replacement strings.
5828 case $configure_input in #(
5829 *\&* | *\|* | *\\* )
5830 ac_sed_conf_input=`$as_echo "$configure_input" |
5831 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5832 *) ac_sed_conf_input=$configure_input;;
5833 esac
5834
5835 case $ac_tag in
5836 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5837 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5838 esac
5839 ;;
5840 esac
5841
5842 ac_dir=`$as_dirname -- "$ac_file" ||
5843 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5844 X"$ac_file" : 'X\(//\)[^/]' \| \
5845 X"$ac_file" : 'X\(//\)$' \| \
5846 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5847 $as_echo X"$ac_file" |
5848 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5849 s//\1/
5850 q
5851 }
5852 /^X\(\/\/\)[^/].*/{
5853 s//\1/
5854 q
5855 }
5856 /^X\(\/\/\)$/{
5857 s//\1/
5858 q
5859 }
5860 /^X\(\/\).*/{
5861 s//\1/
5862 q
5863 }
5864 s/.*/./; q'`
5865 as_dir="$ac_dir"; as_fn_mkdir_p
5866 ac_builddir=.
5867
5868 case "$ac_dir" in
5869 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5870 *)
5871 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5872 # A ".." for each directory in $ac_dir_suffix.
5873 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5874 case $ac_top_builddir_sub in
5875 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5876 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5877 esac ;;
5878 esac
5879 ac_abs_top_builddir=$ac_pwd
5880 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5881 # for backward compatibility:
5882 ac_top_builddir=$ac_top_build_prefix
5883
5884 case $srcdir in
5885 .) # We are building in place.
5886 ac_srcdir=.
5887 ac_top_srcdir=$ac_top_builddir_sub
5888 ac_abs_top_srcdir=$ac_pwd ;;
5889 [\\/]* | ?:[\\/]* ) # Absolute name.
5890 ac_srcdir=$srcdir$ac_dir_suffix;
5891 ac_top_srcdir=$srcdir
5892 ac_abs_top_srcdir=$srcdir ;;
5893 *) # Relative name.
5894 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5895 ac_top_srcdir=$ac_top_build_prefix$srcdir
5896 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5897 esac
5898 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5899
5900
5901 case $ac_mode in
5902 :F)
5903 #
5904 # CONFIG_FILE
5905 #
5906
5907 case $INSTALL in
5908 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5909 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5910 esac
5911 ac_MKDIR_P=$MKDIR_P
5912 case $MKDIR_P in
5913 [\\/$]* | ?:[\\/]* ) ;;
5914 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5915 esac
5916 _ACEOF
5917
5918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5919 # If the template does not know about datarootdir, expand it.
5920 # FIXME: This hack should be removed a few years after 2.60.
5921 ac_datarootdir_hack=; ac_datarootdir_seen=
5922 ac_sed_dataroot='
5923 /datarootdir/ {
5924 p
5925 q
5926 }
5927 /@datadir@/p
5928 /@docdir@/p
5929 /@infodir@/p
5930 /@localedir@/p
5931 /@mandir@/p'
5932 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5933 *datarootdir*) ac_datarootdir_seen=yes;;
5934 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5936 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5937 _ACEOF
5938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5939 ac_datarootdir_hack='
5940 s&@datadir@&$datadir&g
5941 s&@docdir@&$docdir&g
5942 s&@infodir@&$infodir&g
5943 s&@localedir@&$localedir&g
5944 s&@mandir@&$mandir&g
5945 s&\\\${datarootdir}&$datarootdir&g' ;;
5946 esac
5947 _ACEOF
5948
5949 # Neutralize VPATH when `$srcdir' = `.'.
5950 # Shell code in configure.ac might set extrasub.
5951 # FIXME: do we really want to maintain this feature?
5952 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5953 ac_sed_extra="$ac_vpsub
5954 $extrasub
5955 _ACEOF
5956 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5957 :t
5958 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5959 s|@configure_input@|$ac_sed_conf_input|;t t
5960 s&@top_builddir@&$ac_top_builddir_sub&;t t
5961 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5962 s&@srcdir@&$ac_srcdir&;t t
5963 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5964 s&@top_srcdir@&$ac_top_srcdir&;t t
5965 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5966 s&@builddir@&$ac_builddir&;t t
5967 s&@abs_builddir@&$ac_abs_builddir&;t t
5968 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5969 s&@INSTALL@&$ac_INSTALL&;t t
5970 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5971 $ac_datarootdir_hack
5972 "
5973 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5974 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5975
5976 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5977 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5978 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5979 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5981 which seems to be undefined. Please make sure it is defined" >&5
5982 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5983 which seems to be undefined. Please make sure it is defined" >&2;}
5984
5985 rm -f "$ac_tmp/stdin"
5986 case $ac_file in
5987 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5988 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5989 esac \
5990 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5991 ;;
5992 :H)
5993 #
5994 # CONFIG_HEADER
5995 #
5996 if test x"$ac_file" != x-; then
5997 {
5998 $as_echo "/* $configure_input */" \
5999 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6000 } >"$ac_tmp/config.h" \
6001 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6002 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6004 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6005 else
6006 rm -f "$ac_file"
6007 mv "$ac_tmp/config.h" "$ac_file" \
6008 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6009 fi
6010 else
6011 $as_echo "/* $configure_input */" \
6012 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6013 || as_fn_error $? "could not create -" "$LINENO" 5
6014 fi
6015 # Compute "$ac_file"'s index in $config_headers.
6016 _am_arg="$ac_file"
6017 _am_stamp_count=1
6018 for _am_header in $config_headers :; do
6019 case $_am_header in
6020 $_am_arg | $_am_arg:* )
6021 break ;;
6022 * )
6023 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6024 esac
6025 done
6026 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6027 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6028 X"$_am_arg" : 'X\(//\)[^/]' \| \
6029 X"$_am_arg" : 'X\(//\)$' \| \
6030 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6031 $as_echo X"$_am_arg" |
6032 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6033 s//\1/
6034 q
6035 }
6036 /^X\(\/\/\)[^/].*/{
6037 s//\1/
6038 q
6039 }
6040 /^X\(\/\/\)$/{
6041 s//\1/
6042 q
6043 }
6044 /^X\(\/\).*/{
6045 s//\1/
6046 q
6047 }
6048 s/.*/./; q'`/stamp-h$_am_stamp_count
6049 ;;
6050
6051 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6052 $as_echo "$as_me: executing $ac_file commands" >&6;}
6053 ;;
6054 esac
6055
6056
6057 case $ac_file$ac_mode in
6058 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6059 # Older Autoconf quotes --file arguments for eval, but not when files
6060 # are listed without --file. Let's play safe and only enable the eval
6061 # if we detect the quoting.
6062 case $CONFIG_FILES in
6063 *\'*) eval set x "$CONFIG_FILES" ;;
6064 *) set x $CONFIG_FILES ;;
6065 esac
6066 shift
6067 for mf
6068 do
6069 # Strip MF so we end up with the name of the file.
6070 mf=`echo "$mf" | sed -e 's/:.*$//'`
6071 # Check whether this is an Automake generated Makefile or not.
6072 # We used to match only the files named 'Makefile.in', but
6073 # some people rename them; so instead we look at the file content.
6074 # Grep'ing the first line is not enough: some people post-process
6075 # each Makefile.in and add a new line on top of each file to say so.
6076 # Grep'ing the whole file is not good either: AIX grep has a line
6077 # limit of 2048, but all sed's we know have understand at least 4000.
6078 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6079 dirpart=`$as_dirname -- "$mf" ||
6080 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6081 X"$mf" : 'X\(//\)[^/]' \| \
6082 X"$mf" : 'X\(//\)$' \| \
6083 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6084 $as_echo X"$mf" |
6085 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6086 s//\1/
6087 q
6088 }
6089 /^X\(\/\/\)[^/].*/{
6090 s//\1/
6091 q
6092 }
6093 /^X\(\/\/\)$/{
6094 s//\1/
6095 q
6096 }
6097 /^X\(\/\).*/{
6098 s//\1/
6099 q
6100 }
6101 s/.*/./; q'`
6102 else
6103 continue
6104 fi
6105 # Extract the definition of DEPDIR, am__include, and am__quote
6106 # from the Makefile without running 'make'.
6107 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6108 test -z "$DEPDIR" && continue
6109 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6110 test -z "$am__include" && continue
6111 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6112 # Find all dependency output files, they are included files with
6113 # $(DEPDIR) in their names. We invoke sed twice because it is the
6114 # simplest approach to changing $(DEPDIR) to its actual value in the
6115 # expansion.
6116 for file in `sed -n "
6117 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6118 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
6119 # Make sure the directory exists.
6120 test -f "$dirpart/$file" && continue
6121 fdir=`$as_dirname -- "$file" ||
6122 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6123 X"$file" : 'X\(//\)[^/]' \| \
6124 X"$file" : 'X\(//\)$' \| \
6125 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6126 $as_echo X"$file" |
6127 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6128 s//\1/
6129 q
6130 }
6131 /^X\(\/\/\)[^/].*/{
6132 s//\1/
6133 q
6134 }
6135 /^X\(\/\/\)$/{
6136 s//\1/
6137 q
6138 }
6139 /^X\(\/\).*/{
6140 s//\1/
6141 q
6142 }
6143 s/.*/./; q'`
6144 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6145 # echo "creating $dirpart/$file"
6146 echo '# dummy' > "$dirpart/$file"
6147 done
6148 done
6149 }
6150 ;;
6151
6152 esac
6153 done # for ac_tag
6154
6155
6156 as_fn_exit 0
6157 _ACEOF
6158 ac_clean_files=$ac_clean_files_save
6159
6160 test $ac_write_fail = 0 ||
6161 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6162
6163
6164 # configure is writing to config.log, and then calls config.status.
6165 # config.status does its own redirection, appending to config.log.
6166 # Unfortunately, on DOS this fails, as config.log is still kept open
6167 # by configure, so config.status won't be able to write to it; its
6168 # output is simply discarded. So we exec the FD to /dev/null,
6169 # effectively closing config.log, so it can be properly (re)opened and
6170 # appended to by config.status. When coming back to configure, we
6171 # need to make the FD available again.
6172 if test "$no_create" != yes; then
6173 ac_cs_success=:
6174 ac_config_status_args=
6175 test "$silent" = yes &&
6176 ac_config_status_args="$ac_config_status_args --quiet"
6177 exec 5>/dev/null
6178 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6179 exec 5>>config.log
6180 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6181 # would make configure fail if this is the last instruction.
6182 $ac_cs_success || as_fn_exit 1
6183 fi
6184 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6186 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6187 fi
6188

mercurial