Debian Codegraph @

configure

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