/[tivodecode]/t2sami/trunk/configure
ViewVC logotype

Contents of /t2sami/trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log


Revision 257 - (show annotations) (download)
Tue Dec 27 08:17:02 2011 UTC (6 years, 11 months ago) by jeremyd2019
File size: 226833 byte(s)
update for boost_filesystem api version 3.
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for T2Sami 2.0.0033-pre2.
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 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 if test "x$CONFIG_SHELL" = x; then
138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
139 emulate sh
140 NULLCMD=:
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
144 setopt NO_GLOB_SUBST
145 else
146 case \`(set -o) 2>/dev/null\` in #(
147 *posix*) :
148 set -o posix ;; #(
149 *) :
150 ;;
151 esac
152 fi
153 "
154 as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
159
160 exitcode=0
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
166
167 else
168 exitcode=1; echo positional parameters were not saved.
169 fi
170 test x\$exitcode = x0 || exit 1"
171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test \$(( 1 + 1 )) = 2 || exit 1"
176 if (eval "$as_required") 2>/dev/null; then :
177 as_have_required=yes
178 else
179 as_have_required=no
180 fi
181 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
182
183 else
184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 as_found=false
186 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
187 do
188 IFS=$as_save_IFS
189 test -z "$as_dir" && as_dir=.
190 as_found=:
191 case $as_dir in #(
192 /*)
193 for as_base in sh bash ksh sh5; do
194 # Try only shells that exist, to save several forks.
195 as_shell=$as_dir/$as_base
196 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198 CONFIG_SHELL=$as_shell as_have_required=yes
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 break 2
201 fi
202 fi
203 done;;
204 esac
205 as_found=false
206 done
207 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209 CONFIG_SHELL=$SHELL as_have_required=yes
210 fi; }
211 IFS=$as_save_IFS
212
213
214 if test "x$CONFIG_SHELL" != x; then :
215 # We cannot yet assume a decent shell, so we have to provide a
216 # neutralization value for shells without unset; and this also
217 # works around shells that cannot unset nonexistent variables.
218 # Preserve -v and -x to the replacement shell.
219 BASH_ENV=/dev/null
220 ENV=/dev/null
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222 export CONFIG_SHELL
223 case $- in # ((((
224 *v*x* | *x*v* ) as_opts=-vx ;;
225 *v* ) as_opts=-v ;;
226 *x* ) as_opts=-x ;;
227 * ) as_opts= ;;
228 esac
229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
230 fi
231
232 if test x$as_have_required = xno; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x${ZSH_VERSION+set} = xset ; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
238 else
239 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
240 $0: including any error possibly output before this
241 $0: message. Then install a modern shell, or manually run
242 $0: the script under such a shell if you do have one."
243 fi
244 exit 1
245 fi
246 fi
247 fi
248 SHELL=${CONFIG_SHELL-/bin/sh}
249 export SHELL
250 # Unset more variables known to interfere with behavior of common tools.
251 CLICOLOR_FORCE= GREP_OPTIONS=
252 unset CLICOLOR_FORCE GREP_OPTIONS
253
254 ## --------------------- ##
255 ## M4sh Shell Functions. ##
256 ## --------------------- ##
257 # as_fn_unset VAR
258 # ---------------
259 # Portably unset VAR.
260 as_fn_unset ()
261 {
262 { eval $1=; unset $1;}
263 }
264 as_unset=as_fn_unset
265
266 # as_fn_set_status STATUS
267 # -----------------------
268 # Set $? to STATUS, without forking.
269 as_fn_set_status ()
270 {
271 return $1
272 } # as_fn_set_status
273
274 # as_fn_exit STATUS
275 # -----------------
276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
277 as_fn_exit ()
278 {
279 set +e
280 as_fn_set_status $1
281 exit $1
282 } # as_fn_exit
283
284 # as_fn_mkdir_p
285 # -------------
286 # Create "$as_dir" as a directory, including parents if necessary.
287 as_fn_mkdir_p ()
288 {
289
290 case $as_dir in #(
291 -*) as_dir=./$as_dir;;
292 esac
293 test -d "$as_dir" || eval $as_mkdir_p || {
294 as_dirs=
295 while :; do
296 case $as_dir in #(
297 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 *) as_qdir=$as_dir;;
299 esac
300 as_dirs="'$as_qdir' $as_dirs"
301 as_dir=`$as_dirname -- "$as_dir" ||
302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303 X"$as_dir" : 'X\(//\)[^/]' \| \
304 X"$as_dir" : 'X\(//\)$' \| \
305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306 $as_echo X"$as_dir" |
307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
308 s//\1/
309 q
310 }
311 /^X\(\/\/\)[^/].*/{
312 s//\1/
313 q
314 }
315 /^X\(\/\/\)$/{
316 s//\1/
317 q
318 }
319 /^X\(\/\).*/{
320 s//\1/
321 q
322 }
323 s/.*/./; q'`
324 test -d "$as_dir" && break
325 done
326 test -z "$as_dirs" || eval "mkdir $as_dirs"
327 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
328
329
330 } # as_fn_mkdir_p
331 # as_fn_append VAR VALUE
332 # ----------------------
333 # Append the text in VALUE to the end of the definition contained in VAR. Take
334 # advantage of any shell optimizations that allow amortized linear growth over
335 # repeated appends, instead of the typical quadratic growth present in naive
336 # implementations.
337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
338 eval 'as_fn_append ()
339 {
340 eval $1+=\$2
341 }'
342 else
343 as_fn_append ()
344 {
345 eval $1=\$$1\$2
346 }
347 fi # as_fn_append
348
349 # as_fn_arith ARG...
350 # ------------------
351 # Perform arithmetic evaluation on the ARGs, and store the result in the
352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
353 # must be portable across $(()) and expr.
354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
355 eval 'as_fn_arith ()
356 {
357 as_val=$(( $* ))
358 }'
359 else
360 as_fn_arith ()
361 {
362 as_val=`expr "$@" || test $? -eq 1`
363 }
364 fi # as_fn_arith
365
366
367 # as_fn_error STATUS ERROR [LINENO LOG_FD]
368 # ----------------------------------------
369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371 # script with STATUS, using 1 if that was 0.
372 as_fn_error ()
373 {
374 as_status=$1; test $as_status -eq 0 && as_status=1
375 if test "$4"; then
376 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
378 fi
379 $as_echo "$as_me: error: $2" >&2
380 as_fn_exit $as_status
381 } # as_fn_error
382
383 if expr a : '\(a\)' >/dev/null 2>&1 &&
384 test "X`expr 00001 : '.*\(...\)'`" = X001; then
385 as_expr=expr
386 else
387 as_expr=false
388 fi
389
390 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 as_basename=basename
392 else
393 as_basename=false
394 fi
395
396 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397 as_dirname=dirname
398 else
399 as_dirname=false
400 fi
401
402 as_me=`$as_basename -- "$0" ||
403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404 X"$0" : 'X\(//\)$' \| \
405 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
406 $as_echo X/"$0" |
407 sed '/^.*\/\([^/][^/]*\)\/*$/{
408 s//\1/
409 q
410 }
411 /^X\/\(\/\/\)$/{
412 s//\1/
413 q
414 }
415 /^X\/\(\/\).*/{
416 s//\1/
417 q
418 }
419 s/.*/./; q'`
420
421 # Avoid depending upon Character Ranges.
422 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
423 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
425 as_cr_digits='0123456789'
426 as_cr_alnum=$as_cr_Letters$as_cr_digits
427
428
429 as_lineno_1=$LINENO as_lineno_1a=$LINENO
430 as_lineno_2=$LINENO as_lineno_2a=$LINENO
431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
434 sed -n '
435 p
436 /[$]LINENO/=
437 ' <$as_myself |
438 sed '
439 s/[$]LINENO.*/&-/
440 t lineno
441 b
442 :lineno
443 N
444 :loop
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
446 t loop
447 s/-\n.*//
448 ' >$as_me.lineno &&
449 chmod +x "$as_me.lineno" ||
450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
451
452 # Don't try to exec as it changes $[0], causing all sort of problems
453 # (the dirname of $[0] is not the place where we might find the
454 # original and so on. Autoconf is especially sensitive to this).
455 . "./$as_me.lineno"
456 # Exit status is that of the last command.
457 exit
458 }
459
460 ECHO_C= ECHO_N= ECHO_T=
461 case `echo -n x` in #(((((
462 -n*)
463 case `echo 'xy\c'` in
464 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
465 xy) ECHO_C='\c';;
466 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
467 ECHO_T=' ';;
468 esac;;
469 *)
470 ECHO_N='-n';;
471 esac
472
473 rm -f conf$$ conf$$.exe conf$$.file
474 if test -d conf$$.dir; then
475 rm -f conf$$.dir/conf$$.file
476 else
477 rm -f conf$$.dir
478 mkdir conf$$.dir 2>/dev/null
479 fi
480 if (echo >conf$$.file) 2>/dev/null; then
481 if ln -s conf$$.file conf$$ 2>/dev/null; then
482 as_ln_s='ln -s'
483 # ... but there are two gotchas:
484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486 # In both cases, we have to default to `cp -p'.
487 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
488 as_ln_s='cp -p'
489 elif ln conf$$.file conf$$ 2>/dev/null; then
490 as_ln_s=ln
491 else
492 as_ln_s='cp -p'
493 fi
494 else
495 as_ln_s='cp -p'
496 fi
497 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
498 rmdir conf$$.dir 2>/dev/null
499
500 if mkdir -p . 2>/dev/null; then
501 as_mkdir_p='mkdir -p "$as_dir"'
502 else
503 test -d ./-p && rmdir ./-p
504 as_mkdir_p=false
505 fi
506
507 if test -x / >/dev/null 2>&1; then
508 as_test_x='test -x'
509 else
510 if ls -dL / >/dev/null 2>&1; then
511 as_ls_L_option=L
512 else
513 as_ls_L_option=
514 fi
515 as_test_x='
516 eval sh -c '\''
517 if test -d "$1"; then
518 test -d "$1/.";
519 else
520 case $1 in #(
521 -*)set "./$1";;
522 esac;
523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524 ???[sx]*):;;*)false;;esac;fi
525 '\'' sh
526 '
527 fi
528 as_executable_p=$as_test_x
529
530 # Sed expression to map a string onto a valid CPP name.
531 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
532
533 # Sed expression to map a string onto a valid variable name.
534 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
535
536
537 test -n "$DJDIR" || exec 7<&0 </dev/null
538 exec 6>&1
539
540 # Name of the host.
541 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
542 # so uname gets run too.
543 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
544
545 #
546 # Initializations.
547 #
548 ac_default_prefix=/usr/local
549 ac_clean_files=
550 ac_config_libobj_dir=.
551 LIBOBJS=
552 cross_compiling=no
553 subdirs=
554 MFLAGS=
555 MAKEFLAGS=
556
557 # Identity of this package.
558 PACKAGE_NAME='T2Sami'
559 PACKAGE_TARNAME='t2sami'
560 PACKAGE_VERSION='2.0.0033-pre2'
561 PACKAGE_STRING='T2Sami 2.0.0033-pre2'
562 PACKAGE_BUGREPORT=''
563 PACKAGE_URL=''
564
565 ac_unique_file="t2samiapp.cpp"
566 # Factoring default headers for most tests.
567 ac_includes_default="\
568 #include <stdio.h>
569 #ifdef HAVE_SYS_TYPES_H
570 # include <sys/types.h>
571 #endif
572 #ifdef HAVE_SYS_STAT_H
573 # include <sys/stat.h>
574 #endif
575 #ifdef STDC_HEADERS
576 # include <stdlib.h>
577 # include <stddef.h>
578 #else
579 # ifdef HAVE_STDLIB_H
580 # include <stdlib.h>
581 # endif
582 #endif
583 #ifdef HAVE_STRING_H
584 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
585 # include <memory.h>
586 # endif
587 # include <string.h>
588 #endif
589 #ifdef HAVE_STRINGS_H
590 # include <strings.h>
591 #endif
592 #ifdef HAVE_INTTYPES_H
593 # include <inttypes.h>
594 #endif
595 #ifdef HAVE_STDINT_H
596 # include <stdint.h>
597 #endif
598 #ifdef HAVE_UNISTD_H
599 # include <unistd.h>
600 #endif"
601
602 ac_subst_vars='LTLIBOBJS
603 LIBOBJS
604 DOXYGEN
605 BOOST_FILESYSTEM_LIB
606 BOOST_LDFLAGS
607 BOOST_CPPFLAGS
608 RANLIB
609 EGREP
610 GREP
611 CPP
612 am__fastdepCC_FALSE
613 am__fastdepCC_TRUE
614 CCDEPMODE
615 ac_ct_CC
616 CFLAGS
617 CC
618 am__fastdepCXX_FALSE
619 am__fastdepCXX_TRUE
620 CXXDEPMODE
621 AMDEPBACKSLASH
622 AMDEP_FALSE
623 AMDEP_TRUE
624 am__quote
625 am__include
626 DEPDIR
627 OBJEXT
628 EXEEXT
629 ac_ct_CXX
630 CPPFLAGS
631 LDFLAGS
632 CXXFLAGS
633 CXX
634 MAINT
635 MAINTAINER_MODE_FALSE
636 MAINTAINER_MODE_TRUE
637 am__untar
638 am__tar
639 AMTAR
640 am__leading_dot
641 SET_MAKE
642 AWK
643 mkdir_p
644 MKDIR_P
645 INSTALL_STRIP_PROGRAM
646 STRIP
647 install_sh
648 MAKEINFO
649 AUTOHEADER
650 AUTOMAKE
651 AUTOCONF
652 ACLOCAL
653 VERSION
654 PACKAGE
655 CYGPATH_W
656 am__isrc
657 INSTALL_DATA
658 INSTALL_SCRIPT
659 INSTALL_PROGRAM
660 target_alias
661 host_alias
662 build_alias
663 LIBS
664 ECHO_T
665 ECHO_N
666 ECHO_C
667 DEFS
668 mandir
669 localedir
670 libdir
671 psdir
672 pdfdir
673 dvidir
674 htmldir
675 infodir
676 docdir
677 oldincludedir
678 includedir
679 localstatedir
680 sharedstatedir
681 sysconfdir
682 datadir
683 datarootdir
684 libexecdir
685 sbindir
686 bindir
687 program_transform_name
688 prefix
689 exec_prefix
690 PACKAGE_URL
691 PACKAGE_BUGREPORT
692 PACKAGE_STRING
693 PACKAGE_VERSION
694 PACKAGE_TARNAME
695 PACKAGE_NAME
696 PATH_SEPARATOR
697 SHELL'
698 ac_subst_files=''
699 ac_user_opts='
700 enable_option_checking
701 enable_maintainer_mode
702 enable_debug
703 enable_dump_psdata
704 enable_dump_video_pesdata
705 enable_dump_audio_pesdata
706 enable_dump_userdata
707 enable_dump_closedcapdata
708 enable_dump_picturedata
709 enable_dump_all
710 enable_dependency_tracking
711 enable_largefile
712 with_boost
713 with_boost_filesystem
714 '
715 ac_precious_vars='build_alias
716 host_alias
717 target_alias
718 CXX
719 CXXFLAGS
720 LDFLAGS
721 LIBS
722 CPPFLAGS
723 CCC
724 CC
725 CFLAGS
726 CPP
727 DOXYGEN'
728
729
730 # Initialize some variables set by options.
731 ac_init_help=
732 ac_init_version=false
733 ac_unrecognized_opts=
734 ac_unrecognized_sep=
735 # The variables have the same names as the options, with
736 # dashes changed to underlines.
737 cache_file=/dev/null
738 exec_prefix=NONE
739 no_create=
740 no_recursion=
741 prefix=NONE
742 program_prefix=NONE
743 program_suffix=NONE
744 program_transform_name=s,x,x,
745 silent=
746 site=
747 srcdir=
748 verbose=
749 x_includes=NONE
750 x_libraries=NONE
751
752 # Installation directory options.
753 # These are left unexpanded so users can "make install exec_prefix=/foo"
754 # and all the variables that are supposed to be based on exec_prefix
755 # by default will actually change.
756 # Use braces instead of parens because sh, perl, etc. also accept them.
757 # (The list follows the same order as the GNU Coding Standards.)
758 bindir='${exec_prefix}/bin'
759 sbindir='${exec_prefix}/sbin'
760 libexecdir='${exec_prefix}/libexec'
761 datarootdir='${prefix}/share'
762 datadir='${datarootdir}'
763 sysconfdir='${prefix}/etc'
764 sharedstatedir='${prefix}/com'
765 localstatedir='${prefix}/var'
766 includedir='${prefix}/include'
767 oldincludedir='/usr/include'
768 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
769 infodir='${datarootdir}/info'
770 htmldir='${docdir}'
771 dvidir='${docdir}'
772 pdfdir='${docdir}'
773 psdir='${docdir}'
774 libdir='${exec_prefix}/lib'
775 localedir='${datarootdir}/locale'
776 mandir='${datarootdir}/man'
777
778 ac_prev=
779 ac_dashdash=
780 for ac_option
781 do
782 # If the previous option needs an argument, assign it.
783 if test -n "$ac_prev"; then
784 eval $ac_prev=\$ac_option
785 ac_prev=
786 continue
787 fi
788
789 case $ac_option in
790 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
791 *=) ac_optarg= ;;
792 *) ac_optarg=yes ;;
793 esac
794
795 # Accept the important Cygnus configure options, so we can diagnose typos.
796
797 case $ac_dashdash$ac_option in
798 --)
799 ac_dashdash=yes ;;
800
801 -bindir | --bindir | --bindi | --bind | --bin | --bi)
802 ac_prev=bindir ;;
803 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
804 bindir=$ac_optarg ;;
805
806 -build | --build | --buil | --bui | --bu)
807 ac_prev=build_alias ;;
808 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
809 build_alias=$ac_optarg ;;
810
811 -cache-file | --cache-file | --cache-fil | --cache-fi \
812 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
813 ac_prev=cache_file ;;
814 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
815 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
816 cache_file=$ac_optarg ;;
817
818 --config-cache | -C)
819 cache_file=config.cache ;;
820
821 -datadir | --datadir | --datadi | --datad)
822 ac_prev=datadir ;;
823 -datadir=* | --datadir=* | --datadi=* | --datad=*)
824 datadir=$ac_optarg ;;
825
826 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
827 | --dataroo | --dataro | --datar)
828 ac_prev=datarootdir ;;
829 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
830 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
831 datarootdir=$ac_optarg ;;
832
833 -disable-* | --disable-*)
834 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
835 # Reject names that are not valid shell variable names.
836 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
837 as_fn_error $? "invalid feature name: $ac_useropt"
838 ac_useropt_orig=$ac_useropt
839 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
840 case $ac_user_opts in
841 *"
842 "enable_$ac_useropt"
843 "*) ;;
844 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
845 ac_unrecognized_sep=', ';;
846 esac
847 eval enable_$ac_useropt=no ;;
848
849 -docdir | --docdir | --docdi | --doc | --do)
850 ac_prev=docdir ;;
851 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
852 docdir=$ac_optarg ;;
853
854 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
855 ac_prev=dvidir ;;
856 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
857 dvidir=$ac_optarg ;;
858
859 -enable-* | --enable-*)
860 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
861 # Reject names that are not valid shell variable names.
862 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
863 as_fn_error $? "invalid feature name: $ac_useropt"
864 ac_useropt_orig=$ac_useropt
865 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
866 case $ac_user_opts in
867 *"
868 "enable_$ac_useropt"
869 "*) ;;
870 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
871 ac_unrecognized_sep=', ';;
872 esac
873 eval enable_$ac_useropt=\$ac_optarg ;;
874
875 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
876 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
877 | --exec | --exe | --ex)
878 ac_prev=exec_prefix ;;
879 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
880 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
881 | --exec=* | --exe=* | --ex=*)
882 exec_prefix=$ac_optarg ;;
883
884 -gas | --gas | --ga | --g)
885 # Obsolete; use --with-gas.
886 with_gas=yes ;;
887
888 -help | --help | --hel | --he | -h)
889 ac_init_help=long ;;
890 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
891 ac_init_help=recursive ;;
892 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
893 ac_init_help=short ;;
894
895 -host | --host | --hos | --ho)
896 ac_prev=host_alias ;;
897 -host=* | --host=* | --hos=* | --ho=*)
898 host_alias=$ac_optarg ;;
899
900 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
901 ac_prev=htmldir ;;
902 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
903 | --ht=*)
904 htmldir=$ac_optarg ;;
905
906 -includedir | --includedir | --includedi | --included | --include \
907 | --includ | --inclu | --incl | --inc)
908 ac_prev=includedir ;;
909 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
910 | --includ=* | --inclu=* | --incl=* | --inc=*)
911 includedir=$ac_optarg ;;
912
913 -infodir | --infodir | --infodi | --infod | --info | --inf)
914 ac_prev=infodir ;;
915 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
916 infodir=$ac_optarg ;;
917
918 -libdir | --libdir | --libdi | --libd)
919 ac_prev=libdir ;;
920 -libdir=* | --libdir=* | --libdi=* | --libd=*)
921 libdir=$ac_optarg ;;
922
923 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
924 | --libexe | --libex | --libe)
925 ac_prev=libexecdir ;;
926 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
927 | --libexe=* | --libex=* | --libe=*)
928 libexecdir=$ac_optarg ;;
929
930 -localedir | --localedir | --localedi | --localed | --locale)
931 ac_prev=localedir ;;
932 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
933 localedir=$ac_optarg ;;
934
935 -localstatedir | --localstatedir | --localstatedi | --localstated \
936 | --localstate | --localstat | --localsta | --localst | --locals)
937 ac_prev=localstatedir ;;
938 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
939 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
940 localstatedir=$ac_optarg ;;
941
942 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
943 ac_prev=mandir ;;
944 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
945 mandir=$ac_optarg ;;
946
947 -nfp | --nfp | --nf)
948 # Obsolete; use --without-fp.
949 with_fp=no ;;
950
951 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
952 | --no-cr | --no-c | -n)
953 no_create=yes ;;
954
955 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
956 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
957 no_recursion=yes ;;
958
959 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
960 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
961 | --oldin | --oldi | --old | --ol | --o)
962 ac_prev=oldincludedir ;;
963 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
964 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
965 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
966 oldincludedir=$ac_optarg ;;
967
968 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
969 ac_prev=prefix ;;
970 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
971 prefix=$ac_optarg ;;
972
973 -program-prefix | --program-prefix | --program-prefi | --program-pref \
974 | --program-pre | --program-pr | --program-p)
975 ac_prev=program_prefix ;;
976 -program-prefix=* | --program-prefix=* | --program-prefi=* \
977 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
978 program_prefix=$ac_optarg ;;
979
980 -program-suffix | --program-suffix | --program-suffi | --program-suff \
981 | --program-suf | --program-su | --program-s)
982 ac_prev=program_suffix ;;
983 -program-suffix=* | --program-suffix=* | --program-suffi=* \
984 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
985 program_suffix=$ac_optarg ;;
986
987 -program-transform-name | --program-transform-name \
988 | --program-transform-nam | --program-transform-na \
989 | --program-transform-n | --program-transform- \
990 | --program-transform | --program-transfor \
991 | --program-transfo | --program-transf \
992 | --program-trans | --program-tran \
993 | --progr-tra | --program-tr | --program-t)
994 ac_prev=program_transform_name ;;
995 -program-transform-name=* | --program-transform-name=* \
996 | --program-transform-nam=* | --program-transform-na=* \
997 | --program-transform-n=* | --program-transform-=* \
998 | --program-transform=* | --program-transfor=* \
999 | --program-transfo=* | --program-transf=* \
1000 | --program-trans=* | --program-tran=* \
1001 | --progr-tra=* | --program-tr=* | --program-t=*)
1002 program_transform_name=$ac_optarg ;;
1003
1004 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1005 ac_prev=pdfdir ;;
1006 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1007 pdfdir=$ac_optarg ;;
1008
1009 -psdir | --psdir | --psdi | --psd | --ps)
1010 ac_prev=psdir ;;
1011 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1012 psdir=$ac_optarg ;;
1013
1014 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1015 | -silent | --silent | --silen | --sile | --sil)
1016 silent=yes ;;
1017
1018 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1019 ac_prev=sbindir ;;
1020 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1021 | --sbi=* | --sb=*)
1022 sbindir=$ac_optarg ;;
1023
1024 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1025 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1026 | --sharedst | --shareds | --shared | --share | --shar \
1027 | --sha | --sh)
1028 ac_prev=sharedstatedir ;;
1029 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1030 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1031 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1032 | --sha=* | --sh=*)
1033 sharedstatedir=$ac_optarg ;;
1034
1035 -site | --site | --sit)
1036 ac_prev=site ;;
1037 -site=* | --site=* | --sit=*)
1038 site=$ac_optarg ;;
1039
1040 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1041 ac_prev=srcdir ;;
1042 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1043 srcdir=$ac_optarg ;;
1044
1045 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1046 | --syscon | --sysco | --sysc | --sys | --sy)
1047 ac_prev=sysconfdir ;;
1048 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1049 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1050 sysconfdir=$ac_optarg ;;
1051
1052 -target | --target | --targe | --targ | --tar | --ta | --t)
1053 ac_prev=target_alias ;;
1054 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1055 target_alias=$ac_optarg ;;
1056
1057 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1058 verbose=yes ;;
1059
1060 -version | --version | --versio | --versi | --vers | -V)
1061 ac_init_version=: ;;
1062
1063 -with-* | --with-*)
1064 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1065 # Reject names that are not valid shell variable names.
1066 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1067 as_fn_error $? "invalid package name: $ac_useropt"
1068 ac_useropt_orig=$ac_useropt
1069 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1070 case $ac_user_opts in
1071 *"
1072 "with_$ac_useropt"
1073 "*) ;;
1074 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1075 ac_unrecognized_sep=', ';;
1076 esac
1077 eval with_$ac_useropt=\$ac_optarg ;;
1078
1079 -without-* | --without-*)
1080 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1081 # Reject names that are not valid shell variable names.
1082 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1083 as_fn_error $? "invalid package name: $ac_useropt"
1084 ac_useropt_orig=$ac_useropt
1085 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1086 case $ac_user_opts in
1087 *"
1088 "with_$ac_useropt"
1089 "*) ;;
1090 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1091 ac_unrecognized_sep=', ';;
1092 esac
1093 eval with_$ac_useropt=no ;;
1094
1095 --x)
1096 # Obsolete; use --with-x.
1097 with_x=yes ;;
1098
1099 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1100 | --x-incl | --x-inc | --x-in | --x-i)
1101 ac_prev=x_includes ;;
1102 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1103 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1104 x_includes=$ac_optarg ;;
1105
1106 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1107 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1108 ac_prev=x_libraries ;;
1109 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1110 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1111 x_libraries=$ac_optarg ;;
1112
1113 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1114 Try \`$0 --help' for more information"
1115 ;;
1116
1117 *=*)
1118 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1119 # Reject names that are not valid shell variable names.
1120 case $ac_envvar in #(
1121 '' | [0-9]* | *[!_$as_cr_alnum]* )
1122 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1123 esac
1124 eval $ac_envvar=\$ac_optarg
1125 export $ac_envvar ;;
1126
1127 *)
1128 # FIXME: should be removed in autoconf 3.0.
1129 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1130 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1131 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1132 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1133 ;;
1134
1135 esac
1136 done
1137
1138 if test -n "$ac_prev"; then
1139 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1140 as_fn_error $? "missing argument to $ac_option"
1141 fi
1142
1143 if test -n "$ac_unrecognized_opts"; then
1144 case $enable_option_checking in
1145 no) ;;
1146 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1147 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1148 esac
1149 fi
1150
1151 # Check all directory arguments for consistency.
1152 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1153 datadir sysconfdir sharedstatedir localstatedir includedir \
1154 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1155 libdir localedir mandir
1156 do
1157 eval ac_val=\$$ac_var
1158 # Remove trailing slashes.
1159 case $ac_val in
1160 */ )
1161 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1162 eval $ac_var=\$ac_val;;
1163 esac
1164 # Be sure to have absolute directory names.
1165 case $ac_val in
1166 [\\/$]* | ?:[\\/]* ) continue;;
1167 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1168 esac
1169 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1170 done
1171
1172 # There might be people who depend on the old broken behavior: `$host'
1173 # used to hold the argument of --host etc.
1174 # FIXME: To remove some day.
1175 build=$build_alias
1176 host=$host_alias
1177 target=$target_alias
1178
1179 # FIXME: To remove some day.
1180 if test "x$host_alias" != x; then
1181 if test "x$build_alias" = x; then
1182 cross_compiling=maybe
1183 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1184 If a cross compiler is detected then cross compile mode will be used" >&2
1185 elif test "x$build_alias" != "x$host_alias"; then
1186 cross_compiling=yes
1187 fi
1188 fi
1189
1190 ac_tool_prefix=
1191 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1192
1193 test "$silent" = yes && exec 6>/dev/null
1194
1195
1196 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1197 ac_ls_di=`ls -di .` &&
1198 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1199 as_fn_error $? "working directory cannot be determined"
1200 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1201 as_fn_error $? "pwd does not report name of working directory"
1202
1203
1204 # Find the source files, if location was not specified.
1205 if test -z "$srcdir"; then
1206 ac_srcdir_defaulted=yes
1207 # Try the directory containing this script, then the parent directory.
1208 ac_confdir=`$as_dirname -- "$as_myself" ||
1209 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1210 X"$as_myself" : 'X\(//\)[^/]' \| \
1211 X"$as_myself" : 'X\(//\)$' \| \
1212 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1213 $as_echo X"$as_myself" |
1214 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1215 s//\1/
1216 q
1217 }
1218 /^X\(\/\/\)[^/].*/{
1219 s//\1/
1220 q
1221 }
1222 /^X\(\/\/\)$/{
1223 s//\1/
1224 q
1225 }
1226 /^X\(\/\).*/{
1227 s//\1/
1228 q
1229 }
1230 s/.*/./; q'`
1231 srcdir=$ac_confdir
1232 if test ! -r "$srcdir/$ac_unique_file"; then
1233 srcdir=..
1234 fi
1235 else
1236 ac_srcdir_defaulted=no
1237 fi
1238 if test ! -r "$srcdir/$ac_unique_file"; then
1239 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1240 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1241 fi
1242 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1243 ac_abs_confdir=`(
1244 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1245 pwd)`
1246 # When building in place, set srcdir=.
1247 if test "$ac_abs_confdir" = "$ac_pwd"; then
1248 srcdir=.
1249 fi
1250 # Remove unnecessary trailing slashes from srcdir.
1251 # Double slashes in file names in object file debugging info
1252 # mess up M-x gdb in Emacs.
1253 case $srcdir in
1254 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1255 esac
1256 for ac_var in $ac_precious_vars; do
1257 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1258 eval ac_env_${ac_var}_value=\$${ac_var}
1259 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1260 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1261 done
1262
1263 #
1264 # Report the --help message.
1265 #
1266 if test "$ac_init_help" = "long"; then
1267 # Omit some internal or obsolete options to make the list less imposing.
1268 # This message is too long to be a string in the A/UX 3.1 sh.
1269 cat <<_ACEOF
1270 \`configure' configures T2Sami 2.0.0033-pre2 to adapt to many kinds of systems.
1271
1272 Usage: $0 [OPTION]... [VAR=VALUE]...
1273
1274 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1275 VAR=VALUE. See below for descriptions of some of the useful variables.
1276
1277 Defaults for the options are specified in brackets.
1278
1279 Configuration:
1280 -h, --help display this help and exit
1281 --help=short display options specific to this package
1282 --help=recursive display the short help of all the included packages
1283 -V, --version display version information and exit
1284 -q, --quiet, --silent do not print \`checking ...' messages
1285 --cache-file=FILE cache test results in FILE [disabled]
1286 -C, --config-cache alias for \`--cache-file=config.cache'
1287 -n, --no-create do not create output files
1288 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1289
1290 Installation directories:
1291 --prefix=PREFIX install architecture-independent files in PREFIX
1292 [$ac_default_prefix]
1293 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1294 [PREFIX]
1295
1296 By default, \`make install' will install all the files in
1297 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1298 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1299 for instance \`--prefix=\$HOME'.
1300
1301 For better control, use the options below.
1302
1303 Fine tuning of the installation directories:
1304 --bindir=DIR user executables [EPREFIX/bin]
1305 --sbindir=DIR system admin executables [EPREFIX/sbin]
1306 --libexecdir=DIR program executables [EPREFIX/libexec]
1307 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1308 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1309 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1310 --libdir=DIR object code libraries [EPREFIX/lib]
1311 --includedir=DIR C header files [PREFIX/include]
1312 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1313 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1314 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1315 --infodir=DIR info documentation [DATAROOTDIR/info]
1316 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1317 --mandir=DIR man documentation [DATAROOTDIR/man]
1318 --docdir=DIR documentation root [DATAROOTDIR/doc/t2sami]
1319 --htmldir=DIR html documentation [DOCDIR]
1320 --dvidir=DIR dvi documentation [DOCDIR]
1321 --pdfdir=DIR pdf documentation [DOCDIR]
1322 --psdir=DIR ps documentation [DOCDIR]
1323 _ACEOF
1324
1325 cat <<\_ACEOF
1326
1327 Program names:
1328 --program-prefix=PREFIX prepend PREFIX to installed program names
1329 --program-suffix=SUFFIX append SUFFIX to installed program names
1330 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1331 _ACEOF
1332 fi
1333
1334 if test -n "$ac_init_help"; then
1335 case $ac_init_help in
1336 short | recursive ) echo "Configuration of T2Sami 2.0.0033-pre2:";;
1337 esac
1338 cat <<\_ACEOF
1339
1340 Optional Features:
1341 --disable-option-checking ignore unrecognized --enable/--with options
1342 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1343 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1344 --enable-maintainer-mode enable make rules and dependencies not useful
1345 (and sometimes confusing) to the casual installer
1346 --enable-debug enable debugging code
1347 --enable-dump-psdata enable dumping PS data in debug log
1348 --enable-dump-video-pesdata enable dumping video PES data in debug log
1349 --enable-dump-audio-pesdata enable dumping audio PES data in debug log
1350 --enable-dump-userdata enable dumping user data in debug log
1351 --enable-dump-closedcapdata enable dumping closed caption data in debug log
1352 --enable-dump-picturedata enable dumping picture data in debug log
1353 --enable-dump-all enable dumping all data in debug log
1354 --disable-dependency-tracking speeds up one-time build
1355 --enable-dependency-tracking do not reject slow dependency extractors
1356 --disable-largefile omit support for large files
1357
1358 Optional Packages:
1359 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1360 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1361 --with-boost[=DIR] use boost (default is No) - it is possible to
1362 specify the root directory for boost (optional)
1363 --with-boost-filesystem[=special-lib]
1364 use the Filesystem library from boost - it is
1365 possible to specify a certain library for the linker
1366 e.g. --with-boost-filesystem=boost_filesystem-gcc-mt
1367
1368 Some influential environment variables:
1369 CXX C++ compiler command
1370 CXXFLAGS C++ compiler flags
1371 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1372 nonstandard directory <lib dir>
1373 LIBS libraries to pass to the linker, e.g. -l<library>
1374 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1375 you have headers in a nonstandard directory <include dir>
1376 CC C compiler command
1377 CFLAGS C compiler flags
1378 CPP C preprocessor
1379 DOXYGEN doxygen documentation generator
1380
1381 Use these variables to override the choices made by `configure' or to help
1382 it to find libraries and programs with nonstandard names/locations.
1383
1384 Report bugs to the package provider.
1385 _ACEOF
1386 ac_status=$?
1387 fi
1388
1389 if test "$ac_init_help" = "recursive"; then
1390 # If there are subdirs, report their specific --help.
1391 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1392 test -d "$ac_dir" ||
1393 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1394 continue
1395 ac_builddir=.
1396
1397 case "$ac_dir" in
1398 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1399 *)
1400 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1401 # A ".." for each directory in $ac_dir_suffix.
1402 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1403 case $ac_top_builddir_sub in
1404 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1405 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1406 esac ;;
1407 esac
1408 ac_abs_top_builddir=$ac_pwd
1409 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1410 # for backward compatibility:
1411 ac_top_builddir=$ac_top_build_prefix
1412
1413 case $srcdir in
1414 .) # We are building in place.
1415 ac_srcdir=.
1416 ac_top_srcdir=$ac_top_builddir_sub
1417 ac_abs_top_srcdir=$ac_pwd ;;
1418 [\\/]* | ?:[\\/]* ) # Absolute name.
1419 ac_srcdir=$srcdir$ac_dir_suffix;
1420 ac_top_srcdir=$srcdir
1421 ac_abs_top_srcdir=$srcdir ;;
1422 *) # Relative name.
1423 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1424 ac_top_srcdir=$ac_top_build_prefix$srcdir
1425 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1426 esac
1427 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1428
1429 cd "$ac_dir" || { ac_status=$?; continue; }
1430 # Check for guested configure.
1431 if test -f "$ac_srcdir/configure.gnu"; then
1432 echo &&
1433 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1434 elif test -f "$ac_srcdir/configure"; then
1435 echo &&
1436 $SHELL "$ac_srcdir/configure" --help=recursive
1437 else
1438 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1439 fi || ac_status=$?
1440 cd "$ac_pwd" || { ac_status=$?; break; }
1441 done
1442 fi
1443
1444 test -n "$ac_init_help" && exit $ac_status
1445 if $ac_init_version; then
1446 cat <<\_ACEOF
1447 T2Sami configure 2.0.0033-pre2
1448 generated by GNU Autoconf 2.68
1449
1450 Copyright (C) 2010 Free Software Foundation, Inc.
1451 This configure script is free software; the Free Software Foundation
1452 gives unlimited permission to copy, distribute and modify it.
1453 _ACEOF
1454 exit
1455 fi
1456
1457 ## ------------------------ ##
1458 ## Autoconf initialization. ##
1459 ## ------------------------ ##
1460
1461 # ac_fn_cxx_try_compile LINENO
1462 # ----------------------------
1463 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1464 ac_fn_cxx_try_compile ()
1465 {
1466 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1467 rm -f conftest.$ac_objext
1468 if { { ac_try="$ac_compile"
1469 case "(($ac_try" in
1470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1471 *) ac_try_echo=$ac_try;;
1472 esac
1473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1474 $as_echo "$ac_try_echo"; } >&5
1475 (eval "$ac_compile") 2>conftest.err
1476 ac_status=$?
1477 if test -s conftest.err; then
1478 grep -v '^ *+' conftest.err >conftest.er1
1479 cat conftest.er1 >&5
1480 mv -f conftest.er1 conftest.err
1481 fi
1482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1483 test $ac_status = 0; } && {
1484 test -z "$ac_cxx_werror_flag" ||
1485 test ! -s conftest.err
1486 } && test -s conftest.$ac_objext; then :
1487 ac_retval=0
1488 else
1489 $as_echo "$as_me: failed program was:" >&5
1490 sed 's/^/| /' conftest.$ac_ext >&5
1491
1492 ac_retval=1
1493 fi
1494 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1495 as_fn_set_status $ac_retval
1496
1497 } # ac_fn_cxx_try_compile
1498
1499 # ac_fn_c_try_compile LINENO
1500 # --------------------------
1501 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1502 ac_fn_c_try_compile ()
1503 {
1504 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1505 rm -f conftest.$ac_objext
1506 if { { ac_try="$ac_compile"
1507 case "(($ac_try" in
1508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1509 *) ac_try_echo=$ac_try;;
1510 esac
1511 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1512 $as_echo "$ac_try_echo"; } >&5
1513 (eval "$ac_compile") 2>conftest.err
1514 ac_status=$?
1515 if test -s conftest.err; then
1516 grep -v '^ *+' conftest.err >conftest.er1
1517 cat conftest.er1 >&5
1518 mv -f conftest.er1 conftest.err
1519 fi
1520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1521 test $ac_status = 0; } && {
1522 test -z "$ac_c_werror_flag" ||
1523 test ! -s conftest.err
1524 } && test -s conftest.$ac_objext; then :
1525 ac_retval=0
1526 else
1527 $as_echo "$as_me: failed program was:" >&5
1528 sed 's/^/| /' conftest.$ac_ext >&5
1529
1530 ac_retval=1
1531 fi
1532 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1533 as_fn_set_status $ac_retval
1534
1535 } # ac_fn_c_try_compile
1536
1537 # ac_fn_c_try_cpp LINENO
1538 # ----------------------
1539 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1540 ac_fn_c_try_cpp ()
1541 {
1542 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1543 if { { ac_try="$ac_cpp conftest.$ac_ext"
1544 case "(($ac_try" in
1545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1546 *) ac_try_echo=$ac_try;;
1547 esac
1548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1549 $as_echo "$ac_try_echo"; } >&5
1550 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1551 ac_status=$?
1552 if test -s conftest.err; then
1553 grep -v '^ *+' conftest.err >conftest.er1
1554 cat conftest.er1 >&5
1555 mv -f conftest.er1 conftest.err
1556 fi
1557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1558 test $ac_status = 0; } > conftest.i && {
1559 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1560 test ! -s conftest.err
1561 }; then :
1562 ac_retval=0
1563 else
1564 $as_echo "$as_me: failed program was:" >&5
1565 sed 's/^/| /' conftest.$ac_ext >&5
1566
1567 ac_retval=1
1568 fi
1569 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1570 as_fn_set_status $ac_retval
1571
1572 } # ac_fn_c_try_cpp
1573
1574 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1575 # -------------------------------------------------------
1576 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1577 # the include files in INCLUDES and setting the cache variable VAR
1578 # accordingly.
1579 ac_fn_c_check_header_mongrel ()
1580 {
1581 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1582 if eval \${$3+:} false; then :
1583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1584 $as_echo_n "checking for $2... " >&6; }
1585 if eval \${$3+:} false; then :
1586 $as_echo_n "(cached) " >&6
1587 fi
1588 eval ac_res=\$$3
1589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1590 $as_echo "$ac_res" >&6; }
1591 else
1592 # Is the header compilable?
1593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1594 $as_echo_n "checking $2 usability... " >&6; }
1595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1596 /* end confdefs.h. */
1597 $4
1598 #include <$2>
1599 _ACEOF
1600 if ac_fn_c_try_compile "$LINENO"; then :
1601 ac_header_compiler=yes
1602 else
1603 ac_header_compiler=no
1604 fi
1605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1607 $as_echo "$ac_header_compiler" >&6; }
1608
1609 # Is the header present?
1610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1611 $as_echo_n "checking $2 presence... " >&6; }
1612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1613 /* end confdefs.h. */
1614 #include <$2>
1615 _ACEOF
1616 if ac_fn_c_try_cpp "$LINENO"; then :
1617 ac_header_preproc=yes
1618 else
1619 ac_header_preproc=no
1620 fi
1621 rm -f conftest.err conftest.i conftest.$ac_ext
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1623 $as_echo "$ac_header_preproc" >&6; }
1624
1625 # So? What about this header?
1626 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1627 yes:no: )
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1629 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1631 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1632 ;;
1633 no:yes:* )
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1635 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1637 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1639 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1641 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1643 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1644 ;;
1645 esac
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1647 $as_echo_n "checking for $2... " >&6; }
1648 if eval \${$3+:} false; then :
1649 $as_echo_n "(cached) " >&6
1650 else
1651 eval "$3=\$ac_header_compiler"
1652 fi
1653 eval ac_res=\$$3
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1655 $as_echo "$ac_res" >&6; }
1656 fi
1657 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1658
1659 } # ac_fn_c_check_header_mongrel
1660
1661 # ac_fn_c_try_run LINENO
1662 # ----------------------
1663 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1664 # that executables *can* be run.
1665 ac_fn_c_try_run ()
1666 {
1667 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1668 if { { ac_try="$ac_link"
1669 case "(($ac_try" in
1670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1671 *) ac_try_echo=$ac_try;;
1672 esac
1673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674 $as_echo "$ac_try_echo"; } >&5
1675 (eval "$ac_link") 2>&5
1676 ac_status=$?
1677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1678 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1679 { { case "(($ac_try" in
1680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1681 *) ac_try_echo=$ac_try;;
1682 esac
1683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1684 $as_echo "$ac_try_echo"; } >&5
1685 (eval "$ac_try") 2>&5
1686 ac_status=$?
1687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1688 test $ac_status = 0; }; }; then :
1689 ac_retval=0
1690 else
1691 $as_echo "$as_me: program exited with status $ac_status" >&5
1692 $as_echo "$as_me: failed program was:" >&5
1693 sed 's/^/| /' conftest.$ac_ext >&5
1694
1695 ac_retval=$ac_status
1696 fi
1697 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1698 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1699 as_fn_set_status $ac_retval
1700
1701 } # ac_fn_c_try_run
1702
1703 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1704 # -------------------------------------------------------
1705 # Tests whether HEADER exists and can be compiled using the include files in
1706 # INCLUDES, setting the cache variable VAR accordingly.
1707 ac_fn_c_check_header_compile ()
1708 {
1709 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1711 $as_echo_n "checking for $2... " >&6; }
1712 if eval \${$3+:} false; then :
1713 $as_echo_n "(cached) " >&6
1714 else
1715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1716 /* end confdefs.h. */
1717 $4
1718 #include <$2>
1719 _ACEOF
1720 if ac_fn_c_try_compile "$LINENO"; then :
1721 eval "$3=yes"
1722 else
1723 eval "$3=no"
1724 fi
1725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1726 fi
1727 eval ac_res=\$$3
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1729 $as_echo "$ac_res" >&6; }
1730 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1731
1732 } # ac_fn_c_check_header_compile
1733
1734 # ac_fn_c_try_link LINENO
1735 # -----------------------
1736 # Try to link conftest.$ac_ext, and return whether this succeeded.
1737 ac_fn_c_try_link ()
1738 {
1739 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1740 rm -f conftest.$ac_objext conftest$ac_exeext
1741 if { { ac_try="$ac_link"
1742 case "(($ac_try" in
1743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1744 *) ac_try_echo=$ac_try;;
1745 esac
1746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1747 $as_echo "$ac_try_echo"; } >&5
1748 (eval "$ac_link") 2>conftest.err
1749 ac_status=$?
1750 if test -s conftest.err; then
1751 grep -v '^ *+' conftest.err >conftest.er1
1752 cat conftest.er1 >&5
1753 mv -f conftest.er1 conftest.err
1754 fi
1755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1756 test $ac_status = 0; } && {
1757 test -z "$ac_c_werror_flag" ||
1758 test ! -s conftest.err
1759 } && test -s conftest$ac_exeext && {
1760 test "$cross_compiling" = yes ||
1761 $as_test_x conftest$ac_exeext
1762 }; then :
1763 ac_retval=0
1764 else
1765 $as_echo "$as_me: failed program was:" >&5
1766 sed 's/^/| /' conftest.$ac_ext >&5
1767
1768 ac_retval=1
1769 fi
1770 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1771 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1772 # interfere with the next link command; also delete a directory that is
1773 # left behind by Apple's compiler. We do this before executing the actions.
1774 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1775 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1776 as_fn_set_status $ac_retval
1777
1778 } # ac_fn_c_try_link
1779
1780 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1781 # -------------------------------------------
1782 # Tests whether TYPE exists after having included INCLUDES, setting cache
1783 # variable VAR accordingly.
1784 ac_fn_c_check_type ()
1785 {
1786 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1788 $as_echo_n "checking for $2... " >&6; }
1789 if eval \${$3+:} false; then :
1790 $as_echo_n "(cached) " >&6
1791 else
1792 eval "$3=no"
1793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1794 /* end confdefs.h. */
1795 $4
1796 int
1797 main ()
1798 {
1799 if (sizeof ($2))
1800 return 0;
1801 ;
1802 return 0;
1803 }
1804 _ACEOF
1805 if ac_fn_c_try_compile "$LINENO"; then :
1806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1807 /* end confdefs.h. */
1808 $4
1809 int
1810 main ()
1811 {
1812 if (sizeof (($2)))
1813 return 0;
1814 ;
1815 return 0;
1816 }
1817 _ACEOF
1818 if ac_fn_c_try_compile "$LINENO"; then :
1819
1820 else
1821 eval "$3=yes"
1822 fi
1823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1824 fi
1825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1826 fi
1827 eval ac_res=\$$3
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1829 $as_echo "$ac_res" >&6; }
1830 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1831
1832 } # ac_fn_c_check_type
1833
1834 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1835 # --------------------------------------------
1836 # Tries to find the compile-time value of EXPR in a program that includes
1837 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1838 # computed
1839 ac_fn_c_compute_int ()
1840 {
1841 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1842 if test "$cross_compiling" = yes; then
1843 # Depending upon the size, compute the lo and hi bounds.
1844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1845 /* end confdefs.h. */
1846 $4
1847 int
1848 main ()
1849 {
1850 static int test_array [1 - 2 * !(($2) >= 0)];
1851 test_array [0] = 0
1852
1853 ;
1854 return 0;
1855 }
1856 _ACEOF
1857 if ac_fn_c_try_compile "$LINENO"; then :
1858 ac_lo=0 ac_mid=0
1859 while :; do
1860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1861 /* end confdefs.h. */
1862 $4
1863 int
1864 main ()
1865 {
1866 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1867 test_array [0] = 0
1868
1869 ;
1870 return 0;
1871 }
1872 _ACEOF
1873 if ac_fn_c_try_compile "$LINENO"; then :
1874 ac_hi=$ac_mid; break
1875 else
1876 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1877 if test $ac_lo -le $ac_mid; then
1878 ac_lo= ac_hi=
1879 break
1880 fi
1881 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1882 fi
1883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1884 done
1885 else
1886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1887 /* end confdefs.h. */
1888 $4
1889 int
1890 main ()
1891 {
1892 static int test_array [1 - 2 * !(($2) < 0)];
1893 test_array [0] = 0
1894
1895 ;
1896 return 0;
1897 }
1898 _ACEOF
1899 if ac_fn_c_try_compile "$LINENO"; then :
1900 ac_hi=-1 ac_mid=-1
1901 while :; do
1902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1903 /* end confdefs.h. */
1904 $4
1905 int
1906 main ()
1907 {
1908 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1909 test_array [0] = 0
1910
1911 ;
1912 return 0;
1913 }
1914 _ACEOF
1915 if ac_fn_c_try_compile "$LINENO"; then :
1916 ac_lo=$ac_mid; break
1917 else
1918 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1919 if test $ac_mid -le $ac_hi; then
1920 ac_lo= ac_hi=
1921 break
1922 fi
1923 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1924 fi
1925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1926 done
1927 else
1928 ac_lo= ac_hi=
1929 fi
1930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1931 fi
1932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1933 # Binary search between lo and hi bounds.
1934 while test "x$ac_lo" != "x$ac_hi"; do
1935 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1937 /* end confdefs.h. */
1938 $4
1939 int
1940 main ()
1941 {
1942 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1943 test_array [0] = 0
1944
1945 ;
1946 return 0;
1947 }
1948 _ACEOF
1949 if ac_fn_c_try_compile "$LINENO"; then :
1950 ac_hi=$ac_mid
1951 else
1952 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1953 fi
1954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1955 done
1956 case $ac_lo in #((
1957 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1958 '') ac_retval=1 ;;
1959 esac
1960 else
1961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1962 /* end confdefs.h. */
1963 $4
1964 static long int longval () { return $2; }
1965 static unsigned long int ulongval () { return $2; }
1966 #include <stdio.h>
1967 #include <stdlib.h>
1968 int
1969 main ()
1970 {
1971
1972 FILE *f = fopen ("conftest.val", "w");
1973 if (! f)
1974 return 1;
1975 if (($2) < 0)
1976 {
1977 long int i = longval ();
1978 if (i != ($2))
1979 return 1;
1980 fprintf (f, "%ld", i);
1981 }
1982 else
1983 {
1984 unsigned long int i = ulongval ();
1985 if (i != ($2))
1986 return 1;
1987 fprintf (f, "%lu", i);
1988 }
1989 /* Do not output a trailing newline, as this causes \r\n confusion
1990 on some platforms. */
1991 return ferror (f) || fclose (f) != 0;
1992
1993 ;
1994 return 0;
1995 }
1996 _ACEOF
1997 if ac_fn_c_try_run "$LINENO"; then :
1998 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1999 else
2000 ac_retval=1
2001 fi
2002 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2003 conftest.$ac_objext conftest.beam conftest.$ac_ext
2004 rm -f conftest.val
2005
2006 fi
2007 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2008 as_fn_set_status $ac_retval
2009
2010 } # ac_fn_c_compute_int
2011
2012 # ac_fn_cxx_try_link LINENO
2013 # -------------------------
2014 # Try to link conftest.$ac_ext, and return whether this succeeded.
2015 ac_fn_cxx_try_link ()
2016 {
2017 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2018 rm -f conftest.$ac_objext conftest$ac_exeext
2019 if { { ac_try="$ac_link"
2020 case "(($ac_try" in
2021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2022 *) ac_try_echo=$ac_try;;
2023 esac
2024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2025 $as_echo "$ac_try_echo"; } >&5
2026 (eval "$ac_link") 2>conftest.err
2027 ac_status=$?
2028 if test -s conftest.err; then
2029 grep -v '^ *+' conftest.err >conftest.er1
2030 cat conftest.er1 >&5
2031 mv -f conftest.er1 conftest.err
2032 fi
2033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2034 test $ac_status = 0; } && {
2035 test -z "$ac_cxx_werror_flag" ||
2036 test ! -s conftest.err
2037 } && test -s conftest$ac_exeext && {
2038 test "$cross_compiling" = yes ||
2039 $as_test_x conftest$ac_exeext
2040 }; then :
2041 ac_retval=0
2042 else
2043 $as_echo "$as_me: failed program was:" >&5
2044 sed 's/^/| /' conftest.$ac_ext >&5
2045
2046 ac_retval=1
2047 fi
2048 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2049 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2050 # interfere with the next link command; also delete a directory that is
2051 # left behind by Apple's compiler. We do this before executing the actions.
2052 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2053 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2054 as_fn_set_status $ac_retval
2055
2056 } # ac_fn_cxx_try_link
2057
2058 # ac_fn_c_check_func LINENO FUNC VAR
2059 # ----------------------------------
2060 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2061 ac_fn_c_check_func ()
2062 {
2063 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2065 $as_echo_n "checking for $2... " >&6; }
2066 if eval \${$3+:} false; then :
2067 $as_echo_n "(cached) " >&6
2068 else
2069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2070 /* end confdefs.h. */
2071 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2073 #define $2 innocuous_$2
2074
2075 /* System header to define __stub macros and hopefully few prototypes,
2076 which can conflict with char $2 (); below.
2077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2078 <limits.h> exists even on freestanding compilers. */
2079
2080 #ifdef __STDC__
2081 # include <limits.h>
2082 #else
2083 # include <assert.h>
2084 #endif
2085
2086 #undef $2
2087
2088 /* Override any GCC internal prototype to avoid an error.
2089 Use char because int might match the return type of a GCC
2090 builtin and then its argument prototype would still apply. */
2091 #ifdef __cplusplus
2092 extern "C"
2093 #endif
2094 char $2 ();
2095 /* The GNU C library defines this for functions which it implements
2096 to always fail with ENOSYS. Some functions are actually named
2097 something starting with __ and the normal name is an alias. */
2098 #if defined __stub_$2 || defined __stub___$2
2099 choke me
2100 #endif
2101
2102 int
2103 main ()
2104 {
2105 return $2 ();
2106 ;
2107 return 0;
2108 }
2109 _ACEOF
2110 if ac_fn_c_try_link "$LINENO"; then :
2111 eval "$3=yes"
2112 else
2113 eval "$3=no"
2114 fi
2115 rm -f core conftest.err conftest.$ac_objext \
2116 conftest$ac_exeext conftest.$ac_ext
2117 fi
2118 eval ac_res=\$$3
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2120 $as_echo "$ac_res" >&6; }
2121 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2122
2123 } # ac_fn_c_check_func
2124 cat >config.log <<_ACEOF
2125 This file contains any messages produced by compilers while
2126 running configure, to aid debugging if configure makes a mistake.
2127
2128 It was created by T2Sami $as_me 2.0.0033-pre2, which was
2129 generated by GNU Autoconf 2.68. Invocation command line was
2130
2131 $ $0 $@
2132
2133 _ACEOF
2134 exec 5>>config.log
2135 {
2136 cat <<_ASUNAME
2137 ## --------- ##
2138 ## Platform. ##
2139 ## --------- ##
2140
2141 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2142 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2143 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2144 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2145 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2146
2147 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2148 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2149
2150 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2151 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2152 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2153 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2154 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2155 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2156 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2157
2158 _ASUNAME
2159
2160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2161 for as_dir in $PATH
2162 do
2163 IFS=$as_save_IFS
2164 test -z "$as_dir" && as_dir=.
2165 $as_echo "PATH: $as_dir"
2166 done
2167 IFS=$as_save_IFS
2168
2169 } >&5
2170
2171 cat >&5 <<_ACEOF
2172
2173
2174 ## ----------- ##
2175 ## Core tests. ##
2176 ## ----------- ##
2177
2178 _ACEOF
2179
2180
2181 # Keep a trace of the command line.
2182 # Strip out --no-create and --no-recursion so they do not pile up.
2183 # Strip out --silent because we don't want to record it for future runs.
2184 # Also quote any args containing shell meta-characters.
2185 # Make two passes to allow for proper duplicate-argument suppression.
2186 ac_configure_args=
2187 ac_configure_args0=
2188 ac_configure_args1=
2189 ac_must_keep_next=false
2190 for ac_pass in 1 2
2191 do
2192 for ac_arg
2193 do
2194 case $ac_arg in
2195 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2196 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2197 | -silent | --silent | --silen | --sile | --sil)
2198 continue ;;
2199 *\'*)
2200 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2201 esac
2202 case $ac_pass in
2203 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2204 2)
2205 as_fn_append ac_configure_args1 " '$ac_arg'"
2206 if test $ac_must_keep_next = true; then
2207 ac_must_keep_next=false # Got value, back to normal.
2208 else
2209 case $ac_arg in
2210 *=* | --config-cache | -C | -disable-* | --disable-* \
2211 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2212 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2213 | -with-* | --with-* | -without-* | --without-* | --x)
2214 case "$ac_configure_args0 " in
2215 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2216 esac
2217 ;;
2218 -* ) ac_must_keep_next=true ;;
2219 esac
2220 fi
2221 as_fn_append ac_configure_args " '$ac_arg'"
2222 ;;
2223 esac
2224 done
2225 done
2226 { ac_configure_args0=; unset ac_configure_args0;}
2227 { ac_configure_args1=; unset ac_configure_args1;}
2228
2229 # When interrupted or exit'd, cleanup temporary files, and complete
2230 # config.log. We remove comments because anyway the quotes in there
2231 # would cause problems or look ugly.
2232 # WARNING: Use '\'' to represent an apostrophe within the trap.
2233 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2234 trap 'exit_status=$?
2235 # Save into config.log some information that might help in debugging.
2236 {
2237 echo
2238
2239 $as_echo "## ---------------- ##
2240 ## Cache variables. ##
2241 ## ---------------- ##"
2242 echo
2243 # The following way of writing the cache mishandles newlines in values,
2244 (
2245 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2246 eval ac_val=\$$ac_var
2247 case $ac_val in #(
2248 *${as_nl}*)
2249 case $ac_var in #(
2250 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2251 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2252 esac
2253 case $ac_var in #(
2254 _ | IFS | as_nl) ;; #(
2255 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2256 *) { eval $ac_var=; unset $ac_var;} ;;
2257 esac ;;
2258 esac
2259 done
2260 (set) 2>&1 |
2261 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2262 *${as_nl}ac_space=\ *)
2263 sed -n \
2264 "s/'\''/'\''\\\\'\'''\''/g;
2265 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2266 ;; #(
2267 *)
2268 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2269 ;;
2270 esac |
2271 sort
2272 )
2273 echo
2274
2275 $as_echo "## ----------------- ##
2276 ## Output variables. ##
2277 ## ----------------- ##"
2278 echo
2279 for ac_var in $ac_subst_vars
2280 do
2281 eval ac_val=\$$ac_var
2282 case $ac_val in
2283 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2284 esac
2285 $as_echo "$ac_var='\''$ac_val'\''"
2286 done | sort
2287 echo
2288
2289 if test -n "$ac_subst_files"; then
2290 $as_echo "## ------------------- ##
2291 ## File substitutions. ##
2292 ## ------------------- ##"
2293 echo
2294 for ac_var in $ac_subst_files
2295 do
2296 eval ac_val=\$$ac_var
2297 case $ac_val in
2298 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2299 esac
2300 $as_echo "$ac_var='\''$ac_val'\''"
2301 done | sort
2302 echo
2303 fi
2304
2305 if test -s confdefs.h; then
2306 $as_echo "## ----------- ##
2307 ## confdefs.h. ##
2308 ## ----------- ##"
2309 echo
2310 cat confdefs.h
2311 echo
2312 fi
2313 test "$ac_signal" != 0 &&
2314 $as_echo "$as_me: caught signal $ac_signal"
2315 $as_echo "$as_me: exit $exit_status"
2316 } >&5
2317 rm -f core *.core core.conftest.* &&
2318 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2319 exit $exit_status
2320 ' 0
2321 for ac_signal in 1 2 13 15; do
2322 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2323 done
2324 ac_signal=0
2325
2326 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2327 rm -f -r conftest* confdefs.h
2328
2329 $as_echo "/* confdefs.h */" > confdefs.h
2330
2331 # Predefined preprocessor variables.
2332
2333 cat >>confdefs.h <<_ACEOF
2334 #define PACKAGE_NAME "$PACKAGE_NAME"
2335 _ACEOF
2336
2337 cat >>confdefs.h <<_ACEOF
2338 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2339 _ACEOF
2340
2341 cat >>confdefs.h <<_ACEOF
2342 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2343 _ACEOF
2344
2345 cat >>confdefs.h <<_ACEOF
2346 #define PACKAGE_STRING "$PACKAGE_STRING"
2347 _ACEOF
2348
2349 cat >>confdefs.h <<_ACEOF
2350 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2351 _ACEOF
2352
2353 cat >>confdefs.h <<_ACEOF
2354 #define PACKAGE_URL "$PACKAGE_URL"
2355 _ACEOF
2356
2357
2358 # Let the site file select an alternate cache file if it wants to.
2359 # Prefer an explicitly selected file to automatically selected ones.
2360 ac_site_file1=NONE
2361 ac_site_file2=NONE
2362 if test -n "$CONFIG_SITE"; then
2363 # We do not want a PATH search for config.site.
2364 case $CONFIG_SITE in #((
2365 -*) ac_site_file1=./$CONFIG_SITE;;
2366 */*) ac_site_file1=$CONFIG_SITE;;
2367 *) ac_site_file1=./$CONFIG_SITE;;
2368 esac
2369 elif test "x$prefix" != xNONE; then
2370 ac_site_file1=$prefix/share/config.site
2371 ac_site_file2=$prefix/etc/config.site
2372 else
2373 ac_site_file1=$ac_default_prefix/share/config.site
2374 ac_site_file2=$ac_default_prefix/etc/config.site
2375 fi
2376 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2377 do
2378 test "x$ac_site_file" = xNONE && continue
2379 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2381 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2382 sed 's/^/| /' "$ac_site_file" >&5
2383 . "$ac_site_file" \
2384 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2386 as_fn_error $? "failed to load site script $ac_site_file
2387 See \`config.log' for more details" "$LINENO" 5; }
2388 fi
2389 done
2390
2391 if test -r "$cache_file"; then
2392 # Some versions of bash will fail to source /dev/null (special files
2393 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2394 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2396 $as_echo "$as_me: loading cache $cache_file" >&6;}
2397 case $cache_file in
2398 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2399 *) . "./$cache_file";;
2400 esac
2401 fi
2402 else
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2404 $as_echo "$as_me: creating cache $cache_file" >&6;}
2405 >$cache_file
2406 fi
2407
2408 # Check that the precious variables saved in the cache have kept the same
2409 # value.
2410 ac_cache_corrupted=false
2411 for ac_var in $ac_precious_vars; do
2412 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2413 eval ac_new_set=\$ac_env_${ac_var}_set
2414 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2415 eval ac_new_val=\$ac_env_${ac_var}_value
2416 case $ac_old_set,$ac_new_set in
2417 set,)
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2419 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2420 ac_cache_corrupted=: ;;
2421 ,set)
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2423 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2424 ac_cache_corrupted=: ;;
2425 ,);;
2426 *)
2427 if test "x$ac_old_val" != "x$ac_new_val"; then
2428 # differences in whitespace do not lead to failure.
2429 ac_old_val_w=`echo x $ac_old_val`
2430 ac_new_val_w=`echo x $ac_new_val`
2431 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2433 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2434 ac_cache_corrupted=:
2435 else
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2437 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2438 eval $ac_var=\$ac_old_val
2439 fi
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2441 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2443 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2444 fi;;
2445 esac
2446 # Pass precious variables to config.status.
2447 if test "$ac_new_set" = set; then
2448 case $ac_new_val in
2449 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2450 *) ac_arg=$ac_var=$ac_new_val ;;
2451 esac
2452 case " $ac_configure_args " in
2453 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2454 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2455 esac
2456 fi
2457 done
2458 if $ac_cache_corrupted; then
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2460 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2462 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2463 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2464 fi
2465 ## -------------------- ##
2466 ## Main body of script. ##
2467 ## -------------------- ##
2468
2469 ac_ext=c
2470 ac_cpp='$CPP $CPPFLAGS'
2471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2474
2475
2476
2477
2478 am__api_version='1.10'
2479
2480 ac_aux_dir=
2481 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2482 if test -f "$ac_dir/install-sh"; then
2483 ac_aux_dir=$ac_dir
2484 ac_install_sh="$ac_aux_dir/install-sh -c"
2485 break
2486 elif test -f "$ac_dir/install.sh"; then
2487 ac_aux_dir=$ac_dir
2488 ac_install_sh="$ac_aux_dir/install.sh -c"
2489 break
2490 elif test -f "$ac_dir/shtool"; then
2491 ac_aux_dir=$ac_dir
2492 ac_install_sh="$ac_aux_dir/shtool install -c"
2493 break
2494 fi
2495 done
2496 if test -z "$ac_aux_dir"; then
2497 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2498 fi
2499
2500 # These three variables are undocumented and unsupported,
2501 # and are intended to be withdrawn in a future Autoconf release.
2502 # They can cause serious problems if a builder's source tree is in a directory
2503 # whose full name contains unusual characters.
2504 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2505 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2506 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2507
2508
2509 # Find a good install program. We prefer a C program (faster),
2510 # so one script is as good as another. But avoid the broken or
2511 # incompatible versions:
2512 # SysV /etc/install, /usr/sbin/install
2513 # SunOS /usr/etc/install
2514 # IRIX /sbin/install
2515 # AIX /bin/install
2516 # AmigaOS /C/install, which installs bootblocks on floppy discs
2517 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2518 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2519 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2520 # OS/2's system install, which has a completely different semantic
2521 # ./install, which can be erroneously created by make from ./install.sh.
2522 # Reject install programs that cannot install multiple files.
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2524 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2525 if test -z "$INSTALL"; then
2526 if ${ac_cv_path_install+:} false; then :
2527 $as_echo_n "(cached) " >&6
2528 else
2529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2530 for as_dir in $PATH
2531 do
2532 IFS=$as_save_IFS
2533 test -z "$as_dir" && as_dir=.
2534 # Account for people who put trailing slashes in PATH elements.
2535 case $as_dir/ in #((
2536 ./ | .// | /[cC]/* | \
2537 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2538 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2539 /usr/ucb/* ) ;;
2540 *)
2541 # OSF1 and SCO ODT 3.0 have their own names for install.
2542 # Don't use installbsd from OSF since it installs stuff as root
2543 # by default.
2544 for ac_prog in ginstall scoinst install; do
2545 for ac_exec_ext in '' $ac_executable_extensions; do
2546 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2547 if test $ac_prog = install &&
2548 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2549 # AIX install. It has an incompatible calling convention.
2550 :
2551 elif test $ac_prog = install &&
2552 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2553 # program-specific install script used by HP pwplus--don't use.
2554 :
2555 else
2556 rm -rf conftest.one conftest.two conftest.dir
2557 echo one > conftest.one
2558 echo two > conftest.two
2559 mkdir conftest.dir
2560 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2561 test -s conftest.one && test -s conftest.two &&
2562 test -s conftest.dir/conftest.one &&
2563 test -s conftest.dir/conftest.two
2564 then
2565 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2566 break 3
2567 fi
2568 fi
2569 fi
2570 done
2571 done
2572 ;;
2573 esac
2574
2575 done
2576 IFS=$as_save_IFS
2577
2578 rm -rf conftest.one conftest.two conftest.dir
2579
2580 fi
2581 if test "${ac_cv_path_install+set}" = set; then
2582 INSTALL=$ac_cv_path_install
2583 else
2584 # As a last resort, use the slow shell script. Don't cache a
2585 # value for INSTALL within a source directory, because that will
2586 # break other packages using the cache if that directory is
2587 # removed, or if the value is a relative name.
2588 INSTALL=$ac_install_sh
2589 fi
2590 fi
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2592 $as_echo "$INSTALL" >&6; }
2593
2594 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2595 # It thinks the first close brace ends the variable substitution.
2596 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2597
2598 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2599
2600 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2601
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2603 $as_echo_n "checking whether build environment is sane... " >&6; }
2604 # Just in case
2605 sleep 1
2606 echo timestamp > conftest.file
2607 # Do `set' in a subshell so we don't clobber the current shell's
2608 # arguments. Must try -L first in case configure is actually a
2609 # symlink; some systems play weird games with the mod time of symlinks
2610 # (eg FreeBSD returns the mod time of the symlink's containing
2611 # directory).
2612 if (
2613 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2614 if test "$*" = "X"; then
2615 # -L didn't work.
2616 set X `ls -t $srcdir/configure conftest.file`
2617 fi
2618 rm -f conftest.file
2619 if test "$*" != "X $srcdir/configure conftest.file" \
2620 && test "$*" != "X conftest.file $srcdir/configure"; then
2621
2622 # If neither matched, then we have a broken ls. This can happen
2623 # if, for instance, CONFIG_SHELL is bash and it inherits a
2624 # broken ls alias from the environment. This has actually
2625 # happened. Such a system could not be considered "sane".
2626 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2627 alias in your environment" "$LINENO" 5
2628 fi
2629
2630 test "$2" = conftest.file
2631 )
2632 then
2633 # Ok.
2634 :
2635 else
2636 as_fn_error $? "newly created file is older than distributed files!
2637 Check your system clock" "$LINENO" 5
2638 fi
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2640 $as_echo "yes" >&6; }
2641 test "$program_prefix" != NONE &&
2642 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2643 # Use a double $ so make ignores it.
2644 test "$program_suffix" != NONE &&
2645 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2646 # Double any \ or $.
2647 # By default was `s,x,x', remove it if useless.
2648 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2649 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2650
2651 # expand $ac_aux_dir to an absolute path
2652 am_aux_dir=`cd $ac_aux_dir && pwd`
2653
2654 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2655 # Use eval to expand $SHELL
2656 if eval "$MISSING --run true"; then
2657 am_missing_run="$MISSING --run "
2658 else
2659 am_missing_run=
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2661 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2662 fi
2663
2664 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2665
2666 # Installed binaries are usually stripped using `strip' when the user
2667 # run `make install-strip'. However `strip' might not be the right
2668 # tool to use in cross-compilation environments, therefore Automake
2669 # will honor the `STRIP' environment variable to overrule this program.
2670 if test "$cross_compiling" != no; then
2671 if test -n "$ac_tool_prefix"; then
2672 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2673 set dummy ${ac_tool_prefix}strip; ac_word=$2
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2675 $as_echo_n "checking for $ac_word... " >&6; }
2676 if ${ac_cv_prog_STRIP+:} false; then :
2677 $as_echo_n "(cached) " >&6
2678 else
2679 if test -n "$STRIP"; then
2680 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2681 else
2682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2683 for as_dir in $PATH
2684 do
2685 IFS=$as_save_IFS
2686 test -z "$as_dir" && as_dir=.
2687 for ac_exec_ext in '' $ac_executable_extensions; do
2688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2689 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2691 break 2
2692 fi
2693 done
2694 done
2695 IFS=$as_save_IFS
2696
2697 fi
2698 fi
2699 STRIP=$ac_cv_prog_STRIP
2700 if test -n "$STRIP"; then
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2702 $as_echo "$STRIP" >&6; }
2703 else
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2705 $as_echo "no" >&6; }
2706 fi
2707
2708
2709 fi
2710 if test -z "$ac_cv_prog_STRIP"; then
2711 ac_ct_STRIP=$STRIP
2712 # Extract the first word of "strip", so it can be a program name with args.
2713 set dummy strip; ac_word=$2
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2715 $as_echo_n "checking for $ac_word... " >&6; }
2716 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2717 $as_echo_n "(cached) " >&6
2718 else
2719 if test -n "$ac_ct_STRIP"; then
2720 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2721 else
2722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2723 for as_dir in $PATH
2724 do
2725 IFS=$as_save_IFS
2726 test -z "$as_dir" && as_dir=.
2727 for ac_exec_ext in '' $ac_executable_extensions; do
2728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2729 ac_cv_prog_ac_ct_STRIP="strip"
2730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2731 break 2
2732 fi
2733 done
2734 done
2735 IFS=$as_save_IFS
2736
2737 fi
2738 fi
2739 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2740 if test -n "$ac_ct_STRIP"; then
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2742 $as_echo "$ac_ct_STRIP" >&6; }
2743 else
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2745 $as_echo "no" >&6; }
2746 fi
2747
2748 if test "x$ac_ct_STRIP" = x; then
2749 STRIP=":"
2750 else
2751 case $cross_compiling:$ac_tool_warned in
2752 yes:)
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2754 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2755 ac_tool_warned=yes ;;
2756 esac
2757 STRIP=$ac_ct_STRIP
2758 fi
2759 else
2760 STRIP="$ac_cv_prog_STRIP"
2761 fi
2762
2763 fi
2764 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2765
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2767 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2768 if test -z "$MKDIR_P"; then
2769 if ${ac_cv_path_mkdir+:} false; then :
2770 $as_echo_n "(cached) " >&6
2771 else
2772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2773 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2774 do
2775 IFS=$as_save_IFS
2776 test -z "$as_dir" && as_dir=.
2777 for ac_prog in mkdir gmkdir; do
2778 for ac_exec_ext in '' $ac_executable_extensions; do
2779 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2780 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2781 'mkdir (GNU coreutils) '* | \
2782 'mkdir (coreutils) '* | \
2783 'mkdir (fileutils) '4.1*)
2784 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2785 break 3;;
2786 esac
2787 done
2788 done
2789 done
2790 IFS=$as_save_IFS
2791
2792 fi
2793
2794 test -d ./--version && rmdir ./--version
2795 if test "${ac_cv_path_mkdir+set}" = set; then
2796 MKDIR_P="$ac_cv_path_mkdir -p"
2797 else
2798 # As a last resort, use the slow shell script. Don't cache a
2799 # value for MKDIR_P within a source directory, because that will
2800 # break other packages using the cache if that directory is
2801 # removed, or if the value is a relative name.
2802 MKDIR_P="$ac_install_sh -d"
2803 fi
2804 fi
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2806 $as_echo "$MKDIR_P" >&6; }
2807
2808 mkdir_p="$MKDIR_P"
2809 case $mkdir_p in
2810 [\\/$]* | ?:[\\/]*) ;;
2811 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2812 esac
2813
2814 for ac_prog in gawk mawk nawk awk
2815 do
2816 # Extract the first word of "$ac_prog", so it can be a program name with args.
2817 set dummy $ac_prog; ac_word=$2
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2819 $as_echo_n "checking for $ac_word... " >&6; }
2820 if ${ac_cv_prog_AWK+:} false; then :
2821 $as_echo_n "(cached) " >&6
2822 else
2823 if test -n "$AWK"; then
2824 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2825 else
2826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2827 for as_dir in $PATH
2828 do
2829 IFS=$as_save_IFS
2830 test -z "$as_dir" && as_dir=.
2831 for ac_exec_ext in '' $ac_executable_extensions; do
2832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2833 ac_cv_prog_AWK="$ac_prog"
2834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2835 break 2
2836 fi
2837 done
2838 done
2839 IFS=$as_save_IFS
2840
2841 fi
2842 fi
2843 AWK=$ac_cv_prog_AWK
2844 if test -n "$AWK"; then
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2846 $as_echo "$AWK" >&6; }
2847 else
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2849 $as_echo "no" >&6; }
2850 fi
2851
2852
2853 test -n "$AWK" && break
2854 done
2855
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2857 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2858 set x ${MAKE-make}
2859 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2860 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2861 $as_echo_n "(cached) " >&6
2862 else
2863 cat >conftest.make <<\_ACEOF
2864 SHELL = /bin/sh
2865 all:
2866 @echo '@@@%%%=$(MAKE)=@@@%%%'
2867 _ACEOF
2868 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2869 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2870 *@@@%%%=?*=@@@%%%*)
2871 eval ac_cv_prog_make_${ac_make}_set=yes;;
2872 *)
2873 eval ac_cv_prog_make_${ac_make}_set=no;;
2874 esac
2875 rm -f conftest.make
2876 fi
2877 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2879 $as_echo "yes" >&6; }
2880 SET_MAKE=
2881 else
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2883 $as_echo "no" >&6; }
2884 SET_MAKE="MAKE=${MAKE-make}"
2885 fi
2886
2887 rm -rf .tst 2>/dev/null
2888 mkdir .tst 2>/dev/null
2889 if test -d .tst; then
2890 am__leading_dot=.
2891 else
2892 am__leading_dot=_
2893 fi
2894 rmdir .tst 2>/dev/null
2895
2896 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2897 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2898 # is not polluted with repeated "-I."
2899 am__isrc=' -I$(srcdir)'
2900 # test to see if srcdir already configured
2901 if test -f $srcdir/config.status; then
2902 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2903 fi
2904 fi
2905
2906 # test whether we have cygpath
2907 if test -z "$CYGPATH_W"; then
2908 if (cygpath --version) >/dev/null 2>/dev/null; then
2909 CYGPATH_W='cygpath -w'
2910 else
2911 CYGPATH_W=echo
2912 fi
2913 fi
2914
2915
2916 # Define the identity of the package.
2917 PACKAGE='t2sami'
2918 VERSION='2.0.0033-pre2'
2919
2920
2921 cat >>confdefs.h <<_ACEOF
2922 #define PACKAGE "$PACKAGE"
2923 _ACEOF
2924
2925
2926 cat >>confdefs.h <<_ACEOF
2927 #define VERSION "$VERSION"
2928 _ACEOF
2929
2930 # Some tools Automake needs.
2931
2932 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2933
2934
2935 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2936
2937
2938 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2939
2940
2941 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2942
2943
2944 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2945
2946 # We need awk for the "check" target. The system "awk" is bad on
2947 # some platforms.
2948 # Always define AMTAR for backward compatibility.
2949
2950 AMTAR=${AMTAR-"${am_missing_run}tar"}
2951
2952 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2953
2954
2955
2956
2957
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2959 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2960 # Check whether --enable-maintainer-mode was given.
2961 if test "${enable_maintainer_mode+set}" = set; then :
2962 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2963 else
2964 USE_MAINTAINER_MODE=no
2965 fi
2966
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2968 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2969 if test $USE_MAINTAINER_MODE = yes; then
2970 MAINTAINER_MODE_TRUE=
2971 MAINTAINER_MODE_FALSE='#'
2972 else
2973 MAINTAINER_MODE_TRUE='#'
2974 MAINTAINER_MODE_FALSE=
2975 fi
2976
2977 MAINT=$MAINTAINER_MODE_TRUE
2978
2979
2980 ac_config_headers="$ac_config_headers config.h"
2981
2982
2983
2984 pgac_args="$pgac_args enable_debug"
2985
2986 # Check whether --enable-debug was given.
2987 if test "${enable_debug+set}" = set; then :
2988 enableval=$enable_debug;
2989 case $enableval in
2990 yes)
2991
2992 $as_echo "#define _DEBUG 1" >>confdefs.h
2993
2994 ;;
2995 no)
2996 :
2997 ;;
2998 *)
2999 as_fn_error $? "no argument expected for --enable-debug option" "$LINENO" 5
3000 ;;
3001 esac
3002
3003 else
3004 enable_debug=no
3005
3006 fi
3007
3008
3009
3010
3011 pgac_args="$pgac_args enable_dump_psdata"
3012
3013 # Check whether --enable-dump-psdata was given.
3014 if test "${enable_dump_psdata+set}" = set; then :
3015 enableval=$enable_dump_psdata;
3016 case $enableval in
3017 yes)
3018 $as_echo "#define _DEBUG 1" >>confdefs.h
3019
3020
3021 $as_echo "#define DumpPSData TRUE" >>confdefs.h
3022
3023 ;;
3024 no)
3025 :
3026 ;;
3027 *)
3028 as_fn_error $? "no argument expected for --enable-dump-psdata option" "$LINENO" 5
3029 ;;
3030 esac
3031
3032 else
3033 enable_dump_psdata=no
3034
3035 fi
3036
3037
3038
3039
3040 pgac_args="$pgac_args enable_dump_video_pesdata"
3041
3042 # Check whether --enable-dump-video-pesdata was given.
3043 if test "${enable_dump_video_pesdata+set}" = set; then :
3044 enableval=$enable_dump_video_pesdata;
3045 case $enableval in
3046 yes)
3047 $as_echo "#define _DEBUG 1" >>confdefs.h
3048
3049
3050 $as_echo "#define DumpVideoPESData TRUE" >>confdefs.h
3051
3052 ;;
3053 no)
3054 :
3055 ;;
3056 *)
3057 as_fn_error $? "no argument expected for --enable-dump-video-pesdata option" "$LINENO" 5
3058 ;;
3059 esac
3060
3061 else
3062 enable_dump_video_pesdata=no
3063
3064 fi
3065
3066
3067
3068
3069 pgac_args="$pgac_args enable_dump_audio_pesdata"
3070
3071 # Check whether --enable-dump-audio-pesdata was given.
3072 if test "${enable_dump_audio_pesdata+set}" = set; then :
3073 enableval=$enable_dump_audio_pesdata;
3074 case $enableval in
3075 yes)
3076 $as_echo "#define _DEBUG 1" >>confdefs.h
3077
3078
3079 $as_echo "#define DumpAudioPESData TRUE" >>confdefs.h
3080
3081 ;;
3082 no)
3083 :
3084 ;;
3085 *)
3086 as_fn_error $? "no argument expected for --enable-dump-audio-pesdata option" "$LINENO" 5
3087 ;;
3088 esac
3089
3090 else
3091 enable_dump_audio_pesdata=no
3092
3093 fi
3094
3095
3096
3097
3098 pgac_args="$pgac_args enable_dump_userdata"
3099
3100 # Check whether --enable-dump-userdata was given.
3101 if test "${enable_dump_userdata+set}" = set; then :
3102 enableval=$enable_dump_userdata;
3103 case $enableval in
3104 yes)
3105 $as_echo "#define _DEBUG 1" >>confdefs.h
3106
3107
3108 $as_echo "#define DumpUserData TRUE" >>confdefs.h
3109
3110 ;;
3111 no)
3112 :
3113 ;;
3114 *)
3115 as_fn_error $? "no argument expected for --enable-dump-userdata option" "$LINENO" 5
3116 ;;
3117 esac
3118
3119 else
3120 enable_dump_userdata=no
3121
3122 fi
3123
3124
3125
3126
3127 pgac_args="$pgac_args enable_dump_closedcapdata"
3128
3129 # Check whether --enable-dump-closedcapdata was given.
3130 if test "${enable_dump_closedcapdata+set}" = set; then :
3131 enableval=$enable_dump_closedcapdata;
3132 case $enableval in
3133 yes)
3134 $as_echo "#define _DEBUG 1" >>confdefs.h
3135
3136
3137 $as_echo "#define DumpClosedCapData TRUE" >>confdefs.h
3138
3139 ;;
3140 no)
3141 :
3142 ;;
3143 *)
3144 as_fn_error $? "no argument expected for --enable-dump-closedcapdata option" "$LINENO" 5
3145 ;;
3146 esac
3147
3148 else
3149 enable_dump_closedcapdata=no
3150
3151 fi
3152
3153
3154
3155
3156 pgac_args="$pgac_args enable_dump_picturedata"
3157
3158 # Check whether --enable-dump-picturedata was given.
3159 if test "${enable_dump_picturedata+set}" = set; then :
3160 enableval=$enable_dump_picturedata;
3161 case $enableval in
3162 yes)
3163 $as_echo "#define _DEBUG 1" >>confdefs.h
3164
3165
3166 $as_echo "#define DumpPictureData TRUE" >>confdefs.h
3167
3168 ;;
3169 no)
3170 :
3171 ;;
3172 *)
3173 as_fn_error $? "no argument expected for --enable-dump-picturedata option" "$LINENO" 5
3174 ;;
3175 esac
3176
3177 else
3178 enable_dump_picturedata=no
3179
3180 fi
3181
3182
3183
3184
3185 pgac_args="$pgac_args enable_dump_all"
3186
3187 # Check whether --enable-dump-all was given.
3188 if test "${enable_dump_all+set}" = set; then :
3189 enableval=$enable_dump_all;
3190 case $enableval in
3191 yes)
3192 $as_echo "#define _DEBUG 1" >>confdefs.h
3193
3194 $as_echo "#define DumpPSData TRUE" >>confdefs.h
3195
3196 $as_echo "#define DumpVideoPESData TRUE" >>confdefs.h
3197
3198 $as_echo "#define DumpAudioPESData TRUE" >>confdefs.h
3199
3200 $as_echo "#define DumpUserData TRUE" >>confdefs.h
3201
3202 $as_echo "#define DumpClosedCapData TRUE" >>confdefs.h
3203
3204 $as_echo "#define DumpPictureData TRUE" >>confdefs.h
3205
3206 ;;
3207 no)
3208 :
3209 ;;
3210 *)
3211 as_fn_error $? "no argument expected for --enable-dump-all option" "$LINENO" 5
3212 ;;
3213 esac
3214
3215 else
3216 enable_dump_all=no
3217
3218 fi
3219
3220
3221
3222 ac_ext=cpp
3223 ac_cpp='$CXXCPP $CPPFLAGS'
3224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3227 if test -z "$CXX"; then
3228 if test -n "$CCC"; then
3229 CXX=$CCC
3230 else
3231 if test -n "$ac_tool_prefix"; then
3232 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3233 do
3234 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3235 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3237 $as_echo_n "checking for $ac_word... " >&6; }
3238 if ${ac_cv_prog_CXX+:} false; then :
3239 $as_echo_n "(cached) " >&6
3240 else
3241 if test -n "$CXX"; then
3242 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3243 else
3244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3245 for as_dir in $PATH
3246 do
3247 IFS=$as_save_IFS
3248 test -z "$as_dir" && as_dir=.
3249 for ac_exec_ext in '' $ac_executable_extensions; do
3250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3251 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3253 break 2
3254 fi
3255 done
3256 done
3257 IFS=$as_save_IFS
3258
3259 fi
3260 fi
3261 CXX=$ac_cv_prog_CXX
3262 if test -n "$CXX"; then
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3264 $as_echo "$CXX" >&6; }
3265 else
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3267 $as_echo "no" >&6; }
3268 fi
3269
3270
3271 test -n "$CXX" && break
3272 done
3273 fi
3274 if test -z "$CXX"; then
3275 ac_ct_CXX=$CXX
3276 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3277 do
3278 # Extract the first word of "$ac_prog", so it can be a program name with args.
3279 set dummy $ac_prog; ac_word=$2
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3281 $as_echo_n "checking for $ac_word... " >&6; }
3282 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3283 $as_echo_n "(cached) " >&6
3284 else
3285 if test -n "$ac_ct_CXX"; then
3286 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3287 else
3288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3289 for as_dir in $PATH
3290 do
3291 IFS=$as_save_IFS
3292 test -z "$as_dir" && as_dir=.
3293 for ac_exec_ext in '' $ac_executable_extensions; do
3294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3295 ac_cv_prog_ac_ct_CXX="$ac_prog"
3296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3297 break 2
3298 fi
3299 done
3300 done
3301 IFS=$as_save_IFS
3302
3303 fi
3304 fi
3305 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3306 if test -n "$ac_ct_CXX"; then
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3308 $as_echo "$ac_ct_CXX" >&6; }
3309 else
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3311 $as_echo "no" >&6; }
3312 fi
3313
3314
3315 test -n "$ac_ct_CXX" && break
3316 done
3317
3318 if test "x$ac_ct_CXX" = x; then
3319 CXX="g++"
3320 else
3321 case $cross_compiling:$ac_tool_warned in
3322 yes:)
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3324 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3325 ac_tool_warned=yes ;;
3326 esac
3327 CXX=$ac_ct_CXX
3328 fi
3329 fi
3330
3331 fi
3332 fi
3333 # Provide some information about the compiler.
3334 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3335 set X $ac_compile
3336 ac_compiler=$2
3337 for ac_option in --version -v -V -qversion; do
3338 { { ac_try="$ac_compiler $ac_option >&5"
3339 case "(($ac_try" in
3340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3341 *) ac_try_echo=$ac_try;;
3342 esac
3343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3344 $as_echo "$ac_try_echo"; } >&5
3345 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3346 ac_status=$?
3347 if test -s conftest.err; then
3348 sed '10a\
3349 ... rest of stderr output deleted ...
3350 10q' conftest.err >conftest.er1
3351 cat conftest.er1 >&5
3352 fi
3353 rm -f conftest.er1 conftest.err
3354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3355 test $ac_status = 0; }
3356 done
3357
3358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3359 /* end confdefs.h. */
3360
3361 int
3362 main ()
3363 {
3364
3365 ;
3366 return 0;
3367 }
3368 _ACEOF
3369 ac_clean_files_save=$ac_clean_files
3370 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3371 # Try to create an executable without -o first, disregard a.out.
3372 # It will help us diagnose broken compilers, and finding out an intuition
3373 # of exeext.
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3375 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3376 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3377
3378 # The possible output files:
3379 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3380
3381 ac_rmfiles=
3382 for ac_file in $ac_files
3383 do
3384 case $ac_file in
3385 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3386 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3387 esac
3388 done
3389 rm -f $ac_rmfiles
3390
3391 if { { ac_try="$ac_link_default"
3392 case "(($ac_try" in
3393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3394 *) ac_try_echo=$ac_try;;
3395 esac
3396 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3397 $as_echo "$ac_try_echo"; } >&5
3398 (eval "$ac_link_default") 2>&5
3399 ac_status=$?
3400 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3401 test $ac_status = 0; }; then :
3402 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3403 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3404 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3405 # so that the user can short-circuit this test for compilers unknown to
3406 # Autoconf.
3407 for ac_file in $ac_files ''
3408 do
3409 test -f "$ac_file" || continue
3410 case $ac_file in
3411 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3412 ;;
3413 [ab].out )
3414 # We found the default executable, but exeext='' is most
3415 # certainly right.
3416 break;;
3417 *.* )
3418 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3419 then :; else
3420 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3421 fi
3422 # We set ac_cv_exeext here because the later test for it is not
3423 # safe: cross compilers may not add the suffix if given an `-o'
3424 # argument, so we may need to know it at that point already.
3425 # Even if this section looks crufty: it has the advantage of
3426 # actually working.
3427 break;;
3428 * )
3429 break;;
3430 esac
3431 done
3432 test "$ac_cv_exeext" = no && ac_cv_exeext=
3433
3434 else
3435 ac_file=''
3436 fi
3437 if test -z "$ac_file"; then :
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3439 $as_echo "no" >&6; }
3440 $as_echo "$as_me: failed program was:" >&5
3441 sed 's/^/| /' conftest.$ac_ext >&5
3442
3443 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3444 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3445 as_fn_error 77 "C++ compiler cannot create executables
3446 See \`config.log' for more details" "$LINENO" 5; }
3447 else
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3449 $as_echo "yes" >&6; }
3450 fi
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3452 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3454 $as_echo "$ac_file" >&6; }
3455 ac_exeext=$ac_cv_exeext
3456
3457 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3458 ac_clean_files=$ac_clean_files_save
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3460 $as_echo_n "checking for suffix of executables... " >&6; }
3461 if { { ac_try="$ac_link"
3462 case "(($ac_try" in
3463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3464 *) ac_try_echo=$ac_try;;
3465 esac
3466 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3467 $as_echo "$ac_try_echo"; } >&5
3468 (eval "$ac_link") 2>&5
3469 ac_status=$?
3470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3471 test $ac_status = 0; }; then :
3472 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3473 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3474 # work properly (i.e., refer to `conftest.exe'), while it won't with
3475 # `rm'.
3476 for ac_file in conftest.exe conftest conftest.*; do
3477 test -f "$ac_file" || continue
3478 case $ac_file in
3479 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3480 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3481 break;;
3482 * ) break;;
3483 esac
3484 done
3485 else
3486 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3487 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3488 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3489 See \`config.log' for more details" "$LINENO" 5; }
3490 fi
3491 rm -f conftest conftest$ac_cv_exeext
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3493 $as_echo "$ac_cv_exeext" >&6; }
3494
3495 rm -f conftest.$ac_ext
3496 EXEEXT=$ac_cv_exeext
3497 ac_exeext=$EXEEXT
3498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3499 /* end confdefs.h. */
3500 #include <stdio.h>
3501 int
3502 main ()
3503 {
3504 FILE *f = fopen ("conftest.out", "w");
3505 return ferror (f) || fclose (f) != 0;
3506
3507 ;
3508 return 0;
3509 }
3510 _ACEOF
3511 ac_clean_files="$ac_clean_files conftest.out"
3512 # Check that the compiler produces executables we can run. If not, either
3513 # the compiler is broken, or we cross compile.
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3515 $as_echo_n "checking whether we are cross compiling... " >&6; }
3516 if test "$cross_compiling" != yes; then
3517 { { ac_try="$ac_link"
3518 case "(($ac_try" in
3519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3520 *) ac_try_echo=$ac_try;;
3521 esac
3522 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3523 $as_echo "$ac_try_echo"; } >&5
3524 (eval "$ac_link") 2>&5
3525 ac_status=$?
3526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3527 test $ac_status = 0; }
3528 if { ac_try='./conftest$ac_cv_exeext'
3529 { { case "(($ac_try" in
3530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3531 *) ac_try_echo=$ac_try;;
3532 esac
3533 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3534 $as_echo "$ac_try_echo"; } >&5
3535 (eval "$ac_try") 2>&5
3536 ac_status=$?
3537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3538 test $ac_status = 0; }; }; then
3539 cross_compiling=no
3540 else
3541 if test "$cross_compiling" = maybe; then
3542 cross_compiling=yes
3543 else
3544 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3545 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3546 as_fn_error $? "cannot run C++ compiled programs.
3547 If you meant to cross compile, use \`--host'.
3548 See \`config.log' for more details" "$LINENO" 5; }
3549 fi
3550 fi
3551 fi
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3553 $as_echo "$cross_compiling" >&6; }
3554
3555 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3556 ac_clean_files=$ac_clean_files_save
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3558 $as_echo_n "checking for suffix of object files... " >&6; }
3559 if ${ac_cv_objext+:} false; then :
3560 $as_echo_n "(cached) " >&6
3561 else
3562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3563 /* end confdefs.h. */
3564
3565 int
3566 main ()
3567 {
3568
3569 ;
3570 return 0;
3571 }
3572 _ACEOF
3573 rm -f conftest.o conftest.obj
3574 if { { ac_try="$ac_compile"
3575 case "(($ac_try" in
3576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3577 *) ac_try_echo=$ac_try;;
3578 esac
3579 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3580 $as_echo "$ac_try_echo"; } >&5
3581 (eval "$ac_compile") 2>&5
3582 ac_status=$?
3583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3584 test $ac_status = 0; }; then :
3585 for ac_file in conftest.o conftest.obj conftest.*; do
3586 test -f "$ac_file" || continue;
3587 case $ac_file in
3588 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3589 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3590 break;;
3591 esac
3592 done
3593 else
3594 $as_echo "$as_me: failed program was:" >&5
3595 sed 's/^/| /' conftest.$ac_ext >&5
3596
3597 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3599 as_fn_error $? "cannot compute suffix of object files: cannot compile
3600 See \`config.log' for more details" "$LINENO" 5; }
3601 fi
3602 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3603 fi
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3605 $as_echo "$ac_cv_objext" >&6; }
3606 OBJEXT=$ac_cv_objext
3607 ac_objext=$OBJEXT
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3609 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3610 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3611 $as_echo_n "(cached) " >&6
3612 else
3613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3614 /* end confdefs.h. */
3615
3616 int
3617 main ()
3618 {
3619 #ifndef __GNUC__
3620 choke me
3621 #endif
3622
3623 ;
3624 return 0;
3625 }
3626 _ACEOF
3627 if ac_fn_cxx_try_compile "$LINENO"; then :
3628 ac_compiler_gnu=yes
3629 else
3630 ac_compiler_gnu=no
3631 fi
3632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3633 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3634
3635 fi
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3637 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3638 if test $ac_compiler_gnu = yes; then
3639 GXX=yes
3640 else
3641 GXX=
3642 fi
3643 ac_test_CXXFLAGS=${CXXFLAGS+set}
3644 ac_save_CXXFLAGS=$CXXFLAGS
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3646 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3647 if ${ac_cv_prog_cxx_g+:} false; then :
3648 $as_echo_n "(cached) " >&6
3649 else
3650 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3651 ac_cxx_werror_flag=yes
3652 ac_cv_prog_cxx_g=no
3653 CXXFLAGS="-g"
3654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3655 /* end confdefs.h. */
3656
3657 int
3658 main ()
3659 {
3660
3661 ;
3662 return 0;
3663 }
3664 _ACEOF
3665 if ac_fn_cxx_try_compile "$LINENO"; then :
3666 ac_cv_prog_cxx_g=yes
3667 else
3668 CXXFLAGS=""
3669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3670 /* end confdefs.h. */
3671
3672 int
3673 main ()
3674 {
3675
3676 ;
3677 return 0;
3678 }
3679 _ACEOF
3680 if ac_fn_cxx_try_compile "$LINENO"; then :
3681
3682 else
3683 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3684 CXXFLAGS="-g"
3685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3686 /* end confdefs.h. */
3687
3688 int
3689 main ()
3690 {
3691
3692 ;
3693 return 0;
3694 }
3695 _ACEOF
3696 if ac_fn_cxx_try_compile "$LINENO"; then :
3697 ac_cv_prog_cxx_g=yes
3698 fi
3699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3700 fi
3701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3702 fi
3703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3704 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3705 fi
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3707 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3708 if test "$ac_test_CXXFLAGS" = set; then
3709 CXXFLAGS=$ac_save_CXXFLAGS
3710 elif test $ac_cv_prog_cxx_g = yes; then
3711 if test "$GXX" = yes; then
3712 CXXFLAGS="-g -O2"
3713 else
3714 CXXFLAGS="-g"
3715 fi
3716 else
3717 if test "$GXX" = yes; then
3718 CXXFLAGS="-O2"
3719 else
3720 CXXFLAGS=
3721 fi
3722 fi
3723 ac_ext=c
3724 ac_cpp='$CPP $CPPFLAGS'
3725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3728 DEPDIR="${am__leading_dot}deps"
3729
3730 ac_config_commands="$ac_config_commands depfiles"
3731
3732
3733 am_make=${MAKE-make}
3734 cat > confinc << 'END'
3735 am__doit:
3736 @echo done
3737 .PHONY: am__doit
3738 END
3739 # If we don't find an include directive, just comment out the code.
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3741 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3742 am__include="#"
3743 am__quote=
3744 _am_result=none
3745 # First try GNU make style include.
3746 echo "include confinc" > confmf
3747 # We grep out `Entering directory' and `Leaving directory'
3748 # messages which can occur if `w' ends up in MAKEFLAGS.
3749 # In particular we don't look at `^make:' because GNU make might
3750 # be invoked under some other name (usually "gmake"), in which
3751 # case it prints its new name instead of `make'.
3752 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3753 am__include=include
3754 am__quote=
3755 _am_result=GNU
3756 fi
3757 # Now try BSD make style include.
3758 if test "$am__include" = "#"; then
3759 echo '.include "confinc"' > confmf
3760 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3761 am__include=.include
3762 am__quote="\""
3763 _am_result=BSD
3764 fi
3765 fi
3766
3767
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3769 $as_echo "$_am_result" >&6; }
3770 rm -f confinc confmf
3771
3772 # Check whether --enable-dependency-tracking was given.
3773 if test "${enable_dependency_tracking+set}" = set; then :
3774 enableval=$enable_dependency_tracking;
3775 fi
3776
3777 if test "x$enable_dependency_tracking" != xno; then
3778 am_depcomp="$ac_aux_dir/depcomp"
3779 AMDEPBACKSLASH='\'
3780 fi
3781 if test "x$enable_dependency_tracking" != xno; then
3782 AMDEP_TRUE=
3783 AMDEP_FALSE='#'
3784 else
3785 AMDEP_TRUE='#'
3786 AMDEP_FALSE=
3787 fi
3788
3789
3790
3791 depcc="$CXX" am_compiler_list=
3792
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3794 $as_echo_n "checking dependency style of $depcc... " >&6; }
3795 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3796 $as_echo_n "(cached) " >&6
3797 else
3798 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3799 # We make a subdir and do the tests there. Otherwise we can end up
3800 # making bogus files that we don't know about and never remove. For
3801 # instance it was reported that on HP-UX the gcc test will end up
3802 # making a dummy file named `D' -- because `-MD' means `put the output
3803 # in D'.
3804 mkdir conftest.dir
3805 # Copy depcomp to subdir because otherwise we won't find it if we're
3806 # using a relative directory.
3807 cp "$am_depcomp" conftest.dir
3808 cd conftest.dir
3809 # We will build objects and dependencies in a subdirectory because
3810 # it helps to detect inapplicable dependency modes. For instance
3811 # both Tru64's cc and ICC support -MD to output dependencies as a
3812 # side effect of compilation, but ICC will put the dependencies in
3813 # the current directory while Tru64 will put them in the object
3814 # directory.
3815 mkdir sub
3816
3817 am_cv_CXX_dependencies_compiler_type=none
3818 if test "$am_compiler_list" = ""; then
3819 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3820 fi
3821 am__universal=false
3822 case " $depcc " in #(
3823 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3824 esac
3825
3826 for depmode in $am_compiler_list; do
3827 # Setup a source with many dependencies, because some compilers
3828 # like to wrap large dependency lists on column 80 (with \), and
3829 # we should not choose a depcomp mode which is confused by this.
3830 #
3831 # We need to recreate these files for each test, as the compiler may
3832 # overwrite some of them when testing with obscure command lines.
3833 # This happens at least with the AIX C compiler.
3834 : > sub/conftest.c
3835 for i in 1 2 3 4 5 6; do
3836 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3837 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3838 # Solaris 8's {/usr,}/bin/sh.
3839 touch sub/conftst$i.h
3840 done
3841 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3842
3843 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3844 # mode. It turns out that the SunPro C++ compiler does not properly
3845 # handle `-M -o', and we need to detect this. Also, some Intel
3846 # versions had trouble with output in subdirs
3847 am__obj=sub/conftest.${OBJEXT-o}
3848 am__minus_obj="-o $am__obj"
3849 case $depmode in
3850 gcc)
3851 # This depmode causes a compiler race in universal mode.
3852 test "$am__universal" = false || continue
3853 ;;
3854 nosideeffect)
3855 # after this tag, mechanisms are not by side-effect, so they'll
3856 # only be used when explicitly requested
3857 if test "x$enable_dependency_tracking" = xyes; then
3858 continue
3859 else
3860 break
3861 fi
3862 ;;
3863 msvisualcpp | msvcmsys)
3864 # This compiler won't grok `-c -o', but also, the minuso test has
3865 # not run yet. These depmodes are late enough in the game, and
3866 # so weak that their functioning should not be impacted.
3867 am__obj=conftest.${OBJEXT-o}
3868 am__minus_obj=
3869 ;;
3870 none) break ;;
3871 esac
3872 if depmode=$depmode \
3873 source=sub/conftest.c object=$am__obj \
3874 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3875 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3876 >/dev/null 2>conftest.err &&
3877 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3878 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3879 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3880 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3881 # icc doesn't choke on unknown options, it will just issue warnings
3882 # or remarks (even with -Werror). So we grep stderr for any message
3883 # that says an option was ignored or not supported.
3884 # When given -MP, icc 7.0 and 7.1 complain thusly:
3885 # icc: Command line warning: ignoring option '-M'; no argument required
3886 # The diagnosis changed in icc 8.0:
3887 # icc: Command line remark: option '-MP' not supported
3888 if (grep 'ignoring option' conftest.err ||
3889 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3890 am_cv_CXX_dependencies_compiler_type=$depmode
3891 break
3892 fi
3893 fi
3894 done
3895
3896 cd ..
3897 rm -rf conftest.dir
3898 else
3899 am_cv_CXX_dependencies_compiler_type=none
3900 fi
3901
3902 fi
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3904 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3905 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3906
3907 if
3908 test "x$enable_dependency_tracking" != xno \
3909 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3910 am__fastdepCXX_TRUE=
3911 am__fastdepCXX_FALSE='#'
3912 else
3913 am__fastdepCXX_TRUE='#'
3914 am__fastdepCXX_FALSE=
3915 fi
3916
3917
3918 ac_ext=c
3919 ac_cpp='$CPP $CPPFLAGS'
3920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3923 if test -n "$ac_tool_prefix"; then
3924 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3925 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3927 $as_echo_n "checking for $ac_word... " >&6; }
3928 if ${ac_cv_prog_CC+:} false; then :
3929 $as_echo_n "(cached) " >&6
3930 else
3931 if test -n "$CC"; then
3932 ac_cv_prog_CC="$CC" # Let the user override the test.
3933 else
3934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3935 for as_dir in $PATH
3936 do
3937 IFS=$as_save_IFS
3938 test -z "$as_dir" && as_dir=.
3939 for ac_exec_ext in '' $ac_executable_extensions; do
3940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3941 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3943 break 2
3944 fi
3945 done
3946 done
3947 IFS=$as_save_IFS
3948
3949 fi
3950 fi
3951 CC=$ac_cv_prog_CC
3952 if test -n "$CC"; then
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3954 $as_echo "$CC" >&6; }
3955 else
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3957 $as_echo "no" >&6; }
3958 fi
3959
3960
3961 fi
3962 if test -z "$ac_cv_prog_CC"; then
3963 ac_ct_CC=$CC
3964 # Extract the first word of "gcc", so it can be a program name with args.
3965 set dummy gcc; ac_word=$2
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3967 $as_echo_n "checking for $ac_word... " >&6; }
3968 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3969 $as_echo_n "(cached) " >&6
3970 else
3971 if test -n "$ac_ct_CC"; then
3972 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3973 else
3974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3975 for as_dir in $PATH
3976 do
3977 IFS=$as_save_IFS
3978 test -z "$as_dir" && as_dir=.
3979 for ac_exec_ext in '' $ac_executable_extensions; do
3980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3981 ac_cv_prog_ac_ct_CC="gcc"
3982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3983 break 2
3984 fi
3985 done
3986 done
3987 IFS=$as_save_IFS
3988
3989 fi
3990 fi
3991 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3992 if test -n "$ac_ct_CC"; then
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3994 $as_echo "$ac_ct_CC" >&6; }
3995 else
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3997 $as_echo "no" >&6; }
3998 fi
3999
4000 if test "x$ac_ct_CC" = x; then
4001 CC=""
4002 else
4003 case $cross_compiling:$ac_tool_warned in
4004 yes:)
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4006 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4007 ac_tool_warned=yes ;;
4008 esac
4009 CC=$ac_ct_CC
4010 fi
4011 else
4012 CC="$ac_cv_prog_CC"
4013 fi
4014
4015 if test -z "$CC"; then
4016 if test -n "$ac_tool_prefix"; then
4017 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4018 set dummy ${ac_tool_prefix}cc; ac_word=$2
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4020 $as_echo_n "checking for $ac_word... " >&6; }
4021 if ${ac_cv_prog_CC+:} false; then :
4022 $as_echo_n "(cached) " >&6
4023 else
4024 if test -n "$CC"; then
4025 ac_cv_prog_CC="$CC" # Let the user override the test.
4026 else
4027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4028 for as_dir in $PATH
4029 do
4030 IFS=$as_save_IFS
4031 test -z "$as_dir" && as_dir=.
4032 for ac_exec_ext in '' $ac_executable_extensions; do
4033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4034 ac_cv_prog_CC="${ac_tool_prefix}cc"
4035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4036 break 2
4037 fi
4038 done
4039 done
4040 IFS=$as_save_IFS
4041
4042 fi
4043 fi
4044 CC=$ac_cv_prog_CC
4045 if test -n "$CC"; then
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4047 $as_echo "$CC" >&6; }
4048 else
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4050 $as_echo "no" >&6; }
4051 fi
4052
4053
4054 fi
4055 fi
4056 if test -z "$CC"; then
4057 # Extract the first word of "cc", so it can be a program name with args.
4058 set dummy cc; ac_word=$2
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4060 $as_echo_n "checking for $ac_word... " >&6; }
4061 if ${ac_cv_prog_CC+:} false; then :
4062 $as_echo_n "(cached) " >&6
4063 else
4064 if test -n "