OSDN Git Service

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