]> git.saurik.com Git - wxWidgets.git/blob - configure
added operator-(const wxChar *, const wxCStrData&) to allow compilation of the code...
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.60 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be Bourne compatible
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
26 fi
27 BIN_SH=xpg4; export BIN_SH # for Tru64
28 DUALCASE=1; export DUALCASE # for MKS sh
29
30
31 # PATH needs CR
32 # Avoid depending upon Character Ranges.
33 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
36 as_cr_digits='0123456789'
37 as_cr_alnum=$as_cr_Letters$as_cr_digits
38
39 # The user is always right.
40 if test "${PATH_SEPARATOR+set}" != set; then
41 echo "#! /bin/sh" >conf$$.sh
42 echo "exit 0" >>conf$$.sh
43 chmod +x conf$$.sh
44 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
45 PATH_SEPARATOR=';'
46 else
47 PATH_SEPARATOR=:
48 fi
49 rm -f conf$$.sh
50 fi
51
52 # Support unset when possible.
53 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
54 as_unset=unset
55 else
56 as_unset=false
57 fi
58
59
60 # IFS
61 # We need space, tab and new line, in precisely that order. Quoting is
62 # there to prevent editors from complaining about space-tab.
63 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
64 # splitting by setting IFS to empty value.)
65 as_nl='
66 '
67 IFS=" "" $as_nl"
68
69 # Find who we are. Look in the path if we contain no directory separator.
70 case $0 in
71 *[\\/]* ) as_myself=$0 ;;
72 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73 for as_dir in $PATH
74 do
75 IFS=$as_save_IFS
76 test -z "$as_dir" && as_dir=.
77 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
78 done
79 IFS=$as_save_IFS
80
81 ;;
82 esac
83 # We did not find ourselves, most probably we were run as `sh COMMAND'
84 # in which case we are not to be found in the path.
85 if test "x$as_myself" = x; then
86 as_myself=$0
87 fi
88 if test ! -f "$as_myself"; then
89 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
90 { (exit 1); exit 1; }
91 fi
92
93 # Work around bugs in pre-3.0 UWIN ksh.
94 for as_var in ENV MAIL MAILPATH
95 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
96 done
97 PS1='$ '
98 PS2='> '
99 PS4='+ '
100
101 # NLS nuisances.
102 for as_var in \
103 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
104 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
105 LC_TELEPHONE LC_TIME
106 do
107 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
108 eval $as_var=C; export $as_var
109 else
110 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
111 fi
112 done
113
114 # Required to use basename.
115 if expr a : '\(a\)' >/dev/null 2>&1 &&
116 test "X`expr 00001 : '.*\(...\)'`" = X001; then
117 as_expr=expr
118 else
119 as_expr=false
120 fi
121
122 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
123 as_basename=basename
124 else
125 as_basename=false
126 fi
127
128
129 # Name of the executable.
130 as_me=`$as_basename -- "$0" ||
131 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
132 X"$0" : 'X\(//\)$' \| \
133 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
134 echo X/"$0" |
135 sed '/^.*\/\([^/][^/]*\)\/*$/{
136 s//\1/
137 q
138 }
139 /^X\/\(\/\/\)$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\).*/{
144 s//\1/
145 q
146 }
147 s/.*/./; q'`
148
149 # CDPATH.
150 $as_unset CDPATH
151
152
153 if test "x$CONFIG_SHELL" = x; then
154 if (eval ":") 2>/dev/null; then
155 as_have_required=yes
156 else
157 as_have_required=no
158 fi
159
160 if test $as_have_required = yes && (eval ":
161 (as_func_return () {
162 (exit \$1)
163 }
164 as_func_success () {
165 as_func_return 0
166 }
167 as_func_failure () {
168 as_func_return 1
169 }
170 as_func_ret_success () {
171 return 0
172 }
173 as_func_ret_failure () {
174 return 1
175 }
176
177 exitcode=0
178 if as_func_success; then
179 :
180 else
181 exitcode=1
182 echo as_func_success failed.
183 fi
184
185 if as_func_failure; then
186 exitcode=1
187 echo as_func_failure succeeded.
188 fi
189
190 if as_func_ret_success; then
191 :
192 else
193 exitcode=1
194 echo as_func_ret_success failed.
195 fi
196
197 if as_func_ret_failure; then
198 exitcode=1
199 echo as_func_ret_failure succeeded.
200 fi
201
202 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
203 :
204 else
205 exitcode=1
206 echo positional parameters were not saved.
207 fi
208
209 test \$exitcode = 0) || { (exit 1); exit 1; }
210
211 (
212 as_lineno_1=\$LINENO
213 as_lineno_2=\$LINENO
214 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
215 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
216 ") 2> /dev/null; then
217 :
218 else
219 as_candidate_shells=
220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
221 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
222 do
223 IFS=$as_save_IFS
224 test -z "$as_dir" && as_dir=.
225 case $as_dir in
226 /*)
227 for as_base in sh bash ksh sh5; do
228 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
229 done;;
230 esac
231 done
232 IFS=$as_save_IFS
233
234
235 for as_shell in $as_candidate_shells $SHELL; do
236 # Try only shells that exist, to save several forks.
237 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
238 { ("$as_shell") 2> /dev/null <<\_ASEOF
239 # Be Bourne compatible
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241 emulate sh
242 NULLCMD=:
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
246 setopt NO_GLOB_SUBST
247 else
248 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
249 fi
250 BIN_SH=xpg4; export BIN_SH # for Tru64
251 DUALCASE=1; export DUALCASE # for MKS sh
252
253 :
254 _ASEOF
255 }; then
256 CONFIG_SHELL=$as_shell
257 as_have_required=yes
258 if { "$as_shell" 2> /dev/null <<\_ASEOF
259 # Be Bourne compatible
260 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
261 emulate sh
262 NULLCMD=:
263 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
264 # is contrary to our usage. Disable this feature.
265 alias -g '${1+"$@"}'='"$@"'
266 setopt NO_GLOB_SUBST
267 else
268 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
269 fi
270 BIN_SH=xpg4; export BIN_SH # for Tru64
271 DUALCASE=1; export DUALCASE # for MKS sh
272
273 :
274 (as_func_return () {
275 (exit $1)
276 }
277 as_func_success () {
278 as_func_return 0
279 }
280 as_func_failure () {
281 as_func_return 1
282 }
283 as_func_ret_success () {
284 return 0
285 }
286 as_func_ret_failure () {
287 return 1
288 }
289
290 exitcode=0
291 if as_func_success; then
292 :
293 else
294 exitcode=1
295 echo as_func_success failed.
296 fi
297
298 if as_func_failure; then
299 exitcode=1
300 echo as_func_failure succeeded.
301 fi
302
303 if as_func_ret_success; then
304 :
305 else
306 exitcode=1
307 echo as_func_ret_success failed.
308 fi
309
310 if as_func_ret_failure; then
311 exitcode=1
312 echo as_func_ret_failure succeeded.
313 fi
314
315 if ( set x; as_func_ret_success y && test x = "$1" ); then
316 :
317 else
318 exitcode=1
319 echo positional parameters were not saved.
320 fi
321
322 test $exitcode = 0) || { (exit 1); exit 1; }
323
324 (
325 as_lineno_1=$LINENO
326 as_lineno_2=$LINENO
327 test "x$as_lineno_1" != "x$as_lineno_2" &&
328 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
329
330 _ASEOF
331 }; then
332 break
333 fi
334
335 fi
336
337 done
338
339 if test "x$CONFIG_SHELL" != x; then
340 for as_var in BASH_ENV ENV
341 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
342 done
343 export CONFIG_SHELL
344 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
345 fi
346
347
348 if test $as_have_required = no; then
349 echo This script requires a shell more modern than all the
350 echo shells that I found on your system. Please install a
351 echo modern shell, or manually run the script under such a
352 echo shell if you do have one.
353 { (exit 1); exit 1; }
354 fi
355
356
357 fi
358
359 fi
360
361
362
363 (eval "as_func_return () {
364 (exit \$1)
365 }
366 as_func_success () {
367 as_func_return 0
368 }
369 as_func_failure () {
370 as_func_return 1
371 }
372 as_func_ret_success () {
373 return 0
374 }
375 as_func_ret_failure () {
376 return 1
377 }
378
379 exitcode=0
380 if as_func_success; then
381 :
382 else
383 exitcode=1
384 echo as_func_success failed.
385 fi
386
387 if as_func_failure; then
388 exitcode=1
389 echo as_func_failure succeeded.
390 fi
391
392 if as_func_ret_success; then
393 :
394 else
395 exitcode=1
396 echo as_func_ret_success failed.
397 fi
398
399 if as_func_ret_failure; then
400 exitcode=1
401 echo as_func_ret_failure succeeded.
402 fi
403
404 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
405 :
406 else
407 exitcode=1
408 echo positional parameters were not saved.
409 fi
410
411 test \$exitcode = 0") || {
412 echo No shell found that supports shell functions.
413 echo Please tell autoconf@gnu.org about your system,
414 echo including any error possibly output before this
415 echo message
416 }
417
418
419
420 as_lineno_1=$LINENO
421 as_lineno_2=$LINENO
422 test "x$as_lineno_1" != "x$as_lineno_2" &&
423 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
424
425 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
426 # uniformly replaced by the line number. The first 'sed' inserts a
427 # line-number line after each line using $LINENO; the second 'sed'
428 # does the real work. The second script uses 'N' to pair each
429 # line-number line with the line containing $LINENO, and appends
430 # trailing '-' during substitution so that $LINENO is not a special
431 # case at line end.
432 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
433 # scripts with optimization help from Paolo Bonzini. Blame Lee
434 # E. McMahon (1931-1989) for sed's syntax. :-)
435 sed -n '
436 p
437 /[$]LINENO/=
438 ' <$as_myself |
439 sed '
440 s/[$]LINENO.*/&-/
441 t lineno
442 b
443 :lineno
444 N
445 :loop
446 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 t loop
448 s/-\n.*//
449 ' >$as_me.lineno &&
450 chmod +x "$as_me.lineno" ||
451 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
452 { (exit 1); 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
463 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
464 as_dirname=dirname
465 else
466 as_dirname=false
467 fi
468
469 ECHO_C= ECHO_N= ECHO_T=
470 case `echo -n x` in
471 -n*)
472 case `echo 'x\c'` in
473 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
474 *) ECHO_C='\c';;
475 esac;;
476 *)
477 ECHO_N='-n';;
478 esac
479
480 if expr a : '\(a\)' >/dev/null 2>&1 &&
481 test "X`expr 00001 : '.*\(...\)'`" = X001; then
482 as_expr=expr
483 else
484 as_expr=false
485 fi
486
487 rm -f conf$$ conf$$.exe conf$$.file
488 if test -d conf$$.dir; then
489 rm -f conf$$.dir/conf$$.file
490 else
491 rm -f conf$$.dir
492 mkdir conf$$.dir
493 fi
494 echo >conf$$.file
495 if ln -s conf$$.file conf$$ 2>/dev/null; then
496 as_ln_s='ln -s'
497 # ... but there are two gotchas:
498 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
499 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
500 # In both cases, we have to default to `cp -p'.
501 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
502 as_ln_s='cp -p'
503 elif ln conf$$.file conf$$ 2>/dev/null; then
504 as_ln_s=ln
505 else
506 as_ln_s='cp -p'
507 fi
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
510
511 if mkdir -p . 2>/dev/null; then
512 as_mkdir_p=:
513 else
514 test -d ./-p && rmdir ./-p
515 as_mkdir_p=false
516 fi
517
518 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
519 # systems may use methods other than mode bits to determine executability.
520 cat >conf$$.file <<_ASEOF
521 #! /bin/sh
522 exit 0
523 _ASEOF
524 chmod +x conf$$.file
525 if test -x conf$$.file >/dev/null 2>&1; then
526 as_executable_p="test -x"
527 else
528 as_executable_p=:
529 fi
530 rm -f conf$$.file
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
540 exec 7<&0 </dev/null 6>&1
541
542 # Name of the host.
543 # hostname on some systems (SVR3.2, 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 SHELL=${CONFIG_SHELL-/bin/sh}
559
560 # Identity of this package.
561 PACKAGE_NAME='wxWidgets'
562 PACKAGE_TARNAME='wxwidgets'
563 PACKAGE_VERSION='2.9.0'
564 PACKAGE_STRING='wxWidgets 2.9.0'
565 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
566
567 ac_unique_file="wx-config.in"
568 # Factoring default headers for most tests.
569 ac_includes_default="\
570 #include <stdio.h>
571 #if HAVE_SYS_TYPES_H
572 # include <sys/types.h>
573 #endif
574 #if HAVE_SYS_STAT_H
575 # include <sys/stat.h>
576 #endif
577 #if STDC_HEADERS
578 # include <stdlib.h>
579 # include <stddef.h>
580 #else
581 # if HAVE_STDLIB_H
582 # include <stdlib.h>
583 # endif
584 #endif
585 #if HAVE_STRING_H
586 # if !STDC_HEADERS && HAVE_MEMORY_H
587 # include <memory.h>
588 # endif
589 # include <string.h>
590 #endif
591 #if HAVE_STRINGS_H
592 # include <strings.h>
593 #endif
594 #if HAVE_INTTYPES_H
595 # include <inttypes.h>
596 #endif
597 #if HAVE_STDINT_H
598 # include <stdint.h>
599 #endif
600 #if HAVE_UNISTD_H
601 # include <unistd.h>
602 #endif"
603
604 ac_subst_vars='SHELL
605 PATH_SEPARATOR
606 PACKAGE_NAME
607 PACKAGE_TARNAME
608 PACKAGE_VERSION
609 PACKAGE_STRING
610 PACKAGE_BUGREPORT
611 exec_prefix
612 prefix
613 program_transform_name
614 bindir
615 sbindir
616 libexecdir
617 datarootdir
618 datadir
619 sysconfdir
620 sharedstatedir
621 localstatedir
622 includedir
623 oldincludedir
624 docdir
625 infodir
626 htmldir
627 dvidir
628 pdfdir
629 psdir
630 libdir
631 localedir
632 mandir
633 DEFS
634 ECHO_C
635 ECHO_N
636 ECHO_T
637 LIBS
638 build_alias
639 host_alias
640 target_alias
641 build
642 build_cpu
643 build_vendor
644 build_os
645 host
646 host_cpu
647 host_vendor
648 host_os
649 target
650 target_cpu
651 target_vendor
652 target_os
653 wx_top_builddir
654 CC
655 CFLAGS
656 LDFLAGS
657 CPPFLAGS
658 ac_ct_CC
659 EXEEXT
660 OBJEXT
661 CPP
662 GREP
663 EGREP
664 CXX
665 CXXFLAGS
666 ac_ct_CXX
667 RANLIB
668 AR
669 INSTALL_PROGRAM
670 INSTALL_SCRIPT
671 INSTALL_DATA
672 STRIP
673 WINDRES
674 DLLTOOL
675 IF_GNU_MAKE
676 LN_S
677 subdirs
678 PKG_CONFIG
679 GTK_CFLAGS
680 GTK_LIBS
681 GTK_CONFIG
682 DIRECTFB_CFLAGS
683 DIRECTFB_LIBS
684 XMKMF
685 X_CFLAGS
686 X_PRE_LIBS
687 X_LIBS
688 X_EXTRA_LIBS
689 PANGOX_CFLAGS
690 PANGOX_LIBS
691 PANGOFT2_CFLAGS
692 PANGOFT2_LIBS
693 PANGOXFT_CFLAGS
694 PANGOXFT_LIBS
695 REZ
696 DEREZ
697 SETFILE
698 LIBICONV
699 SDL_CONFIG
700 SDL_CFLAGS
701 SDL_LIBS
702 LIBGNOMEPRINTUI_CFLAGS
703 LIBGNOMEPRINTUI_LIBS
704 GNOMEVFS_CFLAGS
705 GNOMEVFS_LIBS
706 HILDON_CFLAGS
707 HILDON_LIBS
708 CAIRO_CFLAGS
709 CAIRO_LIBS
710 GST_CFLAGS
711 GST_LIBS
712 CORE_BASE_LIBS
713 CORE_GUI_LIBS
714 wxUSE_ZLIB
715 wxUSE_REGEX
716 wxUSE_EXPAT
717 wxUSE_ODBC
718 wxUSE_LIBJPEG
719 wxUSE_LIBPNG
720 wxUSE_LIBTIFF
721 VENDOR
722 OFFICIAL_BUILD
723 WX_FLAVOUR
724 WX_LIB_FLAVOUR
725 WXUNIV
726 MONOLITHIC
727 USE_PLUGINS
728 EXTRALIBS
729 EXTRALIBS_XML
730 EXTRALIBS_HTML
731 EXTRALIBS_ODBC
732 EXTRALIBS_GUI
733 EXTRALIBS_OPENGL
734 EXTRALIBS_SDL
735 WITH_PLUGIN_SDL
736 EXTRALIBS_GNOMEPRINT
737 EXTRALIBS_GNOMEVFS
738 EXTRALIBS_HILDON
739 UNICODE
740 BUILD
741 DEBUG_INFO
742 DEBUG_FLAG
743 TOOLKIT_LOWERCASE
744 TOOLKIT_VERSION
745 SAMPLES_RPATH_FLAG
746 SAMPLES_RPATH_POSTLINK
747 HOST_SUFFIX
748 CPPUNIT_CFLAGS
749 CPPUNIT_LIBS
750 SET_MAKE
751 MAKE_SET
752 AROPTIONS
753 NM
754 INSTALL_DIR
755 LDFLAGS_GUI
756 PLATFORM_UNIX
757 PLATFORM_WIN32
758 PLATFORM_MSDOS
759 PLATFORM_MAC
760 PLATFORM_MACOS
761 PLATFORM_MACOSX
762 PLATFORM_OS2
763 PLATFORM_BEOS
764 SO_SUFFIX
765 SO_SUFFIX_MODULE
766 DLLIMP_SUFFIX
767 LIBPREFIX
768 LIBEXT
769 DLLPREFIX
770 DLLPREFIX_MODULE
771 dlldir
772 AIX_CXX_LD
773 SHARED_LD_CC
774 SHARED_LD_CXX
775 SHARED_LD_MODULE_CC
776 SHARED_LD_MODULE_CXX
777 PIC_FLAG
778 WINDOWS_IMPLIB
779 USE_SOVERSION
780 USE_SOVERLINUX
781 USE_SOVERSOLARIS
782 USE_SOVERCYGWIN
783 USE_MACVERSION
784 USE_SOSYMLINKS
785 SONAME_FLAG
786 DEPS_TRACKING
787 BK_DEPS
788 GCC_PCH
789 ICC_PCH
790 BK_MAKE_PCH
791 COND_BUILD_DEBUG
792 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
793 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
794 COND_BUILD_DEBUG_UNICODE_0
795 COND_BUILD_DEBUG_UNICODE_1
796 COND_BUILD_RELEASE
797 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
798 COND_BUILD_RELEASE_UNICODE_0
799 COND_BUILD_RELEASE_UNICODE_1
800 COND_DEBUG_FLAG_1
801 COND_DEBUG_INFO_0
802 COND_DEBUG_INFO_1
803 COND_DEPS_TRACKING_0
804 COND_DEPS_TRACKING_1
805 COND_GCC_PCH_1
806 COND_ICC_PCH_1
807 COND_MONOLITHIC_0
808 COND_MONOLITHIC_0_SHARED_0
809 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
810 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
811 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
812 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
813 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
814 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
815 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
816 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
817 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
818 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
819 COND_MONOLITHIC_0_SHARED_1
820 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
821 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
822 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
823 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
824 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
825 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
826 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
827 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
828 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
829 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
830 COND_MONOLITHIC_0_USE_AUI_1
831 COND_MONOLITHIC_0_USE_GUI_1
832 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
833 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
834 COND_MONOLITHIC_0_USE_HTML_1
835 COND_MONOLITHIC_0_USE_MEDIA_1
836 COND_MONOLITHIC_0_USE_ODBC_1
837 COND_MONOLITHIC_0_USE_QA_1
838 COND_MONOLITHIC_0_USE_RICHTEXT_1
839 COND_MONOLITHIC_0_USE_STC_1
840 COND_MONOLITHIC_0_USE_XRC_1
841 COND_MONOLITHIC_1
842 COND_MONOLITHIC_1_SHARED_0
843 COND_MONOLITHIC_1_SHARED_1
844 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
845 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
846 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
847 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
848 COND_PLATFORM_MACOSX_1
849 COND_PLATFORM_MACOSX_1_TOOLKIT_
850 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
851 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
852 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
853 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
854 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
855 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
856 COND_PLATFORM_MACOSX_1_USE_GUI_1
857 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
858 COND_PLATFORM_MACOS_1
859 COND_PLATFORM_MAC_1
860 COND_PLATFORM_MSDOS_0
861 COND_PLATFORM_MSDOS_1
862 COND_PLATFORM_OS2_1
863 COND_PLATFORM_UNIX_0
864 COND_PLATFORM_UNIX_1
865 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
866 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
867 COND_PLATFORM_UNIX_1_USE_GUI_1
868 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
869 COND_PLATFORM_WIN32_0
870 COND_PLATFORM_WIN32_1
871 COND_SHARED_0
872 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
873 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
874 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
875 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
876 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
877 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
878 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
879 COND_SHARED_0_USE_XRC_1
880 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
881 COND_SHARED_0_WXUSE_ODBC_BUILTIN
882 COND_SHARED_0_WXUSE_REGEX_BUILTIN
883 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
884 COND_SHARED_1
885 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
886 COND_SHARED_1_USE_XRC_1
887 COND_TOOLKIT_
888 COND_TOOLKIT_COCOA
889 COND_TOOLKIT_COCOA_USE_GUI_1
890 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
891 COND_TOOLKIT_DFB
892 COND_TOOLKIT_DFB_USE_GUI_1
893 COND_TOOLKIT_GTK
894 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
895 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
896 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
897 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
898 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
899 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
900 COND_TOOLKIT_GTK_USE_GUI_1
901 COND_TOOLKIT_MAC
902 COND_TOOLKIT_MAC_USE_GUI_1
903 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
904 COND_TOOLKIT_MGL
905 COND_TOOLKIT_MGL_USE_GUI_1
906 COND_TOOLKIT_MOTIF
907 COND_TOOLKIT_MOTIF_USE_GUI_1
908 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
909 COND_TOOLKIT_MSW
910 COND_TOOLKIT_MSW_USE_GUI_1
911 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
912 COND_TOOLKIT_MSW_WXUNIV_0
913 COND_TOOLKIT_PM
914 COND_TOOLKIT_PM_USE_GUI_1
915 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
916 COND_TOOLKIT_WINCE
917 COND_TOOLKIT_WINCE_USE_GUI_1
918 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
919 COND_TOOLKIT_WINCE_WXUNIV_0
920 COND_TOOLKIT_X11
921 COND_TOOLKIT_X11_USE_GUI_1
922 COND_UNICODE_1
923 COND_USE_EXCEPTIONS_0
924 COND_USE_EXCEPTIONS_1
925 COND_USE_GUI_0
926 COND_USE_GUI_1
927 COND_USE_GUI_1_WXUNIV_0
928 COND_USE_GUI_1_WXUNIV_1
929 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
930 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
931 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
932 COND_USE_ODBC_1
933 COND_USE_OPENGL_1
934 COND_USE_PCH_1
935 COND_USE_PLUGINS_0
936 COND_USE_RTTI_0
937 COND_USE_RTTI_1
938 COND_USE_SOSYMLINKS_1
939 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
940 COND_USE_SOVERLINUX_1
941 COND_USE_SOVERSION_0
942 COND_USE_SOVERSOLARIS_1
943 COND_USE_THREADS_0
944 COND_USE_THREADS_1
945 COND_USE_XRC_1
946 COND_WINDOWS_IMPLIB_1
947 COND_WITH_PLUGIN_SDL_1
948 COND_WXUNIV_0
949 COND_WXUNIV_1
950 COND_WXUSE_EXPAT_BUILTIN
951 COND_WXUSE_LIBJPEG_BUILTIN
952 COND_WXUSE_LIBPNG_BUILTIN
953 COND_WXUSE_LIBTIFF_BUILTIN
954 COND_WXUSE_ODBC_BUILTIN
955 COND_WXUSE_REGEX_BUILTIN
956 COND_WXUSE_ZLIB_BUILTIN
957 SHARED
958 WX_LIBRARY_BASENAME_NOGUI
959 WX_LIBRARY_BASENAME_GUI
960 USE_GUI
961 AFMINSTALL
962 WIN32INSTALL
963 TOOLKIT
964 TOOLKIT_DIR
965 TOOLCHAIN_NAME
966 TOOLCHAIN_FULLNAME
967 cross_compiling
968 WIDGET_SET
969 WX_RELEASE
970 WX_VERSION
971 WX_SUBVERSION
972 WX_CHARTYPE
973 WX_DEBUGTYPE
974 WXCONFIG_CPPFLAGS
975 WXCONFIG_CFLAGS
976 WXCONFIG_CXXFLAGS
977 WXCONFIG_LIBS
978 WXCONFIG_RPATH
979 WXCONFIG_LDFLAGS_GUI
980 WXCONFIG_RESFLAGS
981 EXE_LINKER
982 GUIDIST
983 DISTDIR
984 SAMPLES_SUBDIRS
985 LDFLAGS_GL
986 OPENGL_LIBS
987 DMALLOC_LIBS
988 WX_VERSION_TAG
989 RESCOMP
990 RESFLAGS
991 RESPROGRAMOBJ
992 WX_RESOURCES_MACOSX_ASCII
993 WX_RESOURCES_MACOSX_DATA
994 LIBWXMACRES
995 POSTLINK_COMMAND
996 MACSETFILE
997 GCC
998 CPPUNIT_CONFIG
999 LIBOBJS
1000 LTLIBOBJS'
1001 ac_subst_files=''
1002 ac_precious_vars='build_alias
1003 host_alias
1004 target_alias
1005 CC
1006 CFLAGS
1007 LDFLAGS
1008 CPPFLAGS
1009 CPP
1010 CXX
1011 CXXFLAGS
1012 CCC
1013 PKG_CONFIG
1014 DIRECTFB_CFLAGS
1015 DIRECTFB_LIBS
1016 XMKMF
1017 PANGOX_CFLAGS
1018 PANGOX_LIBS
1019 PANGOFT2_CFLAGS
1020 PANGOFT2_LIBS
1021 PANGOXFT_CFLAGS
1022 PANGOXFT_LIBS
1023 LIBGNOMEPRINTUI_CFLAGS
1024 LIBGNOMEPRINTUI_LIBS
1025 GNOMEVFS_CFLAGS
1026 GNOMEVFS_LIBS
1027 HILDON_CFLAGS
1028 HILDON_LIBS
1029 CAIRO_CFLAGS
1030 CAIRO_LIBS
1031 GST_CFLAGS
1032 GST_LIBS'
1033 ac_subdirs_all='src/expat'
1034
1035 # Initialize some variables set by options.
1036 ac_init_help=
1037 ac_init_version=false
1038 # The variables have the same names as the options, with
1039 # dashes changed to underlines.
1040 cache_file=/dev/null
1041 exec_prefix=NONE
1042 no_create=
1043 no_recursion=
1044 prefix=NONE
1045 program_prefix=NONE
1046 program_suffix=NONE
1047 program_transform_name=s,x,x,
1048 silent=
1049 site=
1050 srcdir=
1051 verbose=
1052 x_includes=NONE
1053 x_libraries=NONE
1054
1055 # Installation directory options.
1056 # These are left unexpanded so users can "make install exec_prefix=/foo"
1057 # and all the variables that are supposed to be based on exec_prefix
1058 # by default will actually change.
1059 # Use braces instead of parens because sh, perl, etc. also accept them.
1060 # (The list follows the same order as the GNU Coding Standards.)
1061 bindir='${exec_prefix}/bin'
1062 sbindir='${exec_prefix}/sbin'
1063 libexecdir='${exec_prefix}/libexec'
1064 datarootdir='${prefix}/share'
1065 datadir='${datarootdir}'
1066 sysconfdir='${prefix}/etc'
1067 sharedstatedir='${prefix}/com'
1068 localstatedir='${prefix}/var'
1069 includedir='${prefix}/include'
1070 oldincludedir='/usr/include'
1071 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1072 infodir='${datarootdir}/info'
1073 htmldir='${docdir}'
1074 dvidir='${docdir}'
1075 pdfdir='${docdir}'
1076 psdir='${docdir}'
1077 libdir='${exec_prefix}/lib'
1078 localedir='${datarootdir}/locale'
1079 mandir='${datarootdir}/man'
1080
1081 ac_prev=
1082 ac_dashdash=
1083 for ac_option
1084 do
1085 # If the previous option needs an argument, assign it.
1086 if test -n "$ac_prev"; then
1087 eval $ac_prev=\$ac_option
1088 ac_prev=
1089 continue
1090 fi
1091
1092 case $ac_option in
1093 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1094 *) ac_optarg=yes ;;
1095 esac
1096
1097 # Accept the important Cygnus configure options, so we can diagnose typos.
1098
1099 case $ac_dashdash$ac_option in
1100 --)
1101 ac_dashdash=yes ;;
1102
1103 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1104 ac_prev=bindir ;;
1105 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1106 bindir=$ac_optarg ;;
1107
1108 -build | --build | --buil | --bui | --bu)
1109 ac_prev=build_alias ;;
1110 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1111 build_alias=$ac_optarg ;;
1112
1113 -cache-file | --cache-file | --cache-fil | --cache-fi \
1114 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1115 ac_prev=cache_file ;;
1116 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1117 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1118 cache_file=$ac_optarg ;;
1119
1120 --config-cache | -C)
1121 cache_file=config.cache ;;
1122
1123 -datadir | --datadir | --datadi | --datad)
1124 ac_prev=datadir ;;
1125 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1126 datadir=$ac_optarg ;;
1127
1128 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1129 | --dataroo | --dataro | --datar)
1130 ac_prev=datarootdir ;;
1131 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1132 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1133 datarootdir=$ac_optarg ;;
1134
1135 -disable-* | --disable-*)
1136 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1137 # Reject names that are not valid shell variable names.
1138 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1139 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1140 { (exit 1); exit 1; }; }
1141 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1142 eval enable_$ac_feature=no ;;
1143
1144 -docdir | --docdir | --docdi | --doc | --do)
1145 ac_prev=docdir ;;
1146 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1147 docdir=$ac_optarg ;;
1148
1149 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1150 ac_prev=dvidir ;;
1151 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1152 dvidir=$ac_optarg ;;
1153
1154 -enable-* | --enable-*)
1155 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1156 # Reject names that are not valid shell variable names.
1157 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1158 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1159 { (exit 1); exit 1; }; }
1160 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1161 eval enable_$ac_feature=\$ac_optarg ;;
1162
1163 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1164 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1165 | --exec | --exe | --ex)
1166 ac_prev=exec_prefix ;;
1167 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1168 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1169 | --exec=* | --exe=* | --ex=*)
1170 exec_prefix=$ac_optarg ;;
1171
1172 -gas | --gas | --ga | --g)
1173 # Obsolete; use --with-gas.
1174 with_gas=yes ;;
1175
1176 -help | --help | --hel | --he | -h)
1177 ac_init_help=long ;;
1178 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1179 ac_init_help=recursive ;;
1180 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1181 ac_init_help=short ;;
1182
1183 -host | --host | --hos | --ho)
1184 ac_prev=host_alias ;;
1185 -host=* | --host=* | --hos=* | --ho=*)
1186 host_alias=$ac_optarg ;;
1187
1188 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1189 ac_prev=htmldir ;;
1190 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1191 | --ht=*)
1192 htmldir=$ac_optarg ;;
1193
1194 -includedir | --includedir | --includedi | --included | --include \
1195 | --includ | --inclu | --incl | --inc)
1196 ac_prev=includedir ;;
1197 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1198 | --includ=* | --inclu=* | --incl=* | --inc=*)
1199 includedir=$ac_optarg ;;
1200
1201 -infodir | --infodir | --infodi | --infod | --info | --inf)
1202 ac_prev=infodir ;;
1203 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1204 infodir=$ac_optarg ;;
1205
1206 -libdir | --libdir | --libdi | --libd)
1207 ac_prev=libdir ;;
1208 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1209 libdir=$ac_optarg ;;
1210
1211 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1212 | --libexe | --libex | --libe)
1213 ac_prev=libexecdir ;;
1214 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1215 | --libexe=* | --libex=* | --libe=*)
1216 libexecdir=$ac_optarg ;;
1217
1218 -localedir | --localedir | --localedi | --localed | --locale)
1219 ac_prev=localedir ;;
1220 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1221 localedir=$ac_optarg ;;
1222
1223 -localstatedir | --localstatedir | --localstatedi | --localstated \
1224 | --localstate | --localstat | --localsta | --localst | --locals)
1225 ac_prev=localstatedir ;;
1226 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1227 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1228 localstatedir=$ac_optarg ;;
1229
1230 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1231 ac_prev=mandir ;;
1232 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1233 mandir=$ac_optarg ;;
1234
1235 -nfp | --nfp | --nf)
1236 # Obsolete; use --without-fp.
1237 with_fp=no ;;
1238
1239 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1240 | --no-cr | --no-c | -n)
1241 no_create=yes ;;
1242
1243 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1244 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1245 no_recursion=yes ;;
1246
1247 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1248 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1249 | --oldin | --oldi | --old | --ol | --o)
1250 ac_prev=oldincludedir ;;
1251 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1252 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1253 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1254 oldincludedir=$ac_optarg ;;
1255
1256 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1257 ac_prev=prefix ;;
1258 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1259 prefix=$ac_optarg ;;
1260
1261 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1262 | --program-pre | --program-pr | --program-p)
1263 ac_prev=program_prefix ;;
1264 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1265 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1266 program_prefix=$ac_optarg ;;
1267
1268 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1269 | --program-suf | --program-su | --program-s)
1270 ac_prev=program_suffix ;;
1271 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1272 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1273 program_suffix=$ac_optarg ;;
1274
1275 -program-transform-name | --program-transform-name \
1276 | --program-transform-nam | --program-transform-na \
1277 | --program-transform-n | --program-transform- \
1278 | --program-transform | --program-transfor \
1279 | --program-transfo | --program-transf \
1280 | --program-trans | --program-tran \
1281 | --progr-tra | --program-tr | --program-t)
1282 ac_prev=program_transform_name ;;
1283 -program-transform-name=* | --program-transform-name=* \
1284 | --program-transform-nam=* | --program-transform-na=* \
1285 | --program-transform-n=* | --program-transform-=* \
1286 | --program-transform=* | --program-transfor=* \
1287 | --program-transfo=* | --program-transf=* \
1288 | --program-trans=* | --program-tran=* \
1289 | --progr-tra=* | --program-tr=* | --program-t=*)
1290 program_transform_name=$ac_optarg ;;
1291
1292 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1293 ac_prev=pdfdir ;;
1294 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1295 pdfdir=$ac_optarg ;;
1296
1297 -psdir | --psdir | --psdi | --psd | --ps)
1298 ac_prev=psdir ;;
1299 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1300 psdir=$ac_optarg ;;
1301
1302 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1303 | -silent | --silent | --silen | --sile | --sil)
1304 silent=yes ;;
1305
1306 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1307 ac_prev=sbindir ;;
1308 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1309 | --sbi=* | --sb=*)
1310 sbindir=$ac_optarg ;;
1311
1312 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1313 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1314 | --sharedst | --shareds | --shared | --share | --shar \
1315 | --sha | --sh)
1316 ac_prev=sharedstatedir ;;
1317 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1318 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1319 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1320 | --sha=* | --sh=*)
1321 sharedstatedir=$ac_optarg ;;
1322
1323 -site | --site | --sit)
1324 ac_prev=site ;;
1325 -site=* | --site=* | --sit=*)
1326 site=$ac_optarg ;;
1327
1328 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1329 ac_prev=srcdir ;;
1330 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1331 srcdir=$ac_optarg ;;
1332
1333 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1334 | --syscon | --sysco | --sysc | --sys | --sy)
1335 ac_prev=sysconfdir ;;
1336 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1337 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1338 sysconfdir=$ac_optarg ;;
1339
1340 -target | --target | --targe | --targ | --tar | --ta | --t)
1341 ac_prev=target_alias ;;
1342 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1343 target_alias=$ac_optarg ;;
1344
1345 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1346 verbose=yes ;;
1347
1348 -version | --version | --versio | --versi | --vers | -V)
1349 ac_init_version=: ;;
1350
1351 -with-* | --with-*)
1352 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1353 # Reject names that are not valid shell variable names.
1354 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1355 { echo "$as_me: error: invalid package name: $ac_package" >&2
1356 { (exit 1); exit 1; }; }
1357 ac_package=`echo $ac_package| sed 's/-/_/g'`
1358 eval with_$ac_package=\$ac_optarg ;;
1359
1360 -without-* | --without-*)
1361 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1362 # Reject names that are not valid shell variable names.
1363 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1364 { echo "$as_me: error: invalid package name: $ac_package" >&2
1365 { (exit 1); exit 1; }; }
1366 ac_package=`echo $ac_package | sed 's/-/_/g'`
1367 eval with_$ac_package=no ;;
1368
1369 --x)
1370 # Obsolete; use --with-x.
1371 with_x=yes ;;
1372
1373 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1374 | --x-incl | --x-inc | --x-in | --x-i)
1375 ac_prev=x_includes ;;
1376 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1377 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1378 x_includes=$ac_optarg ;;
1379
1380 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1381 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1382 ac_prev=x_libraries ;;
1383 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1384 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1385 x_libraries=$ac_optarg ;;
1386
1387 -*) { echo "$as_me: error: unrecognized option: $ac_option
1388 Try \`$0 --help' for more information." >&2
1389 { (exit 1); exit 1; }; }
1390 ;;
1391
1392 *=*)
1393 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1394 # Reject names that are not valid shell variable names.
1395 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1396 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1397 { (exit 1); exit 1; }; }
1398 eval $ac_envvar=\$ac_optarg
1399 export $ac_envvar ;;
1400
1401 *)
1402 # FIXME: should be removed in autoconf 3.0.
1403 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1404 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1405 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1406 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1407 ;;
1408
1409 esac
1410 done
1411
1412 if test -n "$ac_prev"; then
1413 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1414 { echo "$as_me: error: missing argument to $ac_option" >&2
1415 { (exit 1); exit 1; }; }
1416 fi
1417
1418 # Be sure to have absolute directory names.
1419 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1420 datadir sysconfdir sharedstatedir localstatedir includedir \
1421 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1422 libdir localedir mandir
1423 do
1424 eval ac_val=\$$ac_var
1425 case $ac_val in
1426 [\\/$]* | ?:[\\/]* ) continue;;
1427 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1428 esac
1429 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1430 { (exit 1); exit 1; }; }
1431 done
1432
1433 # There might be people who depend on the old broken behavior: `$host'
1434 # used to hold the argument of --host etc.
1435 # FIXME: To remove some day.
1436 build=$build_alias
1437 host=$host_alias
1438 target=$target_alias
1439
1440 # FIXME: To remove some day.
1441 if test "x$host_alias" != x; then
1442 if test "x$build_alias" = x; then
1443 cross_compiling=maybe
1444 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1445 If a cross compiler is detected then cross compile mode will be used." >&2
1446 elif test "x$build_alias" != "x$host_alias"; then
1447 cross_compiling=yes
1448 fi
1449 fi
1450
1451 ac_tool_prefix=
1452 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1453
1454 test "$silent" = yes && exec 6>/dev/null
1455
1456
1457 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1458 ac_ls_di=`ls -di .` &&
1459 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1460 { echo "$as_me: error: Working directory cannot be determined" >&2
1461 { (exit 1); exit 1; }; }
1462 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1463 { echo "$as_me: error: pwd does not report name of working directory" >&2
1464 { (exit 1); exit 1; }; }
1465
1466
1467 # Find the source files, if location was not specified.
1468 if test -z "$srcdir"; then
1469 ac_srcdir_defaulted=yes
1470 # Try the directory containing this script, then the parent directory.
1471 ac_confdir=`$as_dirname -- "$0" ||
1472 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1473 X"$0" : 'X\(//\)[^/]' \| \
1474 X"$0" : 'X\(//\)$' \| \
1475 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1476 echo X"$0" |
1477 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1478 s//\1/
1479 q
1480 }
1481 /^X\(\/\/\)[^/].*/{
1482 s//\1/
1483 q
1484 }
1485 /^X\(\/\/\)$/{
1486 s//\1/
1487 q
1488 }
1489 /^X\(\/\).*/{
1490 s//\1/
1491 q
1492 }
1493 s/.*/./; q'`
1494 srcdir=$ac_confdir
1495 if test ! -r "$srcdir/$ac_unique_file"; then
1496 srcdir=..
1497 fi
1498 else
1499 ac_srcdir_defaulted=no
1500 fi
1501 if test ! -r "$srcdir/$ac_unique_file"; then
1502 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1503 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1504 { (exit 1); exit 1; }; }
1505 fi
1506 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1507 ac_abs_confdir=`(
1508 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1509 { (exit 1); exit 1; }; }
1510 pwd)`
1511 # When building in place, set srcdir=.
1512 if test "$ac_abs_confdir" = "$ac_pwd"; then
1513 srcdir=.
1514 fi
1515 # Remove unnecessary trailing slashes from srcdir.
1516 # Double slashes in file names in object file debugging info
1517 # mess up M-x gdb in Emacs.
1518 case $srcdir in
1519 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1520 esac
1521 for ac_var in $ac_precious_vars; do
1522 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1523 eval ac_env_${ac_var}_value=\$${ac_var}
1524 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1525 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1526 done
1527
1528 #
1529 # Report the --help message.
1530 #
1531 if test "$ac_init_help" = "long"; then
1532 # Omit some internal or obsolete options to make the list less imposing.
1533 # This message is too long to be a string in the A/UX 3.1 sh.
1534 cat <<_ACEOF
1535 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1536
1537 Usage: $0 [OPTION]... [VAR=VALUE]...
1538
1539 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1540 VAR=VALUE. See below for descriptions of some of the useful variables.
1541
1542 Defaults for the options are specified in brackets.
1543
1544 Configuration:
1545 -h, --help display this help and exit
1546 --help=short display options specific to this package
1547 --help=recursive display the short help of all the included packages
1548 -V, --version display version information and exit
1549 -q, --quiet, --silent do not print \`checking...' messages
1550 --cache-file=FILE cache test results in FILE [disabled]
1551 -C, --config-cache alias for \`--cache-file=config.cache'
1552 -n, --no-create do not create output files
1553 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1554
1555 Installation directories:
1556 --prefix=PREFIX install architecture-independent files in PREFIX
1557 [$ac_default_prefix]
1558 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1559 [PREFIX]
1560
1561 By default, \`make install' will install all the files in
1562 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1563 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1564 for instance \`--prefix=\$HOME'.
1565
1566 For better control, use the options below.
1567
1568 Fine tuning of the installation directories:
1569 --bindir=DIR user executables [EPREFIX/bin]
1570 --sbindir=DIR system admin executables [EPREFIX/sbin]
1571 --libexecdir=DIR program executables [EPREFIX/libexec]
1572 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1573 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1574 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1575 --libdir=DIR object code libraries [EPREFIX/lib]
1576 --includedir=DIR C header files [PREFIX/include]
1577 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1578 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1579 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1580 --infodir=DIR info documentation [DATAROOTDIR/info]
1581 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1582 --mandir=DIR man documentation [DATAROOTDIR/man]
1583 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1584 --htmldir=DIR html documentation [DOCDIR]
1585 --dvidir=DIR dvi documentation [DOCDIR]
1586 --pdfdir=DIR pdf documentation [DOCDIR]
1587 --psdir=DIR ps documentation [DOCDIR]
1588 _ACEOF
1589
1590 cat <<\_ACEOF
1591
1592 X features:
1593 --x-includes=DIR X include files are in DIR
1594 --x-libraries=DIR X library files are in DIR
1595
1596 System types:
1597 --build=BUILD configure for building on BUILD [guessed]
1598 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1599 --target=TARGET configure for building compilers for TARGET [HOST]
1600 _ACEOF
1601 fi
1602
1603 if test -n "$ac_init_help"; then
1604 case $ac_init_help in
1605 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1606 esac
1607 cat <<\_ACEOF
1608
1609 Optional Features:
1610 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1611 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1612 --enable-gui use GUI classes
1613 --enable-monolithic build wxWidgets as single library
1614 --enable-plugins build parts of wxWidgets as loadable components
1615 --enable-universal use wxWidgets GUI controls instead of native ones
1616 --enable-nanox use NanoX
1617 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1618 --enable-gpe use GNOME PDA Environment features if possible
1619 --enable-shared create shared library code
1620 --enable-optimise create optimised code
1621 --enable-debug same as debug_flag and debug_info
1622 --enable-stl use STL for containers
1623 --enable-omf use OMF object format
1624 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1625 --enable-debug_info create code with debugging information
1626 --enable-debug_gdb create code with extra GDB debugging information
1627 --enable-debug_cntxt use wxDebugContext
1628 --enable-mem_tracing create code with memory tracing
1629 --enable-profile create code with profiling information
1630 --enable-no_rtti create code without RTTI information
1631 --enable-no_exceptions create code without C++ exceptions handling
1632 --enable-permissive compile code disregarding strict ANSI
1633 --enable-no_deps create code without dependency information
1634 --disable-vararg_macros don't use vararg macros, even if they are supported
1635 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1636 --enable-compat26 enable wxWidgets 2.6 compatibility
1637 --disable-compat28 disable wxWidgets 2.8 compatibility
1638 --disable-rpath disable use of rpath for uninstalled builds
1639 --enable-intl use internationalization system
1640 --enable-config use wxConfig (and derived) classes
1641 --enable-protocols use wxProtocol and derived classes
1642 --enable-ftp use wxFTP (requires wxProtocol
1643 --enable-http use wxHTTP (requires wxProtocol
1644 --enable-fileproto use wxFileProto class (requires wxProtocol
1645 --enable-sockets use socket/network classes
1646 --enable-ole use OLE classes (Win32 only)
1647 --enable-dataobj use data object classes
1648 --enable-ipc use interprocess communication (wxSocket etc.)
1649 --enable-apple_ieee use the Apple IEEE codec
1650 --enable-arcstream use wxArchive streams
1651 --enable-backtrace use wxStackWalker class for getting backtraces
1652 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1653 --enable-cmdline use wxCmdLineParser class
1654 --enable-datetime use wxDateTime class
1655 --enable-debugreport use wxDebugReport class
1656 --enable-dialupman use dialup network classes
1657 --enable-dynlib use wxLibrary class for DLL loading
1658 --enable-dynamicloader use (new) wxDynamicLibrary class
1659 --enable-exceptions build exception-safe library
1660 --enable-ffile use wxFFile class
1661 --enable-file use wxFile class
1662 --enable-filesystem use virtual file systems classes
1663 --enable-fontmap use font encodings conversion classes
1664 --enable-fs_archive use virtual archive filesystems
1665 --enable-fs_inet use virtual HTTP/FTP filesystems
1666 --enable-fs_zip now replaced by fs_archive
1667 --enable-geometry use geometry class
1668 --enable-log use logging system
1669 --enable-longlong use wxLongLong class
1670 --enable-mimetype use wxMimeTypesManager
1671 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1672 --enable-snglinst use wxSingleInstanceChecker class
1673 --enable-std_iostreams use standard C++ stream classes
1674 --enable-std_string use standard C++ string classes
1675 --enable-stdpaths use wxStandardPaths class
1676 --enable-stopwatch use wxStopWatch class
1677 --enable-streams use wxStream etc classes
1678 --enable-sysoptions use wxSystemOptions
1679 --enable-tarstream use wxTar streams
1680 --enable-textbuf use wxTextBuffer class
1681 --enable-textfile use wxTextFile class
1682 --enable-timer use wxTimer class
1683 --enable-unicode compile wxString with Unicode support
1684 --enable-sound use wxSound class
1685 --enable-mediactrl use wxMediaCtrl class
1686 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1687 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1688 --enable-zipstream use wxZip streams
1689 --enable-url use wxURL class
1690 --enable-variant use wxVariant class
1691 --enable-protocol use wxProtocol class
1692 --enable-protocol-http HTTP support in wxProtocol
1693 --enable-protocol-ftp FTP support in wxProtocol
1694 --enable-protocol-file FILE support in wxProtocol
1695 --enable-threads use threads
1696 --enable-docview use document view architecture
1697 --enable-help use help subsystem
1698 --enable-mshtmlhelp use MS HTML Help (win32)
1699 --enable-html use wxHTML sub-library
1700 --enable-htmlhelp use wxHTML-based help
1701 --enable-xrc use XRC resources sub-library
1702 --enable-aui use AUI docking library
1703 --enable-stc use wxStyledTextCtrl library
1704 --enable-constraints use layout-constraints system
1705 --enable-printarch use printing architecture
1706 --enable-mdi use multiple document interface architecture
1707 --enable-mdidoc use docview architecture with MDI
1708 --enable-loggui use standard GUI logger
1709 --enable-logwin use wxLogWindow
1710 --enable-logdialog use wxLogDialog
1711 --enable-webkit use wxWebKitCtrl (Mac)
1712 --enable-richtext use wxRichTextCtrl
1713 --enable-graphics_ctx use graphics context 2D drawing API
1714 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1715 --enable-clipboard use wxClipboard class
1716 --enable-dnd use Drag'n'Drop classes
1717 --enable-metafile use win32 metafiles
1718 --enable-controls use all usual controls
1719 --enable-accel use accelerators
1720 --enable-animatectrl use wxAnimationCtrl class
1721 --enable-button use wxButton class
1722 --enable-bmpbutton use wxBitmapButton class
1723 --enable-bmpcombobox use wxBitmapComboBox class
1724 --enable-calendar use wxCalendarCtrl class
1725 --enable-caret use wxCaret class
1726 --enable-checkbox use wxCheckBox class
1727 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1728 --enable-choice use wxChoice class
1729 --enable-choicebook use wxChoicebook class
1730 --enable-collpane use wxCollapsiblePane class
1731 --enable-colourpicker use wxColourPickerCtrl class
1732 --enable-combobox use wxComboBox class
1733 --enable-comboctrl use wxComboCtrl class
1734 --enable-datepick use wxDatePickerCtrl class
1735 --enable-dirpicker use wxDirPickerCtrl class
1736 --enable-display use wxDisplay class
1737 --enable-detect_sm use code to detect X11 session manager
1738 --enable-filepicker use wxFilePickerCtrl class
1739 --enable-fontpicker use wxFontPickerCtrl class
1740 --enable-gauge use wxGauge class
1741 --enable-grid use wxGrid class
1742 --enable-dataviewctrl use wxDataViewCtrl class
1743 --enable-hyperlink use wxHyperlinkCtrl class
1744 --enable-imaglist use wxImageList class
1745 --enable-listbook use wxListbook class
1746 --enable-listbox use wxListBox class
1747 --enable-listctrl use wxListCtrl class
1748 --enable-notebook use wxNotebook class
1749 --enable-odcombobox use wxOwnerDrawnComboBox class
1750 --enable-radiobox use wxRadioBox class
1751 --enable-radiobtn use wxRadioButton class
1752 --enable-sash use wxSashWindow class
1753 --enable-scrollbar use wxScrollBar class and scrollable windows
1754 --enable-searchctrl use wxSearchCtrl class
1755 --enable-slider use wxSlider class
1756 --enable-spinbtn use wxSpinButton class
1757 --enable-spinctrl use wxSpinCtrl class
1758 --enable-splitter use wxSplitterWindow class
1759 --enable-statbmp use wxStaticBitmap class
1760 --enable-statbox use wxStaticBox class
1761 --enable-statline use wxStaticLine class
1762 --enable-stattext use wxStaticText class
1763 --enable-statusbar use wxStatusBar class
1764 --enable-tabdialog use wxTabControl class
1765 --enable-textctrl use wxTextCtrl class
1766 --enable-togglebtn use wxToggleButton class
1767 --enable-toolbar use wxToolBar class
1768 --enable-tbarnative use native wxToolBar class
1769 --enable-treebook use wxTreebook class
1770 --enable-toolbook use wxToolbook class
1771 --enable-treectrl use wxTreeCtrl class
1772 --enable-tipwindow use wxTipWindow class
1773 --enable-popupwin use wxPopUpWindow class
1774 --enable-commondlg use all common dialogs
1775 --enable-aboutdlg use wxAboutBox
1776 --enable-choicedlg use wxChoiceDialog
1777 --enable-coldlg use wxColourDialog
1778 --enable-filedlg use wxFileDialog
1779 --enable-finddlg use wxFindReplaceDialog
1780 --enable-fontdlg use wxFontDialog
1781 --enable-dirdlg use wxDirDialog
1782 --enable-msgdlg use wxMessageDialog
1783 --enable-numberdlg use wxNumberEntryDialog
1784 --enable-splash use wxSplashScreen
1785 --enable-textdlg use wxTextDialog
1786 --enable-tipdlg use startup tips
1787 --enable-progressdlg use wxProgressDialog
1788 --enable-wizarddlg use wxWizard
1789 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1790 --enable-miniframe use wxMiniFrame class
1791 --enable-tooltips use wxToolTip class
1792 --enable-splines use spline drawing code
1793 --enable-mousewheel use mousewheel
1794 --enable-validators use wxValidator and derived classes
1795 --enable-busyinfo use wxBusyInfo
1796 --enable-joystick use wxJoystick
1797 --enable-metafiles use wxMetaFile (Win32 only)
1798 --enable-dragimage use wxDragImage
1799 --enable-accessibility enable accessibility support
1800 --enable-dccache cache temporary wxDC objects (Win32 only)
1801 --enable-palette use wxPalette class
1802 --enable-image use wxImage class
1803 --enable-gif use gif images (GIF file format)
1804 --enable-pcx use pcx images (PCX file format)
1805 --enable-tga use tga images (TGA file format)
1806 --enable-iff use iff images (IFF file format)
1807 --enable-pnm use pnm images (PNM file format)
1808 --enable-xpm use xpm images (XPM file format)
1809 --enable-icocur use Windows ICO and CUR formats
1810 --enable-official_build official build of wxWidgets (win32 DLL only)
1811 --enable-vendor=VENDOR vendor name (win32 DLL only)
1812 --disable-largefile omit support for large files
1813 --disable-gtktest do not try to compile and run a test GTK+ program
1814 --disable-gtktest Do not try to compile and run a test GTK program
1815 --disable-sdltest Do not try to compile and run a test SDL program
1816 --enable-omf use OMF object format (OS/2)
1817 --disable-dependency-tracking
1818 don't use dependency tracking even if the compiler
1819 can
1820 --disable-precomp-headers
1821 don't use precompiled headers even if compiler can
1822
1823 Optional Packages:
1824 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1825 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1826 --without-subdirs don't generate makefiles for samples/demos/...
1827 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1828 --with-motif use Motif/Lesstif
1829 --with-mac use Mac OS X
1830 --with-cocoa use Cocoa
1831 --with-wine use Wine
1832 --with-msw use MS-Windows
1833 --with-pm use OS/2 Presentation Manager
1834 --with-mgl use SciTech MGL
1835 --with-directfb use DirectFB
1836 --with-microwin use MicroWindows
1837 --with-x11 use X11
1838 --with-libpng use libpng (PNG image format)
1839 --with-libjpeg use libjpeg (JPEG file format)
1840 --with-libtiff use libtiff (TIFF file format)
1841 --with-libxpm use libxpm (XPM file format)
1842 --with-libmspack use libmspack (CHM help files loading)
1843 --with-sdl use SDL for audio on Unix
1844 --with-gnomeprint use GNOME print for printing under GNOME
1845 --with-gnomevfs use GNOME VFS for associating MIME types
1846 --with-hildon use Hildon framework for Nokia 770
1847 --with-opengl use OpenGL (or Mesa)
1848 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1849 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1850 --with-regex enable support for wxRegEx class
1851 --with-zlib use zlib for LZW compression
1852 --with-odbc use the IODBC and wxODBC classes
1853 --with-expat enable XML support using expat parser
1854 --with-flavour=NAME specify a name to identify this build
1855 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1856 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1857 --with-x use the X Window System
1858 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1859 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1860 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1861 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1862 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1863
1864 Some influential environment variables:
1865 CC C compiler command
1866 CFLAGS C compiler flags
1867 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1868 nonstandard directory <lib dir>
1869 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1870 you have headers in a nonstandard directory <include dir>
1871 CPP C preprocessor
1872 CXX C++ compiler command
1873 CXXFLAGS C++ compiler flags
1874 PKG_CONFIG path to pkg-config utility
1875 DIRECTFB_CFLAGS
1876 C compiler flags for DIRECTFB, overriding pkg-config
1877 DIRECTFB_LIBS
1878 linker flags for DIRECTFB, overriding pkg-config
1879 XMKMF Path to xmkmf, Makefile generator for X Window System
1880 PANGOX_CFLAGS
1881 C compiler flags for PANGOX, overriding pkg-config
1882 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1883 PANGOFT2_CFLAGS
1884 C compiler flags for PANGOFT2, overriding pkg-config
1885 PANGOFT2_LIBS
1886 linker flags for PANGOFT2, overriding pkg-config
1887 PANGOXFT_CFLAGS
1888 C compiler flags for PANGOXFT, overriding pkg-config
1889 PANGOXFT_LIBS
1890 linker flags for PANGOXFT, overriding pkg-config
1891 LIBGNOMEPRINTUI_CFLAGS
1892 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1893 LIBGNOMEPRINTUI_LIBS
1894 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1895 GNOMEVFS_CFLAGS
1896 C compiler flags for GNOMEVFS, overriding pkg-config
1897 GNOMEVFS_LIBS
1898 linker flags for GNOMEVFS, overriding pkg-config
1899 HILDON_CFLAGS
1900 C compiler flags for HILDON, overriding pkg-config
1901 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1902 CAIRO_CFLAGS
1903 C compiler flags for CAIRO, overriding pkg-config
1904 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1905 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1906 GST_LIBS linker flags for GST, overriding pkg-config
1907
1908 Use these variables to override the choices made by `configure' or to help
1909 it to find libraries and programs with nonstandard names/locations.
1910
1911 Report bugs to <wx-dev@lists.wxwidgets.org>.
1912 _ACEOF
1913 ac_status=$?
1914 fi
1915
1916 if test "$ac_init_help" = "recursive"; then
1917 # If there are subdirs, report their specific --help.
1918 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1919 test -d "$ac_dir" || continue
1920 ac_builddir=.
1921
1922 case "$ac_dir" in
1923 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1924 *)
1925 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1926 # A ".." for each directory in $ac_dir_suffix.
1927 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1928 case $ac_top_builddir_sub in
1929 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1930 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1931 esac ;;
1932 esac
1933 ac_abs_top_builddir=$ac_pwd
1934 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1935 # for backward compatibility:
1936 ac_top_builddir=$ac_top_build_prefix
1937
1938 case $srcdir in
1939 .) # We are building in place.
1940 ac_srcdir=.
1941 ac_top_srcdir=$ac_top_builddir_sub
1942 ac_abs_top_srcdir=$ac_pwd ;;
1943 [\\/]* | ?:[\\/]* ) # Absolute name.
1944 ac_srcdir=$srcdir$ac_dir_suffix;
1945 ac_top_srcdir=$srcdir
1946 ac_abs_top_srcdir=$srcdir ;;
1947 *) # Relative name.
1948 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1949 ac_top_srcdir=$ac_top_build_prefix$srcdir
1950 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1951 esac
1952 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1953
1954 cd "$ac_dir" || { ac_status=$?; continue; }
1955 # Check for guested configure.
1956 if test -f "$ac_srcdir/configure.gnu"; then
1957 echo &&
1958 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1959 elif test -f "$ac_srcdir/configure"; then
1960 echo &&
1961 $SHELL "$ac_srcdir/configure" --help=recursive
1962 else
1963 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1964 fi || ac_status=$?
1965 cd "$ac_pwd" || { ac_status=$?; break; }
1966 done
1967 fi
1968
1969 test -n "$ac_init_help" && exit $ac_status
1970 if $ac_init_version; then
1971 cat <<\_ACEOF
1972 wxWidgets configure 2.9.0
1973 generated by GNU Autoconf 2.60
1974
1975 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1976 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1977 This configure script is free software; the Free Software Foundation
1978 gives unlimited permission to copy, distribute and modify it.
1979 _ACEOF
1980 exit
1981 fi
1982 cat >config.log <<_ACEOF
1983 This file contains any messages produced by compilers while
1984 running configure, to aid debugging if configure makes a mistake.
1985
1986 It was created by wxWidgets $as_me 2.9.0, which was
1987 generated by GNU Autoconf 2.60. Invocation command line was
1988
1989 $ $0 $@
1990
1991 _ACEOF
1992 exec 5>>config.log
1993 {
1994 cat <<_ASUNAME
1995 ## --------- ##
1996 ## Platform. ##
1997 ## --------- ##
1998
1999 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2000 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2001 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2002 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2003 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2004
2005 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2006 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2007
2008 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2009 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2010 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2011 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2012 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2013 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2014 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2015
2016 _ASUNAME
2017
2018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2019 for as_dir in $PATH
2020 do
2021 IFS=$as_save_IFS
2022 test -z "$as_dir" && as_dir=.
2023 echo "PATH: $as_dir"
2024 done
2025 IFS=$as_save_IFS
2026
2027 } >&5
2028
2029 cat >&5 <<_ACEOF
2030
2031
2032 ## ----------- ##
2033 ## Core tests. ##
2034 ## ----------- ##
2035
2036 _ACEOF
2037
2038
2039 # Keep a trace of the command line.
2040 # Strip out --no-create and --no-recursion so they do not pile up.
2041 # Strip out --silent because we don't want to record it for future runs.
2042 # Also quote any args containing shell meta-characters.
2043 # Make two passes to allow for proper duplicate-argument suppression.
2044 ac_configure_args=
2045 ac_configure_args0=
2046 ac_configure_args1=
2047 ac_must_keep_next=false
2048 for ac_pass in 1 2
2049 do
2050 for ac_arg
2051 do
2052 case $ac_arg in
2053 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2054 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2055 | -silent | --silent | --silen | --sile | --sil)
2056 continue ;;
2057 *\'*)
2058 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2059 esac
2060 case $ac_pass in
2061 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2062 2)
2063 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2064 if test $ac_must_keep_next = true; then
2065 ac_must_keep_next=false # Got value, back to normal.
2066 else
2067 case $ac_arg in
2068 *=* | --config-cache | -C | -disable-* | --disable-* \
2069 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2070 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2071 | -with-* | --with-* | -without-* | --without-* | --x)
2072 case "$ac_configure_args0 " in
2073 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2074 esac
2075 ;;
2076 -* ) ac_must_keep_next=true ;;
2077 esac
2078 fi
2079 ac_configure_args="$ac_configure_args '$ac_arg'"
2080 ;;
2081 esac
2082 done
2083 done
2084 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2085 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2086
2087 # When interrupted or exit'd, cleanup temporary files, and complete
2088 # config.log. We remove comments because anyway the quotes in there
2089 # would cause problems or look ugly.
2090 # WARNING: Use '\'' to represent an apostrophe within the trap.
2091 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2092 trap 'exit_status=$?
2093 # Save into config.log some information that might help in debugging.
2094 {
2095 echo
2096
2097 cat <<\_ASBOX
2098 ## ---------------- ##
2099 ## Cache variables. ##
2100 ## ---------------- ##
2101 _ASBOX
2102 echo
2103 # The following way of writing the cache mishandles newlines in values,
2104 (
2105 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2106 eval ac_val=\$$ac_var
2107 case $ac_val in #(
2108 *${as_nl}*)
2109 case $ac_var in #(
2110 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2111 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2112 esac
2113 case $ac_var in #(
2114 _ | IFS | as_nl) ;; #(
2115 *) $as_unset $ac_var ;;
2116 esac ;;
2117 esac
2118 done
2119 (set) 2>&1 |
2120 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2121 *${as_nl}ac_space=\ *)
2122 sed -n \
2123 "s/'\''/'\''\\\\'\'''\''/g;
2124 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2125 ;; #(
2126 *)
2127 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2128 ;;
2129 esac |
2130 sort
2131 )
2132 echo
2133
2134 cat <<\_ASBOX
2135 ## ----------------- ##
2136 ## Output variables. ##
2137 ## ----------------- ##
2138 _ASBOX
2139 echo
2140 for ac_var in $ac_subst_vars
2141 do
2142 eval ac_val=\$$ac_var
2143 case $ac_val in
2144 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2145 esac
2146 echo "$ac_var='\''$ac_val'\''"
2147 done | sort
2148 echo
2149
2150 if test -n "$ac_subst_files"; then
2151 cat <<\_ASBOX
2152 ## ------------------- ##
2153 ## File substitutions. ##
2154 ## ------------------- ##
2155 _ASBOX
2156 echo
2157 for ac_var in $ac_subst_files
2158 do
2159 eval ac_val=\$$ac_var
2160 case $ac_val in
2161 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2162 esac
2163 echo "$ac_var='\''$ac_val'\''"
2164 done | sort
2165 echo
2166 fi
2167
2168 if test -s confdefs.h; then
2169 cat <<\_ASBOX
2170 ## ----------- ##
2171 ## confdefs.h. ##
2172 ## ----------- ##
2173 _ASBOX
2174 echo
2175 cat confdefs.h
2176 echo
2177 fi
2178 test "$ac_signal" != 0 &&
2179 echo "$as_me: caught signal $ac_signal"
2180 echo "$as_me: exit $exit_status"
2181 } >&5
2182 rm -f core *.core core.conftest.* &&
2183 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2184 exit $exit_status
2185 ' 0
2186 for ac_signal in 1 2 13 15; do
2187 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2188 done
2189 ac_signal=0
2190
2191 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2192 rm -f -r conftest* confdefs.h
2193
2194 # Predefined preprocessor variables.
2195
2196 cat >>confdefs.h <<_ACEOF
2197 #define PACKAGE_NAME "$PACKAGE_NAME"
2198 _ACEOF
2199
2200
2201 cat >>confdefs.h <<_ACEOF
2202 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2203 _ACEOF
2204
2205
2206 cat >>confdefs.h <<_ACEOF
2207 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2208 _ACEOF
2209
2210
2211 cat >>confdefs.h <<_ACEOF
2212 #define PACKAGE_STRING "$PACKAGE_STRING"
2213 _ACEOF
2214
2215
2216 cat >>confdefs.h <<_ACEOF
2217 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2218 _ACEOF
2219
2220
2221 # Let the site file select an alternate cache file if it wants to.
2222 # Prefer explicitly selected file to automatically selected ones.
2223 if test -n "$CONFIG_SITE"; then
2224 set x "$CONFIG_SITE"
2225 elif test "x$prefix" != xNONE; then
2226 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2227 else
2228 set x "$ac_default_prefix/share/config.site" \
2229 "$ac_default_prefix/etc/config.site"
2230 fi
2231 shift
2232 for ac_site_file
2233 do
2234 if test -r "$ac_site_file"; then
2235 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2236 echo "$as_me: loading site script $ac_site_file" >&6;}
2237 sed 's/^/| /' "$ac_site_file" >&5
2238 . "$ac_site_file"
2239 fi
2240 done
2241
2242 if test -r "$cache_file"; then
2243 # Some versions of bash will fail to source /dev/null (special
2244 # files actually), so we avoid doing that.
2245 if test -f "$cache_file"; then
2246 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2247 echo "$as_me: loading cache $cache_file" >&6;}
2248 case $cache_file in
2249 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2250 *) . "./$cache_file";;
2251 esac
2252 fi
2253 else
2254 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2255 echo "$as_me: creating cache $cache_file" >&6;}
2256 >$cache_file
2257 fi
2258
2259 # Check that the precious variables saved in the cache have kept the same
2260 # value.
2261 ac_cache_corrupted=false
2262 for ac_var in $ac_precious_vars; do
2263 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2264 eval ac_new_set=\$ac_env_${ac_var}_set
2265 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2266 eval ac_new_val=\$ac_env_${ac_var}_value
2267 case $ac_old_set,$ac_new_set in
2268 set,)
2269 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2270 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2271 ac_cache_corrupted=: ;;
2272 ,set)
2273 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2274 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2275 ac_cache_corrupted=: ;;
2276 ,);;
2277 *)
2278 if test "x$ac_old_val" != "x$ac_new_val"; then
2279 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2280 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2281 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2282 echo "$as_me: former value: $ac_old_val" >&2;}
2283 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2284 echo "$as_me: current value: $ac_new_val" >&2;}
2285 ac_cache_corrupted=:
2286 fi;;
2287 esac
2288 # Pass precious variables to config.status.
2289 if test "$ac_new_set" = set; then
2290 case $ac_new_val in
2291 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2292 *) ac_arg=$ac_var=$ac_new_val ;;
2293 esac
2294 case " $ac_configure_args " in
2295 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2296 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2297 esac
2298 fi
2299 done
2300 if $ac_cache_corrupted; then
2301 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2302 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2303 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2304 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2305 { (exit 1); exit 1; }; }
2306 fi
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332 ac_ext=c
2333 ac_cpp='$CPP $CPPFLAGS'
2334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2337
2338
2339
2340
2341
2342 ac_aux_dir=
2343 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2344 if test -f "$ac_dir/install-sh"; then
2345 ac_aux_dir=$ac_dir
2346 ac_install_sh="$ac_aux_dir/install-sh -c"
2347 break
2348 elif test -f "$ac_dir/install.sh"; then
2349 ac_aux_dir=$ac_dir
2350 ac_install_sh="$ac_aux_dir/install.sh -c"
2351 break
2352 elif test -f "$ac_dir/shtool"; then
2353 ac_aux_dir=$ac_dir
2354 ac_install_sh="$ac_aux_dir/shtool install -c"
2355 break
2356 fi
2357 done
2358 if test -z "$ac_aux_dir"; then
2359 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2360 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2361 { (exit 1); exit 1; }; }
2362 fi
2363
2364 # These three variables are undocumented and unsupported,
2365 # and are intended to be withdrawn in a future Autoconf release.
2366 # They can cause serious problems if a builder's source tree is in a directory
2367 # whose full name contains unusual characters.
2368 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2369 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2370 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2371
2372
2373 # Make sure we can run config.sub.
2374 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2375 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2376 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2377 { (exit 1); exit 1; }; }
2378
2379 { echo "$as_me:$LINENO: checking build system type" >&5
2380 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2381 if test "${ac_cv_build+set}" = set; then
2382 echo $ECHO_N "(cached) $ECHO_C" >&6
2383 else
2384 ac_build_alias=$build_alias
2385 test "x$ac_build_alias" = x &&
2386 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2387 test "x$ac_build_alias" = x &&
2388 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2389 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2390 { (exit 1); exit 1; }; }
2391 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2392 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2393 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2394 { (exit 1); exit 1; }; }
2395
2396 fi
2397 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2398 echo "${ECHO_T}$ac_cv_build" >&6; }
2399 case $ac_cv_build in
2400 *-*-*) ;;
2401 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2402 echo "$as_me: error: invalid value of canonical build" >&2;}
2403 { (exit 1); exit 1; }; };;
2404 esac
2405 build=$ac_cv_build
2406 ac_save_IFS=$IFS; IFS='-'
2407 set x $ac_cv_build
2408 shift
2409 build_cpu=$1
2410 build_vendor=$2
2411 shift; shift
2412 # Remember, the first character of IFS is used to create $*,
2413 # except with old shells:
2414 build_os=$*
2415 IFS=$ac_save_IFS
2416 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2417
2418
2419 { echo "$as_me:$LINENO: checking host system type" >&5
2420 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2421 if test "${ac_cv_host+set}" = set; then
2422 echo $ECHO_N "(cached) $ECHO_C" >&6
2423 else
2424 if test "x$host_alias" = x; then
2425 ac_cv_host=$ac_cv_build
2426 else
2427 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2428 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2429 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2430 { (exit 1); exit 1; }; }
2431 fi
2432
2433 fi
2434 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2435 echo "${ECHO_T}$ac_cv_host" >&6; }
2436 case $ac_cv_host in
2437 *-*-*) ;;
2438 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2439 echo "$as_me: error: invalid value of canonical host" >&2;}
2440 { (exit 1); exit 1; }; };;
2441 esac
2442 host=$ac_cv_host
2443 ac_save_IFS=$IFS; IFS='-'
2444 set x $ac_cv_host
2445 shift
2446 host_cpu=$1
2447 host_vendor=$2
2448 shift; shift
2449 # Remember, the first character of IFS is used to create $*,
2450 # except with old shells:
2451 host_os=$*
2452 IFS=$ac_save_IFS
2453 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2454
2455
2456 { echo "$as_me:$LINENO: checking target system type" >&5
2457 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2458 if test "${ac_cv_target+set}" = set; then
2459 echo $ECHO_N "(cached) $ECHO_C" >&6
2460 else
2461 if test "x$target_alias" = x; then
2462 ac_cv_target=$ac_cv_host
2463 else
2464 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2465 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2466 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2467 { (exit 1); exit 1; }; }
2468 fi
2469
2470 fi
2471 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2472 echo "${ECHO_T}$ac_cv_target" >&6; }
2473 case $ac_cv_target in
2474 *-*-*) ;;
2475 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2476 echo "$as_me: error: invalid value of canonical target" >&2;}
2477 { (exit 1); exit 1; }; };;
2478 esac
2479 target=$ac_cv_target
2480 ac_save_IFS=$IFS; IFS='-'
2481 set x $ac_cv_target
2482 shift
2483 target_cpu=$1
2484 target_vendor=$2
2485 shift; shift
2486 # Remember, the first character of IFS is used to create $*,
2487 # except with old shells:
2488 target_os=$*
2489 IFS=$ac_save_IFS
2490 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2491
2492
2493 # The aliases save the names the user supplied, while $host etc.
2494 # will get canonicalized.
2495 test -n "$target_alias" &&
2496 test "$program_prefix$program_suffix$program_transform_name" = \
2497 NONENONEs,x,x, &&
2498 program_prefix=${target_alias}-
2499
2500
2501
2502 wx_major_version_number=2
2503 wx_minor_version_number=9
2504 wx_release_number=0
2505 wx_subrelease_number=0
2506
2507 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2508 WX_VERSION=$WX_RELEASE.$wx_release_number
2509 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2510
2511 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2512
2513
2514 wx_top_builddir="`pwd`"
2515
2516
2517
2518
2519 USE_UNIX=1
2520 USE_OS2=0
2521 USE_WIN32=0
2522 USE_DOS=0
2523 USE_BEOS=0
2524 USE_MAC=0
2525
2526 USE_AIX=
2527 USE_BSD= USE_DARWIN= USE_FREEBSD=
2528 USE_GNU= USE_HPUX=
2529 USE_LINUX=
2530 USE_NETBSD=
2531 USE_OPENBSD=
2532 USE_OSF= USE_SGI=
2533 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2534 USE_ULTRIX=
2535 USE_UNIXWARE=
2536
2537 USE_ALPHA=
2538
2539 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2540
2541 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2542
2543 DEFAULT_wxUSE_COCOA=0
2544 DEFAULT_wxUSE_GTK=0
2545 DEFAULT_wxUSE_MAC=0
2546 DEFAULT_wxUSE_MGL=0
2547 DEFAULT_wxUSE_MICROWIN=0
2548 DEFAULT_wxUSE_MOTIF=0
2549 DEFAULT_wxUSE_MSW=0
2550 DEFAULT_wxUSE_PM=0
2551 DEFAULT_wxUSE_X11=0
2552 DEFAULT_wxUSE_DFB=0
2553
2554 DEFAULT_DEFAULT_wxUSE_COCOA=0
2555 DEFAULT_DEFAULT_wxUSE_GTK=0
2556 DEFAULT_DEFAULT_wxUSE_MAC=0
2557 DEFAULT_DEFAULT_wxUSE_MGL=0
2558 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2559 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2560 DEFAULT_DEFAULT_wxUSE_MSW=0
2561 DEFAULT_DEFAULT_wxUSE_PM=0
2562 DEFAULT_DEFAULT_wxUSE_X11=0
2563 DEFAULT_DEFAULT_wxUSE_DFB=0
2564
2565 PROGRAM_EXT=
2566 SO_SUFFIX=so
2567 SAMPLES_RPATH_FLAG=
2568 SAMPLES_RPATH_POSTLINK=
2569
2570 DEFAULT_STD_FLAG=yes
2571
2572 case "${host}" in
2573 *-hp-hpux* )
2574 USE_HPUX=1
2575 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2576 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2577 SO_SUFFIX=sl
2578 cat >>confdefs.h <<\_ACEOF
2579 #define __HPUX__ 1
2580 _ACEOF
2581
2582
2583 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2584 ;;
2585 *-*-linux* )
2586 USE_LINUX=1
2587 cat >>confdefs.h <<\_ACEOF
2588 #define __LINUX__ 1
2589 _ACEOF
2590
2591 TMP=`uname -m`
2592 if test "x$TMP" = "xalpha"; then
2593 USE_ALPHA=1
2594 cat >>confdefs.h <<\_ACEOF
2595 #define __ALPHA__ 1
2596 _ACEOF
2597
2598 fi
2599 DEFAULT_DEFAULT_wxUSE_GTK=1
2600 ;;
2601 *-*-gnu* | *-*-k*bsd*-gnu )
2602 USE_GNU=1
2603 TMP=`uname -m`
2604 if test "x$TMP" = "xalpha"; then
2605 USE_ALPHA=1
2606 cat >>confdefs.h <<\_ACEOF
2607 #define __ALPHA__ 1
2608 _ACEOF
2609
2610 fi
2611 DEFAULT_DEFAULT_wxUSE_GTK=1
2612 ;;
2613 *-*-irix5* | *-*-irix6* )
2614 USE_SGI=1
2615 USE_SVR4=1
2616 cat >>confdefs.h <<\_ACEOF
2617 #define __SGI__ 1
2618 _ACEOF
2619
2620 cat >>confdefs.h <<\_ACEOF
2621 #define __SVR4__ 1
2622 _ACEOF
2623
2624 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2625 ;;
2626 *-*-solaris2* )
2627 USE_SUN=1
2628 USE_SOLARIS=1
2629 USE_SVR4=1
2630 cat >>confdefs.h <<\_ACEOF
2631 #define __SUN__ 1
2632 _ACEOF
2633
2634 cat >>confdefs.h <<\_ACEOF
2635 #define __SOLARIS__ 1
2636 _ACEOF
2637
2638 cat >>confdefs.h <<\_ACEOF
2639 #define __SVR4__ 1
2640 _ACEOF
2641
2642 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2643 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2644 ;;
2645 *-*-sunos4* )
2646 USE_SUN=1
2647 USE_SUNOS=1
2648 USE_BSD=1
2649 cat >>confdefs.h <<\_ACEOF
2650 #define __SUN__ 1
2651 _ACEOF
2652
2653 cat >>confdefs.h <<\_ACEOF
2654 #define __SUNOS__ 1
2655 _ACEOF
2656
2657 cat >>confdefs.h <<\_ACEOF
2658 #define __BSD__ 1
2659 _ACEOF
2660
2661 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2662 ;;
2663 *-*-freebsd*)
2664 USE_BSD=1
2665 USE_FREEBSD=1
2666 cat >>confdefs.h <<\_ACEOF
2667 #define __FREEBSD__ 1
2668 _ACEOF
2669
2670 cat >>confdefs.h <<\_ACEOF
2671 #define __BSD__ 1
2672 _ACEOF
2673
2674 DEFAULT_DEFAULT_wxUSE_GTK=1
2675 ;;
2676 *-*-openbsd*|*-*-mirbsd*)
2677 USE_BSD=1
2678 USE_OPENBSD=1
2679 cat >>confdefs.h <<\_ACEOF
2680 #define __OPENBSD__ 1
2681 _ACEOF
2682
2683 cat >>confdefs.h <<\_ACEOF
2684 #define __BSD__ 1
2685 _ACEOF
2686
2687 DEFAULT_DEFAULT_wxUSE_GTK=1
2688 ;;
2689 *-*-netbsd*)
2690 USE_BSD=1
2691 USE_NETBSD=1
2692 cat >>confdefs.h <<\_ACEOF
2693 #define __NETBSD__ 1
2694 _ACEOF
2695
2696 cat >>confdefs.h <<\_ACEOF
2697 #define __BSD__ 1
2698 _ACEOF
2699
2700 DEFAULT_DEFAULT_wxUSE_GTK=1
2701 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2702
2703 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2704 ;;
2705 *-*-osf* )
2706 USE_ALPHA=1
2707 USE_OSF=1
2708 cat >>confdefs.h <<\_ACEOF
2709 #define __ALPHA__ 1
2710 _ACEOF
2711
2712 cat >>confdefs.h <<\_ACEOF
2713 #define __OSF__ 1
2714 _ACEOF
2715
2716 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2717 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2718 ;;
2719 *-*-dgux5* )
2720 USE_ALPHA=1
2721 USE_SVR4=1
2722 cat >>confdefs.h <<\_ACEOF
2723 #define __ALPHA__ 1
2724 _ACEOF
2725
2726 cat >>confdefs.h <<\_ACEOF
2727 #define __SVR4__ 1
2728 _ACEOF
2729
2730 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2731 ;;
2732 *-*-sysv5* )
2733 USE_SYSV=1
2734 USE_SVR4=1
2735 cat >>confdefs.h <<\_ACEOF
2736 #define __SYSV__ 1
2737 _ACEOF
2738
2739 cat >>confdefs.h <<\_ACEOF
2740 #define __SVR4__ 1
2741 _ACEOF
2742
2743 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2744 ;;
2745 *-*-aix* )
2746 USE_AIX=1
2747 USE_SYSV=1
2748 USE_SVR4=1
2749 SO_SUFFIX=a
2750 cat >>confdefs.h <<\_ACEOF
2751 #define __AIX__ 1
2752 _ACEOF
2753
2754 cat >>confdefs.h <<\_ACEOF
2755 #define __SYSV__ 1
2756 _ACEOF
2757
2758 cat >>confdefs.h <<\_ACEOF
2759 #define __SVR4__ 1
2760 _ACEOF
2761
2762 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2763 ;;
2764
2765 *-*-*UnixWare*)
2766 USE_SYSV=1
2767 USE_SVR4=1
2768 USE_UNIXWARE=1
2769 cat >>confdefs.h <<\_ACEOF
2770 #define __UNIXWARE__ 1
2771 _ACEOF
2772
2773 ;;
2774
2775 *-*-cygwin* | *-*-mingw32* )
2776 SO_SUFFIX=dll
2777 PROGRAM_EXT=".exe"
2778 DEFAULT_DEFAULT_wxUSE_MSW=1
2779 ;;
2780
2781 *-pc-msdosdjgpp )
2782 USE_UNIX=0
2783 USE_DOS=1
2784 cat >>confdefs.h <<\_ACEOF
2785 #define __DOS__ 1
2786 _ACEOF
2787
2788 PROGRAM_EXT=".exe"
2789 DEFAULT_DEFAULT_wxUSE_MGL=1
2790 ;;
2791
2792 *-pc-os2_emx | *-pc-os2-emx )
2793 cat >>confdefs.h <<\_ACEOF
2794 #define __EMX__ 1
2795 _ACEOF
2796
2797 USE_OS2=1
2798 cat >>confdefs.h <<\_ACEOF
2799 #define __OS2__ 1
2800 _ACEOF
2801
2802 PROGRAM_EXT=".exe"
2803 DEFAULT_DEFAULT_wxUSE_PM=1
2804 CXX=gcc
2805 LDFLAGS="$LDFLAGS -Zcrtdll"
2806 ac_executable_extensions=".exe"
2807 export ac_executable_extensions
2808 ac_save_IFS="$IFS"
2809 IFS='\\'
2810 ac_TEMP_PATH=
2811 for ac_dir in $PATH; do
2812 IFS=$ac_save_IFS
2813 if test -z "$ac_TEMP_PATH"; then
2814 ac_TEMP_PATH="$ac_dir"
2815 else
2816 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2817 fi
2818 done
2819 export PATH="$ac_TEMP_PATH"
2820 unset ac_TEMP_PATH
2821 DEFAULT_STD_FLAG=no
2822 ;;
2823
2824 *-*-darwin* )
2825 USE_BSD=1
2826 USE_DARWIN=1
2827 SO_SUFFIX=dylib
2828 cat >>confdefs.h <<\_ACEOF
2829 #define __BSD__ 1
2830 _ACEOF
2831
2832 cat >>confdefs.h <<\_ACEOF
2833 #define __DARWIN__ 1
2834 _ACEOF
2835
2836 cat >>confdefs.h <<\_ACEOF
2837 #define TARGET_CARBON 1
2838 _ACEOF
2839
2840 DEFAULT_DEFAULT_wxUSE_MAC=1
2841 DEFAULT_STD_FLAG=no
2842 ;;
2843 powerpc-apple-macos* )
2844 USE_UNIX=0
2845 ac_cv_c_bigendian=yes
2846 SO_SUFFIX=shlib
2847 DEFAULT_DEFAULT_wxUSE_MAC=1
2848 DEFAULT_STD_FLAG=no
2849 ;;
2850
2851 *-*-beos* )
2852 USE_BEOS=1
2853 cat >>confdefs.h <<\_ACEOF
2854 #define __BEOS__ 1
2855 _ACEOF
2856
2857 ;;
2858
2859 *)
2860 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2861 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2862 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2863 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2864
2865 DEFAULT_DEFAULT_wxUSE_X11=1
2866 DEFAULT_wxUSE_SHARED=no
2867 esac
2868
2869
2870
2871
2872 wx_arg_cache_file="configarg.cache"
2873 echo "loading argument cache $wx_arg_cache_file"
2874 rm -f ${wx_arg_cache_file}.tmp
2875 touch ${wx_arg_cache_file}.tmp
2876 touch ${wx_arg_cache_file}
2877
2878
2879 DEBUG_CONFIGURE=0
2880 if test $DEBUG_CONFIGURE = 1; then
2881 DEFAULT_wxUSE_UNIVERSAL=no
2882 DEFAULT_wxUSE_STL=no
2883
2884 DEFAULT_wxUSE_NANOX=no
2885
2886 DEFAULT_wxUSE_THREADS=yes
2887
2888 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2889 DEFAULT_wxUSE_OPTIMISE=no
2890 DEFAULT_wxUSE_PROFILE=no
2891 DEFAULT_wxUSE_NO_DEPS=no
2892 DEFAULT_wxUSE_VARARG_MACROS=no
2893 DEFAULT_wxUSE_NO_RTTI=no
2894 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2895 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2896 DEFAULT_wxUSE_RPATH=yes
2897 DEFAULT_wxUSE_PERMISSIVE=no
2898 DEFAULT_wxUSE_DEBUG_FLAG=yes
2899 DEFAULT_wxUSE_DEBUG_INFO=yes
2900 DEFAULT_wxUSE_DEBUG_GDB=yes
2901 DEFAULT_wxUSE_MEM_TRACING=no
2902 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2903 DEFAULT_wxUSE_DMALLOC=no
2904 DEFAULT_wxUSE_APPLE_IEEE=no
2905
2906 DEFAULT_wxUSE_EXCEPTIONS=no
2907 DEFAULT_wxUSE_LOG=yes
2908 DEFAULT_wxUSE_LOGWINDOW=no
2909 DEFAULT_wxUSE_LOGGUI=no
2910 DEFAULT_wxUSE_LOGDIALOG=no
2911
2912 DEFAULT_wxUSE_GUI=yes
2913 DEFAULT_wxUSE_CONTROLS=no
2914
2915 DEFAULT_wxUSE_REGEX=no
2916 DEFAULT_wxUSE_XML=no
2917 DEFAULT_wxUSE_EXPAT=no
2918 DEFAULT_wxUSE_ZLIB=no
2919 DEFAULT_wxUSE_LIBPNG=no
2920 DEFAULT_wxUSE_LIBJPEG=no
2921 DEFAULT_wxUSE_LIBTIFF=no
2922 DEFAULT_wxUSE_LIBXPM=no
2923 DEFAULT_wxUSE_LIBMSPACK=no
2924 DEFAULT_wxUSE_LIBSDL=no
2925 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2926 DEFAULT_wxUSE_LIBGNOMEVFS=no
2927 DEFAULT_wxUSE_LIBHILDON=no
2928 DEFAULT_wxUSE_ODBC=no
2929 DEFAULT_wxUSE_OPENGL=no
2930
2931 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2932 DEFAULT_wxUSE_STACKWALKER=no
2933 DEFAULT_wxUSE_DEBUGREPORT=no
2934 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2935 DEFAULT_wxUSE_STD_IOSTREAM=no
2936 DEFAULT_wxUSE_STD_STRING=no
2937 DEFAULT_wxUSE_CMDLINE_PARSER=no
2938 DEFAULT_wxUSE_DATETIME=no
2939 DEFAULT_wxUSE_TIMER=no
2940 DEFAULT_wxUSE_STOPWATCH=no
2941 DEFAULT_wxUSE_FILE=no
2942 DEFAULT_wxUSE_FFILE=no
2943 DEFAULT_wxUSE_STDPATHS=no
2944 DEFAULT_wxUSE_TEXTBUFFER=no
2945 DEFAULT_wxUSE_TEXTFILE=no
2946 DEFAULT_wxUSE_SOUND=no
2947 DEFAULT_wxUSE_MEDIACTRL=no
2948 DEFAULT_wxUSE_GSTREAMER8=no
2949 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2950 DEFAULT_wxUSE_INTL=no
2951 DEFAULT_wxUSE_CONFIG=no
2952 DEFAULT_wxUSE_FONTMAP=no
2953 DEFAULT_wxUSE_STREAMS=no
2954 DEFAULT_wxUSE_SOCKETS=no
2955 DEFAULT_wxUSE_OLE=no
2956 DEFAULT_wxUSE_DATAOBJ=no
2957 DEFAULT_wxUSE_DIALUP_MANAGER=no
2958 DEFAULT_wxUSE_JOYSTICK=no
2959 DEFAULT_wxUSE_DYNLIB_CLASS=no
2960 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2961 DEFAULT_wxUSE_LONGLONG=no
2962 DEFAULT_wxUSE_GEOMETRY=no
2963
2964 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2965 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2966 DEFAULT_wxUSE_POSTSCRIPT=no
2967
2968 DEFAULT_wxUSE_CLIPBOARD=no
2969 DEFAULT_wxUSE_TOOLTIPS=no
2970 DEFAULT_wxUSE_DRAG_AND_DROP=no
2971 DEFAULT_wxUSE_DRAGIMAGE=no
2972 DEFAULT_wxUSE_SPLINES=no
2973 DEFAULT_wxUSE_MOUSEWHEEL=no
2974
2975 DEFAULT_wxUSE_MDI=no
2976 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2977 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2978 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2979
2980 DEFAULT_wxUSE_CONSTRAINTS=no
2981 DEFAULT_wxUSE_IPC=no
2982 DEFAULT_wxUSE_HELP=no
2983 DEFAULT_wxUSE_MS_HTML_HELP=no
2984 DEFAULT_wxUSE_WXHTML_HELP=no
2985 DEFAULT_wxUSE_TREELAYOUT=no
2986 DEFAULT_wxUSE_METAFILE=no
2987 DEFAULT_wxUSE_MIMETYPE=no
2988 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2989 DEFAULT_wxUSE_PROTOCOL=no
2990 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2991 DEFAULT_wxUSE_PROTOCOL_FTP=no
2992 DEFAULT_wxUSE_PROTOCOL_FILE=no
2993 DEFAULT_wxUSE_URL=no
2994 DEFAULT_wxUSE_VARIANT=no
2995
2996 DEFAULT_wxUSE_ABOUTDLG=no
2997 DEFAULT_wxUSE_COMMONDLGS=no
2998 DEFAULT_wxUSE_CHOICEDLG=no
2999 DEFAULT_wxUSE_COLOURDLG=no
3000 DEFAULT_wxUSE_DIRDLG=no
3001 DEFAULT_wxUSE_FILEDLG=no
3002 DEFAULT_wxUSE_FINDREPLDLG=no
3003 DEFAULT_wxUSE_FONTDLG=no
3004 DEFAULT_wxUSE_MSGDLG=no
3005 DEFAULT_wxUSE_NUMBERDLG=no
3006 DEFAULT_wxUSE_TEXTDLG=no
3007 DEFAULT_wxUSE_SPLASH=no
3008 DEFAULT_wxUSE_STARTUP_TIPS=no
3009 DEFAULT_wxUSE_PROGRESSDLG=no
3010 DEFAULT_wxUSE_WIZARDDLG=no
3011
3012 DEFAULT_wxUSE_MENUS=no
3013 DEFAULT_wxUSE_MINIFRAME=no
3014 DEFAULT_wxUSE_HTML=no
3015 DEFAULT_wxUSE_RICHTEXT=no
3016 DEFAULT_wxUSE_XRC=no
3017 DEFAULT_wxUSE_AUI=no
3018 DEFAULT_wxUSE_STC=no
3019 DEFAULT_wxUSE_WEBKIT=no
3020 DEFAULT_wxUSE_FILESYSTEM=no
3021 DEFAULT_wxUSE_FS_INET=no
3022 DEFAULT_wxUSE_FS_ZIP=no
3023 DEFAULT_wxUSE_FS_ARCHIVE=no
3024 DEFAULT_wxUSE_BUSYINFO=no
3025 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3026 DEFAULT_wxUSE_ZIPSTREAM=no
3027 DEFAULT_wxUSE_TARSTREAM=no
3028 DEFAULT_wxUSE_VALIDATORS=no
3029
3030 DEFAULT_wxUSE_ACCEL=no
3031 DEFAULT_wxUSE_ANIMATIONCTRL=no
3032 DEFAULT_wxUSE_BUTTON=no
3033 DEFAULT_wxUSE_BMPBUTTON=no
3034 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3035 DEFAULT_wxUSE_CALCTRL=no
3036 DEFAULT_wxUSE_CARET=no
3037 DEFAULT_wxUSE_CHECKBOX=no
3038 DEFAULT_wxUSE_CHECKLST=no
3039 DEFAULT_wxUSE_CHOICE=no
3040 DEFAULT_wxUSE_CHOICEBOOK=no
3041 DEFAULT_wxUSE_COLLPANE=no
3042 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3043 DEFAULT_wxUSE_COMBOBOX=no
3044 DEFAULT_wxUSE_COMBOCTRL=no
3045 DEFAULT_wxUSE_DATEPICKCTRL=no
3046 DEFAULT_wxUSE_DISPLAY=no
3047 DEFAULT_wxUSE_DETECT_SM=no
3048 DEFAULT_wxUSE_DIRPICKERCTRL=no
3049 DEFAULT_wxUSE_FILEPICKERCTRL=no
3050 DEFAULT_wxUSE_FONTPICKERCTRL=no
3051 DEFAULT_wxUSE_GAUGE=no
3052 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3053 DEFAULT_wxUSE_GRID=no
3054 DEFAULT_wxUSE_HYPERLINKCTRL=no
3055 DEFAULT_wxUSE_DATAVIEWCTRL=no
3056 DEFAULT_wxUSE_IMAGLIST=no
3057 DEFAULT_wxUSE_LISTBOOK=no
3058 DEFAULT_wxUSE_LISTBOX=no
3059 DEFAULT_wxUSE_LISTCTRL=no
3060 DEFAULT_wxUSE_NOTEBOOK=no
3061 DEFAULT_wxUSE_ODCOMBOBOX=no
3062 DEFAULT_wxUSE_RADIOBOX=no
3063 DEFAULT_wxUSE_RADIOBTN=no
3064 DEFAULT_wxUSE_SASH=no
3065 DEFAULT_wxUSE_SCROLLBAR=no
3066 DEFAULT_wxUSE_SEARCHCTRL=no
3067 DEFAULT_wxUSE_SLIDER=no
3068 DEFAULT_wxUSE_SPINBTN=no
3069 DEFAULT_wxUSE_SPINCTRL=no
3070 DEFAULT_wxUSE_SPLITTER=no
3071 DEFAULT_wxUSE_STATBMP=no
3072 DEFAULT_wxUSE_STATBOX=no
3073 DEFAULT_wxUSE_STATLINE=no
3074 DEFAULT_wxUSE_STATTEXT=no
3075 DEFAULT_wxUSE_STATUSBAR=yes
3076 DEFAULT_wxUSE_TAB_DIALOG=no
3077 DEFAULT_wxUSE_TEXTCTRL=no
3078 DEFAULT_wxUSE_TOGGLEBTN=no
3079 DEFAULT_wxUSE_TOOLBAR=no
3080 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3081 DEFAULT_wxUSE_TREEBOOK=no
3082 DEFAULT_wxUSE_TOOLBOOK=no
3083 DEFAULT_wxUSE_TREECTRL=no
3084 DEFAULT_wxUSE_POPUPWIN=no
3085 DEFAULT_wxUSE_TIPWINDOW=no
3086
3087 DEFAULT_wxUSE_UNICODE=no
3088 DEFAULT_wxUSE_UNICODE_MSLU=no
3089 DEFAULT_wxUSE_WCSRTOMBS=no
3090
3091 DEFAULT_wxUSE_PALETTE=no
3092 DEFAULT_wxUSE_IMAGE=no
3093 DEFAULT_wxUSE_GIF=no
3094 DEFAULT_wxUSE_PCX=no
3095 DEFAULT_wxUSE_TGA=no
3096 DEFAULT_wxUSE_PNM=no
3097 DEFAULT_wxUSE_IFF=no
3098 DEFAULT_wxUSE_XPM=no
3099 DEFAULT_wxUSE_ICO_CUR=no
3100 DEFAULT_wxUSE_ACCESSIBILITY=no
3101
3102 DEFAULT_wxUSE_MONOLITHIC=no
3103 DEFAULT_wxUSE_PLUGINS=no
3104 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3105 else
3106 DEFAULT_wxUSE_UNIVERSAL=no
3107 DEFAULT_wxUSE_STL=no
3108
3109 DEFAULT_wxUSE_NANOX=no
3110
3111 DEFAULT_wxUSE_THREADS=yes
3112
3113 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3114 DEFAULT_wxUSE_OPTIMISE=yes
3115 DEFAULT_wxUSE_PROFILE=no
3116 DEFAULT_wxUSE_NO_DEPS=no
3117 DEFAULT_wxUSE_VARARG_MACROS=yes
3118 DEFAULT_wxUSE_NO_RTTI=no
3119 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3120 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3121 DEFAULT_wxUSE_RPATH=yes
3122 DEFAULT_wxUSE_PERMISSIVE=no
3123 DEFAULT_wxUSE_DEBUG_FLAG=no
3124 DEFAULT_wxUSE_DEBUG_INFO=no
3125 DEFAULT_wxUSE_DEBUG_GDB=no
3126 DEFAULT_wxUSE_MEM_TRACING=no
3127 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3128 DEFAULT_wxUSE_DMALLOC=no
3129 DEFAULT_wxUSE_APPLE_IEEE=yes
3130
3131 DEFAULT_wxUSE_EXCEPTIONS=yes
3132 DEFAULT_wxUSE_LOG=yes
3133 DEFAULT_wxUSE_LOGWINDOW=yes
3134 DEFAULT_wxUSE_LOGGUI=yes
3135 DEFAULT_wxUSE_LOGDIALOG=yes
3136
3137 DEFAULT_wxUSE_GUI=yes
3138
3139 DEFAULT_wxUSE_REGEX=yes
3140 DEFAULT_wxUSE_XML=yes
3141 DEFAULT_wxUSE_EXPAT=yes
3142 DEFAULT_wxUSE_ZLIB=yes
3143 DEFAULT_wxUSE_LIBPNG=yes
3144 DEFAULT_wxUSE_LIBJPEG=yes
3145 DEFAULT_wxUSE_LIBTIFF=yes
3146 DEFAULT_wxUSE_LIBXPM=yes
3147 DEFAULT_wxUSE_LIBMSPACK=yes
3148 DEFAULT_wxUSE_LIBSDL=no
3149 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3150 DEFAULT_wxUSE_LIBGNOMEVFS=no
3151 DEFAULT_wxUSE_LIBHILDON=no
3152 DEFAULT_wxUSE_ODBC=no
3153 DEFAULT_wxUSE_OPENGL=no
3154
3155 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3156 DEFAULT_wxUSE_STACKWALKER=yes
3157 DEFAULT_wxUSE_DEBUGREPORT=yes
3158 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3159 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3160 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3161 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3162 DEFAULT_wxUSE_DATETIME=yes
3163 DEFAULT_wxUSE_TIMER=yes
3164 DEFAULT_wxUSE_STOPWATCH=yes
3165 DEFAULT_wxUSE_FILE=yes
3166 DEFAULT_wxUSE_FFILE=yes
3167 DEFAULT_wxUSE_STDPATHS=yes
3168 DEFAULT_wxUSE_TEXTBUFFER=yes
3169 DEFAULT_wxUSE_TEXTFILE=yes
3170 DEFAULT_wxUSE_SOUND=yes
3171 DEFAULT_wxUSE_MEDIACTRL=no
3172 DEFAULT_wxUSE_GSTREAMER8=no
3173 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3174 DEFAULT_wxUSE_INTL=yes
3175 DEFAULT_wxUSE_CONFIG=yes
3176 DEFAULT_wxUSE_FONTMAP=yes
3177 DEFAULT_wxUSE_STREAMS=yes
3178 DEFAULT_wxUSE_SOCKETS=yes
3179 DEFAULT_wxUSE_OLE=yes
3180 DEFAULT_wxUSE_DATAOBJ=yes
3181 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3182 DEFAULT_wxUSE_JOYSTICK=yes
3183 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3184 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3185 DEFAULT_wxUSE_LONGLONG=yes
3186 DEFAULT_wxUSE_GEOMETRY=yes
3187
3188 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3189 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3190 DEFAULT_wxUSE_POSTSCRIPT=yes
3191
3192 DEFAULT_wxUSE_CLIPBOARD=yes
3193 DEFAULT_wxUSE_TOOLTIPS=yes
3194 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3195 DEFAULT_wxUSE_DRAGIMAGE=yes
3196 DEFAULT_wxUSE_SPLINES=yes
3197 DEFAULT_wxUSE_MOUSEWHEEL=yes
3198
3199 DEFAULT_wxUSE_MDI=yes
3200 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3201 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3202 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3203
3204 DEFAULT_wxUSE_CONSTRAINTS=yes
3205 DEFAULT_wxUSE_IPC=yes
3206 DEFAULT_wxUSE_HELP=yes
3207 DEFAULT_wxUSE_MS_HTML_HELP=yes
3208 DEFAULT_wxUSE_WXHTML_HELP=yes
3209 DEFAULT_wxUSE_TREELAYOUT=yes
3210 DEFAULT_wxUSE_METAFILE=yes
3211 DEFAULT_wxUSE_MIMETYPE=yes
3212 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3213 DEFAULT_wxUSE_PROTOCOL=yes
3214 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3215 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3216 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3217 DEFAULT_wxUSE_URL=yes
3218 DEFAULT_wxUSE_VARIANT=yes
3219
3220 DEFAULT_wxUSE_ABOUTDLG=yes
3221 DEFAULT_wxUSE_COMMONDLGS=yes
3222 DEFAULT_wxUSE_CHOICEDLG=yes
3223 DEFAULT_wxUSE_COLOURDLG=yes
3224 DEFAULT_wxUSE_DIRDLG=yes
3225 DEFAULT_wxUSE_FILEDLG=yes
3226 DEFAULT_wxUSE_FINDREPLDLG=yes
3227 DEFAULT_wxUSE_FONTDLG=yes
3228 DEFAULT_wxUSE_MSGDLG=yes
3229 DEFAULT_wxUSE_NUMBERDLG=yes
3230 DEFAULT_wxUSE_TEXTDLG=yes
3231 DEFAULT_wxUSE_SPLASH=yes
3232 DEFAULT_wxUSE_STARTUP_TIPS=yes
3233 DEFAULT_wxUSE_PROGRESSDLG=yes
3234 DEFAULT_wxUSE_WIZARDDLG=yes
3235
3236 DEFAULT_wxUSE_MENUS=yes
3237 DEFAULT_wxUSE_MINIFRAME=yes
3238 DEFAULT_wxUSE_HTML=yes
3239 DEFAULT_wxUSE_RICHTEXT=yes
3240 DEFAULT_wxUSE_XRC=yes
3241 DEFAULT_wxUSE_AUI=yes
3242 DEFAULT_wxUSE_STC=yes
3243 DEFAULT_wxUSE_WEBKIT=yes
3244 DEFAULT_wxUSE_FILESYSTEM=yes
3245 DEFAULT_wxUSE_FS_INET=yes
3246 DEFAULT_wxUSE_FS_ZIP=yes
3247 DEFAULT_wxUSE_FS_ARCHIVE=yes
3248 DEFAULT_wxUSE_BUSYINFO=yes
3249 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3250 DEFAULT_wxUSE_ZIPSTREAM=yes
3251 DEFAULT_wxUSE_TARSTREAM=yes
3252 DEFAULT_wxUSE_VALIDATORS=yes
3253
3254 DEFAULT_wxUSE_ACCEL=yes
3255 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3256 DEFAULT_wxUSE_BUTTON=yes
3257 DEFAULT_wxUSE_BMPBUTTON=yes
3258 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3259 DEFAULT_wxUSE_CALCTRL=yes
3260 DEFAULT_wxUSE_CARET=yes
3261 DEFAULT_wxUSE_CHECKBOX=yes
3262 DEFAULT_wxUSE_CHECKLST=yes
3263 DEFAULT_wxUSE_CHOICE=yes
3264 DEFAULT_wxUSE_CHOICEBOOK=yes
3265 DEFAULT_wxUSE_COLLPANE=yes
3266 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3267 DEFAULT_wxUSE_COMBOBOX=yes
3268 DEFAULT_wxUSE_COMBOCTRL=yes
3269 DEFAULT_wxUSE_DATEPICKCTRL=yes
3270 DEFAULT_wxUSE_DISPLAY=yes
3271 DEFAULT_wxUSE_DETECT_SM=yes
3272 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3273 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3274 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3275 DEFAULT_wxUSE_GAUGE=yes
3276 DEFAULT_wxUSE_GRID=yes
3277 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3278 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3279 DEFAULT_wxUSE_DATAVIEWCTRL=no
3280 DEFAULT_wxUSE_IMAGLIST=yes
3281 DEFAULT_wxUSE_LISTBOOK=yes
3282 DEFAULT_wxUSE_LISTBOX=yes
3283 DEFAULT_wxUSE_LISTCTRL=yes
3284 DEFAULT_wxUSE_NOTEBOOK=yes
3285 DEFAULT_wxUSE_ODCOMBOBOX=yes
3286 DEFAULT_wxUSE_RADIOBOX=yes
3287 DEFAULT_wxUSE_RADIOBTN=yes
3288 DEFAULT_wxUSE_SASH=yes
3289 DEFAULT_wxUSE_SCROLLBAR=yes
3290 DEFAULT_wxUSE_SEARCHCTRL=yes
3291 DEFAULT_wxUSE_SLIDER=yes
3292 DEFAULT_wxUSE_SPINBTN=yes
3293 DEFAULT_wxUSE_SPINCTRL=yes
3294 DEFAULT_wxUSE_SPLITTER=yes
3295 DEFAULT_wxUSE_STATBMP=yes
3296 DEFAULT_wxUSE_STATBOX=yes
3297 DEFAULT_wxUSE_STATLINE=yes
3298 DEFAULT_wxUSE_STATTEXT=yes
3299 DEFAULT_wxUSE_STATUSBAR=yes
3300 DEFAULT_wxUSE_TAB_DIALOG=no
3301 DEFAULT_wxUSE_TEXTCTRL=yes
3302 DEFAULT_wxUSE_TOGGLEBTN=yes
3303 DEFAULT_wxUSE_TOOLBAR=yes
3304 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3305 DEFAULT_wxUSE_TREEBOOK=yes
3306 DEFAULT_wxUSE_TOOLBOOK=yes
3307 DEFAULT_wxUSE_TREECTRL=yes
3308 DEFAULT_wxUSE_POPUPWIN=yes
3309 DEFAULT_wxUSE_TIPWINDOW=yes
3310
3311 DEFAULT_wxUSE_UNICODE=no
3312 DEFAULT_wxUSE_UNICODE_MSLU=yes
3313 DEFAULT_wxUSE_WCSRTOMBS=no
3314
3315 DEFAULT_wxUSE_PALETTE=yes
3316 DEFAULT_wxUSE_IMAGE=yes
3317 DEFAULT_wxUSE_GIF=yes
3318 DEFAULT_wxUSE_PCX=yes
3319 DEFAULT_wxUSE_TGA=yes
3320 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3321 DEFAULT_wxUSE_XPM=yes
3322 DEFAULT_wxUSE_ICO_CUR=yes
3323 DEFAULT_wxUSE_ACCESSIBILITY=no
3324
3325 DEFAULT_wxUSE_MONOLITHIC=no
3326 DEFAULT_wxUSE_PLUGINS=no
3327 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3328
3329 DEFAULT_wxUSE_GTK2=yes
3330 fi
3331
3332
3333
3334
3335 for toolkit in `echo $ALL_TOOLKITS`; do
3336 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3337 if test "x$LINE" != "x" ; then
3338 has_toolkit_in_cache=1
3339 eval "DEFAULT_$LINE"
3340 eval "CACHE_$toolkit=1"
3341
3342 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3343 if test "x$LINE" != "x" ; then
3344 eval "DEFAULT_$LINE"
3345 fi
3346 fi
3347 done
3348
3349
3350
3351 enablestring=
3352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3353 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3354 no_cache=0
3355 # Check whether --enable-gui was given.
3356 if test "${enable_gui+set}" = set; then
3357 enableval=$enable_gui;
3358 if test "$enableval" = yes; then
3359 ac_cv_use_gui='wxUSE_GUI=yes'
3360 else
3361 ac_cv_use_gui='wxUSE_GUI=no'
3362 fi
3363
3364 else
3365
3366 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
3367 if test "x$LINE" != x ; then
3368 eval "DEFAULT_$LINE"
3369 else
3370 no_cache=1
3371 fi
3372
3373 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3374
3375 fi
3376
3377
3378 eval "$ac_cv_use_gui"
3379 if test "$no_cache" != 1; then
3380 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3381 fi
3382
3383 if test "$wxUSE_GUI" = yes; then
3384 { echo "$as_me:$LINENO: result: yes" >&5
3385 echo "${ECHO_T}yes" >&6; }
3386 else
3387 { echo "$as_me:$LINENO: result: no" >&5
3388 echo "${ECHO_T}no" >&6; }
3389 fi
3390
3391
3392 enablestring=
3393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3394 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3395 no_cache=0
3396 # Check whether --enable-monolithic was given.
3397 if test "${enable_monolithic+set}" = set; then
3398 enableval=$enable_monolithic;
3399 if test "$enableval" = yes; then
3400 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3401 else
3402 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3403 fi
3404
3405 else
3406
3407 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
3408 if test "x$LINE" != x ; then
3409 eval "DEFAULT_$LINE"
3410 else
3411 no_cache=1
3412 fi
3413
3414 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3415
3416 fi
3417
3418
3419 eval "$ac_cv_use_monolithic"
3420 if test "$no_cache" != 1; then
3421 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3422 fi
3423
3424 if test "$wxUSE_MONOLITHIC" = yes; then
3425 { echo "$as_me:$LINENO: result: yes" >&5
3426 echo "${ECHO_T}yes" >&6; }
3427 else
3428 { echo "$as_me:$LINENO: result: no" >&5
3429 echo "${ECHO_T}no" >&6; }
3430 fi
3431
3432
3433 enablestring=
3434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3435 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3436 no_cache=0
3437 # Check whether --enable-plugins was given.
3438 if test "${enable_plugins+set}" = set; then
3439 enableval=$enable_plugins;
3440 if test "$enableval" = yes; then
3441 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3442 else
3443 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3444 fi
3445
3446 else
3447
3448 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
3449 if test "x$LINE" != x ; then
3450 eval "DEFAULT_$LINE"
3451 else
3452 no_cache=1
3453 fi
3454
3455 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3456
3457 fi
3458
3459
3460 eval "$ac_cv_use_plugins"
3461 if test "$no_cache" != 1; then
3462 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3463 fi
3464
3465 if test "$wxUSE_PLUGINS" = yes; then
3466 { echo "$as_me:$LINENO: result: yes" >&5
3467 echo "${ECHO_T}yes" >&6; }
3468 else
3469 { echo "$as_me:$LINENO: result: no" >&5
3470 echo "${ECHO_T}no" >&6; }
3471 fi
3472
3473
3474 withstring=without
3475 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3476 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3477 no_cache=0
3478
3479 # Check whether --with-subdirs was given.
3480 if test "${with_subdirs+set}" = set; then
3481 withval=$with_subdirs;
3482 if test "$withval" = yes; then
3483 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3484 else
3485 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3486 fi
3487
3488 else
3489
3490 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
3491 if test "x$LINE" != x ; then
3492 eval "DEFAULT_$LINE"
3493 else
3494 no_cache=1
3495 fi
3496
3497 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3498
3499 fi
3500
3501
3502 eval "$ac_cv_use_subdirs"
3503 if test "$no_cache" != 1; then
3504 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3505 fi
3506
3507 if test "$wxWITH_SUBDIRS" = yes; then
3508 { echo "$as_me:$LINENO: result: yes" >&5
3509 echo "${ECHO_T}yes" >&6; }
3510 else
3511 { echo "$as_me:$LINENO: result: no" >&5
3512 echo "${ECHO_T}no" >&6; }
3513 fi
3514
3515
3516 if test "$wxUSE_GUI" = "yes"; then
3517
3518
3519 enablestring=
3520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3521 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3522 no_cache=0
3523 # Check whether --enable-universal was given.
3524 if test "${enable_universal+set}" = set; then
3525 enableval=$enable_universal;
3526 if test "$enableval" = yes; then
3527 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3528 else
3529 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3530 fi
3531
3532 else
3533
3534 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
3535 if test "x$LINE" != x ; then
3536 eval "DEFAULT_$LINE"
3537 else
3538 no_cache=1
3539 fi
3540
3541 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3542
3543 fi
3544
3545
3546 eval "$ac_cv_use_universal"
3547 if test "$no_cache" != 1; then
3548 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3549 fi
3550
3551 if test "$wxUSE_UNIVERSAL" = yes; then
3552 { echo "$as_me:$LINENO: result: yes" >&5
3553 echo "${ECHO_T}yes" >&6; }
3554 else
3555 { echo "$as_me:$LINENO: result: no" >&5
3556 echo "${ECHO_T}no" >&6; }
3557 fi
3558
3559
3560 # Check whether --with-gtk was given.
3561 if test "${with_gtk+set}" = set; then
3562 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3563 fi
3564
3565
3566 # Check whether --with-motif was given.
3567 if test "${with_motif+set}" = set; then
3568 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3569 fi
3570
3571
3572 # Check whether --with-mac was given.
3573 if test "${with_mac+set}" = set; then
3574 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3575 fi
3576
3577
3578 # Check whether --with-cocoa was given.
3579 if test "${with_cocoa+set}" = set; then
3580 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3581 fi
3582
3583
3584 # Check whether --with-wine was given.
3585 if test "${with_wine+set}" = set; then
3586 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3587 fi
3588
3589
3590 # Check whether --with-msw was given.
3591 if test "${with_msw+set}" = set; then
3592 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3593 fi
3594
3595
3596 # Check whether --with-pm was given.
3597 if test "${with_pm+set}" = set; then
3598 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3599 fi
3600
3601
3602 # Check whether --with-mgl was given.
3603 if test "${with_mgl+set}" = set; then
3604 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3605 fi
3606
3607
3608 # Check whether --with-directfb was given.
3609 if test "${with_directfb+set}" = set; then
3610 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3611 fi
3612
3613
3614 # Check whether --with-microwin was given.
3615 if test "${with_microwin+set}" = set; then
3616 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3617 fi
3618
3619
3620 # Check whether --with-x11 was given.
3621 if test "${with_x11+set}" = set; then
3622 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3623 fi
3624
3625
3626 enablestring=
3627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3628 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3629 no_cache=0
3630 # Check whether --enable-nanox was given.
3631 if test "${enable_nanox+set}" = set; then
3632 enableval=$enable_nanox;
3633 if test "$enableval" = yes; then
3634 ac_cv_use_nanox='wxUSE_NANOX=yes'
3635 else
3636 ac_cv_use_nanox='wxUSE_NANOX=no'
3637 fi
3638
3639 else
3640
3641 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
3642 if test "x$LINE" != x ; then
3643 eval "DEFAULT_$LINE"
3644 else
3645 no_cache=1
3646 fi
3647
3648 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3649
3650 fi
3651
3652
3653 eval "$ac_cv_use_nanox"
3654 if test "$no_cache" != 1; then
3655 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3656 fi
3657
3658 if test "$wxUSE_NANOX" = yes; then
3659 { echo "$as_me:$LINENO: result: yes" >&5
3660 echo "${ECHO_T}yes" >&6; }
3661 else
3662 { echo "$as_me:$LINENO: result: no" >&5
3663 echo "${ECHO_T}no" >&6; }
3664 fi
3665
3666
3667 # Check whether --enable-gtk2 was given.
3668 if test "${enable_gtk2+set}" = set; then
3669 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3670 fi
3671
3672
3673 enablestring=
3674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3675 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3676 no_cache=0
3677 # Check whether --enable-gpe was given.
3678 if test "${enable_gpe+set}" = set; then
3679 enableval=$enable_gpe;
3680 if test "$enableval" = yes; then
3681 ac_cv_use_gpe='wxUSE_GPE=yes'
3682 else
3683 ac_cv_use_gpe='wxUSE_GPE=no'
3684 fi
3685
3686 else
3687
3688 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
3689 if test "x$LINE" != x ; then
3690 eval "DEFAULT_$LINE"
3691 else
3692 no_cache=1
3693 fi
3694
3695 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3696
3697 fi
3698
3699
3700 eval "$ac_cv_use_gpe"
3701 if test "$no_cache" != 1; then
3702 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3703 fi
3704
3705 if test "$wxUSE_GPE" = yes; then
3706 { echo "$as_me:$LINENO: result: yes" >&5
3707 echo "${ECHO_T}yes" >&6; }
3708 else
3709 { echo "$as_me:$LINENO: result: no" >&5
3710 echo "${ECHO_T}no" >&6; }
3711 fi
3712
3713
3714
3715 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3716 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3717 no_cache=0
3718
3719 # Check whether --with-libpng was given.
3720 if test "${with_libpng+set}" = set; then
3721 withval=$with_libpng;
3722 if test "$withval" = yes; then
3723 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3724 elif test "$withval" = no; then
3725 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3726 elif test "$withval" = sys; then
3727 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3728 elif test "$withval" = builtin; then
3729 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3730 else
3731 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3732 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3733 { (exit 1); exit 1; }; }
3734 fi
3735
3736 else
3737
3738 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3739 if test "x$LINE" != x ; then
3740 eval "DEFAULT_$LINE"
3741 else
3742 no_cache=1
3743 fi
3744
3745 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3746
3747 fi
3748
3749
3750 eval "$ac_cv_use_libpng"
3751 if test "$no_cache" != 1; then
3752 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3753 fi
3754
3755 if test "$wxUSE_LIBPNG" = yes; then
3756 { echo "$as_me:$LINENO: result: yes" >&5
3757 echo "${ECHO_T}yes" >&6; }
3758 elif test "$wxUSE_LIBPNG" = no; then
3759 { echo "$as_me:$LINENO: result: no" >&5
3760 echo "${ECHO_T}no" >&6; }
3761 elif test "$wxUSE_LIBPNG" = sys; then
3762 { echo "$as_me:$LINENO: result: system version" >&5
3763 echo "${ECHO_T}system version" >&6; }
3764 elif test "$wxUSE_LIBPNG" = builtin; then
3765 { echo "$as_me:$LINENO: result: builtin version" >&5
3766 echo "${ECHO_T}builtin version" >&6; }
3767 else
3768 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3769 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3770 { (exit 1); exit 1; }; }
3771 fi
3772
3773
3774 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3775 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3776 no_cache=0
3777
3778 # Check whether --with-libjpeg was given.
3779 if test "${with_libjpeg+set}" = set; then
3780 withval=$with_libjpeg;
3781 if test "$withval" = yes; then
3782 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3783 elif test "$withval" = no; then
3784 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3785 elif test "$withval" = sys; then
3786 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3787 elif test "$withval" = builtin; then
3788 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3789 else
3790 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3791 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3792 { (exit 1); exit 1; }; }
3793 fi
3794
3795 else
3796
3797 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3798 if test "x$LINE" != x ; then
3799 eval "DEFAULT_$LINE"
3800 else
3801 no_cache=1
3802 fi
3803
3804 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3805
3806 fi
3807
3808
3809 eval "$ac_cv_use_libjpeg"
3810 if test "$no_cache" != 1; then
3811 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3812 fi
3813
3814 if test "$wxUSE_LIBJPEG" = yes; then
3815 { echo "$as_me:$LINENO: result: yes" >&5
3816 echo "${ECHO_T}yes" >&6; }
3817 elif test "$wxUSE_LIBJPEG" = no; then
3818 { echo "$as_me:$LINENO: result: no" >&5
3819 echo "${ECHO_T}no" >&6; }
3820 elif test "$wxUSE_LIBJPEG" = sys; then
3821 { echo "$as_me:$LINENO: result: system version" >&5
3822 echo "${ECHO_T}system version" >&6; }
3823 elif test "$wxUSE_LIBJPEG" = builtin; then
3824 { echo "$as_me:$LINENO: result: builtin version" >&5
3825 echo "${ECHO_T}builtin version" >&6; }
3826 else
3827 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3828 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3829 { (exit 1); exit 1; }; }
3830 fi
3831
3832
3833 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3834 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3835 no_cache=0
3836
3837 # Check whether --with-libtiff was given.
3838 if test "${with_libtiff+set}" = set; then
3839 withval=$with_libtiff;
3840 if test "$withval" = yes; then
3841 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3842 elif test "$withval" = no; then
3843 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3844 elif test "$withval" = sys; then
3845 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3846 elif test "$withval" = builtin; then
3847 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3848 else
3849 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3850 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3851 { (exit 1); exit 1; }; }
3852 fi
3853
3854 else
3855
3856 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3857 if test "x$LINE" != x ; then
3858 eval "DEFAULT_$LINE"
3859 else
3860 no_cache=1
3861 fi
3862
3863 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3864
3865 fi
3866
3867
3868 eval "$ac_cv_use_libtiff"
3869 if test "$no_cache" != 1; then
3870 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3871 fi
3872
3873 if test "$wxUSE_LIBTIFF" = yes; then
3874 { echo "$as_me:$LINENO: result: yes" >&5
3875 echo "${ECHO_T}yes" >&6; }
3876 elif test "$wxUSE_LIBTIFF" = no; then
3877 { echo "$as_me:$LINENO: result: no" >&5
3878 echo "${ECHO_T}no" >&6; }
3879 elif test "$wxUSE_LIBTIFF" = sys; then
3880 { echo "$as_me:$LINENO: result: system version" >&5
3881 echo "${ECHO_T}system version" >&6; }
3882 elif test "$wxUSE_LIBTIFF" = builtin; then
3883 { echo "$as_me:$LINENO: result: builtin version" >&5
3884 echo "${ECHO_T}builtin version" >&6; }
3885 else
3886 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3887 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3888 { (exit 1); exit 1; }; }
3889 fi
3890
3891
3892 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3893 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3894 no_cache=0
3895
3896 # Check whether --with-libxpm was given.
3897 if test "${with_libxpm+set}" = set; then
3898 withval=$with_libxpm;
3899 if test "$withval" = yes; then
3900 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3901 elif test "$withval" = no; then
3902 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3903 elif test "$withval" = sys; then
3904 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3905 elif test "$withval" = builtin; then
3906 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3907 else
3908 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3909 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3910 { (exit 1); exit 1; }; }
3911 fi
3912
3913 else
3914
3915 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3916 if test "x$LINE" != x ; then
3917 eval "DEFAULT_$LINE"
3918 else
3919 no_cache=1
3920 fi
3921
3922 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3923
3924 fi
3925
3926
3927 eval "$ac_cv_use_libxpm"
3928 if test "$no_cache" != 1; then
3929 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3930 fi
3931
3932 if test "$wxUSE_LIBXPM" = yes; then
3933 { echo "$as_me:$LINENO: result: yes" >&5
3934 echo "${ECHO_T}yes" >&6; }
3935 elif test "$wxUSE_LIBXPM" = no; then
3936 { echo "$as_me:$LINENO: result: no" >&5
3937 echo "${ECHO_T}no" >&6; }
3938 elif test "$wxUSE_LIBXPM" = sys; then
3939 { echo "$as_me:$LINENO: result: system version" >&5
3940 echo "${ECHO_T}system version" >&6; }
3941 elif test "$wxUSE_LIBXPM" = builtin; then
3942 { echo "$as_me:$LINENO: result: builtin version" >&5
3943 echo "${ECHO_T}builtin version" >&6; }
3944 else
3945 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3946 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3947 { (exit 1); exit 1; }; }
3948 fi
3949
3950
3951 withstring=
3952 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3953 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3954 no_cache=0
3955
3956 # Check whether --with-libmspack was given.
3957 if test "${with_libmspack+set}" = set; then
3958 withval=$with_libmspack;
3959 if test "$withval" = yes; then
3960 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3961 else
3962 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3963 fi
3964
3965 else
3966
3967 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3968 if test "x$LINE" != x ; then
3969 eval "DEFAULT_$LINE"
3970 else
3971 no_cache=1
3972 fi
3973
3974 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3975
3976 fi
3977
3978
3979 eval "$ac_cv_use_libmspack"
3980 if test "$no_cache" != 1; then
3981 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3982 fi
3983
3984 if test "$wxUSE_LIBMSPACK" = yes; then
3985 { echo "$as_me:$LINENO: result: yes" >&5
3986 echo "${ECHO_T}yes" >&6; }
3987 else
3988 { echo "$as_me:$LINENO: result: no" >&5
3989 echo "${ECHO_T}no" >&6; }
3990 fi
3991
3992
3993 withstring=
3994 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3995 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
3996 no_cache=0
3997
3998 # Check whether --with-sdl was given.
3999 if test "${with_sdl+set}" = set; then
4000 withval=$with_sdl;
4001 if test "$withval" = yes; then
4002 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4003 else
4004 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4005 fi
4006
4007 else
4008
4009 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
4010 if test "x$LINE" != x ; then
4011 eval "DEFAULT_$LINE"
4012 else
4013 no_cache=1
4014 fi
4015
4016 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4017
4018 fi
4019
4020
4021 eval "$ac_cv_use_sdl"
4022 if test "$no_cache" != 1; then
4023 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4024 fi
4025
4026 if test "$wxUSE_LIBSDL" = yes; then
4027 { echo "$as_me:$LINENO: result: yes" >&5
4028 echo "${ECHO_T}yes" >&6; }
4029 else
4030 { echo "$as_me:$LINENO: result: no" >&5
4031 echo "${ECHO_T}no" >&6; }
4032 fi
4033
4034
4035 withstring=
4036 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4037 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4038 no_cache=0
4039
4040 # Check whether --with-gnomeprint was given.
4041 if test "${with_gnomeprint+set}" = set; then
4042 withval=$with_gnomeprint;
4043 if test "$withval" = yes; then
4044 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4045 else
4046 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4047 fi
4048
4049 else
4050
4051 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
4052 if test "x$LINE" != x ; then
4053 eval "DEFAULT_$LINE"
4054 else
4055 no_cache=1
4056 fi
4057
4058 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4059
4060 fi
4061
4062
4063 eval "$ac_cv_use_gnomeprint"
4064 if test "$no_cache" != 1; then
4065 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4066 fi
4067
4068 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4069 { echo "$as_me:$LINENO: result: yes" >&5
4070 echo "${ECHO_T}yes" >&6; }
4071 else
4072 { echo "$as_me:$LINENO: result: no" >&5
4073 echo "${ECHO_T}no" >&6; }
4074 fi
4075
4076
4077 withstring=
4078 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4079 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4080 no_cache=0
4081
4082 # Check whether --with-gnomevfs was given.
4083 if test "${with_gnomevfs+set}" = set; then
4084 withval=$with_gnomevfs;
4085 if test "$withval" = yes; then
4086 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4087 else
4088 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4089 fi
4090
4091 else
4092
4093 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
4094 if test "x$LINE" != x ; then
4095 eval "DEFAULT_$LINE"
4096 else
4097 no_cache=1
4098 fi
4099
4100 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4101
4102 fi
4103
4104
4105 eval "$ac_cv_use_gnomevfs"
4106 if test "$no_cache" != 1; then
4107 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4108 fi
4109
4110 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4111 { echo "$as_me:$LINENO: result: yes" >&5
4112 echo "${ECHO_T}yes" >&6; }
4113 else
4114 { echo "$as_me:$LINENO: result: no" >&5
4115 echo "${ECHO_T}no" >&6; }
4116 fi
4117
4118
4119 withstring=
4120 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4121 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4122 no_cache=0
4123
4124 # Check whether --with-hildon was given.
4125 if test "${with_hildon+set}" = set; then
4126 withval=$with_hildon;
4127 if test "$withval" = yes; then
4128 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4129 else
4130 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4131 fi
4132
4133 else
4134
4135 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
4136 if test "x$LINE" != x ; then
4137 eval "DEFAULT_$LINE"
4138 else
4139 no_cache=1
4140 fi
4141
4142 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4143
4144 fi
4145
4146
4147 eval "$ac_cv_use_hildon"
4148 if test "$no_cache" != 1; then
4149 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4150 fi
4151
4152 if test "$wxUSE_LIBHILDON" = yes; then
4153 { echo "$as_me:$LINENO: result: yes" >&5
4154 echo "${ECHO_T}yes" >&6; }
4155 else
4156 { echo "$as_me:$LINENO: result: no" >&5
4157 echo "${ECHO_T}no" >&6; }
4158 fi
4159
4160
4161 withstring=
4162 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4163 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4164 no_cache=0
4165
4166 # Check whether --with-opengl was given.
4167 if test "${with_opengl+set}" = set; then
4168 withval=$with_opengl;
4169 if test "$withval" = yes; then
4170 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4171 else
4172 ac_cv_use_opengl='wxUSE_OPENGL=no'
4173 fi
4174
4175 else
4176
4177 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
4178 if test "x$LINE" != x ; then
4179 eval "DEFAULT_$LINE"
4180 else
4181 no_cache=1
4182 fi
4183
4184 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4185
4186 fi
4187
4188
4189 eval "$ac_cv_use_opengl"
4190 if test "$no_cache" != 1; then
4191 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4192 fi
4193
4194 if test "$wxUSE_OPENGL" = yes; then
4195 { echo "$as_me:$LINENO: result: yes" >&5
4196 echo "${ECHO_T}yes" >&6; }
4197 else
4198 { echo "$as_me:$LINENO: result: no" >&5
4199 echo "${ECHO_T}no" >&6; }
4200 fi
4201
4202
4203 if test "$wxUSE_UNIVERSAL" = "yes"; then
4204
4205 # Check whether --with-themes was given.
4206 if test "${with_themes+set}" = set; then
4207 withval=$with_themes; wxUNIV_THEMES="$withval"
4208 fi
4209
4210 fi
4211
4212 fi
4213
4214
4215 withstring=
4216 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4217 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4218 no_cache=0
4219
4220 # Check whether --with-dmalloc was given.
4221 if test "${with_dmalloc+set}" = set; then
4222 withval=$with_dmalloc;
4223 if test "$withval" = yes; then
4224 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4225 else
4226 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4227 fi
4228
4229 else
4230
4231 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
4232 if test "x$LINE" != x ; then
4233 eval "DEFAULT_$LINE"
4234 else
4235 no_cache=1
4236 fi
4237
4238 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4239
4240 fi
4241
4242
4243 eval "$ac_cv_use_dmalloc"
4244 if test "$no_cache" != 1; then
4245 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4246 fi
4247
4248 if test "$wxUSE_DMALLOC" = yes; then
4249 { echo "$as_me:$LINENO: result: yes" >&5
4250 echo "${ECHO_T}yes" >&6; }
4251 else
4252 { echo "$as_me:$LINENO: result: no" >&5
4253 echo "${ECHO_T}no" >&6; }
4254 fi
4255
4256
4257 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4258 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4259 no_cache=0
4260
4261 # Check whether --with-regex was given.
4262 if test "${with_regex+set}" = set; then
4263 withval=$with_regex;
4264 if test "$withval" = yes; then
4265 ac_cv_use_regex='wxUSE_REGEX=yes'
4266 elif test "$withval" = no; then
4267 ac_cv_use_regex='wxUSE_REGEX=no'
4268 elif test "$withval" = sys; then
4269 ac_cv_use_regex='wxUSE_REGEX=sys'
4270 elif test "$withval" = builtin; then
4271 ac_cv_use_regex='wxUSE_REGEX=builtin'
4272 else
4273 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4274 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4275 { (exit 1); exit 1; }; }
4276 fi
4277
4278 else
4279
4280 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
4281 if test "x$LINE" != x ; then
4282 eval "DEFAULT_$LINE"
4283 else
4284 no_cache=1
4285 fi
4286
4287 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4288
4289 fi
4290
4291
4292 eval "$ac_cv_use_regex"
4293 if test "$no_cache" != 1; then
4294 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4295 fi
4296
4297 if test "$wxUSE_REGEX" = yes; then
4298 { echo "$as_me:$LINENO: result: yes" >&5
4299 echo "${ECHO_T}yes" >&6; }
4300 elif test "$wxUSE_REGEX" = no; then
4301 { echo "$as_me:$LINENO: result: no" >&5
4302 echo "${ECHO_T}no" >&6; }
4303 elif test "$wxUSE_REGEX" = sys; then
4304 { echo "$as_me:$LINENO: result: system version" >&5
4305 echo "${ECHO_T}system version" >&6; }
4306 elif test "$wxUSE_REGEX" = builtin; then
4307 { echo "$as_me:$LINENO: result: builtin version" >&5
4308 echo "${ECHO_T}builtin version" >&6; }
4309 else
4310 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4311 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4312 { (exit 1); exit 1; }; }
4313 fi
4314
4315
4316 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4317 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4318 no_cache=0
4319
4320 # Check whether --with-zlib was given.
4321 if test "${with_zlib+set}" = set; then
4322 withval=$with_zlib;
4323 if test "$withval" = yes; then
4324 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4325 elif test "$withval" = no; then
4326 ac_cv_use_zlib='wxUSE_ZLIB=no'
4327 elif test "$withval" = sys; then
4328 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4329 elif test "$withval" = builtin; then
4330 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4331 else
4332 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4333 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4334 { (exit 1); exit 1; }; }
4335 fi
4336
4337 else
4338
4339 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
4340 if test "x$LINE" != x ; then
4341 eval "DEFAULT_$LINE"
4342 else
4343 no_cache=1
4344 fi
4345
4346 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4347
4348 fi
4349
4350
4351 eval "$ac_cv_use_zlib"
4352 if test "$no_cache" != 1; then
4353 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4354 fi
4355
4356 if test "$wxUSE_ZLIB" = yes; then
4357 { echo "$as_me:$LINENO: result: yes" >&5
4358 echo "${ECHO_T}yes" >&6; }
4359 elif test "$wxUSE_ZLIB" = no; then
4360 { echo "$as_me:$LINENO: result: no" >&5
4361 echo "${ECHO_T}no" >&6; }
4362 elif test "$wxUSE_ZLIB" = sys; then
4363 { echo "$as_me:$LINENO: result: system version" >&5
4364 echo "${ECHO_T}system version" >&6; }
4365 elif test "$wxUSE_ZLIB" = builtin; then
4366 { echo "$as_me:$LINENO: result: builtin version" >&5
4367 echo "${ECHO_T}builtin version" >&6; }
4368 else
4369 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4370 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4371 { (exit 1); exit 1; }; }
4372 fi
4373
4374
4375 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4376 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4377 no_cache=0
4378
4379 # Check whether --with-odbc was given.
4380 if test "${with_odbc+set}" = set; then
4381 withval=$with_odbc;
4382 if test "$withval" = yes; then
4383 ac_cv_use_odbc='wxUSE_ODBC=yes'
4384 elif test "$withval" = no; then
4385 ac_cv_use_odbc='wxUSE_ODBC=no'
4386 elif test "$withval" = sys; then
4387 ac_cv_use_odbc='wxUSE_ODBC=sys'
4388 elif test "$withval" = builtin; then
4389 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4390 else
4391 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4392 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4393 { (exit 1); exit 1; }; }
4394 fi
4395
4396 else
4397
4398 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
4399 if test "x$LINE" != x ; then
4400 eval "DEFAULT_$LINE"
4401 else
4402 no_cache=1
4403 fi
4404
4405 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4406
4407 fi
4408
4409
4410 eval "$ac_cv_use_odbc"
4411 if test "$no_cache" != 1; then
4412 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4413 fi
4414
4415 if test "$wxUSE_ODBC" = yes; then
4416 { echo "$as_me:$LINENO: result: yes" >&5
4417 echo "${ECHO_T}yes" >&6; }
4418 elif test "$wxUSE_ODBC" = no; then
4419 { echo "$as_me:$LINENO: result: no" >&5
4420 echo "${ECHO_T}no" >&6; }
4421 elif test "$wxUSE_ODBC" = sys; then
4422 { echo "$as_me:$LINENO: result: system version" >&5
4423 echo "${ECHO_T}system version" >&6; }
4424 elif test "$wxUSE_ODBC" = builtin; then
4425 { echo "$as_me:$LINENO: result: builtin version" >&5
4426 echo "${ECHO_T}builtin version" >&6; }
4427 else
4428 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4429 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4430 { (exit 1); exit 1; }; }
4431 fi
4432
4433
4434 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4435 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4436 no_cache=0
4437
4438 # Check whether --with-expat was given.
4439 if test "${with_expat+set}" = set; then
4440 withval=$with_expat;
4441 if test "$withval" = yes; then
4442 ac_cv_use_expat='wxUSE_EXPAT=yes'
4443 elif test "$withval" = no; then
4444 ac_cv_use_expat='wxUSE_EXPAT=no'
4445 elif test "$withval" = sys; then
4446 ac_cv_use_expat='wxUSE_EXPAT=sys'
4447 elif test "$withval" = builtin; then
4448 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4449 else
4450 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4451 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4452 { (exit 1); exit 1; }; }
4453 fi
4454
4455 else
4456
4457 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
4458 if test "x$LINE" != x ; then
4459 eval "DEFAULT_$LINE"
4460 else
4461 no_cache=1
4462 fi
4463
4464 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4465
4466 fi
4467
4468
4469 eval "$ac_cv_use_expat"
4470 if test "$no_cache" != 1; then
4471 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4472 fi
4473
4474 if test "$wxUSE_EXPAT" = yes; then
4475 { echo "$as_me:$LINENO: result: yes" >&5
4476 echo "${ECHO_T}yes" >&6; }
4477 elif test "$wxUSE_EXPAT" = no; then
4478 { echo "$as_me:$LINENO: result: no" >&5
4479 echo "${ECHO_T}no" >&6; }
4480 elif test "$wxUSE_EXPAT" = sys; then
4481 { echo "$as_me:$LINENO: result: system version" >&5
4482 echo "${ECHO_T}system version" >&6; }
4483 elif test "$wxUSE_EXPAT" = builtin; then
4484 { echo "$as_me:$LINENO: result: builtin version" >&5
4485 echo "${ECHO_T}builtin version" >&6; }
4486 else
4487 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4488 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4489 { (exit 1); exit 1; }; }
4490 fi
4491
4492
4493
4494
4495 enablestring=
4496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4497 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4498 no_cache=0
4499 # Check whether --enable-shared was given.
4500 if test "${enable_shared+set}" = set; then
4501 enableval=$enable_shared;
4502 if test "$enableval" = yes; then
4503 ac_cv_use_shared='wxUSE_SHARED=yes'
4504 else
4505 ac_cv_use_shared='wxUSE_SHARED=no'
4506 fi
4507
4508 else
4509
4510 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
4511 if test "x$LINE" != x ; then
4512 eval "DEFAULT_$LINE"
4513 else
4514 no_cache=1
4515 fi
4516
4517 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4518
4519 fi
4520
4521
4522 eval "$ac_cv_use_shared"
4523 if test "$no_cache" != 1; then
4524 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4525 fi
4526
4527 if test "$wxUSE_SHARED" = yes; then
4528 { echo "$as_me:$LINENO: result: yes" >&5
4529 echo "${ECHO_T}yes" >&6; }
4530 else
4531 { echo "$as_me:$LINENO: result: no" >&5
4532 echo "${ECHO_T}no" >&6; }
4533 fi
4534
4535
4536 enablestring=
4537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4538 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4539 no_cache=0
4540 # Check whether --enable-optimise was given.
4541 if test "${enable_optimise+set}" = set; then
4542 enableval=$enable_optimise;
4543 if test "$enableval" = yes; then
4544 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4545 else
4546 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4547 fi
4548
4549 else
4550
4551 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
4552 if test "x$LINE" != x ; then
4553 eval "DEFAULT_$LINE"
4554 else
4555 no_cache=1
4556 fi
4557
4558 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4559
4560 fi
4561
4562
4563 eval "$ac_cv_use_optimise"
4564 if test "$no_cache" != 1; then
4565 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4566 fi
4567
4568 if test "$wxUSE_OPTIMISE" = yes; then
4569 { echo "$as_me:$LINENO: result: yes" >&5
4570 echo "${ECHO_T}yes" >&6; }
4571 else
4572 { echo "$as_me:$LINENO: result: no" >&5
4573 echo "${ECHO_T}no" >&6; }
4574 fi
4575
4576
4577 enablestring=
4578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4579 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4580 no_cache=0
4581 # Check whether --enable-debug was given.
4582 if test "${enable_debug+set}" = set; then
4583 enableval=$enable_debug;
4584 if test "$enableval" = yes; then
4585 ac_cv_use_debug='wxUSE_DEBUG=yes'
4586 else
4587 ac_cv_use_debug='wxUSE_DEBUG=no'
4588 fi
4589
4590 else
4591
4592 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
4593 if test "x$LINE" != x ; then
4594 eval "DEFAULT_$LINE"
4595 else
4596 no_cache=1
4597 fi
4598
4599 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4600
4601 fi
4602
4603
4604 eval "$ac_cv_use_debug"
4605 if test "$no_cache" != 1; then
4606 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4607 fi
4608
4609 if test "$wxUSE_DEBUG" = yes; then
4610 { echo "$as_me:$LINENO: result: yes" >&5
4611 echo "${ECHO_T}yes" >&6; }
4612 else
4613 { echo "$as_me:$LINENO: result: no" >&5
4614 echo "${ECHO_T}no" >&6; }
4615 fi
4616
4617
4618 enablestring=
4619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4620 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4621 no_cache=0
4622 # Check whether --enable-stl was given.
4623 if test "${enable_stl+set}" = set; then
4624 enableval=$enable_stl;
4625 if test "$enableval" = yes; then
4626 ac_cv_use_stl='wxUSE_STL=yes'
4627 else
4628 ac_cv_use_stl='wxUSE_STL=no'
4629 fi
4630
4631 else
4632
4633 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
4634 if test "x$LINE" != x ; then
4635 eval "DEFAULT_$LINE"
4636 else
4637 no_cache=1
4638 fi
4639
4640 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4641
4642 fi
4643
4644
4645 eval "$ac_cv_use_stl"
4646 if test "$no_cache" != 1; then
4647 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4648 fi
4649
4650 if test "$wxUSE_STL" = yes; then
4651 { echo "$as_me:$LINENO: result: yes" >&5
4652 echo "${ECHO_T}yes" >&6; }
4653 else
4654 { echo "$as_me:$LINENO: result: no" >&5
4655 echo "${ECHO_T}no" >&6; }
4656 fi
4657
4658 if test "$USE_OS2" = "1"; then
4659 DEFAULT_wxUSE_OMF=no
4660
4661 enablestring=
4662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4663 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4664 no_cache=0
4665 # Check whether --enable-omf was given.
4666 if test "${enable_omf+set}" = set; then
4667 enableval=$enable_omf;
4668 if test "$enableval" = yes; then
4669 ac_cv_use_omf='wxUSE_OMF=yes'
4670 else
4671 ac_cv_use_omf='wxUSE_OMF=no'
4672 fi
4673
4674 else
4675
4676 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
4677 if test "x$LINE" != x ; then
4678 eval "DEFAULT_$LINE"
4679 else
4680 no_cache=1
4681 fi
4682
4683 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4684
4685 fi
4686
4687
4688 eval "$ac_cv_use_omf"
4689 if test "$no_cache" != 1; then
4690 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4691 fi
4692
4693 if test "$wxUSE_OMF" = yes; then
4694 { echo "$as_me:$LINENO: result: yes" >&5
4695 echo "${ECHO_T}yes" >&6; }
4696 else
4697 { echo "$as_me:$LINENO: result: no" >&5
4698 echo "${ECHO_T}no" >&6; }
4699 fi
4700
4701 fi
4702
4703 if test "$wxUSE_DEBUG" = "yes"; then
4704 DEFAULT_wxUSE_DEBUG_FLAG=yes
4705 DEFAULT_wxUSE_DEBUG_INFO=yes
4706 BUILD=debug
4707 elif test "$wxUSE_DEBUG" = "no"; then
4708 DEFAULT_wxUSE_DEBUG_FLAG=no
4709 DEFAULT_wxUSE_DEBUG_INFO=no
4710 BUILD=release
4711 fi
4712
4713
4714 enablestring=
4715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4716 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4717 no_cache=0
4718 # Check whether --enable-debug_flag was given.
4719 if test "${enable_debug_flag+set}" = set; then
4720 enableval=$enable_debug_flag;
4721 if test "$enableval" = yes; then
4722 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4723 else
4724 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4725 fi
4726
4727 else
4728
4729 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4730 if test "x$LINE" != x ; then
4731 eval "DEFAULT_$LINE"
4732 else
4733 no_cache=1
4734 fi
4735
4736 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4737
4738 fi
4739
4740
4741 eval "$ac_cv_use_debug_flag"
4742 if test "$no_cache" != 1; then
4743 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4744 fi
4745
4746 if test "$wxUSE_DEBUG_FLAG" = yes; then
4747 { echo "$as_me:$LINENO: result: yes" >&5
4748 echo "${ECHO_T}yes" >&6; }
4749 else
4750 { echo "$as_me:$LINENO: result: no" >&5
4751 echo "${ECHO_T}no" >&6; }
4752 fi
4753
4754
4755 enablestring=
4756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4757 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4758 no_cache=0
4759 # Check whether --enable-debug_info was given.
4760 if test "${enable_debug_info+set}" = set; then
4761 enableval=$enable_debug_info;
4762 if test "$enableval" = yes; then
4763 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4764 else
4765 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4766 fi
4767
4768 else
4769
4770 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4771 if test "x$LINE" != x ; then
4772 eval "DEFAULT_$LINE"
4773 else
4774 no_cache=1
4775 fi
4776
4777 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4778
4779 fi
4780
4781
4782 eval "$ac_cv_use_debug_info"
4783 if test "$no_cache" != 1; then
4784 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4785 fi
4786
4787 if test "$wxUSE_DEBUG_INFO" = yes; then
4788 { echo "$as_me:$LINENO: result: yes" >&5
4789 echo "${ECHO_T}yes" >&6; }
4790 else
4791 { echo "$as_me:$LINENO: result: no" >&5
4792 echo "${ECHO_T}no" >&6; }
4793 fi
4794
4795
4796 enablestring=
4797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4798 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4799 no_cache=0
4800 # Check whether --enable-debug_gdb was given.
4801 if test "${enable_debug_gdb+set}" = set; then
4802 enableval=$enable_debug_gdb;
4803 if test "$enableval" = yes; then
4804 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4805 else
4806 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4807 fi
4808
4809 else
4810
4811 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4812 if test "x$LINE" != x ; then
4813 eval "DEFAULT_$LINE"
4814 else
4815 no_cache=1
4816 fi
4817
4818 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4819
4820 fi
4821
4822
4823 eval "$ac_cv_use_debug_gdb"
4824 if test "$no_cache" != 1; then
4825 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4826 fi
4827
4828 if test "$wxUSE_DEBUG_GDB" = yes; then
4829 { echo "$as_me:$LINENO: result: yes" >&5
4830 echo "${ECHO_T}yes" >&6; }
4831 else
4832 { echo "$as_me:$LINENO: result: no" >&5
4833 echo "${ECHO_T}no" >&6; }
4834 fi
4835
4836
4837 enablestring=
4838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4839 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4840 no_cache=0
4841 # Check whether --enable-debug_cntxt was given.
4842 if test "${enable_debug_cntxt+set}" = set; then
4843 enableval=$enable_debug_cntxt;
4844 if test "$enableval" = yes; then
4845 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4846 else
4847 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4848 fi
4849
4850 else
4851
4852 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4853 if test "x$LINE" != x ; then
4854 eval "DEFAULT_$LINE"
4855 else
4856 no_cache=1
4857 fi
4858
4859 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4860
4861 fi
4862
4863
4864 eval "$ac_cv_use_debug_cntxt"
4865 if test "$no_cache" != 1; then
4866 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4867 fi
4868
4869 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4870 { echo "$as_me:$LINENO: result: yes" >&5
4871 echo "${ECHO_T}yes" >&6; }
4872 else
4873 { echo "$as_me:$LINENO: result: no" >&5
4874 echo "${ECHO_T}no" >&6; }
4875 fi
4876
4877
4878 enablestring=
4879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4880 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4881 no_cache=0
4882 # Check whether --enable-mem_tracing was given.
4883 if test "${enable_mem_tracing+set}" = set; then
4884 enableval=$enable_mem_tracing;
4885 if test "$enableval" = yes; then
4886 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4887 else
4888 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4889 fi
4890
4891 else
4892
4893 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4894 if test "x$LINE" != x ; then
4895 eval "DEFAULT_$LINE"
4896 else
4897 no_cache=1
4898 fi
4899
4900 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4901
4902 fi
4903
4904
4905 eval "$ac_cv_use_mem_tracing"
4906 if test "$no_cache" != 1; then
4907 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4908 fi
4909
4910 if test "$wxUSE_MEM_TRACING" = yes; then
4911 { echo "$as_me:$LINENO: result: yes" >&5
4912 echo "${ECHO_T}yes" >&6; }
4913 else
4914 { echo "$as_me:$LINENO: result: no" >&5
4915 echo "${ECHO_T}no" >&6; }
4916 fi
4917
4918
4919 enablestring=
4920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4921 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4922 no_cache=0
4923 # Check whether --enable-profile was given.
4924 if test "${enable_profile+set}" = set; then
4925 enableval=$enable_profile;
4926 if test "$enableval" = yes; then
4927 ac_cv_use_profile='wxUSE_PROFILE=yes'
4928 else
4929 ac_cv_use_profile='wxUSE_PROFILE=no'
4930 fi
4931
4932 else
4933
4934 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4935 if test "x$LINE" != x ; then
4936 eval "DEFAULT_$LINE"
4937 else
4938 no_cache=1
4939 fi
4940
4941 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4942
4943 fi
4944
4945
4946 eval "$ac_cv_use_profile"
4947 if test "$no_cache" != 1; then
4948 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4949 fi
4950
4951 if test "$wxUSE_PROFILE" = yes; then
4952 { echo "$as_me:$LINENO: result: yes" >&5
4953 echo "${ECHO_T}yes" >&6; }
4954 else
4955 { echo "$as_me:$LINENO: result: no" >&5
4956 echo "${ECHO_T}no" >&6; }
4957 fi
4958
4959
4960 enablestring=
4961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4962 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
4963 no_cache=0
4964 # Check whether --enable-no_rtti was given.
4965 if test "${enable_no_rtti+set}" = set; then
4966 enableval=$enable_no_rtti;
4967 if test "$enableval" = yes; then
4968 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4969 else
4970 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4971 fi
4972
4973 else
4974
4975 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4976 if test "x$LINE" != x ; then
4977 eval "DEFAULT_$LINE"
4978 else
4979 no_cache=1
4980 fi
4981
4982 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4983
4984 fi
4985
4986
4987 eval "$ac_cv_use_no_rtti"
4988 if test "$no_cache" != 1; then
4989 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4990 fi
4991
4992 if test "$wxUSE_NO_RTTI" = yes; then
4993 { echo "$as_me:$LINENO: result: yes" >&5
4994 echo "${ECHO_T}yes" >&6; }
4995 else
4996 { echo "$as_me:$LINENO: result: no" >&5
4997 echo "${ECHO_T}no" >&6; }
4998 fi
4999
5000
5001 enablestring=
5002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5003 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5004 no_cache=0
5005 # Check whether --enable-no_exceptions was given.
5006 if test "${enable_no_exceptions+set}" = set; then
5007 enableval=$enable_no_exceptions;
5008 if test "$enableval" = yes; then
5009 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5010 else
5011 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5012 fi
5013
5014 else
5015
5016 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
5017 if test "x$LINE" != x ; then
5018 eval "DEFAULT_$LINE"
5019 else
5020 no_cache=1
5021 fi
5022
5023 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5024
5025 fi
5026
5027
5028 eval "$ac_cv_use_no_exceptions"
5029 if test "$no_cache" != 1; then
5030 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5031 fi
5032
5033 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5034 { echo "$as_me:$LINENO: result: yes" >&5
5035 echo "${ECHO_T}yes" >&6; }
5036 else
5037 { echo "$as_me:$LINENO: result: no" >&5
5038 echo "${ECHO_T}no" >&6; }
5039 fi
5040
5041
5042 enablestring=
5043 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5044 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5045 no_cache=0
5046 # Check whether --enable-permissive was given.
5047 if test "${enable_permissive+set}" = set; then
5048 enableval=$enable_permissive;
5049 if test "$enableval" = yes; then
5050 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5051 else
5052 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5053 fi
5054
5055 else
5056
5057 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
5058 if test "x$LINE" != x ; then
5059 eval "DEFAULT_$LINE"
5060 else
5061 no_cache=1
5062 fi
5063
5064 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5065
5066 fi
5067
5068
5069 eval "$ac_cv_use_permissive"
5070 if test "$no_cache" != 1; then
5071 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5072 fi
5073
5074 if test "$wxUSE_PERMISSIVE" = yes; then
5075 { echo "$as_me:$LINENO: result: yes" >&5
5076 echo "${ECHO_T}yes" >&6; }
5077 else
5078 { echo "$as_me:$LINENO: result: no" >&5
5079 echo "${ECHO_T}no" >&6; }
5080 fi
5081
5082
5083 enablestring=
5084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5085 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5086 no_cache=0
5087 # Check whether --enable-no_deps was given.
5088 if test "${enable_no_deps+set}" = set; then
5089 enableval=$enable_no_deps;
5090 if test "$enableval" = yes; then
5091 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5092 else
5093 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5094 fi
5095
5096 else
5097
5098 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
5099 if test "x$LINE" != x ; then
5100 eval "DEFAULT_$LINE"
5101 else
5102 no_cache=1
5103 fi
5104
5105 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5106
5107 fi
5108
5109
5110 eval "$ac_cv_use_no_deps"
5111 if test "$no_cache" != 1; then
5112 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5113 fi
5114
5115 if test "$wxUSE_NO_DEPS" = yes; then
5116 { echo "$as_me:$LINENO: result: yes" >&5
5117 echo "${ECHO_T}yes" >&6; }
5118 else
5119 { echo "$as_me:$LINENO: result: no" >&5
5120 echo "${ECHO_T}no" >&6; }
5121 fi
5122
5123
5124 enablestring=
5125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5126 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5127 no_cache=0
5128 # Check whether --enable-vararg_macros was given.
5129 if test "${enable_vararg_macros+set}" = set; then
5130 enableval=$enable_vararg_macros;
5131 if test "$enableval" = yes; then
5132 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5133 else
5134 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5135 fi
5136
5137 else
5138
5139 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
5140 if test "x$LINE" != x ; then
5141 eval "DEFAULT_$LINE"
5142 else
5143 no_cache=1
5144 fi
5145
5146 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5147
5148 fi
5149
5150
5151 eval "$ac_cv_use_vararg_macros"
5152 if test "$no_cache" != 1; then
5153 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5154 fi
5155
5156 if test "$wxUSE_VARARG_MACROS" = yes; then
5157 { echo "$as_me:$LINENO: result: yes" >&5
5158 echo "${ECHO_T}yes" >&6; }
5159 else
5160 { echo "$as_me:$LINENO: result: no" >&5
5161 echo "${ECHO_T}no" >&6; }
5162 fi
5163
5164
5165 enablestring=
5166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5167 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5168 no_cache=0
5169 # Check whether --enable-universal_binary was given.
5170 if test "${enable_universal_binary+set}" = set; then
5171 enableval=$enable_universal_binary;
5172 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5173
5174 else
5175
5176 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
5177 if test "x$LINE" != x ; then
5178 eval "DEFAULT_$LINE"
5179 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5180 else
5181 no_cache=1
5182 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
5183 fi
5184
5185 fi
5186
5187
5188 eval "$wx_cv_use_universal_binary"
5189 if test "$no_cache" != 1; then
5190 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5191 fi
5192
5193 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5194 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5195
5196
5197
5198 enablestring=enable
5199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5200 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5201 no_cache=0
5202 # Check whether --enable-compat26 was given.
5203 if test "${enable_compat26+set}" = set; then
5204 enableval=$enable_compat26;
5205 if test "$enableval" = yes; then
5206 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5207 else
5208 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5209 fi
5210
5211 else
5212
5213 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
5214 if test "x$LINE" != x ; then
5215 eval "DEFAULT_$LINE"
5216 else
5217 no_cache=1
5218 fi
5219
5220 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5221
5222 fi
5223
5224
5225 eval "$ac_cv_use_compat26"
5226 if test "$no_cache" != 1; then
5227 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5228 fi
5229
5230 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5231 { echo "$as_me:$LINENO: result: yes" >&5
5232 echo "${ECHO_T}yes" >&6; }
5233 else
5234 { echo "$as_me:$LINENO: result: no" >&5
5235 echo "${ECHO_T}no" >&6; }
5236 fi
5237
5238
5239 enablestring=disable
5240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5241 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5242 no_cache=0
5243 # Check whether --enable-compat28 was given.
5244 if test "${enable_compat28+set}" = set; then
5245 enableval=$enable_compat28;
5246 if test "$enableval" = yes; then
5247 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5248 else
5249 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5250 fi
5251
5252 else
5253
5254 LINE=`grep "WXWIN_COMPATIBILITY_2_8" ${wx_arg_cache_file}`
5255 if test "x$LINE" != x ; then
5256 eval "DEFAULT_$LINE"
5257 else
5258 no_cache=1
5259 fi
5260
5261 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
5262
5263 fi
5264
5265
5266 eval "$ac_cv_use_compat28"
5267 if test "$no_cache" != 1; then
5268 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5269 fi
5270
5271 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
5272 { echo "$as_me:$LINENO: result: yes" >&5
5273 echo "${ECHO_T}yes" >&6; }
5274 else
5275 { echo "$as_me:$LINENO: result: no" >&5
5276 echo "${ECHO_T}no" >&6; }
5277 fi
5278
5279
5280
5281 enablestring=
5282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5283 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5284 no_cache=0
5285 # Check whether --enable-rpath was given.
5286 if test "${enable_rpath+set}" = set; then
5287 enableval=$enable_rpath;
5288 if test "$enableval" = yes; then
5289 ac_cv_use_rpath='wxUSE_RPATH=yes'
5290 else
5291 ac_cv_use_rpath='wxUSE_RPATH=no'
5292 fi
5293
5294 else
5295
5296 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
5297 if test "x$LINE" != x ; then
5298 eval "DEFAULT_$LINE"
5299 else
5300 no_cache=1
5301 fi
5302
5303 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5304
5305 fi
5306
5307
5308 eval "$ac_cv_use_rpath"
5309 if test "$no_cache" != 1; then
5310 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5311 fi
5312
5313 if test "$wxUSE_RPATH" = yes; then
5314 { echo "$as_me:$LINENO: result: yes" >&5
5315 echo "${ECHO_T}yes" >&6; }
5316 else
5317 { echo "$as_me:$LINENO: result: no" >&5
5318 echo "${ECHO_T}no" >&6; }
5319 fi
5320
5321
5322
5323
5324
5325 enablestring=
5326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5327 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5328 no_cache=0
5329 # Check whether --enable-intl was given.
5330 if test "${enable_intl+set}" = set; then
5331 enableval=$enable_intl;
5332 if test "$enableval" = yes; then
5333 ac_cv_use_intl='wxUSE_INTL=yes'
5334 else
5335 ac_cv_use_intl='wxUSE_INTL=no'
5336 fi
5337
5338 else
5339
5340 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
5341 if test "x$LINE" != x ; then
5342 eval "DEFAULT_$LINE"
5343 else
5344 no_cache=1
5345 fi
5346
5347 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5348
5349 fi
5350
5351
5352 eval "$ac_cv_use_intl"
5353 if test "$no_cache" != 1; then
5354 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5355 fi
5356
5357 if test "$wxUSE_INTL" = yes; then
5358 { echo "$as_me:$LINENO: result: yes" >&5
5359 echo "${ECHO_T}yes" >&6; }
5360 else
5361 { echo "$as_me:$LINENO: result: no" >&5
5362 echo "${ECHO_T}no" >&6; }
5363 fi
5364
5365
5366 enablestring=
5367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5368 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5369 no_cache=0
5370 # Check whether --enable-config was given.
5371 if test "${enable_config+set}" = set; then
5372 enableval=$enable_config;
5373 if test "$enableval" = yes; then
5374 ac_cv_use_config='wxUSE_CONFIG=yes'
5375 else
5376 ac_cv_use_config='wxUSE_CONFIG=no'
5377 fi
5378
5379 else
5380
5381 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
5382 if test "x$LINE" != x ; then
5383 eval "DEFAULT_$LINE"
5384 else
5385 no_cache=1
5386 fi
5387
5388 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5389
5390 fi
5391
5392
5393 eval "$ac_cv_use_config"
5394 if test "$no_cache" != 1; then
5395 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5396 fi
5397
5398 if test "$wxUSE_CONFIG" = yes; then
5399 { echo "$as_me:$LINENO: result: yes" >&5
5400 echo "${ECHO_T}yes" >&6; }
5401 else
5402 { echo "$as_me:$LINENO: result: no" >&5
5403 echo "${ECHO_T}no" >&6; }
5404 fi
5405
5406
5407
5408 enablestring=
5409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5410 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5411 no_cache=0
5412 # Check whether --enable-protocols was given.
5413 if test "${enable_protocols+set}" = set; then
5414 enableval=$enable_protocols;
5415 if test "$enableval" = yes; then
5416 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5417 else
5418 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5419 fi
5420
5421 else
5422
5423 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5424 if test "x$LINE" != x ; then
5425 eval "DEFAULT_$LINE"
5426 else
5427 no_cache=1
5428 fi
5429
5430 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5431
5432 fi
5433
5434
5435 eval "$ac_cv_use_protocols"
5436 if test "$no_cache" != 1; then
5437 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5438 fi
5439
5440 if test "$wxUSE_PROTOCOL" = yes; then
5441 { echo "$as_me:$LINENO: result: yes" >&5
5442 echo "${ECHO_T}yes" >&6; }
5443 else
5444 { echo "$as_me:$LINENO: result: no" >&5
5445 echo "${ECHO_T}no" >&6; }
5446 fi
5447
5448
5449 enablestring=
5450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5451 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5452 no_cache=0
5453 # Check whether --enable-ftp was given.
5454 if test "${enable_ftp+set}" = set; then
5455 enableval=$enable_ftp;
5456 if test "$enableval" = yes; then
5457 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5458 else
5459 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5460 fi
5461
5462 else
5463
5464 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5465 if test "x$LINE" != x ; then
5466 eval "DEFAULT_$LINE"
5467 else
5468 no_cache=1
5469 fi
5470
5471 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5472
5473 fi
5474
5475
5476 eval "$ac_cv_use_ftp"
5477 if test "$no_cache" != 1; then
5478 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5479 fi
5480
5481 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5482 { echo "$as_me:$LINENO: result: yes" >&5
5483 echo "${ECHO_T}yes" >&6; }
5484 else
5485 { echo "$as_me:$LINENO: result: no" >&5
5486 echo "${ECHO_T}no" >&6; }
5487 fi
5488
5489
5490 enablestring=
5491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5492 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5493 no_cache=0
5494 # Check whether --enable-http was given.
5495 if test "${enable_http+set}" = set; then
5496 enableval=$enable_http;
5497 if test "$enableval" = yes; then
5498 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5499 else
5500 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5501 fi
5502
5503 else
5504
5505 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5506 if test "x$LINE" != x ; then
5507 eval "DEFAULT_$LINE"
5508 else
5509 no_cache=1
5510 fi
5511
5512 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5513
5514 fi
5515
5516
5517 eval "$ac_cv_use_http"
5518 if test "$no_cache" != 1; then
5519 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5520 fi
5521
5522 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5523 { echo "$as_me:$LINENO: result: yes" >&5
5524 echo "${ECHO_T}yes" >&6; }
5525 else
5526 { echo "$as_me:$LINENO: result: no" >&5
5527 echo "${ECHO_T}no" >&6; }
5528 fi
5529
5530
5531 enablestring=
5532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5533 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5534 no_cache=0
5535 # Check whether --enable-fileproto was given.
5536 if test "${enable_fileproto+set}" = set; then
5537 enableval=$enable_fileproto;
5538 if test "$enableval" = yes; then
5539 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5540 else
5541 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5542 fi
5543
5544 else
5545
5546 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5547 if test "x$LINE" != x ; then
5548 eval "DEFAULT_$LINE"
5549 else
5550 no_cache=1
5551 fi
5552
5553 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5554
5555 fi
5556
5557
5558 eval "$ac_cv_use_fileproto"
5559 if test "$no_cache" != 1; then
5560 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5561 fi
5562
5563 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5564 { echo "$as_me:$LINENO: result: yes" >&5
5565 echo "${ECHO_T}yes" >&6; }
5566 else
5567 { echo "$as_me:$LINENO: result: no" >&5
5568 echo "${ECHO_T}no" >&6; }
5569 fi
5570
5571
5572 enablestring=
5573 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5574 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5575 no_cache=0
5576 # Check whether --enable-sockets was given.
5577 if test "${enable_sockets+set}" = set; then
5578 enableval=$enable_sockets;
5579 if test "$enableval" = yes; then
5580 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5581 else
5582 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5583 fi
5584
5585 else
5586
5587 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
5588 if test "x$LINE" != x ; then
5589 eval "DEFAULT_$LINE"
5590 else
5591 no_cache=1
5592 fi
5593
5594 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5595
5596 fi
5597
5598
5599 eval "$ac_cv_use_sockets"
5600 if test "$no_cache" != 1; then
5601 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5602 fi
5603
5604 if test "$wxUSE_SOCKETS" = yes; then
5605 { echo "$as_me:$LINENO: result: yes" >&5
5606 echo "${ECHO_T}yes" >&6; }
5607 else
5608 { echo "$as_me:$LINENO: result: no" >&5
5609 echo "${ECHO_T}no" >&6; }
5610 fi
5611
5612
5613 enablestring=
5614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5615 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5616 no_cache=0
5617 # Check whether --enable-ole was given.
5618 if test "${enable_ole+set}" = set; then
5619 enableval=$enable_ole;
5620 if test "$enableval" = yes; then
5621 ac_cv_use_ole='wxUSE_OLE=yes'
5622 else
5623 ac_cv_use_ole='wxUSE_OLE=no'
5624 fi
5625
5626 else
5627
5628 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
5629 if test "x$LINE" != x ; then
5630 eval "DEFAULT_$LINE"
5631 else
5632 no_cache=1
5633 fi
5634
5635 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5636
5637 fi
5638
5639
5640 eval "$ac_cv_use_ole"
5641 if test "$no_cache" != 1; then
5642 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5643 fi
5644
5645 if test "$wxUSE_OLE" = yes; then
5646 { echo "$as_me:$LINENO: result: yes" >&5
5647 echo "${ECHO_T}yes" >&6; }
5648 else
5649 { echo "$as_me:$LINENO: result: no" >&5
5650 echo "${ECHO_T}no" >&6; }
5651 fi
5652
5653
5654 enablestring=
5655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5656 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5657 no_cache=0
5658 # Check whether --enable-dataobj was given.
5659 if test "${enable_dataobj+set}" = set; then
5660 enableval=$enable_dataobj;
5661 if test "$enableval" = yes; then
5662 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5663 else
5664 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5665 fi
5666
5667 else
5668
5669 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
5670 if test "x$LINE" != x ; then
5671 eval "DEFAULT_$LINE"
5672 else
5673 no_cache=1
5674 fi
5675
5676 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5677
5678 fi
5679
5680
5681 eval "$ac_cv_use_dataobj"
5682 if test "$no_cache" != 1; then
5683 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5684 fi
5685
5686 if test "$wxUSE_DATAOBJ" = yes; then
5687 { echo "$as_me:$LINENO: result: yes" >&5
5688 echo "${ECHO_T}yes" >&6; }
5689 else
5690 { echo "$as_me:$LINENO: result: no" >&5
5691 echo "${ECHO_T}no" >&6; }
5692 fi
5693
5694
5695
5696 enablestring=
5697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5698 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5699 no_cache=0
5700 # Check whether --enable-ipc was given.
5701 if test "${enable_ipc+set}" = set; then
5702 enableval=$enable_ipc;
5703 if test "$enableval" = yes; then
5704 ac_cv_use_ipc='wxUSE_IPC=yes'
5705 else
5706 ac_cv_use_ipc='wxUSE_IPC=no'
5707 fi
5708
5709 else
5710
5711 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5712 if test "x$LINE" != x ; then
5713 eval "DEFAULT_$LINE"
5714 else
5715 no_cache=1
5716 fi
5717
5718 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5719
5720 fi
5721
5722
5723 eval "$ac_cv_use_ipc"
5724 if test "$no_cache" != 1; then
5725 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5726 fi
5727
5728 if test "$wxUSE_IPC" = yes; then
5729 { echo "$as_me:$LINENO: result: yes" >&5
5730 echo "${ECHO_T}yes" >&6; }
5731 else
5732 { echo "$as_me:$LINENO: result: no" >&5
5733 echo "${ECHO_T}no" >&6; }
5734 fi
5735
5736
5737
5738 enablestring=
5739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5740 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5741 no_cache=0
5742 # Check whether --enable-apple_ieee was given.
5743 if test "${enable_apple_ieee+set}" = set; then
5744 enableval=$enable_apple_ieee;
5745 if test "$enableval" = yes; then
5746 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5747 else
5748 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5749 fi
5750
5751 else
5752
5753 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5754 if test "x$LINE" != x ; then
5755 eval "DEFAULT_$LINE"
5756 else
5757 no_cache=1
5758 fi
5759
5760 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5761
5762 fi
5763
5764
5765 eval "$ac_cv_use_apple_ieee"
5766 if test "$no_cache" != 1; then
5767 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5768 fi
5769
5770 if test "$wxUSE_APPLE_IEEE" = yes; then
5771 { echo "$as_me:$LINENO: result: yes" >&5
5772 echo "${ECHO_T}yes" >&6; }
5773 else
5774 { echo "$as_me:$LINENO: result: no" >&5
5775 echo "${ECHO_T}no" >&6; }
5776 fi
5777
5778
5779 enablestring=
5780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5781 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5782 no_cache=0
5783 # Check whether --enable-arcstream was given.
5784 if test "${enable_arcstream+set}" = set; then
5785 enableval=$enable_arcstream;
5786 if test "$enableval" = yes; then
5787 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5788 else
5789 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5790 fi
5791
5792 else
5793
5794 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5795 if test "x$LINE" != x ; then
5796 eval "DEFAULT_$LINE"
5797 else
5798 no_cache=1
5799 fi
5800
5801 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5802
5803 fi
5804
5805
5806 eval "$ac_cv_use_arcstream"
5807 if test "$no_cache" != 1; then
5808 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5809 fi
5810
5811 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5812 { echo "$as_me:$LINENO: result: yes" >&5
5813 echo "${ECHO_T}yes" >&6; }
5814 else
5815 { echo "$as_me:$LINENO: result: no" >&5
5816 echo "${ECHO_T}no" >&6; }
5817 fi
5818
5819
5820 enablestring=
5821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5822 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5823 no_cache=0
5824 # Check whether --enable-backtrace was given.
5825 if test "${enable_backtrace+set}" = set; then
5826 enableval=$enable_backtrace;
5827 if test "$enableval" = yes; then
5828 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5829 else
5830 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5831 fi
5832
5833 else
5834
5835 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5836 if test "x$LINE" != x ; then
5837 eval "DEFAULT_$LINE"
5838 else
5839 no_cache=1
5840 fi
5841
5842 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5843
5844 fi
5845
5846
5847 eval "$ac_cv_use_backtrace"
5848 if test "$no_cache" != 1; then
5849 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5850 fi
5851
5852 if test "$wxUSE_STACKWALKER" = yes; then
5853 { echo "$as_me:$LINENO: result: yes" >&5
5854 echo "${ECHO_T}yes" >&6; }
5855 else
5856 { echo "$as_me:$LINENO: result: no" >&5
5857 echo "${ECHO_T}no" >&6; }
5858 fi
5859
5860
5861 enablestring=
5862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5863 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5864 no_cache=0
5865 # Check whether --enable-catch_segvs was given.
5866 if test "${enable_catch_segvs+set}" = set; then
5867 enableval=$enable_catch_segvs;
5868 if test "$enableval" = yes; then
5869 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5870 else
5871 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5872 fi
5873
5874 else
5875
5876 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5877 if test "x$LINE" != x ; then
5878 eval "DEFAULT_$LINE"
5879 else
5880 no_cache=1
5881 fi
5882
5883 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5884
5885 fi
5886
5887
5888 eval "$ac_cv_use_catch_segvs"
5889 if test "$no_cache" != 1; then
5890 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5891 fi
5892
5893 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5894 { echo "$as_me:$LINENO: result: yes" >&5
5895 echo "${ECHO_T}yes" >&6; }
5896 else
5897 { echo "$as_me:$LINENO: result: no" >&5
5898 echo "${ECHO_T}no" >&6; }
5899 fi
5900
5901
5902 enablestring=
5903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5904 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
5905 no_cache=0
5906 # Check whether --enable-cmdline was given.
5907 if test "${enable_cmdline+set}" = set; then
5908 enableval=$enable_cmdline;
5909 if test "$enableval" = yes; then
5910 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5911 else
5912 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5913 fi
5914
5915 else
5916
5917 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5918 if test "x$LINE" != x ; then
5919 eval "DEFAULT_$LINE"
5920 else
5921 no_cache=1
5922 fi
5923
5924 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5925
5926 fi
5927
5928
5929 eval "$ac_cv_use_cmdline"
5930 if test "$no_cache" != 1; then
5931 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5932 fi
5933
5934 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5935 { echo "$as_me:$LINENO: result: yes" >&5
5936 echo "${ECHO_T}yes" >&6; }
5937 else
5938 { echo "$as_me:$LINENO: result: no" >&5
5939 echo "${ECHO_T}no" >&6; }
5940 fi
5941
5942
5943 enablestring=
5944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5945 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
5946 no_cache=0
5947 # Check whether --enable-datetime was given.
5948 if test "${enable_datetime+set}" = set; then
5949 enableval=$enable_datetime;
5950 if test "$enableval" = yes; then
5951 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5952 else
5953 ac_cv_use_datetime='wxUSE_DATETIME=no'
5954 fi
5955
5956 else
5957
5958 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5959 if test "x$LINE" != x ; then
5960 eval "DEFAULT_$LINE"
5961 else
5962 no_cache=1
5963 fi
5964
5965 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5966
5967 fi
5968
5969
5970 eval "$ac_cv_use_datetime"
5971 if test "$no_cache" != 1; then
5972 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5973 fi
5974
5975 if test "$wxUSE_DATETIME" = yes; then
5976 { echo "$as_me:$LINENO: result: yes" >&5
5977 echo "${ECHO_T}yes" >&6; }
5978 else
5979 { echo "$as_me:$LINENO: result: no" >&5
5980 echo "${ECHO_T}no" >&6; }
5981 fi
5982
5983
5984 enablestring=
5985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5986 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
5987 no_cache=0
5988 # Check whether --enable-debugreport was given.
5989 if test "${enable_debugreport+set}" = set; then
5990 enableval=$enable_debugreport;
5991 if test "$enableval" = yes; then
5992 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5993 else
5994 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5995 fi
5996
5997 else
5998
5999 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
6000 if test "x$LINE" != x ; then
6001 eval "DEFAULT_$LINE"
6002 else
6003 no_cache=1
6004 fi
6005
6006 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6007
6008 fi
6009
6010
6011 eval "$ac_cv_use_debugreport"
6012 if test "$no_cache" != 1; then
6013 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6014 fi
6015
6016 if test "$wxUSE_DEBUGREPORT" = yes; then
6017 { echo "$as_me:$LINENO: result: yes" >&5
6018 echo "${ECHO_T}yes" >&6; }
6019 else
6020 { echo "$as_me:$LINENO: result: no" >&5
6021 echo "${ECHO_T}no" >&6; }
6022 fi
6023
6024
6025 enablestring=
6026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6027 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6028 no_cache=0
6029 # Check whether --enable-dialupman was given.
6030 if test "${enable_dialupman+set}" = set; then
6031 enableval=$enable_dialupman;
6032 if test "$enableval" = yes; then
6033 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6034 else
6035 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6036 fi
6037
6038 else
6039
6040 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
6041 if test "x$LINE" != x ; then
6042 eval "DEFAULT_$LINE"
6043 else
6044 no_cache=1
6045 fi
6046
6047 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6048
6049 fi
6050
6051
6052 eval "$ac_cv_use_dialupman"
6053 if test "$no_cache" != 1; then
6054 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6055 fi
6056
6057 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6058 { echo "$as_me:$LINENO: result: yes" >&5
6059 echo "${ECHO_T}yes" >&6; }
6060 else
6061 { echo "$as_me:$LINENO: result: no" >&5
6062 echo "${ECHO_T}no" >&6; }
6063 fi
6064
6065
6066 enablestring=
6067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6068 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6069 no_cache=0
6070 # Check whether --enable-dynlib was given.
6071 if test "${enable_dynlib+set}" = set; then
6072 enableval=$enable_dynlib;
6073 if test "$enableval" = yes; then
6074 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6075 else
6076 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6077 fi
6078
6079 else
6080
6081 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
6082 if test "x$LINE" != x ; then
6083 eval "DEFAULT_$LINE"
6084 else
6085 no_cache=1
6086 fi
6087
6088 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6089
6090 fi
6091
6092
6093 eval "$ac_cv_use_dynlib"
6094 if test "$no_cache" != 1; then
6095 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6096 fi
6097
6098 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6099 { echo "$as_me:$LINENO: result: yes" >&5
6100 echo "${ECHO_T}yes" >&6; }
6101 else
6102 { echo "$as_me:$LINENO: result: no" >&5
6103 echo "${ECHO_T}no" >&6; }
6104 fi
6105
6106
6107 enablestring=
6108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6109 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6110 no_cache=0
6111 # Check whether --enable-dynamicloader was given.
6112 if test "${enable_dynamicloader+set}" = set; then
6113 enableval=$enable_dynamicloader;
6114 if test "$enableval" = yes; then
6115 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6116 else
6117 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6118 fi
6119
6120 else
6121
6122 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
6123 if test "x$LINE" != x ; then
6124 eval "DEFAULT_$LINE"
6125 else
6126 no_cache=1
6127 fi
6128
6129 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6130
6131 fi
6132
6133
6134 eval "$ac_cv_use_dynamicloader"
6135 if test "$no_cache" != 1; then
6136 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6137 fi
6138
6139 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6140 { echo "$as_me:$LINENO: result: yes" >&5
6141 echo "${ECHO_T}yes" >&6; }
6142 else
6143 { echo "$as_me:$LINENO: result: no" >&5
6144 echo "${ECHO_T}no" >&6; }
6145 fi
6146
6147
6148 enablestring=
6149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6150 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6151 no_cache=0
6152 # Check whether --enable-exceptions was given.
6153 if test "${enable_exceptions+set}" = set; then
6154 enableval=$enable_exceptions;
6155 if test "$enableval" = yes; then
6156 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6157 else
6158 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6159 fi
6160
6161 else
6162
6163 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
6164 if test "x$LINE" != x ; then
6165 eval "DEFAULT_$LINE"
6166 else
6167 no_cache=1
6168 fi
6169
6170 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6171
6172 fi
6173
6174
6175 eval "$ac_cv_use_exceptions"
6176 if test "$no_cache" != 1; then
6177 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6178 fi
6179
6180 if test "$wxUSE_EXCEPTIONS" = yes; then
6181 { echo "$as_me:$LINENO: result: yes" >&5
6182 echo "${ECHO_T}yes" >&6; }
6183 else
6184 { echo "$as_me:$LINENO: result: no" >&5
6185 echo "${ECHO_T}no" >&6; }
6186 fi
6187
6188
6189 enablestring=
6190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6191 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6192 no_cache=0
6193 # Check whether --enable-ffile was given.
6194 if test "${enable_ffile+set}" = set; then
6195 enableval=$enable_ffile;
6196 if test "$enableval" = yes; then
6197 ac_cv_use_ffile='wxUSE_FFILE=yes'
6198 else
6199 ac_cv_use_ffile='wxUSE_FFILE=no'
6200 fi
6201
6202 else
6203
6204 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
6205 if test "x$LINE" != x ; then
6206 eval "DEFAULT_$LINE"
6207 else
6208 no_cache=1
6209 fi
6210
6211 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6212
6213 fi
6214
6215
6216 eval "$ac_cv_use_ffile"
6217 if test "$no_cache" != 1; then
6218 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6219 fi
6220
6221 if test "$wxUSE_FFILE" = yes; then
6222 { echo "$as_me:$LINENO: result: yes" >&5
6223 echo "${ECHO_T}yes" >&6; }
6224 else
6225 { echo "$as_me:$LINENO: result: no" >&5
6226 echo "${ECHO_T}no" >&6; }
6227 fi
6228
6229
6230 enablestring=
6231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6232 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6233 no_cache=0
6234 # Check whether --enable-file was given.
6235 if test "${enable_file+set}" = set; then
6236 enableval=$enable_file;
6237 if test "$enableval" = yes; then
6238 ac_cv_use_file='wxUSE_FILE=yes'
6239 else
6240 ac_cv_use_file='wxUSE_FILE=no'
6241 fi
6242
6243 else
6244
6245 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
6246 if test "x$LINE" != x ; then
6247 eval "DEFAULT_$LINE"
6248 else
6249 no_cache=1
6250 fi
6251
6252 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6253
6254 fi
6255
6256
6257 eval "$ac_cv_use_file"
6258 if test "$no_cache" != 1; then
6259 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6260 fi
6261
6262 if test "$wxUSE_FILE" = yes; then
6263 { echo "$as_me:$LINENO: result: yes" >&5
6264 echo "${ECHO_T}yes" >&6; }
6265 else
6266 { echo "$as_me:$LINENO: result: no" >&5
6267 echo "${ECHO_T}no" >&6; }
6268 fi
6269
6270
6271 enablestring=
6272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6273 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6274 no_cache=0
6275 # Check whether --enable-filesystem was given.
6276 if test "${enable_filesystem+set}" = set; then
6277 enableval=$enable_filesystem;
6278 if test "$enableval" = yes; then
6279 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6280 else
6281 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6282 fi
6283
6284 else
6285
6286 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
6287 if test "x$LINE" != x ; then
6288 eval "DEFAULT_$LINE"
6289 else
6290 no_cache=1
6291 fi
6292
6293 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6294
6295 fi
6296
6297
6298 eval "$ac_cv_use_filesystem"
6299 if test "$no_cache" != 1; then
6300 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6301 fi
6302
6303 if test "$wxUSE_FILESYSTEM" = yes; then
6304 { echo "$as_me:$LINENO: result: yes" >&5
6305 echo "${ECHO_T}yes" >&6; }
6306 else
6307 { echo "$as_me:$LINENO: result: no" >&5
6308 echo "${ECHO_T}no" >&6; }
6309 fi
6310
6311
6312 enablestring=
6313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6314 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6315 no_cache=0
6316 # Check whether --enable-fontmap was given.
6317 if test "${enable_fontmap+set}" = set; then
6318 enableval=$enable_fontmap;
6319 if test "$enableval" = yes; then
6320 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6321 else
6322 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6323 fi
6324
6325 else
6326
6327 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
6328 if test "x$LINE" != x ; then
6329 eval "DEFAULT_$LINE"
6330 else
6331 no_cache=1
6332 fi
6333
6334 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6335
6336 fi
6337
6338
6339 eval "$ac_cv_use_fontmap"
6340 if test "$no_cache" != 1; then
6341 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6342 fi
6343
6344 if test "$wxUSE_FONTMAP" = yes; then
6345 { echo "$as_me:$LINENO: result: yes" >&5
6346 echo "${ECHO_T}yes" >&6; }
6347 else
6348 { echo "$as_me:$LINENO: result: no" >&5
6349 echo "${ECHO_T}no" >&6; }
6350 fi
6351
6352
6353 enablestring=
6354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6355 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6356 no_cache=0
6357 # Check whether --enable-fs_archive was given.
6358 if test "${enable_fs_archive+set}" = set; then
6359 enableval=$enable_fs_archive;
6360 if test "$enableval" = yes; then
6361 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6362 else
6363 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6364 fi
6365
6366 else
6367
6368 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
6369 if test "x$LINE" != x ; then
6370 eval "DEFAULT_$LINE"
6371 else
6372 no_cache=1
6373 fi
6374
6375 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6376
6377 fi
6378
6379
6380 eval "$ac_cv_use_fs_archive"
6381 if test "$no_cache" != 1; then
6382 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6383 fi
6384
6385 if test "$wxUSE_FS_ARCHIVE" = yes; then
6386 { echo "$as_me:$LINENO: result: yes" >&5
6387 echo "${ECHO_T}yes" >&6; }
6388 else
6389 { echo "$as_me:$LINENO: result: no" >&5
6390 echo "${ECHO_T}no" >&6; }
6391 fi
6392
6393
6394 enablestring=
6395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6396 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6397 no_cache=0
6398 # Check whether --enable-fs_inet was given.
6399 if test "${enable_fs_inet+set}" = set; then
6400 enableval=$enable_fs_inet;
6401 if test "$enableval" = yes; then
6402 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6403 else
6404 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6405 fi
6406
6407 else
6408
6409 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
6410 if test "x$LINE" != x ; then
6411 eval "DEFAULT_$LINE"
6412 else
6413 no_cache=1
6414 fi
6415
6416 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6417
6418 fi
6419
6420
6421 eval "$ac_cv_use_fs_inet"
6422 if test "$no_cache" != 1; then
6423 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6424 fi
6425
6426 if test "$wxUSE_FS_INET" = yes; then
6427 { echo "$as_me:$LINENO: result: yes" >&5
6428 echo "${ECHO_T}yes" >&6; }
6429 else
6430 { echo "$as_me:$LINENO: result: no" >&5
6431 echo "${ECHO_T}no" >&6; }
6432 fi
6433
6434
6435 enablestring=
6436 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6437 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6438 no_cache=0
6439 # Check whether --enable-fs_zip was given.
6440 if test "${enable_fs_zip+set}" = set; then
6441 enableval=$enable_fs_zip;
6442 if test "$enableval" = yes; then
6443 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6444 else
6445 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6446 fi
6447
6448 else
6449
6450 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
6451 if test "x$LINE" != x ; then
6452 eval "DEFAULT_$LINE"
6453 else
6454 no_cache=1
6455 fi
6456
6457 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6458
6459 fi
6460
6461
6462 eval "$ac_cv_use_fs_zip"
6463 if test "$no_cache" != 1; then
6464 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6465 fi
6466
6467 if test "$wxUSE_FS_ZIP" = yes; then
6468 { echo "$as_me:$LINENO: result: yes" >&5
6469 echo "${ECHO_T}yes" >&6; }
6470 else
6471 { echo "$as_me:$LINENO: result: no" >&5
6472 echo "${ECHO_T}no" >&6; }
6473 fi
6474
6475
6476 enablestring=
6477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6478 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6479 no_cache=0
6480 # Check whether --enable-geometry was given.
6481 if test "${enable_geometry+set}" = set; then
6482 enableval=$enable_geometry;
6483 if test "$enableval" = yes; then
6484 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6485 else
6486 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6487 fi
6488
6489 else
6490
6491 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
6492 if test "x$LINE" != x ; then
6493 eval "DEFAULT_$LINE"
6494 else
6495 no_cache=1
6496 fi
6497
6498 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6499
6500 fi
6501
6502
6503 eval "$ac_cv_use_geometry"
6504 if test "$no_cache" != 1; then
6505 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6506 fi
6507
6508 if test "$wxUSE_GEOMETRY" = yes; then
6509 { echo "$as_me:$LINENO: result: yes" >&5
6510 echo "${ECHO_T}yes" >&6; }
6511 else
6512 { echo "$as_me:$LINENO: result: no" >&5
6513 echo "${ECHO_T}no" >&6; }
6514 fi
6515
6516
6517 enablestring=
6518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6519 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6520 no_cache=0
6521 # Check whether --enable-log was given.
6522 if test "${enable_log+set}" = set; then
6523 enableval=$enable_log;
6524 if test "$enableval" = yes; then
6525 ac_cv_use_log='wxUSE_LOG=yes'
6526 else
6527 ac_cv_use_log='wxUSE_LOG=no'
6528 fi
6529
6530 else
6531
6532 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
6533 if test "x$LINE" != x ; then
6534 eval "DEFAULT_$LINE"
6535 else
6536 no_cache=1
6537 fi
6538
6539 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6540
6541 fi
6542
6543
6544 eval "$ac_cv_use_log"
6545 if test "$no_cache" != 1; then
6546 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6547 fi
6548
6549 if test "$wxUSE_LOG" = yes; then
6550 { echo "$as_me:$LINENO: result: yes" >&5
6551 echo "${ECHO_T}yes" >&6; }
6552 else
6553 { echo "$as_me:$LINENO: result: no" >&5
6554 echo "${ECHO_T}no" >&6; }
6555 fi
6556
6557
6558 enablestring=
6559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6560 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6561 no_cache=0
6562 # Check whether --enable-longlong was given.
6563 if test "${enable_longlong+set}" = set; then
6564 enableval=$enable_longlong;
6565 if test "$enableval" = yes; then
6566 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6567 else
6568 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6569 fi
6570
6571 else
6572
6573 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
6574 if test "x$LINE" != x ; then
6575 eval "DEFAULT_$LINE"
6576 else
6577 no_cache=1
6578 fi
6579
6580 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6581
6582 fi
6583
6584
6585 eval "$ac_cv_use_longlong"
6586 if test "$no_cache" != 1; then
6587 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6588 fi
6589
6590 if test "$wxUSE_LONGLONG" = yes; then
6591 { echo "$as_me:$LINENO: result: yes" >&5
6592 echo "${ECHO_T}yes" >&6; }
6593 else
6594 { echo "$as_me:$LINENO: result: no" >&5
6595 echo "${ECHO_T}no" >&6; }
6596 fi
6597
6598
6599 enablestring=
6600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6601 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6602 no_cache=0
6603 # Check whether --enable-mimetype was given.
6604 if test "${enable_mimetype+set}" = set; then
6605 enableval=$enable_mimetype;
6606 if test "$enableval" = yes; then
6607 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6608 else
6609 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6610 fi
6611
6612 else
6613
6614 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
6615 if test "x$LINE" != x ; then
6616 eval "DEFAULT_$LINE"
6617 else
6618 no_cache=1
6619 fi
6620
6621 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6622
6623 fi
6624
6625
6626 eval "$ac_cv_use_mimetype"
6627 if test "$no_cache" != 1; then
6628 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6629 fi
6630
6631 if test "$wxUSE_MIMETYPE" = yes; then
6632 { echo "$as_me:$LINENO: result: yes" >&5
6633 echo "${ECHO_T}yes" >&6; }
6634 else
6635 { echo "$as_me:$LINENO: result: no" >&5
6636 echo "${ECHO_T}no" >&6; }
6637 fi
6638
6639
6640 enablestring=
6641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6642 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6643 no_cache=0
6644 # Check whether --enable-mslu was given.
6645 if test "${enable_mslu+set}" = set; then
6646 enableval=$enable_mslu;
6647 if test "$enableval" = yes; then
6648 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6649 else
6650 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6651 fi
6652
6653 else
6654
6655 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
6656 if test "x$LINE" != x ; then
6657 eval "DEFAULT_$LINE"
6658 else
6659 no_cache=1
6660 fi
6661
6662 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6663
6664 fi
6665
6666
6667 eval "$ac_cv_use_mslu"
6668 if test "$no_cache" != 1; then
6669 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6670 fi
6671
6672 if test "$wxUSE_UNICODE_MSLU" = yes; then
6673 { echo "$as_me:$LINENO: result: yes" >&5
6674 echo "${ECHO_T}yes" >&6; }
6675 else
6676 { echo "$as_me:$LINENO: result: no" >&5
6677 echo "${ECHO_T}no" >&6; }
6678 fi
6679
6680
6681 enablestring=
6682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6683 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6684 no_cache=0
6685 # Check whether --enable-snglinst was given.
6686 if test "${enable_snglinst+set}" = set; then
6687 enableval=$enable_snglinst;
6688 if test "$enableval" = yes; then
6689 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6690 else
6691 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6692 fi
6693
6694 else
6695
6696 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6697 if test "x$LINE" != x ; then
6698 eval "DEFAULT_$LINE"
6699 else
6700 no_cache=1
6701 fi
6702
6703 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6704
6705 fi
6706
6707
6708 eval "$ac_cv_use_snglinst"
6709 if test "$no_cache" != 1; then
6710 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6711 fi
6712
6713 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6714 { echo "$as_me:$LINENO: result: yes" >&5
6715 echo "${ECHO_T}yes" >&6; }
6716 else
6717 { echo "$as_me:$LINENO: result: no" >&5
6718 echo "${ECHO_T}no" >&6; }
6719 fi
6720
6721
6722 enablestring=
6723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6724 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6725 no_cache=0
6726 # Check whether --enable-std_iostreams was given.
6727 if test "${enable_std_iostreams+set}" = set; then
6728 enableval=$enable_std_iostreams;
6729 if test "$enableval" = yes; then
6730 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6731 else
6732 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6733 fi
6734
6735 else
6736
6737 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6738 if test "x$LINE" != x ; then
6739 eval "DEFAULT_$LINE"
6740 else
6741 no_cache=1
6742 fi
6743
6744 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6745
6746 fi
6747
6748
6749 eval "$ac_cv_use_std_iostreams"
6750 if test "$no_cache" != 1; then
6751 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6752 fi
6753
6754 if test "$wxUSE_STD_IOSTREAM" = yes; then
6755 { echo "$as_me:$LINENO: result: yes" >&5
6756 echo "${ECHO_T}yes" >&6; }
6757 else
6758 { echo "$as_me:$LINENO: result: no" >&5
6759 echo "${ECHO_T}no" >&6; }
6760 fi
6761
6762
6763 enablestring=
6764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6765 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6766 no_cache=0
6767 # Check whether --enable-std_string was given.
6768 if test "${enable_std_string+set}" = set; then
6769 enableval=$enable_std_string;
6770 if test "$enableval" = yes; then
6771 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6772 else
6773 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6774 fi
6775
6776 else
6777
6778 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6779 if test "x$LINE" != x ; then
6780 eval "DEFAULT_$LINE"
6781 else
6782 no_cache=1
6783 fi
6784
6785 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6786
6787 fi
6788
6789
6790 eval "$ac_cv_use_std_string"
6791 if test "$no_cache" != 1; then
6792 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6793 fi
6794
6795 if test "$wxUSE_STD_STRING" = yes; then
6796 { echo "$as_me:$LINENO: result: yes" >&5
6797 echo "${ECHO_T}yes" >&6; }
6798 else
6799 { echo "$as_me:$LINENO: result: no" >&5
6800 echo "${ECHO_T}no" >&6; }
6801 fi
6802
6803
6804 enablestring=
6805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6806 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6807 no_cache=0
6808 # Check whether --enable-stdpaths was given.
6809 if test "${enable_stdpaths+set}" = set; then
6810 enableval=$enable_stdpaths;
6811 if test "$enableval" = yes; then
6812 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6813 else
6814 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6815 fi
6816
6817 else
6818
6819 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6820 if test "x$LINE" != x ; then
6821 eval "DEFAULT_$LINE"
6822 else
6823 no_cache=1
6824 fi
6825
6826 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6827
6828 fi
6829
6830
6831 eval "$ac_cv_use_stdpaths"
6832 if test "$no_cache" != 1; then
6833 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6834 fi
6835
6836 if test "$wxUSE_STDPATHS" = yes; then
6837 { echo "$as_me:$LINENO: result: yes" >&5
6838 echo "${ECHO_T}yes" >&6; }
6839 else
6840 { echo "$as_me:$LINENO: result: no" >&5
6841 echo "${ECHO_T}no" >&6; }
6842 fi
6843
6844
6845 enablestring=
6846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6847 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
6848 no_cache=0
6849 # Check whether --enable-stopwatch was given.
6850 if test "${enable_stopwatch+set}" = set; then
6851 enableval=$enable_stopwatch;
6852 if test "$enableval" = yes; then
6853 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6854 else
6855 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6856 fi
6857
6858 else
6859
6860 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6861 if test "x$LINE" != x ; then
6862 eval "DEFAULT_$LINE"
6863 else
6864 no_cache=1
6865 fi
6866
6867 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6868
6869 fi
6870
6871
6872 eval "$ac_cv_use_stopwatch"
6873 if test "$no_cache" != 1; then
6874 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6875 fi
6876
6877 if test "$wxUSE_STOPWATCH" = yes; then
6878 { echo "$as_me:$LINENO: result: yes" >&5
6879 echo "${ECHO_T}yes" >&6; }
6880 else
6881 { echo "$as_me:$LINENO: result: no" >&5
6882 echo "${ECHO_T}no" >&6; }
6883 fi
6884
6885
6886 enablestring=
6887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6888 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
6889 no_cache=0
6890 # Check whether --enable-streams was given.
6891 if test "${enable_streams+set}" = set; then
6892 enableval=$enable_streams;
6893 if test "$enableval" = yes; then
6894 ac_cv_use_streams='wxUSE_STREAMS=yes'
6895 else
6896 ac_cv_use_streams='wxUSE_STREAMS=no'
6897 fi
6898
6899 else
6900
6901 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6902 if test "x$LINE" != x ; then
6903 eval "DEFAULT_$LINE"
6904 else
6905 no_cache=1
6906 fi
6907
6908 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6909
6910 fi
6911
6912
6913 eval "$ac_cv_use_streams"
6914 if test "$no_cache" != 1; then
6915 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6916 fi
6917
6918 if test "$wxUSE_STREAMS" = yes; then
6919 { echo "$as_me:$LINENO: result: yes" >&5
6920 echo "${ECHO_T}yes" >&6; }
6921 else
6922 { echo "$as_me:$LINENO: result: no" >&5
6923 echo "${ECHO_T}no" >&6; }
6924 fi
6925
6926
6927 enablestring=
6928 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6929 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
6930 no_cache=0
6931 # Check whether --enable-system_options was given.
6932 if test "${enable_system_options+set}" = set; then
6933 enableval=$enable_system_options;
6934 if test "$enableval" = yes; then
6935 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6936 else
6937 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6938 fi
6939
6940 else
6941
6942 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6943 if test "x$LINE" != x ; then
6944 eval "DEFAULT_$LINE"
6945 else
6946 no_cache=1
6947 fi
6948
6949 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6950
6951 fi
6952
6953
6954 eval "$ac_cv_use_system_options"
6955 if test "$no_cache" != 1; then
6956 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6957 fi
6958
6959 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6960 { echo "$as_me:$LINENO: result: yes" >&5
6961 echo "${ECHO_T}yes" >&6; }
6962 else
6963 { echo "$as_me:$LINENO: result: no" >&5
6964 echo "${ECHO_T}no" >&6; }
6965 fi
6966
6967
6968 enablestring=
6969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6970 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
6971 no_cache=0
6972 # Check whether --enable-tarstream was given.
6973 if test "${enable_tarstream+set}" = set; then
6974 enableval=$enable_tarstream;
6975 if test "$enableval" = yes; then
6976 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6977 else
6978 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6979 fi
6980
6981 else
6982
6983 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6984 if test "x$LINE" != x ; then
6985 eval "DEFAULT_$LINE"
6986 else
6987 no_cache=1
6988 fi
6989
6990 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
6991
6992 fi
6993
6994
6995 eval "$ac_cv_use_tarstream"
6996 if test "$no_cache" != 1; then
6997 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6998 fi
6999
7000 if test "$wxUSE_TARSTREAM" = yes; then
7001 { echo "$as_me:$LINENO: result: yes" >&5
7002 echo "${ECHO_T}yes" >&6; }
7003 else
7004 { echo "$as_me:$LINENO: result: no" >&5
7005 echo "${ECHO_T}no" >&6; }
7006 fi
7007
7008
7009 enablestring=
7010 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7011 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7012 no_cache=0
7013 # Check whether --enable-textbuf was given.
7014 if test "${enable_textbuf+set}" = set; then
7015 enableval=$enable_textbuf;
7016 if test "$enableval" = yes; then
7017 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7018 else
7019 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7020 fi
7021
7022 else
7023
7024 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
7025 if test "x$LINE" != x ; then
7026 eval "DEFAULT_$LINE"
7027 else
7028 no_cache=1
7029 fi
7030
7031 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7032
7033 fi
7034
7035
7036 eval "$ac_cv_use_textbuf"
7037 if test "$no_cache" != 1; then
7038 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7039 fi
7040
7041 if test "$wxUSE_TEXTBUFFER" = yes; then
7042 { echo "$as_me:$LINENO: result: yes" >&5
7043 echo "${ECHO_T}yes" >&6; }
7044 else
7045 { echo "$as_me:$LINENO: result: no" >&5
7046 echo "${ECHO_T}no" >&6; }
7047 fi
7048
7049
7050 enablestring=
7051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7052 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7053 no_cache=0
7054 # Check whether --enable-textfile was given.
7055 if test "${enable_textfile+set}" = set; then
7056 enableval=$enable_textfile;
7057 if test "$enableval" = yes; then
7058 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7059 else
7060 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7061 fi
7062
7063 else
7064
7065 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
7066 if test "x$LINE" != x ; then
7067 eval "DEFAULT_$LINE"
7068 else
7069 no_cache=1
7070 fi
7071
7072 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7073
7074 fi
7075
7076
7077 eval "$ac_cv_use_textfile"
7078 if test "$no_cache" != 1; then
7079 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7080 fi
7081
7082 if test "$wxUSE_TEXTFILE" = yes; then
7083 { echo "$as_me:$LINENO: result: yes" >&5
7084 echo "${ECHO_T}yes" >&6; }
7085 else
7086 { echo "$as_me:$LINENO: result: no" >&5
7087 echo "${ECHO_T}no" >&6; }
7088 fi
7089
7090
7091 enablestring=
7092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7093 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7094 no_cache=0
7095 # Check whether --enable-timer was given.
7096 if test "${enable_timer+set}" = set; then
7097 enableval=$enable_timer;
7098 if test "$enableval" = yes; then
7099 ac_cv_use_timer='wxUSE_TIMER=yes'
7100 else
7101 ac_cv_use_timer='wxUSE_TIMER=no'
7102 fi
7103
7104 else
7105
7106 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
7107 if test "x$LINE" != x ; then
7108 eval "DEFAULT_$LINE"
7109 else
7110 no_cache=1
7111 fi
7112
7113 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7114
7115 fi
7116
7117
7118 eval "$ac_cv_use_timer"
7119 if test "$no_cache" != 1; then
7120 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7121 fi
7122
7123 if test "$wxUSE_TIMER" = yes; then
7124 { echo "$as_me:$LINENO: result: yes" >&5
7125 echo "${ECHO_T}yes" >&6; }
7126 else
7127 { echo "$as_me:$LINENO: result: no" >&5
7128 echo "${ECHO_T}no" >&6; }
7129 fi
7130
7131
7132 enablestring=
7133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7134 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7135 no_cache=0
7136 # Check whether --enable-unicode was given.
7137 if test "${enable_unicode+set}" = set; then
7138 enableval=$enable_unicode;
7139 if test "$enableval" = yes; then
7140 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7141 else
7142 ac_cv_use_unicode='wxUSE_UNICODE=no'
7143 fi
7144
7145 else
7146
7147 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
7148 if test "x$LINE" != x ; then
7149 eval "DEFAULT_$LINE"
7150 else
7151 no_cache=1
7152 fi
7153
7154 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7155
7156 fi
7157
7158
7159 eval "$ac_cv_use_unicode"
7160 if test "$no_cache" != 1; then
7161 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7162 fi
7163
7164 if test "$wxUSE_UNICODE" = yes; then
7165 { echo "$as_me:$LINENO: result: yes" >&5
7166 echo "${ECHO_T}yes" >&6; }
7167 else
7168 { echo "$as_me:$LINENO: result: no" >&5
7169 echo "${ECHO_T}no" >&6; }
7170 fi
7171
7172
7173 enablestring=
7174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7175 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7176 no_cache=0
7177 # Check whether --enable-sound was given.
7178 if test "${enable_sound+set}" = set; then
7179 enableval=$enable_sound;
7180 if test "$enableval" = yes; then
7181 ac_cv_use_sound='wxUSE_SOUND=yes'
7182 else
7183 ac_cv_use_sound='wxUSE_SOUND=no'
7184 fi
7185
7186 else
7187
7188 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
7189 if test "x$LINE" != x ; then
7190 eval "DEFAULT_$LINE"
7191 else
7192 no_cache=1
7193 fi
7194
7195 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7196
7197 fi
7198
7199
7200 eval "$ac_cv_use_sound"
7201 if test "$no_cache" != 1; then
7202 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7203 fi
7204
7205 if test "$wxUSE_SOUND" = yes; then
7206 { echo "$as_me:$LINENO: result: yes" >&5
7207 echo "${ECHO_T}yes" >&6; }
7208 else
7209 { echo "$as_me:$LINENO: result: no" >&5
7210 echo "${ECHO_T}no" >&6; }
7211 fi
7212
7213
7214 enablestring=
7215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7216 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7217 no_cache=0
7218 # Check whether --enable-mediactrl was given.
7219 if test "${enable_mediactrl+set}" = set; then
7220 enableval=$enable_mediactrl;
7221 if test "$enableval" = yes; then
7222 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7223 else
7224 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7225 fi
7226
7227 else
7228
7229 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
7230 if test "x$LINE" != x ; then
7231 eval "DEFAULT_$LINE"
7232 else
7233 no_cache=1
7234 fi
7235
7236 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7237
7238 fi
7239
7240
7241 eval "$ac_cv_use_mediactrl"
7242 if test "$no_cache" != 1; then
7243 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7244 fi
7245
7246 if test "$wxUSE_MEDIACTRL" = yes; then
7247 { echo "$as_me:$LINENO: result: yes" >&5
7248 echo "${ECHO_T}yes" >&6; }
7249 else
7250 { echo "$as_me:$LINENO: result: no" >&5
7251 echo "${ECHO_T}no" >&6; }
7252 fi
7253
7254
7255 enablestring=
7256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7257 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7258 no_cache=0
7259 # Check whether --enable-gstreamer8 was given.
7260 if test "${enable_gstreamer8+set}" = set; then
7261 enableval=$enable_gstreamer8;
7262 if test "$enableval" = yes; then
7263 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7264 else
7265 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7266 fi
7267
7268 else
7269
7270 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
7271 if test "x$LINE" != x ; then
7272 eval "DEFAULT_$LINE"
7273 else
7274 no_cache=1
7275 fi
7276
7277 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7278
7279 fi
7280
7281
7282 eval "$ac_cv_use_gstreamer8"
7283 if test "$no_cache" != 1; then
7284 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7285 fi
7286
7287 if test "$wxUSE_GSTREAMER8" = yes; then
7288 { echo "$as_me:$LINENO: result: yes" >&5
7289 echo "${ECHO_T}yes" >&6; }
7290 else
7291 { echo "$as_me:$LINENO: result: no" >&5
7292 echo "${ECHO_T}no" >&6; }
7293 fi
7294
7295
7296 enablestring=
7297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7298 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7299 no_cache=0
7300 # Check whether --enable-printfposparam was given.
7301 if test "${enable_printfposparam+set}" = set; then
7302 enableval=$enable_printfposparam;
7303 if test "$enableval" = yes; then
7304 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7305 else
7306 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7307 fi
7308
7309 else
7310
7311 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
7312 if test "x$LINE" != x ; then
7313 eval "DEFAULT_$LINE"
7314 else
7315 no_cache=1
7316 fi
7317
7318 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7319
7320 fi
7321
7322
7323 eval "$ac_cv_use_printfposparam"
7324 if test "$no_cache" != 1; then
7325 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7326 fi
7327
7328 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7329 { echo "$as_me:$LINENO: result: yes" >&5
7330 echo "${ECHO_T}yes" >&6; }
7331 else
7332 { echo "$as_me:$LINENO: result: no" >&5
7333 echo "${ECHO_T}no" >&6; }
7334 fi
7335
7336
7337 enablestring=
7338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7339 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7340 no_cache=0
7341 # Check whether --enable-zipstream was given.
7342 if test "${enable_zipstream+set}" = set; then
7343 enableval=$enable_zipstream;
7344 if test "$enableval" = yes; then
7345 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7346 else
7347 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7348 fi
7349
7350 else
7351
7352 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
7353 if test "x$LINE" != x ; then
7354 eval "DEFAULT_$LINE"
7355 else
7356 no_cache=1
7357 fi
7358
7359 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7360
7361 fi
7362
7363
7364 eval "$ac_cv_use_zipstream"
7365 if test "$no_cache" != 1; then
7366 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7367 fi
7368
7369 if test "$wxUSE_ZIPSTREAM" = yes; then
7370 { echo "$as_me:$LINENO: result: yes" >&5
7371 echo "${ECHO_T}yes" >&6; }
7372 else
7373 { echo "$as_me:$LINENO: result: no" >&5
7374 echo "${ECHO_T}no" >&6; }
7375 fi
7376
7377
7378
7379 enablestring=
7380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7381 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7382 no_cache=0
7383 # Check whether --enable-url was given.
7384 if test "${enable_url+set}" = set; then
7385 enableval=$enable_url;
7386 if test "$enableval" = yes; then
7387 ac_cv_use_url='wxUSE_URL=yes'
7388 else
7389 ac_cv_use_url='wxUSE_URL=no'
7390 fi
7391
7392 else
7393
7394 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
7395 if test "x$LINE" != x ; then
7396 eval "DEFAULT_$LINE"
7397 else
7398 no_cache=1
7399 fi
7400
7401 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7402
7403 fi
7404
7405
7406 eval "$ac_cv_use_url"
7407 if test "$no_cache" != 1; then
7408 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7409 fi
7410
7411 if test "$wxUSE_URL" = yes; then
7412 { echo "$as_me:$LINENO: result: yes" >&5
7413 echo "${ECHO_T}yes" >&6; }
7414 else
7415 { echo "$as_me:$LINENO: result: no" >&5
7416 echo "${ECHO_T}no" >&6; }
7417 fi
7418
7419
7420 enablestring=
7421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7422 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7423 no_cache=0
7424 # Check whether --enable-variant was given.
7425 if test "${enable_variant+set}" = set; then
7426 enableval=$enable_variant;
7427 if test "$enableval" = yes; then
7428 ac_cv_use_variant='wxUSE_VARIANT=yes'
7429 else
7430 ac_cv_use_variant='wxUSE_VARIANT=no'
7431 fi
7432
7433 else
7434
7435 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
7436 if test "x$LINE" != x ; then
7437 eval "DEFAULT_$LINE"
7438 else
7439 no_cache=1
7440 fi
7441
7442 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7443
7444 fi
7445
7446
7447 eval "$ac_cv_use_variant"
7448 if test "$no_cache" != 1; then
7449 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7450 fi
7451
7452 if test "$wxUSE_VARIANT" = yes; then
7453 { echo "$as_me:$LINENO: result: yes" >&5
7454 echo "${ECHO_T}yes" >&6; }
7455 else
7456 { echo "$as_me:$LINENO: result: no" >&5
7457 echo "${ECHO_T}no" >&6; }
7458 fi
7459
7460
7461 enablestring=
7462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7463 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7464 no_cache=0
7465 # Check whether --enable-protocol was given.
7466 if test "${enable_protocol+set}" = set; then
7467 enableval=$enable_protocol;
7468 if test "$enableval" = yes; then
7469 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7470 else
7471 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7472 fi
7473
7474 else
7475
7476 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
7477 if test "x$LINE" != x ; then
7478 eval "DEFAULT_$LINE"
7479 else
7480 no_cache=1
7481 fi
7482
7483 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7484
7485 fi
7486
7487
7488 eval "$ac_cv_use_protocol"
7489 if test "$no_cache" != 1; then
7490 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7491 fi
7492
7493 if test "$wxUSE_PROTOCOL" = yes; then
7494 { echo "$as_me:$LINENO: result: yes" >&5
7495 echo "${ECHO_T}yes" >&6; }
7496 else
7497 { echo "$as_me:$LINENO: result: no" >&5
7498 echo "${ECHO_T}no" >&6; }
7499 fi
7500
7501
7502 enablestring=
7503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7504 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7505 no_cache=0
7506 # Check whether --enable-protocol_http was given.
7507 if test "${enable_protocol_http+set}" = set; then
7508 enableval=$enable_protocol_http;
7509 if test "$enableval" = yes; then
7510 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7511 else
7512 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7513 fi
7514
7515 else
7516
7517 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
7518 if test "x$LINE" != x ; then
7519 eval "DEFAULT_$LINE"
7520 else
7521 no_cache=1
7522 fi
7523
7524 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7525
7526 fi
7527
7528
7529 eval "$ac_cv_use_protocol_http"
7530 if test "$no_cache" != 1; then
7531 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7532 fi
7533
7534 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7535 { echo "$as_me:$LINENO: result: yes" >&5
7536 echo "${ECHO_T}yes" >&6; }
7537 else
7538 { echo "$as_me:$LINENO: result: no" >&5
7539 echo "${ECHO_T}no" >&6; }
7540 fi
7541
7542
7543 enablestring=
7544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7545 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7546 no_cache=0
7547 # Check whether --enable-protocol_ftp was given.
7548 if test "${enable_protocol_ftp+set}" = set; then
7549 enableval=$enable_protocol_ftp;
7550 if test "$enableval" = yes; then
7551 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7552 else
7553 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7554 fi
7555
7556 else
7557
7558 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
7559 if test "x$LINE" != x ; then
7560 eval "DEFAULT_$LINE"
7561 else
7562 no_cache=1
7563 fi
7564
7565 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7566
7567 fi
7568
7569
7570 eval "$ac_cv_use_protocol_ftp"
7571 if test "$no_cache" != 1; then
7572 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7573 fi
7574
7575 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7576 { echo "$as_me:$LINENO: result: yes" >&5
7577 echo "${ECHO_T}yes" >&6; }
7578 else
7579 { echo "$as_me:$LINENO: result: no" >&5
7580 echo "${ECHO_T}no" >&6; }
7581 fi
7582
7583
7584 enablestring=
7585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7586 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7587 no_cache=0
7588 # Check whether --enable-protocol_file was given.
7589 if test "${enable_protocol_file+set}" = set; then
7590 enableval=$enable_protocol_file;
7591 if test "$enableval" = yes; then
7592 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7593 else
7594 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7595 fi
7596
7597 else
7598
7599 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
7600 if test "x$LINE" != x ; then
7601 eval "DEFAULT_$LINE"
7602 else
7603 no_cache=1
7604 fi
7605
7606 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7607
7608 fi
7609
7610
7611 eval "$ac_cv_use_protocol_file"
7612 if test "$no_cache" != 1; then
7613 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7614 fi
7615
7616 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7617 { echo "$as_me:$LINENO: result: yes" >&5
7618 echo "${ECHO_T}yes" >&6; }
7619 else
7620 { echo "$as_me:$LINENO: result: no" >&5
7621 echo "${ECHO_T}no" >&6; }
7622 fi
7623
7624
7625
7626
7627
7628 enablestring=
7629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7630 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7631 no_cache=0
7632 # Check whether --enable-threads was given.
7633 if test "${enable_threads+set}" = set; then
7634 enableval=$enable_threads;
7635 if test "$enableval" = yes; then
7636 ac_cv_use_threads='wxUSE_THREADS=yes'
7637 else
7638 ac_cv_use_threads='wxUSE_THREADS=no'
7639 fi
7640
7641 else
7642
7643 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
7644 if test "x$LINE" != x ; then
7645 eval "DEFAULT_$LINE"
7646 else
7647 no_cache=1
7648 fi
7649
7650 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7651
7652 fi
7653
7654
7655 eval "$ac_cv_use_threads"
7656 if test "$no_cache" != 1; then
7657 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7658 fi
7659
7660 if test "$wxUSE_THREADS" = yes; then
7661 { echo "$as_me:$LINENO: result: yes" >&5
7662 echo "${ECHO_T}yes" >&6; }
7663 else
7664 { echo "$as_me:$LINENO: result: no" >&5
7665 echo "${ECHO_T}no" >&6; }
7666 fi
7667
7668
7669 if test "$wxUSE_GUI" = "yes"; then
7670
7671
7672
7673 enablestring=
7674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7675 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7676 no_cache=0
7677 # Check whether --enable-docview was given.
7678 if test "${enable_docview+set}" = set; then
7679 enableval=$enable_docview;
7680 if test "$enableval" = yes; then
7681 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7682 else
7683 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7684 fi
7685
7686 else
7687
7688 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7689 if test "x$LINE" != x ; then
7690 eval "DEFAULT_$LINE"
7691 else
7692 no_cache=1
7693 fi
7694
7695 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7696
7697 fi
7698
7699
7700 eval "$ac_cv_use_docview"
7701 if test "$no_cache" != 1; then
7702 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7703 fi
7704
7705 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7706 { echo "$as_me:$LINENO: result: yes" >&5
7707 echo "${ECHO_T}yes" >&6; }
7708 else
7709 { echo "$as_me:$LINENO: result: no" >&5
7710 echo "${ECHO_T}no" >&6; }
7711 fi
7712
7713
7714 enablestring=
7715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7716 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7717 no_cache=0
7718 # Check whether --enable-help was given.
7719 if test "${enable_help+set}" = set; then
7720 enableval=$enable_help;
7721 if test "$enableval" = yes; then
7722 ac_cv_use_help='wxUSE_HELP=yes'
7723 else
7724 ac_cv_use_help='wxUSE_HELP=no'
7725 fi
7726
7727 else
7728
7729 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7730 if test "x$LINE" != x ; then
7731 eval "DEFAULT_$LINE"
7732 else
7733 no_cache=1
7734 fi
7735
7736 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7737
7738 fi
7739
7740
7741 eval "$ac_cv_use_help"
7742 if test "$no_cache" != 1; then
7743 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7744 fi
7745
7746 if test "$wxUSE_HELP" = yes; then
7747 { echo "$as_me:$LINENO: result: yes" >&5
7748 echo "${ECHO_T}yes" >&6; }
7749 else
7750 { echo "$as_me:$LINENO: result: no" >&5
7751 echo "${ECHO_T}no" >&6; }
7752 fi
7753
7754
7755 enablestring=
7756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7757 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7758 no_cache=0
7759 # Check whether --enable-mshtmlhelp was given.
7760 if test "${enable_mshtmlhelp+set}" = set; then
7761 enableval=$enable_mshtmlhelp;
7762 if test "$enableval" = yes; then
7763 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7764 else
7765 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7766 fi
7767
7768 else
7769
7770 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7771 if test "x$LINE" != x ; then
7772 eval "DEFAULT_$LINE"
7773 else
7774 no_cache=1
7775 fi
7776
7777 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7778
7779 fi
7780
7781
7782 eval "$ac_cv_use_mshtmlhelp"
7783 if test "$no_cache" != 1; then
7784 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7785 fi
7786
7787 if test "$wxUSE_MS_HTML_HELP" = yes; then
7788 { echo "$as_me:$LINENO: result: yes" >&5
7789 echo "${ECHO_T}yes" >&6; }
7790 else
7791 { echo "$as_me:$LINENO: result: no" >&5
7792 echo "${ECHO_T}no" >&6; }
7793 fi
7794
7795
7796 enablestring=
7797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7798 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7799 no_cache=0
7800 # Check whether --enable-html was given.
7801 if test "${enable_html+set}" = set; then
7802 enableval=$enable_html;
7803 if test "$enableval" = yes; then
7804 ac_cv_use_html='wxUSE_HTML=yes'
7805 else
7806 ac_cv_use_html='wxUSE_HTML=no'
7807 fi
7808
7809 else
7810
7811 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7812 if test "x$LINE" != x ; then
7813 eval "DEFAULT_$LINE"
7814 else
7815 no_cache=1
7816 fi
7817
7818 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7819
7820 fi
7821
7822
7823 eval "$ac_cv_use_html"
7824 if test "$no_cache" != 1; then
7825 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7826 fi
7827
7828 if test "$wxUSE_HTML" = yes; then
7829 { echo "$as_me:$LINENO: result: yes" >&5
7830 echo "${ECHO_T}yes" >&6; }
7831 else
7832 { echo "$as_me:$LINENO: result: no" >&5
7833 echo "${ECHO_T}no" >&6; }
7834 fi
7835
7836
7837 enablestring=
7838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7839 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
7840 no_cache=0
7841 # Check whether --enable-htmlhelp was given.
7842 if test "${enable_htmlhelp+set}" = set; then
7843 enableval=$enable_htmlhelp;
7844 if test "$enableval" = yes; then
7845 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7846 else
7847 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7848 fi
7849
7850 else
7851
7852 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7853 if test "x$LINE" != x ; then
7854 eval "DEFAULT_$LINE"
7855 else
7856 no_cache=1
7857 fi
7858
7859 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7860
7861 fi
7862
7863
7864 eval "$ac_cv_use_htmlhelp"
7865 if test "$no_cache" != 1; then
7866 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7867 fi
7868
7869 if test "$wxUSE_WXHTML_HELP" = yes; then
7870 { echo "$as_me:$LINENO: result: yes" >&5
7871 echo "${ECHO_T}yes" >&6; }
7872 else
7873 { echo "$as_me:$LINENO: result: no" >&5
7874 echo "${ECHO_T}no" >&6; }
7875 fi
7876
7877
7878 enablestring=
7879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7880 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
7881 no_cache=0
7882 # Check whether --enable-xrc was given.
7883 if test "${enable_xrc+set}" = set; then
7884 enableval=$enable_xrc;
7885 if test "$enableval" = yes; then
7886 ac_cv_use_xrc='wxUSE_XRC=yes'
7887 else
7888 ac_cv_use_xrc='wxUSE_XRC=no'
7889 fi
7890
7891 else
7892
7893 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7894 if test "x$LINE" != x ; then
7895 eval "DEFAULT_$LINE"
7896 else
7897 no_cache=1
7898 fi
7899
7900 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7901
7902 fi
7903
7904
7905 eval "$ac_cv_use_xrc"
7906 if test "$no_cache" != 1; then
7907 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7908 fi
7909
7910 if test "$wxUSE_XRC" = yes; then
7911 { echo "$as_me:$LINENO: result: yes" >&5
7912 echo "${ECHO_T}yes" >&6; }
7913 else
7914 { echo "$as_me:$LINENO: result: no" >&5
7915 echo "${ECHO_T}no" >&6; }
7916 fi
7917
7918
7919 enablestring=
7920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7921 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
7922 no_cache=0
7923 # Check whether --enable-aui was given.
7924 if test "${enable_aui+set}" = set; then
7925 enableval=$enable_aui;
7926 if test "$enableval" = yes; then
7927 ac_cv_use_aui='wxUSE_AUI=yes'
7928 else
7929 ac_cv_use_aui='wxUSE_AUI=no'
7930 fi
7931
7932 else
7933
7934 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7935 if test "x$LINE" != x ; then
7936 eval "DEFAULT_$LINE"
7937 else
7938 no_cache=1
7939 fi
7940
7941 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7942
7943 fi
7944
7945
7946 eval "$ac_cv_use_aui"
7947 if test "$no_cache" != 1; then
7948 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7949 fi
7950
7951 if test "$wxUSE_AUI" = yes; then
7952 { echo "$as_me:$LINENO: result: yes" >&5
7953 echo "${ECHO_T}yes" >&6; }
7954 else
7955 { echo "$as_me:$LINENO: result: no" >&5
7956 echo "${ECHO_T}no" >&6; }
7957 fi
7958
7959
7960 enablestring=
7961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
7962 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
7963 no_cache=0
7964 # Check whether --enable-stc was given.
7965 if test "${enable_stc+set}" = set; then
7966 enableval=$enable_stc;
7967 if test "$enableval" = yes; then
7968 ac_cv_use_stc='wxUSE_STC=yes'
7969 else
7970 ac_cv_use_stc='wxUSE_STC=no'
7971 fi
7972
7973 else
7974
7975 LINE=`grep "wxUSE_STC" ${wx_arg_cache_file}`
7976 if test "x$LINE" != x ; then
7977 eval "DEFAULT_$LINE"
7978 else
7979 no_cache=1
7980 fi
7981
7982 ac_cv_use_stc='wxUSE_STC='$DEFAULT_wxUSE_STC
7983
7984 fi
7985
7986
7987 eval "$ac_cv_use_stc"
7988 if test "$no_cache" != 1; then
7989 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
7990 fi
7991
7992 if test "$wxUSE_STC" = yes; then
7993 { echo "$as_me:$LINENO: result: yes" >&5
7994 echo "${ECHO_T}yes" >&6; }
7995 else
7996 { echo "$as_me:$LINENO: result: no" >&5
7997 echo "${ECHO_T}no" >&6; }
7998 fi
7999
8000
8001 enablestring=
8002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8003 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8004 no_cache=0
8005 # Check whether --enable-constraints was given.
8006 if test "${enable_constraints+set}" = set; then
8007 enableval=$enable_constraints;
8008 if test "$enableval" = yes; then
8009 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8010 else
8011 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8012 fi
8013
8014 else
8015
8016 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
8017 if test "x$LINE" != x ; then
8018 eval "DEFAULT_$LINE"
8019 else
8020 no_cache=1
8021 fi
8022
8023 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
8024
8025 fi
8026
8027
8028 eval "$ac_cv_use_constraints"
8029 if test "$no_cache" != 1; then
8030 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8031 fi
8032
8033 if test "$wxUSE_CONSTRAINTS" = yes; then
8034 { echo "$as_me:$LINENO: result: yes" >&5
8035 echo "${ECHO_T}yes" >&6; }
8036 else
8037 { echo "$as_me:$LINENO: result: no" >&5
8038 echo "${ECHO_T}no" >&6; }
8039 fi
8040
8041
8042 enablestring=
8043 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8044 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8045 no_cache=0
8046 # Check whether --enable-printarch was given.
8047 if test "${enable_printarch+set}" = set; then
8048 enableval=$enable_printarch;
8049 if test "$enableval" = yes; then
8050 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8051 else
8052 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8053 fi
8054
8055 else
8056
8057 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
8058 if test "x$LINE" != x ; then
8059 eval "DEFAULT_$LINE"
8060 else
8061 no_cache=1
8062 fi
8063
8064 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8065
8066 fi
8067
8068
8069 eval "$ac_cv_use_printarch"
8070 if test "$no_cache" != 1; then
8071 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8072 fi
8073
8074 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8075 { echo "$as_me:$LINENO: result: yes" >&5
8076 echo "${ECHO_T}yes" >&6; }
8077 else
8078 { echo "$as_me:$LINENO: result: no" >&5
8079 echo "${ECHO_T}no" >&6; }
8080 fi
8081
8082
8083 enablestring=
8084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8085 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8086 no_cache=0
8087 # Check whether --enable-mdi was given.
8088 if test "${enable_mdi+set}" = set; then
8089 enableval=$enable_mdi;
8090 if test "$enableval" = yes; then
8091 ac_cv_use_mdi='wxUSE_MDI=yes'
8092 else
8093 ac_cv_use_mdi='wxUSE_MDI=no'
8094 fi
8095
8096 else
8097
8098 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
8099 if test "x$LINE" != x ; then
8100 eval "DEFAULT_$LINE"
8101 else
8102 no_cache=1
8103 fi
8104
8105 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8106
8107 fi
8108
8109
8110 eval "$ac_cv_use_mdi"
8111 if test "$no_cache" != 1; then
8112 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8113 fi
8114
8115 if test "$wxUSE_MDI" = yes; then
8116 { echo "$as_me:$LINENO: result: yes" >&5
8117 echo "${ECHO_T}yes" >&6; }
8118 else
8119 { echo "$as_me:$LINENO: result: no" >&5
8120 echo "${ECHO_T}no" >&6; }
8121 fi
8122
8123
8124 enablestring=
8125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8126 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8127 no_cache=0
8128 # Check whether --enable-mdidoc was given.
8129 if test "${enable_mdidoc+set}" = set; then
8130 enableval=$enable_mdidoc;
8131 if test "$enableval" = yes; then
8132 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8133 else
8134 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8135 fi
8136
8137 else
8138
8139 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
8140 if test "x$LINE" != x ; then
8141 eval "DEFAULT_$LINE"
8142 else
8143 no_cache=1
8144 fi
8145
8146 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8147
8148 fi
8149
8150
8151 eval "$ac_cv_use_mdidoc"
8152 if test "$no_cache" != 1; then
8153 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8154 fi
8155
8156 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8157 { echo "$as_me:$LINENO: result: yes" >&5
8158 echo "${ECHO_T}yes" >&6; }
8159 else
8160 { echo "$as_me:$LINENO: result: no" >&5
8161 echo "${ECHO_T}no" >&6; }
8162 fi
8163
8164
8165 enablestring=
8166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8167 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8168 no_cache=0
8169 # Check whether --enable-loggui was given.
8170 if test "${enable_loggui+set}" = set; then
8171 enableval=$enable_loggui;
8172 if test "$enableval" = yes; then
8173 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8174 else
8175 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8176 fi
8177
8178 else
8179
8180 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
8181 if test "x$LINE" != x ; then
8182 eval "DEFAULT_$LINE"
8183 else
8184 no_cache=1
8185 fi
8186
8187 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8188
8189 fi
8190
8191
8192 eval "$ac_cv_use_loggui"
8193 if test "$no_cache" != 1; then
8194 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8195 fi
8196
8197 if test "$wxUSE_LOGGUI" = yes; then
8198 { echo "$as_me:$LINENO: result: yes" >&5
8199 echo "${ECHO_T}yes" >&6; }
8200 else
8201 { echo "$as_me:$LINENO: result: no" >&5
8202 echo "${ECHO_T}no" >&6; }
8203 fi
8204
8205
8206 enablestring=
8207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8208 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8209 no_cache=0
8210 # Check whether --enable-logwin was given.
8211 if test "${enable_logwin+set}" = set; then
8212 enableval=$enable_logwin;
8213 if test "$enableval" = yes; then
8214 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8215 else
8216 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8217 fi
8218
8219 else
8220
8221 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
8222 if test "x$LINE" != x ; then
8223 eval "DEFAULT_$LINE"
8224 else
8225 no_cache=1
8226 fi
8227
8228 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8229
8230 fi
8231
8232
8233 eval "$ac_cv_use_logwin"
8234 if test "$no_cache" != 1; then
8235 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8236 fi
8237
8238 if test "$wxUSE_LOGWINDOW" = yes; then
8239 { echo "$as_me:$LINENO: result: yes" >&5
8240 echo "${ECHO_T}yes" >&6; }
8241 else
8242 { echo "$as_me:$LINENO: result: no" >&5
8243 echo "${ECHO_T}no" >&6; }
8244 fi
8245
8246
8247 enablestring=
8248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8249 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8250 no_cache=0
8251 # Check whether --enable-logdialog was given.
8252 if test "${enable_logdialog+set}" = set; then
8253 enableval=$enable_logdialog;
8254 if test "$enableval" = yes; then
8255 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8256 else
8257 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8258 fi
8259
8260 else
8261
8262 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
8263 if test "x$LINE" != x ; then
8264 eval "DEFAULT_$LINE"
8265 else
8266 no_cache=1
8267 fi
8268
8269 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8270
8271 fi
8272
8273
8274 eval "$ac_cv_use_logdialog"
8275 if test "$no_cache" != 1; then
8276 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8277 fi
8278
8279 if test "$wxUSE_LOGDIALOG" = yes; then
8280 { echo "$as_me:$LINENO: result: yes" >&5
8281 echo "${ECHO_T}yes" >&6; }
8282 else
8283 { echo "$as_me:$LINENO: result: no" >&5
8284 echo "${ECHO_T}no" >&6; }
8285 fi
8286
8287
8288 enablestring=
8289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8290 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8291 no_cache=0
8292 # Check whether --enable-webkit was given.
8293 if test "${enable_webkit+set}" = set; then
8294 enableval=$enable_webkit;
8295 if test "$enableval" = yes; then
8296 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8297 else
8298 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8299 fi
8300
8301 else
8302
8303 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
8304 if test "x$LINE" != x ; then
8305 eval "DEFAULT_$LINE"
8306 else
8307 no_cache=1
8308 fi
8309
8310 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8311
8312 fi
8313
8314
8315 eval "$ac_cv_use_webkit"
8316 if test "$no_cache" != 1; then
8317 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8318 fi
8319
8320 if test "$wxUSE_WEBKIT" = yes; then
8321 { echo "$as_me:$LINENO: result: yes" >&5
8322 echo "${ECHO_T}yes" >&6; }
8323 else
8324 { echo "$as_me:$LINENO: result: no" >&5
8325 echo "${ECHO_T}no" >&6; }
8326 fi
8327
8328
8329 enablestring=
8330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8331 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8332 no_cache=0
8333 # Check whether --enable-richtext was given.
8334 if test "${enable_richtext+set}" = set; then
8335 enableval=$enable_richtext;
8336 if test "$enableval" = yes; then
8337 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8338 else
8339 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8340 fi
8341
8342 else
8343
8344 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
8345 if test "x$LINE" != x ; then
8346 eval "DEFAULT_$LINE"
8347 else
8348 no_cache=1
8349 fi
8350
8351 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8352
8353 fi
8354
8355
8356 eval "$ac_cv_use_richtext"
8357 if test "$no_cache" != 1; then
8358 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8359 fi
8360
8361 if test "$wxUSE_RICHTEXT" = yes; then
8362 { echo "$as_me:$LINENO: result: yes" >&5
8363 echo "${ECHO_T}yes" >&6; }
8364 else
8365 { echo "$as_me:$LINENO: result: no" >&5
8366 echo "${ECHO_T}no" >&6; }
8367 fi
8368
8369
8370 enablestring=
8371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8372 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8373 no_cache=0
8374 # Check whether --enable-graphics_ctx was given.
8375 if test "${enable_graphics_ctx+set}" = set; then
8376 enableval=$enable_graphics_ctx;
8377 if test "$enableval" = yes; then
8378 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8379 else
8380 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8381 fi
8382
8383 else
8384
8385 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
8386 if test "x$LINE" != x ; then
8387 eval "DEFAULT_$LINE"
8388 else
8389 no_cache=1
8390 fi
8391
8392 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8393
8394 fi
8395
8396
8397 eval "$ac_cv_use_graphics_ctx"
8398 if test "$no_cache" != 1; then
8399 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8400 fi
8401
8402 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8403 { echo "$as_me:$LINENO: result: yes" >&5
8404 echo "${ECHO_T}yes" >&6; }
8405 else
8406 { echo "$as_me:$LINENO: result: no" >&5
8407 echo "${ECHO_T}no" >&6; }
8408 fi
8409
8410
8411
8412 enablestring=
8413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8414 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8415 no_cache=0
8416 # Check whether --enable-postscript was given.
8417 if test "${enable_postscript+set}" = set; then
8418 enableval=$enable_postscript;
8419 if test "$enableval" = yes; then
8420 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8421 else
8422 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8423 fi
8424
8425 else
8426
8427 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
8428 if test "x$LINE" != x ; then
8429 eval "DEFAULT_$LINE"
8430 else
8431 no_cache=1
8432 fi
8433
8434 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8435
8436 fi
8437
8438
8439 eval "$ac_cv_use_postscript"
8440 if test "$no_cache" != 1; then
8441 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8442 fi
8443
8444 if test "$wxUSE_POSTSCRIPT" = yes; then
8445 { echo "$as_me:$LINENO: result: yes" >&5
8446 echo "${ECHO_T}yes" >&6; }
8447 else
8448 { echo "$as_me:$LINENO: result: no" >&5
8449 echo "${ECHO_T}no" >&6; }
8450 fi
8451
8452
8453
8454
8455
8456 enablestring=
8457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8458 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8459 no_cache=0
8460 # Check whether --enable-clipboard was given.
8461 if test "${enable_clipboard+set}" = set; then
8462 enableval=$enable_clipboard;
8463 if test "$enableval" = yes; then
8464 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8465 else
8466 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8467 fi
8468
8469 else
8470
8471 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
8472 if test "x$LINE" != x ; then
8473 eval "DEFAULT_$LINE"
8474 else
8475 no_cache=1
8476 fi
8477
8478 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8479
8480 fi
8481
8482
8483 eval "$ac_cv_use_clipboard"
8484 if test "$no_cache" != 1; then
8485 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8486 fi
8487
8488 if test "$wxUSE_CLIPBOARD" = yes; then
8489 { echo "$as_me:$LINENO: result: yes" >&5
8490 echo "${ECHO_T}yes" >&6; }
8491 else
8492 { echo "$as_me:$LINENO: result: no" >&5
8493 echo "${ECHO_T}no" >&6; }
8494 fi
8495
8496
8497 enablestring=
8498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8499 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8500 no_cache=0
8501 # Check whether --enable-dnd was given.
8502 if test "${enable_dnd+set}" = set; then
8503 enableval=$enable_dnd;
8504 if test "$enableval" = yes; then
8505 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8506 else
8507 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8508 fi
8509
8510 else
8511
8512 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
8513 if test "x$LINE" != x ; then
8514 eval "DEFAULT_$LINE"
8515 else
8516 no_cache=1
8517 fi
8518
8519 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8520
8521 fi
8522
8523
8524 eval "$ac_cv_use_dnd"
8525 if test "$no_cache" != 1; then
8526 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8527 fi
8528
8529 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8530 { echo "$as_me:$LINENO: result: yes" >&5
8531 echo "${ECHO_T}yes" >&6; }
8532 else
8533 { echo "$as_me:$LINENO: result: no" >&5
8534 echo "${ECHO_T}no" >&6; }
8535 fi
8536
8537
8538 enablestring=
8539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8540 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8541 no_cache=0
8542 # Check whether --enable-metafile was given.
8543 if test "${enable_metafile+set}" = set; then
8544 enableval=$enable_metafile;
8545 if test "$enableval" = yes; then
8546 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8547 else
8548 ac_cv_use_metafile='wxUSE_METAFILE=no'
8549 fi
8550
8551 else
8552
8553 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8554 if test "x$LINE" != x ; then
8555 eval "DEFAULT_$LINE"
8556 else
8557 no_cache=1
8558 fi
8559
8560 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8561
8562 fi
8563
8564
8565 eval "$ac_cv_use_metafile"
8566 if test "$no_cache" != 1; then
8567 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8568 fi
8569
8570 if test "$wxUSE_METAFILE" = yes; then
8571 { echo "$as_me:$LINENO: result: yes" >&5
8572 echo "${ECHO_T}yes" >&6; }
8573 else
8574 { echo "$as_me:$LINENO: result: no" >&5
8575 echo "${ECHO_T}no" >&6; }
8576 fi
8577
8578
8579
8580
8581
8582 enablestring=
8583 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8584 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8585 no_cache=0
8586 # Check whether --enable-controls was given.
8587 if test "${enable_controls+set}" = set; then
8588 enableval=$enable_controls;
8589 if test "$enableval" = yes; then
8590 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8591 else
8592 ac_cv_use_controls='wxUSE_CONTROLS=no'
8593 fi
8594
8595 else
8596
8597 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
8598 if test "x$LINE" != x ; then
8599 eval "DEFAULT_$LINE"
8600 else
8601 no_cache=1
8602 fi
8603
8604 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8605
8606 fi
8607
8608
8609 eval "$ac_cv_use_controls"
8610 if test "$no_cache" != 1; then
8611 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8612 fi
8613
8614 if test "$wxUSE_CONTROLS" = yes; then
8615 { echo "$as_me:$LINENO: result: yes" >&5
8616 echo "${ECHO_T}yes" >&6; }
8617 else
8618 { echo "$as_me:$LINENO: result: no" >&5
8619 echo "${ECHO_T}no" >&6; }
8620 fi
8621
8622
8623 if test "$wxUSE_CONTROLS" = "yes"; then
8624 DEFAULT_wxUSE_ACCEL=yes
8625 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8626 DEFAULT_wxUSE_BMPBUTTON=yes
8627 DEFAULT_wxUSE_BUTTON=yes
8628 DEFAULT_wxUSE_CALCTRL=yes
8629 DEFAULT_wxUSE_CARET=yes
8630 DEFAULT_wxUSE_COMBOBOX=yes
8631 DEFAULT_wxUSE_CHECKBOX=yes
8632 DEFAULT_wxUSE_CHECKLISTBOX=yes
8633 DEFAULT_wxUSE_CHOICE=yes
8634 DEFAULT_wxUSE_CHOICEBOOK=yes
8635 DEFAULT_wxUSE_COLLPANE=yes
8636 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8637 DEFAULT_wxUSE_COMBOBOX=yes
8638 DEFAULT_wxUSE_DATEPICKCTRL=yes
8639 DEFAULT_wxUSE_DISPLAY=yes
8640 DEFAULT_wxUSE_DETECT_SM=yes
8641 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8642 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8643 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8644 DEFAULT_wxUSE_GAUGE=yes
8645 DEFAULT_wxUSE_GRID=yes
8646 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8647 DEFAULT_wxUSE_DATAVIEWCTRL=no
8648 DEFAULT_wxUSE_IMAGLIST=yes
8649 DEFAULT_wxUSE_LISTBOOK=yes
8650 DEFAULT_wxUSE_LISTBOX=yes
8651 DEFAULT_wxUSE_LISTCTRL=yes
8652 DEFAULT_wxUSE_NOTEBOOK=yes
8653 DEFAULT_wxUSE_RADIOBOX=yes
8654 DEFAULT_wxUSE_RADIOBTN=yes
8655 DEFAULT_wxUSE_SASH=yes
8656 DEFAULT_wxUSE_SCROLLBAR=yes
8657 DEFAULT_wxUSE_SEARCHCTRL=yes
8658 DEFAULT_wxUSE_SLIDER=yes
8659 DEFAULT_wxUSE_SPINBTN=yes
8660 DEFAULT_wxUSE_SPINCTRL=yes
8661 DEFAULT_wxUSE_SPLITTER=yes
8662 DEFAULT_wxUSE_STATBMP=yes
8663 DEFAULT_wxUSE_STATBOX=yes
8664 DEFAULT_wxUSE_STATLINE=yes
8665 DEFAULT_wxUSE_STATUSBAR=yes
8666 DEFAULT_wxUSE_TAB_DIALOG=yes
8667 DEFAULT_wxUSE_TOGGLEBTN=yes
8668 DEFAULT_wxUSE_TOOLBAR=yes
8669 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8670 DEFAULT_wxUSE_TOOLTIPS=yes
8671 DEFAULT_wxUSE_TREEBOOK=yes
8672 DEFAULT_wxUSE_TOOLBOOK=yes
8673 DEFAULT_wxUSE_TREECTRL=yes
8674 DEFAULT_wxUSE_POPUPWIN=yes
8675 DEFAULT_wxUSE_TIPWINDOW=yes
8676 elif test "$wxUSE_CONTROLS" = "no"; then
8677 DEFAULT_wxUSE_ACCEL=no
8678 DEFAULT_wxUSE_ANIMATIONCTRL=no
8679 DEFAULT_wxUSE_BMPBUTTON=no
8680 DEFAULT_wxUSE_BUTTON=no
8681 DEFAULT_wxUSE_CALCTRL=no
8682 DEFAULT_wxUSE_CARET=no
8683 DEFAULT_wxUSE_COLLPANE=no
8684 DEFAULT_wxUSE_COMBOBOX=no
8685 DEFAULT_wxUSE_CHECKBOX=no
8686 DEFAULT_wxUSE_CHECKLISTBOX=no
8687 DEFAULT_wxUSE_CHOICE=no
8688 DEFAULT_wxUSE_CHOICEBOOK=no
8689 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8690 DEFAULT_wxUSE_COMBOBOX=no
8691 DEFAULT_wxUSE_DATEPICKCTRL=no
8692 DEFAULT_wxUSE_DISPLAY=no
8693 DEFAULT_wxUSE_DETECT_SM=no
8694 DEFAULT_wxUSE_DIRPICKERCTRL=no
8695 DEFAULT_wxUSE_FILEPICKERCTRL=no
8696 DEFAULT_wxUSE_FONTPICKERCTRL=no
8697 DEFAULT_wxUSE_GAUGE=no
8698 DEFAULT_wxUSE_GRID=no
8699 DEFAULT_wxUSE_HYPERLINKCTRL=no
8700 DEFAULT_wxUSE_DATAVIEWCTRL=no
8701 DEFAULT_wxUSE_IMAGLIST=no
8702 DEFAULT_wxUSE_LISTBOOK=no
8703 DEFAULT_wxUSE_LISTBOX=no
8704 DEFAULT_wxUSE_LISTCTRL=no
8705 DEFAULT_wxUSE_NOTEBOOK=no
8706 DEFAULT_wxUSE_RADIOBOX=no
8707 DEFAULT_wxUSE_RADIOBTN=no
8708 DEFAULT_wxUSE_SASH=no
8709 DEFAULT_wxUSE_SCROLLBAR=no
8710 DEFAULT_wxUSE_SEARCHCTRL=no
8711 DEFAULT_wxUSE_SLIDER=no
8712 DEFAULT_wxUSE_SPINBTN=no
8713 DEFAULT_wxUSE_SPINCTRL=no
8714 DEFAULT_wxUSE_SPLITTER=no
8715 DEFAULT_wxUSE_STATBMP=no
8716 DEFAULT_wxUSE_STATBOX=no
8717 DEFAULT_wxUSE_STATLINE=no
8718 DEFAULT_wxUSE_STATUSBAR=no
8719 DEFAULT_wxUSE_TAB_DIALOG=no
8720 DEFAULT_wxUSE_TOGGLEBTN=no
8721 DEFAULT_wxUSE_TOOLBAR=no
8722 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8723 DEFAULT_wxUSE_TOOLTIPS=no
8724 DEFAULT_wxUSE_TREEBOOK=no
8725 DEFAULT_wxUSE_TOOLBOOK=no
8726 DEFAULT_wxUSE_TREECTRL=no
8727 DEFAULT_wxUSE_POPUPWIN=no
8728 DEFAULT_wxUSE_TIPWINDOW=no
8729 fi
8730
8731
8732 enablestring=
8733 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8734 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8735 no_cache=0
8736 # Check whether --enable-accel was given.
8737 if test "${enable_accel+set}" = set; then
8738 enableval=$enable_accel;
8739 if test "$enableval" = yes; then
8740 ac_cv_use_accel='wxUSE_ACCEL=yes'
8741 else
8742 ac_cv_use_accel='wxUSE_ACCEL=no'
8743 fi
8744
8745 else
8746
8747 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8748 if test "x$LINE" != x ; then
8749 eval "DEFAULT_$LINE"
8750 else
8751 no_cache=1
8752 fi
8753
8754 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8755
8756 fi
8757
8758
8759 eval "$ac_cv_use_accel"
8760 if test "$no_cache" != 1; then
8761 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8762 fi
8763
8764 if test "$wxUSE_ACCEL" = yes; then
8765 { echo "$as_me:$LINENO: result: yes" >&5
8766 echo "${ECHO_T}yes" >&6; }
8767 else
8768 { echo "$as_me:$LINENO: result: no" >&5
8769 echo "${ECHO_T}no" >&6; }
8770 fi
8771
8772
8773 enablestring=
8774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8775 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8776 no_cache=0
8777 # Check whether --enable-animatectrl was given.
8778 if test "${enable_animatectrl+set}" = set; then
8779 enableval=$enable_animatectrl;
8780 if test "$enableval" = yes; then
8781 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8782 else
8783 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8784 fi
8785
8786 else
8787
8788 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8789 if test "x$LINE" != x ; then
8790 eval "DEFAULT_$LINE"
8791 else
8792 no_cache=1
8793 fi
8794
8795 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8796
8797 fi
8798
8799
8800 eval "$ac_cv_use_animatectrl"
8801 if test "$no_cache" != 1; then
8802 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8803 fi
8804
8805 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8806 { echo "$as_me:$LINENO: result: yes" >&5
8807 echo "${ECHO_T}yes" >&6; }
8808 else
8809 { echo "$as_me:$LINENO: result: no" >&5
8810 echo "${ECHO_T}no" >&6; }
8811 fi
8812
8813
8814 enablestring=
8815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8816 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
8817 no_cache=0
8818 # Check whether --enable-button was given.
8819 if test "${enable_button+set}" = set; then
8820 enableval=$enable_button;
8821 if test "$enableval" = yes; then
8822 ac_cv_use_button='wxUSE_BUTTON=yes'
8823 else
8824 ac_cv_use_button='wxUSE_BUTTON=no'
8825 fi
8826
8827 else
8828
8829 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8830 if test "x$LINE" != x ; then
8831 eval "DEFAULT_$LINE"
8832 else
8833 no_cache=1
8834 fi
8835
8836 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8837
8838 fi
8839
8840
8841 eval "$ac_cv_use_button"
8842 if test "$no_cache" != 1; then
8843 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8844 fi
8845
8846 if test "$wxUSE_BUTTON" = yes; then
8847 { echo "$as_me:$LINENO: result: yes" >&5
8848 echo "${ECHO_T}yes" >&6; }
8849 else
8850 { echo "$as_me:$LINENO: result: no" >&5
8851 echo "${ECHO_T}no" >&6; }
8852 fi
8853
8854
8855 enablestring=
8856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8857 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
8858 no_cache=0
8859 # Check whether --enable-bmpbutton was given.
8860 if test "${enable_bmpbutton+set}" = set; then
8861 enableval=$enable_bmpbutton;
8862 if test "$enableval" = yes; then
8863 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8864 else
8865 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8866 fi
8867
8868 else
8869
8870 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8871 if test "x$LINE" != x ; then
8872 eval "DEFAULT_$LINE"
8873 else
8874 no_cache=1
8875 fi
8876
8877 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8878
8879 fi
8880
8881
8882 eval "$ac_cv_use_bmpbutton"
8883 if test "$no_cache" != 1; then
8884 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8885 fi
8886
8887 if test "$wxUSE_BMPBUTTON" = yes; then
8888 { echo "$as_me:$LINENO: result: yes" >&5
8889 echo "${ECHO_T}yes" >&6; }
8890 else
8891 { echo "$as_me:$LINENO: result: no" >&5
8892 echo "${ECHO_T}no" >&6; }
8893 fi
8894
8895
8896 enablestring=
8897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8898 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
8899 no_cache=0
8900 # Check whether --enable-bmpcombobox was given.
8901 if test "${enable_bmpcombobox+set}" = set; then
8902 enableval=$enable_bmpcombobox;
8903 if test "$enableval" = yes; then
8904 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8905 else
8906 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8907 fi
8908
8909 else
8910
8911 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8912 if test "x$LINE" != x ; then
8913 eval "DEFAULT_$LINE"
8914 else
8915 no_cache=1
8916 fi
8917
8918 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8919
8920 fi
8921
8922
8923 eval "$ac_cv_use_bmpcombobox"
8924 if test "$no_cache" != 1; then
8925 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8926 fi
8927
8928 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8929 { echo "$as_me:$LINENO: result: yes" >&5
8930 echo "${ECHO_T}yes" >&6; }
8931 else
8932 { echo "$as_me:$LINENO: result: no" >&5
8933 echo "${ECHO_T}no" >&6; }
8934 fi
8935
8936
8937 enablestring=
8938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8939 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
8940 no_cache=0
8941 # Check whether --enable-calendar was given.
8942 if test "${enable_calendar+set}" = set; then
8943 enableval=$enable_calendar;
8944 if test "$enableval" = yes; then
8945 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8946 else
8947 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8948 fi
8949
8950 else
8951
8952 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8953 if test "x$LINE" != x ; then
8954 eval "DEFAULT_$LINE"
8955 else
8956 no_cache=1
8957 fi
8958
8959 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8960
8961 fi
8962
8963
8964 eval "$ac_cv_use_calendar"
8965 if test "$no_cache" != 1; then
8966 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8967 fi
8968
8969 if test "$wxUSE_CALCTRL" = yes; then
8970 { echo "$as_me:$LINENO: result: yes" >&5
8971 echo "${ECHO_T}yes" >&6; }
8972 else
8973 { echo "$as_me:$LINENO: result: no" >&5
8974 echo "${ECHO_T}no" >&6; }
8975 fi
8976
8977
8978 enablestring=
8979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8980 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
8981 no_cache=0
8982 # Check whether --enable-caret was given.
8983 if test "${enable_caret+set}" = set; then
8984 enableval=$enable_caret;
8985 if test "$enableval" = yes; then
8986 ac_cv_use_caret='wxUSE_CARET=yes'
8987 else
8988 ac_cv_use_caret='wxUSE_CARET=no'
8989 fi
8990
8991 else
8992
8993 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8994 if test "x$LINE" != x ; then
8995 eval "DEFAULT_$LINE"
8996 else
8997 no_cache=1
8998 fi
8999
9000 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9001
9002 fi
9003
9004
9005 eval "$ac_cv_use_caret"
9006 if test "$no_cache" != 1; then
9007 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9008 fi
9009
9010 if test "$wxUSE_CARET" = yes; then
9011 { echo "$as_me:$LINENO: result: yes" >&5
9012 echo "${ECHO_T}yes" >&6; }
9013 else
9014 { echo "$as_me:$LINENO: result: no" >&5
9015 echo "${ECHO_T}no" >&6; }
9016 fi
9017
9018
9019 enablestring=
9020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9021 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9022 no_cache=0
9023 # Check whether --enable-checkbox was given.
9024 if test "${enable_checkbox+set}" = set; then
9025 enableval=$enable_checkbox;
9026 if test "$enableval" = yes; then
9027 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9028 else
9029 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9030 fi
9031
9032 else
9033
9034 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
9035 if test "x$LINE" != x ; then
9036 eval "DEFAULT_$LINE"
9037 else
9038 no_cache=1
9039 fi
9040
9041 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9042
9043 fi
9044
9045
9046 eval "$ac_cv_use_checkbox"
9047 if test "$no_cache" != 1; then
9048 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9049 fi
9050
9051 if test "$wxUSE_CHECKBOX" = yes; then
9052 { echo "$as_me:$LINENO: result: yes" >&5
9053 echo "${ECHO_T}yes" >&6; }
9054 else
9055 { echo "$as_me:$LINENO: result: no" >&5
9056 echo "${ECHO_T}no" >&6; }
9057 fi
9058
9059
9060 enablestring=
9061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9062 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9063 no_cache=0
9064 # Check whether --enable-checklst was given.
9065 if test "${enable_checklst+set}" = set; then
9066 enableval=$enable_checklst;
9067 if test "$enableval" = yes; then
9068 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9069 else
9070 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9071 fi
9072
9073 else
9074
9075 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
9076 if test "x$LINE" != x ; then
9077 eval "DEFAULT_$LINE"
9078 else
9079 no_cache=1
9080 fi
9081
9082 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9083
9084 fi
9085
9086
9087 eval "$ac_cv_use_checklst"
9088 if test "$no_cache" != 1; then
9089 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9090 fi
9091
9092 if test "$wxUSE_CHECKLST" = yes; then
9093 { echo "$as_me:$LINENO: result: yes" >&5
9094 echo "${ECHO_T}yes" >&6; }
9095 else
9096 { echo "$as_me:$LINENO: result: no" >&5
9097 echo "${ECHO_T}no" >&6; }
9098 fi
9099
9100
9101 enablestring=
9102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9103 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9104 no_cache=0
9105 # Check whether --enable-choice was given.
9106 if test "${enable_choice+set}" = set; then
9107 enableval=$enable_choice;
9108 if test "$enableval" = yes; then
9109 ac_cv_use_choice='wxUSE_CHOICE=yes'
9110 else
9111 ac_cv_use_choice='wxUSE_CHOICE=no'
9112 fi
9113
9114 else
9115
9116 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
9117 if test "x$LINE" != x ; then
9118 eval "DEFAULT_$LINE"
9119 else
9120 no_cache=1
9121 fi
9122
9123 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9124
9125 fi
9126
9127
9128 eval "$ac_cv_use_choice"
9129 if test "$no_cache" != 1; then
9130 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9131 fi
9132
9133 if test "$wxUSE_CHOICE" = yes; then
9134 { echo "$as_me:$LINENO: result: yes" >&5
9135 echo "${ECHO_T}yes" >&6; }
9136 else
9137 { echo "$as_me:$LINENO: result: no" >&5
9138 echo "${ECHO_T}no" >&6; }
9139 fi
9140
9141
9142 enablestring=
9143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9144 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9145 no_cache=0
9146 # Check whether --enable-choicebook was given.
9147 if test "${enable_choicebook+set}" = set; then
9148 enableval=$enable_choicebook;
9149 if test "$enableval" = yes; then
9150 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9151 else
9152 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9153 fi
9154
9155 else
9156
9157 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
9158 if test "x$LINE" != x ; then
9159 eval "DEFAULT_$LINE"
9160 else
9161 no_cache=1
9162 fi
9163
9164 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9165
9166 fi
9167
9168
9169 eval "$ac_cv_use_choicebook"
9170 if test "$no_cache" != 1; then
9171 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9172 fi
9173
9174 if test "$wxUSE_CHOICEBOOK" = yes; then
9175 { echo "$as_me:$LINENO: result: yes" >&5
9176 echo "${ECHO_T}yes" >&6; }
9177 else
9178 { echo "$as_me:$LINENO: result: no" >&5
9179 echo "${ECHO_T}no" >&6; }
9180 fi
9181
9182
9183 enablestring=
9184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9185 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9186 no_cache=0
9187 # Check whether --enable-collpane was given.
9188 if test "${enable_collpane+set}" = set; then
9189 enableval=$enable_collpane;
9190 if test "$enableval" = yes; then
9191 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9192 else
9193 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9194 fi
9195
9196 else
9197
9198 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
9199 if test "x$LINE" != x ; then
9200 eval "DEFAULT_$LINE"
9201 else
9202 no_cache=1
9203 fi
9204
9205 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9206
9207 fi
9208
9209
9210 eval "$ac_cv_use_collpane"
9211 if test "$no_cache" != 1; then
9212 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9213 fi
9214
9215 if test "$wxUSE_COLLPANE" = yes; then
9216 { echo "$as_me:$LINENO: result: yes" >&5
9217 echo "${ECHO_T}yes" >&6; }
9218 else
9219 { echo "$as_me:$LINENO: result: no" >&5
9220 echo "${ECHO_T}no" >&6; }
9221 fi
9222
9223
9224 enablestring=
9225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9226 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9227 no_cache=0
9228 # Check whether --enable-colourpicker was given.
9229 if test "${enable_colourpicker+set}" = set; then
9230 enableval=$enable_colourpicker;
9231 if test "$enableval" = yes; then
9232 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9233 else
9234 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9235 fi
9236
9237 else
9238
9239 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
9240 if test "x$LINE" != x ; then
9241 eval "DEFAULT_$LINE"
9242 else
9243 no_cache=1
9244 fi
9245
9246 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9247
9248 fi
9249
9250
9251 eval "$ac_cv_use_colourpicker"
9252 if test "$no_cache" != 1; then
9253 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9254 fi
9255
9256 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9257 { echo "$as_me:$LINENO: result: yes" >&5
9258 echo "${ECHO_T}yes" >&6; }
9259 else
9260 { echo "$as_me:$LINENO: result: no" >&5
9261 echo "${ECHO_T}no" >&6; }
9262 fi
9263
9264
9265 enablestring=
9266 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9267 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9268 no_cache=0
9269 # Check whether --enable-combobox was given.
9270 if test "${enable_combobox+set}" = set; then
9271 enableval=$enable_combobox;
9272 if test "$enableval" = yes; then
9273 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9274 else
9275 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9276 fi
9277
9278 else
9279
9280 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
9281 if test "x$LINE" != x ; then
9282 eval "DEFAULT_$LINE"
9283 else
9284 no_cache=1
9285 fi
9286
9287 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9288
9289 fi
9290
9291
9292 eval "$ac_cv_use_combobox"
9293 if test "$no_cache" != 1; then
9294 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9295 fi
9296
9297 if test "$wxUSE_COMBOBOX" = yes; then
9298 { echo "$as_me:$LINENO: result: yes" >&5
9299 echo "${ECHO_T}yes" >&6; }
9300 else
9301 { echo "$as_me:$LINENO: result: no" >&5
9302 echo "${ECHO_T}no" >&6; }
9303 fi
9304
9305
9306 enablestring=
9307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9308 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9309 no_cache=0
9310 # Check whether --enable-comboctrl was given.
9311 if test "${enable_comboctrl+set}" = set; then
9312 enableval=$enable_comboctrl;
9313 if test "$enableval" = yes; then
9314 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9315 else
9316 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9317 fi
9318
9319 else
9320
9321 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
9322 if test "x$LINE" != x ; then
9323 eval "DEFAULT_$LINE"
9324 else
9325 no_cache=1
9326 fi
9327
9328 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9329
9330 fi
9331
9332
9333 eval "$ac_cv_use_comboctrl"
9334 if test "$no_cache" != 1; then
9335 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9336 fi
9337
9338 if test "$wxUSE_COMBOCTRL" = yes; then
9339 { echo "$as_me:$LINENO: result: yes" >&5
9340 echo "${ECHO_T}yes" >&6; }
9341 else
9342 { echo "$as_me:$LINENO: result: no" >&5
9343 echo "${ECHO_T}no" >&6; }
9344 fi
9345
9346
9347 enablestring=
9348 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9349 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9350 no_cache=0
9351 # Check whether --enable-datepick was given.
9352 if test "${enable_datepick+set}" = set; then
9353 enableval=$enable_datepick;
9354 if test "$enableval" = yes; then
9355 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9356 else
9357 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9358 fi
9359
9360 else
9361
9362 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
9363 if test "x$LINE" != x ; then
9364 eval "DEFAULT_$LINE"
9365 else
9366 no_cache=1
9367 fi
9368
9369 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9370
9371 fi
9372
9373
9374 eval "$ac_cv_use_datepick"
9375 if test "$no_cache" != 1; then
9376 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9377 fi
9378
9379 if test "$wxUSE_DATEPICKCTRL" = yes; then
9380 { echo "$as_me:$LINENO: result: yes" >&5
9381 echo "${ECHO_T}yes" >&6; }
9382 else
9383 { echo "$as_me:$LINENO: result: no" >&5
9384 echo "${ECHO_T}no" >&6; }
9385 fi
9386
9387
9388 enablestring=
9389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9390 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9391 no_cache=0
9392 # Check whether --enable-dirpicker was given.
9393 if test "${enable_dirpicker+set}" = set; then
9394 enableval=$enable_dirpicker;
9395 if test "$enableval" = yes; then
9396 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9397 else
9398 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9399 fi
9400
9401 else
9402
9403 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
9404 if test "x$LINE" != x ; then
9405 eval "DEFAULT_$LINE"
9406 else
9407 no_cache=1
9408 fi
9409
9410 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9411
9412 fi
9413
9414
9415 eval "$ac_cv_use_dirpicker"
9416 if test "$no_cache" != 1; then
9417 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9418 fi
9419
9420 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9421 { echo "$as_me:$LINENO: result: yes" >&5
9422 echo "${ECHO_T}yes" >&6; }
9423 else
9424 { echo "$as_me:$LINENO: result: no" >&5
9425 echo "${ECHO_T}no" >&6; }
9426 fi
9427
9428
9429 enablestring=
9430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9431 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9432 no_cache=0
9433 # Check whether --enable-display was given.
9434 if test "${enable_display+set}" = set; then
9435 enableval=$enable_display;
9436 if test "$enableval" = yes; then
9437 ac_cv_use_display='wxUSE_DISPLAY=yes'
9438 else
9439 ac_cv_use_display='wxUSE_DISPLAY=no'
9440 fi
9441
9442 else
9443
9444 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
9445 if test "x$LINE" != x ; then
9446 eval "DEFAULT_$LINE"
9447 else
9448 no_cache=1
9449 fi
9450
9451 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9452
9453 fi
9454
9455
9456 eval "$ac_cv_use_display"
9457 if test "$no_cache" != 1; then
9458 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9459 fi
9460
9461 if test "$wxUSE_DISPLAY" = yes; then
9462 { echo "$as_me:$LINENO: result: yes" >&5
9463 echo "${ECHO_T}yes" >&6; }
9464 else
9465 { echo "$as_me:$LINENO: result: no" >&5
9466 echo "${ECHO_T}no" >&6; }
9467 fi
9468
9469
9470 enablestring=
9471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9472 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9473 no_cache=0
9474 # Check whether --enable-detect_sm was given.
9475 if test "${enable_detect_sm+set}" = set; then
9476 enableval=$enable_detect_sm;
9477 if test "$enableval" = yes; then
9478 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9479 else
9480 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9481 fi
9482
9483 else
9484
9485 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
9486 if test "x$LINE" != x ; then
9487 eval "DEFAULT_$LINE"
9488 else
9489 no_cache=1
9490 fi
9491
9492 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9493
9494 fi
9495
9496
9497 eval "$ac_cv_use_detect_sm"
9498 if test "$no_cache" != 1; then
9499 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9500 fi
9501
9502 if test "$wxUSE_DETECT_SM" = yes; then
9503 { echo "$as_me:$LINENO: result: yes" >&5
9504 echo "${ECHO_T}yes" >&6; }
9505 else
9506 { echo "$as_me:$LINENO: result: no" >&5
9507 echo "${ECHO_T}no" >&6; }
9508 fi
9509
9510
9511 enablestring=
9512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9513 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9514 no_cache=0
9515 # Check whether --enable-filepicker was given.
9516 if test "${enable_filepicker+set}" = set; then
9517 enableval=$enable_filepicker;
9518 if test "$enableval" = yes; then
9519 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9520 else
9521 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9522 fi
9523
9524 else
9525
9526 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
9527 if test "x$LINE" != x ; then
9528 eval "DEFAULT_$LINE"
9529 else
9530 no_cache=1
9531 fi
9532
9533 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9534
9535 fi
9536
9537
9538 eval "$ac_cv_use_filepicker"
9539 if test "$no_cache" != 1; then
9540 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9541 fi
9542
9543 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9544 { echo "$as_me:$LINENO: result: yes" >&5
9545 echo "${ECHO_T}yes" >&6; }
9546 else
9547 { echo "$as_me:$LINENO: result: no" >&5
9548 echo "${ECHO_T}no" >&6; }
9549 fi
9550
9551
9552 enablestring=
9553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9554 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9555 no_cache=0
9556 # Check whether --enable-fontpicker was given.
9557 if test "${enable_fontpicker+set}" = set; then
9558 enableval=$enable_fontpicker;
9559 if test "$enableval" = yes; then
9560 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9561 else
9562 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9563 fi
9564
9565 else
9566
9567 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
9568 if test "x$LINE" != x ; then
9569 eval "DEFAULT_$LINE"
9570 else
9571 no_cache=1
9572 fi
9573
9574 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9575
9576 fi
9577
9578
9579 eval "$ac_cv_use_fontpicker"
9580 if test "$no_cache" != 1; then
9581 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9582 fi
9583
9584 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9585 { echo "$as_me:$LINENO: result: yes" >&5
9586 echo "${ECHO_T}yes" >&6; }
9587 else
9588 { echo "$as_me:$LINENO: result: no" >&5
9589 echo "${ECHO_T}no" >&6; }
9590 fi
9591
9592
9593 enablestring=
9594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9595 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9596 no_cache=0
9597 # Check whether --enable-gauge was given.
9598 if test "${enable_gauge+set}" = set; then
9599 enableval=$enable_gauge;
9600 if test "$enableval" = yes; then
9601 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9602 else
9603 ac_cv_use_gauge='wxUSE_GAUGE=no'
9604 fi
9605
9606 else
9607
9608 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9609 if test "x$LINE" != x ; then
9610 eval "DEFAULT_$LINE"
9611 else
9612 no_cache=1
9613 fi
9614
9615 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9616
9617 fi
9618
9619
9620 eval "$ac_cv_use_gauge"
9621 if test "$no_cache" != 1; then
9622 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9623 fi
9624
9625 if test "$wxUSE_GAUGE" = yes; then
9626 { echo "$as_me:$LINENO: result: yes" >&5
9627 echo "${ECHO_T}yes" >&6; }
9628 else
9629 { echo "$as_me:$LINENO: result: no" >&5
9630 echo "${ECHO_T}no" >&6; }
9631 fi
9632
9633
9634 enablestring=
9635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9636 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9637 no_cache=0
9638 # Check whether --enable-grid was given.
9639 if test "${enable_grid+set}" = set; then
9640 enableval=$enable_grid;
9641 if test "$enableval" = yes; then
9642 ac_cv_use_grid='wxUSE_GRID=yes'
9643 else
9644 ac_cv_use_grid='wxUSE_GRID=no'
9645 fi
9646
9647 else
9648
9649 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9650 if test "x$LINE" != x ; then
9651 eval "DEFAULT_$LINE"
9652 else
9653 no_cache=1
9654 fi
9655
9656 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9657
9658 fi
9659
9660
9661 eval "$ac_cv_use_grid"
9662 if test "$no_cache" != 1; then
9663 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9664 fi
9665
9666 if test "$wxUSE_GRID" = yes; then
9667 { echo "$as_me:$LINENO: result: yes" >&5
9668 echo "${ECHO_T}yes" >&6; }
9669 else
9670 { echo "$as_me:$LINENO: result: no" >&5
9671 echo "${ECHO_T}no" >&6; }
9672 fi
9673
9674
9675 enablestring=
9676 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9677 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9678 no_cache=0
9679 # Check whether --enable-dataviewctrl was given.
9680 if test "${enable_dataviewctrl+set}" = set; then
9681 enableval=$enable_dataviewctrl;
9682 if test "$enableval" = yes; then
9683 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9684 else
9685 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9686 fi
9687
9688 else
9689
9690 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9691 if test "x$LINE" != x ; then
9692 eval "DEFAULT_$LINE"
9693 else
9694 no_cache=1
9695 fi
9696
9697 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9698
9699 fi
9700
9701
9702 eval "$ac_cv_use_dataviewctrl"
9703 if test "$no_cache" != 1; then
9704 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9705 fi
9706
9707 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9708 { echo "$as_me:$LINENO: result: yes" >&5
9709 echo "${ECHO_T}yes" >&6; }
9710 else
9711 { echo "$as_me:$LINENO: result: no" >&5
9712 echo "${ECHO_T}no" >&6; }
9713 fi
9714
9715
9716 enablestring=
9717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9718 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9719 no_cache=0
9720 # Check whether --enable-hyperlink was given.
9721 if test "${enable_hyperlink+set}" = set; then
9722 enableval=$enable_hyperlink;
9723 if test "$enableval" = yes; then
9724 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9725 else
9726 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9727 fi
9728
9729 else
9730
9731 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9732 if test "x$LINE" != x ; then
9733 eval "DEFAULT_$LINE"
9734 else
9735 no_cache=1
9736 fi
9737
9738 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9739
9740 fi
9741
9742
9743 eval "$ac_cv_use_hyperlink"
9744 if test "$no_cache" != 1; then
9745 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9746 fi
9747
9748 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9749 { echo "$as_me:$LINENO: result: yes" >&5
9750 echo "${ECHO_T}yes" >&6; }
9751 else
9752 { echo "$as_me:$LINENO: result: no" >&5
9753 echo "${ECHO_T}no" >&6; }
9754 fi
9755
9756
9757 enablestring=
9758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9759 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9760 no_cache=0
9761 # Check whether --enable-imaglist was given.
9762 if test "${enable_imaglist+set}" = set; then
9763 enableval=$enable_imaglist;
9764 if test "$enableval" = yes; then
9765 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9766 else
9767 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9768 fi
9769
9770 else
9771
9772 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9773 if test "x$LINE" != x ; then
9774 eval "DEFAULT_$LINE"
9775 else
9776 no_cache=1
9777 fi
9778
9779 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9780
9781 fi
9782
9783
9784 eval "$ac_cv_use_imaglist"
9785 if test "$no_cache" != 1; then
9786 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9787 fi
9788
9789 if test "$wxUSE_IMAGLIST" = yes; then
9790 { echo "$as_me:$LINENO: result: yes" >&5
9791 echo "${ECHO_T}yes" >&6; }
9792 else
9793 { echo "$as_me:$LINENO: result: no" >&5
9794 echo "${ECHO_T}no" >&6; }
9795 fi
9796
9797
9798 enablestring=
9799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9800 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
9801 no_cache=0
9802 # Check whether --enable-listbook was given.
9803 if test "${enable_listbook+set}" = set; then
9804 enableval=$enable_listbook;
9805 if test "$enableval" = yes; then
9806 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9807 else
9808 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9809 fi
9810
9811 else
9812
9813 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9814 if test "x$LINE" != x ; then
9815 eval "DEFAULT_$LINE"
9816 else
9817 no_cache=1
9818 fi
9819
9820 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9821
9822 fi
9823
9824
9825 eval "$ac_cv_use_listbook"
9826 if test "$no_cache" != 1; then
9827 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9828 fi
9829
9830 if test "$wxUSE_LISTBOOK" = yes; then
9831 { echo "$as_me:$LINENO: result: yes" >&5
9832 echo "${ECHO_T}yes" >&6; }
9833 else
9834 { echo "$as_me:$LINENO: result: no" >&5
9835 echo "${ECHO_T}no" >&6; }
9836 fi
9837
9838
9839 enablestring=
9840 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9841 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
9842 no_cache=0
9843 # Check whether --enable-listbox was given.
9844 if test "${enable_listbox+set}" = set; then
9845 enableval=$enable_listbox;
9846 if test "$enableval" = yes; then
9847 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9848 else
9849 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9850 fi
9851
9852 else
9853
9854 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9855 if test "x$LINE" != x ; then
9856 eval "DEFAULT_$LINE"
9857 else
9858 no_cache=1
9859 fi
9860
9861 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9862
9863 fi
9864
9865
9866 eval "$ac_cv_use_listbox"
9867 if test "$no_cache" != 1; then
9868 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9869 fi
9870
9871 if test "$wxUSE_LISTBOX" = yes; then
9872 { echo "$as_me:$LINENO: result: yes" >&5
9873 echo "${ECHO_T}yes" >&6; }
9874 else
9875 { echo "$as_me:$LINENO: result: no" >&5
9876 echo "${ECHO_T}no" >&6; }
9877 fi
9878
9879
9880 enablestring=
9881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9882 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
9883 no_cache=0
9884 # Check whether --enable-listctrl was given.
9885 if test "${enable_listctrl+set}" = set; then
9886 enableval=$enable_listctrl;
9887 if test "$enableval" = yes; then
9888 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9889 else
9890 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9891 fi
9892
9893 else
9894
9895 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9896 if test "x$LINE" != x ; then
9897 eval "DEFAULT_$LINE"
9898 else
9899 no_cache=1
9900 fi
9901
9902 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9903
9904 fi
9905
9906
9907 eval "$ac_cv_use_listctrl"
9908 if test "$no_cache" != 1; then
9909 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9910 fi
9911
9912 if test "$wxUSE_LISTCTRL" = yes; then
9913 { echo "$as_me:$LINENO: result: yes" >&5
9914 echo "${ECHO_T}yes" >&6; }
9915 else
9916 { echo "$as_me:$LINENO: result: no" >&5
9917 echo "${ECHO_T}no" >&6; }
9918 fi
9919
9920
9921 enablestring=
9922 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9923 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
9924 no_cache=0
9925 # Check whether --enable-notebook was given.
9926 if test "${enable_notebook+set}" = set; then
9927 enableval=$enable_notebook;
9928 if test "$enableval" = yes; then
9929 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9930 else
9931 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9932 fi
9933
9934 else
9935
9936 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9937 if test "x$LINE" != x ; then
9938 eval "DEFAULT_$LINE"
9939 else
9940 no_cache=1
9941 fi
9942
9943 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9944
9945 fi
9946
9947
9948 eval "$ac_cv_use_notebook"
9949 if test "$no_cache" != 1; then
9950 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9951 fi
9952
9953 if test "$wxUSE_NOTEBOOK" = yes; then
9954 { echo "$as_me:$LINENO: result: yes" >&5
9955 echo "${ECHO_T}yes" >&6; }
9956 else
9957 { echo "$as_me:$LINENO: result: no" >&5
9958 echo "${ECHO_T}no" >&6; }
9959 fi
9960
9961
9962 enablestring=
9963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9964 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
9965 no_cache=0
9966 # Check whether --enable-odcombobox was given.
9967 if test "${enable_odcombobox+set}" = set; then
9968 enableval=$enable_odcombobox;
9969 if test "$enableval" = yes; then
9970 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9971 else
9972 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9973 fi
9974
9975 else
9976
9977 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9978 if test "x$LINE" != x ; then
9979 eval "DEFAULT_$LINE"
9980 else
9981 no_cache=1
9982 fi
9983
9984 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9985
9986 fi
9987
9988
9989 eval "$ac_cv_use_odcombobox"
9990 if test "$no_cache" != 1; then
9991 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9992 fi
9993
9994 if test "$wxUSE_ODCOMBOBOX" = yes; then
9995 { echo "$as_me:$LINENO: result: yes" >&5
9996 echo "${ECHO_T}yes" >&6; }
9997 else
9998 { echo "$as_me:$LINENO: result: no" >&5
9999 echo "${ECHO_T}no" >&6; }
10000 fi
10001
10002
10003 enablestring=
10004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10005 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10006 no_cache=0
10007 # Check whether --enable-radiobox was given.
10008 if test "${enable_radiobox+set}" = set; then
10009 enableval=$enable_radiobox;
10010 if test "$enableval" = yes; then
10011 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10012 else
10013 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10014 fi
10015
10016 else
10017
10018 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
10019 if test "x$LINE" != x ; then
10020 eval "DEFAULT_$LINE"
10021 else
10022 no_cache=1
10023 fi
10024
10025 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10026
10027 fi
10028
10029
10030 eval "$ac_cv_use_radiobox"
10031 if test "$no_cache" != 1; then
10032 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10033 fi
10034
10035 if test "$wxUSE_RADIOBOX" = yes; then
10036 { echo "$as_me:$LINENO: result: yes" >&5
10037 echo "${ECHO_T}yes" >&6; }
10038 else
10039 { echo "$as_me:$LINENO: result: no" >&5
10040 echo "${ECHO_T}no" >&6; }
10041 fi
10042
10043
10044 enablestring=
10045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10046 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10047 no_cache=0
10048 # Check whether --enable-radiobtn was given.
10049 if test "${enable_radiobtn+set}" = set; then
10050 enableval=$enable_radiobtn;
10051 if test "$enableval" = yes; then
10052 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10053 else
10054 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10055 fi
10056
10057 else
10058
10059 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
10060 if test "x$LINE" != x ; then
10061 eval "DEFAULT_$LINE"
10062 else
10063 no_cache=1
10064 fi
10065
10066 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10067
10068 fi
10069
10070
10071 eval "$ac_cv_use_radiobtn"
10072 if test "$no_cache" != 1; then
10073 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10074 fi
10075
10076 if test "$wxUSE_RADIOBTN" = yes; then
10077 { echo "$as_me:$LINENO: result: yes" >&5
10078 echo "${ECHO_T}yes" >&6; }
10079 else
10080 { echo "$as_me:$LINENO: result: no" >&5
10081 echo "${ECHO_T}no" >&6; }
10082 fi
10083
10084
10085 enablestring=
10086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10087 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10088 no_cache=0
10089 # Check whether --enable-sash was given.
10090 if test "${enable_sash+set}" = set; then
10091 enableval=$enable_sash;
10092 if test "$enableval" = yes; then
10093 ac_cv_use_sash='wxUSE_SASH=yes'
10094 else
10095 ac_cv_use_sash='wxUSE_SASH=no'
10096 fi
10097
10098 else
10099
10100 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
10101 if test "x$LINE" != x ; then
10102 eval "DEFAULT_$LINE"
10103 else
10104 no_cache=1
10105 fi
10106
10107 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10108
10109 fi
10110
10111
10112 eval "$ac_cv_use_sash"
10113 if test "$no_cache" != 1; then
10114 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10115 fi
10116
10117 if test "$wxUSE_SASH" = yes; then
10118 { echo "$as_me:$LINENO: result: yes" >&5
10119 echo "${ECHO_T}yes" >&6; }
10120 else
10121 { echo "$as_me:$LINENO: result: no" >&5
10122 echo "${ECHO_T}no" >&6; }
10123 fi
10124
10125
10126 enablestring=
10127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10128 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10129 no_cache=0
10130 # Check whether --enable-scrollbar was given.
10131 if test "${enable_scrollbar+set}" = set; then
10132 enableval=$enable_scrollbar;
10133 if test "$enableval" = yes; then
10134 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10135 else
10136 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10137 fi
10138
10139 else
10140
10141 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
10142 if test "x$LINE" != x ; then
10143 eval "DEFAULT_$LINE"
10144 else
10145 no_cache=1
10146 fi
10147
10148 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10149
10150 fi
10151
10152
10153 eval "$ac_cv_use_scrollbar"
10154 if test "$no_cache" != 1; then
10155 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10156 fi
10157
10158 if test "$wxUSE_SCROLLBAR" = yes; then
10159 { echo "$as_me:$LINENO: result: yes" >&5
10160 echo "${ECHO_T}yes" >&6; }
10161 else
10162 { echo "$as_me:$LINENO: result: no" >&5
10163 echo "${ECHO_T}no" >&6; }
10164 fi
10165
10166
10167 enablestring=
10168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10169 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10170 no_cache=0
10171 # Check whether --enable-searchctrl was given.
10172 if test "${enable_searchctrl+set}" = set; then
10173 enableval=$enable_searchctrl;
10174 if test "$enableval" = yes; then
10175 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10176 else
10177 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10178 fi
10179
10180 else
10181
10182 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
10183 if test "x$LINE" != x ; then
10184 eval "DEFAULT_$LINE"
10185 else
10186 no_cache=1
10187 fi
10188
10189 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10190
10191 fi
10192
10193
10194 eval "$ac_cv_use_searchctrl"
10195 if test "$no_cache" != 1; then
10196 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10197 fi
10198
10199 if test "$wxUSE_SEARCHCTRL" = yes; then
10200 { echo "$as_me:$LINENO: result: yes" >&5
10201 echo "${ECHO_T}yes" >&6; }
10202 else
10203 { echo "$as_me:$LINENO: result: no" >&5
10204 echo "${ECHO_T}no" >&6; }
10205 fi
10206
10207
10208 enablestring=
10209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10210 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10211 no_cache=0
10212 # Check whether --enable-slider was given.
10213 if test "${enable_slider+set}" = set; then
10214 enableval=$enable_slider;
10215 if test "$enableval" = yes; then
10216 ac_cv_use_slider='wxUSE_SLIDER=yes'
10217 else
10218 ac_cv_use_slider='wxUSE_SLIDER=no'
10219 fi
10220
10221 else
10222
10223 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
10224 if test "x$LINE" != x ; then
10225 eval "DEFAULT_$LINE"
10226 else
10227 no_cache=1
10228 fi
10229
10230 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10231
10232 fi
10233
10234
10235 eval "$ac_cv_use_slider"
10236 if test "$no_cache" != 1; then
10237 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10238 fi
10239
10240 if test "$wxUSE_SLIDER" = yes; then
10241 { echo "$as_me:$LINENO: result: yes" >&5
10242 echo "${ECHO_T}yes" >&6; }
10243 else
10244 { echo "$as_me:$LINENO: result: no" >&5
10245 echo "${ECHO_T}no" >&6; }
10246 fi
10247
10248
10249 enablestring=
10250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10251 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10252 no_cache=0
10253 # Check whether --enable-spinbtn was given.
10254 if test "${enable_spinbtn+set}" = set; then
10255 enableval=$enable_spinbtn;
10256 if test "$enableval" = yes; then
10257 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10258 else
10259 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10260 fi
10261
10262 else
10263
10264 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
10265 if test "x$LINE" != x ; then
10266 eval "DEFAULT_$LINE"
10267 else
10268 no_cache=1
10269 fi
10270
10271 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10272
10273 fi
10274
10275
10276 eval "$ac_cv_use_spinbtn"
10277 if test "$no_cache" != 1; then
10278 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10279 fi
10280
10281 if test "$wxUSE_SPINBTN" = yes; then
10282 { echo "$as_me:$LINENO: result: yes" >&5
10283 echo "${ECHO_T}yes" >&6; }
10284 else
10285 { echo "$as_me:$LINENO: result: no" >&5
10286 echo "${ECHO_T}no" >&6; }
10287 fi
10288
10289
10290 enablestring=
10291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10292 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10293 no_cache=0
10294 # Check whether --enable-spinctrl was given.
10295 if test "${enable_spinctrl+set}" = set; then
10296 enableval=$enable_spinctrl;
10297 if test "$enableval" = yes; then
10298 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10299 else
10300 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10301 fi
10302
10303 else
10304
10305 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
10306 if test "x$LINE" != x ; then
10307 eval "DEFAULT_$LINE"
10308 else
10309 no_cache=1
10310 fi
10311
10312 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10313
10314 fi
10315
10316
10317 eval "$ac_cv_use_spinctrl"
10318 if test "$no_cache" != 1; then
10319 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10320 fi
10321
10322 if test "$wxUSE_SPINCTRL" = yes; then
10323 { echo "$as_me:$LINENO: result: yes" >&5
10324 echo "${ECHO_T}yes" >&6; }
10325 else
10326 { echo "$as_me:$LINENO: result: no" >&5
10327 echo "${ECHO_T}no" >&6; }
10328 fi
10329
10330
10331 enablestring=
10332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10333 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10334 no_cache=0
10335 # Check whether --enable-splitter was given.
10336 if test "${enable_splitter+set}" = set; then
10337 enableval=$enable_splitter;
10338 if test "$enableval" = yes; then
10339 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10340 else
10341 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10342 fi
10343
10344 else
10345
10346 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
10347 if test "x$LINE" != x ; then
10348 eval "DEFAULT_$LINE"
10349 else
10350 no_cache=1
10351 fi
10352
10353 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10354
10355 fi
10356
10357
10358 eval "$ac_cv_use_splitter"
10359 if test "$no_cache" != 1; then
10360 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10361 fi
10362
10363 if test "$wxUSE_SPLITTER" = yes; then
10364 { echo "$as_me:$LINENO: result: yes" >&5
10365 echo "${ECHO_T}yes" >&6; }
10366 else
10367 { echo "$as_me:$LINENO: result: no" >&5
10368 echo "${ECHO_T}no" >&6; }
10369 fi
10370
10371
10372 enablestring=
10373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10374 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10375 no_cache=0
10376 # Check whether --enable-statbmp was given.
10377 if test "${enable_statbmp+set}" = set; then
10378 enableval=$enable_statbmp;
10379 if test "$enableval" = yes; then
10380 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10381 else
10382 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10383 fi
10384
10385 else
10386
10387 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
10388 if test "x$LINE" != x ; then
10389 eval "DEFAULT_$LINE"
10390 else
10391 no_cache=1
10392 fi
10393
10394 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10395
10396 fi
10397
10398
10399 eval "$ac_cv_use_statbmp"
10400 if test "$no_cache" != 1; then
10401 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10402 fi
10403
10404 if test "$wxUSE_STATBMP" = yes; then
10405 { echo "$as_me:$LINENO: result: yes" >&5
10406 echo "${ECHO_T}yes" >&6; }
10407 else
10408 { echo "$as_me:$LINENO: result: no" >&5
10409 echo "${ECHO_T}no" >&6; }
10410 fi
10411
10412
10413 enablestring=
10414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10415 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10416 no_cache=0
10417 # Check whether --enable-statbox was given.
10418 if test "${enable_statbox+set}" = set; then
10419 enableval=$enable_statbox;
10420 if test "$enableval" = yes; then
10421 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10422 else
10423 ac_cv_use_statbox='wxUSE_STATBOX=no'
10424 fi
10425
10426 else
10427
10428 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
10429 if test "x$LINE" != x ; then
10430 eval "DEFAULT_$LINE"
10431 else
10432 no_cache=1
10433 fi
10434
10435 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10436
10437 fi
10438
10439
10440 eval "$ac_cv_use_statbox"
10441 if test "$no_cache" != 1; then
10442 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10443 fi
10444
10445 if test "$wxUSE_STATBOX" = yes; then
10446 { echo "$as_me:$LINENO: result: yes" >&5
10447 echo "${ECHO_T}yes" >&6; }
10448 else
10449 { echo "$as_me:$LINENO: result: no" >&5
10450 echo "${ECHO_T}no" >&6; }
10451 fi
10452
10453
10454 enablestring=
10455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10456 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10457 no_cache=0
10458 # Check whether --enable-statline was given.
10459 if test "${enable_statline+set}" = set; then
10460 enableval=$enable_statline;
10461 if test "$enableval" = yes; then
10462 ac_cv_use_statline='wxUSE_STATLINE=yes'
10463 else
10464 ac_cv_use_statline='wxUSE_STATLINE=no'
10465 fi
10466
10467 else
10468
10469 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
10470 if test "x$LINE" != x ; then
10471 eval "DEFAULT_$LINE"
10472 else
10473 no_cache=1
10474 fi
10475
10476 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10477
10478 fi
10479
10480
10481 eval "$ac_cv_use_statline"
10482 if test "$no_cache" != 1; then
10483 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10484 fi
10485
10486 if test "$wxUSE_STATLINE" = yes; then
10487 { echo "$as_me:$LINENO: result: yes" >&5
10488 echo "${ECHO_T}yes" >&6; }
10489 else
10490 { echo "$as_me:$LINENO: result: no" >&5
10491 echo "${ECHO_T}no" >&6; }
10492 fi
10493
10494
10495 enablestring=
10496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10497 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10498 no_cache=0
10499 # Check whether --enable-stattext was given.
10500 if test "${enable_stattext+set}" = set; then
10501 enableval=$enable_stattext;
10502 if test "$enableval" = yes; then
10503 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10504 else
10505 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10506 fi
10507
10508 else
10509
10510 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
10511 if test "x$LINE" != x ; then
10512 eval "DEFAULT_$LINE"
10513 else
10514 no_cache=1
10515 fi
10516
10517 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10518
10519 fi
10520
10521
10522 eval "$ac_cv_use_stattext"
10523 if test "$no_cache" != 1; then
10524 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10525 fi
10526
10527 if test "$wxUSE_STATTEXT" = yes; then
10528 { echo "$as_me:$LINENO: result: yes" >&5
10529 echo "${ECHO_T}yes" >&6; }
10530 else
10531 { echo "$as_me:$LINENO: result: no" >&5
10532 echo "${ECHO_T}no" >&6; }
10533 fi
10534
10535
10536 enablestring=
10537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10538 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10539 no_cache=0
10540 # Check whether --enable-statusbar was given.
10541 if test "${enable_statusbar+set}" = set; then
10542 enableval=$enable_statusbar;
10543 if test "$enableval" = yes; then
10544 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10545 else
10546 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10547 fi
10548
10549 else
10550
10551 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
10552 if test "x$LINE" != x ; then
10553 eval "DEFAULT_$LINE"
10554 else
10555 no_cache=1
10556 fi
10557
10558 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10559
10560 fi
10561
10562
10563 eval "$ac_cv_use_statusbar"
10564 if test "$no_cache" != 1; then
10565 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10566 fi
10567
10568 if test "$wxUSE_STATUSBAR" = yes; then
10569 { echo "$as_me:$LINENO: result: yes" >&5
10570 echo "${ECHO_T}yes" >&6; }
10571 else
10572 { echo "$as_me:$LINENO: result: no" >&5
10573 echo "${ECHO_T}no" >&6; }
10574 fi
10575
10576
10577 enablestring=
10578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10579 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10580 no_cache=0
10581 # Check whether --enable-tabdialog was given.
10582 if test "${enable_tabdialog+set}" = set; then
10583 enableval=$enable_tabdialog;
10584 if test "$enableval" = yes; then
10585 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10586 else
10587 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10588 fi
10589
10590 else
10591
10592 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
10593 if test "x$LINE" != x ; then
10594 eval "DEFAULT_$LINE"
10595 else
10596 no_cache=1
10597 fi
10598
10599 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10600
10601 fi
10602
10603
10604 eval "$ac_cv_use_tabdialog"
10605 if test "$no_cache" != 1; then
10606 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10607 fi
10608
10609 if test "$wxUSE_TAB_DIALOG" = yes; then
10610 { echo "$as_me:$LINENO: result: yes" >&5
10611 echo "${ECHO_T}yes" >&6; }
10612 else
10613 { echo "$as_me:$LINENO: result: no" >&5
10614 echo "${ECHO_T}no" >&6; }
10615 fi
10616
10617
10618 enablestring=
10619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10620 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10621 no_cache=0
10622 # Check whether --enable-textctrl was given.
10623 if test "${enable_textctrl+set}" = set; then
10624 enableval=$enable_textctrl;
10625 if test "$enableval" = yes; then
10626 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10627 else
10628 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10629 fi
10630
10631 else
10632
10633 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10634 if test "x$LINE" != x ; then
10635 eval "DEFAULT_$LINE"
10636 else
10637 no_cache=1
10638 fi
10639
10640 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10641
10642 fi
10643
10644
10645 eval "$ac_cv_use_textctrl"
10646 if test "$no_cache" != 1; then
10647 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10648 fi
10649
10650 if test "$wxUSE_TEXTCTRL" = yes; then
10651 { echo "$as_me:$LINENO: result: yes" >&5
10652 echo "${ECHO_T}yes" >&6; }
10653 else
10654 { echo "$as_me:$LINENO: result: no" >&5
10655 echo "${ECHO_T}no" >&6; }
10656 fi
10657
10658
10659 enablestring=
10660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10661 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10662 no_cache=0
10663 # Check whether --enable-togglebtn was given.
10664 if test "${enable_togglebtn+set}" = set; then
10665 enableval=$enable_togglebtn;
10666 if test "$enableval" = yes; then
10667 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10668 else
10669 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10670 fi
10671
10672 else
10673
10674 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10675 if test "x$LINE" != x ; then
10676 eval "DEFAULT_$LINE"
10677 else
10678 no_cache=1
10679 fi
10680
10681 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10682
10683 fi
10684
10685
10686 eval "$ac_cv_use_togglebtn"
10687 if test "$no_cache" != 1; then
10688 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10689 fi
10690
10691 if test "$wxUSE_TOGGLEBTN" = yes; then
10692 { echo "$as_me:$LINENO: result: yes" >&5
10693 echo "${ECHO_T}yes" >&6; }
10694 else
10695 { echo "$as_me:$LINENO: result: no" >&5
10696 echo "${ECHO_T}no" >&6; }
10697 fi
10698
10699
10700 enablestring=
10701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10702 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10703 no_cache=0
10704 # Check whether --enable-toolbar was given.
10705 if test "${enable_toolbar+set}" = set; then
10706 enableval=$enable_toolbar;
10707 if test "$enableval" = yes; then
10708 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10709 else
10710 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10711 fi
10712
10713 else
10714
10715 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10716 if test "x$LINE" != x ; then
10717 eval "DEFAULT_$LINE"
10718 else
10719 no_cache=1
10720 fi
10721
10722 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10723
10724 fi
10725
10726
10727 eval "$ac_cv_use_toolbar"
10728 if test "$no_cache" != 1; then
10729 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10730 fi
10731
10732 if test "$wxUSE_TOOLBAR" = yes; then
10733 { echo "$as_me:$LINENO: result: yes" >&5
10734 echo "${ECHO_T}yes" >&6; }
10735 else
10736 { echo "$as_me:$LINENO: result: no" >&5
10737 echo "${ECHO_T}no" >&6; }
10738 fi
10739
10740
10741 enablestring=
10742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10743 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10744 no_cache=0
10745 # Check whether --enable-tbarnative was given.
10746 if test "${enable_tbarnative+set}" = set; then
10747 enableval=$enable_tbarnative;
10748 if test "$enableval" = yes; then
10749 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10750 else
10751 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10752 fi
10753
10754 else
10755
10756 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10757 if test "x$LINE" != x ; then
10758 eval "DEFAULT_$LINE"
10759 else
10760 no_cache=1
10761 fi
10762
10763 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10764
10765 fi
10766
10767
10768 eval "$ac_cv_use_tbarnative"
10769 if test "$no_cache" != 1; then
10770 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10771 fi
10772
10773 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10774 { echo "$as_me:$LINENO: result: yes" >&5
10775 echo "${ECHO_T}yes" >&6; }
10776 else
10777 { echo "$as_me:$LINENO: result: no" >&5
10778 echo "${ECHO_T}no" >&6; }
10779 fi
10780
10781
10782 enablestring=
10783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10784 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
10785 no_cache=0
10786 # Check whether --enable-treebook was given.
10787 if test "${enable_treebook+set}" = set; then
10788 enableval=$enable_treebook;
10789 if test "$enableval" = yes; then
10790 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10791 else
10792 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10793 fi
10794
10795 else
10796
10797 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10798 if test "x$LINE" != x ; then
10799 eval "DEFAULT_$LINE"
10800 else
10801 no_cache=1
10802 fi
10803
10804 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10805
10806 fi
10807
10808
10809 eval "$ac_cv_use_treebook"
10810 if test "$no_cache" != 1; then
10811 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10812 fi
10813
10814 if test "$wxUSE_TREEBOOK" = yes; then
10815 { echo "$as_me:$LINENO: result: yes" >&5
10816 echo "${ECHO_T}yes" >&6; }
10817 else
10818 { echo "$as_me:$LINENO: result: no" >&5
10819 echo "${ECHO_T}no" >&6; }
10820 fi
10821
10822
10823 enablestring=
10824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10825 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
10826 no_cache=0
10827 # Check whether --enable-toolbook was given.
10828 if test "${enable_toolbook+set}" = set; then
10829 enableval=$enable_toolbook;
10830 if test "$enableval" = yes; then
10831 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10832 else
10833 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10834 fi
10835
10836 else
10837
10838 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10839 if test "x$LINE" != x ; then
10840 eval "DEFAULT_$LINE"
10841 else
10842 no_cache=1
10843 fi
10844
10845 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10846
10847 fi
10848
10849
10850 eval "$ac_cv_use_toolbook"
10851 if test "$no_cache" != 1; then
10852 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10853 fi
10854
10855 if test "$wxUSE_TOOLBOOK" = yes; then
10856 { echo "$as_me:$LINENO: result: yes" >&5
10857 echo "${ECHO_T}yes" >&6; }
10858 else
10859 { echo "$as_me:$LINENO: result: no" >&5
10860 echo "${ECHO_T}no" >&6; }
10861 fi
10862
10863
10864 enablestring=
10865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10866 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
10867 no_cache=0
10868 # Check whether --enable-treectrl was given.
10869 if test "${enable_treectrl+set}" = set; then
10870 enableval=$enable_treectrl;
10871 if test "$enableval" = yes; then
10872 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10873 else
10874 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10875 fi
10876
10877 else
10878
10879 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10880 if test "x$LINE" != x ; then
10881 eval "DEFAULT_$LINE"
10882 else
10883 no_cache=1
10884 fi
10885
10886 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10887
10888 fi
10889
10890
10891 eval "$ac_cv_use_treectrl"
10892 if test "$no_cache" != 1; then
10893 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10894 fi
10895
10896 if test "$wxUSE_TREECTRL" = yes; then
10897 { echo "$as_me:$LINENO: result: yes" >&5
10898 echo "${ECHO_T}yes" >&6; }
10899 else
10900 { echo "$as_me:$LINENO: result: no" >&5
10901 echo "${ECHO_T}no" >&6; }
10902 fi
10903
10904
10905 enablestring=
10906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10907 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
10908 no_cache=0
10909 # Check whether --enable-tipwindow was given.
10910 if test "${enable_tipwindow+set}" = set; then
10911 enableval=$enable_tipwindow;
10912 if test "$enableval" = yes; then
10913 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10914 else
10915 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10916 fi
10917
10918 else
10919
10920 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10921 if test "x$LINE" != x ; then
10922 eval "DEFAULT_$LINE"
10923 else
10924 no_cache=1
10925 fi
10926
10927 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10928
10929 fi
10930
10931
10932 eval "$ac_cv_use_tipwindow"
10933 if test "$no_cache" != 1; then
10934 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10935 fi
10936
10937 if test "$wxUSE_TIPWINDOW" = yes; then
10938 { echo "$as_me:$LINENO: result: yes" >&5
10939 echo "${ECHO_T}yes" >&6; }
10940 else
10941 { echo "$as_me:$LINENO: result: no" >&5
10942 echo "${ECHO_T}no" >&6; }
10943 fi
10944
10945
10946 enablestring=
10947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10948 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
10949 no_cache=0
10950 # Check whether --enable-popupwin was given.
10951 if test "${enable_popupwin+set}" = set; then
10952 enableval=$enable_popupwin;
10953 if test "$enableval" = yes; then
10954 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10955 else
10956 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10957 fi
10958
10959 else
10960
10961 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10962 if test "x$LINE" != x ; then
10963 eval "DEFAULT_$LINE"
10964 else
10965 no_cache=1
10966 fi
10967
10968 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10969
10970 fi
10971
10972
10973 eval "$ac_cv_use_popupwin"
10974 if test "$no_cache" != 1; then
10975 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10976 fi
10977
10978 if test "$wxUSE_POPUPWIN" = yes; then
10979 { echo "$as_me:$LINENO: result: yes" >&5
10980 echo "${ECHO_T}yes" >&6; }
10981 else
10982 { echo "$as_me:$LINENO: result: no" >&5
10983 echo "${ECHO_T}no" >&6; }
10984 fi
10985
10986
10987
10988
10989 enablestring=
10990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10991 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
10992 no_cache=0
10993 # Check whether --enable-commondlg was given.
10994 if test "${enable_commondlg+set}" = set; then
10995 enableval=$enable_commondlg;
10996 if test "$enableval" = yes; then
10997 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
10998 else
10999 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11000 fi
11001
11002 else
11003
11004 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
11005 if test "x$LINE" != x ; then
11006 eval "DEFAULT_$LINE"
11007 else
11008 no_cache=1
11009 fi
11010
11011 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11012
11013 fi
11014
11015
11016 eval "$ac_cv_use_commondlg"
11017 if test "$no_cache" != 1; then
11018 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11019 fi
11020
11021 if test "$wxUSE_COMMONDLGS" = yes; then
11022 { echo "$as_me:$LINENO: result: yes" >&5
11023 echo "${ECHO_T}yes" >&6; }
11024 else
11025 { echo "$as_me:$LINENO: result: no" >&5
11026 echo "${ECHO_T}no" >&6; }
11027 fi
11028
11029
11030 enablestring=
11031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11032 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11033 no_cache=0
11034 # Check whether --enable-aboutdlg was given.
11035 if test "${enable_aboutdlg+set}" = set; then
11036 enableval=$enable_aboutdlg;
11037 if test "$enableval" = yes; then
11038 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11039 else
11040 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11041 fi
11042
11043 else
11044
11045 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
11046 if test "x$LINE" != x ; then
11047 eval "DEFAULT_$LINE"
11048 else
11049 no_cache=1
11050 fi
11051
11052 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11053
11054 fi
11055
11056
11057 eval "$ac_cv_use_aboutdlg"
11058 if test "$no_cache" != 1; then
11059 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11060 fi
11061
11062 if test "$wxUSE_ABOUTDLG" = yes; then
11063 { echo "$as_me:$LINENO: result: yes" >&5
11064 echo "${ECHO_T}yes" >&6; }
11065 else
11066 { echo "$as_me:$LINENO: result: no" >&5
11067 echo "${ECHO_T}no" >&6; }
11068 fi
11069
11070
11071 enablestring=
11072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11073 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11074 no_cache=0
11075 # Check whether --enable-choicedlg was given.
11076 if test "${enable_choicedlg+set}" = set; then
11077 enableval=$enable_choicedlg;
11078 if test "$enableval" = yes; then
11079 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11080 else
11081 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11082 fi
11083
11084 else
11085
11086 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
11087 if test "x$LINE" != x ; then
11088 eval "DEFAULT_$LINE"
11089 else
11090 no_cache=1
11091 fi
11092
11093 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11094
11095 fi
11096
11097
11098 eval "$ac_cv_use_choicedlg"
11099 if test "$no_cache" != 1; then
11100 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11101 fi
11102
11103 if test "$wxUSE_CHOICEDLG" = yes; then
11104 { echo "$as_me:$LINENO: result: yes" >&5
11105 echo "${ECHO_T}yes" >&6; }
11106 else
11107 { echo "$as_me:$LINENO: result: no" >&5
11108 echo "${ECHO_T}no" >&6; }
11109 fi
11110
11111
11112 enablestring=
11113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11114 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11115 no_cache=0
11116 # Check whether --enable-coldlg was given.
11117 if test "${enable_coldlg+set}" = set; then
11118 enableval=$enable_coldlg;
11119 if test "$enableval" = yes; then
11120 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11121 else
11122 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11123 fi
11124
11125 else
11126
11127 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
11128 if test "x$LINE" != x ; then
11129 eval "DEFAULT_$LINE"
11130 else
11131 no_cache=1
11132 fi
11133
11134 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11135
11136 fi
11137
11138
11139 eval "$ac_cv_use_coldlg"
11140 if test "$no_cache" != 1; then
11141 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11142 fi
11143
11144 if test "$wxUSE_COLOURDLG" = yes; then
11145 { echo "$as_me:$LINENO: result: yes" >&5
11146 echo "${ECHO_T}yes" >&6; }
11147 else
11148 { echo "$as_me:$LINENO: result: no" >&5
11149 echo "${ECHO_T}no" >&6; }
11150 fi
11151
11152
11153 enablestring=
11154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11155 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11156 no_cache=0
11157 # Check whether --enable-filedlg was given.
11158 if test "${enable_filedlg+set}" = set; then
11159 enableval=$enable_filedlg;
11160 if test "$enableval" = yes; then
11161 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11162 else
11163 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11164 fi
11165
11166 else
11167
11168 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
11169 if test "x$LINE" != x ; then
11170 eval "DEFAULT_$LINE"
11171 else
11172 no_cache=1
11173 fi
11174
11175 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11176
11177 fi
11178
11179
11180 eval "$ac_cv_use_filedlg"
11181 if test "$no_cache" != 1; then
11182 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11183 fi
11184
11185 if test "$wxUSE_FILEDLG" = yes; then
11186 { echo "$as_me:$LINENO: result: yes" >&5
11187 echo "${ECHO_T}yes" >&6; }
11188 else
11189 { echo "$as_me:$LINENO: result: no" >&5
11190 echo "${ECHO_T}no" >&6; }
11191 fi
11192
11193
11194 enablestring=
11195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11196 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11197 no_cache=0
11198 # Check whether --enable-finddlg was given.
11199 if test "${enable_finddlg+set}" = set; then
11200 enableval=$enable_finddlg;
11201 if test "$enableval" = yes; then
11202 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11203 else
11204 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11205 fi
11206
11207 else
11208
11209 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
11210 if test "x$LINE" != x ; then
11211 eval "DEFAULT_$LINE"
11212 else
11213 no_cache=1
11214 fi
11215
11216 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11217
11218 fi
11219
11220
11221 eval "$ac_cv_use_finddlg"
11222 if test "$no_cache" != 1; then
11223 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11224 fi
11225
11226 if test "$wxUSE_FINDREPLDLG" = yes; then
11227 { echo "$as_me:$LINENO: result: yes" >&5
11228 echo "${ECHO_T}yes" >&6; }
11229 else
11230 { echo "$as_me:$LINENO: result: no" >&5
11231 echo "${ECHO_T}no" >&6; }
11232 fi
11233
11234
11235 enablestring=
11236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11237 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11238 no_cache=0
11239 # Check whether --enable-fontdlg was given.
11240 if test "${enable_fontdlg+set}" = set; then
11241 enableval=$enable_fontdlg;
11242 if test "$enableval" = yes; then
11243 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11244 else
11245 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11246 fi
11247
11248 else
11249
11250 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
11251 if test "x$LINE" != x ; then
11252 eval "DEFAULT_$LINE"
11253 else
11254 no_cache=1
11255 fi
11256
11257 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11258
11259 fi
11260
11261
11262 eval "$ac_cv_use_fontdlg"
11263 if test "$no_cache" != 1; then
11264 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11265 fi
11266
11267 if test "$wxUSE_FONTDLG" = yes; then
11268 { echo "$as_me:$LINENO: result: yes" >&5
11269 echo "${ECHO_T}yes" >&6; }
11270 else
11271 { echo "$as_me:$LINENO: result: no" >&5
11272 echo "${ECHO_T}no" >&6; }
11273 fi
11274
11275
11276 enablestring=
11277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11278 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11279 no_cache=0
11280 # Check whether --enable-dirdlg was given.
11281 if test "${enable_dirdlg+set}" = set; then
11282 enableval=$enable_dirdlg;
11283 if test "$enableval" = yes; then
11284 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11285 else
11286 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11287 fi
11288
11289 else
11290
11291 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
11292 if test "x$LINE" != x ; then
11293 eval "DEFAULT_$LINE"
11294 else
11295 no_cache=1
11296 fi
11297
11298 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11299
11300 fi
11301
11302
11303 eval "$ac_cv_use_dirdlg"
11304 if test "$no_cache" != 1; then
11305 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11306 fi
11307
11308 if test "$wxUSE_DIRDLG" = yes; then
11309 { echo "$as_me:$LINENO: result: yes" >&5
11310 echo "${ECHO_T}yes" >&6; }
11311 else
11312 { echo "$as_me:$LINENO: result: no" >&5
11313 echo "${ECHO_T}no" >&6; }
11314 fi
11315
11316
11317 enablestring=
11318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11319 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11320 no_cache=0
11321 # Check whether --enable-msgdlg was given.
11322 if test "${enable_msgdlg+set}" = set; then
11323 enableval=$enable_msgdlg;
11324 if test "$enableval" = yes; then
11325 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11326 else
11327 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11328 fi
11329
11330 else
11331
11332 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
11333 if test "x$LINE" != x ; then
11334 eval "DEFAULT_$LINE"
11335 else
11336 no_cache=1
11337 fi
11338
11339 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11340
11341 fi
11342
11343
11344 eval "$ac_cv_use_msgdlg"
11345 if test "$no_cache" != 1; then
11346 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11347 fi
11348
11349 if test "$wxUSE_MSGDLG" = yes; then
11350 { echo "$as_me:$LINENO: result: yes" >&5
11351 echo "${ECHO_T}yes" >&6; }
11352 else
11353 { echo "$as_me:$LINENO: result: no" >&5
11354 echo "${ECHO_T}no" >&6; }
11355 fi
11356
11357
11358 enablestring=
11359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11360 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11361 no_cache=0
11362 # Check whether --enable-numberdlg was given.
11363 if test "${enable_numberdlg+set}" = set; then
11364 enableval=$enable_numberdlg;
11365 if test "$enableval" = yes; then
11366 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11367 else
11368 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11369 fi
11370
11371 else
11372
11373 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
11374 if test "x$LINE" != x ; then
11375 eval "DEFAULT_$LINE"
11376 else
11377 no_cache=1
11378 fi
11379
11380 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11381
11382 fi
11383
11384
11385 eval "$ac_cv_use_numberdlg"
11386 if test "$no_cache" != 1; then
11387 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11388 fi
11389
11390 if test "$wxUSE_NUMBERDLG" = yes; then
11391 { echo "$as_me:$LINENO: result: yes" >&5
11392 echo "${ECHO_T}yes" >&6; }
11393 else
11394 { echo "$as_me:$LINENO: result: no" >&5
11395 echo "${ECHO_T}no" >&6; }
11396 fi
11397
11398
11399 enablestring=
11400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11401 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11402 no_cache=0
11403 # Check whether --enable-splash was given.
11404 if test "${enable_splash+set}" = set; then
11405 enableval=$enable_splash;
11406 if test "$enableval" = yes; then
11407 ac_cv_use_splash='wxUSE_SPLASH=yes'
11408 else
11409 ac_cv_use_splash='wxUSE_SPLASH=no'
11410 fi
11411
11412 else
11413
11414 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
11415 if test "x$LINE" != x ; then
11416 eval "DEFAULT_$LINE"
11417 else
11418 no_cache=1
11419 fi
11420
11421 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11422
11423 fi
11424
11425
11426 eval "$ac_cv_use_splash"
11427 if test "$no_cache" != 1; then
11428 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11429 fi
11430
11431 if test "$wxUSE_SPLASH" = yes; then
11432 { echo "$as_me:$LINENO: result: yes" >&5
11433 echo "${ECHO_T}yes" >&6; }
11434 else
11435 { echo "$as_me:$LINENO: result: no" >&5
11436 echo "${ECHO_T}no" >&6; }
11437 fi
11438
11439
11440 enablestring=
11441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11442 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11443 no_cache=0
11444 # Check whether --enable-textdlg was given.
11445 if test "${enable_textdlg+set}" = set; then
11446 enableval=$enable_textdlg;
11447 if test "$enableval" = yes; then
11448 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11449 else
11450 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11451 fi
11452
11453 else
11454
11455 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
11456 if test "x$LINE" != x ; then
11457 eval "DEFAULT_$LINE"
11458 else
11459 no_cache=1
11460 fi
11461
11462 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11463
11464 fi
11465
11466
11467 eval "$ac_cv_use_textdlg"
11468 if test "$no_cache" != 1; then
11469 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11470 fi
11471
11472 if test "$wxUSE_TEXTDLG" = yes; then
11473 { echo "$as_me:$LINENO: result: yes" >&5
11474 echo "${ECHO_T}yes" >&6; }
11475 else
11476 { echo "$as_me:$LINENO: result: no" >&5
11477 echo "${ECHO_T}no" >&6; }
11478 fi
11479
11480
11481 enablestring=
11482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11483 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11484 no_cache=0
11485 # Check whether --enable-tipdlg was given.
11486 if test "${enable_tipdlg+set}" = set; then
11487 enableval=$enable_tipdlg;
11488 if test "$enableval" = yes; then
11489 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11490 else
11491 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11492 fi
11493
11494 else
11495
11496 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
11497 if test "x$LINE" != x ; then
11498 eval "DEFAULT_$LINE"
11499 else
11500 no_cache=1
11501 fi
11502
11503 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11504
11505 fi
11506
11507
11508 eval "$ac_cv_use_tipdlg"
11509 if test "$no_cache" != 1; then
11510 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11511 fi
11512
11513 if test "$wxUSE_STARTUP_TIPS" = yes; then
11514 { echo "$as_me:$LINENO: result: yes" >&5
11515 echo "${ECHO_T}yes" >&6; }
11516 else
11517 { echo "$as_me:$LINENO: result: no" >&5
11518 echo "${ECHO_T}no" >&6; }
11519 fi
11520
11521
11522 enablestring=
11523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11524 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11525 no_cache=0
11526 # Check whether --enable-progressdlg was given.
11527 if test "${enable_progressdlg+set}" = set; then
11528 enableval=$enable_progressdlg;
11529 if test "$enableval" = yes; then
11530 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11531 else
11532 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11533 fi
11534
11535 else
11536
11537 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
11538 if test "x$LINE" != x ; then
11539 eval "DEFAULT_$LINE"
11540 else
11541 no_cache=1
11542 fi
11543
11544 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11545
11546 fi
11547
11548
11549 eval "$ac_cv_use_progressdlg"
11550 if test "$no_cache" != 1; then
11551 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11552 fi
11553
11554 if test "$wxUSE_PROGRESSDLG" = yes; then
11555 { echo "$as_me:$LINENO: result: yes" >&5
11556 echo "${ECHO_T}yes" >&6; }
11557 else
11558 { echo "$as_me:$LINENO: result: no" >&5
11559 echo "${ECHO_T}no" >&6; }
11560 fi
11561
11562
11563 enablestring=
11564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11565 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11566 no_cache=0
11567 # Check whether --enable-wizarddlg was given.
11568 if test "${enable_wizarddlg+set}" = set; then
11569 enableval=$enable_wizarddlg;
11570 if test "$enableval" = yes; then
11571 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11572 else
11573 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11574 fi
11575
11576 else
11577
11578 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11579 if test "x$LINE" != x ; then
11580 eval "DEFAULT_$LINE"
11581 else
11582 no_cache=1
11583 fi
11584
11585 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11586
11587 fi
11588
11589
11590 eval "$ac_cv_use_wizarddlg"
11591 if test "$no_cache" != 1; then
11592 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11593 fi
11594
11595 if test "$wxUSE_WIZARDDLG" = yes; then
11596 { echo "$as_me:$LINENO: result: yes" >&5
11597 echo "${ECHO_T}yes" >&6; }
11598 else
11599 { echo "$as_me:$LINENO: result: no" >&5
11600 echo "${ECHO_T}no" >&6; }
11601 fi
11602
11603
11604
11605
11606 enablestring=
11607 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11608 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11609 no_cache=0
11610 # Check whether --enable-menus was given.
11611 if test "${enable_menus+set}" = set; then
11612 enableval=$enable_menus;
11613 if test "$enableval" = yes; then
11614 ac_cv_use_menus='wxUSE_MENUS=yes'
11615 else
11616 ac_cv_use_menus='wxUSE_MENUS=no'
11617 fi
11618
11619 else
11620
11621 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11622 if test "x$LINE" != x ; then
11623 eval "DEFAULT_$LINE"
11624 else
11625 no_cache=1
11626 fi
11627
11628 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11629
11630 fi
11631
11632
11633 eval "$ac_cv_use_menus"
11634 if test "$no_cache" != 1; then
11635 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11636 fi
11637
11638 if test "$wxUSE_MENUS" = yes; then
11639 { echo "$as_me:$LINENO: result: yes" >&5
11640 echo "${ECHO_T}yes" >&6; }
11641 else
11642 { echo "$as_me:$LINENO: result: no" >&5
11643 echo "${ECHO_T}no" >&6; }
11644 fi
11645
11646
11647 enablestring=
11648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11649 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11650 no_cache=0
11651 # Check whether --enable-miniframe was given.
11652 if test "${enable_miniframe+set}" = set; then
11653 enableval=$enable_miniframe;
11654 if test "$enableval" = yes; then
11655 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11656 else
11657 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11658 fi
11659
11660 else
11661
11662 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11663 if test "x$LINE" != x ; then
11664 eval "DEFAULT_$LINE"
11665 else
11666 no_cache=1
11667 fi
11668
11669 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11670
11671 fi
11672
11673
11674 eval "$ac_cv_use_miniframe"
11675 if test "$no_cache" != 1; then
11676 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11677 fi
11678
11679 if test "$wxUSE_MINIFRAME" = yes; then
11680 { echo "$as_me:$LINENO: result: yes" >&5
11681 echo "${ECHO_T}yes" >&6; }
11682 else
11683 { echo "$as_me:$LINENO: result: no" >&5
11684 echo "${ECHO_T}no" >&6; }
11685 fi
11686
11687
11688 enablestring=
11689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11690 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11691 no_cache=0
11692 # Check whether --enable-tooltips was given.
11693 if test "${enable_tooltips+set}" = set; then
11694 enableval=$enable_tooltips;
11695 if test "$enableval" = yes; then
11696 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11697 else
11698 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11699 fi
11700
11701 else
11702
11703 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11704 if test "x$LINE" != x ; then
11705 eval "DEFAULT_$LINE"
11706 else
11707 no_cache=1
11708 fi
11709
11710 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11711
11712 fi
11713
11714
11715 eval "$ac_cv_use_tooltips"
11716 if test "$no_cache" != 1; then
11717 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11718 fi
11719
11720 if test "$wxUSE_TOOLTIPS" = yes; then
11721 { echo "$as_me:$LINENO: result: yes" >&5
11722 echo "${ECHO_T}yes" >&6; }
11723 else
11724 { echo "$as_me:$LINENO: result: no" >&5
11725 echo "${ECHO_T}no" >&6; }
11726 fi
11727
11728
11729 enablestring=
11730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11731 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11732 no_cache=0
11733 # Check whether --enable-splines was given.
11734 if test "${enable_splines+set}" = set; then
11735 enableval=$enable_splines;
11736 if test "$enableval" = yes; then
11737 ac_cv_use_splines='wxUSE_SPLINES=yes'
11738 else
11739 ac_cv_use_splines='wxUSE_SPLINES=no'
11740 fi
11741
11742 else
11743
11744 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11745 if test "x$LINE" != x ; then
11746 eval "DEFAULT_$LINE"
11747 else
11748 no_cache=1
11749 fi
11750
11751 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11752
11753 fi
11754
11755
11756 eval "$ac_cv_use_splines"
11757 if test "$no_cache" != 1; then
11758 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11759 fi
11760
11761 if test "$wxUSE_SPLINES" = yes; then
11762 { echo "$as_me:$LINENO: result: yes" >&5
11763 echo "${ECHO_T}yes" >&6; }
11764 else
11765 { echo "$as_me:$LINENO: result: no" >&5
11766 echo "${ECHO_T}no" >&6; }
11767 fi
11768
11769
11770 enablestring=
11771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11772 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
11773 no_cache=0
11774 # Check whether --enable-mousewheel was given.
11775 if test "${enable_mousewheel+set}" = set; then
11776 enableval=$enable_mousewheel;
11777 if test "$enableval" = yes; then
11778 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11779 else
11780 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11781 fi
11782
11783 else
11784
11785 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11786 if test "x$LINE" != x ; then
11787 eval "DEFAULT_$LINE"
11788 else
11789 no_cache=1
11790 fi
11791
11792 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11793
11794 fi
11795
11796
11797 eval "$ac_cv_use_mousewheel"
11798 if test "$no_cache" != 1; then
11799 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11800 fi
11801
11802 if test "$wxUSE_MOUSEWHEEL" = yes; then
11803 { echo "$as_me:$LINENO: result: yes" >&5
11804 echo "${ECHO_T}yes" >&6; }
11805 else
11806 { echo "$as_me:$LINENO: result: no" >&5
11807 echo "${ECHO_T}no" >&6; }
11808 fi
11809
11810
11811 enablestring=
11812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11813 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
11814 no_cache=0
11815 # Check whether --enable-validators was given.
11816 if test "${enable_validators+set}" = set; then
11817 enableval=$enable_validators;
11818 if test "$enableval" = yes; then
11819 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11820 else
11821 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11822 fi
11823
11824 else
11825
11826 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11827 if test "x$LINE" != x ; then
11828 eval "DEFAULT_$LINE"
11829 else
11830 no_cache=1
11831 fi
11832
11833 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11834
11835 fi
11836
11837
11838 eval "$ac_cv_use_validators"
11839 if test "$no_cache" != 1; then
11840 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11841 fi
11842
11843 if test "$wxUSE_VALIDATORS" = yes; then
11844 { echo "$as_me:$LINENO: result: yes" >&5
11845 echo "${ECHO_T}yes" >&6; }
11846 else
11847 { echo "$as_me:$LINENO: result: no" >&5
11848 echo "${ECHO_T}no" >&6; }
11849 fi
11850
11851
11852 enablestring=
11853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11854 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
11855 no_cache=0
11856 # Check whether --enable-busyinfo was given.
11857 if test "${enable_busyinfo+set}" = set; then
11858 enableval=$enable_busyinfo;
11859 if test "$enableval" = yes; then
11860 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11861 else
11862 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11863 fi
11864
11865 else
11866
11867 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11868 if test "x$LINE" != x ; then
11869 eval "DEFAULT_$LINE"
11870 else
11871 no_cache=1
11872 fi
11873
11874 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11875
11876 fi
11877
11878
11879 eval "$ac_cv_use_busyinfo"
11880 if test "$no_cache" != 1; then
11881 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11882 fi
11883
11884 if test "$wxUSE_BUSYINFO" = yes; then
11885 { echo "$as_me:$LINENO: result: yes" >&5
11886 echo "${ECHO_T}yes" >&6; }
11887 else
11888 { echo "$as_me:$LINENO: result: no" >&5
11889 echo "${ECHO_T}no" >&6; }
11890 fi
11891
11892
11893 enablestring=
11894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11895 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
11896 no_cache=0
11897 # Check whether --enable-joystick was given.
11898 if test "${enable_joystick+set}" = set; then
11899 enableval=$enable_joystick;
11900 if test "$enableval" = yes; then
11901 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11902 else
11903 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11904 fi
11905
11906 else
11907
11908 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11909 if test "x$LINE" != x ; then
11910 eval "DEFAULT_$LINE"
11911 else
11912 no_cache=1
11913 fi
11914
11915 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11916
11917 fi
11918
11919
11920 eval "$ac_cv_use_joystick"
11921 if test "$no_cache" != 1; then
11922 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11923 fi
11924
11925 if test "$wxUSE_JOYSTICK" = yes; then
11926 { echo "$as_me:$LINENO: result: yes" >&5
11927 echo "${ECHO_T}yes" >&6; }
11928 else
11929 { echo "$as_me:$LINENO: result: no" >&5
11930 echo "${ECHO_T}no" >&6; }
11931 fi
11932
11933
11934 enablestring=
11935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11936 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
11937 no_cache=0
11938 # Check whether --enable-metafile was given.
11939 if test "${enable_metafile+set}" = set; then
11940 enableval=$enable_metafile;
11941 if test "$enableval" = yes; then
11942 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11943 else
11944 ac_cv_use_metafile='wxUSE_METAFILE=no'
11945 fi
11946
11947 else
11948
11949 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11950 if test "x$LINE" != x ; then
11951 eval "DEFAULT_$LINE"
11952 else
11953 no_cache=1
11954 fi
11955
11956 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11957
11958 fi
11959
11960
11961 eval "$ac_cv_use_metafile"
11962 if test "$no_cache" != 1; then
11963 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11964 fi
11965
11966 if test "$wxUSE_METAFILE" = yes; then
11967 { echo "$as_me:$LINENO: result: yes" >&5
11968 echo "${ECHO_T}yes" >&6; }
11969 else
11970 { echo "$as_me:$LINENO: result: no" >&5
11971 echo "${ECHO_T}no" >&6; }
11972 fi
11973
11974
11975 enablestring=
11976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11977 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
11978 no_cache=0
11979 # Check whether --enable-dragimage was given.
11980 if test "${enable_dragimage+set}" = set; then
11981 enableval=$enable_dragimage;
11982 if test "$enableval" = yes; then
11983 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
11984 else
11985 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
11986 fi
11987
11988 else
11989
11990 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11991 if test "x$LINE" != x ; then
11992 eval "DEFAULT_$LINE"
11993 else
11994 no_cache=1
11995 fi
11996
11997 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11998
11999 fi
12000
12001
12002 eval "$ac_cv_use_dragimage"
12003 if test "$no_cache" != 1; then
12004 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12005 fi
12006
12007 if test "$wxUSE_DRAGIMAGE" = yes; then
12008 { echo "$as_me:$LINENO: result: yes" >&5
12009 echo "${ECHO_T}yes" >&6; }
12010 else
12011 { echo "$as_me:$LINENO: result: no" >&5
12012 echo "${ECHO_T}no" >&6; }
12013 fi
12014
12015
12016 enablestring=
12017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12018 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12019 no_cache=0
12020 # Check whether --enable-accessibility was given.
12021 if test "${enable_accessibility+set}" = set; then
12022 enableval=$enable_accessibility;
12023 if test "$enableval" = yes; then
12024 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12025 else
12026 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12027 fi
12028
12029 else
12030
12031 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
12032 if test "x$LINE" != x ; then
12033 eval "DEFAULT_$LINE"
12034 else
12035 no_cache=1
12036 fi
12037
12038 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12039
12040 fi
12041
12042
12043 eval "$ac_cv_use_accessibility"
12044 if test "$no_cache" != 1; then
12045 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12046 fi
12047
12048 if test "$wxUSE_ACCESSIBILITY" = yes; then
12049 { echo "$as_me:$LINENO: result: yes" >&5
12050 echo "${ECHO_T}yes" >&6; }
12051 else
12052 { echo "$as_me:$LINENO: result: no" >&5
12053 echo "${ECHO_T}no" >&6; }
12054 fi
12055
12056
12057 if test "$wxUSE_MSW" = "1"; then
12058
12059 enablestring=
12060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12061 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12062 no_cache=0
12063 # Check whether --enable-dccache was given.
12064 if test "${enable_dccache+set}" = set; then
12065 enableval=$enable_dccache;
12066 if test "$enableval" = yes; then
12067 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12068 else
12069 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12070 fi
12071
12072 else
12073
12074 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
12075 if test "x$LINE" != x ; then
12076 eval "DEFAULT_$LINE"
12077 else
12078 no_cache=1
12079 fi
12080
12081 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12082
12083 fi
12084
12085
12086 eval "$ac_cv_use_dccache"
12087 if test "$no_cache" != 1; then
12088 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12089 fi
12090
12091 if test "$wxUSE_DC_CACHEING" = yes; then
12092 { echo "$as_me:$LINENO: result: yes" >&5
12093 echo "${ECHO_T}yes" >&6; }
12094 else
12095 { echo "$as_me:$LINENO: result: no" >&5
12096 echo "${ECHO_T}no" >&6; }
12097 fi
12098
12099 fi
12100
12101
12102
12103 enablestring=
12104 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12105 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12106 no_cache=0
12107 # Check whether --enable-palette was given.
12108 if test "${enable_palette+set}" = set; then
12109 enableval=$enable_palette;
12110 if test "$enableval" = yes; then
12111 ac_cv_use_palette='wxUSE_PALETTE=yes'
12112 else
12113 ac_cv_use_palette='wxUSE_PALETTE=no'
12114 fi
12115
12116 else
12117
12118 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
12119 if test "x$LINE" != x ; then
12120 eval "DEFAULT_$LINE"
12121 else
12122 no_cache=1
12123 fi
12124
12125 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12126
12127 fi
12128
12129
12130 eval "$ac_cv_use_palette"
12131 if test "$no_cache" != 1; then
12132 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12133 fi
12134
12135 if test "$wxUSE_PALETTE" = yes; then
12136 { echo "$as_me:$LINENO: result: yes" >&5
12137 echo "${ECHO_T}yes" >&6; }
12138 else
12139 { echo "$as_me:$LINENO: result: no" >&5
12140 echo "${ECHO_T}no" >&6; }
12141 fi
12142
12143
12144 enablestring=
12145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12146 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12147 no_cache=0
12148 # Check whether --enable-image was given.
12149 if test "${enable_image+set}" = set; then
12150 enableval=$enable_image;
12151 if test "$enableval" = yes; then
12152 ac_cv_use_image='wxUSE_IMAGE=yes'
12153 else
12154 ac_cv_use_image='wxUSE_IMAGE=no'
12155 fi
12156
12157 else
12158
12159 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
12160 if test "x$LINE" != x ; then
12161 eval "DEFAULT_$LINE"
12162 else
12163 no_cache=1
12164 fi
12165
12166 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12167
12168 fi
12169
12170
12171 eval "$ac_cv_use_image"
12172 if test "$no_cache" != 1; then
12173 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12174 fi
12175
12176 if test "$wxUSE_IMAGE" = yes; then
12177 { echo "$as_me:$LINENO: result: yes" >&5
12178 echo "${ECHO_T}yes" >&6; }
12179 else
12180 { echo "$as_me:$LINENO: result: no" >&5
12181 echo "${ECHO_T}no" >&6; }
12182 fi
12183
12184
12185 enablestring=
12186 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12187 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12188 no_cache=0
12189 # Check whether --enable-gif was given.
12190 if test "${enable_gif+set}" = set; then
12191 enableval=$enable_gif;
12192 if test "$enableval" = yes; then
12193 ac_cv_use_gif='wxUSE_GIF=yes'
12194 else
12195 ac_cv_use_gif='wxUSE_GIF=no'
12196 fi
12197
12198 else
12199
12200 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
12201 if test "x$LINE" != x ; then
12202 eval "DEFAULT_$LINE"
12203 else
12204 no_cache=1
12205 fi
12206
12207 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12208
12209 fi
12210
12211
12212 eval "$ac_cv_use_gif"
12213 if test "$no_cache" != 1; then
12214 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12215 fi
12216
12217 if test "$wxUSE_GIF" = yes; then
12218 { echo "$as_me:$LINENO: result: yes" >&5
12219 echo "${ECHO_T}yes" >&6; }
12220 else
12221 { echo "$as_me:$LINENO: result: no" >&5
12222 echo "${ECHO_T}no" >&6; }
12223 fi
12224
12225
12226 enablestring=
12227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12228 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12229 no_cache=0
12230 # Check whether --enable-pcx was given.
12231 if test "${enable_pcx+set}" = set; then
12232 enableval=$enable_pcx;
12233 if test "$enableval" = yes; then
12234 ac_cv_use_pcx='wxUSE_PCX=yes'
12235 else
12236 ac_cv_use_pcx='wxUSE_PCX=no'
12237 fi
12238
12239 else
12240
12241 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
12242 if test "x$LINE" != x ; then
12243 eval "DEFAULT_$LINE"
12244 else
12245 no_cache=1
12246 fi
12247
12248 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12249
12250 fi
12251
12252
12253 eval "$ac_cv_use_pcx"
12254 if test "$no_cache" != 1; then
12255 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12256 fi
12257
12258 if test "$wxUSE_PCX" = yes; then
12259 { echo "$as_me:$LINENO: result: yes" >&5
12260 echo "${ECHO_T}yes" >&6; }
12261 else
12262 { echo "$as_me:$LINENO: result: no" >&5
12263 echo "${ECHO_T}no" >&6; }
12264 fi
12265
12266
12267 enablestring=
12268 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12269 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12270 no_cache=0
12271 # Check whether --enable-tga was given.
12272 if test "${enable_tga+set}" = set; then
12273 enableval=$enable_tga;
12274 if test "$enableval" = yes; then
12275 ac_cv_use_tga='wxUSE_TGA=yes'
12276 else
12277 ac_cv_use_tga='wxUSE_TGA=no'
12278 fi
12279
12280 else
12281
12282 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
12283 if test "x$LINE" != x ; then
12284 eval "DEFAULT_$LINE"
12285 else
12286 no_cache=1
12287 fi
12288
12289 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12290
12291 fi
12292
12293
12294 eval "$ac_cv_use_tga"
12295 if test "$no_cache" != 1; then
12296 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12297 fi
12298
12299 if test "$wxUSE_TGA" = yes; then
12300 { echo "$as_me:$LINENO: result: yes" >&5
12301 echo "${ECHO_T}yes" >&6; }
12302 else
12303 { echo "$as_me:$LINENO: result: no" >&5
12304 echo "${ECHO_T}no" >&6; }
12305 fi
12306
12307
12308 enablestring=
12309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12310 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12311 no_cache=0
12312 # Check whether --enable-iff was given.
12313 if test "${enable_iff+set}" = set; then
12314 enableval=$enable_iff;
12315 if test "$enableval" = yes; then
12316 ac_cv_use_iff='wxUSE_IFF=yes'
12317 else
12318 ac_cv_use_iff='wxUSE_IFF=no'
12319 fi
12320
12321 else
12322
12323 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
12324 if test "x$LINE" != x ; then
12325 eval "DEFAULT_$LINE"
12326 else
12327 no_cache=1
12328 fi
12329
12330 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12331
12332 fi
12333
12334
12335 eval "$ac_cv_use_iff"
12336 if test "$no_cache" != 1; then
12337 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12338 fi
12339
12340 if test "$wxUSE_IFF" = yes; then
12341 { echo "$as_me:$LINENO: result: yes" >&5
12342 echo "${ECHO_T}yes" >&6; }
12343 else
12344 { echo "$as_me:$LINENO: result: no" >&5
12345 echo "${ECHO_T}no" >&6; }
12346 fi
12347
12348
12349 enablestring=
12350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12351 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12352 no_cache=0
12353 # Check whether --enable-pnm was given.
12354 if test "${enable_pnm+set}" = set; then
12355 enableval=$enable_pnm;
12356 if test "$enableval" = yes; then
12357 ac_cv_use_pnm='wxUSE_PNM=yes'
12358 else
12359 ac_cv_use_pnm='wxUSE_PNM=no'
12360 fi
12361
12362 else
12363
12364 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
12365 if test "x$LINE" != x ; then
12366 eval "DEFAULT_$LINE"
12367 else
12368 no_cache=1
12369 fi
12370
12371 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12372
12373 fi
12374
12375
12376 eval "$ac_cv_use_pnm"
12377 if test "$no_cache" != 1; then
12378 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12379 fi
12380
12381 if test "$wxUSE_PNM" = yes; then
12382 { echo "$as_me:$LINENO: result: yes" >&5
12383 echo "${ECHO_T}yes" >&6; }
12384 else
12385 { echo "$as_me:$LINENO: result: no" >&5
12386 echo "${ECHO_T}no" >&6; }
12387 fi
12388
12389
12390 enablestring=
12391 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12392 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12393 no_cache=0
12394 # Check whether --enable-xpm was given.
12395 if test "${enable_xpm+set}" = set; then
12396 enableval=$enable_xpm;
12397 if test "$enableval" = yes; then
12398 ac_cv_use_xpm='wxUSE_XPM=yes'
12399 else
12400 ac_cv_use_xpm='wxUSE_XPM=no'
12401 fi
12402
12403 else
12404
12405 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
12406 if test "x$LINE" != x ; then
12407 eval "DEFAULT_$LINE"
12408 else
12409 no_cache=1
12410 fi
12411
12412 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12413
12414 fi
12415
12416
12417 eval "$ac_cv_use_xpm"
12418 if test "$no_cache" != 1; then
12419 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12420 fi
12421
12422 if test "$wxUSE_XPM" = yes; then
12423 { echo "$as_me:$LINENO: result: yes" >&5
12424 echo "${ECHO_T}yes" >&6; }
12425 else
12426 { echo "$as_me:$LINENO: result: no" >&5
12427 echo "${ECHO_T}no" >&6; }
12428 fi
12429
12430
12431 enablestring=
12432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12433 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12434 no_cache=0
12435 # Check whether --enable-ico_cur was given.
12436 if test "${enable_ico_cur+set}" = set; then
12437 enableval=$enable_ico_cur;
12438 if test "$enableval" = yes; then
12439 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12440 else
12441 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12442 fi
12443
12444 else
12445
12446 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
12447 if test "x$LINE" != x ; then
12448 eval "DEFAULT_$LINE"
12449 else
12450 no_cache=1
12451 fi
12452
12453 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12454
12455 fi
12456
12457
12458 eval "$ac_cv_use_ico_cur"
12459 if test "$no_cache" != 1; then
12460 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12461 fi
12462
12463 if test "$wxUSE_ICO_CUR" = yes; then
12464 { echo "$as_me:$LINENO: result: yes" >&5
12465 echo "${ECHO_T}yes" >&6; }
12466 else
12467 { echo "$as_me:$LINENO: result: no" >&5
12468 echo "${ECHO_T}no" >&6; }
12469 fi
12470
12471
12472 fi
12473
12474
12475
12476 # Check whether --with-flavour was given.
12477 if test "${with_flavour+set}" = set; then
12478 withval=$with_flavour; WX_FLAVOUR="$withval"
12479 fi
12480
12481
12482
12483
12484 enablestring=
12485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12486 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12487 no_cache=0
12488 # Check whether --enable-official_build was given.
12489 if test "${enable_official_build+set}" = set; then
12490 enableval=$enable_official_build;
12491 if test "$enableval" = yes; then
12492 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12493 else
12494 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12495 fi
12496
12497 else
12498
12499 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
12500 if test "x$LINE" != x ; then
12501 eval "DEFAULT_$LINE"
12502 else
12503 no_cache=1
12504 fi
12505
12506 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12507
12508 fi
12509
12510
12511 eval "$ac_cv_use_official_build"
12512 if test "$no_cache" != 1; then
12513 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12514 fi
12515
12516 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12517 { echo "$as_me:$LINENO: result: yes" >&5
12518 echo "${ECHO_T}yes" >&6; }
12519 else
12520 { echo "$as_me:$LINENO: result: no" >&5
12521 echo "${ECHO_T}no" >&6; }
12522 fi
12523
12524 # Check whether --enable-vendor was given.
12525 if test "${enable_vendor+set}" = set; then
12526 enableval=$enable_vendor; VENDOR="$enableval"
12527 fi
12528
12529 if test "x$VENDOR" = "x"; then
12530 VENDOR="custom"
12531 fi
12532
12533
12534
12535
12536 echo "saving argument cache $wx_arg_cache_file"
12537 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12538
12539
12540
12541 { echo "$as_me:$LINENO: checking for toolkit" >&5
12542 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12543
12544 # In Wine, we need to default to MSW, not GTK or MOTIF
12545 if test "$wxUSE_WINE" = "yes"; then
12546 DEFAULT_DEFAULT_wxUSE_GTK=0
12547 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12548 DEFAULT_DEFAULT_wxUSE_MSW=1
12549 wxUSE_SHARED=no
12550 CC=${CC:-winegcc}
12551 CXX=${CXX:-wineg++}
12552 fi
12553
12554
12555 if test "$wxUSE_GUI" = "yes"; then
12556
12557 if test "$USE_BEOS" = 1; then
12558 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12559 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12560 { (exit 1); exit 1; }; }
12561 fi
12562
12563 if test "$TOOLKIT_GIVEN" = 1; then
12564 for toolkit in `echo $ALL_TOOLKITS`; do
12565 var=wxUSE_$toolkit
12566 eval "value=\$${var}"
12567 if test "x$value" = "xno"; then
12568 eval "$var=0"
12569 elif test "x$value" != "x"; then
12570 eval "$var=1"
12571 fi
12572
12573 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12574 eval "wx${toolkit}_VERSION=$value"
12575 fi
12576 done
12577 else
12578 for toolkit in `echo $ALL_TOOLKITS`; do
12579 if test "$has_toolkit_in_cache" != 1; then
12580 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12581 else
12582 var=DEFAULT_wxUSE_$toolkit
12583
12584 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12585 if test "x$version" != "x"; then
12586 eval "wx${toolkit}_VERSION=$version"
12587 fi
12588 fi
12589 eval "wxUSE_$toolkit=\$${var}"
12590 done
12591 fi
12592
12593 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12594 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12595 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12596
12597 case "${host}" in
12598 *-pc-os2_emx | *-pc-os2-emx )
12599 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12600 esac
12601
12602 case "$NUM_TOOLKITS" in
12603 1)
12604 ;;
12605 0)
12606 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12607 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12608 { (exit 1); exit 1; }; }
12609 ;;
12610 *)
12611 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12612 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12613 { (exit 1); exit 1; }; }
12614 esac
12615
12616 # to be removed when --disable-gtk2 isn't needed
12617 if test "x$wxUSE_GTK2" = "xyes"; then
12618 wxGTK_VERSION=2
12619 elif test "x$wxUSE_GTK2" = "xno"; then
12620 wxGTK_VERSION=1
12621 fi
12622
12623 for toolkit in `echo $ALL_TOOLKITS`; do
12624 var=wxUSE_$toolkit
12625 eval "value=\$${var}"
12626 if test "x$value" != x; then
12627 cache_var=CACHE_$toolkit
12628 eval "cache=\$${cache_var}"
12629 if test "$cache" = 1; then
12630 echo "$var=$value" >> ${wx_arg_cache_file}
12631 eval "version=\$wx${toolkit}_VERSION"
12632 if test "x$version" != "x"; then
12633 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12634 fi
12635 fi
12636 if test "$value" = 1; then
12637 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12638 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12639 echo "${ECHO_T}$toolkit_echo" >&6; }
12640 fi
12641 fi
12642 done
12643 else
12644 if test "x$host_alias" != "x"; then
12645 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12646 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12647 else
12648 { echo "$as_me:$LINENO: result: base only" >&5
12649 echo "${ECHO_T}base only" >&6; }
12650 fi
12651 fi
12652
12653
12654 cat >confcache <<\_ACEOF
12655 # This file is a shell script that caches the results of configure
12656 # tests run on this system so they can be shared between configure
12657 # scripts and configure runs, see configure's option --config-cache.
12658 # It is not useful on other systems. If it contains results you don't
12659 # want to keep, you may remove or edit it.
12660 #
12661 # config.status only pays attention to the cache file if you give it
12662 # the --recheck option to rerun configure.
12663 #
12664 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12665 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12666 # following values.
12667
12668 _ACEOF
12669
12670 # The following way of writing the cache mishandles newlines in values,
12671 # but we know of no workaround that is simple, portable, and efficient.
12672 # So, we kill variables containing newlines.
12673 # Ultrix sh set writes to stderr and can't be redirected directly,
12674 # and sets the high bit in the cache file unless we assign to the vars.
12675 (
12676 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12677 eval ac_val=\$$ac_var
12678 case $ac_val in #(
12679 *${as_nl}*)
12680 case $ac_var in #(
12681 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12682 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12683 esac
12684 case $ac_var in #(
12685 _ | IFS | as_nl) ;; #(
12686 *) $as_unset $ac_var ;;
12687 esac ;;
12688 esac
12689 done
12690
12691 (set) 2>&1 |
12692 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12693 *${as_nl}ac_space=\ *)
12694 # `set' does not quote correctly, so add quotes (double-quote
12695 # substitution turns \\\\ into \\, and sed turns \\ into \).
12696 sed -n \
12697 "s/'/'\\\\''/g;
12698 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12699 ;; #(
12700 *)
12701 # `set' quotes correctly as required by POSIX, so do not add quotes.
12702 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12703 ;;
12704 esac |
12705 sort
12706 ) |
12707 sed '
12708 /^ac_cv_env_/b end
12709 t clear
12710 :clear
12711 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12712 t end
12713 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12714 :end' >>confcache
12715 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12716 if test -w "$cache_file"; then
12717 test "x$cache_file" != "x/dev/null" &&
12718 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12719 echo "$as_me: updating cache $cache_file" >&6;}
12720 cat confcache >$cache_file
12721 else
12722 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12723 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12724 fi
12725 fi
12726 rm -f confcache
12727
12728 CFLAGS=${CFLAGS:=}
12729
12730
12731
12732 ac_ext=c
12733 ac_cpp='$CPP $CPPFLAGS'
12734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12737 if test -n "$ac_tool_prefix"; then
12738 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12739 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12740 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12742 if test "${ac_cv_prog_CC+set}" = set; then
12743 echo $ECHO_N "(cached) $ECHO_C" >&6
12744 else
12745 if test -n "$CC"; then
12746 ac_cv_prog_CC="$CC" # Let the user override the test.
12747 else
12748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12749 for as_dir in $PATH
12750 do
12751 IFS=$as_save_IFS
12752 test -z "$as_dir" && as_dir=.
12753 for ac_exec_ext in '' $ac_executable_extensions; do
12754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12755 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12757 break 2
12758 fi
12759 done
12760 done
12761 IFS=$as_save_IFS
12762
12763 fi
12764 fi
12765 CC=$ac_cv_prog_CC
12766 if test -n "$CC"; then
12767 { echo "$as_me:$LINENO: result: $CC" >&5
12768 echo "${ECHO_T}$CC" >&6; }
12769 else
12770 { echo "$as_me:$LINENO: result: no" >&5
12771 echo "${ECHO_T}no" >&6; }
12772 fi
12773
12774
12775 fi
12776 if test -z "$ac_cv_prog_CC"; then
12777 ac_ct_CC=$CC
12778 # Extract the first word of "gcc", so it can be a program name with args.
12779 set dummy gcc; ac_word=$2
12780 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12782 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12783 echo $ECHO_N "(cached) $ECHO_C" >&6
12784 else
12785 if test -n "$ac_ct_CC"; then
12786 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12787 else
12788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12789 for as_dir in $PATH
12790 do
12791 IFS=$as_save_IFS
12792 test -z "$as_dir" && as_dir=.
12793 for ac_exec_ext in '' $ac_executable_extensions; do
12794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12795 ac_cv_prog_ac_ct_CC="gcc"
12796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12797 break 2
12798 fi
12799 done
12800 done
12801 IFS=$as_save_IFS
12802
12803 fi
12804 fi
12805 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12806 if test -n "$ac_ct_CC"; then
12807 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12808 echo "${ECHO_T}$ac_ct_CC" >&6; }
12809 else
12810 { echo "$as_me:$LINENO: result: no" >&5
12811 echo "${ECHO_T}no" >&6; }
12812 fi
12813
12814 if test "x$ac_ct_CC" = x; then
12815 CC=""
12816 else
12817 case $cross_compiling:$ac_tool_warned in
12818 yes:)
12819 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12820 whose name does not start with the host triplet. If you think this
12821 configuration is useful to you, please write to autoconf@gnu.org." >&5
12822 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12823 whose name does not start with the host triplet. If you think this
12824 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12825 ac_tool_warned=yes ;;
12826 esac
12827 CC=$ac_ct_CC
12828 fi
12829 else
12830 CC="$ac_cv_prog_CC"
12831 fi
12832
12833 if test -z "$CC"; then
12834 if test -n "$ac_tool_prefix"; then
12835 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12836 set dummy ${ac_tool_prefix}cc; ac_word=$2
12837 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12839 if test "${ac_cv_prog_CC+set}" = set; then
12840 echo $ECHO_N "(cached) $ECHO_C" >&6
12841 else
12842 if test -n "$CC"; then
12843 ac_cv_prog_CC="$CC" # Let the user override the test.
12844 else
12845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12846 for as_dir in $PATH
12847 do
12848 IFS=$as_save_IFS
12849 test -z "$as_dir" && as_dir=.
12850 for ac_exec_ext in '' $ac_executable_extensions; do
12851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12852 ac_cv_prog_CC="${ac_tool_prefix}cc"
12853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12854 break 2
12855 fi
12856 done
12857 done
12858 IFS=$as_save_IFS
12859
12860 fi
12861 fi
12862 CC=$ac_cv_prog_CC
12863 if test -n "$CC"; then
12864 { echo "$as_me:$LINENO: result: $CC" >&5
12865 echo "${ECHO_T}$CC" >&6; }
12866 else
12867 { echo "$as_me:$LINENO: result: no" >&5
12868 echo "${ECHO_T}no" >&6; }
12869 fi
12870
12871
12872 fi
12873 fi
12874 if test -z "$CC"; then
12875 # Extract the first word of "cc", so it can be a program name with args.
12876 set dummy cc; ac_word=$2
12877 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12879 if test "${ac_cv_prog_CC+set}" = set; then
12880 echo $ECHO_N "(cached) $ECHO_C" >&6
12881 else
12882 if test -n "$CC"; then
12883 ac_cv_prog_CC="$CC" # Let the user override the test.
12884 else
12885 ac_prog_rejected=no
12886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12887 for as_dir in $PATH
12888 do
12889 IFS=$as_save_IFS
12890 test -z "$as_dir" && as_dir=.
12891 for ac_exec_ext in '' $ac_executable_extensions; do
12892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12893 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12894 ac_prog_rejected=yes
12895 continue
12896 fi
12897 ac_cv_prog_CC="cc"
12898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12899 break 2
12900 fi
12901 done
12902 done
12903 IFS=$as_save_IFS
12904
12905 if test $ac_prog_rejected = yes; then
12906 # We found a bogon in the path, so make sure we never use it.
12907 set dummy $ac_cv_prog_CC
12908 shift
12909 if test $# != 0; then
12910 # We chose a different compiler from the bogus one.
12911 # However, it has the same basename, so the bogon will be chosen
12912 # first if we set CC to just the basename; use the full file name.
12913 shift
12914 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12915 fi
12916 fi
12917 fi
12918 fi
12919 CC=$ac_cv_prog_CC
12920 if test -n "$CC"; then
12921 { echo "$as_me:$LINENO: result: $CC" >&5
12922 echo "${ECHO_T}$CC" >&6; }
12923 else
12924 { echo "$as_me:$LINENO: result: no" >&5
12925 echo "${ECHO_T}no" >&6; }
12926 fi
12927
12928
12929 fi
12930 if test -z "$CC"; then
12931 if test -n "$ac_tool_prefix"; then
12932 for ac_prog in cl.exe
12933 do
12934 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12935 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12936 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12938 if test "${ac_cv_prog_CC+set}" = set; then
12939 echo $ECHO_N "(cached) $ECHO_C" >&6
12940 else
12941 if test -n "$CC"; then
12942 ac_cv_prog_CC="$CC" # Let the user override the test.
12943 else
12944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12945 for as_dir in $PATH
12946 do
12947 IFS=$as_save_IFS
12948 test -z "$as_dir" && as_dir=.
12949 for ac_exec_ext in '' $ac_executable_extensions; do
12950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12951 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12953 break 2
12954 fi
12955 done
12956 done
12957 IFS=$as_save_IFS
12958
12959 fi
12960 fi
12961 CC=$ac_cv_prog_CC
12962 if test -n "$CC"; then
12963 { echo "$as_me:$LINENO: result: $CC" >&5
12964 echo "${ECHO_T}$CC" >&6; }
12965 else
12966 { echo "$as_me:$LINENO: result: no" >&5
12967 echo "${ECHO_T}no" >&6; }
12968 fi
12969
12970
12971 test -n "$CC" && break
12972 done
12973 fi
12974 if test -z "$CC"; then
12975 ac_ct_CC=$CC
12976 for ac_prog in cl.exe
12977 do
12978 # Extract the first word of "$ac_prog", so it can be a program name with args.
12979 set dummy $ac_prog; ac_word=$2
12980 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12982 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12983 echo $ECHO_N "(cached) $ECHO_C" >&6
12984 else
12985 if test -n "$ac_ct_CC"; then
12986 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12987 else
12988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12989 for as_dir in $PATH
12990 do
12991 IFS=$as_save_IFS
12992 test -z "$as_dir" && as_dir=.
12993 for ac_exec_ext in '' $ac_executable_extensions; do
12994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12995 ac_cv_prog_ac_ct_CC="$ac_prog"
12996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12997 break 2
12998 fi
12999 done
13000 done
13001 IFS=$as_save_IFS
13002
13003 fi
13004 fi
13005 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13006 if test -n "$ac_ct_CC"; then
13007 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13008 echo "${ECHO_T}$ac_ct_CC" >&6; }
13009 else
13010 { echo "$as_me:$LINENO: result: no" >&5
13011 echo "${ECHO_T}no" >&6; }
13012 fi
13013
13014
13015 test -n "$ac_ct_CC" && break
13016 done
13017
13018 if test "x$ac_ct_CC" = x; then
13019 CC=""
13020 else
13021 case $cross_compiling:$ac_tool_warned in
13022 yes:)
13023 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13024 whose name does not start with the host triplet. If you think this
13025 configuration is useful to you, please write to autoconf@gnu.org." >&5
13026 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13027 whose name does not start with the host triplet. If you think this
13028 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13029 ac_tool_warned=yes ;;
13030 esac
13031 CC=$ac_ct_CC
13032 fi
13033 fi
13034
13035 fi
13036
13037
13038 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13039 See \`config.log' for more details." >&5
13040 echo "$as_me: error: no acceptable C compiler found in \$PATH
13041 See \`config.log' for more details." >&2;}
13042 { (exit 1); exit 1; }; }
13043
13044 # Provide some information about the compiler.
13045 echo "$as_me:$LINENO: checking for C compiler version" >&5
13046 ac_compiler=`set X $ac_compile; echo $2`
13047 { (ac_try="$ac_compiler --version >&5"
13048 case "(($ac_try" in
13049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13050 *) ac_try_echo=$ac_try;;
13051 esac
13052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13053 (eval "$ac_compiler --version >&5") 2>&5
13054 ac_status=$?
13055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13056 (exit $ac_status); }
13057 { (ac_try="$ac_compiler -v >&5"
13058 case "(($ac_try" in
13059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13060 *) ac_try_echo=$ac_try;;
13061 esac
13062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13063 (eval "$ac_compiler -v >&5") 2>&5
13064 ac_status=$?
13065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13066 (exit $ac_status); }
13067 { (ac_try="$ac_compiler -V >&5"
13068 case "(($ac_try" in
13069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13070 *) ac_try_echo=$ac_try;;
13071 esac
13072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13073 (eval "$ac_compiler -V >&5") 2>&5
13074 ac_status=$?
13075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13076 (exit $ac_status); }
13077
13078 cat >conftest.$ac_ext <<_ACEOF
13079 /* confdefs.h. */
13080 _ACEOF
13081 cat confdefs.h >>conftest.$ac_ext
13082 cat >>conftest.$ac_ext <<_ACEOF
13083 /* end confdefs.h. */
13084
13085 int
13086 main ()
13087 {
13088
13089 ;
13090 return 0;
13091 }
13092 _ACEOF
13093 ac_clean_files_save=$ac_clean_files
13094 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13095 # Try to create an executable without -o first, disregard a.out.
13096 # It will help us diagnose broken compilers, and finding out an intuition
13097 # of exeext.
13098 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13099 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13100 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13101 #
13102 # List of possible output files, starting from the most likely.
13103 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
13104 # only as a last resort. b.out is created by i960 compilers.
13105 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
13106 #
13107 # The IRIX 6 linker writes into existing files which may not be
13108 # executable, retaining their permissions. Remove them first so a
13109 # subsequent execution test works.
13110 ac_rmfiles=
13111 for ac_file in $ac_files
13112 do
13113 case $ac_file in
13114 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13115 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13116 esac
13117 done
13118 rm -f $ac_rmfiles
13119
13120 if { (ac_try="$ac_link_default"
13121 case "(($ac_try" in
13122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13123 *) ac_try_echo=$ac_try;;
13124 esac
13125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13126 (eval "$ac_link_default") 2>&5
13127 ac_status=$?
13128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13129 (exit $ac_status); }; then
13130 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13131 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13132 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13133 # so that the user can short-circuit this test for compilers unknown to
13134 # Autoconf.
13135 for ac_file in $ac_files
13136 do
13137 test -f "$ac_file" || continue
13138 case $ac_file in
13139 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
13140 ;;
13141 [ab].out )
13142 # We found the default executable, but exeext='' is most
13143 # certainly right.
13144 break;;
13145 *.* )
13146 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
13147 then :; else
13148 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13149 fi
13150 # We set ac_cv_exeext here because the later test for it is not
13151 # safe: cross compilers may not add the suffix if given an `-o'
13152 # argument, so we may need to know it at that point already.
13153 # Even if this section looks crufty: it has the advantage of
13154 # actually working.
13155 break;;
13156 * )
13157 break;;
13158 esac
13159 done
13160 test "$ac_cv_exeext" = no && ac_cv_exeext=
13161
13162 else
13163 echo "$as_me: failed program was:" >&5
13164 sed 's/^/| /' conftest.$ac_ext >&5
13165
13166 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13167 See \`config.log' for more details." >&5
13168 echo "$as_me: error: C compiler cannot create executables
13169 See \`config.log' for more details." >&2;}
13170 { (exit 77); exit 77; }; }
13171 fi
13172
13173 ac_exeext=$ac_cv_exeext
13174 { echo "$as_me:$LINENO: result: $ac_file" >&5
13175 echo "${ECHO_T}$ac_file" >&6; }
13176
13177 # Check that the compiler produces executables we can run. If not, either
13178 # the compiler is broken, or we cross compile.
13179 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13180 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13181 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13182 # If not cross compiling, check that we can run a simple program.
13183 if test "$cross_compiling" != yes; then
13184 if { ac_try='./$ac_file'
13185 { (case "(($ac_try" in
13186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13187 *) ac_try_echo=$ac_try;;
13188 esac
13189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13190 (eval "$ac_try") 2>&5
13191 ac_status=$?
13192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13193 (exit $ac_status); }; }; then
13194 cross_compiling=no
13195 else
13196 if test "$cross_compiling" = maybe; then
13197 cross_compiling=yes
13198 else
13199 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13200 If you meant to cross compile, use \`--host'.
13201 See \`config.log' for more details." >&5
13202 echo "$as_me: error: cannot run C compiled programs.
13203 If you meant to cross compile, use \`--host'.
13204 See \`config.log' for more details." >&2;}
13205 { (exit 1); exit 1; }; }
13206 fi
13207 fi
13208 fi
13209 { echo "$as_me:$LINENO: result: yes" >&5
13210 echo "${ECHO_T}yes" >&6; }
13211
13212 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13213 ac_clean_files=$ac_clean_files_save
13214 # Check that the compiler produces executables we can run. If not, either
13215 # the compiler is broken, or we cross compile.
13216 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13217 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13218 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13219 echo "${ECHO_T}$cross_compiling" >&6; }
13220
13221 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13222 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13223 if { (ac_try="$ac_link"
13224 case "(($ac_try" in
13225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13226 *) ac_try_echo=$ac_try;;
13227 esac
13228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13229 (eval "$ac_link") 2>&5
13230 ac_status=$?
13231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232 (exit $ac_status); }; then
13233 # If both `conftest.exe' and `conftest' are `present' (well, observable)
13234 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
13235 # work properly (i.e., refer to `conftest.exe'), while it won't with
13236 # `rm'.
13237 for ac_file in conftest.exe conftest conftest.*; do
13238 test -f "$ac_file" || continue
13239 case $ac_file in
13240 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13241 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13242 break;;
13243 * ) break;;
13244 esac
13245 done
13246 else
13247 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13248 See \`config.log' for more details." >&5
13249 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13250 See \`config.log' for more details." >&2;}
13251 { (exit 1); exit 1; }; }
13252 fi
13253
13254 rm -f conftest$ac_cv_exeext
13255 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13256 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13257
13258 rm -f conftest.$ac_ext
13259 EXEEXT=$ac_cv_exeext
13260 ac_exeext=$EXEEXT
13261 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13262 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13263 if test "${ac_cv_objext+set}" = set; then
13264 echo $ECHO_N "(cached) $ECHO_C" >&6
13265 else
13266 cat >conftest.$ac_ext <<_ACEOF
13267 /* confdefs.h. */
13268 _ACEOF
13269 cat confdefs.h >>conftest.$ac_ext
13270 cat >>conftest.$ac_ext <<_ACEOF
13271 /* end confdefs.h. */
13272
13273 int
13274 main ()
13275 {
13276
13277 ;
13278 return 0;
13279 }
13280 _ACEOF
13281 rm -f conftest.o conftest.obj
13282 if { (ac_try="$ac_compile"
13283 case "(($ac_try" in
13284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13285 *) ac_try_echo=$ac_try;;
13286 esac
13287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13288 (eval "$ac_compile") 2>&5
13289 ac_status=$?
13290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13291 (exit $ac_status); }; then
13292 for ac_file in conftest.o conftest.obj conftest.*; do
13293 test -f "$ac_file" || continue;
13294 case $ac_file in
13295 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13296 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13297 break;;
13298 esac
13299 done
13300 else
13301 echo "$as_me: failed program was:" >&5
13302 sed 's/^/| /' conftest.$ac_ext >&5
13303
13304 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13305 See \`config.log' for more details." >&5
13306 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13307 See \`config.log' for more details." >&2;}
13308 { (exit 1); exit 1; }; }
13309 fi
13310
13311 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13312 fi
13313 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
13314 echo "${ECHO_T}$ac_cv_objext" >&6; }
13315 OBJEXT=$ac_cv_objext
13316 ac_objext=$OBJEXT
13317 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
13318 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
13319 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13320 echo $ECHO_N "(cached) $ECHO_C" >&6
13321 else
13322 cat >conftest.$ac_ext <<_ACEOF
13323 /* confdefs.h. */
13324 _ACEOF
13325 cat confdefs.h >>conftest.$ac_ext
13326 cat >>conftest.$ac_ext <<_ACEOF
13327 /* end confdefs.h. */
13328
13329 int
13330 main ()
13331 {
13332 #ifndef __GNUC__
13333 choke me
13334 #endif
13335
13336 ;
13337 return 0;
13338 }
13339 _ACEOF
13340 rm -f conftest.$ac_objext
13341 if { (ac_try="$ac_compile"
13342 case "(($ac_try" in
13343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13344 *) ac_try_echo=$ac_try;;
13345 esac
13346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13347 (eval "$ac_compile") 2>conftest.er1
13348 ac_status=$?
13349 grep -v '^ *+' conftest.er1 >conftest.err
13350 rm -f conftest.er1
13351 cat conftest.err >&5
13352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13353 (exit $ac_status); } &&
13354 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13355 { (case "(($ac_try" in
13356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13357 *) ac_try_echo=$ac_try;;
13358 esac
13359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13360 (eval "$ac_try") 2>&5
13361 ac_status=$?
13362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13363 (exit $ac_status); }; } &&
13364 { ac_try='test -s conftest.$ac_objext'
13365 { (case "(($ac_try" in
13366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13367 *) ac_try_echo=$ac_try;;
13368 esac
13369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13370 (eval "$ac_try") 2>&5
13371 ac_status=$?
13372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13373 (exit $ac_status); }; }; then
13374 ac_compiler_gnu=yes
13375 else
13376 echo "$as_me: failed program was:" >&5
13377 sed 's/^/| /' conftest.$ac_ext >&5
13378
13379 ac_compiler_gnu=no
13380 fi
13381
13382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13383 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13384
13385 fi
13386 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
13387 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13388 GCC=`test $ac_compiler_gnu = yes && echo yes`
13389 ac_test_CFLAGS=${CFLAGS+set}
13390 ac_save_CFLAGS=$CFLAGS
13391 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13392 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13393 if test "${ac_cv_prog_cc_g+set}" = set; then
13394 echo $ECHO_N "(cached) $ECHO_C" >&6
13395 else
13396 ac_save_c_werror_flag=$ac_c_werror_flag
13397 ac_c_werror_flag=yes
13398 ac_cv_prog_cc_g=no
13399 CFLAGS="-g"
13400 cat >conftest.$ac_ext <<_ACEOF
13401 /* confdefs.h. */
13402 _ACEOF
13403 cat confdefs.h >>conftest.$ac_ext
13404 cat >>conftest.$ac_ext <<_ACEOF
13405 /* end confdefs.h. */
13406
13407 int
13408 main ()
13409 {
13410
13411 ;
13412 return 0;
13413 }
13414 _ACEOF
13415 rm -f conftest.$ac_objext
13416 if { (ac_try="$ac_compile"
13417 case "(($ac_try" in
13418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13419 *) ac_try_echo=$ac_try;;
13420 esac
13421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13422 (eval "$ac_compile") 2>conftest.er1
13423 ac_status=$?
13424 grep -v '^ *+' conftest.er1 >conftest.err
13425 rm -f conftest.er1
13426 cat conftest.err >&5
13427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13428 (exit $ac_status); } &&
13429 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13430 { (case "(($ac_try" in
13431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13432 *) ac_try_echo=$ac_try;;
13433 esac
13434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13435 (eval "$ac_try") 2>&5
13436 ac_status=$?
13437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13438 (exit $ac_status); }; } &&
13439 { ac_try='test -s conftest.$ac_objext'
13440 { (case "(($ac_try" in
13441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13442 *) ac_try_echo=$ac_try;;
13443 esac
13444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13445 (eval "$ac_try") 2>&5
13446 ac_status=$?
13447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13448 (exit $ac_status); }; }; then
13449 ac_cv_prog_cc_g=yes
13450 else
13451 echo "$as_me: failed program was:" >&5
13452 sed 's/^/| /' conftest.$ac_ext >&5
13453
13454 CFLAGS=""
13455 cat >conftest.$ac_ext <<_ACEOF
13456 /* confdefs.h. */
13457 _ACEOF
13458 cat confdefs.h >>conftest.$ac_ext
13459 cat >>conftest.$ac_ext <<_ACEOF
13460 /* end confdefs.h. */
13461
13462 int
13463 main ()
13464 {
13465
13466 ;
13467 return 0;
13468 }
13469 _ACEOF
13470 rm -f conftest.$ac_objext
13471 if { (ac_try="$ac_compile"
13472 case "(($ac_try" in
13473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13474 *) ac_try_echo=$ac_try;;
13475 esac
13476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13477 (eval "$ac_compile") 2>conftest.er1
13478 ac_status=$?
13479 grep -v '^ *+' conftest.er1 >conftest.err
13480 rm -f conftest.er1
13481 cat conftest.err >&5
13482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13483 (exit $ac_status); } &&
13484 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13485 { (case "(($ac_try" in
13486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13487 *) ac_try_echo=$ac_try;;
13488 esac
13489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13490 (eval "$ac_try") 2>&5
13491 ac_status=$?
13492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13493 (exit $ac_status); }; } &&
13494 { ac_try='test -s conftest.$ac_objext'
13495 { (case "(($ac_try" in
13496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13497 *) ac_try_echo=$ac_try;;
13498 esac
13499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13500 (eval "$ac_try") 2>&5
13501 ac_status=$?
13502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13503 (exit $ac_status); }; }; then
13504 :
13505 else
13506 echo "$as_me: failed program was:" >&5
13507 sed 's/^/| /' conftest.$ac_ext >&5
13508
13509 ac_c_werror_flag=$ac_save_c_werror_flag
13510 CFLAGS="-g"
13511 cat >conftest.$ac_ext <<_ACEOF
13512 /* confdefs.h. */
13513 _ACEOF
13514 cat confdefs.h >>conftest.$ac_ext
13515 cat >>conftest.$ac_ext <<_ACEOF
13516 /* end confdefs.h. */
13517
13518 int
13519 main ()
13520 {
13521
13522 ;
13523 return 0;
13524 }
13525 _ACEOF
13526 rm -f conftest.$ac_objext
13527 if { (ac_try="$ac_compile"
13528 case "(($ac_try" in
13529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13530 *) ac_try_echo=$ac_try;;
13531 esac
13532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13533 (eval "$ac_compile") 2>conftest.er1
13534 ac_status=$?
13535 grep -v '^ *+' conftest.er1 >conftest.err
13536 rm -f conftest.er1
13537 cat conftest.err >&5
13538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13539 (exit $ac_status); } &&
13540 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13541 { (case "(($ac_try" in
13542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13543 *) ac_try_echo=$ac_try;;
13544 esac
13545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13546 (eval "$ac_try") 2>&5
13547 ac_status=$?
13548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13549 (exit $ac_status); }; } &&
13550 { ac_try='test -s conftest.$ac_objext'
13551 { (case "(($ac_try" in
13552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13553 *) ac_try_echo=$ac_try;;
13554 esac
13555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13556 (eval "$ac_try") 2>&5
13557 ac_status=$?
13558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13559 (exit $ac_status); }; }; then
13560 ac_cv_prog_cc_g=yes
13561 else
13562 echo "$as_me: failed program was:" >&5
13563 sed 's/^/| /' conftest.$ac_ext >&5
13564
13565
13566 fi
13567
13568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13569 fi
13570
13571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13572 fi
13573
13574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13575 ac_c_werror_flag=$ac_save_c_werror_flag
13576 fi
13577 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13578 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13579 if test "$ac_test_CFLAGS" = set; then
13580 CFLAGS=$ac_save_CFLAGS
13581 elif test $ac_cv_prog_cc_g = yes; then
13582 if test "$GCC" = yes; then
13583 CFLAGS="-g -O2"
13584 else
13585 CFLAGS="-g"
13586 fi
13587 else
13588 if test "$GCC" = yes; then
13589 CFLAGS="-O2"
13590 else
13591 CFLAGS=
13592 fi
13593 fi
13594 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
13595 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
13596 if test "${ac_cv_prog_cc_c89+set}" = set; then
13597 echo $ECHO_N "(cached) $ECHO_C" >&6
13598 else
13599 ac_cv_prog_cc_c89=no
13600 ac_save_CC=$CC
13601 cat >conftest.$ac_ext <<_ACEOF
13602 /* confdefs.h. */
13603 _ACEOF
13604 cat confdefs.h >>conftest.$ac_ext
13605 cat >>conftest.$ac_ext <<_ACEOF
13606 /* end confdefs.h. */
13607 #include <stdarg.h>
13608 #include <stdio.h>
13609 #include <sys/types.h>
13610 #include <sys/stat.h>
13611 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13612 struct buf { int x; };
13613 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13614 static char *e (p, i)
13615 char **p;
13616 int i;
13617 {
13618 return p[i];
13619 }
13620 static char *f (char * (*g) (char **, int), char **p, ...)
13621 {
13622 char *s;
13623 va_list v;
13624 va_start (v,p);
13625 s = g (p, va_arg (v,int));
13626 va_end (v);
13627 return s;
13628 }
13629
13630 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13631 function prototypes and stuff, but not '\xHH' hex character constants.
13632 These don't provoke an error unfortunately, instead are silently treated
13633 as 'x'. The following induces an error, until -std is added to get
13634 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13635 array size at least. It's necessary to write '\x00'==0 to get something
13636 that's true only with -std. */
13637 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13638
13639 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13640 inside strings and character constants. */
13641 #define FOO(x) 'x'
13642 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13643
13644 int test (int i, double x);
13645 struct s1 {int (*f) (int a);};
13646 struct s2 {int (*f) (double a);};
13647 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13648 int argc;
13649 char **argv;
13650 int
13651 main ()
13652 {
13653 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13654 ;
13655 return 0;
13656 }
13657 _ACEOF
13658 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13659 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13660 do
13661 CC="$ac_save_CC $ac_arg"
13662 rm -f conftest.$ac_objext
13663 if { (ac_try="$ac_compile"
13664 case "(($ac_try" in
13665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13666 *) ac_try_echo=$ac_try;;
13667 esac
13668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13669 (eval "$ac_compile") 2>conftest.er1
13670 ac_status=$?
13671 grep -v '^ *+' conftest.er1 >conftest.err
13672 rm -f conftest.er1
13673 cat conftest.err >&5
13674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13675 (exit $ac_status); } &&
13676 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13677 { (case "(($ac_try" in
13678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13679 *) ac_try_echo=$ac_try;;
13680 esac
13681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13682 (eval "$ac_try") 2>&5
13683 ac_status=$?
13684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13685 (exit $ac_status); }; } &&
13686 { ac_try='test -s conftest.$ac_objext'
13687 { (case "(($ac_try" in
13688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13689 *) ac_try_echo=$ac_try;;
13690 esac
13691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13692 (eval "$ac_try") 2>&5
13693 ac_status=$?
13694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13695 (exit $ac_status); }; }; then
13696 ac_cv_prog_cc_c89=$ac_arg
13697 else
13698 echo "$as_me: failed program was:" >&5
13699 sed 's/^/| /' conftest.$ac_ext >&5
13700
13701
13702 fi
13703
13704 rm -f core conftest.err conftest.$ac_objext
13705 test "x$ac_cv_prog_cc_c89" != "xno" && break
13706 done
13707 rm -f conftest.$ac_ext
13708 CC=$ac_save_CC
13709
13710 fi
13711 # AC_CACHE_VAL
13712 case "x$ac_cv_prog_cc_c89" in
13713 x)
13714 { echo "$as_me:$LINENO: result: none needed" >&5
13715 echo "${ECHO_T}none needed" >&6; } ;;
13716 xno)
13717 { echo "$as_me:$LINENO: result: unsupported" >&5
13718 echo "${ECHO_T}unsupported" >&6; } ;;
13719 *)
13720 CC="$CC $ac_cv_prog_cc_c89"
13721 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
13722 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13723 esac
13724
13725
13726 ac_ext=c
13727 ac_cpp='$CPP $CPPFLAGS'
13728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13731
13732
13733
13734 ac_ext=c
13735 ac_cpp='$CPP $CPPFLAGS'
13736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13739
13740 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
13741 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
13742 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13743 echo $ECHO_N "(cached) $ECHO_C" >&6
13744 else
13745 cat >conftest.$ac_ext <<_ACEOF
13746 /* confdefs.h. */
13747 _ACEOF
13748 cat confdefs.h >>conftest.$ac_ext
13749 cat >>conftest.$ac_ext <<_ACEOF
13750 /* end confdefs.h. */
13751
13752 int
13753 main ()
13754 {
13755
13756 #ifndef __INTEL_COMPILER
13757 choke me
13758 #endif
13759
13760 ;
13761 return 0;
13762 }
13763 _ACEOF
13764 rm -f conftest.$ac_objext
13765 if { (ac_try="$ac_compile"
13766 case "(($ac_try" in
13767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13768 *) ac_try_echo=$ac_try;;
13769 esac
13770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13771 (eval "$ac_compile") 2>conftest.er1
13772 ac_status=$?
13773 grep -v '^ *+' conftest.er1 >conftest.err
13774 rm -f conftest.er1
13775 cat conftest.err >&5
13776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13777 (exit $ac_status); } &&
13778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13779 { (case "(($ac_try" in
13780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13781 *) ac_try_echo=$ac_try;;
13782 esac
13783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13784 (eval "$ac_try") 2>&5
13785 ac_status=$?
13786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787 (exit $ac_status); }; } &&
13788 { ac_try='test -s conftest.$ac_objext'
13789 { (case "(($ac_try" in
13790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13791 *) ac_try_echo=$ac_try;;
13792 esac
13793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13794 (eval "$ac_try") 2>&5
13795 ac_status=$?
13796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13797 (exit $ac_status); }; }; then
13798 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13799 else
13800 echo "$as_me: failed program was:" >&5
13801 sed 's/^/| /' conftest.$ac_ext >&5
13802
13803 bakefile_cv_c_compiler___INTEL_COMPILER=no
13804
13805 fi
13806
13807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13808
13809
13810 fi
13811 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13812 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13813 ac_ext=c
13814 ac_cpp='$CPP $CPPFLAGS'
13815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13818
13819 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13820 :; INTELCC=yes
13821 else
13822 :;
13823 fi
13824
13825
13826 if test "x$GCC" != "xyes"; then
13827 if test "xCC" = "xC"; then
13828 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13829 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
13830 if test "${bakefile_cv_c_exto+set}" = set; then
13831 echo $ECHO_N "(cached) $ECHO_C" >&6
13832 else
13833 cat >conftest.$ac_ext <<_ACEOF
13834 /* confdefs.h. */
13835 _ACEOF
13836 cat confdefs.h >>conftest.$ac_ext
13837 cat >>conftest.$ac_ext <<_ACEOF
13838 /* end confdefs.h. */
13839
13840 int
13841 main ()
13842 {
13843
13844 ;
13845 return 0;
13846 }
13847 _ACEOF
13848 rm -f conftest.$ac_objext conftest.$ac_ext.o
13849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13850 (eval $ac_compile) 2>&5
13851 ac_status=$?
13852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13853 (exit $ac_status); }; then
13854 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13855 case $ac_file in
13856 conftest.$ac_ext.o)
13857 bakefile_cv_c_exto="-ext o"
13858 ;;
13859 *)
13860 ;;
13861 esac
13862 done
13863 else
13864 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13865 See \`config.log' for more details." >&5
13866 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13867 See \`config.log' for more details." >&2;}
13868 { (exit 1); exit 1; }; }
13869
13870 fi
13871
13872 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13873
13874 fi
13875 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13876 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
13877 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13878 if test "c" = "c"; then
13879 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13880 fi
13881 if test "c" = "cxx"; then
13882 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13883 fi
13884 fi
13885
13886 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13887 unset ac_cv_prog_cc_g
13888 ac_test_CFLAGS=${CFLAGS+set}
13889 ac_save_CFLAGS=$CFLAGS
13890 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13891 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13892 if test "${ac_cv_prog_cc_g+set}" = set; then
13893 echo $ECHO_N "(cached) $ECHO_C" >&6
13894 else
13895 ac_save_c_werror_flag=$ac_c_werror_flag
13896 ac_c_werror_flag=yes
13897 ac_cv_prog_cc_g=no
13898 CFLAGS="-g"
13899 cat >conftest.$ac_ext <<_ACEOF
13900 /* confdefs.h. */
13901 _ACEOF
13902 cat confdefs.h >>conftest.$ac_ext
13903 cat >>conftest.$ac_ext <<_ACEOF
13904 /* end confdefs.h. */
13905
13906 int
13907 main ()
13908 {
13909
13910 ;
13911 return 0;
13912 }
13913 _ACEOF
13914 rm -f conftest.$ac_objext
13915 if { (ac_try="$ac_compile"
13916 case "(($ac_try" in
13917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13918 *) ac_try_echo=$ac_try;;
13919 esac
13920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13921 (eval "$ac_compile") 2>conftest.er1
13922 ac_status=$?
13923 grep -v '^ *+' conftest.er1 >conftest.err
13924 rm -f conftest.er1
13925 cat conftest.err >&5
13926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13927 (exit $ac_status); } &&
13928 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13929 { (case "(($ac_try" in
13930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13931 *) ac_try_echo=$ac_try;;
13932 esac
13933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13934 (eval "$ac_try") 2>&5
13935 ac_status=$?
13936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13937 (exit $ac_status); }; } &&
13938 { ac_try='test -s conftest.$ac_objext'
13939 { (case "(($ac_try" in
13940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13941 *) ac_try_echo=$ac_try;;
13942 esac
13943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13944 (eval "$ac_try") 2>&5
13945 ac_status=$?
13946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947 (exit $ac_status); }; }; then
13948 ac_cv_prog_cc_g=yes
13949 else
13950 echo "$as_me: failed program was:" >&5
13951 sed 's/^/| /' conftest.$ac_ext >&5
13952
13953 CFLAGS=""
13954 cat >conftest.$ac_ext <<_ACEOF
13955 /* confdefs.h. */
13956 _ACEOF
13957 cat confdefs.h >>conftest.$ac_ext
13958 cat >>conftest.$ac_ext <<_ACEOF
13959 /* end confdefs.h. */
13960
13961 int
13962 main ()
13963 {
13964
13965 ;
13966 return 0;
13967 }
13968 _ACEOF
13969 rm -f conftest.$ac_objext
13970 if { (ac_try="$ac_compile"
13971 case "(($ac_try" in
13972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13973 *) ac_try_echo=$ac_try;;
13974 esac
13975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13976 (eval "$ac_compile") 2>conftest.er1
13977 ac_status=$?
13978 grep -v '^ *+' conftest.er1 >conftest.err
13979 rm -f conftest.er1
13980 cat conftest.err >&5
13981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13982 (exit $ac_status); } &&
13983 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13984 { (case "(($ac_try" in
13985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13986 *) ac_try_echo=$ac_try;;
13987 esac
13988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13989 (eval "$ac_try") 2>&5
13990 ac_status=$?
13991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13992 (exit $ac_status); }; } &&
13993 { ac_try='test -s conftest.$ac_objext'
13994 { (case "(($ac_try" in
13995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13996 *) ac_try_echo=$ac_try;;
13997 esac
13998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13999 (eval "$ac_try") 2>&5
14000 ac_status=$?
14001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14002 (exit $ac_status); }; }; then
14003 :
14004 else
14005 echo "$as_me: failed program was:" >&5
14006 sed 's/^/| /' conftest.$ac_ext >&5
14007
14008 ac_c_werror_flag=$ac_save_c_werror_flag
14009 CFLAGS="-g"
14010 cat >conftest.$ac_ext <<_ACEOF
14011 /* confdefs.h. */
14012 _ACEOF
14013 cat confdefs.h >>conftest.$ac_ext
14014 cat >>conftest.$ac_ext <<_ACEOF
14015 /* end confdefs.h. */
14016
14017 int
14018 main ()
14019 {
14020
14021 ;
14022 return 0;
14023 }
14024 _ACEOF
14025 rm -f conftest.$ac_objext
14026 if { (ac_try="$ac_compile"
14027 case "(($ac_try" in
14028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14029 *) ac_try_echo=$ac_try;;
14030 esac
14031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14032 (eval "$ac_compile") 2>conftest.er1
14033 ac_status=$?
14034 grep -v '^ *+' conftest.er1 >conftest.err
14035 rm -f conftest.er1
14036 cat conftest.err >&5
14037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14038 (exit $ac_status); } &&
14039 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14040 { (case "(($ac_try" in
14041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14042 *) ac_try_echo=$ac_try;;
14043 esac
14044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14045 (eval "$ac_try") 2>&5
14046 ac_status=$?
14047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14048 (exit $ac_status); }; } &&
14049 { ac_try='test -s conftest.$ac_objext'
14050 { (case "(($ac_try" in
14051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14052 *) ac_try_echo=$ac_try;;
14053 esac
14054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14055 (eval "$ac_try") 2>&5
14056 ac_status=$?
14057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14058 (exit $ac_status); }; }; then
14059 ac_cv_prog_cc_g=yes
14060 else
14061 echo "$as_me: failed program was:" >&5
14062 sed 's/^/| /' conftest.$ac_ext >&5
14063
14064
14065 fi
14066
14067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14068 fi
14069
14070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14071 fi
14072
14073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14074 ac_c_werror_flag=$ac_save_c_werror_flag
14075 fi
14076 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14077 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14078 if test "$ac_test_CFLAGS" = set; then
14079 CFLAGS=$ac_save_CFLAGS
14080 elif test $ac_cv_prog_cc_g = yes; then
14081 if test "$GCC" = yes; then
14082 CFLAGS="-g -O2"
14083 else
14084 CFLAGS="-g"
14085 fi
14086 else
14087 if test "$GCC" = yes; then
14088 CFLAGS="-O2"
14089 else
14090 CFLAGS=
14091 fi
14092 fi
14093 fi
14094 fi
14095
14096 case `uname -s` in
14097 AIX*)
14098 ac_ext=c
14099 ac_cpp='$CPP $CPPFLAGS'
14100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14103
14104 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14105 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14106 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14107 echo $ECHO_N "(cached) $ECHO_C" >&6
14108 else
14109 cat >conftest.$ac_ext <<_ACEOF
14110 /* confdefs.h. */
14111 _ACEOF
14112 cat confdefs.h >>conftest.$ac_ext
14113 cat >>conftest.$ac_ext <<_ACEOF
14114 /* end confdefs.h. */
14115
14116 int
14117 main ()
14118 {
14119 #ifndef __xlC__
14120 choke me
14121 #endif
14122
14123 ;
14124 return 0;
14125 }
14126 _ACEOF
14127 rm -f conftest.$ac_objext
14128 if { (ac_try="$ac_compile"
14129 case "(($ac_try" in
14130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14131 *) ac_try_echo=$ac_try;;
14132 esac
14133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14134 (eval "$ac_compile") 2>conftest.er1
14135 ac_status=$?
14136 grep -v '^ *+' conftest.er1 >conftest.err
14137 rm -f conftest.er1
14138 cat conftest.err >&5
14139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14140 (exit $ac_status); } &&
14141 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14142 { (case "(($ac_try" in
14143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14144 *) ac_try_echo=$ac_try;;
14145 esac
14146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14147 (eval "$ac_try") 2>&5
14148 ac_status=$?
14149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14150 (exit $ac_status); }; } &&
14151 { ac_try='test -s conftest.$ac_objext'
14152 { (case "(($ac_try" in
14153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14154 *) ac_try_echo=$ac_try;;
14155 esac
14156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14157 (eval "$ac_try") 2>&5
14158 ac_status=$?
14159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14160 (exit $ac_status); }; }; then
14161 bakefile_compiler_xlc=yes
14162 else
14163 echo "$as_me: failed program was:" >&5
14164 sed 's/^/| /' conftest.$ac_ext >&5
14165
14166 bakefile_compiler_xlc=no
14167 fi
14168
14169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14170 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14171
14172 fi
14173 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14174 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14175
14176 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14177 ac_ext=c
14178 ac_cpp='$CPP $CPPFLAGS'
14179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14182
14183
14184 ;;
14185
14186 Darwin)
14187 ac_ext=c
14188 ac_cpp='$CPP $CPPFLAGS'
14189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14192
14193 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14194 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14195 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14196 echo $ECHO_N "(cached) $ECHO_C" >&6
14197 else
14198 cat >conftest.$ac_ext <<_ACEOF
14199 /* confdefs.h. */
14200 _ACEOF
14201 cat confdefs.h >>conftest.$ac_ext
14202 cat >>conftest.$ac_ext <<_ACEOF
14203 /* end confdefs.h. */
14204
14205 int
14206 main ()
14207 {
14208 #ifndef __MWERKS__
14209 choke me
14210 #endif
14211
14212 ;
14213 return 0;
14214 }
14215 _ACEOF
14216 rm -f conftest.$ac_objext
14217 if { (ac_try="$ac_compile"
14218 case "(($ac_try" in
14219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14220 *) ac_try_echo=$ac_try;;
14221 esac
14222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14223 (eval "$ac_compile") 2>conftest.er1
14224 ac_status=$?
14225 grep -v '^ *+' conftest.er1 >conftest.err
14226 rm -f conftest.er1
14227 cat conftest.err >&5
14228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14229 (exit $ac_status); } &&
14230 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14231 { (case "(($ac_try" in
14232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14233 *) ac_try_echo=$ac_try;;
14234 esac
14235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14236 (eval "$ac_try") 2>&5
14237 ac_status=$?
14238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14239 (exit $ac_status); }; } &&
14240 { ac_try='test -s conftest.$ac_objext'
14241 { (case "(($ac_try" in
14242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14243 *) ac_try_echo=$ac_try;;
14244 esac
14245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14246 (eval "$ac_try") 2>&5
14247 ac_status=$?
14248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14249 (exit $ac_status); }; }; then
14250 bakefile_compiler_mwerks=yes
14251 else
14252 echo "$as_me: failed program was:" >&5
14253 sed 's/^/| /' conftest.$ac_ext >&5
14254
14255 bakefile_compiler_mwerks=no
14256 fi
14257
14258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14259 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14260
14261 fi
14262 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14263 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
14264
14265 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14266 ac_ext=c
14267 ac_cpp='$CPP $CPPFLAGS'
14268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14271
14272
14273 ac_ext=c
14274 ac_cpp='$CPP $CPPFLAGS'
14275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14278
14279 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14280 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14281 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14282 echo $ECHO_N "(cached) $ECHO_C" >&6
14283 else
14284 cat >conftest.$ac_ext <<_ACEOF
14285 /* confdefs.h. */
14286 _ACEOF
14287 cat confdefs.h >>conftest.$ac_ext
14288 cat >>conftest.$ac_ext <<_ACEOF
14289 /* end confdefs.h. */
14290
14291 int
14292 main ()
14293 {
14294 #ifndef __xlC__
14295 choke me
14296 #endif
14297
14298 ;
14299 return 0;
14300 }
14301 _ACEOF
14302 rm -f conftest.$ac_objext
14303 if { (ac_try="$ac_compile"
14304 case "(($ac_try" in
14305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14306 *) ac_try_echo=$ac_try;;
14307 esac
14308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14309 (eval "$ac_compile") 2>conftest.er1
14310 ac_status=$?
14311 grep -v '^ *+' conftest.er1 >conftest.err
14312 rm -f conftest.er1
14313 cat conftest.err >&5
14314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14315 (exit $ac_status); } &&
14316 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14317 { (case "(($ac_try" in
14318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14319 *) ac_try_echo=$ac_try;;
14320 esac
14321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14322 (eval "$ac_try") 2>&5
14323 ac_status=$?
14324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14325 (exit $ac_status); }; } &&
14326 { ac_try='test -s conftest.$ac_objext'
14327 { (case "(($ac_try" in
14328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14329 *) ac_try_echo=$ac_try;;
14330 esac
14331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14332 (eval "$ac_try") 2>&5
14333 ac_status=$?
14334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14335 (exit $ac_status); }; }; then
14336 bakefile_compiler_xlc=yes
14337 else
14338 echo "$as_me: failed program was:" >&5
14339 sed 's/^/| /' conftest.$ac_ext >&5
14340
14341 bakefile_compiler_xlc=no
14342 fi
14343
14344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14345 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14346
14347 fi
14348 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14349 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14350
14351 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14352 ac_ext=c
14353 ac_cpp='$CPP $CPPFLAGS'
14354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14357
14358
14359 ;;
14360
14361 IRIX*)
14362
14363
14364 ac_ext=c
14365 ac_cpp='$CPP $CPPFLAGS'
14366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14369
14370 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14371 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14372 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14373 echo $ECHO_N "(cached) $ECHO_C" >&6
14374 else
14375 cat >conftest.$ac_ext <<_ACEOF
14376 /* confdefs.h. */
14377 _ACEOF
14378 cat confdefs.h >>conftest.$ac_ext
14379 cat >>conftest.$ac_ext <<_ACEOF
14380 /* end confdefs.h. */
14381
14382 int
14383 main ()
14384 {
14385
14386 #ifndef _SGI_COMPILER_VERSION
14387 choke me
14388 #endif
14389
14390 ;
14391 return 0;
14392 }
14393 _ACEOF
14394 rm -f conftest.$ac_objext
14395 if { (ac_try="$ac_compile"
14396 case "(($ac_try" in
14397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14398 *) ac_try_echo=$ac_try;;
14399 esac
14400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14401 (eval "$ac_compile") 2>conftest.er1
14402 ac_status=$?
14403 grep -v '^ *+' conftest.er1 >conftest.err
14404 rm -f conftest.er1
14405 cat conftest.err >&5
14406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14407 (exit $ac_status); } &&
14408 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14409 { (case "(($ac_try" in
14410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14411 *) ac_try_echo=$ac_try;;
14412 esac
14413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14414 (eval "$ac_try") 2>&5
14415 ac_status=$?
14416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14417 (exit $ac_status); }; } &&
14418 { ac_try='test -s conftest.$ac_objext'
14419 { (case "(($ac_try" in
14420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14421 *) ac_try_echo=$ac_try;;
14422 esac
14423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14424 (eval "$ac_try") 2>&5
14425 ac_status=$?
14426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14427 (exit $ac_status); }; }; then
14428 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14429 else
14430 echo "$as_me: failed program was:" >&5
14431 sed 's/^/| /' conftest.$ac_ext >&5
14432
14433 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14434
14435 fi
14436
14437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14438
14439
14440 fi
14441 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14442 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14443 ac_ext=c
14444 ac_cpp='$CPP $CPPFLAGS'
14445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14448
14449 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14450 :; SGICC=yes
14451 else
14452 :;
14453 fi
14454
14455
14456 ;;
14457
14458 HP-UX*)
14459
14460
14461 ac_ext=c
14462 ac_cpp='$CPP $CPPFLAGS'
14463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14466
14467 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14468 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14469 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14470 echo $ECHO_N "(cached) $ECHO_C" >&6
14471 else
14472 cat >conftest.$ac_ext <<_ACEOF
14473 /* confdefs.h. */
14474 _ACEOF
14475 cat confdefs.h >>conftest.$ac_ext
14476 cat >>conftest.$ac_ext <<_ACEOF
14477 /* end confdefs.h. */
14478
14479 int
14480 main ()
14481 {
14482
14483 #ifndef __HP_cc
14484 choke me
14485 #endif
14486
14487 ;
14488 return 0;
14489 }
14490 _ACEOF
14491 rm -f conftest.$ac_objext
14492 if { (ac_try="$ac_compile"
14493 case "(($ac_try" in
14494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14495 *) ac_try_echo=$ac_try;;
14496 esac
14497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14498 (eval "$ac_compile") 2>conftest.er1
14499 ac_status=$?
14500 grep -v '^ *+' conftest.er1 >conftest.err
14501 rm -f conftest.er1
14502 cat conftest.err >&5
14503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14504 (exit $ac_status); } &&
14505 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14506 { (case "(($ac_try" in
14507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14508 *) ac_try_echo=$ac_try;;
14509 esac
14510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14511 (eval "$ac_try") 2>&5
14512 ac_status=$?
14513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14514 (exit $ac_status); }; } &&
14515 { ac_try='test -s conftest.$ac_objext'
14516 { (case "(($ac_try" in
14517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14518 *) ac_try_echo=$ac_try;;
14519 esac
14520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14521 (eval "$ac_try") 2>&5
14522 ac_status=$?
14523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14524 (exit $ac_status); }; }; then
14525 bakefile_cv_c_compiler___HP_cc=yes
14526 else
14527 echo "$as_me: failed program was:" >&5
14528 sed 's/^/| /' conftest.$ac_ext >&5
14529
14530 bakefile_cv_c_compiler___HP_cc=no
14531
14532 fi
14533
14534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14535
14536
14537 fi
14538 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14539 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14540 ac_ext=c
14541 ac_cpp='$CPP $CPPFLAGS'
14542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14545
14546 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14547 :; HPCC=yes
14548 else
14549 :;
14550 fi
14551
14552
14553 ;;
14554
14555 OSF1)
14556
14557
14558 ac_ext=c
14559 ac_cpp='$CPP $CPPFLAGS'
14560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14563
14564 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14565 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14566 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14567 echo $ECHO_N "(cached) $ECHO_C" >&6
14568 else
14569 cat >conftest.$ac_ext <<_ACEOF
14570 /* confdefs.h. */
14571 _ACEOF
14572 cat confdefs.h >>conftest.$ac_ext
14573 cat >>conftest.$ac_ext <<_ACEOF
14574 /* end confdefs.h. */
14575
14576 int
14577 main ()
14578 {
14579
14580 #ifndef __DECC
14581 choke me
14582 #endif
14583
14584 ;
14585 return 0;
14586 }
14587 _ACEOF
14588 rm -f conftest.$ac_objext
14589 if { (ac_try="$ac_compile"
14590 case "(($ac_try" in
14591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14592 *) ac_try_echo=$ac_try;;
14593 esac
14594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14595 (eval "$ac_compile") 2>conftest.er1
14596 ac_status=$?
14597 grep -v '^ *+' conftest.er1 >conftest.err
14598 rm -f conftest.er1
14599 cat conftest.err >&5
14600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14601 (exit $ac_status); } &&
14602 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14603 { (case "(($ac_try" in
14604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14605 *) ac_try_echo=$ac_try;;
14606 esac
14607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14608 (eval "$ac_try") 2>&5
14609 ac_status=$?
14610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14611 (exit $ac_status); }; } &&
14612 { ac_try='test -s conftest.$ac_objext'
14613 { (case "(($ac_try" in
14614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14615 *) ac_try_echo=$ac_try;;
14616 esac
14617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14618 (eval "$ac_try") 2>&5
14619 ac_status=$?
14620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14621 (exit $ac_status); }; }; then
14622 bakefile_cv_c_compiler___DECC=yes
14623 else
14624 echo "$as_me: failed program was:" >&5
14625 sed 's/^/| /' conftest.$ac_ext >&5
14626
14627 bakefile_cv_c_compiler___DECC=no
14628
14629 fi
14630
14631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14632
14633
14634 fi
14635 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14636 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14637 ac_ext=c
14638 ac_cpp='$CPP $CPPFLAGS'
14639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14642
14643 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14644 :; COMPAQCC=yes
14645 else
14646 :;
14647 fi
14648
14649
14650 ;;
14651
14652 SunOS)
14653
14654
14655 ac_ext=c
14656 ac_cpp='$CPP $CPPFLAGS'
14657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14660
14661 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14662 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14663 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14664 echo $ECHO_N "(cached) $ECHO_C" >&6
14665 else
14666 cat >conftest.$ac_ext <<_ACEOF
14667 /* confdefs.h. */
14668 _ACEOF
14669 cat confdefs.h >>conftest.$ac_ext
14670 cat >>conftest.$ac_ext <<_ACEOF
14671 /* end confdefs.h. */
14672
14673 int
14674 main ()
14675 {
14676
14677 #ifndef __SUNPRO_C
14678 choke me
14679 #endif
14680
14681 ;
14682 return 0;
14683 }
14684 _ACEOF
14685 rm -f conftest.$ac_objext
14686 if { (ac_try="$ac_compile"
14687 case "(($ac_try" in
14688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14689 *) ac_try_echo=$ac_try;;
14690 esac
14691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14692 (eval "$ac_compile") 2>conftest.er1
14693 ac_status=$?
14694 grep -v '^ *+' conftest.er1 >conftest.err
14695 rm -f conftest.er1
14696 cat conftest.err >&5
14697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14698 (exit $ac_status); } &&
14699 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14700 { (case "(($ac_try" in
14701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14702 *) ac_try_echo=$ac_try;;
14703 esac
14704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14705 (eval "$ac_try") 2>&5
14706 ac_status=$?
14707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14708 (exit $ac_status); }; } &&
14709 { ac_try='test -s conftest.$ac_objext'
14710 { (case "(($ac_try" in
14711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14712 *) ac_try_echo=$ac_try;;
14713 esac
14714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14715 (eval "$ac_try") 2>&5
14716 ac_status=$?
14717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14718 (exit $ac_status); }; }; then
14719 bakefile_cv_c_compiler___SUNPRO_C=yes
14720 else
14721 echo "$as_me: failed program was:" >&5
14722 sed 's/^/| /' conftest.$ac_ext >&5
14723
14724 bakefile_cv_c_compiler___SUNPRO_C=no
14725
14726 fi
14727
14728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14729
14730
14731 fi
14732 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14733 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14734 ac_ext=c
14735 ac_cpp='$CPP $CPPFLAGS'
14736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14739
14740 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14741 :; SUNCC=yes
14742 else
14743 :;
14744 fi
14745
14746
14747 ;;
14748 esac
14749 fi
14750
14751
14752
14753 ac_ext=c
14754 ac_cpp='$CPP $CPPFLAGS'
14755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14758 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14759 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14760 # On Suns, sometimes $CPP names a directory.
14761 if test -n "$CPP" && test -d "$CPP"; then
14762 CPP=
14763 fi
14764 if test -z "$CPP"; then
14765 if test "${ac_cv_prog_CPP+set}" = set; then
14766 echo $ECHO_N "(cached) $ECHO_C" >&6
14767 else
14768 # Double quotes because CPP needs to be expanded
14769 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14770 do
14771 ac_preproc_ok=false
14772 for ac_c_preproc_warn_flag in '' yes
14773 do
14774 # Use a header file that comes with gcc, so configuring glibc
14775 # with a fresh cross-compiler works.
14776 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14777 # <limits.h> exists even on freestanding compilers.
14778 # On the NeXT, cc -E runs the code through the compiler's parser,
14779 # not just through cpp. "Syntax error" is here to catch this case.
14780 cat >conftest.$ac_ext <<_ACEOF
14781 /* confdefs.h. */
14782 _ACEOF
14783 cat confdefs.h >>conftest.$ac_ext
14784 cat >>conftest.$ac_ext <<_ACEOF
14785 /* end confdefs.h. */
14786 #ifdef __STDC__
14787 # include <limits.h>
14788 #else
14789 # include <assert.h>
14790 #endif
14791 Syntax error
14792 _ACEOF
14793 if { (ac_try="$ac_cpp conftest.$ac_ext"
14794 case "(($ac_try" in
14795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14796 *) ac_try_echo=$ac_try;;
14797 esac
14798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14799 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14800 ac_status=$?
14801 grep -v '^ *+' conftest.er1 >conftest.err
14802 rm -f conftest.er1
14803 cat conftest.err >&5
14804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14805 (exit $ac_status); } >/dev/null; then
14806 if test -s conftest.err; then
14807 ac_cpp_err=$ac_c_preproc_warn_flag
14808 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14809 else
14810 ac_cpp_err=
14811 fi
14812 else
14813 ac_cpp_err=yes
14814 fi
14815 if test -z "$ac_cpp_err"; then
14816 :
14817 else
14818 echo "$as_me: failed program was:" >&5
14819 sed 's/^/| /' conftest.$ac_ext >&5
14820
14821 # Broken: fails on valid input.
14822 continue
14823 fi
14824
14825 rm -f conftest.err conftest.$ac_ext
14826
14827 # OK, works on sane cases. Now check whether nonexistent headers
14828 # can be detected and how.
14829 cat >conftest.$ac_ext <<_ACEOF
14830 /* confdefs.h. */
14831 _ACEOF
14832 cat confdefs.h >>conftest.$ac_ext
14833 cat >>conftest.$ac_ext <<_ACEOF
14834 /* end confdefs.h. */
14835 #include <ac_nonexistent.h>
14836 _ACEOF
14837 if { (ac_try="$ac_cpp conftest.$ac_ext"
14838 case "(($ac_try" in
14839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14840 *) ac_try_echo=$ac_try;;
14841 esac
14842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14843 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14844 ac_status=$?
14845 grep -v '^ *+' conftest.er1 >conftest.err
14846 rm -f conftest.er1
14847 cat conftest.err >&5
14848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14849 (exit $ac_status); } >/dev/null; then
14850 if test -s conftest.err; then
14851 ac_cpp_err=$ac_c_preproc_warn_flag
14852 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14853 else
14854 ac_cpp_err=
14855 fi
14856 else
14857 ac_cpp_err=yes
14858 fi
14859 if test -z "$ac_cpp_err"; then
14860 # Broken: success on invalid input.
14861 continue
14862 else
14863 echo "$as_me: failed program was:" >&5
14864 sed 's/^/| /' conftest.$ac_ext >&5
14865
14866 # Passes both tests.
14867 ac_preproc_ok=:
14868 break
14869 fi
14870
14871 rm -f conftest.err conftest.$ac_ext
14872
14873 done
14874 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14875 rm -f conftest.err conftest.$ac_ext
14876 if $ac_preproc_ok; then
14877 break
14878 fi
14879
14880 done
14881 ac_cv_prog_CPP=$CPP
14882
14883 fi
14884 CPP=$ac_cv_prog_CPP
14885 else
14886 ac_cv_prog_CPP=$CPP
14887 fi
14888 { echo "$as_me:$LINENO: result: $CPP" >&5
14889 echo "${ECHO_T}$CPP" >&6; }
14890 ac_preproc_ok=false
14891 for ac_c_preproc_warn_flag in '' yes
14892 do
14893 # Use a header file that comes with gcc, so configuring glibc
14894 # with a fresh cross-compiler works.
14895 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14896 # <limits.h> exists even on freestanding compilers.
14897 # On the NeXT, cc -E runs the code through the compiler's parser,
14898 # not just through cpp. "Syntax error" is here to catch this case.
14899 cat >conftest.$ac_ext <<_ACEOF
14900 /* confdefs.h. */
14901 _ACEOF
14902 cat confdefs.h >>conftest.$ac_ext
14903 cat >>conftest.$ac_ext <<_ACEOF
14904 /* end confdefs.h. */
14905 #ifdef __STDC__
14906 # include <limits.h>
14907 #else
14908 # include <assert.h>
14909 #endif
14910 Syntax error
14911 _ACEOF
14912 if { (ac_try="$ac_cpp conftest.$ac_ext"
14913 case "(($ac_try" in
14914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14915 *) ac_try_echo=$ac_try;;
14916 esac
14917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14918 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14919 ac_status=$?
14920 grep -v '^ *+' conftest.er1 >conftest.err
14921 rm -f conftest.er1
14922 cat conftest.err >&5
14923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14924 (exit $ac_status); } >/dev/null; then
14925 if test -s conftest.err; then
14926 ac_cpp_err=$ac_c_preproc_warn_flag
14927 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14928 else
14929 ac_cpp_err=
14930 fi
14931 else
14932 ac_cpp_err=yes
14933 fi
14934 if test -z "$ac_cpp_err"; then
14935 :
14936 else
14937 echo "$as_me: failed program was:" >&5
14938 sed 's/^/| /' conftest.$ac_ext >&5
14939
14940 # Broken: fails on valid input.
14941 continue
14942 fi
14943
14944 rm -f conftest.err conftest.$ac_ext
14945
14946 # OK, works on sane cases. Now check whether nonexistent headers
14947 # can be detected and how.
14948 cat >conftest.$ac_ext <<_ACEOF
14949 /* confdefs.h. */
14950 _ACEOF
14951 cat confdefs.h >>conftest.$ac_ext
14952 cat >>conftest.$ac_ext <<_ACEOF
14953 /* end confdefs.h. */
14954 #include <ac_nonexistent.h>
14955 _ACEOF
14956 if { (ac_try="$ac_cpp conftest.$ac_ext"
14957 case "(($ac_try" in
14958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14959 *) ac_try_echo=$ac_try;;
14960 esac
14961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14962 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14963 ac_status=$?
14964 grep -v '^ *+' conftest.er1 >conftest.err
14965 rm -f conftest.er1
14966 cat conftest.err >&5
14967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14968 (exit $ac_status); } >/dev/null; then
14969 if test -s conftest.err; then
14970 ac_cpp_err=$ac_c_preproc_warn_flag
14971 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14972 else
14973 ac_cpp_err=
14974 fi
14975 else
14976 ac_cpp_err=yes
14977 fi
14978 if test -z "$ac_cpp_err"; then
14979 # Broken: success on invalid input.
14980 continue
14981 else
14982 echo "$as_me: failed program was:" >&5
14983 sed 's/^/| /' conftest.$ac_ext >&5
14984
14985 # Passes both tests.
14986 ac_preproc_ok=:
14987 break
14988 fi
14989
14990 rm -f conftest.err conftest.$ac_ext
14991
14992 done
14993 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14994 rm -f conftest.err conftest.$ac_ext
14995 if $ac_preproc_ok; then
14996 :
14997 else
14998 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14999 See \`config.log' for more details." >&5
15000 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
15001 See \`config.log' for more details." >&2;}
15002 { (exit 1); exit 1; }; }
15003 fi
15004
15005 ac_ext=c
15006 ac_cpp='$CPP $CPPFLAGS'
15007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15010
15011
15012 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
15013 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
15014 if test "${ac_cv_path_GREP+set}" = set; then
15015 echo $ECHO_N "(cached) $ECHO_C" >&6
15016 else
15017 # Extract the first word of "grep ggrep" to use in msg output
15018 if test -z "$GREP"; then
15019 set dummy grep ggrep; ac_prog_name=$2
15020 if test "${ac_cv_path_GREP+set}" = set; then
15021 echo $ECHO_N "(cached) $ECHO_C" >&6
15022 else
15023 ac_path_GREP_found=false
15024 # Loop through the user's path and test for each of PROGNAME-LIST
15025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15026 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15027 do
15028 IFS=$as_save_IFS
15029 test -z "$as_dir" && as_dir=.
15030 for ac_prog in grep ggrep; do
15031 for ac_exec_ext in '' $ac_executable_extensions; do
15032 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
15033 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
15034 # Check for GNU ac_path_GREP and select it if it is found.
15035 # Check for GNU $ac_path_GREP
15036 case `"$ac_path_GREP" --version 2>&1` in
15037 *GNU*)
15038 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
15039 *)
15040 ac_count=0
15041 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15042 while :
15043 do
15044 cat "conftest.in" "conftest.in" >"conftest.tmp"
15045 mv "conftest.tmp" "conftest.in"
15046 cp "conftest.in" "conftest.nl"
15047 echo 'GREP' >> "conftest.nl"
15048 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
15049 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15050 ac_count=`expr $ac_count + 1`
15051 if test $ac_count -gt ${ac_path_GREP_max-0}; then
15052 # Best one so far, save it but keep looking for a better one
15053 ac_cv_path_GREP="$ac_path_GREP"
15054 ac_path_GREP_max=$ac_count
15055 fi
15056 # 10*(2^10) chars as input seems more than enough
15057 test $ac_count -gt 10 && break
15058 done
15059 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
15060 esac
15061
15062
15063 $ac_path_GREP_found && break 3
15064 done
15065 done
15066
15067 done
15068 IFS=$as_save_IFS
15069
15070
15071 fi
15072
15073 GREP="$ac_cv_path_GREP"
15074 if test -z "$GREP"; then
15075 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15076 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15077 { (exit 1); exit 1; }; }
15078 fi
15079
15080 else
15081 ac_cv_path_GREP=$GREP
15082 fi
15083
15084
15085 fi
15086 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
15087 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
15088 GREP="$ac_cv_path_GREP"
15089
15090
15091 { echo "$as_me:$LINENO: checking for egrep" >&5
15092 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
15093 if test "${ac_cv_path_EGREP+set}" = set; then
15094 echo $ECHO_N "(cached) $ECHO_C" >&6
15095 else
15096 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
15097 then ac_cv_path_EGREP="$GREP -E"
15098 else
15099 # Extract the first word of "egrep" to use in msg output
15100 if test -z "$EGREP"; then
15101 set dummy egrep; ac_prog_name=$2
15102 if test "${ac_cv_path_EGREP+set}" = set; then
15103 echo $ECHO_N "(cached) $ECHO_C" >&6
15104 else
15105 ac_path_EGREP_found=false
15106 # Loop through the user's path and test for each of PROGNAME-LIST
15107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15108 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15109 do
15110 IFS=$as_save_IFS
15111 test -z "$as_dir" && as_dir=.
15112 for ac_prog in egrep; do
15113 for ac_exec_ext in '' $ac_executable_extensions; do
15114 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
15115 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
15116 # Check for GNU ac_path_EGREP and select it if it is found.
15117 # Check for GNU $ac_path_EGREP
15118 case `"$ac_path_EGREP" --version 2>&1` in
15119 *GNU*)
15120 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
15121 *)
15122 ac_count=0
15123 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15124 while :
15125 do
15126 cat "conftest.in" "conftest.in" >"conftest.tmp"
15127 mv "conftest.tmp" "conftest.in"
15128 cp "conftest.in" "conftest.nl"
15129 echo 'EGREP' >> "conftest.nl"
15130 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
15131 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15132 ac_count=`expr $ac_count + 1`
15133 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
15134 # Best one so far, save it but keep looking for a better one
15135 ac_cv_path_EGREP="$ac_path_EGREP"
15136 ac_path_EGREP_max=$ac_count
15137 fi
15138 # 10*(2^10) chars as input seems more than enough
15139 test $ac_count -gt 10 && break
15140 done
15141 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
15142 esac
15143
15144
15145 $ac_path_EGREP_found && break 3
15146 done
15147 done
15148
15149 done
15150 IFS=$as_save_IFS
15151
15152
15153 fi
15154
15155 EGREP="$ac_cv_path_EGREP"
15156 if test -z "$EGREP"; then
15157 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15158 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15159 { (exit 1); exit 1; }; }
15160 fi
15161
15162 else
15163 ac_cv_path_EGREP=$EGREP
15164 fi
15165
15166
15167 fi
15168 fi
15169 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
15170 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
15171 EGREP="$ac_cv_path_EGREP"
15172
15173
15174 if test $ac_cv_c_compiler_gnu = yes; then
15175 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
15176 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
15177 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
15178 echo $ECHO_N "(cached) $ECHO_C" >&6
15179 else
15180 ac_pattern="Autoconf.*'x'"
15181 cat >conftest.$ac_ext <<_ACEOF
15182 /* confdefs.h. */
15183 _ACEOF
15184 cat confdefs.h >>conftest.$ac_ext
15185 cat >>conftest.$ac_ext <<_ACEOF
15186 /* end confdefs.h. */
15187 #include <sgtty.h>
15188 Autoconf TIOCGETP
15189 _ACEOF
15190 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15191 $EGREP "$ac_pattern" >/dev/null 2>&1; then
15192 ac_cv_prog_gcc_traditional=yes
15193 else
15194 ac_cv_prog_gcc_traditional=no
15195 fi
15196 rm -f conftest*
15197
15198
15199 if test $ac_cv_prog_gcc_traditional = no; then
15200 cat >conftest.$ac_ext <<_ACEOF
15201 /* confdefs.h. */
15202 _ACEOF
15203 cat confdefs.h >>conftest.$ac_ext
15204 cat >>conftest.$ac_ext <<_ACEOF
15205 /* end confdefs.h. */
15206 #include <termio.h>
15207 Autoconf TCGETA
15208 _ACEOF
15209 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15210 $EGREP "$ac_pattern" >/dev/null 2>&1; then
15211 ac_cv_prog_gcc_traditional=yes
15212 fi
15213 rm -f conftest*
15214
15215 fi
15216 fi
15217 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
15218 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
15219 if test $ac_cv_prog_gcc_traditional = yes; then
15220 CC="$CC -traditional"
15221 fi
15222 fi
15223
15224
15225 CXXFLAGS=${CXXFLAGS:=}
15226
15227
15228
15229 ac_ext=cpp
15230 ac_cpp='$CXXCPP $CPPFLAGS'
15231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15234 if test -z "$CXX"; then
15235 if test -n "$CCC"; then
15236 CXX=$CCC
15237 else
15238 if test -n "$ac_tool_prefix"; then
15239 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15240 do
15241 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15242 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15245 if test "${ac_cv_prog_CXX+set}" = set; then
15246 echo $ECHO_N "(cached) $ECHO_C" >&6
15247 else
15248 if test -n "$CXX"; then
15249 ac_cv_prog_CXX="$CXX" # Let the user override the test.
15250 else
15251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15252 for as_dir in $PATH
15253 do
15254 IFS=$as_save_IFS
15255 test -z "$as_dir" && as_dir=.
15256 for ac_exec_ext in '' $ac_executable_extensions; do
15257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15258 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
15259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15260 break 2
15261 fi
15262 done
15263 done
15264 IFS=$as_save_IFS
15265
15266 fi
15267 fi
15268 CXX=$ac_cv_prog_CXX
15269 if test -n "$CXX"; then
15270 { echo "$as_me:$LINENO: result: $CXX" >&5
15271 echo "${ECHO_T}$CXX" >&6; }
15272 else
15273 { echo "$as_me:$LINENO: result: no" >&5
15274 echo "${ECHO_T}no" >&6; }
15275 fi
15276
15277
15278 test -n "$CXX" && break
15279 done
15280 fi
15281 if test -z "$CXX"; then
15282 ac_ct_CXX=$CXX
15283 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15284 do
15285 # Extract the first word of "$ac_prog", so it can be a program name with args.
15286 set dummy $ac_prog; ac_word=$2
15287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15289 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15290 echo $ECHO_N "(cached) $ECHO_C" >&6
15291 else
15292 if test -n "$ac_ct_CXX"; then
15293 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15294 else
15295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15296 for as_dir in $PATH
15297 do
15298 IFS=$as_save_IFS
15299 test -z "$as_dir" && as_dir=.
15300 for ac_exec_ext in '' $ac_executable_extensions; do
15301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15302 ac_cv_prog_ac_ct_CXX="$ac_prog"
15303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15304 break 2
15305 fi
15306 done
15307 done
15308 IFS=$as_save_IFS
15309
15310 fi
15311 fi
15312 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15313 if test -n "$ac_ct_CXX"; then
15314 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15315 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15316 else
15317 { echo "$as_me:$LINENO: result: no" >&5
15318 echo "${ECHO_T}no" >&6; }
15319 fi
15320
15321
15322 test -n "$ac_ct_CXX" && break
15323 done
15324
15325 if test "x$ac_ct_CXX" = x; then
15326 CXX="g++"
15327 else
15328 case $cross_compiling:$ac_tool_warned in
15329 yes:)
15330 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15331 whose name does not start with the host triplet. If you think this
15332 configuration is useful to you, please write to autoconf@gnu.org." >&5
15333 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15334 whose name does not start with the host triplet. If you think this
15335 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15336 ac_tool_warned=yes ;;
15337 esac
15338 CXX=$ac_ct_CXX
15339 fi
15340 fi
15341
15342 fi
15343 fi
15344 # Provide some information about the compiler.
15345 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15346 ac_compiler=`set X $ac_compile; echo $2`
15347 { (ac_try="$ac_compiler --version >&5"
15348 case "(($ac_try" in
15349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15350 *) ac_try_echo=$ac_try;;
15351 esac
15352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15353 (eval "$ac_compiler --version >&5") 2>&5
15354 ac_status=$?
15355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15356 (exit $ac_status); }
15357 { (ac_try="$ac_compiler -v >&5"
15358 case "(($ac_try" in
15359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15360 *) ac_try_echo=$ac_try;;
15361 esac
15362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15363 (eval "$ac_compiler -v >&5") 2>&5
15364 ac_status=$?
15365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15366 (exit $ac_status); }
15367 { (ac_try="$ac_compiler -V >&5"
15368 case "(($ac_try" in
15369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15370 *) ac_try_echo=$ac_try;;
15371 esac
15372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15373 (eval "$ac_compiler -V >&5") 2>&5
15374 ac_status=$?
15375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15376 (exit $ac_status); }
15377
15378 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15379 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15380 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15381 echo $ECHO_N "(cached) $ECHO_C" >&6
15382 else
15383 cat >conftest.$ac_ext <<_ACEOF
15384 /* confdefs.h. */
15385 _ACEOF
15386 cat confdefs.h >>conftest.$ac_ext
15387 cat >>conftest.$ac_ext <<_ACEOF
15388 /* end confdefs.h. */
15389
15390 int
15391 main ()
15392 {
15393 #ifndef __GNUC__
15394 choke me
15395 #endif
15396
15397 ;
15398 return 0;
15399 }
15400 _ACEOF
15401 rm -f conftest.$ac_objext
15402 if { (ac_try="$ac_compile"
15403 case "(($ac_try" in
15404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15405 *) ac_try_echo=$ac_try;;
15406 esac
15407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15408 (eval "$ac_compile") 2>conftest.er1
15409 ac_status=$?
15410 grep -v '^ *+' conftest.er1 >conftest.err
15411 rm -f conftest.er1
15412 cat conftest.err >&5
15413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15414 (exit $ac_status); } &&
15415 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15416 { (case "(($ac_try" in
15417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15418 *) ac_try_echo=$ac_try;;
15419 esac
15420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15421 (eval "$ac_try") 2>&5
15422 ac_status=$?
15423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15424 (exit $ac_status); }; } &&
15425 { ac_try='test -s conftest.$ac_objext'
15426 { (case "(($ac_try" in
15427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15428 *) ac_try_echo=$ac_try;;
15429 esac
15430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15431 (eval "$ac_try") 2>&5
15432 ac_status=$?
15433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15434 (exit $ac_status); }; }; then
15435 ac_compiler_gnu=yes
15436 else
15437 echo "$as_me: failed program was:" >&5
15438 sed 's/^/| /' conftest.$ac_ext >&5
15439
15440 ac_compiler_gnu=no
15441 fi
15442
15443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15444 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15445
15446 fi
15447 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15448 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15449 GXX=`test $ac_compiler_gnu = yes && echo yes`
15450 ac_test_CXXFLAGS=${CXXFLAGS+set}
15451 ac_save_CXXFLAGS=$CXXFLAGS
15452 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15453 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15454 if test "${ac_cv_prog_cxx_g+set}" = set; then
15455 echo $ECHO_N "(cached) $ECHO_C" >&6
15456 else
15457 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15458 ac_cxx_werror_flag=yes
15459 ac_cv_prog_cxx_g=no
15460 CXXFLAGS="-g"
15461 cat >conftest.$ac_ext <<_ACEOF
15462 /* confdefs.h. */
15463 _ACEOF
15464 cat confdefs.h >>conftest.$ac_ext
15465 cat >>conftest.$ac_ext <<_ACEOF
15466 /* end confdefs.h. */
15467
15468 int
15469 main ()
15470 {
15471
15472 ;
15473 return 0;
15474 }
15475 _ACEOF
15476 rm -f conftest.$ac_objext
15477 if { (ac_try="$ac_compile"
15478 case "(($ac_try" in
15479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15480 *) ac_try_echo=$ac_try;;
15481 esac
15482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15483 (eval "$ac_compile") 2>conftest.er1
15484 ac_status=$?
15485 grep -v '^ *+' conftest.er1 >conftest.err
15486 rm -f conftest.er1
15487 cat conftest.err >&5
15488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15489 (exit $ac_status); } &&
15490 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15491 { (case "(($ac_try" in
15492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15493 *) ac_try_echo=$ac_try;;
15494 esac
15495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15496 (eval "$ac_try") 2>&5
15497 ac_status=$?
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); }; } &&
15500 { ac_try='test -s conftest.$ac_objext'
15501 { (case "(($ac_try" in
15502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15503 *) ac_try_echo=$ac_try;;
15504 esac
15505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15506 (eval "$ac_try") 2>&5
15507 ac_status=$?
15508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15509 (exit $ac_status); }; }; then
15510 ac_cv_prog_cxx_g=yes
15511 else
15512 echo "$as_me: failed program was:" >&5
15513 sed 's/^/| /' conftest.$ac_ext >&5
15514
15515 CXXFLAGS=""
15516 cat >conftest.$ac_ext <<_ACEOF
15517 /* confdefs.h. */
15518 _ACEOF
15519 cat confdefs.h >>conftest.$ac_ext
15520 cat >>conftest.$ac_ext <<_ACEOF
15521 /* end confdefs.h. */
15522
15523 int
15524 main ()
15525 {
15526
15527 ;
15528 return 0;
15529 }
15530 _ACEOF
15531 rm -f conftest.$ac_objext
15532 if { (ac_try="$ac_compile"
15533 case "(($ac_try" in
15534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15535 *) ac_try_echo=$ac_try;;
15536 esac
15537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15538 (eval "$ac_compile") 2>conftest.er1
15539 ac_status=$?
15540 grep -v '^ *+' conftest.er1 >conftest.err
15541 rm -f conftest.er1
15542 cat conftest.err >&5
15543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15544 (exit $ac_status); } &&
15545 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15546 { (case "(($ac_try" in
15547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15548 *) ac_try_echo=$ac_try;;
15549 esac
15550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15551 (eval "$ac_try") 2>&5
15552 ac_status=$?
15553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15554 (exit $ac_status); }; } &&
15555 { ac_try='test -s conftest.$ac_objext'
15556 { (case "(($ac_try" in
15557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15558 *) ac_try_echo=$ac_try;;
15559 esac
15560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15561 (eval "$ac_try") 2>&5
15562 ac_status=$?
15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564 (exit $ac_status); }; }; then
15565 :
15566 else
15567 echo "$as_me: failed program was:" >&5
15568 sed 's/^/| /' conftest.$ac_ext >&5
15569
15570 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15571 CXXFLAGS="-g"
15572 cat >conftest.$ac_ext <<_ACEOF
15573 /* confdefs.h. */
15574 _ACEOF
15575 cat confdefs.h >>conftest.$ac_ext
15576 cat >>conftest.$ac_ext <<_ACEOF
15577 /* end confdefs.h. */
15578
15579 int
15580 main ()
15581 {
15582
15583 ;
15584 return 0;
15585 }
15586 _ACEOF
15587 rm -f conftest.$ac_objext
15588 if { (ac_try="$ac_compile"
15589 case "(($ac_try" in
15590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15591 *) ac_try_echo=$ac_try;;
15592 esac
15593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15594 (eval "$ac_compile") 2>conftest.er1
15595 ac_status=$?
15596 grep -v '^ *+' conftest.er1 >conftest.err
15597 rm -f conftest.er1
15598 cat conftest.err >&5
15599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15600 (exit $ac_status); } &&
15601 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15602 { (case "(($ac_try" in
15603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15604 *) ac_try_echo=$ac_try;;
15605 esac
15606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15607 (eval "$ac_try") 2>&5
15608 ac_status=$?
15609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15610 (exit $ac_status); }; } &&
15611 { ac_try='test -s conftest.$ac_objext'
15612 { (case "(($ac_try" in
15613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15614 *) ac_try_echo=$ac_try;;
15615 esac
15616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15617 (eval "$ac_try") 2>&5
15618 ac_status=$?
15619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15620 (exit $ac_status); }; }; then
15621 ac_cv_prog_cxx_g=yes
15622 else
15623 echo "$as_me: failed program was:" >&5
15624 sed 's/^/| /' conftest.$ac_ext >&5
15625
15626
15627 fi
15628
15629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15630 fi
15631
15632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15633 fi
15634
15635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15636 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15637 fi
15638 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15639 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15640 if test "$ac_test_CXXFLAGS" = set; then
15641 CXXFLAGS=$ac_save_CXXFLAGS
15642 elif test $ac_cv_prog_cxx_g = yes; then
15643 if test "$GXX" = yes; then
15644 CXXFLAGS="-g -O2"
15645 else
15646 CXXFLAGS="-g"
15647 fi
15648 else
15649 if test "$GXX" = yes; then
15650 CXXFLAGS="-O2"
15651 else
15652 CXXFLAGS=
15653 fi
15654 fi
15655 ac_ext=c
15656 ac_cpp='$CPP $CPPFLAGS'
15657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15660
15661
15662
15663 ac_ext=cpp
15664 ac_cpp='$CXXCPP $CPPFLAGS'
15665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15668
15669 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15670 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15671 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15672 echo $ECHO_N "(cached) $ECHO_C" >&6
15673 else
15674 cat >conftest.$ac_ext <<_ACEOF
15675 /* confdefs.h. */
15676 _ACEOF
15677 cat confdefs.h >>conftest.$ac_ext
15678 cat >>conftest.$ac_ext <<_ACEOF
15679 /* end confdefs.h. */
15680
15681 int
15682 main ()
15683 {
15684
15685 #ifndef __INTEL_COMPILER
15686 choke me
15687 #endif
15688
15689 ;
15690 return 0;
15691 }
15692 _ACEOF
15693 rm -f conftest.$ac_objext
15694 if { (ac_try="$ac_compile"
15695 case "(($ac_try" in
15696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15697 *) ac_try_echo=$ac_try;;
15698 esac
15699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15700 (eval "$ac_compile") 2>conftest.er1
15701 ac_status=$?
15702 grep -v '^ *+' conftest.er1 >conftest.err
15703 rm -f conftest.er1
15704 cat conftest.err >&5
15705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15706 (exit $ac_status); } &&
15707 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15708 { (case "(($ac_try" in
15709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15710 *) ac_try_echo=$ac_try;;
15711 esac
15712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15713 (eval "$ac_try") 2>&5
15714 ac_status=$?
15715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15716 (exit $ac_status); }; } &&
15717 { ac_try='test -s conftest.$ac_objext'
15718 { (case "(($ac_try" in
15719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15720 *) ac_try_echo=$ac_try;;
15721 esac
15722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15723 (eval "$ac_try") 2>&5
15724 ac_status=$?
15725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15726 (exit $ac_status); }; }; then
15727 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
15728 else
15729 echo "$as_me: failed program was:" >&5
15730 sed 's/^/| /' conftest.$ac_ext >&5
15731
15732 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
15733
15734 fi
15735
15736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15737
15738
15739 fi
15740 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15741 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15742 ac_ext=c
15743 ac_cpp='$CPP $CPPFLAGS'
15744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15747
15748 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15749 :; INTELCXX=yes
15750 else
15751 :;
15752 fi
15753
15754
15755 if test "x$GCXX" != "xyes"; then
15756 if test "xCXX" = "xC"; then
15757 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15758 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15759 if test "${bakefile_cv_c_exto+set}" = set; then
15760 echo $ECHO_N "(cached) $ECHO_C" >&6
15761 else
15762 cat >conftest.$ac_ext <<_ACEOF
15763 /* confdefs.h. */
15764 _ACEOF
15765 cat confdefs.h >>conftest.$ac_ext
15766 cat >>conftest.$ac_ext <<_ACEOF
15767 /* end confdefs.h. */
15768
15769 int
15770 main ()
15771 {
15772
15773 ;
15774 return 0;
15775 }
15776 _ACEOF
15777 rm -f conftest.$ac_objext conftest.$ac_ext.o
15778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15779 (eval $ac_compile) 2>&5
15780 ac_status=$?
15781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15782 (exit $ac_status); }; then
15783 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15784 case $ac_file in
15785 conftest.$ac_ext.o)
15786 bakefile_cv_c_exto="-ext o"
15787 ;;
15788 *)
15789 ;;
15790 esac
15791 done
15792 else
15793 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15794 See \`config.log' for more details." >&5
15795 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15796 See \`config.log' for more details." >&2;}
15797 { (exit 1); exit 1; }; }
15798
15799 fi
15800
15801 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15802
15803 fi
15804 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15805 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15806 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15807 if test "c" = "c"; then
15808 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15809 fi
15810 if test "c" = "cxx"; then
15811 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15812 fi
15813 fi
15814
15815 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15816 unset ac_cv_prog_cc_g
15817 ac_test_CFLAGS=${CFLAGS+set}
15818 ac_save_CFLAGS=$CFLAGS
15819 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15820 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15821 if test "${ac_cv_prog_cc_g+set}" = set; then
15822 echo $ECHO_N "(cached) $ECHO_C" >&6
15823 else
15824 ac_save_c_werror_flag=$ac_c_werror_flag
15825 ac_c_werror_flag=yes
15826 ac_cv_prog_cc_g=no
15827 CFLAGS="-g"
15828 cat >conftest.$ac_ext <<_ACEOF
15829 /* confdefs.h. */
15830 _ACEOF
15831 cat confdefs.h >>conftest.$ac_ext
15832 cat >>conftest.$ac_ext <<_ACEOF
15833 /* end confdefs.h. */
15834
15835 int
15836 main ()
15837 {
15838
15839 ;
15840 return 0;
15841 }
15842 _ACEOF
15843 rm -f conftest.$ac_objext
15844 if { (ac_try="$ac_compile"
15845 case "(($ac_try" in
15846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15847 *) ac_try_echo=$ac_try;;
15848 esac
15849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15850 (eval "$ac_compile") 2>conftest.er1
15851 ac_status=$?
15852 grep -v '^ *+' conftest.er1 >conftest.err
15853 rm -f conftest.er1
15854 cat conftest.err >&5
15855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15856 (exit $ac_status); } &&
15857 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15858 { (case "(($ac_try" in
15859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15860 *) ac_try_echo=$ac_try;;
15861 esac
15862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15863 (eval "$ac_try") 2>&5
15864 ac_status=$?
15865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15866 (exit $ac_status); }; } &&
15867 { ac_try='test -s conftest.$ac_objext'
15868 { (case "(($ac_try" in
15869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15870 *) ac_try_echo=$ac_try;;
15871 esac
15872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15873 (eval "$ac_try") 2>&5
15874 ac_status=$?
15875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15876 (exit $ac_status); }; }; then
15877 ac_cv_prog_cc_g=yes
15878 else
15879 echo "$as_me: failed program was:" >&5
15880 sed 's/^/| /' conftest.$ac_ext >&5
15881
15882 CFLAGS=""
15883 cat >conftest.$ac_ext <<_ACEOF
15884 /* confdefs.h. */
15885 _ACEOF
15886 cat confdefs.h >>conftest.$ac_ext
15887 cat >>conftest.$ac_ext <<_ACEOF
15888 /* end confdefs.h. */
15889
15890 int
15891 main ()
15892 {
15893
15894 ;
15895 return 0;
15896 }
15897 _ACEOF
15898 rm -f conftest.$ac_objext
15899 if { (ac_try="$ac_compile"
15900 case "(($ac_try" in
15901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15902 *) ac_try_echo=$ac_try;;
15903 esac
15904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15905 (eval "$ac_compile") 2>conftest.er1
15906 ac_status=$?
15907 grep -v '^ *+' conftest.er1 >conftest.err
15908 rm -f conftest.er1
15909 cat conftest.err >&5
15910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15911 (exit $ac_status); } &&
15912 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15913 { (case "(($ac_try" in
15914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15915 *) ac_try_echo=$ac_try;;
15916 esac
15917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15918 (eval "$ac_try") 2>&5
15919 ac_status=$?
15920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15921 (exit $ac_status); }; } &&
15922 { ac_try='test -s conftest.$ac_objext'
15923 { (case "(($ac_try" in
15924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15925 *) ac_try_echo=$ac_try;;
15926 esac
15927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15928 (eval "$ac_try") 2>&5
15929 ac_status=$?
15930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15931 (exit $ac_status); }; }; then
15932 :
15933 else
15934 echo "$as_me: failed program was:" >&5
15935 sed 's/^/| /' conftest.$ac_ext >&5
15936
15937 ac_c_werror_flag=$ac_save_c_werror_flag
15938 CFLAGS="-g"
15939 cat >conftest.$ac_ext <<_ACEOF
15940 /* confdefs.h. */
15941 _ACEOF
15942 cat confdefs.h >>conftest.$ac_ext
15943 cat >>conftest.$ac_ext <<_ACEOF
15944 /* end confdefs.h. */
15945
15946 int
15947 main ()
15948 {
15949
15950 ;
15951 return 0;
15952 }
15953 _ACEOF
15954 rm -f conftest.$ac_objext
15955 if { (ac_try="$ac_compile"
15956 case "(($ac_try" in
15957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15958 *) ac_try_echo=$ac_try;;
15959 esac
15960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15961 (eval "$ac_compile") 2>conftest.er1
15962 ac_status=$?
15963 grep -v '^ *+' conftest.er1 >conftest.err
15964 rm -f conftest.er1
15965 cat conftest.err >&5
15966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15967 (exit $ac_status); } &&
15968 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15969 { (case "(($ac_try" in
15970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15971 *) ac_try_echo=$ac_try;;
15972 esac
15973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15974 (eval "$ac_try") 2>&5
15975 ac_status=$?
15976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15977 (exit $ac_status); }; } &&
15978 { ac_try='test -s conftest.$ac_objext'
15979 { (case "(($ac_try" in
15980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15981 *) ac_try_echo=$ac_try;;
15982 esac
15983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15984 (eval "$ac_try") 2>&5
15985 ac_status=$?
15986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15987 (exit $ac_status); }; }; then
15988 ac_cv_prog_cc_g=yes
15989 else
15990 echo "$as_me: failed program was:" >&5
15991 sed 's/^/| /' conftest.$ac_ext >&5
15992
15993
15994 fi
15995
15996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15997 fi
15998
15999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16000 fi
16001
16002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16003 ac_c_werror_flag=$ac_save_c_werror_flag
16004 fi
16005 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16006 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16007 if test "$ac_test_CFLAGS" = set; then
16008 CFLAGS=$ac_save_CFLAGS
16009 elif test $ac_cv_prog_cc_g = yes; then
16010 if test "$GCC" = yes; then
16011 CFLAGS="-g -O2"
16012 else
16013 CFLAGS="-g"
16014 fi
16015 else
16016 if test "$GCC" = yes; then
16017 CFLAGS="-O2"
16018 else
16019 CFLAGS=
16020 fi
16021 fi
16022 fi
16023 fi
16024
16025 case `uname -s` in
16026 AIX*)
16027 ac_ext=cpp
16028 ac_cpp='$CXXCPP $CPPFLAGS'
16029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16032
16033 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16034 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16035 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
16036 echo $ECHO_N "(cached) $ECHO_C" >&6
16037 else
16038 cat >conftest.$ac_ext <<_ACEOF
16039 /* confdefs.h. */
16040 _ACEOF
16041 cat confdefs.h >>conftest.$ac_ext
16042 cat >>conftest.$ac_ext <<_ACEOF
16043 /* end confdefs.h. */
16044
16045 int
16046 main ()
16047 {
16048 #ifndef __xlC__
16049 choke me
16050 #endif
16051
16052 ;
16053 return 0;
16054 }
16055 _ACEOF
16056 rm -f conftest.$ac_objext
16057 if { (ac_try="$ac_compile"
16058 case "(($ac_try" in
16059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16060 *) ac_try_echo=$ac_try;;
16061 esac
16062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16063 (eval "$ac_compile") 2>conftest.er1
16064 ac_status=$?
16065 grep -v '^ *+' conftest.er1 >conftest.err
16066 rm -f conftest.er1
16067 cat conftest.err >&5
16068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16069 (exit $ac_status); } &&
16070 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16071 { (case "(($ac_try" in
16072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16073 *) ac_try_echo=$ac_try;;
16074 esac
16075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16076 (eval "$ac_try") 2>&5
16077 ac_status=$?
16078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16079 (exit $ac_status); }; } &&
16080 { ac_try='test -s conftest.$ac_objext'
16081 { (case "(($ac_try" in
16082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16083 *) ac_try_echo=$ac_try;;
16084 esac
16085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16086 (eval "$ac_try") 2>&5
16087 ac_status=$?
16088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16089 (exit $ac_status); }; }; then
16090 bakefile_compiler_xlc=yes
16091 else
16092 echo "$as_me: failed program was:" >&5
16093 sed 's/^/| /' conftest.$ac_ext >&5
16094
16095 bakefile_compiler_xlc=no
16096 fi
16097
16098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16099 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
16100
16101 fi
16102 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
16103 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
16104
16105 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
16106 ac_ext=c
16107 ac_cpp='$CPP $CPPFLAGS'
16108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16111
16112
16113 ;;
16114
16115 Darwin)
16116 ac_ext=cpp
16117 ac_cpp='$CXXCPP $CPPFLAGS'
16118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16121
16122 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
16123 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
16124 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
16125 echo $ECHO_N "(cached) $ECHO_C" >&6
16126 else
16127 cat >conftest.$ac_ext <<_ACEOF
16128 /* confdefs.h. */
16129 _ACEOF
16130 cat confdefs.h >>conftest.$ac_ext
16131 cat >>conftest.$ac_ext <<_ACEOF
16132 /* end confdefs.h. */
16133
16134 int
16135 main ()
16136 {
16137 #ifndef __MWERKS__
16138 choke me
16139 #endif
16140
16141 ;
16142 return 0;
16143 }
16144 _ACEOF
16145 rm -f conftest.$ac_objext
16146 if { (ac_try="$ac_compile"
16147 case "(($ac_try" in
16148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16149 *) ac_try_echo=$ac_try;;
16150 esac
16151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16152 (eval "$ac_compile") 2>conftest.er1
16153 ac_status=$?
16154 grep -v '^ *+' conftest.er1 >conftest.err
16155 rm -f conftest.er1
16156 cat conftest.err >&5
16157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16158 (exit $ac_status); } &&
16159 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16160 { (case "(($ac_try" in
16161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16162 *) ac_try_echo=$ac_try;;
16163 esac
16164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16165 (eval "$ac_try") 2>&5
16166 ac_status=$?
16167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16168 (exit $ac_status); }; } &&
16169 { ac_try='test -s conftest.$ac_objext'
16170 { (case "(($ac_try" in
16171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16172 *) ac_try_echo=$ac_try;;
16173 esac
16174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16175 (eval "$ac_try") 2>&5
16176 ac_status=$?
16177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16178 (exit $ac_status); }; }; then
16179 bakefile_compiler_mwerks=yes
16180 else
16181 echo "$as_me: failed program was:" >&5
16182 sed 's/^/| /' conftest.$ac_ext >&5
16183
16184 bakefile_compiler_mwerks=no
16185 fi
16186
16187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16188 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
16189
16190 fi
16191 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
16192 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
16193
16194 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
16195 ac_ext=c
16196 ac_cpp='$CPP $CPPFLAGS'
16197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16200
16201
16202 ac_ext=cpp
16203 ac_cpp='$CXXCPP $CPPFLAGS'
16204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16207
16208 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16209 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16210 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
16211 echo $ECHO_N "(cached) $ECHO_C" >&6
16212 else
16213 cat >conftest.$ac_ext <<_ACEOF
16214 /* confdefs.h. */
16215 _ACEOF
16216 cat confdefs.h >>conftest.$ac_ext
16217 cat >>conftest.$ac_ext <<_ACEOF
16218 /* end confdefs.h. */
16219
16220 int
16221 main ()
16222 {
16223 #ifndef __xlC__
16224 choke me
16225 #endif
16226
16227 ;
16228 return 0;
16229 }
16230 _ACEOF
16231 rm -f conftest.$ac_objext
16232 if { (ac_try="$ac_compile"
16233 case "(($ac_try" in
16234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16235 *) ac_try_echo=$ac_try;;
16236 esac
16237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16238 (eval "$ac_compile") 2>conftest.er1
16239 ac_status=$?
16240 grep -v '^ *+' conftest.er1 >conftest.err
16241 rm -f conftest.er1
16242 cat conftest.err >&5
16243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244 (exit $ac_status); } &&
16245 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16246 { (case "(($ac_try" in
16247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16248 *) ac_try_echo=$ac_try;;
16249 esac
16250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16251 (eval "$ac_try") 2>&5
16252 ac_status=$?
16253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16254 (exit $ac_status); }; } &&
16255 { ac_try='test -s conftest.$ac_objext'
16256 { (case "(($ac_try" in
16257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16258 *) ac_try_echo=$ac_try;;
16259 esac
16260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16261 (eval "$ac_try") 2>&5
16262 ac_status=$?
16263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16264 (exit $ac_status); }; }; then
16265 bakefile_compiler_xlc=yes
16266 else
16267 echo "$as_me: failed program was:" >&5
16268 sed 's/^/| /' conftest.$ac_ext >&5
16269
16270 bakefile_compiler_xlc=no
16271 fi
16272
16273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16274 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
16275
16276 fi
16277 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
16278 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
16279
16280 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
16281 ac_ext=c
16282 ac_cpp='$CPP $CPPFLAGS'
16283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16286
16287
16288 ;;
16289
16290 IRIX*)
16291
16292
16293 ac_ext=cpp
16294 ac_cpp='$CXXCPP $CPPFLAGS'
16295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16298
16299 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
16300 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
16301 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
16302 echo $ECHO_N "(cached) $ECHO_C" >&6
16303 else
16304 cat >conftest.$ac_ext <<_ACEOF
16305 /* confdefs.h. */
16306 _ACEOF
16307 cat confdefs.h >>conftest.$ac_ext
16308 cat >>conftest.$ac_ext <<_ACEOF
16309 /* end confdefs.h. */
16310
16311 int
16312 main ()
16313 {
16314
16315 #ifndef _SGI_COMPILER_VERSION
16316 choke me
16317 #endif
16318
16319 ;
16320 return 0;
16321 }
16322 _ACEOF
16323 rm -f conftest.$ac_objext
16324 if { (ac_try="$ac_compile"
16325 case "(($ac_try" in
16326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16327 *) ac_try_echo=$ac_try;;
16328 esac
16329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16330 (eval "$ac_compile") 2>conftest.er1
16331 ac_status=$?
16332 grep -v '^ *+' conftest.er1 >conftest.err
16333 rm -f conftest.er1
16334 cat conftest.err >&5
16335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16336 (exit $ac_status); } &&
16337 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16338 { (case "(($ac_try" in
16339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16340 *) ac_try_echo=$ac_try;;
16341 esac
16342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16343 (eval "$ac_try") 2>&5
16344 ac_status=$?
16345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16346 (exit $ac_status); }; } &&
16347 { ac_try='test -s conftest.$ac_objext'
16348 { (case "(($ac_try" in
16349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16350 *) ac_try_echo=$ac_try;;
16351 esac
16352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16353 (eval "$ac_try") 2>&5
16354 ac_status=$?
16355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16356 (exit $ac_status); }; }; then
16357 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
16358 else
16359 echo "$as_me: failed program was:" >&5
16360 sed 's/^/| /' conftest.$ac_ext >&5
16361
16362 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
16363
16364 fi
16365
16366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16367
16368
16369 fi
16370 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
16371 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
16372 ac_ext=c
16373 ac_cpp='$CPP $CPPFLAGS'
16374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16377
16378 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16379 :; SGICXX=yes
16380 else
16381 :;
16382 fi
16383
16384
16385 ;;
16386
16387 HP-UX*)
16388
16389
16390 ac_ext=cpp
16391 ac_cpp='$CXXCPP $CPPFLAGS'
16392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16395
16396 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
16397 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
16398 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
16399 echo $ECHO_N "(cached) $ECHO_C" >&6
16400 else
16401 cat >conftest.$ac_ext <<_ACEOF
16402 /* confdefs.h. */
16403 _ACEOF
16404 cat confdefs.h >>conftest.$ac_ext
16405 cat >>conftest.$ac_ext <<_ACEOF
16406 /* end confdefs.h. */
16407
16408 int
16409 main ()
16410 {
16411
16412 #ifndef __HP_aCC
16413 choke me
16414 #endif
16415
16416 ;
16417 return 0;
16418 }
16419 _ACEOF
16420 rm -f conftest.$ac_objext
16421 if { (ac_try="$ac_compile"
16422 case "(($ac_try" in
16423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16424 *) ac_try_echo=$ac_try;;
16425 esac
16426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16427 (eval "$ac_compile") 2>conftest.er1
16428 ac_status=$?
16429 grep -v '^ *+' conftest.er1 >conftest.err
16430 rm -f conftest.er1
16431 cat conftest.err >&5
16432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16433 (exit $ac_status); } &&
16434 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16435 { (case "(($ac_try" in
16436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16437 *) ac_try_echo=$ac_try;;
16438 esac
16439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16440 (eval "$ac_try") 2>&5
16441 ac_status=$?
16442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16443 (exit $ac_status); }; } &&
16444 { ac_try='test -s conftest.$ac_objext'
16445 { (case "(($ac_try" in
16446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16447 *) ac_try_echo=$ac_try;;
16448 esac
16449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16450 (eval "$ac_try") 2>&5
16451 ac_status=$?
16452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 (exit $ac_status); }; }; then
16454 bakefile_cv_cxx_compiler___HP_aCC=yes
16455 else
16456 echo "$as_me: failed program was:" >&5
16457 sed 's/^/| /' conftest.$ac_ext >&5
16458
16459 bakefile_cv_cxx_compiler___HP_aCC=no
16460
16461 fi
16462
16463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16464
16465
16466 fi
16467 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
16468 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
16469 ac_ext=c
16470 ac_cpp='$CPP $CPPFLAGS'
16471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16474
16475 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
16476 :; HPCXX=yes
16477 else
16478 :;
16479 fi
16480
16481
16482 ;;
16483
16484 OSF1)
16485
16486
16487 ac_ext=cpp
16488 ac_cpp='$CXXCPP $CPPFLAGS'
16489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16492
16493 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
16494 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
16495 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
16496 echo $ECHO_N "(cached) $ECHO_C" >&6
16497 else
16498 cat >conftest.$ac_ext <<_ACEOF
16499 /* confdefs.h. */
16500 _ACEOF
16501 cat confdefs.h >>conftest.$ac_ext
16502 cat >>conftest.$ac_ext <<_ACEOF
16503 /* end confdefs.h. */
16504
16505 int
16506 main ()
16507 {
16508
16509 #ifndef __DECCXX
16510 choke me
16511 #endif
16512
16513 ;
16514 return 0;
16515 }
16516 _ACEOF
16517 rm -f conftest.$ac_objext
16518 if { (ac_try="$ac_compile"
16519 case "(($ac_try" in
16520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16521 *) ac_try_echo=$ac_try;;
16522 esac
16523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16524 (eval "$ac_compile") 2>conftest.er1
16525 ac_status=$?
16526 grep -v '^ *+' conftest.er1 >conftest.err
16527 rm -f conftest.er1
16528 cat conftest.err >&5
16529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16530 (exit $ac_status); } &&
16531 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16532 { (case "(($ac_try" in
16533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16534 *) ac_try_echo=$ac_try;;
16535 esac
16536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16537 (eval "$ac_try") 2>&5
16538 ac_status=$?
16539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16540 (exit $ac_status); }; } &&
16541 { ac_try='test -s conftest.$ac_objext'
16542 { (case "(($ac_try" in
16543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16544 *) ac_try_echo=$ac_try;;
16545 esac
16546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16547 (eval "$ac_try") 2>&5
16548 ac_status=$?
16549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16550 (exit $ac_status); }; }; then
16551 bakefile_cv_cxx_compiler___DECCXX=yes
16552 else
16553 echo "$as_me: failed program was:" >&5
16554 sed 's/^/| /' conftest.$ac_ext >&5
16555
16556 bakefile_cv_cxx_compiler___DECCXX=no
16557
16558 fi
16559
16560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16561
16562
16563 fi
16564 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16565 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16566 ac_ext=c
16567 ac_cpp='$CPP $CPPFLAGS'
16568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16571
16572 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
16573 :; COMPAQCXX=yes
16574 else
16575 :;
16576 fi
16577
16578
16579 ;;
16580
16581 SunOS)
16582
16583
16584 ac_ext=cpp
16585 ac_cpp='$CXXCPP $CPPFLAGS'
16586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16589
16590 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16591 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16592 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16593 echo $ECHO_N "(cached) $ECHO_C" >&6
16594 else
16595 cat >conftest.$ac_ext <<_ACEOF
16596 /* confdefs.h. */
16597 _ACEOF
16598 cat confdefs.h >>conftest.$ac_ext
16599 cat >>conftest.$ac_ext <<_ACEOF
16600 /* end confdefs.h. */
16601
16602 int
16603 main ()
16604 {
16605
16606 #ifndef __SUNPRO_CC
16607 choke me
16608 #endif
16609
16610 ;
16611 return 0;
16612 }
16613 _ACEOF
16614 rm -f conftest.$ac_objext
16615 if { (ac_try="$ac_compile"
16616 case "(($ac_try" in
16617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16618 *) ac_try_echo=$ac_try;;
16619 esac
16620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16621 (eval "$ac_compile") 2>conftest.er1
16622 ac_status=$?
16623 grep -v '^ *+' conftest.er1 >conftest.err
16624 rm -f conftest.er1
16625 cat conftest.err >&5
16626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16627 (exit $ac_status); } &&
16628 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16629 { (case "(($ac_try" in
16630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16631 *) ac_try_echo=$ac_try;;
16632 esac
16633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16634 (eval "$ac_try") 2>&5
16635 ac_status=$?
16636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16637 (exit $ac_status); }; } &&
16638 { ac_try='test -s conftest.$ac_objext'
16639 { (case "(($ac_try" in
16640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16641 *) ac_try_echo=$ac_try;;
16642 esac
16643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16644 (eval "$ac_try") 2>&5
16645 ac_status=$?
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); }; }; then
16648 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
16649 else
16650 echo "$as_me: failed program was:" >&5
16651 sed 's/^/| /' conftest.$ac_ext >&5
16652
16653 bakefile_cv_cxx_compiler___SUNPRO_CC=no
16654
16655 fi
16656
16657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16658
16659
16660 fi
16661 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16662 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16663 ac_ext=c
16664 ac_cpp='$CPP $CPPFLAGS'
16665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16668
16669 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
16670 :; SUNCXX=yes
16671 else
16672 :;
16673 fi
16674
16675
16676 ;;
16677 esac
16678 fi
16679
16680
16681
16682 if test -n "$ac_tool_prefix"; then
16683 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16684 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
16685 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16687 if test "${ac_cv_prog_RANLIB+set}" = set; then
16688 echo $ECHO_N "(cached) $ECHO_C" >&6
16689 else
16690 if test -n "$RANLIB"; then
16691 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
16692 else
16693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16694 for as_dir in $PATH
16695 do
16696 IFS=$as_save_IFS
16697 test -z "$as_dir" && as_dir=.
16698 for ac_exec_ext in '' $ac_executable_extensions; do
16699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16700 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
16701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16702 break 2
16703 fi
16704 done
16705 done
16706 IFS=$as_save_IFS
16707
16708 fi
16709 fi
16710 RANLIB=$ac_cv_prog_RANLIB
16711 if test -n "$RANLIB"; then
16712 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16713 echo "${ECHO_T}$RANLIB" >&6; }
16714 else
16715 { echo "$as_me:$LINENO: result: no" >&5
16716 echo "${ECHO_T}no" >&6; }
16717 fi
16718
16719
16720 fi
16721 if test -z "$ac_cv_prog_RANLIB"; then
16722 ac_ct_RANLIB=$RANLIB
16723 # Extract the first word of "ranlib", so it can be a program name with args.
16724 set dummy ranlib; ac_word=$2
16725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16727 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16728 echo $ECHO_N "(cached) $ECHO_C" >&6
16729 else
16730 if test -n "$ac_ct_RANLIB"; then
16731 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
16732 else
16733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16734 for as_dir in $PATH
16735 do
16736 IFS=$as_save_IFS
16737 test -z "$as_dir" && as_dir=.
16738 for ac_exec_ext in '' $ac_executable_extensions; do
16739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16740 ac_cv_prog_ac_ct_RANLIB="ranlib"
16741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16742 break 2
16743 fi
16744 done
16745 done
16746 IFS=$as_save_IFS
16747
16748 fi
16749 fi
16750 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
16751 if test -n "$ac_ct_RANLIB"; then
16752 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16753 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16754 else
16755 { echo "$as_me:$LINENO: result: no" >&5
16756 echo "${ECHO_T}no" >&6; }
16757 fi
16758
16759 if test "x$ac_ct_RANLIB" = x; then
16760 RANLIB=":"
16761 else
16762 case $cross_compiling:$ac_tool_warned in
16763 yes:)
16764 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16765 whose name does not start with the host triplet. If you think this
16766 configuration is useful to you, please write to autoconf@gnu.org." >&5
16767 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16768 whose name does not start with the host triplet. If you think this
16769 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16770 ac_tool_warned=yes ;;
16771 esac
16772 RANLIB=$ac_ct_RANLIB
16773 fi
16774 else
16775 RANLIB="$ac_cv_prog_RANLIB"
16776 fi
16777
16778
16779 if test "x$SUNCXX" != xyes; then
16780 if test -n "$ac_tool_prefix"; then
16781 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16782 set dummy ${ac_tool_prefix}ar; ac_word=$2
16783 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16785 if test "${ac_cv_prog_AR+set}" = set; then
16786 echo $ECHO_N "(cached) $ECHO_C" >&6
16787 else
16788 if test -n "$AR"; then
16789 ac_cv_prog_AR="$AR" # Let the user override the test.
16790 else
16791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16792 for as_dir in $PATH
16793 do
16794 IFS=$as_save_IFS
16795 test -z "$as_dir" && as_dir=.
16796 for ac_exec_ext in '' $ac_executable_extensions; do
16797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16798 ac_cv_prog_AR="${ac_tool_prefix}ar"
16799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16800 break 2
16801 fi
16802 done
16803 done
16804 IFS=$as_save_IFS
16805
16806 fi
16807 fi
16808 AR=$ac_cv_prog_AR
16809 if test -n "$AR"; then
16810 { echo "$as_me:$LINENO: result: $AR" >&5
16811 echo "${ECHO_T}$AR" >&6; }
16812 else
16813 { echo "$as_me:$LINENO: result: no" >&5
16814 echo "${ECHO_T}no" >&6; }
16815 fi
16816
16817
16818 fi
16819 if test -z "$ac_cv_prog_AR"; then
16820 ac_ct_AR=$AR
16821 # Extract the first word of "ar", so it can be a program name with args.
16822 set dummy ar; ac_word=$2
16823 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16825 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16826 echo $ECHO_N "(cached) $ECHO_C" >&6
16827 else
16828 if test -n "$ac_ct_AR"; then
16829 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
16830 else
16831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16832 for as_dir in $PATH
16833 do
16834 IFS=$as_save_IFS
16835 test -z "$as_dir" && as_dir=.
16836 for ac_exec_ext in '' $ac_executable_extensions; do
16837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16838 ac_cv_prog_ac_ct_AR="ar"
16839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16840 break 2
16841 fi
16842 done
16843 done
16844 IFS=$as_save_IFS
16845
16846 fi
16847 fi
16848 ac_ct_AR=$ac_cv_prog_ac_ct_AR
16849 if test -n "$ac_ct_AR"; then
16850 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16851 echo "${ECHO_T}$ac_ct_AR" >&6; }
16852 else
16853 { echo "$as_me:$LINENO: result: no" >&5
16854 echo "${ECHO_T}no" >&6; }
16855 fi
16856
16857 if test "x$ac_ct_AR" = x; then
16858 AR=""
16859 else
16860 case $cross_compiling:$ac_tool_warned in
16861 yes:)
16862 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16863 whose name does not start with the host triplet. If you think this
16864 configuration is useful to you, please write to autoconf@gnu.org." >&5
16865 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16866 whose name does not start with the host triplet. If you think this
16867 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16868 ac_tool_warned=yes ;;
16869 esac
16870 AR=$ac_ct_AR
16871 fi
16872 else
16873 AR="$ac_cv_prog_AR"
16874 fi
16875
16876 if test "x$AR" = "x" ; then
16877 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16878 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16879 { (exit 1); exit 1; }; }
16880 fi
16881 fi
16882
16883 # Find a good install program. We prefer a C program (faster),
16884 # so one script is as good as another. But avoid the broken or
16885 # incompatible versions:
16886 # SysV /etc/install, /usr/sbin/install
16887 # SunOS /usr/etc/install
16888 # IRIX /sbin/install
16889 # AIX /bin/install
16890 # AmigaOS /C/install, which installs bootblocks on floppy discs
16891 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16892 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16893 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16894 # OS/2's system install, which has a completely different semantic
16895 # ./install, which can be erroneously created by make from ./install.sh.
16896 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16897 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16898 if test -z "$INSTALL"; then
16899 if test "${ac_cv_path_install+set}" = set; then
16900 echo $ECHO_N "(cached) $ECHO_C" >&6
16901 else
16902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16903 for as_dir in $PATH
16904 do
16905 IFS=$as_save_IFS
16906 test -z "$as_dir" && as_dir=.
16907 # Account for people who put trailing slashes in PATH elements.
16908 case $as_dir/ in
16909 ./ | .// | /cC/* | \
16910 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
16911 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
16912 /usr/ucb/* ) ;;
16913 *)
16914 # OSF1 and SCO ODT 3.0 have their own names for install.
16915 # Don't use installbsd from OSF since it installs stuff as root
16916 # by default.
16917 for ac_prog in ginstall scoinst install; do
16918 for ac_exec_ext in '' $ac_executable_extensions; do
16919 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
16920 if test $ac_prog = install &&
16921 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16922 # AIX install. It has an incompatible calling convention.
16923 :
16924 elif test $ac_prog = install &&
16925 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16926 # program-specific install script used by HP pwplus--don't use.
16927 :
16928 else
16929 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
16930 break 3
16931 fi
16932 fi
16933 done
16934 done
16935 ;;
16936 esac
16937 done
16938 IFS=$as_save_IFS
16939
16940
16941 fi
16942 if test "${ac_cv_path_install+set}" = set; then
16943 INSTALL=$ac_cv_path_install
16944 else
16945 # As a last resort, use the slow shell script. Don't cache a
16946 # value for INSTALL within a source directory, because that will
16947 # break other packages using the cache if that directory is
16948 # removed, or if the value is a relative name.
16949 INSTALL=$ac_install_sh
16950 fi
16951 fi
16952 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16953 echo "${ECHO_T}$INSTALL" >&6; }
16954
16955 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16956 # It thinks the first close brace ends the variable substitution.
16957 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
16958
16959 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
16960
16961 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
16962
16963
16964 case ${INSTALL} in
16965 /* ) # Absolute
16966 ;;
16967 ?:* ) # Drive letter, considered as absolute.
16968 ;;
16969 *)
16970 INSTALL=`pwd`/${INSTALL} ;;
16971 esac
16972
16973
16974 case "${host}" in
16975
16976 *-*-darwin* )
16977 INSTALL_PROGRAM="cp -fp"
16978 INSTALL_DATA="cp -fp"
16979 ;;
16980 *)
16981 ;;
16982 esac
16983
16984 if test -n "$ac_tool_prefix"; then
16985 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16986 set dummy ${ac_tool_prefix}strip; ac_word=$2
16987 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16989 if test "${ac_cv_prog_STRIP+set}" = set; then
16990 echo $ECHO_N "(cached) $ECHO_C" >&6
16991 else
16992 if test -n "$STRIP"; then
16993 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
16994 else
16995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16996 for as_dir in $PATH
16997 do
16998 IFS=$as_save_IFS
16999 test -z "$as_dir" && as_dir=.
17000 for ac_exec_ext in '' $ac_executable_extensions; do
17001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17002 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
17003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17004 break 2
17005 fi
17006 done
17007 done
17008 IFS=$as_save_IFS
17009
17010 fi
17011 fi
17012 STRIP=$ac_cv_prog_STRIP
17013 if test -n "$STRIP"; then
17014 { echo "$as_me:$LINENO: result: $STRIP" >&5
17015 echo "${ECHO_T}$STRIP" >&6; }
17016 else
17017 { echo "$as_me:$LINENO: result: no" >&5
17018 echo "${ECHO_T}no" >&6; }
17019 fi
17020
17021
17022 fi
17023 if test -z "$ac_cv_prog_STRIP"; then
17024 ac_ct_STRIP=$STRIP
17025 # Extract the first word of "strip", so it can be a program name with args.
17026 set dummy strip; ac_word=$2
17027 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17029 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
17030 echo $ECHO_N "(cached) $ECHO_C" >&6
17031 else
17032 if test -n "$ac_ct_STRIP"; then
17033 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
17034 else
17035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17036 for as_dir in $PATH
17037 do
17038 IFS=$as_save_IFS
17039 test -z "$as_dir" && as_dir=.
17040 for ac_exec_ext in '' $ac_executable_extensions; do
17041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17042 ac_cv_prog_ac_ct_STRIP="strip"
17043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17044 break 2
17045 fi
17046 done
17047 done
17048 IFS=$as_save_IFS
17049
17050 fi
17051 fi
17052 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
17053 if test -n "$ac_ct_STRIP"; then
17054 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
17055 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
17056 else
17057 { echo "$as_me:$LINENO: result: no" >&5
17058 echo "${ECHO_T}no" >&6; }
17059 fi
17060
17061 if test "x$ac_ct_STRIP" = x; then
17062 STRIP="true"
17063 else
17064 case $cross_compiling:$ac_tool_warned in
17065 yes:)
17066 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17067 whose name does not start with the host triplet. If you think this
17068 configuration is useful to you, please write to autoconf@gnu.org." >&5
17069 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17070 whose name does not start with the host triplet. If you think this
17071 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17072 ac_tool_warned=yes ;;
17073 esac
17074 STRIP=$ac_ct_STRIP
17075 fi
17076 else
17077 STRIP="$ac_cv_prog_STRIP"
17078 fi
17079
17080
17081 if test "$wxUSE_WINE" = "yes"; then
17082 if test -n "$ac_tool_prefix"; then
17083 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
17084 set dummy ${ac_tool_prefix}wrc; ac_word=$2
17085 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17087 if test "${ac_cv_prog_WINDRES+set}" = set; then
17088 echo $ECHO_N "(cached) $ECHO_C" >&6
17089 else
17090 if test -n "$WINDRES"; then
17091 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
17092 else
17093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17094 for as_dir in $PATH
17095 do
17096 IFS=$as_save_IFS
17097 test -z "$as_dir" && as_dir=.
17098 for ac_exec_ext in '' $ac_executable_extensions; do
17099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17100 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
17101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17102 break 2
17103 fi
17104 done
17105 done
17106 IFS=$as_save_IFS
17107
17108 fi
17109 fi
17110 WINDRES=$ac_cv_prog_WINDRES
17111 if test -n "$WINDRES"; then
17112 { echo "$as_me:$LINENO: result: $WINDRES" >&5
17113 echo "${ECHO_T}$WINDRES" >&6; }
17114 else
17115 { echo "$as_me:$LINENO: result: no" >&5
17116 echo "${ECHO_T}no" >&6; }
17117 fi
17118
17119
17120 fi
17121 if test -z "$ac_cv_prog_WINDRES"; then
17122 ac_ct_WINDRES=$WINDRES
17123 # Extract the first word of "wrc", so it can be a program name with args.
17124 set dummy wrc; ac_word=$2
17125 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17127 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
17128 echo $ECHO_N "(cached) $ECHO_C" >&6
17129 else
17130 if test -n "$ac_ct_WINDRES"; then
17131 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
17132 else
17133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17134 for as_dir in $PATH
17135 do
17136 IFS=$as_save_IFS
17137 test -z "$as_dir" && as_dir=.
17138 for ac_exec_ext in '' $ac_executable_extensions; do
17139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17140 ac_cv_prog_ac_ct_WINDRES="wrc"
17141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17142 break 2
17143 fi
17144 done
17145 done
17146 IFS=$as_save_IFS
17147
17148 fi
17149 fi
17150 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
17151 if test -n "$ac_ct_WINDRES"; then
17152 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
17153 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
17154 else
17155 { echo "$as_me:$LINENO: result: no" >&5
17156 echo "${ECHO_T}no" >&6; }
17157 fi
17158
17159 if test "x$ac_ct_WINDRES" = x; then
17160 WINDRES=""
17161 else
17162 case $cross_compiling:$ac_tool_warned in
17163 yes:)
17164 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17165 whose name does not start with the host triplet. If you think this
17166 configuration is useful to you, please write to autoconf@gnu.org." >&5
17167 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17168 whose name does not start with the host triplet. If you think this
17169 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17170 ac_tool_warned=yes ;;
17171 esac
17172 WINDRES=$ac_ct_WINDRES
17173 fi
17174 else
17175 WINDRES="$ac_cv_prog_WINDRES"
17176 fi
17177
17178 RESCOMP="$WINDRES"
17179 else
17180 case "${host}" in
17181 *-*-cygwin* | *-*-mingw32* )
17182 if test -n "$ac_tool_prefix"; then
17183 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
17184 set dummy ${ac_tool_prefix}windres; ac_word=$2
17185 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17187 if test "${ac_cv_prog_WINDRES+set}" = set; then
17188 echo $ECHO_N "(cached) $ECHO_C" >&6
17189 else
17190 if test -n "$WINDRES"; then
17191 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
17192 else
17193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17194 for as_dir in $PATH
17195 do
17196 IFS=$as_save_IFS
17197 test -z "$as_dir" && as_dir=.
17198 for ac_exec_ext in '' $ac_executable_extensions; do
17199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17200 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
17201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17202 break 2
17203 fi
17204 done
17205 done
17206 IFS=$as_save_IFS
17207
17208 fi
17209 fi
17210 WINDRES=$ac_cv_prog_WINDRES
17211 if test -n "$WINDRES"; then
17212 { echo "$as_me:$LINENO: result: $WINDRES" >&5
17213 echo "${ECHO_T}$WINDRES" >&6; }
17214 else
17215 { echo "$as_me:$LINENO: result: no" >&5
17216 echo "${ECHO_T}no" >&6; }
17217 fi
17218
17219
17220 fi
17221 if test -z "$ac_cv_prog_WINDRES"; then
17222 ac_ct_WINDRES=$WINDRES
17223 # Extract the first word of "windres", so it can be a program name with args.
17224 set dummy windres; ac_word=$2
17225 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17227 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
17228 echo $ECHO_N "(cached) $ECHO_C" >&6
17229 else
17230 if test -n "$ac_ct_WINDRES"; then
17231 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
17232 else
17233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17234 for as_dir in $PATH
17235 do
17236 IFS=$as_save_IFS
17237 test -z "$as_dir" && as_dir=.
17238 for ac_exec_ext in '' $ac_executable_extensions; do
17239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17240 ac_cv_prog_ac_ct_WINDRES="windres"
17241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17242 break 2
17243 fi
17244 done
17245 done
17246 IFS=$as_save_IFS
17247
17248 fi
17249 fi
17250 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
17251 if test -n "$ac_ct_WINDRES"; then
17252 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
17253 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
17254 else
17255 { echo "$as_me:$LINENO: result: no" >&5
17256 echo "${ECHO_T}no" >&6; }
17257 fi
17258
17259 if test "x$ac_ct_WINDRES" = x; then
17260 WINDRES=""
17261 else
17262 case $cross_compiling:$ac_tool_warned in
17263 yes:)
17264 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17265 whose name does not start with the host triplet. If you think this
17266 configuration is useful to you, please write to autoconf@gnu.org." >&5
17267 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17268 whose name does not start with the host triplet. If you think this
17269 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17270 ac_tool_warned=yes ;;
17271 esac
17272 WINDRES=$ac_ct_WINDRES
17273 fi
17274 else
17275 WINDRES="$ac_cv_prog_WINDRES"
17276 fi
17277
17278 RESCOMP="$WINDRES"
17279 if test -n "$ac_tool_prefix"; then
17280 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
17281 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
17282 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17284 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
17285 echo $ECHO_N "(cached) $ECHO_C" >&6
17286 else
17287 if test -n "$DLLTOOL"; then
17288 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
17289 else
17290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17291 for as_dir in $PATH
17292 do
17293 IFS=$as_save_IFS
17294 test -z "$as_dir" && as_dir=.
17295 for ac_exec_ext in '' $ac_executable_extensions; do
17296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17297 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
17298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17299 break 2
17300 fi
17301 done
17302 done
17303 IFS=$as_save_IFS
17304
17305 fi
17306 fi
17307 DLLTOOL=$ac_cv_prog_DLLTOOL
17308 if test -n "$DLLTOOL"; then
17309 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
17310 echo "${ECHO_T}$DLLTOOL" >&6; }
17311 else
17312 { echo "$as_me:$LINENO: result: no" >&5
17313 echo "${ECHO_T}no" >&6; }
17314 fi
17315
17316
17317 fi
17318 if test -z "$ac_cv_prog_DLLTOOL"; then
17319 ac_ct_DLLTOOL=$DLLTOOL
17320 # Extract the first word of "dlltool", so it can be a program name with args.
17321 set dummy dlltool; ac_word=$2
17322 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17324 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
17325 echo $ECHO_N "(cached) $ECHO_C" >&6
17326 else
17327 if test -n "$ac_ct_DLLTOOL"; then
17328 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
17329 else
17330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17331 for as_dir in $PATH
17332 do
17333 IFS=$as_save_IFS
17334 test -z "$as_dir" && as_dir=.
17335 for ac_exec_ext in '' $ac_executable_extensions; do
17336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17337 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
17338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17339 break 2
17340 fi
17341 done
17342 done
17343 IFS=$as_save_IFS
17344
17345 fi
17346 fi
17347 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
17348 if test -n "$ac_ct_DLLTOOL"; then
17349 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
17350 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
17351 else
17352 { echo "$as_me:$LINENO: result: no" >&5
17353 echo "${ECHO_T}no" >&6; }
17354 fi
17355
17356 if test "x$ac_ct_DLLTOOL" = x; then
17357 DLLTOOL=""
17358 else
17359 case $cross_compiling:$ac_tool_warned in
17360 yes:)
17361 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17362 whose name does not start with the host triplet. If you think this
17363 configuration is useful to you, please write to autoconf@gnu.org." >&5
17364 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17365 whose name does not start with the host triplet. If you think this
17366 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17367 ac_tool_warned=yes ;;
17368 esac
17369 DLLTOOL=$ac_ct_DLLTOOL
17370 fi
17371 else
17372 DLLTOOL="$ac_cv_prog_DLLTOOL"
17373 fi
17374
17375 ;;
17376 esac
17377 fi
17378
17379 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
17380 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
17381 if test "${wx_cv_prog_makeisgnu+set}" = set; then
17382 echo $ECHO_N "(cached) $ECHO_C" >&6
17383 else
17384
17385 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
17386 $EGREP -s GNU > /dev/null); then
17387 wx_cv_prog_makeisgnu="yes"
17388 else
17389 wx_cv_prog_makeisgnu="no"
17390 fi
17391
17392 fi
17393 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
17394 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
17395
17396 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
17397 IF_GNU_MAKE=""
17398 else
17399 IF_GNU_MAKE="#"
17400 fi
17401
17402
17403
17404 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
17405 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
17406 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
17407 if test "${wx_cv_prog_makevpath+set}" = set; then
17408 echo $ECHO_N "(cached) $ECHO_C" >&6
17409 else
17410
17411 cat - << EOF > confMake
17412 check : file
17413 cp \$? \$@
17414 cp \$? final_file
17415 EOF
17416
17417 if test ! -d sub ; then
17418 mkdir sub
17419 fi
17420 echo dummy > sub/file
17421 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
17422 RESULT=$?
17423 rm -f sub/file check final_file confMake
17424 rmdir sub
17425 if test "$RESULT" = 0; then
17426 wx_cv_prog_makevpath="yes"
17427 else
17428 wx_cv_prog_makevpath="no"
17429 fi
17430
17431 fi
17432 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
17433 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
17434
17435 if test "x$wx_cv_prog_makevpath" != "xyes"; then
17436 { { echo "$as_me:$LINENO: error:
17437 You need a make-utility that is able to use the variable
17438 VPATH correctly.
17439 If your version of make does not support VPATH correctly,
17440 please install GNU-make (possibly as gmake), and start
17441 configure with the following command:
17442 export MAKE=gmake; ./configure for sh-type shells
17443 setenv MAKE gmake; ./configure for csh-type shells
17444 Also please do remember to use gmake in this case every time
17445 you are trying to compile.
17446 " >&5
17447 echo "$as_me: error:
17448 You need a make-utility that is able to use the variable
17449 VPATH correctly.
17450 If your version of make does not support VPATH correctly,
17451 please install GNU-make (possibly as gmake), and start
17452 configure with the following command:
17453 export MAKE=gmake; ./configure for sh-type shells
17454 setenv MAKE gmake; ./configure for csh-type shells
17455 Also please do remember to use gmake in this case every time
17456 you are trying to compile.
17457 " >&2;}
17458 { (exit 1); exit 1; }; }
17459 fi fi
17460 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
17461 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
17462 LN_S=$as_ln_s
17463 if test "$LN_S" = "ln -s"; then
17464 { echo "$as_me:$LINENO: result: yes" >&5
17465 echo "${ECHO_T}yes" >&6; }
17466 else
17467 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
17468 echo "${ECHO_T}no, using $LN_S" >&6; }
17469 fi
17470
17471
17472
17473
17474 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17475 CXXFLAGS="-qunique $CXXFLAGS"
17476 fi
17477
17478 case "${host}" in
17479 powerpc-*-darwin* )
17480 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17481 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17482 cat >conftest.$ac_ext <<_ACEOF
17483 /* confdefs.h. */
17484 _ACEOF
17485 cat confdefs.h >>conftest.$ac_ext
17486 cat >>conftest.$ac_ext <<_ACEOF
17487 /* end confdefs.h. */
17488
17489 int
17490 main ()
17491 {
17492 #ifndef __POWERPC__
17493 choke me for lack of PowerPC
17494 #endif
17495
17496 ;
17497 return 0;
17498 }
17499 _ACEOF
17500 rm -f conftest.$ac_objext
17501 if { (ac_try="$ac_compile"
17502 case "(($ac_try" in
17503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17504 *) ac_try_echo=$ac_try;;
17505 esac
17506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17507 (eval "$ac_compile") 2>conftest.er1
17508 ac_status=$?
17509 grep -v '^ *+' conftest.er1 >conftest.err
17510 rm -f conftest.er1
17511 cat conftest.err >&5
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); } &&
17514 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17515 { (case "(($ac_try" in
17516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17517 *) ac_try_echo=$ac_try;;
17518 esac
17519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17520 (eval "$ac_try") 2>&5
17521 ac_status=$?
17522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17523 (exit $ac_status); }; } &&
17524 { ac_try='test -s conftest.$ac_objext'
17525 { (case "(($ac_try" in
17526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17527 *) ac_try_echo=$ac_try;;
17528 esac
17529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17530 (eval "$ac_try") 2>&5
17531 ac_status=$?
17532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533 (exit $ac_status); }; }; then
17534 { echo "$as_me:$LINENO: result: yes" >&5
17535 echo "${ECHO_T}yes" >&6; }
17536 else
17537 echo "$as_me: failed program was:" >&5
17538 sed 's/^/| /' conftest.$ac_ext >&5
17539
17540 { echo "$as_me:$LINENO: result: no" >&5
17541 echo "${ECHO_T}no" >&6; }
17542 cat >>confdefs.h <<\_ACEOF
17543 #define __POWERPC__ 1
17544 _ACEOF
17545
17546
17547 fi
17548
17549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17550 ;;
17551 esac
17552
17553 case "${host}" in
17554 *-*-darwin* )
17555 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17556 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17557 cat >conftest.$ac_ext <<_ACEOF
17558 /* confdefs.h. */
17559 _ACEOF
17560 cat confdefs.h >>conftest.$ac_ext
17561 cat >>conftest.$ac_ext <<_ACEOF
17562 /* end confdefs.h. */
17563 #include <CoreFoundation/CFBase.h>
17564
17565 int
17566 main ()
17567 {
17568
17569 ;
17570 return 0;
17571 }
17572 _ACEOF
17573 rm -f conftest.$ac_objext
17574 if { (ac_try="$ac_compile"
17575 case "(($ac_try" in
17576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17577 *) ac_try_echo=$ac_try;;
17578 esac
17579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17580 (eval "$ac_compile") 2>conftest.er1
17581 ac_status=$?
17582 grep -v '^ *+' conftest.er1 >conftest.err
17583 rm -f conftest.er1
17584 cat conftest.err >&5
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); } &&
17587 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17588 { (case "(($ac_try" in
17589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17590 *) ac_try_echo=$ac_try;;
17591 esac
17592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17593 (eval "$ac_try") 2>&5
17594 ac_status=$?
17595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17596 (exit $ac_status); }; } &&
17597 { ac_try='test -s conftest.$ac_objext'
17598 { (case "(($ac_try" in
17599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17600 *) ac_try_echo=$ac_try;;
17601 esac
17602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17603 (eval "$ac_try") 2>&5
17604 ac_status=$?
17605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17606 (exit $ac_status); }; }; then
17607 { echo "$as_me:$LINENO: result: yes" >&5
17608 echo "${ECHO_T}yes" >&6; }
17609 else
17610 echo "$as_me: failed program was:" >&5
17611 sed 's/^/| /' conftest.$ac_ext >&5
17612
17613 { echo "$as_me:$LINENO: result: no" >&5
17614 echo "${ECHO_T}no" >&6; }
17615 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17616 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17617 cat >conftest.$ac_ext <<_ACEOF
17618 /* confdefs.h. */
17619 _ACEOF
17620 cat confdefs.h >>conftest.$ac_ext
17621 cat >>conftest.$ac_ext <<_ACEOF
17622 /* end confdefs.h. */
17623 #define __CF_USE_FRAMEWORK_INCLUDES__
17624 #include <CoreFoundation/CFBase.h>
17625
17626 int
17627 main ()
17628 {
17629
17630 ;
17631 return 0;
17632 }
17633 _ACEOF
17634 rm -f conftest.$ac_objext
17635 if { (ac_try="$ac_compile"
17636 case "(($ac_try" in
17637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17638 *) ac_try_echo=$ac_try;;
17639 esac
17640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17641 (eval "$ac_compile") 2>conftest.er1
17642 ac_status=$?
17643 grep -v '^ *+' conftest.er1 >conftest.err
17644 rm -f conftest.er1
17645 cat conftest.err >&5
17646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17647 (exit $ac_status); } &&
17648 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17649 { (case "(($ac_try" in
17650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17651 *) ac_try_echo=$ac_try;;
17652 esac
17653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17654 (eval "$ac_try") 2>&5
17655 ac_status=$?
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); }; } &&
17658 { ac_try='test -s conftest.$ac_objext'
17659 { (case "(($ac_try" in
17660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17661 *) ac_try_echo=$ac_try;;
17662 esac
17663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17664 (eval "$ac_try") 2>&5
17665 ac_status=$?
17666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17667 (exit $ac_status); }; }; then
17668 { echo "$as_me:$LINENO: result: yes" >&5
17669 echo "${ECHO_T}yes" >&6; }
17670 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17671 else
17672 echo "$as_me: failed program was:" >&5
17673 sed 's/^/| /' conftest.$ac_ext >&5
17674
17675 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17676 See \`config.log' for more details." >&5
17677 echo "$as_me: error: no. CoreFoundation not available.
17678 See \`config.log' for more details." >&2;}
17679 { (exit 1); exit 1; }; }
17680
17681 fi
17682
17683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17684
17685
17686 fi
17687
17688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17689 ;;
17690 esac
17691
17692 wants_win32=0
17693 doesnt_want_win32=0
17694 case "${host}" in
17695 *-*-cygwin*)
17696 if test "$wxUSE_MSW" = 1 ; then
17697 wants_win32=1
17698 else
17699 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17700 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17701 if test "${wx_cv_nocygwin+set}" = set; then
17702 echo $ECHO_N "(cached) $ECHO_C" >&6
17703 else
17704
17705 cat >conftest.$ac_ext <<_ACEOF
17706 /* confdefs.h. */
17707 _ACEOF
17708 cat confdefs.h >>conftest.$ac_ext
17709 cat >>conftest.$ac_ext <<_ACEOF
17710 /* end confdefs.h. */
17711
17712 int
17713 main ()
17714 {
17715
17716 #ifdef __MINGW32__
17717 choke me
17718 #endif
17719
17720 ;
17721 return 0;
17722 }
17723 _ACEOF
17724 rm -f conftest.$ac_objext
17725 if { (ac_try="$ac_compile"
17726 case "(($ac_try" in
17727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17728 *) ac_try_echo=$ac_try;;
17729 esac
17730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17731 (eval "$ac_compile") 2>conftest.er1
17732 ac_status=$?
17733 grep -v '^ *+' conftest.er1 >conftest.err
17734 rm -f conftest.er1
17735 cat conftest.err >&5
17736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17737 (exit $ac_status); } &&
17738 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17739 { (case "(($ac_try" in
17740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17741 *) ac_try_echo=$ac_try;;
17742 esac
17743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17744 (eval "$ac_try") 2>&5
17745 ac_status=$?
17746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17747 (exit $ac_status); }; } &&
17748 { ac_try='test -s conftest.$ac_objext'
17749 { (case "(($ac_try" in
17750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17751 *) ac_try_echo=$ac_try;;
17752 esac
17753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17754 (eval "$ac_try") 2>&5
17755 ac_status=$?
17756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17757 (exit $ac_status); }; }; then
17758 wx_cv_nocygwin=no
17759 else
17760 echo "$as_me: failed program was:" >&5
17761 sed 's/^/| /' conftest.$ac_ext >&5
17762
17763 wx_cv_nocygwin=yes
17764
17765 fi
17766
17767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17768
17769
17770 fi
17771 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
17772 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17773
17774 if test "$wx_cv_nocygwin" = "yes"; then
17775 wants_win32=1
17776 else
17777 doesnt_want_win32=1
17778 fi
17779 fi
17780 if test "$wants_win32" = 1 ; then
17781 BAKEFILE_FORCE_PLATFORM=win32
17782 fi
17783 ;;
17784 *-*-mingw*)
17785 wants_win32=1
17786 ;;
17787 esac
17788
17789 if test "$wxUSE_WINE" = "yes"; then
17790 wants_win32=1
17791 LDFLAGS_GUI="-mwindows"
17792 fi
17793
17794 if test "$wants_win32" = 1 ; then
17795 USE_UNIX=0
17796 USE_WIN32=1
17797 cat >>confdefs.h <<\_ACEOF
17798 #define __WIN32__ 1
17799 _ACEOF
17800
17801 cat >>confdefs.h <<\_ACEOF
17802 #define __WIN95__ 1
17803 _ACEOF
17804
17805 cat >>confdefs.h <<\_ACEOF
17806 #define __WINDOWS__ 1
17807 _ACEOF
17808
17809 cat >>confdefs.h <<\_ACEOF
17810 #define __GNUWIN32__ 1
17811 _ACEOF
17812
17813 cat >>confdefs.h <<\_ACEOF
17814 #define STRICT 1
17815 _ACEOF
17816
17817 fi
17818 if test "$doesnt_want_win32" = 1 ; then
17819 USE_UNIX=1
17820 USE_WIN32=0
17821 fi
17822
17823 if test "$USE_UNIX" = 1 ; then
17824 wxUSE_UNIX=yes
17825 cat >>confdefs.h <<\_ACEOF
17826 #define __UNIX__ 1
17827 _ACEOF
17828
17829 fi
17830
17831 case "${host}" in
17832 *-pc-os2_emx | *-pc-os2-emx )
17833 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17834 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
17835 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
17836 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17837 echo $ECHO_N "(cached) $ECHO_C" >&6
17838 else
17839 ac_check_lib_save_LIBS=$LIBS
17840 LIBS="-lcExt $LIBS"
17841 cat >conftest.$ac_ext <<_ACEOF
17842 /* confdefs.h. */
17843 _ACEOF
17844 cat confdefs.h >>conftest.$ac_ext
17845 cat >>conftest.$ac_ext <<_ACEOF
17846 /* end confdefs.h. */
17847
17848 /* Override any GCC internal prototype to avoid an error.
17849 Use char because int might match the return type of a GCC
17850 builtin and then its argument prototype would still apply. */
17851 #ifdef __cplusplus
17852 extern "C"
17853 #endif
17854 char drand48 ();
17855 int
17856 main ()
17857 {
17858 return drand48 ();
17859 ;
17860 return 0;
17861 }
17862 _ACEOF
17863 rm -f conftest.$ac_objext conftest$ac_exeext
17864 if { (ac_try="$ac_link"
17865 case "(($ac_try" in
17866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17867 *) ac_try_echo=$ac_try;;
17868 esac
17869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17870 (eval "$ac_link") 2>conftest.er1
17871 ac_status=$?
17872 grep -v '^ *+' conftest.er1 >conftest.err
17873 rm -f conftest.er1
17874 cat conftest.err >&5
17875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17876 (exit $ac_status); } &&
17877 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17878 { (case "(($ac_try" in
17879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17880 *) ac_try_echo=$ac_try;;
17881 esac
17882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17883 (eval "$ac_try") 2>&5
17884 ac_status=$?
17885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17886 (exit $ac_status); }; } &&
17887 { ac_try='test -s conftest$ac_exeext'
17888 { (case "(($ac_try" in
17889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17890 *) ac_try_echo=$ac_try;;
17891 esac
17892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17893 (eval "$ac_try") 2>&5
17894 ac_status=$?
17895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17896 (exit $ac_status); }; }; then
17897 ac_cv_lib_cExt_drand48=yes
17898 else
17899 echo "$as_me: failed program was:" >&5
17900 sed 's/^/| /' conftest.$ac_ext >&5
17901
17902 ac_cv_lib_cExt_drand48=no
17903 fi
17904
17905 rm -f core conftest.err conftest.$ac_objext \
17906 conftest$ac_exeext conftest.$ac_ext
17907 LIBS=$ac_check_lib_save_LIBS
17908 fi
17909 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
17910 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17911 if test $ac_cv_lib_cExt_drand48 = yes; then
17912 LIBS="$LIBS -lcExt"
17913 fi
17914
17915 else
17916 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
17917 fi
17918 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
17919 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
17920 if test "${wx_cv_gccversion+set}" = set; then
17921 echo $ECHO_N "(cached) $ECHO_C" >&6
17922 else
17923
17924 if test "$cross_compiling" = yes; then
17925 wx_cv_gccversion="EMX2"
17926
17927 else
17928 cat >conftest.$ac_ext <<_ACEOF
17929 /* confdefs.h. */
17930 _ACEOF
17931 cat confdefs.h >>conftest.$ac_ext
17932 cat >>conftest.$ac_ext <<_ACEOF
17933 /* end confdefs.h. */
17934
17935 #include <stdio.h>
17936
17937 int main()
17938 {
17939 FILE *f=fopen("conftestval", "w");
17940 if (!f) exit(1);
17941 fprintf(f,
17942 #if (__GNUC__ < 3)
17943 "EMX2"
17944 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17945 "EMX3"
17946 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17947 "Innotek5"
17948 #else
17949 "Innotek6"
17950 #endif
17951 );
17952 exit(0);
17953 }
17954
17955 _ACEOF
17956 rm -f conftest$ac_exeext
17957 if { (ac_try="$ac_link"
17958 case "(($ac_try" in
17959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17960 *) ac_try_echo=$ac_try;;
17961 esac
17962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17963 (eval "$ac_link") 2>&5
17964 ac_status=$?
17965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17966 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17967 { (case "(($ac_try" in
17968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17969 *) ac_try_echo=$ac_try;;
17970 esac
17971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17972 (eval "$ac_try") 2>&5
17973 ac_status=$?
17974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17975 (exit $ac_status); }; }; then
17976 wx_cv_gccversion=`cat conftestval`
17977 else
17978 echo "$as_me: program exited with status $ac_status" >&5
17979 echo "$as_me: failed program was:" >&5
17980 sed 's/^/| /' conftest.$ac_ext >&5
17981
17982 ( exit $ac_status )
17983 wx_cv_gccversion="EMX2"
17984 fi
17985 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17986 fi
17987
17988
17989
17990 fi
17991 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
17992 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
17993 if test "$wx_cv_gccversion" = "EMX2"; then
17994 LIBS="$LIBS -lstdcpp"
17995 LDFLAGS="$LDFLAGS -Zsysv-signals"
17996 else
17997 if test "$wx_cv_gccversion" = "EMX3"; then
17998 LIBS="$LIBS -lstdcxx -lgcc"
17999 LDFLAGS="$LDFLAGS -Zsysv-signals"
18000 else
18001 LIBS="$LIBS -lstdc++"
18002 fi
18003 fi
18004 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18005 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18006 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18007 wxUSE_OMF=yes
18008 enable_omf=yes
18009 fi
18010 ;;
18011 *)
18012
18013 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18014 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18015 if test "${ac_cv_string_strcasecmp+set}" = set; then
18016 echo $ECHO_N "(cached) $ECHO_C" >&6
18017 else
18018
18019 cat >conftest.$ac_ext <<_ACEOF
18020 /* confdefs.h. */
18021 _ACEOF
18022 cat confdefs.h >>conftest.$ac_ext
18023 cat >>conftest.$ac_ext <<_ACEOF
18024 /* end confdefs.h. */
18025
18026 #include <string.h>
18027
18028 int
18029 main ()
18030 {
18031
18032 strcasecmp("foo", "bar");
18033
18034 ;
18035 return 0;
18036 }
18037 _ACEOF
18038 rm -f conftest.$ac_objext conftest$ac_exeext
18039 if { (ac_try="$ac_link"
18040 case "(($ac_try" in
18041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18042 *) ac_try_echo=$ac_try;;
18043 esac
18044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18045 (eval "$ac_link") 2>conftest.er1
18046 ac_status=$?
18047 grep -v '^ *+' conftest.er1 >conftest.err
18048 rm -f conftest.er1
18049 cat conftest.err >&5
18050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18051 (exit $ac_status); } &&
18052 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18053 { (case "(($ac_try" in
18054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18055 *) ac_try_echo=$ac_try;;
18056 esac
18057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18058 (eval "$ac_try") 2>&5
18059 ac_status=$?
18060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18061 (exit $ac_status); }; } &&
18062 { ac_try='test -s conftest$ac_exeext'
18063 { (case "(($ac_try" in
18064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18065 *) ac_try_echo=$ac_try;;
18066 esac
18067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18068 (eval "$ac_try") 2>&5
18069 ac_status=$?
18070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18071 (exit $ac_status); }; }; then
18072 ac_cv_string_strcasecmp=yes
18073 else
18074 echo "$as_me: failed program was:" >&5
18075 sed 's/^/| /' conftest.$ac_ext >&5
18076
18077 ac_cv_string_strcasecmp=no
18078
18079 fi
18080
18081 rm -f core conftest.err conftest.$ac_objext \
18082 conftest$ac_exeext conftest.$ac_ext
18083
18084 fi
18085 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18086 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18087
18088 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18089 cat >>confdefs.h <<\_ACEOF
18090 #define HAVE_STRCASECMP_IN_STRING_H 1
18091 _ACEOF
18092
18093 else
18094 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18095 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18096 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18097 echo $ECHO_N "(cached) $ECHO_C" >&6
18098 else
18099
18100 cat >conftest.$ac_ext <<_ACEOF
18101 /* confdefs.h. */
18102 _ACEOF
18103 cat confdefs.h >>conftest.$ac_ext
18104 cat >>conftest.$ac_ext <<_ACEOF
18105 /* end confdefs.h. */
18106
18107 #include <strings.h>
18108
18109 int
18110 main ()
18111 {
18112
18113 strcasecmp("foo", "bar");
18114
18115 ;
18116 return 0;
18117 }
18118 _ACEOF
18119 rm -f conftest.$ac_objext conftest$ac_exeext
18120 if { (ac_try="$ac_link"
18121 case "(($ac_try" in
18122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18123 *) ac_try_echo=$ac_try;;
18124 esac
18125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18126 (eval "$ac_link") 2>conftest.er1
18127 ac_status=$?
18128 grep -v '^ *+' conftest.er1 >conftest.err
18129 rm -f conftest.er1
18130 cat conftest.err >&5
18131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18132 (exit $ac_status); } &&
18133 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18134 { (case "(($ac_try" in
18135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18136 *) ac_try_echo=$ac_try;;
18137 esac
18138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18139 (eval "$ac_try") 2>&5
18140 ac_status=$?
18141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18142 (exit $ac_status); }; } &&
18143 { ac_try='test -s conftest$ac_exeext'
18144 { (case "(($ac_try" in
18145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18146 *) ac_try_echo=$ac_try;;
18147 esac
18148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18149 (eval "$ac_try") 2>&5
18150 ac_status=$?
18151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18152 (exit $ac_status); }; }; then
18153 ac_cv_strings_strcasecmp=yes
18154 else
18155 echo "$as_me: failed program was:" >&5
18156 sed 's/^/| /' conftest.$ac_ext >&5
18157
18158 ac_cv_strings_strcasecmp=no
18159
18160 fi
18161
18162 rm -f core conftest.err conftest.$ac_objext \
18163 conftest$ac_exeext conftest.$ac_ext
18164
18165 fi
18166 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18167 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18168
18169 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18170 cat >>confdefs.h <<\_ACEOF
18171 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18172 _ACEOF
18173
18174 else
18175 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18176 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18177 { (exit 1); exit 1; }; }
18178 fi
18179 fi
18180
18181 ;;
18182 esac
18183
18184
18185 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18186 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18187 if test "${ac_cv_header_stdc+set}" = set; then
18188 echo $ECHO_N "(cached) $ECHO_C" >&6
18189 else
18190 cat >conftest.$ac_ext <<_ACEOF
18191 /* confdefs.h. */
18192 _ACEOF
18193 cat confdefs.h >>conftest.$ac_ext
18194 cat >>conftest.$ac_ext <<_ACEOF
18195 /* end confdefs.h. */
18196 #include <stdlib.h>
18197 #include <stdarg.h>
18198 #include <string.h>
18199 #include <float.h>
18200
18201 int
18202 main ()
18203 {
18204
18205 ;
18206 return 0;
18207 }
18208 _ACEOF
18209 rm -f conftest.$ac_objext
18210 if { (ac_try="$ac_compile"
18211 case "(($ac_try" in
18212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18213 *) ac_try_echo=$ac_try;;
18214 esac
18215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18216 (eval "$ac_compile") 2>conftest.er1
18217 ac_status=$?
18218 grep -v '^ *+' conftest.er1 >conftest.err
18219 rm -f conftest.er1
18220 cat conftest.err >&5
18221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18222 (exit $ac_status); } &&
18223 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18224 { (case "(($ac_try" in
18225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18226 *) ac_try_echo=$ac_try;;
18227 esac
18228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18229 (eval "$ac_try") 2>&5
18230 ac_status=$?
18231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18232 (exit $ac_status); }; } &&
18233 { ac_try='test -s conftest.$ac_objext'
18234 { (case "(($ac_try" in
18235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18236 *) ac_try_echo=$ac_try;;
18237 esac
18238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18239 (eval "$ac_try") 2>&5
18240 ac_status=$?
18241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18242 (exit $ac_status); }; }; then
18243 ac_cv_header_stdc=yes
18244 else
18245 echo "$as_me: failed program was:" >&5
18246 sed 's/^/| /' conftest.$ac_ext >&5
18247
18248 ac_cv_header_stdc=no
18249 fi
18250
18251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18252
18253 if test $ac_cv_header_stdc = yes; then
18254 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18255 cat >conftest.$ac_ext <<_ACEOF
18256 /* confdefs.h. */
18257 _ACEOF
18258 cat confdefs.h >>conftest.$ac_ext
18259 cat >>conftest.$ac_ext <<_ACEOF
18260 /* end confdefs.h. */
18261 #include <string.h>
18262
18263 _ACEOF
18264 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18265 $EGREP "memchr" >/dev/null 2>&1; then
18266 :
18267 else
18268 ac_cv_header_stdc=no
18269 fi
18270 rm -f conftest*
18271
18272 fi
18273
18274 if test $ac_cv_header_stdc = yes; then
18275 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18276 cat >conftest.$ac_ext <<_ACEOF
18277 /* confdefs.h. */
18278 _ACEOF
18279 cat confdefs.h >>conftest.$ac_ext
18280 cat >>conftest.$ac_ext <<_ACEOF
18281 /* end confdefs.h. */
18282 #include <stdlib.h>
18283
18284 _ACEOF
18285 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18286 $EGREP "free" >/dev/null 2>&1; then
18287 :
18288 else
18289 ac_cv_header_stdc=no
18290 fi
18291 rm -f conftest*
18292
18293 fi
18294
18295 if test $ac_cv_header_stdc = yes; then
18296 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18297 if test "$cross_compiling" = yes; then
18298 :
18299 else
18300 cat >conftest.$ac_ext <<_ACEOF
18301 /* confdefs.h. */
18302 _ACEOF
18303 cat confdefs.h >>conftest.$ac_ext
18304 cat >>conftest.$ac_ext <<_ACEOF
18305 /* end confdefs.h. */
18306 #include <ctype.h>
18307 #include <stdlib.h>
18308 #if ((' ' & 0x0FF) == 0x020)
18309 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18310 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18311 #else
18312 # define ISLOWER(c) \
18313 (('a' <= (c) && (c) <= 'i') \
18314 || ('j' <= (c) && (c) <= 'r') \
18315 || ('s' <= (c) && (c) <= 'z'))
18316 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18317 #endif
18318
18319 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18320 int
18321 main ()
18322 {
18323 int i;
18324 for (i = 0; i < 256; i++)
18325 if (XOR (islower (i), ISLOWER (i))
18326 || toupper (i) != TOUPPER (i))
18327 return 2;
18328 return 0;
18329 }
18330 _ACEOF
18331 rm -f conftest$ac_exeext
18332 if { (ac_try="$ac_link"
18333 case "(($ac_try" in
18334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18335 *) ac_try_echo=$ac_try;;
18336 esac
18337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18338 (eval "$ac_link") 2>&5
18339 ac_status=$?
18340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18341 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18342 { (case "(($ac_try" in
18343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18344 *) ac_try_echo=$ac_try;;
18345 esac
18346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18347 (eval "$ac_try") 2>&5
18348 ac_status=$?
18349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18350 (exit $ac_status); }; }; then
18351 :
18352 else
18353 echo "$as_me: program exited with status $ac_status" >&5
18354 echo "$as_me: failed program was:" >&5
18355 sed 's/^/| /' conftest.$ac_ext >&5
18356
18357 ( exit $ac_status )
18358 ac_cv_header_stdc=no
18359 fi
18360 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18361 fi
18362
18363
18364 fi
18365 fi
18366 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18367 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18368 if test $ac_cv_header_stdc = yes; then
18369
18370 cat >>confdefs.h <<\_ACEOF
18371 #define STDC_HEADERS 1
18372 _ACEOF
18373
18374 fi
18375
18376 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18377
18378
18379
18380
18381
18382
18383
18384
18385
18386 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18387 inttypes.h stdint.h unistd.h
18388 do
18389 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18390 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18391 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18392 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18393 echo $ECHO_N "(cached) $ECHO_C" >&6
18394 else
18395 cat >conftest.$ac_ext <<_ACEOF
18396 /* confdefs.h. */
18397 _ACEOF
18398 cat confdefs.h >>conftest.$ac_ext
18399 cat >>conftest.$ac_ext <<_ACEOF
18400 /* end confdefs.h. */
18401 $ac_includes_default
18402
18403 #include <$ac_header>
18404 _ACEOF
18405 rm -f conftest.$ac_objext
18406 if { (ac_try="$ac_compile"
18407 case "(($ac_try" in
18408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18409 *) ac_try_echo=$ac_try;;
18410 esac
18411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18412 (eval "$ac_compile") 2>conftest.er1
18413 ac_status=$?
18414 grep -v '^ *+' conftest.er1 >conftest.err
18415 rm -f conftest.er1
18416 cat conftest.err >&5
18417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18418 (exit $ac_status); } &&
18419 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18420 { (case "(($ac_try" in
18421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18422 *) ac_try_echo=$ac_try;;
18423 esac
18424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18425 (eval "$ac_try") 2>&5
18426 ac_status=$?
18427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18428 (exit $ac_status); }; } &&
18429 { ac_try='test -s conftest.$ac_objext'
18430 { (case "(($ac_try" in
18431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18432 *) ac_try_echo=$ac_try;;
18433 esac
18434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18435 (eval "$ac_try") 2>&5
18436 ac_status=$?
18437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18438 (exit $ac_status); }; }; then
18439 eval "$as_ac_Header=yes"
18440 else
18441 echo "$as_me: failed program was:" >&5
18442 sed 's/^/| /' conftest.$ac_ext >&5
18443
18444 eval "$as_ac_Header=no"
18445 fi
18446
18447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18448 fi
18449 ac_res=`eval echo '${'$as_ac_Header'}'`
18450 { echo "$as_me:$LINENO: result: $ac_res" >&5
18451 echo "${ECHO_T}$ac_res" >&6; }
18452 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18453 cat >>confdefs.h <<_ACEOF
18454 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18455 _ACEOF
18456
18457 fi
18458
18459 done
18460
18461
18462
18463
18464
18465
18466
18467
18468 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
18469 do
18470 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18471 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18472 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18473 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18474 echo $ECHO_N "(cached) $ECHO_C" >&6
18475 else
18476 cat >conftest.$ac_ext <<_ACEOF
18477 /* confdefs.h. */
18478 _ACEOF
18479 cat confdefs.h >>conftest.$ac_ext
18480 cat >>conftest.$ac_ext <<_ACEOF
18481 /* end confdefs.h. */
18482 $ac_includes_default
18483
18484 #include <$ac_header>
18485 _ACEOF
18486 rm -f conftest.$ac_objext
18487 if { (ac_try="$ac_compile"
18488 case "(($ac_try" in
18489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18490 *) ac_try_echo=$ac_try;;
18491 esac
18492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18493 (eval "$ac_compile") 2>conftest.er1
18494 ac_status=$?
18495 grep -v '^ *+' conftest.er1 >conftest.err
18496 rm -f conftest.er1
18497 cat conftest.err >&5
18498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18499 (exit $ac_status); } &&
18500 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18501 { (case "(($ac_try" in
18502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18503 *) ac_try_echo=$ac_try;;
18504 esac
18505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18506 (eval "$ac_try") 2>&5
18507 ac_status=$?
18508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18509 (exit $ac_status); }; } &&
18510 { ac_try='test -s conftest.$ac_objext'
18511 { (case "(($ac_try" in
18512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18513 *) ac_try_echo=$ac_try;;
18514 esac
18515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18516 (eval "$ac_try") 2>&5
18517 ac_status=$?
18518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18519 (exit $ac_status); }; }; then
18520 eval "$as_ac_Header=yes"
18521 else
18522 echo "$as_me: failed program was:" >&5
18523 sed 's/^/| /' conftest.$ac_ext >&5
18524
18525 eval "$as_ac_Header=no"
18526 fi
18527
18528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18529 fi
18530 ac_res=`eval echo '${'$as_ac_Header'}'`
18531 { echo "$as_me:$LINENO: result: $ac_res" >&5
18532 echo "${ECHO_T}$ac_res" >&6; }
18533 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18534 cat >>confdefs.h <<_ACEOF
18535 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18536 _ACEOF
18537
18538 fi
18539
18540 done
18541
18542
18543 if test "$ac_cv_header_wchar_h" != "yes"; then
18544 { echo "$as_me:$LINENO: checking for wcstr.h" >&5
18545 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6; }
18546 if test "${ac_cv_header_wcstr_h+set}" = set; then
18547 echo $ECHO_N "(cached) $ECHO_C" >&6
18548 else
18549 cat >conftest.$ac_ext <<_ACEOF
18550 /* confdefs.h. */
18551 _ACEOF
18552 cat confdefs.h >>conftest.$ac_ext
18553 cat >>conftest.$ac_ext <<_ACEOF
18554 /* end confdefs.h. */
18555 $ac_includes_default
18556
18557 #include <wcstr.h>
18558 _ACEOF
18559 rm -f conftest.$ac_objext
18560 if { (ac_try="$ac_compile"
18561 case "(($ac_try" in
18562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18563 *) ac_try_echo=$ac_try;;
18564 esac
18565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18566 (eval "$ac_compile") 2>conftest.er1
18567 ac_status=$?
18568 grep -v '^ *+' conftest.er1 >conftest.err
18569 rm -f conftest.er1
18570 cat conftest.err >&5
18571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18572 (exit $ac_status); } &&
18573 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18574 { (case "(($ac_try" in
18575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18576 *) ac_try_echo=$ac_try;;
18577 esac
18578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18579 (eval "$ac_try") 2>&5
18580 ac_status=$?
18581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18582 (exit $ac_status); }; } &&
18583 { ac_try='test -s conftest.$ac_objext'
18584 { (case "(($ac_try" in
18585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18586 *) ac_try_echo=$ac_try;;
18587 esac
18588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18589 (eval "$ac_try") 2>&5
18590 ac_status=$?
18591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18592 (exit $ac_status); }; }; then
18593 ac_cv_header_wcstr_h=yes
18594 else
18595 echo "$as_me: failed program was:" >&5
18596 sed 's/^/| /' conftest.$ac_ext >&5
18597
18598 ac_cv_header_wcstr_h=no
18599 fi
18600
18601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18602 fi
18603 { echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
18604 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
18605
18606
18607 fi
18608
18609 case "${host}" in
18610 *-pc-os2_emx | *-pc-os2-emx )
18611 if test $ac_cv_header_langinfo_h = "yes" \
18612 -a \( "$wx_cv_gccversion" = "EMX2" \
18613 -o "$wx_cv_gccversion" = "EMX3" \
18614 -o "$wx_cv_gccversion" = "Innotek5" \); then
18615 LIBS="$LIBS -lintl"
18616 fi
18617 ;;
18618 esac
18619
18620 if test "$USE_UNIX" = 1 ; then
18621 { echo "$as_me:$LINENO: checking for sys/select.h" >&5
18622 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; }
18623 if test "${ac_cv_header_sys_select_h+set}" = set; then
18624 echo $ECHO_N "(cached) $ECHO_C" >&6
18625 else
18626 cat >conftest.$ac_ext <<_ACEOF
18627 /* confdefs.h. */
18628 _ACEOF
18629 cat confdefs.h >>conftest.$ac_ext
18630 cat >>conftest.$ac_ext <<_ACEOF
18631 /* end confdefs.h. */
18632 $ac_includes_default
18633
18634 #include <sys/select.h>
18635 _ACEOF
18636 rm -f conftest.$ac_objext
18637 if { (ac_try="$ac_compile"
18638 case "(($ac_try" in
18639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18640 *) ac_try_echo=$ac_try;;
18641 esac
18642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18643 (eval "$ac_compile") 2>conftest.er1
18644 ac_status=$?
18645 grep -v '^ *+' conftest.er1 >conftest.err
18646 rm -f conftest.er1
18647 cat conftest.err >&5
18648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18649 (exit $ac_status); } &&
18650 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18651 { (case "(($ac_try" in
18652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18653 *) ac_try_echo=$ac_try;;
18654 esac
18655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18656 (eval "$ac_try") 2>&5
18657 ac_status=$?
18658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18659 (exit $ac_status); }; } &&
18660 { ac_try='test -s conftest.$ac_objext'
18661 { (case "(($ac_try" in
18662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18663 *) ac_try_echo=$ac_try;;
18664 esac
18665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18666 (eval "$ac_try") 2>&5
18667 ac_status=$?
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); }; }; then
18670 ac_cv_header_sys_select_h=yes
18671 else
18672 echo "$as_me: failed program was:" >&5
18673 sed 's/^/| /' conftest.$ac_ext >&5
18674
18675 ac_cv_header_sys_select_h=no
18676 fi
18677
18678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18679 fi
18680 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
18681 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
18682
18683
18684 fi
18685
18686
18687 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18688 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18689 if test "${ac_cv_c_const+set}" = set; then
18690 echo $ECHO_N "(cached) $ECHO_C" >&6
18691 else
18692 cat >conftest.$ac_ext <<_ACEOF
18693 /* confdefs.h. */
18694 _ACEOF
18695 cat confdefs.h >>conftest.$ac_ext
18696 cat >>conftest.$ac_ext <<_ACEOF
18697 /* end confdefs.h. */
18698
18699 int
18700 main ()
18701 {
18702 /* FIXME: Include the comments suggested by Paul. */
18703 #ifndef __cplusplus
18704 /* Ultrix mips cc rejects this. */
18705 typedef int charset[2];
18706 const charset x;
18707 /* SunOS 4.1.1 cc rejects this. */
18708 char const *const *ccp;
18709 char **p;
18710 /* NEC SVR4.0.2 mips cc rejects this. */
18711 struct point {int x, y;};
18712 static struct point const zero = {0,0};
18713 /* AIX XL C 1.02.0.0 rejects this.
18714 It does not let you subtract one const X* pointer from another in
18715 an arm of an if-expression whose if-part is not a constant
18716 expression */
18717 const char *g = "string";
18718 ccp = &g + (g ? g-g : 0);
18719 /* HPUX 7.0 cc rejects these. */
18720 ++ccp;
18721 p = (char**) ccp;
18722 ccp = (char const *const *) p;
18723 { /* SCO 3.2v4 cc rejects this. */
18724 char *t;
18725 char const *s = 0 ? (char *) 0 : (char const *) 0;
18726
18727 *t++ = 0;
18728 if (s) return 0;
18729 }
18730 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18731 int x[] = {25, 17};
18732 const int *foo = &x[0];
18733 ++foo;
18734 }
18735 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18736 typedef const int *iptr;
18737 iptr p = 0;
18738 ++p;
18739 }
18740 { /* AIX XL C 1.02.0.0 rejects this saying
18741 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18742 struct s { int j; const int *ap[3]; };
18743 struct s *b; b->j = 5;
18744 }
18745 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18746 const int foo = 10;
18747 if (!foo) return 0;
18748 }
18749 return !x[0] && !zero.x;
18750 #endif
18751
18752 ;
18753 return 0;
18754 }
18755 _ACEOF
18756 rm -f conftest.$ac_objext
18757 if { (ac_try="$ac_compile"
18758 case "(($ac_try" in
18759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18760 *) ac_try_echo=$ac_try;;
18761 esac
18762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18763 (eval "$ac_compile") 2>conftest.er1
18764 ac_status=$?
18765 grep -v '^ *+' conftest.er1 >conftest.err
18766 rm -f conftest.er1
18767 cat conftest.err >&5
18768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18769 (exit $ac_status); } &&
18770 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18771 { (case "(($ac_try" in
18772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18773 *) ac_try_echo=$ac_try;;
18774 esac
18775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18776 (eval "$ac_try") 2>&5
18777 ac_status=$?
18778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18779 (exit $ac_status); }; } &&
18780 { ac_try='test -s conftest.$ac_objext'
18781 { (case "(($ac_try" in
18782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18783 *) ac_try_echo=$ac_try;;
18784 esac
18785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18786 (eval "$ac_try") 2>&5
18787 ac_status=$?
18788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18789 (exit $ac_status); }; }; then
18790 ac_cv_c_const=yes
18791 else
18792 echo "$as_me: failed program was:" >&5
18793 sed 's/^/| /' conftest.$ac_ext >&5
18794
18795 ac_cv_c_const=no
18796 fi
18797
18798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18799 fi
18800 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18801 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18802 if test $ac_cv_c_const = no; then
18803
18804 cat >>confdefs.h <<\_ACEOF
18805 #define const
18806 _ACEOF
18807
18808 fi
18809
18810 { echo "$as_me:$LINENO: checking for inline" >&5
18811 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18812 if test "${ac_cv_c_inline+set}" = set; then
18813 echo $ECHO_N "(cached) $ECHO_C" >&6
18814 else
18815 ac_cv_c_inline=no
18816 for ac_kw in inline __inline__ __inline; do
18817 cat >conftest.$ac_ext <<_ACEOF
18818 /* confdefs.h. */
18819 _ACEOF
18820 cat confdefs.h >>conftest.$ac_ext
18821 cat >>conftest.$ac_ext <<_ACEOF
18822 /* end confdefs.h. */
18823 #ifndef __cplusplus
18824 typedef int foo_t;
18825 static $ac_kw foo_t static_foo () {return 0; }
18826 $ac_kw foo_t foo () {return 0; }
18827 #endif
18828
18829 _ACEOF
18830 rm -f conftest.$ac_objext
18831 if { (ac_try="$ac_compile"
18832 case "(($ac_try" in
18833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18834 *) ac_try_echo=$ac_try;;
18835 esac
18836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18837 (eval "$ac_compile") 2>conftest.er1
18838 ac_status=$?
18839 grep -v '^ *+' conftest.er1 >conftest.err
18840 rm -f conftest.er1
18841 cat conftest.err >&5
18842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18843 (exit $ac_status); } &&
18844 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18845 { (case "(($ac_try" in
18846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18847 *) ac_try_echo=$ac_try;;
18848 esac
18849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18850 (eval "$ac_try") 2>&5
18851 ac_status=$?
18852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18853 (exit $ac_status); }; } &&
18854 { ac_try='test -s conftest.$ac_objext'
18855 { (case "(($ac_try" in
18856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18857 *) ac_try_echo=$ac_try;;
18858 esac
18859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18860 (eval "$ac_try") 2>&5
18861 ac_status=$?
18862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18863 (exit $ac_status); }; }; then
18864 ac_cv_c_inline=$ac_kw
18865 else
18866 echo "$as_me: failed program was:" >&5
18867 sed 's/^/| /' conftest.$ac_ext >&5
18868
18869
18870 fi
18871
18872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18873 test "$ac_cv_c_inline" != no && break
18874 done
18875
18876 fi
18877 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18878 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18879
18880
18881 case $ac_cv_c_inline in
18882 inline | yes) ;;
18883 *)
18884 case $ac_cv_c_inline in
18885 no) ac_val=;;
18886 *) ac_val=$ac_cv_c_inline;;
18887 esac
18888 cat >>confdefs.h <<_ACEOF
18889 #ifndef __cplusplus
18890 #define inline $ac_val
18891 #endif
18892 _ACEOF
18893 ;;
18894 esac
18895
18896
18897 { echo "$as_me:$LINENO: checking for short" >&5
18898 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
18899 if test "${ac_cv_type_short+set}" = set; then
18900 echo $ECHO_N "(cached) $ECHO_C" >&6
18901 else
18902 cat >conftest.$ac_ext <<_ACEOF
18903 /* confdefs.h. */
18904 _ACEOF
18905 cat confdefs.h >>conftest.$ac_ext
18906 cat >>conftest.$ac_ext <<_ACEOF
18907 /* end confdefs.h. */
18908 $ac_includes_default
18909 typedef short ac__type_new_;
18910 int
18911 main ()
18912 {
18913 if ((ac__type_new_ *) 0)
18914 return 0;
18915 if (sizeof (ac__type_new_))
18916 return 0;
18917 ;
18918 return 0;
18919 }
18920 _ACEOF
18921 rm -f conftest.$ac_objext
18922 if { (ac_try="$ac_compile"
18923 case "(($ac_try" in
18924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18925 *) ac_try_echo=$ac_try;;
18926 esac
18927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18928 (eval "$ac_compile") 2>conftest.er1
18929 ac_status=$?
18930 grep -v '^ *+' conftest.er1 >conftest.err
18931 rm -f conftest.er1
18932 cat conftest.err >&5
18933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18934 (exit $ac_status); } &&
18935 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18936 { (case "(($ac_try" in
18937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18938 *) ac_try_echo=$ac_try;;
18939 esac
18940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18941 (eval "$ac_try") 2>&5
18942 ac_status=$?
18943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18944 (exit $ac_status); }; } &&
18945 { ac_try='test -s conftest.$ac_objext'
18946 { (case "(($ac_try" in
18947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18948 *) ac_try_echo=$ac_try;;
18949 esac
18950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18951 (eval "$ac_try") 2>&5
18952 ac_status=$?
18953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18954 (exit $ac_status); }; }; then
18955 ac_cv_type_short=yes
18956 else
18957 echo "$as_me: failed program was:" >&5
18958 sed 's/^/| /' conftest.$ac_ext >&5
18959
18960 ac_cv_type_short=no
18961 fi
18962
18963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18964 fi
18965 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18966 echo "${ECHO_T}$ac_cv_type_short" >&6; }
18967
18968 { echo "$as_me:$LINENO: checking size of short" >&5
18969 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
18970 if test "${ac_cv_sizeof_short+set}" = set; then
18971 echo $ECHO_N "(cached) $ECHO_C" >&6
18972 else
18973 if test "$ac_cv_type_short" = yes; then
18974 # The cast to long int works around a bug in the HP C Compiler
18975 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18976 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18977 # This bug is HP SR number 8606223364.
18978 if test "$cross_compiling" = yes; then
18979 # Depending upon the size, compute the lo and hi bounds.
18980 cat >conftest.$ac_ext <<_ACEOF
18981 /* confdefs.h. */
18982 _ACEOF
18983 cat confdefs.h >>conftest.$ac_ext
18984 cat >>conftest.$ac_ext <<_ACEOF
18985 /* end confdefs.h. */
18986 $ac_includes_default
18987 typedef short ac__type_sizeof_;
18988 int
18989 main ()
18990 {
18991 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18992 test_array [0] = 0
18993
18994 ;
18995 return 0;
18996 }
18997 _ACEOF
18998 rm -f conftest.$ac_objext
18999 if { (ac_try="$ac_compile"
19000 case "(($ac_try" in
19001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19002 *) ac_try_echo=$ac_try;;
19003 esac
19004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19005 (eval "$ac_compile") 2>conftest.er1
19006 ac_status=$?
19007 grep -v '^ *+' conftest.er1 >conftest.err
19008 rm -f conftest.er1
19009 cat conftest.err >&5
19010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19011 (exit $ac_status); } &&
19012 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19013 { (case "(($ac_try" in
19014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19015 *) ac_try_echo=$ac_try;;
19016 esac
19017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19018 (eval "$ac_try") 2>&5
19019 ac_status=$?
19020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19021 (exit $ac_status); }; } &&
19022 { ac_try='test -s conftest.$ac_objext'
19023 { (case "(($ac_try" in
19024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19025 *) ac_try_echo=$ac_try;;
19026 esac
19027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19028 (eval "$ac_try") 2>&5
19029 ac_status=$?
19030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19031 (exit $ac_status); }; }; then
19032 ac_lo=0 ac_mid=0
19033 while :; do
19034 cat >conftest.$ac_ext <<_ACEOF
19035 /* confdefs.h. */
19036 _ACEOF
19037 cat confdefs.h >>conftest.$ac_ext
19038 cat >>conftest.$ac_ext <<_ACEOF
19039 /* end confdefs.h. */
19040 $ac_includes_default
19041 typedef short ac__type_sizeof_;
19042 int
19043 main ()
19044 {
19045 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19046 test_array [0] = 0
19047
19048 ;
19049 return 0;
19050 }
19051 _ACEOF
19052 rm -f conftest.$ac_objext
19053 if { (ac_try="$ac_compile"
19054 case "(($ac_try" in
19055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19056 *) ac_try_echo=$ac_try;;
19057 esac
19058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19059 (eval "$ac_compile") 2>conftest.er1
19060 ac_status=$?
19061 grep -v '^ *+' conftest.er1 >conftest.err
19062 rm -f conftest.er1
19063 cat conftest.err >&5
19064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19065 (exit $ac_status); } &&
19066 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19067 { (case "(($ac_try" in
19068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19069 *) ac_try_echo=$ac_try;;
19070 esac
19071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19072 (eval "$ac_try") 2>&5
19073 ac_status=$?
19074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19075 (exit $ac_status); }; } &&
19076 { ac_try='test -s conftest.$ac_objext'
19077 { (case "(($ac_try" in
19078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19079 *) ac_try_echo=$ac_try;;
19080 esac
19081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19082 (eval "$ac_try") 2>&5
19083 ac_status=$?
19084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19085 (exit $ac_status); }; }; then
19086 ac_hi=$ac_mid; break
19087 else
19088 echo "$as_me: failed program was:" >&5
19089 sed 's/^/| /' conftest.$ac_ext >&5
19090
19091 ac_lo=`expr $ac_mid + 1`
19092 if test $ac_lo -le $ac_mid; then
19093 ac_lo= ac_hi=
19094 break
19095 fi
19096 ac_mid=`expr 2 '*' $ac_mid + 1`
19097 fi
19098
19099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19100 done
19101 else
19102 echo "$as_me: failed program was:" >&5
19103 sed 's/^/| /' conftest.$ac_ext >&5
19104
19105 cat >conftest.$ac_ext <<_ACEOF
19106 /* confdefs.h. */
19107 _ACEOF
19108 cat confdefs.h >>conftest.$ac_ext
19109 cat >>conftest.$ac_ext <<_ACEOF
19110 /* end confdefs.h. */
19111 $ac_includes_default
19112 typedef short ac__type_sizeof_;
19113 int
19114 main ()
19115 {
19116 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19117 test_array [0] = 0
19118
19119 ;
19120 return 0;
19121 }
19122 _ACEOF
19123 rm -f conftest.$ac_objext
19124 if { (ac_try="$ac_compile"
19125 case "(($ac_try" in
19126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19127 *) ac_try_echo=$ac_try;;
19128 esac
19129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19130 (eval "$ac_compile") 2>conftest.er1
19131 ac_status=$?
19132 grep -v '^ *+' conftest.er1 >conftest.err
19133 rm -f conftest.er1
19134 cat conftest.err >&5
19135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19136 (exit $ac_status); } &&
19137 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19138 { (case "(($ac_try" in
19139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19140 *) ac_try_echo=$ac_try;;
19141 esac
19142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19143 (eval "$ac_try") 2>&5
19144 ac_status=$?
19145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19146 (exit $ac_status); }; } &&
19147 { ac_try='test -s conftest.$ac_objext'
19148 { (case "(($ac_try" in
19149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19150 *) ac_try_echo=$ac_try;;
19151 esac
19152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19153 (eval "$ac_try") 2>&5
19154 ac_status=$?
19155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19156 (exit $ac_status); }; }; then
19157 ac_hi=-1 ac_mid=-1
19158 while :; do
19159 cat >conftest.$ac_ext <<_ACEOF
19160 /* confdefs.h. */
19161 _ACEOF
19162 cat confdefs.h >>conftest.$ac_ext
19163 cat >>conftest.$ac_ext <<_ACEOF
19164 /* end confdefs.h. */
19165 $ac_includes_default
19166 typedef short ac__type_sizeof_;
19167 int
19168 main ()
19169 {
19170 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19171 test_array [0] = 0
19172
19173 ;
19174 return 0;
19175 }
19176 _ACEOF
19177 rm -f conftest.$ac_objext
19178 if { (ac_try="$ac_compile"
19179 case "(($ac_try" in
19180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19181 *) ac_try_echo=$ac_try;;
19182 esac
19183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19184 (eval "$ac_compile") 2>conftest.er1
19185 ac_status=$?
19186 grep -v '^ *+' conftest.er1 >conftest.err
19187 rm -f conftest.er1
19188 cat conftest.err >&5
19189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19190 (exit $ac_status); } &&
19191 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19192 { (case "(($ac_try" in
19193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19194 *) ac_try_echo=$ac_try;;
19195 esac
19196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19197 (eval "$ac_try") 2>&5
19198 ac_status=$?
19199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19200 (exit $ac_status); }; } &&
19201 { ac_try='test -s conftest.$ac_objext'
19202 { (case "(($ac_try" in
19203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19204 *) ac_try_echo=$ac_try;;
19205 esac
19206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19207 (eval "$ac_try") 2>&5
19208 ac_status=$?
19209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19210 (exit $ac_status); }; }; then
19211 ac_lo=$ac_mid; break
19212 else
19213 echo "$as_me: failed program was:" >&5
19214 sed 's/^/| /' conftest.$ac_ext >&5
19215
19216 ac_hi=`expr '(' $ac_mid ')' - 1`
19217 if test $ac_mid -le $ac_hi; then
19218 ac_lo= ac_hi=
19219 break
19220 fi
19221 ac_mid=`expr 2 '*' $ac_mid`
19222 fi
19223
19224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19225 done
19226 else
19227 echo "$as_me: failed program was:" >&5
19228 sed 's/^/| /' conftest.$ac_ext >&5
19229
19230 ac_lo= ac_hi=
19231 fi
19232
19233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19234 fi
19235
19236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19237 # Binary search between lo and hi bounds.
19238 while test "x$ac_lo" != "x$ac_hi"; do
19239 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19240 cat >conftest.$ac_ext <<_ACEOF
19241 /* confdefs.h. */
19242 _ACEOF
19243 cat confdefs.h >>conftest.$ac_ext
19244 cat >>conftest.$ac_ext <<_ACEOF
19245 /* end confdefs.h. */
19246 $ac_includes_default
19247 typedef short ac__type_sizeof_;
19248 int
19249 main ()
19250 {
19251 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19252 test_array [0] = 0
19253
19254 ;
19255 return 0;
19256 }
19257 _ACEOF
19258 rm -f conftest.$ac_objext
19259 if { (ac_try="$ac_compile"
19260 case "(($ac_try" in
19261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19262 *) ac_try_echo=$ac_try;;
19263 esac
19264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19265 (eval "$ac_compile") 2>conftest.er1
19266 ac_status=$?
19267 grep -v '^ *+' conftest.er1 >conftest.err
19268 rm -f conftest.er1
19269 cat conftest.err >&5
19270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19271 (exit $ac_status); } &&
19272 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19273 { (case "(($ac_try" in
19274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19275 *) ac_try_echo=$ac_try;;
19276 esac
19277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19278 (eval "$ac_try") 2>&5
19279 ac_status=$?
19280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19281 (exit $ac_status); }; } &&
19282 { ac_try='test -s conftest.$ac_objext'
19283 { (case "(($ac_try" in
19284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19285 *) ac_try_echo=$ac_try;;
19286 esac
19287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19288 (eval "$ac_try") 2>&5
19289 ac_status=$?
19290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19291 (exit $ac_status); }; }; then
19292 ac_hi=$ac_mid
19293 else
19294 echo "$as_me: failed program was:" >&5
19295 sed 's/^/| /' conftest.$ac_ext >&5
19296
19297 ac_lo=`expr '(' $ac_mid ')' + 1`
19298 fi
19299
19300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19301 done
19302 case $ac_lo in
19303 ?*) ac_cv_sizeof_short=$ac_lo;;
19304 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19305 See \`config.log' for more details." >&5
19306 echo "$as_me: error: cannot compute sizeof (short)
19307 See \`config.log' for more details." >&2;}
19308 { (exit 77); exit 77; }; } ;;
19309 esac
19310 else
19311 cat >conftest.$ac_ext <<_ACEOF
19312 /* confdefs.h. */
19313 _ACEOF
19314 cat confdefs.h >>conftest.$ac_ext
19315 cat >>conftest.$ac_ext <<_ACEOF
19316 /* end confdefs.h. */
19317 $ac_includes_default
19318 typedef short ac__type_sizeof_;
19319 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19320 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19321 #include <stdio.h>
19322 #include <stdlib.h>
19323 int
19324 main ()
19325 {
19326
19327 FILE *f = fopen ("conftest.val", "w");
19328 if (! f)
19329 return 1;
19330 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19331 {
19332 long int i = longval ();
19333 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19334 return 1;
19335 fprintf (f, "%ld\n", i);
19336 }
19337 else
19338 {
19339 unsigned long int i = ulongval ();
19340 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19341 return 1;
19342 fprintf (f, "%lu\n", i);
19343 }
19344 return ferror (f) || fclose (f) != 0;
19345
19346 ;
19347 return 0;
19348 }
19349 _ACEOF
19350 rm -f conftest$ac_exeext
19351 if { (ac_try="$ac_link"
19352 case "(($ac_try" in
19353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19354 *) ac_try_echo=$ac_try;;
19355 esac
19356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19357 (eval "$ac_link") 2>&5
19358 ac_status=$?
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19361 { (case "(($ac_try" in
19362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19363 *) ac_try_echo=$ac_try;;
19364 esac
19365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19366 (eval "$ac_try") 2>&5
19367 ac_status=$?
19368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19369 (exit $ac_status); }; }; then
19370 ac_cv_sizeof_short=`cat conftest.val`
19371 else
19372 echo "$as_me: program exited with status $ac_status" >&5
19373 echo "$as_me: failed program was:" >&5
19374 sed 's/^/| /' conftest.$ac_ext >&5
19375
19376 ( exit $ac_status )
19377 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19378 See \`config.log' for more details." >&5
19379 echo "$as_me: error: cannot compute sizeof (short)
19380 See \`config.log' for more details." >&2;}
19381 { (exit 77); exit 77; }; }
19382 fi
19383 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19384 fi
19385 rm -f conftest.val
19386 else
19387 ac_cv_sizeof_short=0
19388 fi
19389 fi
19390 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19391 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19392 cat >>confdefs.h <<_ACEOF
19393 #define SIZEOF_SHORT $ac_cv_sizeof_short
19394 _ACEOF
19395
19396
19397 { echo "$as_me:$LINENO: checking for void *" >&5
19398 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19399 if test "${ac_cv_type_void_p+set}" = set; then
19400 echo $ECHO_N "(cached) $ECHO_C" >&6
19401 else
19402 cat >conftest.$ac_ext <<_ACEOF
19403 /* confdefs.h. */
19404 _ACEOF
19405 cat confdefs.h >>conftest.$ac_ext
19406 cat >>conftest.$ac_ext <<_ACEOF
19407 /* end confdefs.h. */
19408 $ac_includes_default
19409 typedef void * ac__type_new_;
19410 int
19411 main ()
19412 {
19413 if ((ac__type_new_ *) 0)
19414 return 0;
19415 if (sizeof (ac__type_new_))
19416 return 0;
19417 ;
19418 return 0;
19419 }
19420 _ACEOF
19421 rm -f conftest.$ac_objext
19422 if { (ac_try="$ac_compile"
19423 case "(($ac_try" in
19424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19425 *) ac_try_echo=$ac_try;;
19426 esac
19427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19428 (eval "$ac_compile") 2>conftest.er1
19429 ac_status=$?
19430 grep -v '^ *+' conftest.er1 >conftest.err
19431 rm -f conftest.er1
19432 cat conftest.err >&5
19433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19434 (exit $ac_status); } &&
19435 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19436 { (case "(($ac_try" in
19437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19438 *) ac_try_echo=$ac_try;;
19439 esac
19440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19441 (eval "$ac_try") 2>&5
19442 ac_status=$?
19443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19444 (exit $ac_status); }; } &&
19445 { ac_try='test -s conftest.$ac_objext'
19446 { (case "(($ac_try" in
19447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19448 *) ac_try_echo=$ac_try;;
19449 esac
19450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19451 (eval "$ac_try") 2>&5
19452 ac_status=$?
19453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19454 (exit $ac_status); }; }; then
19455 ac_cv_type_void_p=yes
19456 else
19457 echo "$as_me: failed program was:" >&5
19458 sed 's/^/| /' conftest.$ac_ext >&5
19459
19460 ac_cv_type_void_p=no
19461 fi
19462
19463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19464 fi
19465 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19466 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19467
19468 { echo "$as_me:$LINENO: checking size of void *" >&5
19469 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19470 if test "${ac_cv_sizeof_void_p+set}" = set; then
19471 echo $ECHO_N "(cached) $ECHO_C" >&6
19472 else
19473 if test "$ac_cv_type_void_p" = yes; then
19474 # The cast to long int works around a bug in the HP C Compiler
19475 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19476 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19477 # This bug is HP SR number 8606223364.
19478 if test "$cross_compiling" = yes; then
19479 # Depending upon the size, compute the lo and hi bounds.
19480 cat >conftest.$ac_ext <<_ACEOF
19481 /* confdefs.h. */
19482 _ACEOF
19483 cat confdefs.h >>conftest.$ac_ext
19484 cat >>conftest.$ac_ext <<_ACEOF
19485 /* end confdefs.h. */
19486 $ac_includes_default
19487 typedef void * ac__type_sizeof_;
19488 int
19489 main ()
19490 {
19491 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19492 test_array [0] = 0
19493
19494 ;
19495 return 0;
19496 }
19497 _ACEOF
19498 rm -f conftest.$ac_objext
19499 if { (ac_try="$ac_compile"
19500 case "(($ac_try" in
19501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19502 *) ac_try_echo=$ac_try;;
19503 esac
19504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19505 (eval "$ac_compile") 2>conftest.er1
19506 ac_status=$?
19507 grep -v '^ *+' conftest.er1 >conftest.err
19508 rm -f conftest.er1
19509 cat conftest.err >&5
19510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19511 (exit $ac_status); } &&
19512 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19513 { (case "(($ac_try" in
19514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19515 *) ac_try_echo=$ac_try;;
19516 esac
19517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19518 (eval "$ac_try") 2>&5
19519 ac_status=$?
19520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521 (exit $ac_status); }; } &&
19522 { ac_try='test -s conftest.$ac_objext'
19523 { (case "(($ac_try" in
19524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19525 *) ac_try_echo=$ac_try;;
19526 esac
19527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19528 (eval "$ac_try") 2>&5
19529 ac_status=$?
19530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531 (exit $ac_status); }; }; then
19532 ac_lo=0 ac_mid=0
19533 while :; do
19534 cat >conftest.$ac_ext <<_ACEOF
19535 /* confdefs.h. */
19536 _ACEOF
19537 cat confdefs.h >>conftest.$ac_ext
19538 cat >>conftest.$ac_ext <<_ACEOF
19539 /* end confdefs.h. */
19540 $ac_includes_default
19541 typedef void * ac__type_sizeof_;
19542 int
19543 main ()
19544 {
19545 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19546 test_array [0] = 0
19547
19548 ;
19549 return 0;
19550 }
19551 _ACEOF
19552 rm -f conftest.$ac_objext
19553 if { (ac_try="$ac_compile"
19554 case "(($ac_try" in
19555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19556 *) ac_try_echo=$ac_try;;
19557 esac
19558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19559 (eval "$ac_compile") 2>conftest.er1
19560 ac_status=$?
19561 grep -v '^ *+' conftest.er1 >conftest.err
19562 rm -f conftest.er1
19563 cat conftest.err >&5
19564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19565 (exit $ac_status); } &&
19566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19567 { (case "(($ac_try" in
19568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19569 *) ac_try_echo=$ac_try;;
19570 esac
19571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19572 (eval "$ac_try") 2>&5
19573 ac_status=$?
19574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19575 (exit $ac_status); }; } &&
19576 { ac_try='test -s conftest.$ac_objext'
19577 { (case "(($ac_try" in
19578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19579 *) ac_try_echo=$ac_try;;
19580 esac
19581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19582 (eval "$ac_try") 2>&5
19583 ac_status=$?
19584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19585 (exit $ac_status); }; }; then
19586 ac_hi=$ac_mid; break
19587 else
19588 echo "$as_me: failed program was:" >&5
19589 sed 's/^/| /' conftest.$ac_ext >&5
19590
19591 ac_lo=`expr $ac_mid + 1`
19592 if test $ac_lo -le $ac_mid; then
19593 ac_lo= ac_hi=
19594 break
19595 fi
19596 ac_mid=`expr 2 '*' $ac_mid + 1`
19597 fi
19598
19599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19600 done
19601 else
19602 echo "$as_me: failed program was:" >&5
19603 sed 's/^/| /' conftest.$ac_ext >&5
19604
19605 cat >conftest.$ac_ext <<_ACEOF
19606 /* confdefs.h. */
19607 _ACEOF
19608 cat confdefs.h >>conftest.$ac_ext
19609 cat >>conftest.$ac_ext <<_ACEOF
19610 /* end confdefs.h. */
19611 $ac_includes_default
19612 typedef void * ac__type_sizeof_;
19613 int
19614 main ()
19615 {
19616 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19617 test_array [0] = 0
19618
19619 ;
19620 return 0;
19621 }
19622 _ACEOF
19623 rm -f conftest.$ac_objext
19624 if { (ac_try="$ac_compile"
19625 case "(($ac_try" in
19626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19627 *) ac_try_echo=$ac_try;;
19628 esac
19629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19630 (eval "$ac_compile") 2>conftest.er1
19631 ac_status=$?
19632 grep -v '^ *+' conftest.er1 >conftest.err
19633 rm -f conftest.er1
19634 cat conftest.err >&5
19635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19636 (exit $ac_status); } &&
19637 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19638 { (case "(($ac_try" in
19639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19640 *) ac_try_echo=$ac_try;;
19641 esac
19642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19643 (eval "$ac_try") 2>&5
19644 ac_status=$?
19645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19646 (exit $ac_status); }; } &&
19647 { ac_try='test -s conftest.$ac_objext'
19648 { (case "(($ac_try" in
19649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19650 *) ac_try_echo=$ac_try;;
19651 esac
19652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19653 (eval "$ac_try") 2>&5
19654 ac_status=$?
19655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656 (exit $ac_status); }; }; then
19657 ac_hi=-1 ac_mid=-1
19658 while :; do
19659 cat >conftest.$ac_ext <<_ACEOF
19660 /* confdefs.h. */
19661 _ACEOF
19662 cat confdefs.h >>conftest.$ac_ext
19663 cat >>conftest.$ac_ext <<_ACEOF
19664 /* end confdefs.h. */
19665 $ac_includes_default
19666 typedef void * ac__type_sizeof_;
19667 int
19668 main ()
19669 {
19670 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19671 test_array [0] = 0
19672
19673 ;
19674 return 0;
19675 }
19676 _ACEOF
19677 rm -f conftest.$ac_objext
19678 if { (ac_try="$ac_compile"
19679 case "(($ac_try" in
19680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19681 *) ac_try_echo=$ac_try;;
19682 esac
19683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19684 (eval "$ac_compile") 2>conftest.er1
19685 ac_status=$?
19686 grep -v '^ *+' conftest.er1 >conftest.err
19687 rm -f conftest.er1
19688 cat conftest.err >&5
19689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19690 (exit $ac_status); } &&
19691 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19692 { (case "(($ac_try" in
19693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19694 *) ac_try_echo=$ac_try;;
19695 esac
19696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19697 (eval "$ac_try") 2>&5
19698 ac_status=$?
19699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19700 (exit $ac_status); }; } &&
19701 { ac_try='test -s conftest.$ac_objext'
19702 { (case "(($ac_try" in
19703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19704 *) ac_try_echo=$ac_try;;
19705 esac
19706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19707 (eval "$ac_try") 2>&5
19708 ac_status=$?
19709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19710 (exit $ac_status); }; }; then
19711 ac_lo=$ac_mid; break
19712 else
19713 echo "$as_me: failed program was:" >&5
19714 sed 's/^/| /' conftest.$ac_ext >&5
19715
19716 ac_hi=`expr '(' $ac_mid ')' - 1`
19717 if test $ac_mid -le $ac_hi; then
19718 ac_lo= ac_hi=
19719 break
19720 fi
19721 ac_mid=`expr 2 '*' $ac_mid`
19722 fi
19723
19724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19725 done
19726 else
19727 echo "$as_me: failed program was:" >&5
19728 sed 's/^/| /' conftest.$ac_ext >&5
19729
19730 ac_lo= ac_hi=
19731 fi
19732
19733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19734 fi
19735
19736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19737 # Binary search between lo and hi bounds.
19738 while test "x$ac_lo" != "x$ac_hi"; do
19739 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19740 cat >conftest.$ac_ext <<_ACEOF
19741 /* confdefs.h. */
19742 _ACEOF
19743 cat confdefs.h >>conftest.$ac_ext
19744 cat >>conftest.$ac_ext <<_ACEOF
19745 /* end confdefs.h. */
19746 $ac_includes_default
19747 typedef void * ac__type_sizeof_;
19748 int
19749 main ()
19750 {
19751 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19752 test_array [0] = 0
19753
19754 ;
19755 return 0;
19756 }
19757 _ACEOF
19758 rm -f conftest.$ac_objext
19759 if { (ac_try="$ac_compile"
19760 case "(($ac_try" in
19761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19762 *) ac_try_echo=$ac_try;;
19763 esac
19764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19765 (eval "$ac_compile") 2>conftest.er1
19766 ac_status=$?
19767 grep -v '^ *+' conftest.er1 >conftest.err
19768 rm -f conftest.er1
19769 cat conftest.err >&5
19770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19771 (exit $ac_status); } &&
19772 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19773 { (case "(($ac_try" in
19774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19775 *) ac_try_echo=$ac_try;;
19776 esac
19777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19778 (eval "$ac_try") 2>&5
19779 ac_status=$?
19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19781 (exit $ac_status); }; } &&
19782 { ac_try='test -s conftest.$ac_objext'
19783 { (case "(($ac_try" in
19784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19785 *) ac_try_echo=$ac_try;;
19786 esac
19787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19788 (eval "$ac_try") 2>&5
19789 ac_status=$?
19790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19791 (exit $ac_status); }; }; then
19792 ac_hi=$ac_mid
19793 else
19794 echo "$as_me: failed program was:" >&5
19795 sed 's/^/| /' conftest.$ac_ext >&5
19796
19797 ac_lo=`expr '(' $ac_mid ')' + 1`
19798 fi
19799
19800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19801 done
19802 case $ac_lo in
19803 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19804 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19805 See \`config.log' for more details." >&5
19806 echo "$as_me: error: cannot compute sizeof (void *)
19807 See \`config.log' for more details." >&2;}
19808 { (exit 77); exit 77; }; } ;;
19809 esac
19810 else
19811 cat >conftest.$ac_ext <<_ACEOF
19812 /* confdefs.h. */
19813 _ACEOF
19814 cat confdefs.h >>conftest.$ac_ext
19815 cat >>conftest.$ac_ext <<_ACEOF
19816 /* end confdefs.h. */
19817 $ac_includes_default
19818 typedef void * ac__type_sizeof_;
19819 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19820 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19821 #include <stdio.h>
19822 #include <stdlib.h>
19823 int
19824 main ()
19825 {
19826
19827 FILE *f = fopen ("conftest.val", "w");
19828 if (! f)
19829 return 1;
19830 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19831 {
19832 long int i = longval ();
19833 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19834 return 1;
19835 fprintf (f, "%ld\n", i);
19836 }
19837 else
19838 {
19839 unsigned long int i = ulongval ();
19840 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19841 return 1;
19842 fprintf (f, "%lu\n", i);
19843 }
19844 return ferror (f) || fclose (f) != 0;
19845
19846 ;
19847 return 0;
19848 }
19849 _ACEOF
19850 rm -f conftest$ac_exeext
19851 if { (ac_try="$ac_link"
19852 case "(($ac_try" in
19853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19854 *) ac_try_echo=$ac_try;;
19855 esac
19856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19857 (eval "$ac_link") 2>&5
19858 ac_status=$?
19859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19860 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19861 { (case "(($ac_try" in
19862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19863 *) ac_try_echo=$ac_try;;
19864 esac
19865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19866 (eval "$ac_try") 2>&5
19867 ac_status=$?
19868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19869 (exit $ac_status); }; }; then
19870 ac_cv_sizeof_void_p=`cat conftest.val`
19871 else
19872 echo "$as_me: program exited with status $ac_status" >&5
19873 echo "$as_me: failed program was:" >&5
19874 sed 's/^/| /' conftest.$ac_ext >&5
19875
19876 ( exit $ac_status )
19877 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19878 See \`config.log' for more details." >&5
19879 echo "$as_me: error: cannot compute sizeof (void *)
19880 See \`config.log' for more details." >&2;}
19881 { (exit 77); exit 77; }; }
19882 fi
19883 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19884 fi
19885 rm -f conftest.val
19886 else
19887 ac_cv_sizeof_void_p=0
19888 fi
19889 fi
19890 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19891 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19892 cat >>confdefs.h <<_ACEOF
19893 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19894 _ACEOF
19895
19896
19897 { echo "$as_me:$LINENO: checking for int" >&5
19898 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19899 if test "${ac_cv_type_int+set}" = set; then
19900 echo $ECHO_N "(cached) $ECHO_C" >&6
19901 else
19902 cat >conftest.$ac_ext <<_ACEOF
19903 /* confdefs.h. */
19904 _ACEOF
19905 cat confdefs.h >>conftest.$ac_ext
19906 cat >>conftest.$ac_ext <<_ACEOF
19907 /* end confdefs.h. */
19908 $ac_includes_default
19909 typedef int ac__type_new_;
19910 int
19911 main ()
19912 {
19913 if ((ac__type_new_ *) 0)
19914 return 0;
19915 if (sizeof (ac__type_new_))
19916 return 0;
19917 ;
19918 return 0;
19919 }
19920 _ACEOF
19921 rm -f conftest.$ac_objext
19922 if { (ac_try="$ac_compile"
19923 case "(($ac_try" in
19924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19925 *) ac_try_echo=$ac_try;;
19926 esac
19927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19928 (eval "$ac_compile") 2>conftest.er1
19929 ac_status=$?
19930 grep -v '^ *+' conftest.er1 >conftest.err
19931 rm -f conftest.er1
19932 cat conftest.err >&5
19933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19934 (exit $ac_status); } &&
19935 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19936 { (case "(($ac_try" in
19937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19938 *) ac_try_echo=$ac_try;;
19939 esac
19940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19941 (eval "$ac_try") 2>&5
19942 ac_status=$?
19943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19944 (exit $ac_status); }; } &&
19945 { ac_try='test -s conftest.$ac_objext'
19946 { (case "(($ac_try" in
19947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19948 *) ac_try_echo=$ac_try;;
19949 esac
19950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19951 (eval "$ac_try") 2>&5
19952 ac_status=$?
19953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954 (exit $ac_status); }; }; then
19955 ac_cv_type_int=yes
19956 else
19957 echo "$as_me: failed program was:" >&5
19958 sed 's/^/| /' conftest.$ac_ext >&5
19959
19960 ac_cv_type_int=no
19961 fi
19962
19963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19964 fi
19965 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19966 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19967
19968 { echo "$as_me:$LINENO: checking size of int" >&5
19969 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19970 if test "${ac_cv_sizeof_int+set}" = set; then
19971 echo $ECHO_N "(cached) $ECHO_C" >&6
19972 else
19973 if test "$ac_cv_type_int" = yes; then
19974 # The cast to long int works around a bug in the HP C Compiler
19975 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19976 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19977 # This bug is HP SR number 8606223364.
19978 if test "$cross_compiling" = yes; then
19979 # Depending upon the size, compute the lo and hi bounds.
19980 cat >conftest.$ac_ext <<_ACEOF
19981 /* confdefs.h. */
19982 _ACEOF
19983 cat confdefs.h >>conftest.$ac_ext
19984 cat >>conftest.$ac_ext <<_ACEOF
19985 /* end confdefs.h. */
19986 $ac_includes_default
19987 typedef int ac__type_sizeof_;
19988 int
19989 main ()
19990 {
19991 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19992 test_array [0] = 0
19993
19994 ;
19995 return 0;
19996 }
19997 _ACEOF
19998 rm -f conftest.$ac_objext
19999 if { (ac_try="$ac_compile"
20000 case "(($ac_try" in
20001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20002 *) ac_try_echo=$ac_try;;
20003 esac
20004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20005 (eval "$ac_compile") 2>conftest.er1
20006 ac_status=$?
20007 grep -v '^ *+' conftest.er1 >conftest.err
20008 rm -f conftest.er1
20009 cat conftest.err >&5
20010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20011 (exit $ac_status); } &&
20012 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20013 { (case "(($ac_try" in
20014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20015 *) ac_try_echo=$ac_try;;
20016 esac
20017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20018 (eval "$ac_try") 2>&5
20019 ac_status=$?
20020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021 (exit $ac_status); }; } &&
20022 { ac_try='test -s conftest.$ac_objext'
20023 { (case "(($ac_try" in
20024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20025 *) ac_try_echo=$ac_try;;
20026 esac
20027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20028 (eval "$ac_try") 2>&5
20029 ac_status=$?
20030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20031 (exit $ac_status); }; }; then
20032 ac_lo=0 ac_mid=0
20033 while :; do
20034 cat >conftest.$ac_ext <<_ACEOF
20035 /* confdefs.h. */
20036 _ACEOF
20037 cat confdefs.h >>conftest.$ac_ext
20038 cat >>conftest.$ac_ext <<_ACEOF
20039 /* end confdefs.h. */
20040 $ac_includes_default
20041 typedef int ac__type_sizeof_;
20042 int
20043 main ()
20044 {
20045 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20046 test_array [0] = 0
20047
20048 ;
20049 return 0;
20050 }
20051 _ACEOF
20052 rm -f conftest.$ac_objext
20053 if { (ac_try="$ac_compile"
20054 case "(($ac_try" in
20055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20056 *) ac_try_echo=$ac_try;;
20057 esac
20058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20059 (eval "$ac_compile") 2>conftest.er1
20060 ac_status=$?
20061 grep -v '^ *+' conftest.er1 >conftest.err
20062 rm -f conftest.er1
20063 cat conftest.err >&5
20064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20065 (exit $ac_status); } &&
20066 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20067 { (case "(($ac_try" in
20068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20069 *) ac_try_echo=$ac_try;;
20070 esac
20071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20072 (eval "$ac_try") 2>&5
20073 ac_status=$?
20074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20075 (exit $ac_status); }; } &&
20076 { ac_try='test -s conftest.$ac_objext'
20077 { (case "(($ac_try" in
20078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20079 *) ac_try_echo=$ac_try;;
20080 esac
20081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20082 (eval "$ac_try") 2>&5
20083 ac_status=$?
20084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20085 (exit $ac_status); }; }; then
20086 ac_hi=$ac_mid; break
20087 else
20088 echo "$as_me: failed program was:" >&5
20089 sed 's/^/| /' conftest.$ac_ext >&5
20090
20091 ac_lo=`expr $ac_mid + 1`
20092 if test $ac_lo -le $ac_mid; then
20093 ac_lo= ac_hi=
20094 break
20095 fi
20096 ac_mid=`expr 2 '*' $ac_mid + 1`
20097 fi
20098
20099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20100 done
20101 else
20102 echo "$as_me: failed program was:" >&5
20103 sed 's/^/| /' conftest.$ac_ext >&5
20104
20105 cat >conftest.$ac_ext <<_ACEOF
20106 /* confdefs.h. */
20107 _ACEOF
20108 cat confdefs.h >>conftest.$ac_ext
20109 cat >>conftest.$ac_ext <<_ACEOF
20110 /* end confdefs.h. */
20111 $ac_includes_default
20112 typedef int ac__type_sizeof_;
20113 int
20114 main ()
20115 {
20116 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20117 test_array [0] = 0
20118
20119 ;
20120 return 0;
20121 }
20122 _ACEOF
20123 rm -f conftest.$ac_objext
20124 if { (ac_try="$ac_compile"
20125 case "(($ac_try" in
20126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20127 *) ac_try_echo=$ac_try;;
20128 esac
20129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20130 (eval "$ac_compile") 2>conftest.er1
20131 ac_status=$?
20132 grep -v '^ *+' conftest.er1 >conftest.err
20133 rm -f conftest.er1
20134 cat conftest.err >&5
20135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20136 (exit $ac_status); } &&
20137 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20138 { (case "(($ac_try" in
20139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20140 *) ac_try_echo=$ac_try;;
20141 esac
20142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20143 (eval "$ac_try") 2>&5
20144 ac_status=$?
20145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20146 (exit $ac_status); }; } &&
20147 { ac_try='test -s conftest.$ac_objext'
20148 { (case "(($ac_try" in
20149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20150 *) ac_try_echo=$ac_try;;
20151 esac
20152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20153 (eval "$ac_try") 2>&5
20154 ac_status=$?
20155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20156 (exit $ac_status); }; }; then
20157 ac_hi=-1 ac_mid=-1
20158 while :; do
20159 cat >conftest.$ac_ext <<_ACEOF
20160 /* confdefs.h. */
20161 _ACEOF
20162 cat confdefs.h >>conftest.$ac_ext
20163 cat >>conftest.$ac_ext <<_ACEOF
20164 /* end confdefs.h. */
20165 $ac_includes_default
20166 typedef int ac__type_sizeof_;
20167 int
20168 main ()
20169 {
20170 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20171 test_array [0] = 0
20172
20173 ;
20174 return 0;
20175 }
20176 _ACEOF
20177 rm -f conftest.$ac_objext
20178 if { (ac_try="$ac_compile"
20179 case "(($ac_try" in
20180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20181 *) ac_try_echo=$ac_try;;
20182 esac
20183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20184 (eval "$ac_compile") 2>conftest.er1
20185 ac_status=$?
20186 grep -v '^ *+' conftest.er1 >conftest.err
20187 rm -f conftest.er1
20188 cat conftest.err >&5
20189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20190 (exit $ac_status); } &&
20191 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20192 { (case "(($ac_try" in
20193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20194 *) ac_try_echo=$ac_try;;
20195 esac
20196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20197 (eval "$ac_try") 2>&5
20198 ac_status=$?
20199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20200 (exit $ac_status); }; } &&
20201 { ac_try='test -s conftest.$ac_objext'
20202 { (case "(($ac_try" in
20203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20204 *) ac_try_echo=$ac_try;;
20205 esac
20206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20207 (eval "$ac_try") 2>&5
20208 ac_status=$?
20209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20210 (exit $ac_status); }; }; then
20211 ac_lo=$ac_mid; break
20212 else
20213 echo "$as_me: failed program was:" >&5
20214 sed 's/^/| /' conftest.$ac_ext >&5
20215
20216 ac_hi=`expr '(' $ac_mid ')' - 1`
20217 if test $ac_mid -le $ac_hi; then
20218 ac_lo= ac_hi=
20219 break
20220 fi
20221 ac_mid=`expr 2 '*' $ac_mid`
20222 fi
20223
20224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20225 done
20226 else
20227 echo "$as_me: failed program was:" >&5
20228 sed 's/^/| /' conftest.$ac_ext >&5
20229
20230 ac_lo= ac_hi=
20231 fi
20232
20233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20234 fi
20235
20236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20237 # Binary search between lo and hi bounds.
20238 while test "x$ac_lo" != "x$ac_hi"; do
20239 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20240 cat >conftest.$ac_ext <<_ACEOF
20241 /* confdefs.h. */
20242 _ACEOF
20243 cat confdefs.h >>conftest.$ac_ext
20244 cat >>conftest.$ac_ext <<_ACEOF
20245 /* end confdefs.h. */
20246 $ac_includes_default
20247 typedef int ac__type_sizeof_;
20248 int
20249 main ()
20250 {
20251 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20252 test_array [0] = 0
20253
20254 ;
20255 return 0;
20256 }
20257 _ACEOF
20258 rm -f conftest.$ac_objext
20259 if { (ac_try="$ac_compile"
20260 case "(($ac_try" in
20261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20262 *) ac_try_echo=$ac_try;;
20263 esac
20264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20265 (eval "$ac_compile") 2>conftest.er1
20266 ac_status=$?
20267 grep -v '^ *+' conftest.er1 >conftest.err
20268 rm -f conftest.er1
20269 cat conftest.err >&5
20270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20271 (exit $ac_status); } &&
20272 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20273 { (case "(($ac_try" in
20274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20275 *) ac_try_echo=$ac_try;;
20276 esac
20277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20278 (eval "$ac_try") 2>&5
20279 ac_status=$?
20280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20281 (exit $ac_status); }; } &&
20282 { ac_try='test -s conftest.$ac_objext'
20283 { (case "(($ac_try" in
20284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20285 *) ac_try_echo=$ac_try;;
20286 esac
20287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20288 (eval "$ac_try") 2>&5
20289 ac_status=$?
20290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20291 (exit $ac_status); }; }; then
20292 ac_hi=$ac_mid
20293 else
20294 echo "$as_me: failed program was:" >&5
20295 sed 's/^/| /' conftest.$ac_ext >&5
20296
20297 ac_lo=`expr '(' $ac_mid ')' + 1`
20298 fi
20299
20300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20301 done
20302 case $ac_lo in
20303 ?*) ac_cv_sizeof_int=$ac_lo;;
20304 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20305 See \`config.log' for more details." >&5
20306 echo "$as_me: error: cannot compute sizeof (int)
20307 See \`config.log' for more details." >&2;}
20308 { (exit 77); exit 77; }; } ;;
20309 esac
20310 else
20311 cat >conftest.$ac_ext <<_ACEOF
20312 /* confdefs.h. */
20313 _ACEOF
20314 cat confdefs.h >>conftest.$ac_ext
20315 cat >>conftest.$ac_ext <<_ACEOF
20316 /* end confdefs.h. */
20317 $ac_includes_default
20318 typedef int ac__type_sizeof_;
20319 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20320 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20321 #include <stdio.h>
20322 #include <stdlib.h>
20323 int
20324 main ()
20325 {
20326
20327 FILE *f = fopen ("conftest.val", "w");
20328 if (! f)
20329 return 1;
20330 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20331 {
20332 long int i = longval ();
20333 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20334 return 1;
20335 fprintf (f, "%ld\n", i);
20336 }
20337 else
20338 {
20339 unsigned long int i = ulongval ();
20340 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20341 return 1;
20342 fprintf (f, "%lu\n", i);
20343 }
20344 return ferror (f) || fclose (f) != 0;
20345
20346 ;
20347 return 0;
20348 }
20349 _ACEOF
20350 rm -f conftest$ac_exeext
20351 if { (ac_try="$ac_link"
20352 case "(($ac_try" in
20353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20354 *) ac_try_echo=$ac_try;;
20355 esac
20356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20357 (eval "$ac_link") 2>&5
20358 ac_status=$?
20359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20360 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20361 { (case "(($ac_try" in
20362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20363 *) ac_try_echo=$ac_try;;
20364 esac
20365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20366 (eval "$ac_try") 2>&5
20367 ac_status=$?
20368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20369 (exit $ac_status); }; }; then
20370 ac_cv_sizeof_int=`cat conftest.val`
20371 else
20372 echo "$as_me: program exited with status $ac_status" >&5
20373 echo "$as_me: failed program was:" >&5
20374 sed 's/^/| /' conftest.$ac_ext >&5
20375
20376 ( exit $ac_status )
20377 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20378 See \`config.log' for more details." >&5
20379 echo "$as_me: error: cannot compute sizeof (int)
20380 See \`config.log' for more details." >&2;}
20381 { (exit 77); exit 77; }; }
20382 fi
20383 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20384 fi
20385 rm -f conftest.val
20386 else
20387 ac_cv_sizeof_int=0
20388 fi
20389 fi
20390 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20391 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20392 cat >>confdefs.h <<_ACEOF
20393 #define SIZEOF_INT $ac_cv_sizeof_int
20394 _ACEOF
20395
20396
20397 { echo "$as_me:$LINENO: checking for long" >&5
20398 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20399 if test "${ac_cv_type_long+set}" = set; then
20400 echo $ECHO_N "(cached) $ECHO_C" >&6
20401 else
20402 cat >conftest.$ac_ext <<_ACEOF
20403 /* confdefs.h. */
20404 _ACEOF
20405 cat confdefs.h >>conftest.$ac_ext
20406 cat >>conftest.$ac_ext <<_ACEOF
20407 /* end confdefs.h. */
20408 $ac_includes_default
20409 typedef long ac__type_new_;
20410 int
20411 main ()
20412 {
20413 if ((ac__type_new_ *) 0)
20414 return 0;
20415 if (sizeof (ac__type_new_))
20416 return 0;
20417 ;
20418 return 0;
20419 }
20420 _ACEOF
20421 rm -f conftest.$ac_objext
20422 if { (ac_try="$ac_compile"
20423 case "(($ac_try" in
20424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20425 *) ac_try_echo=$ac_try;;
20426 esac
20427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20428 (eval "$ac_compile") 2>conftest.er1
20429 ac_status=$?
20430 grep -v '^ *+' conftest.er1 >conftest.err
20431 rm -f conftest.er1
20432 cat conftest.err >&5
20433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20434 (exit $ac_status); } &&
20435 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20436 { (case "(($ac_try" in
20437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20438 *) ac_try_echo=$ac_try;;
20439 esac
20440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20441 (eval "$ac_try") 2>&5
20442 ac_status=$?
20443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20444 (exit $ac_status); }; } &&
20445 { ac_try='test -s conftest.$ac_objext'
20446 { (case "(($ac_try" in
20447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20448 *) ac_try_echo=$ac_try;;
20449 esac
20450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20451 (eval "$ac_try") 2>&5
20452 ac_status=$?
20453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20454 (exit $ac_status); }; }; then
20455 ac_cv_type_long=yes
20456 else
20457 echo "$as_me: failed program was:" >&5
20458 sed 's/^/| /' conftest.$ac_ext >&5
20459
20460 ac_cv_type_long=no
20461 fi
20462
20463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20464 fi
20465 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20466 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20467
20468 { echo "$as_me:$LINENO: checking size of long" >&5
20469 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20470 if test "${ac_cv_sizeof_long+set}" = set; then
20471 echo $ECHO_N "(cached) $ECHO_C" >&6
20472 else
20473 if test "$ac_cv_type_long" = yes; then
20474 # The cast to long int works around a bug in the HP C Compiler
20475 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20476 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20477 # This bug is HP SR number 8606223364.
20478 if test "$cross_compiling" = yes; then
20479 # Depending upon the size, compute the lo and hi bounds.
20480 cat >conftest.$ac_ext <<_ACEOF
20481 /* confdefs.h. */
20482 _ACEOF
20483 cat confdefs.h >>conftest.$ac_ext
20484 cat >>conftest.$ac_ext <<_ACEOF
20485 /* end confdefs.h. */
20486 $ac_includes_default
20487 typedef long ac__type_sizeof_;
20488 int
20489 main ()
20490 {
20491 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20492 test_array [0] = 0
20493
20494 ;
20495 return 0;
20496 }
20497 _ACEOF
20498 rm -f conftest.$ac_objext
20499 if { (ac_try="$ac_compile"
20500 case "(($ac_try" in
20501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20502 *) ac_try_echo=$ac_try;;
20503 esac
20504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20505 (eval "$ac_compile") 2>conftest.er1
20506 ac_status=$?
20507 grep -v '^ *+' conftest.er1 >conftest.err
20508 rm -f conftest.er1
20509 cat conftest.err >&5
20510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20511 (exit $ac_status); } &&
20512 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20513 { (case "(($ac_try" in
20514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20515 *) ac_try_echo=$ac_try;;
20516 esac
20517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20518 (eval "$ac_try") 2>&5
20519 ac_status=$?
20520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20521 (exit $ac_status); }; } &&
20522 { ac_try='test -s conftest.$ac_objext'
20523 { (case "(($ac_try" in
20524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20525 *) ac_try_echo=$ac_try;;
20526 esac
20527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20528 (eval "$ac_try") 2>&5
20529 ac_status=$?
20530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20531 (exit $ac_status); }; }; then
20532 ac_lo=0 ac_mid=0
20533 while :; do
20534 cat >conftest.$ac_ext <<_ACEOF
20535 /* confdefs.h. */
20536 _ACEOF
20537 cat confdefs.h >>conftest.$ac_ext
20538 cat >>conftest.$ac_ext <<_ACEOF
20539 /* end confdefs.h. */
20540 $ac_includes_default
20541 typedef long ac__type_sizeof_;
20542 int
20543 main ()
20544 {
20545 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20546 test_array [0] = 0
20547
20548 ;
20549 return 0;
20550 }
20551 _ACEOF
20552 rm -f conftest.$ac_objext
20553 if { (ac_try="$ac_compile"
20554 case "(($ac_try" in
20555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20556 *) ac_try_echo=$ac_try;;
20557 esac
20558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20559 (eval "$ac_compile") 2>conftest.er1
20560 ac_status=$?
20561 grep -v '^ *+' conftest.er1 >conftest.err
20562 rm -f conftest.er1
20563 cat conftest.err >&5
20564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20565 (exit $ac_status); } &&
20566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20567 { (case "(($ac_try" in
20568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20569 *) ac_try_echo=$ac_try;;
20570 esac
20571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20572 (eval "$ac_try") 2>&5
20573 ac_status=$?
20574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20575 (exit $ac_status); }; } &&
20576 { ac_try='test -s conftest.$ac_objext'
20577 { (case "(($ac_try" in
20578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20579 *) ac_try_echo=$ac_try;;
20580 esac
20581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20582 (eval "$ac_try") 2>&5
20583 ac_status=$?
20584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20585 (exit $ac_status); }; }; then
20586 ac_hi=$ac_mid; break
20587 else
20588 echo "$as_me: failed program was:" >&5
20589 sed 's/^/| /' conftest.$ac_ext >&5
20590
20591 ac_lo=`expr $ac_mid + 1`
20592 if test $ac_lo -le $ac_mid; then
20593 ac_lo= ac_hi=
20594 break
20595 fi
20596 ac_mid=`expr 2 '*' $ac_mid + 1`
20597 fi
20598
20599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20600 done
20601 else
20602 echo "$as_me: failed program was:" >&5
20603 sed 's/^/| /' conftest.$ac_ext >&5
20604
20605 cat >conftest.$ac_ext <<_ACEOF
20606 /* confdefs.h. */
20607 _ACEOF
20608 cat confdefs.h >>conftest.$ac_ext
20609 cat >>conftest.$ac_ext <<_ACEOF
20610 /* end confdefs.h. */
20611 $ac_includes_default
20612 typedef long ac__type_sizeof_;
20613 int
20614 main ()
20615 {
20616 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20617 test_array [0] = 0
20618
20619 ;
20620 return 0;
20621 }
20622 _ACEOF
20623 rm -f conftest.$ac_objext
20624 if { (ac_try="$ac_compile"
20625 case "(($ac_try" in
20626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20627 *) ac_try_echo=$ac_try;;
20628 esac
20629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20630 (eval "$ac_compile") 2>conftest.er1
20631 ac_status=$?
20632 grep -v '^ *+' conftest.er1 >conftest.err
20633 rm -f conftest.er1
20634 cat conftest.err >&5
20635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20636 (exit $ac_status); } &&
20637 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20638 { (case "(($ac_try" in
20639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20640 *) ac_try_echo=$ac_try;;
20641 esac
20642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20643 (eval "$ac_try") 2>&5
20644 ac_status=$?
20645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20646 (exit $ac_status); }; } &&
20647 { ac_try='test -s conftest.$ac_objext'
20648 { (case "(($ac_try" in
20649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20650 *) ac_try_echo=$ac_try;;
20651 esac
20652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20653 (eval "$ac_try") 2>&5
20654 ac_status=$?
20655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20656 (exit $ac_status); }; }; then
20657 ac_hi=-1 ac_mid=-1
20658 while :; do
20659 cat >conftest.$ac_ext <<_ACEOF
20660 /* confdefs.h. */
20661 _ACEOF
20662 cat confdefs.h >>conftest.$ac_ext
20663 cat >>conftest.$ac_ext <<_ACEOF
20664 /* end confdefs.h. */
20665 $ac_includes_default
20666 typedef long ac__type_sizeof_;
20667 int
20668 main ()
20669 {
20670 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20671 test_array [0] = 0
20672
20673 ;
20674 return 0;
20675 }
20676 _ACEOF
20677 rm -f conftest.$ac_objext
20678 if { (ac_try="$ac_compile"
20679 case "(($ac_try" in
20680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20681 *) ac_try_echo=$ac_try;;
20682 esac
20683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20684 (eval "$ac_compile") 2>conftest.er1
20685 ac_status=$?
20686 grep -v '^ *+' conftest.er1 >conftest.err
20687 rm -f conftest.er1
20688 cat conftest.err >&5
20689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20690 (exit $ac_status); } &&
20691 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20692 { (case "(($ac_try" in
20693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20694 *) ac_try_echo=$ac_try;;
20695 esac
20696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20697 (eval "$ac_try") 2>&5
20698 ac_status=$?
20699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20700 (exit $ac_status); }; } &&
20701 { ac_try='test -s conftest.$ac_objext'
20702 { (case "(($ac_try" in
20703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20704 *) ac_try_echo=$ac_try;;
20705 esac
20706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20707 (eval "$ac_try") 2>&5
20708 ac_status=$?
20709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20710 (exit $ac_status); }; }; then
20711 ac_lo=$ac_mid; break
20712 else
20713 echo "$as_me: failed program was:" >&5
20714 sed 's/^/| /' conftest.$ac_ext >&5
20715
20716 ac_hi=`expr '(' $ac_mid ')' - 1`
20717 if test $ac_mid -le $ac_hi; then
20718 ac_lo= ac_hi=
20719 break
20720 fi
20721 ac_mid=`expr 2 '*' $ac_mid`
20722 fi
20723
20724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20725 done
20726 else
20727 echo "$as_me: failed program was:" >&5
20728 sed 's/^/| /' conftest.$ac_ext >&5
20729
20730 ac_lo= ac_hi=
20731 fi
20732
20733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20734 fi
20735
20736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20737 # Binary search between lo and hi bounds.
20738 while test "x$ac_lo" != "x$ac_hi"; do
20739 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20740 cat >conftest.$ac_ext <<_ACEOF
20741 /* confdefs.h. */
20742 _ACEOF
20743 cat confdefs.h >>conftest.$ac_ext
20744 cat >>conftest.$ac_ext <<_ACEOF
20745 /* end confdefs.h. */
20746 $ac_includes_default
20747 typedef long ac__type_sizeof_;
20748 int
20749 main ()
20750 {
20751 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20752 test_array [0] = 0
20753
20754 ;
20755 return 0;
20756 }
20757 _ACEOF
20758 rm -f conftest.$ac_objext
20759 if { (ac_try="$ac_compile"
20760 case "(($ac_try" in
20761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20762 *) ac_try_echo=$ac_try;;
20763 esac
20764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20765 (eval "$ac_compile") 2>conftest.er1
20766 ac_status=$?
20767 grep -v '^ *+' conftest.er1 >conftest.err
20768 rm -f conftest.er1
20769 cat conftest.err >&5
20770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20771 (exit $ac_status); } &&
20772 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20773 { (case "(($ac_try" in
20774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20775 *) ac_try_echo=$ac_try;;
20776 esac
20777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20778 (eval "$ac_try") 2>&5
20779 ac_status=$?
20780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781 (exit $ac_status); }; } &&
20782 { ac_try='test -s conftest.$ac_objext'
20783 { (case "(($ac_try" in
20784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20785 *) ac_try_echo=$ac_try;;
20786 esac
20787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20788 (eval "$ac_try") 2>&5
20789 ac_status=$?
20790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20791 (exit $ac_status); }; }; then
20792 ac_hi=$ac_mid
20793 else
20794 echo "$as_me: failed program was:" >&5
20795 sed 's/^/| /' conftest.$ac_ext >&5
20796
20797 ac_lo=`expr '(' $ac_mid ')' + 1`
20798 fi
20799
20800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20801 done
20802 case $ac_lo in
20803 ?*) ac_cv_sizeof_long=$ac_lo;;
20804 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20805 See \`config.log' for more details." >&5
20806 echo "$as_me: error: cannot compute sizeof (long)
20807 See \`config.log' for more details." >&2;}
20808 { (exit 77); exit 77; }; } ;;
20809 esac
20810 else
20811 cat >conftest.$ac_ext <<_ACEOF
20812 /* confdefs.h. */
20813 _ACEOF
20814 cat confdefs.h >>conftest.$ac_ext
20815 cat >>conftest.$ac_ext <<_ACEOF
20816 /* end confdefs.h. */
20817 $ac_includes_default
20818 typedef long ac__type_sizeof_;
20819 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20820 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20821 #include <stdio.h>
20822 #include <stdlib.h>
20823 int
20824 main ()
20825 {
20826
20827 FILE *f = fopen ("conftest.val", "w");
20828 if (! f)
20829 return 1;
20830 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20831 {
20832 long int i = longval ();
20833 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20834 return 1;
20835 fprintf (f, "%ld\n", i);
20836 }
20837 else
20838 {
20839 unsigned long int i = ulongval ();
20840 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20841 return 1;
20842 fprintf (f, "%lu\n", i);
20843 }
20844 return ferror (f) || fclose (f) != 0;
20845
20846 ;
20847 return 0;
20848 }
20849 _ACEOF
20850 rm -f conftest$ac_exeext
20851 if { (ac_try="$ac_link"
20852 case "(($ac_try" in
20853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20854 *) ac_try_echo=$ac_try;;
20855 esac
20856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20857 (eval "$ac_link") 2>&5
20858 ac_status=$?
20859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20860 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20861 { (case "(($ac_try" in
20862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20863 *) ac_try_echo=$ac_try;;
20864 esac
20865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20866 (eval "$ac_try") 2>&5
20867 ac_status=$?
20868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20869 (exit $ac_status); }; }; then
20870 ac_cv_sizeof_long=`cat conftest.val`
20871 else
20872 echo "$as_me: program exited with status $ac_status" >&5
20873 echo "$as_me: failed program was:" >&5
20874 sed 's/^/| /' conftest.$ac_ext >&5
20875
20876 ( exit $ac_status )
20877 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20878 See \`config.log' for more details." >&5
20879 echo "$as_me: error: cannot compute sizeof (long)
20880 See \`config.log' for more details." >&2;}
20881 { (exit 77); exit 77; }; }
20882 fi
20883 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20884 fi
20885 rm -f conftest.val
20886 else
20887 ac_cv_sizeof_long=0
20888 fi
20889 fi
20890 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20891 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20892 cat >>confdefs.h <<_ACEOF
20893 #define SIZEOF_LONG $ac_cv_sizeof_long
20894 _ACEOF
20895
20896
20897 { echo "$as_me:$LINENO: checking for size_t" >&5
20898 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20899 if test "${ac_cv_type_size_t+set}" = set; then
20900 echo $ECHO_N "(cached) $ECHO_C" >&6
20901 else
20902 cat >conftest.$ac_ext <<_ACEOF
20903 /* confdefs.h. */
20904 _ACEOF
20905 cat confdefs.h >>conftest.$ac_ext
20906 cat >>conftest.$ac_ext <<_ACEOF
20907 /* end confdefs.h. */
20908 $ac_includes_default
20909 typedef size_t ac__type_new_;
20910 int
20911 main ()
20912 {
20913 if ((ac__type_new_ *) 0)
20914 return 0;
20915 if (sizeof (ac__type_new_))
20916 return 0;
20917 ;
20918 return 0;
20919 }
20920 _ACEOF
20921 rm -f conftest.$ac_objext
20922 if { (ac_try="$ac_compile"
20923 case "(($ac_try" in
20924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20925 *) ac_try_echo=$ac_try;;
20926 esac
20927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20928 (eval "$ac_compile") 2>conftest.er1
20929 ac_status=$?
20930 grep -v '^ *+' conftest.er1 >conftest.err
20931 rm -f conftest.er1
20932 cat conftest.err >&5
20933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20934 (exit $ac_status); } &&
20935 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20936 { (case "(($ac_try" in
20937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20938 *) ac_try_echo=$ac_try;;
20939 esac
20940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20941 (eval "$ac_try") 2>&5
20942 ac_status=$?
20943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20944 (exit $ac_status); }; } &&
20945 { ac_try='test -s conftest.$ac_objext'
20946 { (case "(($ac_try" in
20947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20948 *) ac_try_echo=$ac_try;;
20949 esac
20950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20951 (eval "$ac_try") 2>&5
20952 ac_status=$?
20953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20954 (exit $ac_status); }; }; then
20955 ac_cv_type_size_t=yes
20956 else
20957 echo "$as_me: failed program was:" >&5
20958 sed 's/^/| /' conftest.$ac_ext >&5
20959
20960 ac_cv_type_size_t=no
20961 fi
20962
20963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20964 fi
20965 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20966 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20967
20968 { echo "$as_me:$LINENO: checking size of size_t" >&5
20969 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20970 if test "${ac_cv_sizeof_size_t+set}" = set; then
20971 echo $ECHO_N "(cached) $ECHO_C" >&6
20972 else
20973 if test "$ac_cv_type_size_t" = yes; then
20974 # The cast to long int works around a bug in the HP C Compiler
20975 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20976 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20977 # This bug is HP SR number 8606223364.
20978 if test "$cross_compiling" = yes; then
20979 # Depending upon the size, compute the lo and hi bounds.
20980 cat >conftest.$ac_ext <<_ACEOF
20981 /* confdefs.h. */
20982 _ACEOF
20983 cat confdefs.h >>conftest.$ac_ext
20984 cat >>conftest.$ac_ext <<_ACEOF
20985 /* end confdefs.h. */
20986 $ac_includes_default
20987 typedef size_t ac__type_sizeof_;
20988 int
20989 main ()
20990 {
20991 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20992 test_array [0] = 0
20993
20994 ;
20995 return 0;
20996 }
20997 _ACEOF
20998 rm -f conftest.$ac_objext
20999 if { (ac_try="$ac_compile"
21000 case "(($ac_try" in
21001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21002 *) ac_try_echo=$ac_try;;
21003 esac
21004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21005 (eval "$ac_compile") 2>conftest.er1
21006 ac_status=$?
21007 grep -v '^ *+' conftest.er1 >conftest.err
21008 rm -f conftest.er1
21009 cat conftest.err >&5
21010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21011 (exit $ac_status); } &&
21012 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21013 { (case "(($ac_try" in
21014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21015 *) ac_try_echo=$ac_try;;
21016 esac
21017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21018 (eval "$ac_try") 2>&5
21019 ac_status=$?
21020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21021 (exit $ac_status); }; } &&
21022 { ac_try='test -s conftest.$ac_objext'
21023 { (case "(($ac_try" in
21024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21025 *) ac_try_echo=$ac_try;;
21026 esac
21027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21028 (eval "$ac_try") 2>&5
21029 ac_status=$?
21030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21031 (exit $ac_status); }; }; then
21032 ac_lo=0 ac_mid=0
21033 while :; do
21034 cat >conftest.$ac_ext <<_ACEOF
21035 /* confdefs.h. */
21036 _ACEOF
21037 cat confdefs.h >>conftest.$ac_ext
21038 cat >>conftest.$ac_ext <<_ACEOF
21039 /* end confdefs.h. */
21040 $ac_includes_default
21041 typedef size_t ac__type_sizeof_;
21042 int
21043 main ()
21044 {
21045 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21046 test_array [0] = 0
21047
21048 ;
21049 return 0;
21050 }
21051 _ACEOF
21052 rm -f conftest.$ac_objext
21053 if { (ac_try="$ac_compile"
21054 case "(($ac_try" in
21055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21056 *) ac_try_echo=$ac_try;;
21057 esac
21058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21059 (eval "$ac_compile") 2>conftest.er1
21060 ac_status=$?
21061 grep -v '^ *+' conftest.er1 >conftest.err
21062 rm -f conftest.er1
21063 cat conftest.err >&5
21064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21065 (exit $ac_status); } &&
21066 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21067 { (case "(($ac_try" in
21068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21069 *) ac_try_echo=$ac_try;;
21070 esac
21071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21072 (eval "$ac_try") 2>&5
21073 ac_status=$?
21074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21075 (exit $ac_status); }; } &&
21076 { ac_try='test -s conftest.$ac_objext'
21077 { (case "(($ac_try" in
21078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21079 *) ac_try_echo=$ac_try;;
21080 esac
21081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21082 (eval "$ac_try") 2>&5
21083 ac_status=$?
21084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21085 (exit $ac_status); }; }; then
21086 ac_hi=$ac_mid; break
21087 else
21088 echo "$as_me: failed program was:" >&5
21089 sed 's/^/| /' conftest.$ac_ext >&5
21090
21091 ac_lo=`expr $ac_mid + 1`
21092 if test $ac_lo -le $ac_mid; then
21093 ac_lo= ac_hi=
21094 break
21095 fi
21096 ac_mid=`expr 2 '*' $ac_mid + 1`
21097 fi
21098
21099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21100 done
21101 else
21102 echo "$as_me: failed program was:" >&5
21103 sed 's/^/| /' conftest.$ac_ext >&5
21104
21105 cat >conftest.$ac_ext <<_ACEOF
21106 /* confdefs.h. */
21107 _ACEOF
21108 cat confdefs.h >>conftest.$ac_ext
21109 cat >>conftest.$ac_ext <<_ACEOF
21110 /* end confdefs.h. */
21111 $ac_includes_default
21112 typedef size_t ac__type_sizeof_;
21113 int
21114 main ()
21115 {
21116 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21117 test_array [0] = 0
21118
21119 ;
21120 return 0;
21121 }
21122 _ACEOF
21123 rm -f conftest.$ac_objext
21124 if { (ac_try="$ac_compile"
21125 case "(($ac_try" in
21126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21127 *) ac_try_echo=$ac_try;;
21128 esac
21129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21130 (eval "$ac_compile") 2>conftest.er1
21131 ac_status=$?
21132 grep -v '^ *+' conftest.er1 >conftest.err
21133 rm -f conftest.er1
21134 cat conftest.err >&5
21135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21136 (exit $ac_status); } &&
21137 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21138 { (case "(($ac_try" in
21139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21140 *) ac_try_echo=$ac_try;;
21141 esac
21142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21143 (eval "$ac_try") 2>&5
21144 ac_status=$?
21145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21146 (exit $ac_status); }; } &&
21147 { ac_try='test -s conftest.$ac_objext'
21148 { (case "(($ac_try" in
21149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21150 *) ac_try_echo=$ac_try;;
21151 esac
21152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21153 (eval "$ac_try") 2>&5
21154 ac_status=$?
21155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21156 (exit $ac_status); }; }; then
21157 ac_hi=-1 ac_mid=-1
21158 while :; do
21159 cat >conftest.$ac_ext <<_ACEOF
21160 /* confdefs.h. */
21161 _ACEOF
21162 cat confdefs.h >>conftest.$ac_ext
21163 cat >>conftest.$ac_ext <<_ACEOF
21164 /* end confdefs.h. */
21165 $ac_includes_default
21166 typedef size_t ac__type_sizeof_;
21167 int
21168 main ()
21169 {
21170 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21171 test_array [0] = 0
21172
21173 ;
21174 return 0;
21175 }
21176 _ACEOF
21177 rm -f conftest.$ac_objext
21178 if { (ac_try="$ac_compile"
21179 case "(($ac_try" in
21180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21181 *) ac_try_echo=$ac_try;;
21182 esac
21183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21184 (eval "$ac_compile") 2>conftest.er1
21185 ac_status=$?
21186 grep -v '^ *+' conftest.er1 >conftest.err
21187 rm -f conftest.er1
21188 cat conftest.err >&5
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); } &&
21191 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21192 { (case "(($ac_try" in
21193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21194 *) ac_try_echo=$ac_try;;
21195 esac
21196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21197 (eval "$ac_try") 2>&5
21198 ac_status=$?
21199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21200 (exit $ac_status); }; } &&
21201 { ac_try='test -s conftest.$ac_objext'
21202 { (case "(($ac_try" in
21203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21204 *) ac_try_echo=$ac_try;;
21205 esac
21206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21207 (eval "$ac_try") 2>&5
21208 ac_status=$?
21209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21210 (exit $ac_status); }; }; then
21211 ac_lo=$ac_mid; break
21212 else
21213 echo "$as_me: failed program was:" >&5
21214 sed 's/^/| /' conftest.$ac_ext >&5
21215
21216 ac_hi=`expr '(' $ac_mid ')' - 1`
21217 if test $ac_mid -le $ac_hi; then
21218 ac_lo= ac_hi=
21219 break
21220 fi
21221 ac_mid=`expr 2 '*' $ac_mid`
21222 fi
21223
21224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21225 done
21226 else
21227 echo "$as_me: failed program was:" >&5
21228 sed 's/^/| /' conftest.$ac_ext >&5
21229
21230 ac_lo= ac_hi=
21231 fi
21232
21233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21234 fi
21235
21236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21237 # Binary search between lo and hi bounds.
21238 while test "x$ac_lo" != "x$ac_hi"; do
21239 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21240 cat >conftest.$ac_ext <<_ACEOF
21241 /* confdefs.h. */
21242 _ACEOF
21243 cat confdefs.h >>conftest.$ac_ext
21244 cat >>conftest.$ac_ext <<_ACEOF
21245 /* end confdefs.h. */
21246 $ac_includes_default
21247 typedef size_t ac__type_sizeof_;
21248 int
21249 main ()
21250 {
21251 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21252 test_array [0] = 0
21253
21254 ;
21255 return 0;
21256 }
21257 _ACEOF
21258 rm -f conftest.$ac_objext
21259 if { (ac_try="$ac_compile"
21260 case "(($ac_try" in
21261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21262 *) ac_try_echo=$ac_try;;
21263 esac
21264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21265 (eval "$ac_compile") 2>conftest.er1
21266 ac_status=$?
21267 grep -v '^ *+' conftest.er1 >conftest.err
21268 rm -f conftest.er1
21269 cat conftest.err >&5
21270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21271 (exit $ac_status); } &&
21272 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21273 { (case "(($ac_try" in
21274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21275 *) ac_try_echo=$ac_try;;
21276 esac
21277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21278 (eval "$ac_try") 2>&5
21279 ac_status=$?
21280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21281 (exit $ac_status); }; } &&
21282 { ac_try='test -s conftest.$ac_objext'
21283 { (case "(($ac_try" in
21284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21285 *) ac_try_echo=$ac_try;;
21286 esac
21287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21288 (eval "$ac_try") 2>&5
21289 ac_status=$?
21290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21291 (exit $ac_status); }; }; then
21292 ac_hi=$ac_mid
21293 else
21294 echo "$as_me: failed program was:" >&5
21295 sed 's/^/| /' conftest.$ac_ext >&5
21296
21297 ac_lo=`expr '(' $ac_mid ')' + 1`
21298 fi
21299
21300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21301 done
21302 case $ac_lo in
21303 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21304 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21305 See \`config.log' for more details." >&5
21306 echo "$as_me: error: cannot compute sizeof (size_t)
21307 See \`config.log' for more details." >&2;}
21308 { (exit 77); exit 77; }; } ;;
21309 esac
21310 else
21311 cat >conftest.$ac_ext <<_ACEOF
21312 /* confdefs.h. */
21313 _ACEOF
21314 cat confdefs.h >>conftest.$ac_ext
21315 cat >>conftest.$ac_ext <<_ACEOF
21316 /* end confdefs.h. */
21317 $ac_includes_default
21318 typedef size_t ac__type_sizeof_;
21319 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21320 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21321 #include <stdio.h>
21322 #include <stdlib.h>
21323 int
21324 main ()
21325 {
21326
21327 FILE *f = fopen ("conftest.val", "w");
21328 if (! f)
21329 return 1;
21330 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21331 {
21332 long int i = longval ();
21333 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21334 return 1;
21335 fprintf (f, "%ld\n", i);
21336 }
21337 else
21338 {
21339 unsigned long int i = ulongval ();
21340 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21341 return 1;
21342 fprintf (f, "%lu\n", i);
21343 }
21344 return ferror (f) || fclose (f) != 0;
21345
21346 ;
21347 return 0;
21348 }
21349 _ACEOF
21350 rm -f conftest$ac_exeext
21351 if { (ac_try="$ac_link"
21352 case "(($ac_try" in
21353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21354 *) ac_try_echo=$ac_try;;
21355 esac
21356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21357 (eval "$ac_link") 2>&5
21358 ac_status=$?
21359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21360 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21361 { (case "(($ac_try" in
21362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21363 *) ac_try_echo=$ac_try;;
21364 esac
21365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21366 (eval "$ac_try") 2>&5
21367 ac_status=$?
21368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21369 (exit $ac_status); }; }; then
21370 ac_cv_sizeof_size_t=`cat conftest.val`
21371 else
21372 echo "$as_me: program exited with status $ac_status" >&5
21373 echo "$as_me: failed program was:" >&5
21374 sed 's/^/| /' conftest.$ac_ext >&5
21375
21376 ( exit $ac_status )
21377 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21378 See \`config.log' for more details." >&5
21379 echo "$as_me: error: cannot compute sizeof (size_t)
21380 See \`config.log' for more details." >&2;}
21381 { (exit 77); exit 77; }; }
21382 fi
21383 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21384 fi
21385 rm -f conftest.val
21386 else
21387 ac_cv_sizeof_size_t=0
21388 fi
21389 fi
21390 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21391 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21392 cat >>confdefs.h <<_ACEOF
21393 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21394 _ACEOF
21395
21396
21397
21398 case "${host}" in
21399 arm-*-linux* )
21400 { echo "$as_me:$LINENO: checking for long long" >&5
21401 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21402 if test "${ac_cv_type_long_long+set}" = set; then
21403 echo $ECHO_N "(cached) $ECHO_C" >&6
21404 else
21405 cat >conftest.$ac_ext <<_ACEOF
21406 /* confdefs.h. */
21407 _ACEOF
21408 cat confdefs.h >>conftest.$ac_ext
21409 cat >>conftest.$ac_ext <<_ACEOF
21410 /* end confdefs.h. */
21411 $ac_includes_default
21412 typedef long long ac__type_new_;
21413 int
21414 main ()
21415 {
21416 if ((ac__type_new_ *) 0)
21417 return 0;
21418 if (sizeof (ac__type_new_))
21419 return 0;
21420 ;
21421 return 0;
21422 }
21423 _ACEOF
21424 rm -f conftest.$ac_objext
21425 if { (ac_try="$ac_compile"
21426 case "(($ac_try" in
21427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21428 *) ac_try_echo=$ac_try;;
21429 esac
21430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21431 (eval "$ac_compile") 2>conftest.er1
21432 ac_status=$?
21433 grep -v '^ *+' conftest.er1 >conftest.err
21434 rm -f conftest.er1
21435 cat conftest.err >&5
21436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21437 (exit $ac_status); } &&
21438 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21439 { (case "(($ac_try" in
21440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21441 *) ac_try_echo=$ac_try;;
21442 esac
21443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21444 (eval "$ac_try") 2>&5
21445 ac_status=$?
21446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21447 (exit $ac_status); }; } &&
21448 { ac_try='test -s conftest.$ac_objext'
21449 { (case "(($ac_try" in
21450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21451 *) ac_try_echo=$ac_try;;
21452 esac
21453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21454 (eval "$ac_try") 2>&5
21455 ac_status=$?
21456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21457 (exit $ac_status); }; }; then
21458 ac_cv_type_long_long=yes
21459 else
21460 echo "$as_me: failed program was:" >&5
21461 sed 's/^/| /' conftest.$ac_ext >&5
21462
21463 ac_cv_type_long_long=no
21464 fi
21465
21466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21467 fi
21468 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21469 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21470
21471 { echo "$as_me:$LINENO: checking size of long long" >&5
21472 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21473 if test "${ac_cv_sizeof_long_long+set}" = set; then
21474 echo $ECHO_N "(cached) $ECHO_C" >&6
21475 else
21476 if test "$ac_cv_type_long_long" = yes; then
21477 # The cast to long int works around a bug in the HP C Compiler
21478 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21479 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21480 # This bug is HP SR number 8606223364.
21481 if test "$cross_compiling" = yes; then
21482 # Depending upon the size, compute the lo and hi bounds.
21483 cat >conftest.$ac_ext <<_ACEOF
21484 /* confdefs.h. */
21485 _ACEOF
21486 cat confdefs.h >>conftest.$ac_ext
21487 cat >>conftest.$ac_ext <<_ACEOF
21488 /* end confdefs.h. */
21489 $ac_includes_default
21490 typedef long long ac__type_sizeof_;
21491 int
21492 main ()
21493 {
21494 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21495 test_array [0] = 0
21496
21497 ;
21498 return 0;
21499 }
21500 _ACEOF
21501 rm -f conftest.$ac_objext
21502 if { (ac_try="$ac_compile"
21503 case "(($ac_try" in
21504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21505 *) ac_try_echo=$ac_try;;
21506 esac
21507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21508 (eval "$ac_compile") 2>conftest.er1
21509 ac_status=$?
21510 grep -v '^ *+' conftest.er1 >conftest.err
21511 rm -f conftest.er1
21512 cat conftest.err >&5
21513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21514 (exit $ac_status); } &&
21515 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21516 { (case "(($ac_try" in
21517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21518 *) ac_try_echo=$ac_try;;
21519 esac
21520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21521 (eval "$ac_try") 2>&5
21522 ac_status=$?
21523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21524 (exit $ac_status); }; } &&
21525 { ac_try='test -s conftest.$ac_objext'
21526 { (case "(($ac_try" in
21527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21528 *) ac_try_echo=$ac_try;;
21529 esac
21530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21531 (eval "$ac_try") 2>&5
21532 ac_status=$?
21533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21534 (exit $ac_status); }; }; then
21535 ac_lo=0 ac_mid=0
21536 while :; do
21537 cat >conftest.$ac_ext <<_ACEOF
21538 /* confdefs.h. */
21539 _ACEOF
21540 cat confdefs.h >>conftest.$ac_ext
21541 cat >>conftest.$ac_ext <<_ACEOF
21542 /* end confdefs.h. */
21543 $ac_includes_default
21544 typedef long long ac__type_sizeof_;
21545 int
21546 main ()
21547 {
21548 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21549 test_array [0] = 0
21550
21551 ;
21552 return 0;
21553 }
21554 _ACEOF
21555 rm -f conftest.$ac_objext
21556 if { (ac_try="$ac_compile"
21557 case "(($ac_try" in
21558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21559 *) ac_try_echo=$ac_try;;
21560 esac
21561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21562 (eval "$ac_compile") 2>conftest.er1
21563 ac_status=$?
21564 grep -v '^ *+' conftest.er1 >conftest.err
21565 rm -f conftest.er1
21566 cat conftest.err >&5
21567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21568 (exit $ac_status); } &&
21569 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21570 { (case "(($ac_try" in
21571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21572 *) ac_try_echo=$ac_try;;
21573 esac
21574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21575 (eval "$ac_try") 2>&5
21576 ac_status=$?
21577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21578 (exit $ac_status); }; } &&
21579 { ac_try='test -s conftest.$ac_objext'
21580 { (case "(($ac_try" in
21581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21582 *) ac_try_echo=$ac_try;;
21583 esac
21584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21585 (eval "$ac_try") 2>&5
21586 ac_status=$?
21587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21588 (exit $ac_status); }; }; then
21589 ac_hi=$ac_mid; break
21590 else
21591 echo "$as_me: failed program was:" >&5
21592 sed 's/^/| /' conftest.$ac_ext >&5
21593
21594 ac_lo=`expr $ac_mid + 1`
21595 if test $ac_lo -le $ac_mid; then
21596 ac_lo= ac_hi=
21597 break
21598 fi
21599 ac_mid=`expr 2 '*' $ac_mid + 1`
21600 fi
21601
21602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21603 done
21604 else
21605 echo "$as_me: failed program was:" >&5
21606 sed 's/^/| /' conftest.$ac_ext >&5
21607
21608 cat >conftest.$ac_ext <<_ACEOF
21609 /* confdefs.h. */
21610 _ACEOF
21611 cat confdefs.h >>conftest.$ac_ext
21612 cat >>conftest.$ac_ext <<_ACEOF
21613 /* end confdefs.h. */
21614 $ac_includes_default
21615 typedef long long ac__type_sizeof_;
21616 int
21617 main ()
21618 {
21619 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21620 test_array [0] = 0
21621
21622 ;
21623 return 0;
21624 }
21625 _ACEOF
21626 rm -f conftest.$ac_objext
21627 if { (ac_try="$ac_compile"
21628 case "(($ac_try" in
21629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21630 *) ac_try_echo=$ac_try;;
21631 esac
21632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21633 (eval "$ac_compile") 2>conftest.er1
21634 ac_status=$?
21635 grep -v '^ *+' conftest.er1 >conftest.err
21636 rm -f conftest.er1
21637 cat conftest.err >&5
21638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21639 (exit $ac_status); } &&
21640 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21641 { (case "(($ac_try" in
21642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21643 *) ac_try_echo=$ac_try;;
21644 esac
21645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21646 (eval "$ac_try") 2>&5
21647 ac_status=$?
21648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649 (exit $ac_status); }; } &&
21650 { ac_try='test -s conftest.$ac_objext'
21651 { (case "(($ac_try" in
21652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21653 *) ac_try_echo=$ac_try;;
21654 esac
21655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21656 (eval "$ac_try") 2>&5
21657 ac_status=$?
21658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659 (exit $ac_status); }; }; then
21660 ac_hi=-1 ac_mid=-1
21661 while :; do
21662 cat >conftest.$ac_ext <<_ACEOF
21663 /* confdefs.h. */
21664 _ACEOF
21665 cat confdefs.h >>conftest.$ac_ext
21666 cat >>conftest.$ac_ext <<_ACEOF
21667 /* end confdefs.h. */
21668 $ac_includes_default
21669 typedef long long ac__type_sizeof_;
21670 int
21671 main ()
21672 {
21673 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21674 test_array [0] = 0
21675
21676 ;
21677 return 0;
21678 }
21679 _ACEOF
21680 rm -f conftest.$ac_objext
21681 if { (ac_try="$ac_compile"
21682 case "(($ac_try" in
21683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21684 *) ac_try_echo=$ac_try;;
21685 esac
21686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21687 (eval "$ac_compile") 2>conftest.er1
21688 ac_status=$?
21689 grep -v '^ *+' conftest.er1 >conftest.err
21690 rm -f conftest.er1
21691 cat conftest.err >&5
21692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21693 (exit $ac_status); } &&
21694 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21695 { (case "(($ac_try" in
21696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21697 *) ac_try_echo=$ac_try;;
21698 esac
21699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21700 (eval "$ac_try") 2>&5
21701 ac_status=$?
21702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21703 (exit $ac_status); }; } &&
21704 { ac_try='test -s conftest.$ac_objext'
21705 { (case "(($ac_try" in
21706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21707 *) ac_try_echo=$ac_try;;
21708 esac
21709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21710 (eval "$ac_try") 2>&5
21711 ac_status=$?
21712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21713 (exit $ac_status); }; }; then
21714 ac_lo=$ac_mid; break
21715 else
21716 echo "$as_me: failed program was:" >&5
21717 sed 's/^/| /' conftest.$ac_ext >&5
21718
21719 ac_hi=`expr '(' $ac_mid ')' - 1`
21720 if test $ac_mid -le $ac_hi; then
21721 ac_lo= ac_hi=
21722 break
21723 fi
21724 ac_mid=`expr 2 '*' $ac_mid`
21725 fi
21726
21727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21728 done
21729 else
21730 echo "$as_me: failed program was:" >&5
21731 sed 's/^/| /' conftest.$ac_ext >&5
21732
21733 ac_lo= ac_hi=
21734 fi
21735
21736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21737 fi
21738
21739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21740 # Binary search between lo and hi bounds.
21741 while test "x$ac_lo" != "x$ac_hi"; do
21742 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21743 cat >conftest.$ac_ext <<_ACEOF
21744 /* confdefs.h. */
21745 _ACEOF
21746 cat confdefs.h >>conftest.$ac_ext
21747 cat >>conftest.$ac_ext <<_ACEOF
21748 /* end confdefs.h. */
21749 $ac_includes_default
21750 typedef long long ac__type_sizeof_;
21751 int
21752 main ()
21753 {
21754 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21755 test_array [0] = 0
21756
21757 ;
21758 return 0;
21759 }
21760 _ACEOF
21761 rm -f conftest.$ac_objext
21762 if { (ac_try="$ac_compile"
21763 case "(($ac_try" in
21764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21765 *) ac_try_echo=$ac_try;;
21766 esac
21767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21768 (eval "$ac_compile") 2>conftest.er1
21769 ac_status=$?
21770 grep -v '^ *+' conftest.er1 >conftest.err
21771 rm -f conftest.er1
21772 cat conftest.err >&5
21773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21774 (exit $ac_status); } &&
21775 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21776 { (case "(($ac_try" in
21777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21778 *) ac_try_echo=$ac_try;;
21779 esac
21780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21781 (eval "$ac_try") 2>&5
21782 ac_status=$?
21783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21784 (exit $ac_status); }; } &&
21785 { ac_try='test -s conftest.$ac_objext'
21786 { (case "(($ac_try" in
21787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21788 *) ac_try_echo=$ac_try;;
21789 esac
21790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21791 (eval "$ac_try") 2>&5
21792 ac_status=$?
21793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21794 (exit $ac_status); }; }; then
21795 ac_hi=$ac_mid
21796 else
21797 echo "$as_me: failed program was:" >&5
21798 sed 's/^/| /' conftest.$ac_ext >&5
21799
21800 ac_lo=`expr '(' $ac_mid ')' + 1`
21801 fi
21802
21803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21804 done
21805 case $ac_lo in
21806 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21807 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21808 See \`config.log' for more details." >&5
21809 echo "$as_me: error: cannot compute sizeof (long long)
21810 See \`config.log' for more details." >&2;}
21811 { (exit 77); exit 77; }; } ;;
21812 esac
21813 else
21814 cat >conftest.$ac_ext <<_ACEOF
21815 /* confdefs.h. */
21816 _ACEOF
21817 cat confdefs.h >>conftest.$ac_ext
21818 cat >>conftest.$ac_ext <<_ACEOF
21819 /* end confdefs.h. */
21820 $ac_includes_default
21821 typedef long long ac__type_sizeof_;
21822 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21823 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21824 #include <stdio.h>
21825 #include <stdlib.h>
21826 int
21827 main ()
21828 {
21829
21830 FILE *f = fopen ("conftest.val", "w");
21831 if (! f)
21832 return 1;
21833 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21834 {
21835 long int i = longval ();
21836 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21837 return 1;
21838 fprintf (f, "%ld\n", i);
21839 }
21840 else
21841 {
21842 unsigned long int i = ulongval ();
21843 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21844 return 1;
21845 fprintf (f, "%lu\n", i);
21846 }
21847 return ferror (f) || fclose (f) != 0;
21848
21849 ;
21850 return 0;
21851 }
21852 _ACEOF
21853 rm -f conftest$ac_exeext
21854 if { (ac_try="$ac_link"
21855 case "(($ac_try" in
21856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21857 *) ac_try_echo=$ac_try;;
21858 esac
21859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21860 (eval "$ac_link") 2>&5
21861 ac_status=$?
21862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21863 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21864 { (case "(($ac_try" in
21865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21866 *) ac_try_echo=$ac_try;;
21867 esac
21868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21869 (eval "$ac_try") 2>&5
21870 ac_status=$?
21871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21872 (exit $ac_status); }; }; then
21873 ac_cv_sizeof_long_long=`cat conftest.val`
21874 else
21875 echo "$as_me: program exited with status $ac_status" >&5
21876 echo "$as_me: failed program was:" >&5
21877 sed 's/^/| /' conftest.$ac_ext >&5
21878
21879 ( exit $ac_status )
21880 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21881 See \`config.log' for more details." >&5
21882 echo "$as_me: error: cannot compute sizeof (long long)
21883 See \`config.log' for more details." >&2;}
21884 { (exit 77); exit 77; }; }
21885 fi
21886 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21887 fi
21888 rm -f conftest.val
21889 else
21890 ac_cv_sizeof_long_long=0
21891 fi
21892 fi
21893 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21894 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21895 cat >>confdefs.h <<_ACEOF
21896 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21897 _ACEOF
21898
21899
21900 ;;
21901 *-hp-hpux* )
21902 { echo "$as_me:$LINENO: checking for long long" >&5
21903 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21904 if test "${ac_cv_type_long_long+set}" = set; then
21905 echo $ECHO_N "(cached) $ECHO_C" >&6
21906 else
21907 cat >conftest.$ac_ext <<_ACEOF
21908 /* confdefs.h. */
21909 _ACEOF
21910 cat confdefs.h >>conftest.$ac_ext
21911 cat >>conftest.$ac_ext <<_ACEOF
21912 /* end confdefs.h. */
21913 $ac_includes_default
21914 typedef long long ac__type_new_;
21915 int
21916 main ()
21917 {
21918 if ((ac__type_new_ *) 0)
21919 return 0;
21920 if (sizeof (ac__type_new_))
21921 return 0;
21922 ;
21923 return 0;
21924 }
21925 _ACEOF
21926 rm -f conftest.$ac_objext
21927 if { (ac_try="$ac_compile"
21928 case "(($ac_try" in
21929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21930 *) ac_try_echo=$ac_try;;
21931 esac
21932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21933 (eval "$ac_compile") 2>conftest.er1
21934 ac_status=$?
21935 grep -v '^ *+' conftest.er1 >conftest.err
21936 rm -f conftest.er1
21937 cat conftest.err >&5
21938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21939 (exit $ac_status); } &&
21940 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21941 { (case "(($ac_try" in
21942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21943 *) ac_try_echo=$ac_try;;
21944 esac
21945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21946 (eval "$ac_try") 2>&5
21947 ac_status=$?
21948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21949 (exit $ac_status); }; } &&
21950 { ac_try='test -s conftest.$ac_objext'
21951 { (case "(($ac_try" in
21952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21953 *) ac_try_echo=$ac_try;;
21954 esac
21955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21956 (eval "$ac_try") 2>&5
21957 ac_status=$?
21958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21959 (exit $ac_status); }; }; then
21960 ac_cv_type_long_long=yes
21961 else
21962 echo "$as_me: failed program was:" >&5
21963 sed 's/^/| /' conftest.$ac_ext >&5
21964
21965 ac_cv_type_long_long=no
21966 fi
21967
21968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21969 fi
21970 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21971 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21972
21973 { echo "$as_me:$LINENO: checking size of long long" >&5
21974 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21975 if test "${ac_cv_sizeof_long_long+set}" = set; then
21976 echo $ECHO_N "(cached) $ECHO_C" >&6
21977 else
21978 if test "$ac_cv_type_long_long" = yes; then
21979 # The cast to long int works around a bug in the HP C Compiler
21980 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21981 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21982 # This bug is HP SR number 8606223364.
21983 if test "$cross_compiling" = yes; then
21984 # Depending upon the size, compute the lo and hi bounds.
21985 cat >conftest.$ac_ext <<_ACEOF
21986 /* confdefs.h. */
21987 _ACEOF
21988 cat confdefs.h >>conftest.$ac_ext
21989 cat >>conftest.$ac_ext <<_ACEOF
21990 /* end confdefs.h. */
21991 $ac_includes_default
21992 typedef long long ac__type_sizeof_;
21993 int
21994 main ()
21995 {
21996 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21997 test_array [0] = 0
21998
21999 ;
22000 return 0;
22001 }
22002 _ACEOF
22003 rm -f conftest.$ac_objext
22004 if { (ac_try="$ac_compile"
22005 case "(($ac_try" in
22006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22007 *) ac_try_echo=$ac_try;;
22008 esac
22009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22010 (eval "$ac_compile") 2>conftest.er1
22011 ac_status=$?
22012 grep -v '^ *+' conftest.er1 >conftest.err
22013 rm -f conftest.er1
22014 cat conftest.err >&5
22015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22016 (exit $ac_status); } &&
22017 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22018 { (case "(($ac_try" in
22019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22020 *) ac_try_echo=$ac_try;;
22021 esac
22022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22023 (eval "$ac_try") 2>&5
22024 ac_status=$?
22025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22026 (exit $ac_status); }; } &&
22027 { ac_try='test -s conftest.$ac_objext'
22028 { (case "(($ac_try" in
22029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22030 *) ac_try_echo=$ac_try;;
22031 esac
22032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22033 (eval "$ac_try") 2>&5
22034 ac_status=$?
22035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22036 (exit $ac_status); }; }; then
22037 ac_lo=0 ac_mid=0
22038 while :; do
22039 cat >conftest.$ac_ext <<_ACEOF
22040 /* confdefs.h. */
22041 _ACEOF
22042 cat confdefs.h >>conftest.$ac_ext
22043 cat >>conftest.$ac_ext <<_ACEOF
22044 /* end confdefs.h. */
22045 $ac_includes_default
22046 typedef long long ac__type_sizeof_;
22047 int
22048 main ()
22049 {
22050 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22051 test_array [0] = 0
22052
22053 ;
22054 return 0;
22055 }
22056 _ACEOF
22057 rm -f conftest.$ac_objext
22058 if { (ac_try="$ac_compile"
22059 case "(($ac_try" in
22060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22061 *) ac_try_echo=$ac_try;;
22062 esac
22063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22064 (eval "$ac_compile") 2>conftest.er1
22065 ac_status=$?
22066 grep -v '^ *+' conftest.er1 >conftest.err
22067 rm -f conftest.er1
22068 cat conftest.err >&5
22069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22070 (exit $ac_status); } &&
22071 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22072 { (case "(($ac_try" in
22073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22074 *) ac_try_echo=$ac_try;;
22075 esac
22076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22077 (eval "$ac_try") 2>&5
22078 ac_status=$?
22079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22080 (exit $ac_status); }; } &&
22081 { ac_try='test -s conftest.$ac_objext'
22082 { (case "(($ac_try" in
22083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22084 *) ac_try_echo=$ac_try;;
22085 esac
22086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22087 (eval "$ac_try") 2>&5
22088 ac_status=$?
22089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22090 (exit $ac_status); }; }; then
22091 ac_hi=$ac_mid; break
22092 else
22093 echo "$as_me: failed program was:" >&5
22094 sed 's/^/| /' conftest.$ac_ext >&5
22095
22096 ac_lo=`expr $ac_mid + 1`
22097 if test $ac_lo -le $ac_mid; then
22098 ac_lo= ac_hi=
22099 break
22100 fi
22101 ac_mid=`expr 2 '*' $ac_mid + 1`
22102 fi
22103
22104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22105 done
22106 else
22107 echo "$as_me: failed program was:" >&5
22108 sed 's/^/| /' conftest.$ac_ext >&5
22109
22110 cat >conftest.$ac_ext <<_ACEOF
22111 /* confdefs.h. */
22112 _ACEOF
22113 cat confdefs.h >>conftest.$ac_ext
22114 cat >>conftest.$ac_ext <<_ACEOF
22115 /* end confdefs.h. */
22116 $ac_includes_default
22117 typedef long long ac__type_sizeof_;
22118 int
22119 main ()
22120 {
22121 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22122 test_array [0] = 0
22123
22124 ;
22125 return 0;
22126 }
22127 _ACEOF
22128 rm -f conftest.$ac_objext
22129 if { (ac_try="$ac_compile"
22130 case "(($ac_try" in
22131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22132 *) ac_try_echo=$ac_try;;
22133 esac
22134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22135 (eval "$ac_compile") 2>conftest.er1
22136 ac_status=$?
22137 grep -v '^ *+' conftest.er1 >conftest.err
22138 rm -f conftest.er1
22139 cat conftest.err >&5
22140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22141 (exit $ac_status); } &&
22142 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22143 { (case "(($ac_try" in
22144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22145 *) ac_try_echo=$ac_try;;
22146 esac
22147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22148 (eval "$ac_try") 2>&5
22149 ac_status=$?
22150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22151 (exit $ac_status); }; } &&
22152 { ac_try='test -s conftest.$ac_objext'
22153 { (case "(($ac_try" in
22154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22155 *) ac_try_echo=$ac_try;;
22156 esac
22157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22158 (eval "$ac_try") 2>&5
22159 ac_status=$?
22160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22161 (exit $ac_status); }; }; then
22162 ac_hi=-1 ac_mid=-1
22163 while :; do
22164 cat >conftest.$ac_ext <<_ACEOF
22165 /* confdefs.h. */
22166 _ACEOF
22167 cat confdefs.h >>conftest.$ac_ext
22168 cat >>conftest.$ac_ext <<_ACEOF
22169 /* end confdefs.h. */
22170 $ac_includes_default
22171 typedef long long ac__type_sizeof_;
22172 int
22173 main ()
22174 {
22175 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22176 test_array [0] = 0
22177
22178 ;
22179 return 0;
22180 }
22181 _ACEOF
22182 rm -f conftest.$ac_objext
22183 if { (ac_try="$ac_compile"
22184 case "(($ac_try" in
22185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22186 *) ac_try_echo=$ac_try;;
22187 esac
22188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22189 (eval "$ac_compile") 2>conftest.er1
22190 ac_status=$?
22191 grep -v '^ *+' conftest.er1 >conftest.err
22192 rm -f conftest.er1
22193 cat conftest.err >&5
22194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22195 (exit $ac_status); } &&
22196 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22197 { (case "(($ac_try" in
22198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22199 *) ac_try_echo=$ac_try;;
22200 esac
22201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22202 (eval "$ac_try") 2>&5
22203 ac_status=$?
22204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22205 (exit $ac_status); }; } &&
22206 { ac_try='test -s conftest.$ac_objext'
22207 { (case "(($ac_try" in
22208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22209 *) ac_try_echo=$ac_try;;
22210 esac
22211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22212 (eval "$ac_try") 2>&5
22213 ac_status=$?
22214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22215 (exit $ac_status); }; }; then
22216 ac_lo=$ac_mid; break
22217 else
22218 echo "$as_me: failed program was:" >&5
22219 sed 's/^/| /' conftest.$ac_ext >&5
22220
22221 ac_hi=`expr '(' $ac_mid ')' - 1`
22222 if test $ac_mid -le $ac_hi; then
22223 ac_lo= ac_hi=
22224 break
22225 fi
22226 ac_mid=`expr 2 '*' $ac_mid`
22227 fi
22228
22229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22230 done
22231 else
22232 echo "$as_me: failed program was:" >&5
22233 sed 's/^/| /' conftest.$ac_ext >&5
22234
22235 ac_lo= ac_hi=
22236 fi
22237
22238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22239 fi
22240
22241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22242 # Binary search between lo and hi bounds.
22243 while test "x$ac_lo" != "x$ac_hi"; do
22244 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22245 cat >conftest.$ac_ext <<_ACEOF
22246 /* confdefs.h. */
22247 _ACEOF
22248 cat confdefs.h >>conftest.$ac_ext
22249 cat >>conftest.$ac_ext <<_ACEOF
22250 /* end confdefs.h. */
22251 $ac_includes_default
22252 typedef long long ac__type_sizeof_;
22253 int
22254 main ()
22255 {
22256 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22257 test_array [0] = 0
22258
22259 ;
22260 return 0;
22261 }
22262 _ACEOF
22263 rm -f conftest.$ac_objext
22264 if { (ac_try="$ac_compile"
22265 case "(($ac_try" in
22266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22267 *) ac_try_echo=$ac_try;;
22268 esac
22269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22270 (eval "$ac_compile") 2>conftest.er1
22271 ac_status=$?
22272 grep -v '^ *+' conftest.er1 >conftest.err
22273 rm -f conftest.er1
22274 cat conftest.err >&5
22275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22276 (exit $ac_status); } &&
22277 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22278 { (case "(($ac_try" in
22279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22280 *) ac_try_echo=$ac_try;;
22281 esac
22282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22283 (eval "$ac_try") 2>&5
22284 ac_status=$?
22285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22286 (exit $ac_status); }; } &&
22287 { ac_try='test -s conftest.$ac_objext'
22288 { (case "(($ac_try" in
22289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22290 *) ac_try_echo=$ac_try;;
22291 esac
22292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22293 (eval "$ac_try") 2>&5
22294 ac_status=$?
22295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22296 (exit $ac_status); }; }; then
22297 ac_hi=$ac_mid
22298 else
22299 echo "$as_me: failed program was:" >&5
22300 sed 's/^/| /' conftest.$ac_ext >&5
22301
22302 ac_lo=`expr '(' $ac_mid ')' + 1`
22303 fi
22304
22305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22306 done
22307 case $ac_lo in
22308 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22309 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22310 See \`config.log' for more details." >&5
22311 echo "$as_me: error: cannot compute sizeof (long long)
22312 See \`config.log' for more details." >&2;}
22313 { (exit 77); exit 77; }; } ;;
22314 esac
22315 else
22316 cat >conftest.$ac_ext <<_ACEOF
22317 /* confdefs.h. */
22318 _ACEOF
22319 cat confdefs.h >>conftest.$ac_ext
22320 cat >>conftest.$ac_ext <<_ACEOF
22321 /* end confdefs.h. */
22322 $ac_includes_default
22323 typedef long long ac__type_sizeof_;
22324 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22325 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22326 #include <stdio.h>
22327 #include <stdlib.h>
22328 int
22329 main ()
22330 {
22331
22332 FILE *f = fopen ("conftest.val", "w");
22333 if (! f)
22334 return 1;
22335 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22336 {
22337 long int i = longval ();
22338 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22339 return 1;
22340 fprintf (f, "%ld\n", i);
22341 }
22342 else
22343 {
22344 unsigned long int i = ulongval ();
22345 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22346 return 1;
22347 fprintf (f, "%lu\n", i);
22348 }
22349 return ferror (f) || fclose (f) != 0;
22350
22351 ;
22352 return 0;
22353 }
22354 _ACEOF
22355 rm -f conftest$ac_exeext
22356 if { (ac_try="$ac_link"
22357 case "(($ac_try" in
22358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22359 *) ac_try_echo=$ac_try;;
22360 esac
22361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22362 (eval "$ac_link") 2>&5
22363 ac_status=$?
22364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22365 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22366 { (case "(($ac_try" in
22367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22368 *) ac_try_echo=$ac_try;;
22369 esac
22370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22371 (eval "$ac_try") 2>&5
22372 ac_status=$?
22373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22374 (exit $ac_status); }; }; then
22375 ac_cv_sizeof_long_long=`cat conftest.val`
22376 else
22377 echo "$as_me: program exited with status $ac_status" >&5
22378 echo "$as_me: failed program was:" >&5
22379 sed 's/^/| /' conftest.$ac_ext >&5
22380
22381 ( exit $ac_status )
22382 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22383 See \`config.log' for more details." >&5
22384 echo "$as_me: error: cannot compute sizeof (long long)
22385 See \`config.log' for more details." >&2;}
22386 { (exit 77); exit 77; }; }
22387 fi
22388 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22389 fi
22390 rm -f conftest.val
22391 else
22392 ac_cv_sizeof_long_long=0
22393 fi
22394 fi
22395 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22396 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22397 cat >>confdefs.h <<_ACEOF
22398 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22399 _ACEOF
22400
22401
22402 if test "$ac_cv_sizeof_long_long" != "0"; then
22403 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22404 fi
22405 ;;
22406 * )
22407 { echo "$as_me:$LINENO: checking for long long" >&5
22408 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22409 if test "${ac_cv_type_long_long+set}" = set; then
22410 echo $ECHO_N "(cached) $ECHO_C" >&6
22411 else
22412 cat >conftest.$ac_ext <<_ACEOF
22413 /* confdefs.h. */
22414 _ACEOF
22415 cat confdefs.h >>conftest.$ac_ext
22416 cat >>conftest.$ac_ext <<_ACEOF
22417 /* end confdefs.h. */
22418 $ac_includes_default
22419 typedef long long ac__type_new_;
22420 int
22421 main ()
22422 {
22423 if ((ac__type_new_ *) 0)
22424 return 0;
22425 if (sizeof (ac__type_new_))
22426 return 0;
22427 ;
22428 return 0;
22429 }
22430 _ACEOF
22431 rm -f conftest.$ac_objext
22432 if { (ac_try="$ac_compile"
22433 case "(($ac_try" in
22434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22435 *) ac_try_echo=$ac_try;;
22436 esac
22437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22438 (eval "$ac_compile") 2>conftest.er1
22439 ac_status=$?
22440 grep -v '^ *+' conftest.er1 >conftest.err
22441 rm -f conftest.er1
22442 cat conftest.err >&5
22443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22444 (exit $ac_status); } &&
22445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22446 { (case "(($ac_try" in
22447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22448 *) ac_try_echo=$ac_try;;
22449 esac
22450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22451 (eval "$ac_try") 2>&5
22452 ac_status=$?
22453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22454 (exit $ac_status); }; } &&
22455 { ac_try='test -s conftest.$ac_objext'
22456 { (case "(($ac_try" in
22457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22458 *) ac_try_echo=$ac_try;;
22459 esac
22460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22461 (eval "$ac_try") 2>&5
22462 ac_status=$?
22463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22464 (exit $ac_status); }; }; then
22465 ac_cv_type_long_long=yes
22466 else
22467 echo "$as_me: failed program was:" >&5
22468 sed 's/^/| /' conftest.$ac_ext >&5
22469
22470 ac_cv_type_long_long=no
22471 fi
22472
22473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22474 fi
22475 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22476 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22477
22478 { echo "$as_me:$LINENO: checking size of long long" >&5
22479 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22480 if test "${ac_cv_sizeof_long_long+set}" = set; then
22481 echo $ECHO_N "(cached) $ECHO_C" >&6
22482 else
22483 if test "$ac_cv_type_long_long" = yes; then
22484 # The cast to long int works around a bug in the HP C Compiler
22485 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22486 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22487 # This bug is HP SR number 8606223364.
22488 if test "$cross_compiling" = yes; then
22489 # Depending upon the size, compute the lo and hi bounds.
22490 cat >conftest.$ac_ext <<_ACEOF
22491 /* confdefs.h. */
22492 _ACEOF
22493 cat confdefs.h >>conftest.$ac_ext
22494 cat >>conftest.$ac_ext <<_ACEOF
22495 /* end confdefs.h. */
22496 $ac_includes_default
22497 typedef long long ac__type_sizeof_;
22498 int
22499 main ()
22500 {
22501 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22502 test_array [0] = 0
22503
22504 ;
22505 return 0;
22506 }
22507 _ACEOF
22508 rm -f conftest.$ac_objext
22509 if { (ac_try="$ac_compile"
22510 case "(($ac_try" in
22511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22512 *) ac_try_echo=$ac_try;;
22513 esac
22514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22515 (eval "$ac_compile") 2>conftest.er1
22516 ac_status=$?
22517 grep -v '^ *+' conftest.er1 >conftest.err
22518 rm -f conftest.er1
22519 cat conftest.err >&5
22520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22521 (exit $ac_status); } &&
22522 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22523 { (case "(($ac_try" in
22524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22525 *) ac_try_echo=$ac_try;;
22526 esac
22527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22528 (eval "$ac_try") 2>&5
22529 ac_status=$?
22530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22531 (exit $ac_status); }; } &&
22532 { ac_try='test -s conftest.$ac_objext'
22533 { (case "(($ac_try" in
22534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22535 *) ac_try_echo=$ac_try;;
22536 esac
22537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22538 (eval "$ac_try") 2>&5
22539 ac_status=$?
22540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22541 (exit $ac_status); }; }; then
22542 ac_lo=0 ac_mid=0
22543 while :; do
22544 cat >conftest.$ac_ext <<_ACEOF
22545 /* confdefs.h. */
22546 _ACEOF
22547 cat confdefs.h >>conftest.$ac_ext
22548 cat >>conftest.$ac_ext <<_ACEOF
22549 /* end confdefs.h. */
22550 $ac_includes_default
22551 typedef long long ac__type_sizeof_;
22552 int
22553 main ()
22554 {
22555 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22556 test_array [0] = 0
22557
22558 ;
22559 return 0;
22560 }
22561 _ACEOF
22562 rm -f conftest.$ac_objext
22563 if { (ac_try="$ac_compile"
22564 case "(($ac_try" in
22565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22566 *) ac_try_echo=$ac_try;;
22567 esac
22568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22569 (eval "$ac_compile") 2>conftest.er1
22570 ac_status=$?
22571 grep -v '^ *+' conftest.er1 >conftest.err
22572 rm -f conftest.er1
22573 cat conftest.err >&5
22574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575 (exit $ac_status); } &&
22576 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22577 { (case "(($ac_try" in
22578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22579 *) ac_try_echo=$ac_try;;
22580 esac
22581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22582 (eval "$ac_try") 2>&5
22583 ac_status=$?
22584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22585 (exit $ac_status); }; } &&
22586 { ac_try='test -s conftest.$ac_objext'
22587 { (case "(($ac_try" in
22588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22589 *) ac_try_echo=$ac_try;;
22590 esac
22591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22592 (eval "$ac_try") 2>&5
22593 ac_status=$?
22594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22595 (exit $ac_status); }; }; then
22596 ac_hi=$ac_mid; break
22597 else
22598 echo "$as_me: failed program was:" >&5
22599 sed 's/^/| /' conftest.$ac_ext >&5
22600
22601 ac_lo=`expr $ac_mid + 1`
22602 if test $ac_lo -le $ac_mid; then
22603 ac_lo= ac_hi=
22604 break
22605 fi
22606 ac_mid=`expr 2 '*' $ac_mid + 1`
22607 fi
22608
22609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22610 done
22611 else
22612 echo "$as_me: failed program was:" >&5
22613 sed 's/^/| /' conftest.$ac_ext >&5
22614
22615 cat >conftest.$ac_ext <<_ACEOF
22616 /* confdefs.h. */
22617 _ACEOF
22618 cat confdefs.h >>conftest.$ac_ext
22619 cat >>conftest.$ac_ext <<_ACEOF
22620 /* end confdefs.h. */
22621 $ac_includes_default
22622 typedef long long ac__type_sizeof_;
22623 int
22624 main ()
22625 {
22626 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22627 test_array [0] = 0
22628
22629 ;
22630 return 0;
22631 }
22632 _ACEOF
22633 rm -f conftest.$ac_objext
22634 if { (ac_try="$ac_compile"
22635 case "(($ac_try" in
22636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22637 *) ac_try_echo=$ac_try;;
22638 esac
22639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22640 (eval "$ac_compile") 2>conftest.er1
22641 ac_status=$?
22642 grep -v '^ *+' conftest.er1 >conftest.err
22643 rm -f conftest.er1
22644 cat conftest.err >&5
22645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22646 (exit $ac_status); } &&
22647 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22648 { (case "(($ac_try" in
22649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22650 *) ac_try_echo=$ac_try;;
22651 esac
22652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22653 (eval "$ac_try") 2>&5
22654 ac_status=$?
22655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22656 (exit $ac_status); }; } &&
22657 { ac_try='test -s conftest.$ac_objext'
22658 { (case "(($ac_try" in
22659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22660 *) ac_try_echo=$ac_try;;
22661 esac
22662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22663 (eval "$ac_try") 2>&5
22664 ac_status=$?
22665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22666 (exit $ac_status); }; }; then
22667 ac_hi=-1 ac_mid=-1
22668 while :; do
22669 cat >conftest.$ac_ext <<_ACEOF
22670 /* confdefs.h. */
22671 _ACEOF
22672 cat confdefs.h >>conftest.$ac_ext
22673 cat >>conftest.$ac_ext <<_ACEOF
22674 /* end confdefs.h. */
22675 $ac_includes_default
22676 typedef long long ac__type_sizeof_;
22677 int
22678 main ()
22679 {
22680 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22681 test_array [0] = 0
22682
22683 ;
22684 return 0;
22685 }
22686 _ACEOF
22687 rm -f conftest.$ac_objext
22688 if { (ac_try="$ac_compile"
22689 case "(($ac_try" in
22690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22691 *) ac_try_echo=$ac_try;;
22692 esac
22693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22694 (eval "$ac_compile") 2>conftest.er1
22695 ac_status=$?
22696 grep -v '^ *+' conftest.er1 >conftest.err
22697 rm -f conftest.er1
22698 cat conftest.err >&5
22699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22700 (exit $ac_status); } &&
22701 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22702 { (case "(($ac_try" in
22703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22704 *) ac_try_echo=$ac_try;;
22705 esac
22706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22707 (eval "$ac_try") 2>&5
22708 ac_status=$?
22709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22710 (exit $ac_status); }; } &&
22711 { ac_try='test -s conftest.$ac_objext'
22712 { (case "(($ac_try" in
22713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22714 *) ac_try_echo=$ac_try;;
22715 esac
22716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22717 (eval "$ac_try") 2>&5
22718 ac_status=$?
22719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22720 (exit $ac_status); }; }; then
22721 ac_lo=$ac_mid; break
22722 else
22723 echo "$as_me: failed program was:" >&5
22724 sed 's/^/| /' conftest.$ac_ext >&5
22725
22726 ac_hi=`expr '(' $ac_mid ')' - 1`
22727 if test $ac_mid -le $ac_hi; then
22728 ac_lo= ac_hi=
22729 break
22730 fi
22731 ac_mid=`expr 2 '*' $ac_mid`
22732 fi
22733
22734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22735 done
22736 else
22737 echo "$as_me: failed program was:" >&5
22738 sed 's/^/| /' conftest.$ac_ext >&5
22739
22740 ac_lo= ac_hi=
22741 fi
22742
22743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22744 fi
22745
22746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22747 # Binary search between lo and hi bounds.
22748 while test "x$ac_lo" != "x$ac_hi"; do
22749 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22750 cat >conftest.$ac_ext <<_ACEOF
22751 /* confdefs.h. */
22752 _ACEOF
22753 cat confdefs.h >>conftest.$ac_ext
22754 cat >>conftest.$ac_ext <<_ACEOF
22755 /* end confdefs.h. */
22756 $ac_includes_default
22757 typedef long long ac__type_sizeof_;
22758 int
22759 main ()
22760 {
22761 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22762 test_array [0] = 0
22763
22764 ;
22765 return 0;
22766 }
22767 _ACEOF
22768 rm -f conftest.$ac_objext
22769 if { (ac_try="$ac_compile"
22770 case "(($ac_try" in
22771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22772 *) ac_try_echo=$ac_try;;
22773 esac
22774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22775 (eval "$ac_compile") 2>conftest.er1
22776 ac_status=$?
22777 grep -v '^ *+' conftest.er1 >conftest.err
22778 rm -f conftest.er1
22779 cat conftest.err >&5
22780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22781 (exit $ac_status); } &&
22782 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22783 { (case "(($ac_try" in
22784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22785 *) ac_try_echo=$ac_try;;
22786 esac
22787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22788 (eval "$ac_try") 2>&5
22789 ac_status=$?
22790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22791 (exit $ac_status); }; } &&
22792 { ac_try='test -s conftest.$ac_objext'
22793 { (case "(($ac_try" in
22794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22795 *) ac_try_echo=$ac_try;;
22796 esac
22797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22798 (eval "$ac_try") 2>&5
22799 ac_status=$?
22800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22801 (exit $ac_status); }; }; then
22802 ac_hi=$ac_mid
22803 else
22804 echo "$as_me: failed program was:" >&5
22805 sed 's/^/| /' conftest.$ac_ext >&5
22806
22807 ac_lo=`expr '(' $ac_mid ')' + 1`
22808 fi
22809
22810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22811 done
22812 case $ac_lo in
22813 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22814 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22815 See \`config.log' for more details." >&5
22816 echo "$as_me: error: cannot compute sizeof (long long)
22817 See \`config.log' for more details." >&2;}
22818 { (exit 77); exit 77; }; } ;;
22819 esac
22820 else
22821 cat >conftest.$ac_ext <<_ACEOF
22822 /* confdefs.h. */
22823 _ACEOF
22824 cat confdefs.h >>conftest.$ac_ext
22825 cat >>conftest.$ac_ext <<_ACEOF
22826 /* end confdefs.h. */
22827 $ac_includes_default
22828 typedef long long ac__type_sizeof_;
22829 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22830 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22831 #include <stdio.h>
22832 #include <stdlib.h>
22833 int
22834 main ()
22835 {
22836
22837 FILE *f = fopen ("conftest.val", "w");
22838 if (! f)
22839 return 1;
22840 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22841 {
22842 long int i = longval ();
22843 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22844 return 1;
22845 fprintf (f, "%ld\n", i);
22846 }
22847 else
22848 {
22849 unsigned long int i = ulongval ();
22850 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22851 return 1;
22852 fprintf (f, "%lu\n", i);
22853 }
22854 return ferror (f) || fclose (f) != 0;
22855
22856 ;
22857 return 0;
22858 }
22859 _ACEOF
22860 rm -f conftest$ac_exeext
22861 if { (ac_try="$ac_link"
22862 case "(($ac_try" in
22863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22864 *) ac_try_echo=$ac_try;;
22865 esac
22866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22867 (eval "$ac_link") 2>&5
22868 ac_status=$?
22869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22870 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22871 { (case "(($ac_try" in
22872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22873 *) ac_try_echo=$ac_try;;
22874 esac
22875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22876 (eval "$ac_try") 2>&5
22877 ac_status=$?
22878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22879 (exit $ac_status); }; }; then
22880 ac_cv_sizeof_long_long=`cat conftest.val`
22881 else
22882 echo "$as_me: program exited with status $ac_status" >&5
22883 echo "$as_me: failed program was:" >&5
22884 sed 's/^/| /' conftest.$ac_ext >&5
22885
22886 ( exit $ac_status )
22887 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22888 See \`config.log' for more details." >&5
22889 echo "$as_me: error: cannot compute sizeof (long long)
22890 See \`config.log' for more details." >&2;}
22891 { (exit 77); exit 77; }; }
22892 fi
22893 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22894 fi
22895 rm -f conftest.val
22896 else
22897 ac_cv_sizeof_long_long=0
22898 fi
22899 fi
22900 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22901 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22902 cat >>confdefs.h <<_ACEOF
22903 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22904 _ACEOF
22905
22906
22907 esac
22908
22909 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22910 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22911 if test "${ac_cv_type_wchar_t+set}" = set; then
22912 echo $ECHO_N "(cached) $ECHO_C" >&6
22913 else
22914 cat >conftest.$ac_ext <<_ACEOF
22915 /* confdefs.h. */
22916 _ACEOF
22917 cat confdefs.h >>conftest.$ac_ext
22918 cat >>conftest.$ac_ext <<_ACEOF
22919 /* end confdefs.h. */
22920
22921 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22922 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22923 # error "fake wchar_t"
22924 #endif
22925 #ifdef HAVE_WCHAR_H
22926 # ifdef __CYGWIN__
22927 # include <stddef.h>
22928 # endif
22929 # include <wchar.h>
22930 #endif
22931 #ifdef HAVE_STDLIB_H
22932 # include <stdlib.h>
22933 #endif
22934 #include <stdio.h>
22935
22936
22937
22938 typedef wchar_t ac__type_new_;
22939 int
22940 main ()
22941 {
22942 if ((ac__type_new_ *) 0)
22943 return 0;
22944 if (sizeof (ac__type_new_))
22945 return 0;
22946 ;
22947 return 0;
22948 }
22949 _ACEOF
22950 rm -f conftest.$ac_objext
22951 if { (ac_try="$ac_compile"
22952 case "(($ac_try" in
22953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22954 *) ac_try_echo=$ac_try;;
22955 esac
22956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22957 (eval "$ac_compile") 2>conftest.er1
22958 ac_status=$?
22959 grep -v '^ *+' conftest.er1 >conftest.err
22960 rm -f conftest.er1
22961 cat conftest.err >&5
22962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22963 (exit $ac_status); } &&
22964 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22965 { (case "(($ac_try" in
22966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22967 *) ac_try_echo=$ac_try;;
22968 esac
22969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22970 (eval "$ac_try") 2>&5
22971 ac_status=$?
22972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22973 (exit $ac_status); }; } &&
22974 { ac_try='test -s conftest.$ac_objext'
22975 { (case "(($ac_try" in
22976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22977 *) ac_try_echo=$ac_try;;
22978 esac
22979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22980 (eval "$ac_try") 2>&5
22981 ac_status=$?
22982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22983 (exit $ac_status); }; }; then
22984 ac_cv_type_wchar_t=yes
22985 else
22986 echo "$as_me: failed program was:" >&5
22987 sed 's/^/| /' conftest.$ac_ext >&5
22988
22989 ac_cv_type_wchar_t=no
22990 fi
22991
22992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22993 fi
22994 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22995 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22996
22997 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22998 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22999 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23000 echo $ECHO_N "(cached) $ECHO_C" >&6
23001 else
23002 if test "$ac_cv_type_wchar_t" = yes; then
23003 # The cast to long int works around a bug in the HP C Compiler
23004 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23005 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23006 # This bug is HP SR number 8606223364.
23007 if test "$cross_compiling" = yes; then
23008 # Depending upon the size, compute the lo and hi bounds.
23009 cat >conftest.$ac_ext <<_ACEOF
23010 /* confdefs.h. */
23011 _ACEOF
23012 cat confdefs.h >>conftest.$ac_ext
23013 cat >>conftest.$ac_ext <<_ACEOF
23014 /* end confdefs.h. */
23015
23016 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23017 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23018 # error "fake wchar_t"
23019 #endif
23020 #ifdef HAVE_WCHAR_H
23021 # ifdef __CYGWIN__
23022 # include <stddef.h>
23023 # endif
23024 # include <wchar.h>
23025 #endif
23026 #ifdef HAVE_STDLIB_H
23027 # include <stdlib.h>
23028 #endif
23029 #include <stdio.h>
23030
23031
23032
23033 typedef wchar_t ac__type_sizeof_;
23034 int
23035 main ()
23036 {
23037 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23038 test_array [0] = 0
23039
23040 ;
23041 return 0;
23042 }
23043 _ACEOF
23044 rm -f conftest.$ac_objext
23045 if { (ac_try="$ac_compile"
23046 case "(($ac_try" in
23047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23048 *) ac_try_echo=$ac_try;;
23049 esac
23050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23051 (eval "$ac_compile") 2>conftest.er1
23052 ac_status=$?
23053 grep -v '^ *+' conftest.er1 >conftest.err
23054 rm -f conftest.er1
23055 cat conftest.err >&5
23056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23057 (exit $ac_status); } &&
23058 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23059 { (case "(($ac_try" in
23060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23061 *) ac_try_echo=$ac_try;;
23062 esac
23063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23064 (eval "$ac_try") 2>&5
23065 ac_status=$?
23066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23067 (exit $ac_status); }; } &&
23068 { ac_try='test -s conftest.$ac_objext'
23069 { (case "(($ac_try" in
23070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23071 *) ac_try_echo=$ac_try;;
23072 esac
23073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23074 (eval "$ac_try") 2>&5
23075 ac_status=$?
23076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23077 (exit $ac_status); }; }; then
23078 ac_lo=0 ac_mid=0
23079 while :; do
23080 cat >conftest.$ac_ext <<_ACEOF
23081 /* confdefs.h. */
23082 _ACEOF
23083 cat confdefs.h >>conftest.$ac_ext
23084 cat >>conftest.$ac_ext <<_ACEOF
23085 /* end confdefs.h. */
23086
23087 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23088 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23089 # error "fake wchar_t"
23090 #endif
23091 #ifdef HAVE_WCHAR_H
23092 # ifdef __CYGWIN__
23093 # include <stddef.h>
23094 # endif
23095 # include <wchar.h>
23096 #endif
23097 #ifdef HAVE_STDLIB_H
23098 # include <stdlib.h>
23099 #endif
23100 #include <stdio.h>
23101
23102
23103
23104 typedef wchar_t ac__type_sizeof_;
23105 int
23106 main ()
23107 {
23108 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23109 test_array [0] = 0
23110
23111 ;
23112 return 0;
23113 }
23114 _ACEOF
23115 rm -f conftest.$ac_objext
23116 if { (ac_try="$ac_compile"
23117 case "(($ac_try" in
23118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23119 *) ac_try_echo=$ac_try;;
23120 esac
23121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23122 (eval "$ac_compile") 2>conftest.er1
23123 ac_status=$?
23124 grep -v '^ *+' conftest.er1 >conftest.err
23125 rm -f conftest.er1
23126 cat conftest.err >&5
23127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23128 (exit $ac_status); } &&
23129 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23130 { (case "(($ac_try" in
23131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23132 *) ac_try_echo=$ac_try;;
23133 esac
23134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23135 (eval "$ac_try") 2>&5
23136 ac_status=$?
23137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23138 (exit $ac_status); }; } &&
23139 { ac_try='test -s conftest.$ac_objext'
23140 { (case "(($ac_try" in
23141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23142 *) ac_try_echo=$ac_try;;
23143 esac
23144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23145 (eval "$ac_try") 2>&5
23146 ac_status=$?
23147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23148 (exit $ac_status); }; }; then
23149 ac_hi=$ac_mid; break
23150 else
23151 echo "$as_me: failed program was:" >&5
23152 sed 's/^/| /' conftest.$ac_ext >&5
23153
23154 ac_lo=`expr $ac_mid + 1`
23155 if test $ac_lo -le $ac_mid; then
23156 ac_lo= ac_hi=
23157 break
23158 fi
23159 ac_mid=`expr 2 '*' $ac_mid + 1`
23160 fi
23161
23162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23163 done
23164 else
23165 echo "$as_me: failed program was:" >&5
23166 sed 's/^/| /' conftest.$ac_ext >&5
23167
23168 cat >conftest.$ac_ext <<_ACEOF
23169 /* confdefs.h. */
23170 _ACEOF
23171 cat confdefs.h >>conftest.$ac_ext
23172 cat >>conftest.$ac_ext <<_ACEOF
23173 /* end confdefs.h. */
23174
23175 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23176 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23177 # error "fake wchar_t"
23178 #endif
23179 #ifdef HAVE_WCHAR_H
23180 # ifdef __CYGWIN__
23181 # include <stddef.h>
23182 # endif
23183 # include <wchar.h>
23184 #endif
23185 #ifdef HAVE_STDLIB_H
23186 # include <stdlib.h>
23187 #endif
23188 #include <stdio.h>
23189
23190
23191
23192 typedef wchar_t ac__type_sizeof_;
23193 int
23194 main ()
23195 {
23196 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23197 test_array [0] = 0
23198
23199 ;
23200 return 0;
23201 }
23202 _ACEOF
23203 rm -f conftest.$ac_objext
23204 if { (ac_try="$ac_compile"
23205 case "(($ac_try" in
23206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23207 *) ac_try_echo=$ac_try;;
23208 esac
23209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23210 (eval "$ac_compile") 2>conftest.er1
23211 ac_status=$?
23212 grep -v '^ *+' conftest.er1 >conftest.err
23213 rm -f conftest.er1
23214 cat conftest.err >&5
23215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23216 (exit $ac_status); } &&
23217 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23218 { (case "(($ac_try" in
23219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23220 *) ac_try_echo=$ac_try;;
23221 esac
23222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23223 (eval "$ac_try") 2>&5
23224 ac_status=$?
23225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23226 (exit $ac_status); }; } &&
23227 { ac_try='test -s conftest.$ac_objext'
23228 { (case "(($ac_try" in
23229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23230 *) ac_try_echo=$ac_try;;
23231 esac
23232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23233 (eval "$ac_try") 2>&5
23234 ac_status=$?
23235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23236 (exit $ac_status); }; }; then
23237 ac_hi=-1 ac_mid=-1
23238 while :; do
23239 cat >conftest.$ac_ext <<_ACEOF
23240 /* confdefs.h. */
23241 _ACEOF
23242 cat confdefs.h >>conftest.$ac_ext
23243 cat >>conftest.$ac_ext <<_ACEOF
23244 /* end confdefs.h. */
23245
23246 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23247 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23248 # error "fake wchar_t"
23249 #endif
23250 #ifdef HAVE_WCHAR_H
23251 # ifdef __CYGWIN__
23252 # include <stddef.h>
23253 # endif
23254 # include <wchar.h>
23255 #endif
23256 #ifdef HAVE_STDLIB_H
23257 # include <stdlib.h>
23258 #endif
23259 #include <stdio.h>
23260
23261
23262
23263 typedef wchar_t ac__type_sizeof_;
23264 int
23265 main ()
23266 {
23267 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23268 test_array [0] = 0
23269
23270 ;
23271 return 0;
23272 }
23273 _ACEOF
23274 rm -f conftest.$ac_objext
23275 if { (ac_try="$ac_compile"
23276 case "(($ac_try" in
23277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23278 *) ac_try_echo=$ac_try;;
23279 esac
23280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23281 (eval "$ac_compile") 2>conftest.er1
23282 ac_status=$?
23283 grep -v '^ *+' conftest.er1 >conftest.err
23284 rm -f conftest.er1
23285 cat conftest.err >&5
23286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23287 (exit $ac_status); } &&
23288 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23289 { (case "(($ac_try" in
23290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23291 *) ac_try_echo=$ac_try;;
23292 esac
23293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23294 (eval "$ac_try") 2>&5
23295 ac_status=$?
23296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23297 (exit $ac_status); }; } &&
23298 { ac_try='test -s conftest.$ac_objext'
23299 { (case "(($ac_try" in
23300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23301 *) ac_try_echo=$ac_try;;
23302 esac
23303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23304 (eval "$ac_try") 2>&5
23305 ac_status=$?
23306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23307 (exit $ac_status); }; }; then
23308 ac_lo=$ac_mid; break
23309 else
23310 echo "$as_me: failed program was:" >&5
23311 sed 's/^/| /' conftest.$ac_ext >&5
23312
23313 ac_hi=`expr '(' $ac_mid ')' - 1`
23314 if test $ac_mid -le $ac_hi; then
23315 ac_lo= ac_hi=
23316 break
23317 fi
23318 ac_mid=`expr 2 '*' $ac_mid`
23319 fi
23320
23321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23322 done
23323 else
23324 echo "$as_me: failed program was:" >&5
23325 sed 's/^/| /' conftest.$ac_ext >&5
23326
23327 ac_lo= ac_hi=
23328 fi
23329
23330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23331 fi
23332
23333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23334 # Binary search between lo and hi bounds.
23335 while test "x$ac_lo" != "x$ac_hi"; do
23336 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23337 cat >conftest.$ac_ext <<_ACEOF
23338 /* confdefs.h. */
23339 _ACEOF
23340 cat confdefs.h >>conftest.$ac_ext
23341 cat >>conftest.$ac_ext <<_ACEOF
23342 /* end confdefs.h. */
23343
23344 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23345 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23346 # error "fake wchar_t"
23347 #endif
23348 #ifdef HAVE_WCHAR_H
23349 # ifdef __CYGWIN__
23350 # include <stddef.h>
23351 # endif
23352 # include <wchar.h>
23353 #endif
23354 #ifdef HAVE_STDLIB_H
23355 # include <stdlib.h>
23356 #endif
23357 #include <stdio.h>
23358
23359
23360
23361 typedef wchar_t ac__type_sizeof_;
23362 int
23363 main ()
23364 {
23365 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23366 test_array [0] = 0
23367
23368 ;
23369 return 0;
23370 }
23371 _ACEOF
23372 rm -f conftest.$ac_objext
23373 if { (ac_try="$ac_compile"
23374 case "(($ac_try" in
23375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23376 *) ac_try_echo=$ac_try;;
23377 esac
23378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23379 (eval "$ac_compile") 2>conftest.er1
23380 ac_status=$?
23381 grep -v '^ *+' conftest.er1 >conftest.err
23382 rm -f conftest.er1
23383 cat conftest.err >&5
23384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23385 (exit $ac_status); } &&
23386 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23387 { (case "(($ac_try" in
23388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23389 *) ac_try_echo=$ac_try;;
23390 esac
23391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23392 (eval "$ac_try") 2>&5
23393 ac_status=$?
23394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23395 (exit $ac_status); }; } &&
23396 { ac_try='test -s conftest.$ac_objext'
23397 { (case "(($ac_try" in
23398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23399 *) ac_try_echo=$ac_try;;
23400 esac
23401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23402 (eval "$ac_try") 2>&5
23403 ac_status=$?
23404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23405 (exit $ac_status); }; }; then
23406 ac_hi=$ac_mid
23407 else
23408 echo "$as_me: failed program was:" >&5
23409 sed 's/^/| /' conftest.$ac_ext >&5
23410
23411 ac_lo=`expr '(' $ac_mid ')' + 1`
23412 fi
23413
23414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23415 done
23416 case $ac_lo in
23417 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23418 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23419 See \`config.log' for more details." >&5
23420 echo "$as_me: error: cannot compute sizeof (wchar_t)
23421 See \`config.log' for more details." >&2;}
23422 { (exit 77); exit 77; }; } ;;
23423 esac
23424 else
23425 cat >conftest.$ac_ext <<_ACEOF
23426 /* confdefs.h. */
23427 _ACEOF
23428 cat confdefs.h >>conftest.$ac_ext
23429 cat >>conftest.$ac_ext <<_ACEOF
23430 /* end confdefs.h. */
23431
23432 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23433 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23434 # error "fake wchar_t"
23435 #endif
23436 #ifdef HAVE_WCHAR_H
23437 # ifdef __CYGWIN__
23438 # include <stddef.h>
23439 # endif
23440 # include <wchar.h>
23441 #endif
23442 #ifdef HAVE_STDLIB_H
23443 # include <stdlib.h>
23444 #endif
23445 #include <stdio.h>
23446
23447
23448
23449 typedef wchar_t ac__type_sizeof_;
23450 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23451 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23452 #include <stdio.h>
23453 #include <stdlib.h>
23454 int
23455 main ()
23456 {
23457
23458 FILE *f = fopen ("conftest.val", "w");
23459 if (! f)
23460 return 1;
23461 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23462 {
23463 long int i = longval ();
23464 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23465 return 1;
23466 fprintf (f, "%ld\n", i);
23467 }
23468 else
23469 {
23470 unsigned long int i = ulongval ();
23471 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23472 return 1;
23473 fprintf (f, "%lu\n", i);
23474 }
23475 return ferror (f) || fclose (f) != 0;
23476
23477 ;
23478 return 0;
23479 }
23480 _ACEOF
23481 rm -f conftest$ac_exeext
23482 if { (ac_try="$ac_link"
23483 case "(($ac_try" in
23484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23485 *) ac_try_echo=$ac_try;;
23486 esac
23487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23488 (eval "$ac_link") 2>&5
23489 ac_status=$?
23490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23491 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23492 { (case "(($ac_try" in
23493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23494 *) ac_try_echo=$ac_try;;
23495 esac
23496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23497 (eval "$ac_try") 2>&5
23498 ac_status=$?
23499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23500 (exit $ac_status); }; }; then
23501 ac_cv_sizeof_wchar_t=`cat conftest.val`
23502 else
23503 echo "$as_me: program exited with status $ac_status" >&5
23504 echo "$as_me: failed program was:" >&5
23505 sed 's/^/| /' conftest.$ac_ext >&5
23506
23507 ( exit $ac_status )
23508 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23509 See \`config.log' for more details." >&5
23510 echo "$as_me: error: cannot compute sizeof (wchar_t)
23511 See \`config.log' for more details." >&2;}
23512 { (exit 77); exit 77; }; }
23513 fi
23514 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23515 fi
23516 rm -f conftest.val
23517 else
23518 ac_cv_sizeof_wchar_t=0
23519 fi
23520 fi
23521 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23522 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23523 cat >>confdefs.h <<_ACEOF
23524 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23525 _ACEOF
23526
23527
23528 if test "$ac_cv_sizeof_wchar_t" != "0"; then
23529 wxUSE_WCHAR_T=yes
23530 else
23531 wxUSE_WCHAR_T=no
23532 fi
23533
23534 { echo "$as_me:$LINENO: checking for va_copy" >&5
23535 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23536 if test "${wx_cv_func_va_copy+set}" = set; then
23537 echo $ECHO_N "(cached) $ECHO_C" >&6
23538 else
23539
23540 cat >conftest.$ac_ext <<_ACEOF
23541
23542 #include <stdarg.h>
23543 void foo(char *f, ...)
23544 {
23545 va_list ap1, ap2;
23546 va_start(ap1, f);
23547 va_copy(ap2, ap1);
23548 va_end(ap2);
23549 va_end(ap1);
23550 }
23551 int main()
23552 {
23553 foo("hi", 17);
23554 return 0;
23555 }
23556 _ACEOF
23557 rm -f conftest.$ac_objext conftest$ac_exeext
23558 if { (ac_try="$ac_link"
23559 case "(($ac_try" in
23560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23561 *) ac_try_echo=$ac_try;;
23562 esac
23563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23564 (eval "$ac_link") 2>conftest.er1
23565 ac_status=$?
23566 grep -v '^ *+' conftest.er1 >conftest.err
23567 rm -f conftest.er1
23568 cat conftest.err >&5
23569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23570 (exit $ac_status); } &&
23571 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23572 { (case "(($ac_try" in
23573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23574 *) ac_try_echo=$ac_try;;
23575 esac
23576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23577 (eval "$ac_try") 2>&5
23578 ac_status=$?
23579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23580 (exit $ac_status); }; } &&
23581 { ac_try='test -s conftest$ac_exeext'
23582 { (case "(($ac_try" in
23583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23584 *) ac_try_echo=$ac_try;;
23585 esac
23586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23587 (eval "$ac_try") 2>&5
23588 ac_status=$?
23589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23590 (exit $ac_status); }; }; then
23591 wx_cv_func_va_copy=yes
23592 else
23593 echo "$as_me: failed program was:" >&5
23594 sed 's/^/| /' conftest.$ac_ext >&5
23595
23596 wx_cv_func_va_copy=no
23597
23598 fi
23599
23600 rm -f core conftest.err conftest.$ac_objext \
23601 conftest$ac_exeext conftest.$ac_ext
23602
23603
23604 fi
23605 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23606 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23607
23608 if test $wx_cv_func_va_copy = "yes"; then
23609 cat >>confdefs.h <<\_ACEOF
23610 #define HAVE_VA_COPY 1
23611 _ACEOF
23612
23613 else
23614 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23615 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23616 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23617 echo $ECHO_N "(cached) $ECHO_C" >&6
23618 else
23619
23620 if test "$cross_compiling" = yes; then
23621 wx_cv_type_va_list_lvalue=yes
23622
23623 else
23624 cat >conftest.$ac_ext <<_ACEOF
23625
23626 #include <stdarg.h>
23627 int foo(char *f, ...)
23628 {
23629 va_list ap1, ap2;
23630 va_start(ap1, f);
23631 ap2 = ap1;
23632 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23633 return 1;
23634 va_end(ap2);
23635 va_end(ap1);
23636 return 0;
23637 }
23638 int main()
23639 {
23640 return foo("hi", 17);
23641 }
23642 _ACEOF
23643 rm -f conftest$ac_exeext
23644 if { (ac_try="$ac_link"
23645 case "(($ac_try" in
23646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23647 *) ac_try_echo=$ac_try;;
23648 esac
23649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23650 (eval "$ac_link") 2>&5
23651 ac_status=$?
23652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23653 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23654 { (case "(($ac_try" in
23655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23656 *) ac_try_echo=$ac_try;;
23657 esac
23658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23659 (eval "$ac_try") 2>&5
23660 ac_status=$?
23661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23662 (exit $ac_status); }; }; then
23663 wx_cv_type_va_list_lvalue=yes
23664 else
23665 echo "$as_me: program exited with status $ac_status" >&5
23666 echo "$as_me: failed program was:" >&5
23667 sed 's/^/| /' conftest.$ac_ext >&5
23668
23669 ( exit $ac_status )
23670 wx_cv_type_va_list_lvalue=no
23671 fi
23672 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23673 fi
23674
23675
23676
23677
23678 fi
23679 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23680 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23681
23682 if test $wx_cv_type_va_list_lvalue != "yes"; then
23683 cat >>confdefs.h <<\_ACEOF
23684 #define VA_LIST_IS_ARRAY 1
23685 _ACEOF
23686
23687 fi
23688 fi
23689
23690 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23691
23692 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23693 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23694 if test "${wx_cv_have_variadic_macros+set}" = set; then
23695 echo $ECHO_N "(cached) $ECHO_C" >&6
23696 else
23697
23698 ac_ext=cpp
23699 ac_cpp='$CXXCPP $CPPFLAGS'
23700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23703
23704 cat >conftest.$ac_ext <<_ACEOF
23705 /* confdefs.h. */
23706 _ACEOF
23707 cat confdefs.h >>conftest.$ac_ext
23708 cat >>conftest.$ac_ext <<_ACEOF
23709 /* end confdefs.h. */
23710
23711 #include <stdio.h>
23712 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23713
23714 int
23715 main ()
23716 {
23717
23718 test("%s %d %p", "test", 1, 0);
23719
23720
23721 ;
23722 return 0;
23723 }
23724 _ACEOF
23725 rm -f conftest.$ac_objext
23726 if { (ac_try="$ac_compile"
23727 case "(($ac_try" in
23728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23729 *) ac_try_echo=$ac_try;;
23730 esac
23731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23732 (eval "$ac_compile") 2>conftest.er1
23733 ac_status=$?
23734 grep -v '^ *+' conftest.er1 >conftest.err
23735 rm -f conftest.er1
23736 cat conftest.err >&5
23737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23738 (exit $ac_status); } &&
23739 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23740 { (case "(($ac_try" in
23741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23742 *) ac_try_echo=$ac_try;;
23743 esac
23744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23745 (eval "$ac_try") 2>&5
23746 ac_status=$?
23747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23748 (exit $ac_status); }; } &&
23749 { ac_try='test -s conftest.$ac_objext'
23750 { (case "(($ac_try" in
23751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23752 *) ac_try_echo=$ac_try;;
23753 esac
23754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23755 (eval "$ac_try") 2>&5
23756 ac_status=$?
23757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23758 (exit $ac_status); }; }; then
23759 wx_cv_have_variadic_macros=yes
23760 else
23761 echo "$as_me: failed program was:" >&5
23762 sed 's/^/| /' conftest.$ac_ext >&5
23763
23764 wx_cv_have_variadic_macros=no
23765
23766 fi
23767
23768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23769 ac_ext=c
23770 ac_cpp='$CPP $CPPFLAGS'
23771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23774
23775
23776
23777 fi
23778 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23779 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23780
23781 if test $wx_cv_have_variadic_macros = "yes"; then
23782 cat >>confdefs.h <<\_ACEOF
23783 #define HAVE_VARIADIC_MACROS 1
23784 _ACEOF
23785
23786 fi
23787
23788 fi
23789 # Check whether --enable-largefile was given.
23790 if test "${enable_largefile+set}" = set; then
23791 enableval=$enable_largefile;
23792 fi
23793
23794 if test "$enable_largefile" != no; then
23795 wx_largefile=no
23796
23797 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23798 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23799 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23800 echo $ECHO_N "(cached) $ECHO_C" >&6
23801 else
23802
23803 cat >conftest.$ac_ext <<_ACEOF
23804 /* confdefs.h. */
23805 _ACEOF
23806 cat confdefs.h >>conftest.$ac_ext
23807 cat >>conftest.$ac_ext <<_ACEOF
23808 /* end confdefs.h. */
23809 #define _FILE_OFFSET_BITS 64
23810 #include <sys/types.h>
23811 int
23812 main ()
23813 {
23814 typedef struct {
23815 unsigned int field: sizeof(off_t) == 8;
23816 } wxlf;
23817
23818 ;
23819 return 0;
23820 }
23821 _ACEOF
23822 rm -f conftest.$ac_objext
23823 if { (ac_try="$ac_compile"
23824 case "(($ac_try" in
23825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23826 *) ac_try_echo=$ac_try;;
23827 esac
23828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23829 (eval "$ac_compile") 2>conftest.er1
23830 ac_status=$?
23831 grep -v '^ *+' conftest.er1 >conftest.err
23832 rm -f conftest.er1
23833 cat conftest.err >&5
23834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835 (exit $ac_status); } &&
23836 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23837 { (case "(($ac_try" in
23838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23839 *) ac_try_echo=$ac_try;;
23840 esac
23841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23842 (eval "$ac_try") 2>&5
23843 ac_status=$?
23844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23845 (exit $ac_status); }; } &&
23846 { ac_try='test -s conftest.$ac_objext'
23847 { (case "(($ac_try" in
23848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23849 *) ac_try_echo=$ac_try;;
23850 esac
23851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23852 (eval "$ac_try") 2>&5
23853 ac_status=$?
23854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23855 (exit $ac_status); }; }; then
23856 ac_cv_sys_file_offset_bits=64
23857 else
23858 echo "$as_me: failed program was:" >&5
23859 sed 's/^/| /' conftest.$ac_ext >&5
23860
23861 ac_cv_sys_file_offset_bits=no
23862 fi
23863
23864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23865
23866
23867 fi
23868 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23869 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23870
23871 if test "$ac_cv_sys_file_offset_bits" != no; then
23872 wx_largefile=yes
23873 cat >>confdefs.h <<_ACEOF
23874 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23875 _ACEOF
23876
23877 fi
23878
23879 if test "x$wx_largefile" != "xyes"; then
23880
23881 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23882 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23883 if test "${ac_cv_sys_large_files+set}" = set; then
23884 echo $ECHO_N "(cached) $ECHO_C" >&6
23885 else
23886
23887 cat >conftest.$ac_ext <<_ACEOF
23888 /* confdefs.h. */
23889 _ACEOF
23890 cat confdefs.h >>conftest.$ac_ext
23891 cat >>conftest.$ac_ext <<_ACEOF
23892 /* end confdefs.h. */
23893 #define _LARGE_FILES 1
23894 #include <sys/types.h>
23895 int
23896 main ()
23897 {
23898 typedef struct {
23899 unsigned int field: sizeof(off_t) == 8;
23900 } wxlf;
23901
23902 ;
23903 return 0;
23904 }
23905 _ACEOF
23906 rm -f conftest.$ac_objext
23907 if { (ac_try="$ac_compile"
23908 case "(($ac_try" in
23909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23910 *) ac_try_echo=$ac_try;;
23911 esac
23912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23913 (eval "$ac_compile") 2>conftest.er1
23914 ac_status=$?
23915 grep -v '^ *+' conftest.er1 >conftest.err
23916 rm -f conftest.er1
23917 cat conftest.err >&5
23918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23919 (exit $ac_status); } &&
23920 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23921 { (case "(($ac_try" in
23922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23923 *) ac_try_echo=$ac_try;;
23924 esac
23925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23926 (eval "$ac_try") 2>&5
23927 ac_status=$?
23928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23929 (exit $ac_status); }; } &&
23930 { ac_try='test -s conftest.$ac_objext'
23931 { (case "(($ac_try" in
23932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23933 *) ac_try_echo=$ac_try;;
23934 esac
23935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23936 (eval "$ac_try") 2>&5
23937 ac_status=$?
23938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23939 (exit $ac_status); }; }; then
23940 ac_cv_sys_large_files=1
23941 else
23942 echo "$as_me: failed program was:" >&5
23943 sed 's/^/| /' conftest.$ac_ext >&5
23944
23945 ac_cv_sys_large_files=no
23946 fi
23947
23948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23949
23950
23951 fi
23952 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23953 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23954
23955 if test "$ac_cv_sys_large_files" != no; then
23956 wx_largefile=yes
23957 cat >>confdefs.h <<_ACEOF
23958 #define _LARGE_FILES $ac_cv_sys_large_files
23959 _ACEOF
23960
23961 fi
23962
23963 fi
23964
23965 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23966 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23967 if test "x$wx_largefile" = "xyes"; then
23968 cat >>confdefs.h <<\_ACEOF
23969 #define HAVE_LARGEFILE_SUPPORT 1
23970 _ACEOF
23971
23972 fi
23973 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23974 echo "${ECHO_T}$wx_largefile" >&6; }
23975 fi
23976
23977
23978 if test "x$wx_largefile" = "xyes"; then
23979 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23980 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23981
23982 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23983 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23984 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23985 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23986 echo $ECHO_N "(cached) $ECHO_C" >&6
23987 else
23988
23989 ac_ext=cpp
23990 ac_cpp='$CXXCPP $CPPFLAGS'
23991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23994
23995 cat >conftest.$ac_ext <<_ACEOF
23996 /* confdefs.h. */
23997 _ACEOF
23998 cat confdefs.h >>conftest.$ac_ext
23999 cat >>conftest.$ac_ext <<_ACEOF
24000 /* end confdefs.h. */
24001
24002 int
24003 main ()
24004 {
24005
24006 #ifndef __STDC_EXT__
24007 choke me
24008 #endif
24009
24010 ;
24011 return 0;
24012 }
24013 _ACEOF
24014 rm -f conftest.$ac_objext
24015 if { (ac_try="$ac_compile"
24016 case "(($ac_try" in
24017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24018 *) ac_try_echo=$ac_try;;
24019 esac
24020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24021 (eval "$ac_compile") 2>conftest.er1
24022 ac_status=$?
24023 grep -v '^ *+' conftest.er1 >conftest.err
24024 rm -f conftest.er1
24025 cat conftest.err >&5
24026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24027 (exit $ac_status); } &&
24028 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24029 { (case "(($ac_try" in
24030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24031 *) ac_try_echo=$ac_try;;
24032 esac
24033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24034 (eval "$ac_try") 2>&5
24035 ac_status=$?
24036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24037 (exit $ac_status); }; } &&
24038 { ac_try='test -s conftest.$ac_objext'
24039 { (case "(($ac_try" in
24040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24041 *) ac_try_echo=$ac_try;;
24042 esac
24043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24044 (eval "$ac_try") 2>&5
24045 ac_status=$?
24046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24047 (exit $ac_status); }; }; then
24048 wx_cv_STDC_EXT_required=no
24049 else
24050 echo "$as_me: failed program was:" >&5
24051 sed 's/^/| /' conftest.$ac_ext >&5
24052
24053 wx_cv_STDC_EXT_required=yes
24054
24055 fi
24056
24057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24058 ac_ext=c
24059 ac_cpp='$CPP $CPPFLAGS'
24060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24063
24064
24065
24066 fi
24067 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24068 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24069 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24070 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24071 fi
24072 fi
24073 else
24074 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
24075 fi
24076 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24077 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24078 if test "${ac_cv_sys_largefile_source+set}" = set; then
24079 echo $ECHO_N "(cached) $ECHO_C" >&6
24080 else
24081 while :; do
24082 ac_cv_sys_largefile_source=no
24083 cat >conftest.$ac_ext <<_ACEOF
24084 /* confdefs.h. */
24085 _ACEOF
24086 cat confdefs.h >>conftest.$ac_ext
24087 cat >>conftest.$ac_ext <<_ACEOF
24088 /* end confdefs.h. */
24089 #include <stdio.h>
24090 int
24091 main ()
24092 {
24093 return !fseeko;
24094 ;
24095 return 0;
24096 }
24097 _ACEOF
24098 rm -f conftest.$ac_objext
24099 if { (ac_try="$ac_compile"
24100 case "(($ac_try" in
24101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24102 *) ac_try_echo=$ac_try;;
24103 esac
24104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24105 (eval "$ac_compile") 2>conftest.er1
24106 ac_status=$?
24107 grep -v '^ *+' conftest.er1 >conftest.err
24108 rm -f conftest.er1
24109 cat conftest.err >&5
24110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24111 (exit $ac_status); } &&
24112 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24113 { (case "(($ac_try" in
24114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24115 *) ac_try_echo=$ac_try;;
24116 esac
24117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24118 (eval "$ac_try") 2>&5
24119 ac_status=$?
24120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24121 (exit $ac_status); }; } &&
24122 { ac_try='test -s conftest.$ac_objext'
24123 { (case "(($ac_try" in
24124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24125 *) ac_try_echo=$ac_try;;
24126 esac
24127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24128 (eval "$ac_try") 2>&5
24129 ac_status=$?
24130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24131 (exit $ac_status); }; }; then
24132 break
24133 else
24134 echo "$as_me: failed program was:" >&5
24135 sed 's/^/| /' conftest.$ac_ext >&5
24136
24137
24138 fi
24139
24140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24141 cat >conftest.$ac_ext <<_ACEOF
24142 /* confdefs.h. */
24143 _ACEOF
24144 cat confdefs.h >>conftest.$ac_ext
24145 cat >>conftest.$ac_ext <<_ACEOF
24146 /* end confdefs.h. */
24147 #define _LARGEFILE_SOURCE 1
24148 #include <stdio.h>
24149 int
24150 main ()
24151 {
24152 return !fseeko;
24153 ;
24154 return 0;
24155 }
24156 _ACEOF
24157 rm -f conftest.$ac_objext
24158 if { (ac_try="$ac_compile"
24159 case "(($ac_try" in
24160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24161 *) ac_try_echo=$ac_try;;
24162 esac
24163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24164 (eval "$ac_compile") 2>conftest.er1
24165 ac_status=$?
24166 grep -v '^ *+' conftest.er1 >conftest.err
24167 rm -f conftest.er1
24168 cat conftest.err >&5
24169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24170 (exit $ac_status); } &&
24171 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24172 { (case "(($ac_try" in
24173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24174 *) ac_try_echo=$ac_try;;
24175 esac
24176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24177 (eval "$ac_try") 2>&5
24178 ac_status=$?
24179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24180 (exit $ac_status); }; } &&
24181 { ac_try='test -s conftest.$ac_objext'
24182 { (case "(($ac_try" in
24183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24184 *) ac_try_echo=$ac_try;;
24185 esac
24186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24187 (eval "$ac_try") 2>&5
24188 ac_status=$?
24189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24190 (exit $ac_status); }; }; then
24191 ac_cv_sys_largefile_source=1; break
24192 else
24193 echo "$as_me: failed program was:" >&5
24194 sed 's/^/| /' conftest.$ac_ext >&5
24195
24196
24197 fi
24198
24199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24200 break
24201 done
24202 fi
24203 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24204 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24205 if test "$ac_cv_sys_largefile_source" != no; then
24206
24207 cat >>confdefs.h <<_ACEOF
24208 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24209 _ACEOF
24210
24211 fi
24212 rm -f conftest*
24213
24214 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24215 # in glibc 2.1.3, but that breaks too many other things.
24216 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24217 { echo "$as_me:$LINENO: checking for fseeko" >&5
24218 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6; }
24219 if test "${ac_cv_func_fseeko+set}" = set; then
24220 echo $ECHO_N "(cached) $ECHO_C" >&6
24221 else
24222 cat >conftest.$ac_ext <<_ACEOF
24223 /* confdefs.h. */
24224 _ACEOF
24225 cat confdefs.h >>conftest.$ac_ext
24226 cat >>conftest.$ac_ext <<_ACEOF
24227 /* end confdefs.h. */
24228 #include <stdio.h>
24229 int
24230 main ()
24231 {
24232 return fseeko && fseeko (stdin, 0, 0);
24233 ;
24234 return 0;
24235 }
24236 _ACEOF
24237 rm -f conftest.$ac_objext conftest$ac_exeext
24238 if { (ac_try="$ac_link"
24239 case "(($ac_try" in
24240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24241 *) ac_try_echo=$ac_try;;
24242 esac
24243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24244 (eval "$ac_link") 2>conftest.er1
24245 ac_status=$?
24246 grep -v '^ *+' conftest.er1 >conftest.err
24247 rm -f conftest.er1
24248 cat conftest.err >&5
24249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24250 (exit $ac_status); } &&
24251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24252 { (case "(($ac_try" in
24253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24254 *) ac_try_echo=$ac_try;;
24255 esac
24256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24257 (eval "$ac_try") 2>&5
24258 ac_status=$?
24259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24260 (exit $ac_status); }; } &&
24261 { ac_try='test -s conftest$ac_exeext'
24262 { (case "(($ac_try" in
24263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24264 *) ac_try_echo=$ac_try;;
24265 esac
24266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24267 (eval "$ac_try") 2>&5
24268 ac_status=$?
24269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24270 (exit $ac_status); }; }; then
24271 ac_cv_func_fseeko=yes
24272 else
24273 echo "$as_me: failed program was:" >&5
24274 sed 's/^/| /' conftest.$ac_ext >&5
24275
24276 ac_cv_func_fseeko=no
24277 fi
24278
24279 rm -f core conftest.err conftest.$ac_objext \
24280 conftest$ac_exeext conftest.$ac_ext
24281 fi
24282 { echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
24283 echo "${ECHO_T}$ac_cv_func_fseeko" >&6; }
24284 if test $ac_cv_func_fseeko = yes; then
24285
24286 cat >>confdefs.h <<\_ACEOF
24287 #define HAVE_FSEEKO 1
24288 _ACEOF
24289
24290 fi
24291
24292 if test "$ac_cv_sys_largefile_source" != no; then
24293 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24294 fi
24295 fi
24296
24297 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24298 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24299 if test "${ac_cv_c_bigendian+set}" = set; then
24300 echo $ECHO_N "(cached) $ECHO_C" >&6
24301 else
24302 ac_cv_c_bigendian=unknown
24303 # See if sys/param.h defines the BYTE_ORDER macro.
24304 cat >conftest.$ac_ext <<_ACEOF
24305 /* confdefs.h. */
24306 _ACEOF
24307 cat confdefs.h >>conftest.$ac_ext
24308 cat >>conftest.$ac_ext <<_ACEOF
24309 /* end confdefs.h. */
24310 #include <sys/types.h>
24311 #include <sys/param.h>
24312 int
24313 main ()
24314 {
24315
24316 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24317 bogus endian macros
24318 #endif
24319 ;
24320 return 0;
24321 }
24322 _ACEOF
24323 rm -f conftest.$ac_objext
24324 if { (ac_try="$ac_compile"
24325 case "(($ac_try" in
24326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24327 *) ac_try_echo=$ac_try;;
24328 esac
24329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24330 (eval "$ac_compile") 2>conftest.er1
24331 ac_status=$?
24332 grep -v '^ *+' conftest.er1 >conftest.err
24333 rm -f conftest.er1
24334 cat conftest.err >&5
24335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24336 (exit $ac_status); } &&
24337 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24338 { (case "(($ac_try" in
24339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24340 *) ac_try_echo=$ac_try;;
24341 esac
24342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24343 (eval "$ac_try") 2>&5
24344 ac_status=$?
24345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24346 (exit $ac_status); }; } &&
24347 { ac_try='test -s conftest.$ac_objext'
24348 { (case "(($ac_try" in
24349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24350 *) ac_try_echo=$ac_try;;
24351 esac
24352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24353 (eval "$ac_try") 2>&5
24354 ac_status=$?
24355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24356 (exit $ac_status); }; }; then
24357 # It does; now see whether it defined to BIG_ENDIAN or not.
24358 cat >conftest.$ac_ext <<_ACEOF
24359 /* confdefs.h. */
24360 _ACEOF
24361 cat confdefs.h >>conftest.$ac_ext
24362 cat >>conftest.$ac_ext <<_ACEOF
24363 /* end confdefs.h. */
24364 #include <sys/types.h>
24365 #include <sys/param.h>
24366 int
24367 main ()
24368 {
24369
24370 #if BYTE_ORDER != BIG_ENDIAN
24371 not big endian
24372 #endif
24373 ;
24374 return 0;
24375 }
24376 _ACEOF
24377 rm -f conftest.$ac_objext
24378 if { (ac_try="$ac_compile"
24379 case "(($ac_try" in
24380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24381 *) ac_try_echo=$ac_try;;
24382 esac
24383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24384 (eval "$ac_compile") 2>conftest.er1
24385 ac_status=$?
24386 grep -v '^ *+' conftest.er1 >conftest.err
24387 rm -f conftest.er1
24388 cat conftest.err >&5
24389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24390 (exit $ac_status); } &&
24391 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24392 { (case "(($ac_try" in
24393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24394 *) ac_try_echo=$ac_try;;
24395 esac
24396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24397 (eval "$ac_try") 2>&5
24398 ac_status=$?
24399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24400 (exit $ac_status); }; } &&
24401 { ac_try='test -s conftest.$ac_objext'
24402 { (case "(($ac_try" in
24403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24404 *) ac_try_echo=$ac_try;;
24405 esac
24406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24407 (eval "$ac_try") 2>&5
24408 ac_status=$?
24409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24410 (exit $ac_status); }; }; then
24411 ac_cv_c_bigendian=yes
24412 else
24413 echo "$as_me: failed program was:" >&5
24414 sed 's/^/| /' conftest.$ac_ext >&5
24415
24416 ac_cv_c_bigendian=no
24417 fi
24418
24419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24420 else
24421 echo "$as_me: failed program was:" >&5
24422 sed 's/^/| /' conftest.$ac_ext >&5
24423
24424
24425 fi
24426
24427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24428 if test $ac_cv_c_bigendian = unknown; then
24429 if test "$cross_compiling" = yes; then
24430 ac_cv_c_bigendian=unknown
24431 else
24432 cat >conftest.$ac_ext <<_ACEOF
24433 /* confdefs.h. */
24434 _ACEOF
24435 cat confdefs.h >>conftest.$ac_ext
24436 cat >>conftest.$ac_ext <<_ACEOF
24437 /* end confdefs.h. */
24438 main () {
24439 /* Are we little or big endian? From Harbison&Steele. */
24440 union
24441 {
24442 long l;
24443 char c[sizeof (long)];
24444 } u;
24445 u.l = 1;
24446 exit (u.c[sizeof (long) - 1] == 1);
24447 }
24448 _ACEOF
24449 rm -f conftest$ac_exeext
24450 if { (ac_try="$ac_link"
24451 case "(($ac_try" in
24452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24453 *) ac_try_echo=$ac_try;;
24454 esac
24455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24456 (eval "$ac_link") 2>&5
24457 ac_status=$?
24458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24459 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24460 { (case "(($ac_try" in
24461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24462 *) ac_try_echo=$ac_try;;
24463 esac
24464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24465 (eval "$ac_try") 2>&5
24466 ac_status=$?
24467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24468 (exit $ac_status); }; }; then
24469 ac_cv_c_bigendian=no
24470 else
24471 echo "$as_me: program exited with status $ac_status" >&5
24472 echo "$as_me: failed program was:" >&5
24473 sed 's/^/| /' conftest.$ac_ext >&5
24474
24475 ( exit $ac_status )
24476 ac_cv_c_bigendian=yes
24477 fi
24478 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24479 fi
24480
24481
24482 fi
24483 fi
24484 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24485 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24486 if test $ac_cv_c_bigendian = unknown; then
24487 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
24488 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
24489 fi
24490 if test $ac_cv_c_bigendian = yes; then
24491 cat >>confdefs.h <<\_ACEOF
24492 #define WORDS_BIGENDIAN 1
24493 _ACEOF
24494
24495 fi
24496
24497
24498
24499
24500 ac_ext=cpp
24501 ac_cpp='$CXXCPP $CPPFLAGS'
24502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24505
24506
24507 { echo "$as_me:$LINENO: checking for iostream" >&5
24508 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
24509 if test "${ac_cv_header_iostream+set}" = set; then
24510 echo $ECHO_N "(cached) $ECHO_C" >&6
24511 else
24512 cat >conftest.$ac_ext <<_ACEOF
24513 /* confdefs.h. */
24514 _ACEOF
24515 cat confdefs.h >>conftest.$ac_ext
24516 cat >>conftest.$ac_ext <<_ACEOF
24517 /* end confdefs.h. */
24518
24519
24520 #include <iostream>
24521 _ACEOF
24522 rm -f conftest.$ac_objext
24523 if { (ac_try="$ac_compile"
24524 case "(($ac_try" in
24525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24526 *) ac_try_echo=$ac_try;;
24527 esac
24528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24529 (eval "$ac_compile") 2>conftest.er1
24530 ac_status=$?
24531 grep -v '^ *+' conftest.er1 >conftest.err
24532 rm -f conftest.er1
24533 cat conftest.err >&5
24534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24535 (exit $ac_status); } &&
24536 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24537 { (case "(($ac_try" in
24538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24539 *) ac_try_echo=$ac_try;;
24540 esac
24541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24542 (eval "$ac_try") 2>&5
24543 ac_status=$?
24544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24545 (exit $ac_status); }; } &&
24546 { ac_try='test -s conftest.$ac_objext'
24547 { (case "(($ac_try" in
24548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24549 *) ac_try_echo=$ac_try;;
24550 esac
24551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24552 (eval "$ac_try") 2>&5
24553 ac_status=$?
24554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24555 (exit $ac_status); }; }; then
24556 ac_cv_header_iostream=yes
24557 else
24558 echo "$as_me: failed program was:" >&5
24559 sed 's/^/| /' conftest.$ac_ext >&5
24560
24561 ac_cv_header_iostream=no
24562 fi
24563
24564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24565 fi
24566 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
24567 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
24568
24569
24570
24571 if test "$ac_cv_header_iostream" = "yes" ; then
24572 :
24573 else
24574 cat >>confdefs.h <<\_ACEOF
24575 #define wxUSE_IOSTREAMH 1
24576 _ACEOF
24577
24578 fi
24579
24580 ac_ext=c
24581 ac_cpp='$CPP $CPPFLAGS'
24582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24585
24586
24587
24588
24589 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
24590 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
24591 if test "${wx_cv_cpp_bool+set}" = set; then
24592 echo $ECHO_N "(cached) $ECHO_C" >&6
24593 else
24594
24595
24596 ac_ext=cpp
24597 ac_cpp='$CXXCPP $CPPFLAGS'
24598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24601
24602
24603 cat >conftest.$ac_ext <<_ACEOF
24604 /* confdefs.h. */
24605 _ACEOF
24606 cat confdefs.h >>conftest.$ac_ext
24607 cat >>conftest.$ac_ext <<_ACEOF
24608 /* end confdefs.h. */
24609
24610
24611 int
24612 main ()
24613 {
24614
24615 bool b = true;
24616
24617 return 0;
24618
24619 ;
24620 return 0;
24621 }
24622 _ACEOF
24623 rm -f conftest.$ac_objext
24624 if { (ac_try="$ac_compile"
24625 case "(($ac_try" in
24626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24627 *) ac_try_echo=$ac_try;;
24628 esac
24629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24630 (eval "$ac_compile") 2>conftest.er1
24631 ac_status=$?
24632 grep -v '^ *+' conftest.er1 >conftest.err
24633 rm -f conftest.er1
24634 cat conftest.err >&5
24635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24636 (exit $ac_status); } &&
24637 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24638 { (case "(($ac_try" in
24639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24640 *) ac_try_echo=$ac_try;;
24641 esac
24642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24643 (eval "$ac_try") 2>&5
24644 ac_status=$?
24645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24646 (exit $ac_status); }; } &&
24647 { ac_try='test -s conftest.$ac_objext'
24648 { (case "(($ac_try" in
24649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24650 *) ac_try_echo=$ac_try;;
24651 esac
24652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24653 (eval "$ac_try") 2>&5
24654 ac_status=$?
24655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24656 (exit $ac_status); }; }; then
24657
24658 wx_cv_cpp_bool=yes
24659
24660 else
24661 echo "$as_me: failed program was:" >&5
24662 sed 's/^/| /' conftest.$ac_ext >&5
24663
24664
24665 wx_cv_cpp_bool=no
24666
24667
24668 fi
24669
24670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24671
24672 ac_ext=c
24673 ac_cpp='$CPP $CPPFLAGS'
24674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24677
24678
24679 fi
24680 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
24681 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
24682
24683 if test "$wx_cv_cpp_bool" = "yes"; then
24684 cat >>confdefs.h <<\_ACEOF
24685 #define HAVE_BOOL 1
24686 _ACEOF
24687
24688 fi
24689
24690
24691
24692 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24693 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24694 if test "${wx_cv_explicit+set}" = set; then
24695 echo $ECHO_N "(cached) $ECHO_C" >&6
24696 else
24697
24698
24699 ac_ext=cpp
24700 ac_cpp='$CXXCPP $CPPFLAGS'
24701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24704
24705
24706 cat >conftest.$ac_ext <<_ACEOF
24707 /* confdefs.h. */
24708 _ACEOF
24709 cat confdefs.h >>conftest.$ac_ext
24710 cat >>conftest.$ac_ext <<_ACEOF
24711 /* end confdefs.h. */
24712
24713 class Foo { public: explicit Foo(int) {} };
24714
24715 int
24716 main ()
24717 {
24718
24719 return 0;
24720
24721 ;
24722 return 0;
24723 }
24724 _ACEOF
24725 rm -f conftest.$ac_objext
24726 if { (ac_try="$ac_compile"
24727 case "(($ac_try" in
24728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24729 *) ac_try_echo=$ac_try;;
24730 esac
24731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24732 (eval "$ac_compile") 2>conftest.er1
24733 ac_status=$?
24734 grep -v '^ *+' conftest.er1 >conftest.err
24735 rm -f conftest.er1
24736 cat conftest.err >&5
24737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24738 (exit $ac_status); } &&
24739 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24740 { (case "(($ac_try" in
24741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24742 *) ac_try_echo=$ac_try;;
24743 esac
24744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24745 (eval "$ac_try") 2>&5
24746 ac_status=$?
24747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24748 (exit $ac_status); }; } &&
24749 { ac_try='test -s conftest.$ac_objext'
24750 { (case "(($ac_try" in
24751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24752 *) ac_try_echo=$ac_try;;
24753 esac
24754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24755 (eval "$ac_try") 2>&5
24756 ac_status=$?
24757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24758 (exit $ac_status); }; }; then
24759
24760 cat >conftest.$ac_ext <<_ACEOF
24761 /* confdefs.h. */
24762 _ACEOF
24763 cat confdefs.h >>conftest.$ac_ext
24764 cat >>conftest.$ac_ext <<_ACEOF
24765 /* end confdefs.h. */
24766
24767 class Foo { public: explicit Foo(int) {} };
24768 static void TakeFoo(const Foo& foo) { }
24769
24770 int
24771 main ()
24772 {
24773
24774 TakeFoo(17);
24775 return 0;
24776
24777 ;
24778 return 0;
24779 }
24780 _ACEOF
24781 rm -f conftest.$ac_objext
24782 if { (ac_try="$ac_compile"
24783 case "(($ac_try" in
24784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24785 *) ac_try_echo=$ac_try;;
24786 esac
24787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24788 (eval "$ac_compile") 2>conftest.er1
24789 ac_status=$?
24790 grep -v '^ *+' conftest.er1 >conftest.err
24791 rm -f conftest.er1
24792 cat conftest.err >&5
24793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24794 (exit $ac_status); } &&
24795 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24796 { (case "(($ac_try" in
24797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24798 *) ac_try_echo=$ac_try;;
24799 esac
24800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24801 (eval "$ac_try") 2>&5
24802 ac_status=$?
24803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24804 (exit $ac_status); }; } &&
24805 { ac_try='test -s conftest.$ac_objext'
24806 { (case "(($ac_try" in
24807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24808 *) ac_try_echo=$ac_try;;
24809 esac
24810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24811 (eval "$ac_try") 2>&5
24812 ac_status=$?
24813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24814 (exit $ac_status); }; }; then
24815 wx_cv_explicit=no
24816 else
24817 echo "$as_me: failed program was:" >&5
24818 sed 's/^/| /' conftest.$ac_ext >&5
24819
24820 wx_cv_explicit=yes
24821
24822 fi
24823
24824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24825
24826 else
24827 echo "$as_me: failed program was:" >&5
24828 sed 's/^/| /' conftest.$ac_ext >&5
24829
24830 wx_cv_explicit=no
24831
24832 fi
24833
24834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24835
24836 ac_ext=c
24837 ac_cpp='$CPP $CPPFLAGS'
24838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24841
24842
24843 fi
24844 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24845 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24846
24847 if test "$wx_cv_explicit" = "yes"; then
24848 cat >>confdefs.h <<\_ACEOF
24849 #define HAVE_EXPLICIT 1
24850 _ACEOF
24851
24852 fi
24853
24854
24855 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
24856 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
24857 if test "${ac_cv_cxx_const_cast+set}" = set; then
24858 echo $ECHO_N "(cached) $ECHO_C" >&6
24859 else
24860
24861 ac_ext=cpp
24862 ac_cpp='$CXXCPP $CPPFLAGS'
24863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24866
24867 cat >conftest.$ac_ext <<_ACEOF
24868 /* confdefs.h. */
24869 _ACEOF
24870 cat confdefs.h >>conftest.$ac_ext
24871 cat >>conftest.$ac_ext <<_ACEOF
24872 /* end confdefs.h. */
24873
24874 int
24875 main ()
24876 {
24877 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
24878 ;
24879 return 0;
24880 }
24881 _ACEOF
24882 rm -f conftest.$ac_objext
24883 if { (ac_try="$ac_compile"
24884 case "(($ac_try" in
24885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24886 *) ac_try_echo=$ac_try;;
24887 esac
24888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24889 (eval "$ac_compile") 2>conftest.er1
24890 ac_status=$?
24891 grep -v '^ *+' conftest.er1 >conftest.err
24892 rm -f conftest.er1
24893 cat conftest.err >&5
24894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24895 (exit $ac_status); } &&
24896 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24897 { (case "(($ac_try" in
24898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24899 *) ac_try_echo=$ac_try;;
24900 esac
24901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24902 (eval "$ac_try") 2>&5
24903 ac_status=$?
24904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24905 (exit $ac_status); }; } &&
24906 { ac_try='test -s conftest.$ac_objext'
24907 { (case "(($ac_try" in
24908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24909 *) ac_try_echo=$ac_try;;
24910 esac
24911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24912 (eval "$ac_try") 2>&5
24913 ac_status=$?
24914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24915 (exit $ac_status); }; }; then
24916 ac_cv_cxx_const_cast=yes
24917 else
24918 echo "$as_me: failed program was:" >&5
24919 sed 's/^/| /' conftest.$ac_ext >&5
24920
24921 ac_cv_cxx_const_cast=no
24922 fi
24923
24924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24925 ac_ext=c
24926 ac_cpp='$CPP $CPPFLAGS'
24927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24930
24931
24932 fi
24933 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
24934 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
24935 if test "$ac_cv_cxx_const_cast" = yes; then
24936
24937 cat >>confdefs.h <<\_ACEOF
24938 #define HAVE_CONST_CAST
24939 _ACEOF
24940
24941 fi
24942
24943 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
24944 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
24945 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
24946 echo $ECHO_N "(cached) $ECHO_C" >&6
24947 else
24948
24949 ac_ext=cpp
24950 ac_cpp='$CXXCPP $CPPFLAGS'
24951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24954
24955 cat >conftest.$ac_ext <<_ACEOF
24956 /* confdefs.h. */
24957 _ACEOF
24958 cat confdefs.h >>conftest.$ac_ext
24959 cat >>conftest.$ac_ext <<_ACEOF
24960 /* end confdefs.h. */
24961 #include <typeinfo>
24962 class Base { public : Base () {} virtual void f () = 0;};
24963 class Derived : public Base { public : Derived () {} virtual void f () {} };
24964 class Unrelated { public : Unrelated () {} };
24965 int g (Unrelated&) { return 0; }
24966 int
24967 main ()
24968 {
24969
24970 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
24971 ;
24972 return 0;
24973 }
24974 _ACEOF
24975 rm -f conftest.$ac_objext
24976 if { (ac_try="$ac_compile"
24977 case "(($ac_try" in
24978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24979 *) ac_try_echo=$ac_try;;
24980 esac
24981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24982 (eval "$ac_compile") 2>conftest.er1
24983 ac_status=$?
24984 grep -v '^ *+' conftest.er1 >conftest.err
24985 rm -f conftest.er1
24986 cat conftest.err >&5
24987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24988 (exit $ac_status); } &&
24989 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24990 { (case "(($ac_try" in
24991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24992 *) ac_try_echo=$ac_try;;
24993 esac
24994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24995 (eval "$ac_try") 2>&5
24996 ac_status=$?
24997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24998 (exit $ac_status); }; } &&
24999 { ac_try='test -s conftest.$ac_objext'
25000 { (case "(($ac_try" in
25001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25002 *) ac_try_echo=$ac_try;;
25003 esac
25004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25005 (eval "$ac_try") 2>&5
25006 ac_status=$?
25007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25008 (exit $ac_status); }; }; then
25009 ac_cv_cxx_reinterpret_cast=yes
25010 else
25011 echo "$as_me: failed program was:" >&5
25012 sed 's/^/| /' conftest.$ac_ext >&5
25013
25014 ac_cv_cxx_reinterpret_cast=no
25015 fi
25016
25017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25018 ac_ext=c
25019 ac_cpp='$CPP $CPPFLAGS'
25020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25023
25024
25025 fi
25026 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
25027 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
25028 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
25029
25030 cat >>confdefs.h <<\_ACEOF
25031 #define HAVE_REINTERPRET_CAST
25032 _ACEOF
25033
25034 fi
25035
25036 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
25037 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
25038 if test "${ac_cv_cxx_static_cast+set}" = set; then
25039 echo $ECHO_N "(cached) $ECHO_C" >&6
25040 else
25041
25042 ac_ext=cpp
25043 ac_cpp='$CXXCPP $CPPFLAGS'
25044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25047
25048 cat >conftest.$ac_ext <<_ACEOF
25049 /* confdefs.h. */
25050 _ACEOF
25051 cat confdefs.h >>conftest.$ac_ext
25052 cat >>conftest.$ac_ext <<_ACEOF
25053 /* end confdefs.h. */
25054 #include <typeinfo>
25055 class Base { public : Base () {} virtual void f () = 0; };
25056 class Derived : public Base { public : Derived () {} virtual void f () {} };
25057 int g (Derived&) { return 0; }
25058 int
25059 main ()
25060 {
25061
25062 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
25063 ;
25064 return 0;
25065 }
25066 _ACEOF
25067 rm -f conftest.$ac_objext
25068 if { (ac_try="$ac_compile"
25069 case "(($ac_try" in
25070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25071 *) ac_try_echo=$ac_try;;
25072 esac
25073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25074 (eval "$ac_compile") 2>conftest.er1
25075 ac_status=$?
25076 grep -v '^ *+' conftest.er1 >conftest.err
25077 rm -f conftest.er1
25078 cat conftest.err >&5
25079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25080 (exit $ac_status); } &&
25081 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25082 { (case "(($ac_try" in
25083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25084 *) ac_try_echo=$ac_try;;
25085 esac
25086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25087 (eval "$ac_try") 2>&5
25088 ac_status=$?
25089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25090 (exit $ac_status); }; } &&
25091 { ac_try='test -s conftest.$ac_objext'
25092 { (case "(($ac_try" in
25093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25094 *) ac_try_echo=$ac_try;;
25095 esac
25096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25097 (eval "$ac_try") 2>&5
25098 ac_status=$?
25099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25100 (exit $ac_status); }; }; then
25101 ac_cv_cxx_static_cast=yes
25102 else
25103 echo "$as_me: failed program was:" >&5
25104 sed 's/^/| /' conftest.$ac_ext >&5
25105
25106 ac_cv_cxx_static_cast=no
25107 fi
25108
25109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25110 ac_ext=c
25111 ac_cpp='$CPP $CPPFLAGS'
25112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25115
25116
25117 fi
25118 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
25119 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
25120 if test "$ac_cv_cxx_static_cast" = yes; then
25121
25122 cat >>confdefs.h <<\_ACEOF
25123 #define HAVE_STATIC_CAST
25124 _ACEOF
25125
25126 fi
25127
25128
25129 if test "x$SUNCXX" = xyes; then
25130 CXXFLAGS="-features=tmplife $CXXFLAGS"
25131 fi
25132
25133 if test "x$SUNCC" = xyes; then
25134 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25135 fi
25136
25137 if test "x$SGICC" = "xyes"; then
25138 CFLAGS="-woff 3970 $CFLAGS"
25139 fi
25140 if test "x$SGICXX" = "xyes"; then
25141 CXXFLAGS="-woff 3970 $CXXFLAGS"
25142 fi
25143
25144 if test "x$HPCC" = "xyes"; then
25145 CFLAGS="+W 2011,2450 $CFLAGS"
25146 fi
25147 if test "x$HPCXX" = "xyes"; then
25148 CXXFLAGS="+W 2340 $CXXFLAGS"
25149 fi
25150
25151 if test "x$COMPAQCXX" = "xyes"; then
25152 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25153 fi
25154
25155 ac_ext=cpp
25156 ac_cpp='$CXXCPP $CPPFLAGS'
25157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25160
25161
25162 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25163 if test "$wxUSE_UNICODE" = "yes"; then
25164 std_string="std::wstring"
25165 char_type="wchar_t"
25166 else
25167 std_string="std::string"
25168 char_type="char"
25169 fi
25170
25171 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25172 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25173 if test "${wx_cv_class_stdstring+set}" = set; then
25174 echo $ECHO_N "(cached) $ECHO_C" >&6
25175 else
25176
25177 cat >conftest.$ac_ext <<_ACEOF
25178 /* confdefs.h. */
25179 _ACEOF
25180 cat confdefs.h >>conftest.$ac_ext
25181 cat >>conftest.$ac_ext <<_ACEOF
25182 /* end confdefs.h. */
25183 #include <string>
25184 int
25185 main ()
25186 {
25187 $std_string foo;
25188 ;
25189 return 0;
25190 }
25191 _ACEOF
25192 rm -f conftest.$ac_objext
25193 if { (ac_try="$ac_compile"
25194 case "(($ac_try" in
25195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25196 *) ac_try_echo=$ac_try;;
25197 esac
25198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25199 (eval "$ac_compile") 2>conftest.er1
25200 ac_status=$?
25201 grep -v '^ *+' conftest.er1 >conftest.err
25202 rm -f conftest.er1
25203 cat conftest.err >&5
25204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25205 (exit $ac_status); } &&
25206 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25207 { (case "(($ac_try" in
25208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25209 *) ac_try_echo=$ac_try;;
25210 esac
25211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25212 (eval "$ac_try") 2>&5
25213 ac_status=$?
25214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25215 (exit $ac_status); }; } &&
25216 { ac_try='test -s conftest.$ac_objext'
25217 { (case "(($ac_try" in
25218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25219 *) ac_try_echo=$ac_try;;
25220 esac
25221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25222 (eval "$ac_try") 2>&5
25223 ac_status=$?
25224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25225 (exit $ac_status); }; }; then
25226 wx_cv_class_stdstring=yes
25227 else
25228 echo "$as_me: failed program was:" >&5
25229 sed 's/^/| /' conftest.$ac_ext >&5
25230
25231 wx_cv_class_stdstring=no
25232
25233 fi
25234
25235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25236
25237
25238 fi
25239 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25240 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25241
25242 if test "$wx_cv_class_stdstring" = yes; then
25243 if test "$wxUSE_UNICODE" = "yes"; then
25244 cat >>confdefs.h <<\_ACEOF
25245 #define HAVE_STD_WSTRING 1
25246 _ACEOF
25247
25248 fi
25249 else
25250 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25251 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25252 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25253 echo $ECHO_N "(cached) $ECHO_C" >&6
25254 else
25255
25256 cat >conftest.$ac_ext <<_ACEOF
25257 /* confdefs.h. */
25258 _ACEOF
25259 cat confdefs.h >>conftest.$ac_ext
25260 cat >>conftest.$ac_ext <<_ACEOF
25261 /* end confdefs.h. */
25262
25263 #ifdef HAVE_WCHAR_H
25264 # ifdef __CYGWIN__
25265 # include <stddef.h>
25266 # endif
25267 # include <wchar.h>
25268 #endif
25269 #ifdef HAVE_STDLIB_H
25270 # include <stdlib.h>
25271 #endif
25272 #include <stdio.h>
25273 #include <string>
25274
25275 int
25276 main ()
25277 {
25278 std::basic_string<$char_type> foo;
25279 const $char_type* dummy = foo.c_str();
25280 ;
25281 return 0;
25282 }
25283 _ACEOF
25284 rm -f conftest.$ac_objext
25285 if { (ac_try="$ac_compile"
25286 case "(($ac_try" in
25287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25288 *) ac_try_echo=$ac_try;;
25289 esac
25290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25291 (eval "$ac_compile") 2>conftest.er1
25292 ac_status=$?
25293 grep -v '^ *+' conftest.er1 >conftest.err
25294 rm -f conftest.er1
25295 cat conftest.err >&5
25296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25297 (exit $ac_status); } &&
25298 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25299 { (case "(($ac_try" in
25300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25301 *) ac_try_echo=$ac_try;;
25302 esac
25303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25304 (eval "$ac_try") 2>&5
25305 ac_status=$?
25306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25307 (exit $ac_status); }; } &&
25308 { ac_try='test -s conftest.$ac_objext'
25309 { (case "(($ac_try" in
25310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25311 *) ac_try_echo=$ac_try;;
25312 esac
25313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25314 (eval "$ac_try") 2>&5
25315 ac_status=$?
25316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25317 (exit $ac_status); }; }; then
25318 wx_cv_class_stdbasicstring=yes
25319 else
25320 echo "$as_me: failed program was:" >&5
25321 sed 's/^/| /' conftest.$ac_ext >&5
25322
25323 wx_cv_class_stdbasicstring=no
25324
25325 fi
25326
25327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25328
25329
25330 fi
25331 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25332 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25333
25334 if test "$wx_cv_class_stdbasicstring" != yes; then
25335 if test "$wxUSE_STL" = "yes"; then
25336 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25337 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25338 { (exit 1); exit 1; }; }
25339 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
25340 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25341 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25342 { (exit 1); exit 1; }; }
25343 else
25344 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25345 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25346 wxUSE_STD_STRING=no
25347 fi
25348 fi
25349 fi
25350 fi
25351
25352 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25353 { echo "$as_me:$LINENO: checking for std::istream" >&5
25354 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25355 if test "${ac_cv_type_std__istream+set}" = set; then
25356 echo $ECHO_N "(cached) $ECHO_C" >&6
25357 else
25358 cat >conftest.$ac_ext <<_ACEOF
25359 /* confdefs.h. */
25360 _ACEOF
25361 cat confdefs.h >>conftest.$ac_ext
25362 cat >>conftest.$ac_ext <<_ACEOF
25363 /* end confdefs.h. */
25364 #include <iostream>
25365
25366 typedef std::istream ac__type_new_;
25367 int
25368 main ()
25369 {
25370 if ((ac__type_new_ *) 0)
25371 return 0;
25372 if (sizeof (ac__type_new_))
25373 return 0;
25374 ;
25375 return 0;
25376 }
25377 _ACEOF
25378 rm -f conftest.$ac_objext
25379 if { (ac_try="$ac_compile"
25380 case "(($ac_try" in
25381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25382 *) ac_try_echo=$ac_try;;
25383 esac
25384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25385 (eval "$ac_compile") 2>conftest.er1
25386 ac_status=$?
25387 grep -v '^ *+' conftest.er1 >conftest.err
25388 rm -f conftest.er1
25389 cat conftest.err >&5
25390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25391 (exit $ac_status); } &&
25392 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25393 { (case "(($ac_try" in
25394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25395 *) ac_try_echo=$ac_try;;
25396 esac
25397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25398 (eval "$ac_try") 2>&5
25399 ac_status=$?
25400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25401 (exit $ac_status); }; } &&
25402 { ac_try='test -s conftest.$ac_objext'
25403 { (case "(($ac_try" in
25404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25405 *) ac_try_echo=$ac_try;;
25406 esac
25407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25408 (eval "$ac_try") 2>&5
25409 ac_status=$?
25410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25411 (exit $ac_status); }; }; then
25412 ac_cv_type_std__istream=yes
25413 else
25414 echo "$as_me: failed program was:" >&5
25415 sed 's/^/| /' conftest.$ac_ext >&5
25416
25417 ac_cv_type_std__istream=no
25418 fi
25419
25420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25421 fi
25422 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25423 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25424 if test $ac_cv_type_std__istream = yes; then
25425
25426 cat >>confdefs.h <<_ACEOF
25427 #define HAVE_STD__ISTREAM 1
25428 _ACEOF
25429
25430
25431 else
25432 wxUSE_STD_IOSTREAM=no
25433 fi
25434 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25435 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25436 if test "${ac_cv_type_std__ostream+set}" = set; then
25437 echo $ECHO_N "(cached) $ECHO_C" >&6
25438 else
25439 cat >conftest.$ac_ext <<_ACEOF
25440 /* confdefs.h. */
25441 _ACEOF
25442 cat confdefs.h >>conftest.$ac_ext
25443 cat >>conftest.$ac_ext <<_ACEOF
25444 /* end confdefs.h. */
25445 #include <iostream>
25446
25447 typedef std::ostream ac__type_new_;
25448 int
25449 main ()
25450 {
25451 if ((ac__type_new_ *) 0)
25452 return 0;
25453 if (sizeof (ac__type_new_))
25454 return 0;
25455 ;
25456 return 0;
25457 }
25458 _ACEOF
25459 rm -f conftest.$ac_objext
25460 if { (ac_try="$ac_compile"
25461 case "(($ac_try" in
25462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25463 *) ac_try_echo=$ac_try;;
25464 esac
25465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25466 (eval "$ac_compile") 2>conftest.er1
25467 ac_status=$?
25468 grep -v '^ *+' conftest.er1 >conftest.err
25469 rm -f conftest.er1
25470 cat conftest.err >&5
25471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25472 (exit $ac_status); } &&
25473 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25474 { (case "(($ac_try" in
25475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25476 *) ac_try_echo=$ac_try;;
25477 esac
25478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25479 (eval "$ac_try") 2>&5
25480 ac_status=$?
25481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25482 (exit $ac_status); }; } &&
25483 { ac_try='test -s conftest.$ac_objext'
25484 { (case "(($ac_try" in
25485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25486 *) ac_try_echo=$ac_try;;
25487 esac
25488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25489 (eval "$ac_try") 2>&5
25490 ac_status=$?
25491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25492 (exit $ac_status); }; }; then
25493 ac_cv_type_std__ostream=yes
25494 else
25495 echo "$as_me: failed program was:" >&5
25496 sed 's/^/| /' conftest.$ac_ext >&5
25497
25498 ac_cv_type_std__ostream=no
25499 fi
25500
25501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25502 fi
25503 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25504 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25505 if test $ac_cv_type_std__ostream = yes; then
25506
25507 cat >>confdefs.h <<_ACEOF
25508 #define HAVE_STD__OSTREAM 1
25509 _ACEOF
25510
25511
25512 else
25513 wxUSE_STD_IOSTREAM=no
25514 fi
25515
25516
25517 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25518 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
25519 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25520 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25521 { (exit 1); exit 1; }; }
25522 else
25523 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25524 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25525 fi
25526 fi
25527 fi
25528
25529 if test "$wxUSE_STL" = "yes"; then
25530 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25531 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25532 if test "${wx_cv_lib_stl+set}" = set; then
25533 echo $ECHO_N "(cached) $ECHO_C" >&6
25534 else
25535 cat >conftest.$ac_ext <<_ACEOF
25536 /* confdefs.h. */
25537 _ACEOF
25538 cat confdefs.h >>conftest.$ac_ext
25539 cat >>conftest.$ac_ext <<_ACEOF
25540 /* end confdefs.h. */
25541 #include <string>
25542 #include <functional>
25543 #include <algorithm>
25544 #include <vector>
25545 #include <list>
25546 int
25547 main ()
25548 {
25549 std::vector<int> moo;
25550 std::list<int> foo;
25551 std::vector<int>::iterator it =
25552 std::find_if(moo.begin(), moo.end(),
25553 std::bind2nd(std::less<int>(), 3));
25554 ;
25555 return 0;
25556 }
25557 _ACEOF
25558 rm -f conftest.$ac_objext
25559 if { (ac_try="$ac_compile"
25560 case "(($ac_try" in
25561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25562 *) ac_try_echo=$ac_try;;
25563 esac
25564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25565 (eval "$ac_compile") 2>conftest.er1
25566 ac_status=$?
25567 grep -v '^ *+' conftest.er1 >conftest.err
25568 rm -f conftest.er1
25569 cat conftest.err >&5
25570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25571 (exit $ac_status); } &&
25572 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25573 { (case "(($ac_try" in
25574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25575 *) ac_try_echo=$ac_try;;
25576 esac
25577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25578 (eval "$ac_try") 2>&5
25579 ac_status=$?
25580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25581 (exit $ac_status); }; } &&
25582 { ac_try='test -s conftest.$ac_objext'
25583 { (case "(($ac_try" in
25584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25585 *) ac_try_echo=$ac_try;;
25586 esac
25587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25588 (eval "$ac_try") 2>&5
25589 ac_status=$?
25590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25591 (exit $ac_status); }; }; then
25592 wx_cv_lib_stl=yes
25593 else
25594 echo "$as_me: failed program was:" >&5
25595 sed 's/^/| /' conftest.$ac_ext >&5
25596
25597 wx_cv_lib_stl=no
25598
25599 fi
25600
25601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25602
25603 fi
25604 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25605 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25606
25607 if test "$wx_cv_lib_stl" != yes; then
25608 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25609 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25610 { (exit 1); exit 1; }; }
25611 fi
25612
25613 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25614 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25615 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25616 echo $ECHO_N "(cached) $ECHO_C" >&6
25617 else
25618 cat >conftest.$ac_ext <<_ACEOF
25619 /* confdefs.h. */
25620 _ACEOF
25621 cat confdefs.h >>conftest.$ac_ext
25622 cat >>conftest.$ac_ext <<_ACEOF
25623 /* end confdefs.h. */
25624 #include <string>
25625 int
25626 main ()
25627 {
25628 std::string foo, bar;
25629 foo.compare(bar);
25630 foo.compare(1, 1, bar);
25631 foo.compare(1, 1, bar, 1, 1);
25632 foo.compare("");
25633 foo.compare(1, 1, "");
25634 foo.compare(1, 1, "", 2);
25635 ;
25636 return 0;
25637 }
25638 _ACEOF
25639 rm -f conftest.$ac_objext
25640 if { (ac_try="$ac_compile"
25641 case "(($ac_try" in
25642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25643 *) ac_try_echo=$ac_try;;
25644 esac
25645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25646 (eval "$ac_compile") 2>conftest.er1
25647 ac_status=$?
25648 grep -v '^ *+' conftest.er1 >conftest.err
25649 rm -f conftest.er1
25650 cat conftest.err >&5
25651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25652 (exit $ac_status); } &&
25653 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25654 { (case "(($ac_try" in
25655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25656 *) ac_try_echo=$ac_try;;
25657 esac
25658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25659 (eval "$ac_try") 2>&5
25660 ac_status=$?
25661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25662 (exit $ac_status); }; } &&
25663 { ac_try='test -s conftest.$ac_objext'
25664 { (case "(($ac_try" in
25665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25666 *) ac_try_echo=$ac_try;;
25667 esac
25668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25669 (eval "$ac_try") 2>&5
25670 ac_status=$?
25671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25672 (exit $ac_status); }; }; then
25673 wx_cv_func_stdstring_compare=yes
25674 else
25675 echo "$as_me: failed program was:" >&5
25676 sed 's/^/| /' conftest.$ac_ext >&5
25677
25678 wx_cv_func_stdstring_compare=no
25679
25680 fi
25681
25682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25683
25684 fi
25685 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25686 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25687
25688 if test "$wx_cv_func_stdstring_compare" = yes; then
25689 cat >>confdefs.h <<\_ACEOF
25690 #define HAVE_STD_STRING_COMPARE 1
25691 _ACEOF
25692
25693 fi
25694
25695 { echo "$as_me:$LINENO: checking for hash_map" >&5
25696 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25697 if test "${ac_cv_header_hash_map+set}" = set; then
25698 echo $ECHO_N "(cached) $ECHO_C" >&6
25699 else
25700 cat >conftest.$ac_ext <<_ACEOF
25701 /* confdefs.h. */
25702 _ACEOF
25703 cat confdefs.h >>conftest.$ac_ext
25704 cat >>conftest.$ac_ext <<_ACEOF
25705 /* end confdefs.h. */
25706
25707
25708
25709 #include <hash_map>
25710 _ACEOF
25711 rm -f conftest.$ac_objext
25712 if { (ac_try="$ac_compile"
25713 case "(($ac_try" in
25714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25715 *) ac_try_echo=$ac_try;;
25716 esac
25717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25718 (eval "$ac_compile") 2>conftest.er1
25719 ac_status=$?
25720 grep -v '^ *+' conftest.er1 >conftest.err
25721 rm -f conftest.er1
25722 cat conftest.err >&5
25723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25724 (exit $ac_status); } &&
25725 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25726 { (case "(($ac_try" in
25727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25728 *) ac_try_echo=$ac_try;;
25729 esac
25730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25731 (eval "$ac_try") 2>&5
25732 ac_status=$?
25733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25734 (exit $ac_status); }; } &&
25735 { ac_try='test -s conftest.$ac_objext'
25736 { (case "(($ac_try" in
25737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25738 *) ac_try_echo=$ac_try;;
25739 esac
25740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25741 (eval "$ac_try") 2>&5
25742 ac_status=$?
25743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25744 (exit $ac_status); }; }; then
25745 ac_cv_header_hash_map=yes
25746 else
25747 echo "$as_me: failed program was:" >&5
25748 sed 's/^/| /' conftest.$ac_ext >&5
25749
25750 ac_cv_header_hash_map=no
25751 fi
25752
25753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25754 fi
25755 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25756 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25757 if test $ac_cv_header_hash_map = yes; then
25758 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
25759 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
25760 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25761 echo $ECHO_N "(cached) $ECHO_C" >&6
25762 else
25763 cat >conftest.$ac_ext <<_ACEOF
25764 /* confdefs.h. */
25765 _ACEOF
25766 cat confdefs.h >>conftest.$ac_ext
25767 cat >>conftest.$ac_ext <<_ACEOF
25768 /* end confdefs.h. */
25769 #include <hash_map>
25770 #include <hash_set>
25771 int
25772 main ()
25773 {
25774 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25775 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25776 ;
25777 return 0;
25778 }
25779 _ACEOF
25780 rm -f conftest.$ac_objext
25781 if { (ac_try="$ac_compile"
25782 case "(($ac_try" in
25783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25784 *) ac_try_echo=$ac_try;;
25785 esac
25786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25787 (eval "$ac_compile") 2>conftest.er1
25788 ac_status=$?
25789 grep -v '^ *+' conftest.er1 >conftest.err
25790 rm -f conftest.er1
25791 cat conftest.err >&5
25792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25793 (exit $ac_status); } &&
25794 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25795 { (case "(($ac_try" in
25796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25797 *) ac_try_echo=$ac_try;;
25798 esac
25799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25800 (eval "$ac_try") 2>&5
25801 ac_status=$?
25802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25803 (exit $ac_status); }; } &&
25804 { ac_try='test -s conftest.$ac_objext'
25805 { (case "(($ac_try" in
25806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25807 *) ac_try_echo=$ac_try;;
25808 esac
25809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25810 (eval "$ac_try") 2>&5
25811 ac_status=$?
25812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25813 (exit $ac_status); }; }; then
25814 wx_cv_class_stdhashmapset=yes
25815 else
25816 echo "$as_me: failed program was:" >&5
25817 sed 's/^/| /' conftest.$ac_ext >&5
25818
25819 wx_cv_class_stdhashmapset=no
25820 fi
25821
25822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25823
25824
25825 fi
25826 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25827 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25828 fi
25829
25830
25831
25832 if test "$wx_cv_class_stdhashmapset" = yes; then
25833 cat >>confdefs.h <<\_ACEOF
25834 #define HAVE_HASH_MAP 1
25835 _ACEOF
25836
25837 cat >>confdefs.h <<\_ACEOF
25838 #define HAVE_STD_HASH_MAP 1
25839 _ACEOF
25840
25841 fi
25842
25843 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25844 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25845 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25846 echo $ECHO_N "(cached) $ECHO_C" >&6
25847 else
25848 cat >conftest.$ac_ext <<_ACEOF
25849 /* confdefs.h. */
25850 _ACEOF
25851 cat confdefs.h >>conftest.$ac_ext
25852 cat >>conftest.$ac_ext <<_ACEOF
25853 /* end confdefs.h. */
25854
25855
25856
25857 #include <ext/hash_map>
25858 _ACEOF
25859 rm -f conftest.$ac_objext
25860 if { (ac_try="$ac_compile"
25861 case "(($ac_try" in
25862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25863 *) ac_try_echo=$ac_try;;
25864 esac
25865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25866 (eval "$ac_compile") 2>conftest.er1
25867 ac_status=$?
25868 grep -v '^ *+' conftest.er1 >conftest.err
25869 rm -f conftest.er1
25870 cat conftest.err >&5
25871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25872 (exit $ac_status); } &&
25873 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25874 { (case "(($ac_try" in
25875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25876 *) ac_try_echo=$ac_try;;
25877 esac
25878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25879 (eval "$ac_try") 2>&5
25880 ac_status=$?
25881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25882 (exit $ac_status); }; } &&
25883 { ac_try='test -s conftest.$ac_objext'
25884 { (case "(($ac_try" in
25885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25886 *) ac_try_echo=$ac_try;;
25887 esac
25888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25889 (eval "$ac_try") 2>&5
25890 ac_status=$?
25891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25892 (exit $ac_status); }; }; then
25893 ac_cv_header_ext_hash_map=yes
25894 else
25895 echo "$as_me: failed program was:" >&5
25896 sed 's/^/| /' conftest.$ac_ext >&5
25897
25898 ac_cv_header_ext_hash_map=no
25899 fi
25900
25901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25902 fi
25903 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25904 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25905 if test $ac_cv_header_ext_hash_map = yes; then
25906 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25907 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25908 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25909 echo $ECHO_N "(cached) $ECHO_C" >&6
25910 else
25911 cat >conftest.$ac_ext <<_ACEOF
25912 /* confdefs.h. */
25913 _ACEOF
25914 cat confdefs.h >>conftest.$ac_ext
25915 cat >>conftest.$ac_ext <<_ACEOF
25916 /* end confdefs.h. */
25917 #include <ext/hash_map>
25918 #include <ext/hash_set>
25919 int
25920 main ()
25921 {
25922 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25923 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25924 ;
25925 return 0;
25926 }
25927 _ACEOF
25928 rm -f conftest.$ac_objext
25929 if { (ac_try="$ac_compile"
25930 case "(($ac_try" in
25931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25932 *) ac_try_echo=$ac_try;;
25933 esac
25934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25935 (eval "$ac_compile") 2>conftest.er1
25936 ac_status=$?
25937 grep -v '^ *+' conftest.er1 >conftest.err
25938 rm -f conftest.er1
25939 cat conftest.err >&5
25940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25941 (exit $ac_status); } &&
25942 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25943 { (case "(($ac_try" in
25944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25945 *) ac_try_echo=$ac_try;;
25946 esac
25947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25948 (eval "$ac_try") 2>&5
25949 ac_status=$?
25950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25951 (exit $ac_status); }; } &&
25952 { ac_try='test -s conftest.$ac_objext'
25953 { (case "(($ac_try" in
25954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25955 *) ac_try_echo=$ac_try;;
25956 esac
25957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25958 (eval "$ac_try") 2>&5
25959 ac_status=$?
25960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25961 (exit $ac_status); }; }; then
25962 wx_cv_class_gnuhashmapset=yes
25963 else
25964 echo "$as_me: failed program was:" >&5
25965 sed 's/^/| /' conftest.$ac_ext >&5
25966
25967 wx_cv_class_gnuhashmapset=no
25968 fi
25969
25970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25971
25972
25973 fi
25974 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25975 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25976 fi
25977
25978
25979
25980 if test "$wx_cv_class_gnuhashmapset" = yes; then
25981 cat >>confdefs.h <<\_ACEOF
25982 #define HAVE_EXT_HASH_MAP 1
25983 _ACEOF
25984
25985 cat >>confdefs.h <<\_ACEOF
25986 #define HAVE_GNU_CXX_HASH_MAP 1
25987 _ACEOF
25988
25989 fi
25990 fi
25991
25992 ac_ext=c
25993 ac_cpp='$CPP $CPPFLAGS'
25994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25997
25998
25999
26000 SEARCH_INCLUDE="\
26001 /usr/local/include \
26002 \
26003 /usr/Motif-2.1/include \
26004 /usr/Motif-1.2/include \
26005 /usr/include/Motif1.2 \
26006 \
26007 /usr/dt/include \
26008 /usr/openwin/include \
26009 \
26010 /usr/include/Xm \
26011 \
26012 /usr/X11R6/include \
26013 /usr/X11R6.4/include \
26014 /usr/X11R5/include \
26015 /usr/X11R4/include \
26016 \
26017 /usr/include/X11R6 \
26018 /usr/include/X11R5 \
26019 /usr/include/X11R4 \
26020 \
26021 /usr/local/X11R6/include \
26022 /usr/local/X11R5/include \
26023 /usr/local/X11R4/include \
26024 \
26025 /usr/local/include/X11R6 \
26026 /usr/local/include/X11R5 \
26027 /usr/local/include/X11R4 \
26028 \
26029 /usr/X11/include \
26030 /usr/include/X11 \
26031 /usr/local/X11/include \
26032 /usr/local/include/X11 \
26033 \
26034 /usr/XFree86/include/X11 \
26035 /usr/pkg/include \
26036 \
26037 /usr/openwin/share/include"
26038
26039 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26040 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26041
26042 case "${host}" in
26043 *-*-irix6* )
26044 if test "${wx_cv_std_libpath+set}" = set; then
26045 echo $ECHO_N "(cached) $ECHO_C" >&6
26046 else
26047
26048 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26049 for e in a so sl dylib dll.a; do
26050 libc="$d/libc.$e"
26051 if test -f $libc; then
26052 save_LIBS="$LIBS"
26053 LIBS="$libc"
26054 cat >conftest.$ac_ext <<_ACEOF
26055 int main() { return 0; }
26056 _ACEOF
26057 rm -f conftest.$ac_objext conftest$ac_exeext
26058 if { (ac_try="$ac_link"
26059 case "(($ac_try" in
26060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26061 *) ac_try_echo=$ac_try;;
26062 esac
26063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26064 (eval "$ac_link") 2>conftest.er1
26065 ac_status=$?
26066 grep -v '^ *+' conftest.er1 >conftest.err
26067 rm -f conftest.er1
26068 cat conftest.err >&5
26069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26070 (exit $ac_status); } &&
26071 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26072 { (case "(($ac_try" in
26073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26074 *) ac_try_echo=$ac_try;;
26075 esac
26076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26077 (eval "$ac_try") 2>&5
26078 ac_status=$?
26079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26080 (exit $ac_status); }; } &&
26081 { ac_try='test -s conftest$ac_exeext'
26082 { (case "(($ac_try" in
26083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26084 *) ac_try_echo=$ac_try;;
26085 esac
26086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26087 (eval "$ac_try") 2>&5
26088 ac_status=$?
26089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26090 (exit $ac_status); }; }; then
26091 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26092 else
26093 echo "$as_me: failed program was:" >&5
26094 sed 's/^/| /' conftest.$ac_ext >&5
26095
26096
26097 fi
26098
26099 rm -f core conftest.err conftest.$ac_objext \
26100 conftest$ac_exeext conftest.$ac_ext
26101 LIBS="$save_LIBS"
26102 if test "x$wx_cv_std_libpath" != "x"; then
26103 break 2
26104 fi
26105 fi
26106 done
26107 done
26108 if test "x$wx_cv_std_libpath" = "x"; then
26109 wx_cv_std_libpath="lib"
26110 fi
26111
26112
26113 fi
26114
26115 ;;
26116
26117 *-*-solaris2* )
26118 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26119 wx_cv_std_libpath="lib/64"
26120 else
26121 wx_cv_std_libpath="lib"
26122 fi
26123 ;;
26124
26125 *-*-linux* )
26126 if test "$ac_cv_sizeof_void_p" = 8 -a \
26127 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26128 wx_cv_std_libpath="lib64"
26129 else
26130 wx_cv_std_libpath="lib"
26131 fi
26132 ;;
26133
26134 *)
26135 wx_cv_std_libpath="lib";
26136 ;;
26137 esac
26138
26139 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26140 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26141
26142 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26143
26144 if test "$build" != "$host" -a "$GCC" = yes; then
26145 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26146 cross_root=`dirname $cross_root`
26147 cross_root=`dirname $cross_root`
26148
26149 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26150 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26151 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26152
26153 if test -z "$PKG_CONFIG_PATH"; then
26154 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26155 export PKG_CONFIG_PATH
26156 fi
26157
26158 if test -z "$x_includes" -o "$x_includes" = NONE; then
26159
26160 ac_find_includes=
26161 for ac_dir in $SEARCH_INCLUDE /usr/include;
26162 do
26163 if test -f "$ac_dir/X11/Intrinsic.h"; then
26164 ac_find_includes=$ac_dir
26165 break
26166 fi
26167 done
26168
26169 x_includes=$ac_find_includes
26170 fi
26171 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26172
26173 ac_find_libraries=
26174 for ac_dir in $SEARCH_LIB;
26175 do
26176 for ac_extension in a so sl dylib dll.a; do
26177 if test -f "$ac_dir/libXt.$ac_extension"; then
26178 ac_find_libraries=$ac_dir
26179 break 2
26180 fi
26181 done
26182 done
26183
26184 x_libraries=$ac_find_libraries
26185 fi
26186 fi
26187 fi
26188
26189
26190 cat >confcache <<\_ACEOF
26191 # This file is a shell script that caches the results of configure
26192 # tests run on this system so they can be shared between configure
26193 # scripts and configure runs, see configure's option --config-cache.
26194 # It is not useful on other systems. If it contains results you don't
26195 # want to keep, you may remove or edit it.
26196 #
26197 # config.status only pays attention to the cache file if you give it
26198 # the --recheck option to rerun configure.
26199 #
26200 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26201 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26202 # following values.
26203
26204 _ACEOF
26205
26206 # The following way of writing the cache mishandles newlines in values,
26207 # but we know of no workaround that is simple, portable, and efficient.
26208 # So, we kill variables containing newlines.
26209 # Ultrix sh set writes to stderr and can't be redirected directly,
26210 # and sets the high bit in the cache file unless we assign to the vars.
26211 (
26212 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26213 eval ac_val=\$$ac_var
26214 case $ac_val in #(
26215 *${as_nl}*)
26216 case $ac_var in #(
26217 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26218 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26219 esac
26220 case $ac_var in #(
26221 _ | IFS | as_nl) ;; #(
26222 *) $as_unset $ac_var ;;
26223 esac ;;
26224 esac
26225 done
26226
26227 (set) 2>&1 |
26228 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26229 *${as_nl}ac_space=\ *)
26230 # `set' does not quote correctly, so add quotes (double-quote
26231 # substitution turns \\\\ into \\, and sed turns \\ into \).
26232 sed -n \
26233 "s/'/'\\\\''/g;
26234 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26235 ;; #(
26236 *)
26237 # `set' quotes correctly as required by POSIX, so do not add quotes.
26238 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26239 ;;
26240 esac |
26241 sort
26242 ) |
26243 sed '
26244 /^ac_cv_env_/b end
26245 t clear
26246 :clear
26247 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26248 t end
26249 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26250 :end' >>confcache
26251 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26252 if test -w "$cache_file"; then
26253 test "x$cache_file" != "x/dev/null" &&
26254 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26255 echo "$as_me: updating cache $cache_file" >&6;}
26256 cat confcache >$cache_file
26257 else
26258 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26259 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26260 fi
26261 fi
26262 rm -f confcache
26263
26264 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26265 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26266 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26267 if test "${wx_cv_lib_glibc21+set}" = set; then
26268 echo $ECHO_N "(cached) $ECHO_C" >&6
26269 else
26270
26271 cat >conftest.$ac_ext <<_ACEOF
26272 /* confdefs.h. */
26273 _ACEOF
26274 cat confdefs.h >>conftest.$ac_ext
26275 cat >>conftest.$ac_ext <<_ACEOF
26276 /* end confdefs.h. */
26277 #include <features.h>
26278 int
26279 main ()
26280 {
26281
26282 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26283 not glibc 2.1
26284 #endif
26285
26286 ;
26287 return 0;
26288 }
26289 _ACEOF
26290 rm -f conftest.$ac_objext
26291 if { (ac_try="$ac_compile"
26292 case "(($ac_try" in
26293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26294 *) ac_try_echo=$ac_try;;
26295 esac
26296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26297 (eval "$ac_compile") 2>conftest.er1
26298 ac_status=$?
26299 grep -v '^ *+' conftest.er1 >conftest.err
26300 rm -f conftest.er1
26301 cat conftest.err >&5
26302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26303 (exit $ac_status); } &&
26304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26305 { (case "(($ac_try" in
26306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26307 *) ac_try_echo=$ac_try;;
26308 esac
26309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26310 (eval "$ac_try") 2>&5
26311 ac_status=$?
26312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26313 (exit $ac_status); }; } &&
26314 { ac_try='test -s conftest.$ac_objext'
26315 { (case "(($ac_try" in
26316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26317 *) ac_try_echo=$ac_try;;
26318 esac
26319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26320 (eval "$ac_try") 2>&5
26321 ac_status=$?
26322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26323 (exit $ac_status); }; }; then
26324
26325 wx_cv_lib_glibc21=yes
26326
26327 else
26328 echo "$as_me: failed program was:" >&5
26329 sed 's/^/| /' conftest.$ac_ext >&5
26330
26331
26332 wx_cv_lib_glibc21=no
26333
26334
26335 fi
26336
26337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26338
26339 fi
26340 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26341 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
26342 if test "$wx_cv_lib_glibc21" = "yes"; then
26343 cat >>confdefs.h <<\_ACEOF
26344 #define wxHAVE_GLIBC2 1
26345 _ACEOF
26346
26347 fi
26348 fi
26349
26350 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26351 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26352 cat >>confdefs.h <<\_ACEOF
26353 #define _GNU_SOURCE 1
26354 _ACEOF
26355
26356 fi
26357 fi
26358
26359 have_cos=0
26360 have_floor=0
26361
26362 for ac_func in cos
26363 do
26364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26365 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26367 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26368 echo $ECHO_N "(cached) $ECHO_C" >&6
26369 else
26370 cat >conftest.$ac_ext <<_ACEOF
26371 /* confdefs.h. */
26372 _ACEOF
26373 cat confdefs.h >>conftest.$ac_ext
26374 cat >>conftest.$ac_ext <<_ACEOF
26375 /* end confdefs.h. */
26376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26378 #define $ac_func innocuous_$ac_func
26379
26380 /* System header to define __stub macros and hopefully few prototypes,
26381 which can conflict with char $ac_func (); below.
26382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26383 <limits.h> exists even on freestanding compilers. */
26384
26385 #ifdef __STDC__
26386 # include <limits.h>
26387 #else
26388 # include <assert.h>
26389 #endif
26390
26391 #undef $ac_func
26392
26393 /* Override any GCC internal prototype to avoid an error.
26394 Use char because int might match the return type of a GCC
26395 builtin and then its argument prototype would still apply. */
26396 #ifdef __cplusplus
26397 extern "C"
26398 #endif
26399 char $ac_func ();
26400 /* The GNU C library defines this for functions which it implements
26401 to always fail with ENOSYS. Some functions are actually named
26402 something starting with __ and the normal name is an alias. */
26403 #if defined __stub_$ac_func || defined __stub___$ac_func
26404 choke me
26405 #endif
26406
26407 int
26408 main ()
26409 {
26410 return $ac_func ();
26411 ;
26412 return 0;
26413 }
26414 _ACEOF
26415 rm -f conftest.$ac_objext conftest$ac_exeext
26416 if { (ac_try="$ac_link"
26417 case "(($ac_try" in
26418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26419 *) ac_try_echo=$ac_try;;
26420 esac
26421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26422 (eval "$ac_link") 2>conftest.er1
26423 ac_status=$?
26424 grep -v '^ *+' conftest.er1 >conftest.err
26425 rm -f conftest.er1
26426 cat conftest.err >&5
26427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26428 (exit $ac_status); } &&
26429 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26430 { (case "(($ac_try" in
26431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26432 *) ac_try_echo=$ac_try;;
26433 esac
26434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26435 (eval "$ac_try") 2>&5
26436 ac_status=$?
26437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26438 (exit $ac_status); }; } &&
26439 { ac_try='test -s conftest$ac_exeext'
26440 { (case "(($ac_try" in
26441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26442 *) ac_try_echo=$ac_try;;
26443 esac
26444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26445 (eval "$ac_try") 2>&5
26446 ac_status=$?
26447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26448 (exit $ac_status); }; }; then
26449 eval "$as_ac_var=yes"
26450 else
26451 echo "$as_me: failed program was:" >&5
26452 sed 's/^/| /' conftest.$ac_ext >&5
26453
26454 eval "$as_ac_var=no"
26455 fi
26456
26457 rm -f core conftest.err conftest.$ac_objext \
26458 conftest$ac_exeext conftest.$ac_ext
26459 fi
26460 ac_res=`eval echo '${'$as_ac_var'}'`
26461 { echo "$as_me:$LINENO: result: $ac_res" >&5
26462 echo "${ECHO_T}$ac_res" >&6; }
26463 if test `eval echo '${'$as_ac_var'}'` = yes; then
26464 cat >>confdefs.h <<_ACEOF
26465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26466 _ACEOF
26467 have_cos=1
26468 fi
26469 done
26470
26471
26472 for ac_func in floor
26473 do
26474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26475 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26477 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26478 echo $ECHO_N "(cached) $ECHO_C" >&6
26479 else
26480 cat >conftest.$ac_ext <<_ACEOF
26481 /* confdefs.h. */
26482 _ACEOF
26483 cat confdefs.h >>conftest.$ac_ext
26484 cat >>conftest.$ac_ext <<_ACEOF
26485 /* end confdefs.h. */
26486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26488 #define $ac_func innocuous_$ac_func
26489
26490 /* System header to define __stub macros and hopefully few prototypes,
26491 which can conflict with char $ac_func (); below.
26492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26493 <limits.h> exists even on freestanding compilers. */
26494
26495 #ifdef __STDC__
26496 # include <limits.h>
26497 #else
26498 # include <assert.h>
26499 #endif
26500
26501 #undef $ac_func
26502
26503 /* Override any GCC internal prototype to avoid an error.
26504 Use char because int might match the return type of a GCC
26505 builtin and then its argument prototype would still apply. */
26506 #ifdef __cplusplus
26507 extern "C"
26508 #endif
26509 char $ac_func ();
26510 /* The GNU C library defines this for functions which it implements
26511 to always fail with ENOSYS. Some functions are actually named
26512 something starting with __ and the normal name is an alias. */
26513 #if defined __stub_$ac_func || defined __stub___$ac_func
26514 choke me
26515 #endif
26516
26517 int
26518 main ()
26519 {
26520 return $ac_func ();
26521 ;
26522 return 0;
26523 }
26524 _ACEOF
26525 rm -f conftest.$ac_objext conftest$ac_exeext
26526 if { (ac_try="$ac_link"
26527 case "(($ac_try" in
26528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26529 *) ac_try_echo=$ac_try;;
26530 esac
26531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26532 (eval "$ac_link") 2>conftest.er1
26533 ac_status=$?
26534 grep -v '^ *+' conftest.er1 >conftest.err
26535 rm -f conftest.er1
26536 cat conftest.err >&5
26537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26538 (exit $ac_status); } &&
26539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26540 { (case "(($ac_try" in
26541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26542 *) ac_try_echo=$ac_try;;
26543 esac
26544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26545 (eval "$ac_try") 2>&5
26546 ac_status=$?
26547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26548 (exit $ac_status); }; } &&
26549 { ac_try='test -s conftest$ac_exeext'
26550 { (case "(($ac_try" in
26551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26552 *) ac_try_echo=$ac_try;;
26553 esac
26554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26555 (eval "$ac_try") 2>&5
26556 ac_status=$?
26557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26558 (exit $ac_status); }; }; then
26559 eval "$as_ac_var=yes"
26560 else
26561 echo "$as_me: failed program was:" >&5
26562 sed 's/^/| /' conftest.$ac_ext >&5
26563
26564 eval "$as_ac_var=no"
26565 fi
26566
26567 rm -f core conftest.err conftest.$ac_objext \
26568 conftest$ac_exeext conftest.$ac_ext
26569 fi
26570 ac_res=`eval echo '${'$as_ac_var'}'`
26571 { echo "$as_me:$LINENO: result: $ac_res" >&5
26572 echo "${ECHO_T}$ac_res" >&6; }
26573 if test `eval echo '${'$as_ac_var'}'` = yes; then
26574 cat >>confdefs.h <<_ACEOF
26575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26576 _ACEOF
26577 have_floor=1
26578 fi
26579 done
26580
26581 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26582 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26583 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26584 { echo "$as_me:$LINENO: result: yes" >&5
26585 echo "${ECHO_T}yes" >&6; }
26586 else
26587 { echo "$as_me:$LINENO: result: no" >&5
26588 echo "${ECHO_T}no" >&6; }
26589 LIBS="$LIBS -lm"
26590 # use different functions to avoid configure caching
26591 have_sin=0
26592 have_ceil=0
26593
26594 for ac_func in sin
26595 do
26596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26597 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26599 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26600 echo $ECHO_N "(cached) $ECHO_C" >&6
26601 else
26602 cat >conftest.$ac_ext <<_ACEOF
26603 /* confdefs.h. */
26604 _ACEOF
26605 cat confdefs.h >>conftest.$ac_ext
26606 cat >>conftest.$ac_ext <<_ACEOF
26607 /* end confdefs.h. */
26608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26610 #define $ac_func innocuous_$ac_func
26611
26612 /* System header to define __stub macros and hopefully few prototypes,
26613 which can conflict with char $ac_func (); below.
26614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26615 <limits.h> exists even on freestanding compilers. */
26616
26617 #ifdef __STDC__
26618 # include <limits.h>
26619 #else
26620 # include <assert.h>
26621 #endif
26622
26623 #undef $ac_func
26624
26625 /* Override any GCC internal prototype to avoid an error.
26626 Use char because int might match the return type of a GCC
26627 builtin and then its argument prototype would still apply. */
26628 #ifdef __cplusplus
26629 extern "C"
26630 #endif
26631 char $ac_func ();
26632 /* The GNU C library defines this for functions which it implements
26633 to always fail with ENOSYS. Some functions are actually named
26634 something starting with __ and the normal name is an alias. */
26635 #if defined __stub_$ac_func || defined __stub___$ac_func
26636 choke me
26637 #endif
26638
26639 int
26640 main ()
26641 {
26642 return $ac_func ();
26643 ;
26644 return 0;
26645 }
26646 _ACEOF
26647 rm -f conftest.$ac_objext conftest$ac_exeext
26648 if { (ac_try="$ac_link"
26649 case "(($ac_try" in
26650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26651 *) ac_try_echo=$ac_try;;
26652 esac
26653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26654 (eval "$ac_link") 2>conftest.er1
26655 ac_status=$?
26656 grep -v '^ *+' conftest.er1 >conftest.err
26657 rm -f conftest.er1
26658 cat conftest.err >&5
26659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26660 (exit $ac_status); } &&
26661 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26662 { (case "(($ac_try" in
26663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26664 *) ac_try_echo=$ac_try;;
26665 esac
26666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26667 (eval "$ac_try") 2>&5
26668 ac_status=$?
26669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26670 (exit $ac_status); }; } &&
26671 { ac_try='test -s conftest$ac_exeext'
26672 { (case "(($ac_try" in
26673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26674 *) ac_try_echo=$ac_try;;
26675 esac
26676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26677 (eval "$ac_try") 2>&5
26678 ac_status=$?
26679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26680 (exit $ac_status); }; }; then
26681 eval "$as_ac_var=yes"
26682 else
26683 echo "$as_me: failed program was:" >&5
26684 sed 's/^/| /' conftest.$ac_ext >&5
26685
26686 eval "$as_ac_var=no"
26687 fi
26688
26689 rm -f core conftest.err conftest.$ac_objext \
26690 conftest$ac_exeext conftest.$ac_ext
26691 fi
26692 ac_res=`eval echo '${'$as_ac_var'}'`
26693 { echo "$as_me:$LINENO: result: $ac_res" >&5
26694 echo "${ECHO_T}$ac_res" >&6; }
26695 if test `eval echo '${'$as_ac_var'}'` = yes; then
26696 cat >>confdefs.h <<_ACEOF
26697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26698 _ACEOF
26699 have_sin=1
26700 fi
26701 done
26702
26703
26704 for ac_func in ceil
26705 do
26706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26707 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26709 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26710 echo $ECHO_N "(cached) $ECHO_C" >&6
26711 else
26712 cat >conftest.$ac_ext <<_ACEOF
26713 /* confdefs.h. */
26714 _ACEOF
26715 cat confdefs.h >>conftest.$ac_ext
26716 cat >>conftest.$ac_ext <<_ACEOF
26717 /* end confdefs.h. */
26718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26720 #define $ac_func innocuous_$ac_func
26721
26722 /* System header to define __stub macros and hopefully few prototypes,
26723 which can conflict with char $ac_func (); below.
26724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26725 <limits.h> exists even on freestanding compilers. */
26726
26727 #ifdef __STDC__
26728 # include <limits.h>
26729 #else
26730 # include <assert.h>
26731 #endif
26732
26733 #undef $ac_func
26734
26735 /* Override any GCC internal prototype to avoid an error.
26736 Use char because int might match the return type of a GCC
26737 builtin and then its argument prototype would still apply. */
26738 #ifdef __cplusplus
26739 extern "C"
26740 #endif
26741 char $ac_func ();
26742 /* The GNU C library defines this for functions which it implements
26743 to always fail with ENOSYS. Some functions are actually named
26744 something starting with __ and the normal name is an alias. */
26745 #if defined __stub_$ac_func || defined __stub___$ac_func
26746 choke me
26747 #endif
26748
26749 int
26750 main ()
26751 {
26752 return $ac_func ();
26753 ;
26754 return 0;
26755 }
26756 _ACEOF
26757 rm -f conftest.$ac_objext conftest$ac_exeext
26758 if { (ac_try="$ac_link"
26759 case "(($ac_try" in
26760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26761 *) ac_try_echo=$ac_try;;
26762 esac
26763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26764 (eval "$ac_link") 2>conftest.er1
26765 ac_status=$?
26766 grep -v '^ *+' conftest.er1 >conftest.err
26767 rm -f conftest.er1
26768 cat conftest.err >&5
26769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26770 (exit $ac_status); } &&
26771 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26772 { (case "(($ac_try" in
26773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26774 *) ac_try_echo=$ac_try;;
26775 esac
26776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26777 (eval "$ac_try") 2>&5
26778 ac_status=$?
26779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26780 (exit $ac_status); }; } &&
26781 { ac_try='test -s conftest$ac_exeext'
26782 { (case "(($ac_try" in
26783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26784 *) ac_try_echo=$ac_try;;
26785 esac
26786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26787 (eval "$ac_try") 2>&5
26788 ac_status=$?
26789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26790 (exit $ac_status); }; }; then
26791 eval "$as_ac_var=yes"
26792 else
26793 echo "$as_me: failed program was:" >&5
26794 sed 's/^/| /' conftest.$ac_ext >&5
26795
26796 eval "$as_ac_var=no"
26797 fi
26798
26799 rm -f core conftest.err conftest.$ac_objext \
26800 conftest$ac_exeext conftest.$ac_ext
26801 fi
26802 ac_res=`eval echo '${'$as_ac_var'}'`
26803 { echo "$as_me:$LINENO: result: $ac_res" >&5
26804 echo "${ECHO_T}$ac_res" >&6; }
26805 if test `eval echo '${'$as_ac_var'}'` = yes; then
26806 cat >>confdefs.h <<_ACEOF
26807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26808 _ACEOF
26809 have_ceil=1
26810 fi
26811 done
26812
26813 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26814 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26815 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26816 { echo "$as_me:$LINENO: result: yes" >&5
26817 echo "${ECHO_T}yes" >&6; }
26818 else
26819 { echo "$as_me:$LINENO: result: no" >&5
26820 echo "${ECHO_T}no" >&6; }
26821 # not sure we should warn the user, crash, etc.
26822 fi
26823 fi
26824
26825 ac_ext=cpp
26826 ac_cpp='$CXXCPP $CPPFLAGS'
26827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26830
26831 if test "wxUSE_UNICODE" = "yes"; then
26832
26833 for wx_func in wcstoull
26834 do
26835 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26836 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26837 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26838 echo $ECHO_N "(cached) $ECHO_C" >&6
26839 else
26840
26841 cat >conftest.$ac_ext <<_ACEOF
26842
26843 /* confdefs.h. */
26844 _ACEOF
26845 cat confdefs.h >>conftest.$ac_ext
26846 cat >>conftest.$ac_ext <<_ACEOF
26847 /* end confdefs.h. */
26848
26849
26850 $ac_includes_default
26851
26852 int
26853 main ()
26854 {
26855
26856 #ifndef $wx_func
26857 &$wx_func;
26858 #endif
26859
26860
26861 ;
26862 return 0;
26863 }
26864
26865 _ACEOF
26866 rm -f conftest.$ac_objext conftest$ac_exeext
26867 if { (ac_try="$ac_link"
26868 case "(($ac_try" in
26869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26870 *) ac_try_echo=$ac_try;;
26871 esac
26872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26873 (eval "$ac_link") 2>conftest.er1
26874 ac_status=$?
26875 grep -v '^ *+' conftest.er1 >conftest.err
26876 rm -f conftest.er1
26877 cat conftest.err >&5
26878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26879 (exit $ac_status); } &&
26880 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26881 { (case "(($ac_try" in
26882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26883 *) ac_try_echo=$ac_try;;
26884 esac
26885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26886 (eval "$ac_try") 2>&5
26887 ac_status=$?
26888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26889 (exit $ac_status); }; } &&
26890 { ac_try='test -s conftest$ac_exeext'
26891 { (case "(($ac_try" in
26892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26893 *) ac_try_echo=$ac_try;;
26894 esac
26895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26896 (eval "$ac_try") 2>&5
26897 ac_status=$?
26898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26899 (exit $ac_status); }; }; then
26900 eval wx_cv_func_$wx_func=yes
26901 else
26902 echo "$as_me: failed program was:" >&5
26903 sed 's/^/| /' conftest.$ac_ext >&5
26904
26905 eval wx_cv_func_$wx_func=no
26906 fi
26907
26908 rm -f core conftest.err conftest.$ac_objext \
26909 conftest$ac_exeext conftest.$ac_ext
26910
26911 fi
26912 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26913 { echo "$as_me:$LINENO: result: $ac_res" >&5
26914 echo "${ECHO_T}$ac_res" >&6; }
26915
26916 if eval test \$wx_cv_func_$wx_func = yes
26917 then
26918 cat >>confdefs.h <<_ACEOF
26919 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
26920 _ACEOF
26921
26922
26923 else
26924 :
26925
26926 fi
26927 done
26928
26929 else
26930
26931 for wx_func in strtoull
26932 do
26933 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26934 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26935 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26936 echo $ECHO_N "(cached) $ECHO_C" >&6
26937 else
26938
26939 cat >conftest.$ac_ext <<_ACEOF
26940
26941 /* confdefs.h. */
26942 _ACEOF
26943 cat confdefs.h >>conftest.$ac_ext
26944 cat >>conftest.$ac_ext <<_ACEOF
26945 /* end confdefs.h. */
26946
26947
26948 $ac_includes_default
26949
26950 int
26951 main ()
26952 {
26953
26954 #ifndef $wx_func
26955 &$wx_func;
26956 #endif
26957
26958
26959 ;
26960 return 0;
26961 }
26962
26963 _ACEOF
26964 rm -f conftest.$ac_objext conftest$ac_exeext
26965 if { (ac_try="$ac_link"
26966 case "(($ac_try" in
26967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26968 *) ac_try_echo=$ac_try;;
26969 esac
26970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26971 (eval "$ac_link") 2>conftest.er1
26972 ac_status=$?
26973 grep -v '^ *+' conftest.er1 >conftest.err
26974 rm -f conftest.er1
26975 cat conftest.err >&5
26976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26977 (exit $ac_status); } &&
26978 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26979 { (case "(($ac_try" in
26980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26981 *) ac_try_echo=$ac_try;;
26982 esac
26983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26984 (eval "$ac_try") 2>&5
26985 ac_status=$?
26986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26987 (exit $ac_status); }; } &&
26988 { ac_try='test -s conftest$ac_exeext'
26989 { (case "(($ac_try" in
26990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26991 *) ac_try_echo=$ac_try;;
26992 esac
26993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26994 (eval "$ac_try") 2>&5
26995 ac_status=$?
26996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26997 (exit $ac_status); }; }; then
26998 eval wx_cv_func_$wx_func=yes
26999 else
27000 echo "$as_me: failed program was:" >&5
27001 sed 's/^/| /' conftest.$ac_ext >&5
27002
27003 eval wx_cv_func_$wx_func=no
27004 fi
27005
27006 rm -f core conftest.err conftest.$ac_objext \
27007 conftest$ac_exeext conftest.$ac_ext
27008
27009 fi
27010 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27011 { echo "$as_me:$LINENO: result: $ac_res" >&5
27012 echo "${ECHO_T}$ac_res" >&6; }
27013
27014 if eval test \$wx_cv_func_$wx_func = yes
27015 then
27016 cat >>confdefs.h <<_ACEOF
27017 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
27018 _ACEOF
27019
27020
27021 else
27022 :
27023
27024 fi
27025 done
27026
27027 fi
27028 ac_ext=c
27029 ac_cpp='$CPP $CPPFLAGS'
27030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27033
27034
27035
27036
27037 if test "$wxUSE_REGEX" != "no"; then
27038 cat >>confdefs.h <<\_ACEOF
27039 #define wxUSE_REGEX 1
27040 _ACEOF
27041
27042
27043 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27044 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
27045 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
27046 wxUSE_REGEX=builtin
27047 fi
27048
27049 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27050 { echo "$as_me:$LINENO: checking for regex.h" >&5
27051 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27052 if test "${ac_cv_header_regex_h+set}" = set; then
27053 echo $ECHO_N "(cached) $ECHO_C" >&6
27054 else
27055 cat >conftest.$ac_ext <<_ACEOF
27056 /* confdefs.h. */
27057 _ACEOF
27058 cat confdefs.h >>conftest.$ac_ext
27059 cat >>conftest.$ac_ext <<_ACEOF
27060 /* end confdefs.h. */
27061
27062
27063 #include <regex.h>
27064 _ACEOF
27065 rm -f conftest.$ac_objext
27066 if { (ac_try="$ac_compile"
27067 case "(($ac_try" in
27068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27069 *) ac_try_echo=$ac_try;;
27070 esac
27071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27072 (eval "$ac_compile") 2>conftest.er1
27073 ac_status=$?
27074 grep -v '^ *+' conftest.er1 >conftest.err
27075 rm -f conftest.er1
27076 cat conftest.err >&5
27077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27078 (exit $ac_status); } &&
27079 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27080 { (case "(($ac_try" in
27081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27082 *) ac_try_echo=$ac_try;;
27083 esac
27084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27085 (eval "$ac_try") 2>&5
27086 ac_status=$?
27087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27088 (exit $ac_status); }; } &&
27089 { ac_try='test -s conftest.$ac_objext'
27090 { (case "(($ac_try" in
27091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27092 *) ac_try_echo=$ac_try;;
27093 esac
27094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27095 (eval "$ac_try") 2>&5
27096 ac_status=$?
27097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27098 (exit $ac_status); }; }; then
27099 ac_cv_header_regex_h=yes
27100 else
27101 echo "$as_me: failed program was:" >&5
27102 sed 's/^/| /' conftest.$ac_ext >&5
27103
27104 ac_cv_header_regex_h=no
27105 fi
27106
27107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27108 fi
27109 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27110 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27111 if test $ac_cv_header_regex_h = yes; then
27112
27113
27114 for ac_func in regcomp re_search
27115 do
27116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27117 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27119 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27120 echo $ECHO_N "(cached) $ECHO_C" >&6
27121 else
27122 cat >conftest.$ac_ext <<_ACEOF
27123 /* confdefs.h. */
27124 _ACEOF
27125 cat confdefs.h >>conftest.$ac_ext
27126 cat >>conftest.$ac_ext <<_ACEOF
27127 /* end confdefs.h. */
27128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27130 #define $ac_func innocuous_$ac_func
27131
27132 /* System header to define __stub macros and hopefully few prototypes,
27133 which can conflict with char $ac_func (); below.
27134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27135 <limits.h> exists even on freestanding compilers. */
27136
27137 #ifdef __STDC__
27138 # include <limits.h>
27139 #else
27140 # include <assert.h>
27141 #endif
27142
27143 #undef $ac_func
27144
27145 /* Override any GCC internal prototype to avoid an error.
27146 Use char because int might match the return type of a GCC
27147 builtin and then its argument prototype would still apply. */
27148 #ifdef __cplusplus
27149 extern "C"
27150 #endif
27151 char $ac_func ();
27152 /* The GNU C library defines this for functions which it implements
27153 to always fail with ENOSYS. Some functions are actually named
27154 something starting with __ and the normal name is an alias. */
27155 #if defined __stub_$ac_func || defined __stub___$ac_func
27156 choke me
27157 #endif
27158
27159 int
27160 main ()
27161 {
27162 return $ac_func ();
27163 ;
27164 return 0;
27165 }
27166 _ACEOF
27167 rm -f conftest.$ac_objext conftest$ac_exeext
27168 if { (ac_try="$ac_link"
27169 case "(($ac_try" in
27170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27171 *) ac_try_echo=$ac_try;;
27172 esac
27173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27174 (eval "$ac_link") 2>conftest.er1
27175 ac_status=$?
27176 grep -v '^ *+' conftest.er1 >conftest.err
27177 rm -f conftest.er1
27178 cat conftest.err >&5
27179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27180 (exit $ac_status); } &&
27181 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27182 { (case "(($ac_try" in
27183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27184 *) ac_try_echo=$ac_try;;
27185 esac
27186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27187 (eval "$ac_try") 2>&5
27188 ac_status=$?
27189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27190 (exit $ac_status); }; } &&
27191 { ac_try='test -s conftest$ac_exeext'
27192 { (case "(($ac_try" in
27193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27194 *) ac_try_echo=$ac_try;;
27195 esac
27196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27197 (eval "$ac_try") 2>&5
27198 ac_status=$?
27199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27200 (exit $ac_status); }; }; then
27201 eval "$as_ac_var=yes"
27202 else
27203 echo "$as_me: failed program was:" >&5
27204 sed 's/^/| /' conftest.$ac_ext >&5
27205
27206 eval "$as_ac_var=no"
27207 fi
27208
27209 rm -f core conftest.err conftest.$ac_objext \
27210 conftest$ac_exeext conftest.$ac_ext
27211 fi
27212 ac_res=`eval echo '${'$as_ac_var'}'`
27213 { echo "$as_me:$LINENO: result: $ac_res" >&5
27214 echo "${ECHO_T}$ac_res" >&6; }
27215 if test `eval echo '${'$as_ac_var'}'` = yes; then
27216 cat >>confdefs.h <<_ACEOF
27217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27218 _ACEOF
27219
27220 fi
27221 done
27222
27223 fi
27224
27225
27226
27227 if test "x$ac_cv_func_regcomp" != "xyes"; then
27228 if test "$wxUSE_REGEX" = "sys" ; then
27229 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27230 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27231 { (exit 1); exit 1; }; }
27232 else
27233 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27234 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27235 wxUSE_REGEX=builtin
27236 fi
27237 else
27238 wxUSE_REGEX=sys
27239 cat >>confdefs.h <<\_ACEOF
27240 #define WX_NO_REGEX_ADVANCED 1
27241 _ACEOF
27242
27243 fi
27244 fi
27245 fi
27246
27247
27248 ZLIB_LINK=
27249 if test "$wxUSE_ZLIB" != "no" ; then
27250 cat >>confdefs.h <<\_ACEOF
27251 #define wxUSE_ZLIB 1
27252 _ACEOF
27253
27254
27255 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27256 if test "$USE_DARWIN" = 1; then
27257 system_zlib_h_ok="yes"
27258 else
27259 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27260 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27261 if test "${ac_cv_header_zlib_h+set}" = set; then
27262 echo $ECHO_N "(cached) $ECHO_C" >&6
27263 else
27264 if test "$cross_compiling" = yes; then
27265 unset ac_cv_header_zlib_h
27266
27267 else
27268 cat >conftest.$ac_ext <<_ACEOF
27269 /* confdefs.h. */
27270 _ACEOF
27271 cat confdefs.h >>conftest.$ac_ext
27272 cat >>conftest.$ac_ext <<_ACEOF
27273 /* end confdefs.h. */
27274
27275 #include <zlib.h>
27276 #include <stdio.h>
27277
27278 int main()
27279 {
27280 FILE *f=fopen("conftestval", "w");
27281 if (!f) exit(1);
27282 fprintf(f, "%s",
27283 ZLIB_VERSION[0] == '1' &&
27284 (ZLIB_VERSION[2] > '1' ||
27285 (ZLIB_VERSION[2] == '1' &&
27286 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27287 exit(0);
27288 }
27289
27290 _ACEOF
27291 rm -f conftest$ac_exeext
27292 if { (ac_try="$ac_link"
27293 case "(($ac_try" in
27294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27295 *) ac_try_echo=$ac_try;;
27296 esac
27297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27298 (eval "$ac_link") 2>&5
27299 ac_status=$?
27300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27301 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27302 { (case "(($ac_try" in
27303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27304 *) ac_try_echo=$ac_try;;
27305 esac
27306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27307 (eval "$ac_try") 2>&5
27308 ac_status=$?
27309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27310 (exit $ac_status); }; }; then
27311 ac_cv_header_zlib_h=`cat conftestval`
27312 else
27313 echo "$as_me: program exited with status $ac_status" >&5
27314 echo "$as_me: failed program was:" >&5
27315 sed 's/^/| /' conftest.$ac_ext >&5
27316
27317 ( exit $ac_status )
27318 ac_cv_header_zlib_h=no
27319 fi
27320 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27321 fi
27322
27323
27324
27325 fi
27326 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27327 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27328 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27329 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27330 if test "${ac_cv_header_zlib_h+set}" = set; then
27331 echo $ECHO_N "(cached) $ECHO_C" >&6
27332 else
27333 cat >conftest.$ac_ext <<_ACEOF
27334 /* confdefs.h. */
27335 _ACEOF
27336 cat confdefs.h >>conftest.$ac_ext
27337 cat >>conftest.$ac_ext <<_ACEOF
27338 /* end confdefs.h. */
27339
27340
27341 #include <zlib.h>
27342 _ACEOF
27343 rm -f conftest.$ac_objext
27344 if { (ac_try="$ac_compile"
27345 case "(($ac_try" in
27346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27347 *) ac_try_echo=$ac_try;;
27348 esac
27349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27350 (eval "$ac_compile") 2>conftest.er1
27351 ac_status=$?
27352 grep -v '^ *+' conftest.er1 >conftest.err
27353 rm -f conftest.er1
27354 cat conftest.err >&5
27355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27356 (exit $ac_status); } &&
27357 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27358 { (case "(($ac_try" in
27359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27360 *) ac_try_echo=$ac_try;;
27361 esac
27362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27363 (eval "$ac_try") 2>&5
27364 ac_status=$?
27365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27366 (exit $ac_status); }; } &&
27367 { ac_try='test -s conftest.$ac_objext'
27368 { (case "(($ac_try" in
27369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27370 *) ac_try_echo=$ac_try;;
27371 esac
27372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27373 (eval "$ac_try") 2>&5
27374 ac_status=$?
27375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27376 (exit $ac_status); }; }; then
27377 ac_cv_header_zlib_h=yes
27378 else
27379 echo "$as_me: failed program was:" >&5
27380 sed 's/^/| /' conftest.$ac_ext >&5
27381
27382 ac_cv_header_zlib_h=no
27383 fi
27384
27385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27386 fi
27387 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27388 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27389
27390
27391
27392 system_zlib_h_ok=$ac_cv_header_zlib_h
27393 fi
27394
27395 if test "$system_zlib_h_ok" = "yes"; then
27396 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27397 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27398 if test "${ac_cv_lib_z_deflate+set}" = set; then
27399 echo $ECHO_N "(cached) $ECHO_C" >&6
27400 else
27401 ac_check_lib_save_LIBS=$LIBS
27402 LIBS="-lz $LIBS"
27403 cat >conftest.$ac_ext <<_ACEOF
27404 /* confdefs.h. */
27405 _ACEOF
27406 cat confdefs.h >>conftest.$ac_ext
27407 cat >>conftest.$ac_ext <<_ACEOF
27408 /* end confdefs.h. */
27409
27410 /* Override any GCC internal prototype to avoid an error.
27411 Use char because int might match the return type of a GCC
27412 builtin and then its argument prototype would still apply. */
27413 #ifdef __cplusplus
27414 extern "C"
27415 #endif
27416 char deflate ();
27417 int
27418 main ()
27419 {
27420 return deflate ();
27421 ;
27422 return 0;
27423 }
27424 _ACEOF
27425 rm -f conftest.$ac_objext conftest$ac_exeext
27426 if { (ac_try="$ac_link"
27427 case "(($ac_try" in
27428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27429 *) ac_try_echo=$ac_try;;
27430 esac
27431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27432 (eval "$ac_link") 2>conftest.er1
27433 ac_status=$?
27434 grep -v '^ *+' conftest.er1 >conftest.err
27435 rm -f conftest.er1
27436 cat conftest.err >&5
27437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27438 (exit $ac_status); } &&
27439 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27440 { (case "(($ac_try" in
27441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27442 *) ac_try_echo=$ac_try;;
27443 esac
27444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27445 (eval "$ac_try") 2>&5
27446 ac_status=$?
27447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27448 (exit $ac_status); }; } &&
27449 { ac_try='test -s conftest$ac_exeext'
27450 { (case "(($ac_try" in
27451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27452 *) ac_try_echo=$ac_try;;
27453 esac
27454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27455 (eval "$ac_try") 2>&5
27456 ac_status=$?
27457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27458 (exit $ac_status); }; }; then
27459 ac_cv_lib_z_deflate=yes
27460 else
27461 echo "$as_me: failed program was:" >&5
27462 sed 's/^/| /' conftest.$ac_ext >&5
27463
27464 ac_cv_lib_z_deflate=no
27465 fi
27466
27467 rm -f core conftest.err conftest.$ac_objext \
27468 conftest$ac_exeext conftest.$ac_ext
27469 LIBS=$ac_check_lib_save_LIBS
27470 fi
27471 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27472 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
27473 if test $ac_cv_lib_z_deflate = yes; then
27474 ZLIB_LINK=" -lz"
27475 fi
27476
27477 fi
27478
27479 if test "x$ZLIB_LINK" = "x" ; then
27480 if test "$wxUSE_ZLIB" = "sys" ; then
27481 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27482 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27483 { (exit 1); exit 1; }; }
27484 else
27485 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27486 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27487 wxUSE_ZLIB=builtin
27488 fi
27489 else
27490 wxUSE_ZLIB=sys
27491 fi
27492 fi
27493 fi
27494
27495
27496 PNG_LINK=
27497 if test "$wxUSE_LIBPNG" != "no" ; then
27498 cat >>confdefs.h <<\_ACEOF
27499 #define wxUSE_LIBPNG 1
27500 _ACEOF
27501
27502
27503 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27504 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27505 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27506 wxUSE_LIBPNG=sys
27507 fi
27508
27509 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27510 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27511 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27512 wxUSE_LIBPNG=builtin
27513 fi
27514
27515 if test "$wxUSE_MGL" != 1 ; then
27516 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27517 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27518 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
27519 if test "${ac_cv_header_png_h+set}" = set; then
27520 echo $ECHO_N "(cached) $ECHO_C" >&6
27521 else
27522 if test "$cross_compiling" = yes; then
27523 unset ac_cv_header_png_h
27524
27525 else
27526 cat >conftest.$ac_ext <<_ACEOF
27527 /* confdefs.h. */
27528 _ACEOF
27529 cat confdefs.h >>conftest.$ac_ext
27530 cat >>conftest.$ac_ext <<_ACEOF
27531 /* end confdefs.h. */
27532
27533 #include <png.h>
27534 #include <stdio.h>
27535
27536 int main()
27537 {
27538 FILE *f=fopen("conftestval", "w");
27539 if (!f) exit(1);
27540 fprintf(f, "%s",
27541 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27542 exit(0);
27543 }
27544
27545 _ACEOF
27546 rm -f conftest$ac_exeext
27547 if { (ac_try="$ac_link"
27548 case "(($ac_try" in
27549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27550 *) ac_try_echo=$ac_try;;
27551 esac
27552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27553 (eval "$ac_link") 2>&5
27554 ac_status=$?
27555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27556 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27557 { (case "(($ac_try" in
27558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27559 *) ac_try_echo=$ac_try;;
27560 esac
27561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27562 (eval "$ac_try") 2>&5
27563 ac_status=$?
27564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27565 (exit $ac_status); }; }; then
27566 ac_cv_header_png_h=`cat conftestval`
27567 else
27568 echo "$as_me: program exited with status $ac_status" >&5
27569 echo "$as_me: failed program was:" >&5
27570 sed 's/^/| /' conftest.$ac_ext >&5
27571
27572 ( exit $ac_status )
27573 ac_cv_header_png_h=no
27574 fi
27575 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27576 fi
27577
27578
27579
27580 fi
27581 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27582 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27583 { echo "$as_me:$LINENO: checking for png.h" >&5
27584 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
27585 if test "${ac_cv_header_png_h+set}" = set; then
27586 echo $ECHO_N "(cached) $ECHO_C" >&6
27587 else
27588 cat >conftest.$ac_ext <<_ACEOF
27589 /* confdefs.h. */
27590 _ACEOF
27591 cat confdefs.h >>conftest.$ac_ext
27592 cat >>conftest.$ac_ext <<_ACEOF
27593 /* end confdefs.h. */
27594
27595
27596 #include <png.h>
27597 _ACEOF
27598 rm -f conftest.$ac_objext
27599 if { (ac_try="$ac_compile"
27600 case "(($ac_try" in
27601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27602 *) ac_try_echo=$ac_try;;
27603 esac
27604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27605 (eval "$ac_compile") 2>conftest.er1
27606 ac_status=$?
27607 grep -v '^ *+' conftest.er1 >conftest.err
27608 rm -f conftest.er1
27609 cat conftest.err >&5
27610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27611 (exit $ac_status); } &&
27612 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27613 { (case "(($ac_try" in
27614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27615 *) ac_try_echo=$ac_try;;
27616 esac
27617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27618 (eval "$ac_try") 2>&5
27619 ac_status=$?
27620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27621 (exit $ac_status); }; } &&
27622 { ac_try='test -s conftest.$ac_objext'
27623 { (case "(($ac_try" in
27624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27625 *) ac_try_echo=$ac_try;;
27626 esac
27627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27628 (eval "$ac_try") 2>&5
27629 ac_status=$?
27630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27631 (exit $ac_status); }; }; then
27632 ac_cv_header_png_h=yes
27633 else
27634 echo "$as_me: failed program was:" >&5
27635 sed 's/^/| /' conftest.$ac_ext >&5
27636
27637 ac_cv_header_png_h=no
27638 fi
27639
27640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27641 fi
27642 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27643 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27644
27645
27646
27647 if test "$ac_cv_header_png_h" = "yes"; then
27648 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
27649 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
27650 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
27651 echo $ECHO_N "(cached) $ECHO_C" >&6
27652 else
27653 ac_check_lib_save_LIBS=$LIBS
27654 LIBS="-lpng -lz -lm $LIBS"
27655 cat >conftest.$ac_ext <<_ACEOF
27656 /* confdefs.h. */
27657 _ACEOF
27658 cat confdefs.h >>conftest.$ac_ext
27659 cat >>conftest.$ac_ext <<_ACEOF
27660 /* end confdefs.h. */
27661
27662 /* Override any GCC internal prototype to avoid an error.
27663 Use char because int might match the return type of a GCC
27664 builtin and then its argument prototype would still apply. */
27665 #ifdef __cplusplus
27666 extern "C"
27667 #endif
27668 char png_check_sig ();
27669 int
27670 main ()
27671 {
27672 return png_check_sig ();
27673 ;
27674 return 0;
27675 }
27676 _ACEOF
27677 rm -f conftest.$ac_objext conftest$ac_exeext
27678 if { (ac_try="$ac_link"
27679 case "(($ac_try" in
27680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27681 *) ac_try_echo=$ac_try;;
27682 esac
27683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27684 (eval "$ac_link") 2>conftest.er1
27685 ac_status=$?
27686 grep -v '^ *+' conftest.er1 >conftest.err
27687 rm -f conftest.er1
27688 cat conftest.err >&5
27689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27690 (exit $ac_status); } &&
27691 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27692 { (case "(($ac_try" in
27693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27694 *) ac_try_echo=$ac_try;;
27695 esac
27696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27697 (eval "$ac_try") 2>&5
27698 ac_status=$?
27699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27700 (exit $ac_status); }; } &&
27701 { ac_try='test -s conftest$ac_exeext'
27702 { (case "(($ac_try" in
27703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27704 *) ac_try_echo=$ac_try;;
27705 esac
27706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27707 (eval "$ac_try") 2>&5
27708 ac_status=$?
27709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27710 (exit $ac_status); }; }; then
27711 ac_cv_lib_png_png_check_sig=yes
27712 else
27713 echo "$as_me: failed program was:" >&5
27714 sed 's/^/| /' conftest.$ac_ext >&5
27715
27716 ac_cv_lib_png_png_check_sig=no
27717 fi
27718
27719 rm -f core conftest.err conftest.$ac_objext \
27720 conftest$ac_exeext conftest.$ac_ext
27721 LIBS=$ac_check_lib_save_LIBS
27722 fi
27723 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
27724 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
27725 if test $ac_cv_lib_png_png_check_sig = yes; then
27726 PNG_LINK=" -lpng -lz"
27727 fi
27728
27729 fi
27730
27731 if test "x$PNG_LINK" = "x" ; then
27732 if test "$wxUSE_LIBPNG" = "sys" ; then
27733 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27734 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27735 { (exit 1); exit 1; }; }
27736 else
27737 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27738 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27739 wxUSE_LIBPNG=builtin
27740 fi
27741 else
27742 wxUSE_LIBPNG=sys
27743 fi
27744 fi
27745 fi
27746
27747 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
27748 fi
27749
27750
27751 JPEG_LINK=
27752 if test "$wxUSE_LIBJPEG" != "no" ; then
27753 cat >>confdefs.h <<\_ACEOF
27754 #define wxUSE_LIBJPEG 1
27755 _ACEOF
27756
27757
27758 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27759 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27760 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27761 wxUSE_LIBJPEG=sys
27762 fi
27763
27764 if test "$wxUSE_MGL" != 1 ; then
27765 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27766 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27767 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27768 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27769 echo $ECHO_N "(cached) $ECHO_C" >&6
27770 else
27771 cat >conftest.$ac_ext <<_ACEOF
27772 /* confdefs.h. */
27773 _ACEOF
27774 cat confdefs.h >>conftest.$ac_ext
27775 cat >>conftest.$ac_ext <<_ACEOF
27776 /* end confdefs.h. */
27777
27778 #undef HAVE_STDLIB_H
27779 #include <stdio.h>
27780 #include <jpeglib.h>
27781
27782 int
27783 main ()
27784 {
27785
27786
27787 ;
27788 return 0;
27789 }
27790 _ACEOF
27791 rm -f conftest.$ac_objext
27792 if { (ac_try="$ac_compile"
27793 case "(($ac_try" in
27794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27795 *) ac_try_echo=$ac_try;;
27796 esac
27797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27798 (eval "$ac_compile") 2>conftest.er1
27799 ac_status=$?
27800 grep -v '^ *+' conftest.er1 >conftest.err
27801 rm -f conftest.er1
27802 cat conftest.err >&5
27803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27804 (exit $ac_status); } &&
27805 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27806 { (case "(($ac_try" in
27807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27808 *) ac_try_echo=$ac_try;;
27809 esac
27810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27811 (eval "$ac_try") 2>&5
27812 ac_status=$?
27813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27814 (exit $ac_status); }; } &&
27815 { ac_try='test -s conftest.$ac_objext'
27816 { (case "(($ac_try" in
27817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27818 *) ac_try_echo=$ac_try;;
27819 esac
27820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27821 (eval "$ac_try") 2>&5
27822 ac_status=$?
27823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27824 (exit $ac_status); }; }; then
27825 ac_cv_header_jpeglib_h=yes
27826 else
27827 echo "$as_me: failed program was:" >&5
27828 sed 's/^/| /' conftest.$ac_ext >&5
27829
27830 ac_cv_header_jpeglib_h=no
27831
27832 fi
27833
27834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27835
27836 fi
27837
27838 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27839 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27840
27841 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27842 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27843 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27844 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27845 echo $ECHO_N "(cached) $ECHO_C" >&6
27846 else
27847 ac_check_lib_save_LIBS=$LIBS
27848 LIBS="-ljpeg $LIBS"
27849 cat >conftest.$ac_ext <<_ACEOF
27850 /* confdefs.h. */
27851 _ACEOF
27852 cat confdefs.h >>conftest.$ac_ext
27853 cat >>conftest.$ac_ext <<_ACEOF
27854 /* end confdefs.h. */
27855
27856 /* Override any GCC internal prototype to avoid an error.
27857 Use char because int might match the return type of a GCC
27858 builtin and then its argument prototype would still apply. */
27859 #ifdef __cplusplus
27860 extern "C"
27861 #endif
27862 char jpeg_read_header ();
27863 int
27864 main ()
27865 {
27866 return jpeg_read_header ();
27867 ;
27868 return 0;
27869 }
27870 _ACEOF
27871 rm -f conftest.$ac_objext conftest$ac_exeext
27872 if { (ac_try="$ac_link"
27873 case "(($ac_try" in
27874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27875 *) ac_try_echo=$ac_try;;
27876 esac
27877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27878 (eval "$ac_link") 2>conftest.er1
27879 ac_status=$?
27880 grep -v '^ *+' conftest.er1 >conftest.err
27881 rm -f conftest.er1
27882 cat conftest.err >&5
27883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27884 (exit $ac_status); } &&
27885 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27886 { (case "(($ac_try" in
27887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27888 *) ac_try_echo=$ac_try;;
27889 esac
27890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27891 (eval "$ac_try") 2>&5
27892 ac_status=$?
27893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27894 (exit $ac_status); }; } &&
27895 { ac_try='test -s conftest$ac_exeext'
27896 { (case "(($ac_try" in
27897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27898 *) ac_try_echo=$ac_try;;
27899 esac
27900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27901 (eval "$ac_try") 2>&5
27902 ac_status=$?
27903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27904 (exit $ac_status); }; }; then
27905 ac_cv_lib_jpeg_jpeg_read_header=yes
27906 else
27907 echo "$as_me: failed program was:" >&5
27908 sed 's/^/| /' conftest.$ac_ext >&5
27909
27910 ac_cv_lib_jpeg_jpeg_read_header=no
27911 fi
27912
27913 rm -f core conftest.err conftest.$ac_objext \
27914 conftest$ac_exeext conftest.$ac_ext
27915 LIBS=$ac_check_lib_save_LIBS
27916 fi
27917 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27918 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27919 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27920 JPEG_LINK=" -ljpeg"
27921 fi
27922
27923 fi
27924
27925 if test "x$JPEG_LINK" = "x" ; then
27926 if test "$wxUSE_LIBJPEG" = "sys" ; then
27927 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27928 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27929 { (exit 1); exit 1; }; }
27930 else
27931 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27932 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27933 wxUSE_LIBJPEG=builtin
27934 fi
27935 else
27936 wxUSE_LIBJPEG=sys
27937
27938 if test "$wxUSE_MSW" = 1; then
27939 { echo "$as_me:$LINENO: checking for boolean" >&5
27940 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27941 if test "${ac_cv_type_boolean+set}" = set; then
27942 echo $ECHO_N "(cached) $ECHO_C" >&6
27943 else
27944 cat >conftest.$ac_ext <<_ACEOF
27945 /* confdefs.h. */
27946 _ACEOF
27947 cat confdefs.h >>conftest.$ac_ext
27948 cat >>conftest.$ac_ext <<_ACEOF
27949 /* end confdefs.h. */
27950 #include <windows.h>
27951
27952 typedef boolean ac__type_new_;
27953 int
27954 main ()
27955 {
27956 if ((ac__type_new_ *) 0)
27957 return 0;
27958 if (sizeof (ac__type_new_))
27959 return 0;
27960 ;
27961 return 0;
27962 }
27963 _ACEOF
27964 rm -f conftest.$ac_objext
27965 if { (ac_try="$ac_compile"
27966 case "(($ac_try" in
27967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27968 *) ac_try_echo=$ac_try;;
27969 esac
27970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27971 (eval "$ac_compile") 2>conftest.er1
27972 ac_status=$?
27973 grep -v '^ *+' conftest.er1 >conftest.err
27974 rm -f conftest.er1
27975 cat conftest.err >&5
27976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27977 (exit $ac_status); } &&
27978 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27979 { (case "(($ac_try" in
27980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27981 *) ac_try_echo=$ac_try;;
27982 esac
27983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27984 (eval "$ac_try") 2>&5
27985 ac_status=$?
27986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27987 (exit $ac_status); }; } &&
27988 { ac_try='test -s conftest.$ac_objext'
27989 { (case "(($ac_try" in
27990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27991 *) ac_try_echo=$ac_try;;
27992 esac
27993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27994 (eval "$ac_try") 2>&5
27995 ac_status=$?
27996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27997 (exit $ac_status); }; }; then
27998 ac_cv_type_boolean=yes
27999 else
28000 echo "$as_me: failed program was:" >&5
28001 sed 's/^/| /' conftest.$ac_ext >&5
28002
28003 ac_cv_type_boolean=no
28004 fi
28005
28006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28007 fi
28008 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28009 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28010 if test $ac_cv_type_boolean = yes; then
28011
28012 cat >>confdefs.h <<_ACEOF
28013 #define HAVE_BOOLEAN 1
28014 _ACEOF
28015
28016
28017 { echo "$as_me:$LINENO: checking for boolean" >&5
28018 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28019 if test "${ac_cv_type_boolean+set}" = set; then
28020 echo $ECHO_N "(cached) $ECHO_C" >&6
28021 else
28022 cat >conftest.$ac_ext <<_ACEOF
28023 /* confdefs.h. */
28024 _ACEOF
28025 cat confdefs.h >>conftest.$ac_ext
28026 cat >>conftest.$ac_ext <<_ACEOF
28027 /* end confdefs.h. */
28028
28029 #undef HAVE_BOOLEAN
28030 #include <stdio.h>
28031 #include <jpeglib.h>
28032
28033
28034 typedef boolean ac__type_new_;
28035 int
28036 main ()
28037 {
28038 if ((ac__type_new_ *) 0)
28039 return 0;
28040 if (sizeof (ac__type_new_))
28041 return 0;
28042 ;
28043 return 0;
28044 }
28045 _ACEOF
28046 rm -f conftest.$ac_objext
28047 if { (ac_try="$ac_compile"
28048 case "(($ac_try" in
28049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28050 *) ac_try_echo=$ac_try;;
28051 esac
28052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28053 (eval "$ac_compile") 2>conftest.er1
28054 ac_status=$?
28055 grep -v '^ *+' conftest.er1 >conftest.err
28056 rm -f conftest.er1
28057 cat conftest.err >&5
28058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28059 (exit $ac_status); } &&
28060 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28061 { (case "(($ac_try" in
28062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28063 *) ac_try_echo=$ac_try;;
28064 esac
28065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28066 (eval "$ac_try") 2>&5
28067 ac_status=$?
28068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28069 (exit $ac_status); }; } &&
28070 { ac_try='test -s conftest.$ac_objext'
28071 { (case "(($ac_try" in
28072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28073 *) ac_try_echo=$ac_try;;
28074 esac
28075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28076 (eval "$ac_try") 2>&5
28077 ac_status=$?
28078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28079 (exit $ac_status); }; }; then
28080 ac_cv_type_boolean=yes
28081 else
28082 echo "$as_me: failed program was:" >&5
28083 sed 's/^/| /' conftest.$ac_ext >&5
28084
28085 ac_cv_type_boolean=no
28086 fi
28087
28088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28089 fi
28090 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28091 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28092
28093 { echo "$as_me:$LINENO: checking size of boolean" >&5
28094 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28095 if test "${ac_cv_sizeof_boolean+set}" = set; then
28096 echo $ECHO_N "(cached) $ECHO_C" >&6
28097 else
28098 if test "$ac_cv_type_boolean" = yes; then
28099 # The cast to long int works around a bug in the HP C Compiler
28100 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28101 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28102 # This bug is HP SR number 8606223364.
28103 if test "$cross_compiling" = yes; then
28104 # Depending upon the size, compute the lo and hi bounds.
28105 cat >conftest.$ac_ext <<_ACEOF
28106 /* confdefs.h. */
28107 _ACEOF
28108 cat confdefs.h >>conftest.$ac_ext
28109 cat >>conftest.$ac_ext <<_ACEOF
28110 /* end confdefs.h. */
28111
28112 #undef HAVE_BOOLEAN
28113 #include <stdio.h>
28114 #include <jpeglib.h>
28115
28116
28117 typedef boolean ac__type_sizeof_;
28118 int
28119 main ()
28120 {
28121 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28122 test_array [0] = 0
28123
28124 ;
28125 return 0;
28126 }
28127 _ACEOF
28128 rm -f conftest.$ac_objext
28129 if { (ac_try="$ac_compile"
28130 case "(($ac_try" in
28131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28132 *) ac_try_echo=$ac_try;;
28133 esac
28134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28135 (eval "$ac_compile") 2>conftest.er1
28136 ac_status=$?
28137 grep -v '^ *+' conftest.er1 >conftest.err
28138 rm -f conftest.er1
28139 cat conftest.err >&5
28140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28141 (exit $ac_status); } &&
28142 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28143 { (case "(($ac_try" in
28144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28145 *) ac_try_echo=$ac_try;;
28146 esac
28147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28148 (eval "$ac_try") 2>&5
28149 ac_status=$?
28150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28151 (exit $ac_status); }; } &&
28152 { ac_try='test -s conftest.$ac_objext'
28153 { (case "(($ac_try" in
28154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28155 *) ac_try_echo=$ac_try;;
28156 esac
28157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28158 (eval "$ac_try") 2>&5
28159 ac_status=$?
28160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28161 (exit $ac_status); }; }; then
28162 ac_lo=0 ac_mid=0
28163 while :; do
28164 cat >conftest.$ac_ext <<_ACEOF
28165 /* confdefs.h. */
28166 _ACEOF
28167 cat confdefs.h >>conftest.$ac_ext
28168 cat >>conftest.$ac_ext <<_ACEOF
28169 /* end confdefs.h. */
28170
28171 #undef HAVE_BOOLEAN
28172 #include <stdio.h>
28173 #include <jpeglib.h>
28174
28175
28176 typedef boolean ac__type_sizeof_;
28177 int
28178 main ()
28179 {
28180 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28181 test_array [0] = 0
28182
28183 ;
28184 return 0;
28185 }
28186 _ACEOF
28187 rm -f conftest.$ac_objext
28188 if { (ac_try="$ac_compile"
28189 case "(($ac_try" in
28190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28191 *) ac_try_echo=$ac_try;;
28192 esac
28193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28194 (eval "$ac_compile") 2>conftest.er1
28195 ac_status=$?
28196 grep -v '^ *+' conftest.er1 >conftest.err
28197 rm -f conftest.er1
28198 cat conftest.err >&5
28199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28200 (exit $ac_status); } &&
28201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28202 { (case "(($ac_try" in
28203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28204 *) ac_try_echo=$ac_try;;
28205 esac
28206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28207 (eval "$ac_try") 2>&5
28208 ac_status=$?
28209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28210 (exit $ac_status); }; } &&
28211 { ac_try='test -s conftest.$ac_objext'
28212 { (case "(($ac_try" in
28213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28214 *) ac_try_echo=$ac_try;;
28215 esac
28216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28217 (eval "$ac_try") 2>&5
28218 ac_status=$?
28219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28220 (exit $ac_status); }; }; then
28221 ac_hi=$ac_mid; break
28222 else
28223 echo "$as_me: failed program was:" >&5
28224 sed 's/^/| /' conftest.$ac_ext >&5
28225
28226 ac_lo=`expr $ac_mid + 1`
28227 if test $ac_lo -le $ac_mid; then
28228 ac_lo= ac_hi=
28229 break
28230 fi
28231 ac_mid=`expr 2 '*' $ac_mid + 1`
28232 fi
28233
28234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28235 done
28236 else
28237 echo "$as_me: failed program was:" >&5
28238 sed 's/^/| /' conftest.$ac_ext >&5
28239
28240 cat >conftest.$ac_ext <<_ACEOF
28241 /* confdefs.h. */
28242 _ACEOF
28243 cat confdefs.h >>conftest.$ac_ext
28244 cat >>conftest.$ac_ext <<_ACEOF
28245 /* end confdefs.h. */
28246
28247 #undef HAVE_BOOLEAN
28248 #include <stdio.h>
28249 #include <jpeglib.h>
28250
28251
28252 typedef boolean ac__type_sizeof_;
28253 int
28254 main ()
28255 {
28256 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28257 test_array [0] = 0
28258
28259 ;
28260 return 0;
28261 }
28262 _ACEOF
28263 rm -f conftest.$ac_objext
28264 if { (ac_try="$ac_compile"
28265 case "(($ac_try" in
28266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28267 *) ac_try_echo=$ac_try;;
28268 esac
28269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28270 (eval "$ac_compile") 2>conftest.er1
28271 ac_status=$?
28272 grep -v '^ *+' conftest.er1 >conftest.err
28273 rm -f conftest.er1
28274 cat conftest.err >&5
28275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28276 (exit $ac_status); } &&
28277 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28278 { (case "(($ac_try" in
28279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28280 *) ac_try_echo=$ac_try;;
28281 esac
28282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28283 (eval "$ac_try") 2>&5
28284 ac_status=$?
28285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28286 (exit $ac_status); }; } &&
28287 { ac_try='test -s conftest.$ac_objext'
28288 { (case "(($ac_try" in
28289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28290 *) ac_try_echo=$ac_try;;
28291 esac
28292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28293 (eval "$ac_try") 2>&5
28294 ac_status=$?
28295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28296 (exit $ac_status); }; }; then
28297 ac_hi=-1 ac_mid=-1
28298 while :; do
28299 cat >conftest.$ac_ext <<_ACEOF
28300 /* confdefs.h. */
28301 _ACEOF
28302 cat confdefs.h >>conftest.$ac_ext
28303 cat >>conftest.$ac_ext <<_ACEOF
28304 /* end confdefs.h. */
28305
28306 #undef HAVE_BOOLEAN
28307 #include <stdio.h>
28308 #include <jpeglib.h>
28309
28310
28311 typedef boolean ac__type_sizeof_;
28312 int
28313 main ()
28314 {
28315 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28316 test_array [0] = 0
28317
28318 ;
28319 return 0;
28320 }
28321 _ACEOF
28322 rm -f conftest.$ac_objext
28323 if { (ac_try="$ac_compile"
28324 case "(($ac_try" in
28325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28326 *) ac_try_echo=$ac_try;;
28327 esac
28328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28329 (eval "$ac_compile") 2>conftest.er1
28330 ac_status=$?
28331 grep -v '^ *+' conftest.er1 >conftest.err
28332 rm -f conftest.er1
28333 cat conftest.err >&5
28334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28335 (exit $ac_status); } &&
28336 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28337 { (case "(($ac_try" in
28338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28339 *) ac_try_echo=$ac_try;;
28340 esac
28341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28342 (eval "$ac_try") 2>&5
28343 ac_status=$?
28344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28345 (exit $ac_status); }; } &&
28346 { ac_try='test -s conftest.$ac_objext'
28347 { (case "(($ac_try" in
28348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28349 *) ac_try_echo=$ac_try;;
28350 esac
28351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28352 (eval "$ac_try") 2>&5
28353 ac_status=$?
28354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28355 (exit $ac_status); }; }; then
28356 ac_lo=$ac_mid; break
28357 else
28358 echo "$as_me: failed program was:" >&5
28359 sed 's/^/| /' conftest.$ac_ext >&5
28360
28361 ac_hi=`expr '(' $ac_mid ')' - 1`
28362 if test $ac_mid -le $ac_hi; then
28363 ac_lo= ac_hi=
28364 break
28365 fi
28366 ac_mid=`expr 2 '*' $ac_mid`
28367 fi
28368
28369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28370 done
28371 else
28372 echo "$as_me: failed program was:" >&5
28373 sed 's/^/| /' conftest.$ac_ext >&5
28374
28375 ac_lo= ac_hi=
28376 fi
28377
28378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28379 fi
28380
28381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28382 # Binary search between lo and hi bounds.
28383 while test "x$ac_lo" != "x$ac_hi"; do
28384 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28385 cat >conftest.$ac_ext <<_ACEOF
28386 /* confdefs.h. */
28387 _ACEOF
28388 cat confdefs.h >>conftest.$ac_ext
28389 cat >>conftest.$ac_ext <<_ACEOF
28390 /* end confdefs.h. */
28391
28392 #undef HAVE_BOOLEAN
28393 #include <stdio.h>
28394 #include <jpeglib.h>
28395
28396
28397 typedef boolean ac__type_sizeof_;
28398 int
28399 main ()
28400 {
28401 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28402 test_array [0] = 0
28403
28404 ;
28405 return 0;
28406 }
28407 _ACEOF
28408 rm -f conftest.$ac_objext
28409 if { (ac_try="$ac_compile"
28410 case "(($ac_try" in
28411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28412 *) ac_try_echo=$ac_try;;
28413 esac
28414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28415 (eval "$ac_compile") 2>conftest.er1
28416 ac_status=$?
28417 grep -v '^ *+' conftest.er1 >conftest.err
28418 rm -f conftest.er1
28419 cat conftest.err >&5
28420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28421 (exit $ac_status); } &&
28422 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28423 { (case "(($ac_try" in
28424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28425 *) ac_try_echo=$ac_try;;
28426 esac
28427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28428 (eval "$ac_try") 2>&5
28429 ac_status=$?
28430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28431 (exit $ac_status); }; } &&
28432 { ac_try='test -s conftest.$ac_objext'
28433 { (case "(($ac_try" in
28434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28435 *) ac_try_echo=$ac_try;;
28436 esac
28437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28438 (eval "$ac_try") 2>&5
28439 ac_status=$?
28440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28441 (exit $ac_status); }; }; then
28442 ac_hi=$ac_mid
28443 else
28444 echo "$as_me: failed program was:" >&5
28445 sed 's/^/| /' conftest.$ac_ext >&5
28446
28447 ac_lo=`expr '(' $ac_mid ')' + 1`
28448 fi
28449
28450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28451 done
28452 case $ac_lo in
28453 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28454 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28455 See \`config.log' for more details." >&5
28456 echo "$as_me: error: cannot compute sizeof (boolean)
28457 See \`config.log' for more details." >&2;}
28458 { (exit 77); exit 77; }; } ;;
28459 esac
28460 else
28461 cat >conftest.$ac_ext <<_ACEOF
28462 /* confdefs.h. */
28463 _ACEOF
28464 cat confdefs.h >>conftest.$ac_ext
28465 cat >>conftest.$ac_ext <<_ACEOF
28466 /* end confdefs.h. */
28467
28468 #undef HAVE_BOOLEAN
28469 #include <stdio.h>
28470 #include <jpeglib.h>
28471
28472
28473 typedef boolean ac__type_sizeof_;
28474 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28475 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28476 #include <stdio.h>
28477 #include <stdlib.h>
28478 int
28479 main ()
28480 {
28481
28482 FILE *f = fopen ("conftest.val", "w");
28483 if (! f)
28484 return 1;
28485 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28486 {
28487 long int i = longval ();
28488 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28489 return 1;
28490 fprintf (f, "%ld\n", i);
28491 }
28492 else
28493 {
28494 unsigned long int i = ulongval ();
28495 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28496 return 1;
28497 fprintf (f, "%lu\n", i);
28498 }
28499 return ferror (f) || fclose (f) != 0;
28500
28501 ;
28502 return 0;
28503 }
28504 _ACEOF
28505 rm -f conftest$ac_exeext
28506 if { (ac_try="$ac_link"
28507 case "(($ac_try" in
28508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28509 *) ac_try_echo=$ac_try;;
28510 esac
28511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28512 (eval "$ac_link") 2>&5
28513 ac_status=$?
28514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28515 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28516 { (case "(($ac_try" in
28517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28518 *) ac_try_echo=$ac_try;;
28519 esac
28520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28521 (eval "$ac_try") 2>&5
28522 ac_status=$?
28523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28524 (exit $ac_status); }; }; then
28525 ac_cv_sizeof_boolean=`cat conftest.val`
28526 else
28527 echo "$as_me: program exited with status $ac_status" >&5
28528 echo "$as_me: failed program was:" >&5
28529 sed 's/^/| /' conftest.$ac_ext >&5
28530
28531 ( exit $ac_status )
28532 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28533 See \`config.log' for more details." >&5
28534 echo "$as_me: error: cannot compute sizeof (boolean)
28535 See \`config.log' for more details." >&2;}
28536 { (exit 77); exit 77; }; }
28537 fi
28538 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28539 fi
28540 rm -f conftest.val
28541 else
28542 ac_cv_sizeof_boolean=0
28543 fi
28544 fi
28545 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
28546 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28547 cat >>confdefs.h <<_ACEOF
28548 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28549 _ACEOF
28550
28551
28552 cat >>confdefs.h <<_ACEOF
28553 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28554 _ACEOF
28555
28556
28557 fi
28558
28559 fi
28560 fi
28561 fi
28562 fi
28563 fi
28564
28565
28566 TIFF_LINK=
28567 TIFF_PREREQ_LINKS=-lm
28568 if test "$wxUSE_LIBTIFF" != "no" ; then
28569 cat >>confdefs.h <<\_ACEOF
28570 #define wxUSE_LIBTIFF 1
28571 _ACEOF
28572
28573
28574 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
28575 if test "$wxUSE_LIBJPEG" = "sys"; then
28576 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28577 fi
28578 if test "$wxUSE_ZLIB" = "sys"; then
28579 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28580 fi
28581 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
28582 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
28583 if test "${ac_cv_header_tiffio_h+set}" = set; then
28584 echo $ECHO_N "(cached) $ECHO_C" >&6
28585 else
28586 cat >conftest.$ac_ext <<_ACEOF
28587 /* confdefs.h. */
28588 _ACEOF
28589 cat confdefs.h >>conftest.$ac_ext
28590 cat >>conftest.$ac_ext <<_ACEOF
28591 /* end confdefs.h. */
28592
28593
28594
28595 #include <tiffio.h>
28596 _ACEOF
28597 rm -f conftest.$ac_objext
28598 if { (ac_try="$ac_compile"
28599 case "(($ac_try" in
28600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28601 *) ac_try_echo=$ac_try;;
28602 esac
28603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28604 (eval "$ac_compile") 2>conftest.er1
28605 ac_status=$?
28606 grep -v '^ *+' conftest.er1 >conftest.err
28607 rm -f conftest.er1
28608 cat conftest.err >&5
28609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28610 (exit $ac_status); } &&
28611 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28612 { (case "(($ac_try" in
28613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28614 *) ac_try_echo=$ac_try;;
28615 esac
28616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28617 (eval "$ac_try") 2>&5
28618 ac_status=$?
28619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28620 (exit $ac_status); }; } &&
28621 { ac_try='test -s conftest.$ac_objext'
28622 { (case "(($ac_try" in
28623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28624 *) ac_try_echo=$ac_try;;
28625 esac
28626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28627 (eval "$ac_try") 2>&5
28628 ac_status=$?
28629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28630 (exit $ac_status); }; }; then
28631 ac_cv_header_tiffio_h=yes
28632 else
28633 echo "$as_me: failed program was:" >&5
28634 sed 's/^/| /' conftest.$ac_ext >&5
28635
28636 ac_cv_header_tiffio_h=no
28637 fi
28638
28639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28640 fi
28641 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
28642 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28643 if test $ac_cv_header_tiffio_h = yes; then
28644
28645 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
28646 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
28647 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28648 echo $ECHO_N "(cached) $ECHO_C" >&6
28649 else
28650 ac_check_lib_save_LIBS=$LIBS
28651 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28652 cat >conftest.$ac_ext <<_ACEOF
28653 /* confdefs.h. */
28654 _ACEOF
28655 cat confdefs.h >>conftest.$ac_ext
28656 cat >>conftest.$ac_ext <<_ACEOF
28657 /* end confdefs.h. */
28658
28659 /* Override any GCC internal prototype to avoid an error.
28660 Use char because int might match the return type of a GCC
28661 builtin and then its argument prototype would still apply. */
28662 #ifdef __cplusplus
28663 extern "C"
28664 #endif
28665 char TIFFError ();
28666 int
28667 main ()
28668 {
28669 return TIFFError ();
28670 ;
28671 return 0;
28672 }
28673 _ACEOF
28674 rm -f conftest.$ac_objext conftest$ac_exeext
28675 if { (ac_try="$ac_link"
28676 case "(($ac_try" in
28677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28678 *) ac_try_echo=$ac_try;;
28679 esac
28680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28681 (eval "$ac_link") 2>conftest.er1
28682 ac_status=$?
28683 grep -v '^ *+' conftest.er1 >conftest.err
28684 rm -f conftest.er1
28685 cat conftest.err >&5
28686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28687 (exit $ac_status); } &&
28688 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28689 { (case "(($ac_try" in
28690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28691 *) ac_try_echo=$ac_try;;
28692 esac
28693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28694 (eval "$ac_try") 2>&5
28695 ac_status=$?
28696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28697 (exit $ac_status); }; } &&
28698 { ac_try='test -s conftest$ac_exeext'
28699 { (case "(($ac_try" in
28700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28701 *) ac_try_echo=$ac_try;;
28702 esac
28703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28704 (eval "$ac_try") 2>&5
28705 ac_status=$?
28706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28707 (exit $ac_status); }; }; then
28708 ac_cv_lib_tiff_TIFFError=yes
28709 else
28710 echo "$as_me: failed program was:" >&5
28711 sed 's/^/| /' conftest.$ac_ext >&5
28712
28713 ac_cv_lib_tiff_TIFFError=no
28714 fi
28715
28716 rm -f core conftest.err conftest.$ac_objext \
28717 conftest$ac_exeext conftest.$ac_ext
28718 LIBS=$ac_check_lib_save_LIBS
28719 fi
28720 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
28721 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
28722 if test $ac_cv_lib_tiff_TIFFError = yes; then
28723 TIFF_LINK=" -ltiff"
28724 fi
28725
28726
28727 fi
28728
28729
28730
28731 if test "x$TIFF_LINK" = "x" ; then
28732 if test "$wxUSE_LIBTIFF" = "sys" ; then
28733 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
28734 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
28735 { (exit 1); exit 1; }; }
28736 else
28737 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
28738 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
28739 wxUSE_LIBTIFF=builtin
28740 fi
28741 else
28742 wxUSE_LIBTIFF=sys
28743 fi
28744 fi
28745 fi
28746
28747
28748 if test "$wxUSE_WCHAR_T" != "yes"; then
28749 if test "$wxUSE_EXPAT" != "no"; then
28750 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
28751 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
28752 wxUSE_EXPAT=no
28753 fi
28754 if test "$wxUSE_XML" != "no"; then
28755 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
28756 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
28757 wxUSE_XML=no
28758 fi
28759 fi
28760
28761 if test "$wxUSE_EXPAT" != "no"; then
28762 wxUSE_XML=yes
28763 cat >>confdefs.h <<\_ACEOF
28764 #define wxUSE_EXPAT 1
28765 _ACEOF
28766
28767 cat >>confdefs.h <<\_ACEOF
28768 #define wxUSE_XML 1
28769 _ACEOF
28770
28771
28772 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
28773 { echo "$as_me:$LINENO: checking for expat.h" >&5
28774 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
28775 if test "${ac_cv_header_expat_h+set}" = set; then
28776 echo $ECHO_N "(cached) $ECHO_C" >&6
28777 else
28778 cat >conftest.$ac_ext <<_ACEOF
28779 /* confdefs.h. */
28780 _ACEOF
28781 cat confdefs.h >>conftest.$ac_ext
28782 cat >>conftest.$ac_ext <<_ACEOF
28783 /* end confdefs.h. */
28784
28785
28786 #include <expat.h>
28787 _ACEOF
28788 rm -f conftest.$ac_objext
28789 if { (ac_try="$ac_compile"
28790 case "(($ac_try" in
28791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28792 *) ac_try_echo=$ac_try;;
28793 esac
28794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28795 (eval "$ac_compile") 2>conftest.er1
28796 ac_status=$?
28797 grep -v '^ *+' conftest.er1 >conftest.err
28798 rm -f conftest.er1
28799 cat conftest.err >&5
28800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28801 (exit $ac_status); } &&
28802 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28803 { (case "(($ac_try" in
28804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28805 *) ac_try_echo=$ac_try;;
28806 esac
28807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28808 (eval "$ac_try") 2>&5
28809 ac_status=$?
28810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28811 (exit $ac_status); }; } &&
28812 { ac_try='test -s conftest.$ac_objext'
28813 { (case "(($ac_try" in
28814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28815 *) ac_try_echo=$ac_try;;
28816 esac
28817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28818 (eval "$ac_try") 2>&5
28819 ac_status=$?
28820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28821 (exit $ac_status); }; }; then
28822 ac_cv_header_expat_h=yes
28823 else
28824 echo "$as_me: failed program was:" >&5
28825 sed 's/^/| /' conftest.$ac_ext >&5
28826
28827 ac_cv_header_expat_h=no
28828 fi
28829
28830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28831 fi
28832 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
28833 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
28834 if test $ac_cv_header_expat_h = yes; then
28835 found_expat_h=1
28836 fi
28837
28838
28839 if test "x$found_expat_h" = "x1"; then
28840 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
28841 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
28842 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28843 echo $ECHO_N "(cached) $ECHO_C" >&6
28844 else
28845
28846 ac_ext=cpp
28847 ac_cpp='$CXXCPP $CPPFLAGS'
28848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28851
28852 cat >conftest.$ac_ext <<_ACEOF
28853 /* confdefs.h. */
28854 _ACEOF
28855 cat confdefs.h >>conftest.$ac_ext
28856 cat >>conftest.$ac_ext <<_ACEOF
28857 /* end confdefs.h. */
28858 #include <expat.h>
28859 int
28860 main ()
28861 {
28862
28863 ;
28864 return 0;
28865 }
28866 _ACEOF
28867 rm -f conftest.$ac_objext
28868 if { (ac_try="$ac_compile"
28869 case "(($ac_try" in
28870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28871 *) ac_try_echo=$ac_try;;
28872 esac
28873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28874 (eval "$ac_compile") 2>conftest.er1
28875 ac_status=$?
28876 grep -v '^ *+' conftest.er1 >conftest.err
28877 rm -f conftest.er1
28878 cat conftest.err >&5
28879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28880 (exit $ac_status); } &&
28881 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28882 { (case "(($ac_try" in
28883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28884 *) ac_try_echo=$ac_try;;
28885 esac
28886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28887 (eval "$ac_try") 2>&5
28888 ac_status=$?
28889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28890 (exit $ac_status); }; } &&
28891 { ac_try='test -s conftest.$ac_objext'
28892 { (case "(($ac_try" in
28893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28894 *) ac_try_echo=$ac_try;;
28895 esac
28896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28897 (eval "$ac_try") 2>&5
28898 ac_status=$?
28899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28900 (exit $ac_status); }; }; then
28901 wx_cv_expat_is_not_broken=yes
28902 else
28903 echo "$as_me: failed program was:" >&5
28904 sed 's/^/| /' conftest.$ac_ext >&5
28905
28906 wx_cv_expat_is_not_broken=no
28907
28908 fi
28909
28910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28911 ac_ext=c
28912 ac_cpp='$CPP $CPPFLAGS'
28913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28916
28917
28918
28919 fi
28920 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
28921 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28922 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28923 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
28924 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
28925 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28926 echo $ECHO_N "(cached) $ECHO_C" >&6
28927 else
28928 ac_check_lib_save_LIBS=$LIBS
28929 LIBS="-lexpat $LIBS"
28930 cat >conftest.$ac_ext <<_ACEOF
28931 /* confdefs.h. */
28932 _ACEOF
28933 cat confdefs.h >>conftest.$ac_ext
28934 cat >>conftest.$ac_ext <<_ACEOF
28935 /* end confdefs.h. */
28936
28937 /* Override any GCC internal prototype to avoid an error.
28938 Use char because int might match the return type of a GCC
28939 builtin and then its argument prototype would still apply. */
28940 #ifdef __cplusplus
28941 extern "C"
28942 #endif
28943 char XML_ParserCreate ();
28944 int
28945 main ()
28946 {
28947 return XML_ParserCreate ();
28948 ;
28949 return 0;
28950 }
28951 _ACEOF
28952 rm -f conftest.$ac_objext conftest$ac_exeext
28953 if { (ac_try="$ac_link"
28954 case "(($ac_try" in
28955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28956 *) ac_try_echo=$ac_try;;
28957 esac
28958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28959 (eval "$ac_link") 2>conftest.er1
28960 ac_status=$?
28961 grep -v '^ *+' conftest.er1 >conftest.err
28962 rm -f conftest.er1
28963 cat conftest.err >&5
28964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28965 (exit $ac_status); } &&
28966 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28967 { (case "(($ac_try" in
28968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28969 *) ac_try_echo=$ac_try;;
28970 esac
28971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28972 (eval "$ac_try") 2>&5
28973 ac_status=$?
28974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28975 (exit $ac_status); }; } &&
28976 { ac_try='test -s conftest$ac_exeext'
28977 { (case "(($ac_try" in
28978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28979 *) ac_try_echo=$ac_try;;
28980 esac
28981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28982 (eval "$ac_try") 2>&5
28983 ac_status=$?
28984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28985 (exit $ac_status); }; }; then
28986 ac_cv_lib_expat_XML_ParserCreate=yes
28987 else
28988 echo "$as_me: failed program was:" >&5
28989 sed 's/^/| /' conftest.$ac_ext >&5
28990
28991 ac_cv_lib_expat_XML_ParserCreate=no
28992 fi
28993
28994 rm -f core conftest.err conftest.$ac_objext \
28995 conftest$ac_exeext conftest.$ac_ext
28996 LIBS=$ac_check_lib_save_LIBS
28997 fi
28998 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
28999 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29000 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29001 EXPAT_LINK=" -lexpat"
29002 fi
29003
29004 fi
29005 fi
29006 if test "x$EXPAT_LINK" = "x" ; then
29007 if test "$wxUSE_EXPAT" = "sys" ; then
29008 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29009 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29010 { (exit 1); exit 1; }; }
29011 else
29012 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29013 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29014 wxUSE_EXPAT=builtin
29015 fi
29016 else
29017 wxUSE_EXPAT=sys
29018 fi
29019 fi
29020 if test "$wxUSE_EXPAT" = "builtin" ; then
29021 subdirs="$subdirs src/expat"
29022
29023 fi
29024 fi
29025
29026
29027
29028 if test "$wxUSE_LIBMSPACK" != "no"; then
29029 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29030 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29031 if test "${ac_cv_header_mspack_h+set}" = set; then
29032 echo $ECHO_N "(cached) $ECHO_C" >&6
29033 else
29034 cat >conftest.$ac_ext <<_ACEOF
29035 /* confdefs.h. */
29036 _ACEOF
29037 cat confdefs.h >>conftest.$ac_ext
29038 cat >>conftest.$ac_ext <<_ACEOF
29039 /* end confdefs.h. */
29040
29041
29042 #include <mspack.h>
29043 _ACEOF
29044 rm -f conftest.$ac_objext
29045 if { (ac_try="$ac_compile"
29046 case "(($ac_try" in
29047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29048 *) ac_try_echo=$ac_try;;
29049 esac
29050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29051 (eval "$ac_compile") 2>conftest.er1
29052 ac_status=$?
29053 grep -v '^ *+' conftest.er1 >conftest.err
29054 rm -f conftest.er1
29055 cat conftest.err >&5
29056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29057 (exit $ac_status); } &&
29058 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29059 { (case "(($ac_try" in
29060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29061 *) ac_try_echo=$ac_try;;
29062 esac
29063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29064 (eval "$ac_try") 2>&5
29065 ac_status=$?
29066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29067 (exit $ac_status); }; } &&
29068 { ac_try='test -s conftest.$ac_objext'
29069 { (case "(($ac_try" in
29070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29071 *) ac_try_echo=$ac_try;;
29072 esac
29073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29074 (eval "$ac_try") 2>&5
29075 ac_status=$?
29076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29077 (exit $ac_status); }; }; then
29078 ac_cv_header_mspack_h=yes
29079 else
29080 echo "$as_me: failed program was:" >&5
29081 sed 's/^/| /' conftest.$ac_ext >&5
29082
29083 ac_cv_header_mspack_h=no
29084 fi
29085
29086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29087 fi
29088 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29089 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29090 if test $ac_cv_header_mspack_h = yes; then
29091 found_mspack_h=1
29092 fi
29093
29094
29095 if test "x$found_mspack_h" = "x1"; then
29096 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29097 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29098 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29099 echo $ECHO_N "(cached) $ECHO_C" >&6
29100 else
29101 ac_check_lib_save_LIBS=$LIBS
29102 LIBS="-lmspack $LIBS"
29103 cat >conftest.$ac_ext <<_ACEOF
29104 /* confdefs.h. */
29105 _ACEOF
29106 cat confdefs.h >>conftest.$ac_ext
29107 cat >>conftest.$ac_ext <<_ACEOF
29108 /* end confdefs.h. */
29109
29110 /* Override any GCC internal prototype to avoid an error.
29111 Use char because int might match the return type of a GCC
29112 builtin and then its argument prototype would still apply. */
29113 #ifdef __cplusplus
29114 extern "C"
29115 #endif
29116 char mspack_create_chm_decompressor ();
29117 int
29118 main ()
29119 {
29120 return mspack_create_chm_decompressor ();
29121 ;
29122 return 0;
29123 }
29124 _ACEOF
29125 rm -f conftest.$ac_objext conftest$ac_exeext
29126 if { (ac_try="$ac_link"
29127 case "(($ac_try" in
29128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29129 *) ac_try_echo=$ac_try;;
29130 esac
29131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29132 (eval "$ac_link") 2>conftest.er1
29133 ac_status=$?
29134 grep -v '^ *+' conftest.er1 >conftest.err
29135 rm -f conftest.er1
29136 cat conftest.err >&5
29137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29138 (exit $ac_status); } &&
29139 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29140 { (case "(($ac_try" in
29141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29142 *) ac_try_echo=$ac_try;;
29143 esac
29144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29145 (eval "$ac_try") 2>&5
29146 ac_status=$?
29147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29148 (exit $ac_status); }; } &&
29149 { ac_try='test -s conftest$ac_exeext'
29150 { (case "(($ac_try" in
29151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29152 *) ac_try_echo=$ac_try;;
29153 esac
29154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29155 (eval "$ac_try") 2>&5
29156 ac_status=$?
29157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29158 (exit $ac_status); }; }; then
29159 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29160 else
29161 echo "$as_me: failed program was:" >&5
29162 sed 's/^/| /' conftest.$ac_ext >&5
29163
29164 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29165 fi
29166
29167 rm -f core conftest.err conftest.$ac_objext \
29168 conftest$ac_exeext conftest.$ac_ext
29169 LIBS=$ac_check_lib_save_LIBS
29170 fi
29171 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29172 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29173 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29174 MSPACK_LINK=" -lmspack"
29175 fi
29176
29177 fi
29178 if test "x$MSPACK_LINK" = "x" ; then
29179 wxUSE_LIBMSPACK=no
29180 fi
29181 fi
29182
29183 if test "$wxUSE_LIBMSPACK" != "no"; then
29184 cat >>confdefs.h <<\_ACEOF
29185 #define wxUSE_LIBMSPACK 1
29186 _ACEOF
29187
29188 fi
29189
29190
29191
29192 AFMINSTALL=
29193 WIN32INSTALL=
29194
29195 TOOLKIT=
29196 TOOLKIT_INCLUDE=
29197 WIDGET_SET=
29198
29199 if test "$USE_WIN32" = 1 ; then
29200 { echo "$as_me:$LINENO: checking for w32api.h" >&5
29201 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6; }
29202 if test "${ac_cv_header_w32api_h+set}" = set; then
29203 echo $ECHO_N "(cached) $ECHO_C" >&6
29204 else
29205 cat >conftest.$ac_ext <<_ACEOF
29206 /* confdefs.h. */
29207 _ACEOF
29208 cat confdefs.h >>conftest.$ac_ext
29209 cat >>conftest.$ac_ext <<_ACEOF
29210 /* end confdefs.h. */
29211
29212
29213 #include <w32api.h>
29214 _ACEOF
29215 rm -f conftest.$ac_objext
29216 if { (ac_try="$ac_compile"
29217 case "(($ac_try" in
29218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29219 *) ac_try_echo=$ac_try;;
29220 esac
29221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29222 (eval "$ac_compile") 2>conftest.er1
29223 ac_status=$?
29224 grep -v '^ *+' conftest.er1 >conftest.err
29225 rm -f conftest.er1
29226 cat conftest.err >&5
29227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29228 (exit $ac_status); } &&
29229 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29230 { (case "(($ac_try" in
29231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29232 *) ac_try_echo=$ac_try;;
29233 esac
29234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29235 (eval "$ac_try") 2>&5
29236 ac_status=$?
29237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29238 (exit $ac_status); }; } &&
29239 { ac_try='test -s conftest.$ac_objext'
29240 { (case "(($ac_try" in
29241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29242 *) ac_try_echo=$ac_try;;
29243 esac
29244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29245 (eval "$ac_try") 2>&5
29246 ac_status=$?
29247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29248 (exit $ac_status); }; }; then
29249 ac_cv_header_w32api_h=yes
29250 else
29251 echo "$as_me: failed program was:" >&5
29252 sed 's/^/| /' conftest.$ac_ext >&5
29253
29254 ac_cv_header_w32api_h=no
29255 fi
29256
29257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29258 fi
29259 { echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
29260 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
29261
29262
29263 { echo "$as_me:$LINENO: checking for windows.h" >&5
29264 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29265 if test "${ac_cv_header_windows_h+set}" = set; then
29266 echo $ECHO_N "(cached) $ECHO_C" >&6
29267 else
29268 cat >conftest.$ac_ext <<_ACEOF
29269 /* confdefs.h. */
29270 _ACEOF
29271 cat confdefs.h >>conftest.$ac_ext
29272 cat >>conftest.$ac_ext <<_ACEOF
29273 /* end confdefs.h. */
29274
29275
29276 #include <windows.h>
29277 _ACEOF
29278 rm -f conftest.$ac_objext
29279 if { (ac_try="$ac_compile"
29280 case "(($ac_try" in
29281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29282 *) ac_try_echo=$ac_try;;
29283 esac
29284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29285 (eval "$ac_compile") 2>conftest.er1
29286 ac_status=$?
29287 grep -v '^ *+' conftest.er1 >conftest.err
29288 rm -f conftest.er1
29289 cat conftest.err >&5
29290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29291 (exit $ac_status); } &&
29292 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29293 { (case "(($ac_try" in
29294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29295 *) ac_try_echo=$ac_try;;
29296 esac
29297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29298 (eval "$ac_try") 2>&5
29299 ac_status=$?
29300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29301 (exit $ac_status); }; } &&
29302 { ac_try='test -s conftest.$ac_objext'
29303 { (case "(($ac_try" in
29304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29305 *) ac_try_echo=$ac_try;;
29306 esac
29307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29308 (eval "$ac_try") 2>&5
29309 ac_status=$?
29310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29311 (exit $ac_status); }; }; then
29312 ac_cv_header_windows_h=yes
29313 else
29314 echo "$as_me: failed program was:" >&5
29315 sed 's/^/| /' conftest.$ac_ext >&5
29316
29317 ac_cv_header_windows_h=no
29318 fi
29319
29320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29321 fi
29322 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29323 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29324 if test $ac_cv_header_windows_h = yes; then
29325 :
29326 else
29327
29328 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29329 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29330 { (exit 1); exit 1; }; }
29331
29332 fi
29333
29334
29335
29336 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29337
29338 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29339 LIBS="$LIBS -loleacc"
29340 fi
29341
29342 case "${host}" in
29343 *-*-cygwin* )
29344 LIBS="$LIBS -lkernel32 -luser32"
29345 esac
29346
29347 if test "$wxUSE_ODBC" = "sys" ; then
29348 wxUSE_ODBC = "yes"
29349 fi
29350 if test "$wxUSE_ODBC" = "yes" ; then
29351 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
29352 cat >>confdefs.h <<\_ACEOF
29353 #define wxUSE_ODBC 1
29354 _ACEOF
29355
29356 fi
29357
29358 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29359 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29360
29361 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29362
29363 WIN32INSTALL=win32install
29364
29365 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29366 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29367 if test "${ac_cv_header_pbt_h+set}" = set; then
29368 echo $ECHO_N "(cached) $ECHO_C" >&6
29369 else
29370 cat >conftest.$ac_ext <<_ACEOF
29371 /* confdefs.h. */
29372 _ACEOF
29373 cat confdefs.h >>conftest.$ac_ext
29374 cat >>conftest.$ac_ext <<_ACEOF
29375 /* end confdefs.h. */
29376
29377
29378 #include <pbt.h>
29379 _ACEOF
29380 rm -f conftest.$ac_objext
29381 if { (ac_try="$ac_compile"
29382 case "(($ac_try" in
29383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29384 *) ac_try_echo=$ac_try;;
29385 esac
29386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29387 (eval "$ac_compile") 2>conftest.er1
29388 ac_status=$?
29389 grep -v '^ *+' conftest.er1 >conftest.err
29390 rm -f conftest.er1
29391 cat conftest.err >&5
29392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29393 (exit $ac_status); } &&
29394 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29395 { (case "(($ac_try" in
29396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29397 *) ac_try_echo=$ac_try;;
29398 esac
29399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29400 (eval "$ac_try") 2>&5
29401 ac_status=$?
29402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29403 (exit $ac_status); }; } &&
29404 { ac_try='test -s conftest.$ac_objext'
29405 { (case "(($ac_try" in
29406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29407 *) ac_try_echo=$ac_try;;
29408 esac
29409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29410 (eval "$ac_try") 2>&5
29411 ac_status=$?
29412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29413 (exit $ac_status); }; }; then
29414 ac_cv_header_pbt_h=yes
29415 else
29416 echo "$as_me: failed program was:" >&5
29417 sed 's/^/| /' conftest.$ac_ext >&5
29418
29419 ac_cv_header_pbt_h=no
29420 fi
29421
29422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29423 fi
29424 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29425 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29426 if test $ac_cv_header_pbt_h = yes; then
29427 :
29428 else
29429 cat >>confdefs.h <<\_ACEOF
29430 #define NEED_PBT_H 1
29431 _ACEOF
29432
29433 fi
29434
29435
29436 fi
29437
29438 if test "$wxUSE_GUI" = "yes"; then
29439 USE_GUI=1
29440
29441 GUI_TK_LIBRARY=
29442
29443 WXGTK12=
29444 WXGTK127=
29445 WXGTK20=
29446 WXGPE=
29447
29448 if test "$wxUSE_COCOA" = 1 ; then
29449 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29450 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29451 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29452 wxUSE_PRINTING_ARCHITECTURE=no
29453 fi
29454 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29455 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29456 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29457 wxUSE_DRAG_AND_DROP=no
29458 fi
29459 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29460 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29461 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29462 wxUSE_DRAGIMAGE=no
29463 fi
29464 fi
29465
29466 if test "$wxUSE_MSW" = 1 ; then
29467 TOOLKIT=MSW
29468 GUIDIST=MSW_DIST
29469
29470 case "${host}" in
29471 *-*-mingw32* )
29472 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29473 esac
29474 fi
29475
29476 if test "$wxUSE_GTK" = 1; then
29477 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29478 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29479
29480 gtk_version_cached=1
29481 if test "${wx_cv_lib_gtk+set}" = set; then
29482 echo $ECHO_N "(cached) $ECHO_C" >&6
29483 else
29484
29485 gtk_version_cached=0
29486 { echo "$as_me:$LINENO: result: " >&5
29487 echo "${ECHO_T}" >&6; }
29488
29489 GTK_MODULES=
29490 if test "$wxUSE_THREADS" = "yes"; then
29491 GTK_MODULES=gthread
29492 fi
29493
29494 wx_cv_lib_gtk=
29495 if test "x$wxGTK_VERSION" != "x1"
29496 then
29497 case "${host}" in
29498 *-*-solaris2* )
29499 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29500 enable_gtktest=no
29501 fi
29502 esac
29503
29504 # Check whether --enable-gtktest was given.
29505 if test "${enable_gtktest+set}" = set; then
29506 enableval=$enable_gtktest;
29507 else
29508 enable_gtktest=yes
29509 fi
29510
29511
29512 pkg_config_args=gtk+-2.0
29513 for module in . $GTK_MODULES
29514 do
29515 case "$module" in
29516 gthread)
29517 pkg_config_args="$pkg_config_args gthread-2.0"
29518 ;;
29519 esac
29520 done
29521
29522 no_gtk=""
29523
29524 # Extract the first word of "pkg-config", so it can be a program name with args.
29525 set dummy pkg-config; ac_word=$2
29526 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29527 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29528 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29529 echo $ECHO_N "(cached) $ECHO_C" >&6
29530 else
29531 case $PKG_CONFIG in
29532 [\\/]* | ?:[\\/]*)
29533 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29534 ;;
29535 *)
29536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29537 for as_dir in $PATH
29538 do
29539 IFS=$as_save_IFS
29540 test -z "$as_dir" && as_dir=.
29541 for ac_exec_ext in '' $ac_executable_extensions; do
29542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
29543 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29545 break 2
29546 fi
29547 done
29548 done
29549 IFS=$as_save_IFS
29550
29551 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29552 ;;
29553 esac
29554 fi
29555 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29556 if test -n "$PKG_CONFIG"; then
29557 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29558 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29559 else
29560 { echo "$as_me:$LINENO: result: no" >&5
29561 echo "${ECHO_T}no" >&6; }
29562 fi
29563
29564
29565
29566 if test x$PKG_CONFIG != xno ; then
29567 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29568 :
29569 else
29570 echo "*** pkg-config too old; version 0.7 or better required."
29571 no_gtk=yes
29572 PKG_CONFIG=no
29573 fi
29574 else
29575 no_gtk=yes
29576 fi
29577
29578 min_gtk_version=2.0.0
29579 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29580 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
29581
29582 if test x$PKG_CONFIG != xno ; then
29583 ## don't try to run the test against uninstalled libtool libs
29584 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29585 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29586 enable_gtktest=no
29587 fi
29588
29589 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29590 :
29591 else
29592 no_gtk=yes
29593 fi
29594 fi
29595
29596 if test x"$no_gtk" = x ; then
29597 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29598 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29599 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29600 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29601 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29602 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29603 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29604 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29605 if test "x$enable_gtktest" = "xyes" ; then
29606 ac_save_CFLAGS="$CFLAGS"
29607 ac_save_LIBS="$LIBS"
29608 CFLAGS="$CFLAGS $GTK_CFLAGS"
29609 LIBS="$GTK_LIBS $LIBS"
29610 rm -f conf.gtktest
29611 if test "$cross_compiling" = yes; then
29612 echo $ac_n "cross compiling; assumed OK... $ac_c"
29613 else
29614 cat >conftest.$ac_ext <<_ACEOF
29615 /* confdefs.h. */
29616 _ACEOF
29617 cat confdefs.h >>conftest.$ac_ext
29618 cat >>conftest.$ac_ext <<_ACEOF
29619 /* end confdefs.h. */
29620
29621 #include <gtk/gtk.h>
29622 #include <stdio.h>
29623 #include <stdlib.h>
29624
29625 int
29626 main ()
29627 {
29628 int major, minor, micro;
29629 char *tmp_version;
29630
29631 system ("touch conf.gtktest");
29632
29633 /* HP/UX 9 (%@#!) writes to sscanf strings */
29634 tmp_version = g_strdup("$min_gtk_version");
29635 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29636 printf("%s, bad version string\n", "$min_gtk_version");
29637 exit(1);
29638 }
29639
29640 if ((gtk_major_version != $gtk_config_major_version) ||
29641 (gtk_minor_version != $gtk_config_minor_version) ||
29642 (gtk_micro_version != $gtk_config_micro_version))
29643 {
29644 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29645 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29646 gtk_major_version, gtk_minor_version, gtk_micro_version);
29647 printf ("*** was found! If pkg-config was correct, then it is best\n");
29648 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29649 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29650 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29651 printf("*** required on your system.\n");
29652 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29653 printf("*** to point to the correct configuration files\n");
29654 }
29655 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29656 (gtk_minor_version != GTK_MINOR_VERSION) ||
29657 (gtk_micro_version != GTK_MICRO_VERSION))
29658 {
29659 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29660 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29661 printf("*** library (version %d.%d.%d)\n",
29662 gtk_major_version, gtk_minor_version, gtk_micro_version);
29663 }
29664 else
29665 {
29666 if ((gtk_major_version > major) ||
29667 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29668 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29669 {
29670 return 0;
29671 }
29672 else
29673 {
29674 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29675 gtk_major_version, gtk_minor_version, gtk_micro_version);
29676 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29677 major, minor, micro);
29678 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29679 printf("***\n");
29680 printf("*** If you have already installed a sufficiently new version, this error\n");
29681 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29682 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29683 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29684 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29685 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29686 printf("*** so that the correct libraries are found at run-time))\n");
29687 }
29688 }
29689 return 1;
29690 }
29691
29692 _ACEOF
29693 rm -f conftest$ac_exeext
29694 if { (ac_try="$ac_link"
29695 case "(($ac_try" in
29696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29697 *) ac_try_echo=$ac_try;;
29698 esac
29699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29700 (eval "$ac_link") 2>&5
29701 ac_status=$?
29702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29703 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29704 { (case "(($ac_try" in
29705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29706 *) ac_try_echo=$ac_try;;
29707 esac
29708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29709 (eval "$ac_try") 2>&5
29710 ac_status=$?
29711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29712 (exit $ac_status); }; }; then
29713 :
29714 else
29715 echo "$as_me: program exited with status $ac_status" >&5
29716 echo "$as_me: failed program was:" >&5
29717 sed 's/^/| /' conftest.$ac_ext >&5
29718
29719 ( exit $ac_status )
29720 no_gtk=yes
29721 fi
29722 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29723 fi
29724
29725
29726 CFLAGS="$ac_save_CFLAGS"
29727 LIBS="$ac_save_LIBS"
29728 fi
29729 fi
29730 if test "x$no_gtk" = x ; then
29731 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29732 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
29733 wx_cv_lib_gtk=2.0
29734 else
29735 { echo "$as_me:$LINENO: result: no" >&5
29736 echo "${ECHO_T}no" >&6; }
29737 if test "$PKG_CONFIG" = "no" ; then
29738 echo "*** A new enough version of pkg-config was not found."
29739 echo "*** See http://pkgconfig.sourceforge.net"
29740 else
29741 if test -f conf.gtktest ; then
29742 :
29743 else
29744 echo "*** Could not run GTK+ test program, checking why..."
29745 ac_save_CFLAGS="$CFLAGS"
29746 ac_save_LIBS="$LIBS"
29747 CFLAGS="$CFLAGS $GTK_CFLAGS"
29748 LIBS="$LIBS $GTK_LIBS"
29749 cat >conftest.$ac_ext <<_ACEOF
29750 /* confdefs.h. */
29751 _ACEOF
29752 cat confdefs.h >>conftest.$ac_ext
29753 cat >>conftest.$ac_ext <<_ACEOF
29754 /* end confdefs.h. */
29755
29756 #include <gtk/gtk.h>
29757 #include <stdio.h>
29758
29759 int
29760 main ()
29761 {
29762 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29763 ;
29764 return 0;
29765 }
29766 _ACEOF
29767 rm -f conftest.$ac_objext conftest$ac_exeext
29768 if { (ac_try="$ac_link"
29769 case "(($ac_try" in
29770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29771 *) ac_try_echo=$ac_try;;
29772 esac
29773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29774 (eval "$ac_link") 2>conftest.er1
29775 ac_status=$?
29776 grep -v '^ *+' conftest.er1 >conftest.err
29777 rm -f conftest.er1
29778 cat conftest.err >&5
29779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29780 (exit $ac_status); } &&
29781 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29782 { (case "(($ac_try" in
29783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29784 *) ac_try_echo=$ac_try;;
29785 esac
29786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29787 (eval "$ac_try") 2>&5
29788 ac_status=$?
29789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29790 (exit $ac_status); }; } &&
29791 { ac_try='test -s conftest$ac_exeext'
29792 { (case "(($ac_try" in
29793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29794 *) ac_try_echo=$ac_try;;
29795 esac
29796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29797 (eval "$ac_try") 2>&5
29798 ac_status=$?
29799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29800 (exit $ac_status); }; }; then
29801 echo "*** The test program compiled, but did not run. This usually means"
29802 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
29803 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
29804 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29805 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29806 echo "*** is required on your system"
29807 echo "***"
29808 echo "*** If you have an old version installed, it is best to remove it, although"
29809 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29810 else
29811 echo "$as_me: failed program was:" >&5
29812 sed 's/^/| /' conftest.$ac_ext >&5
29813
29814 echo "*** The test program failed to compile or link. See the file config.log for the"
29815 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29816 fi
29817
29818 rm -f core conftest.err conftest.$ac_objext \
29819 conftest$ac_exeext conftest.$ac_ext
29820 CFLAGS="$ac_save_CFLAGS"
29821 LIBS="$ac_save_LIBS"
29822 fi
29823 fi
29824 GTK_CFLAGS=""
29825 GTK_LIBS=""
29826 :
29827 fi
29828
29829
29830 rm -f conf.gtktest
29831
29832
29833 case "${host}" in
29834 *-*-solaris2* )
29835 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29836 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
29837 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
29838 fi
29839 if test "$wxUSE_SHARED" != "yes"; then
29840 GTK_LIBS="$GTK_LIBS -lX11"
29841 fi
29842 esac
29843 fi
29844
29845 if test -z "$wx_cv_lib_gtk"; then
29846 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29847
29848 # Check whether --with-gtk-prefix was given.
29849 if test "${with_gtk_prefix+set}" = set; then
29850 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29851 else
29852 gtk_config_prefix=""
29853 fi
29854
29855
29856 # Check whether --with-gtk-exec-prefix was given.
29857 if test "${with_gtk_exec_prefix+set}" = set; then
29858 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29859 else
29860 gtk_config_exec_prefix=""
29861 fi
29862
29863 # Check whether --enable-gtktest was given.
29864 if test "${enable_gtktest+set}" = set; then
29865 enableval=$enable_gtktest;
29866 else
29867 enable_gtktest=yes
29868 fi
29869
29870
29871 for module in . $GTK_MODULES
29872 do
29873 case "$module" in
29874 gthread)
29875 gtk_config_args="$gtk_config_args gthread"
29876 ;;
29877 esac
29878 done
29879
29880 if test x$gtk_config_exec_prefix != x ; then
29881 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29882 if test x${GTK_CONFIG+set} != xset ; then
29883 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29884 fi
29885 fi
29886 if test x$gtk_config_prefix != x ; then
29887 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29888 if test x${GTK_CONFIG+set} != xset ; then
29889 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29890 fi
29891 fi
29892
29893 # Extract the first word of "gtk-config", so it can be a program name with args.
29894 set dummy gtk-config; ac_word=$2
29895 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29897 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29898 echo $ECHO_N "(cached) $ECHO_C" >&6
29899 else
29900 case $GTK_CONFIG in
29901 [\\/]* | ?:[\\/]*)
29902 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29903 ;;
29904 *)
29905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29906 for as_dir in $PATH
29907 do
29908 IFS=$as_save_IFS
29909 test -z "$as_dir" && as_dir=.
29910 for ac_exec_ext in '' $ac_executable_extensions; do
29911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
29912 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29914 break 2
29915 fi
29916 done
29917 done
29918 IFS=$as_save_IFS
29919
29920 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29921 ;;
29922 esac
29923 fi
29924 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29925 if test -n "$GTK_CONFIG"; then
29926 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29927 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29928 else
29929 { echo "$as_me:$LINENO: result: no" >&5
29930 echo "${ECHO_T}no" >&6; }
29931 fi
29932
29933
29934 min_gtk_version=1.2.7
29935 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29936 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29937 no_gtk=""
29938 if test "$GTK_CONFIG" = "no" ; then
29939 no_gtk=yes
29940 else
29941 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29942 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29943 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29944 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29945 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29946 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29947 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29948 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29949 if test "x$enable_gtktest" = "xyes" ; then
29950 ac_save_CFLAGS="$CFLAGS"
29951 ac_save_LIBS="$LIBS"
29952 CFLAGS="$CFLAGS $GTK_CFLAGS"
29953 LIBS="$GTK_LIBS $LIBS"
29954 rm -f conf.gtktest
29955 if test "$cross_compiling" = yes; then
29956 echo $ac_n "cross compiling; assumed OK... $ac_c"
29957 else
29958 cat >conftest.$ac_ext <<_ACEOF
29959 /* confdefs.h. */
29960 _ACEOF
29961 cat confdefs.h >>conftest.$ac_ext
29962 cat >>conftest.$ac_ext <<_ACEOF
29963 /* end confdefs.h. */
29964
29965 #include <gtk/gtk.h>
29966 #include <stdio.h>
29967 #include <stdlib.h>
29968
29969 int
29970 main ()
29971 {
29972 int major, minor, micro;
29973 char *tmp_version;
29974
29975 system ("touch conf.gtktest");
29976
29977 /* HP/UX 9 (%@#!) writes to sscanf strings */
29978 tmp_version = g_strdup("$min_gtk_version");
29979 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29980 printf("%s, bad version string\n", "$min_gtk_version");
29981 exit(1);
29982 }
29983
29984 if ((gtk_major_version != $gtk_config_major_version) ||
29985 (gtk_minor_version != $gtk_config_minor_version) ||
29986 (gtk_micro_version != $gtk_config_micro_version))
29987 {
29988 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29989 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29990 gtk_major_version, gtk_minor_version, gtk_micro_version);
29991 printf ("*** was found! If gtk-config was correct, then it is best\n");
29992 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29993 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29994 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29995 printf("*** required on your system.\n");
29996 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29997 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29998 printf("*** before re-running configure\n");
29999 }
30000 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30001 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30002 (gtk_minor_version != GTK_MINOR_VERSION) ||
30003 (gtk_micro_version != GTK_MICRO_VERSION))
30004 {
30005 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30006 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30007 printf("*** library (version %d.%d.%d)\n",
30008 gtk_major_version, gtk_minor_version, gtk_micro_version);
30009 }
30010 #endif /* defined (GTK_MAJOR_VERSION) ... */
30011 else
30012 {
30013 if ((gtk_major_version > major) ||
30014 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30015 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30016 {
30017 return 0;
30018 }
30019 else
30020 {
30021 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30022 gtk_major_version, gtk_minor_version, gtk_micro_version);
30023 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30024 major, minor, micro);
30025 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30026 printf("***\n");
30027 printf("*** If you have already installed a sufficiently new version, this error\n");
30028 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30029 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30030 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30031 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30032 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30033 printf("*** so that the correct libraries are found at run-time))\n");
30034 }
30035 }
30036 return 1;
30037 }
30038
30039 _ACEOF
30040 rm -f conftest$ac_exeext
30041 if { (ac_try="$ac_link"
30042 case "(($ac_try" in
30043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30044 *) ac_try_echo=$ac_try;;
30045 esac
30046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30047 (eval "$ac_link") 2>&5
30048 ac_status=$?
30049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30050 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30051 { (case "(($ac_try" in
30052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30053 *) ac_try_echo=$ac_try;;
30054 esac
30055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30056 (eval "$ac_try") 2>&5
30057 ac_status=$?
30058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30059 (exit $ac_status); }; }; then
30060 :
30061 else
30062 echo "$as_me: program exited with status $ac_status" >&5
30063 echo "$as_me: failed program was:" >&5
30064 sed 's/^/| /' conftest.$ac_ext >&5
30065
30066 ( exit $ac_status )
30067 no_gtk=yes
30068 fi
30069 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30070 fi
30071
30072
30073 CFLAGS="$ac_save_CFLAGS"
30074 LIBS="$ac_save_LIBS"
30075 fi
30076 fi
30077 if test "x$no_gtk" = x ; then
30078 { echo "$as_me:$LINENO: result: yes" >&5
30079 echo "${ECHO_T}yes" >&6; }
30080 wx_cv_lib_gtk=1.2.7
30081 else
30082 { echo "$as_me:$LINENO: result: no" >&5
30083 echo "${ECHO_T}no" >&6; }
30084 if test "$GTK_CONFIG" = "no" ; then
30085 echo "*** The gtk-config script installed by GTK could not be found"
30086 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30087 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30088 echo "*** full path to gtk-config."
30089 else
30090 if test -f conf.gtktest ; then
30091 :
30092 else
30093 echo "*** Could not run GTK test program, checking why..."
30094 CFLAGS="$CFLAGS $GTK_CFLAGS"
30095 LIBS="$LIBS $GTK_LIBS"
30096 cat >conftest.$ac_ext <<_ACEOF
30097 /* confdefs.h. */
30098 _ACEOF
30099 cat confdefs.h >>conftest.$ac_ext
30100 cat >>conftest.$ac_ext <<_ACEOF
30101 /* end confdefs.h. */
30102
30103 #include <gtk/gtk.h>
30104 #include <stdio.h>
30105
30106 int
30107 main ()
30108 {
30109 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30110 ;
30111 return 0;
30112 }
30113 _ACEOF
30114 rm -f conftest.$ac_objext conftest$ac_exeext
30115 if { (ac_try="$ac_link"
30116 case "(($ac_try" in
30117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30118 *) ac_try_echo=$ac_try;;
30119 esac
30120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30121 (eval "$ac_link") 2>conftest.er1
30122 ac_status=$?
30123 grep -v '^ *+' conftest.er1 >conftest.err
30124 rm -f conftest.er1
30125 cat conftest.err >&5
30126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30127 (exit $ac_status); } &&
30128 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30129 { (case "(($ac_try" in
30130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30131 *) ac_try_echo=$ac_try;;
30132 esac
30133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30134 (eval "$ac_try") 2>&5
30135 ac_status=$?
30136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30137 (exit $ac_status); }; } &&
30138 { ac_try='test -s conftest$ac_exeext'
30139 { (case "(($ac_try" in
30140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30141 *) ac_try_echo=$ac_try;;
30142 esac
30143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30144 (eval "$ac_try") 2>&5
30145 ac_status=$?
30146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30147 (exit $ac_status); }; }; then
30148 echo "*** The test program compiled, but did not run. This usually means"
30149 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30150 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30151 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30152 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30153 echo "*** is required on your system"
30154 echo "***"
30155 echo "*** If you have an old version installed, it is best to remove it, although"
30156 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30157 echo "***"
30158 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30159 echo "*** came with the system with the command"
30160 echo "***"
30161 echo "*** rpm --erase --nodeps gtk gtk-devel"
30162 else
30163 echo "$as_me: failed program was:" >&5
30164 sed 's/^/| /' conftest.$ac_ext >&5
30165
30166 echo "*** The test program failed to compile or link. See the file config.log for the"
30167 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30168 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30169 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30170 fi
30171
30172 rm -f core conftest.err conftest.$ac_objext \
30173 conftest$ac_exeext conftest.$ac_ext
30174 CFLAGS="$ac_save_CFLAGS"
30175 LIBS="$ac_save_LIBS"
30176 fi
30177 fi
30178 GTK_CFLAGS=""
30179 GTK_LIBS=""
30180 :
30181 fi
30182
30183
30184 rm -f conf.gtktest
30185
30186
30187 if test -z "$wx_cv_lib_gtk"; then
30188
30189 # Check whether --with-gtk-prefix was given.
30190 if test "${with_gtk_prefix+set}" = set; then
30191 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30192 else
30193 gtk_config_prefix=""
30194 fi
30195
30196
30197 # Check whether --with-gtk-exec-prefix was given.
30198 if test "${with_gtk_exec_prefix+set}" = set; then
30199 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30200 else
30201 gtk_config_exec_prefix=""
30202 fi
30203
30204 # Check whether --enable-gtktest was given.
30205 if test "${enable_gtktest+set}" = set; then
30206 enableval=$enable_gtktest;
30207 else
30208 enable_gtktest=yes
30209 fi
30210
30211
30212 for module in . $GTK_MODULES
30213 do
30214 case "$module" in
30215 gthread)
30216 gtk_config_args="$gtk_config_args gthread"
30217 ;;
30218 esac
30219 done
30220
30221 if test x$gtk_config_exec_prefix != x ; then
30222 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30223 if test x${GTK_CONFIG+set} != xset ; then
30224 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30225 fi
30226 fi
30227 if test x$gtk_config_prefix != x ; then
30228 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30229 if test x${GTK_CONFIG+set} != xset ; then
30230 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30231 fi
30232 fi
30233
30234 # Extract the first word of "gtk-config", so it can be a program name with args.
30235 set dummy gtk-config; ac_word=$2
30236 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30238 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30239 echo $ECHO_N "(cached) $ECHO_C" >&6
30240 else
30241 case $GTK_CONFIG in
30242 [\\/]* | ?:[\\/]*)
30243 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30244 ;;
30245 *)
30246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30247 for as_dir in $PATH
30248 do
30249 IFS=$as_save_IFS
30250 test -z "$as_dir" && as_dir=.
30251 for ac_exec_ext in '' $ac_executable_extensions; do
30252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
30253 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30255 break 2
30256 fi
30257 done
30258 done
30259 IFS=$as_save_IFS
30260
30261 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30262 ;;
30263 esac
30264 fi
30265 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30266 if test -n "$GTK_CONFIG"; then
30267 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30268 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30269 else
30270 { echo "$as_me:$LINENO: result: no" >&5
30271 echo "${ECHO_T}no" >&6; }
30272 fi
30273
30274
30275 min_gtk_version=1.2.3
30276 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30277 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30278 no_gtk=""
30279 if test "$GTK_CONFIG" = "no" ; then
30280 no_gtk=yes
30281 else
30282 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30283 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30284 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30285 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30286 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30287 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30288 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30289 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30290 if test "x$enable_gtktest" = "xyes" ; then
30291 ac_save_CFLAGS="$CFLAGS"
30292 ac_save_LIBS="$LIBS"
30293 CFLAGS="$CFLAGS $GTK_CFLAGS"
30294 LIBS="$GTK_LIBS $LIBS"
30295 rm -f conf.gtktest
30296 if test "$cross_compiling" = yes; then
30297 echo $ac_n "cross compiling; assumed OK... $ac_c"
30298 else
30299 cat >conftest.$ac_ext <<_ACEOF
30300 /* confdefs.h. */
30301 _ACEOF
30302 cat confdefs.h >>conftest.$ac_ext
30303 cat >>conftest.$ac_ext <<_ACEOF
30304 /* end confdefs.h. */
30305
30306 #include <gtk/gtk.h>
30307 #include <stdio.h>
30308 #include <stdlib.h>
30309
30310 int
30311 main ()
30312 {
30313 int major, minor, micro;
30314 char *tmp_version;
30315
30316 system ("touch conf.gtktest");
30317
30318 /* HP/UX 9 (%@#!) writes to sscanf strings */
30319 tmp_version = g_strdup("$min_gtk_version");
30320 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30321 printf("%s, bad version string\n", "$min_gtk_version");
30322 exit(1);
30323 }
30324
30325 if ((gtk_major_version != $gtk_config_major_version) ||
30326 (gtk_minor_version != $gtk_config_minor_version) ||
30327 (gtk_micro_version != $gtk_config_micro_version))
30328 {
30329 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30330 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30331 gtk_major_version, gtk_minor_version, gtk_micro_version);
30332 printf ("*** was found! If gtk-config was correct, then it is best\n");
30333 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30334 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30335 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30336 printf("*** required on your system.\n");
30337 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30338 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30339 printf("*** before re-running configure\n");
30340 }
30341 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30342 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30343 (gtk_minor_version != GTK_MINOR_VERSION) ||
30344 (gtk_micro_version != GTK_MICRO_VERSION))
30345 {
30346 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30347 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30348 printf("*** library (version %d.%d.%d)\n",
30349 gtk_major_version, gtk_minor_version, gtk_micro_version);
30350 }
30351 #endif /* defined (GTK_MAJOR_VERSION) ... */
30352 else
30353 {
30354 if ((gtk_major_version > major) ||
30355 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30356 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30357 {
30358 return 0;
30359 }
30360 else
30361 {
30362 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30363 gtk_major_version, gtk_minor_version, gtk_micro_version);
30364 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30365 major, minor, micro);
30366 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30367 printf("***\n");
30368 printf("*** If you have already installed a sufficiently new version, this error\n");
30369 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30370 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30371 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30372 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30373 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30374 printf("*** so that the correct libraries are found at run-time))\n");
30375 }
30376 }
30377 return 1;
30378 }
30379
30380 _ACEOF
30381 rm -f conftest$ac_exeext
30382 if { (ac_try="$ac_link"
30383 case "(($ac_try" in
30384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30385 *) ac_try_echo=$ac_try;;
30386 esac
30387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30388 (eval "$ac_link") 2>&5
30389 ac_status=$?
30390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30391 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30392 { (case "(($ac_try" in
30393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30394 *) ac_try_echo=$ac_try;;
30395 esac
30396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30397 (eval "$ac_try") 2>&5
30398 ac_status=$?
30399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30400 (exit $ac_status); }; }; then
30401 :
30402 else
30403 echo "$as_me: program exited with status $ac_status" >&5
30404 echo "$as_me: failed program was:" >&5
30405 sed 's/^/| /' conftest.$ac_ext >&5
30406
30407 ( exit $ac_status )
30408 no_gtk=yes
30409 fi
30410 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30411 fi
30412
30413
30414 CFLAGS="$ac_save_CFLAGS"
30415 LIBS="$ac_save_LIBS"
30416 fi
30417 fi
30418 if test "x$no_gtk" = x ; then
30419 { echo "$as_me:$LINENO: result: yes" >&5
30420 echo "${ECHO_T}yes" >&6; }
30421 wx_cv_lib_gtk=1.2.3
30422 else
30423 { echo "$as_me:$LINENO: result: no" >&5
30424 echo "${ECHO_T}no" >&6; }
30425 if test "$GTK_CONFIG" = "no" ; then
30426 echo "*** The gtk-config script installed by GTK could not be found"
30427 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30428 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30429 echo "*** full path to gtk-config."
30430 else
30431 if test -f conf.gtktest ; then
30432 :
30433 else
30434 echo "*** Could not run GTK test program, checking why..."
30435 CFLAGS="$CFLAGS $GTK_CFLAGS"
30436 LIBS="$LIBS $GTK_LIBS"
30437 cat >conftest.$ac_ext <<_ACEOF
30438 /* confdefs.h. */
30439 _ACEOF
30440 cat confdefs.h >>conftest.$ac_ext
30441 cat >>conftest.$ac_ext <<_ACEOF
30442 /* end confdefs.h. */
30443
30444 #include <gtk/gtk.h>
30445 #include <stdio.h>
30446
30447 int
30448 main ()
30449 {
30450 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30451 ;
30452 return 0;
30453 }
30454 _ACEOF
30455 rm -f conftest.$ac_objext conftest$ac_exeext
30456 if { (ac_try="$ac_link"
30457 case "(($ac_try" in
30458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30459 *) ac_try_echo=$ac_try;;
30460 esac
30461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30462 (eval "$ac_link") 2>conftest.er1
30463 ac_status=$?
30464 grep -v '^ *+' conftest.er1 >conftest.err
30465 rm -f conftest.er1
30466 cat conftest.err >&5
30467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30468 (exit $ac_status); } &&
30469 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30470 { (case "(($ac_try" in
30471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30472 *) ac_try_echo=$ac_try;;
30473 esac
30474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30475 (eval "$ac_try") 2>&5
30476 ac_status=$?
30477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30478 (exit $ac_status); }; } &&
30479 { ac_try='test -s conftest$ac_exeext'
30480 { (case "(($ac_try" in
30481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30482 *) ac_try_echo=$ac_try;;
30483 esac
30484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30485 (eval "$ac_try") 2>&5
30486 ac_status=$?
30487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30488 (exit $ac_status); }; }; then
30489 echo "*** The test program compiled, but did not run. This usually means"
30490 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30491 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30492 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30493 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30494 echo "*** is required on your system"
30495 echo "***"
30496 echo "*** If you have an old version installed, it is best to remove it, although"
30497 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30498 echo "***"
30499 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30500 echo "*** came with the system with the command"
30501 echo "***"
30502 echo "*** rpm --erase --nodeps gtk gtk-devel"
30503 else
30504 echo "$as_me: failed program was:" >&5
30505 sed 's/^/| /' conftest.$ac_ext >&5
30506
30507 echo "*** The test program failed to compile or link. See the file config.log for the"
30508 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30509 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30510 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30511 fi
30512
30513 rm -f core conftest.err conftest.$ac_objext \
30514 conftest$ac_exeext conftest.$ac_ext
30515 CFLAGS="$ac_save_CFLAGS"
30516 LIBS="$ac_save_LIBS"
30517 fi
30518 fi
30519 GTK_CFLAGS=""
30520 GTK_LIBS=""
30521 :
30522 fi
30523
30524
30525 rm -f conf.gtktest
30526
30527 fi
30528 fi
30529 fi
30530
30531 if test -z "$wx_cv_lib_gtk"; then
30532 wx_cv_lib_gtk=none
30533 else
30534 wx_cv_cflags_gtk=$GTK_CFLAGS
30535 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
30536 fi
30537
30538
30539 fi
30540
30541
30542 if test "$gtk_version_cached" = 1; then
30543 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30544 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30545 fi
30546
30547 case "$wx_cv_lib_gtk" in
30548 2.0) WXGTK20=1
30549 TOOLKIT_VERSION=2
30550 ;;
30551 1.2.7) WXGTK127=1
30552 WXGTK12=1
30553 ;;
30554 1.2.3) WXGTK12=1
30555 ;;
30556 *) { { echo "$as_me:$LINENO: error:
30557 The development files for GTK+ were not found. For GTK+ 2, please
30558 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30559 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30560 and that the version is 1.2.3 or above. Also check that the
30561 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30562 --libs' are in the LD_LIBRARY_PATH or equivalent.
30563 " >&5
30564 echo "$as_me: error:
30565 The development files for GTK+ were not found. For GTK+ 2, please
30566 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30567 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30568 and that the version is 1.2.3 or above. Also check that the
30569 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30570 --libs' are in the LD_LIBRARY_PATH or equivalent.
30571 " >&2;}
30572 { (exit 1); exit 1; }; }
30573 ;;
30574 esac
30575
30576 if test "$WXGTK20" = 1; then
30577 save_CFLAGS="$CFLAGS"
30578 save_LIBS="$LIBS"
30579 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30580 LIBS="$LIBS $wx_cv_libs_gtk"
30581
30582 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
30583 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
30584 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
30585 echo $ECHO_N "(cached) $ECHO_C" >&6
30586 else
30587 cat >conftest.$ac_ext <<_ACEOF
30588 /* confdefs.h. */
30589 _ACEOF
30590 cat confdefs.h >>conftest.$ac_ext
30591 cat >>conftest.$ac_ext <<_ACEOF
30592 /* end confdefs.h. */
30593 #include <gtk/gtk.h>
30594
30595 int
30596 main ()
30597 {
30598 #ifndef gtk_icon_size_lookup
30599 char *p = (char *) gtk_icon_size_lookup;
30600 return !p;
30601 #endif
30602
30603 ;
30604 return 0;
30605 }
30606 _ACEOF
30607 rm -f conftest.$ac_objext
30608 if { (ac_try="$ac_compile"
30609 case "(($ac_try" in
30610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30611 *) ac_try_echo=$ac_try;;
30612 esac
30613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30614 (eval "$ac_compile") 2>conftest.er1
30615 ac_status=$?
30616 grep -v '^ *+' conftest.er1 >conftest.err
30617 rm -f conftest.er1
30618 cat conftest.err >&5
30619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30620 (exit $ac_status); } &&
30621 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30622 { (case "(($ac_try" in
30623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30624 *) ac_try_echo=$ac_try;;
30625 esac
30626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30627 (eval "$ac_try") 2>&5
30628 ac_status=$?
30629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30630 (exit $ac_status); }; } &&
30631 { ac_try='test -s conftest.$ac_objext'
30632 { (case "(($ac_try" in
30633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30634 *) ac_try_echo=$ac_try;;
30635 esac
30636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30637 (eval "$ac_try") 2>&5
30638 ac_status=$?
30639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30640 (exit $ac_status); }; }; then
30641 ac_cv_have_decl_gtk_icon_size_lookup=yes
30642 else
30643 echo "$as_me: failed program was:" >&5
30644 sed 's/^/| /' conftest.$ac_ext >&5
30645
30646 ac_cv_have_decl_gtk_icon_size_lookup=no
30647 fi
30648
30649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30650 fi
30651 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
30652 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
30653 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
30654
30655 cat >>confdefs.h <<_ACEOF
30656 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
30657 _ACEOF
30658
30659
30660 else
30661 cat >>confdefs.h <<_ACEOF
30662 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
30663 _ACEOF
30664
30665 cat >>confdefs.h <<\_ACEOF
30666 #define NEED_GTK_ICON_SIZE_LOOKUP 1
30667 _ACEOF
30668
30669 fi
30670
30671
30672
30673
30674 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30675 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30676 cat >conftest.$ac_ext <<_ACEOF
30677 /* confdefs.h. */
30678 _ACEOF
30679 cat confdefs.h >>conftest.$ac_ext
30680 cat >>conftest.$ac_ext <<_ACEOF
30681 /* end confdefs.h. */
30682
30683 #include <gtk/gtk.h>
30684
30685 int
30686 main ()
30687 {
30688
30689 #if !GTK_CHECK_VERSION(2,10,0)
30690 Not GTK+ 2.10
30691 #endif
30692
30693 ;
30694 return 0;
30695 }
30696 _ACEOF
30697 rm -f conftest.$ac_objext
30698 if { (ac_try="$ac_compile"
30699 case "(($ac_try" in
30700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30701 *) ac_try_echo=$ac_try;;
30702 esac
30703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30704 (eval "$ac_compile") 2>conftest.er1
30705 ac_status=$?
30706 grep -v '^ *+' conftest.er1 >conftest.err
30707 rm -f conftest.er1
30708 cat conftest.err >&5
30709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30710 (exit $ac_status); } &&
30711 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30712 { (case "(($ac_try" in
30713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30714 *) ac_try_echo=$ac_try;;
30715 esac
30716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30717 (eval "$ac_try") 2>&5
30718 ac_status=$?
30719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30720 (exit $ac_status); }; } &&
30721 { ac_try='test -s conftest.$ac_objext'
30722 { (case "(($ac_try" in
30723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30724 *) ac_try_echo=$ac_try;;
30725 esac
30726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30727 (eval "$ac_try") 2>&5
30728 ac_status=$?
30729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30730 (exit $ac_status); }; }; then
30731
30732 cat >>confdefs.h <<\_ACEOF
30733 #define __WXGTK210__ 1
30734 _ACEOF
30735
30736 cat >>confdefs.h <<\_ACEOF
30737 #define __WXGTK26__ 1
30738 _ACEOF
30739
30740 cat >>confdefs.h <<\_ACEOF
30741 #define __WXGTK24__ 1
30742 _ACEOF
30743
30744 { echo "$as_me:$LINENO: result: yes" >&5
30745 echo "${ECHO_T}yes" >&6; }
30746 ac_wxgtk210=1
30747
30748 else
30749 echo "$as_me: failed program was:" >&5
30750 sed 's/^/| /' conftest.$ac_ext >&5
30751
30752
30753 { echo "$as_me:$LINENO: result: no" >&5
30754 echo "${ECHO_T}no" >&6; }
30755 ac_wxgtk210=0
30756
30757 fi
30758
30759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30760
30761 if test "$ac_wxgtk210" = 0; then
30762 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30763 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30764 cat >conftest.$ac_ext <<_ACEOF
30765 /* confdefs.h. */
30766 _ACEOF
30767 cat confdefs.h >>conftest.$ac_ext
30768 cat >>conftest.$ac_ext <<_ACEOF
30769 /* end confdefs.h. */
30770
30771 #include <gtk/gtk.h>
30772
30773 int
30774 main ()
30775 {
30776
30777 #if !GTK_CHECK_VERSION(2,6,0)
30778 Not GTK+ 2.6
30779 #endif
30780
30781 ;
30782 return 0;
30783 }
30784 _ACEOF
30785 rm -f conftest.$ac_objext
30786 if { (ac_try="$ac_compile"
30787 case "(($ac_try" in
30788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30789 *) ac_try_echo=$ac_try;;
30790 esac
30791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30792 (eval "$ac_compile") 2>conftest.er1
30793 ac_status=$?
30794 grep -v '^ *+' conftest.er1 >conftest.err
30795 rm -f conftest.er1
30796 cat conftest.err >&5
30797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30798 (exit $ac_status); } &&
30799 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30800 { (case "(($ac_try" in
30801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30802 *) ac_try_echo=$ac_try;;
30803 esac
30804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30805 (eval "$ac_try") 2>&5
30806 ac_status=$?
30807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30808 (exit $ac_status); }; } &&
30809 { ac_try='test -s conftest.$ac_objext'
30810 { (case "(($ac_try" in
30811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30812 *) ac_try_echo=$ac_try;;
30813 esac
30814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30815 (eval "$ac_try") 2>&5
30816 ac_status=$?
30817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30818 (exit $ac_status); }; }; then
30819
30820 cat >>confdefs.h <<\_ACEOF
30821 #define __WXGTK26__ 1
30822 _ACEOF
30823
30824 cat >>confdefs.h <<\_ACEOF
30825 #define __WXGTK24__ 1
30826 _ACEOF
30827
30828 { echo "$as_me:$LINENO: result: yes" >&5
30829 echo "${ECHO_T}yes" >&6; }
30830 ac_wxgtk26=1
30831
30832 else
30833 echo "$as_me: failed program was:" >&5
30834 sed 's/^/| /' conftest.$ac_ext >&5
30835
30836
30837 { echo "$as_me:$LINENO: result: no" >&5
30838 echo "${ECHO_T}no" >&6; }
30839 ac_wxgtk26=0
30840
30841 fi
30842
30843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30844 fi
30845
30846 if test "$ac_wxgtk26" = 0; then
30847 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
30848 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
30849 cat >conftest.$ac_ext <<_ACEOF
30850 /* confdefs.h. */
30851 _ACEOF
30852 cat confdefs.h >>conftest.$ac_ext
30853 cat >>conftest.$ac_ext <<_ACEOF
30854 /* end confdefs.h. */
30855
30856 #include <gtk/gtk.h>
30857
30858 int
30859 main ()
30860 {
30861
30862 #if !GTK_CHECK_VERSION(2,4,0)
30863 Not GTK+ 2.4
30864 #endif
30865
30866 ;
30867 return 0;
30868 }
30869 _ACEOF
30870 rm -f conftest.$ac_objext
30871 if { (ac_try="$ac_compile"
30872 case "(($ac_try" in
30873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30874 *) ac_try_echo=$ac_try;;
30875 esac
30876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30877 (eval "$ac_compile") 2>conftest.er1
30878 ac_status=$?
30879 grep -v '^ *+' conftest.er1 >conftest.err
30880 rm -f conftest.er1
30881 cat conftest.err >&5
30882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30883 (exit $ac_status); } &&
30884 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30885 { (case "(($ac_try" in
30886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30887 *) ac_try_echo=$ac_try;;
30888 esac
30889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30890 (eval "$ac_try") 2>&5
30891 ac_status=$?
30892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30893 (exit $ac_status); }; } &&
30894 { ac_try='test -s conftest.$ac_objext'
30895 { (case "(($ac_try" in
30896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30897 *) ac_try_echo=$ac_try;;
30898 esac
30899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30900 (eval "$ac_try") 2>&5
30901 ac_status=$?
30902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30903 (exit $ac_status); }; }; then
30904
30905 cat >>confdefs.h <<\_ACEOF
30906 #define __WXGTK24__ 1
30907 _ACEOF
30908
30909 { echo "$as_me:$LINENO: result: yes" >&5
30910 echo "${ECHO_T}yes" >&6; }
30911
30912 else
30913 echo "$as_me: failed program was:" >&5
30914 sed 's/^/| /' conftest.$ac_ext >&5
30915
30916
30917 { echo "$as_me:$LINENO: result: no" >&5
30918 echo "${ECHO_T}no" >&6; }
30919
30920 fi
30921
30922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30923 fi
30924
30925 CFLAGS="$save_CFLAGS"
30926 LIBS="$save_LIBS"
30927 else
30928 if test "$wxUSE_UNICODE" = "yes"; then
30929 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30930 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30931 wxUSE_UNICODE=no
30932 fi
30933
30934 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30935 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30936 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30937 echo $ECHO_N "(cached) $ECHO_C" >&6
30938 else
30939 ac_check_lib_save_LIBS=$LIBS
30940 LIBS="-lgdk $LIBS"
30941 cat >conftest.$ac_ext <<_ACEOF
30942 /* confdefs.h. */
30943 _ACEOF
30944 cat confdefs.h >>conftest.$ac_ext
30945 cat >>conftest.$ac_ext <<_ACEOF
30946 /* end confdefs.h. */
30947
30948 /* Override any GCC internal prototype to avoid an error.
30949 Use char because int might match the return type of a GCC
30950 builtin and then its argument prototype would still apply. */
30951 #ifdef __cplusplus
30952 extern "C"
30953 #endif
30954 char gdk_im_open ();
30955 int
30956 main ()
30957 {
30958 return gdk_im_open ();
30959 ;
30960 return 0;
30961 }
30962 _ACEOF
30963 rm -f conftest.$ac_objext conftest$ac_exeext
30964 if { (ac_try="$ac_link"
30965 case "(($ac_try" in
30966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30967 *) ac_try_echo=$ac_try;;
30968 esac
30969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30970 (eval "$ac_link") 2>conftest.er1
30971 ac_status=$?
30972 grep -v '^ *+' conftest.er1 >conftest.err
30973 rm -f conftest.er1
30974 cat conftest.err >&5
30975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30976 (exit $ac_status); } &&
30977 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30978 { (case "(($ac_try" in
30979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30980 *) ac_try_echo=$ac_try;;
30981 esac
30982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30983 (eval "$ac_try") 2>&5
30984 ac_status=$?
30985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30986 (exit $ac_status); }; } &&
30987 { ac_try='test -s conftest$ac_exeext'
30988 { (case "(($ac_try" in
30989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30990 *) ac_try_echo=$ac_try;;
30991 esac
30992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30993 (eval "$ac_try") 2>&5
30994 ac_status=$?
30995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30996 (exit $ac_status); }; }; then
30997 ac_cv_lib_gdk_gdk_im_open=yes
30998 else
30999 echo "$as_me: failed program was:" >&5
31000 sed 's/^/| /' conftest.$ac_ext >&5
31001
31002 ac_cv_lib_gdk_gdk_im_open=no
31003 fi
31004
31005 rm -f core conftest.err conftest.$ac_objext \
31006 conftest$ac_exeext conftest.$ac_ext
31007 LIBS=$ac_check_lib_save_LIBS
31008 fi
31009 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31010 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31011 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31012 cat >>confdefs.h <<\_ACEOF
31013 #define HAVE_XIM 1
31014 _ACEOF
31015
31016 fi
31017
31018
31019 if test "$USE_DARWIN" != 1; then
31020
31021 for ac_func in poll
31022 do
31023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31024 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31026 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31027 echo $ECHO_N "(cached) $ECHO_C" >&6
31028 else
31029 cat >conftest.$ac_ext <<_ACEOF
31030 /* confdefs.h. */
31031 _ACEOF
31032 cat confdefs.h >>conftest.$ac_ext
31033 cat >>conftest.$ac_ext <<_ACEOF
31034 /* end confdefs.h. */
31035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31037 #define $ac_func innocuous_$ac_func
31038
31039 /* System header to define __stub macros and hopefully few prototypes,
31040 which can conflict with char $ac_func (); below.
31041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31042 <limits.h> exists even on freestanding compilers. */
31043
31044 #ifdef __STDC__
31045 # include <limits.h>
31046 #else
31047 # include <assert.h>
31048 #endif
31049
31050 #undef $ac_func
31051
31052 /* Override any GCC internal prototype to avoid an error.
31053 Use char because int might match the return type of a GCC
31054 builtin and then its argument prototype would still apply. */
31055 #ifdef __cplusplus
31056 extern "C"
31057 #endif
31058 char $ac_func ();
31059 /* The GNU C library defines this for functions which it implements
31060 to always fail with ENOSYS. Some functions are actually named
31061 something starting with __ and the normal name is an alias. */
31062 #if defined __stub_$ac_func || defined __stub___$ac_func
31063 choke me
31064 #endif
31065
31066 int
31067 main ()
31068 {
31069 return $ac_func ();
31070 ;
31071 return 0;
31072 }
31073 _ACEOF
31074 rm -f conftest.$ac_objext conftest$ac_exeext
31075 if { (ac_try="$ac_link"
31076 case "(($ac_try" in
31077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31078 *) ac_try_echo=$ac_try;;
31079 esac
31080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31081 (eval "$ac_link") 2>conftest.er1
31082 ac_status=$?
31083 grep -v '^ *+' conftest.er1 >conftest.err
31084 rm -f conftest.er1
31085 cat conftest.err >&5
31086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31087 (exit $ac_status); } &&
31088 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31089 { (case "(($ac_try" in
31090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31091 *) ac_try_echo=$ac_try;;
31092 esac
31093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31094 (eval "$ac_try") 2>&5
31095 ac_status=$?
31096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31097 (exit $ac_status); }; } &&
31098 { ac_try='test -s conftest$ac_exeext'
31099 { (case "(($ac_try" in
31100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31101 *) ac_try_echo=$ac_try;;
31102 esac
31103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31104 (eval "$ac_try") 2>&5
31105 ac_status=$?
31106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31107 (exit $ac_status); }; }; then
31108 eval "$as_ac_var=yes"
31109 else
31110 echo "$as_me: failed program was:" >&5
31111 sed 's/^/| /' conftest.$ac_ext >&5
31112
31113 eval "$as_ac_var=no"
31114 fi
31115
31116 rm -f core conftest.err conftest.$ac_objext \
31117 conftest$ac_exeext conftest.$ac_ext
31118 fi
31119 ac_res=`eval echo '${'$as_ac_var'}'`
31120 { echo "$as_me:$LINENO: result: $ac_res" >&5
31121 echo "${ECHO_T}$ac_res" >&6; }
31122 if test `eval echo '${'$as_ac_var'}'` = yes; then
31123 cat >>confdefs.h <<_ACEOF
31124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31125 _ACEOF
31126
31127 fi
31128 done
31129
31130 fi
31131 fi
31132
31133 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31134 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31135
31136 AFMINSTALL=afminstall
31137 TOOLKIT=GTK
31138 GUIDIST=GTK_DIST
31139
31140 if test "$wxUSE_GPE" = "yes"; then
31141 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31142 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31143
31144 ac_find_libraries=
31145 for ac_dir in $SEARCH_LIB;
31146 do
31147 for ac_extension in a so sl dylib dll.a; do
31148 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31149 ac_find_libraries=$ac_dir
31150 break 2
31151 fi
31152 done
31153 done
31154
31155 if test "$ac_find_libraries" != "" ; then
31156
31157 if test "$ac_find_libraries" = "default location"; then
31158 ac_path_to_link=""
31159 else
31160 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31161 result=$?
31162 if test $result = 0; then
31163 ac_path_to_link=""
31164 else
31165 ac_path_to_link=" -L$ac_find_libraries"
31166 fi
31167 fi
31168
31169 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31170 WXGPE=1
31171 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31172 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31173 else
31174 { echo "$as_me:$LINENO: result: not found" >&5
31175 echo "${ECHO_T}not found" >&6; }
31176 fi
31177
31178 fi
31179 fi
31180
31181 if test "$wxUSE_MGL" = 1; then
31182 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31183 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31184 if test "x$MGL_ROOT" = x ; then
31185 { echo "$as_me:$LINENO: result: not found" >&5
31186 echo "${ECHO_T}not found" >&6; }
31187 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31188 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31189 { (exit 1); exit 1; }; }
31190 else
31191 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31192 echo "${ECHO_T}$MGL_ROOT" >&6; }
31193 fi
31194
31195 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31196 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31197 case "${host}" in
31198 *-*-linux* )
31199 if test "x$wxUSE_SHARED" = xyes ; then
31200 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31201 else
31202 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31203 fi
31204 ;;
31205 *-pc-msdosdjgpp )
31206 mgl_os_candidates="dos32/dj2"
31207 ;;
31208 *)
31209 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31210 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31211 { (exit 1); exit 1; }; }
31212 esac
31213
31214 mgl_lib_type=""
31215 mgl_os=""
31216
31217 for mgl_os_i in $mgl_os_candidates ; do
31218 if test "x$mgl_os" = x ; then
31219 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31220 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31221 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31222 mgl_lib_type=debug
31223 mgl_os=$mgl_os_i
31224 fi
31225 fi
31226 if test "x$mgl_lib_type" = x ; then
31227 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31228 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31229 mgl_lib_type=release
31230 mgl_os=$mgl_os_i
31231 fi
31232 fi
31233 fi
31234 done
31235
31236 if test "x$mgl_os" = x ; then
31237 { echo "$as_me:$LINENO: result: not found" >&5
31238 echo "${ECHO_T}not found" >&6; }
31239 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31240 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31241 { (exit 1); exit 1; }; }
31242 fi
31243 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31244 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31245
31246 wxUSE_UNIVERSAL="yes"
31247
31248 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31249 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31250
31251 AFMINSTALL=afminstall
31252 TOOLKIT=MGL
31253 GUIDIST=MGL_DIST
31254 fi
31255
31256 if test "$wxUSE_DFB" = 1; then
31257
31258
31259 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31260 if test -n "$ac_tool_prefix"; then
31261 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31262 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31263 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31265 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31266 echo $ECHO_N "(cached) $ECHO_C" >&6
31267 else
31268 case $PKG_CONFIG in
31269 [\\/]* | ?:[\\/]*)
31270 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31271 ;;
31272 *)
31273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31274 for as_dir in $PATH
31275 do
31276 IFS=$as_save_IFS
31277 test -z "$as_dir" && as_dir=.
31278 for ac_exec_ext in '' $ac_executable_extensions; do
31279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
31280 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31282 break 2
31283 fi
31284 done
31285 done
31286 IFS=$as_save_IFS
31287
31288 ;;
31289 esac
31290 fi
31291 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31292 if test -n "$PKG_CONFIG"; then
31293 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31294 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31295 else
31296 { echo "$as_me:$LINENO: result: no" >&5
31297 echo "${ECHO_T}no" >&6; }
31298 fi
31299
31300
31301 fi
31302 if test -z "$ac_cv_path_PKG_CONFIG"; then
31303 ac_pt_PKG_CONFIG=$PKG_CONFIG
31304 # Extract the first word of "pkg-config", so it can be a program name with args.
31305 set dummy pkg-config; ac_word=$2
31306 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31308 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31309 echo $ECHO_N "(cached) $ECHO_C" >&6
31310 else
31311 case $ac_pt_PKG_CONFIG in
31312 [\\/]* | ?:[\\/]*)
31313 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31314 ;;
31315 *)
31316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31317 for as_dir in $PATH
31318 do
31319 IFS=$as_save_IFS
31320 test -z "$as_dir" && as_dir=.
31321 for ac_exec_ext in '' $ac_executable_extensions; do
31322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
31323 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31325 break 2
31326 fi
31327 done
31328 done
31329 IFS=$as_save_IFS
31330
31331 ;;
31332 esac
31333 fi
31334 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31335 if test -n "$ac_pt_PKG_CONFIG"; then
31336 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31337 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31338 else
31339 { echo "$as_me:$LINENO: result: no" >&5
31340 echo "${ECHO_T}no" >&6; }
31341 fi
31342
31343 if test "x$ac_pt_PKG_CONFIG" = x; then
31344 PKG_CONFIG=""
31345 else
31346 case $cross_compiling:$ac_tool_warned in
31347 yes:)
31348 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31349 whose name does not start with the host triplet. If you think this
31350 configuration is useful to you, please write to autoconf@gnu.org." >&5
31351 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31352 whose name does not start with the host triplet. If you think this
31353 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31354 ac_tool_warned=yes ;;
31355 esac
31356 PKG_CONFIG=$ac_pt_PKG_CONFIG
31357 fi
31358 else
31359 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31360 fi
31361
31362 fi
31363 if test -n "$PKG_CONFIG"; then
31364 _pkg_min_version=0.9.0
31365 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31366 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31367 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31368 { echo "$as_me:$LINENO: result: yes" >&5
31369 echo "${ECHO_T}yes" >&6; }
31370 else
31371 { echo "$as_me:$LINENO: result: no" >&5
31372 echo "${ECHO_T}no" >&6; }
31373 PKG_CONFIG=""
31374 fi
31375
31376 fi
31377
31378
31379 pkg_failed=no
31380 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31381 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31382
31383 if test -n "$PKG_CONFIG"; then
31384 if test -n "$DIRECTFB_CFLAGS"; then
31385 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31386 else
31387 if test -n "$PKG_CONFIG" && \
31388 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31389 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31390 ac_status=$?
31391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31392 (exit $ac_status); }; then
31393 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31394 else
31395 pkg_failed=yes
31396 fi
31397 fi
31398 else
31399 pkg_failed=untried
31400 fi
31401 if test -n "$PKG_CONFIG"; then
31402 if test -n "$DIRECTFB_LIBS"; then
31403 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31404 else
31405 if test -n "$PKG_CONFIG" && \
31406 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31407 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31408 ac_status=$?
31409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31410 (exit $ac_status); }; then
31411 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31412 else
31413 pkg_failed=yes
31414 fi
31415 fi
31416 else
31417 pkg_failed=untried
31418 fi
31419
31420
31421
31422 if test $pkg_failed = yes; then
31423
31424 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31425 _pkg_short_errors_supported=yes
31426 else
31427 _pkg_short_errors_supported=no
31428 fi
31429 if test $_pkg_short_errors_supported = yes; then
31430 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31431 else
31432 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31433 fi
31434 # Put the nasty error message in config.log where it belongs
31435 echo "$DIRECTFB_PKG_ERRORS" >&5
31436
31437
31438 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31439 echo "$as_me: error: DirectFB not found." >&2;}
31440 { (exit 1); exit 1; }; }
31441
31442
31443 elif test $pkg_failed = untried; then
31444
31445 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31446 echo "$as_me: error: DirectFB not found." >&2;}
31447 { (exit 1); exit 1; }; }
31448
31449
31450 else
31451 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31452 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31453 { echo "$as_me:$LINENO: result: yes" >&5
31454 echo "${ECHO_T}yes" >&6; }
31455
31456 wxUSE_UNIVERSAL="yes"
31457 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31458 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31459 TOOLKIT=DFB
31460 GUIDIST=DFB_DIST
31461
31462 fi
31463 fi
31464
31465 if test "$wxUSE_MICROWIN" = 1; then
31466 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31467 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31468 if test "x$MICROWINDOWS" = x ; then
31469 { echo "$as_me:$LINENO: result: not found" >&5
31470 echo "${ECHO_T}not found" >&6; }
31471 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31472 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31473 { (exit 1); exit 1; }; }
31474 else
31475 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31476 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31477 fi
31478
31479 if test -f $MICROWINDOWS/lib/libmwin.a; then
31480 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31481 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31482 else
31483 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31484 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31485 { (exit 1); exit 1; }; }
31486 fi
31487
31488 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31489 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31490
31491 wxUSE_UNIVERSAL="yes"
31492
31493 AFMINSTALL=afminstall
31494 TOOLKIT=MICROWIN
31495 GUIDIST=MICROWIN_DIST
31496
31497 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31498 fi
31499
31500 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31501 { echo "$as_me:$LINENO: checking for X" >&5
31502 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31503
31504
31505 # Check whether --with-x was given.
31506 if test "${with_x+set}" = set; then
31507 withval=$with_x;
31508 fi
31509
31510 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31511 if test "x$with_x" = xno; then
31512 # The user explicitly disabled X.
31513 have_x=disabled
31514 else
31515 case $x_includes,$x_libraries in #(
31516 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31517 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31518 { (exit 1); exit 1; }; };; #(
31519 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31520 echo $ECHO_N "(cached) $ECHO_C" >&6
31521 else
31522 # One or both of the vars are not set, and there is no cached value.
31523 ac_x_includes=no ac_x_libraries=no
31524 rm -f -r conftest.dir
31525 if mkdir conftest.dir; then
31526 cd conftest.dir
31527 cat >Imakefile <<'_ACEOF'
31528 incroot:
31529 @echo incroot='${INCROOT}'
31530 usrlibdir:
31531 @echo usrlibdir='${USRLIBDIR}'
31532 libdir:
31533 @echo libdir='${LIBDIR}'
31534 _ACEOF
31535 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31536 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31537 for ac_var in incroot usrlibdir libdir; do
31538 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31539 done
31540 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31541 for ac_extension in a so sl; do
31542 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31543 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31544 ac_im_usrlibdir=$ac_im_libdir; break
31545 fi
31546 done
31547 # Screen out bogus values from the imake configuration. They are
31548 # bogus both because they are the default anyway, and because
31549 # using them would break gcc on systems where it needs fixed includes.
31550 case $ac_im_incroot in
31551 /usr/include) ac_x_includes= ;;
31552 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31553 esac
31554 case $ac_im_usrlibdir in
31555 /usr/lib | /lib) ;;
31556 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31557 esac
31558 fi
31559 cd ..
31560 rm -f -r conftest.dir
31561 fi
31562
31563 # Standard set of common directories for X headers.
31564 # Check X11 before X11Rn because it is often a symlink to the current release.
31565 ac_x_header_dirs='
31566 /usr/X11/include
31567 /usr/X11R6/include
31568 /usr/X11R5/include
31569 /usr/X11R4/include
31570
31571 /usr/include/X11
31572 /usr/include/X11R6
31573 /usr/include/X11R5
31574 /usr/include/X11R4
31575
31576 /usr/local/X11/include
31577 /usr/local/X11R6/include
31578 /usr/local/X11R5/include
31579 /usr/local/X11R4/include
31580
31581 /usr/local/include/X11
31582 /usr/local/include/X11R6
31583 /usr/local/include/X11R5
31584 /usr/local/include/X11R4
31585
31586 /usr/X386/include
31587 /usr/x386/include
31588 /usr/XFree86/include/X11
31589
31590 /usr/include
31591 /usr/local/include
31592 /usr/unsupported/include
31593 /usr/athena/include
31594 /usr/local/x11r5/include
31595 /usr/lpp/Xamples/include
31596
31597 /usr/openwin/include
31598 /usr/openwin/share/include'
31599
31600 if test "$ac_x_includes" = no; then
31601 # Guess where to find include files, by looking for Xlib.h.
31602 # First, try using that file with no special directory specified.
31603 cat >conftest.$ac_ext <<_ACEOF
31604 /* confdefs.h. */
31605 _ACEOF
31606 cat confdefs.h >>conftest.$ac_ext
31607 cat >>conftest.$ac_ext <<_ACEOF
31608 /* end confdefs.h. */
31609 #include <X11/Xlib.h>
31610 _ACEOF
31611 if { (ac_try="$ac_cpp conftest.$ac_ext"
31612 case "(($ac_try" in
31613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31614 *) ac_try_echo=$ac_try;;
31615 esac
31616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31617 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31618 ac_status=$?
31619 grep -v '^ *+' conftest.er1 >conftest.err
31620 rm -f conftest.er1
31621 cat conftest.err >&5
31622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31623 (exit $ac_status); } >/dev/null; then
31624 if test -s conftest.err; then
31625 ac_cpp_err=$ac_c_preproc_warn_flag
31626 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31627 else
31628 ac_cpp_err=
31629 fi
31630 else
31631 ac_cpp_err=yes
31632 fi
31633 if test -z "$ac_cpp_err"; then
31634 # We can compile using X headers with no special include directory.
31635 ac_x_includes=
31636 else
31637 echo "$as_me: failed program was:" >&5
31638 sed 's/^/| /' conftest.$ac_ext >&5
31639
31640 for ac_dir in $ac_x_header_dirs; do
31641 if test -r "$ac_dir/X11/Xlib.h"; then
31642 ac_x_includes=$ac_dir
31643 break
31644 fi
31645 done
31646 fi
31647
31648 rm -f conftest.err conftest.$ac_ext
31649 fi # $ac_x_includes = no
31650
31651 if test "$ac_x_libraries" = no; then
31652 # Check for the libraries.
31653 # See if we find them without any special options.
31654 # Don't add to $LIBS permanently.
31655 ac_save_LIBS=$LIBS
31656 LIBS="-lXt $LIBS"
31657 cat >conftest.$ac_ext <<_ACEOF
31658 /* confdefs.h. */
31659 _ACEOF
31660 cat confdefs.h >>conftest.$ac_ext
31661 cat >>conftest.$ac_ext <<_ACEOF
31662 /* end confdefs.h. */
31663 #include <X11/Xlib.h>
31664 int
31665 main ()
31666 {
31667 XrmInitialize ()
31668 ;
31669 return 0;
31670 }
31671 _ACEOF
31672 rm -f conftest.$ac_objext conftest$ac_exeext
31673 if { (ac_try="$ac_link"
31674 case "(($ac_try" in
31675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31676 *) ac_try_echo=$ac_try;;
31677 esac
31678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31679 (eval "$ac_link") 2>conftest.er1
31680 ac_status=$?
31681 grep -v '^ *+' conftest.er1 >conftest.err
31682 rm -f conftest.er1
31683 cat conftest.err >&5
31684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31685 (exit $ac_status); } &&
31686 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31687 { (case "(($ac_try" in
31688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31689 *) ac_try_echo=$ac_try;;
31690 esac
31691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31692 (eval "$ac_try") 2>&5
31693 ac_status=$?
31694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31695 (exit $ac_status); }; } &&
31696 { ac_try='test -s conftest$ac_exeext'
31697 { (case "(($ac_try" in
31698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31699 *) ac_try_echo=$ac_try;;
31700 esac
31701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31702 (eval "$ac_try") 2>&5
31703 ac_status=$?
31704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31705 (exit $ac_status); }; }; then
31706 LIBS=$ac_save_LIBS
31707 # We can link X programs with no special library path.
31708 ac_x_libraries=
31709 else
31710 echo "$as_me: failed program was:" >&5
31711 sed 's/^/| /' conftest.$ac_ext >&5
31712
31713 LIBS=$ac_save_LIBS
31714 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31715 do
31716 # Don't even attempt the hair of trying to link an X program!
31717 for ac_extension in a so sl; do
31718 if test -r "$ac_dir/libXt.$ac_extension"; then
31719 ac_x_libraries=$ac_dir
31720 break 2
31721 fi
31722 done
31723 done
31724 fi
31725
31726 rm -f core conftest.err conftest.$ac_objext \
31727 conftest$ac_exeext conftest.$ac_ext
31728 fi # $ac_x_libraries = no
31729
31730 case $ac_x_includes,$ac_x_libraries in #(
31731 no,* | *,no | *\'*)
31732 # Didn't find X, or a directory has "'" in its name.
31733 ac_cv_have_x="have_x=no";; #(
31734 *)
31735 # Record where we found X for the cache.
31736 ac_cv_have_x="have_x=yes\
31737 ac_x_includes='$ac_x_includes'\
31738 ac_x_libraries='$ac_x_libraries'"
31739 esac
31740 fi
31741 ;; #(
31742 *) have_x=yes;;
31743 esac
31744 eval "$ac_cv_have_x"
31745 fi # $with_x != no
31746
31747 if test "$have_x" != yes; then
31748 { echo "$as_me:$LINENO: result: $have_x" >&5
31749 echo "${ECHO_T}$have_x" >&6; }
31750 no_x=yes
31751 else
31752 # If each of the values was on the command line, it overrides each guess.
31753 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31754 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31755 # Update the cache value to reflect the command line values.
31756 ac_cv_have_x="have_x=yes\
31757 ac_x_includes='$x_includes'\
31758 ac_x_libraries='$x_libraries'"
31759 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31760 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31761 fi
31762
31763 if test "$no_x" = yes; then
31764 # Not all programs may use this symbol, but it does not hurt to define it.
31765
31766 cat >>confdefs.h <<\_ACEOF
31767 #define X_DISPLAY_MISSING 1
31768 _ACEOF
31769
31770 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31771 else
31772 if test -n "$x_includes"; then
31773 X_CFLAGS="$X_CFLAGS -I$x_includes"
31774 fi
31775
31776 # It would also be nice to do this for all -L options, not just this one.
31777 if test -n "$x_libraries"; then
31778 X_LIBS="$X_LIBS -L$x_libraries"
31779 # For Solaris; some versions of Sun CC require a space after -R and
31780 # others require no space. Words are not sufficient . . . .
31781 case `(uname -sr) 2>/dev/null` in
31782 "SunOS 5"*)
31783 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31784 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31785 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31786 cat >conftest.$ac_ext <<_ACEOF
31787 /* confdefs.h. */
31788 _ACEOF
31789 cat confdefs.h >>conftest.$ac_ext
31790 cat >>conftest.$ac_ext <<_ACEOF
31791 /* end confdefs.h. */
31792
31793 int
31794 main ()
31795 {
31796
31797 ;
31798 return 0;
31799 }
31800 _ACEOF
31801 rm -f conftest.$ac_objext conftest$ac_exeext
31802 if { (ac_try="$ac_link"
31803 case "(($ac_try" in
31804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31805 *) ac_try_echo=$ac_try;;
31806 esac
31807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31808 (eval "$ac_link") 2>conftest.er1
31809 ac_status=$?
31810 grep -v '^ *+' conftest.er1 >conftest.err
31811 rm -f conftest.er1
31812 cat conftest.err >&5
31813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31814 (exit $ac_status); } &&
31815 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31816 { (case "(($ac_try" in
31817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31818 *) ac_try_echo=$ac_try;;
31819 esac
31820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31821 (eval "$ac_try") 2>&5
31822 ac_status=$?
31823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31824 (exit $ac_status); }; } &&
31825 { ac_try='test -s conftest$ac_exeext'
31826 { (case "(($ac_try" in
31827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31828 *) ac_try_echo=$ac_try;;
31829 esac
31830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31831 (eval "$ac_try") 2>&5
31832 ac_status=$?
31833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31834 (exit $ac_status); }; }; then
31835 ac_R_nospace=yes
31836 else
31837 echo "$as_me: failed program was:" >&5
31838 sed 's/^/| /' conftest.$ac_ext >&5
31839
31840 ac_R_nospace=no
31841 fi
31842
31843 rm -f core conftest.err conftest.$ac_objext \
31844 conftest$ac_exeext conftest.$ac_ext
31845 if test $ac_R_nospace = yes; then
31846 { echo "$as_me:$LINENO: result: no" >&5
31847 echo "${ECHO_T}no" >&6; }
31848 X_LIBS="$X_LIBS -R$x_libraries"
31849 else
31850 LIBS="$ac_xsave_LIBS -R $x_libraries"
31851 cat >conftest.$ac_ext <<_ACEOF
31852 /* confdefs.h. */
31853 _ACEOF
31854 cat confdefs.h >>conftest.$ac_ext
31855 cat >>conftest.$ac_ext <<_ACEOF
31856 /* end confdefs.h. */
31857
31858 int
31859 main ()
31860 {
31861
31862 ;
31863 return 0;
31864 }
31865 _ACEOF
31866 rm -f conftest.$ac_objext conftest$ac_exeext
31867 if { (ac_try="$ac_link"
31868 case "(($ac_try" in
31869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31870 *) ac_try_echo=$ac_try;;
31871 esac
31872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31873 (eval "$ac_link") 2>conftest.er1
31874 ac_status=$?
31875 grep -v '^ *+' conftest.er1 >conftest.err
31876 rm -f conftest.er1
31877 cat conftest.err >&5
31878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31879 (exit $ac_status); } &&
31880 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31881 { (case "(($ac_try" in
31882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31883 *) ac_try_echo=$ac_try;;
31884 esac
31885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31886 (eval "$ac_try") 2>&5
31887 ac_status=$?
31888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31889 (exit $ac_status); }; } &&
31890 { ac_try='test -s conftest$ac_exeext'
31891 { (case "(($ac_try" in
31892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31893 *) ac_try_echo=$ac_try;;
31894 esac
31895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31896 (eval "$ac_try") 2>&5
31897 ac_status=$?
31898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31899 (exit $ac_status); }; }; then
31900 ac_R_space=yes
31901 else
31902 echo "$as_me: failed program was:" >&5
31903 sed 's/^/| /' conftest.$ac_ext >&5
31904
31905 ac_R_space=no
31906 fi
31907
31908 rm -f core conftest.err conftest.$ac_objext \
31909 conftest$ac_exeext conftest.$ac_ext
31910 if test $ac_R_space = yes; then
31911 { echo "$as_me:$LINENO: result: yes" >&5
31912 echo "${ECHO_T}yes" >&6; }
31913 X_LIBS="$X_LIBS -R $x_libraries"
31914 else
31915 { echo "$as_me:$LINENO: result: neither works" >&5
31916 echo "${ECHO_T}neither works" >&6; }
31917 fi
31918 fi
31919 LIBS=$ac_xsave_LIBS
31920 esac
31921 fi
31922
31923 # Check for system-dependent libraries X programs must link with.
31924 # Do this before checking for the system-independent R6 libraries
31925 # (-lICE), since we may need -lsocket or whatever for X linking.
31926
31927 if test "$ISC" = yes; then
31928 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31929 else
31930 # Martyn Johnson says this is needed for Ultrix, if the X
31931 # libraries were built with DECnet support. And Karl Berry says
31932 # the Alpha needs dnet_stub (dnet does not exist).
31933 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31934 cat >conftest.$ac_ext <<_ACEOF
31935 /* confdefs.h. */
31936 _ACEOF
31937 cat confdefs.h >>conftest.$ac_ext
31938 cat >>conftest.$ac_ext <<_ACEOF
31939 /* end confdefs.h. */
31940
31941 /* Override any GCC internal prototype to avoid an error.
31942 Use char because int might match the return type of a GCC
31943 builtin and then its argument prototype would still apply. */
31944 #ifdef __cplusplus
31945 extern "C"
31946 #endif
31947 char XOpenDisplay ();
31948 int
31949 main ()
31950 {
31951 return XOpenDisplay ();
31952 ;
31953 return 0;
31954 }
31955 _ACEOF
31956 rm -f conftest.$ac_objext conftest$ac_exeext
31957 if { (ac_try="$ac_link"
31958 case "(($ac_try" in
31959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31960 *) ac_try_echo=$ac_try;;
31961 esac
31962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31963 (eval "$ac_link") 2>conftest.er1
31964 ac_status=$?
31965 grep -v '^ *+' conftest.er1 >conftest.err
31966 rm -f conftest.er1
31967 cat conftest.err >&5
31968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31969 (exit $ac_status); } &&
31970 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31971 { (case "(($ac_try" in
31972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31973 *) ac_try_echo=$ac_try;;
31974 esac
31975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31976 (eval "$ac_try") 2>&5
31977 ac_status=$?
31978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31979 (exit $ac_status); }; } &&
31980 { ac_try='test -s conftest$ac_exeext'
31981 { (case "(($ac_try" in
31982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31983 *) ac_try_echo=$ac_try;;
31984 esac
31985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31986 (eval "$ac_try") 2>&5
31987 ac_status=$?
31988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31989 (exit $ac_status); }; }; then
31990 :
31991 else
31992 echo "$as_me: failed program was:" >&5
31993 sed 's/^/| /' conftest.$ac_ext >&5
31994
31995 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31996 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31997 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31998 echo $ECHO_N "(cached) $ECHO_C" >&6
31999 else
32000 ac_check_lib_save_LIBS=$LIBS
32001 LIBS="-ldnet $LIBS"
32002 cat >conftest.$ac_ext <<_ACEOF
32003 /* confdefs.h. */
32004 _ACEOF
32005 cat confdefs.h >>conftest.$ac_ext
32006 cat >>conftest.$ac_ext <<_ACEOF
32007 /* end confdefs.h. */
32008
32009 /* Override any GCC internal prototype to avoid an error.
32010 Use char because int might match the return type of a GCC
32011 builtin and then its argument prototype would still apply. */
32012 #ifdef __cplusplus
32013 extern "C"
32014 #endif
32015 char dnet_ntoa ();
32016 int
32017 main ()
32018 {
32019 return dnet_ntoa ();
32020 ;
32021 return 0;
32022 }
32023 _ACEOF
32024 rm -f conftest.$ac_objext conftest$ac_exeext
32025 if { (ac_try="$ac_link"
32026 case "(($ac_try" in
32027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32028 *) ac_try_echo=$ac_try;;
32029 esac
32030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32031 (eval "$ac_link") 2>conftest.er1
32032 ac_status=$?
32033 grep -v '^ *+' conftest.er1 >conftest.err
32034 rm -f conftest.er1
32035 cat conftest.err >&5
32036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32037 (exit $ac_status); } &&
32038 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32039 { (case "(($ac_try" in
32040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32041 *) ac_try_echo=$ac_try;;
32042 esac
32043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32044 (eval "$ac_try") 2>&5
32045 ac_status=$?
32046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32047 (exit $ac_status); }; } &&
32048 { ac_try='test -s conftest$ac_exeext'
32049 { (case "(($ac_try" in
32050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32051 *) ac_try_echo=$ac_try;;
32052 esac
32053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32054 (eval "$ac_try") 2>&5
32055 ac_status=$?
32056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32057 (exit $ac_status); }; }; then
32058 ac_cv_lib_dnet_dnet_ntoa=yes
32059 else
32060 echo "$as_me: failed program was:" >&5
32061 sed 's/^/| /' conftest.$ac_ext >&5
32062
32063 ac_cv_lib_dnet_dnet_ntoa=no
32064 fi
32065
32066 rm -f core conftest.err conftest.$ac_objext \
32067 conftest$ac_exeext conftest.$ac_ext
32068 LIBS=$ac_check_lib_save_LIBS
32069 fi
32070 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32071 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32072 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32073 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32074 fi
32075
32076 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32077 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32078 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32079 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32080 echo $ECHO_N "(cached) $ECHO_C" >&6
32081 else
32082 ac_check_lib_save_LIBS=$LIBS
32083 LIBS="-ldnet_stub $LIBS"
32084 cat >conftest.$ac_ext <<_ACEOF
32085 /* confdefs.h. */
32086 _ACEOF
32087 cat confdefs.h >>conftest.$ac_ext
32088 cat >>conftest.$ac_ext <<_ACEOF
32089 /* end confdefs.h. */
32090
32091 /* Override any GCC internal prototype to avoid an error.
32092 Use char because int might match the return type of a GCC
32093 builtin and then its argument prototype would still apply. */
32094 #ifdef __cplusplus
32095 extern "C"
32096 #endif
32097 char dnet_ntoa ();
32098 int
32099 main ()
32100 {
32101 return dnet_ntoa ();
32102 ;
32103 return 0;
32104 }
32105 _ACEOF
32106 rm -f conftest.$ac_objext conftest$ac_exeext
32107 if { (ac_try="$ac_link"
32108 case "(($ac_try" in
32109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32110 *) ac_try_echo=$ac_try;;
32111 esac
32112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32113 (eval "$ac_link") 2>conftest.er1
32114 ac_status=$?
32115 grep -v '^ *+' conftest.er1 >conftest.err
32116 rm -f conftest.er1
32117 cat conftest.err >&5
32118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32119 (exit $ac_status); } &&
32120 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32121 { (case "(($ac_try" in
32122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32123 *) ac_try_echo=$ac_try;;
32124 esac
32125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32126 (eval "$ac_try") 2>&5
32127 ac_status=$?
32128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32129 (exit $ac_status); }; } &&
32130 { ac_try='test -s conftest$ac_exeext'
32131 { (case "(($ac_try" in
32132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32133 *) ac_try_echo=$ac_try;;
32134 esac
32135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32136 (eval "$ac_try") 2>&5
32137 ac_status=$?
32138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32139 (exit $ac_status); }; }; then
32140 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32141 else
32142 echo "$as_me: failed program was:" >&5
32143 sed 's/^/| /' conftest.$ac_ext >&5
32144
32145 ac_cv_lib_dnet_stub_dnet_ntoa=no
32146 fi
32147
32148 rm -f core conftest.err conftest.$ac_objext \
32149 conftest$ac_exeext conftest.$ac_ext
32150 LIBS=$ac_check_lib_save_LIBS
32151 fi
32152 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32153 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32154 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32155 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32156 fi
32157
32158 fi
32159 fi
32160
32161 rm -f core conftest.err conftest.$ac_objext \
32162 conftest$ac_exeext conftest.$ac_ext
32163 LIBS="$ac_xsave_LIBS"
32164
32165 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32166 # to get the SysV transport functions.
32167 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32168 # needs -lnsl.
32169 # The nsl library prevents programs from opening the X display
32170 # on Irix 5.2, according to T.E. Dickey.
32171 # The functions gethostbyname, getservbyname, and inet_addr are
32172 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32173 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32174 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32175 if test "${ac_cv_func_gethostbyname+set}" = set; then
32176 echo $ECHO_N "(cached) $ECHO_C" >&6
32177 else
32178 cat >conftest.$ac_ext <<_ACEOF
32179 /* confdefs.h. */
32180 _ACEOF
32181 cat confdefs.h >>conftest.$ac_ext
32182 cat >>conftest.$ac_ext <<_ACEOF
32183 /* end confdefs.h. */
32184 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32186 #define gethostbyname innocuous_gethostbyname
32187
32188 /* System header to define __stub macros and hopefully few prototypes,
32189 which can conflict with char gethostbyname (); below.
32190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32191 <limits.h> exists even on freestanding compilers. */
32192
32193 #ifdef __STDC__
32194 # include <limits.h>
32195 #else
32196 # include <assert.h>
32197 #endif
32198
32199 #undef gethostbyname
32200
32201 /* Override any GCC internal prototype to avoid an error.
32202 Use char because int might match the return type of a GCC
32203 builtin and then its argument prototype would still apply. */
32204 #ifdef __cplusplus
32205 extern "C"
32206 #endif
32207 char gethostbyname ();
32208 /* The GNU C library defines this for functions which it implements
32209 to always fail with ENOSYS. Some functions are actually named
32210 something starting with __ and the normal name is an alias. */
32211 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32212 choke me
32213 #endif
32214
32215 int
32216 main ()
32217 {
32218 return gethostbyname ();
32219 ;
32220 return 0;
32221 }
32222 _ACEOF
32223 rm -f conftest.$ac_objext conftest$ac_exeext
32224 if { (ac_try="$ac_link"
32225 case "(($ac_try" in
32226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32227 *) ac_try_echo=$ac_try;;
32228 esac
32229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32230 (eval "$ac_link") 2>conftest.er1
32231 ac_status=$?
32232 grep -v '^ *+' conftest.er1 >conftest.err
32233 rm -f conftest.er1
32234 cat conftest.err >&5
32235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32236 (exit $ac_status); } &&
32237 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32238 { (case "(($ac_try" in
32239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32240 *) ac_try_echo=$ac_try;;
32241 esac
32242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32243 (eval "$ac_try") 2>&5
32244 ac_status=$?
32245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32246 (exit $ac_status); }; } &&
32247 { ac_try='test -s conftest$ac_exeext'
32248 { (case "(($ac_try" in
32249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32250 *) ac_try_echo=$ac_try;;
32251 esac
32252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32253 (eval "$ac_try") 2>&5
32254 ac_status=$?
32255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32256 (exit $ac_status); }; }; then
32257 ac_cv_func_gethostbyname=yes
32258 else
32259 echo "$as_me: failed program was:" >&5
32260 sed 's/^/| /' conftest.$ac_ext >&5
32261
32262 ac_cv_func_gethostbyname=no
32263 fi
32264
32265 rm -f core conftest.err conftest.$ac_objext \
32266 conftest$ac_exeext conftest.$ac_ext
32267 fi
32268 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32269 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32270
32271 if test $ac_cv_func_gethostbyname = no; then
32272 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32273 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32274 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32275 echo $ECHO_N "(cached) $ECHO_C" >&6
32276 else
32277 ac_check_lib_save_LIBS=$LIBS
32278 LIBS="-lnsl $LIBS"
32279 cat >conftest.$ac_ext <<_ACEOF
32280 /* confdefs.h. */
32281 _ACEOF
32282 cat confdefs.h >>conftest.$ac_ext
32283 cat >>conftest.$ac_ext <<_ACEOF
32284 /* end confdefs.h. */
32285
32286 /* Override any GCC internal prototype to avoid an error.
32287 Use char because int might match the return type of a GCC
32288 builtin and then its argument prototype would still apply. */
32289 #ifdef __cplusplus
32290 extern "C"
32291 #endif
32292 char gethostbyname ();
32293 int
32294 main ()
32295 {
32296 return gethostbyname ();
32297 ;
32298 return 0;
32299 }
32300 _ACEOF
32301 rm -f conftest.$ac_objext conftest$ac_exeext
32302 if { (ac_try="$ac_link"
32303 case "(($ac_try" in
32304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32305 *) ac_try_echo=$ac_try;;
32306 esac
32307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32308 (eval "$ac_link") 2>conftest.er1
32309 ac_status=$?
32310 grep -v '^ *+' conftest.er1 >conftest.err
32311 rm -f conftest.er1
32312 cat conftest.err >&5
32313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32314 (exit $ac_status); } &&
32315 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32316 { (case "(($ac_try" in
32317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32318 *) ac_try_echo=$ac_try;;
32319 esac
32320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32321 (eval "$ac_try") 2>&5
32322 ac_status=$?
32323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32324 (exit $ac_status); }; } &&
32325 { ac_try='test -s conftest$ac_exeext'
32326 { (case "(($ac_try" in
32327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32328 *) ac_try_echo=$ac_try;;
32329 esac
32330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32331 (eval "$ac_try") 2>&5
32332 ac_status=$?
32333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32334 (exit $ac_status); }; }; then
32335 ac_cv_lib_nsl_gethostbyname=yes
32336 else
32337 echo "$as_me: failed program was:" >&5
32338 sed 's/^/| /' conftest.$ac_ext >&5
32339
32340 ac_cv_lib_nsl_gethostbyname=no
32341 fi
32342
32343 rm -f core conftest.err conftest.$ac_objext \
32344 conftest$ac_exeext conftest.$ac_ext
32345 LIBS=$ac_check_lib_save_LIBS
32346 fi
32347 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32348 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32349 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32350 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32351 fi
32352
32353 if test $ac_cv_lib_nsl_gethostbyname = no; then
32354 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32355 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32356 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32357 echo $ECHO_N "(cached) $ECHO_C" >&6
32358 else
32359 ac_check_lib_save_LIBS=$LIBS
32360 LIBS="-lbsd $LIBS"
32361 cat >conftest.$ac_ext <<_ACEOF
32362 /* confdefs.h. */
32363 _ACEOF
32364 cat confdefs.h >>conftest.$ac_ext
32365 cat >>conftest.$ac_ext <<_ACEOF
32366 /* end confdefs.h. */
32367
32368 /* Override any GCC internal prototype to avoid an error.
32369 Use char because int might match the return type of a GCC
32370 builtin and then its argument prototype would still apply. */
32371 #ifdef __cplusplus
32372 extern "C"
32373 #endif
32374 char gethostbyname ();
32375 int
32376 main ()
32377 {
32378 return gethostbyname ();
32379 ;
32380 return 0;
32381 }
32382 _ACEOF
32383 rm -f conftest.$ac_objext conftest$ac_exeext
32384 if { (ac_try="$ac_link"
32385 case "(($ac_try" in
32386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32387 *) ac_try_echo=$ac_try;;
32388 esac
32389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32390 (eval "$ac_link") 2>conftest.er1
32391 ac_status=$?
32392 grep -v '^ *+' conftest.er1 >conftest.err
32393 rm -f conftest.er1
32394 cat conftest.err >&5
32395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32396 (exit $ac_status); } &&
32397 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32398 { (case "(($ac_try" in
32399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32400 *) ac_try_echo=$ac_try;;
32401 esac
32402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32403 (eval "$ac_try") 2>&5
32404 ac_status=$?
32405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32406 (exit $ac_status); }; } &&
32407 { ac_try='test -s conftest$ac_exeext'
32408 { (case "(($ac_try" in
32409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32410 *) ac_try_echo=$ac_try;;
32411 esac
32412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32413 (eval "$ac_try") 2>&5
32414 ac_status=$?
32415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32416 (exit $ac_status); }; }; then
32417 ac_cv_lib_bsd_gethostbyname=yes
32418 else
32419 echo "$as_me: failed program was:" >&5
32420 sed 's/^/| /' conftest.$ac_ext >&5
32421
32422 ac_cv_lib_bsd_gethostbyname=no
32423 fi
32424
32425 rm -f core conftest.err conftest.$ac_objext \
32426 conftest$ac_exeext conftest.$ac_ext
32427 LIBS=$ac_check_lib_save_LIBS
32428 fi
32429 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32430 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32431 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32432 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32433 fi
32434
32435 fi
32436 fi
32437
32438 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32439 # socket/setsockopt and other routines are undefined under SCO ODT
32440 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32441 # on later versions), says Simon Leinen: it contains gethostby*
32442 # variants that don't use the name server (or something). -lsocket
32443 # must be given before -lnsl if both are needed. We assume that
32444 # if connect needs -lnsl, so does gethostbyname.
32445 { echo "$as_me:$LINENO: checking for connect" >&5
32446 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32447 if test "${ac_cv_func_connect+set}" = set; then
32448 echo $ECHO_N "(cached) $ECHO_C" >&6
32449 else
32450 cat >conftest.$ac_ext <<_ACEOF
32451 /* confdefs.h. */
32452 _ACEOF
32453 cat confdefs.h >>conftest.$ac_ext
32454 cat >>conftest.$ac_ext <<_ACEOF
32455 /* end confdefs.h. */
32456 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32458 #define connect innocuous_connect
32459
32460 /* System header to define __stub macros and hopefully few prototypes,
32461 which can conflict with char connect (); below.
32462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32463 <limits.h> exists even on freestanding compilers. */
32464
32465 #ifdef __STDC__
32466 # include <limits.h>
32467 #else
32468 # include <assert.h>
32469 #endif
32470
32471 #undef connect
32472
32473 /* Override any GCC internal prototype to avoid an error.
32474 Use char because int might match the return type of a GCC
32475 builtin and then its argument prototype would still apply. */
32476 #ifdef __cplusplus
32477 extern "C"
32478 #endif
32479 char connect ();
32480 /* The GNU C library defines this for functions which it implements
32481 to always fail with ENOSYS. Some functions are actually named
32482 something starting with __ and the normal name is an alias. */
32483 #if defined __stub_connect || defined __stub___connect
32484 choke me
32485 #endif
32486
32487 int
32488 main ()
32489 {
32490 return connect ();
32491 ;
32492 return 0;
32493 }
32494 _ACEOF
32495 rm -f conftest.$ac_objext conftest$ac_exeext
32496 if { (ac_try="$ac_link"
32497 case "(($ac_try" in
32498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32499 *) ac_try_echo=$ac_try;;
32500 esac
32501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32502 (eval "$ac_link") 2>conftest.er1
32503 ac_status=$?
32504 grep -v '^ *+' conftest.er1 >conftest.err
32505 rm -f conftest.er1
32506 cat conftest.err >&5
32507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32508 (exit $ac_status); } &&
32509 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32510 { (case "(($ac_try" in
32511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32512 *) ac_try_echo=$ac_try;;
32513 esac
32514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32515 (eval "$ac_try") 2>&5
32516 ac_status=$?
32517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32518 (exit $ac_status); }; } &&
32519 { ac_try='test -s conftest$ac_exeext'
32520 { (case "(($ac_try" in
32521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32522 *) ac_try_echo=$ac_try;;
32523 esac
32524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32525 (eval "$ac_try") 2>&5
32526 ac_status=$?
32527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32528 (exit $ac_status); }; }; then
32529 ac_cv_func_connect=yes
32530 else
32531 echo "$as_me: failed program was:" >&5
32532 sed 's/^/| /' conftest.$ac_ext >&5
32533
32534 ac_cv_func_connect=no
32535 fi
32536
32537 rm -f core conftest.err conftest.$ac_objext \
32538 conftest$ac_exeext conftest.$ac_ext
32539 fi
32540 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32541 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32542
32543 if test $ac_cv_func_connect = no; then
32544 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32545 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32546 if test "${ac_cv_lib_socket_connect+set}" = set; then
32547 echo $ECHO_N "(cached) $ECHO_C" >&6
32548 else
32549 ac_check_lib_save_LIBS=$LIBS
32550 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32551 cat >conftest.$ac_ext <<_ACEOF
32552 /* confdefs.h. */
32553 _ACEOF
32554 cat confdefs.h >>conftest.$ac_ext
32555 cat >>conftest.$ac_ext <<_ACEOF
32556 /* end confdefs.h. */
32557
32558 /* Override any GCC internal prototype to avoid an error.
32559 Use char because int might match the return type of a GCC
32560 builtin and then its argument prototype would still apply. */
32561 #ifdef __cplusplus
32562 extern "C"
32563 #endif
32564 char connect ();
32565 int
32566 main ()
32567 {
32568 return connect ();
32569 ;
32570 return 0;
32571 }
32572 _ACEOF
32573 rm -f conftest.$ac_objext conftest$ac_exeext
32574 if { (ac_try="$ac_link"
32575 case "(($ac_try" in
32576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32577 *) ac_try_echo=$ac_try;;
32578 esac
32579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32580 (eval "$ac_link") 2>conftest.er1
32581 ac_status=$?
32582 grep -v '^ *+' conftest.er1 >conftest.err
32583 rm -f conftest.er1
32584 cat conftest.err >&5
32585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32586 (exit $ac_status); } &&
32587 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32588 { (case "(($ac_try" in
32589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32590 *) ac_try_echo=$ac_try;;
32591 esac
32592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32593 (eval "$ac_try") 2>&5
32594 ac_status=$?
32595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32596 (exit $ac_status); }; } &&
32597 { ac_try='test -s conftest$ac_exeext'
32598 { (case "(($ac_try" in
32599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32600 *) ac_try_echo=$ac_try;;
32601 esac
32602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32603 (eval "$ac_try") 2>&5
32604 ac_status=$?
32605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32606 (exit $ac_status); }; }; then
32607 ac_cv_lib_socket_connect=yes
32608 else
32609 echo "$as_me: failed program was:" >&5
32610 sed 's/^/| /' conftest.$ac_ext >&5
32611
32612 ac_cv_lib_socket_connect=no
32613 fi
32614
32615 rm -f core conftest.err conftest.$ac_objext \
32616 conftest$ac_exeext conftest.$ac_ext
32617 LIBS=$ac_check_lib_save_LIBS
32618 fi
32619 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32620 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32621 if test $ac_cv_lib_socket_connect = yes; then
32622 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32623 fi
32624
32625 fi
32626
32627 # Guillermo Gomez says -lposix is necessary on A/UX.
32628 { echo "$as_me:$LINENO: checking for remove" >&5
32629 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32630 if test "${ac_cv_func_remove+set}" = set; then
32631 echo $ECHO_N "(cached) $ECHO_C" >&6
32632 else
32633 cat >conftest.$ac_ext <<_ACEOF
32634 /* confdefs.h. */
32635 _ACEOF
32636 cat confdefs.h >>conftest.$ac_ext
32637 cat >>conftest.$ac_ext <<_ACEOF
32638 /* end confdefs.h. */
32639 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32641 #define remove innocuous_remove
32642
32643 /* System header to define __stub macros and hopefully few prototypes,
32644 which can conflict with char remove (); below.
32645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32646 <limits.h> exists even on freestanding compilers. */
32647
32648 #ifdef __STDC__
32649 # include <limits.h>
32650 #else
32651 # include <assert.h>
32652 #endif
32653
32654 #undef remove
32655
32656 /* Override any GCC internal prototype to avoid an error.
32657 Use char because int might match the return type of a GCC
32658 builtin and then its argument prototype would still apply. */
32659 #ifdef __cplusplus
32660 extern "C"
32661 #endif
32662 char remove ();
32663 /* The GNU C library defines this for functions which it implements
32664 to always fail with ENOSYS. Some functions are actually named
32665 something starting with __ and the normal name is an alias. */
32666 #if defined __stub_remove || defined __stub___remove
32667 choke me
32668 #endif
32669
32670 int
32671 main ()
32672 {
32673 return remove ();
32674 ;
32675 return 0;
32676 }
32677 _ACEOF
32678 rm -f conftest.$ac_objext conftest$ac_exeext
32679 if { (ac_try="$ac_link"
32680 case "(($ac_try" in
32681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32682 *) ac_try_echo=$ac_try;;
32683 esac
32684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32685 (eval "$ac_link") 2>conftest.er1
32686 ac_status=$?
32687 grep -v '^ *+' conftest.er1 >conftest.err
32688 rm -f conftest.er1
32689 cat conftest.err >&5
32690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32691 (exit $ac_status); } &&
32692 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32693 { (case "(($ac_try" in
32694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32695 *) ac_try_echo=$ac_try;;
32696 esac
32697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32698 (eval "$ac_try") 2>&5
32699 ac_status=$?
32700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32701 (exit $ac_status); }; } &&
32702 { ac_try='test -s conftest$ac_exeext'
32703 { (case "(($ac_try" in
32704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32705 *) ac_try_echo=$ac_try;;
32706 esac
32707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32708 (eval "$ac_try") 2>&5
32709 ac_status=$?
32710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32711 (exit $ac_status); }; }; then
32712 ac_cv_func_remove=yes
32713 else
32714 echo "$as_me: failed program was:" >&5
32715 sed 's/^/| /' conftest.$ac_ext >&5
32716
32717 ac_cv_func_remove=no
32718 fi
32719
32720 rm -f core conftest.err conftest.$ac_objext \
32721 conftest$ac_exeext conftest.$ac_ext
32722 fi
32723 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32724 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32725
32726 if test $ac_cv_func_remove = no; then
32727 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32728 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32729 if test "${ac_cv_lib_posix_remove+set}" = set; then
32730 echo $ECHO_N "(cached) $ECHO_C" >&6
32731 else
32732 ac_check_lib_save_LIBS=$LIBS
32733 LIBS="-lposix $LIBS"
32734 cat >conftest.$ac_ext <<_ACEOF
32735 /* confdefs.h. */
32736 _ACEOF
32737 cat confdefs.h >>conftest.$ac_ext
32738 cat >>conftest.$ac_ext <<_ACEOF
32739 /* end confdefs.h. */
32740
32741 /* Override any GCC internal prototype to avoid an error.
32742 Use char because int might match the return type of a GCC
32743 builtin and then its argument prototype would still apply. */
32744 #ifdef __cplusplus
32745 extern "C"
32746 #endif
32747 char remove ();
32748 int
32749 main ()
32750 {
32751 return remove ();
32752 ;
32753 return 0;
32754 }
32755 _ACEOF
32756 rm -f conftest.$ac_objext conftest$ac_exeext
32757 if { (ac_try="$ac_link"
32758 case "(($ac_try" in
32759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32760 *) ac_try_echo=$ac_try;;
32761 esac
32762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32763 (eval "$ac_link") 2>conftest.er1
32764 ac_status=$?
32765 grep -v '^ *+' conftest.er1 >conftest.err
32766 rm -f conftest.er1
32767 cat conftest.err >&5
32768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32769 (exit $ac_status); } &&
32770 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32771 { (case "(($ac_try" in
32772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32773 *) ac_try_echo=$ac_try;;
32774 esac
32775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32776 (eval "$ac_try") 2>&5
32777 ac_status=$?
32778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32779 (exit $ac_status); }; } &&
32780 { ac_try='test -s conftest$ac_exeext'
32781 { (case "(($ac_try" in
32782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32783 *) ac_try_echo=$ac_try;;
32784 esac
32785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32786 (eval "$ac_try") 2>&5
32787 ac_status=$?
32788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32789 (exit $ac_status); }; }; then
32790 ac_cv_lib_posix_remove=yes
32791 else
32792 echo "$as_me: failed program was:" >&5
32793 sed 's/^/| /' conftest.$ac_ext >&5
32794
32795 ac_cv_lib_posix_remove=no
32796 fi
32797
32798 rm -f core conftest.err conftest.$ac_objext \
32799 conftest$ac_exeext conftest.$ac_ext
32800 LIBS=$ac_check_lib_save_LIBS
32801 fi
32802 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32803 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32804 if test $ac_cv_lib_posix_remove = yes; then
32805 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32806 fi
32807
32808 fi
32809
32810 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32811 { echo "$as_me:$LINENO: checking for shmat" >&5
32812 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32813 if test "${ac_cv_func_shmat+set}" = set; then
32814 echo $ECHO_N "(cached) $ECHO_C" >&6
32815 else
32816 cat >conftest.$ac_ext <<_ACEOF
32817 /* confdefs.h. */
32818 _ACEOF
32819 cat confdefs.h >>conftest.$ac_ext
32820 cat >>conftest.$ac_ext <<_ACEOF
32821 /* end confdefs.h. */
32822 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32824 #define shmat innocuous_shmat
32825
32826 /* System header to define __stub macros and hopefully few prototypes,
32827 which can conflict with char shmat (); below.
32828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32829 <limits.h> exists even on freestanding compilers. */
32830
32831 #ifdef __STDC__
32832 # include <limits.h>
32833 #else
32834 # include <assert.h>
32835 #endif
32836
32837 #undef shmat
32838
32839 /* Override any GCC internal prototype to avoid an error.
32840 Use char because int might match the return type of a GCC
32841 builtin and then its argument prototype would still apply. */
32842 #ifdef __cplusplus
32843 extern "C"
32844 #endif
32845 char shmat ();
32846 /* The GNU C library defines this for functions which it implements
32847 to always fail with ENOSYS. Some functions are actually named
32848 something starting with __ and the normal name is an alias. */
32849 #if defined __stub_shmat || defined __stub___shmat
32850 choke me
32851 #endif
32852
32853 int
32854 main ()
32855 {
32856 return shmat ();
32857 ;
32858 return 0;
32859 }
32860 _ACEOF
32861 rm -f conftest.$ac_objext conftest$ac_exeext
32862 if { (ac_try="$ac_link"
32863 case "(($ac_try" in
32864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32865 *) ac_try_echo=$ac_try;;
32866 esac
32867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32868 (eval "$ac_link") 2>conftest.er1
32869 ac_status=$?
32870 grep -v '^ *+' conftest.er1 >conftest.err
32871 rm -f conftest.er1
32872 cat conftest.err >&5
32873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32874 (exit $ac_status); } &&
32875 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32876 { (case "(($ac_try" in
32877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32878 *) ac_try_echo=$ac_try;;
32879 esac
32880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32881 (eval "$ac_try") 2>&5
32882 ac_status=$?
32883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32884 (exit $ac_status); }; } &&
32885 { ac_try='test -s conftest$ac_exeext'
32886 { (case "(($ac_try" in
32887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32888 *) ac_try_echo=$ac_try;;
32889 esac
32890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32891 (eval "$ac_try") 2>&5
32892 ac_status=$?
32893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32894 (exit $ac_status); }; }; then
32895 ac_cv_func_shmat=yes
32896 else
32897 echo "$as_me: failed program was:" >&5
32898 sed 's/^/| /' conftest.$ac_ext >&5
32899
32900 ac_cv_func_shmat=no
32901 fi
32902
32903 rm -f core conftest.err conftest.$ac_objext \
32904 conftest$ac_exeext conftest.$ac_ext
32905 fi
32906 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32907 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32908
32909 if test $ac_cv_func_shmat = no; then
32910 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32911 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32912 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32913 echo $ECHO_N "(cached) $ECHO_C" >&6
32914 else
32915 ac_check_lib_save_LIBS=$LIBS
32916 LIBS="-lipc $LIBS"
32917 cat >conftest.$ac_ext <<_ACEOF
32918 /* confdefs.h. */
32919 _ACEOF
32920 cat confdefs.h >>conftest.$ac_ext
32921 cat >>conftest.$ac_ext <<_ACEOF
32922 /* end confdefs.h. */
32923
32924 /* Override any GCC internal prototype to avoid an error.
32925 Use char because int might match the return type of a GCC
32926 builtin and then its argument prototype would still apply. */
32927 #ifdef __cplusplus
32928 extern "C"
32929 #endif
32930 char shmat ();
32931 int
32932 main ()
32933 {
32934 return shmat ();
32935 ;
32936 return 0;
32937 }
32938 _ACEOF
32939 rm -f conftest.$ac_objext conftest$ac_exeext
32940 if { (ac_try="$ac_link"
32941 case "(($ac_try" in
32942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32943 *) ac_try_echo=$ac_try;;
32944 esac
32945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32946 (eval "$ac_link") 2>conftest.er1
32947 ac_status=$?
32948 grep -v '^ *+' conftest.er1 >conftest.err
32949 rm -f conftest.er1
32950 cat conftest.err >&5
32951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32952 (exit $ac_status); } &&
32953 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32954 { (case "(($ac_try" in
32955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32956 *) ac_try_echo=$ac_try;;
32957 esac
32958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32959 (eval "$ac_try") 2>&5
32960 ac_status=$?
32961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32962 (exit $ac_status); }; } &&
32963 { ac_try='test -s conftest$ac_exeext'
32964 { (case "(($ac_try" in
32965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32966 *) ac_try_echo=$ac_try;;
32967 esac
32968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32969 (eval "$ac_try") 2>&5
32970 ac_status=$?
32971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32972 (exit $ac_status); }; }; then
32973 ac_cv_lib_ipc_shmat=yes
32974 else
32975 echo "$as_me: failed program was:" >&5
32976 sed 's/^/| /' conftest.$ac_ext >&5
32977
32978 ac_cv_lib_ipc_shmat=no
32979 fi
32980
32981 rm -f core conftest.err conftest.$ac_objext \
32982 conftest$ac_exeext conftest.$ac_ext
32983 LIBS=$ac_check_lib_save_LIBS
32984 fi
32985 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32986 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32987 if test $ac_cv_lib_ipc_shmat = yes; then
32988 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32989 fi
32990
32991 fi
32992 fi
32993
32994 # Check for libraries that X11R6 Xt/Xaw programs need.
32995 ac_save_LDFLAGS=$LDFLAGS
32996 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32997 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32998 # check for ICE first), but we must link in the order -lSM -lICE or
32999 # we get undefined symbols. So assume we have SM if we have ICE.
33000 # These have to be linked with before -lX11, unlike the other
33001 # libraries we check for below, so use a different variable.
33002 # John Interrante, Karl Berry
33003 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33004 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33005 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33006 echo $ECHO_N "(cached) $ECHO_C" >&6
33007 else
33008 ac_check_lib_save_LIBS=$LIBS
33009 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33010 cat >conftest.$ac_ext <<_ACEOF
33011 /* confdefs.h. */
33012 _ACEOF
33013 cat confdefs.h >>conftest.$ac_ext
33014 cat >>conftest.$ac_ext <<_ACEOF
33015 /* end confdefs.h. */
33016
33017 /* Override any GCC internal prototype to avoid an error.
33018 Use char because int might match the return type of a GCC
33019 builtin and then its argument prototype would still apply. */
33020 #ifdef __cplusplus
33021 extern "C"
33022 #endif
33023 char IceConnectionNumber ();
33024 int
33025 main ()
33026 {
33027 return IceConnectionNumber ();
33028 ;
33029 return 0;
33030 }
33031 _ACEOF
33032 rm -f conftest.$ac_objext conftest$ac_exeext
33033 if { (ac_try="$ac_link"
33034 case "(($ac_try" in
33035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33036 *) ac_try_echo=$ac_try;;
33037 esac
33038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33039 (eval "$ac_link") 2>conftest.er1
33040 ac_status=$?
33041 grep -v '^ *+' conftest.er1 >conftest.err
33042 rm -f conftest.er1
33043 cat conftest.err >&5
33044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33045 (exit $ac_status); } &&
33046 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33047 { (case "(($ac_try" in
33048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33049 *) ac_try_echo=$ac_try;;
33050 esac
33051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33052 (eval "$ac_try") 2>&5
33053 ac_status=$?
33054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33055 (exit $ac_status); }; } &&
33056 { ac_try='test -s conftest$ac_exeext'
33057 { (case "(($ac_try" in
33058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33059 *) ac_try_echo=$ac_try;;
33060 esac
33061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33062 (eval "$ac_try") 2>&5
33063 ac_status=$?
33064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33065 (exit $ac_status); }; }; then
33066 ac_cv_lib_ICE_IceConnectionNumber=yes
33067 else
33068 echo "$as_me: failed program was:" >&5
33069 sed 's/^/| /' conftest.$ac_ext >&5
33070
33071 ac_cv_lib_ICE_IceConnectionNumber=no
33072 fi
33073
33074 rm -f core conftest.err conftest.$ac_objext \
33075 conftest$ac_exeext conftest.$ac_ext
33076 LIBS=$ac_check_lib_save_LIBS
33077 fi
33078 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33079 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33080 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33081 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33082 fi
33083
33084 LDFLAGS=$ac_save_LDFLAGS
33085
33086 fi
33087
33088
33089 if test "$no_x" = "yes"; then
33090 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33091 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33092 { (exit 1); exit 1; }; }
33093 fi
33094
33095 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33096 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33097 AFMINSTALL=afminstall
33098 COMPILED_X_PROGRAM=0
33099
33100 fi
33101
33102 if test "$wxUSE_X11" = 1; then
33103 if test "$wxUSE_NANOX" = "yes"; then
33104 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33105 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33106 if test "x$MICROWIN" = x ; then
33107 { echo "$as_me:$LINENO: result: not found" >&5
33108 echo "${ECHO_T}not found" >&6; }
33109 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33110 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33111 { (exit 1); exit 1; }; }
33112 else
33113 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33114 echo "${ECHO_T}$MICROWIN" >&6; }
33115 cat >>confdefs.h <<\_ACEOF
33116 #define wxUSE_NANOX 1
33117 _ACEOF
33118
33119 fi
33120 fi
33121
33122 if test "$wxUSE_UNICODE" = "yes"; then
33123
33124
33125 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33126 if test -n "$ac_tool_prefix"; then
33127 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33128 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33129 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33131 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33132 echo $ECHO_N "(cached) $ECHO_C" >&6
33133 else
33134 case $PKG_CONFIG in
33135 [\\/]* | ?:[\\/]*)
33136 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33137 ;;
33138 *)
33139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33140 for as_dir in $PATH
33141 do
33142 IFS=$as_save_IFS
33143 test -z "$as_dir" && as_dir=.
33144 for ac_exec_ext in '' $ac_executable_extensions; do
33145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
33146 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33148 break 2
33149 fi
33150 done
33151 done
33152 IFS=$as_save_IFS
33153
33154 ;;
33155 esac
33156 fi
33157 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33158 if test -n "$PKG_CONFIG"; then
33159 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33160 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33161 else
33162 { echo "$as_me:$LINENO: result: no" >&5
33163 echo "${ECHO_T}no" >&6; }
33164 fi
33165
33166
33167 fi
33168 if test -z "$ac_cv_path_PKG_CONFIG"; then
33169 ac_pt_PKG_CONFIG=$PKG_CONFIG
33170 # Extract the first word of "pkg-config", so it can be a program name with args.
33171 set dummy pkg-config; ac_word=$2
33172 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33174 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33175 echo $ECHO_N "(cached) $ECHO_C" >&6
33176 else
33177 case $ac_pt_PKG_CONFIG in
33178 [\\/]* | ?:[\\/]*)
33179 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33180 ;;
33181 *)
33182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33183 for as_dir in $PATH
33184 do
33185 IFS=$as_save_IFS
33186 test -z "$as_dir" && as_dir=.
33187 for ac_exec_ext in '' $ac_executable_extensions; do
33188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
33189 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33191 break 2
33192 fi
33193 done
33194 done
33195 IFS=$as_save_IFS
33196
33197 ;;
33198 esac
33199 fi
33200 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33201 if test -n "$ac_pt_PKG_CONFIG"; then
33202 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33203 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33204 else
33205 { echo "$as_me:$LINENO: result: no" >&5
33206 echo "${ECHO_T}no" >&6; }
33207 fi
33208
33209 if test "x$ac_pt_PKG_CONFIG" = x; then
33210 PKG_CONFIG=""
33211 else
33212 case $cross_compiling:$ac_tool_warned in
33213 yes:)
33214 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33215 whose name does not start with the host triplet. If you think this
33216 configuration is useful to you, please write to autoconf@gnu.org." >&5
33217 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33218 whose name does not start with the host triplet. If you think this
33219 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33220 ac_tool_warned=yes ;;
33221 esac
33222 PKG_CONFIG=$ac_pt_PKG_CONFIG
33223 fi
33224 else
33225 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33226 fi
33227
33228 fi
33229 if test -n "$PKG_CONFIG"; then
33230 _pkg_min_version=0.9.0
33231 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33232 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33233 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33234 { echo "$as_me:$LINENO: result: yes" >&5
33235 echo "${ECHO_T}yes" >&6; }
33236 else
33237 { echo "$as_me:$LINENO: result: no" >&5
33238 echo "${ECHO_T}no" >&6; }
33239 PKG_CONFIG=""
33240 fi
33241
33242 fi
33243
33244
33245 pkg_failed=no
33246 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33247 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33248
33249 if test -n "$PKG_CONFIG"; then
33250 if test -n "$PANGOX_CFLAGS"; then
33251 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33252 else
33253 if test -n "$PKG_CONFIG" && \
33254 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33255 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33256 ac_status=$?
33257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33258 (exit $ac_status); }; then
33259 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33260 else
33261 pkg_failed=yes
33262 fi
33263 fi
33264 else
33265 pkg_failed=untried
33266 fi
33267 if test -n "$PKG_CONFIG"; then
33268 if test -n "$PANGOX_LIBS"; then
33269 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33270 else
33271 if test -n "$PKG_CONFIG" && \
33272 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33273 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33274 ac_status=$?
33275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33276 (exit $ac_status); }; then
33277 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33278 else
33279 pkg_failed=yes
33280 fi
33281 fi
33282 else
33283 pkg_failed=untried
33284 fi
33285
33286
33287
33288 if test $pkg_failed = yes; then
33289
33290 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33291 _pkg_short_errors_supported=yes
33292 else
33293 _pkg_short_errors_supported=no
33294 fi
33295 if test $_pkg_short_errors_supported = yes; then
33296 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33297 else
33298 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33299 fi
33300 # Put the nasty error message in config.log where it belongs
33301 echo "$PANGOX_PKG_ERRORS" >&5
33302
33303
33304 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33305 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33306 { (exit 1); exit 1; }; }
33307
33308
33309 elif test $pkg_failed = untried; then
33310
33311 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33312 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33313 { (exit 1); exit 1; }; }
33314
33315
33316 else
33317 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33318 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33319 { echo "$as_me:$LINENO: result: yes" >&5
33320 echo "${ECHO_T}yes" >&6; }
33321
33322 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33323 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33324 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33325
33326 fi
33327
33328 pkg_failed=no
33329 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33330 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33331
33332 if test -n "$PKG_CONFIG"; then
33333 if test -n "$PANGOFT2_CFLAGS"; then
33334 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33335 else
33336 if test -n "$PKG_CONFIG" && \
33337 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33338 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33339 ac_status=$?
33340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33341 (exit $ac_status); }; then
33342 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33343 else
33344 pkg_failed=yes
33345 fi
33346 fi
33347 else
33348 pkg_failed=untried
33349 fi
33350 if test -n "$PKG_CONFIG"; then
33351 if test -n "$PANGOFT2_LIBS"; then
33352 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33353 else
33354 if test -n "$PKG_CONFIG" && \
33355 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33356 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33357 ac_status=$?
33358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33359 (exit $ac_status); }; then
33360 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33361 else
33362 pkg_failed=yes
33363 fi
33364 fi
33365 else
33366 pkg_failed=untried
33367 fi
33368
33369
33370
33371 if test $pkg_failed = yes; then
33372
33373 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33374 _pkg_short_errors_supported=yes
33375 else
33376 _pkg_short_errors_supported=no
33377 fi
33378 if test $_pkg_short_errors_supported = yes; then
33379 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33380 else
33381 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33382 fi
33383 # Put the nasty error message in config.log where it belongs
33384 echo "$PANGOFT2_PKG_ERRORS" >&5
33385
33386
33387 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33388 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33389 wxUSE_PRINTING_ARCHITECTURE="no"
33390
33391
33392 elif test $pkg_failed = untried; then
33393
33394 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33395 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33396 wxUSE_PRINTING_ARCHITECTURE="no"
33397
33398
33399 else
33400 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33401 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33402 { echo "$as_me:$LINENO: result: yes" >&5
33403 echo "${ECHO_T}yes" >&6; }
33404
33405 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33406 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33407 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33408
33409 fi
33410
33411 pkg_failed=no
33412 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33413 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33414
33415 if test -n "$PKG_CONFIG"; then
33416 if test -n "$PANGOXFT_CFLAGS"; then
33417 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33418 else
33419 if test -n "$PKG_CONFIG" && \
33420 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33421 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33422 ac_status=$?
33423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33424 (exit $ac_status); }; then
33425 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33426 else
33427 pkg_failed=yes
33428 fi
33429 fi
33430 else
33431 pkg_failed=untried
33432 fi
33433 if test -n "$PKG_CONFIG"; then
33434 if test -n "$PANGOXFT_LIBS"; then
33435 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33436 else
33437 if test -n "$PKG_CONFIG" && \
33438 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33439 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33440 ac_status=$?
33441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33442 (exit $ac_status); }; then
33443 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33444 else
33445 pkg_failed=yes
33446 fi
33447 fi
33448 else
33449 pkg_failed=untried
33450 fi
33451
33452
33453
33454 if test $pkg_failed = yes; then
33455
33456 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33457 _pkg_short_errors_supported=yes
33458 else
33459 _pkg_short_errors_supported=no
33460 fi
33461 if test $_pkg_short_errors_supported = yes; then
33462 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33463 else
33464 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33465 fi
33466 # Put the nasty error message in config.log where it belongs
33467 echo "$PANGOXFT_PKG_ERRORS" >&5
33468
33469
33470 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33471 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33472
33473
33474 elif test $pkg_failed = untried; then
33475
33476 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33477 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33478
33479
33480 else
33481 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33482 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33483 { echo "$as_me:$LINENO: result: yes" >&5
33484 echo "${ECHO_T}yes" >&6; }
33485
33486 cat >>confdefs.h <<\_ACEOF
33487 #define HAVE_PANGO_XFT 1
33488 _ACEOF
33489
33490 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33491 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33492 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33493
33494 fi
33495 save_LIBS="$LIBS"
33496 LIBS="$LIBS $PANGOX_LIBS"
33497
33498 for ac_func in pango_font_family_is_monospace
33499 do
33500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33501 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33503 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33504 echo $ECHO_N "(cached) $ECHO_C" >&6
33505 else
33506 cat >conftest.$ac_ext <<_ACEOF
33507 /* confdefs.h. */
33508 _ACEOF
33509 cat confdefs.h >>conftest.$ac_ext
33510 cat >>conftest.$ac_ext <<_ACEOF
33511 /* end confdefs.h. */
33512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33514 #define $ac_func innocuous_$ac_func
33515
33516 /* System header to define __stub macros and hopefully few prototypes,
33517 which can conflict with char $ac_func (); below.
33518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33519 <limits.h> exists even on freestanding compilers. */
33520
33521 #ifdef __STDC__
33522 # include <limits.h>
33523 #else
33524 # include <assert.h>
33525 #endif
33526
33527 #undef $ac_func
33528
33529 /* Override any GCC internal prototype to avoid an error.
33530 Use char because int might match the return type of a GCC
33531 builtin and then its argument prototype would still apply. */
33532 #ifdef __cplusplus
33533 extern "C"
33534 #endif
33535 char $ac_func ();
33536 /* The GNU C library defines this for functions which it implements
33537 to always fail with ENOSYS. Some functions are actually named
33538 something starting with __ and the normal name is an alias. */
33539 #if defined __stub_$ac_func || defined __stub___$ac_func
33540 choke me
33541 #endif
33542
33543 int
33544 main ()
33545 {
33546 return $ac_func ();
33547 ;
33548 return 0;
33549 }
33550 _ACEOF
33551 rm -f conftest.$ac_objext conftest$ac_exeext
33552 if { (ac_try="$ac_link"
33553 case "(($ac_try" in
33554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33555 *) ac_try_echo=$ac_try;;
33556 esac
33557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33558 (eval "$ac_link") 2>conftest.er1
33559 ac_status=$?
33560 grep -v '^ *+' conftest.er1 >conftest.err
33561 rm -f conftest.er1
33562 cat conftest.err >&5
33563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33564 (exit $ac_status); } &&
33565 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33566 { (case "(($ac_try" in
33567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33568 *) ac_try_echo=$ac_try;;
33569 esac
33570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33571 (eval "$ac_try") 2>&5
33572 ac_status=$?
33573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33574 (exit $ac_status); }; } &&
33575 { ac_try='test -s conftest$ac_exeext'
33576 { (case "(($ac_try" in
33577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33578 *) ac_try_echo=$ac_try;;
33579 esac
33580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33581 (eval "$ac_try") 2>&5
33582 ac_status=$?
33583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33584 (exit $ac_status); }; }; then
33585 eval "$as_ac_var=yes"
33586 else
33587 echo "$as_me: failed program was:" >&5
33588 sed 's/^/| /' conftest.$ac_ext >&5
33589
33590 eval "$as_ac_var=no"
33591 fi
33592
33593 rm -f core conftest.err conftest.$ac_objext \
33594 conftest$ac_exeext conftest.$ac_ext
33595 fi
33596 ac_res=`eval echo '${'$as_ac_var'}'`
33597 { echo "$as_me:$LINENO: result: $ac_res" >&5
33598 echo "${ECHO_T}$ac_res" >&6; }
33599 if test `eval echo '${'$as_ac_var'}'` = yes; then
33600 cat >>confdefs.h <<_ACEOF
33601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33602 _ACEOF
33603
33604 fi
33605 done
33606
33607 LIBS="$save_LIBS"
33608 fi
33609
33610 wxUSE_UNIVERSAL="yes"
33611
33612 if test "$wxUSE_NANOX" = "yes"; then
33613 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33614 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__NANOX__ -DMWPIXEL_FORMAT=MWPF_TRUECOLOR0888 -DHAVE_FILEIO -DHAVE_BMP_SUPPORT=1 -DHAVE_GIF_SUPPORT=1 -DHAVE_PNM_SUPPORT=1 -DHAVE_XPM_SUPPORT=1 -DUNIX=1 -DUSE_EXPOSURE -DSCREEN_HEIGHT=480 -DSCREEN_WIDTH=640 -DSCREEN_DEPTH=4 -DX11=1"
33615 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33616 else
33617 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33618 fi
33619
33620 TOOLKIT=X11
33621 GUIDIST=X11_DIST
33622 fi
33623
33624 if test "$wxUSE_MOTIF" = 1; then
33625 if test "$wxUSE_UNICODE" = "yes"; then
33626 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
33627 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
33628 { (exit 1); exit 1; }; }
33629 fi
33630
33631 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33632 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33633
33634 ac_find_includes=
33635 for ac_dir in $SEARCH_INCLUDE /usr/include;
33636 do
33637 if test -f "$ac_dir/Xm/Xm.h"; then
33638 ac_find_includes=$ac_dir
33639 break
33640 fi
33641 done
33642
33643 if test "$ac_find_includes" != "" ; then
33644 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33645 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33646
33647 if test "x$ac_find_includes" = "x/usr/include"; then
33648 ac_path_to_include=""
33649 else
33650 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33651 result=$?
33652 if test $result = 0; then
33653 ac_path_to_include=""
33654 else
33655 ac_path_to_include=" -I$ac_find_includes"
33656 fi
33657 fi
33658
33659 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33660 else
33661 save_CFLAGS=$CFLAGS
33662 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33663
33664 cat >conftest.$ac_ext <<_ACEOF
33665 /* confdefs.h. */
33666 _ACEOF
33667 cat confdefs.h >>conftest.$ac_ext
33668 cat >>conftest.$ac_ext <<_ACEOF
33669 /* end confdefs.h. */
33670
33671 #include <Xm/Xm.h>
33672
33673 int
33674 main ()
33675 {
33676
33677 int version;
33678 version = xmUseVersion;
33679
33680 ;
33681 return 0;
33682 }
33683 _ACEOF
33684 rm -f conftest.$ac_objext
33685 if { (ac_try="$ac_compile"
33686 case "(($ac_try" in
33687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33688 *) ac_try_echo=$ac_try;;
33689 esac
33690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33691 (eval "$ac_compile") 2>conftest.er1
33692 ac_status=$?
33693 grep -v '^ *+' conftest.er1 >conftest.err
33694 rm -f conftest.er1
33695 cat conftest.err >&5
33696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33697 (exit $ac_status); } &&
33698 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33699 { (case "(($ac_try" in
33700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33701 *) ac_try_echo=$ac_try;;
33702 esac
33703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33704 (eval "$ac_try") 2>&5
33705 ac_status=$?
33706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33707 (exit $ac_status); }; } &&
33708 { ac_try='test -s conftest.$ac_objext'
33709 { (case "(($ac_try" in
33710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33711 *) ac_try_echo=$ac_try;;
33712 esac
33713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33714 (eval "$ac_try") 2>&5
33715 ac_status=$?
33716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33717 (exit $ac_status); }; }; then
33718
33719 { echo "$as_me:$LINENO: result: found in default search path" >&5
33720 echo "${ECHO_T}found in default search path" >&6; }
33721 COMPILED_X_PROGRAM=1
33722
33723 else
33724 echo "$as_me: failed program was:" >&5
33725 sed 's/^/| /' conftest.$ac_ext >&5
33726
33727
33728 { echo "$as_me:$LINENO: result: no" >&5
33729 echo "${ECHO_T}no" >&6; }
33730 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33731 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33732 { (exit 1); exit 1; }; }
33733
33734
33735 fi
33736
33737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33738
33739 CFLAGS=$save_CFLAGS
33740 fi
33741
33742
33743 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33744 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33745
33746 ac_find_libraries=
33747 for ac_dir in $SEARCH_LIB;
33748 do
33749 for ac_extension in a so sl dylib dll.a; do
33750 if test -f "$ac_dir/libXm.$ac_extension"; then
33751 ac_find_libraries=$ac_dir
33752 break 2
33753 fi
33754 done
33755 done
33756
33757
33758 if test "x$ac_find_libraries" != "x" ; then
33759 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33760 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33761
33762
33763 if test "$ac_find_libraries" = "default location"; then
33764 ac_path_to_link=""
33765 else
33766 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33767 result=$?
33768 if test $result = 0; then
33769 ac_path_to_link=""
33770 else
33771 ac_path_to_link=" -L$ac_find_libraries"
33772 fi
33773 fi
33774
33775 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33776 else
33777 save_CFLAGS=$CFLAGS
33778 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33779 save_LIBS="$LIBS"
33780 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33781
33782 cat >conftest.$ac_ext <<_ACEOF
33783 /* confdefs.h. */
33784 _ACEOF
33785 cat confdefs.h >>conftest.$ac_ext
33786 cat >>conftest.$ac_ext <<_ACEOF
33787 /* end confdefs.h. */
33788
33789 #include <Xm/Xm.h>
33790
33791 int
33792 main ()
33793 {
33794
33795 int version;
33796 version = xmUseVersion;
33797
33798 ;
33799 return 0;
33800 }
33801 _ACEOF
33802 rm -f conftest.$ac_objext conftest$ac_exeext
33803 if { (ac_try="$ac_link"
33804 case "(($ac_try" in
33805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33806 *) ac_try_echo=$ac_try;;
33807 esac
33808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33809 (eval "$ac_link") 2>conftest.er1
33810 ac_status=$?
33811 grep -v '^ *+' conftest.er1 >conftest.err
33812 rm -f conftest.er1
33813 cat conftest.err >&5
33814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33815 (exit $ac_status); } &&
33816 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33817 { (case "(($ac_try" in
33818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33819 *) ac_try_echo=$ac_try;;
33820 esac
33821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33822 (eval "$ac_try") 2>&5
33823 ac_status=$?
33824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33825 (exit $ac_status); }; } &&
33826 { ac_try='test -s conftest$ac_exeext'
33827 { (case "(($ac_try" in
33828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33829 *) ac_try_echo=$ac_try;;
33830 esac
33831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33832 (eval "$ac_try") 2>&5
33833 ac_status=$?
33834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33835 (exit $ac_status); }; }; then
33836
33837 { echo "$as_me:$LINENO: result: found in default search path" >&5
33838 echo "${ECHO_T}found in default search path" >&6; }
33839 COMPILED_X_PROGRAM=1
33840
33841 else
33842 echo "$as_me: failed program was:" >&5
33843 sed 's/^/| /' conftest.$ac_ext >&5
33844
33845
33846 { echo "$as_me:$LINENO: result: no" >&5
33847 echo "${ECHO_T}no" >&6; }
33848 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33849 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33850 { (exit 1); exit 1; }; }
33851
33852
33853 fi
33854
33855 rm -f core conftest.err conftest.$ac_objext \
33856 conftest$ac_exeext conftest.$ac_ext
33857
33858 CFLAGS=$save_CFLAGS
33859 LIBS="$save_LIBS"
33860 fi
33861
33862 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33863 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33864 libp_link=""
33865 libsm_ice_link=""
33866 libs_found=0
33867 for libp in "" " -lXp"; do
33868 if test "$libs_found" = "0"; then
33869 for libsm_ice in "" " -lSM -lICE"; do
33870 if test "$libs_found" = "0"; then
33871 save_LIBS="$LIBS"
33872 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33873 save_CFLAGS=$CFLAGS
33874 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33875
33876 cat >conftest.$ac_ext <<_ACEOF
33877 /* confdefs.h. */
33878 _ACEOF
33879 cat confdefs.h >>conftest.$ac_ext
33880 cat >>conftest.$ac_ext <<_ACEOF
33881 /* end confdefs.h. */
33882
33883 #include <Xm/Xm.h>
33884 #include <Xm/List.h>
33885
33886 int
33887 main ()
33888 {
33889
33890 XmString string = NULL;
33891 Widget w = NULL;
33892 int position = 0;
33893 XmListAddItem(w, string, position);
33894
33895 ;
33896 return 0;
33897 }
33898 _ACEOF
33899 rm -f conftest.$ac_objext conftest$ac_exeext
33900 if { (ac_try="$ac_link"
33901 case "(($ac_try" in
33902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33903 *) ac_try_echo=$ac_try;;
33904 esac
33905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33906 (eval "$ac_link") 2>conftest.er1
33907 ac_status=$?
33908 grep -v '^ *+' conftest.er1 >conftest.err
33909 rm -f conftest.er1
33910 cat conftest.err >&5
33911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33912 (exit $ac_status); } &&
33913 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33914 { (case "(($ac_try" in
33915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33916 *) ac_try_echo=$ac_try;;
33917 esac
33918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33919 (eval "$ac_try") 2>&5
33920 ac_status=$?
33921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33922 (exit $ac_status); }; } &&
33923 { ac_try='test -s conftest$ac_exeext'
33924 { (case "(($ac_try" in
33925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33926 *) ac_try_echo=$ac_try;;
33927 esac
33928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33929 (eval "$ac_try") 2>&5
33930 ac_status=$?
33931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33932 (exit $ac_status); }; }; then
33933
33934 libp_link="$libp"
33935 libsm_ice_link="$libsm_ice"
33936 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33937 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33938 libs_found=1
33939
33940 else
33941 echo "$as_me: failed program was:" >&5
33942 sed 's/^/| /' conftest.$ac_ext >&5
33943
33944
33945
33946 fi
33947
33948 rm -f core conftest.err conftest.$ac_objext \
33949 conftest$ac_exeext conftest.$ac_ext
33950
33951 LIBS="$save_LIBS"
33952 CFLAGS=$save_CFLAGS
33953 fi
33954 done
33955 fi
33956 done
33957
33958 if test "$libs_found" = "0"; then
33959 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33960 echo "${ECHO_T}can't find the right libraries" >&6; }
33961 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33962 echo "$as_me: error: can't link a simple motif program" >&2;}
33963 { (exit 1); exit 1; }; }
33964 fi
33965
33966 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33967 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33968 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33969 echo $ECHO_N "(cached) $ECHO_C" >&6
33970 else
33971 ac_check_lib_save_LIBS=$LIBS
33972 LIBS="-lSgm $LIBS"
33973 cat >conftest.$ac_ext <<_ACEOF
33974 /* confdefs.h. */
33975 _ACEOF
33976 cat confdefs.h >>conftest.$ac_ext
33977 cat >>conftest.$ac_ext <<_ACEOF
33978 /* end confdefs.h. */
33979
33980 /* Override any GCC internal prototype to avoid an error.
33981 Use char because int might match the return type of a GCC
33982 builtin and then its argument prototype would still apply. */
33983 #ifdef __cplusplus
33984 extern "C"
33985 #endif
33986 char SgCreateList ();
33987 int
33988 main ()
33989 {
33990 return SgCreateList ();
33991 ;
33992 return 0;
33993 }
33994 _ACEOF
33995 rm -f conftest.$ac_objext conftest$ac_exeext
33996 if { (ac_try="$ac_link"
33997 case "(($ac_try" in
33998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33999 *) ac_try_echo=$ac_try;;
34000 esac
34001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34002 (eval "$ac_link") 2>conftest.er1
34003 ac_status=$?
34004 grep -v '^ *+' conftest.er1 >conftest.err
34005 rm -f conftest.er1
34006 cat conftest.err >&5
34007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34008 (exit $ac_status); } &&
34009 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34010 { (case "(($ac_try" in
34011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34012 *) ac_try_echo=$ac_try;;
34013 esac
34014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34015 (eval "$ac_try") 2>&5
34016 ac_status=$?
34017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34018 (exit $ac_status); }; } &&
34019 { ac_try='test -s conftest$ac_exeext'
34020 { (case "(($ac_try" in
34021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34022 *) ac_try_echo=$ac_try;;
34023 esac
34024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34025 (eval "$ac_try") 2>&5
34026 ac_status=$?
34027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34028 (exit $ac_status); }; }; then
34029 ac_cv_lib_Sgm_SgCreateList=yes
34030 else
34031 echo "$as_me: failed program was:" >&5
34032 sed 's/^/| /' conftest.$ac_ext >&5
34033
34034 ac_cv_lib_Sgm_SgCreateList=no
34035 fi
34036
34037 rm -f core conftest.err conftest.$ac_objext \
34038 conftest$ac_exeext conftest.$ac_ext
34039 LIBS=$ac_check_lib_save_LIBS
34040 fi
34041 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34042 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34043 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34044 libsgm_link=" -lSgm"
34045 fi
34046
34047
34048 save_CFLAGS=$CFLAGS
34049 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34050
34051 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34052 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34053 if test "${wx_cv_lib_motif2+set}" = set; then
34054 echo $ECHO_N "(cached) $ECHO_C" >&6
34055 else
34056 cat >conftest.$ac_ext <<_ACEOF
34057 /* confdefs.h. */
34058 _ACEOF
34059 cat confdefs.h >>conftest.$ac_ext
34060 cat >>conftest.$ac_ext <<_ACEOF
34061 /* end confdefs.h. */
34062
34063 #include <Xm/Xm.h>
34064
34065 int
34066 main ()
34067 {
34068
34069 #if XmVersion < 2000
34070 Not Motif 2
34071 #endif
34072
34073 ;
34074 return 0;
34075 }
34076 _ACEOF
34077 rm -f conftest.$ac_objext
34078 if { (ac_try="$ac_compile"
34079 case "(($ac_try" in
34080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34081 *) ac_try_echo=$ac_try;;
34082 esac
34083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34084 (eval "$ac_compile") 2>conftest.er1
34085 ac_status=$?
34086 grep -v '^ *+' conftest.er1 >conftest.err
34087 rm -f conftest.er1
34088 cat conftest.err >&5
34089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34090 (exit $ac_status); } &&
34091 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34092 { (case "(($ac_try" in
34093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34094 *) ac_try_echo=$ac_try;;
34095 esac
34096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34097 (eval "$ac_try") 2>&5
34098 ac_status=$?
34099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34100 (exit $ac_status); }; } &&
34101 { ac_try='test -s conftest.$ac_objext'
34102 { (case "(($ac_try" in
34103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34104 *) ac_try_echo=$ac_try;;
34105 esac
34106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34107 (eval "$ac_try") 2>&5
34108 ac_status=$?
34109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34110 (exit $ac_status); }; }; then
34111 wx_cv_lib_motif2="yes"
34112 else
34113 echo "$as_me: failed program was:" >&5
34114 sed 's/^/| /' conftest.$ac_ext >&5
34115
34116 wx_cv_lib_motif2="no"
34117 fi
34118
34119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34120 fi
34121 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34122 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34123 if test "$wx_cv_lib_motif2" = "yes"; then
34124 cat >>confdefs.h <<\_ACEOF
34125 #define __WXMOTIF20__ 1
34126 _ACEOF
34127
34128 else
34129 cat >>confdefs.h <<\_ACEOF
34130 #define __WXMOTIF20__ 0
34131 _ACEOF
34132
34133 fi
34134
34135 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34136 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34137 if test "${wx_cv_lib_lesstif+set}" = set; then
34138 echo $ECHO_N "(cached) $ECHO_C" >&6
34139 else
34140 cat >conftest.$ac_ext <<_ACEOF
34141 /* confdefs.h. */
34142 _ACEOF
34143 cat confdefs.h >>conftest.$ac_ext
34144 cat >>conftest.$ac_ext <<_ACEOF
34145 /* end confdefs.h. */
34146
34147 #include <Xm/Xm.h>
34148
34149 int
34150 main ()
34151 {
34152
34153 #if !defined(LesstifVersion) || LesstifVersion <= 0
34154 Not Lesstif
34155 #endif
34156
34157 ;
34158 return 0;
34159 }
34160 _ACEOF
34161 rm -f conftest.$ac_objext
34162 if { (ac_try="$ac_compile"
34163 case "(($ac_try" in
34164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34165 *) ac_try_echo=$ac_try;;
34166 esac
34167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34168 (eval "$ac_compile") 2>conftest.er1
34169 ac_status=$?
34170 grep -v '^ *+' conftest.er1 >conftest.err
34171 rm -f conftest.er1
34172 cat conftest.err >&5
34173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34174 (exit $ac_status); } &&
34175 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34176 { (case "(($ac_try" in
34177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34178 *) ac_try_echo=$ac_try;;
34179 esac
34180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34181 (eval "$ac_try") 2>&5
34182 ac_status=$?
34183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34184 (exit $ac_status); }; } &&
34185 { ac_try='test -s conftest.$ac_objext'
34186 { (case "(($ac_try" in
34187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34188 *) ac_try_echo=$ac_try;;
34189 esac
34190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34191 (eval "$ac_try") 2>&5
34192 ac_status=$?
34193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34194 (exit $ac_status); }; }; then
34195 wx_cv_lib_lesstif="yes"
34196 else
34197 echo "$as_me: failed program was:" >&5
34198 sed 's/^/| /' conftest.$ac_ext >&5
34199
34200 wx_cv_lib_lesstif="no"
34201 fi
34202
34203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34204
34205 fi
34206 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34207 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34208 if test "$wx_cv_lib_lesstif" = "yes"; then
34209 cat >>confdefs.h <<\_ACEOF
34210 #define __WXLESSTIF__ 1
34211 _ACEOF
34212
34213 else
34214 cat >>confdefs.h <<\_ACEOF
34215 #define __WXLESSTIF__ 0
34216 _ACEOF
34217
34218 fi
34219
34220 CFLAGS=$save_CFLAGS
34221
34222 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34223 TOOLKIT=MOTIF
34224 GUIDIST=MOTIF_DIST
34225 fi
34226
34227 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34228 if test "$wxUSE_LIBXPM" = "sys"; then
34229 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34230 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34231
34232 ac_find_libraries=
34233 for ac_dir in $SEARCH_LIB;
34234 do
34235 for ac_extension in a so sl dylib dll.a; do
34236 if test -f "$ac_dir/libXpm.$ac_extension"; then
34237 ac_find_libraries=$ac_dir
34238 break 2
34239 fi
34240 done
34241 done
34242
34243 if test "$ac_find_libraries" != "" ; then
34244
34245 if test "$ac_find_libraries" = "default location"; then
34246 ac_path_to_link=""
34247 else
34248 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34249 result=$?
34250 if test $result = 0; then
34251 ac_path_to_link=""
34252 else
34253 ac_path_to_link=" -L$ac_find_libraries"
34254 fi
34255 fi
34256
34257 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34258 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34259 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34260
34261 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34262 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34263 if test "${wx_cv_x11_xpm_h+set}" = set; then
34264 echo $ECHO_N "(cached) $ECHO_C" >&6
34265 else
34266
34267 save_CFLAGS=$CFLAGS
34268 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34269
34270 cat >conftest.$ac_ext <<_ACEOF
34271 /* confdefs.h. */
34272 _ACEOF
34273 cat confdefs.h >>conftest.$ac_ext
34274 cat >>conftest.$ac_ext <<_ACEOF
34275 /* end confdefs.h. */
34276
34277 #include <X11/xpm.h>
34278
34279 int
34280 main ()
34281 {
34282
34283 int version;
34284 version = XpmLibraryVersion();
34285
34286 ;
34287 return 0;
34288 }
34289 _ACEOF
34290 rm -f conftest.$ac_objext
34291 if { (ac_try="$ac_compile"
34292 case "(($ac_try" in
34293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34294 *) ac_try_echo=$ac_try;;
34295 esac
34296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34297 (eval "$ac_compile") 2>conftest.er1
34298 ac_status=$?
34299 grep -v '^ *+' conftest.er1 >conftest.err
34300 rm -f conftest.er1
34301 cat conftest.err >&5
34302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34303 (exit $ac_status); } &&
34304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34305 { (case "(($ac_try" in
34306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34307 *) ac_try_echo=$ac_try;;
34308 esac
34309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34310 (eval "$ac_try") 2>&5
34311 ac_status=$?
34312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34313 (exit $ac_status); }; } &&
34314 { ac_try='test -s conftest.$ac_objext'
34315 { (case "(($ac_try" in
34316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34317 *) ac_try_echo=$ac_try;;
34318 esac
34319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34320 (eval "$ac_try") 2>&5
34321 ac_status=$?
34322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34323 (exit $ac_status); }; }; then
34324 wx_cv_x11_xpm_h=yes
34325 else
34326 echo "$as_me: failed program was:" >&5
34327 sed 's/^/| /' conftest.$ac_ext >&5
34328
34329 wx_cv_x11_xpm_h=no
34330
34331 fi
34332
34333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34334
34335 CFLAGS=$save_CFLAGS
34336
34337
34338 fi
34339 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34340 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34341
34342 if test $wx_cv_x11_xpm_h = "yes"; then
34343 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34344 cat >>confdefs.h <<\_ACEOF
34345 #define wxHAVE_LIB_XPM 1
34346 _ACEOF
34347
34348 else
34349 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34350 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34351 fi
34352 fi
34353
34354 fi
34355
34356 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34357 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34358 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34359 echo $ECHO_N "(cached) $ECHO_C" >&6
34360 else
34361 ac_check_lib_save_LIBS=$LIBS
34362 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34363 cat >conftest.$ac_ext <<_ACEOF
34364 /* confdefs.h. */
34365 _ACEOF
34366 cat confdefs.h >>conftest.$ac_ext
34367 cat >>conftest.$ac_ext <<_ACEOF
34368 /* end confdefs.h. */
34369
34370 /* Override any GCC internal prototype to avoid an error.
34371 Use char because int might match the return type of a GCC
34372 builtin and then its argument prototype would still apply. */
34373 #ifdef __cplusplus
34374 extern "C"
34375 #endif
34376 char XShapeQueryExtension ();
34377 int
34378 main ()
34379 {
34380 return XShapeQueryExtension ();
34381 ;
34382 return 0;
34383 }
34384 _ACEOF
34385 rm -f conftest.$ac_objext conftest$ac_exeext
34386 if { (ac_try="$ac_link"
34387 case "(($ac_try" in
34388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34389 *) ac_try_echo=$ac_try;;
34390 esac
34391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34392 (eval "$ac_link") 2>conftest.er1
34393 ac_status=$?
34394 grep -v '^ *+' conftest.er1 >conftest.err
34395 rm -f conftest.er1
34396 cat conftest.err >&5
34397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34398 (exit $ac_status); } &&
34399 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34400 { (case "(($ac_try" in
34401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34402 *) ac_try_echo=$ac_try;;
34403 esac
34404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34405 (eval "$ac_try") 2>&5
34406 ac_status=$?
34407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34408 (exit $ac_status); }; } &&
34409 { ac_try='test -s conftest$ac_exeext'
34410 { (case "(($ac_try" in
34411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34412 *) ac_try_echo=$ac_try;;
34413 esac
34414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34415 (eval "$ac_try") 2>&5
34416 ac_status=$?
34417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34418 (exit $ac_status); }; }; then
34419 ac_cv_lib_Xext_XShapeQueryExtension=yes
34420 else
34421 echo "$as_me: failed program was:" >&5
34422 sed 's/^/| /' conftest.$ac_ext >&5
34423
34424 ac_cv_lib_Xext_XShapeQueryExtension=no
34425 fi
34426
34427 rm -f core conftest.err conftest.$ac_objext \
34428 conftest$ac_exeext conftest.$ac_ext
34429 LIBS=$ac_check_lib_save_LIBS
34430 fi
34431 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34432 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34433 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34434
34435 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34436 wxHAVE_XEXT_LIB=1
34437
34438 fi
34439
34440
34441 if test "$wxHAVE_XEXT_LIB" = 1; then
34442 save_CFLAGS="$CFLAGS"
34443 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34444
34445 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34446 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34447 cat >conftest.$ac_ext <<_ACEOF
34448 /* confdefs.h. */
34449 _ACEOF
34450 cat confdefs.h >>conftest.$ac_ext
34451 cat >>conftest.$ac_ext <<_ACEOF
34452 /* end confdefs.h. */
34453
34454 #include <X11/Xlib.h>
34455 #include <X11/extensions/shape.h>
34456
34457 int
34458 main ()
34459 {
34460
34461 int dummy1, dummy2;
34462 XShapeQueryExtension((Display*)NULL,
34463 (int*)NULL, (int*)NULL);
34464
34465 ;
34466 return 0;
34467 }
34468 _ACEOF
34469 rm -f conftest.$ac_objext
34470 if { (ac_try="$ac_compile"
34471 case "(($ac_try" in
34472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34473 *) ac_try_echo=$ac_try;;
34474 esac
34475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34476 (eval "$ac_compile") 2>conftest.er1
34477 ac_status=$?
34478 grep -v '^ *+' conftest.er1 >conftest.err
34479 rm -f conftest.er1
34480 cat conftest.err >&5
34481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34482 (exit $ac_status); } &&
34483 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34484 { (case "(($ac_try" in
34485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34486 *) ac_try_echo=$ac_try;;
34487 esac
34488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34489 (eval "$ac_try") 2>&5
34490 ac_status=$?
34491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34492 (exit $ac_status); }; } &&
34493 { ac_try='test -s conftest.$ac_objext'
34494 { (case "(($ac_try" in
34495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34496 *) ac_try_echo=$ac_try;;
34497 esac
34498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34499 (eval "$ac_try") 2>&5
34500 ac_status=$?
34501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34502 (exit $ac_status); }; }; then
34503
34504 cat >>confdefs.h <<\_ACEOF
34505 #define HAVE_XSHAPE 1
34506 _ACEOF
34507
34508 { echo "$as_me:$LINENO: result: found" >&5
34509 echo "${ECHO_T}found" >&6; }
34510
34511 else
34512 echo "$as_me: failed program was:" >&5
34513 sed 's/^/| /' conftest.$ac_ext >&5
34514
34515
34516 { echo "$as_me:$LINENO: result: not found" >&5
34517 echo "${ECHO_T}not found" >&6; }
34518
34519 fi
34520
34521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34522 CFLAGS="$save_CFLAGS"
34523
34524 fi
34525 fi
34526
34527 if test "$wxUSE_MAC" = 1; then
34528 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34529 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34530 if test "$GCC" = yes; then
34531 { echo "$as_me:$LINENO: result: gcc" >&5
34532 echo "${ECHO_T}gcc" >&6; }
34533 CPPFLAGS_PASCAL="-fpascal-strings"
34534 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34535 { echo "$as_me:$LINENO: result: xlc" >&5
34536 echo "${ECHO_T}xlc" >&6; }
34537 CPPFLAGS_PASCAL="-qmacpstr"
34538 else
34539 { echo "$as_me:$LINENO: result: none" >&5
34540 echo "${ECHO_T}none" >&6; }
34541 fi
34542
34543 if test "x$wxUSE_UNIX" = "xyes"; then
34544 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34545 else
34546 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34547 fi
34548
34549 TOOLKIT=MAC
34550 GUIDIST=MACX_DIST
34551 WXBASEPORT="_carbon"
34552 fi
34553
34554 if test "$wxUSE_COCOA" = 1; then
34555 TOOLKIT=COCOA
34556 GUIDIST=COCOA_DIST
34557 fi
34558
34559 if test "$wxUSE_PM" = 1; then
34560 TOOLKIT=PM
34561 GUIDIST=PM_DIST
34562 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34563 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34564 if test "${wx_cv_spbcdata+set}" = set; then
34565 echo $ECHO_N "(cached) $ECHO_C" >&6
34566 else
34567
34568 cat >conftest.$ac_ext <<_ACEOF
34569 /* confdefs.h. */
34570 _ACEOF
34571 cat confdefs.h >>conftest.$ac_ext
34572 cat >>conftest.$ac_ext <<_ACEOF
34573 /* end confdefs.h. */
34574
34575 #define INCL_PM
34576 #include <os2.h>
34577
34578 int
34579 main ()
34580 {
34581
34582 SPBCDATA test;
34583
34584 ;
34585 return 0;
34586 }
34587 _ACEOF
34588 rm -f conftest.$ac_objext
34589 if { (ac_try="$ac_compile"
34590 case "(($ac_try" in
34591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34592 *) ac_try_echo=$ac_try;;
34593 esac
34594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34595 (eval "$ac_compile") 2>conftest.er1
34596 ac_status=$?
34597 grep -v '^ *+' conftest.er1 >conftest.err
34598 rm -f conftest.er1
34599 cat conftest.err >&5
34600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34601 (exit $ac_status); } &&
34602 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34603 { (case "(($ac_try" in
34604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34605 *) ac_try_echo=$ac_try;;
34606 esac
34607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34608 (eval "$ac_try") 2>&5
34609 ac_status=$?
34610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34611 (exit $ac_status); }; } &&
34612 { ac_try='test -s conftest.$ac_objext'
34613 { (case "(($ac_try" in
34614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34615 *) ac_try_echo=$ac_try;;
34616 esac
34617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34618 (eval "$ac_try") 2>&5
34619 ac_status=$?
34620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34621 (exit $ac_status); }; }; then
34622 wx_cv_spbcdata=yes
34623 else
34624 echo "$as_me: failed program was:" >&5
34625 sed 's/^/| /' conftest.$ac_ext >&5
34626
34627 wx_cv_spbcdata=no
34628
34629 fi
34630
34631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34632
34633
34634 fi
34635 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34636 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34637
34638 if test $wx_cv_spbcdata = "yes"; then
34639 cat >>confdefs.h <<\_ACEOF
34640 #define HAVE_SPBCDATA 1
34641 _ACEOF
34642
34643 fi
34644 fi
34645
34646 if test "$TOOLKIT" = "PM" ; then
34647 TOOLKIT_DIR="os2"
34648 else
34649 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
34650 fi
34651
34652 if test "$wxUSE_UNIVERSAL" = "yes"; then
34653 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34654 WIDGET_SET=univ
34655 fi
34656
34657 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34658 DISTDIR="wx\$(TOOLKIT)"
34659 else
34660 USE_GUI=0
34661
34662 TOOLKIT_DIR="base"
34663
34664 if test "$USE_WIN32" = 1 ; then
34665 TOOLKIT="MSW"
34666 fi
34667
34668 GUIDIST="BASE_DIST"
34669 DISTDIR="wxBase"
34670 fi
34671
34672
34673 if test "$wxUSE_GUI" = "yes"; then
34674 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34675 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
34676 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
34677 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
34678 echo $ECHO_N "(cached) $ECHO_C" >&6
34679 else
34680 cat >conftest.$ac_ext <<_ACEOF
34681 /* confdefs.h. */
34682 _ACEOF
34683 cat confdefs.h >>conftest.$ac_ext
34684 cat >>conftest.$ac_ext <<_ACEOF
34685 /* end confdefs.h. */
34686
34687
34688 #include <X11/Xlib.h>
34689 _ACEOF
34690 rm -f conftest.$ac_objext
34691 if { (ac_try="$ac_compile"
34692 case "(($ac_try" in
34693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34694 *) ac_try_echo=$ac_try;;
34695 esac
34696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34697 (eval "$ac_compile") 2>conftest.er1
34698 ac_status=$?
34699 grep -v '^ *+' conftest.er1 >conftest.err
34700 rm -f conftest.er1
34701 cat conftest.err >&5
34702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34703 (exit $ac_status); } &&
34704 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34705 { (case "(($ac_try" in
34706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34707 *) ac_try_echo=$ac_try;;
34708 esac
34709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34710 (eval "$ac_try") 2>&5
34711 ac_status=$?
34712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34713 (exit $ac_status); }; } &&
34714 { ac_try='test -s conftest.$ac_objext'
34715 { (case "(($ac_try" in
34716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34717 *) ac_try_echo=$ac_try;;
34718 esac
34719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34720 (eval "$ac_try") 2>&5
34721 ac_status=$?
34722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34723 (exit $ac_status); }; }; then
34724 ac_cv_header_X11_Xlib_h=yes
34725 else
34726 echo "$as_me: failed program was:" >&5
34727 sed 's/^/| /' conftest.$ac_ext >&5
34728
34729 ac_cv_header_X11_Xlib_h=no
34730 fi
34731
34732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34733 fi
34734 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
34735 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
34736
34737
34738 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
34739 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
34740 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
34741 echo $ECHO_N "(cached) $ECHO_C" >&6
34742 else
34743 cat >conftest.$ac_ext <<_ACEOF
34744 /* confdefs.h. */
34745 _ACEOF
34746 cat confdefs.h >>conftest.$ac_ext
34747 cat >>conftest.$ac_ext <<_ACEOF
34748 /* end confdefs.h. */
34749
34750 #if HAVE_X11_XLIB_H
34751 #include <X11/Xlib.h>
34752 #endif
34753
34754
34755 #include <X11/XKBlib.h>
34756 _ACEOF
34757 rm -f conftest.$ac_objext
34758 if { (ac_try="$ac_compile"
34759 case "(($ac_try" in
34760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34761 *) ac_try_echo=$ac_try;;
34762 esac
34763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34764 (eval "$ac_compile") 2>conftest.er1
34765 ac_status=$?
34766 grep -v '^ *+' conftest.er1 >conftest.err
34767 rm -f conftest.er1
34768 cat conftest.err >&5
34769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34770 (exit $ac_status); } &&
34771 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34772 { (case "(($ac_try" in
34773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34774 *) ac_try_echo=$ac_try;;
34775 esac
34776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34777 (eval "$ac_try") 2>&5
34778 ac_status=$?
34779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34780 (exit $ac_status); }; } &&
34781 { ac_try='test -s conftest.$ac_objext'
34782 { (case "(($ac_try" in
34783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34784 *) ac_try_echo=$ac_try;;
34785 esac
34786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34787 (eval "$ac_try") 2>&5
34788 ac_status=$?
34789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34790 (exit $ac_status); }; }; then
34791 ac_cv_header_X11_XKBlib_h=yes
34792 else
34793 echo "$as_me: failed program was:" >&5
34794 sed 's/^/| /' conftest.$ac_ext >&5
34795
34796 ac_cv_header_X11_XKBlib_h=no
34797 fi
34798
34799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34800 fi
34801 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
34802 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
34803
34804
34805 fi
34806 fi
34807
34808
34809
34810 IODBC_C_SRC=""
34811
34812
34813 if test "$TOOLKIT" != "MSW" ; then
34814
34815 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
34816
34817 { echo "$as_me:$LINENO: checking for sql.h" >&5
34818 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
34819 if test "${ac_cv_header_sql_h+set}" = set; then
34820 echo $ECHO_N "(cached) $ECHO_C" >&6
34821 else
34822 cat >conftest.$ac_ext <<_ACEOF
34823 /* confdefs.h. */
34824 _ACEOF
34825 cat confdefs.h >>conftest.$ac_ext
34826 cat >>conftest.$ac_ext <<_ACEOF
34827 /* end confdefs.h. */
34828
34829
34830 #include <sql.h>
34831 _ACEOF
34832 rm -f conftest.$ac_objext
34833 if { (ac_try="$ac_compile"
34834 case "(($ac_try" in
34835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34836 *) ac_try_echo=$ac_try;;
34837 esac
34838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34839 (eval "$ac_compile") 2>conftest.er1
34840 ac_status=$?
34841 grep -v '^ *+' conftest.er1 >conftest.err
34842 rm -f conftest.er1
34843 cat conftest.err >&5
34844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34845 (exit $ac_status); } &&
34846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34847 { (case "(($ac_try" in
34848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34849 *) ac_try_echo=$ac_try;;
34850 esac
34851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34852 (eval "$ac_try") 2>&5
34853 ac_status=$?
34854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34855 (exit $ac_status); }; } &&
34856 { ac_try='test -s conftest.$ac_objext'
34857 { (case "(($ac_try" in
34858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34859 *) ac_try_echo=$ac_try;;
34860 esac
34861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34862 (eval "$ac_try") 2>&5
34863 ac_status=$?
34864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34865 (exit $ac_status); }; }; then
34866 ac_cv_header_sql_h=yes
34867 else
34868 echo "$as_me: failed program was:" >&5
34869 sed 's/^/| /' conftest.$ac_ext >&5
34870
34871 ac_cv_header_sql_h=no
34872 fi
34873
34874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34875 fi
34876 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
34877 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
34878 if test $ac_cv_header_sql_h = yes; then
34879 found_sql_h=1
34880 fi
34881
34882
34883 if test "x$found_sql_h" = "x1" ; then
34884 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
34885 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
34886 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
34887 echo $ECHO_N "(cached) $ECHO_C" >&6
34888 else
34889 ac_check_lib_save_LIBS=$LIBS
34890 LIBS="-liodbc $LIBS"
34891 cat >conftest.$ac_ext <<_ACEOF
34892 /* confdefs.h. */
34893 _ACEOF
34894 cat confdefs.h >>conftest.$ac_ext
34895 cat >>conftest.$ac_ext <<_ACEOF
34896 /* end confdefs.h. */
34897
34898 /* Override any GCC internal prototype to avoid an error.
34899 Use char because int might match the return type of a GCC
34900 builtin and then its argument prototype would still apply. */
34901 #ifdef __cplusplus
34902 extern "C"
34903 #endif
34904 char SQLAllocEnv ();
34905 int
34906 main ()
34907 {
34908 return SQLAllocEnv ();
34909 ;
34910 return 0;
34911 }
34912 _ACEOF
34913 rm -f conftest.$ac_objext conftest$ac_exeext
34914 if { (ac_try="$ac_link"
34915 case "(($ac_try" in
34916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34917 *) ac_try_echo=$ac_try;;
34918 esac
34919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34920 (eval "$ac_link") 2>conftest.er1
34921 ac_status=$?
34922 grep -v '^ *+' conftest.er1 >conftest.err
34923 rm -f conftest.er1
34924 cat conftest.err >&5
34925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34926 (exit $ac_status); } &&
34927 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34928 { (case "(($ac_try" in
34929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34930 *) ac_try_echo=$ac_try;;
34931 esac
34932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34933 (eval "$ac_try") 2>&5
34934 ac_status=$?
34935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34936 (exit $ac_status); }; } &&
34937 { ac_try='test -s conftest$ac_exeext'
34938 { (case "(($ac_try" in
34939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34940 *) ac_try_echo=$ac_try;;
34941 esac
34942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34943 (eval "$ac_try") 2>&5
34944 ac_status=$?
34945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34946 (exit $ac_status); }; }; then
34947 ac_cv_lib_iodbc_SQLAllocEnv=yes
34948 else
34949 echo "$as_me: failed program was:" >&5
34950 sed 's/^/| /' conftest.$ac_ext >&5
34951
34952 ac_cv_lib_iodbc_SQLAllocEnv=no
34953 fi
34954
34955 rm -f core conftest.err conftest.$ac_objext \
34956 conftest$ac_exeext conftest.$ac_ext
34957 LIBS=$ac_check_lib_save_LIBS
34958 fi
34959 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
34960 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
34961 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
34962 ODBC_LINK=" -liodbc"
34963 else
34964
34965 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
34966 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
34967 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
34968 echo $ECHO_N "(cached) $ECHO_C" >&6
34969 else
34970 ac_check_lib_save_LIBS=$LIBS
34971 LIBS="-lunixodbc $LIBS"
34972 cat >conftest.$ac_ext <<_ACEOF
34973 /* confdefs.h. */
34974 _ACEOF
34975 cat confdefs.h >>conftest.$ac_ext
34976 cat >>conftest.$ac_ext <<_ACEOF
34977 /* end confdefs.h. */
34978
34979 /* Override any GCC internal prototype to avoid an error.
34980 Use char because int might match the return type of a GCC
34981 builtin and then its argument prototype would still apply. */
34982 #ifdef __cplusplus
34983 extern "C"
34984 #endif
34985 char SQLAllocEnv ();
34986 int
34987 main ()
34988 {
34989 return SQLAllocEnv ();
34990 ;
34991 return 0;
34992 }
34993 _ACEOF
34994 rm -f conftest.$ac_objext conftest$ac_exeext
34995 if { (ac_try="$ac_link"
34996 case "(($ac_try" in
34997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34998 *) ac_try_echo=$ac_try;;
34999 esac
35000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35001 (eval "$ac_link") 2>conftest.er1
35002 ac_status=$?
35003 grep -v '^ *+' conftest.er1 >conftest.err
35004 rm -f conftest.er1
35005 cat conftest.err >&5
35006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35007 (exit $ac_status); } &&
35008 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35009 { (case "(($ac_try" in
35010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35011 *) ac_try_echo=$ac_try;;
35012 esac
35013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35014 (eval "$ac_try") 2>&5
35015 ac_status=$?
35016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35017 (exit $ac_status); }; } &&
35018 { ac_try='test -s conftest$ac_exeext'
35019 { (case "(($ac_try" in
35020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35021 *) ac_try_echo=$ac_try;;
35022 esac
35023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35024 (eval "$ac_try") 2>&5
35025 ac_status=$?
35026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35027 (exit $ac_status); }; }; then
35028 ac_cv_lib_unixodbc_SQLAllocEnv=yes
35029 else
35030 echo "$as_me: failed program was:" >&5
35031 sed 's/^/| /' conftest.$ac_ext >&5
35032
35033 ac_cv_lib_unixodbc_SQLAllocEnv=no
35034 fi
35035
35036 rm -f core conftest.err conftest.$ac_objext \
35037 conftest$ac_exeext conftest.$ac_ext
35038 LIBS=$ac_check_lib_save_LIBS
35039 fi
35040 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
35041 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
35042 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
35043 ODBC_LINK=" -lunixodbc"
35044 else
35045
35046 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
35047 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
35048 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
35049 echo $ECHO_N "(cached) $ECHO_C" >&6
35050 else
35051 ac_check_lib_save_LIBS=$LIBS
35052 LIBS="-lodbc $LIBS"
35053 cat >conftest.$ac_ext <<_ACEOF
35054 /* confdefs.h. */
35055 _ACEOF
35056 cat confdefs.h >>conftest.$ac_ext
35057 cat >>conftest.$ac_ext <<_ACEOF
35058 /* end confdefs.h. */
35059
35060 /* Override any GCC internal prototype to avoid an error.
35061 Use char because int might match the return type of a GCC
35062 builtin and then its argument prototype would still apply. */
35063 #ifdef __cplusplus
35064 extern "C"
35065 #endif
35066 char SQLAllocEnv ();
35067 int
35068 main ()
35069 {
35070 return SQLAllocEnv ();
35071 ;
35072 return 0;
35073 }
35074 _ACEOF
35075 rm -f conftest.$ac_objext conftest$ac_exeext
35076 if { (ac_try="$ac_link"
35077 case "(($ac_try" in
35078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35079 *) ac_try_echo=$ac_try;;
35080 esac
35081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35082 (eval "$ac_link") 2>conftest.er1
35083 ac_status=$?
35084 grep -v '^ *+' conftest.er1 >conftest.err
35085 rm -f conftest.er1
35086 cat conftest.err >&5
35087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35088 (exit $ac_status); } &&
35089 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35090 { (case "(($ac_try" in
35091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35092 *) ac_try_echo=$ac_try;;
35093 esac
35094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35095 (eval "$ac_try") 2>&5
35096 ac_status=$?
35097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35098 (exit $ac_status); }; } &&
35099 { ac_try='test -s conftest$ac_exeext'
35100 { (case "(($ac_try" in
35101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35102 *) ac_try_echo=$ac_try;;
35103 esac
35104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35105 (eval "$ac_try") 2>&5
35106 ac_status=$?
35107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35108 (exit $ac_status); }; }; then
35109 ac_cv_lib_odbc_SQLAllocEnv=yes
35110 else
35111 echo "$as_me: failed program was:" >&5
35112 sed 's/^/| /' conftest.$ac_ext >&5
35113
35114 ac_cv_lib_odbc_SQLAllocEnv=no
35115 fi
35116
35117 rm -f core conftest.err conftest.$ac_objext \
35118 conftest$ac_exeext conftest.$ac_ext
35119 LIBS=$ac_check_lib_save_LIBS
35120 fi
35121 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35122 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35123 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35124 ODBC_LINK=" -lodbc"
35125 fi
35126
35127
35128 fi
35129
35130
35131 fi
35132
35133 fi
35134 if test "x$ODBC_LINK" = "x" ; then
35135 if test "$wxUSE_ODBC" = "sys" ; then
35136 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35137 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35138 { (exit 1); exit 1; }; }
35139 else
35140 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35141 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35142 wxUSE_ODBC=builtin
35143 fi
35144 else
35145 wxUSE_ODBC=sys
35146 fi
35147 fi
35148
35149 if test "$wxUSE_ODBC" = "builtin" ; then
35150 cat >>confdefs.h <<\_ACEOF
35151 #define wxUSE_BUILTIN_IODBC 1
35152 _ACEOF
35153
35154 fi
35155 fi
35156
35157 if test "$wxUSE_ODBC" != "no" ; then
35158 cat >>confdefs.h <<\_ACEOF
35159 #define wxUSE_ODBC 1
35160 _ACEOF
35161
35162 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35163
35164 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35165 fi
35166
35167
35168 if test "$wxUSE_DISPLAY" = "yes"; then
35169 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35170 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35171 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35172
35173 ac_find_libraries=
35174 for ac_dir in $SEARCH_LIB;
35175 do
35176 for ac_extension in a so sl dylib dll.a; do
35177 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35178 ac_find_libraries=$ac_dir
35179 break 2
35180 fi
35181 done
35182 done
35183
35184 if test "$ac_find_libraries" != "" ; then
35185
35186 if test "$ac_find_libraries" = "default location"; then
35187 ac_path_to_link=""
35188 else
35189 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35190 result=$?
35191 if test $result = 0; then
35192 ac_path_to_link=""
35193 else
35194 ac_path_to_link=" -L$ac_find_libraries"
35195 fi
35196 fi
35197
35198 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35199 LDFLAGS="$LDFLAGS $ac_path_to_link"
35200 fi
35201 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35202 { echo "$as_me:$LINENO: result: yes" >&5
35203 echo "${ECHO_T}yes" >&6; }
35204
35205 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35206 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35207
35208 ac_find_libraries=
35209 for ac_dir in $SEARCH_LIB;
35210 do
35211 for ac_extension in a so sl dylib dll.a; do
35212 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35213 ac_find_libraries=$ac_dir
35214 break 2
35215 fi
35216 done
35217 done
35218
35219 if test "$ac_find_libraries" != "" ; then
35220 { echo "$as_me:$LINENO: result: yes" >&5
35221 echo "${ECHO_T}yes" >&6; }
35222 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
35223 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
35224 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
35225 echo $ECHO_N "(cached) $ECHO_C" >&6
35226 else
35227 cat >conftest.$ac_ext <<_ACEOF
35228 /* confdefs.h. */
35229 _ACEOF
35230 cat confdefs.h >>conftest.$ac_ext
35231 cat >>conftest.$ac_ext <<_ACEOF
35232 /* end confdefs.h. */
35233
35234 #if HAVE_X11_XLIB_H
35235 #include <X11/Xlib.h>
35236 #endif
35237
35238
35239 #include <X11/extensions/xf86vmode.h>
35240 _ACEOF
35241 rm -f conftest.$ac_objext
35242 if { (ac_try="$ac_compile"
35243 case "(($ac_try" in
35244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35245 *) ac_try_echo=$ac_try;;
35246 esac
35247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35248 (eval "$ac_compile") 2>conftest.er1
35249 ac_status=$?
35250 grep -v '^ *+' conftest.er1 >conftest.err
35251 rm -f conftest.er1
35252 cat conftest.err >&5
35253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35254 (exit $ac_status); } &&
35255 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35256 { (case "(($ac_try" in
35257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35258 *) ac_try_echo=$ac_try;;
35259 esac
35260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35261 (eval "$ac_try") 2>&5
35262 ac_status=$?
35263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35264 (exit $ac_status); }; } &&
35265 { ac_try='test -s conftest.$ac_objext'
35266 { (case "(($ac_try" in
35267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35268 *) ac_try_echo=$ac_try;;
35269 esac
35270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35271 (eval "$ac_try") 2>&5
35272 ac_status=$?
35273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35274 (exit $ac_status); }; }; then
35275 ac_cv_header_X11_extensions_xf86vmode_h=yes
35276 else
35277 echo "$as_me: failed program was:" >&5
35278 sed 's/^/| /' conftest.$ac_ext >&5
35279
35280 ac_cv_header_X11_extensions_xf86vmode_h=no
35281 fi
35282
35283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35284 fi
35285 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
35286 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
35287 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
35288
35289 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35290
35291 fi
35292
35293
35294 else
35295 { echo "$as_me:$LINENO: result: no" >&5
35296 echo "${ECHO_T}no" >&6; }
35297 fi
35298
35299 else
35300 { echo "$as_me:$LINENO: result: no" >&5
35301 echo "${ECHO_T}no" >&6; }
35302 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35303 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35304 wxUSE_DISPLAY="no"
35305 fi
35306 elif test "$wxUSE_MSW" = 1; then
35307 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35308 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35309 if test "${ac_cv_header_ddraw_h+set}" = set; then
35310 echo $ECHO_N "(cached) $ECHO_C" >&6
35311 else
35312 cat >conftest.$ac_ext <<_ACEOF
35313 /* confdefs.h. */
35314 _ACEOF
35315 cat confdefs.h >>conftest.$ac_ext
35316 cat >>conftest.$ac_ext <<_ACEOF
35317 /* end confdefs.h. */
35318 #include <windows.h>
35319
35320 #include <ddraw.h>
35321 _ACEOF
35322 rm -f conftest.$ac_objext
35323 if { (ac_try="$ac_compile"
35324 case "(($ac_try" in
35325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35326 *) ac_try_echo=$ac_try;;
35327 esac
35328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35329 (eval "$ac_compile") 2>conftest.er1
35330 ac_status=$?
35331 grep -v '^ *+' conftest.er1 >conftest.err
35332 rm -f conftest.er1
35333 cat conftest.err >&5
35334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35335 (exit $ac_status); } &&
35336 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35337 { (case "(($ac_try" in
35338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35339 *) ac_try_echo=$ac_try;;
35340 esac
35341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35342 (eval "$ac_try") 2>&5
35343 ac_status=$?
35344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35345 (exit $ac_status); }; } &&
35346 { ac_try='test -s conftest.$ac_objext'
35347 { (case "(($ac_try" in
35348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35349 *) ac_try_echo=$ac_try;;
35350 esac
35351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35352 (eval "$ac_try") 2>&5
35353 ac_status=$?
35354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35355 (exit $ac_status); }; }; then
35356 ac_cv_header_ddraw_h=yes
35357 else
35358 echo "$as_me: failed program was:" >&5
35359 sed 's/^/| /' conftest.$ac_ext >&5
35360
35361 ac_cv_header_ddraw_h=no
35362 fi
35363
35364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35365 fi
35366 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35367 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35368
35369
35370 fi
35371 fi
35372
35373 if test "$wxUSE_DETECT_SM" = "yes"; then
35374 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35375 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35376 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35377
35378 ac_find_libraries=
35379 for ac_dir in $SEARCH_LIB;
35380 do
35381 for ac_extension in a so sl dylib dll.a; do
35382 if test -f "$ac_dir/libSM.$ac_extension"; then
35383 ac_find_libraries=$ac_dir
35384 break 2
35385 fi
35386 done
35387 done
35388
35389 if test "$ac_find_libraries" != "" ; then
35390
35391 if test "$ac_find_libraries" = "default location"; then
35392 ac_path_to_link=""
35393 else
35394 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35395 result=$?
35396 if test $result = 0; then
35397 ac_path_to_link=""
35398 else
35399 ac_path_to_link=" -L$ac_find_libraries"
35400 fi
35401 fi
35402
35403 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35404 LDFLAGS="$LDFLAGS $ac_path_to_link"
35405 fi
35406 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35407 { echo "$as_me:$LINENO: result: yes" >&5
35408 echo "${ECHO_T}yes" >&6; }
35409 else
35410 { echo "$as_me:$LINENO: result: no" >&5
35411 echo "${ECHO_T}no" >&6; }
35412 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35413 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35414 wxUSE_DETECT_SM="no"
35415 fi
35416 else
35417 wxUSE_DETECT_SM="no"
35418 fi
35419 fi
35420
35421
35422
35423 USE_OPENGL=0
35424 if test "$wxUSE_OPENGL" = "yes"; then
35425 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35426 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35427 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35428 wxUSE_OPENGL="no"
35429 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35430 OPENGL_LIBS="-framework OpenGL -framework AGL"
35431 elif test "$wxUSE_MSW" = 1; then
35432 OPENGL_LIBS="-lopengl32 -lglu32"
35433 else
35434 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35435 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35436
35437 ac_find_includes=
35438 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35439 do
35440 if test -f "$ac_dir/GL/gl.h"; then
35441 ac_find_includes=$ac_dir
35442 break
35443 fi
35444 done
35445
35446 if test "$ac_find_includes" != "" ; then
35447 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35448 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35449
35450 if test "x$ac_find_includes" = "x/usr/include"; then
35451 ac_path_to_include=""
35452 else
35453 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35454 result=$?
35455 if test $result = 0; then
35456 ac_path_to_include=""
35457 else
35458 ac_path_to_include=" -I$ac_find_includes"
35459 fi
35460 fi
35461
35462 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35463 else
35464 { echo "$as_me:$LINENO: result: not found" >&5
35465 echo "${ECHO_T}not found" >&6; }
35466 fi
35467
35468 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35469 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35470 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35471 echo $ECHO_N "(cached) $ECHO_C" >&6
35472 else
35473 cat >conftest.$ac_ext <<_ACEOF
35474 /* confdefs.h. */
35475 _ACEOF
35476 cat confdefs.h >>conftest.$ac_ext
35477 cat >>conftest.$ac_ext <<_ACEOF
35478 /* end confdefs.h. */
35479
35480
35481 #include <GL/gl.h>
35482 _ACEOF
35483 rm -f conftest.$ac_objext
35484 if { (ac_try="$ac_compile"
35485 case "(($ac_try" in
35486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35487 *) ac_try_echo=$ac_try;;
35488 esac
35489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35490 (eval "$ac_compile") 2>conftest.er1
35491 ac_status=$?
35492 grep -v '^ *+' conftest.er1 >conftest.err
35493 rm -f conftest.er1
35494 cat conftest.err >&5
35495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35496 (exit $ac_status); } &&
35497 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35498 { (case "(($ac_try" in
35499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35500 *) ac_try_echo=$ac_try;;
35501 esac
35502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35503 (eval "$ac_try") 2>&5
35504 ac_status=$?
35505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35506 (exit $ac_status); }; } &&
35507 { ac_try='test -s conftest.$ac_objext'
35508 { (case "(($ac_try" in
35509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35510 *) ac_try_echo=$ac_try;;
35511 esac
35512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35513 (eval "$ac_try") 2>&5
35514 ac_status=$?
35515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35516 (exit $ac_status); }; }; then
35517 ac_cv_header_GL_gl_h=yes
35518 else
35519 echo "$as_me: failed program was:" >&5
35520 sed 's/^/| /' conftest.$ac_ext >&5
35521
35522 ac_cv_header_GL_gl_h=no
35523 fi
35524
35525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35526 fi
35527 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35528 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35529 if test $ac_cv_header_GL_gl_h = yes; then
35530
35531 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35532 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35533 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35534 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35535 echo $ECHO_N "(cached) $ECHO_C" >&6
35536 fi
35537 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35538 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35539 else
35540 # Is the header compilable?
35541 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
35542 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
35543 cat >conftest.$ac_ext <<_ACEOF
35544 /* confdefs.h. */
35545 _ACEOF
35546 cat confdefs.h >>conftest.$ac_ext
35547 cat >>conftest.$ac_ext <<_ACEOF
35548 /* end confdefs.h. */
35549 $ac_includes_default
35550 #include <GL/glu.h>
35551 _ACEOF
35552 rm -f conftest.$ac_objext
35553 if { (ac_try="$ac_compile"
35554 case "(($ac_try" in
35555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35556 *) ac_try_echo=$ac_try;;
35557 esac
35558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35559 (eval "$ac_compile") 2>conftest.er1
35560 ac_status=$?
35561 grep -v '^ *+' conftest.er1 >conftest.err
35562 rm -f conftest.er1
35563 cat conftest.err >&5
35564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35565 (exit $ac_status); } &&
35566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35567 { (case "(($ac_try" in
35568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35569 *) ac_try_echo=$ac_try;;
35570 esac
35571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35572 (eval "$ac_try") 2>&5
35573 ac_status=$?
35574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35575 (exit $ac_status); }; } &&
35576 { ac_try='test -s conftest.$ac_objext'
35577 { (case "(($ac_try" in
35578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35579 *) ac_try_echo=$ac_try;;
35580 esac
35581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35582 (eval "$ac_try") 2>&5
35583 ac_status=$?
35584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35585 (exit $ac_status); }; }; then
35586 ac_header_compiler=yes
35587 else
35588 echo "$as_me: failed program was:" >&5
35589 sed 's/^/| /' conftest.$ac_ext >&5
35590
35591 ac_header_compiler=no
35592 fi
35593
35594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35595 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35596 echo "${ECHO_T}$ac_header_compiler" >&6; }
35597
35598 # Is the header present?
35599 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
35600 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
35601 cat >conftest.$ac_ext <<_ACEOF
35602 /* confdefs.h. */
35603 _ACEOF
35604 cat confdefs.h >>conftest.$ac_ext
35605 cat >>conftest.$ac_ext <<_ACEOF
35606 /* end confdefs.h. */
35607 #include <GL/glu.h>
35608 _ACEOF
35609 if { (ac_try="$ac_cpp conftest.$ac_ext"
35610 case "(($ac_try" in
35611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35612 *) ac_try_echo=$ac_try;;
35613 esac
35614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35615 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35616 ac_status=$?
35617 grep -v '^ *+' conftest.er1 >conftest.err
35618 rm -f conftest.er1
35619 cat conftest.err >&5
35620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35621 (exit $ac_status); } >/dev/null; then
35622 if test -s conftest.err; then
35623 ac_cpp_err=$ac_c_preproc_warn_flag
35624 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35625 else
35626 ac_cpp_err=
35627 fi
35628 else
35629 ac_cpp_err=yes
35630 fi
35631 if test -z "$ac_cpp_err"; then
35632 ac_header_preproc=yes
35633 else
35634 echo "$as_me: failed program was:" >&5
35635 sed 's/^/| /' conftest.$ac_ext >&5
35636
35637 ac_header_preproc=no
35638 fi
35639
35640 rm -f conftest.err conftest.$ac_ext
35641 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35642 echo "${ECHO_T}$ac_header_preproc" >&6; }
35643
35644 # So? What about this header?
35645 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35646 yes:no: )
35647 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
35648 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
35649 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
35650 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
35651 ac_header_preproc=yes
35652 ;;
35653 no:yes:* )
35654 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
35655 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
35656 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
35657 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
35658 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
35659 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
35660 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
35661 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
35662 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
35663 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
35664 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
35665 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
35666 ( cat <<\_ASBOX
35667 ## ----------------------------------------- ##
35668 ## Report this to wx-dev@lists.wxwidgets.org ##
35669 ## ----------------------------------------- ##
35670 _ASBOX
35671 ) | sed "s/^/$as_me: WARNING: /" >&2
35672 ;;
35673 esac
35674 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35675 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35676 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35677 echo $ECHO_N "(cached) $ECHO_C" >&6
35678 else
35679 ac_cv_header_GL_glu_h=$ac_header_preproc
35680 fi
35681 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35682 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35683
35684 fi
35685 if test $ac_cv_header_GL_glu_h = yes; then
35686
35687 found_gl=0
35688
35689 { echo "$as_me:$LINENO: checking for -lGL" >&5
35690 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35691
35692 ac_find_libraries=
35693 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35694 do
35695 for ac_extension in a so sl dylib dll.a; do
35696 if test -f "$ac_dir/libGL.$ac_extension"; then
35697 ac_find_libraries=$ac_dir
35698 break 2
35699 fi
35700 done
35701 done
35702
35703 if test "$ac_find_libraries" != "" ; then
35704 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35705 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35706
35707
35708 if test "$ac_find_libraries" = "default location"; then
35709 ac_path_to_link=""
35710 else
35711 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35712 result=$?
35713 if test $result = 0; then
35714 ac_path_to_link=""
35715 else
35716 ac_path_to_link=" -L$ac_find_libraries"
35717 fi
35718 fi
35719
35720 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35721 LDFLAGS_GL="$ac_path_to_link"
35722 fi
35723
35724 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35725 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35726
35727 ac_find_libraries=
35728 for ac_dir in $SEARCH_LIB;
35729 do
35730 for ac_extension in a so sl dylib dll.a; do
35731 if test -f "$ac_dir/libGLU.$ac_extension"; then
35732 ac_find_libraries=$ac_dir
35733 break 2
35734 fi
35735 done
35736 done
35737
35738 if test "$ac_find_libraries" != "" ; then
35739
35740 if test "$ac_find_libraries" = "default location"; then
35741 ac_path_to_link=""
35742 else
35743 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35744 result=$?
35745 if test $result = 0; then
35746 ac_path_to_link=""
35747 else
35748 ac_path_to_link=" -L$ac_find_libraries"
35749 fi
35750 fi
35751
35752 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35753 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35754 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35755 fi
35756
35757 found_gl=1
35758 OPENGL_LIBS="-lGL -lGLU"
35759 { echo "$as_me:$LINENO: result: yes" >&5
35760 echo "${ECHO_T}yes" >&6; }
35761 else
35762 { echo "$as_me:$LINENO: result: no" >&5
35763 echo "${ECHO_T}no" >&6; }
35764 fi
35765 else
35766 { echo "$as_me:$LINENO: result: no" >&5
35767 echo "${ECHO_T}no" >&6; }
35768 fi
35769
35770 if test "$found_gl" != 1; then
35771 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35772 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35773
35774 ac_find_libraries=
35775 for ac_dir in $SEARCH_LIB;
35776 do
35777 for ac_extension in a so sl dylib dll.a; do
35778 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35779 ac_find_libraries=$ac_dir
35780 break 2
35781 fi
35782 done
35783 done
35784
35785 if test "$ac_find_libraries" != "" ; then
35786
35787 if test "$ac_find_libraries" = "default location"; then
35788 ac_path_to_link=""
35789 else
35790 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35791 result=$?
35792 if test $result = 0; then
35793 ac_path_to_link=""
35794 else
35795 ac_path_to_link=" -L$ac_find_libraries"
35796 fi
35797 fi
35798
35799 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35800 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35801 { echo "$as_me:$LINENO: result: yes" >&5
35802 echo "${ECHO_T}yes" >&6; }
35803 else
35804 { echo "$as_me:$LINENO: result: no" >&5
35805 echo "${ECHO_T}no" >&6; }
35806 fi
35807 fi
35808
35809 fi
35810
35811
35812
35813 fi
35814
35815
35816
35817 if test "x$OPENGL_LIBS" = "x"; then
35818 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35819 echo "$as_me: error: OpenGL libraries not available" >&2;}
35820 { (exit 1); exit 1; }; }
35821 fi
35822 fi
35823
35824 if test "$wxUSE_OPENGL" = "yes"; then
35825 USE_OPENGL=1
35826 cat >>confdefs.h <<\_ACEOF
35827 #define wxUSE_OPENGL 1
35828 _ACEOF
35829
35830 cat >>confdefs.h <<\_ACEOF
35831 #define wxUSE_GLCANVAS 1
35832 _ACEOF
35833
35834 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35835 fi
35836 fi
35837
35838
35839 if test -n "$TOOLKIT" ; then
35840 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35841 fi
35842
35843
35844
35845 if test "$wxUSE_SHARED" = "yes"; then
35846 case "${host}" in
35847 *-pc-msdosdjgpp )
35848 wxUSE_SHARED=no
35849 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35850 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35851 ;;
35852 esac
35853 fi
35854
35855 if test "$wxUSE_SHARED" = "yes"; then
35856
35857
35858 case "${host}" in
35859 *-*-cygwin* | *-*-mingw* )
35860 wx_cv_version_script=no
35861 ;;
35862
35863 *)
35864 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35865 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35866 if test "${wx_cv_version_script+set}" = set; then
35867 echo $ECHO_N "(cached) $ECHO_C" >&6
35868 else
35869
35870 echo "VER_1 { *; };" >conftest.sym
35871 echo "int main() { return 0; }" >conftest.cpp
35872
35873 if { ac_try='
35874 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35875 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35877 (eval $ac_try) 2>&5
35878 ac_status=$?
35879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35880 (exit $ac_status); }; } ; then
35881 if test -s conftest.stderr ; then
35882 wx_cv_version_script=no
35883 else
35884 wx_cv_version_script=yes
35885 fi
35886 else
35887 wx_cv_version_script=no
35888 fi
35889
35890 if test $wx_cv_version_script = yes
35891 then
35892 echo "struct B { virtual ~B() { } }; \
35893 struct D : public B { }; \
35894 void F() { D d; }" > conftest.cpp
35895
35896 if { ac_try='
35897 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35898 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35900 (eval $ac_try) 2>&5
35901 ac_status=$?
35902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35903 (exit $ac_status); }; } &&
35904 { ac_try='
35905 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35906 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35908 (eval $ac_try) 2>&5
35909 ac_status=$?
35910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35911 (exit $ac_status); }; }
35912 then
35913 if { ac_try='
35914 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35915 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35917 (eval $ac_try) 2>&5
35918 ac_status=$?
35919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35920 (exit $ac_status); }; }
35921 then
35922 wx_cv_version_script=yes
35923 else
35924 wx_cv_version_script=no
35925 fi
35926 fi
35927 fi
35928
35929 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35930 rm -f conftest1.output conftest2.output conftest3.output
35931
35932 fi
35933 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35934 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35935
35936 if test $wx_cv_version_script = yes ; then
35937 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35938 fi
35939 ;;
35940 esac
35941
35942
35943 case "${host}" in
35944 *-*-linux* | *-*-gnu* )
35945 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35946 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35947 ;;
35948
35949 *-*-solaris2* )
35950 if test "$GCC" = yes ; then
35951 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35952
35953 saveLdflags="$LDFLAGS"
35954 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35955 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35956 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35957 cat >conftest.$ac_ext <<_ACEOF
35958 /* confdefs.h. */
35959 _ACEOF
35960 cat confdefs.h >>conftest.$ac_ext
35961 cat >>conftest.$ac_ext <<_ACEOF
35962 /* end confdefs.h. */
35963
35964 int
35965 main ()
35966 {
35967
35968 ;
35969 return 0;
35970 }
35971 _ACEOF
35972 rm -f conftest.$ac_objext conftest$ac_exeext
35973 if { (ac_try="$ac_link"
35974 case "(($ac_try" in
35975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35976 *) ac_try_echo=$ac_try;;
35977 esac
35978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35979 (eval "$ac_link") 2>conftest.er1
35980 ac_status=$?
35981 grep -v '^ *+' conftest.er1 >conftest.err
35982 rm -f conftest.er1
35983 cat conftest.err >&5
35984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35985 (exit $ac_status); } &&
35986 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35987 { (case "(($ac_try" in
35988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35989 *) ac_try_echo=$ac_try;;
35990 esac
35991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35992 (eval "$ac_try") 2>&5
35993 ac_status=$?
35994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35995 (exit $ac_status); }; } &&
35996 { ac_try='test -s conftest$ac_exeext'
35997 { (case "(($ac_try" in
35998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35999 *) ac_try_echo=$ac_try;;
36000 esac
36001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36002 (eval "$ac_try") 2>&5
36003 ac_status=$?
36004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36005 (exit $ac_status); }; }; then
36006
36007 { echo "$as_me:$LINENO: result: yes" >&5
36008 echo "${ECHO_T}yes" >&6; }
36009 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36010 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36011
36012 else
36013 echo "$as_me: failed program was:" >&5
36014 sed 's/^/| /' conftest.$ac_ext >&5
36015
36016
36017 { echo "$as_me:$LINENO: result: no" >&5
36018 echo "${ECHO_T}no" >&6; }
36019 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36020 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36021 LDFLAGS="$saveLdflags -Wl,-R,/"
36022 cat >conftest.$ac_ext <<_ACEOF
36023 /* confdefs.h. */
36024 _ACEOF
36025 cat confdefs.h >>conftest.$ac_ext
36026 cat >>conftest.$ac_ext <<_ACEOF
36027 /* end confdefs.h. */
36028
36029 int
36030 main ()
36031 {
36032
36033 ;
36034 return 0;
36035 }
36036 _ACEOF
36037 rm -f conftest.$ac_objext conftest$ac_exeext
36038 if { (ac_try="$ac_link"
36039 case "(($ac_try" in
36040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36041 *) ac_try_echo=$ac_try;;
36042 esac
36043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36044 (eval "$ac_link") 2>conftest.er1
36045 ac_status=$?
36046 grep -v '^ *+' conftest.er1 >conftest.err
36047 rm -f conftest.er1
36048 cat conftest.err >&5
36049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36050 (exit $ac_status); } &&
36051 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36052 { (case "(($ac_try" in
36053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36054 *) ac_try_echo=$ac_try;;
36055 esac
36056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36057 (eval "$ac_try") 2>&5
36058 ac_status=$?
36059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36060 (exit $ac_status); }; } &&
36061 { ac_try='test -s conftest$ac_exeext'
36062 { (case "(($ac_try" in
36063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36064 *) ac_try_echo=$ac_try;;
36065 esac
36066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36067 (eval "$ac_try") 2>&5
36068 ac_status=$?
36069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36070 (exit $ac_status); }; }; then
36071
36072 { echo "$as_me:$LINENO: result: yes" >&5
36073 echo "${ECHO_T}yes" >&6; }
36074 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36075 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36076
36077 else
36078 echo "$as_me: failed program was:" >&5
36079 sed 's/^/| /' conftest.$ac_ext >&5
36080
36081
36082 { echo "$as_me:$LINENO: result: no" >&5
36083 echo "${ECHO_T}no" >&6; }
36084
36085 fi
36086
36087 rm -f core conftest.err conftest.$ac_objext \
36088 conftest$ac_exeext conftest.$ac_ext
36089
36090 fi
36091
36092 rm -f core conftest.err conftest.$ac_objext \
36093 conftest$ac_exeext conftest.$ac_ext
36094 LDFLAGS="$saveLdflags"
36095 else
36096 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
36097 WXCONFIG_RPATH="-R\$libdir"
36098 fi
36099 ;;
36100
36101 *-*-darwin* )
36102 install_name_tool=`which install_name_tool`
36103 if test "$install_name_tool" -a -x "$install_name_tool"; then
36104 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36105 cat <<EOF >change-install-names
36106 #!/bin/sh
36107 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36108 inst_cmd="install_name_tool "
36109 for i in \${libnames} ; do
36110 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36111 done
36112 \${inst_cmd} \${3}
36113 EOF
36114 chmod +x change-install-names
36115 fi
36116 ;;
36117
36118 *-*-cygwin* | *-*-mingw32* )
36119 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36120 ;;
36121
36122 *-*-hpux* )
36123 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36124 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36125 ;;
36126
36127 esac
36128
36129 if test $wxUSE_RPATH = "no"; then
36130 SAMPLES_RPATH_FLAG=''
36131 SAMPLES_RPATH_POSTLINK=''
36132 WXCONFIG_RPATH=''
36133 fi
36134
36135 SHARED=1
36136
36137 else
36138
36139 config_linkage_component="-static"
36140 SHARED=0
36141
36142 fi
36143
36144
36145 UNICODE=0
36146 lib_unicode_suffix=
36147 WX_CHARTYPE="ansi"
36148 if test "$wxUSE_UNICODE" = "yes"; then
36149 lib_unicode_suffix=u
36150 WX_CHARTYPE="unicode"
36151 UNICODE=1
36152 fi
36153
36154 lib_debug_suffix=
36155 WX_DEBUGTYPE="release"
36156 DEBUG_FLAG=0
36157 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36158 lib_debug_suffix=d
36159 WX_DEBUGTYPE="debug"
36160 DEBUG_FLAG=1
36161 fi
36162
36163 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36164 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36165
36166 DEBUG_INFO=0
36167 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36168 DEBUG_INFO=1
36169 fi
36170
36171 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36172
36173 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36174
36175 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36176
36177 if test "$cross_compiling" = "yes"; then
36178 HOST_SUFFIX="-$host_alias"
36179 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36180 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36181 fi
36182
36183 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36184 if test "${TOOLKIT_DIR}" = "os2"; then
36185 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36186 else
36187 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36188 fi
36189
36190
36191
36192 if test "$wxUSE_COCOA" = 1; then
36193
36194 ac_ext=c
36195 ac_cpp='$CPP $CPPFLAGS'
36196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36199
36200 ac_ext=m
36201
36202 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36203 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36204 cat >conftest.$ac_ext <<_ACEOF
36205 /* confdefs.h. */
36206 _ACEOF
36207 cat confdefs.h >>conftest.$ac_ext
36208 cat >>conftest.$ac_ext <<_ACEOF
36209 /* end confdefs.h. */
36210 #include <AppKit/NSEvent.h>
36211 #include <CoreFoundation/CoreFoundation.h>
36212
36213 int
36214 main ()
36215 {
36216
36217 ;
36218 return 0;
36219 }
36220 _ACEOF
36221 rm -f conftest.$ac_objext
36222 if { (ac_try="$ac_compile"
36223 case "(($ac_try" in
36224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36225 *) ac_try_echo=$ac_try;;
36226 esac
36227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36228 (eval "$ac_compile") 2>conftest.er1
36229 ac_status=$?
36230 grep -v '^ *+' conftest.er1 >conftest.err
36231 rm -f conftest.er1
36232 cat conftest.err >&5
36233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36234 (exit $ac_status); } &&
36235 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36236 { (case "(($ac_try" in
36237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36238 *) ac_try_echo=$ac_try;;
36239 esac
36240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36241 (eval "$ac_try") 2>&5
36242 ac_status=$?
36243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36244 (exit $ac_status); }; } &&
36245 { ac_try='test -s conftest.$ac_objext'
36246 { (case "(($ac_try" in
36247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36248 *) ac_try_echo=$ac_try;;
36249 esac
36250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36251 (eval "$ac_try") 2>&5
36252 ac_status=$?
36253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36254 (exit $ac_status); }; }; then
36255 { echo "$as_me:$LINENO: result: no" >&5
36256 echo "${ECHO_T}no" >&6; }
36257 else
36258 echo "$as_me: failed program was:" >&5
36259 sed 's/^/| /' conftest.$ac_ext >&5
36260
36261 { echo "$as_me:$LINENO: result: yes" >&5
36262 echo "${ECHO_T}yes" >&6; }
36263 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36264 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36265 cat >conftest.$ac_ext <<_ACEOF
36266 /* confdefs.h. */
36267 _ACEOF
36268 cat confdefs.h >>conftest.$ac_ext
36269 cat >>conftest.$ac_ext <<_ACEOF
36270 /* end confdefs.h. */
36271 #define __Point__ 1
36272 #include <AppKit/NSEvent.h>
36273 #include <CoreFoundation/CoreFoundation.h>
36274
36275 int
36276 main ()
36277 {
36278
36279 ;
36280 return 0;
36281 }
36282 _ACEOF
36283 rm -f conftest.$ac_objext
36284 if { (ac_try="$ac_compile"
36285 case "(($ac_try" in
36286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36287 *) ac_try_echo=$ac_try;;
36288 esac
36289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36290 (eval "$ac_compile") 2>conftest.er1
36291 ac_status=$?
36292 grep -v '^ *+' conftest.er1 >conftest.err
36293 rm -f conftest.er1
36294 cat conftest.err >&5
36295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36296 (exit $ac_status); } &&
36297 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36298 { (case "(($ac_try" in
36299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36300 *) ac_try_echo=$ac_try;;
36301 esac
36302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36303 (eval "$ac_try") 2>&5
36304 ac_status=$?
36305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36306 (exit $ac_status); }; } &&
36307 { ac_try='test -s conftest.$ac_objext'
36308 { (case "(($ac_try" in
36309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36310 *) ac_try_echo=$ac_try;;
36311 esac
36312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36313 (eval "$ac_try") 2>&5
36314 ac_status=$?
36315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36316 (exit $ac_status); }; }; then
36317 { echo "$as_me:$LINENO: result: yes" >&5
36318 echo "${ECHO_T}yes" >&6; }
36319 cat >>confdefs.h <<\_ACEOF
36320 #define __Point__ 1
36321 _ACEOF
36322
36323
36324 else
36325 echo "$as_me: failed program was:" >&5
36326 sed 's/^/| /' conftest.$ac_ext >&5
36327
36328 { { echo "$as_me:$LINENO: error: no
36329 See \`config.log' for more details." >&5
36330 echo "$as_me: error: no
36331 See \`config.log' for more details." >&2;}
36332 { (exit 1); exit 1; }; }
36333
36334 fi
36335
36336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36337
36338 fi
36339
36340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36341 ac_ext=c
36342 ac_cpp='$CPP $CPPFLAGS'
36343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36346
36347 fi
36348
36349 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
36350 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
36351 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
36352
36353 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
36354
36355 # Extract the first word of "Rez", so it can be a program name with args.
36356 set dummy Rez; ac_word=$2
36357 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36359 if test "${ac_cv_prog_REZ+set}" = set; then
36360 echo $ECHO_N "(cached) $ECHO_C" >&6
36361 else
36362 if test -n "$REZ"; then
36363 ac_cv_prog_REZ="$REZ" # Let the user override the test.
36364 else
36365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36366 for as_dir in $PATH
36367 do
36368 IFS=$as_save_IFS
36369 test -z "$as_dir" && as_dir=.
36370 for ac_exec_ext in '' $ac_executable_extensions; do
36371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
36372 ac_cv_prog_REZ="Rez"
36373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36374 break 2
36375 fi
36376 done
36377 done
36378 IFS=$as_save_IFS
36379
36380 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
36381 fi
36382 fi
36383 REZ=$ac_cv_prog_REZ
36384 if test -n "$REZ"; then
36385 { echo "$as_me:$LINENO: result: $REZ" >&5
36386 echo "${ECHO_T}$REZ" >&6; }
36387 else
36388 { echo "$as_me:$LINENO: result: no" >&5
36389 echo "${ECHO_T}no" >&6; }
36390 fi
36391
36392
36393 # Extract the first word of "DeRez", so it can be a program name with args.
36394 set dummy DeRez; ac_word=$2
36395 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36397 if test "${ac_cv_prog_DEREZ+set}" = set; then
36398 echo $ECHO_N "(cached) $ECHO_C" >&6
36399 else
36400 if test -n "$DEREZ"; then
36401 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
36402 else
36403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36404 for as_dir in $PATH
36405 do
36406 IFS=$as_save_IFS
36407 test -z "$as_dir" && as_dir=.
36408 for ac_exec_ext in '' $ac_executable_extensions; do
36409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
36410 ac_cv_prog_DEREZ="DeRez"
36411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36412 break 2
36413 fi
36414 done
36415 done
36416 IFS=$as_save_IFS
36417
36418 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
36419 fi
36420 fi
36421 DEREZ=$ac_cv_prog_DEREZ
36422 if test -n "$DEREZ"; then
36423 { echo "$as_me:$LINENO: result: $DEREZ" >&5
36424 echo "${ECHO_T}$DEREZ" >&6; }
36425 else
36426 { echo "$as_me:$LINENO: result: no" >&5
36427 echo "${ECHO_T}no" >&6; }
36428 fi
36429
36430
36431 # Extract the first word of "SetFile", so it can be a program name with args.
36432 set dummy SetFile; ac_word=$2
36433 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36435 if test "${ac_cv_prog_SETFILE+set}" = set; then
36436 echo $ECHO_N "(cached) $ECHO_C" >&6
36437 else
36438 if test -n "$SETFILE"; then
36439 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
36440 else
36441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36442 for as_dir in $PATH
36443 do
36444 IFS=$as_save_IFS
36445 test -z "$as_dir" && as_dir=.
36446 for ac_exec_ext in '' $ac_executable_extensions; do
36447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
36448 ac_cv_prog_SETFILE="SetFile"
36449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36450 break 2
36451 fi
36452 done
36453 done
36454 IFS=$as_save_IFS
36455
36456 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
36457 fi
36458 fi
36459 SETFILE=$ac_cv_prog_SETFILE
36460 if test -n "$SETFILE"; then
36461 { echo "$as_me:$LINENO: result: $SETFILE" >&5
36462 echo "${ECHO_T}$SETFILE" >&6; }
36463 else
36464 { echo "$as_me:$LINENO: result: no" >&5
36465 echo "${ECHO_T}no" >&6; }
36466 fi
36467
36468
36469
36470 MACSETFILE="\$(SETFILE)"
36471
36472 if test "$wxUSE_MAC" = 1; then
36473 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
36474 RESCOMP="$REZ"
36475 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
36476 else
36477 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
36478 RESCOMP="echo -n \| $REZ"
36479 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
36480 fi
36481
36482 else
36483 MACSETFILE="@true"
36484
36485 if test "$wxUSE_PM" = 1; then
36486 RESCOMP="emxbind"
36487 WXCONFIG_RESFLAGS="-ep"
36488
36489 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
36490 else
36491 POSTLINK_COMMAND="@true"
36492 fi
36493
36494 fi
36495
36496
36497
36498 { echo "$as_me:$LINENO: checking for mode_t" >&5
36499 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36500 if test "${ac_cv_type_mode_t+set}" = set; then
36501 echo $ECHO_N "(cached) $ECHO_C" >&6
36502 else
36503 cat >conftest.$ac_ext <<_ACEOF
36504 /* confdefs.h. */
36505 _ACEOF
36506 cat confdefs.h >>conftest.$ac_ext
36507 cat >>conftest.$ac_ext <<_ACEOF
36508 /* end confdefs.h. */
36509 $ac_includes_default
36510 typedef mode_t ac__type_new_;
36511 int
36512 main ()
36513 {
36514 if ((ac__type_new_ *) 0)
36515 return 0;
36516 if (sizeof (ac__type_new_))
36517 return 0;
36518 ;
36519 return 0;
36520 }
36521 _ACEOF
36522 rm -f conftest.$ac_objext
36523 if { (ac_try="$ac_compile"
36524 case "(($ac_try" in
36525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36526 *) ac_try_echo=$ac_try;;
36527 esac
36528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36529 (eval "$ac_compile") 2>conftest.er1
36530 ac_status=$?
36531 grep -v '^ *+' conftest.er1 >conftest.err
36532 rm -f conftest.er1
36533 cat conftest.err >&5
36534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36535 (exit $ac_status); } &&
36536 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36537 { (case "(($ac_try" in
36538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36539 *) ac_try_echo=$ac_try;;
36540 esac
36541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36542 (eval "$ac_try") 2>&5
36543 ac_status=$?
36544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36545 (exit $ac_status); }; } &&
36546 { ac_try='test -s conftest.$ac_objext'
36547 { (case "(($ac_try" in
36548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36549 *) ac_try_echo=$ac_try;;
36550 esac
36551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36552 (eval "$ac_try") 2>&5
36553 ac_status=$?
36554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36555 (exit $ac_status); }; }; then
36556 ac_cv_type_mode_t=yes
36557 else
36558 echo "$as_me: failed program was:" >&5
36559 sed 's/^/| /' conftest.$ac_ext >&5
36560
36561 ac_cv_type_mode_t=no
36562 fi
36563
36564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36565 fi
36566 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36567 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36568 if test $ac_cv_type_mode_t = yes; then
36569 :
36570 else
36571
36572 cat >>confdefs.h <<_ACEOF
36573 #define mode_t int
36574 _ACEOF
36575
36576 fi
36577
36578 { echo "$as_me:$LINENO: checking for off_t" >&5
36579 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36580 if test "${ac_cv_type_off_t+set}" = set; then
36581 echo $ECHO_N "(cached) $ECHO_C" >&6
36582 else
36583 cat >conftest.$ac_ext <<_ACEOF
36584 /* confdefs.h. */
36585 _ACEOF
36586 cat confdefs.h >>conftest.$ac_ext
36587 cat >>conftest.$ac_ext <<_ACEOF
36588 /* end confdefs.h. */
36589 $ac_includes_default
36590 typedef off_t ac__type_new_;
36591 int
36592 main ()
36593 {
36594 if ((ac__type_new_ *) 0)
36595 return 0;
36596 if (sizeof (ac__type_new_))
36597 return 0;
36598 ;
36599 return 0;
36600 }
36601 _ACEOF
36602 rm -f conftest.$ac_objext
36603 if { (ac_try="$ac_compile"
36604 case "(($ac_try" in
36605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36606 *) ac_try_echo=$ac_try;;
36607 esac
36608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36609 (eval "$ac_compile") 2>conftest.er1
36610 ac_status=$?
36611 grep -v '^ *+' conftest.er1 >conftest.err
36612 rm -f conftest.er1
36613 cat conftest.err >&5
36614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36615 (exit $ac_status); } &&
36616 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36617 { (case "(($ac_try" in
36618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36619 *) ac_try_echo=$ac_try;;
36620 esac
36621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36622 (eval "$ac_try") 2>&5
36623 ac_status=$?
36624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36625 (exit $ac_status); }; } &&
36626 { ac_try='test -s conftest.$ac_objext'
36627 { (case "(($ac_try" in
36628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36629 *) ac_try_echo=$ac_try;;
36630 esac
36631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36632 (eval "$ac_try") 2>&5
36633 ac_status=$?
36634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36635 (exit $ac_status); }; }; then
36636 ac_cv_type_off_t=yes
36637 else
36638 echo "$as_me: failed program was:" >&5
36639 sed 's/^/| /' conftest.$ac_ext >&5
36640
36641 ac_cv_type_off_t=no
36642 fi
36643
36644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36645 fi
36646 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36647 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36648 if test $ac_cv_type_off_t = yes; then
36649 :
36650 else
36651
36652 cat >>confdefs.h <<_ACEOF
36653 #define off_t long int
36654 _ACEOF
36655
36656 fi
36657
36658 { echo "$as_me:$LINENO: checking for pid_t" >&5
36659 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36660 if test "${ac_cv_type_pid_t+set}" = set; then
36661 echo $ECHO_N "(cached) $ECHO_C" >&6
36662 else
36663 cat >conftest.$ac_ext <<_ACEOF
36664 /* confdefs.h. */
36665 _ACEOF
36666 cat confdefs.h >>conftest.$ac_ext
36667 cat >>conftest.$ac_ext <<_ACEOF
36668 /* end confdefs.h. */
36669 $ac_includes_default
36670 typedef pid_t ac__type_new_;
36671 int
36672 main ()
36673 {
36674 if ((ac__type_new_ *) 0)
36675 return 0;
36676 if (sizeof (ac__type_new_))
36677 return 0;
36678 ;
36679 return 0;
36680 }
36681 _ACEOF
36682 rm -f conftest.$ac_objext
36683 if { (ac_try="$ac_compile"
36684 case "(($ac_try" in
36685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36686 *) ac_try_echo=$ac_try;;
36687 esac
36688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36689 (eval "$ac_compile") 2>conftest.er1
36690 ac_status=$?
36691 grep -v '^ *+' conftest.er1 >conftest.err
36692 rm -f conftest.er1
36693 cat conftest.err >&5
36694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36695 (exit $ac_status); } &&
36696 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36697 { (case "(($ac_try" in
36698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36699 *) ac_try_echo=$ac_try;;
36700 esac
36701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36702 (eval "$ac_try") 2>&5
36703 ac_status=$?
36704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36705 (exit $ac_status); }; } &&
36706 { ac_try='test -s conftest.$ac_objext'
36707 { (case "(($ac_try" in
36708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36709 *) ac_try_echo=$ac_try;;
36710 esac
36711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36712 (eval "$ac_try") 2>&5
36713 ac_status=$?
36714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36715 (exit $ac_status); }; }; then
36716 ac_cv_type_pid_t=yes
36717 else
36718 echo "$as_me: failed program was:" >&5
36719 sed 's/^/| /' conftest.$ac_ext >&5
36720
36721 ac_cv_type_pid_t=no
36722 fi
36723
36724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36725 fi
36726 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36727 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36728 if test $ac_cv_type_pid_t = yes; then
36729 :
36730 else
36731
36732 cat >>confdefs.h <<_ACEOF
36733 #define pid_t int
36734 _ACEOF
36735
36736 fi
36737
36738 { echo "$as_me:$LINENO: checking for size_t" >&5
36739 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36740 if test "${ac_cv_type_size_t+set}" = set; then
36741 echo $ECHO_N "(cached) $ECHO_C" >&6
36742 else
36743 cat >conftest.$ac_ext <<_ACEOF
36744 /* confdefs.h. */
36745 _ACEOF
36746 cat confdefs.h >>conftest.$ac_ext
36747 cat >>conftest.$ac_ext <<_ACEOF
36748 /* end confdefs.h. */
36749 $ac_includes_default
36750 typedef size_t ac__type_new_;
36751 int
36752 main ()
36753 {
36754 if ((ac__type_new_ *) 0)
36755 return 0;
36756 if (sizeof (ac__type_new_))
36757 return 0;
36758 ;
36759 return 0;
36760 }
36761 _ACEOF
36762 rm -f conftest.$ac_objext
36763 if { (ac_try="$ac_compile"
36764 case "(($ac_try" in
36765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36766 *) ac_try_echo=$ac_try;;
36767 esac
36768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36769 (eval "$ac_compile") 2>conftest.er1
36770 ac_status=$?
36771 grep -v '^ *+' conftest.er1 >conftest.err
36772 rm -f conftest.er1
36773 cat conftest.err >&5
36774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36775 (exit $ac_status); } &&
36776 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36777 { (case "(($ac_try" in
36778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36779 *) ac_try_echo=$ac_try;;
36780 esac
36781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36782 (eval "$ac_try") 2>&5
36783 ac_status=$?
36784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36785 (exit $ac_status); }; } &&
36786 { ac_try='test -s conftest.$ac_objext'
36787 { (case "(($ac_try" in
36788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36789 *) ac_try_echo=$ac_try;;
36790 esac
36791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36792 (eval "$ac_try") 2>&5
36793 ac_status=$?
36794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36795 (exit $ac_status); }; }; then
36796 ac_cv_type_size_t=yes
36797 else
36798 echo "$as_me: failed program was:" >&5
36799 sed 's/^/| /' conftest.$ac_ext >&5
36800
36801 ac_cv_type_size_t=no
36802 fi
36803
36804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36805 fi
36806 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36807 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36808 if test $ac_cv_type_size_t = yes; then
36809 :
36810 else
36811
36812 cat >>confdefs.h <<_ACEOF
36813 #define size_t unsigned int
36814 _ACEOF
36815
36816 fi
36817
36818 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36819 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36820 if test "${ac_cv_type_uid_t+set}" = set; then
36821 echo $ECHO_N "(cached) $ECHO_C" >&6
36822 else
36823 cat >conftest.$ac_ext <<_ACEOF
36824 /* confdefs.h. */
36825 _ACEOF
36826 cat confdefs.h >>conftest.$ac_ext
36827 cat >>conftest.$ac_ext <<_ACEOF
36828 /* end confdefs.h. */
36829 #include <sys/types.h>
36830
36831 _ACEOF
36832 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36833 $EGREP "uid_t" >/dev/null 2>&1; then
36834 ac_cv_type_uid_t=yes
36835 else
36836 ac_cv_type_uid_t=no
36837 fi
36838 rm -f conftest*
36839
36840 fi
36841 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36842 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36843 if test $ac_cv_type_uid_t = no; then
36844
36845 cat >>confdefs.h <<\_ACEOF
36846 #define uid_t int
36847 _ACEOF
36848
36849
36850 cat >>confdefs.h <<\_ACEOF
36851 #define gid_t int
36852 _ACEOF
36853
36854 fi
36855
36856
36857 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36858 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36859 if test "${ac_cv_type_ssize_t+set}" = set; then
36860 echo $ECHO_N "(cached) $ECHO_C" >&6
36861 else
36862 cat >conftest.$ac_ext <<_ACEOF
36863 /* confdefs.h. */
36864 _ACEOF
36865 cat confdefs.h >>conftest.$ac_ext
36866 cat >>conftest.$ac_ext <<_ACEOF
36867 /* end confdefs.h. */
36868 $ac_includes_default
36869 typedef ssize_t ac__type_new_;
36870 int
36871 main ()
36872 {
36873 if ((ac__type_new_ *) 0)
36874 return 0;
36875 if (sizeof (ac__type_new_))
36876 return 0;
36877 ;
36878 return 0;
36879 }
36880 _ACEOF
36881 rm -f conftest.$ac_objext
36882 if { (ac_try="$ac_compile"
36883 case "(($ac_try" in
36884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36885 *) ac_try_echo=$ac_try;;
36886 esac
36887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36888 (eval "$ac_compile") 2>conftest.er1
36889 ac_status=$?
36890 grep -v '^ *+' conftest.er1 >conftest.err
36891 rm -f conftest.er1
36892 cat conftest.err >&5
36893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36894 (exit $ac_status); } &&
36895 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36896 { (case "(($ac_try" in
36897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36898 *) ac_try_echo=$ac_try;;
36899 esac
36900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36901 (eval "$ac_try") 2>&5
36902 ac_status=$?
36903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36904 (exit $ac_status); }; } &&
36905 { ac_try='test -s conftest.$ac_objext'
36906 { (case "(($ac_try" in
36907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36908 *) ac_try_echo=$ac_try;;
36909 esac
36910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36911 (eval "$ac_try") 2>&5
36912 ac_status=$?
36913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36914 (exit $ac_status); }; }; then
36915 ac_cv_type_ssize_t=yes
36916 else
36917 echo "$as_me: failed program was:" >&5
36918 sed 's/^/| /' conftest.$ac_ext >&5
36919
36920 ac_cv_type_ssize_t=no
36921 fi
36922
36923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36924 fi
36925 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36926 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36927 if test $ac_cv_type_ssize_t = yes; then
36928
36929 cat >>confdefs.h <<_ACEOF
36930 #define HAVE_SSIZE_T 1
36931 _ACEOF
36932
36933
36934 fi
36935
36936
36937 ac_ext=cpp
36938 ac_cpp='$CXXCPP $CPPFLAGS'
36939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36942 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36943 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
36944 if test "${wx_cv_size_t_is_uint+set}" = set; then
36945 echo $ECHO_N "(cached) $ECHO_C" >&6
36946 else
36947
36948 cat >conftest.$ac_ext <<_ACEOF
36949 /* confdefs.h. */
36950 _ACEOF
36951 cat confdefs.h >>conftest.$ac_ext
36952 cat >>conftest.$ac_ext <<_ACEOF
36953 /* end confdefs.h. */
36954 #include <stddef.h>
36955 int
36956 main ()
36957 {
36958
36959 return 0; }
36960
36961 struct Foo { void foo(size_t); void foo(unsigned int); };
36962
36963 int bar() {
36964
36965 ;
36966 return 0;
36967 }
36968 _ACEOF
36969 rm -f conftest.$ac_objext
36970 if { (ac_try="$ac_compile"
36971 case "(($ac_try" in
36972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36973 *) ac_try_echo=$ac_try;;
36974 esac
36975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36976 (eval "$ac_compile") 2>conftest.er1
36977 ac_status=$?
36978 grep -v '^ *+' conftest.er1 >conftest.err
36979 rm -f conftest.er1
36980 cat conftest.err >&5
36981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36982 (exit $ac_status); } &&
36983 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36984 { (case "(($ac_try" in
36985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36986 *) ac_try_echo=$ac_try;;
36987 esac
36988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36989 (eval "$ac_try") 2>&5
36990 ac_status=$?
36991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36992 (exit $ac_status); }; } &&
36993 { ac_try='test -s conftest.$ac_objext'
36994 { (case "(($ac_try" in
36995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36996 *) ac_try_echo=$ac_try;;
36997 esac
36998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36999 (eval "$ac_try") 2>&5
37000 ac_status=$?
37001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37002 (exit $ac_status); }; }; then
37003 wx_cv_size_t_is_uint=no
37004 else
37005 echo "$as_me: failed program was:" >&5
37006 sed 's/^/| /' conftest.$ac_ext >&5
37007
37008 wx_cv_size_t_is_uint=yes
37009
37010 fi
37011
37012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37013
37014
37015 fi
37016 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
37017 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
37018
37019 if test "$wx_cv_size_t_is_uint" = "yes"; then
37020 cat >>confdefs.h <<\_ACEOF
37021 #define wxSIZE_T_IS_UINT 1
37022 _ACEOF
37023
37024 else
37025 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
37026 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
37027 if test "${wx_cv_size_t_is_ulong+set}" = set; then
37028 echo $ECHO_N "(cached) $ECHO_C" >&6
37029 else
37030 cat >conftest.$ac_ext <<_ACEOF
37031 /* confdefs.h. */
37032 _ACEOF
37033 cat confdefs.h >>conftest.$ac_ext
37034 cat >>conftest.$ac_ext <<_ACEOF
37035 /* end confdefs.h. */
37036 #include <stddef.h>
37037 int
37038 main ()
37039 {
37040
37041 return 0; }
37042
37043 struct Foo { void foo(size_t); void foo(unsigned long); };
37044
37045 int bar() {
37046
37047 ;
37048 return 0;
37049 }
37050 _ACEOF
37051 rm -f conftest.$ac_objext
37052 if { (ac_try="$ac_compile"
37053 case "(($ac_try" in
37054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37055 *) ac_try_echo=$ac_try;;
37056 esac
37057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37058 (eval "$ac_compile") 2>conftest.er1
37059 ac_status=$?
37060 grep -v '^ *+' conftest.er1 >conftest.err
37061 rm -f conftest.er1
37062 cat conftest.err >&5
37063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37064 (exit $ac_status); } &&
37065 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37066 { (case "(($ac_try" in
37067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37068 *) ac_try_echo=$ac_try;;
37069 esac
37070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37071 (eval "$ac_try") 2>&5
37072 ac_status=$?
37073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37074 (exit $ac_status); }; } &&
37075 { ac_try='test -s conftest.$ac_objext'
37076 { (case "(($ac_try" in
37077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37078 *) ac_try_echo=$ac_try;;
37079 esac
37080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37081 (eval "$ac_try") 2>&5
37082 ac_status=$?
37083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37084 (exit $ac_status); }; }; then
37085 wx_cv_size_t_is_ulong=no
37086 else
37087 echo "$as_me: failed program was:" >&5
37088 sed 's/^/| /' conftest.$ac_ext >&5
37089
37090 wx_cv_size_t_is_ulong=yes
37091
37092 fi
37093
37094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37095
37096 fi
37097 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
37098 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37099
37100 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37101 cat >>confdefs.h <<\_ACEOF
37102 #define wxSIZE_T_IS_ULONG 1
37103 _ACEOF
37104
37105 fi
37106 fi
37107
37108 ac_ext=c
37109 ac_cpp='$CPP $CPPFLAGS'
37110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37113
37114
37115 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37116 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37117 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37118 echo $ECHO_N "(cached) $ECHO_C" >&6
37119 else
37120
37121 cat >conftest.$ac_ext <<_ACEOF
37122 /* confdefs.h. */
37123 _ACEOF
37124 cat confdefs.h >>conftest.$ac_ext
37125 cat >>conftest.$ac_ext <<_ACEOF
37126 /* end confdefs.h. */
37127 #include <pwd.h>
37128 int
37129 main ()
37130 {
37131
37132 char *p;
37133 struct passwd *pw;
37134 p = pw->pw_gecos;
37135
37136 ;
37137 return 0;
37138 }
37139 _ACEOF
37140 rm -f conftest.$ac_objext
37141 if { (ac_try="$ac_compile"
37142 case "(($ac_try" in
37143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37144 *) ac_try_echo=$ac_try;;
37145 esac
37146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37147 (eval "$ac_compile") 2>conftest.er1
37148 ac_status=$?
37149 grep -v '^ *+' conftest.er1 >conftest.err
37150 rm -f conftest.er1
37151 cat conftest.err >&5
37152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37153 (exit $ac_status); } &&
37154 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37155 { (case "(($ac_try" in
37156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37157 *) ac_try_echo=$ac_try;;
37158 esac
37159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37160 (eval "$ac_try") 2>&5
37161 ac_status=$?
37162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37163 (exit $ac_status); }; } &&
37164 { ac_try='test -s conftest.$ac_objext'
37165 { (case "(($ac_try" in
37166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37167 *) ac_try_echo=$ac_try;;
37168 esac
37169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37170 (eval "$ac_try") 2>&5
37171 ac_status=$?
37172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37173 (exit $ac_status); }; }; then
37174
37175 wx_cv_struct_pw_gecos=yes
37176
37177 else
37178 echo "$as_me: failed program was:" >&5
37179 sed 's/^/| /' conftest.$ac_ext >&5
37180
37181
37182 wx_cv_struct_pw_gecos=no
37183
37184
37185 fi
37186
37187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37188
37189
37190 fi
37191 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37192 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37193
37194 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37195 cat >>confdefs.h <<\_ACEOF
37196 #define HAVE_PW_GECOS 1
37197 _ACEOF
37198
37199 fi
37200
37201
37202 if test "$wxUSE_WCHAR_T" = "yes"; then
37203 cat >>confdefs.h <<\_ACEOF
37204 #define wxUSE_WCHAR_T 1
37205 _ACEOF
37206
37207
37208 WCSLEN_FOUND=0
37209 WCHAR_LINK=
37210
37211 for ac_func in wcslen
37212 do
37213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37214 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37216 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37217 echo $ECHO_N "(cached) $ECHO_C" >&6
37218 else
37219 cat >conftest.$ac_ext <<_ACEOF
37220 /* confdefs.h. */
37221 _ACEOF
37222 cat confdefs.h >>conftest.$ac_ext
37223 cat >>conftest.$ac_ext <<_ACEOF
37224 /* end confdefs.h. */
37225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37227 #define $ac_func innocuous_$ac_func
37228
37229 /* System header to define __stub macros and hopefully few prototypes,
37230 which can conflict with char $ac_func (); below.
37231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37232 <limits.h> exists even on freestanding compilers. */
37233
37234 #ifdef __STDC__
37235 # include <limits.h>
37236 #else
37237 # include <assert.h>
37238 #endif
37239
37240 #undef $ac_func
37241
37242 /* Override any GCC internal prototype to avoid an error.
37243 Use char because int might match the return type of a GCC
37244 builtin and then its argument prototype would still apply. */
37245 #ifdef __cplusplus
37246 extern "C"
37247 #endif
37248 char $ac_func ();
37249 /* The GNU C library defines this for functions which it implements
37250 to always fail with ENOSYS. Some functions are actually named
37251 something starting with __ and the normal name is an alias. */
37252 #if defined __stub_$ac_func || defined __stub___$ac_func
37253 choke me
37254 #endif
37255
37256 int
37257 main ()
37258 {
37259 return $ac_func ();
37260 ;
37261 return 0;
37262 }
37263 _ACEOF
37264 rm -f conftest.$ac_objext conftest$ac_exeext
37265 if { (ac_try="$ac_link"
37266 case "(($ac_try" in
37267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37268 *) ac_try_echo=$ac_try;;
37269 esac
37270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37271 (eval "$ac_link") 2>conftest.er1
37272 ac_status=$?
37273 grep -v '^ *+' conftest.er1 >conftest.err
37274 rm -f conftest.er1
37275 cat conftest.err >&5
37276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37277 (exit $ac_status); } &&
37278 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37279 { (case "(($ac_try" in
37280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37281 *) ac_try_echo=$ac_try;;
37282 esac
37283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37284 (eval "$ac_try") 2>&5
37285 ac_status=$?
37286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37287 (exit $ac_status); }; } &&
37288 { ac_try='test -s conftest$ac_exeext'
37289 { (case "(($ac_try" in
37290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37291 *) ac_try_echo=$ac_try;;
37292 esac
37293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37294 (eval "$ac_try") 2>&5
37295 ac_status=$?
37296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37297 (exit $ac_status); }; }; then
37298 eval "$as_ac_var=yes"
37299 else
37300 echo "$as_me: failed program was:" >&5
37301 sed 's/^/| /' conftest.$ac_ext >&5
37302
37303 eval "$as_ac_var=no"
37304 fi
37305
37306 rm -f core conftest.err conftest.$ac_objext \
37307 conftest$ac_exeext conftest.$ac_ext
37308 fi
37309 ac_res=`eval echo '${'$as_ac_var'}'`
37310 { echo "$as_me:$LINENO: result: $ac_res" >&5
37311 echo "${ECHO_T}$ac_res" >&6; }
37312 if test `eval echo '${'$as_ac_var'}'` = yes; then
37313 cat >>confdefs.h <<_ACEOF
37314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37315 _ACEOF
37316 WCSLEN_FOUND=1
37317 fi
37318 done
37319
37320
37321 if test "$WCSLEN_FOUND" = 0; then
37322 if test "$TOOLKIT" = "MSW"; then
37323 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37324 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37325 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37326 echo $ECHO_N "(cached) $ECHO_C" >&6
37327 else
37328 ac_check_lib_save_LIBS=$LIBS
37329 LIBS="-lmsvcrt $LIBS"
37330 cat >conftest.$ac_ext <<_ACEOF
37331 /* confdefs.h. */
37332 _ACEOF
37333 cat confdefs.h >>conftest.$ac_ext
37334 cat >>conftest.$ac_ext <<_ACEOF
37335 /* end confdefs.h. */
37336
37337 /* Override any GCC internal prototype to avoid an error.
37338 Use char because int might match the return type of a GCC
37339 builtin and then its argument prototype would still apply. */
37340 #ifdef __cplusplus
37341 extern "C"
37342 #endif
37343 char wcslen ();
37344 int
37345 main ()
37346 {
37347 return wcslen ();
37348 ;
37349 return 0;
37350 }
37351 _ACEOF
37352 rm -f conftest.$ac_objext conftest$ac_exeext
37353 if { (ac_try="$ac_link"
37354 case "(($ac_try" in
37355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37356 *) ac_try_echo=$ac_try;;
37357 esac
37358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37359 (eval "$ac_link") 2>conftest.er1
37360 ac_status=$?
37361 grep -v '^ *+' conftest.er1 >conftest.err
37362 rm -f conftest.er1
37363 cat conftest.err >&5
37364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37365 (exit $ac_status); } &&
37366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37367 { (case "(($ac_try" in
37368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37369 *) ac_try_echo=$ac_try;;
37370 esac
37371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37372 (eval "$ac_try") 2>&5
37373 ac_status=$?
37374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37375 (exit $ac_status); }; } &&
37376 { ac_try='test -s conftest$ac_exeext'
37377 { (case "(($ac_try" in
37378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37379 *) ac_try_echo=$ac_try;;
37380 esac
37381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37382 (eval "$ac_try") 2>&5
37383 ac_status=$?
37384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37385 (exit $ac_status); }; }; then
37386 ac_cv_lib_msvcrt_wcslen=yes
37387 else
37388 echo "$as_me: failed program was:" >&5
37389 sed 's/^/| /' conftest.$ac_ext >&5
37390
37391 ac_cv_lib_msvcrt_wcslen=no
37392 fi
37393
37394 rm -f core conftest.err conftest.$ac_objext \
37395 conftest$ac_exeext conftest.$ac_ext
37396 LIBS=$ac_check_lib_save_LIBS
37397 fi
37398 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37399 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37400 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37401 WCHAR_OK=1
37402 fi
37403
37404 else
37405 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37406 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37407 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37408 echo $ECHO_N "(cached) $ECHO_C" >&6
37409 else
37410 ac_check_lib_save_LIBS=$LIBS
37411 LIBS="-lw $LIBS"
37412 cat >conftest.$ac_ext <<_ACEOF
37413 /* confdefs.h. */
37414 _ACEOF
37415 cat confdefs.h >>conftest.$ac_ext
37416 cat >>conftest.$ac_ext <<_ACEOF
37417 /* end confdefs.h. */
37418
37419 /* Override any GCC internal prototype to avoid an error.
37420 Use char because int might match the return type of a GCC
37421 builtin and then its argument prototype would still apply. */
37422 #ifdef __cplusplus
37423 extern "C"
37424 #endif
37425 char wcslen ();
37426 int
37427 main ()
37428 {
37429 return wcslen ();
37430 ;
37431 return 0;
37432 }
37433 _ACEOF
37434 rm -f conftest.$ac_objext conftest$ac_exeext
37435 if { (ac_try="$ac_link"
37436 case "(($ac_try" in
37437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37438 *) ac_try_echo=$ac_try;;
37439 esac
37440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37441 (eval "$ac_link") 2>conftest.er1
37442 ac_status=$?
37443 grep -v '^ *+' conftest.er1 >conftest.err
37444 rm -f conftest.er1
37445 cat conftest.err >&5
37446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37447 (exit $ac_status); } &&
37448 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37449 { (case "(($ac_try" in
37450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37451 *) ac_try_echo=$ac_try;;
37452 esac
37453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37454 (eval "$ac_try") 2>&5
37455 ac_status=$?
37456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37457 (exit $ac_status); }; } &&
37458 { ac_try='test -s conftest$ac_exeext'
37459 { (case "(($ac_try" in
37460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37461 *) ac_try_echo=$ac_try;;
37462 esac
37463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37464 (eval "$ac_try") 2>&5
37465 ac_status=$?
37466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37467 (exit $ac_status); }; }; then
37468 ac_cv_lib_w_wcslen=yes
37469 else
37470 echo "$as_me: failed program was:" >&5
37471 sed 's/^/| /' conftest.$ac_ext >&5
37472
37473 ac_cv_lib_w_wcslen=no
37474 fi
37475
37476 rm -f core conftest.err conftest.$ac_objext \
37477 conftest$ac_exeext conftest.$ac_ext
37478 LIBS=$ac_check_lib_save_LIBS
37479 fi
37480 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37481 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37482 if test $ac_cv_lib_w_wcslen = yes; then
37483
37484 WCHAR_LINK=" -lw"
37485 WCSLEN_FOUND=1
37486
37487 fi
37488
37489 fi
37490 fi
37491
37492 if test "$WCSLEN_FOUND" = 1; then
37493 cat >>confdefs.h <<\_ACEOF
37494 #define HAVE_WCSLEN 1
37495 _ACEOF
37496
37497 fi
37498
37499 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37500 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37501 fi
37502
37503 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37504 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37505 if test "${ac_cv_type_mbstate_t+set}" = set; then
37506 echo $ECHO_N "(cached) $ECHO_C" >&6
37507 else
37508 cat >conftest.$ac_ext <<_ACEOF
37509 /* confdefs.h. */
37510 _ACEOF
37511 cat confdefs.h >>conftest.$ac_ext
37512 cat >>conftest.$ac_ext <<_ACEOF
37513 /* end confdefs.h. */
37514 #include <wchar.h>
37515
37516 typedef mbstate_t ac__type_new_;
37517 int
37518 main ()
37519 {
37520 if ((ac__type_new_ *) 0)
37521 return 0;
37522 if (sizeof (ac__type_new_))
37523 return 0;
37524 ;
37525 return 0;
37526 }
37527 _ACEOF
37528 rm -f conftest.$ac_objext
37529 if { (ac_try="$ac_compile"
37530 case "(($ac_try" in
37531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37532 *) ac_try_echo=$ac_try;;
37533 esac
37534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37535 (eval "$ac_compile") 2>conftest.er1
37536 ac_status=$?
37537 grep -v '^ *+' conftest.er1 >conftest.err
37538 rm -f conftest.er1
37539 cat conftest.err >&5
37540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37541 (exit $ac_status); } &&
37542 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37543 { (case "(($ac_try" in
37544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37545 *) ac_try_echo=$ac_try;;
37546 esac
37547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37548 (eval "$ac_try") 2>&5
37549 ac_status=$?
37550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37551 (exit $ac_status); }; } &&
37552 { ac_try='test -s conftest.$ac_objext'
37553 { (case "(($ac_try" in
37554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37555 *) ac_try_echo=$ac_try;;
37556 esac
37557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37558 (eval "$ac_try") 2>&5
37559 ac_status=$?
37560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37561 (exit $ac_status); }; }; then
37562 ac_cv_type_mbstate_t=yes
37563 else
37564 echo "$as_me: failed program was:" >&5
37565 sed 's/^/| /' conftest.$ac_ext >&5
37566
37567 ac_cv_type_mbstate_t=no
37568 fi
37569
37570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37571 fi
37572 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37573 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37574 if test $ac_cv_type_mbstate_t = yes; then
37575
37576 cat >>confdefs.h <<_ACEOF
37577 #define HAVE_MBSTATE_T 1
37578 _ACEOF
37579
37580
37581 for ac_func in wcsrtombs
37582 do
37583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37584 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37586 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37587 echo $ECHO_N "(cached) $ECHO_C" >&6
37588 else
37589 cat >conftest.$ac_ext <<_ACEOF
37590 /* confdefs.h. */
37591 _ACEOF
37592 cat confdefs.h >>conftest.$ac_ext
37593 cat >>conftest.$ac_ext <<_ACEOF
37594 /* end confdefs.h. */
37595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37597 #define $ac_func innocuous_$ac_func
37598
37599 /* System header to define __stub macros and hopefully few prototypes,
37600 which can conflict with char $ac_func (); below.
37601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37602 <limits.h> exists even on freestanding compilers. */
37603
37604 #ifdef __STDC__
37605 # include <limits.h>
37606 #else
37607 # include <assert.h>
37608 #endif
37609
37610 #undef $ac_func
37611
37612 /* Override any GCC internal prototype to avoid an error.
37613 Use char because int might match the return type of a GCC
37614 builtin and then its argument prototype would still apply. */
37615 #ifdef __cplusplus
37616 extern "C"
37617 #endif
37618 char $ac_func ();
37619 /* The GNU C library defines this for functions which it implements
37620 to always fail with ENOSYS. Some functions are actually named
37621 something starting with __ and the normal name is an alias. */
37622 #if defined __stub_$ac_func || defined __stub___$ac_func
37623 choke me
37624 #endif
37625
37626 int
37627 main ()
37628 {
37629 return $ac_func ();
37630 ;
37631 return 0;
37632 }
37633 _ACEOF
37634 rm -f conftest.$ac_objext conftest$ac_exeext
37635 if { (ac_try="$ac_link"
37636 case "(($ac_try" in
37637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37638 *) ac_try_echo=$ac_try;;
37639 esac
37640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37641 (eval "$ac_link") 2>conftest.er1
37642 ac_status=$?
37643 grep -v '^ *+' conftest.er1 >conftest.err
37644 rm -f conftest.er1
37645 cat conftest.err >&5
37646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37647 (exit $ac_status); } &&
37648 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37649 { (case "(($ac_try" in
37650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37651 *) ac_try_echo=$ac_try;;
37652 esac
37653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37654 (eval "$ac_try") 2>&5
37655 ac_status=$?
37656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37657 (exit $ac_status); }; } &&
37658 { ac_try='test -s conftest$ac_exeext'
37659 { (case "(($ac_try" in
37660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37661 *) ac_try_echo=$ac_try;;
37662 esac
37663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37664 (eval "$ac_try") 2>&5
37665 ac_status=$?
37666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37667 (exit $ac_status); }; }; then
37668 eval "$as_ac_var=yes"
37669 else
37670 echo "$as_me: failed program was:" >&5
37671 sed 's/^/| /' conftest.$ac_ext >&5
37672
37673 eval "$as_ac_var=no"
37674 fi
37675
37676 rm -f core conftest.err conftest.$ac_objext \
37677 conftest$ac_exeext conftest.$ac_ext
37678 fi
37679 ac_res=`eval echo '${'$as_ac_var'}'`
37680 { echo "$as_me:$LINENO: result: $ac_res" >&5
37681 echo "${ECHO_T}$ac_res" >&6; }
37682 if test `eval echo '${'$as_ac_var'}'` = yes; then
37683 cat >>confdefs.h <<_ACEOF
37684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37685 _ACEOF
37686
37687 fi
37688 done
37689
37690 fi
37691
37692 else
37693 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37694 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37695 fi
37696
37697
37698
37699 for ac_func in snprintf vsnprintf
37700 do
37701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37702 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37704 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37705 echo $ECHO_N "(cached) $ECHO_C" >&6
37706 else
37707 cat >conftest.$ac_ext <<_ACEOF
37708 /* confdefs.h. */
37709 _ACEOF
37710 cat confdefs.h >>conftest.$ac_ext
37711 cat >>conftest.$ac_ext <<_ACEOF
37712 /* end confdefs.h. */
37713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37715 #define $ac_func innocuous_$ac_func
37716
37717 /* System header to define __stub macros and hopefully few prototypes,
37718 which can conflict with char $ac_func (); below.
37719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37720 <limits.h> exists even on freestanding compilers. */
37721
37722 #ifdef __STDC__
37723 # include <limits.h>
37724 #else
37725 # include <assert.h>
37726 #endif
37727
37728 #undef $ac_func
37729
37730 /* Override any GCC internal prototype to avoid an error.
37731 Use char because int might match the return type of a GCC
37732 builtin and then its argument prototype would still apply. */
37733 #ifdef __cplusplus
37734 extern "C"
37735 #endif
37736 char $ac_func ();
37737 /* The GNU C library defines this for functions which it implements
37738 to always fail with ENOSYS. Some functions are actually named
37739 something starting with __ and the normal name is an alias. */
37740 #if defined __stub_$ac_func || defined __stub___$ac_func
37741 choke me
37742 #endif
37743
37744 int
37745 main ()
37746 {
37747 return $ac_func ();
37748 ;
37749 return 0;
37750 }
37751 _ACEOF
37752 rm -f conftest.$ac_objext conftest$ac_exeext
37753 if { (ac_try="$ac_link"
37754 case "(($ac_try" in
37755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37756 *) ac_try_echo=$ac_try;;
37757 esac
37758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37759 (eval "$ac_link") 2>conftest.er1
37760 ac_status=$?
37761 grep -v '^ *+' conftest.er1 >conftest.err
37762 rm -f conftest.er1
37763 cat conftest.err >&5
37764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37765 (exit $ac_status); } &&
37766 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37767 { (case "(($ac_try" in
37768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37769 *) ac_try_echo=$ac_try;;
37770 esac
37771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37772 (eval "$ac_try") 2>&5
37773 ac_status=$?
37774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37775 (exit $ac_status); }; } &&
37776 { ac_try='test -s conftest$ac_exeext'
37777 { (case "(($ac_try" in
37778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37779 *) ac_try_echo=$ac_try;;
37780 esac
37781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37782 (eval "$ac_try") 2>&5
37783 ac_status=$?
37784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37785 (exit $ac_status); }; }; then
37786 eval "$as_ac_var=yes"
37787 else
37788 echo "$as_me: failed program was:" >&5
37789 sed 's/^/| /' conftest.$ac_ext >&5
37790
37791 eval "$as_ac_var=no"
37792 fi
37793
37794 rm -f core conftest.err conftest.$ac_objext \
37795 conftest$ac_exeext conftest.$ac_ext
37796 fi
37797 ac_res=`eval echo '${'$as_ac_var'}'`
37798 { echo "$as_me:$LINENO: result: $ac_res" >&5
37799 echo "${ECHO_T}$ac_res" >&6; }
37800 if test `eval echo '${'$as_ac_var'}'` = yes; then
37801 cat >>confdefs.h <<_ACEOF
37802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37803 _ACEOF
37804
37805 fi
37806 done
37807
37808
37809 if test "$ac_cv_func_vsnprintf" = "yes"; then
37810 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37811 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37812 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37813 echo $ECHO_N "(cached) $ECHO_C" >&6
37814 else
37815
37816 cat >conftest.$ac_ext <<_ACEOF
37817 /* confdefs.h. */
37818 _ACEOF
37819 cat confdefs.h >>conftest.$ac_ext
37820 cat >>conftest.$ac_ext <<_ACEOF
37821 /* end confdefs.h. */
37822
37823 #include <stdio.h>
37824 #include <stdarg.h>
37825 #ifdef __MSL__
37826 #if __MSL__ >= 0x6000
37827 namespace std {}
37828 using namespace std;
37829 #endif
37830 #endif
37831
37832 int
37833 main ()
37834 {
37835
37836 char *buf;
37837 va_list ap;
37838 vsnprintf(buf, 10u, "%s", ap);
37839
37840 ;
37841 return 0;
37842 }
37843 _ACEOF
37844 rm -f conftest.$ac_objext
37845 if { (ac_try="$ac_compile"
37846 case "(($ac_try" in
37847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37848 *) ac_try_echo=$ac_try;;
37849 esac
37850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37851 (eval "$ac_compile") 2>conftest.er1
37852 ac_status=$?
37853 grep -v '^ *+' conftest.er1 >conftest.err
37854 rm -f conftest.er1
37855 cat conftest.err >&5
37856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37857 (exit $ac_status); } &&
37858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37859 { (case "(($ac_try" in
37860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37861 *) ac_try_echo=$ac_try;;
37862 esac
37863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37864 (eval "$ac_try") 2>&5
37865 ac_status=$?
37866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37867 (exit $ac_status); }; } &&
37868 { ac_try='test -s conftest.$ac_objext'
37869 { (case "(($ac_try" in
37870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37871 *) ac_try_echo=$ac_try;;
37872 esac
37873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37874 (eval "$ac_try") 2>&5
37875 ac_status=$?
37876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37877 (exit $ac_status); }; }; then
37878 wx_cv_func_vsnprintf_decl=yes
37879 else
37880 echo "$as_me: failed program was:" >&5
37881 sed 's/^/| /' conftest.$ac_ext >&5
37882
37883 wx_cv_func_vsnprintf_decl=no
37884
37885 fi
37886
37887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37888
37889
37890 fi
37891 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37892 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37893
37894 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37895 cat >>confdefs.h <<\_ACEOF
37896 #define HAVE_VSNPRINTF_DECL 1
37897 _ACEOF
37898
37899
37900 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37901 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37902 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37903 echo $ECHO_N "(cached) $ECHO_C" >&6
37904 else
37905
37906 cat >conftest.$ac_ext <<_ACEOF
37907 /* confdefs.h. */
37908 _ACEOF
37909 cat confdefs.h >>conftest.$ac_ext
37910 cat >>conftest.$ac_ext <<_ACEOF
37911 /* end confdefs.h. */
37912
37913 #include <stdio.h>
37914 #include <stdarg.h>
37915 #ifdef __MSL__
37916 #if __MSL__ >= 0x6000
37917 namespace std {}
37918 using namespace std;
37919 #endif
37920 #endif
37921
37922 int
37923 main ()
37924 {
37925
37926 char *buf;
37927 va_list ap;
37928 const char *fmt = "%s";
37929 vsnprintf(buf, 10u, fmt, ap);
37930
37931 ;
37932 return 0;
37933 }
37934 _ACEOF
37935 rm -f conftest.$ac_objext
37936 if { (ac_try="$ac_compile"
37937 case "(($ac_try" in
37938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37939 *) ac_try_echo=$ac_try;;
37940 esac
37941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37942 (eval "$ac_compile") 2>conftest.er1
37943 ac_status=$?
37944 grep -v '^ *+' conftest.er1 >conftest.err
37945 rm -f conftest.er1
37946 cat conftest.err >&5
37947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37948 (exit $ac_status); } &&
37949 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37950 { (case "(($ac_try" in
37951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37952 *) ac_try_echo=$ac_try;;
37953 esac
37954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37955 (eval "$ac_try") 2>&5
37956 ac_status=$?
37957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37958 (exit $ac_status); }; } &&
37959 { ac_try='test -s conftest.$ac_objext'
37960 { (case "(($ac_try" in
37961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37962 *) ac_try_echo=$ac_try;;
37963 esac
37964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37965 (eval "$ac_try") 2>&5
37966 ac_status=$?
37967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37968 (exit $ac_status); }; }; then
37969 wx_cv_func_broken_vsnprintf_decl=no
37970 else
37971 echo "$as_me: failed program was:" >&5
37972 sed 's/^/| /' conftest.$ac_ext >&5
37973
37974 wx_cv_func_broken_vsnprintf_decl=yes
37975
37976 fi
37977
37978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37979
37980
37981 fi
37982 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37983 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37984
37985 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37986 cat >>confdefs.h <<\_ACEOF
37987 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37988 _ACEOF
37989
37990 fi
37991 fi
37992 fi
37993
37994 if test "$ac_cv_func_snprintf" = "yes"; then
37995 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37996 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37997 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37998 echo $ECHO_N "(cached) $ECHO_C" >&6
37999 else
38000
38001 cat >conftest.$ac_ext <<_ACEOF
38002 /* confdefs.h. */
38003 _ACEOF
38004 cat confdefs.h >>conftest.$ac_ext
38005 cat >>conftest.$ac_ext <<_ACEOF
38006 /* end confdefs.h. */
38007
38008 #include <stdio.h>
38009 #include <stdarg.h>
38010 #ifdef __MSL__
38011 #if __MSL__ >= 0x6000
38012 namespace std {}
38013 using namespace std;
38014 #endif
38015 #endif
38016
38017 int
38018 main ()
38019 {
38020
38021 char *buf;
38022 snprintf(buf, 10u, "%s", "wx");
38023
38024 ;
38025 return 0;
38026 }
38027 _ACEOF
38028 rm -f conftest.$ac_objext
38029 if { (ac_try="$ac_compile"
38030 case "(($ac_try" in
38031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38032 *) ac_try_echo=$ac_try;;
38033 esac
38034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38035 (eval "$ac_compile") 2>conftest.er1
38036 ac_status=$?
38037 grep -v '^ *+' conftest.er1 >conftest.err
38038 rm -f conftest.er1
38039 cat conftest.err >&5
38040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38041 (exit $ac_status); } &&
38042 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38043 { (case "(($ac_try" in
38044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38045 *) ac_try_echo=$ac_try;;
38046 esac
38047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38048 (eval "$ac_try") 2>&5
38049 ac_status=$?
38050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38051 (exit $ac_status); }; } &&
38052 { ac_try='test -s conftest.$ac_objext'
38053 { (case "(($ac_try" in
38054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38055 *) ac_try_echo=$ac_try;;
38056 esac
38057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38058 (eval "$ac_try") 2>&5
38059 ac_status=$?
38060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38061 (exit $ac_status); }; }; then
38062 wx_cv_func_snprintf_decl=yes
38063 else
38064 echo "$as_me: failed program was:" >&5
38065 sed 's/^/| /' conftest.$ac_ext >&5
38066
38067 wx_cv_func_snprintf_decl=no
38068
38069 fi
38070
38071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38072
38073
38074 fi
38075 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
38076 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38077
38078 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38079 cat >>confdefs.h <<\_ACEOF
38080 #define HAVE_SNPRINTF_DECL 1
38081 _ACEOF
38082
38083
38084 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
38085 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
38086 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
38087 echo $ECHO_N "(cached) $ECHO_C" >&6
38088 else
38089
38090 cat >conftest.$ac_ext <<_ACEOF
38091 /* confdefs.h. */
38092 _ACEOF
38093 cat confdefs.h >>conftest.$ac_ext
38094 cat >>conftest.$ac_ext <<_ACEOF
38095 /* end confdefs.h. */
38096
38097 #include <stdio.h>
38098 #include <stdarg.h>
38099 #ifdef __MSL__
38100 #if __MSL__ >= 0x6000
38101 namespace std {}
38102 using namespace std;
38103 #endif
38104 #endif
38105
38106 int
38107 main ()
38108 {
38109
38110 char *buf;
38111 const char *fmt = "%s";
38112 snprintf(buf, 10u, fmt, "wx");
38113
38114 ;
38115 return 0;
38116 }
38117 _ACEOF
38118 rm -f conftest.$ac_objext
38119 if { (ac_try="$ac_compile"
38120 case "(($ac_try" in
38121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38122 *) ac_try_echo=$ac_try;;
38123 esac
38124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38125 (eval "$ac_compile") 2>conftest.er1
38126 ac_status=$?
38127 grep -v '^ *+' conftest.er1 >conftest.err
38128 rm -f conftest.er1
38129 cat conftest.err >&5
38130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38131 (exit $ac_status); } &&
38132 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38133 { (case "(($ac_try" in
38134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38135 *) ac_try_echo=$ac_try;;
38136 esac
38137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38138 (eval "$ac_try") 2>&5
38139 ac_status=$?
38140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38141 (exit $ac_status); }; } &&
38142 { ac_try='test -s conftest.$ac_objext'
38143 { (case "(($ac_try" in
38144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38145 *) ac_try_echo=$ac_try;;
38146 esac
38147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38148 (eval "$ac_try") 2>&5
38149 ac_status=$?
38150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38151 (exit $ac_status); }; }; then
38152 wx_cv_func_broken_snprintf_decl=no
38153 else
38154 echo "$as_me: failed program was:" >&5
38155 sed 's/^/| /' conftest.$ac_ext >&5
38156
38157 wx_cv_func_broken_snprintf_decl=yes
38158
38159 fi
38160
38161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38162
38163
38164 fi
38165 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
38166 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
38167
38168 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
38169 cat >>confdefs.h <<\_ACEOF
38170 #define HAVE_BROKEN_SNPRINTF_DECL 1
38171 _ACEOF
38172
38173 fi
38174 fi
38175
38176 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38177
38178 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
38179 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
38180 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38181 echo $ECHO_N "(cached) $ECHO_C" >&6
38182 else
38183
38184 if test "$cross_compiling" = yes; then
38185
38186 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
38187 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
38188 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
38189 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
38190 wx_cv_func_snprintf_pos_params=no
38191
38192
38193 else
38194 cat >conftest.$ac_ext <<_ACEOF
38195 /* confdefs.h. */
38196 _ACEOF
38197 cat confdefs.h >>conftest.$ac_ext
38198 cat >>conftest.$ac_ext <<_ACEOF
38199 /* end confdefs.h. */
38200
38201 #include <stdio.h>
38202
38203 int main (void)
38204 {
38205 char buffer[128];
38206 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38207 if (strcmp ("2 3 1", buffer) == 0)
38208 exit (0);
38209 exit (1);
38210 }
38211
38212 _ACEOF
38213 rm -f conftest$ac_exeext
38214 if { (ac_try="$ac_link"
38215 case "(($ac_try" in
38216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38217 *) ac_try_echo=$ac_try;;
38218 esac
38219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38220 (eval "$ac_link") 2>&5
38221 ac_status=$?
38222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38223 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38224 { (case "(($ac_try" in
38225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38226 *) ac_try_echo=$ac_try;;
38227 esac
38228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38229 (eval "$ac_try") 2>&5
38230 ac_status=$?
38231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38232 (exit $ac_status); }; }; then
38233 wx_cv_func_snprintf_pos_params=no
38234 else
38235 echo "$as_me: program exited with status $ac_status" >&5
38236 echo "$as_me: failed program was:" >&5
38237 sed 's/^/| /' conftest.$ac_ext >&5
38238
38239 ( exit $ac_status )
38240 wx_cv_func_snprintf_pos_params=yes
38241 fi
38242 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38243 fi
38244
38245
38246
38247
38248 fi
38249 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38250 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38251
38252 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38253 cat >>confdefs.h <<\_ACEOF
38254 #define HAVE_UNIX98_PRINTF 1
38255 _ACEOF
38256
38257 fi
38258 fi
38259 fi
38260
38261 if test "$wxUSE_UNICODE" = yes; then
38262
38263
38264 for ac_func in swprintf
38265 do
38266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38267 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38269 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38270 echo $ECHO_N "(cached) $ECHO_C" >&6
38271 else
38272 cat >conftest.$ac_ext <<_ACEOF
38273 /* confdefs.h. */
38274 _ACEOF
38275 cat confdefs.h >>conftest.$ac_ext
38276 cat >>conftest.$ac_ext <<_ACEOF
38277 /* end confdefs.h. */
38278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38280 #define $ac_func innocuous_$ac_func
38281
38282 /* System header to define __stub macros and hopefully few prototypes,
38283 which can conflict with char $ac_func (); below.
38284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38285 <limits.h> exists even on freestanding compilers. */
38286
38287 #ifdef __STDC__
38288 # include <limits.h>
38289 #else
38290 # include <assert.h>
38291 #endif
38292
38293 #undef $ac_func
38294
38295 /* Override any GCC internal prototype to avoid an error.
38296 Use char because int might match the return type of a GCC
38297 builtin and then its argument prototype would still apply. */
38298 #ifdef __cplusplus
38299 extern "C"
38300 #endif
38301 char $ac_func ();
38302 /* The GNU C library defines this for functions which it implements
38303 to always fail with ENOSYS. Some functions are actually named
38304 something starting with __ and the normal name is an alias. */
38305 #if defined __stub_$ac_func || defined __stub___$ac_func
38306 choke me
38307 #endif
38308
38309 int
38310 main ()
38311 {
38312 return $ac_func ();
38313 ;
38314 return 0;
38315 }
38316 _ACEOF
38317 rm -f conftest.$ac_objext conftest$ac_exeext
38318 if { (ac_try="$ac_link"
38319 case "(($ac_try" in
38320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38321 *) ac_try_echo=$ac_try;;
38322 esac
38323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38324 (eval "$ac_link") 2>conftest.er1
38325 ac_status=$?
38326 grep -v '^ *+' conftest.er1 >conftest.err
38327 rm -f conftest.er1
38328 cat conftest.err >&5
38329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38330 (exit $ac_status); } &&
38331 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38332 { (case "(($ac_try" in
38333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38334 *) ac_try_echo=$ac_try;;
38335 esac
38336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38337 (eval "$ac_try") 2>&5
38338 ac_status=$?
38339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38340 (exit $ac_status); }; } &&
38341 { ac_try='test -s conftest$ac_exeext'
38342 { (case "(($ac_try" in
38343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38344 *) ac_try_echo=$ac_try;;
38345 esac
38346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38347 (eval "$ac_try") 2>&5
38348 ac_status=$?
38349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38350 (exit $ac_status); }; }; then
38351 eval "$as_ac_var=yes"
38352 else
38353 echo "$as_me: failed program was:" >&5
38354 sed 's/^/| /' conftest.$ac_ext >&5
38355
38356 eval "$as_ac_var=no"
38357 fi
38358
38359 rm -f core conftest.err conftest.$ac_objext \
38360 conftest$ac_exeext conftest.$ac_ext
38361 fi
38362 ac_res=`eval echo '${'$as_ac_var'}'`
38363 { echo "$as_me:$LINENO: result: $ac_res" >&5
38364 echo "${ECHO_T}$ac_res" >&6; }
38365 if test `eval echo '${'$as_ac_var'}'` = yes; then
38366 cat >>confdefs.h <<_ACEOF
38367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38368 _ACEOF
38369
38370 fi
38371 done
38372
38373
38374 if test "$ac_cv_func_swprintf" = "yes"; then
38375 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
38376 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
38377 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
38378 echo $ECHO_N "(cached) $ECHO_C" >&6
38379 else
38380
38381 cat >conftest.$ac_ext <<_ACEOF
38382 /* confdefs.h. */
38383 _ACEOF
38384 cat confdefs.h >>conftest.$ac_ext
38385 cat >>conftest.$ac_ext <<_ACEOF
38386 /* end confdefs.h. */
38387
38388 #include <stdio.h>
38389 #include <stdarg.h>
38390 #include <wchar.h>
38391
38392 int
38393 main ()
38394 {
38395
38396 wchar_t *buf;
38397 const wchar_t *fmt = L"test";
38398 swprintf(buf, 10u, fmt);
38399
38400 ;
38401 return 0;
38402 }
38403 _ACEOF
38404 rm -f conftest.$ac_objext
38405 if { (ac_try="$ac_compile"
38406 case "(($ac_try" in
38407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38408 *) ac_try_echo=$ac_try;;
38409 esac
38410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38411 (eval "$ac_compile") 2>conftest.er1
38412 ac_status=$?
38413 grep -v '^ *+' conftest.er1 >conftest.err
38414 rm -f conftest.er1
38415 cat conftest.err >&5
38416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38417 (exit $ac_status); } &&
38418 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38419 { (case "(($ac_try" in
38420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38421 *) ac_try_echo=$ac_try;;
38422 esac
38423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38424 (eval "$ac_try") 2>&5
38425 ac_status=$?
38426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38427 (exit $ac_status); }; } &&
38428 { ac_try='test -s conftest.$ac_objext'
38429 { (case "(($ac_try" in
38430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38431 *) ac_try_echo=$ac_try;;
38432 esac
38433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38434 (eval "$ac_try") 2>&5
38435 ac_status=$?
38436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38437 (exit $ac_status); }; }; then
38438 wx_cv_func_broken_swprintf_decl=no
38439 else
38440 echo "$as_me: failed program was:" >&5
38441 sed 's/^/| /' conftest.$ac_ext >&5
38442
38443 wx_cv_func_broken_swprintf_decl=yes
38444
38445 fi
38446
38447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38448
38449
38450 fi
38451 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
38452 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38453
38454 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38455 cat >>confdefs.h <<\_ACEOF
38456 #define HAVE_BROKEN_SWPRINTF_DECL 1
38457 _ACEOF
38458
38459 fi
38460 fi
38461
38462 wchar_headers="#include <stdio.h>
38463 #include <wchar.h>"
38464 case "${host}" in
38465 *-*-solaris2* )
38466 { echo "$as_me:$LINENO: checking for widec.h" >&5
38467 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
38468 if test "${ac_cv_header_widec_h+set}" = set; then
38469 echo $ECHO_N "(cached) $ECHO_C" >&6
38470 else
38471 cat >conftest.$ac_ext <<_ACEOF
38472 /* confdefs.h. */
38473 _ACEOF
38474 cat confdefs.h >>conftest.$ac_ext
38475 cat >>conftest.$ac_ext <<_ACEOF
38476 /* end confdefs.h. */
38477 $ac_includes_default
38478
38479 #include <widec.h>
38480 _ACEOF
38481 rm -f conftest.$ac_objext
38482 if { (ac_try="$ac_compile"
38483 case "(($ac_try" in
38484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38485 *) ac_try_echo=$ac_try;;
38486 esac
38487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38488 (eval "$ac_compile") 2>conftest.er1
38489 ac_status=$?
38490 grep -v '^ *+' conftest.er1 >conftest.err
38491 rm -f conftest.er1
38492 cat conftest.err >&5
38493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38494 (exit $ac_status); } &&
38495 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38496 { (case "(($ac_try" in
38497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38498 *) ac_try_echo=$ac_try;;
38499 esac
38500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38501 (eval "$ac_try") 2>&5
38502 ac_status=$?
38503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38504 (exit $ac_status); }; } &&
38505 { ac_try='test -s conftest.$ac_objext'
38506 { (case "(($ac_try" in
38507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38508 *) ac_try_echo=$ac_try;;
38509 esac
38510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38511 (eval "$ac_try") 2>&5
38512 ac_status=$?
38513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38514 (exit $ac_status); }; }; then
38515 ac_cv_header_widec_h=yes
38516 else
38517 echo "$as_me: failed program was:" >&5
38518 sed 's/^/| /' conftest.$ac_ext >&5
38519
38520 ac_cv_header_widec_h=no
38521 fi
38522
38523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38524 fi
38525 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
38526 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
38527
38528
38529 if test "$ac_cv_header_widec_h" = "yes"; then
38530 wchar_headers="$wchar_headers
38531 #include <widec.h>"
38532 fi
38533 esac
38534
38535
38536 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38537 do
38538 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38539 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38540 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38541 echo $ECHO_N "(cached) $ECHO_C" >&6
38542 else
38543
38544 cat >conftest.$ac_ext <<_ACEOF
38545
38546 /* confdefs.h. */
38547 _ACEOF
38548 cat confdefs.h >>conftest.$ac_ext
38549 cat >>conftest.$ac_ext <<_ACEOF
38550 /* end confdefs.h. */
38551
38552 $wchar_headers
38553 $ac_includes_default
38554
38555 int
38556 main ()
38557 {
38558
38559 #ifndef $wx_func
38560 &$wx_func;
38561 #endif
38562
38563
38564 ;
38565 return 0;
38566 }
38567
38568 _ACEOF
38569 rm -f conftest.$ac_objext conftest$ac_exeext
38570 if { (ac_try="$ac_link"
38571 case "(($ac_try" in
38572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38573 *) ac_try_echo=$ac_try;;
38574 esac
38575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38576 (eval "$ac_link") 2>conftest.er1
38577 ac_status=$?
38578 grep -v '^ *+' conftest.er1 >conftest.err
38579 rm -f conftest.er1
38580 cat conftest.err >&5
38581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38582 (exit $ac_status); } &&
38583 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38584 { (case "(($ac_try" in
38585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38586 *) ac_try_echo=$ac_try;;
38587 esac
38588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38589 (eval "$ac_try") 2>&5
38590 ac_status=$?
38591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38592 (exit $ac_status); }; } &&
38593 { ac_try='test -s conftest$ac_exeext'
38594 { (case "(($ac_try" in
38595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38596 *) ac_try_echo=$ac_try;;
38597 esac
38598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38599 (eval "$ac_try") 2>&5
38600 ac_status=$?
38601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38602 (exit $ac_status); }; }; then
38603 eval wx_cv_func_$wx_func=yes
38604 else
38605 echo "$as_me: failed program was:" >&5
38606 sed 's/^/| /' conftest.$ac_ext >&5
38607
38608 eval wx_cv_func_$wx_func=no
38609 fi
38610
38611 rm -f core conftest.err conftest.$ac_objext \
38612 conftest$ac_exeext conftest.$ac_ext
38613
38614 fi
38615 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38616 { echo "$as_me:$LINENO: result: $ac_res" >&5
38617 echo "${ECHO_T}$ac_res" >&6; }
38618
38619 if eval test \$wx_cv_func_$wx_func = yes
38620 then
38621 cat >>confdefs.h <<_ACEOF
38622 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38623 _ACEOF
38624
38625
38626 else
38627 :
38628
38629 fi
38630 done
38631
38632
38633 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38634 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38635 cat >conftest.$ac_ext <<_ACEOF
38636 /* confdefs.h. */
38637 _ACEOF
38638 cat confdefs.h >>conftest.$ac_ext
38639 cat >>conftest.$ac_ext <<_ACEOF
38640 /* end confdefs.h. */
38641 #include <wchar.h>
38642 int
38643 main ()
38644 {
38645 &_vsnwprintf;
38646 ;
38647 return 0;
38648 }
38649 _ACEOF
38650 rm -f conftest.$ac_objext
38651 if { (ac_try="$ac_compile"
38652 case "(($ac_try" in
38653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38654 *) ac_try_echo=$ac_try;;
38655 esac
38656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38657 (eval "$ac_compile") 2>conftest.er1
38658 ac_status=$?
38659 grep -v '^ *+' conftest.er1 >conftest.err
38660 rm -f conftest.er1
38661 cat conftest.err >&5
38662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38663 (exit $ac_status); } &&
38664 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38665 { (case "(($ac_try" in
38666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38667 *) ac_try_echo=$ac_try;;
38668 esac
38669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38670 (eval "$ac_try") 2>&5
38671 ac_status=$?
38672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38673 (exit $ac_status); }; } &&
38674 { ac_try='test -s conftest.$ac_objext'
38675 { (case "(($ac_try" in
38676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38677 *) ac_try_echo=$ac_try;;
38678 esac
38679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38680 (eval "$ac_try") 2>&5
38681 ac_status=$?
38682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38683 (exit $ac_status); }; }; then
38684 { echo "$as_me:$LINENO: result: yes" >&5
38685 echo "${ECHO_T}yes" >&6; }
38686 cat >>confdefs.h <<\_ACEOF
38687 #define HAVE__VSNWPRINTF 1
38688 _ACEOF
38689
38690 else
38691 echo "$as_me: failed program was:" >&5
38692 sed 's/^/| /' conftest.$ac_ext >&5
38693
38694 { echo "$as_me:$LINENO: result: no" >&5
38695 echo "${ECHO_T}no" >&6; }
38696 fi
38697
38698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38699 fi
38700
38701 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38702
38703 for wx_func in fnmatch
38704 do
38705 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38706 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38707 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38708 echo $ECHO_N "(cached) $ECHO_C" >&6
38709 else
38710
38711 cat >conftest.$ac_ext <<_ACEOF
38712
38713 /* confdefs.h. */
38714 _ACEOF
38715 cat confdefs.h >>conftest.$ac_ext
38716 cat >>conftest.$ac_ext <<_ACEOF
38717 /* end confdefs.h. */
38718
38719 #include <fnmatch.h>
38720 $ac_includes_default
38721
38722 int
38723 main ()
38724 {
38725
38726 #ifndef $wx_func
38727 &$wx_func;
38728 #endif
38729
38730
38731 ;
38732 return 0;
38733 }
38734
38735 _ACEOF
38736 rm -f conftest.$ac_objext conftest$ac_exeext
38737 if { (ac_try="$ac_link"
38738 case "(($ac_try" in
38739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38740 *) ac_try_echo=$ac_try;;
38741 esac
38742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38743 (eval "$ac_link") 2>conftest.er1
38744 ac_status=$?
38745 grep -v '^ *+' conftest.er1 >conftest.err
38746 rm -f conftest.er1
38747 cat conftest.err >&5
38748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38749 (exit $ac_status); } &&
38750 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38751 { (case "(($ac_try" in
38752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38753 *) ac_try_echo=$ac_try;;
38754 esac
38755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38756 (eval "$ac_try") 2>&5
38757 ac_status=$?
38758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38759 (exit $ac_status); }; } &&
38760 { ac_try='test -s conftest$ac_exeext'
38761 { (case "(($ac_try" in
38762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38763 *) ac_try_echo=$ac_try;;
38764 esac
38765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38766 (eval "$ac_try") 2>&5
38767 ac_status=$?
38768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38769 (exit $ac_status); }; }; then
38770 eval wx_cv_func_$wx_func=yes
38771 else
38772 echo "$as_me: failed program was:" >&5
38773 sed 's/^/| /' conftest.$ac_ext >&5
38774
38775 eval wx_cv_func_$wx_func=no
38776 fi
38777
38778 rm -f core conftest.err conftest.$ac_objext \
38779 conftest$ac_exeext conftest.$ac_ext
38780
38781 fi
38782 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38783 { echo "$as_me:$LINENO: result: $ac_res" >&5
38784 echo "${ECHO_T}$ac_res" >&6; }
38785
38786 if eval test \$wx_cv_func_$wx_func = yes
38787 then
38788 cat >>confdefs.h <<_ACEOF
38789 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38790 _ACEOF
38791
38792
38793 else
38794 :
38795
38796 fi
38797 done
38798
38799 fi
38800
38801 if test "$wxUSE_FILE" = "yes"; then
38802
38803 for wx_func in fsync
38804 do
38805 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38806 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38807 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38808 echo $ECHO_N "(cached) $ECHO_C" >&6
38809 else
38810
38811 cat >conftest.$ac_ext <<_ACEOF
38812
38813 /* confdefs.h. */
38814 _ACEOF
38815 cat confdefs.h >>conftest.$ac_ext
38816 cat >>conftest.$ac_ext <<_ACEOF
38817 /* end confdefs.h. */
38818
38819
38820 $ac_includes_default
38821
38822 int
38823 main ()
38824 {
38825
38826 #ifndef $wx_func
38827 &$wx_func;
38828 #endif
38829
38830
38831 ;
38832 return 0;
38833 }
38834
38835 _ACEOF
38836 rm -f conftest.$ac_objext conftest$ac_exeext
38837 if { (ac_try="$ac_link"
38838 case "(($ac_try" in
38839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38840 *) ac_try_echo=$ac_try;;
38841 esac
38842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38843 (eval "$ac_link") 2>conftest.er1
38844 ac_status=$?
38845 grep -v '^ *+' conftest.er1 >conftest.err
38846 rm -f conftest.er1
38847 cat conftest.err >&5
38848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38849 (exit $ac_status); } &&
38850 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38851 { (case "(($ac_try" in
38852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38853 *) ac_try_echo=$ac_try;;
38854 esac
38855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38856 (eval "$ac_try") 2>&5
38857 ac_status=$?
38858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38859 (exit $ac_status); }; } &&
38860 { ac_try='test -s conftest$ac_exeext'
38861 { (case "(($ac_try" in
38862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38863 *) ac_try_echo=$ac_try;;
38864 esac
38865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38866 (eval "$ac_try") 2>&5
38867 ac_status=$?
38868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38869 (exit $ac_status); }; }; then
38870 eval wx_cv_func_$wx_func=yes
38871 else
38872 echo "$as_me: failed program was:" >&5
38873 sed 's/^/| /' conftest.$ac_ext >&5
38874
38875 eval wx_cv_func_$wx_func=no
38876 fi
38877
38878 rm -f core conftest.err conftest.$ac_objext \
38879 conftest$ac_exeext conftest.$ac_ext
38880
38881 fi
38882 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38883 { echo "$as_me:$LINENO: result: $ac_res" >&5
38884 echo "${ECHO_T}$ac_res" >&6; }
38885
38886 if eval test \$wx_cv_func_$wx_func = yes
38887 then
38888 cat >>confdefs.h <<_ACEOF
38889 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38890 _ACEOF
38891
38892
38893 else
38894 :
38895
38896 fi
38897 done
38898
38899 fi
38900
38901
38902 for wx_func in round
38903 do
38904 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38905 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38906 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38907 echo $ECHO_N "(cached) $ECHO_C" >&6
38908 else
38909
38910 cat >conftest.$ac_ext <<_ACEOF
38911
38912 /* confdefs.h. */
38913 _ACEOF
38914 cat confdefs.h >>conftest.$ac_ext
38915 cat >>conftest.$ac_ext <<_ACEOF
38916 /* end confdefs.h. */
38917
38918 #include <math.h>
38919 $ac_includes_default
38920
38921 int
38922 main ()
38923 {
38924
38925 #ifndef $wx_func
38926 &$wx_func;
38927 #endif
38928
38929
38930 ;
38931 return 0;
38932 }
38933
38934 _ACEOF
38935 rm -f conftest.$ac_objext conftest$ac_exeext
38936 if { (ac_try="$ac_link"
38937 case "(($ac_try" in
38938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38939 *) ac_try_echo=$ac_try;;
38940 esac
38941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38942 (eval "$ac_link") 2>conftest.er1
38943 ac_status=$?
38944 grep -v '^ *+' conftest.er1 >conftest.err
38945 rm -f conftest.er1
38946 cat conftest.err >&5
38947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38948 (exit $ac_status); } &&
38949 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38950 { (case "(($ac_try" in
38951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38952 *) ac_try_echo=$ac_try;;
38953 esac
38954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38955 (eval "$ac_try") 2>&5
38956 ac_status=$?
38957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38958 (exit $ac_status); }; } &&
38959 { ac_try='test -s conftest$ac_exeext'
38960 { (case "(($ac_try" in
38961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38962 *) ac_try_echo=$ac_try;;
38963 esac
38964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38965 (eval "$ac_try") 2>&5
38966 ac_status=$?
38967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38968 (exit $ac_status); }; }; then
38969 eval wx_cv_func_$wx_func=yes
38970 else
38971 echo "$as_me: failed program was:" >&5
38972 sed 's/^/| /' conftest.$ac_ext >&5
38973
38974 eval wx_cv_func_$wx_func=no
38975 fi
38976
38977 rm -f core conftest.err conftest.$ac_objext \
38978 conftest$ac_exeext conftest.$ac_ext
38979
38980 fi
38981 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38982 { echo "$as_me:$LINENO: result: $ac_res" >&5
38983 echo "${ECHO_T}$ac_res" >&6; }
38984
38985 if eval test \$wx_cv_func_$wx_func = yes
38986 then
38987 cat >>confdefs.h <<_ACEOF
38988 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38989 _ACEOF
38990
38991
38992 else
38993 :
38994
38995 fi
38996 done
38997
38998
38999 if test "$TOOLKIT" != "MSW"; then
39000
39001
39002
39003
39004
39005 # Check whether --with-libiconv-prefix was given.
39006 if test "${with_libiconv_prefix+set}" = set; then
39007 withval=$with_libiconv_prefix;
39008 for dir in `echo "$withval" | tr : ' '`; do
39009 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
39010 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
39011 done
39012
39013 fi
39014
39015
39016 { echo "$as_me:$LINENO: checking for iconv" >&5
39017 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
39018 if test "${am_cv_func_iconv+set}" = set; then
39019 echo $ECHO_N "(cached) $ECHO_C" >&6
39020 else
39021
39022 am_cv_func_iconv="no, consider installing GNU libiconv"
39023 am_cv_lib_iconv=no
39024 cat >conftest.$ac_ext <<_ACEOF
39025 /* confdefs.h. */
39026 _ACEOF
39027 cat confdefs.h >>conftest.$ac_ext
39028 cat >>conftest.$ac_ext <<_ACEOF
39029 /* end confdefs.h. */
39030 #include <stdlib.h>
39031 #include <iconv.h>
39032 int
39033 main ()
39034 {
39035 iconv_t cd = iconv_open("","");
39036 iconv(cd,NULL,NULL,NULL,NULL);
39037 iconv_close(cd);
39038 ;
39039 return 0;
39040 }
39041 _ACEOF
39042 rm -f conftest.$ac_objext conftest$ac_exeext
39043 if { (ac_try="$ac_link"
39044 case "(($ac_try" in
39045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39046 *) ac_try_echo=$ac_try;;
39047 esac
39048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39049 (eval "$ac_link") 2>conftest.er1
39050 ac_status=$?
39051 grep -v '^ *+' conftest.er1 >conftest.err
39052 rm -f conftest.er1
39053 cat conftest.err >&5
39054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39055 (exit $ac_status); } &&
39056 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39057 { (case "(($ac_try" in
39058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39059 *) ac_try_echo=$ac_try;;
39060 esac
39061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39062 (eval "$ac_try") 2>&5
39063 ac_status=$?
39064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39065 (exit $ac_status); }; } &&
39066 { ac_try='test -s conftest$ac_exeext'
39067 { (case "(($ac_try" in
39068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39069 *) ac_try_echo=$ac_try;;
39070 esac
39071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39072 (eval "$ac_try") 2>&5
39073 ac_status=$?
39074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39075 (exit $ac_status); }; }; then
39076 am_cv_func_iconv=yes
39077 else
39078 echo "$as_me: failed program was:" >&5
39079 sed 's/^/| /' conftest.$ac_ext >&5
39080
39081
39082 fi
39083
39084 rm -f core conftest.err conftest.$ac_objext \
39085 conftest$ac_exeext conftest.$ac_ext
39086 if test "$am_cv_func_iconv" != yes; then
39087 am_save_LIBS="$LIBS"
39088 LIBS="$LIBS -liconv"
39089 cat >conftest.$ac_ext <<_ACEOF
39090 /* confdefs.h. */
39091 _ACEOF
39092 cat confdefs.h >>conftest.$ac_ext
39093 cat >>conftest.$ac_ext <<_ACEOF
39094 /* end confdefs.h. */
39095 #include <stdlib.h>
39096 #include <iconv.h>
39097 int
39098 main ()
39099 {
39100 iconv_t cd = iconv_open("","");
39101 iconv(cd,NULL,NULL,NULL,NULL);
39102 iconv_close(cd);
39103 ;
39104 return 0;
39105 }
39106 _ACEOF
39107 rm -f conftest.$ac_objext conftest$ac_exeext
39108 if { (ac_try="$ac_link"
39109 case "(($ac_try" in
39110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39111 *) ac_try_echo=$ac_try;;
39112 esac
39113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39114 (eval "$ac_link") 2>conftest.er1
39115 ac_status=$?
39116 grep -v '^ *+' conftest.er1 >conftest.err
39117 rm -f conftest.er1
39118 cat conftest.err >&5
39119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39120 (exit $ac_status); } &&
39121 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39122 { (case "(($ac_try" in
39123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39124 *) ac_try_echo=$ac_try;;
39125 esac
39126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39127 (eval "$ac_try") 2>&5
39128 ac_status=$?
39129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39130 (exit $ac_status); }; } &&
39131 { ac_try='test -s conftest$ac_exeext'
39132 { (case "(($ac_try" in
39133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39134 *) ac_try_echo=$ac_try;;
39135 esac
39136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39137 (eval "$ac_try") 2>&5
39138 ac_status=$?
39139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39140 (exit $ac_status); }; }; then
39141 am_cv_lib_iconv=yes
39142 am_cv_func_iconv=yes
39143 else
39144 echo "$as_me: failed program was:" >&5
39145 sed 's/^/| /' conftest.$ac_ext >&5
39146
39147
39148 fi
39149
39150 rm -f core conftest.err conftest.$ac_objext \
39151 conftest$ac_exeext conftest.$ac_ext
39152 LIBS="$am_save_LIBS"
39153 fi
39154
39155 fi
39156 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
39157 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
39158 if test "$am_cv_func_iconv" = yes; then
39159
39160 cat >>confdefs.h <<\_ACEOF
39161 #define HAVE_ICONV 1
39162 _ACEOF
39163
39164 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
39165 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
39166 if test "${wx_cv_func_iconv_const+set}" = set; then
39167 echo $ECHO_N "(cached) $ECHO_C" >&6
39168 else
39169 cat >conftest.$ac_ext <<_ACEOF
39170 /* confdefs.h. */
39171 _ACEOF
39172 cat confdefs.h >>conftest.$ac_ext
39173 cat >>conftest.$ac_ext <<_ACEOF
39174 /* end confdefs.h. */
39175
39176 #include <stdlib.h>
39177 #include <iconv.h>
39178 extern
39179 #ifdef __cplusplus
39180 "C"
39181 #endif
39182 #if defined(__STDC__) || defined(__cplusplus)
39183 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39184 #else
39185 size_t iconv();
39186 #endif
39187
39188 int
39189 main ()
39190 {
39191
39192 ;
39193 return 0;
39194 }
39195 _ACEOF
39196 rm -f conftest.$ac_objext
39197 if { (ac_try="$ac_compile"
39198 case "(($ac_try" in
39199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39200 *) ac_try_echo=$ac_try;;
39201 esac
39202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39203 (eval "$ac_compile") 2>conftest.er1
39204 ac_status=$?
39205 grep -v '^ *+' conftest.er1 >conftest.err
39206 rm -f conftest.er1
39207 cat conftest.err >&5
39208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39209 (exit $ac_status); } &&
39210 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39211 { (case "(($ac_try" in
39212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39213 *) ac_try_echo=$ac_try;;
39214 esac
39215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39216 (eval "$ac_try") 2>&5
39217 ac_status=$?
39218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39219 (exit $ac_status); }; } &&
39220 { ac_try='test -s conftest.$ac_objext'
39221 { (case "(($ac_try" in
39222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39223 *) ac_try_echo=$ac_try;;
39224 esac
39225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39226 (eval "$ac_try") 2>&5
39227 ac_status=$?
39228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39229 (exit $ac_status); }; }; then
39230 wx_cv_func_iconv_const="no"
39231 else
39232 echo "$as_me: failed program was:" >&5
39233 sed 's/^/| /' conftest.$ac_ext >&5
39234
39235 wx_cv_func_iconv_const="yes"
39236
39237 fi
39238
39239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39240
39241 fi
39242 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
39243 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
39244
39245 iconv_const=
39246 if test "x$wx_cv_func_iconv_const" = "xyes"; then
39247 iconv_const="const"
39248 fi
39249
39250
39251 cat >>confdefs.h <<_ACEOF
39252 #define ICONV_CONST $iconv_const
39253 _ACEOF
39254
39255 fi
39256 LIBICONV=
39257 if test "$am_cv_lib_iconv" = yes; then
39258 LIBICONV="-liconv"
39259 fi
39260
39261
39262 LIBS="$LIBICONV $LIBS"
39263
39264 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39265
39266 for ac_func in sigaction
39267 do
39268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39269 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39271 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39272 echo $ECHO_N "(cached) $ECHO_C" >&6
39273 else
39274 cat >conftest.$ac_ext <<_ACEOF
39275 /* confdefs.h. */
39276 _ACEOF
39277 cat confdefs.h >>conftest.$ac_ext
39278 cat >>conftest.$ac_ext <<_ACEOF
39279 /* end confdefs.h. */
39280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39282 #define $ac_func innocuous_$ac_func
39283
39284 /* System header to define __stub macros and hopefully few prototypes,
39285 which can conflict with char $ac_func (); below.
39286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39287 <limits.h> exists even on freestanding compilers. */
39288
39289 #ifdef __STDC__
39290 # include <limits.h>
39291 #else
39292 # include <assert.h>
39293 #endif
39294
39295 #undef $ac_func
39296
39297 /* Override any GCC internal prototype to avoid an error.
39298 Use char because int might match the return type of a GCC
39299 builtin and then its argument prototype would still apply. */
39300 #ifdef __cplusplus
39301 extern "C"
39302 #endif
39303 char $ac_func ();
39304 /* The GNU C library defines this for functions which it implements
39305 to always fail with ENOSYS. Some functions are actually named
39306 something starting with __ and the normal name is an alias. */
39307 #if defined __stub_$ac_func || defined __stub___$ac_func
39308 choke me
39309 #endif
39310
39311 int
39312 main ()
39313 {
39314 return $ac_func ();
39315 ;
39316 return 0;
39317 }
39318 _ACEOF
39319 rm -f conftest.$ac_objext conftest$ac_exeext
39320 if { (ac_try="$ac_link"
39321 case "(($ac_try" in
39322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39323 *) ac_try_echo=$ac_try;;
39324 esac
39325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39326 (eval "$ac_link") 2>conftest.er1
39327 ac_status=$?
39328 grep -v '^ *+' conftest.er1 >conftest.err
39329 rm -f conftest.er1
39330 cat conftest.err >&5
39331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39332 (exit $ac_status); } &&
39333 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39334 { (case "(($ac_try" in
39335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39336 *) ac_try_echo=$ac_try;;
39337 esac
39338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39339 (eval "$ac_try") 2>&5
39340 ac_status=$?
39341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39342 (exit $ac_status); }; } &&
39343 { ac_try='test -s conftest$ac_exeext'
39344 { (case "(($ac_try" in
39345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39346 *) ac_try_echo=$ac_try;;
39347 esac
39348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39349 (eval "$ac_try") 2>&5
39350 ac_status=$?
39351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39352 (exit $ac_status); }; }; then
39353 eval "$as_ac_var=yes"
39354 else
39355 echo "$as_me: failed program was:" >&5
39356 sed 's/^/| /' conftest.$ac_ext >&5
39357
39358 eval "$as_ac_var=no"
39359 fi
39360
39361 rm -f core conftest.err conftest.$ac_objext \
39362 conftest$ac_exeext conftest.$ac_ext
39363 fi
39364 ac_res=`eval echo '${'$as_ac_var'}'`
39365 { echo "$as_me:$LINENO: result: $ac_res" >&5
39366 echo "${ECHO_T}$ac_res" >&6; }
39367 if test `eval echo '${'$as_ac_var'}'` = yes; then
39368 cat >>confdefs.h <<_ACEOF
39369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39370 _ACEOF
39371
39372 fi
39373 done
39374
39375
39376 if test "$ac_cv_func_sigaction" = "no"; then
39377 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
39378 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
39379 wxUSE_ON_FATAL_EXCEPTION=no
39380 fi
39381
39382 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39383 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
39384 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
39385 if test "${wx_cv_type_sa_handler+set}" = set; then
39386 echo $ECHO_N "(cached) $ECHO_C" >&6
39387 else
39388
39389 ac_ext=cpp
39390 ac_cpp='$CXXCPP $CPPFLAGS'
39391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39394
39395 cat >conftest.$ac_ext <<_ACEOF
39396 /* confdefs.h. */
39397 _ACEOF
39398 cat confdefs.h >>conftest.$ac_ext
39399 cat >>conftest.$ac_ext <<_ACEOF
39400 /* end confdefs.h. */
39401 #include <signal.h>
39402 int
39403 main ()
39404 {
39405
39406 extern void testSigHandler(int);
39407
39408 struct sigaction sa;
39409 sa.sa_handler = testSigHandler;
39410
39411 ;
39412 return 0;
39413 }
39414 _ACEOF
39415 rm -f conftest.$ac_objext
39416 if { (ac_try="$ac_compile"
39417 case "(($ac_try" in
39418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39419 *) ac_try_echo=$ac_try;;
39420 esac
39421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39422 (eval "$ac_compile") 2>conftest.er1
39423 ac_status=$?
39424 grep -v '^ *+' conftest.er1 >conftest.err
39425 rm -f conftest.er1
39426 cat conftest.err >&5
39427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39428 (exit $ac_status); } &&
39429 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39430 { (case "(($ac_try" in
39431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39432 *) ac_try_echo=$ac_try;;
39433 esac
39434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39435 (eval "$ac_try") 2>&5
39436 ac_status=$?
39437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39438 (exit $ac_status); }; } &&
39439 { ac_try='test -s conftest.$ac_objext'
39440 { (case "(($ac_try" in
39441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39442 *) ac_try_echo=$ac_try;;
39443 esac
39444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39445 (eval "$ac_try") 2>&5
39446 ac_status=$?
39447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39448 (exit $ac_status); }; }; then
39449
39450 wx_cv_type_sa_handler=int
39451
39452 else
39453 echo "$as_me: failed program was:" >&5
39454 sed 's/^/| /' conftest.$ac_ext >&5
39455
39456
39457 wx_cv_type_sa_handler=void
39458
39459 fi
39460
39461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39462 ac_ext=c
39463 ac_cpp='$CPP $CPPFLAGS'
39464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39467
39468
39469 fi
39470 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
39471 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
39472
39473 cat >>confdefs.h <<_ACEOF
39474 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39475 _ACEOF
39476
39477 fi
39478 fi
39479
39480 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39481 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39482 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39483 if test "${wx_cv_func_backtrace+set}" = set; then
39484 echo $ECHO_N "(cached) $ECHO_C" >&6
39485 else
39486
39487 ac_ext=cpp
39488 ac_cpp='$CXXCPP $CPPFLAGS'
39489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39492
39493 cat >conftest.$ac_ext <<_ACEOF
39494 /* confdefs.h. */
39495 _ACEOF
39496 cat confdefs.h >>conftest.$ac_ext
39497 cat >>conftest.$ac_ext <<_ACEOF
39498 /* end confdefs.h. */
39499 #include <execinfo.h>
39500 int
39501 main ()
39502 {
39503
39504 void *trace[1];
39505 char **messages;
39506
39507 backtrace(trace, 1);
39508 messages = backtrace_symbols(trace, 1);
39509
39510 ;
39511 return 0;
39512 }
39513 _ACEOF
39514 rm -f conftest.$ac_objext
39515 if { (ac_try="$ac_compile"
39516 case "(($ac_try" in
39517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39518 *) ac_try_echo=$ac_try;;
39519 esac
39520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39521 (eval "$ac_compile") 2>conftest.er1
39522 ac_status=$?
39523 grep -v '^ *+' conftest.er1 >conftest.err
39524 rm -f conftest.er1
39525 cat conftest.err >&5
39526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39527 (exit $ac_status); } &&
39528 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39529 { (case "(($ac_try" in
39530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39531 *) ac_try_echo=$ac_try;;
39532 esac
39533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39534 (eval "$ac_try") 2>&5
39535 ac_status=$?
39536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39537 (exit $ac_status); }; } &&
39538 { ac_try='test -s conftest.$ac_objext'
39539 { (case "(($ac_try" in
39540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39541 *) ac_try_echo=$ac_try;;
39542 esac
39543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39544 (eval "$ac_try") 2>&5
39545 ac_status=$?
39546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39547 (exit $ac_status); }; }; then
39548 wx_cv_func_backtrace=yes
39549 else
39550 echo "$as_me: failed program was:" >&5
39551 sed 's/^/| /' conftest.$ac_ext >&5
39552
39553 wx_cv_func_backtrace=no
39554
39555 fi
39556
39557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39558 ac_ext=c
39559 ac_cpp='$CPP $CPPFLAGS'
39560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39563
39564
39565
39566 fi
39567 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39568 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39569
39570
39571 if test "$wx_cv_func_backtrace" = "no"; then
39572 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39573 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39574 wxUSE_STACKWALKER=no
39575 else
39576 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39577 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39578 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39579 echo $ECHO_N "(cached) $ECHO_C" >&6
39580 else
39581
39582 ac_ext=cpp
39583 ac_cpp='$CXXCPP $CPPFLAGS'
39584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39587
39588 cat >conftest.$ac_ext <<_ACEOF
39589 /* confdefs.h. */
39590 _ACEOF
39591 cat confdefs.h >>conftest.$ac_ext
39592 cat >>conftest.$ac_ext <<_ACEOF
39593 /* end confdefs.h. */
39594 #include <cxxabi.h>
39595 int
39596 main ()
39597 {
39598
39599 int rc;
39600 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39601
39602 ;
39603 return 0;
39604 }
39605 _ACEOF
39606 rm -f conftest.$ac_objext conftest$ac_exeext
39607 if { (ac_try="$ac_link"
39608 case "(($ac_try" in
39609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39610 *) ac_try_echo=$ac_try;;
39611 esac
39612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39613 (eval "$ac_link") 2>conftest.er1
39614 ac_status=$?
39615 grep -v '^ *+' conftest.er1 >conftest.err
39616 rm -f conftest.er1
39617 cat conftest.err >&5
39618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39619 (exit $ac_status); } &&
39620 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39621 { (case "(($ac_try" in
39622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39623 *) ac_try_echo=$ac_try;;
39624 esac
39625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39626 (eval "$ac_try") 2>&5
39627 ac_status=$?
39628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39629 (exit $ac_status); }; } &&
39630 { ac_try='test -s conftest$ac_exeext'
39631 { (case "(($ac_try" in
39632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39633 *) ac_try_echo=$ac_try;;
39634 esac
39635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39636 (eval "$ac_try") 2>&5
39637 ac_status=$?
39638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39639 (exit $ac_status); }; }; then
39640 wx_cv_func_cxa_demangle=yes
39641 else
39642 echo "$as_me: failed program was:" >&5
39643 sed 's/^/| /' conftest.$ac_ext >&5
39644
39645 wx_cv_func_cxa_demangle=no
39646
39647 fi
39648
39649 rm -f core conftest.err conftest.$ac_objext \
39650 conftest$ac_exeext conftest.$ac_ext
39651 ac_ext=c
39652 ac_cpp='$CPP $CPPFLAGS'
39653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39656
39657
39658
39659 fi
39660 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39661 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39662
39663 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39664 cat >>confdefs.h <<\_ACEOF
39665 #define HAVE_CXA_DEMANGLE 1
39666 _ACEOF
39667
39668 fi
39669 fi
39670 fi
39671
39672 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39673 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39674 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39675 wxUSE_STACKWALKER=no
39676 fi
39677
39678
39679
39680
39681 for ac_func in mkstemp mktemp
39682 do
39683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39684 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39686 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39687 echo $ECHO_N "(cached) $ECHO_C" >&6
39688 else
39689 cat >conftest.$ac_ext <<_ACEOF
39690 /* confdefs.h. */
39691 _ACEOF
39692 cat confdefs.h >>conftest.$ac_ext
39693 cat >>conftest.$ac_ext <<_ACEOF
39694 /* end confdefs.h. */
39695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39697 #define $ac_func innocuous_$ac_func
39698
39699 /* System header to define __stub macros and hopefully few prototypes,
39700 which can conflict with char $ac_func (); below.
39701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39702 <limits.h> exists even on freestanding compilers. */
39703
39704 #ifdef __STDC__
39705 # include <limits.h>
39706 #else
39707 # include <assert.h>
39708 #endif
39709
39710 #undef $ac_func
39711
39712 /* Override any GCC internal prototype to avoid an error.
39713 Use char because int might match the return type of a GCC
39714 builtin and then its argument prototype would still apply. */
39715 #ifdef __cplusplus
39716 extern "C"
39717 #endif
39718 char $ac_func ();
39719 /* The GNU C library defines this for functions which it implements
39720 to always fail with ENOSYS. Some functions are actually named
39721 something starting with __ and the normal name is an alias. */
39722 #if defined __stub_$ac_func || defined __stub___$ac_func
39723 choke me
39724 #endif
39725
39726 int
39727 main ()
39728 {
39729 return $ac_func ();
39730 ;
39731 return 0;
39732 }
39733 _ACEOF
39734 rm -f conftest.$ac_objext conftest$ac_exeext
39735 if { (ac_try="$ac_link"
39736 case "(($ac_try" in
39737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39738 *) ac_try_echo=$ac_try;;
39739 esac
39740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39741 (eval "$ac_link") 2>conftest.er1
39742 ac_status=$?
39743 grep -v '^ *+' conftest.er1 >conftest.err
39744 rm -f conftest.er1
39745 cat conftest.err >&5
39746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39747 (exit $ac_status); } &&
39748 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39749 { (case "(($ac_try" in
39750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39751 *) ac_try_echo=$ac_try;;
39752 esac
39753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39754 (eval "$ac_try") 2>&5
39755 ac_status=$?
39756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39757 (exit $ac_status); }; } &&
39758 { ac_try='test -s conftest$ac_exeext'
39759 { (case "(($ac_try" in
39760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39761 *) ac_try_echo=$ac_try;;
39762 esac
39763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39764 (eval "$ac_try") 2>&5
39765 ac_status=$?
39766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39767 (exit $ac_status); }; }; then
39768 eval "$as_ac_var=yes"
39769 else
39770 echo "$as_me: failed program was:" >&5
39771 sed 's/^/| /' conftest.$ac_ext >&5
39772
39773 eval "$as_ac_var=no"
39774 fi
39775
39776 rm -f core conftest.err conftest.$ac_objext \
39777 conftest$ac_exeext conftest.$ac_ext
39778 fi
39779 ac_res=`eval echo '${'$as_ac_var'}'`
39780 { echo "$as_me:$LINENO: result: $ac_res" >&5
39781 echo "${ECHO_T}$ac_res" >&6; }
39782 if test `eval echo '${'$as_ac_var'}'` = yes; then
39783 cat >>confdefs.h <<_ACEOF
39784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39785 _ACEOF
39786 break
39787 fi
39788 done
39789
39790
39791 { echo "$as_me:$LINENO: checking for statfs" >&5
39792 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39793 if test "${wx_cv_func_statfs+set}" = set; then
39794 echo $ECHO_N "(cached) $ECHO_C" >&6
39795 else
39796 cat >conftest.$ac_ext <<_ACEOF
39797 /* confdefs.h. */
39798 _ACEOF
39799 cat confdefs.h >>conftest.$ac_ext
39800 cat >>conftest.$ac_ext <<_ACEOF
39801 /* end confdefs.h. */
39802
39803 #if defined(__BSD__)
39804 #include <sys/param.h>
39805 #include <sys/mount.h>
39806 #else
39807 #include <sys/vfs.h>
39808 #endif
39809
39810 int
39811 main ()
39812 {
39813
39814 long l;
39815 struct statfs fs;
39816 statfs("/", &fs);
39817 l = fs.f_bsize;
39818 l += fs.f_blocks;
39819 l += fs.f_bavail;
39820
39821 ;
39822 return 0;
39823 }
39824 _ACEOF
39825 rm -f conftest.$ac_objext
39826 if { (ac_try="$ac_compile"
39827 case "(($ac_try" in
39828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39829 *) ac_try_echo=$ac_try;;
39830 esac
39831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39832 (eval "$ac_compile") 2>conftest.er1
39833 ac_status=$?
39834 grep -v '^ *+' conftest.er1 >conftest.err
39835 rm -f conftest.er1
39836 cat conftest.err >&5
39837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39838 (exit $ac_status); } &&
39839 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39840 { (case "(($ac_try" in
39841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39842 *) ac_try_echo=$ac_try;;
39843 esac
39844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39845 (eval "$ac_try") 2>&5
39846 ac_status=$?
39847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39848 (exit $ac_status); }; } &&
39849 { ac_try='test -s conftest.$ac_objext'
39850 { (case "(($ac_try" in
39851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39852 *) ac_try_echo=$ac_try;;
39853 esac
39854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39855 (eval "$ac_try") 2>&5
39856 ac_status=$?
39857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39858 (exit $ac_status); }; }; then
39859 wx_cv_func_statfs=yes
39860 else
39861 echo "$as_me: failed program was:" >&5
39862 sed 's/^/| /' conftest.$ac_ext >&5
39863
39864 wx_cv_func_statfs=no
39865
39866 fi
39867
39868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39869
39870 fi
39871 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39872 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39873
39874 if test "$wx_cv_func_statfs" = "yes"; then
39875 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39876 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39877 if test "${wx_cv_func_statfs_decl+set}" = set; then
39878 echo $ECHO_N "(cached) $ECHO_C" >&6
39879 else
39880 ac_ext=cpp
39881 ac_cpp='$CXXCPP $CPPFLAGS'
39882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39885
39886 cat >conftest.$ac_ext <<_ACEOF
39887 /* confdefs.h. */
39888 _ACEOF
39889 cat confdefs.h >>conftest.$ac_ext
39890 cat >>conftest.$ac_ext <<_ACEOF
39891 /* end confdefs.h. */
39892
39893 #if defined(__BSD__)
39894 #include <sys/param.h>
39895 #include <sys/mount.h>
39896 #else
39897 #include <sys/vfs.h>
39898 #endif
39899
39900 int
39901 main ()
39902 {
39903
39904 struct statfs fs;
39905 statfs("", &fs);
39906
39907 ;
39908 return 0;
39909 }
39910 _ACEOF
39911 rm -f conftest.$ac_objext
39912 if { (ac_try="$ac_compile"
39913 case "(($ac_try" in
39914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39915 *) ac_try_echo=$ac_try;;
39916 esac
39917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39918 (eval "$ac_compile") 2>conftest.er1
39919 ac_status=$?
39920 grep -v '^ *+' conftest.er1 >conftest.err
39921 rm -f conftest.er1
39922 cat conftest.err >&5
39923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39924 (exit $ac_status); } &&
39925 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39926 { (case "(($ac_try" in
39927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39928 *) ac_try_echo=$ac_try;;
39929 esac
39930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39931 (eval "$ac_try") 2>&5
39932 ac_status=$?
39933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39934 (exit $ac_status); }; } &&
39935 { ac_try='test -s conftest.$ac_objext'
39936 { (case "(($ac_try" in
39937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39938 *) ac_try_echo=$ac_try;;
39939 esac
39940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39941 (eval "$ac_try") 2>&5
39942 ac_status=$?
39943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39944 (exit $ac_status); }; }; then
39945 wx_cv_func_statfs_decl=yes
39946 else
39947 echo "$as_me: failed program was:" >&5
39948 sed 's/^/| /' conftest.$ac_ext >&5
39949
39950 wx_cv_func_statfs_decl=no
39951
39952 fi
39953
39954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39955 ac_ext=c
39956 ac_cpp='$CPP $CPPFLAGS'
39957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39960
39961
39962 fi
39963 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39964 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39965
39966 if test "$wx_cv_func_statfs_decl" = "yes"; then
39967 cat >>confdefs.h <<\_ACEOF
39968 #define HAVE_STATFS_DECL 1
39969 _ACEOF
39970
39971 fi
39972
39973 wx_cv_type_statvfs_t="struct statfs"
39974 cat >>confdefs.h <<\_ACEOF
39975 #define HAVE_STATFS 1
39976 _ACEOF
39977
39978 else
39979 { echo "$as_me:$LINENO: checking for statvfs" >&5
39980 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39981 if test "${wx_cv_func_statvfs+set}" = set; then
39982 echo $ECHO_N "(cached) $ECHO_C" >&6
39983 else
39984 cat >conftest.$ac_ext <<_ACEOF
39985 /* confdefs.h. */
39986 _ACEOF
39987 cat confdefs.h >>conftest.$ac_ext
39988 cat >>conftest.$ac_ext <<_ACEOF
39989 /* end confdefs.h. */
39990
39991 #include <stddef.h>
39992 #include <sys/statvfs.h>
39993
39994 int
39995 main ()
39996 {
39997
39998 statvfs("/", NULL);
39999
40000 ;
40001 return 0;
40002 }
40003 _ACEOF
40004 rm -f conftest.$ac_objext
40005 if { (ac_try="$ac_compile"
40006 case "(($ac_try" in
40007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40008 *) ac_try_echo=$ac_try;;
40009 esac
40010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40011 (eval "$ac_compile") 2>conftest.er1
40012 ac_status=$?
40013 grep -v '^ *+' conftest.er1 >conftest.err
40014 rm -f conftest.er1
40015 cat conftest.err >&5
40016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40017 (exit $ac_status); } &&
40018 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40019 { (case "(($ac_try" in
40020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40021 *) ac_try_echo=$ac_try;;
40022 esac
40023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40024 (eval "$ac_try") 2>&5
40025 ac_status=$?
40026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40027 (exit $ac_status); }; } &&
40028 { ac_try='test -s conftest.$ac_objext'
40029 { (case "(($ac_try" in
40030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40031 *) ac_try_echo=$ac_try;;
40032 esac
40033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40034 (eval "$ac_try") 2>&5
40035 ac_status=$?
40036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40037 (exit $ac_status); }; }; then
40038 wx_cv_func_statvfs=yes
40039 else
40040 echo "$as_me: failed program was:" >&5
40041 sed 's/^/| /' conftest.$ac_ext >&5
40042
40043 wx_cv_func_statvfs=no
40044
40045 fi
40046
40047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40048
40049 fi
40050 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
40051 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
40052
40053 if test "$wx_cv_func_statvfs" = "yes"; then
40054 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
40055 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
40056 if test "${wx_cv_type_statvfs_t+set}" = set; then
40057 echo $ECHO_N "(cached) $ECHO_C" >&6
40058 else
40059 ac_ext=cpp
40060 ac_cpp='$CXXCPP $CPPFLAGS'
40061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40064
40065 cat >conftest.$ac_ext <<_ACEOF
40066 /* confdefs.h. */
40067 _ACEOF
40068 cat confdefs.h >>conftest.$ac_ext
40069 cat >>conftest.$ac_ext <<_ACEOF
40070 /* end confdefs.h. */
40071
40072 #include <sys/statvfs.h>
40073
40074 int
40075 main ()
40076 {
40077
40078 long l;
40079 statvfs_t fs;
40080 statvfs("/", &fs);
40081 l = fs.f_bsize;
40082 l += fs.f_blocks;
40083 l += fs.f_bavail;
40084
40085 ;
40086 return 0;
40087 }
40088 _ACEOF
40089 rm -f conftest.$ac_objext
40090 if { (ac_try="$ac_compile"
40091 case "(($ac_try" in
40092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40093 *) ac_try_echo=$ac_try;;
40094 esac
40095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40096 (eval "$ac_compile") 2>conftest.er1
40097 ac_status=$?
40098 grep -v '^ *+' conftest.er1 >conftest.err
40099 rm -f conftest.er1
40100 cat conftest.err >&5
40101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40102 (exit $ac_status); } &&
40103 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40104 { (case "(($ac_try" in
40105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40106 *) ac_try_echo=$ac_try;;
40107 esac
40108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40109 (eval "$ac_try") 2>&5
40110 ac_status=$?
40111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40112 (exit $ac_status); }; } &&
40113 { ac_try='test -s conftest.$ac_objext'
40114 { (case "(($ac_try" in
40115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40116 *) ac_try_echo=$ac_try;;
40117 esac
40118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40119 (eval "$ac_try") 2>&5
40120 ac_status=$?
40121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40122 (exit $ac_status); }; }; then
40123 wx_cv_type_statvfs_t=statvfs_t
40124 else
40125 echo "$as_me: failed program was:" >&5
40126 sed 's/^/| /' conftest.$ac_ext >&5
40127
40128
40129 cat >conftest.$ac_ext <<_ACEOF
40130 /* confdefs.h. */
40131 _ACEOF
40132 cat confdefs.h >>conftest.$ac_ext
40133 cat >>conftest.$ac_ext <<_ACEOF
40134 /* end confdefs.h. */
40135
40136 #include <sys/statvfs.h>
40137
40138 int
40139 main ()
40140 {
40141
40142 long l;
40143 struct statvfs fs;
40144 statvfs("/", &fs);
40145 l = fs.f_bsize;
40146 l += fs.f_blocks;
40147 l += fs.f_bavail;
40148
40149 ;
40150 return 0;
40151 }
40152 _ACEOF
40153 rm -f conftest.$ac_objext
40154 if { (ac_try="$ac_compile"
40155 case "(($ac_try" in
40156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40157 *) ac_try_echo=$ac_try;;
40158 esac
40159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40160 (eval "$ac_compile") 2>conftest.er1
40161 ac_status=$?
40162 grep -v '^ *+' conftest.er1 >conftest.err
40163 rm -f conftest.er1
40164 cat conftest.err >&5
40165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40166 (exit $ac_status); } &&
40167 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40168 { (case "(($ac_try" in
40169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40170 *) ac_try_echo=$ac_try;;
40171 esac
40172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40173 (eval "$ac_try") 2>&5
40174 ac_status=$?
40175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40176 (exit $ac_status); }; } &&
40177 { ac_try='test -s conftest.$ac_objext'
40178 { (case "(($ac_try" in
40179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40180 *) ac_try_echo=$ac_try;;
40181 esac
40182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40183 (eval "$ac_try") 2>&5
40184 ac_status=$?
40185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40186 (exit $ac_status); }; }; then
40187 wx_cv_type_statvfs_t="struct statvfs"
40188 else
40189 echo "$as_me: failed program was:" >&5
40190 sed 's/^/| /' conftest.$ac_ext >&5
40191
40192 wx_cv_type_statvfs_t="unknown"
40193
40194 fi
40195
40196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40197
40198
40199 fi
40200
40201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40202 ac_ext=c
40203 ac_cpp='$CPP $CPPFLAGS'
40204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40207
40208
40209 fi
40210 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
40211 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
40212
40213 if test "$wx_cv_type_statvfs_t" != "unknown"; then
40214 cat >>confdefs.h <<\_ACEOF
40215 #define HAVE_STATVFS 1
40216 _ACEOF
40217
40218 fi
40219 else
40220 wx_cv_type_statvfs_t="unknown"
40221 fi
40222 fi
40223
40224 if test "$wx_cv_type_statvfs_t" != "unknown"; then
40225 cat >>confdefs.h <<_ACEOF
40226 #define WX_STATFS_T $wx_cv_type_statvfs_t
40227 _ACEOF
40228
40229 else
40230 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
40231 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
40232 fi
40233
40234 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
40235
40236
40237 for ac_func in fcntl flock
40238 do
40239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40240 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40242 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40243 echo $ECHO_N "(cached) $ECHO_C" >&6
40244 else
40245 cat >conftest.$ac_ext <<_ACEOF
40246 /* confdefs.h. */
40247 _ACEOF
40248 cat confdefs.h >>conftest.$ac_ext
40249 cat >>conftest.$ac_ext <<_ACEOF
40250 /* end confdefs.h. */
40251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40253 #define $ac_func innocuous_$ac_func
40254
40255 /* System header to define __stub macros and hopefully few prototypes,
40256 which can conflict with char $ac_func (); below.
40257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40258 <limits.h> exists even on freestanding compilers. */
40259
40260 #ifdef __STDC__
40261 # include <limits.h>
40262 #else
40263 # include <assert.h>
40264 #endif
40265
40266 #undef $ac_func
40267
40268 /* Override any GCC internal prototype to avoid an error.
40269 Use char because int might match the return type of a GCC
40270 builtin and then its argument prototype would still apply. */
40271 #ifdef __cplusplus
40272 extern "C"
40273 #endif
40274 char $ac_func ();
40275 /* The GNU C library defines this for functions which it implements
40276 to always fail with ENOSYS. Some functions are actually named
40277 something starting with __ and the normal name is an alias. */
40278 #if defined __stub_$ac_func || defined __stub___$ac_func
40279 choke me
40280 #endif
40281
40282 int
40283 main ()
40284 {
40285 return $ac_func ();
40286 ;
40287 return 0;
40288 }
40289 _ACEOF
40290 rm -f conftest.$ac_objext conftest$ac_exeext
40291 if { (ac_try="$ac_link"
40292 case "(($ac_try" in
40293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40294 *) ac_try_echo=$ac_try;;
40295 esac
40296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40297 (eval "$ac_link") 2>conftest.er1
40298 ac_status=$?
40299 grep -v '^ *+' conftest.er1 >conftest.err
40300 rm -f conftest.er1
40301 cat conftest.err >&5
40302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40303 (exit $ac_status); } &&
40304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40305 { (case "(($ac_try" in
40306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40307 *) ac_try_echo=$ac_try;;
40308 esac
40309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40310 (eval "$ac_try") 2>&5
40311 ac_status=$?
40312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40313 (exit $ac_status); }; } &&
40314 { ac_try='test -s conftest$ac_exeext'
40315 { (case "(($ac_try" in
40316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40317 *) ac_try_echo=$ac_try;;
40318 esac
40319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40320 (eval "$ac_try") 2>&5
40321 ac_status=$?
40322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40323 (exit $ac_status); }; }; then
40324 eval "$as_ac_var=yes"
40325 else
40326 echo "$as_me: failed program was:" >&5
40327 sed 's/^/| /' conftest.$ac_ext >&5
40328
40329 eval "$as_ac_var=no"
40330 fi
40331
40332 rm -f core conftest.err conftest.$ac_objext \
40333 conftest$ac_exeext conftest.$ac_ext
40334 fi
40335 ac_res=`eval echo '${'$as_ac_var'}'`
40336 { echo "$as_me:$LINENO: result: $ac_res" >&5
40337 echo "${ECHO_T}$ac_res" >&6; }
40338 if test `eval echo '${'$as_ac_var'}'` = yes; then
40339 cat >>confdefs.h <<_ACEOF
40340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40341 _ACEOF
40342 break
40343 fi
40344 done
40345
40346
40347 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
40348 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
40349 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
40350 wxUSE_SNGLINST_CHECKER=no
40351 fi
40352 fi
40353
40354
40355 for ac_func in timegm
40356 do
40357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40358 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40360 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40361 echo $ECHO_N "(cached) $ECHO_C" >&6
40362 else
40363 cat >conftest.$ac_ext <<_ACEOF
40364 /* confdefs.h. */
40365 _ACEOF
40366 cat confdefs.h >>conftest.$ac_ext
40367 cat >>conftest.$ac_ext <<_ACEOF
40368 /* end confdefs.h. */
40369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40371 #define $ac_func innocuous_$ac_func
40372
40373 /* System header to define __stub macros and hopefully few prototypes,
40374 which can conflict with char $ac_func (); below.
40375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40376 <limits.h> exists even on freestanding compilers. */
40377
40378 #ifdef __STDC__
40379 # include <limits.h>
40380 #else
40381 # include <assert.h>
40382 #endif
40383
40384 #undef $ac_func
40385
40386 /* Override any GCC internal prototype to avoid an error.
40387 Use char because int might match the return type of a GCC
40388 builtin and then its argument prototype would still apply. */
40389 #ifdef __cplusplus
40390 extern "C"
40391 #endif
40392 char $ac_func ();
40393 /* The GNU C library defines this for functions which it implements
40394 to always fail with ENOSYS. Some functions are actually named
40395 something starting with __ and the normal name is an alias. */
40396 #if defined __stub_$ac_func || defined __stub___$ac_func
40397 choke me
40398 #endif
40399
40400 int
40401 main ()
40402 {
40403 return $ac_func ();
40404 ;
40405 return 0;
40406 }
40407 _ACEOF
40408 rm -f conftest.$ac_objext conftest$ac_exeext
40409 if { (ac_try="$ac_link"
40410 case "(($ac_try" in
40411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40412 *) ac_try_echo=$ac_try;;
40413 esac
40414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40415 (eval "$ac_link") 2>conftest.er1
40416 ac_status=$?
40417 grep -v '^ *+' conftest.er1 >conftest.err
40418 rm -f conftest.er1
40419 cat conftest.err >&5
40420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40421 (exit $ac_status); } &&
40422 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40423 { (case "(($ac_try" in
40424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40425 *) ac_try_echo=$ac_try;;
40426 esac
40427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40428 (eval "$ac_try") 2>&5
40429 ac_status=$?
40430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40431 (exit $ac_status); }; } &&
40432 { ac_try='test -s conftest$ac_exeext'
40433 { (case "(($ac_try" in
40434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40435 *) ac_try_echo=$ac_try;;
40436 esac
40437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40438 (eval "$ac_try") 2>&5
40439 ac_status=$?
40440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40441 (exit $ac_status); }; }; then
40442 eval "$as_ac_var=yes"
40443 else
40444 echo "$as_me: failed program was:" >&5
40445 sed 's/^/| /' conftest.$ac_ext >&5
40446
40447 eval "$as_ac_var=no"
40448 fi
40449
40450 rm -f core conftest.err conftest.$ac_objext \
40451 conftest$ac_exeext conftest.$ac_ext
40452 fi
40453 ac_res=`eval echo '${'$as_ac_var'}'`
40454 { echo "$as_me:$LINENO: result: $ac_res" >&5
40455 echo "${ECHO_T}$ac_res" >&6; }
40456 if test `eval echo '${'$as_ac_var'}'` = yes; then
40457 cat >>confdefs.h <<_ACEOF
40458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40459 _ACEOF
40460
40461 fi
40462 done
40463
40464
40465
40466
40467 for ac_func in putenv setenv
40468 do
40469 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40470 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40472 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40473 echo $ECHO_N "(cached) $ECHO_C" >&6
40474 else
40475 cat >conftest.$ac_ext <<_ACEOF
40476 /* confdefs.h. */
40477 _ACEOF
40478 cat confdefs.h >>conftest.$ac_ext
40479 cat >>conftest.$ac_ext <<_ACEOF
40480 /* end confdefs.h. */
40481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40483 #define $ac_func innocuous_$ac_func
40484
40485 /* System header to define __stub macros and hopefully few prototypes,
40486 which can conflict with char $ac_func (); below.
40487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40488 <limits.h> exists even on freestanding compilers. */
40489
40490 #ifdef __STDC__
40491 # include <limits.h>
40492 #else
40493 # include <assert.h>
40494 #endif
40495
40496 #undef $ac_func
40497
40498 /* Override any GCC internal prototype to avoid an error.
40499 Use char because int might match the return type of a GCC
40500 builtin and then its argument prototype would still apply. */
40501 #ifdef __cplusplus
40502 extern "C"
40503 #endif
40504 char $ac_func ();
40505 /* The GNU C library defines this for functions which it implements
40506 to always fail with ENOSYS. Some functions are actually named
40507 something starting with __ and the normal name is an alias. */
40508 #if defined __stub_$ac_func || defined __stub___$ac_func
40509 choke me
40510 #endif
40511
40512 int
40513 main ()
40514 {
40515 return $ac_func ();
40516 ;
40517 return 0;
40518 }
40519 _ACEOF
40520 rm -f conftest.$ac_objext conftest$ac_exeext
40521 if { (ac_try="$ac_link"
40522 case "(($ac_try" in
40523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40524 *) ac_try_echo=$ac_try;;
40525 esac
40526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40527 (eval "$ac_link") 2>conftest.er1
40528 ac_status=$?
40529 grep -v '^ *+' conftest.er1 >conftest.err
40530 rm -f conftest.er1
40531 cat conftest.err >&5
40532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40533 (exit $ac_status); } &&
40534 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40535 { (case "(($ac_try" in
40536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40537 *) ac_try_echo=$ac_try;;
40538 esac
40539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40540 (eval "$ac_try") 2>&5
40541 ac_status=$?
40542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40543 (exit $ac_status); }; } &&
40544 { ac_try='test -s conftest$ac_exeext'
40545 { (case "(($ac_try" in
40546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40547 *) ac_try_echo=$ac_try;;
40548 esac
40549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40550 (eval "$ac_try") 2>&5
40551 ac_status=$?
40552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40553 (exit $ac_status); }; }; then
40554 eval "$as_ac_var=yes"
40555 else
40556 echo "$as_me: failed program was:" >&5
40557 sed 's/^/| /' conftest.$ac_ext >&5
40558
40559 eval "$as_ac_var=no"
40560 fi
40561
40562 rm -f core conftest.err conftest.$ac_objext \
40563 conftest$ac_exeext conftest.$ac_ext
40564 fi
40565 ac_res=`eval echo '${'$as_ac_var'}'`
40566 { echo "$as_me:$LINENO: result: $ac_res" >&5
40567 echo "${ECHO_T}$ac_res" >&6; }
40568 if test `eval echo '${'$as_ac_var'}'` = yes; then
40569 cat >>confdefs.h <<_ACEOF
40570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40571 _ACEOF
40572 break
40573 fi
40574 done
40575
40576
40577 HAVE_SOME_SLEEP_FUNC=0
40578 if test "$USE_BEOS" = 1; then
40579 cat >>confdefs.h <<\_ACEOF
40580 #define HAVE_SLEEP 1
40581 _ACEOF
40582
40583 HAVE_SOME_SLEEP_FUNC=1
40584 fi
40585
40586 if test "$USE_DARWIN" = 1; then
40587 cat >>confdefs.h <<\_ACEOF
40588 #define HAVE_USLEEP 1
40589 _ACEOF
40590
40591 HAVE_SOME_SLEEP_FUNC=1
40592 fi
40593
40594 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
40595 POSIX4_LINK=
40596
40597 for ac_func in nanosleep
40598 do
40599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40600 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40602 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40603 echo $ECHO_N "(cached) $ECHO_C" >&6
40604 else
40605 cat >conftest.$ac_ext <<_ACEOF
40606 /* confdefs.h. */
40607 _ACEOF
40608 cat confdefs.h >>conftest.$ac_ext
40609 cat >>conftest.$ac_ext <<_ACEOF
40610 /* end confdefs.h. */
40611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40613 #define $ac_func innocuous_$ac_func
40614
40615 /* System header to define __stub macros and hopefully few prototypes,
40616 which can conflict with char $ac_func (); below.
40617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40618 <limits.h> exists even on freestanding compilers. */
40619
40620 #ifdef __STDC__
40621 # include <limits.h>
40622 #else
40623 # include <assert.h>
40624 #endif
40625
40626 #undef $ac_func
40627
40628 /* Override any GCC internal prototype to avoid an error.
40629 Use char because int might match the return type of a GCC
40630 builtin and then its argument prototype would still apply. */
40631 #ifdef __cplusplus
40632 extern "C"
40633 #endif
40634 char $ac_func ();
40635 /* The GNU C library defines this for functions which it implements
40636 to always fail with ENOSYS. Some functions are actually named
40637 something starting with __ and the normal name is an alias. */
40638 #if defined __stub_$ac_func || defined __stub___$ac_func
40639 choke me
40640 #endif
40641
40642 int
40643 main ()
40644 {
40645 return $ac_func ();
40646 ;
40647 return 0;
40648 }
40649 _ACEOF
40650 rm -f conftest.$ac_objext conftest$ac_exeext
40651 if { (ac_try="$ac_link"
40652 case "(($ac_try" in
40653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40654 *) ac_try_echo=$ac_try;;
40655 esac
40656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40657 (eval "$ac_link") 2>conftest.er1
40658 ac_status=$?
40659 grep -v '^ *+' conftest.er1 >conftest.err
40660 rm -f conftest.er1
40661 cat conftest.err >&5
40662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40663 (exit $ac_status); } &&
40664 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40665 { (case "(($ac_try" in
40666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40667 *) ac_try_echo=$ac_try;;
40668 esac
40669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40670 (eval "$ac_try") 2>&5
40671 ac_status=$?
40672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40673 (exit $ac_status); }; } &&
40674 { ac_try='test -s conftest$ac_exeext'
40675 { (case "(($ac_try" in
40676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40677 *) ac_try_echo=$ac_try;;
40678 esac
40679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40680 (eval "$ac_try") 2>&5
40681 ac_status=$?
40682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40683 (exit $ac_status); }; }; then
40684 eval "$as_ac_var=yes"
40685 else
40686 echo "$as_me: failed program was:" >&5
40687 sed 's/^/| /' conftest.$ac_ext >&5
40688
40689 eval "$as_ac_var=no"
40690 fi
40691
40692 rm -f core conftest.err conftest.$ac_objext \
40693 conftest$ac_exeext conftest.$ac_ext
40694 fi
40695 ac_res=`eval echo '${'$as_ac_var'}'`
40696 { echo "$as_me:$LINENO: result: $ac_res" >&5
40697 echo "${ECHO_T}$ac_res" >&6; }
40698 if test `eval echo '${'$as_ac_var'}'` = yes; then
40699 cat >>confdefs.h <<_ACEOF
40700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40701 _ACEOF
40702 cat >>confdefs.h <<\_ACEOF
40703 #define HAVE_NANOSLEEP 1
40704 _ACEOF
40705
40706 else
40707
40708 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40709 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40710 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40711 echo $ECHO_N "(cached) $ECHO_C" >&6
40712 else
40713 ac_check_lib_save_LIBS=$LIBS
40714 LIBS="-lposix4 $LIBS"
40715 cat >conftest.$ac_ext <<_ACEOF
40716 /* confdefs.h. */
40717 _ACEOF
40718 cat confdefs.h >>conftest.$ac_ext
40719 cat >>conftest.$ac_ext <<_ACEOF
40720 /* end confdefs.h. */
40721
40722 /* Override any GCC internal prototype to avoid an error.
40723 Use char because int might match the return type of a GCC
40724 builtin and then its argument prototype would still apply. */
40725 #ifdef __cplusplus
40726 extern "C"
40727 #endif
40728 char nanosleep ();
40729 int
40730 main ()
40731 {
40732 return nanosleep ();
40733 ;
40734 return 0;
40735 }
40736 _ACEOF
40737 rm -f conftest.$ac_objext conftest$ac_exeext
40738 if { (ac_try="$ac_link"
40739 case "(($ac_try" in
40740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40741 *) ac_try_echo=$ac_try;;
40742 esac
40743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40744 (eval "$ac_link") 2>conftest.er1
40745 ac_status=$?
40746 grep -v '^ *+' conftest.er1 >conftest.err
40747 rm -f conftest.er1
40748 cat conftest.err >&5
40749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40750 (exit $ac_status); } &&
40751 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40752 { (case "(($ac_try" in
40753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40754 *) ac_try_echo=$ac_try;;
40755 esac
40756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40757 (eval "$ac_try") 2>&5
40758 ac_status=$?
40759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40760 (exit $ac_status); }; } &&
40761 { ac_try='test -s conftest$ac_exeext'
40762 { (case "(($ac_try" in
40763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40764 *) ac_try_echo=$ac_try;;
40765 esac
40766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40767 (eval "$ac_try") 2>&5
40768 ac_status=$?
40769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40770 (exit $ac_status); }; }; then
40771 ac_cv_lib_posix4_nanosleep=yes
40772 else
40773 echo "$as_me: failed program was:" >&5
40774 sed 's/^/| /' conftest.$ac_ext >&5
40775
40776 ac_cv_lib_posix4_nanosleep=no
40777 fi
40778
40779 rm -f core conftest.err conftest.$ac_objext \
40780 conftest$ac_exeext conftest.$ac_ext
40781 LIBS=$ac_check_lib_save_LIBS
40782 fi
40783 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40784 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40785 if test $ac_cv_lib_posix4_nanosleep = yes; then
40786
40787 cat >>confdefs.h <<\_ACEOF
40788 #define HAVE_NANOSLEEP 1
40789 _ACEOF
40790
40791 POSIX4_LINK=" -lposix4"
40792
40793 else
40794
40795
40796 for wx_func in usleep
40797 do
40798 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40799 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40800 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40801 echo $ECHO_N "(cached) $ECHO_C" >&6
40802 else
40803
40804 cat >conftest.$ac_ext <<_ACEOF
40805
40806 /* confdefs.h. */
40807 _ACEOF
40808 cat confdefs.h >>conftest.$ac_ext
40809 cat >>conftest.$ac_ext <<_ACEOF
40810 /* end confdefs.h. */
40811
40812
40813 $ac_includes_default
40814
40815 int
40816 main ()
40817 {
40818
40819 #ifndef $wx_func
40820 &$wx_func;
40821 #endif
40822
40823
40824 ;
40825 return 0;
40826 }
40827
40828 _ACEOF
40829 rm -f conftest.$ac_objext conftest$ac_exeext
40830 if { (ac_try="$ac_link"
40831 case "(($ac_try" in
40832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40833 *) ac_try_echo=$ac_try;;
40834 esac
40835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40836 (eval "$ac_link") 2>conftest.er1
40837 ac_status=$?
40838 grep -v '^ *+' conftest.er1 >conftest.err
40839 rm -f conftest.er1
40840 cat conftest.err >&5
40841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40842 (exit $ac_status); } &&
40843 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40844 { (case "(($ac_try" in
40845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40846 *) ac_try_echo=$ac_try;;
40847 esac
40848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40849 (eval "$ac_try") 2>&5
40850 ac_status=$?
40851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40852 (exit $ac_status); }; } &&
40853 { ac_try='test -s conftest$ac_exeext'
40854 { (case "(($ac_try" in
40855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40856 *) ac_try_echo=$ac_try;;
40857 esac
40858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40859 (eval "$ac_try") 2>&5
40860 ac_status=$?
40861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40862 (exit $ac_status); }; }; then
40863 eval wx_cv_func_$wx_func=yes
40864 else
40865 echo "$as_me: failed program was:" >&5
40866 sed 's/^/| /' conftest.$ac_ext >&5
40867
40868 eval wx_cv_func_$wx_func=no
40869 fi
40870
40871 rm -f core conftest.err conftest.$ac_objext \
40872 conftest$ac_exeext conftest.$ac_ext
40873
40874 fi
40875 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40876 { echo "$as_me:$LINENO: result: $ac_res" >&5
40877 echo "${ECHO_T}$ac_res" >&6; }
40878
40879 if eval test \$wx_cv_func_$wx_func = yes
40880 then
40881 cat >>confdefs.h <<_ACEOF
40882 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40883 _ACEOF
40884
40885
40886 else
40887 :
40888 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40889 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40890
40891 fi
40892 done
40893
40894
40895
40896 fi
40897
40898
40899
40900 fi
40901 done
40902
40903 fi
40904
40905
40906 for wx_func in uname
40907 do
40908 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40909 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40910 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40911 echo $ECHO_N "(cached) $ECHO_C" >&6
40912 else
40913
40914 cat >conftest.$ac_ext <<_ACEOF
40915
40916 /* confdefs.h. */
40917 _ACEOF
40918 cat confdefs.h >>conftest.$ac_ext
40919 cat >>conftest.$ac_ext <<_ACEOF
40920 /* end confdefs.h. */
40921
40922 #include <sys/utsname.h>
40923 $ac_includes_default
40924
40925 int
40926 main ()
40927 {
40928
40929 #ifndef $wx_func
40930 &$wx_func;
40931 #endif
40932
40933
40934 ;
40935 return 0;
40936 }
40937
40938 _ACEOF
40939 rm -f conftest.$ac_objext conftest$ac_exeext
40940 if { (ac_try="$ac_link"
40941 case "(($ac_try" in
40942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40943 *) ac_try_echo=$ac_try;;
40944 esac
40945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40946 (eval "$ac_link") 2>conftest.er1
40947 ac_status=$?
40948 grep -v '^ *+' conftest.er1 >conftest.err
40949 rm -f conftest.er1
40950 cat conftest.err >&5
40951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40952 (exit $ac_status); } &&
40953 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40954 { (case "(($ac_try" in
40955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40956 *) ac_try_echo=$ac_try;;
40957 esac
40958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40959 (eval "$ac_try") 2>&5
40960 ac_status=$?
40961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40962 (exit $ac_status); }; } &&
40963 { ac_try='test -s conftest$ac_exeext'
40964 { (case "(($ac_try" in
40965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40966 *) ac_try_echo=$ac_try;;
40967 esac
40968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40969 (eval "$ac_try") 2>&5
40970 ac_status=$?
40971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40972 (exit $ac_status); }; }; then
40973 eval wx_cv_func_$wx_func=yes
40974 else
40975 echo "$as_me: failed program was:" >&5
40976 sed 's/^/| /' conftest.$ac_ext >&5
40977
40978 eval wx_cv_func_$wx_func=no
40979 fi
40980
40981 rm -f core conftest.err conftest.$ac_objext \
40982 conftest$ac_exeext conftest.$ac_ext
40983
40984 fi
40985 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40986 { echo "$as_me:$LINENO: result: $ac_res" >&5
40987 echo "${ECHO_T}$ac_res" >&6; }
40988
40989 if eval test \$wx_cv_func_$wx_func = yes
40990 then
40991 cat >>confdefs.h <<_ACEOF
40992 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40993 _ACEOF
40994
40995
40996 else
40997 :
40998
40999 fi
41000 done
41001
41002 if test "$wx_cv_func_uname" != yes; then
41003
41004 for wx_func in gethostname
41005 do
41006 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41007 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41008 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41009 echo $ECHO_N "(cached) $ECHO_C" >&6
41010 else
41011
41012 cat >conftest.$ac_ext <<_ACEOF
41013
41014 /* confdefs.h. */
41015 _ACEOF
41016 cat confdefs.h >>conftest.$ac_ext
41017 cat >>conftest.$ac_ext <<_ACEOF
41018 /* end confdefs.h. */
41019
41020
41021 $ac_includes_default
41022
41023 int
41024 main ()
41025 {
41026
41027 #ifndef $wx_func
41028 &$wx_func;
41029 #endif
41030
41031
41032 ;
41033 return 0;
41034 }
41035
41036 _ACEOF
41037 rm -f conftest.$ac_objext conftest$ac_exeext
41038 if { (ac_try="$ac_link"
41039 case "(($ac_try" in
41040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41041 *) ac_try_echo=$ac_try;;
41042 esac
41043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41044 (eval "$ac_link") 2>conftest.er1
41045 ac_status=$?
41046 grep -v '^ *+' conftest.er1 >conftest.err
41047 rm -f conftest.er1
41048 cat conftest.err >&5
41049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41050 (exit $ac_status); } &&
41051 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41052 { (case "(($ac_try" in
41053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41054 *) ac_try_echo=$ac_try;;
41055 esac
41056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41057 (eval "$ac_try") 2>&5
41058 ac_status=$?
41059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41060 (exit $ac_status); }; } &&
41061 { ac_try='test -s conftest$ac_exeext'
41062 { (case "(($ac_try" in
41063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41064 *) ac_try_echo=$ac_try;;
41065 esac
41066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41067 (eval "$ac_try") 2>&5
41068 ac_status=$?
41069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41070 (exit $ac_status); }; }; then
41071 eval wx_cv_func_$wx_func=yes
41072 else
41073 echo "$as_me: failed program was:" >&5
41074 sed 's/^/| /' conftest.$ac_ext >&5
41075
41076 eval wx_cv_func_$wx_func=no
41077 fi
41078
41079 rm -f core conftest.err conftest.$ac_objext \
41080 conftest$ac_exeext conftest.$ac_ext
41081
41082 fi
41083 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41084 { echo "$as_me:$LINENO: result: $ac_res" >&5
41085 echo "${ECHO_T}$ac_res" >&6; }
41086
41087 if eval test \$wx_cv_func_$wx_func = yes
41088 then
41089 cat >>confdefs.h <<_ACEOF
41090 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41091 _ACEOF
41092
41093
41094 else
41095 :
41096
41097 fi
41098 done
41099
41100 fi
41101
41102
41103 for wx_func in strtok_r
41104 do
41105 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41106 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41107 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41108 echo $ECHO_N "(cached) $ECHO_C" >&6
41109 else
41110
41111 cat >conftest.$ac_ext <<_ACEOF
41112
41113 /* confdefs.h. */
41114 _ACEOF
41115 cat confdefs.h >>conftest.$ac_ext
41116 cat >>conftest.$ac_ext <<_ACEOF
41117 /* end confdefs.h. */
41118
41119 #define _REENTRANT
41120 $ac_includes_default
41121
41122 int
41123 main ()
41124 {
41125
41126 #ifndef $wx_func
41127 &$wx_func;
41128 #endif
41129
41130
41131 ;
41132 return 0;
41133 }
41134
41135 _ACEOF
41136 rm -f conftest.$ac_objext conftest$ac_exeext
41137 if { (ac_try="$ac_link"
41138 case "(($ac_try" in
41139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41140 *) ac_try_echo=$ac_try;;
41141 esac
41142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41143 (eval "$ac_link") 2>conftest.er1
41144 ac_status=$?
41145 grep -v '^ *+' conftest.er1 >conftest.err
41146 rm -f conftest.er1
41147 cat conftest.err >&5
41148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41149 (exit $ac_status); } &&
41150 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41151 { (case "(($ac_try" in
41152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41153 *) ac_try_echo=$ac_try;;
41154 esac
41155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41156 (eval "$ac_try") 2>&5
41157 ac_status=$?
41158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41159 (exit $ac_status); }; } &&
41160 { ac_try='test -s conftest$ac_exeext'
41161 { (case "(($ac_try" in
41162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41163 *) ac_try_echo=$ac_try;;
41164 esac
41165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41166 (eval "$ac_try") 2>&5
41167 ac_status=$?
41168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41169 (exit $ac_status); }; }; then
41170 eval wx_cv_func_$wx_func=yes
41171 else
41172 echo "$as_me: failed program was:" >&5
41173 sed 's/^/| /' conftest.$ac_ext >&5
41174
41175 eval wx_cv_func_$wx_func=no
41176 fi
41177
41178 rm -f core conftest.err conftest.$ac_objext \
41179 conftest$ac_exeext conftest.$ac_ext
41180
41181 fi
41182 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41183 { echo "$as_me:$LINENO: result: $ac_res" >&5
41184 echo "${ECHO_T}$ac_res" >&6; }
41185
41186 if eval test \$wx_cv_func_$wx_func = yes
41187 then
41188 cat >>confdefs.h <<_ACEOF
41189 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41190 _ACEOF
41191
41192
41193 else
41194 :
41195
41196 fi
41197 done
41198
41199
41200 INET_LINK=
41201
41202 for ac_func in inet_addr
41203 do
41204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41205 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41207 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41208 echo $ECHO_N "(cached) $ECHO_C" >&6
41209 else
41210 cat >conftest.$ac_ext <<_ACEOF
41211 /* confdefs.h. */
41212 _ACEOF
41213 cat confdefs.h >>conftest.$ac_ext
41214 cat >>conftest.$ac_ext <<_ACEOF
41215 /* end confdefs.h. */
41216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41217 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41218 #define $ac_func innocuous_$ac_func
41219
41220 /* System header to define __stub macros and hopefully few prototypes,
41221 which can conflict with char $ac_func (); below.
41222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41223 <limits.h> exists even on freestanding compilers. */
41224
41225 #ifdef __STDC__
41226 # include <limits.h>
41227 #else
41228 # include <assert.h>
41229 #endif
41230
41231 #undef $ac_func
41232
41233 /* Override any GCC internal prototype to avoid an error.
41234 Use char because int might match the return type of a GCC
41235 builtin and then its argument prototype would still apply. */
41236 #ifdef __cplusplus
41237 extern "C"
41238 #endif
41239 char $ac_func ();
41240 /* The GNU C library defines this for functions which it implements
41241 to always fail with ENOSYS. Some functions are actually named
41242 something starting with __ and the normal name is an alias. */
41243 #if defined __stub_$ac_func || defined __stub___$ac_func
41244 choke me
41245 #endif
41246
41247 int
41248 main ()
41249 {
41250 return $ac_func ();
41251 ;
41252 return 0;
41253 }
41254 _ACEOF
41255 rm -f conftest.$ac_objext conftest$ac_exeext
41256 if { (ac_try="$ac_link"
41257 case "(($ac_try" in
41258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41259 *) ac_try_echo=$ac_try;;
41260 esac
41261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41262 (eval "$ac_link") 2>conftest.er1
41263 ac_status=$?
41264 grep -v '^ *+' conftest.er1 >conftest.err
41265 rm -f conftest.er1
41266 cat conftest.err >&5
41267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41268 (exit $ac_status); } &&
41269 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41270 { (case "(($ac_try" in
41271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41272 *) ac_try_echo=$ac_try;;
41273 esac
41274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41275 (eval "$ac_try") 2>&5
41276 ac_status=$?
41277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41278 (exit $ac_status); }; } &&
41279 { ac_try='test -s conftest$ac_exeext'
41280 { (case "(($ac_try" in
41281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41282 *) ac_try_echo=$ac_try;;
41283 esac
41284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41285 (eval "$ac_try") 2>&5
41286 ac_status=$?
41287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41288 (exit $ac_status); }; }; then
41289 eval "$as_ac_var=yes"
41290 else
41291 echo "$as_me: failed program was:" >&5
41292 sed 's/^/| /' conftest.$ac_ext >&5
41293
41294 eval "$as_ac_var=no"
41295 fi
41296
41297 rm -f core conftest.err conftest.$ac_objext \
41298 conftest$ac_exeext conftest.$ac_ext
41299 fi
41300 ac_res=`eval echo '${'$as_ac_var'}'`
41301 { echo "$as_me:$LINENO: result: $ac_res" >&5
41302 echo "${ECHO_T}$ac_res" >&6; }
41303 if test `eval echo '${'$as_ac_var'}'` = yes; then
41304 cat >>confdefs.h <<_ACEOF
41305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41306 _ACEOF
41307 cat >>confdefs.h <<\_ACEOF
41308 #define HAVE_INET_ADDR 1
41309 _ACEOF
41310
41311 else
41312
41313 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
41314 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
41315 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
41316 echo $ECHO_N "(cached) $ECHO_C" >&6
41317 else
41318 ac_check_lib_save_LIBS=$LIBS
41319 LIBS="-lnsl $LIBS"
41320 cat >conftest.$ac_ext <<_ACEOF
41321 /* confdefs.h. */
41322 _ACEOF
41323 cat confdefs.h >>conftest.$ac_ext
41324 cat >>conftest.$ac_ext <<_ACEOF
41325 /* end confdefs.h. */
41326
41327 /* Override any GCC internal prototype to avoid an error.
41328 Use char because int might match the return type of a GCC
41329 builtin and then its argument prototype would still apply. */
41330 #ifdef __cplusplus
41331 extern "C"
41332 #endif
41333 char inet_addr ();
41334 int
41335 main ()
41336 {
41337 return inet_addr ();
41338 ;
41339 return 0;
41340 }
41341 _ACEOF
41342 rm -f conftest.$ac_objext conftest$ac_exeext
41343 if { (ac_try="$ac_link"
41344 case "(($ac_try" in
41345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41346 *) ac_try_echo=$ac_try;;
41347 esac
41348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41349 (eval "$ac_link") 2>conftest.er1
41350 ac_status=$?
41351 grep -v '^ *+' conftest.er1 >conftest.err
41352 rm -f conftest.er1
41353 cat conftest.err >&5
41354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41355 (exit $ac_status); } &&
41356 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41357 { (case "(($ac_try" in
41358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41359 *) ac_try_echo=$ac_try;;
41360 esac
41361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41362 (eval "$ac_try") 2>&5
41363 ac_status=$?
41364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41365 (exit $ac_status); }; } &&
41366 { ac_try='test -s conftest$ac_exeext'
41367 { (case "(($ac_try" in
41368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41369 *) ac_try_echo=$ac_try;;
41370 esac
41371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41372 (eval "$ac_try") 2>&5
41373 ac_status=$?
41374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41375 (exit $ac_status); }; }; then
41376 ac_cv_lib_nsl_inet_addr=yes
41377 else
41378 echo "$as_me: failed program was:" >&5
41379 sed 's/^/| /' conftest.$ac_ext >&5
41380
41381 ac_cv_lib_nsl_inet_addr=no
41382 fi
41383
41384 rm -f core conftest.err conftest.$ac_objext \
41385 conftest$ac_exeext conftest.$ac_ext
41386 LIBS=$ac_check_lib_save_LIBS
41387 fi
41388 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
41389 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
41390 if test $ac_cv_lib_nsl_inet_addr = yes; then
41391 INET_LINK="nsl"
41392 else
41393
41394 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
41395 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
41396 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
41397 echo $ECHO_N "(cached) $ECHO_C" >&6
41398 else
41399 ac_check_lib_save_LIBS=$LIBS
41400 LIBS="-lresolv $LIBS"
41401 cat >conftest.$ac_ext <<_ACEOF
41402 /* confdefs.h. */
41403 _ACEOF
41404 cat confdefs.h >>conftest.$ac_ext
41405 cat >>conftest.$ac_ext <<_ACEOF
41406 /* end confdefs.h. */
41407
41408 /* Override any GCC internal prototype to avoid an error.
41409 Use char because int might match the return type of a GCC
41410 builtin and then its argument prototype would still apply. */
41411 #ifdef __cplusplus
41412 extern "C"
41413 #endif
41414 char inet_addr ();
41415 int
41416 main ()
41417 {
41418 return inet_addr ();
41419 ;
41420 return 0;
41421 }
41422 _ACEOF
41423 rm -f conftest.$ac_objext conftest$ac_exeext
41424 if { (ac_try="$ac_link"
41425 case "(($ac_try" in
41426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41427 *) ac_try_echo=$ac_try;;
41428 esac
41429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41430 (eval "$ac_link") 2>conftest.er1
41431 ac_status=$?
41432 grep -v '^ *+' conftest.er1 >conftest.err
41433 rm -f conftest.er1
41434 cat conftest.err >&5
41435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41436 (exit $ac_status); } &&
41437 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41438 { (case "(($ac_try" in
41439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41440 *) ac_try_echo=$ac_try;;
41441 esac
41442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41443 (eval "$ac_try") 2>&5
41444 ac_status=$?
41445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41446 (exit $ac_status); }; } &&
41447 { ac_try='test -s conftest$ac_exeext'
41448 { (case "(($ac_try" in
41449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41450 *) ac_try_echo=$ac_try;;
41451 esac
41452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41453 (eval "$ac_try") 2>&5
41454 ac_status=$?
41455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41456 (exit $ac_status); }; }; then
41457 ac_cv_lib_resolv_inet_addr=yes
41458 else
41459 echo "$as_me: failed program was:" >&5
41460 sed 's/^/| /' conftest.$ac_ext >&5
41461
41462 ac_cv_lib_resolv_inet_addr=no
41463 fi
41464
41465 rm -f core conftest.err conftest.$ac_objext \
41466 conftest$ac_exeext conftest.$ac_ext
41467 LIBS=$ac_check_lib_save_LIBS
41468 fi
41469 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
41470 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
41471 if test $ac_cv_lib_resolv_inet_addr = yes; then
41472 INET_LINK="resolv"
41473 else
41474
41475 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
41476 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
41477 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
41478 echo $ECHO_N "(cached) $ECHO_C" >&6
41479 else
41480 ac_check_lib_save_LIBS=$LIBS
41481 LIBS="-lsocket $LIBS"
41482 cat >conftest.$ac_ext <<_ACEOF
41483 /* confdefs.h. */
41484 _ACEOF
41485 cat confdefs.h >>conftest.$ac_ext
41486 cat >>conftest.$ac_ext <<_ACEOF
41487 /* end confdefs.h. */
41488
41489 /* Override any GCC internal prototype to avoid an error.
41490 Use char because int might match the return type of a GCC
41491 builtin and then its argument prototype would still apply. */
41492 #ifdef __cplusplus
41493 extern "C"
41494 #endif
41495 char inet_addr ();
41496 int
41497 main ()
41498 {
41499 return inet_addr ();
41500 ;
41501 return 0;
41502 }
41503 _ACEOF
41504 rm -f conftest.$ac_objext conftest$ac_exeext
41505 if { (ac_try="$ac_link"
41506 case "(($ac_try" in
41507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41508 *) ac_try_echo=$ac_try;;
41509 esac
41510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41511 (eval "$ac_link") 2>conftest.er1
41512 ac_status=$?
41513 grep -v '^ *+' conftest.er1 >conftest.err
41514 rm -f conftest.er1
41515 cat conftest.err >&5
41516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41517 (exit $ac_status); } &&
41518 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41519 { (case "(($ac_try" in
41520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41521 *) ac_try_echo=$ac_try;;
41522 esac
41523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41524 (eval "$ac_try") 2>&5
41525 ac_status=$?
41526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41527 (exit $ac_status); }; } &&
41528 { ac_try='test -s conftest$ac_exeext'
41529 { (case "(($ac_try" in
41530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41531 *) ac_try_echo=$ac_try;;
41532 esac
41533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41534 (eval "$ac_try") 2>&5
41535 ac_status=$?
41536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41537 (exit $ac_status); }; }; then
41538 ac_cv_lib_socket_inet_addr=yes
41539 else
41540 echo "$as_me: failed program was:" >&5
41541 sed 's/^/| /' conftest.$ac_ext >&5
41542
41543 ac_cv_lib_socket_inet_addr=no
41544 fi
41545
41546 rm -f core conftest.err conftest.$ac_objext \
41547 conftest$ac_exeext conftest.$ac_ext
41548 LIBS=$ac_check_lib_save_LIBS
41549 fi
41550 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
41551 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
41552 if test $ac_cv_lib_socket_inet_addr = yes; then
41553 INET_LINK="socket"
41554
41555 fi
41556
41557
41558
41559 fi
41560
41561
41562
41563 fi
41564
41565
41566
41567 fi
41568 done
41569
41570
41571
41572 for ac_func in inet_aton
41573 do
41574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41575 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41577 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41578 echo $ECHO_N "(cached) $ECHO_C" >&6
41579 else
41580 cat >conftest.$ac_ext <<_ACEOF
41581 /* confdefs.h. */
41582 _ACEOF
41583 cat confdefs.h >>conftest.$ac_ext
41584 cat >>conftest.$ac_ext <<_ACEOF
41585 /* end confdefs.h. */
41586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41588 #define $ac_func innocuous_$ac_func
41589
41590 /* System header to define __stub macros and hopefully few prototypes,
41591 which can conflict with char $ac_func (); below.
41592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41593 <limits.h> exists even on freestanding compilers. */
41594
41595 #ifdef __STDC__
41596 # include <limits.h>
41597 #else
41598 # include <assert.h>
41599 #endif
41600
41601 #undef $ac_func
41602
41603 /* Override any GCC internal prototype to avoid an error.
41604 Use char because int might match the return type of a GCC
41605 builtin and then its argument prototype would still apply. */
41606 #ifdef __cplusplus
41607 extern "C"
41608 #endif
41609 char $ac_func ();
41610 /* The GNU C library defines this for functions which it implements
41611 to always fail with ENOSYS. Some functions are actually named
41612 something starting with __ and the normal name is an alias. */
41613 #if defined __stub_$ac_func || defined __stub___$ac_func
41614 choke me
41615 #endif
41616
41617 int
41618 main ()
41619 {
41620 return $ac_func ();
41621 ;
41622 return 0;
41623 }
41624 _ACEOF
41625 rm -f conftest.$ac_objext conftest$ac_exeext
41626 if { (ac_try="$ac_link"
41627 case "(($ac_try" in
41628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41629 *) ac_try_echo=$ac_try;;
41630 esac
41631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41632 (eval "$ac_link") 2>conftest.er1
41633 ac_status=$?
41634 grep -v '^ *+' conftest.er1 >conftest.err
41635 rm -f conftest.er1
41636 cat conftest.err >&5
41637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41638 (exit $ac_status); } &&
41639 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41640 { (case "(($ac_try" in
41641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41642 *) ac_try_echo=$ac_try;;
41643 esac
41644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41645 (eval "$ac_try") 2>&5
41646 ac_status=$?
41647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41648 (exit $ac_status); }; } &&
41649 { ac_try='test -s conftest$ac_exeext'
41650 { (case "(($ac_try" in
41651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41652 *) ac_try_echo=$ac_try;;
41653 esac
41654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41655 (eval "$ac_try") 2>&5
41656 ac_status=$?
41657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41658 (exit $ac_status); }; }; then
41659 eval "$as_ac_var=yes"
41660 else
41661 echo "$as_me: failed program was:" >&5
41662 sed 's/^/| /' conftest.$ac_ext >&5
41663
41664 eval "$as_ac_var=no"
41665 fi
41666
41667 rm -f core conftest.err conftest.$ac_objext \
41668 conftest$ac_exeext conftest.$ac_ext
41669 fi
41670 ac_res=`eval echo '${'$as_ac_var'}'`
41671 { echo "$as_me:$LINENO: result: $ac_res" >&5
41672 echo "${ECHO_T}$ac_res" >&6; }
41673 if test `eval echo '${'$as_ac_var'}'` = yes; then
41674 cat >>confdefs.h <<_ACEOF
41675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41676 _ACEOF
41677 cat >>confdefs.h <<\_ACEOF
41678 #define HAVE_INET_ATON 1
41679 _ACEOF
41680
41681 else
41682
41683 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
41684 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
41685 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
41686 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
41687 echo $ECHO_N "(cached) $ECHO_C" >&6
41688 else
41689 ac_check_lib_save_LIBS=$LIBS
41690 LIBS="-l$INET_LINK $LIBS"
41691 cat >conftest.$ac_ext <<_ACEOF
41692 /* confdefs.h. */
41693 _ACEOF
41694 cat confdefs.h >>conftest.$ac_ext
41695 cat >>conftest.$ac_ext <<_ACEOF
41696 /* end confdefs.h. */
41697
41698 /* Override any GCC internal prototype to avoid an error.
41699 Use char because int might match the return type of a GCC
41700 builtin and then its argument prototype would still apply. */
41701 #ifdef __cplusplus
41702 extern "C"
41703 #endif
41704 char inet_aton ();
41705 int
41706 main ()
41707 {
41708 return inet_aton ();
41709 ;
41710 return 0;
41711 }
41712 _ACEOF
41713 rm -f conftest.$ac_objext conftest$ac_exeext
41714 if { (ac_try="$ac_link"
41715 case "(($ac_try" in
41716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41717 *) ac_try_echo=$ac_try;;
41718 esac
41719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41720 (eval "$ac_link") 2>conftest.er1
41721 ac_status=$?
41722 grep -v '^ *+' conftest.er1 >conftest.err
41723 rm -f conftest.er1
41724 cat conftest.err >&5
41725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41726 (exit $ac_status); } &&
41727 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41728 { (case "(($ac_try" in
41729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41730 *) ac_try_echo=$ac_try;;
41731 esac
41732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41733 (eval "$ac_try") 2>&5
41734 ac_status=$?
41735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41736 (exit $ac_status); }; } &&
41737 { ac_try='test -s conftest$ac_exeext'
41738 { (case "(($ac_try" in
41739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41740 *) ac_try_echo=$ac_try;;
41741 esac
41742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41743 (eval "$ac_try") 2>&5
41744 ac_status=$?
41745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41746 (exit $ac_status); }; }; then
41747 eval "$as_ac_Lib=yes"
41748 else
41749 echo "$as_me: failed program was:" >&5
41750 sed 's/^/| /' conftest.$ac_ext >&5
41751
41752 eval "$as_ac_Lib=no"
41753 fi
41754
41755 rm -f core conftest.err conftest.$ac_objext \
41756 conftest$ac_exeext conftest.$ac_ext
41757 LIBS=$ac_check_lib_save_LIBS
41758 fi
41759 ac_res=`eval echo '${'$as_ac_Lib'}'`
41760 { echo "$as_me:$LINENO: result: $ac_res" >&5
41761 echo "${ECHO_T}$ac_res" >&6; }
41762 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
41763 cat >>confdefs.h <<\_ACEOF
41764 #define HAVE_INET_ATON 1
41765 _ACEOF
41766
41767 fi
41768
41769
41770 fi
41771 done
41772
41773
41774 if test "x$INET_LINK" != "x"; then
41775 cat >>confdefs.h <<\_ACEOF
41776 #define HAVE_INET_ADDR 1
41777 _ACEOF
41778
41779 INET_LINK=" -l$INET_LINK"
41780 fi
41781
41782
41783 for wx_func in fdopen
41784 do
41785 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41786 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41787 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41788 echo $ECHO_N "(cached) $ECHO_C" >&6
41789 else
41790
41791 cat >conftest.$ac_ext <<_ACEOF
41792
41793 /* confdefs.h. */
41794 _ACEOF
41795 cat confdefs.h >>conftest.$ac_ext
41796 cat >>conftest.$ac_ext <<_ACEOF
41797 /* end confdefs.h. */
41798
41799
41800 $ac_includes_default
41801
41802 int
41803 main ()
41804 {
41805
41806 #ifndef $wx_func
41807 &$wx_func;
41808 #endif
41809
41810
41811 ;
41812 return 0;
41813 }
41814
41815 _ACEOF
41816 rm -f conftest.$ac_objext conftest$ac_exeext
41817 if { (ac_try="$ac_link"
41818 case "(($ac_try" in
41819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41820 *) ac_try_echo=$ac_try;;
41821 esac
41822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41823 (eval "$ac_link") 2>conftest.er1
41824 ac_status=$?
41825 grep -v '^ *+' conftest.er1 >conftest.err
41826 rm -f conftest.er1
41827 cat conftest.err >&5
41828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41829 (exit $ac_status); } &&
41830 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41831 { (case "(($ac_try" in
41832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41833 *) ac_try_echo=$ac_try;;
41834 esac
41835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41836 (eval "$ac_try") 2>&5
41837 ac_status=$?
41838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41839 (exit $ac_status); }; } &&
41840 { ac_try='test -s conftest$ac_exeext'
41841 { (case "(($ac_try" in
41842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41843 *) ac_try_echo=$ac_try;;
41844 esac
41845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41846 (eval "$ac_try") 2>&5
41847 ac_status=$?
41848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41849 (exit $ac_status); }; }; then
41850 eval wx_cv_func_$wx_func=yes
41851 else
41852 echo "$as_me: failed program was:" >&5
41853 sed 's/^/| /' conftest.$ac_ext >&5
41854
41855 eval wx_cv_func_$wx_func=no
41856 fi
41857
41858 rm -f core conftest.err conftest.$ac_objext \
41859 conftest$ac_exeext conftest.$ac_ext
41860
41861 fi
41862 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41863 { echo "$as_me:$LINENO: result: $ac_res" >&5
41864 echo "${ECHO_T}$ac_res" >&6; }
41865
41866 if eval test \$wx_cv_func_$wx_func = yes
41867 then
41868 cat >>confdefs.h <<_ACEOF
41869 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41870 _ACEOF
41871
41872
41873 else
41874 :
41875
41876 fi
41877 done
41878
41879
41880 fi
41881
41882
41883
41884 cat >confcache <<\_ACEOF
41885 # This file is a shell script that caches the results of configure
41886 # tests run on this system so they can be shared between configure
41887 # scripts and configure runs, see configure's option --config-cache.
41888 # It is not useful on other systems. If it contains results you don't
41889 # want to keep, you may remove or edit it.
41890 #
41891 # config.status only pays attention to the cache file if you give it
41892 # the --recheck option to rerun configure.
41893 #
41894 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41895 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41896 # following values.
41897
41898 _ACEOF
41899
41900 # The following way of writing the cache mishandles newlines in values,
41901 # but we know of no workaround that is simple, portable, and efficient.
41902 # So, we kill variables containing newlines.
41903 # Ultrix sh set writes to stderr and can't be redirected directly,
41904 # and sets the high bit in the cache file unless we assign to the vars.
41905 (
41906 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41907 eval ac_val=\$$ac_var
41908 case $ac_val in #(
41909 *${as_nl}*)
41910 case $ac_var in #(
41911 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41912 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41913 esac
41914 case $ac_var in #(
41915 _ | IFS | as_nl) ;; #(
41916 *) $as_unset $ac_var ;;
41917 esac ;;
41918 esac
41919 done
41920
41921 (set) 2>&1 |
41922 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41923 *${as_nl}ac_space=\ *)
41924 # `set' does not quote correctly, so add quotes (double-quote
41925 # substitution turns \\\\ into \\, and sed turns \\ into \).
41926 sed -n \
41927 "s/'/'\\\\''/g;
41928 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41929 ;; #(
41930 *)
41931 # `set' quotes correctly as required by POSIX, so do not add quotes.
41932 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41933 ;;
41934 esac |
41935 sort
41936 ) |
41937 sed '
41938 /^ac_cv_env_/b end
41939 t clear
41940 :clear
41941 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41942 t end
41943 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41944 :end' >>confcache
41945 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41946 if test -w "$cache_file"; then
41947 test "x$cache_file" != "x/dev/null" &&
41948 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41949 echo "$as_me: updating cache $cache_file" >&6;}
41950 cat confcache >$cache_file
41951 else
41952 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41953 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41954 fi
41955 fi
41956 rm -f confcache
41957
41958
41959 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41960
41961
41962 THREADS_LINK=
41963 THREADS_CFLAGS=
41964
41965 if test "$wxUSE_THREADS" = "yes" ; then
41966 if test "$USE_BEOS" = 1; then
41967 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41968 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41969 wxUSE_THREADS="no"
41970 fi
41971 fi
41972
41973 if test "$wxUSE_THREADS" = "yes" ; then
41974
41975
41976 THREAD_OPTS="-pthread"
41977 case "${host}" in
41978 *-*-solaris2* | *-*-sunos4* )
41979 if test "x$GCC" = "xyes"; then
41980 THREAD_OPTS="-pthreads $THREAD_OPTS"
41981 else
41982 THREAD_OPTS="-mt $THREAD_OPTS"
41983 fi
41984 ;;
41985 *-*-freebsd*)
41986 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41987 ;;
41988 *-*-darwin* | *-*-cygwin* )
41989 THREAD_OPTS=""
41990 ;;
41991 *-*-aix*)
41992 THREAD_OPTS="pthreads"
41993 ;;
41994 *-hp-hpux* )
41995 if test "x$GCC" = "xyes"; then
41996 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41997 THREAD_OPTS=""
41998 else
41999 THREAD_OPTS="-mt"
42000 fi
42001 ;;
42002
42003 *-*-irix* )
42004 if test "x$GCC" = "xyes"; then
42005 THREAD_OPTS=""
42006 fi
42007 ;;
42008
42009 *-*-*UnixWare*)
42010 if test "x$GCC" != "xyes"; then
42011 THREAD_OPTS="-Ethread"
42012 fi
42013 ;;
42014 esac
42015
42016 THREAD_OPTS="$THREAD_OPTS pthread none"
42017
42018 THREADS_OK=no
42019 for flag in $THREAD_OPTS; do
42020 case $flag in
42021 none)
42022 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
42023 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
42024 ;;
42025
42026 -*)
42027 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
42028 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
42029 THREADS_CFLAGS="$flag"
42030 ;;
42031
42032 *)
42033 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
42034 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
42035 THREADS_LINK="-l$flag"
42036 ;;
42037 esac
42038
42039 save_LIBS="$LIBS"
42040 save_CFLAGS="$CFLAGS"
42041 LIBS="$THREADS_LINK $LIBS"
42042 CFLAGS="$THREADS_CFLAGS $CFLAGS"
42043
42044 cat >conftest.$ac_ext <<_ACEOF
42045 /* confdefs.h. */
42046 _ACEOF
42047 cat confdefs.h >>conftest.$ac_ext
42048 cat >>conftest.$ac_ext <<_ACEOF
42049 /* end confdefs.h. */
42050 #include <pthread.h>
42051 int
42052 main ()
42053 {
42054 pthread_create(0,0,0,0);
42055 ;
42056 return 0;
42057 }
42058 _ACEOF
42059 rm -f conftest.$ac_objext conftest$ac_exeext
42060 if { (ac_try="$ac_link"
42061 case "(($ac_try" in
42062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42063 *) ac_try_echo=$ac_try;;
42064 esac
42065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42066 (eval "$ac_link") 2>conftest.er1
42067 ac_status=$?
42068 grep -v '^ *+' conftest.er1 >conftest.err
42069 rm -f conftest.er1
42070 cat conftest.err >&5
42071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42072 (exit $ac_status); } &&
42073 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42074 { (case "(($ac_try" in
42075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42076 *) ac_try_echo=$ac_try;;
42077 esac
42078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42079 (eval "$ac_try") 2>&5
42080 ac_status=$?
42081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42082 (exit $ac_status); }; } &&
42083 { ac_try='test -s conftest$ac_exeext'
42084 { (case "(($ac_try" in
42085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42086 *) ac_try_echo=$ac_try;;
42087 esac
42088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42089 (eval "$ac_try") 2>&5
42090 ac_status=$?
42091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42092 (exit $ac_status); }; }; then
42093 THREADS_OK=yes
42094 else
42095 echo "$as_me: failed program was:" >&5
42096 sed 's/^/| /' conftest.$ac_ext >&5
42097
42098
42099 fi
42100
42101 rm -f core conftest.err conftest.$ac_objext \
42102 conftest$ac_exeext conftest.$ac_ext
42103
42104 LIBS="$save_LIBS"
42105 CFLAGS="$save_CFLAGS"
42106
42107 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
42108 echo "${ECHO_T}$THREADS_OK" >&6; }
42109 if test "x$THREADS_OK" = "xyes"; then
42110 break;
42111 fi
42112
42113 THREADS_LINK=""
42114 THREADS_CFLAGS=""
42115 done
42116
42117 if test "x$THREADS_OK" != "xyes"; then
42118 wxUSE_THREADS=no
42119 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
42120 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
42121 else
42122 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
42123 LIBS="$THREADS_LINK $LIBS"
42124
42125 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
42126 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
42127 flag=no
42128 case "${host}" in
42129 *-aix*)
42130 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
42131 flag="-D_THREAD_SAFE"
42132 ;;
42133 *-freebsd*)
42134 flag="-D_THREAD_SAFE"
42135 ;;
42136 *-hp-hpux* )
42137 flag="-D_REENTRANT"
42138 if test "x$GCC" != "xyes"; then
42139 flag="$flag -D_RWSTD_MULTI_THREAD"
42140 fi
42141 ;;
42142 *solaris* | alpha*-osf*)
42143 flag="-D_REENTRANT"
42144 ;;
42145 esac
42146 { echo "$as_me:$LINENO: result: ${flag}" >&5
42147 echo "${ECHO_T}${flag}" >&6; }
42148 if test "x$flag" != xno; then
42149 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
42150 fi
42151
42152 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
42153 fi
42154 fi
42155
42156 if test "$wxUSE_THREADS" = "yes" ; then
42157
42158 for ac_func in thr_setconcurrency
42159 do
42160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42161 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42163 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42164 echo $ECHO_N "(cached) $ECHO_C" >&6
42165 else
42166 cat >conftest.$ac_ext <<_ACEOF
42167 /* confdefs.h. */
42168 _ACEOF
42169 cat confdefs.h >>conftest.$ac_ext
42170 cat >>conftest.$ac_ext <<_ACEOF
42171 /* end confdefs.h. */
42172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42174 #define $ac_func innocuous_$ac_func
42175
42176 /* System header to define __stub macros and hopefully few prototypes,
42177 which can conflict with char $ac_func (); below.
42178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42179 <limits.h> exists even on freestanding compilers. */
42180
42181 #ifdef __STDC__
42182 # include <limits.h>
42183 #else
42184 # include <assert.h>
42185 #endif
42186
42187 #undef $ac_func
42188
42189 /* Override any GCC internal prototype to avoid an error.
42190 Use char because int might match the return type of a GCC
42191 builtin and then its argument prototype would still apply. */
42192 #ifdef __cplusplus
42193 extern "C"
42194 #endif
42195 char $ac_func ();
42196 /* The GNU C library defines this for functions which it implements
42197 to always fail with ENOSYS. Some functions are actually named
42198 something starting with __ and the normal name is an alias. */
42199 #if defined __stub_$ac_func || defined __stub___$ac_func
42200 choke me
42201 #endif
42202
42203 int
42204 main ()
42205 {
42206 return $ac_func ();
42207 ;
42208 return 0;
42209 }
42210 _ACEOF
42211 rm -f conftest.$ac_objext conftest$ac_exeext
42212 if { (ac_try="$ac_link"
42213 case "(($ac_try" in
42214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42215 *) ac_try_echo=$ac_try;;
42216 esac
42217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42218 (eval "$ac_link") 2>conftest.er1
42219 ac_status=$?
42220 grep -v '^ *+' conftest.er1 >conftest.err
42221 rm -f conftest.er1
42222 cat conftest.err >&5
42223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42224 (exit $ac_status); } &&
42225 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42226 { (case "(($ac_try" in
42227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42228 *) ac_try_echo=$ac_try;;
42229 esac
42230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42231 (eval "$ac_try") 2>&5
42232 ac_status=$?
42233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42234 (exit $ac_status); }; } &&
42235 { ac_try='test -s conftest$ac_exeext'
42236 { (case "(($ac_try" in
42237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42238 *) ac_try_echo=$ac_try;;
42239 esac
42240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42241 (eval "$ac_try") 2>&5
42242 ac_status=$?
42243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42244 (exit $ac_status); }; }; then
42245 eval "$as_ac_var=yes"
42246 else
42247 echo "$as_me: failed program was:" >&5
42248 sed 's/^/| /' conftest.$ac_ext >&5
42249
42250 eval "$as_ac_var=no"
42251 fi
42252
42253 rm -f core conftest.err conftest.$ac_objext \
42254 conftest$ac_exeext conftest.$ac_ext
42255 fi
42256 ac_res=`eval echo '${'$as_ac_var'}'`
42257 { echo "$as_me:$LINENO: result: $ac_res" >&5
42258 echo "${ECHO_T}$ac_res" >&6; }
42259 if test `eval echo '${'$as_ac_var'}'` = yes; then
42260 cat >>confdefs.h <<_ACEOF
42261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42262 _ACEOF
42263
42264 fi
42265 done
42266
42267
42268 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
42269 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
42270 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
42271 echo $ECHO_N "(cached) $ECHO_C" >&6
42272 else
42273
42274 cat >conftest.$ac_ext <<_ACEOF
42275 /* confdefs.h. */
42276 _ACEOF
42277 cat confdefs.h >>conftest.$ac_ext
42278 cat >>conftest.$ac_ext <<_ACEOF
42279 /* end confdefs.h. */
42280 #include <pthread.h>
42281 void ThreadCleanupFunc(void *p);
42282
42283 int
42284 main ()
42285 {
42286
42287 void *p;
42288 pthread_cleanup_push(ThreadCleanupFunc, p);
42289 pthread_cleanup_pop(0);
42290
42291 ;
42292 return 0;
42293 }
42294 _ACEOF
42295 rm -f conftest.$ac_objext
42296 if { (ac_try="$ac_compile"
42297 case "(($ac_try" in
42298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42299 *) ac_try_echo=$ac_try;;
42300 esac
42301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42302 (eval "$ac_compile") 2>conftest.er1
42303 ac_status=$?
42304 grep -v '^ *+' conftest.er1 >conftest.err
42305 rm -f conftest.er1
42306 cat conftest.err >&5
42307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42308 (exit $ac_status); } &&
42309 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42310 { (case "(($ac_try" in
42311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42312 *) ac_try_echo=$ac_try;;
42313 esac
42314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42315 (eval "$ac_try") 2>&5
42316 ac_status=$?
42317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42318 (exit $ac_status); }; } &&
42319 { ac_try='test -s conftest.$ac_objext'
42320 { (case "(($ac_try" in
42321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42322 *) ac_try_echo=$ac_try;;
42323 esac
42324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42325 (eval "$ac_try") 2>&5
42326 ac_status=$?
42327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42328 (exit $ac_status); }; }; then
42329
42330 wx_cv_func_pthread_cleanup=yes
42331
42332 else
42333 echo "$as_me: failed program was:" >&5
42334 sed 's/^/| /' conftest.$ac_ext >&5
42335
42336
42337 wx_cv_func_pthread_cleanup=no
42338
42339
42340 fi
42341
42342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42343
42344 fi
42345 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
42346 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
42347 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
42348 cat >>confdefs.h <<\_ACEOF
42349 #define wxHAVE_PTHREAD_CLEANUP 1
42350 _ACEOF
42351
42352 fi
42353
42354 { echo "$as_me:$LINENO: checking for sched.h" >&5
42355 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
42356 if test "${ac_cv_header_sched_h+set}" = set; then
42357 echo $ECHO_N "(cached) $ECHO_C" >&6
42358 else
42359 cat >conftest.$ac_ext <<_ACEOF
42360 /* confdefs.h. */
42361 _ACEOF
42362 cat confdefs.h >>conftest.$ac_ext
42363 cat >>conftest.$ac_ext <<_ACEOF
42364 /* end confdefs.h. */
42365 $ac_includes_default
42366
42367 #include <sched.h>
42368 _ACEOF
42369 rm -f conftest.$ac_objext
42370 if { (ac_try="$ac_compile"
42371 case "(($ac_try" in
42372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42373 *) ac_try_echo=$ac_try;;
42374 esac
42375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42376 (eval "$ac_compile") 2>conftest.er1
42377 ac_status=$?
42378 grep -v '^ *+' conftest.er1 >conftest.err
42379 rm -f conftest.er1
42380 cat conftest.err >&5
42381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42382 (exit $ac_status); } &&
42383 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42384 { (case "(($ac_try" in
42385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42386 *) ac_try_echo=$ac_try;;
42387 esac
42388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42389 (eval "$ac_try") 2>&5
42390 ac_status=$?
42391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42392 (exit $ac_status); }; } &&
42393 { ac_try='test -s conftest.$ac_objext'
42394 { (case "(($ac_try" in
42395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42396 *) ac_try_echo=$ac_try;;
42397 esac
42398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42399 (eval "$ac_try") 2>&5
42400 ac_status=$?
42401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42402 (exit $ac_status); }; }; then
42403 ac_cv_header_sched_h=yes
42404 else
42405 echo "$as_me: failed program was:" >&5
42406 sed 's/^/| /' conftest.$ac_ext >&5
42407
42408 ac_cv_header_sched_h=no
42409 fi
42410
42411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42412 fi
42413 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
42414 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
42415
42416
42417 if test "$ac_cv_header_sched_h" = "yes"; then
42418 { echo "$as_me:$LINENO: checking for sched_yield" >&5
42419 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
42420 if test "${ac_cv_func_sched_yield+set}" = set; then
42421 echo $ECHO_N "(cached) $ECHO_C" >&6
42422 else
42423 cat >conftest.$ac_ext <<_ACEOF
42424 /* confdefs.h. */
42425 _ACEOF
42426 cat confdefs.h >>conftest.$ac_ext
42427 cat >>conftest.$ac_ext <<_ACEOF
42428 /* end confdefs.h. */
42429 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
42430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42431 #define sched_yield innocuous_sched_yield
42432
42433 /* System header to define __stub macros and hopefully few prototypes,
42434 which can conflict with char sched_yield (); below.
42435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42436 <limits.h> exists even on freestanding compilers. */
42437
42438 #ifdef __STDC__
42439 # include <limits.h>
42440 #else
42441 # include <assert.h>
42442 #endif
42443
42444 #undef sched_yield
42445
42446 /* Override any GCC internal prototype to avoid an error.
42447 Use char because int might match the return type of a GCC
42448 builtin and then its argument prototype would still apply. */
42449 #ifdef __cplusplus
42450 extern "C"
42451 #endif
42452 char sched_yield ();
42453 /* The GNU C library defines this for functions which it implements
42454 to always fail with ENOSYS. Some functions are actually named
42455 something starting with __ and the normal name is an alias. */
42456 #if defined __stub_sched_yield || defined __stub___sched_yield
42457 choke me
42458 #endif
42459
42460 int
42461 main ()
42462 {
42463 return sched_yield ();
42464 ;
42465 return 0;
42466 }
42467 _ACEOF
42468 rm -f conftest.$ac_objext conftest$ac_exeext
42469 if { (ac_try="$ac_link"
42470 case "(($ac_try" in
42471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42472 *) ac_try_echo=$ac_try;;
42473 esac
42474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42475 (eval "$ac_link") 2>conftest.er1
42476 ac_status=$?
42477 grep -v '^ *+' conftest.er1 >conftest.err
42478 rm -f conftest.er1
42479 cat conftest.err >&5
42480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42481 (exit $ac_status); } &&
42482 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42483 { (case "(($ac_try" in
42484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42485 *) ac_try_echo=$ac_try;;
42486 esac
42487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42488 (eval "$ac_try") 2>&5
42489 ac_status=$?
42490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42491 (exit $ac_status); }; } &&
42492 { ac_try='test -s conftest$ac_exeext'
42493 { (case "(($ac_try" in
42494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42495 *) ac_try_echo=$ac_try;;
42496 esac
42497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42498 (eval "$ac_try") 2>&5
42499 ac_status=$?
42500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42501 (exit $ac_status); }; }; then
42502 ac_cv_func_sched_yield=yes
42503 else
42504 echo "$as_me: failed program was:" >&5
42505 sed 's/^/| /' conftest.$ac_ext >&5
42506
42507 ac_cv_func_sched_yield=no
42508 fi
42509
42510 rm -f core conftest.err conftest.$ac_objext \
42511 conftest$ac_exeext conftest.$ac_ext
42512 fi
42513 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
42514 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
42515 if test $ac_cv_func_sched_yield = yes; then
42516 cat >>confdefs.h <<\_ACEOF
42517 #define HAVE_SCHED_YIELD 1
42518 _ACEOF
42519
42520 else
42521
42522 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
42523 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
42524 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
42525 echo $ECHO_N "(cached) $ECHO_C" >&6
42526 else
42527 ac_check_lib_save_LIBS=$LIBS
42528 LIBS="-lposix4 $LIBS"
42529 cat >conftest.$ac_ext <<_ACEOF
42530 /* confdefs.h. */
42531 _ACEOF
42532 cat confdefs.h >>conftest.$ac_ext
42533 cat >>conftest.$ac_ext <<_ACEOF
42534 /* end confdefs.h. */
42535
42536 /* Override any GCC internal prototype to avoid an error.
42537 Use char because int might match the return type of a GCC
42538 builtin and then its argument prototype would still apply. */
42539 #ifdef __cplusplus
42540 extern "C"
42541 #endif
42542 char sched_yield ();
42543 int
42544 main ()
42545 {
42546 return sched_yield ();
42547 ;
42548 return 0;
42549 }
42550 _ACEOF
42551 rm -f conftest.$ac_objext conftest$ac_exeext
42552 if { (ac_try="$ac_link"
42553 case "(($ac_try" in
42554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42555 *) ac_try_echo=$ac_try;;
42556 esac
42557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42558 (eval "$ac_link") 2>conftest.er1
42559 ac_status=$?
42560 grep -v '^ *+' conftest.er1 >conftest.err
42561 rm -f conftest.er1
42562 cat conftest.err >&5
42563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42564 (exit $ac_status); } &&
42565 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42566 { (case "(($ac_try" in
42567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42568 *) ac_try_echo=$ac_try;;
42569 esac
42570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42571 (eval "$ac_try") 2>&5
42572 ac_status=$?
42573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42574 (exit $ac_status); }; } &&
42575 { ac_try='test -s conftest$ac_exeext'
42576 { (case "(($ac_try" in
42577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42578 *) ac_try_echo=$ac_try;;
42579 esac
42580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42581 (eval "$ac_try") 2>&5
42582 ac_status=$?
42583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42584 (exit $ac_status); }; }; then
42585 ac_cv_lib_posix4_sched_yield=yes
42586 else
42587 echo "$as_me: failed program was:" >&5
42588 sed 's/^/| /' conftest.$ac_ext >&5
42589
42590 ac_cv_lib_posix4_sched_yield=no
42591 fi
42592
42593 rm -f core conftest.err conftest.$ac_objext \
42594 conftest$ac_exeext conftest.$ac_ext
42595 LIBS=$ac_check_lib_save_LIBS
42596 fi
42597 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
42598 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
42599 if test $ac_cv_lib_posix4_sched_yield = yes; then
42600 cat >>confdefs.h <<\_ACEOF
42601 #define HAVE_SCHED_YIELD 1
42602 _ACEOF
42603 POSIX4_LINK=" -lposix4"
42604 else
42605 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
42606 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
42607
42608 fi
42609
42610
42611
42612 fi
42613
42614 fi
42615
42616 HAVE_PRIOR_FUNCS=0
42617 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
42618 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
42619 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
42620 echo $ECHO_N "(cached) $ECHO_C" >&6
42621 else
42622 cat >conftest.$ac_ext <<_ACEOF
42623 /* confdefs.h. */
42624 _ACEOF
42625 cat confdefs.h >>conftest.$ac_ext
42626 cat >>conftest.$ac_ext <<_ACEOF
42627 /* end confdefs.h. */
42628 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
42629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42630 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
42631
42632 /* System header to define __stub macros and hopefully few prototypes,
42633 which can conflict with char pthread_attr_getschedpolicy (); below.
42634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42635 <limits.h> exists even on freestanding compilers. */
42636
42637 #ifdef __STDC__
42638 # include <limits.h>
42639 #else
42640 # include <assert.h>
42641 #endif
42642
42643 #undef pthread_attr_getschedpolicy
42644
42645 /* Override any GCC internal prototype to avoid an error.
42646 Use char because int might match the return type of a GCC
42647 builtin and then its argument prototype would still apply. */
42648 #ifdef __cplusplus
42649 extern "C"
42650 #endif
42651 char pthread_attr_getschedpolicy ();
42652 /* The GNU C library defines this for functions which it implements
42653 to always fail with ENOSYS. Some functions are actually named
42654 something starting with __ and the normal name is an alias. */
42655 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
42656 choke me
42657 #endif
42658
42659 int
42660 main ()
42661 {
42662 return pthread_attr_getschedpolicy ();
42663 ;
42664 return 0;
42665 }
42666 _ACEOF
42667 rm -f conftest.$ac_objext conftest$ac_exeext
42668 if { (ac_try="$ac_link"
42669 case "(($ac_try" in
42670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42671 *) ac_try_echo=$ac_try;;
42672 esac
42673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42674 (eval "$ac_link") 2>conftest.er1
42675 ac_status=$?
42676 grep -v '^ *+' conftest.er1 >conftest.err
42677 rm -f conftest.er1
42678 cat conftest.err >&5
42679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42680 (exit $ac_status); } &&
42681 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42682 { (case "(($ac_try" in
42683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42684 *) ac_try_echo=$ac_try;;
42685 esac
42686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42687 (eval "$ac_try") 2>&5
42688 ac_status=$?
42689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42690 (exit $ac_status); }; } &&
42691 { ac_try='test -s conftest$ac_exeext'
42692 { (case "(($ac_try" in
42693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42694 *) ac_try_echo=$ac_try;;
42695 esac
42696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42697 (eval "$ac_try") 2>&5
42698 ac_status=$?
42699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42700 (exit $ac_status); }; }; then
42701 ac_cv_func_pthread_attr_getschedpolicy=yes
42702 else
42703 echo "$as_me: failed program was:" >&5
42704 sed 's/^/| /' conftest.$ac_ext >&5
42705
42706 ac_cv_func_pthread_attr_getschedpolicy=no
42707 fi
42708
42709 rm -f core conftest.err conftest.$ac_objext \
42710 conftest$ac_exeext conftest.$ac_ext
42711 fi
42712 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
42713 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
42714 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
42715 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
42716 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
42717 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
42718 echo $ECHO_N "(cached) $ECHO_C" >&6
42719 else
42720 cat >conftest.$ac_ext <<_ACEOF
42721 /* confdefs.h. */
42722 _ACEOF
42723 cat confdefs.h >>conftest.$ac_ext
42724 cat >>conftest.$ac_ext <<_ACEOF
42725 /* end confdefs.h. */
42726 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
42727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42728 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
42729
42730 /* System header to define __stub macros and hopefully few prototypes,
42731 which can conflict with char pthread_attr_setschedparam (); below.
42732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42733 <limits.h> exists even on freestanding compilers. */
42734
42735 #ifdef __STDC__
42736 # include <limits.h>
42737 #else
42738 # include <assert.h>
42739 #endif
42740
42741 #undef pthread_attr_setschedparam
42742
42743 /* Override any GCC internal prototype to avoid an error.
42744 Use char because int might match the return type of a GCC
42745 builtin and then its argument prototype would still apply. */
42746 #ifdef __cplusplus
42747 extern "C"
42748 #endif
42749 char pthread_attr_setschedparam ();
42750 /* The GNU C library defines this for functions which it implements
42751 to always fail with ENOSYS. Some functions are actually named
42752 something starting with __ and the normal name is an alias. */
42753 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
42754 choke me
42755 #endif
42756
42757 int
42758 main ()
42759 {
42760 return pthread_attr_setschedparam ();
42761 ;
42762 return 0;
42763 }
42764 _ACEOF
42765 rm -f conftest.$ac_objext conftest$ac_exeext
42766 if { (ac_try="$ac_link"
42767 case "(($ac_try" in
42768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42769 *) ac_try_echo=$ac_try;;
42770 esac
42771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42772 (eval "$ac_link") 2>conftest.er1
42773 ac_status=$?
42774 grep -v '^ *+' conftest.er1 >conftest.err
42775 rm -f conftest.er1
42776 cat conftest.err >&5
42777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42778 (exit $ac_status); } &&
42779 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42780 { (case "(($ac_try" in
42781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42782 *) ac_try_echo=$ac_try;;
42783 esac
42784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42785 (eval "$ac_try") 2>&5
42786 ac_status=$?
42787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42788 (exit $ac_status); }; } &&
42789 { ac_try='test -s conftest$ac_exeext'
42790 { (case "(($ac_try" in
42791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42792 *) ac_try_echo=$ac_try;;
42793 esac
42794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42795 (eval "$ac_try") 2>&5
42796 ac_status=$?
42797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42798 (exit $ac_status); }; }; then
42799 ac_cv_func_pthread_attr_setschedparam=yes
42800 else
42801 echo "$as_me: failed program was:" >&5
42802 sed 's/^/| /' conftest.$ac_ext >&5
42803
42804 ac_cv_func_pthread_attr_setschedparam=no
42805 fi
42806
42807 rm -f core conftest.err conftest.$ac_objext \
42808 conftest$ac_exeext conftest.$ac_ext
42809 fi
42810 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
42811 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
42812 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
42813 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
42814 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
42815 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
42816 echo $ECHO_N "(cached) $ECHO_C" >&6
42817 else
42818 cat >conftest.$ac_ext <<_ACEOF
42819 /* confdefs.h. */
42820 _ACEOF
42821 cat confdefs.h >>conftest.$ac_ext
42822 cat >>conftest.$ac_ext <<_ACEOF
42823 /* end confdefs.h. */
42824 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
42825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42826 #define sched_get_priority_max innocuous_sched_get_priority_max
42827
42828 /* System header to define __stub macros and hopefully few prototypes,
42829 which can conflict with char sched_get_priority_max (); below.
42830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42831 <limits.h> exists even on freestanding compilers. */
42832
42833 #ifdef __STDC__
42834 # include <limits.h>
42835 #else
42836 # include <assert.h>
42837 #endif
42838
42839 #undef sched_get_priority_max
42840
42841 /* Override any GCC internal prototype to avoid an error.
42842 Use char because int might match the return type of a GCC
42843 builtin and then its argument prototype would still apply. */
42844 #ifdef __cplusplus
42845 extern "C"
42846 #endif
42847 char sched_get_priority_max ();
42848 /* The GNU C library defines this for functions which it implements
42849 to always fail with ENOSYS. Some functions are actually named
42850 something starting with __ and the normal name is an alias. */
42851 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
42852 choke me
42853 #endif
42854
42855 int
42856 main ()
42857 {
42858 return sched_get_priority_max ();
42859 ;
42860 return 0;
42861 }
42862 _ACEOF
42863 rm -f conftest.$ac_objext conftest$ac_exeext
42864 if { (ac_try="$ac_link"
42865 case "(($ac_try" in
42866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42867 *) ac_try_echo=$ac_try;;
42868 esac
42869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42870 (eval "$ac_link") 2>conftest.er1
42871 ac_status=$?
42872 grep -v '^ *+' conftest.er1 >conftest.err
42873 rm -f conftest.er1
42874 cat conftest.err >&5
42875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42876 (exit $ac_status); } &&
42877 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42878 { (case "(($ac_try" in
42879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42880 *) ac_try_echo=$ac_try;;
42881 esac
42882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42883 (eval "$ac_try") 2>&5
42884 ac_status=$?
42885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42886 (exit $ac_status); }; } &&
42887 { ac_try='test -s conftest$ac_exeext'
42888 { (case "(($ac_try" in
42889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42890 *) ac_try_echo=$ac_try;;
42891 esac
42892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42893 (eval "$ac_try") 2>&5
42894 ac_status=$?
42895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42896 (exit $ac_status); }; }; then
42897 ac_cv_func_sched_get_priority_max=yes
42898 else
42899 echo "$as_me: failed program was:" >&5
42900 sed 's/^/| /' conftest.$ac_ext >&5
42901
42902 ac_cv_func_sched_get_priority_max=no
42903 fi
42904
42905 rm -f core conftest.err conftest.$ac_objext \
42906 conftest$ac_exeext conftest.$ac_ext
42907 fi
42908 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42909 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42910 if test $ac_cv_func_sched_get_priority_max = yes; then
42911 HAVE_PRIOR_FUNCS=1
42912 else
42913 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42914 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42915 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42916 echo $ECHO_N "(cached) $ECHO_C" >&6
42917 else
42918 ac_check_lib_save_LIBS=$LIBS
42919 LIBS="-lposix4 $LIBS"
42920 cat >conftest.$ac_ext <<_ACEOF
42921 /* confdefs.h. */
42922 _ACEOF
42923 cat confdefs.h >>conftest.$ac_ext
42924 cat >>conftest.$ac_ext <<_ACEOF
42925 /* end confdefs.h. */
42926
42927 /* Override any GCC internal prototype to avoid an error.
42928 Use char because int might match the return type of a GCC
42929 builtin and then its argument prototype would still apply. */
42930 #ifdef __cplusplus
42931 extern "C"
42932 #endif
42933 char sched_get_priority_max ();
42934 int
42935 main ()
42936 {
42937 return sched_get_priority_max ();
42938 ;
42939 return 0;
42940 }
42941 _ACEOF
42942 rm -f conftest.$ac_objext conftest$ac_exeext
42943 if { (ac_try="$ac_link"
42944 case "(($ac_try" in
42945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42946 *) ac_try_echo=$ac_try;;
42947 esac
42948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42949 (eval "$ac_link") 2>conftest.er1
42950 ac_status=$?
42951 grep -v '^ *+' conftest.er1 >conftest.err
42952 rm -f conftest.er1
42953 cat conftest.err >&5
42954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42955 (exit $ac_status); } &&
42956 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42957 { (case "(($ac_try" in
42958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42959 *) ac_try_echo=$ac_try;;
42960 esac
42961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42962 (eval "$ac_try") 2>&5
42963 ac_status=$?
42964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42965 (exit $ac_status); }; } &&
42966 { ac_try='test -s conftest$ac_exeext'
42967 { (case "(($ac_try" in
42968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42969 *) ac_try_echo=$ac_try;;
42970 esac
42971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42972 (eval "$ac_try") 2>&5
42973 ac_status=$?
42974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42975 (exit $ac_status); }; }; then
42976 ac_cv_lib_posix4_sched_get_priority_max=yes
42977 else
42978 echo "$as_me: failed program was:" >&5
42979 sed 's/^/| /' conftest.$ac_ext >&5
42980
42981 ac_cv_lib_posix4_sched_get_priority_max=no
42982 fi
42983
42984 rm -f core conftest.err conftest.$ac_objext \
42985 conftest$ac_exeext conftest.$ac_ext
42986 LIBS=$ac_check_lib_save_LIBS
42987 fi
42988 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42989 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42990 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42991
42992 HAVE_PRIOR_FUNCS=1
42993 POSIX4_LINK=" -lposix4"
42994
42995 fi
42996
42997
42998 fi
42999
43000
43001 fi
43002
43003
43004 fi
43005
43006
43007 if test "$HAVE_PRIOR_FUNCS" = 1; then
43008 cat >>confdefs.h <<\_ACEOF
43009 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
43010 _ACEOF
43011
43012 else
43013 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
43014 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
43015 fi
43016
43017 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
43018 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
43019 if test "${ac_cv_func_pthread_cancel+set}" = set; then
43020 echo $ECHO_N "(cached) $ECHO_C" >&6
43021 else
43022 cat >conftest.$ac_ext <<_ACEOF
43023 /* confdefs.h. */
43024 _ACEOF
43025 cat confdefs.h >>conftest.$ac_ext
43026 cat >>conftest.$ac_ext <<_ACEOF
43027 /* end confdefs.h. */
43028 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
43029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43030 #define pthread_cancel innocuous_pthread_cancel
43031
43032 /* System header to define __stub macros and hopefully few prototypes,
43033 which can conflict with char pthread_cancel (); below.
43034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43035 <limits.h> exists even on freestanding compilers. */
43036
43037 #ifdef __STDC__
43038 # include <limits.h>
43039 #else
43040 # include <assert.h>
43041 #endif
43042
43043 #undef pthread_cancel
43044
43045 /* Override any GCC internal prototype to avoid an error.
43046 Use char because int might match the return type of a GCC
43047 builtin and then its argument prototype would still apply. */
43048 #ifdef __cplusplus
43049 extern "C"
43050 #endif
43051 char pthread_cancel ();
43052 /* The GNU C library defines this for functions which it implements
43053 to always fail with ENOSYS. Some functions are actually named
43054 something starting with __ and the normal name is an alias. */
43055 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
43056 choke me
43057 #endif
43058
43059 int
43060 main ()
43061 {
43062 return pthread_cancel ();
43063 ;
43064 return 0;
43065 }
43066 _ACEOF
43067 rm -f conftest.$ac_objext conftest$ac_exeext
43068 if { (ac_try="$ac_link"
43069 case "(($ac_try" in
43070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43071 *) ac_try_echo=$ac_try;;
43072 esac
43073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43074 (eval "$ac_link") 2>conftest.er1
43075 ac_status=$?
43076 grep -v '^ *+' conftest.er1 >conftest.err
43077 rm -f conftest.er1
43078 cat conftest.err >&5
43079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43080 (exit $ac_status); } &&
43081 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43082 { (case "(($ac_try" in
43083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43084 *) ac_try_echo=$ac_try;;
43085 esac
43086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43087 (eval "$ac_try") 2>&5
43088 ac_status=$?
43089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43090 (exit $ac_status); }; } &&
43091 { ac_try='test -s conftest$ac_exeext'
43092 { (case "(($ac_try" in
43093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43094 *) ac_try_echo=$ac_try;;
43095 esac
43096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43097 (eval "$ac_try") 2>&5
43098 ac_status=$?
43099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43100 (exit $ac_status); }; }; then
43101 ac_cv_func_pthread_cancel=yes
43102 else
43103 echo "$as_me: failed program was:" >&5
43104 sed 's/^/| /' conftest.$ac_ext >&5
43105
43106 ac_cv_func_pthread_cancel=no
43107 fi
43108
43109 rm -f core conftest.err conftest.$ac_objext \
43110 conftest$ac_exeext conftest.$ac_ext
43111 fi
43112 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
43113 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
43114 if test $ac_cv_func_pthread_cancel = yes; then
43115 cat >>confdefs.h <<\_ACEOF
43116 #define HAVE_PTHREAD_CANCEL 1
43117 _ACEOF
43118
43119 else
43120 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
43121 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
43122 fi
43123
43124
43125 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
43126 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
43127 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
43128 echo $ECHO_N "(cached) $ECHO_C" >&6
43129 else
43130 cat >conftest.$ac_ext <<_ACEOF
43131 /* confdefs.h. */
43132 _ACEOF
43133 cat confdefs.h >>conftest.$ac_ext
43134 cat >>conftest.$ac_ext <<_ACEOF
43135 /* end confdefs.h. */
43136 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
43137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43138 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
43139
43140 /* System header to define __stub macros and hopefully few prototypes,
43141 which can conflict with char pthread_mutex_timedlock (); below.
43142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43143 <limits.h> exists even on freestanding compilers. */
43144
43145 #ifdef __STDC__
43146 # include <limits.h>
43147 #else
43148 # include <assert.h>
43149 #endif
43150
43151 #undef pthread_mutex_timedlock
43152
43153 /* Override any GCC internal prototype to avoid an error.
43154 Use char because int might match the return type of a GCC
43155 builtin and then its argument prototype would still apply. */
43156 #ifdef __cplusplus
43157 extern "C"
43158 #endif
43159 char pthread_mutex_timedlock ();
43160 /* The GNU C library defines this for functions which it implements
43161 to always fail with ENOSYS. Some functions are actually named
43162 something starting with __ and the normal name is an alias. */
43163 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
43164 choke me
43165 #endif
43166
43167 int
43168 main ()
43169 {
43170 return pthread_mutex_timedlock ();
43171 ;
43172 return 0;
43173 }
43174 _ACEOF
43175 rm -f conftest.$ac_objext conftest$ac_exeext
43176 if { (ac_try="$ac_link"
43177 case "(($ac_try" in
43178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43179 *) ac_try_echo=$ac_try;;
43180 esac
43181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43182 (eval "$ac_link") 2>conftest.er1
43183 ac_status=$?
43184 grep -v '^ *+' conftest.er1 >conftest.err
43185 rm -f conftest.er1
43186 cat conftest.err >&5
43187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43188 (exit $ac_status); } &&
43189 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43190 { (case "(($ac_try" in
43191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43192 *) ac_try_echo=$ac_try;;
43193 esac
43194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43195 (eval "$ac_try") 2>&5
43196 ac_status=$?
43197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43198 (exit $ac_status); }; } &&
43199 { ac_try='test -s conftest$ac_exeext'
43200 { (case "(($ac_try" in
43201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43202 *) ac_try_echo=$ac_try;;
43203 esac
43204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43205 (eval "$ac_try") 2>&5
43206 ac_status=$?
43207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43208 (exit $ac_status); }; }; then
43209 ac_cv_func_pthread_mutex_timedlock=yes
43210 else
43211 echo "$as_me: failed program was:" >&5
43212 sed 's/^/| /' conftest.$ac_ext >&5
43213
43214 ac_cv_func_pthread_mutex_timedlock=no
43215 fi
43216
43217 rm -f core conftest.err conftest.$ac_objext \
43218 conftest$ac_exeext conftest.$ac_ext
43219 fi
43220 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
43221 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
43222 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
43223 cat >>confdefs.h <<\_ACEOF
43224 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
43225 _ACEOF
43226
43227 else
43228 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
43229 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
43230 fi
43231
43232
43233 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
43234 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
43235 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
43236 echo $ECHO_N "(cached) $ECHO_C" >&6
43237 else
43238 cat >conftest.$ac_ext <<_ACEOF
43239 /* confdefs.h. */
43240 _ACEOF
43241 cat confdefs.h >>conftest.$ac_ext
43242 cat >>conftest.$ac_ext <<_ACEOF
43243 /* end confdefs.h. */
43244 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
43245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43246 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
43247
43248 /* System header to define __stub macros and hopefully few prototypes,
43249 which can conflict with char pthread_attr_setstacksize (); below.
43250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43251 <limits.h> exists even on freestanding compilers. */
43252
43253 #ifdef __STDC__
43254 # include <limits.h>
43255 #else
43256 # include <assert.h>
43257 #endif
43258
43259 #undef pthread_attr_setstacksize
43260
43261 /* Override any GCC internal prototype to avoid an error.
43262 Use char because int might match the return type of a GCC
43263 builtin and then its argument prototype would still apply. */
43264 #ifdef __cplusplus
43265 extern "C"
43266 #endif
43267 char pthread_attr_setstacksize ();
43268 /* The GNU C library defines this for functions which it implements
43269 to always fail with ENOSYS. Some functions are actually named
43270 something starting with __ and the normal name is an alias. */
43271 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
43272 choke me
43273 #endif
43274
43275 int
43276 main ()
43277 {
43278 return pthread_attr_setstacksize ();
43279 ;
43280 return 0;
43281 }
43282 _ACEOF
43283 rm -f conftest.$ac_objext conftest$ac_exeext
43284 if { (ac_try="$ac_link"
43285 case "(($ac_try" in
43286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43287 *) ac_try_echo=$ac_try;;
43288 esac
43289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43290 (eval "$ac_link") 2>conftest.er1
43291 ac_status=$?
43292 grep -v '^ *+' conftest.er1 >conftest.err
43293 rm -f conftest.er1
43294 cat conftest.err >&5
43295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43296 (exit $ac_status); } &&
43297 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43298 { (case "(($ac_try" in
43299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43300 *) ac_try_echo=$ac_try;;
43301 esac
43302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43303 (eval "$ac_try") 2>&5
43304 ac_status=$?
43305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43306 (exit $ac_status); }; } &&
43307 { ac_try='test -s conftest$ac_exeext'
43308 { (case "(($ac_try" in
43309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43310 *) ac_try_echo=$ac_try;;
43311 esac
43312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43313 (eval "$ac_try") 2>&5
43314 ac_status=$?
43315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43316 (exit $ac_status); }; }; then
43317 ac_cv_func_pthread_attr_setstacksize=yes
43318 else
43319 echo "$as_me: failed program was:" >&5
43320 sed 's/^/| /' conftest.$ac_ext >&5
43321
43322 ac_cv_func_pthread_attr_setstacksize=no
43323 fi
43324
43325 rm -f core conftest.err conftest.$ac_objext \
43326 conftest$ac_exeext conftest.$ac_ext
43327 fi
43328 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
43329 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
43330 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
43331 cat >>confdefs.h <<\_ACEOF
43332 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
43333 _ACEOF
43334
43335 fi
43336
43337
43338
43339 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
43340 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
43341 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
43342 echo $ECHO_N "(cached) $ECHO_C" >&6
43343 else
43344
43345 cat >conftest.$ac_ext <<_ACEOF
43346 /* confdefs.h. */
43347 _ACEOF
43348 cat confdefs.h >>conftest.$ac_ext
43349 cat >>conftest.$ac_ext <<_ACEOF
43350 /* end confdefs.h. */
43351 #include <pthread.h>
43352 int
43353 main ()
43354 {
43355
43356 pthread_mutexattr_t attr;
43357 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
43358
43359 ;
43360 return 0;
43361 }
43362 _ACEOF
43363 rm -f conftest.$ac_objext
43364 if { (ac_try="$ac_compile"
43365 case "(($ac_try" in
43366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43367 *) ac_try_echo=$ac_try;;
43368 esac
43369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43370 (eval "$ac_compile") 2>conftest.er1
43371 ac_status=$?
43372 grep -v '^ *+' conftest.er1 >conftest.err
43373 rm -f conftest.er1
43374 cat conftest.err >&5
43375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43376 (exit $ac_status); } &&
43377 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43378 { (case "(($ac_try" in
43379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43380 *) ac_try_echo=$ac_try;;
43381 esac
43382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43383 (eval "$ac_try") 2>&5
43384 ac_status=$?
43385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43386 (exit $ac_status); }; } &&
43387 { ac_try='test -s conftest.$ac_objext'
43388 { (case "(($ac_try" in
43389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43390 *) ac_try_echo=$ac_try;;
43391 esac
43392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43393 (eval "$ac_try") 2>&5
43394 ac_status=$?
43395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43396 (exit $ac_status); }; }; then
43397 wx_cv_type_pthread_mutexattr_t=yes
43398 else
43399 echo "$as_me: failed program was:" >&5
43400 sed 's/^/| /' conftest.$ac_ext >&5
43401
43402 wx_cv_type_pthread_mutexattr_t=no
43403
43404 fi
43405
43406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43407
43408 fi
43409 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
43410 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
43411
43412 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
43413 cat >>confdefs.h <<\_ACEOF
43414 #define HAVE_PTHREAD_MUTEXATTR_T 1
43415 _ACEOF
43416
43417
43418 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
43419 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
43420 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
43421 echo $ECHO_N "(cached) $ECHO_C" >&6
43422 else
43423
43424 cat >conftest.$ac_ext <<_ACEOF
43425 /* confdefs.h. */
43426 _ACEOF
43427 cat confdefs.h >>conftest.$ac_ext
43428 cat >>conftest.$ac_ext <<_ACEOF
43429 /* end confdefs.h. */
43430 #include <pthread.h>
43431 int
43432 main ()
43433 {
43434
43435 pthread_mutexattr_t attr;
43436 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
43437
43438 ;
43439 return 0;
43440 }
43441 _ACEOF
43442 rm -f conftest.$ac_objext
43443 if { (ac_try="$ac_compile"
43444 case "(($ac_try" in
43445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43446 *) ac_try_echo=$ac_try;;
43447 esac
43448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43449 (eval "$ac_compile") 2>conftest.er1
43450 ac_status=$?
43451 grep -v '^ *+' conftest.er1 >conftest.err
43452 rm -f conftest.er1
43453 cat conftest.err >&5
43454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43455 (exit $ac_status); } &&
43456 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43457 { (case "(($ac_try" in
43458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43459 *) ac_try_echo=$ac_try;;
43460 esac
43461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43462 (eval "$ac_try") 2>&5
43463 ac_status=$?
43464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43465 (exit $ac_status); }; } &&
43466 { ac_try='test -s conftest.$ac_objext'
43467 { (case "(($ac_try" in
43468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43469 *) ac_try_echo=$ac_try;;
43470 esac
43471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43472 (eval "$ac_try") 2>&5
43473 ac_status=$?
43474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43475 (exit $ac_status); }; }; then
43476 wx_cv_func_pthread_mutexattr_settype_decl=yes
43477 else
43478 echo "$as_me: failed program was:" >&5
43479 sed 's/^/| /' conftest.$ac_ext >&5
43480
43481 wx_cv_func_pthread_mutexattr_settype_decl=no
43482
43483 fi
43484
43485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43486
43487 fi
43488 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
43489 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
43490 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
43491 cat >>confdefs.h <<\_ACEOF
43492 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
43493 _ACEOF
43494
43495 fi
43496 else
43497 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
43498 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
43499 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
43500 echo $ECHO_N "(cached) $ECHO_C" >&6
43501 else
43502
43503 cat >conftest.$ac_ext <<_ACEOF
43504 /* confdefs.h. */
43505 _ACEOF
43506 cat confdefs.h >>conftest.$ac_ext
43507 cat >>conftest.$ac_ext <<_ACEOF
43508 /* end confdefs.h. */
43509 #include <pthread.h>
43510 int
43511 main ()
43512 {
43513
43514 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
43515
43516 ;
43517 return 0;
43518 }
43519 _ACEOF
43520 rm -f conftest.$ac_objext
43521 if { (ac_try="$ac_compile"
43522 case "(($ac_try" in
43523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43524 *) ac_try_echo=$ac_try;;
43525 esac
43526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43527 (eval "$ac_compile") 2>conftest.er1
43528 ac_status=$?
43529 grep -v '^ *+' conftest.er1 >conftest.err
43530 rm -f conftest.er1
43531 cat conftest.err >&5
43532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43533 (exit $ac_status); } &&
43534 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43535 { (case "(($ac_try" in
43536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43537 *) ac_try_echo=$ac_try;;
43538 esac
43539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43540 (eval "$ac_try") 2>&5
43541 ac_status=$?
43542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43543 (exit $ac_status); }; } &&
43544 { ac_try='test -s conftest.$ac_objext'
43545 { (case "(($ac_try" in
43546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43547 *) ac_try_echo=$ac_try;;
43548 esac
43549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43550 (eval "$ac_try") 2>&5
43551 ac_status=$?
43552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43553 (exit $ac_status); }; }; then
43554
43555 wx_cv_type_pthread_rec_mutex_init=yes
43556
43557 else
43558 echo "$as_me: failed program was:" >&5
43559 sed 's/^/| /' conftest.$ac_ext >&5
43560
43561
43562 wx_cv_type_pthread_rec_mutex_init=no
43563
43564
43565 fi
43566
43567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43568
43569 fi
43570 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
43571 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
43572 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
43573 cat >>confdefs.h <<\_ACEOF
43574 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
43575 _ACEOF
43576
43577 else
43578 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
43579 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
43580 fi
43581 fi
43582 fi
43583
43584 else
43585 if test "$wxUSE_THREADS" = "yes" ; then
43586 case "${host}" in
43587 *-*-mingw32* )
43588 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
43589 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
43590 if test "${wx_cv_cflags_mthread+set}" = set; then
43591 echo $ECHO_N "(cached) $ECHO_C" >&6
43592 else
43593
43594 CFLAGS_OLD="$CFLAGS"
43595 CFLAGS="-mthreads $CFLAGS"
43596 cat >conftest.$ac_ext <<_ACEOF
43597 /* confdefs.h. */
43598 _ACEOF
43599 cat confdefs.h >>conftest.$ac_ext
43600 cat >>conftest.$ac_ext <<_ACEOF
43601 /* end confdefs.h. */
43602
43603 int
43604 main ()
43605 {
43606
43607 ;
43608 return 0;
43609 }
43610 _ACEOF
43611 rm -f conftest.$ac_objext
43612 if { (ac_try="$ac_compile"
43613 case "(($ac_try" in
43614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43615 *) ac_try_echo=$ac_try;;
43616 esac
43617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43618 (eval "$ac_compile") 2>conftest.er1
43619 ac_status=$?
43620 grep -v '^ *+' conftest.er1 >conftest.err
43621 rm -f conftest.er1
43622 cat conftest.err >&5
43623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43624 (exit $ac_status); } &&
43625 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43626 { (case "(($ac_try" in
43627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43628 *) ac_try_echo=$ac_try;;
43629 esac
43630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43631 (eval "$ac_try") 2>&5
43632 ac_status=$?
43633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43634 (exit $ac_status); }; } &&
43635 { ac_try='test -s conftest.$ac_objext'
43636 { (case "(($ac_try" in
43637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43638 *) ac_try_echo=$ac_try;;
43639 esac
43640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43641 (eval "$ac_try") 2>&5
43642 ac_status=$?
43643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43644 (exit $ac_status); }; }; then
43645 wx_cv_cflags_mthread=yes
43646 else
43647 echo "$as_me: failed program was:" >&5
43648 sed 's/^/| /' conftest.$ac_ext >&5
43649
43650 wx_cv_cflags_mthread=no
43651
43652 fi
43653
43654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43655
43656
43657 fi
43658 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
43659 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
43660
43661 if test "$wx_cv_cflags_mthread" = "yes"; then
43662 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
43663 LDFLAGS="$LDFLAGS -mthreads"
43664 else
43665 CFLAGS="$CFLAGS_OLD"
43666 fi
43667 ;;
43668 *-pc-os2*emx )
43669 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
43670 LDFLAGS="$LDFLAGS -Zmt"
43671 ;;
43672 esac
43673 fi
43674 fi
43675
43676 { echo "$as_me:$LINENO: checking for localtime_r" >&5
43677 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
43678 if test "${ac_cv_func_localtime_r+set}" = set; then
43679 echo $ECHO_N "(cached) $ECHO_C" >&6
43680 else
43681 cat >conftest.$ac_ext <<_ACEOF
43682 /* confdefs.h. */
43683 _ACEOF
43684 cat confdefs.h >>conftest.$ac_ext
43685 cat >>conftest.$ac_ext <<_ACEOF
43686 /* end confdefs.h. */
43687 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
43688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43689 #define localtime_r innocuous_localtime_r
43690
43691 /* System header to define __stub macros and hopefully few prototypes,
43692 which can conflict with char localtime_r (); below.
43693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43694 <limits.h> exists even on freestanding compilers. */
43695
43696 #ifdef __STDC__
43697 # include <limits.h>
43698 #else
43699 # include <assert.h>
43700 #endif
43701
43702 #undef localtime_r
43703
43704 /* Override any GCC internal prototype to avoid an error.
43705 Use char because int might match the return type of a GCC
43706 builtin and then its argument prototype would still apply. */
43707 #ifdef __cplusplus
43708 extern "C"
43709 #endif
43710 char localtime_r ();
43711 /* The GNU C library defines this for functions which it implements
43712 to always fail with ENOSYS. Some functions are actually named
43713 something starting with __ and the normal name is an alias. */
43714 #if defined __stub_localtime_r || defined __stub___localtime_r
43715 choke me
43716 #endif
43717
43718 int
43719 main ()
43720 {
43721 return localtime_r ();
43722 ;
43723 return 0;
43724 }
43725 _ACEOF
43726 rm -f conftest.$ac_objext conftest$ac_exeext
43727 if { (ac_try="$ac_link"
43728 case "(($ac_try" in
43729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43730 *) ac_try_echo=$ac_try;;
43731 esac
43732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43733 (eval "$ac_link") 2>conftest.er1
43734 ac_status=$?
43735 grep -v '^ *+' conftest.er1 >conftest.err
43736 rm -f conftest.er1
43737 cat conftest.err >&5
43738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43739 (exit $ac_status); } &&
43740 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43741 { (case "(($ac_try" in
43742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43743 *) ac_try_echo=$ac_try;;
43744 esac
43745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43746 (eval "$ac_try") 2>&5
43747 ac_status=$?
43748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43749 (exit $ac_status); }; } &&
43750 { ac_try='test -s conftest$ac_exeext'
43751 { (case "(($ac_try" in
43752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43753 *) ac_try_echo=$ac_try;;
43754 esac
43755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43756 (eval "$ac_try") 2>&5
43757 ac_status=$?
43758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43759 (exit $ac_status); }; }; then
43760 ac_cv_func_localtime_r=yes
43761 else
43762 echo "$as_me: failed program was:" >&5
43763 sed 's/^/| /' conftest.$ac_ext >&5
43764
43765 ac_cv_func_localtime_r=no
43766 fi
43767
43768 rm -f core conftest.err conftest.$ac_objext \
43769 conftest$ac_exeext conftest.$ac_ext
43770 fi
43771 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
43772 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
43773 if test $ac_cv_func_localtime_r = yes; then
43774 cat >>confdefs.h <<\_ACEOF
43775 #define HAVE_LOCALTIME_R 1
43776 _ACEOF
43777
43778 fi
43779
43780 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
43781 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
43782 if test "${ac_cv_func_gmtime_r+set}" = set; then
43783 echo $ECHO_N "(cached) $ECHO_C" >&6
43784 else
43785 cat >conftest.$ac_ext <<_ACEOF
43786 /* confdefs.h. */
43787 _ACEOF
43788 cat confdefs.h >>conftest.$ac_ext
43789 cat >>conftest.$ac_ext <<_ACEOF
43790 /* end confdefs.h. */
43791 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
43792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43793 #define gmtime_r innocuous_gmtime_r
43794
43795 /* System header to define __stub macros and hopefully few prototypes,
43796 which can conflict with char gmtime_r (); below.
43797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43798 <limits.h> exists even on freestanding compilers. */
43799
43800 #ifdef __STDC__
43801 # include <limits.h>
43802 #else
43803 # include <assert.h>
43804 #endif
43805
43806 #undef gmtime_r
43807
43808 /* Override any GCC internal prototype to avoid an error.
43809 Use char because int might match the return type of a GCC
43810 builtin and then its argument prototype would still apply. */
43811 #ifdef __cplusplus
43812 extern "C"
43813 #endif
43814 char gmtime_r ();
43815 /* The GNU C library defines this for functions which it implements
43816 to always fail with ENOSYS. Some functions are actually named
43817 something starting with __ and the normal name is an alias. */
43818 #if defined __stub_gmtime_r || defined __stub___gmtime_r
43819 choke me
43820 #endif
43821
43822 int
43823 main ()
43824 {
43825 return gmtime_r ();
43826 ;
43827 return 0;
43828 }
43829 _ACEOF
43830 rm -f conftest.$ac_objext conftest$ac_exeext
43831 if { (ac_try="$ac_link"
43832 case "(($ac_try" in
43833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43834 *) ac_try_echo=$ac_try;;
43835 esac
43836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43837 (eval "$ac_link") 2>conftest.er1
43838 ac_status=$?
43839 grep -v '^ *+' conftest.er1 >conftest.err
43840 rm -f conftest.er1
43841 cat conftest.err >&5
43842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43843 (exit $ac_status); } &&
43844 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43845 { (case "(($ac_try" in
43846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43847 *) ac_try_echo=$ac_try;;
43848 esac
43849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43850 (eval "$ac_try") 2>&5
43851 ac_status=$?
43852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43853 (exit $ac_status); }; } &&
43854 { ac_try='test -s conftest$ac_exeext'
43855 { (case "(($ac_try" in
43856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43857 *) ac_try_echo=$ac_try;;
43858 esac
43859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43860 (eval "$ac_try") 2>&5
43861 ac_status=$?
43862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43863 (exit $ac_status); }; }; then
43864 ac_cv_func_gmtime_r=yes
43865 else
43866 echo "$as_me: failed program was:" >&5
43867 sed 's/^/| /' conftest.$ac_ext >&5
43868
43869 ac_cv_func_gmtime_r=no
43870 fi
43871
43872 rm -f core conftest.err conftest.$ac_objext \
43873 conftest$ac_exeext conftest.$ac_ext
43874 fi
43875 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
43876 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
43877 if test $ac_cv_func_gmtime_r = yes; then
43878 cat >>confdefs.h <<\_ACEOF
43879 #define HAVE_GMTIME_R 1
43880 _ACEOF
43881
43882 fi
43883
43884 { echo "$as_me:$LINENO: checking for readdir_r" >&5
43885 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
43886 if test "${ac_cv_func_readdir_r+set}" = set; then
43887 echo $ECHO_N "(cached) $ECHO_C" >&6
43888 else
43889 cat >conftest.$ac_ext <<_ACEOF
43890 /* confdefs.h. */
43891 _ACEOF
43892 cat confdefs.h >>conftest.$ac_ext
43893 cat >>conftest.$ac_ext <<_ACEOF
43894 /* end confdefs.h. */
43895 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
43896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43897 #define readdir_r innocuous_readdir_r
43898
43899 /* System header to define __stub macros and hopefully few prototypes,
43900 which can conflict with char readdir_r (); below.
43901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43902 <limits.h> exists even on freestanding compilers. */
43903
43904 #ifdef __STDC__
43905 # include <limits.h>
43906 #else
43907 # include <assert.h>
43908 #endif
43909
43910 #undef readdir_r
43911
43912 /* Override any GCC internal prototype to avoid an error.
43913 Use char because int might match the return type of a GCC
43914 builtin and then its argument prototype would still apply. */
43915 #ifdef __cplusplus
43916 extern "C"
43917 #endif
43918 char readdir_r ();
43919 /* The GNU C library defines this for functions which it implements
43920 to always fail with ENOSYS. Some functions are actually named
43921 something starting with __ and the normal name is an alias. */
43922 #if defined __stub_readdir_r || defined __stub___readdir_r
43923 choke me
43924 #endif
43925
43926 int
43927 main ()
43928 {
43929 return readdir_r ();
43930 ;
43931 return 0;
43932 }
43933 _ACEOF
43934 rm -f conftest.$ac_objext conftest$ac_exeext
43935 if { (ac_try="$ac_link"
43936 case "(($ac_try" in
43937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43938 *) ac_try_echo=$ac_try;;
43939 esac
43940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43941 (eval "$ac_link") 2>conftest.er1
43942 ac_status=$?
43943 grep -v '^ *+' conftest.er1 >conftest.err
43944 rm -f conftest.er1
43945 cat conftest.err >&5
43946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43947 (exit $ac_status); } &&
43948 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43949 { (case "(($ac_try" in
43950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43951 *) ac_try_echo=$ac_try;;
43952 esac
43953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43954 (eval "$ac_try") 2>&5
43955 ac_status=$?
43956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43957 (exit $ac_status); }; } &&
43958 { ac_try='test -s conftest$ac_exeext'
43959 { (case "(($ac_try" in
43960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43961 *) ac_try_echo=$ac_try;;
43962 esac
43963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43964 (eval "$ac_try") 2>&5
43965 ac_status=$?
43966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43967 (exit $ac_status); }; }; then
43968 ac_cv_func_readdir_r=yes
43969 else
43970 echo "$as_me: failed program was:" >&5
43971 sed 's/^/| /' conftest.$ac_ext >&5
43972
43973 ac_cv_func_readdir_r=no
43974 fi
43975
43976 rm -f core conftest.err conftest.$ac_objext \
43977 conftest$ac_exeext conftest.$ac_ext
43978 fi
43979 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
43980 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
43981 if test $ac_cv_func_readdir_r = yes; then
43982 cat >>confdefs.h <<\_ACEOF
43983 #define HAVE_READDIR_R 1
43984 _ACEOF
43985
43986 fi
43987
43988
43989
43990
43991 ac_ext=c
43992 ac_cpp='$CPP $CPPFLAGS'
43993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43996
43997 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
43998 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
43999
44000 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
44001 echo $ECHO_N "(cached) $ECHO_C" >&6
44002 else
44003
44004
44005 ################################################################
44006
44007 ac_cv_func_which_gethostbyname_r=unknown
44008
44009 #
44010 # ONE ARGUMENT (sanity check)
44011 #
44012
44013 # This should fail, as there is no variant of gethostbyname_r() that takes
44014 # a single argument. If it actually compiles, then we can assume that
44015 # netdb.h is not declaring the function, and the compiler is thereby
44016 # assuming an implicit prototype. In which case, we're out of luck.
44017 #
44018 cat >conftest.$ac_ext <<_ACEOF
44019 /* confdefs.h. */
44020 _ACEOF
44021 cat confdefs.h >>conftest.$ac_ext
44022 cat >>conftest.$ac_ext <<_ACEOF
44023 /* end confdefs.h. */
44024 #include <netdb.h>
44025 int
44026 main ()
44027 {
44028
44029 char *name = "www.gnu.org";
44030 (void)gethostbyname_r(name) /* ; */
44031
44032 ;
44033 return 0;
44034 }
44035 _ACEOF
44036 rm -f conftest.$ac_objext
44037 if { (ac_try="$ac_compile"
44038 case "(($ac_try" in
44039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44040 *) ac_try_echo=$ac_try;;
44041 esac
44042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44043 (eval "$ac_compile") 2>conftest.er1
44044 ac_status=$?
44045 grep -v '^ *+' conftest.er1 >conftest.err
44046 rm -f conftest.er1
44047 cat conftest.err >&5
44048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44049 (exit $ac_status); } &&
44050 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44051 { (case "(($ac_try" in
44052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44053 *) ac_try_echo=$ac_try;;
44054 esac
44055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44056 (eval "$ac_try") 2>&5
44057 ac_status=$?
44058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44059 (exit $ac_status); }; } &&
44060 { ac_try='test -s conftest.$ac_objext'
44061 { (case "(($ac_try" in
44062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44063 *) ac_try_echo=$ac_try;;
44064 esac
44065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44066 (eval "$ac_try") 2>&5
44067 ac_status=$?
44068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44069 (exit $ac_status); }; }; then
44070 ac_cv_func_which_gethostbyname_r=no
44071 else
44072 echo "$as_me: failed program was:" >&5
44073 sed 's/^/| /' conftest.$ac_ext >&5
44074
44075
44076 fi
44077
44078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44079
44080 #
44081 # SIX ARGUMENTS
44082 # (e.g. Linux)
44083 #
44084
44085 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44086
44087 cat >conftest.$ac_ext <<_ACEOF
44088 /* confdefs.h. */
44089 _ACEOF
44090 cat confdefs.h >>conftest.$ac_ext
44091 cat >>conftest.$ac_ext <<_ACEOF
44092 /* end confdefs.h. */
44093 #include <netdb.h>
44094 int
44095 main ()
44096 {
44097
44098 char *name = "www.gnu.org";
44099 struct hostent ret, *retp;
44100 char buf[1024];
44101 int buflen = 1024;
44102 int my_h_errno;
44103 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
44104
44105 ;
44106 return 0;
44107 }
44108 _ACEOF
44109 rm -f conftest.$ac_objext
44110 if { (ac_try="$ac_compile"
44111 case "(($ac_try" in
44112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44113 *) ac_try_echo=$ac_try;;
44114 esac
44115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44116 (eval "$ac_compile") 2>conftest.er1
44117 ac_status=$?
44118 grep -v '^ *+' conftest.er1 >conftest.err
44119 rm -f conftest.er1
44120 cat conftest.err >&5
44121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44122 (exit $ac_status); } &&
44123 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44124 { (case "(($ac_try" in
44125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44126 *) ac_try_echo=$ac_try;;
44127 esac
44128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44129 (eval "$ac_try") 2>&5
44130 ac_status=$?
44131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44132 (exit $ac_status); }; } &&
44133 { ac_try='test -s conftest.$ac_objext'
44134 { (case "(($ac_try" in
44135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44136 *) ac_try_echo=$ac_try;;
44137 esac
44138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44139 (eval "$ac_try") 2>&5
44140 ac_status=$?
44141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44142 (exit $ac_status); }; }; then
44143 ac_cv_func_which_gethostbyname_r=six
44144 else
44145 echo "$as_me: failed program was:" >&5
44146 sed 's/^/| /' conftest.$ac_ext >&5
44147
44148
44149 fi
44150
44151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44152
44153 fi
44154
44155 #
44156 # FIVE ARGUMENTS
44157 # (e.g. Solaris)
44158 #
44159
44160 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44161
44162 cat >conftest.$ac_ext <<_ACEOF
44163 /* confdefs.h. */
44164 _ACEOF
44165 cat confdefs.h >>conftest.$ac_ext
44166 cat >>conftest.$ac_ext <<_ACEOF
44167 /* end confdefs.h. */
44168 #include <netdb.h>
44169 int
44170 main ()
44171 {
44172
44173 char *name = "www.gnu.org";
44174 struct hostent ret;
44175 char buf[1024];
44176 int buflen = 1024;
44177 int my_h_errno;
44178 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
44179
44180 ;
44181 return 0;
44182 }
44183 _ACEOF
44184 rm -f conftest.$ac_objext
44185 if { (ac_try="$ac_compile"
44186 case "(($ac_try" in
44187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44188 *) ac_try_echo=$ac_try;;
44189 esac
44190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44191 (eval "$ac_compile") 2>conftest.er1
44192 ac_status=$?
44193 grep -v '^ *+' conftest.er1 >conftest.err
44194 rm -f conftest.er1
44195 cat conftest.err >&5
44196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44197 (exit $ac_status); } &&
44198 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44199 { (case "(($ac_try" in
44200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44201 *) ac_try_echo=$ac_try;;
44202 esac
44203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44204 (eval "$ac_try") 2>&5
44205 ac_status=$?
44206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44207 (exit $ac_status); }; } &&
44208 { ac_try='test -s conftest.$ac_objext'
44209 { (case "(($ac_try" in
44210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44211 *) ac_try_echo=$ac_try;;
44212 esac
44213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44214 (eval "$ac_try") 2>&5
44215 ac_status=$?
44216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44217 (exit $ac_status); }; }; then
44218 ac_cv_func_which_gethostbyname_r=five
44219 else
44220 echo "$as_me: failed program was:" >&5
44221 sed 's/^/| /' conftest.$ac_ext >&5
44222
44223
44224 fi
44225
44226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44227
44228 fi
44229
44230 #
44231 # THREE ARGUMENTS
44232 # (e.g. AIX, HP-UX, Tru64)
44233 #
44234
44235 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44236
44237 cat >conftest.$ac_ext <<_ACEOF
44238 /* confdefs.h. */
44239 _ACEOF
44240 cat confdefs.h >>conftest.$ac_ext
44241 cat >>conftest.$ac_ext <<_ACEOF
44242 /* end confdefs.h. */
44243 #include <netdb.h>
44244 int
44245 main ()
44246 {
44247
44248 char *name = "www.gnu.org";
44249 struct hostent ret;
44250 struct hostent_data data;
44251 (void)gethostbyname_r(name, &ret, &data) /* ; */
44252
44253 ;
44254 return 0;
44255 }
44256 _ACEOF
44257 rm -f conftest.$ac_objext
44258 if { (ac_try="$ac_compile"
44259 case "(($ac_try" in
44260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44261 *) ac_try_echo=$ac_try;;
44262 esac
44263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44264 (eval "$ac_compile") 2>conftest.er1
44265 ac_status=$?
44266 grep -v '^ *+' conftest.er1 >conftest.err
44267 rm -f conftest.er1
44268 cat conftest.err >&5
44269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44270 (exit $ac_status); } &&
44271 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44272 { (case "(($ac_try" in
44273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44274 *) ac_try_echo=$ac_try;;
44275 esac
44276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44277 (eval "$ac_try") 2>&5
44278 ac_status=$?
44279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44280 (exit $ac_status); }; } &&
44281 { ac_try='test -s conftest.$ac_objext'
44282 { (case "(($ac_try" in
44283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44284 *) ac_try_echo=$ac_try;;
44285 esac
44286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44287 (eval "$ac_try") 2>&5
44288 ac_status=$?
44289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44290 (exit $ac_status); }; }; then
44291 ac_cv_func_which_gethostbyname_r=three
44292 else
44293 echo "$as_me: failed program was:" >&5
44294 sed 's/^/| /' conftest.$ac_ext >&5
44295
44296
44297 fi
44298
44299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44300
44301 fi
44302
44303 ################################################################
44304
44305
44306 fi
44307
44308 case "$ac_cv_func_which_gethostbyname_r" in
44309 three)
44310 { echo "$as_me:$LINENO: result: three" >&5
44311 echo "${ECHO_T}three" >&6; }
44312 cat >>confdefs.h <<\_ACEOF
44313 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
44314 _ACEOF
44315
44316 ;;
44317
44318 five)
44319 { echo "$as_me:$LINENO: result: five" >&5
44320 echo "${ECHO_T}five" >&6; }
44321 cat >>confdefs.h <<\_ACEOF
44322 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
44323 _ACEOF
44324
44325 ;;
44326
44327 six)
44328 { echo "$as_me:$LINENO: result: six" >&5
44329 echo "${ECHO_T}six" >&6; }
44330 cat >>confdefs.h <<\_ACEOF
44331 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
44332 _ACEOF
44333
44334 ;;
44335
44336 no)
44337 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
44338 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
44339 ;;
44340
44341 unknown)
44342 { echo "$as_me:$LINENO: result: can't tell" >&5
44343 echo "${ECHO_T}can't tell" >&6; }
44344 ;;
44345
44346 *)
44347 { { echo "$as_me:$LINENO: error: internal error" >&5
44348 echo "$as_me: error: internal error" >&2;}
44349 { (exit 1); exit 1; }; }
44350 ;;
44351 esac
44352
44353 ac_ext=c
44354 ac_cpp='$CPP $CPPFLAGS'
44355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44358
44359
44360
44361 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
44362 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
44363 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
44364 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
44365 if test "${ac_cv_func_gethostbyname+set}" = set; then
44366 echo $ECHO_N "(cached) $ECHO_C" >&6
44367 else
44368 cat >conftest.$ac_ext <<_ACEOF
44369 /* confdefs.h. */
44370 _ACEOF
44371 cat confdefs.h >>conftest.$ac_ext
44372 cat >>conftest.$ac_ext <<_ACEOF
44373 /* end confdefs.h. */
44374 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
44375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44376 #define gethostbyname innocuous_gethostbyname
44377
44378 /* System header to define __stub macros and hopefully few prototypes,
44379 which can conflict with char gethostbyname (); below.
44380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44381 <limits.h> exists even on freestanding compilers. */
44382
44383 #ifdef __STDC__
44384 # include <limits.h>
44385 #else
44386 # include <assert.h>
44387 #endif
44388
44389 #undef gethostbyname
44390
44391 /* Override any GCC internal prototype to avoid an error.
44392 Use char because int might match the return type of a GCC
44393 builtin and then its argument prototype would still apply. */
44394 #ifdef __cplusplus
44395 extern "C"
44396 #endif
44397 char gethostbyname ();
44398 /* The GNU C library defines this for functions which it implements
44399 to always fail with ENOSYS. Some functions are actually named
44400 something starting with __ and the normal name is an alias. */
44401 #if defined __stub_gethostbyname || defined __stub___gethostbyname
44402 choke me
44403 #endif
44404
44405 int
44406 main ()
44407 {
44408 return gethostbyname ();
44409 ;
44410 return 0;
44411 }
44412 _ACEOF
44413 rm -f conftest.$ac_objext conftest$ac_exeext
44414 if { (ac_try="$ac_link"
44415 case "(($ac_try" in
44416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44417 *) ac_try_echo=$ac_try;;
44418 esac
44419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44420 (eval "$ac_link") 2>conftest.er1
44421 ac_status=$?
44422 grep -v '^ *+' conftest.er1 >conftest.err
44423 rm -f conftest.er1
44424 cat conftest.err >&5
44425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44426 (exit $ac_status); } &&
44427 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44428 { (case "(($ac_try" in
44429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44430 *) ac_try_echo=$ac_try;;
44431 esac
44432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44433 (eval "$ac_try") 2>&5
44434 ac_status=$?
44435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44436 (exit $ac_status); }; } &&
44437 { ac_try='test -s conftest$ac_exeext'
44438 { (case "(($ac_try" in
44439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44440 *) ac_try_echo=$ac_try;;
44441 esac
44442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44443 (eval "$ac_try") 2>&5
44444 ac_status=$?
44445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44446 (exit $ac_status); }; }; then
44447 ac_cv_func_gethostbyname=yes
44448 else
44449 echo "$as_me: failed program was:" >&5
44450 sed 's/^/| /' conftest.$ac_ext >&5
44451
44452 ac_cv_func_gethostbyname=no
44453 fi
44454
44455 rm -f core conftest.err conftest.$ac_objext \
44456 conftest$ac_exeext conftest.$ac_ext
44457 fi
44458 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
44459 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
44460 if test $ac_cv_func_gethostbyname = yes; then
44461 cat >>confdefs.h <<\_ACEOF
44462 #define HAVE_GETHOSTBYNAME 1
44463 _ACEOF
44464
44465 fi
44466
44467 fi
44468
44469 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
44470 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
44471 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
44472 echo $ECHO_N "(cached) $ECHO_C" >&6
44473 else
44474
44475 ac_ext=cpp
44476 ac_cpp='$CXXCPP $CPPFLAGS'
44477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44480
44481
44482 cat >conftest.$ac_ext <<_ACEOF
44483 /* confdefs.h. */
44484 _ACEOF
44485 cat confdefs.h >>conftest.$ac_ext
44486 cat >>conftest.$ac_ext <<_ACEOF
44487 /* end confdefs.h. */
44488 #include <netdb.h>
44489 int
44490 main ()
44491 {
44492
44493 char *name;
44494 char *proto;
44495 struct servent *se, *res;
44496 char buffer[2048];
44497 int buflen = 2048;
44498 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
44499
44500 ;
44501 return 0;
44502 }
44503 _ACEOF
44504 rm -f conftest.$ac_objext
44505 if { (ac_try="$ac_compile"
44506 case "(($ac_try" in
44507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44508 *) ac_try_echo=$ac_try;;
44509 esac
44510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44511 (eval "$ac_compile") 2>conftest.er1
44512 ac_status=$?
44513 grep -v '^ *+' conftest.er1 >conftest.err
44514 rm -f conftest.er1
44515 cat conftest.err >&5
44516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44517 (exit $ac_status); } &&
44518 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44519 { (case "(($ac_try" in
44520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44521 *) ac_try_echo=$ac_try;;
44522 esac
44523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44524 (eval "$ac_try") 2>&5
44525 ac_status=$?
44526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44527 (exit $ac_status); }; } &&
44528 { ac_try='test -s conftest.$ac_objext'
44529 { (case "(($ac_try" in
44530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44531 *) ac_try_echo=$ac_try;;
44532 esac
44533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44534 (eval "$ac_try") 2>&5
44535 ac_status=$?
44536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44537 (exit $ac_status); }; }; then
44538 ac_cv_func_which_getservbyname_r=six
44539 else
44540 echo "$as_me: failed program was:" >&5
44541 sed 's/^/| /' conftest.$ac_ext >&5
44542
44543
44544 cat >conftest.$ac_ext <<_ACEOF
44545 /* confdefs.h. */
44546 _ACEOF
44547 cat confdefs.h >>conftest.$ac_ext
44548 cat >>conftest.$ac_ext <<_ACEOF
44549 /* end confdefs.h. */
44550 #include <netdb.h>
44551 int
44552 main ()
44553 {
44554
44555 char *name;
44556 char *proto;
44557 struct servent *se;
44558 char buffer[2048];
44559 int buflen = 2048;
44560 (void) getservbyname_r(name, proto, se, buffer, buflen)
44561
44562 ;
44563 return 0;
44564 }
44565 _ACEOF
44566 rm -f conftest.$ac_objext
44567 if { (ac_try="$ac_compile"
44568 case "(($ac_try" in
44569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44570 *) ac_try_echo=$ac_try;;
44571 esac
44572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44573 (eval "$ac_compile") 2>conftest.er1
44574 ac_status=$?
44575 grep -v '^ *+' conftest.er1 >conftest.err
44576 rm -f conftest.er1
44577 cat conftest.err >&5
44578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44579 (exit $ac_status); } &&
44580 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44581 { (case "(($ac_try" in
44582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44583 *) ac_try_echo=$ac_try;;
44584 esac
44585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44586 (eval "$ac_try") 2>&5
44587 ac_status=$?
44588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44589 (exit $ac_status); }; } &&
44590 { ac_try='test -s conftest.$ac_objext'
44591 { (case "(($ac_try" in
44592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44593 *) ac_try_echo=$ac_try;;
44594 esac
44595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44596 (eval "$ac_try") 2>&5
44597 ac_status=$?
44598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44599 (exit $ac_status); }; }; then
44600 ac_cv_func_which_getservbyname_r=five
44601 else
44602 echo "$as_me: failed program was:" >&5
44603 sed 's/^/| /' conftest.$ac_ext >&5
44604
44605
44606 cat >conftest.$ac_ext <<_ACEOF
44607 /* confdefs.h. */
44608 _ACEOF
44609 cat confdefs.h >>conftest.$ac_ext
44610 cat >>conftest.$ac_ext <<_ACEOF
44611 /* end confdefs.h. */
44612 #include <netdb.h>
44613 int
44614 main ()
44615 {
44616
44617 char *name;
44618 char *proto;
44619 struct servent *se;
44620 struct servent_data data;
44621 (void) getservbyname_r(name, proto, se, &data);
44622
44623 ;
44624 return 0;
44625 }
44626 _ACEOF
44627 rm -f conftest.$ac_objext
44628 if { (ac_try="$ac_compile"
44629 case "(($ac_try" in
44630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44631 *) ac_try_echo=$ac_try;;
44632 esac
44633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44634 (eval "$ac_compile") 2>conftest.er1
44635 ac_status=$?
44636 grep -v '^ *+' conftest.er1 >conftest.err
44637 rm -f conftest.er1
44638 cat conftest.err >&5
44639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44640 (exit $ac_status); } &&
44641 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44642 { (case "(($ac_try" in
44643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44644 *) ac_try_echo=$ac_try;;
44645 esac
44646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44647 (eval "$ac_try") 2>&5
44648 ac_status=$?
44649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44650 (exit $ac_status); }; } &&
44651 { ac_try='test -s conftest.$ac_objext'
44652 { (case "(($ac_try" in
44653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44654 *) ac_try_echo=$ac_try;;
44655 esac
44656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44657 (eval "$ac_try") 2>&5
44658 ac_status=$?
44659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44660 (exit $ac_status); }; }; then
44661 ac_cv_func_which_getservbyname_r=four
44662 else
44663 echo "$as_me: failed program was:" >&5
44664 sed 's/^/| /' conftest.$ac_ext >&5
44665
44666 ac_cv_func_which_getservbyname_r=no
44667
44668 fi
44669
44670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44671
44672
44673 fi
44674
44675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44676
44677
44678 fi
44679
44680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44681 ac_ext=c
44682 ac_cpp='$CPP $CPPFLAGS'
44683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44686
44687
44688
44689 fi
44690 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
44691 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
44692
44693 if test $ac_cv_func_which_getservbyname_r = six; then
44694 cat >>confdefs.h <<\_ACEOF
44695 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
44696 _ACEOF
44697
44698 elif test $ac_cv_func_which_getservbyname_r = five; then
44699 cat >>confdefs.h <<\_ACEOF
44700 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
44701 _ACEOF
44702
44703 elif test $ac_cv_func_which_getservbyname_r = four; then
44704 cat >>confdefs.h <<\_ACEOF
44705 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
44706 _ACEOF
44707
44708 fi
44709
44710
44711 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
44712 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
44713
44714 for ac_func in getservbyname
44715 do
44716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44717 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44719 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44720 echo $ECHO_N "(cached) $ECHO_C" >&6
44721 else
44722 cat >conftest.$ac_ext <<_ACEOF
44723 /* confdefs.h. */
44724 _ACEOF
44725 cat confdefs.h >>conftest.$ac_ext
44726 cat >>conftest.$ac_ext <<_ACEOF
44727 /* end confdefs.h. */
44728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44730 #define $ac_func innocuous_$ac_func
44731
44732 /* System header to define __stub macros and hopefully few prototypes,
44733 which can conflict with char $ac_func (); below.
44734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44735 <limits.h> exists even on freestanding compilers. */
44736
44737 #ifdef __STDC__
44738 # include <limits.h>
44739 #else
44740 # include <assert.h>
44741 #endif
44742
44743 #undef $ac_func
44744
44745 /* Override any GCC internal prototype to avoid an error.
44746 Use char because int might match the return type of a GCC
44747 builtin and then its argument prototype would still apply. */
44748 #ifdef __cplusplus
44749 extern "C"
44750 #endif
44751 char $ac_func ();
44752 /* The GNU C library defines this for functions which it implements
44753 to always fail with ENOSYS. Some functions are actually named
44754 something starting with __ and the normal name is an alias. */
44755 #if defined __stub_$ac_func || defined __stub___$ac_func
44756 choke me
44757 #endif
44758
44759 int
44760 main ()
44761 {
44762 return $ac_func ();
44763 ;
44764 return 0;
44765 }
44766 _ACEOF
44767 rm -f conftest.$ac_objext conftest$ac_exeext
44768 if { (ac_try="$ac_link"
44769 case "(($ac_try" in
44770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44771 *) ac_try_echo=$ac_try;;
44772 esac
44773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44774 (eval "$ac_link") 2>conftest.er1
44775 ac_status=$?
44776 grep -v '^ *+' conftest.er1 >conftest.err
44777 rm -f conftest.er1
44778 cat conftest.err >&5
44779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44780 (exit $ac_status); } &&
44781 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44782 { (case "(($ac_try" in
44783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44784 *) ac_try_echo=$ac_try;;
44785 esac
44786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44787 (eval "$ac_try") 2>&5
44788 ac_status=$?
44789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44790 (exit $ac_status); }; } &&
44791 { ac_try='test -s conftest$ac_exeext'
44792 { (case "(($ac_try" in
44793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44794 *) ac_try_echo=$ac_try;;
44795 esac
44796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44797 (eval "$ac_try") 2>&5
44798 ac_status=$?
44799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44800 (exit $ac_status); }; }; then
44801 eval "$as_ac_var=yes"
44802 else
44803 echo "$as_me: failed program was:" >&5
44804 sed 's/^/| /' conftest.$ac_ext >&5
44805
44806 eval "$as_ac_var=no"
44807 fi
44808
44809 rm -f core conftest.err conftest.$ac_objext \
44810 conftest$ac_exeext conftest.$ac_ext
44811 fi
44812 ac_res=`eval echo '${'$as_ac_var'}'`
44813 { echo "$as_me:$LINENO: result: $ac_res" >&5
44814 echo "${ECHO_T}$ac_res" >&6; }
44815 if test `eval echo '${'$as_ac_var'}'` = yes; then
44816 cat >>confdefs.h <<_ACEOF
44817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44818 _ACEOF
44819 cat >>confdefs.h <<\_ACEOF
44820 #define HAVE_GETSERVBYNAME 1
44821 _ACEOF
44822
44823 fi
44824 done
44825
44826 fi
44827
44828 if test "$wxUSE_THREADS" = "yes"; then
44829 cat >>confdefs.h <<\_ACEOF
44830 #define wxUSE_THREADS 1
44831 _ACEOF
44832
44833
44834 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
44835 else
44836 if test "$wx_cv_func_strtok_r" = "yes"; then
44837 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
44838 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
44839 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
44840 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
44841 { echo "$as_me:$LINENO: result: yes" >&5
44842 echo "${ECHO_T}yes" >&6; }
44843 else
44844 { echo "$as_me:$LINENO: result: no" >&5
44845 echo "${ECHO_T}no" >&6; }
44846 fi
44847 fi
44848 fi
44849
44850 if test "$WXGTK20" = 1 ; then
44851 cat >>confdefs.h <<_ACEOF
44852 #define __WXGTK20__ $WXGTK20
44853 _ACEOF
44854
44855 WXGTK12=1
44856 fi
44857
44858 if test "$WXGTK12" = 1 ; then
44859 cat >>confdefs.h <<_ACEOF
44860 #define __WXGTK12__ $WXGTK12
44861 _ACEOF
44862
44863 fi
44864
44865 if test "$WXGTK127" = 1 ; then
44866 cat >>confdefs.h <<_ACEOF
44867 #define __WXGTK127__ $WXGTK127
44868 _ACEOF
44869
44870 fi
44871
44872 if test "$WXGPE" = 1 ; then
44873 cat >>confdefs.h <<_ACEOF
44874 #define __WXGPE__ $WXGPE
44875 _ACEOF
44876
44877 fi
44878
44879 DEBUG_CFLAGS=
44880 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
44881 DEBUG_CFLAGS="-g"
44882 wxUSE_OPTIMISE=no
44883 fi
44884
44885 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
44886 wxUSE_DEBUG_INFO=yes
44887 if test "$GCC" = yes; then
44888 DEBUG_CFLAGS="-ggdb"
44889 fi
44890 fi
44891
44892 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
44893 cat >>confdefs.h <<\_ACEOF
44894 #define WXDEBUG 1
44895 _ACEOF
44896
44897 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
44898 else
44899 if test "$wxUSE_GTK" = 1 ; then
44900 if test "x$wxGTK_VERSION" = "x1" ; then
44901 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
44902 fi
44903 fi
44904 fi
44905
44906 if test "$wxUSE_MEM_TRACING" = "yes" ; then
44907 cat >>confdefs.h <<\_ACEOF
44908 #define wxUSE_MEMORY_TRACING 1
44909 _ACEOF
44910
44911 cat >>confdefs.h <<\_ACEOF
44912 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
44913 _ACEOF
44914
44915 cat >>confdefs.h <<\_ACEOF
44916 #define wxUSE_DEBUG_NEW_ALWAYS 1
44917 _ACEOF
44918
44919 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
44920 fi
44921
44922 if test "$wxUSE_DMALLOC" = "yes" ; then
44923 DMALLOC_LIBS="-ldmallocthcxx"
44924 fi
44925
44926 PROFILE_FLAGS=
44927 if test "$wxUSE_PROFILE" = "yes" ; then
44928 PROFILE_FLAGS=" -pg"
44929 fi
44930
44931 if test "$GCC" = "yes" ; then
44932 if test "$wxUSE_NO_RTTI" = "yes" ; then
44933 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
44934 fi
44935 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44936 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
44937 fi
44938 if test "$wxUSE_PERMISSIVE" = "yes" ; then
44939 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
44940 fi
44941
44942 case "${host}" in
44943 powerpc*-*-aix* )
44944 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
44945 ;;
44946 *-hppa* )
44947 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
44948 ;;
44949 esac
44950 fi
44951
44952 OPTIMISE_CFLAGS=
44953 if test "$wxUSE_OPTIMISE" = "no" ; then
44954 if test "$GCC" = yes ; then
44955 OPTIMISE_CFLAGS="-O0"
44956 fi
44957 else
44958 if test "$GCC" = yes ; then
44959 case "${host}" in
44960 *-pc-os2_emx | *-pc-os2-emx )
44961 OPTIMISE_CFLAGS="-O2"
44962 ;;
44963 *)
44964 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
44965 ;;
44966 esac
44967 else
44968 OPTIMISE_CFLAGS="-O"
44969 fi
44970 fi
44971
44972
44973 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
44974 cat >>confdefs.h <<\_ACEOF
44975 #define WXWIN_COMPATIBILITY_2_6 1
44976 _ACEOF
44977
44978
44979 WXWIN_COMPATIBILITY_2_8="yes"
44980 fi
44981
44982 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
44983 cat >>confdefs.h <<\_ACEOF
44984 #define WXWIN_COMPATIBILITY_2_8 1
44985 _ACEOF
44986
44987 fi
44988
44989
44990 if test "$wxUSE_GUI" = "yes"; then
44991 cat >>confdefs.h <<\_ACEOF
44992 #define wxUSE_GUI 1
44993 _ACEOF
44994
44995
44996 fi
44997
44998
44999 if test "$wxUSE_UNIX" = "yes"; then
45000 cat >>confdefs.h <<\_ACEOF
45001 #define wxUSE_UNIX 1
45002 _ACEOF
45003
45004 fi
45005
45006
45007 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
45008
45009 HAVE_DL_FUNCS=0
45010 HAVE_SHL_FUNCS=0
45011 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
45012 if test "$USE_DARWIN" = 1; then
45013 HAVE_DL_FUNCS=1
45014 elif test "$USE_DOS" = 1; then
45015 HAVE_DL_FUNCS=0
45016 else
45017
45018 for ac_func in dlopen
45019 do
45020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45021 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45023 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45024 echo $ECHO_N "(cached) $ECHO_C" >&6
45025 else
45026 cat >conftest.$ac_ext <<_ACEOF
45027 /* confdefs.h. */
45028 _ACEOF
45029 cat confdefs.h >>conftest.$ac_ext
45030 cat >>conftest.$ac_ext <<_ACEOF
45031 /* end confdefs.h. */
45032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45034 #define $ac_func innocuous_$ac_func
45035
45036 /* System header to define __stub macros and hopefully few prototypes,
45037 which can conflict with char $ac_func (); below.
45038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45039 <limits.h> exists even on freestanding compilers. */
45040
45041 #ifdef __STDC__
45042 # include <limits.h>
45043 #else
45044 # include <assert.h>
45045 #endif
45046
45047 #undef $ac_func
45048
45049 /* Override any GCC internal prototype to avoid an error.
45050 Use char because int might match the return type of a GCC
45051 builtin and then its argument prototype would still apply. */
45052 #ifdef __cplusplus
45053 extern "C"
45054 #endif
45055 char $ac_func ();
45056 /* The GNU C library defines this for functions which it implements
45057 to always fail with ENOSYS. Some functions are actually named
45058 something starting with __ and the normal name is an alias. */
45059 #if defined __stub_$ac_func || defined __stub___$ac_func
45060 choke me
45061 #endif
45062
45063 int
45064 main ()
45065 {
45066 return $ac_func ();
45067 ;
45068 return 0;
45069 }
45070 _ACEOF
45071 rm -f conftest.$ac_objext conftest$ac_exeext
45072 if { (ac_try="$ac_link"
45073 case "(($ac_try" in
45074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45075 *) ac_try_echo=$ac_try;;
45076 esac
45077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45078 (eval "$ac_link") 2>conftest.er1
45079 ac_status=$?
45080 grep -v '^ *+' conftest.er1 >conftest.err
45081 rm -f conftest.er1
45082 cat conftest.err >&5
45083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45084 (exit $ac_status); } &&
45085 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45086 { (case "(($ac_try" in
45087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45088 *) ac_try_echo=$ac_try;;
45089 esac
45090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45091 (eval "$ac_try") 2>&5
45092 ac_status=$?
45093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45094 (exit $ac_status); }; } &&
45095 { ac_try='test -s conftest$ac_exeext'
45096 { (case "(($ac_try" in
45097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45098 *) ac_try_echo=$ac_try;;
45099 esac
45100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45101 (eval "$ac_try") 2>&5
45102 ac_status=$?
45103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45104 (exit $ac_status); }; }; then
45105 eval "$as_ac_var=yes"
45106 else
45107 echo "$as_me: failed program was:" >&5
45108 sed 's/^/| /' conftest.$ac_ext >&5
45109
45110 eval "$as_ac_var=no"
45111 fi
45112
45113 rm -f core conftest.err conftest.$ac_objext \
45114 conftest$ac_exeext conftest.$ac_ext
45115 fi
45116 ac_res=`eval echo '${'$as_ac_var'}'`
45117 { echo "$as_me:$LINENO: result: $ac_res" >&5
45118 echo "${ECHO_T}$ac_res" >&6; }
45119 if test `eval echo '${'$as_ac_var'}'` = yes; then
45120 cat >>confdefs.h <<_ACEOF
45121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45122 _ACEOF
45123
45124 cat >>confdefs.h <<\_ACEOF
45125 #define HAVE_DLOPEN 1
45126 _ACEOF
45127
45128 HAVE_DL_FUNCS=1
45129
45130 else
45131
45132 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
45133 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
45134 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
45135 echo $ECHO_N "(cached) $ECHO_C" >&6
45136 else
45137 ac_check_lib_save_LIBS=$LIBS
45138 LIBS="-ldl $LIBS"
45139 cat >conftest.$ac_ext <<_ACEOF
45140 /* confdefs.h. */
45141 _ACEOF
45142 cat confdefs.h >>conftest.$ac_ext
45143 cat >>conftest.$ac_ext <<_ACEOF
45144 /* end confdefs.h. */
45145
45146 /* Override any GCC internal prototype to avoid an error.
45147 Use char because int might match the return type of a GCC
45148 builtin and then its argument prototype would still apply. */
45149 #ifdef __cplusplus
45150 extern "C"
45151 #endif
45152 char dlopen ();
45153 int
45154 main ()
45155 {
45156 return dlopen ();
45157 ;
45158 return 0;
45159 }
45160 _ACEOF
45161 rm -f conftest.$ac_objext conftest$ac_exeext
45162 if { (ac_try="$ac_link"
45163 case "(($ac_try" in
45164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45165 *) ac_try_echo=$ac_try;;
45166 esac
45167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45168 (eval "$ac_link") 2>conftest.er1
45169 ac_status=$?
45170 grep -v '^ *+' conftest.er1 >conftest.err
45171 rm -f conftest.er1
45172 cat conftest.err >&5
45173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45174 (exit $ac_status); } &&
45175 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45176 { (case "(($ac_try" in
45177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45178 *) ac_try_echo=$ac_try;;
45179 esac
45180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45181 (eval "$ac_try") 2>&5
45182 ac_status=$?
45183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45184 (exit $ac_status); }; } &&
45185 { ac_try='test -s conftest$ac_exeext'
45186 { (case "(($ac_try" in
45187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45188 *) ac_try_echo=$ac_try;;
45189 esac
45190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45191 (eval "$ac_try") 2>&5
45192 ac_status=$?
45193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45194 (exit $ac_status); }; }; then
45195 ac_cv_lib_dl_dlopen=yes
45196 else
45197 echo "$as_me: failed program was:" >&5
45198 sed 's/^/| /' conftest.$ac_ext >&5
45199
45200 ac_cv_lib_dl_dlopen=no
45201 fi
45202
45203 rm -f core conftest.err conftest.$ac_objext \
45204 conftest$ac_exeext conftest.$ac_ext
45205 LIBS=$ac_check_lib_save_LIBS
45206 fi
45207 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
45208 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
45209 if test $ac_cv_lib_dl_dlopen = yes; then
45210
45211 cat >>confdefs.h <<\_ACEOF
45212 #define HAVE_DLOPEN 1
45213 _ACEOF
45214
45215 HAVE_DL_FUNCS=1
45216 DL_LINK=" -ldl$DL_LINK"
45217
45218 else
45219
45220
45221 for ac_func in shl_load
45222 do
45223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45224 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45226 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45227 echo $ECHO_N "(cached) $ECHO_C" >&6
45228 else
45229 cat >conftest.$ac_ext <<_ACEOF
45230 /* confdefs.h. */
45231 _ACEOF
45232 cat confdefs.h >>conftest.$ac_ext
45233 cat >>conftest.$ac_ext <<_ACEOF
45234 /* end confdefs.h. */
45235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45237 #define $ac_func innocuous_$ac_func
45238
45239 /* System header to define __stub macros and hopefully few prototypes,
45240 which can conflict with char $ac_func (); below.
45241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45242 <limits.h> exists even on freestanding compilers. */
45243
45244 #ifdef __STDC__
45245 # include <limits.h>
45246 #else
45247 # include <assert.h>
45248 #endif
45249
45250 #undef $ac_func
45251
45252 /* Override any GCC internal prototype to avoid an error.
45253 Use char because int might match the return type of a GCC
45254 builtin and then its argument prototype would still apply. */
45255 #ifdef __cplusplus
45256 extern "C"
45257 #endif
45258 char $ac_func ();
45259 /* The GNU C library defines this for functions which it implements
45260 to always fail with ENOSYS. Some functions are actually named
45261 something starting with __ and the normal name is an alias. */
45262 #if defined __stub_$ac_func || defined __stub___$ac_func
45263 choke me
45264 #endif
45265
45266 int
45267 main ()
45268 {
45269 return $ac_func ();
45270 ;
45271 return 0;
45272 }
45273 _ACEOF
45274 rm -f conftest.$ac_objext conftest$ac_exeext
45275 if { (ac_try="$ac_link"
45276 case "(($ac_try" in
45277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45278 *) ac_try_echo=$ac_try;;
45279 esac
45280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45281 (eval "$ac_link") 2>conftest.er1
45282 ac_status=$?
45283 grep -v '^ *+' conftest.er1 >conftest.err
45284 rm -f conftest.er1
45285 cat conftest.err >&5
45286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45287 (exit $ac_status); } &&
45288 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45289 { (case "(($ac_try" in
45290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45291 *) ac_try_echo=$ac_try;;
45292 esac
45293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45294 (eval "$ac_try") 2>&5
45295 ac_status=$?
45296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45297 (exit $ac_status); }; } &&
45298 { ac_try='test -s conftest$ac_exeext'
45299 { (case "(($ac_try" in
45300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45301 *) ac_try_echo=$ac_try;;
45302 esac
45303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45304 (eval "$ac_try") 2>&5
45305 ac_status=$?
45306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45307 (exit $ac_status); }; }; then
45308 eval "$as_ac_var=yes"
45309 else
45310 echo "$as_me: failed program was:" >&5
45311 sed 's/^/| /' conftest.$ac_ext >&5
45312
45313 eval "$as_ac_var=no"
45314 fi
45315
45316 rm -f core conftest.err conftest.$ac_objext \
45317 conftest$ac_exeext conftest.$ac_ext
45318 fi
45319 ac_res=`eval echo '${'$as_ac_var'}'`
45320 { echo "$as_me:$LINENO: result: $ac_res" >&5
45321 echo "${ECHO_T}$ac_res" >&6; }
45322 if test `eval echo '${'$as_ac_var'}'` = yes; then
45323 cat >>confdefs.h <<_ACEOF
45324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45325 _ACEOF
45326
45327 cat >>confdefs.h <<\_ACEOF
45328 #define HAVE_SHL_LOAD 1
45329 _ACEOF
45330
45331 HAVE_SHL_FUNCS=1
45332
45333 else
45334
45335 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
45336 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
45337 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
45338 echo $ECHO_N "(cached) $ECHO_C" >&6
45339 else
45340 ac_check_lib_save_LIBS=$LIBS
45341 LIBS="-lshl_load $LIBS"
45342 cat >conftest.$ac_ext <<_ACEOF
45343 /* confdefs.h. */
45344 _ACEOF
45345 cat confdefs.h >>conftest.$ac_ext
45346 cat >>conftest.$ac_ext <<_ACEOF
45347 /* end confdefs.h. */
45348
45349 /* Override any GCC internal prototype to avoid an error.
45350 Use char because int might match the return type of a GCC
45351 builtin and then its argument prototype would still apply. */
45352 #ifdef __cplusplus
45353 extern "C"
45354 #endif
45355 char dld ();
45356 int
45357 main ()
45358 {
45359 return dld ();
45360 ;
45361 return 0;
45362 }
45363 _ACEOF
45364 rm -f conftest.$ac_objext conftest$ac_exeext
45365 if { (ac_try="$ac_link"
45366 case "(($ac_try" in
45367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45368 *) ac_try_echo=$ac_try;;
45369 esac
45370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45371 (eval "$ac_link") 2>conftest.er1
45372 ac_status=$?
45373 grep -v '^ *+' conftest.er1 >conftest.err
45374 rm -f conftest.er1
45375 cat conftest.err >&5
45376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45377 (exit $ac_status); } &&
45378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45379 { (case "(($ac_try" in
45380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45381 *) ac_try_echo=$ac_try;;
45382 esac
45383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45384 (eval "$ac_try") 2>&5
45385 ac_status=$?
45386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45387 (exit $ac_status); }; } &&
45388 { ac_try='test -s conftest$ac_exeext'
45389 { (case "(($ac_try" in
45390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45391 *) ac_try_echo=$ac_try;;
45392 esac
45393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45394 (eval "$ac_try") 2>&5
45395 ac_status=$?
45396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45397 (exit $ac_status); }; }; then
45398 ac_cv_lib_shl_load_dld=yes
45399 else
45400 echo "$as_me: failed program was:" >&5
45401 sed 's/^/| /' conftest.$ac_ext >&5
45402
45403 ac_cv_lib_shl_load_dld=no
45404 fi
45405
45406 rm -f core conftest.err conftest.$ac_objext \
45407 conftest$ac_exeext conftest.$ac_ext
45408 LIBS=$ac_check_lib_save_LIBS
45409 fi
45410 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
45411 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
45412 if test $ac_cv_lib_shl_load_dld = yes; then
45413
45414 HAVE_SHL_FUNCS=1
45415 DL_LINK=" -ldld$DL_LINK"
45416
45417 fi
45418
45419
45420 fi
45421 done
45422
45423
45424 fi
45425
45426
45427 fi
45428 done
45429
45430
45431 if test "$HAVE_DL_FUNCS" = 1; then
45432
45433 for ac_func in dlerror
45434 do
45435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45436 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45438 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45439 echo $ECHO_N "(cached) $ECHO_C" >&6
45440 else
45441 cat >conftest.$ac_ext <<_ACEOF
45442 /* confdefs.h. */
45443 _ACEOF
45444 cat confdefs.h >>conftest.$ac_ext
45445 cat >>conftest.$ac_ext <<_ACEOF
45446 /* end confdefs.h. */
45447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45449 #define $ac_func innocuous_$ac_func
45450
45451 /* System header to define __stub macros and hopefully few prototypes,
45452 which can conflict with char $ac_func (); below.
45453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45454 <limits.h> exists even on freestanding compilers. */
45455
45456 #ifdef __STDC__
45457 # include <limits.h>
45458 #else
45459 # include <assert.h>
45460 #endif
45461
45462 #undef $ac_func
45463
45464 /* Override any GCC internal prototype to avoid an error.
45465 Use char because int might match the return type of a GCC
45466 builtin and then its argument prototype would still apply. */
45467 #ifdef __cplusplus
45468 extern "C"
45469 #endif
45470 char $ac_func ();
45471 /* The GNU C library defines this for functions which it implements
45472 to always fail with ENOSYS. Some functions are actually named
45473 something starting with __ and the normal name is an alias. */
45474 #if defined __stub_$ac_func || defined __stub___$ac_func
45475 choke me
45476 #endif
45477
45478 int
45479 main ()
45480 {
45481 return $ac_func ();
45482 ;
45483 return 0;
45484 }
45485 _ACEOF
45486 rm -f conftest.$ac_objext conftest$ac_exeext
45487 if { (ac_try="$ac_link"
45488 case "(($ac_try" in
45489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45490 *) ac_try_echo=$ac_try;;
45491 esac
45492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45493 (eval "$ac_link") 2>conftest.er1
45494 ac_status=$?
45495 grep -v '^ *+' conftest.er1 >conftest.err
45496 rm -f conftest.er1
45497 cat conftest.err >&5
45498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45499 (exit $ac_status); } &&
45500 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45501 { (case "(($ac_try" in
45502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45503 *) ac_try_echo=$ac_try;;
45504 esac
45505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45506 (eval "$ac_try") 2>&5
45507 ac_status=$?
45508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45509 (exit $ac_status); }; } &&
45510 { ac_try='test -s conftest$ac_exeext'
45511 { (case "(($ac_try" in
45512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45513 *) ac_try_echo=$ac_try;;
45514 esac
45515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45516 (eval "$ac_try") 2>&5
45517 ac_status=$?
45518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45519 (exit $ac_status); }; }; then
45520 eval "$as_ac_var=yes"
45521 else
45522 echo "$as_me: failed program was:" >&5
45523 sed 's/^/| /' conftest.$ac_ext >&5
45524
45525 eval "$as_ac_var=no"
45526 fi
45527
45528 rm -f core conftest.err conftest.$ac_objext \
45529 conftest$ac_exeext conftest.$ac_ext
45530 fi
45531 ac_res=`eval echo '${'$as_ac_var'}'`
45532 { echo "$as_me:$LINENO: result: $ac_res" >&5
45533 echo "${ECHO_T}$ac_res" >&6; }
45534 if test `eval echo '${'$as_ac_var'}'` = yes; then
45535 cat >>confdefs.h <<_ACEOF
45536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45537 _ACEOF
45538 cat >>confdefs.h <<\_ACEOF
45539 #define HAVE_DLERROR 1
45540 _ACEOF
45541
45542 else
45543
45544 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
45545 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
45546 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
45547 echo $ECHO_N "(cached) $ECHO_C" >&6
45548 else
45549 ac_check_lib_save_LIBS=$LIBS
45550 LIBS="-ldl $LIBS"
45551 cat >conftest.$ac_ext <<_ACEOF
45552 /* confdefs.h. */
45553 _ACEOF
45554 cat confdefs.h >>conftest.$ac_ext
45555 cat >>conftest.$ac_ext <<_ACEOF
45556 /* end confdefs.h. */
45557
45558 /* Override any GCC internal prototype to avoid an error.
45559 Use char because int might match the return type of a GCC
45560 builtin and then its argument prototype would still apply. */
45561 #ifdef __cplusplus
45562 extern "C"
45563 #endif
45564 char dlerror ();
45565 int
45566 main ()
45567 {
45568 return dlerror ();
45569 ;
45570 return 0;
45571 }
45572 _ACEOF
45573 rm -f conftest.$ac_objext conftest$ac_exeext
45574 if { (ac_try="$ac_link"
45575 case "(($ac_try" in
45576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45577 *) ac_try_echo=$ac_try;;
45578 esac
45579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45580 (eval "$ac_link") 2>conftest.er1
45581 ac_status=$?
45582 grep -v '^ *+' conftest.er1 >conftest.err
45583 rm -f conftest.er1
45584 cat conftest.err >&5
45585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45586 (exit $ac_status); } &&
45587 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45588 { (case "(($ac_try" in
45589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45590 *) ac_try_echo=$ac_try;;
45591 esac
45592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45593 (eval "$ac_try") 2>&5
45594 ac_status=$?
45595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45596 (exit $ac_status); }; } &&
45597 { ac_try='test -s conftest$ac_exeext'
45598 { (case "(($ac_try" in
45599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45600 *) ac_try_echo=$ac_try;;
45601 esac
45602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45603 (eval "$ac_try") 2>&5
45604 ac_status=$?
45605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45606 (exit $ac_status); }; }; then
45607 ac_cv_lib_dl_dlerror=yes
45608 else
45609 echo "$as_me: failed program was:" >&5
45610 sed 's/^/| /' conftest.$ac_ext >&5
45611
45612 ac_cv_lib_dl_dlerror=no
45613 fi
45614
45615 rm -f core conftest.err conftest.$ac_objext \
45616 conftest$ac_exeext conftest.$ac_ext
45617 LIBS=$ac_check_lib_save_LIBS
45618 fi
45619 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
45620 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
45621 if test $ac_cv_lib_dl_dlerror = yes; then
45622 cat >>confdefs.h <<\_ACEOF
45623 #define HAVE_DLERROR 1
45624 _ACEOF
45625
45626 fi
45627
45628
45629
45630 fi
45631 done
45632
45633 fi
45634 fi
45635
45636 if test "$HAVE_DL_FUNCS" = 0; then
45637 if test "$HAVE_SHL_FUNCS" = 0; then
45638 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
45639 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
45640 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
45641 wxUSE_DYNAMIC_LOADER=no
45642 wxUSE_DYNLIB_CLASS=no
45643 else
45644 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
45645 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
45646 fi
45647 fi
45648 fi
45649 fi
45650 fi
45651
45652 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
45653 cat >>confdefs.h <<\_ACEOF
45654 #define wxUSE_DYNAMIC_LOADER 1
45655 _ACEOF
45656
45657 fi
45658 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
45659 cat >>confdefs.h <<\_ACEOF
45660 #define wxUSE_DYNLIB_CLASS 1
45661 _ACEOF
45662
45663 fi
45664
45665
45666
45667 if test "$wxUSE_PLUGINS" = "yes" ; then
45668 if test "$wxUSE_SHARED" = "no" ; then
45669 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
45670 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
45671 wxUSE_PLUGINS=no
45672 fi
45673 if test "$wxUSE_MONOLITHIC" = "yes" ; then
45674 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
45675 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
45676 wxUSE_PLUGINS=no
45677 fi
45678 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
45679 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
45680 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
45681 wxUSE_PLUGINS=no
45682 fi
45683 if test "$wxUSE_PLUGINS" = "yes" ; then
45684 cat >>confdefs.h <<\_ACEOF
45685 #define wxUSE_PLUGINS 1
45686 _ACEOF
45687
45688 fi
45689 fi
45690
45691
45692 if test "$wxUSE_STL" = "yes"; then
45693 cat >>confdefs.h <<\_ACEOF
45694 #define wxUSE_STL 1
45695 _ACEOF
45696
45697 fi
45698
45699 if test "$wxUSE_APPLE_IEEE" = "yes"; then
45700 cat >>confdefs.h <<\_ACEOF
45701 #define wxUSE_APPLE_IEEE 1
45702 _ACEOF
45703
45704 fi
45705
45706 if test "$wxUSE_TIMER" = "yes"; then
45707 cat >>confdefs.h <<\_ACEOF
45708 #define wxUSE_TIMER 1
45709 _ACEOF
45710
45711 fi
45712
45713 if test "$USE_UNIX" = "1" ; then
45714 if test "$wxUSE_MGL" != 1; then
45715 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
45716 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
45717 if test "${ac_cv_header_sys_soundcard+set}" = set; then
45718 echo $ECHO_N "(cached) $ECHO_C" >&6
45719 else
45720
45721 cat >conftest.$ac_ext <<_ACEOF
45722 /* confdefs.h. */
45723 _ACEOF
45724 cat confdefs.h >>conftest.$ac_ext
45725 cat >>conftest.$ac_ext <<_ACEOF
45726 /* end confdefs.h. */
45727
45728 #include <sys/ioctl.h>
45729 #include <sys/soundcard.h>
45730
45731 int
45732 main ()
45733 {
45734
45735 ioctl(0, SNDCTL_DSP_SPEED, 0);
45736
45737 ;
45738 return 0;
45739 }
45740 _ACEOF
45741 rm -f conftest.$ac_objext conftest$ac_exeext
45742 if { (ac_try="$ac_link"
45743 case "(($ac_try" in
45744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45745 *) ac_try_echo=$ac_try;;
45746 esac
45747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45748 (eval "$ac_link") 2>conftest.er1
45749 ac_status=$?
45750 grep -v '^ *+' conftest.er1 >conftest.err
45751 rm -f conftest.er1
45752 cat conftest.err >&5
45753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45754 (exit $ac_status); } &&
45755 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45756 { (case "(($ac_try" in
45757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45758 *) ac_try_echo=$ac_try;;
45759 esac
45760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45761 (eval "$ac_try") 2>&5
45762 ac_status=$?
45763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45764 (exit $ac_status); }; } &&
45765 { ac_try='test -s conftest$ac_exeext'
45766 { (case "(($ac_try" in
45767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45768 *) ac_try_echo=$ac_try;;
45769 esac
45770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45771 (eval "$ac_try") 2>&5
45772 ac_status=$?
45773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45774 (exit $ac_status); }; }; then
45775 ac_cv_header_sys_soundcard=yes
45776 else
45777 echo "$as_me: failed program was:" >&5
45778 sed 's/^/| /' conftest.$ac_ext >&5
45779
45780
45781 saveLibs="$LIBS"
45782 LIBS="$saveLibs -lossaudio"
45783 cat >conftest.$ac_ext <<_ACEOF
45784 /* confdefs.h. */
45785 _ACEOF
45786 cat confdefs.h >>conftest.$ac_ext
45787 cat >>conftest.$ac_ext <<_ACEOF
45788 /* end confdefs.h. */
45789
45790 #include <sys/ioctl.h>
45791 #include <sys/soundcard.h>
45792
45793 int
45794 main ()
45795 {
45796
45797 ioctl(0, SNDCTL_DSP_SPEED, 0);
45798
45799 ;
45800 return 0;
45801 }
45802 _ACEOF
45803 rm -f conftest.$ac_objext conftest$ac_exeext
45804 if { (ac_try="$ac_link"
45805 case "(($ac_try" in
45806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45807 *) ac_try_echo=$ac_try;;
45808 esac
45809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45810 (eval "$ac_link") 2>conftest.er1
45811 ac_status=$?
45812 grep -v '^ *+' conftest.er1 >conftest.err
45813 rm -f conftest.er1
45814 cat conftest.err >&5
45815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45816 (exit $ac_status); } &&
45817 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45818 { (case "(($ac_try" in
45819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45820 *) ac_try_echo=$ac_try;;
45821 esac
45822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45823 (eval "$ac_try") 2>&5
45824 ac_status=$?
45825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45826 (exit $ac_status); }; } &&
45827 { ac_try='test -s conftest$ac_exeext'
45828 { (case "(($ac_try" in
45829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45830 *) ac_try_echo=$ac_try;;
45831 esac
45832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45833 (eval "$ac_try") 2>&5
45834 ac_status=$?
45835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45836 (exit $ac_status); }; }; then
45837 ac_cv_header_sys_soundcard=yes
45838 else
45839 echo "$as_me: failed program was:" >&5
45840 sed 's/^/| /' conftest.$ac_ext >&5
45841
45842
45843 LIBS="$saveLibs"
45844 ac_cv_header_sys_soundcard=no
45845
45846
45847 fi
45848
45849 rm -f core conftest.err conftest.$ac_objext \
45850 conftest$ac_exeext conftest.$ac_ext
45851
45852
45853 fi
45854
45855 rm -f core conftest.err conftest.$ac_objext \
45856 conftest$ac_exeext conftest.$ac_ext
45857
45858 fi
45859 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
45860 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
45861 fi
45862
45863 if test "$ac_cv_header_sys_soundcard" = "yes"; then
45864 cat >>confdefs.h <<\_ACEOF
45865 #define HAVE_SYS_SOUNDCARD_H 1
45866 _ACEOF
45867
45868 fi
45869 fi
45870
45871 WITH_PLUGIN_SDL=0
45872 if test "$wxUSE_SOUND" = "yes"; then
45873 if test "$USE_UNIX" = "1" ; then
45874 if test "$wxUSE_LIBSDL" != "no"; then
45875
45876 # Check whether --with-sdl-prefix was given.
45877 if test "${with_sdl_prefix+set}" = set; then
45878 withval=$with_sdl_prefix; sdl_prefix="$withval"
45879 else
45880 sdl_prefix=""
45881 fi
45882
45883
45884 # Check whether --with-sdl-exec-prefix was given.
45885 if test "${with_sdl_exec_prefix+set}" = set; then
45886 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
45887 else
45888 sdl_exec_prefix=""
45889 fi
45890
45891 # Check whether --enable-sdltest was given.
45892 if test "${enable_sdltest+set}" = set; then
45893 enableval=$enable_sdltest;
45894 else
45895 enable_sdltest=yes
45896 fi
45897
45898
45899 if test x$sdl_exec_prefix != x ; then
45900 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
45901 if test x${SDL_CONFIG+set} != xset ; then
45902 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
45903 fi
45904 fi
45905 if test x$sdl_prefix != x ; then
45906 sdl_args="$sdl_args --prefix=$sdl_prefix"
45907 if test x${SDL_CONFIG+set} != xset ; then
45908 SDL_CONFIG=$sdl_prefix/bin/sdl-config
45909 fi
45910 fi
45911
45912 if test "x$prefix" != xNONE; then
45913 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
45914 fi
45915 # Extract the first word of "sdl-config", so it can be a program name with args.
45916 set dummy sdl-config; ac_word=$2
45917 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45919 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
45920 echo $ECHO_N "(cached) $ECHO_C" >&6
45921 else
45922 case $SDL_CONFIG in
45923 [\\/]* | ?:[\\/]*)
45924 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
45925 ;;
45926 *)
45927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45928 for as_dir in $PATH
45929 do
45930 IFS=$as_save_IFS
45931 test -z "$as_dir" && as_dir=.
45932 for ac_exec_ext in '' $ac_executable_extensions; do
45933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
45934 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45936 break 2
45937 fi
45938 done
45939 done
45940 IFS=$as_save_IFS
45941
45942 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
45943 ;;
45944 esac
45945 fi
45946 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
45947 if test -n "$SDL_CONFIG"; then
45948 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
45949 echo "${ECHO_T}$SDL_CONFIG" >&6; }
45950 else
45951 { echo "$as_me:$LINENO: result: no" >&5
45952 echo "${ECHO_T}no" >&6; }
45953 fi
45954
45955
45956 min_sdl_version=1.2.0
45957 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
45958 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
45959 no_sdl=""
45960 if test "$SDL_CONFIG" = "no" ; then
45961 no_sdl=yes
45962 else
45963 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
45964 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
45965
45966 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
45967 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
45968 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
45969 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
45970 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
45971 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
45972 if test "x$enable_sdltest" = "xyes" ; then
45973 ac_save_CFLAGS="$CFLAGS"
45974 ac_save_CXXFLAGS="$CXXFLAGS"
45975 ac_save_LIBS="$LIBS"
45976 CFLAGS="$CFLAGS $SDL_CFLAGS"
45977 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
45978 LIBS="$LIBS $SDL_LIBS"
45979 rm -f conf.sdltest
45980 if test "$cross_compiling" = yes; then
45981 echo $ac_n "cross compiling; assumed OK... $ac_c"
45982 else
45983 cat >conftest.$ac_ext <<_ACEOF
45984 /* confdefs.h. */
45985 _ACEOF
45986 cat confdefs.h >>conftest.$ac_ext
45987 cat >>conftest.$ac_ext <<_ACEOF
45988 /* end confdefs.h. */
45989
45990 #include <stdio.h>
45991 #include <stdlib.h>
45992 #include <string.h>
45993 #include "SDL.h"
45994
45995 char*
45996 my_strdup (char *str)
45997 {
45998 char *new_str;
45999
46000 if (str)
46001 {
46002 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
46003 strcpy (new_str, str);
46004 }
46005 else
46006 new_str = NULL;
46007
46008 return new_str;
46009 }
46010
46011 int main (int argc, char *argv[])
46012 {
46013 int major, minor, micro;
46014 char *tmp_version;
46015
46016 /* This hangs on some systems (?)
46017 system ("touch conf.sdltest");
46018 */
46019 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
46020
46021 /* HP/UX 9 (%@#!) writes to sscanf strings */
46022 tmp_version = my_strdup("$min_sdl_version");
46023 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
46024 printf("%s, bad version string\n", "$min_sdl_version");
46025 exit(1);
46026 }
46027
46028 if (($sdl_major_version > major) ||
46029 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
46030 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
46031 {
46032 return 0;
46033 }
46034 else
46035 {
46036 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
46037 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
46038 printf("*** best to upgrade to the required version.\n");
46039 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
46040 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
46041 printf("*** config.cache before re-running configure\n");
46042 return 1;
46043 }
46044 }
46045
46046
46047 _ACEOF
46048 rm -f conftest$ac_exeext
46049 if { (ac_try="$ac_link"
46050 case "(($ac_try" in
46051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46052 *) ac_try_echo=$ac_try;;
46053 esac
46054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46055 (eval "$ac_link") 2>&5
46056 ac_status=$?
46057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46058 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46059 { (case "(($ac_try" in
46060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46061 *) ac_try_echo=$ac_try;;
46062 esac
46063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46064 (eval "$ac_try") 2>&5
46065 ac_status=$?
46066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46067 (exit $ac_status); }; }; then
46068 :
46069 else
46070 echo "$as_me: program exited with status $ac_status" >&5
46071 echo "$as_me: failed program was:" >&5
46072 sed 's/^/| /' conftest.$ac_ext >&5
46073
46074 ( exit $ac_status )
46075 no_sdl=yes
46076 fi
46077 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46078 fi
46079
46080
46081 CFLAGS="$ac_save_CFLAGS"
46082 CXXFLAGS="$ac_save_CXXFLAGS"
46083 LIBS="$ac_save_LIBS"
46084 fi
46085 fi
46086 if test "x$no_sdl" = x ; then
46087 { echo "$as_me:$LINENO: result: yes" >&5
46088 echo "${ECHO_T}yes" >&6; }
46089
46090 EXTRALIBS_SDL="$SDL_LIBS"
46091 CFLAGS="$SDL_CFLAGS $CFLAGS"
46092 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
46093 cat >>confdefs.h <<\_ACEOF
46094 #define wxUSE_LIBSDL 1
46095 _ACEOF
46096
46097
46098 else
46099 { echo "$as_me:$LINENO: result: no" >&5
46100 echo "${ECHO_T}no" >&6; }
46101 if test "$SDL_CONFIG" = "no" ; then
46102 echo "*** The sdl-config script installed by SDL could not be found"
46103 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
46104 echo "*** your path, or set the SDL_CONFIG environment variable to the"
46105 echo "*** full path to sdl-config."
46106 else
46107 if test -f conf.sdltest ; then
46108 :
46109 else
46110 echo "*** Could not run SDL test program, checking why..."
46111 CFLAGS="$CFLAGS $SDL_CFLAGS"
46112 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
46113 LIBS="$LIBS $SDL_LIBS"
46114 cat >conftest.$ac_ext <<_ACEOF
46115 /* confdefs.h. */
46116 _ACEOF
46117 cat confdefs.h >>conftest.$ac_ext
46118 cat >>conftest.$ac_ext <<_ACEOF
46119 /* end confdefs.h. */
46120
46121 #include <stdio.h>
46122 #include "SDL.h"
46123
46124 int main(int argc, char *argv[])
46125 { return 0; }
46126 #undef main
46127 #define main K_and_R_C_main
46128
46129 int
46130 main ()
46131 {
46132 return 0;
46133 ;
46134 return 0;
46135 }
46136 _ACEOF
46137 rm -f conftest.$ac_objext conftest$ac_exeext
46138 if { (ac_try="$ac_link"
46139 case "(($ac_try" in
46140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46141 *) ac_try_echo=$ac_try;;
46142 esac
46143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46144 (eval "$ac_link") 2>conftest.er1
46145 ac_status=$?
46146 grep -v '^ *+' conftest.er1 >conftest.err
46147 rm -f conftest.er1
46148 cat conftest.err >&5
46149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46150 (exit $ac_status); } &&
46151 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46152 { (case "(($ac_try" in
46153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46154 *) ac_try_echo=$ac_try;;
46155 esac
46156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46157 (eval "$ac_try") 2>&5
46158 ac_status=$?
46159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46160 (exit $ac_status); }; } &&
46161 { ac_try='test -s conftest$ac_exeext'
46162 { (case "(($ac_try" in
46163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46164 *) ac_try_echo=$ac_try;;
46165 esac
46166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46167 (eval "$ac_try") 2>&5
46168 ac_status=$?
46169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46170 (exit $ac_status); }; }; then
46171 echo "*** The test program compiled, but did not run. This usually means"
46172 echo "*** that the run-time linker is not finding SDL or finding the wrong"
46173 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
46174 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
46175 echo "*** to the installed location Also, make sure you have run ldconfig if that"
46176 echo "*** is required on your system"
46177 echo "***"
46178 echo "*** If you have an old version installed, it is best to remove it, although"
46179 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
46180 else
46181 echo "$as_me: failed program was:" >&5
46182 sed 's/^/| /' conftest.$ac_ext >&5
46183
46184 echo "*** The test program failed to compile or link. See the file config.log for the"
46185 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
46186 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
46187 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
46188 fi
46189
46190 rm -f core conftest.err conftest.$ac_objext \
46191 conftest$ac_exeext conftest.$ac_ext
46192 CFLAGS="$ac_save_CFLAGS"
46193 CXXFLAGS="$ac_save_CXXFLAGS"
46194 LIBS="$ac_save_LIBS"
46195 fi
46196 fi
46197 SDL_CFLAGS=""
46198 SDL_LIBS=""
46199 wxUSE_LIBSDL="no"
46200 fi
46201
46202
46203 rm -f conf.sdltest
46204
46205 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
46206 WITH_PLUGIN_SDL=1
46207 fi
46208 fi
46209 else
46210 if test "$wxUSE_MGL" = 1; then
46211 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
46212 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
46213 wxUSE_SOUND="no"
46214 fi
46215 fi
46216 fi
46217
46218 if test "$wxUSE_SOUND" = "yes"; then
46219 cat >>confdefs.h <<\_ACEOF
46220 #define wxUSE_SOUND 1
46221 _ACEOF
46222
46223 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
46224 fi
46225
46226 if test "$WXGTK20" = 1; then
46227
46228
46229 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
46230 if test -n "$ac_tool_prefix"; then
46231 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
46232 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
46233 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46235 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
46236 echo $ECHO_N "(cached) $ECHO_C" >&6
46237 else
46238 case $PKG_CONFIG in
46239 [\\/]* | ?:[\\/]*)
46240 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
46241 ;;
46242 *)
46243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46244 for as_dir in $PATH
46245 do
46246 IFS=$as_save_IFS
46247 test -z "$as_dir" && as_dir=.
46248 for ac_exec_ext in '' $ac_executable_extensions; do
46249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
46250 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46252 break 2
46253 fi
46254 done
46255 done
46256 IFS=$as_save_IFS
46257
46258 ;;
46259 esac
46260 fi
46261 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
46262 if test -n "$PKG_CONFIG"; then
46263 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
46264 echo "${ECHO_T}$PKG_CONFIG" >&6; }
46265 else
46266 { echo "$as_me:$LINENO: result: no" >&5
46267 echo "${ECHO_T}no" >&6; }
46268 fi
46269
46270
46271 fi
46272 if test -z "$ac_cv_path_PKG_CONFIG"; then
46273 ac_pt_PKG_CONFIG=$PKG_CONFIG
46274 # Extract the first word of "pkg-config", so it can be a program name with args.
46275 set dummy pkg-config; ac_word=$2
46276 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46278 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
46279 echo $ECHO_N "(cached) $ECHO_C" >&6
46280 else
46281 case $ac_pt_PKG_CONFIG in
46282 [\\/]* | ?:[\\/]*)
46283 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
46284 ;;
46285 *)
46286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46287 for as_dir in $PATH
46288 do
46289 IFS=$as_save_IFS
46290 test -z "$as_dir" && as_dir=.
46291 for ac_exec_ext in '' $ac_executable_extensions; do
46292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
46293 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46295 break 2
46296 fi
46297 done
46298 done
46299 IFS=$as_save_IFS
46300
46301 ;;
46302 esac
46303 fi
46304 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
46305 if test -n "$ac_pt_PKG_CONFIG"; then
46306 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
46307 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
46308 else
46309 { echo "$as_me:$LINENO: result: no" >&5
46310 echo "${ECHO_T}no" >&6; }
46311 fi
46312
46313 if test "x$ac_pt_PKG_CONFIG" = x; then
46314 PKG_CONFIG=""
46315 else
46316 case $cross_compiling:$ac_tool_warned in
46317 yes:)
46318 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46319 whose name does not start with the host triplet. If you think this
46320 configuration is useful to you, please write to autoconf@gnu.org." >&5
46321 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46322 whose name does not start with the host triplet. If you think this
46323 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46324 ac_tool_warned=yes ;;
46325 esac
46326 PKG_CONFIG=$ac_pt_PKG_CONFIG
46327 fi
46328 else
46329 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
46330 fi
46331
46332 fi
46333 if test -n "$PKG_CONFIG"; then
46334 _pkg_min_version=0.9.0
46335 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
46336 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
46337 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
46338 { echo "$as_me:$LINENO: result: yes" >&5
46339 echo "${ECHO_T}yes" >&6; }
46340 else
46341 { echo "$as_me:$LINENO: result: no" >&5
46342 echo "${ECHO_T}no" >&6; }
46343 PKG_CONFIG=""
46344 fi
46345
46346 fi
46347
46348 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46349 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46350
46351
46352 pkg_failed=no
46353 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
46354 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
46355
46356 if test -n "$PKG_CONFIG"; then
46357 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
46358 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
46359 else
46360 if test -n "$PKG_CONFIG" && \
46361 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
46362 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
46363 ac_status=$?
46364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46365 (exit $ac_status); }; then
46366 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
46367 else
46368 pkg_failed=yes
46369 fi
46370 fi
46371 else
46372 pkg_failed=untried
46373 fi
46374 if test -n "$PKG_CONFIG"; then
46375 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
46376 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
46377 else
46378 if test -n "$PKG_CONFIG" && \
46379 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
46380 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
46381 ac_status=$?
46382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46383 (exit $ac_status); }; then
46384 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
46385 else
46386 pkg_failed=yes
46387 fi
46388 fi
46389 else
46390 pkg_failed=untried
46391 fi
46392
46393
46394
46395 if test $pkg_failed = yes; then
46396
46397 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46398 _pkg_short_errors_supported=yes
46399 else
46400 _pkg_short_errors_supported=no
46401 fi
46402 if test $_pkg_short_errors_supported = yes; then
46403 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
46404 else
46405 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
46406 fi
46407 # Put the nasty error message in config.log where it belongs
46408 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
46409
46410
46411 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
46412 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
46413 wxUSE_LIBGNOMEPRINT="no"
46414
46415
46416 elif test $pkg_failed = untried; then
46417
46418 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
46419 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
46420 wxUSE_LIBGNOMEPRINT="no"
46421
46422
46423 else
46424 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
46425 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
46426 { echo "$as_me:$LINENO: result: yes" >&5
46427 echo "${ECHO_T}yes" >&6; }
46428
46429 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
46430 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
46431 cat >>confdefs.h <<\_ACEOF
46432 #define wxUSE_LIBGNOMEPRINT 1
46433 _ACEOF
46434
46435
46436 fi
46437 fi
46438 fi
46439
46440 if test "$wxUSE_MIMETYPE" = "yes" ; then
46441 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46442
46443
46444 pkg_failed=no
46445 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
46446 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
46447
46448 if test -n "$PKG_CONFIG"; then
46449 if test -n "$GNOMEVFS_CFLAGS"; then
46450 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
46451 else
46452 if test -n "$PKG_CONFIG" && \
46453 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
46454 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
46455 ac_status=$?
46456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46457 (exit $ac_status); }; then
46458 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
46459 else
46460 pkg_failed=yes
46461 fi
46462 fi
46463 else
46464 pkg_failed=untried
46465 fi
46466 if test -n "$PKG_CONFIG"; then
46467 if test -n "$GNOMEVFS_LIBS"; then
46468 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
46469 else
46470 if test -n "$PKG_CONFIG" && \
46471 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
46472 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
46473 ac_status=$?
46474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46475 (exit $ac_status); }; then
46476 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
46477 else
46478 pkg_failed=yes
46479 fi
46480 fi
46481 else
46482 pkg_failed=untried
46483 fi
46484
46485
46486
46487 if test $pkg_failed = yes; then
46488
46489 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46490 _pkg_short_errors_supported=yes
46491 else
46492 _pkg_short_errors_supported=no
46493 fi
46494 if test $_pkg_short_errors_supported = yes; then
46495 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
46496 else
46497 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
46498 fi
46499 # Put the nasty error message in config.log where it belongs
46500 echo "$GNOMEVFS_PKG_ERRORS" >&5
46501
46502
46503 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
46504 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
46505 wxUSE_LIBGNOMEVFS="no"
46506
46507
46508 elif test $pkg_failed = untried; then
46509
46510 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
46511 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
46512 wxUSE_LIBGNOMEVFS="no"
46513
46514
46515 else
46516 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
46517 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
46518 { echo "$as_me:$LINENO: result: yes" >&5
46519 echo "${ECHO_T}yes" >&6; }
46520
46521 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
46522 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
46523 cat >>confdefs.h <<\_ACEOF
46524 #define wxUSE_LIBGNOMEVFS 1
46525 _ACEOF
46526
46527
46528 fi
46529 fi
46530 fi
46531
46532 if test "$wxUSE_LIBHILDON" = "yes" ; then
46533
46534 pkg_failed=no
46535 { echo "$as_me:$LINENO: checking for HILDON" >&5
46536 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
46537
46538 if test -n "$PKG_CONFIG"; then
46539 if test -n "$HILDON_CFLAGS"; then
46540 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
46541 else
46542 if test -n "$PKG_CONFIG" && \
46543 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
46544 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
46545 ac_status=$?
46546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46547 (exit $ac_status); }; then
46548 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
46549 else
46550 pkg_failed=yes
46551 fi
46552 fi
46553 else
46554 pkg_failed=untried
46555 fi
46556 if test -n "$PKG_CONFIG"; then
46557 if test -n "$HILDON_LIBS"; then
46558 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
46559 else
46560 if test -n "$PKG_CONFIG" && \
46561 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
46562 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
46563 ac_status=$?
46564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46565 (exit $ac_status); }; then
46566 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
46567 else
46568 pkg_failed=yes
46569 fi
46570 fi
46571 else
46572 pkg_failed=untried
46573 fi
46574
46575
46576
46577 if test $pkg_failed = yes; then
46578
46579 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46580 _pkg_short_errors_supported=yes
46581 else
46582 _pkg_short_errors_supported=no
46583 fi
46584 if test $_pkg_short_errors_supported = yes; then
46585 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
46586 else
46587 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
46588 fi
46589 # Put the nasty error message in config.log where it belongs
46590 echo "$HILDON_PKG_ERRORS" >&5
46591
46592
46593 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
46594 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
46595 wxUSE_LIBHILDON="no"
46596
46597
46598 elif test $pkg_failed = untried; then
46599
46600 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
46601 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
46602 wxUSE_LIBHILDON="no"
46603
46604
46605 else
46606 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
46607 HILDON_LIBS=$pkg_cv_HILDON_LIBS
46608 { echo "$as_me:$LINENO: result: yes" >&5
46609 echo "${ECHO_T}yes" >&6; }
46610
46611 EXTRALIBS_HILDON="$HILDON_LIBS"
46612 CFLAGS="$CFLAGS $HILDON_CFLAGS"
46613 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
46614 cat >>confdefs.h <<\_ACEOF
46615 #define wxUSE_LIBHILDON 1
46616 _ACEOF
46617
46618
46619 fi
46620 fi
46621 fi
46622
46623 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
46624 cat >>confdefs.h <<\_ACEOF
46625 #define wxUSE_CMDLINE_PARSER 1
46626 _ACEOF
46627
46628 fi
46629
46630 if test "$wxUSE_STOPWATCH" = "yes"; then
46631 cat >>confdefs.h <<\_ACEOF
46632 #define wxUSE_STOPWATCH 1
46633 _ACEOF
46634
46635 fi
46636
46637 if test "$wxUSE_DATETIME" = "yes"; then
46638 cat >>confdefs.h <<\_ACEOF
46639 #define wxUSE_DATETIME 1
46640 _ACEOF
46641
46642 fi
46643
46644 if test "$wxUSE_FILE" = "yes"; then
46645 cat >>confdefs.h <<\_ACEOF
46646 #define wxUSE_FILE 1
46647 _ACEOF
46648
46649 fi
46650
46651 if test "$wxUSE_FFILE" = "yes"; then
46652 cat >>confdefs.h <<\_ACEOF
46653 #define wxUSE_FFILE 1
46654 _ACEOF
46655
46656 fi
46657
46658 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
46659 if test "$wxUSE_STREAMS" != yes; then
46660 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
46661 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
46662 wxUSE_ARCHIVE_STREAMS=no
46663 else
46664 cat >>confdefs.h <<\_ACEOF
46665 #define wxUSE_ARCHIVE_STREAMS 1
46666 _ACEOF
46667
46668 fi
46669 fi
46670
46671 if test "$wxUSE_ZIPSTREAM" = "yes"; then
46672 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
46673 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
46674 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
46675 elif test "$wxUSE_ZLIB" = "no"; then
46676 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
46677 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
46678 else
46679 cat >>confdefs.h <<\_ACEOF
46680 #define wxUSE_ZIPSTREAM 1
46681 _ACEOF
46682
46683 fi
46684 fi
46685
46686 if test "$wxUSE_TARSTREAM" = "yes"; then
46687 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
46688 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
46689 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
46690 else
46691 cat >>confdefs.h <<\_ACEOF
46692 #define wxUSE_TARSTREAM 1
46693 _ACEOF
46694
46695 fi
46696 fi
46697
46698 if test "$wxUSE_FILESYSTEM" = "yes"; then
46699 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
46700 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
46701 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
46702 wxUSE_FILESYSTEM=no
46703 else
46704 cat >>confdefs.h <<\_ACEOF
46705 #define wxUSE_FILESYSTEM 1
46706 _ACEOF
46707
46708 fi
46709 fi
46710
46711 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
46712 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
46713 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
46714 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
46715 else
46716 cat >>confdefs.h <<\_ACEOF
46717 #define wxUSE_FS_ARCHIVE 1
46718 _ACEOF
46719
46720 fi
46721 fi
46722
46723 if test "$wxUSE_FS_ZIP" = "yes"; then
46724 if test "$wxUSE_FS_ARCHIVE" != yes; then
46725 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
46726 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
46727 else
46728 cat >>confdefs.h <<\_ACEOF
46729 #define wxUSE_FS_ZIP 1
46730 _ACEOF
46731
46732 fi
46733 fi
46734
46735 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
46736 if test "$USE_UNIX" != 1; then
46737 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
46738 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
46739 wxUSE_ON_FATAL_EXCEPTION=no
46740 else
46741 cat >>confdefs.h <<\_ACEOF
46742 #define wxUSE_ON_FATAL_EXCEPTION 1
46743 _ACEOF
46744
46745 fi
46746 fi
46747
46748 if test "$wxUSE_STACKWALKER" = "yes"; then
46749 cat >>confdefs.h <<\_ACEOF
46750 #define wxUSE_STACKWALKER 1
46751 _ACEOF
46752
46753 fi
46754
46755 if test "$wxUSE_DEBUGREPORT" = "yes"; then
46756 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
46757 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
46758 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
46759 wxUSE_DEBUGREPORT=no
46760 else
46761 cat >>confdefs.h <<\_ACEOF
46762 #define wxUSE_DEBUGREPORT 1
46763 _ACEOF
46764
46765 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
46766 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
46767 fi
46768 fi
46769 fi
46770
46771 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
46772 cat >>confdefs.h <<\_ACEOF
46773 #define wxUSE_SNGLINST_CHECKER 1
46774 _ACEOF
46775
46776 fi
46777
46778 if test "$wxUSE_BUSYINFO" = "yes"; then
46779 cat >>confdefs.h <<\_ACEOF
46780 #define wxUSE_BUSYINFO 1
46781 _ACEOF
46782
46783 fi
46784
46785 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
46786 cat >>confdefs.h <<\_ACEOF
46787 #define wxUSE_STD_IOSTREAM 1
46788 _ACEOF
46789
46790 fi
46791
46792 if test "$wxUSE_STD_STRING" = "yes"; then
46793 cat >>confdefs.h <<\_ACEOF
46794 #define wxUSE_STD_STRING 1
46795 _ACEOF
46796
46797 fi
46798
46799 if test "$wxUSE_STDPATHS" = "yes"; then
46800 cat >>confdefs.h <<\_ACEOF
46801 #define wxUSE_STDPATHS 1
46802 _ACEOF
46803
46804 fi
46805
46806 if test "$wxUSE_TEXTBUFFER" = "yes"; then
46807 cat >>confdefs.h <<\_ACEOF
46808 #define wxUSE_TEXTBUFFER 1
46809 _ACEOF
46810
46811 fi
46812
46813 if test "$wxUSE_TEXTFILE" = "yes"; then
46814 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
46815 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
46816 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
46817 else
46818 cat >>confdefs.h <<\_ACEOF
46819 #define wxUSE_TEXTFILE 1
46820 _ACEOF
46821
46822 fi
46823 fi
46824
46825 if test "$wxUSE_CONFIG" = "yes" ; then
46826 if test "$wxUSE_TEXTFILE" != "yes"; then
46827 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
46828 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
46829 else
46830 cat >>confdefs.h <<\_ACEOF
46831 #define wxUSE_CONFIG 1
46832 _ACEOF
46833
46834 cat >>confdefs.h <<\_ACEOF
46835 #define wxUSE_CONFIG_NATIVE 1
46836 _ACEOF
46837
46838 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
46839 fi
46840 fi
46841
46842 if test "$wxUSE_INTL" = "yes" ; then
46843 if test "$wxUSE_FILE" != "yes"; then
46844 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
46845 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
46846 else
46847 cat >>confdefs.h <<\_ACEOF
46848 #define wxUSE_INTL 1
46849 _ACEOF
46850
46851 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
46852 GUIDIST="$GUIDIST INTL_DIST"
46853 fi
46854 fi
46855
46856 if test "$wxUSE_LOG" = "yes"; then
46857 cat >>confdefs.h <<\_ACEOF
46858 #define wxUSE_LOG 1
46859 _ACEOF
46860
46861
46862 if test "$wxUSE_LOGGUI" = "yes"; then
46863 cat >>confdefs.h <<\_ACEOF
46864 #define wxUSE_LOGGUI 1
46865 _ACEOF
46866
46867 fi
46868
46869 if test "$wxUSE_LOGWINDOW" = "yes"; then
46870 cat >>confdefs.h <<\_ACEOF
46871 #define wxUSE_LOGWINDOW 1
46872 _ACEOF
46873
46874 fi
46875
46876 if test "$wxUSE_LOGDIALOG" = "yes"; then
46877 cat >>confdefs.h <<\_ACEOF
46878 #define wxUSE_LOG_DIALOG 1
46879 _ACEOF
46880
46881 fi
46882
46883 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
46884 fi
46885
46886 if test "$wxUSE_LONGLONG" = "yes"; then
46887 cat >>confdefs.h <<\_ACEOF
46888 #define wxUSE_LONGLONG 1
46889 _ACEOF
46890
46891 fi
46892
46893 if test "$wxUSE_GEOMETRY" = "yes"; then
46894 cat >>confdefs.h <<\_ACEOF
46895 #define wxUSE_GEOMETRY 1
46896 _ACEOF
46897
46898 fi
46899
46900 if test "$wxUSE_STREAMS" = "yes" ; then
46901 cat >>confdefs.h <<\_ACEOF
46902 #define wxUSE_STREAMS 1
46903 _ACEOF
46904
46905 fi
46906
46907 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
46908 cat >>confdefs.h <<\_ACEOF
46909 #define wxUSE_PRINTF_POS_PARAMS 1
46910 _ACEOF
46911
46912 fi
46913
46914
46915
46916 if test "$wxUSE_DATETIME" = "yes"; then
46917
46918 for ac_func in strptime
46919 do
46920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46921 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46923 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46924 echo $ECHO_N "(cached) $ECHO_C" >&6
46925 else
46926 cat >conftest.$ac_ext <<_ACEOF
46927 /* confdefs.h. */
46928 _ACEOF
46929 cat confdefs.h >>conftest.$ac_ext
46930 cat >>conftest.$ac_ext <<_ACEOF
46931 /* end confdefs.h. */
46932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46934 #define $ac_func innocuous_$ac_func
46935
46936 /* System header to define __stub macros and hopefully few prototypes,
46937 which can conflict with char $ac_func (); below.
46938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46939 <limits.h> exists even on freestanding compilers. */
46940
46941 #ifdef __STDC__
46942 # include <limits.h>
46943 #else
46944 # include <assert.h>
46945 #endif
46946
46947 #undef $ac_func
46948
46949 /* Override any GCC internal prototype to avoid an error.
46950 Use char because int might match the return type of a GCC
46951 builtin and then its argument prototype would still apply. */
46952 #ifdef __cplusplus
46953 extern "C"
46954 #endif
46955 char $ac_func ();
46956 /* The GNU C library defines this for functions which it implements
46957 to always fail with ENOSYS. Some functions are actually named
46958 something starting with __ and the normal name is an alias. */
46959 #if defined __stub_$ac_func || defined __stub___$ac_func
46960 choke me
46961 #endif
46962
46963 int
46964 main ()
46965 {
46966 return $ac_func ();
46967 ;
46968 return 0;
46969 }
46970 _ACEOF
46971 rm -f conftest.$ac_objext conftest$ac_exeext
46972 if { (ac_try="$ac_link"
46973 case "(($ac_try" in
46974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46975 *) ac_try_echo=$ac_try;;
46976 esac
46977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46978 (eval "$ac_link") 2>conftest.er1
46979 ac_status=$?
46980 grep -v '^ *+' conftest.er1 >conftest.err
46981 rm -f conftest.er1
46982 cat conftest.err >&5
46983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46984 (exit $ac_status); } &&
46985 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46986 { (case "(($ac_try" in
46987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46988 *) ac_try_echo=$ac_try;;
46989 esac
46990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46991 (eval "$ac_try") 2>&5
46992 ac_status=$?
46993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46994 (exit $ac_status); }; } &&
46995 { ac_try='test -s conftest$ac_exeext'
46996 { (case "(($ac_try" in
46997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46998 *) ac_try_echo=$ac_try;;
46999 esac
47000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47001 (eval "$ac_try") 2>&5
47002 ac_status=$?
47003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47004 (exit $ac_status); }; }; then
47005 eval "$as_ac_var=yes"
47006 else
47007 echo "$as_me: failed program was:" >&5
47008 sed 's/^/| /' conftest.$ac_ext >&5
47009
47010 eval "$as_ac_var=no"
47011 fi
47012
47013 rm -f core conftest.err conftest.$ac_objext \
47014 conftest$ac_exeext conftest.$ac_ext
47015 fi
47016 ac_res=`eval echo '${'$as_ac_var'}'`
47017 { echo "$as_me:$LINENO: result: $ac_res" >&5
47018 echo "${ECHO_T}$ac_res" >&6; }
47019 if test `eval echo '${'$as_ac_var'}'` = yes; then
47020 cat >>confdefs.h <<_ACEOF
47021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47022 _ACEOF
47023
47024 fi
47025 done
47026
47027 if test "$ac_cv_func_strptime" = "yes"; then
47028 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
47029 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
47030 if test "${wx_cv_func_strptime_decl+set}" = set; then
47031 echo $ECHO_N "(cached) $ECHO_C" >&6
47032 else
47033
47034 ac_ext=cpp
47035 ac_cpp='$CXXCPP $CPPFLAGS'
47036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47039
47040 cat >conftest.$ac_ext <<_ACEOF
47041 /* confdefs.h. */
47042 _ACEOF
47043 cat confdefs.h >>conftest.$ac_ext
47044 cat >>conftest.$ac_ext <<_ACEOF
47045 /* end confdefs.h. */
47046
47047 #include <time.h>
47048
47049 int
47050 main ()
47051 {
47052
47053 struct tm t;
47054 strptime("foo", "bar", &t);
47055
47056 ;
47057 return 0;
47058 }
47059 _ACEOF
47060 rm -f conftest.$ac_objext
47061 if { (ac_try="$ac_compile"
47062 case "(($ac_try" in
47063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47064 *) ac_try_echo=$ac_try;;
47065 esac
47066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47067 (eval "$ac_compile") 2>conftest.er1
47068 ac_status=$?
47069 grep -v '^ *+' conftest.er1 >conftest.err
47070 rm -f conftest.er1
47071 cat conftest.err >&5
47072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47073 (exit $ac_status); } &&
47074 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47075 { (case "(($ac_try" in
47076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47077 *) ac_try_echo=$ac_try;;
47078 esac
47079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47080 (eval "$ac_try") 2>&5
47081 ac_status=$?
47082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47083 (exit $ac_status); }; } &&
47084 { ac_try='test -s conftest.$ac_objext'
47085 { (case "(($ac_try" in
47086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47087 *) ac_try_echo=$ac_try;;
47088 esac
47089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47090 (eval "$ac_try") 2>&5
47091 ac_status=$?
47092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47093 (exit $ac_status); }; }; then
47094 wx_cv_func_strptime_decl=yes
47095 else
47096 echo "$as_me: failed program was:" >&5
47097 sed 's/^/| /' conftest.$ac_ext >&5
47098
47099 wx_cv_func_strptime_decl=no
47100
47101 fi
47102
47103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47104 ac_ext=c
47105 ac_cpp='$CPP $CPPFLAGS'
47106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47109
47110
47111
47112 fi
47113 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
47114 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
47115 fi
47116 if test "$wx_cv_func_strptime_decl" = "yes"; then
47117 cat >>confdefs.h <<\_ACEOF
47118 #define HAVE_STRPTIME_DECL 1
47119 _ACEOF
47120
47121 fi
47122
47123 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
47124 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
47125 if test "${wx_cv_var_timezone+set}" = set; then
47126 echo $ECHO_N "(cached) $ECHO_C" >&6
47127 else
47128
47129 ac_ext=cpp
47130 ac_cpp='$CXXCPP $CPPFLAGS'
47131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47134
47135 cat >conftest.$ac_ext <<_ACEOF
47136 /* confdefs.h. */
47137 _ACEOF
47138 cat confdefs.h >>conftest.$ac_ext
47139 cat >>conftest.$ac_ext <<_ACEOF
47140 /* end confdefs.h. */
47141
47142 #include <time.h>
47143
47144 int
47145 main ()
47146 {
47147
47148 int tz;
47149 tz = timezone;
47150
47151 ;
47152 return 0;
47153 }
47154 _ACEOF
47155 rm -f conftest.$ac_objext
47156 if { (ac_try="$ac_compile"
47157 case "(($ac_try" in
47158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47159 *) ac_try_echo=$ac_try;;
47160 esac
47161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47162 (eval "$ac_compile") 2>conftest.er1
47163 ac_status=$?
47164 grep -v '^ *+' conftest.er1 >conftest.err
47165 rm -f conftest.er1
47166 cat conftest.err >&5
47167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47168 (exit $ac_status); } &&
47169 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47170 { (case "(($ac_try" in
47171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47172 *) ac_try_echo=$ac_try;;
47173 esac
47174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47175 (eval "$ac_try") 2>&5
47176 ac_status=$?
47177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47178 (exit $ac_status); }; } &&
47179 { ac_try='test -s conftest.$ac_objext'
47180 { (case "(($ac_try" in
47181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47182 *) ac_try_echo=$ac_try;;
47183 esac
47184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47185 (eval "$ac_try") 2>&5
47186 ac_status=$?
47187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47188 (exit $ac_status); }; }; then
47189
47190 wx_cv_var_timezone=timezone
47191
47192 else
47193 echo "$as_me: failed program was:" >&5
47194 sed 's/^/| /' conftest.$ac_ext >&5
47195
47196
47197 cat >conftest.$ac_ext <<_ACEOF
47198 /* confdefs.h. */
47199 _ACEOF
47200 cat confdefs.h >>conftest.$ac_ext
47201 cat >>conftest.$ac_ext <<_ACEOF
47202 /* end confdefs.h. */
47203
47204 #include <time.h>
47205
47206 int
47207 main ()
47208 {
47209
47210 int tz;
47211 tz = _timezone;
47212
47213 ;
47214 return 0;
47215 }
47216 _ACEOF
47217 rm -f conftest.$ac_objext
47218 if { (ac_try="$ac_compile"
47219 case "(($ac_try" in
47220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47221 *) ac_try_echo=$ac_try;;
47222 esac
47223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47224 (eval "$ac_compile") 2>conftest.er1
47225 ac_status=$?
47226 grep -v '^ *+' conftest.er1 >conftest.err
47227 rm -f conftest.er1
47228 cat conftest.err >&5
47229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47230 (exit $ac_status); } &&
47231 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47232 { (case "(($ac_try" in
47233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47234 *) ac_try_echo=$ac_try;;
47235 esac
47236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47237 (eval "$ac_try") 2>&5
47238 ac_status=$?
47239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47240 (exit $ac_status); }; } &&
47241 { ac_try='test -s conftest.$ac_objext'
47242 { (case "(($ac_try" in
47243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47244 *) ac_try_echo=$ac_try;;
47245 esac
47246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47247 (eval "$ac_try") 2>&5
47248 ac_status=$?
47249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47250 (exit $ac_status); }; }; then
47251
47252 wx_cv_var_timezone=_timezone
47253
47254 else
47255 echo "$as_me: failed program was:" >&5
47256 sed 's/^/| /' conftest.$ac_ext >&5
47257
47258
47259 cat >conftest.$ac_ext <<_ACEOF
47260 /* confdefs.h. */
47261 _ACEOF
47262 cat confdefs.h >>conftest.$ac_ext
47263 cat >>conftest.$ac_ext <<_ACEOF
47264 /* end confdefs.h. */
47265
47266 #include <time.h>
47267
47268 int
47269 main ()
47270 {
47271
47272 int tz;
47273 tz = __timezone;
47274
47275 ;
47276 return 0;
47277 }
47278 _ACEOF
47279 rm -f conftest.$ac_objext
47280 if { (ac_try="$ac_compile"
47281 case "(($ac_try" in
47282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47283 *) ac_try_echo=$ac_try;;
47284 esac
47285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47286 (eval "$ac_compile") 2>conftest.er1
47287 ac_status=$?
47288 grep -v '^ *+' conftest.er1 >conftest.err
47289 rm -f conftest.er1
47290 cat conftest.err >&5
47291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47292 (exit $ac_status); } &&
47293 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
47294 { (case "(($ac_try" in
47295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47296 *) ac_try_echo=$ac_try;;
47297 esac
47298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47299 (eval "$ac_try") 2>&5
47300 ac_status=$?
47301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47302 (exit $ac_status); }; } &&
47303 { ac_try='test -s conftest.$ac_objext'
47304 { (case "(($ac_try" in
47305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47306 *) ac_try_echo=$ac_try;;
47307 esac
47308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47309 (eval "$ac_try") 2>&5
47310 ac_status=$?
47311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47312 (exit $ac_status); }; }; then
47313
47314 wx_cv_var_timezone=__timezone
47315
47316 else
47317 echo "$as_me: failed program was:" >&5
47318 sed 's/^/| /' conftest.$ac_ext >&5
47319
47320
47321 if test "$USE_DOS" = 0 ; then
47322 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
47323 echo "$as_me: WARNING: no timezone variable" >&2;}
47324 fi
47325
47326
47327 fi
47328
47329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47330
47331
47332 fi
47333
47334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47335
47336
47337 fi
47338
47339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47340 ac_ext=c
47341 ac_cpp='$CPP $CPPFLAGS'
47342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47345
47346
47347
47348 fi
47349 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
47350 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
47351
47352 if test "x$wx_cv_var_timezone" != x ; then
47353 cat >>confdefs.h <<_ACEOF
47354 #define WX_TIMEZONE $wx_cv_var_timezone
47355 _ACEOF
47356
47357 fi
47358
47359
47360 for ac_func in localtime
47361 do
47362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47363 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47365 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47366 echo $ECHO_N "(cached) $ECHO_C" >&6
47367 else
47368 cat >conftest.$ac_ext <<_ACEOF
47369 /* confdefs.h. */
47370 _ACEOF
47371 cat confdefs.h >>conftest.$ac_ext
47372 cat >>conftest.$ac_ext <<_ACEOF
47373 /* end confdefs.h. */
47374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47376 #define $ac_func innocuous_$ac_func
47377
47378 /* System header to define __stub macros and hopefully few prototypes,
47379 which can conflict with char $ac_func (); below.
47380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47381 <limits.h> exists even on freestanding compilers. */
47382
47383 #ifdef __STDC__
47384 # include <limits.h>
47385 #else
47386 # include <assert.h>
47387 #endif
47388
47389 #undef $ac_func
47390
47391 /* Override any GCC internal prototype to avoid an error.
47392 Use char because int might match the return type of a GCC
47393 builtin and then its argument prototype would still apply. */
47394 #ifdef __cplusplus
47395 extern "C"
47396 #endif
47397 char $ac_func ();
47398 /* The GNU C library defines this for functions which it implements
47399 to always fail with ENOSYS. Some functions are actually named
47400 something starting with __ and the normal name is an alias. */
47401 #if defined __stub_$ac_func || defined __stub___$ac_func
47402 choke me
47403 #endif
47404
47405 int
47406 main ()
47407 {
47408 return $ac_func ();
47409 ;
47410 return 0;
47411 }
47412 _ACEOF
47413 rm -f conftest.$ac_objext conftest$ac_exeext
47414 if { (ac_try="$ac_link"
47415 case "(($ac_try" in
47416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47417 *) ac_try_echo=$ac_try;;
47418 esac
47419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47420 (eval "$ac_link") 2>conftest.er1
47421 ac_status=$?
47422 grep -v '^ *+' conftest.er1 >conftest.err
47423 rm -f conftest.er1
47424 cat conftest.err >&5
47425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47426 (exit $ac_status); } &&
47427 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47428 { (case "(($ac_try" in
47429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47430 *) ac_try_echo=$ac_try;;
47431 esac
47432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47433 (eval "$ac_try") 2>&5
47434 ac_status=$?
47435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47436 (exit $ac_status); }; } &&
47437 { ac_try='test -s conftest$ac_exeext'
47438 { (case "(($ac_try" in
47439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47440 *) ac_try_echo=$ac_try;;
47441 esac
47442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47443 (eval "$ac_try") 2>&5
47444 ac_status=$?
47445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47446 (exit $ac_status); }; }; then
47447 eval "$as_ac_var=yes"
47448 else
47449 echo "$as_me: failed program was:" >&5
47450 sed 's/^/| /' conftest.$ac_ext >&5
47451
47452 eval "$as_ac_var=no"
47453 fi
47454
47455 rm -f core conftest.err conftest.$ac_objext \
47456 conftest$ac_exeext conftest.$ac_ext
47457 fi
47458 ac_res=`eval echo '${'$as_ac_var'}'`
47459 { echo "$as_me:$LINENO: result: $ac_res" >&5
47460 echo "${ECHO_T}$ac_res" >&6; }
47461 if test `eval echo '${'$as_ac_var'}'` = yes; then
47462 cat >>confdefs.h <<_ACEOF
47463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47464 _ACEOF
47465
47466 fi
47467 done
47468
47469
47470 if test "$ac_cv_func_localtime" = "yes"; then
47471 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
47472 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
47473 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
47474 echo $ECHO_N "(cached) $ECHO_C" >&6
47475 else
47476
47477 cat >conftest.$ac_ext <<_ACEOF
47478 /* confdefs.h. */
47479 _ACEOF
47480 cat confdefs.h >>conftest.$ac_ext
47481 cat >>conftest.$ac_ext <<_ACEOF
47482 /* end confdefs.h. */
47483
47484 #include <time.h>
47485
47486 int
47487 main ()
47488 {
47489
47490 struct tm tm;
47491 tm.tm_gmtoff++;
47492
47493 ;
47494 return 0;
47495 }
47496 _ACEOF
47497 rm -f conftest.$ac_objext
47498 if { (ac_try="$ac_compile"
47499 case "(($ac_try" in
47500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47501 *) ac_try_echo=$ac_try;;
47502 esac
47503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47504 (eval "$ac_compile") 2>conftest.er1
47505 ac_status=$?
47506 grep -v '^ *+' conftest.er1 >conftest.err
47507 rm -f conftest.er1
47508 cat conftest.err >&5
47509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47510 (exit $ac_status); } &&
47511 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47512 { (case "(($ac_try" in
47513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47514 *) ac_try_echo=$ac_try;;
47515 esac
47516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47517 (eval "$ac_try") 2>&5
47518 ac_status=$?
47519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47520 (exit $ac_status); }; } &&
47521 { ac_try='test -s conftest.$ac_objext'
47522 { (case "(($ac_try" in
47523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47524 *) ac_try_echo=$ac_try;;
47525 esac
47526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47527 (eval "$ac_try") 2>&5
47528 ac_status=$?
47529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47530 (exit $ac_status); }; }; then
47531
47532 wx_cv_struct_tm_has_gmtoff=yes
47533
47534 else
47535 echo "$as_me: failed program was:" >&5
47536 sed 's/^/| /' conftest.$ac_ext >&5
47537
47538 wx_cv_struct_tm_has_gmtoff=no
47539
47540 fi
47541
47542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47543
47544 fi
47545 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
47546 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
47547 fi
47548
47549 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
47550 cat >>confdefs.h <<\_ACEOF
47551 #define WX_GMTOFF_IN_TM 1
47552 _ACEOF
47553
47554 fi
47555
47556
47557
47558 for ac_func in gettimeofday ftime
47559 do
47560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47561 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47563 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47564 echo $ECHO_N "(cached) $ECHO_C" >&6
47565 else
47566 cat >conftest.$ac_ext <<_ACEOF
47567 /* confdefs.h. */
47568 _ACEOF
47569 cat confdefs.h >>conftest.$ac_ext
47570 cat >>conftest.$ac_ext <<_ACEOF
47571 /* end confdefs.h. */
47572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47574 #define $ac_func innocuous_$ac_func
47575
47576 /* System header to define __stub macros and hopefully few prototypes,
47577 which can conflict with char $ac_func (); below.
47578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47579 <limits.h> exists even on freestanding compilers. */
47580
47581 #ifdef __STDC__
47582 # include <limits.h>
47583 #else
47584 # include <assert.h>
47585 #endif
47586
47587 #undef $ac_func
47588
47589 /* Override any GCC internal prototype to avoid an error.
47590 Use char because int might match the return type of a GCC
47591 builtin and then its argument prototype would still apply. */
47592 #ifdef __cplusplus
47593 extern "C"
47594 #endif
47595 char $ac_func ();
47596 /* The GNU C library defines this for functions which it implements
47597 to always fail with ENOSYS. Some functions are actually named
47598 something starting with __ and the normal name is an alias. */
47599 #if defined __stub_$ac_func || defined __stub___$ac_func
47600 choke me
47601 #endif
47602
47603 int
47604 main ()
47605 {
47606 return $ac_func ();
47607 ;
47608 return 0;
47609 }
47610 _ACEOF
47611 rm -f conftest.$ac_objext conftest$ac_exeext
47612 if { (ac_try="$ac_link"
47613 case "(($ac_try" in
47614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47615 *) ac_try_echo=$ac_try;;
47616 esac
47617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47618 (eval "$ac_link") 2>conftest.er1
47619 ac_status=$?
47620 grep -v '^ *+' conftest.er1 >conftest.err
47621 rm -f conftest.er1
47622 cat conftest.err >&5
47623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47624 (exit $ac_status); } &&
47625 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47626 { (case "(($ac_try" in
47627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47628 *) ac_try_echo=$ac_try;;
47629 esac
47630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47631 (eval "$ac_try") 2>&5
47632 ac_status=$?
47633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47634 (exit $ac_status); }; } &&
47635 { ac_try='test -s conftest$ac_exeext'
47636 { (case "(($ac_try" in
47637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47638 *) ac_try_echo=$ac_try;;
47639 esac
47640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47641 (eval "$ac_try") 2>&5
47642 ac_status=$?
47643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47644 (exit $ac_status); }; }; then
47645 eval "$as_ac_var=yes"
47646 else
47647 echo "$as_me: failed program was:" >&5
47648 sed 's/^/| /' conftest.$ac_ext >&5
47649
47650 eval "$as_ac_var=no"
47651 fi
47652
47653 rm -f core conftest.err conftest.$ac_objext \
47654 conftest$ac_exeext conftest.$ac_ext
47655 fi
47656 ac_res=`eval echo '${'$as_ac_var'}'`
47657 { echo "$as_me:$LINENO: result: $ac_res" >&5
47658 echo "${ECHO_T}$ac_res" >&6; }
47659 if test `eval echo '${'$as_ac_var'}'` = yes; then
47660 cat >>confdefs.h <<_ACEOF
47661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47662 _ACEOF
47663 break
47664 fi
47665 done
47666
47667
47668 if test "$ac_cv_func_gettimeofday" = "yes"; then
47669 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
47670 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
47671 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
47672 echo $ECHO_N "(cached) $ECHO_C" >&6
47673 else
47674
47675 cat >conftest.$ac_ext <<_ACEOF
47676 /* confdefs.h. */
47677 _ACEOF
47678 cat confdefs.h >>conftest.$ac_ext
47679 cat >>conftest.$ac_ext <<_ACEOF
47680 /* end confdefs.h. */
47681
47682 #include <sys/time.h>
47683 #include <unistd.h>
47684
47685 int
47686 main ()
47687 {
47688
47689 struct timeval tv;
47690 gettimeofday(&tv, NULL);
47691
47692 ;
47693 return 0;
47694 }
47695 _ACEOF
47696 rm -f conftest.$ac_objext
47697 if { (ac_try="$ac_compile"
47698 case "(($ac_try" in
47699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47700 *) ac_try_echo=$ac_try;;
47701 esac
47702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47703 (eval "$ac_compile") 2>conftest.er1
47704 ac_status=$?
47705 grep -v '^ *+' conftest.er1 >conftest.err
47706 rm -f conftest.er1
47707 cat conftest.err >&5
47708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47709 (exit $ac_status); } &&
47710 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47711 { (case "(($ac_try" in
47712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47713 *) ac_try_echo=$ac_try;;
47714 esac
47715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47716 (eval "$ac_try") 2>&5
47717 ac_status=$?
47718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47719 (exit $ac_status); }; } &&
47720 { ac_try='test -s conftest.$ac_objext'
47721 { (case "(($ac_try" in
47722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47723 *) ac_try_echo=$ac_try;;
47724 esac
47725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47726 (eval "$ac_try") 2>&5
47727 ac_status=$?
47728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47729 (exit $ac_status); }; }; then
47730 wx_cv_func_gettimeofday_has_2_args=yes
47731 else
47732 echo "$as_me: failed program was:" >&5
47733 sed 's/^/| /' conftest.$ac_ext >&5
47734
47735 cat >conftest.$ac_ext <<_ACEOF
47736 /* confdefs.h. */
47737 _ACEOF
47738 cat confdefs.h >>conftest.$ac_ext
47739 cat >>conftest.$ac_ext <<_ACEOF
47740 /* end confdefs.h. */
47741
47742 #include <sys/time.h>
47743 #include <unistd.h>
47744
47745 int
47746 main ()
47747 {
47748
47749 struct timeval tv;
47750 gettimeofday(&tv);
47751
47752 ;
47753 return 0;
47754 }
47755 _ACEOF
47756 rm -f conftest.$ac_objext
47757 if { (ac_try="$ac_compile"
47758 case "(($ac_try" in
47759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47760 *) ac_try_echo=$ac_try;;
47761 esac
47762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47763 (eval "$ac_compile") 2>conftest.er1
47764 ac_status=$?
47765 grep -v '^ *+' conftest.er1 >conftest.err
47766 rm -f conftest.er1
47767 cat conftest.err >&5
47768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47769 (exit $ac_status); } &&
47770 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47771 { (case "(($ac_try" in
47772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47773 *) ac_try_echo=$ac_try;;
47774 esac
47775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47776 (eval "$ac_try") 2>&5
47777 ac_status=$?
47778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47779 (exit $ac_status); }; } &&
47780 { ac_try='test -s conftest.$ac_objext'
47781 { (case "(($ac_try" in
47782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47783 *) ac_try_echo=$ac_try;;
47784 esac
47785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47786 (eval "$ac_try") 2>&5
47787 ac_status=$?
47788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47789 (exit $ac_status); }; }; then
47790 wx_cv_func_gettimeofday_has_2_args=no
47791 else
47792 echo "$as_me: failed program was:" >&5
47793 sed 's/^/| /' conftest.$ac_ext >&5
47794
47795
47796 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
47797 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
47798 wx_cv_func_gettimeofday_has_2_args=unknown
47799
47800
47801 fi
47802
47803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47804
47805 fi
47806
47807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47808
47809 fi
47810 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
47811 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
47812
47813 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
47814 cat >>confdefs.h <<\_ACEOF
47815 #define WX_GETTIMEOFDAY_NO_TZ 1
47816 _ACEOF
47817
47818 fi
47819 fi
47820
47821 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
47822 fi
47823
47824
47825 if test "$wxUSE_SOCKETS" = "yes"; then
47826 if test "$wxUSE_MGL" = "1"; then
47827 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
47828 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
47829 wxUSE_SOCKETS="no"
47830 fi
47831 fi
47832
47833 if test "$wxUSE_SOCKETS" = "yes"; then
47834 if test "$TOOLKIT" != "MSW"; then
47835 { echo "$as_me:$LINENO: checking for socket" >&5
47836 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
47837 if test "${ac_cv_func_socket+set}" = set; then
47838 echo $ECHO_N "(cached) $ECHO_C" >&6
47839 else
47840 cat >conftest.$ac_ext <<_ACEOF
47841 /* confdefs.h. */
47842 _ACEOF
47843 cat confdefs.h >>conftest.$ac_ext
47844 cat >>conftest.$ac_ext <<_ACEOF
47845 /* end confdefs.h. */
47846 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
47847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47848 #define socket innocuous_socket
47849
47850 /* System header to define __stub macros and hopefully few prototypes,
47851 which can conflict with char socket (); below.
47852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47853 <limits.h> exists even on freestanding compilers. */
47854
47855 #ifdef __STDC__
47856 # include <limits.h>
47857 #else
47858 # include <assert.h>
47859 #endif
47860
47861 #undef socket
47862
47863 /* Override any GCC internal prototype to avoid an error.
47864 Use char because int might match the return type of a GCC
47865 builtin and then its argument prototype would still apply. */
47866 #ifdef __cplusplus
47867 extern "C"
47868 #endif
47869 char socket ();
47870 /* The GNU C library defines this for functions which it implements
47871 to always fail with ENOSYS. Some functions are actually named
47872 something starting with __ and the normal name is an alias. */
47873 #if defined __stub_socket || defined __stub___socket
47874 choke me
47875 #endif
47876
47877 int
47878 main ()
47879 {
47880 return socket ();
47881 ;
47882 return 0;
47883 }
47884 _ACEOF
47885 rm -f conftest.$ac_objext conftest$ac_exeext
47886 if { (ac_try="$ac_link"
47887 case "(($ac_try" in
47888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47889 *) ac_try_echo=$ac_try;;
47890 esac
47891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47892 (eval "$ac_link") 2>conftest.er1
47893 ac_status=$?
47894 grep -v '^ *+' conftest.er1 >conftest.err
47895 rm -f conftest.er1
47896 cat conftest.err >&5
47897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47898 (exit $ac_status); } &&
47899 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47900 { (case "(($ac_try" in
47901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47902 *) ac_try_echo=$ac_try;;
47903 esac
47904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47905 (eval "$ac_try") 2>&5
47906 ac_status=$?
47907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47908 (exit $ac_status); }; } &&
47909 { ac_try='test -s conftest$ac_exeext'
47910 { (case "(($ac_try" in
47911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47912 *) ac_try_echo=$ac_try;;
47913 esac
47914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47915 (eval "$ac_try") 2>&5
47916 ac_status=$?
47917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47918 (exit $ac_status); }; }; then
47919 ac_cv_func_socket=yes
47920 else
47921 echo "$as_me: failed program was:" >&5
47922 sed 's/^/| /' conftest.$ac_ext >&5
47923
47924 ac_cv_func_socket=no
47925 fi
47926
47927 rm -f core conftest.err conftest.$ac_objext \
47928 conftest$ac_exeext conftest.$ac_ext
47929 fi
47930 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
47931 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
47932 if test $ac_cv_func_socket = yes; then
47933 :
47934 else
47935
47936 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
47937 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
47938 if test "${ac_cv_lib_socket_socket+set}" = set; then
47939 echo $ECHO_N "(cached) $ECHO_C" >&6
47940 else
47941 ac_check_lib_save_LIBS=$LIBS
47942 LIBS="-lsocket $LIBS"
47943 cat >conftest.$ac_ext <<_ACEOF
47944 /* confdefs.h. */
47945 _ACEOF
47946 cat confdefs.h >>conftest.$ac_ext
47947 cat >>conftest.$ac_ext <<_ACEOF
47948 /* end confdefs.h. */
47949
47950 /* Override any GCC internal prototype to avoid an error.
47951 Use char because int might match the return type of a GCC
47952 builtin and then its argument prototype would still apply. */
47953 #ifdef __cplusplus
47954 extern "C"
47955 #endif
47956 char socket ();
47957 int
47958 main ()
47959 {
47960 return socket ();
47961 ;
47962 return 0;
47963 }
47964 _ACEOF
47965 rm -f conftest.$ac_objext conftest$ac_exeext
47966 if { (ac_try="$ac_link"
47967 case "(($ac_try" in
47968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47969 *) ac_try_echo=$ac_try;;
47970 esac
47971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47972 (eval "$ac_link") 2>conftest.er1
47973 ac_status=$?
47974 grep -v '^ *+' conftest.er1 >conftest.err
47975 rm -f conftest.er1
47976 cat conftest.err >&5
47977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47978 (exit $ac_status); } &&
47979 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47980 { (case "(($ac_try" in
47981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47982 *) ac_try_echo=$ac_try;;
47983 esac
47984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47985 (eval "$ac_try") 2>&5
47986 ac_status=$?
47987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47988 (exit $ac_status); }; } &&
47989 { ac_try='test -s conftest$ac_exeext'
47990 { (case "(($ac_try" in
47991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47992 *) ac_try_echo=$ac_try;;
47993 esac
47994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47995 (eval "$ac_try") 2>&5
47996 ac_status=$?
47997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47998 (exit $ac_status); }; }; then
47999 ac_cv_lib_socket_socket=yes
48000 else
48001 echo "$as_me: failed program was:" >&5
48002 sed 's/^/| /' conftest.$ac_ext >&5
48003
48004 ac_cv_lib_socket_socket=no
48005 fi
48006
48007 rm -f core conftest.err conftest.$ac_objext \
48008 conftest$ac_exeext conftest.$ac_ext
48009 LIBS=$ac_check_lib_save_LIBS
48010 fi
48011 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
48012 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
48013 if test $ac_cv_lib_socket_socket = yes; then
48014 if test "$INET_LINK" != " -lsocket"; then
48015 INET_LINK="$INET_LINK -lsocket"
48016 fi
48017 else
48018
48019 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
48020 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
48021 wxUSE_SOCKETS=no
48022
48023
48024 fi
48025
48026
48027
48028 fi
48029
48030 fi
48031 fi
48032
48033 if test "$wxUSE_SOCKETS" = "yes" ; then
48034 if test "$TOOLKIT" != "MSW"; then
48035 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
48036 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
48037 if test "${wx_cv_type_getsockname3+set}" = set; then
48038 echo $ECHO_N "(cached) $ECHO_C" >&6
48039 else
48040
48041 ac_ext=cpp
48042 ac_cpp='$CXXCPP $CPPFLAGS'
48043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48046
48047 cat >conftest.$ac_ext <<_ACEOF
48048 /* confdefs.h. */
48049 _ACEOF
48050 cat confdefs.h >>conftest.$ac_ext
48051 cat >>conftest.$ac_ext <<_ACEOF
48052 /* end confdefs.h. */
48053
48054 #include <sys/types.h>
48055 #include <sys/socket.h>
48056
48057 int
48058 main ()
48059 {
48060
48061 socklen_t len;
48062 getsockname(0, 0, &len);
48063
48064 ;
48065 return 0;
48066 }
48067 _ACEOF
48068 rm -f conftest.$ac_objext
48069 if { (ac_try="$ac_compile"
48070 case "(($ac_try" in
48071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48072 *) ac_try_echo=$ac_try;;
48073 esac
48074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48075 (eval "$ac_compile") 2>conftest.er1
48076 ac_status=$?
48077 grep -v '^ *+' conftest.er1 >conftest.err
48078 rm -f conftest.er1
48079 cat conftest.err >&5
48080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48081 (exit $ac_status); } &&
48082 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48083 { (case "(($ac_try" in
48084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48085 *) ac_try_echo=$ac_try;;
48086 esac
48087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48088 (eval "$ac_try") 2>&5
48089 ac_status=$?
48090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48091 (exit $ac_status); }; } &&
48092 { ac_try='test -s conftest.$ac_objext'
48093 { (case "(($ac_try" in
48094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48095 *) ac_try_echo=$ac_try;;
48096 esac
48097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48098 (eval "$ac_try") 2>&5
48099 ac_status=$?
48100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48101 (exit $ac_status); }; }; then
48102 wx_cv_type_getsockname3=socklen_t
48103 else
48104 echo "$as_me: failed program was:" >&5
48105 sed 's/^/| /' conftest.$ac_ext >&5
48106
48107
48108 CFLAGS_OLD="$CFLAGS"
48109 if test "$GCC" = yes ; then
48110 CFLAGS="-Werror $CFLAGS"
48111 fi
48112
48113 cat >conftest.$ac_ext <<_ACEOF
48114 /* confdefs.h. */
48115 _ACEOF
48116 cat confdefs.h >>conftest.$ac_ext
48117 cat >>conftest.$ac_ext <<_ACEOF
48118 /* end confdefs.h. */
48119
48120 #include <sys/types.h>
48121 #include <sys/socket.h>
48122
48123 int
48124 main ()
48125 {
48126
48127 size_t len;
48128 getsockname(0, 0, &len);
48129
48130 ;
48131 return 0;
48132 }
48133 _ACEOF
48134 rm -f conftest.$ac_objext
48135 if { (ac_try="$ac_compile"
48136 case "(($ac_try" in
48137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48138 *) ac_try_echo=$ac_try;;
48139 esac
48140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48141 (eval "$ac_compile") 2>conftest.er1
48142 ac_status=$?
48143 grep -v '^ *+' conftest.er1 >conftest.err
48144 rm -f conftest.er1
48145 cat conftest.err >&5
48146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48147 (exit $ac_status); } &&
48148 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48149 { (case "(($ac_try" in
48150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48151 *) ac_try_echo=$ac_try;;
48152 esac
48153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48154 (eval "$ac_try") 2>&5
48155 ac_status=$?
48156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48157 (exit $ac_status); }; } &&
48158 { ac_try='test -s conftest.$ac_objext'
48159 { (case "(($ac_try" in
48160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48161 *) ac_try_echo=$ac_try;;
48162 esac
48163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48164 (eval "$ac_try") 2>&5
48165 ac_status=$?
48166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48167 (exit $ac_status); }; }; then
48168 wx_cv_type_getsockname3=size_t
48169 else
48170 echo "$as_me: failed program was:" >&5
48171 sed 's/^/| /' conftest.$ac_ext >&5
48172
48173 cat >conftest.$ac_ext <<_ACEOF
48174 /* confdefs.h. */
48175 _ACEOF
48176 cat confdefs.h >>conftest.$ac_ext
48177 cat >>conftest.$ac_ext <<_ACEOF
48178 /* end confdefs.h. */
48179
48180 #include <sys/types.h>
48181 #include <sys/socket.h>
48182
48183 int
48184 main ()
48185 {
48186
48187 int len;
48188 getsockname(0, 0, &len);
48189
48190 ;
48191 return 0;
48192 }
48193 _ACEOF
48194 rm -f conftest.$ac_objext
48195 if { (ac_try="$ac_compile"
48196 case "(($ac_try" in
48197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48198 *) ac_try_echo=$ac_try;;
48199 esac
48200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48201 (eval "$ac_compile") 2>conftest.er1
48202 ac_status=$?
48203 grep -v '^ *+' conftest.er1 >conftest.err
48204 rm -f conftest.er1
48205 cat conftest.err >&5
48206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48207 (exit $ac_status); } &&
48208 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48209 { (case "(($ac_try" in
48210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48211 *) ac_try_echo=$ac_try;;
48212 esac
48213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48214 (eval "$ac_try") 2>&5
48215 ac_status=$?
48216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48217 (exit $ac_status); }; } &&
48218 { ac_try='test -s conftest.$ac_objext'
48219 { (case "(($ac_try" in
48220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48221 *) ac_try_echo=$ac_try;;
48222 esac
48223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48224 (eval "$ac_try") 2>&5
48225 ac_status=$?
48226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48227 (exit $ac_status); }; }; then
48228 wx_cv_type_getsockname3=int
48229 else
48230 echo "$as_me: failed program was:" >&5
48231 sed 's/^/| /' conftest.$ac_ext >&5
48232
48233 wx_cv_type_getsockname3=unknown
48234
48235 fi
48236
48237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48238
48239 fi
48240
48241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48242
48243 CFLAGS="$CFLAGS_OLD"
48244
48245
48246 fi
48247
48248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48249 ac_ext=c
48250 ac_cpp='$CPP $CPPFLAGS'
48251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48254
48255
48256 fi
48257 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
48258 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
48259
48260 if test "$wx_cv_type_getsockname3" = "unknown"; then
48261 wxUSE_SOCKETS=no
48262 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
48263 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
48264 else
48265 cat >>confdefs.h <<_ACEOF
48266 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
48267 _ACEOF
48268
48269 fi
48270 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
48271 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
48272 if test "${wx_cv_type_getsockopt5+set}" = set; then
48273 echo $ECHO_N "(cached) $ECHO_C" >&6
48274 else
48275
48276 cat >conftest.$ac_ext <<_ACEOF
48277 /* confdefs.h. */
48278 _ACEOF
48279 cat confdefs.h >>conftest.$ac_ext
48280 cat >>conftest.$ac_ext <<_ACEOF
48281 /* end confdefs.h. */
48282
48283 #include <sys/types.h>
48284 #include <sys/socket.h>
48285
48286 int
48287 main ()
48288 {
48289
48290 socklen_t len;
48291 getsockopt(0, 0, 0, 0, &len);
48292
48293 ;
48294 return 0;
48295 }
48296 _ACEOF
48297 rm -f conftest.$ac_objext
48298 if { (ac_try="$ac_compile"
48299 case "(($ac_try" in
48300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48301 *) ac_try_echo=$ac_try;;
48302 esac
48303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48304 (eval "$ac_compile") 2>conftest.er1
48305 ac_status=$?
48306 grep -v '^ *+' conftest.er1 >conftest.err
48307 rm -f conftest.er1
48308 cat conftest.err >&5
48309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48310 (exit $ac_status); } &&
48311 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48312 { (case "(($ac_try" in
48313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48314 *) ac_try_echo=$ac_try;;
48315 esac
48316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48317 (eval "$ac_try") 2>&5
48318 ac_status=$?
48319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48320 (exit $ac_status); }; } &&
48321 { ac_try='test -s conftest.$ac_objext'
48322 { (case "(($ac_try" in
48323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48324 *) ac_try_echo=$ac_try;;
48325 esac
48326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48327 (eval "$ac_try") 2>&5
48328 ac_status=$?
48329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48330 (exit $ac_status); }; }; then
48331 wx_cv_type_getsockopt5=socklen_t
48332 else
48333 echo "$as_me: failed program was:" >&5
48334 sed 's/^/| /' conftest.$ac_ext >&5
48335
48336
48337 ac_ext=cpp
48338 ac_cpp='$CXXCPP $CPPFLAGS'
48339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48342
48343 cat >conftest.$ac_ext <<_ACEOF
48344 /* confdefs.h. */
48345 _ACEOF
48346 cat confdefs.h >>conftest.$ac_ext
48347 cat >>conftest.$ac_ext <<_ACEOF
48348 /* end confdefs.h. */
48349
48350 #include <sys/types.h>
48351 #include <sys/socket.h>
48352
48353 int
48354 main ()
48355 {
48356
48357 size_t len;
48358 getsockopt(0, 0, 0, 0, &len);
48359
48360 ;
48361 return 0;
48362 }
48363 _ACEOF
48364 rm -f conftest.$ac_objext
48365 if { (ac_try="$ac_compile"
48366 case "(($ac_try" in
48367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48368 *) ac_try_echo=$ac_try;;
48369 esac
48370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48371 (eval "$ac_compile") 2>conftest.er1
48372 ac_status=$?
48373 grep -v '^ *+' conftest.er1 >conftest.err
48374 rm -f conftest.er1
48375 cat conftest.err >&5
48376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48377 (exit $ac_status); } &&
48378 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48379 { (case "(($ac_try" in
48380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48381 *) ac_try_echo=$ac_try;;
48382 esac
48383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48384 (eval "$ac_try") 2>&5
48385 ac_status=$?
48386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48387 (exit $ac_status); }; } &&
48388 { ac_try='test -s conftest.$ac_objext'
48389 { (case "(($ac_try" in
48390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48391 *) ac_try_echo=$ac_try;;
48392 esac
48393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48394 (eval "$ac_try") 2>&5
48395 ac_status=$?
48396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48397 (exit $ac_status); }; }; then
48398 wx_cv_type_getsockopt5=size_t
48399 else
48400 echo "$as_me: failed program was:" >&5
48401 sed 's/^/| /' conftest.$ac_ext >&5
48402
48403 cat >conftest.$ac_ext <<_ACEOF
48404 /* confdefs.h. */
48405 _ACEOF
48406 cat confdefs.h >>conftest.$ac_ext
48407 cat >>conftest.$ac_ext <<_ACEOF
48408 /* end confdefs.h. */
48409
48410 #include <sys/types.h>
48411 #include <sys/socket.h>
48412
48413 int
48414 main ()
48415 {
48416
48417 int len;
48418 getsockopt(0, 0, 0, 0, &len);
48419
48420 ;
48421 return 0;
48422 }
48423 _ACEOF
48424 rm -f conftest.$ac_objext
48425 if { (ac_try="$ac_compile"
48426 case "(($ac_try" in
48427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48428 *) ac_try_echo=$ac_try;;
48429 esac
48430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48431 (eval "$ac_compile") 2>conftest.er1
48432 ac_status=$?
48433 grep -v '^ *+' conftest.er1 >conftest.err
48434 rm -f conftest.er1
48435 cat conftest.err >&5
48436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48437 (exit $ac_status); } &&
48438 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48439 { (case "(($ac_try" in
48440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48441 *) ac_try_echo=$ac_try;;
48442 esac
48443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48444 (eval "$ac_try") 2>&5
48445 ac_status=$?
48446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48447 (exit $ac_status); }; } &&
48448 { ac_try='test -s conftest.$ac_objext'
48449 { (case "(($ac_try" in
48450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48451 *) ac_try_echo=$ac_try;;
48452 esac
48453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48454 (eval "$ac_try") 2>&5
48455 ac_status=$?
48456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48457 (exit $ac_status); }; }; then
48458 wx_cv_type_getsockopt5=int
48459 else
48460 echo "$as_me: failed program was:" >&5
48461 sed 's/^/| /' conftest.$ac_ext >&5
48462
48463 wx_cv_type_getsockopt5=unknown
48464
48465 fi
48466
48467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48468
48469 fi
48470
48471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48472 ac_ext=c
48473 ac_cpp='$CPP $CPPFLAGS'
48474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48477
48478
48479
48480 fi
48481
48482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48483
48484 fi
48485 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
48486 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
48487
48488 if test "$wx_cv_type_getsockopt5" = "unknown"; then
48489 wxUSE_SOCKETS=no
48490 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
48491 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
48492 else
48493 cat >>confdefs.h <<_ACEOF
48494 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
48495 _ACEOF
48496
48497 fi
48498 fi
48499 fi
48500
48501 if test "$wxUSE_SOCKETS" = "yes" ; then
48502 cat >>confdefs.h <<\_ACEOF
48503 #define wxUSE_SOCKETS 1
48504 _ACEOF
48505
48506 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
48507 fi
48508
48509 if test "$wxUSE_PROTOCOL" = "yes"; then
48510 if test "$wxUSE_SOCKETS" != "yes"; then
48511 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
48512 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
48513 wxUSE_PROTOCOL=no
48514 fi
48515 fi
48516
48517 if test "$wxUSE_PROTOCOL" = "yes"; then
48518 cat >>confdefs.h <<\_ACEOF
48519 #define wxUSE_PROTOCOL 1
48520 _ACEOF
48521
48522
48523 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
48524 cat >>confdefs.h <<\_ACEOF
48525 #define wxUSE_PROTOCOL_HTTP 1
48526 _ACEOF
48527
48528 fi
48529 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
48530 cat >>confdefs.h <<\_ACEOF
48531 #define wxUSE_PROTOCOL_FTP 1
48532 _ACEOF
48533
48534 fi
48535 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
48536 cat >>confdefs.h <<\_ACEOF
48537 #define wxUSE_PROTOCOL_FILE 1
48538 _ACEOF
48539
48540 fi
48541 else
48542 if test "$wxUSE_FS_INET" = "yes"; then
48543 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
48544 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
48545 wxUSE_FS_INET="no"
48546 fi
48547 fi
48548
48549 if test "$wxUSE_URL" = "yes"; then
48550 if test "$wxUSE_PROTOCOL" != "yes"; then
48551 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
48552 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
48553 wxUSE_URL=no
48554 fi
48555 if test "$wxUSE_URL" = "yes"; then
48556 cat >>confdefs.h <<\_ACEOF
48557 #define wxUSE_URL 1
48558 _ACEOF
48559
48560 fi
48561 fi
48562
48563 if test "$wxUSE_VARIANT" = "yes"; then
48564 cat >>confdefs.h <<\_ACEOF
48565 #define wxUSE_VARIANT 1
48566 _ACEOF
48567
48568 fi
48569
48570 if test "$wxUSE_FS_INET" = "yes"; then
48571 cat >>confdefs.h <<\_ACEOF
48572 #define wxUSE_FS_INET 1
48573 _ACEOF
48574
48575 fi
48576
48577
48578 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
48579 wxUSE_JOYSTICK=no
48580
48581 if test "$TOOLKIT" = "MSW"; then
48582 wxUSE_JOYSTICK=yes
48583
48584 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
48585 if test "$USE_DARWIN" = 1; then
48586 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
48587 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
48588 ac_ext=cpp
48589 ac_cpp='$CXXCPP $CPPFLAGS'
48590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48593
48594 cat >conftest.$ac_ext <<_ACEOF
48595 /* confdefs.h. */
48596 _ACEOF
48597 cat confdefs.h >>conftest.$ac_ext
48598 cat >>conftest.$ac_ext <<_ACEOF
48599 /* end confdefs.h. */
48600 #include <IOKit/hid/IOHIDLib.h>
48601 int
48602 main ()
48603 {
48604 IOHIDQueueInterface *qi = NULL;
48605 IOHIDCallbackFunction cb = NULL;
48606 qi->setEventCallout(NULL, cb, NULL, NULL);
48607 ;
48608 return 0;
48609 }
48610 _ACEOF
48611 rm -f conftest.$ac_objext
48612 if { (ac_try="$ac_compile"
48613 case "(($ac_try" in
48614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48615 *) ac_try_echo=$ac_try;;
48616 esac
48617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48618 (eval "$ac_compile") 2>conftest.er1
48619 ac_status=$?
48620 grep -v '^ *+' conftest.er1 >conftest.err
48621 rm -f conftest.er1
48622 cat conftest.err >&5
48623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48624 (exit $ac_status); } &&
48625 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
48626 { (case "(($ac_try" in
48627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48628 *) ac_try_echo=$ac_try;;
48629 esac
48630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48631 (eval "$ac_try") 2>&5
48632 ac_status=$?
48633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48634 (exit $ac_status); }; } &&
48635 { ac_try='test -s conftest.$ac_objext'
48636 { (case "(($ac_try" in
48637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48638 *) ac_try_echo=$ac_try;;
48639 esac
48640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48641 (eval "$ac_try") 2>&5
48642 ac_status=$?
48643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48644 (exit $ac_status); }; }; then
48645 wxUSE_JOYSTICK=yes
48646
48647 else
48648 echo "$as_me: failed program was:" >&5
48649 sed 's/^/| /' conftest.$ac_ext >&5
48650
48651
48652 fi
48653
48654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48655 ac_ext=c
48656 ac_cpp='$CPP $CPPFLAGS'
48657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48660
48661 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
48662 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
48663 fi
48664
48665 else
48666 if test "$wxUSE_MGL" != "1"; then
48667 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
48668 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
48669 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
48670 echo $ECHO_N "(cached) $ECHO_C" >&6
48671 else
48672 cat >conftest.$ac_ext <<_ACEOF
48673 /* confdefs.h. */
48674 _ACEOF
48675 cat confdefs.h >>conftest.$ac_ext
48676 cat >>conftest.$ac_ext <<_ACEOF
48677 /* end confdefs.h. */
48678 $ac_includes_default
48679
48680 #include <linux/joystick.h>
48681 _ACEOF
48682 rm -f conftest.$ac_objext
48683 if { (ac_try="$ac_compile"
48684 case "(($ac_try" in
48685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48686 *) ac_try_echo=$ac_try;;
48687 esac
48688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48689 (eval "$ac_compile") 2>conftest.er1
48690 ac_status=$?
48691 grep -v '^ *+' conftest.er1 >conftest.err
48692 rm -f conftest.er1
48693 cat conftest.err >&5
48694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48695 (exit $ac_status); } &&
48696 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48697 { (case "(($ac_try" in
48698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48699 *) ac_try_echo=$ac_try;;
48700 esac
48701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48702 (eval "$ac_try") 2>&5
48703 ac_status=$?
48704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48705 (exit $ac_status); }; } &&
48706 { ac_try='test -s conftest.$ac_objext'
48707 { (case "(($ac_try" in
48708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48709 *) ac_try_echo=$ac_try;;
48710 esac
48711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48712 (eval "$ac_try") 2>&5
48713 ac_status=$?
48714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48715 (exit $ac_status); }; }; then
48716 ac_cv_header_linux_joystick_h=yes
48717 else
48718 echo "$as_me: failed program was:" >&5
48719 sed 's/^/| /' conftest.$ac_ext >&5
48720
48721 ac_cv_header_linux_joystick_h=no
48722 fi
48723
48724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48725 fi
48726 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
48727 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
48728 if test $ac_cv_header_linux_joystick_h = yes; then
48729 wxUSE_JOYSTICK=yes
48730 fi
48731
48732
48733 fi
48734 fi
48735
48736 if test "$wxUSE_JOYSTICK" = "yes"; then
48737 cat >>confdefs.h <<\_ACEOF
48738 #define wxUSE_JOYSTICK 1
48739 _ACEOF
48740
48741 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
48742 else
48743 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
48744 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
48745 fi
48746 fi
48747
48748
48749
48750 if test "$wxUSE_FONTMAP" = "yes" ; then
48751 cat >>confdefs.h <<\_ACEOF
48752 #define wxUSE_FONTMAP 1
48753 _ACEOF
48754
48755 fi
48756
48757 if test "$wxUSE_UNICODE" = "yes" ; then
48758 cat >>confdefs.h <<\_ACEOF
48759 #define wxUSE_UNICODE 1
48760 _ACEOF
48761
48762
48763 if test "$USE_WIN32" != 1; then
48764 wxUSE_UNICODE_MSLU=no
48765 fi
48766
48767 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
48768 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
48769 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
48770 if test "${ac_cv_lib_unicows_main+set}" = set; then
48771 echo $ECHO_N "(cached) $ECHO_C" >&6
48772 else
48773 ac_check_lib_save_LIBS=$LIBS
48774 LIBS="-lunicows $LIBS"
48775 cat >conftest.$ac_ext <<_ACEOF
48776 /* confdefs.h. */
48777 _ACEOF
48778 cat confdefs.h >>conftest.$ac_ext
48779 cat >>conftest.$ac_ext <<_ACEOF
48780 /* end confdefs.h. */
48781
48782
48783 int
48784 main ()
48785 {
48786 return main ();
48787 ;
48788 return 0;
48789 }
48790 _ACEOF
48791 rm -f conftest.$ac_objext conftest$ac_exeext
48792 if { (ac_try="$ac_link"
48793 case "(($ac_try" in
48794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48795 *) ac_try_echo=$ac_try;;
48796 esac
48797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48798 (eval "$ac_link") 2>conftest.er1
48799 ac_status=$?
48800 grep -v '^ *+' conftest.er1 >conftest.err
48801 rm -f conftest.er1
48802 cat conftest.err >&5
48803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48804 (exit $ac_status); } &&
48805 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48806 { (case "(($ac_try" in
48807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48808 *) ac_try_echo=$ac_try;;
48809 esac
48810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48811 (eval "$ac_try") 2>&5
48812 ac_status=$?
48813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48814 (exit $ac_status); }; } &&
48815 { ac_try='test -s conftest$ac_exeext'
48816 { (case "(($ac_try" in
48817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48818 *) ac_try_echo=$ac_try;;
48819 esac
48820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48821 (eval "$ac_try") 2>&5
48822 ac_status=$?
48823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48824 (exit $ac_status); }; }; then
48825 ac_cv_lib_unicows_main=yes
48826 else
48827 echo "$as_me: failed program was:" >&5
48828 sed 's/^/| /' conftest.$ac_ext >&5
48829
48830 ac_cv_lib_unicows_main=no
48831 fi
48832
48833 rm -f core conftest.err conftest.$ac_objext \
48834 conftest$ac_exeext conftest.$ac_ext
48835 LIBS=$ac_check_lib_save_LIBS
48836 fi
48837 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
48838 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
48839 if test $ac_cv_lib_unicows_main = yes; then
48840
48841 cat >>confdefs.h <<\_ACEOF
48842 #define wxUSE_UNICODE_MSLU 1
48843 _ACEOF
48844
48845
48846 else
48847
48848 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
48849 Applications will only run on Windows NT/2000/XP!" >&5
48850 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
48851 Applications will only run on Windows NT/2000/XP!" >&2;}
48852 wxUSE_UNICODE_MSLU=no
48853
48854 fi
48855
48856 fi
48857 fi
48858
48859 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
48860 cat >>confdefs.h <<\_ACEOF
48861 #define wxUSE_EXPERIMENTAL_PRINTF 1
48862 _ACEOF
48863
48864 fi
48865
48866
48867 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
48868 cat >>confdefs.h <<\_ACEOF
48869 #define wxUSE_POSTSCRIPT 1
48870 _ACEOF
48871
48872 fi
48873
48874 cat >>confdefs.h <<\_ACEOF
48875 #define wxUSE_AFM_FOR_POSTSCRIPT 1
48876 _ACEOF
48877
48878
48879 cat >>confdefs.h <<\_ACEOF
48880 #define wxUSE_NORMALIZED_PS_FONTS 1
48881 _ACEOF
48882
48883
48884
48885 if test "$wxUSE_CONSTRAINTS" = "yes"; then
48886 cat >>confdefs.h <<\_ACEOF
48887 #define wxUSE_CONSTRAINTS 1
48888 _ACEOF
48889
48890 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
48891 fi
48892
48893 if test "$wxUSE_MDI" = "yes"; then
48894 cat >>confdefs.h <<\_ACEOF
48895 #define wxUSE_MDI 1
48896 _ACEOF
48897
48898
48899 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
48900 cat >>confdefs.h <<\_ACEOF
48901 #define wxUSE_MDI_ARCHITECTURE 1
48902 _ACEOF
48903
48904 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
48905 fi
48906 fi
48907
48908 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
48909 cat >>confdefs.h <<\_ACEOF
48910 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
48911 _ACEOF
48912
48913 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
48914 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
48915 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
48916 fi
48917 fi
48918
48919 if test "$wxUSE_HELP" = "yes"; then
48920 cat >>confdefs.h <<\_ACEOF
48921 #define wxUSE_HELP 1
48922 _ACEOF
48923
48924 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
48925
48926 if test "$wxUSE_MSW" = 1; then
48927 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
48928 cat >>confdefs.h <<\_ACEOF
48929 #define wxUSE_MS_HTML_HELP 1
48930 _ACEOF
48931
48932 fi
48933 fi
48934
48935 if test "$wxUSE_WXHTML_HELP" = "yes"; then
48936 if test "$wxUSE_HTML" = "yes"; then
48937 cat >>confdefs.h <<\_ACEOF
48938 #define wxUSE_WXHTML_HELP 1
48939 _ACEOF
48940
48941 else
48942 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
48943 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
48944 wxUSE_WXHTML_HELP=no
48945 fi
48946 fi
48947 fi
48948
48949 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
48950 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48951 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
48952 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
48953 else
48954 cat >>confdefs.h <<\_ACEOF
48955 #define wxUSE_PRINTING_ARCHITECTURE 1
48956 _ACEOF
48957
48958 fi
48959 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
48960 fi
48961
48962
48963
48964 if test "$wxUSE_METAFILE" = "yes"; then
48965 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
48966 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
48967 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
48968 wxUSE_METAFILE=no
48969 fi
48970 fi
48971
48972
48973 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
48974 -o "$wxUSE_CLIPBOARD" = "yes" \
48975 -o "$wxUSE_OLE" = "yes" \
48976 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
48977 { echo "$as_me:$LINENO: checking for ole2.h" >&5
48978 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
48979 if test "${ac_cv_header_ole2_h+set}" = set; then
48980 echo $ECHO_N "(cached) $ECHO_C" >&6
48981 else
48982 cat >conftest.$ac_ext <<_ACEOF
48983 /* confdefs.h. */
48984 _ACEOF
48985 cat confdefs.h >>conftest.$ac_ext
48986 cat >>conftest.$ac_ext <<_ACEOF
48987 /* end confdefs.h. */
48988
48989
48990 #include <ole2.h>
48991 _ACEOF
48992 rm -f conftest.$ac_objext
48993 if { (ac_try="$ac_compile"
48994 case "(($ac_try" in
48995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48996 *) ac_try_echo=$ac_try;;
48997 esac
48998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48999 (eval "$ac_compile") 2>conftest.er1
49000 ac_status=$?
49001 grep -v '^ *+' conftest.er1 >conftest.err
49002 rm -f conftest.er1
49003 cat conftest.err >&5
49004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49005 (exit $ac_status); } &&
49006 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49007 { (case "(($ac_try" in
49008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49009 *) ac_try_echo=$ac_try;;
49010 esac
49011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49012 (eval "$ac_try") 2>&5
49013 ac_status=$?
49014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49015 (exit $ac_status); }; } &&
49016 { ac_try='test -s conftest.$ac_objext'
49017 { (case "(($ac_try" in
49018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49019 *) ac_try_echo=$ac_try;;
49020 esac
49021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49022 (eval "$ac_try") 2>&5
49023 ac_status=$?
49024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49025 (exit $ac_status); }; }; then
49026 ac_cv_header_ole2_h=yes
49027 else
49028 echo "$as_me: failed program was:" >&5
49029 sed 's/^/| /' conftest.$ac_ext >&5
49030
49031 ac_cv_header_ole2_h=no
49032 fi
49033
49034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49035 fi
49036 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
49037 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
49038
49039
49040
49041 if test "$ac_cv_header_ole2_h" = "yes" ; then
49042 if test "$GCC" = yes ; then
49043 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
49044 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
49045 cat >conftest.$ac_ext <<_ACEOF
49046 /* confdefs.h. */
49047 _ACEOF
49048 cat confdefs.h >>conftest.$ac_ext
49049 cat >>conftest.$ac_ext <<_ACEOF
49050 /* end confdefs.h. */
49051 #include <windows.h>
49052 #include <ole2.h>
49053 int
49054 main ()
49055 {
49056
49057 ;
49058 return 0;
49059 }
49060 _ACEOF
49061 rm -f conftest.$ac_objext
49062 if { (ac_try="$ac_compile"
49063 case "(($ac_try" in
49064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49065 *) ac_try_echo=$ac_try;;
49066 esac
49067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49068 (eval "$ac_compile") 2>conftest.er1
49069 ac_status=$?
49070 grep -v '^ *+' conftest.er1 >conftest.err
49071 rm -f conftest.er1
49072 cat conftest.err >&5
49073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49074 (exit $ac_status); } &&
49075 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49076 { (case "(($ac_try" in
49077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49078 *) ac_try_echo=$ac_try;;
49079 esac
49080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49081 (eval "$ac_try") 2>&5
49082 ac_status=$?
49083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49084 (exit $ac_status); }; } &&
49085 { ac_try='test -s conftest.$ac_objext'
49086 { (case "(($ac_try" in
49087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49088 *) ac_try_echo=$ac_try;;
49089 esac
49090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49091 (eval "$ac_try") 2>&5
49092 ac_status=$?
49093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49094 (exit $ac_status); }; }; then
49095 { echo "$as_me:$LINENO: result: no" >&5
49096 echo "${ECHO_T}no" >&6; }
49097 else
49098 echo "$as_me: failed program was:" >&5
49099 sed 's/^/| /' conftest.$ac_ext >&5
49100
49101 { echo "$as_me:$LINENO: result: yes" >&5
49102 echo "${ECHO_T}yes" >&6; }
49103 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
49104 fi
49105
49106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49107 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
49108 if test "$wxUSE_OLE" = "yes" ; then
49109 cat >>confdefs.h <<\_ACEOF
49110 #define wxUSE_OLE 1
49111 _ACEOF
49112
49113 cat >>confdefs.h <<\_ACEOF
49114 #define wxUSE_OLE_AUTOMATION 1
49115 _ACEOF
49116
49117 cat >>confdefs.h <<\_ACEOF
49118 #define wxUSE_ACTIVEX 1
49119 _ACEOF
49120
49121 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
49122 fi
49123 fi
49124
49125 if test "$wxUSE_DATAOBJ" = "yes" ; then
49126 cat >>confdefs.h <<\_ACEOF
49127 #define wxUSE_DATAOBJ 1
49128 _ACEOF
49129
49130 fi
49131 else
49132 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
49133 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
49134
49135 wxUSE_CLIPBOARD=no
49136 wxUSE_DRAG_AND_DROP=no
49137 wxUSE_DATAOBJ=no
49138 wxUSE_OLE=no
49139 fi
49140
49141 if test "$wxUSE_METAFILE" = "yes"; then
49142 cat >>confdefs.h <<\_ACEOF
49143 #define wxUSE_METAFILE 1
49144 _ACEOF
49145
49146
49147 cat >>confdefs.h <<\_ACEOF
49148 #define wxUSE_ENH_METAFILE 1
49149 _ACEOF
49150
49151 fi
49152 fi
49153
49154 if test "$wxUSE_IPC" = "yes"; then
49155 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
49156 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
49157 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
49158 wxUSE_IPC=no
49159 fi
49160
49161 if test "$wxUSE_IPC" = "yes"; then
49162 cat >>confdefs.h <<\_ACEOF
49163 #define wxUSE_IPC 1
49164 _ACEOF
49165
49166 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
49167 fi
49168 fi
49169
49170 if test "$wxUSE_DATAOBJ" = "yes"; then
49171 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
49172 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
49173 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
49174 wxUSE_DATAOBJ=no
49175 else
49176 cat >>confdefs.h <<\_ACEOF
49177 #define wxUSE_DATAOBJ 1
49178 _ACEOF
49179
49180 fi
49181 else
49182 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
49183 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
49184 wxUSE_CLIPBOARD=no
49185 wxUSE_DRAG_AND_DROP=no
49186 fi
49187
49188 if test "$wxUSE_CLIPBOARD" = "yes"; then
49189 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
49190 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
49191 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
49192 wxUSE_CLIPBOARD=no
49193 fi
49194
49195 if test "$wxUSE_CLIPBOARD" = "yes"; then
49196 cat >>confdefs.h <<\_ACEOF
49197 #define wxUSE_CLIPBOARD 1
49198 _ACEOF
49199
49200 fi
49201 fi
49202
49203 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
49204 if test "$wxUSE_GTK" = 1; then
49205 if test "$WXGTK12" != 1; then
49206 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
49207 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
49208 wxUSE_DRAG_AND_DROP=no
49209 fi
49210 fi
49211
49212 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
49213 "$wxUSE_DFB" = 1; then
49214 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
49215 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
49216 wxUSE_DRAG_AND_DROP=no
49217 fi
49218
49219 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
49220 cat >>confdefs.h <<\_ACEOF
49221 #define wxUSE_DRAG_AND_DROP 1
49222 _ACEOF
49223
49224 fi
49225
49226 fi
49227
49228 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
49229 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
49230 fi
49231
49232 if test "$wxUSE_SPLINES" = "yes" ; then
49233 cat >>confdefs.h <<\_ACEOF
49234 #define wxUSE_SPLINES 1
49235 _ACEOF
49236
49237 fi
49238
49239 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
49240 cat >>confdefs.h <<\_ACEOF
49241 #define wxUSE_MOUSEWHEEL 1
49242 _ACEOF
49243
49244 fi
49245
49246
49247 USES_CONTROLS=0
49248 if test "$wxUSE_CONTROLS" = "yes"; then
49249 USES_CONTROLS=1
49250 fi
49251
49252 if test "$wxUSE_ACCEL" = "yes"; then
49253 cat >>confdefs.h <<\_ACEOF
49254 #define wxUSE_ACCEL 1
49255 _ACEOF
49256
49257 USES_CONTROLS=1
49258 fi
49259
49260 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
49261 cat >>confdefs.h <<\_ACEOF
49262 #define wxUSE_ANIMATIONCTRL 1
49263 _ACEOF
49264
49265 USES_CONTROLS=1
49266 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
49267 fi
49268
49269 if test "$wxUSE_BUTTON" = "yes"; then
49270 cat >>confdefs.h <<\_ACEOF
49271 #define wxUSE_BUTTON 1
49272 _ACEOF
49273
49274 USES_CONTROLS=1
49275 fi
49276
49277 if test "$wxUSE_BMPBUTTON" = "yes"; then
49278 cat >>confdefs.h <<\_ACEOF
49279 #define wxUSE_BMPBUTTON 1
49280 _ACEOF
49281
49282 USES_CONTROLS=1
49283 fi
49284
49285 if test "$wxUSE_CALCTRL" = "yes"; then
49286 cat >>confdefs.h <<\_ACEOF
49287 #define wxUSE_CALENDARCTRL 1
49288 _ACEOF
49289
49290 USES_CONTROLS=1
49291 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
49292 fi
49293
49294 if test "$wxUSE_CARET" = "yes"; then
49295 cat >>confdefs.h <<\_ACEOF
49296 #define wxUSE_CARET 1
49297 _ACEOF
49298
49299 USES_CONTROLS=1
49300 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
49301 fi
49302
49303 if test "$wxUSE_COLLPANE" = "yes"; then
49304 cat >>confdefs.h <<\_ACEOF
49305 #define wxUSE_COLLPANE 1
49306 _ACEOF
49307
49308 USES_CONTROLS=1
49309 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
49310 fi
49311
49312 if test "$wxUSE_COMBOBOX" = "yes"; then
49313 cat >>confdefs.h <<\_ACEOF
49314 #define wxUSE_COMBOBOX 1
49315 _ACEOF
49316
49317 USES_CONTROLS=1
49318 fi
49319
49320 if test "$wxUSE_COMBOCTRL" = "yes"; then
49321 cat >>confdefs.h <<\_ACEOF
49322 #define wxUSE_COMBOCTRL 1
49323 _ACEOF
49324
49325 USES_CONTROLS=1
49326 fi
49327
49328 if test "$wxUSE_CHOICE" = "yes"; then
49329 cat >>confdefs.h <<\_ACEOF
49330 #define wxUSE_CHOICE 1
49331 _ACEOF
49332
49333 USES_CONTROLS=1
49334 fi
49335
49336 if test "$wxUSE_CHOICEBOOK" = "yes"; then
49337 cat >>confdefs.h <<\_ACEOF
49338 #define wxUSE_CHOICEBOOK 1
49339 _ACEOF
49340
49341 USES_CONTROLS=1
49342 fi
49343
49344 if test "$wxUSE_CHECKBOX" = "yes"; then
49345 cat >>confdefs.h <<\_ACEOF
49346 #define wxUSE_CHECKBOX 1
49347 _ACEOF
49348
49349 USES_CONTROLS=1
49350 fi
49351
49352 if test "$wxUSE_CHECKLST" = "yes"; then
49353 cat >>confdefs.h <<\_ACEOF
49354 #define wxUSE_CHECKLISTBOX 1
49355 _ACEOF
49356
49357 USES_CONTROLS=1
49358 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
49359 fi
49360
49361 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
49362 cat >>confdefs.h <<\_ACEOF
49363 #define wxUSE_COLOURPICKERCTRL 1
49364 _ACEOF
49365
49366 USES_CONTROLS=1
49367 fi
49368
49369 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
49370 cat >>confdefs.h <<\_ACEOF
49371 #define wxUSE_DATEPICKCTRL 1
49372 _ACEOF
49373
49374 USES_CONTROLS=1
49375 fi
49376
49377 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
49378 cat >>confdefs.h <<\_ACEOF
49379 #define wxUSE_DIRPICKERCTRL 1
49380 _ACEOF
49381
49382 USES_CONTROLS=1
49383 fi
49384
49385 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
49386 cat >>confdefs.h <<\_ACEOF
49387 #define wxUSE_FILEPICKERCTRL 1
49388 _ACEOF
49389
49390 USES_CONTROLS=1
49391 fi
49392
49393 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
49394 cat >>confdefs.h <<\_ACEOF
49395 #define wxUSE_FONTPICKERCTRL 1
49396 _ACEOF
49397
49398 USES_CONTROLS=1
49399 fi
49400
49401 if test "$wxUSE_DISPLAY" = "yes"; then
49402 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
49403 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
49404 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
49405 wxUSE_DISPLAY=no
49406 else
49407 cat >>confdefs.h <<\_ACEOF
49408 #define wxUSE_DISPLAY 1
49409 _ACEOF
49410
49411 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
49412 fi
49413 fi
49414
49415 if test "$wxUSE_DETECT_SM" = "yes"; then
49416 cat >>confdefs.h <<\_ACEOF
49417 #define wxUSE_DETECT_SM 1
49418 _ACEOF
49419
49420 fi
49421
49422 if test "$wxUSE_GAUGE" = "yes"; then
49423 cat >>confdefs.h <<\_ACEOF
49424 #define wxUSE_GAUGE 1
49425 _ACEOF
49426
49427 USES_CONTROLS=1
49428 fi
49429
49430 if test "$wxUSE_GRID" = "yes"; then
49431 cat >>confdefs.h <<\_ACEOF
49432 #define wxUSE_GRID 1
49433 _ACEOF
49434
49435 USES_CONTROLS=1
49436 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
49437 fi
49438
49439 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
49440 cat >>confdefs.h <<\_ACEOF
49441 #define wxUSE_HYPERLINKCTRL 1
49442 _ACEOF
49443
49444 USES_CONTROLS=1
49445 fi
49446
49447 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
49448 cat >>confdefs.h <<\_ACEOF
49449 #define wxUSE_BITMAPCOMBOBOX 1
49450 _ACEOF
49451
49452 USES_CONTROLS=1
49453 fi
49454
49455 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
49456 cat >>confdefs.h <<\_ACEOF
49457 #define wxUSE_DATAVIEWCTRL 1
49458 _ACEOF
49459
49460 USES_CONTROLS=1
49461 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
49462 fi
49463
49464 if test "$wxUSE_IMAGLIST" = "yes"; then
49465 cat >>confdefs.h <<\_ACEOF
49466 #define wxUSE_IMAGLIST 1
49467 _ACEOF
49468
49469 fi
49470
49471 if test "$wxUSE_LISTBOOK" = "yes"; then
49472 cat >>confdefs.h <<\_ACEOF
49473 #define wxUSE_LISTBOOK 1
49474 _ACEOF
49475
49476 USES_CONTROLS=1
49477 fi
49478
49479 if test "$wxUSE_LISTBOX" = "yes"; then
49480 cat >>confdefs.h <<\_ACEOF
49481 #define wxUSE_LISTBOX 1
49482 _ACEOF
49483
49484 USES_CONTROLS=1
49485 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
49486 fi
49487
49488 if test "$wxUSE_LISTCTRL" = "yes"; then
49489 if test "$wxUSE_IMAGLIST" = "yes"; then
49490 cat >>confdefs.h <<\_ACEOF
49491 #define wxUSE_LISTCTRL 1
49492 _ACEOF
49493
49494 USES_CONTROLS=1
49495 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
49496 else
49497 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
49498 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
49499 fi
49500 fi
49501
49502 if test "$wxUSE_NOTEBOOK" = "yes"; then
49503 cat >>confdefs.h <<\_ACEOF
49504 #define wxUSE_NOTEBOOK 1
49505 _ACEOF
49506
49507 USES_CONTROLS=1
49508 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
49509 fi
49510
49511 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
49512 cat >>confdefs.h <<\_ACEOF
49513 #define wxUSE_ODCOMBOBOX 1
49514 _ACEOF
49515
49516 USES_CONTROLS=1
49517 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
49518 fi
49519
49520
49521 if test "$wxUSE_RADIOBOX" = "yes"; then
49522 cat >>confdefs.h <<\_ACEOF
49523 #define wxUSE_RADIOBOX 1
49524 _ACEOF
49525
49526 USES_CONTROLS=1
49527 fi
49528
49529 if test "$wxUSE_RADIOBTN" = "yes"; then
49530 cat >>confdefs.h <<\_ACEOF
49531 #define wxUSE_RADIOBTN 1
49532 _ACEOF
49533
49534 USES_CONTROLS=1
49535 fi
49536
49537 if test "$wxUSE_SASH" = "yes"; then
49538 cat >>confdefs.h <<\_ACEOF
49539 #define wxUSE_SASH 1
49540 _ACEOF
49541
49542 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
49543 fi
49544
49545 if test "$wxUSE_SCROLLBAR" = "yes"; then
49546 cat >>confdefs.h <<\_ACEOF
49547 #define wxUSE_SCROLLBAR 1
49548 _ACEOF
49549
49550 USES_CONTROLS=1
49551 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
49552 fi
49553
49554 if test "$wxUSE_SEARCHCTRL" = "yes"; then
49555 cat >>confdefs.h <<\_ACEOF
49556 #define wxUSE_SEARCHCTRL 1
49557 _ACEOF
49558
49559 USES_CONTROLS=1
49560 fi
49561
49562 if test "$wxUSE_SLIDER" = "yes"; then
49563 cat >>confdefs.h <<\_ACEOF
49564 #define wxUSE_SLIDER 1
49565 _ACEOF
49566
49567 USES_CONTROLS=1
49568 fi
49569
49570 if test "$wxUSE_SPINBTN" = "yes"; then
49571 cat >>confdefs.h <<\_ACEOF
49572 #define wxUSE_SPINBTN 1
49573 _ACEOF
49574
49575 USES_CONTROLS=1
49576 fi
49577
49578 if test "$wxUSE_SPINCTRL" = "yes"; then
49579 cat >>confdefs.h <<\_ACEOF
49580 #define wxUSE_SPINCTRL 1
49581 _ACEOF
49582
49583 USES_CONTROLS=1
49584 fi
49585
49586 if test "$wxUSE_SPLITTER" = "yes"; then
49587 cat >>confdefs.h <<\_ACEOF
49588 #define wxUSE_SPLITTER 1
49589 _ACEOF
49590
49591 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
49592 fi
49593
49594 if test "$wxUSE_STATBMP" = "yes"; then
49595 cat >>confdefs.h <<\_ACEOF
49596 #define wxUSE_STATBMP 1
49597 _ACEOF
49598
49599 USES_CONTROLS=1
49600 fi
49601
49602 if test "$wxUSE_STATBOX" = "yes"; then
49603 cat >>confdefs.h <<\_ACEOF
49604 #define wxUSE_STATBOX 1
49605 _ACEOF
49606
49607 USES_CONTROLS=1
49608 fi
49609
49610 if test "$wxUSE_STATTEXT" = "yes"; then
49611 cat >>confdefs.h <<\_ACEOF
49612 #define wxUSE_STATTEXT 1
49613 _ACEOF
49614
49615 USES_CONTROLS=1
49616 fi
49617
49618 if test "$wxUSE_STATLINE" = "yes"; then
49619 cat >>confdefs.h <<\_ACEOF
49620 #define wxUSE_STATLINE 1
49621 _ACEOF
49622
49623 USES_CONTROLS=1
49624 fi
49625
49626 if test "$wxUSE_STATUSBAR" = "yes"; then
49627 cat >>confdefs.h <<\_ACEOF
49628 #define wxUSE_NATIVE_STATUSBAR 1
49629 _ACEOF
49630
49631 cat >>confdefs.h <<\_ACEOF
49632 #define wxUSE_STATUSBAR 1
49633 _ACEOF
49634
49635 USES_CONTROLS=1
49636
49637 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
49638 fi
49639
49640 if test "$wxUSE_TAB_DIALOG" = "yes"; then
49641 cat >>confdefs.h <<\_ACEOF
49642 #define wxUSE_TAB_DIALOG 1
49643 _ACEOF
49644
49645 fi
49646
49647 if test "$wxUSE_TEXTCTRL" = "yes"; then
49648 cat >>confdefs.h <<\_ACEOF
49649 #define wxUSE_TEXTCTRL 1
49650 _ACEOF
49651
49652 USES_CONTROLS=1
49653 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
49654 fi
49655
49656 if test "$wxUSE_TOGGLEBTN" = "yes"; then
49657 if test "$wxUSE_COCOA" = 1 ; then
49658 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
49659 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
49660 wxUSE_TOGGLEBTN=no
49661 fi
49662
49663 if test "$wxUSE_TOGGLEBTN" = "yes"; then
49664 cat >>confdefs.h <<\_ACEOF
49665 #define wxUSE_TOGGLEBTN 1
49666 _ACEOF
49667
49668 USES_CONTROLS=1
49669 fi
49670 fi
49671
49672 if test "$wxUSE_TOOLBAR" = "yes"; then
49673 cat >>confdefs.h <<\_ACEOF
49674 #define wxUSE_TOOLBAR 1
49675 _ACEOF
49676
49677 USES_CONTROLS=1
49678
49679 if test "$wxUSE_UNIVERSAL" = "yes"; then
49680 wxUSE_TOOLBAR_NATIVE="no"
49681 else
49682 wxUSE_TOOLBAR_NATIVE="yes"
49683 cat >>confdefs.h <<\_ACEOF
49684 #define wxUSE_TOOLBAR_NATIVE 1
49685 _ACEOF
49686
49687 fi
49688
49689 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
49690 fi
49691
49692 if test "$wxUSE_TOOLTIPS" = "yes"; then
49693 if test "$wxUSE_MOTIF" = 1; then
49694 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
49695 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
49696 else
49697 if test "$wxUSE_UNIVERSAL" = "yes"; then
49698 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
49699 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
49700 else
49701 cat >>confdefs.h <<\_ACEOF
49702 #define wxUSE_TOOLTIPS 1
49703 _ACEOF
49704
49705 fi
49706 fi
49707 fi
49708
49709 if test "$wxUSE_TREEBOOK" = "yes"; then
49710 cat >>confdefs.h <<\_ACEOF
49711 #define wxUSE_TREEBOOK 1
49712 _ACEOF
49713
49714 USES_CONTROLS=1
49715 fi
49716
49717 if test "$wxUSE_TOOLBOOK" = "yes"; then
49718 cat >>confdefs.h <<\_ACEOF
49719 #define wxUSE_TOOLBOOK 1
49720 _ACEOF
49721
49722 USES_CONTROLS=1
49723 fi
49724
49725 if test "$wxUSE_TREECTRL" = "yes"; then
49726 if test "$wxUSE_IMAGLIST" = "yes"; then
49727 cat >>confdefs.h <<\_ACEOF
49728 #define wxUSE_TREECTRL 1
49729 _ACEOF
49730
49731 USES_CONTROLS=1
49732 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
49733 else
49734 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
49735 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
49736 fi
49737 fi
49738
49739 if test "$wxUSE_POPUPWIN" = "yes"; then
49740 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
49741 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
49742 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
49743 else
49744 if test "$wxUSE_PM" = 1; then
49745 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
49746 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
49747 else
49748 cat >>confdefs.h <<\_ACEOF
49749 #define wxUSE_POPUPWIN 1
49750 _ACEOF
49751
49752 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
49753
49754 USES_CONTROLS=1
49755 fi
49756 fi
49757 fi
49758
49759 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
49760 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
49761 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
49762 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
49763 else
49764 cat >>confdefs.h <<\_ACEOF
49765 #define wxUSE_DIALUP_MANAGER 1
49766 _ACEOF
49767
49768 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
49769 fi
49770 fi
49771
49772 if test "$wxUSE_TIPWINDOW" = "yes"; then
49773 if test "$wxUSE_PM" = 1; then
49774 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
49775 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
49776 else
49777 cat >>confdefs.h <<\_ACEOF
49778 #define wxUSE_TIPWINDOW 1
49779 _ACEOF
49780
49781 fi
49782 fi
49783
49784 if test "$USES_CONTROLS" = 1; then
49785 cat >>confdefs.h <<\_ACEOF
49786 #define wxUSE_CONTROLS 1
49787 _ACEOF
49788
49789 fi
49790
49791
49792 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
49793 cat >>confdefs.h <<\_ACEOF
49794 #define wxUSE_ACCESSIBILITY 1
49795 _ACEOF
49796
49797 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
49798 fi
49799
49800 if test "$wxUSE_DC_CACHEING" = "yes"; then
49801 cat >>confdefs.h <<\_ACEOF
49802 #define wxUSE_DC_CACHEING 1
49803 _ACEOF
49804
49805 fi
49806
49807 if test "$wxUSE_DRAGIMAGE" = "yes"; then
49808 cat >>confdefs.h <<\_ACEOF
49809 #define wxUSE_DRAGIMAGE 1
49810 _ACEOF
49811
49812 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
49813 fi
49814
49815 if test "$wxUSE_EXCEPTIONS" = "yes"; then
49816 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
49817 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
49818 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
49819 else
49820 cat >>confdefs.h <<\_ACEOF
49821 #define wxUSE_EXCEPTIONS 1
49822 _ACEOF
49823
49824 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
49825 fi
49826 fi
49827
49828 USE_HTML=0
49829 if test "$wxUSE_HTML" = "yes"; then
49830 cat >>confdefs.h <<\_ACEOF
49831 #define wxUSE_HTML 1
49832 _ACEOF
49833
49834 USE_HTML=1
49835 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
49836 if test "$wxUSE_MAC" = 1; then
49837 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
49838 fi
49839 fi
49840 if test "$wxUSE_WEBKIT" = "yes"; then
49841 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
49842 old_CPPFLAGS="$CPPFLAGS"
49843 CPPFLAGS="-x objective-c++ $CPPFLAGS"
49844 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
49845 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
49846 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
49847 echo $ECHO_N "(cached) $ECHO_C" >&6
49848 else
49849 cat >conftest.$ac_ext <<_ACEOF
49850 /* confdefs.h. */
49851 _ACEOF
49852 cat confdefs.h >>conftest.$ac_ext
49853 cat >>conftest.$ac_ext <<_ACEOF
49854 /* end confdefs.h. */
49855
49856 #include <Carbon/Carbon.h>
49857 #include <WebKit/WebKit.h>
49858
49859
49860 #include <WebKit/HIWebView.h>
49861 _ACEOF
49862 rm -f conftest.$ac_objext
49863 if { (ac_try="$ac_compile"
49864 case "(($ac_try" in
49865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49866 *) ac_try_echo=$ac_try;;
49867 esac
49868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49869 (eval "$ac_compile") 2>conftest.er1
49870 ac_status=$?
49871 grep -v '^ *+' conftest.er1 >conftest.err
49872 rm -f conftest.er1
49873 cat conftest.err >&5
49874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49875 (exit $ac_status); } &&
49876 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49877 { (case "(($ac_try" in
49878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49879 *) ac_try_echo=$ac_try;;
49880 esac
49881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49882 (eval "$ac_try") 2>&5
49883 ac_status=$?
49884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49885 (exit $ac_status); }; } &&
49886 { ac_try='test -s conftest.$ac_objext'
49887 { (case "(($ac_try" in
49888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49889 *) ac_try_echo=$ac_try;;
49890 esac
49891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49892 (eval "$ac_try") 2>&5
49893 ac_status=$?
49894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49895 (exit $ac_status); }; }; then
49896 ac_cv_header_WebKit_HIWebView_h=yes
49897 else
49898 echo "$as_me: failed program was:" >&5
49899 sed 's/^/| /' conftest.$ac_ext >&5
49900
49901 ac_cv_header_WebKit_HIWebView_h=no
49902 fi
49903
49904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49905 fi
49906 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
49907 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
49908 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
49909
49910 cat >>confdefs.h <<\_ACEOF
49911 #define wxUSE_WEBKIT 1
49912 _ACEOF
49913
49914 WEBKIT_LINK="-framework WebKit"
49915
49916 else
49917
49918 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
49919 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
49920 wxUSE_WEBKIT=no
49921
49922 fi
49923
49924
49925 CPPFLAGS="$old_CPPFLAGS"
49926 elif test "$wxUSE_COCOA" = 1; then
49927 cat >>confdefs.h <<\_ACEOF
49928 #define wxUSE_WEBKIT 1
49929 _ACEOF
49930
49931 else
49932 wxUSE_WEBKIT=no
49933 fi
49934 fi
49935
49936 USE_XRC=0
49937 if test "$wxUSE_XRC" = "yes"; then
49938 if test "$wxUSE_XML" != "yes"; then
49939 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
49940 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
49941 wxUSE_XRC=no
49942 else
49943 cat >>confdefs.h <<\_ACEOF
49944 #define wxUSE_XRC 1
49945 _ACEOF
49946
49947 USE_XRC=1
49948 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
49949 fi
49950 fi
49951
49952 USE_AUI=0
49953 if test "$wxUSE_AUI" = "yes"; then
49954 cat >>confdefs.h <<\_ACEOF
49955 #define wxUSE_AUI 1
49956 _ACEOF
49957
49958 USE_AUI=1
49959 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
49960 fi
49961
49962 USE_STC=0
49963 if test "$wxUSE_STC" = "yes"; then
49964 cat >>confdefs.h <<\_ACEOF
49965 #define wxUSE_STC 1
49966 _ACEOF
49967
49968 USE_STC=1
49969 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
49970 fi
49971
49972 if test "$wxUSE_MENUS" = "yes"; then
49973 cat >>confdefs.h <<\_ACEOF
49974 #define wxUSE_MENUS 1
49975 _ACEOF
49976
49977 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
49978 fi
49979
49980 if test "$wxUSE_METAFILE" = "yes"; then
49981 cat >>confdefs.h <<\_ACEOF
49982 #define wxUSE_METAFILE 1
49983 _ACEOF
49984
49985 fi
49986
49987 if test "$wxUSE_MIMETYPE" = "yes"; then
49988 cat >>confdefs.h <<\_ACEOF
49989 #define wxUSE_MIMETYPE 1
49990 _ACEOF
49991
49992 fi
49993
49994 if test "$wxUSE_MINIFRAME" = "yes"; then
49995 cat >>confdefs.h <<\_ACEOF
49996 #define wxUSE_MINIFRAME 1
49997 _ACEOF
49998
49999 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
50000 fi
50001
50002 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
50003 cat >>confdefs.h <<\_ACEOF
50004 #define wxUSE_SYSTEM_OPTIONS 1
50005 _ACEOF
50006
50007 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
50008 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
50009 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
50010 fi
50011 fi
50012
50013
50014 if test "$wxUSE_VALIDATORS" = "yes"; then
50015 cat >>confdefs.h <<\_ACEOF
50016 #define wxUSE_VALIDATORS 1
50017 _ACEOF
50018
50019 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
50020 fi
50021
50022 if test "$wxUSE_PALETTE" = "yes" ; then
50023 if test "$wxUSE_DFB" = 1; then
50024 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
50025 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
50026 wxUSE_PALETTE=no
50027 else
50028 cat >>confdefs.h <<\_ACEOF
50029 #define wxUSE_PALETTE 1
50030 _ACEOF
50031
50032 fi
50033 fi
50034
50035 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
50036 LIBS=" -lunicows $LIBS"
50037 fi
50038
50039 USE_RICHTEXT=0
50040 if test "$wxUSE_RICHTEXT" = "yes"; then
50041 cat >>confdefs.h <<\_ACEOF
50042 #define wxUSE_RICHTEXT 1
50043 _ACEOF
50044
50045 USE_RICHTEXT=1
50046 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
50047 fi
50048
50049
50050 if test "$wxUSE_IMAGE" = "yes" ; then
50051 cat >>confdefs.h <<\_ACEOF
50052 #define wxUSE_IMAGE 1
50053 _ACEOF
50054
50055
50056 if test "$wxUSE_GIF" = "yes" ; then
50057 cat >>confdefs.h <<\_ACEOF
50058 #define wxUSE_GIF 1
50059 _ACEOF
50060
50061 fi
50062
50063 if test "$wxUSE_PCX" = "yes" ; then
50064 cat >>confdefs.h <<\_ACEOF
50065 #define wxUSE_PCX 1
50066 _ACEOF
50067
50068 fi
50069
50070 if test "$wxUSE_TGA" = "yes" ; then
50071 cat >>confdefs.h <<\_ACEOF
50072 #define wxUSE_TGA 1
50073 _ACEOF
50074
50075 fi
50076
50077 if test "$wxUSE_IFF" = "yes" ; then
50078 cat >>confdefs.h <<\_ACEOF
50079 #define wxUSE_IFF 1
50080 _ACEOF
50081
50082 fi
50083
50084 if test "$wxUSE_PNM" = "yes" ; then
50085 cat >>confdefs.h <<\_ACEOF
50086 #define wxUSE_PNM 1
50087 _ACEOF
50088
50089 fi
50090
50091 if test "$wxUSE_XPM" = "yes" ; then
50092 cat >>confdefs.h <<\_ACEOF
50093 #define wxUSE_XPM 1
50094 _ACEOF
50095
50096 fi
50097
50098 if test "$wxUSE_ICO_CUR" = "yes" ; then
50099 cat >>confdefs.h <<\_ACEOF
50100 #define wxUSE_ICO_CUR 1
50101 _ACEOF
50102
50103 fi
50104 fi
50105
50106
50107 if test "$wxUSE_ABOUTDLG" = "yes"; then
50108 cat >>confdefs.h <<\_ACEOF
50109 #define wxUSE_ABOUTDLG 1
50110 _ACEOF
50111
50112 fi
50113
50114 if test "$wxUSE_CHOICEDLG" = "yes"; then
50115 cat >>confdefs.h <<\_ACEOF
50116 #define wxUSE_CHOICEDLG 1
50117 _ACEOF
50118
50119 fi
50120
50121 if test "$wxUSE_COLOURDLG" = "yes"; then
50122 cat >>confdefs.h <<\_ACEOF
50123 #define wxUSE_COLOURDLG 1
50124 _ACEOF
50125
50126 fi
50127
50128 if test "$wxUSE_FILEDLG" = "yes"; then
50129 cat >>confdefs.h <<\_ACEOF
50130 #define wxUSE_FILEDLG 1
50131 _ACEOF
50132
50133 fi
50134
50135 if test "$wxUSE_FINDREPLDLG" = "yes"; then
50136 cat >>confdefs.h <<\_ACEOF
50137 #define wxUSE_FINDREPLDLG 1
50138 _ACEOF
50139
50140 fi
50141
50142 if test "$wxUSE_FONTDLG" = "yes"; then
50143 cat >>confdefs.h <<\_ACEOF
50144 #define wxUSE_FONTDLG 1
50145 _ACEOF
50146
50147 fi
50148
50149 if test "$wxUSE_DIRDLG" = "yes"; then
50150 if test "$wxUSE_TREECTRL" != "yes"; then
50151 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
50152 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
50153 else
50154 cat >>confdefs.h <<\_ACEOF
50155 #define wxUSE_DIRDLG 1
50156 _ACEOF
50157
50158 fi
50159 fi
50160
50161 if test "$wxUSE_MSGDLG" = "yes"; then
50162 cat >>confdefs.h <<\_ACEOF
50163 #define wxUSE_MSGDLG 1
50164 _ACEOF
50165
50166 fi
50167
50168 if test "$wxUSE_NUMBERDLG" = "yes"; then
50169 cat >>confdefs.h <<\_ACEOF
50170 #define wxUSE_NUMBERDLG 1
50171 _ACEOF
50172
50173 fi
50174
50175 if test "$wxUSE_PROGRESSDLG" = "yes"; then
50176 if test "$wxUSE_CONSTRAINTS" != "yes"; then
50177 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
50178 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
50179 else
50180 cat >>confdefs.h <<\_ACEOF
50181 #define wxUSE_PROGRESSDLG 1
50182 _ACEOF
50183
50184 fi
50185 fi
50186
50187 if test "$wxUSE_SPLASH" = "yes"; then
50188 cat >>confdefs.h <<\_ACEOF
50189 #define wxUSE_SPLASH 1
50190 _ACEOF
50191
50192 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
50193 fi
50194
50195 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
50196 if test "$wxUSE_CONSTRAINTS" != "yes"; then
50197 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
50198 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
50199 else
50200 cat >>confdefs.h <<\_ACEOF
50201 #define wxUSE_STARTUP_TIPS 1
50202 _ACEOF
50203
50204 fi
50205 fi
50206
50207 if test "$wxUSE_TEXTDLG" = "yes"; then
50208 cat >>confdefs.h <<\_ACEOF
50209 #define wxUSE_TEXTDLG 1
50210 _ACEOF
50211
50212 fi
50213
50214 if test "$wxUSE_WIZARDDLG" = "yes"; then
50215 cat >>confdefs.h <<\_ACEOF
50216 #define wxUSE_WIZARDDLG 1
50217 _ACEOF
50218
50219 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
50220 fi
50221
50222
50223 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
50224 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
50225 cat >>confdefs.h <<\_ACEOF
50226 #define wxUSE_GRAPHICS_CONTEXT 1
50227 _ACEOF
50228
50229 elif test "$wxUSE_GTK" != 1; then
50230 cat >>confdefs.h <<\_ACEOF
50231 #define wxUSE_GRAPHICS_CONTEXT 1
50232 _ACEOF
50233
50234 else
50235
50236 pkg_failed=no
50237 { echo "$as_me:$LINENO: checking for CAIRO" >&5
50238 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
50239
50240 if test -n "$PKG_CONFIG"; then
50241 if test -n "$CAIRO_CFLAGS"; then
50242 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
50243 else
50244 if test -n "$PKG_CONFIG" && \
50245 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
50246 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
50247 ac_status=$?
50248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50249 (exit $ac_status); }; then
50250 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
50251 else
50252 pkg_failed=yes
50253 fi
50254 fi
50255 else
50256 pkg_failed=untried
50257 fi
50258 if test -n "$PKG_CONFIG"; then
50259 if test -n "$CAIRO_LIBS"; then
50260 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
50261 else
50262 if test -n "$PKG_CONFIG" && \
50263 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
50264 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
50265 ac_status=$?
50266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50267 (exit $ac_status); }; then
50268 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
50269 else
50270 pkg_failed=yes
50271 fi
50272 fi
50273 else
50274 pkg_failed=untried
50275 fi
50276
50277
50278
50279 if test $pkg_failed = yes; then
50280
50281 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
50282 _pkg_short_errors_supported=yes
50283 else
50284 _pkg_short_errors_supported=no
50285 fi
50286 if test $_pkg_short_errors_supported = yes; then
50287 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
50288 else
50289 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
50290 fi
50291 # Put the nasty error message in config.log where it belongs
50292 echo "$CAIRO_PKG_ERRORS" >&5
50293
50294 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
50295 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
50296
50297 elif test $pkg_failed = untried; then
50298 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
50299 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
50300
50301 else
50302 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
50303 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
50304 { echo "$as_me:$LINENO: result: yes" >&5
50305 echo "${ECHO_T}yes" >&6; }
50306 cat >>confdefs.h <<\_ACEOF
50307 #define wxUSE_GRAPHICS_CONTEXT 1
50308 _ACEOF
50309
50310 fi
50311 fi
50312 fi
50313
50314
50315 USE_MEDIA=0
50316
50317 if test "$wxUSE_MEDIACTRL" = "yes"; then
50318 USE_MEDIA=1
50319
50320 if test "$wxUSE_GTK" = 1; then
50321 wxUSE_GSTREAMER="no"
50322
50323 GST_VERSION_MAJOR=0
50324 GST_VERSION_MINOR=10
50325 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
50326
50327 if test "$wxUSE_GSTREAMER8" = "no"; then
50328
50329 pkg_failed=no
50330 { echo "$as_me:$LINENO: checking for GST" >&5
50331 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
50332
50333 if test -n "$PKG_CONFIG"; then
50334 if test -n "$GST_CFLAGS"; then
50335 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
50336 else
50337 if test -n "$PKG_CONFIG" && \
50338 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
50339 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
50340 ac_status=$?
50341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50342 (exit $ac_status); }; then
50343 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
50344 else
50345 pkg_failed=yes
50346 fi
50347 fi
50348 else
50349 pkg_failed=untried
50350 fi
50351 if test -n "$PKG_CONFIG"; then
50352 if test -n "$GST_LIBS"; then
50353 pkg_cv_GST_LIBS="$GST_LIBS"
50354 else
50355 if test -n "$PKG_CONFIG" && \
50356 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
50357 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
50358 ac_status=$?
50359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50360 (exit $ac_status); }; then
50361 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
50362 else
50363 pkg_failed=yes
50364 fi
50365 fi
50366 else
50367 pkg_failed=untried
50368 fi
50369
50370
50371
50372 if test $pkg_failed = yes; then
50373
50374 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
50375 _pkg_short_errors_supported=yes
50376 else
50377 _pkg_short_errors_supported=no
50378 fi
50379 if test $_pkg_short_errors_supported = yes; then
50380 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
50381 else
50382 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
50383 fi
50384 # Put the nasty error message in config.log where it belongs
50385 echo "$GST_PKG_ERRORS" >&5
50386
50387
50388 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
50389 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
50390 GST_VERSION_MINOR=8
50391
50392
50393 elif test $pkg_failed = untried; then
50394
50395 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
50396 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
50397 GST_VERSION_MINOR=8
50398
50399
50400 else
50401 GST_CFLAGS=$pkg_cv_GST_CFLAGS
50402 GST_LIBS=$pkg_cv_GST_LIBS
50403 { echo "$as_me:$LINENO: result: yes" >&5
50404 echo "${ECHO_T}yes" >&6; }
50405
50406 wxUSE_GSTREAMER="yes"
50407 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
50408
50409 fi
50410 else
50411 GST_VERSION_MINOR=8
50412 fi
50413
50414 if test $GST_VERSION_MINOR = "8"; then
50415 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
50416
50417 pkg_failed=no
50418 { echo "$as_me:$LINENO: checking for GST" >&5
50419 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
50420
50421 if test -n "$PKG_CONFIG"; then
50422 if test -n "$GST_CFLAGS"; then
50423 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
50424 else
50425 if test -n "$PKG_CONFIG" && \
50426 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
50427 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
50428 ac_status=$?
50429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50430 (exit $ac_status); }; then
50431 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
50432 else
50433 pkg_failed=yes
50434 fi
50435 fi
50436 else
50437 pkg_failed=untried
50438 fi
50439 if test -n "$PKG_CONFIG"; then
50440 if test -n "$GST_LIBS"; then
50441 pkg_cv_GST_LIBS="$GST_LIBS"
50442 else
50443 if test -n "$PKG_CONFIG" && \
50444 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
50445 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
50446 ac_status=$?
50447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50448 (exit $ac_status); }; then
50449 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
50450 else
50451 pkg_failed=yes
50452 fi
50453 fi
50454 else
50455 pkg_failed=untried
50456 fi
50457
50458
50459
50460 if test $pkg_failed = yes; then
50461
50462 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
50463 _pkg_short_errors_supported=yes
50464 else
50465 _pkg_short_errors_supported=no
50466 fi
50467 if test $_pkg_short_errors_supported = yes; then
50468 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
50469 else
50470 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
50471 fi
50472 # Put the nasty error message in config.log where it belongs
50473 echo "$GST_PKG_ERRORS" >&5
50474
50475
50476 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
50477 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
50478
50479 elif test $pkg_failed = untried; then
50480
50481 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
50482 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
50483
50484 else
50485 GST_CFLAGS=$pkg_cv_GST_CFLAGS
50486 GST_LIBS=$pkg_cv_GST_LIBS
50487 { echo "$as_me:$LINENO: result: yes" >&5
50488 echo "${ECHO_T}yes" >&6; }
50489 wxUSE_GSTREAMER="yes"
50490 fi
50491 fi
50492
50493
50494 if test "$wxUSE_GSTREAMER" = "yes"; then
50495 case "${host}" in
50496 *-*-solaris2* )
50497 if "$GCC" = yes; then
50498 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
50499 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
50500 fi
50501 esac
50502
50503 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
50504 LIBS="$GST_LIBS $LIBS"
50505
50506 cat >>confdefs.h <<\_ACEOF
50507 #define wxUSE_GSTREAMER 1
50508 _ACEOF
50509
50510 else
50511 USE_MEDIA=0
50512 fi
50513 fi
50514
50515 if test $USE_MEDIA = 1; then
50516 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
50517 cat >>confdefs.h <<\_ACEOF
50518 #define wxUSE_MEDIACTRL 1
50519 _ACEOF
50520
50521 fi
50522 fi
50523
50524
50525 if test "$cross_compiling" = "yes"; then
50526 OSINFO="\"$host\""
50527 else
50528 OSINFO=`uname -s -r -m`
50529 OSINFO="\"$OSINFO\""
50530 fi
50531
50532 cat >>confdefs.h <<_ACEOF
50533 #define WXWIN_OS_DESCRIPTION $OSINFO
50534 _ACEOF
50535
50536
50537
50538 if test "x$prefix" != "xNONE"; then
50539 wxPREFIX=$prefix
50540 else
50541 wxPREFIX=$ac_default_prefix
50542 fi
50543
50544 cat >>confdefs.h <<_ACEOF
50545 #define wxINSTALL_PREFIX "$wxPREFIX"
50546 _ACEOF
50547
50548
50549
50550
50551 CORE_BASE_LIBS="net base"
50552 CORE_GUI_LIBS="adv core"
50553
50554 if test "$wxUSE_XML" = "yes" ; then
50555 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
50556 fi
50557 if test "$wxUSE_ODBC" != "no" ; then
50558 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
50559 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
50560 fi
50561 if test "$wxUSE_HTML" = "yes" ; then
50562 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
50563 fi
50564 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
50565 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
50566 fi
50567 if test "$wxUSE_XRC" = "yes" ; then
50568 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
50569 fi
50570 if test "$wxUSE_AUI" = "yes" ; then
50571 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
50572 fi
50573 if test "$wxUSE_STC" = "yes" ; then
50574 CORE_GUI_LIBS="stc $CORE_GUI_LIBS"
50575 fi
50576
50577 if test "$wxUSE_GUI" != "yes"; then
50578 CORE_GUI_LIBS=""
50579 fi
50580
50581
50582
50583
50584
50585
50586 if test "$wxUSE_MAC" = 1 ; then
50587 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
50588 if test "$USE_DARWIN" = 1; then
50589 LDFLAGS="$LDFLAGS -framework QuickTime"
50590 else
50591 LDFLAGS="$LDFLAGS -lQuickTimeLib"
50592 fi
50593 fi
50594 if test "$USE_DARWIN" = 1; then
50595 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
50596 else
50597 LDFLAGS="$LDFLAGS -lCarbonLib"
50598 fi
50599 fi
50600 if test "$wxUSE_COCOA" = 1 ; then
50601 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
50602 if test "$wxUSE_MEDIACTRL" = "yes"; then
50603 LDFLAGS="$LDFLAGS -framework QuickTime"
50604 fi
50605 fi
50606 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
50607 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
50608 fi
50609
50610 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
50611
50612 if test "$wxUSE_GUI" = "yes"; then
50613
50614
50615 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
50616 dynamic erase event exec font image minimal mobile \
50617 mobile/wxedit mobile/styles propsize render \
50618 rotate shaped svg taborder vscroll widgets"
50619
50620 if test "$wxUSE_MONOLITHIC" != "yes"; then
50621 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
50622 fi
50623 if test "$TOOLKIT" = "MSW"; then
50624 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
50625 if test "$wxUSE_UNIVERSAL" != "yes"; then
50626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
50627 fi
50628 fi
50629 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
50630 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
50631 fi
50632 else
50633 SAMPLES_SUBDIRS="console"
50634 fi
50635
50636
50637 if test "x$INTELCC" = "xyes" ; then
50638 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
50639 elif test "$GCC" = yes ; then
50640 CWARNINGS="-Wall -Wundef"
50641 fi
50642
50643 if test "x$INTELCXX" = "xyes" ; then
50644 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
50645 elif test "$GXX" = yes ; then
50646 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
50647 fi
50648
50649
50650 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
50651 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
50652
50653
50654 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
50655 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
50656 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
50657 $CPPFLAGS `
50658
50659 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
50660 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
50661 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
50662
50663 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
50664
50665
50666 if test "x$MWCC" = "xyes"; then
50667
50668 CC="$CC -cwd source -I-"
50669 CXX="$CXX -cwd source -I-"
50670 fi
50671
50672
50673 LIBS=`echo $LIBS`
50674 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
50675 EXTRALIBS_XML="$EXPAT_LINK"
50676 EXTRALIBS_HTML="$MSPACK_LINK"
50677 EXTRALIBS_ODBC="$ODBC_LINK"
50678 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
50679 if test "$wxUSE_GUI" = "yes"; then
50680 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
50681 fi
50682 if test "$wxUSE_OPENGL" = "yes"; then
50683 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
50684 fi
50685
50686 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
50687
50688 WXCONFIG_LIBS="$LIBS"
50689
50690 if test "$wxUSE_REGEX" = "builtin" ; then
50691 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
50692 fi
50693 if test "$wxUSE_EXPAT" = "builtin" ; then
50694 wxconfig_3rdparty="expat $wxconfig_3rdparty"
50695 fi
50696 if test "$wxUSE_ODBC" = "builtin" ; then
50697 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
50698 fi
50699 if test "$wxUSE_LIBTIFF" = "builtin" ; then
50700 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
50701 fi
50702 if test "$wxUSE_LIBJPEG" = "builtin" ; then
50703 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
50704 fi
50705 if test "$wxUSE_LIBPNG" = "builtin" ; then
50706 wxconfig_3rdparty="png $wxconfig_3rdparty"
50707 fi
50708 if test "$wxUSE_ZLIB" = "builtin" ; then
50709 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
50710 fi
50711
50712 for i in $wxconfig_3rdparty ; do
50713 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
50714 done
50715
50716
50717 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
50718 WXUNIV=1
50719
50720 case "$wxUNIV_THEMES" in
50721 ''|all)
50722 cat >>confdefs.h <<\_ACEOF
50723 #define wxUSE_ALL_THEMES 1
50724 _ACEOF
50725
50726 ;;
50727
50728 *)
50729 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
50730 cat >>confdefs.h <<_ACEOF
50731 #define wxUSE_THEME_$t 1
50732 _ACEOF
50733
50734 done
50735 esac
50736 else
50737 WXUNIV=0
50738 fi
50739
50740
50741
50742
50743
50744
50745
50746
50747
50748 if test $wxUSE_MONOLITHIC = "yes" ; then
50749 MONOLITHIC=1
50750 else
50751 MONOLITHIC=0
50752 fi
50753
50754 if test $wxUSE_PLUGINS = "yes" ; then
50755 USE_PLUGINS=1
50756 else
50757 USE_PLUGINS=0
50758 fi
50759
50760 if test $wxUSE_ODBC != "no" ; then
50761 USE_ODBC=1
50762 else
50763 USE_ODBC=0
50764 fi
50765
50766 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
50767 USE_QA=1
50768 else
50769 USE_QA=0
50770 fi
50771
50772 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
50773 OFFICIAL_BUILD=1
50774 else
50775 OFFICIAL_BUILD=0
50776 fi
50777
50778
50779
50780
50781
50782
50783
50784
50785
50786
50787
50788
50789
50790
50791
50792
50793
50794
50795
50796
50797
50798
50799
50800
50801
50802 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
50803
50804
50805
50806
50807
50808
50809
50810
50811 case "$TOOLKIT" in
50812 GTK)
50813 TOOLKIT_DESC="GTK+"
50814 if test "$WXGTK20" = 1; then
50815 TOOLKIT_DESC="$TOOLKIT_DESC 2"
50816 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
50817 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
50818 fi
50819 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
50820 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
50821 fi
50822 if test "$wxUSE_LIBHILDON" = "yes"; then
50823 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
50824 fi
50825
50826 if test "$TOOLKIT_EXTRA" != ""; then
50827 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
50828 fi
50829 fi
50830 ;;
50831
50832 ?*)
50833 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
50834 ;;
50835
50836 *)
50837 TOOLKIT_DESC="base only"
50838 ;;
50839 esac
50840
50841 if test "$wxUSE_WINE" = "yes"; then
50842 BAKEFILE_FORCE_PLATFORM=win32
50843 fi
50844
50845 if test "$wxUSE_MAC" = 1 ; then
50846 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
50847 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
50848 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
50849 else
50850 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
50851 fi
50852 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
50853 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
50854 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
50855 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
50856 bk_use_pch=no
50857 fi
50858 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
50859 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
50860 fi
50861
50862 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
50863 then
50864 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
50865 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
50866 if test "${wx_cv_gcc_pch_bug+set}" = set; then
50867 echo $ECHO_N "(cached) $ECHO_C" >&6
50868 else
50869
50870 echo '#include <stdio.h>
50871 const wchar_t test_var[] = L"awidetest";' > conftest.h
50872
50873 echo '#include "conftest.h"
50874 int main()
50875 {
50876 printf("%ls", test_var);
50877 return 0;
50878 }' > conftest.cpp
50879
50880 wx_cv_gcc_pch_bug="pch not supported"
50881
50882 if $CXX conftest.h >/dev/null 2>&1
50883 then
50884 wx_cv_gcc_pch_bug=
50885
50886 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
50887 then
50888 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
50889 grep awidetest >/dev/null
50890 then
50891 wx_cv_gcc_pch_bug=no
50892 else
50893 wx_cv_gcc_pch_bug=yes
50894 fi
50895 fi
50896 fi
50897
50898 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
50899
50900 fi
50901 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
50902 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
50903
50904 if test "$wx_cv_gcc_pch_bug" = yes; then
50905 bk_use_pch=no
50906 fi
50907 fi
50908
50909
50910
50911
50912 if test "x$BAKEFILE_HOST" = "x"; then
50913 if test "x${host}" = "x" ; then
50914 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
50915 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
50916 { (exit 1); exit 1; }; }
50917 fi
50918
50919 BAKEFILE_HOST="${host}"
50920 fi
50921
50922 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
50923
50924 if test -n "$ac_tool_prefix"; then
50925 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
50926 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
50927 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50929 if test "${ac_cv_prog_RANLIB+set}" = set; then
50930 echo $ECHO_N "(cached) $ECHO_C" >&6
50931 else
50932 if test -n "$RANLIB"; then
50933 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
50934 else
50935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50936 for as_dir in $PATH
50937 do
50938 IFS=$as_save_IFS
50939 test -z "$as_dir" && as_dir=.
50940 for ac_exec_ext in '' $ac_executable_extensions; do
50941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
50942 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
50943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50944 break 2
50945 fi
50946 done
50947 done
50948 IFS=$as_save_IFS
50949
50950 fi
50951 fi
50952 RANLIB=$ac_cv_prog_RANLIB
50953 if test -n "$RANLIB"; then
50954 { echo "$as_me:$LINENO: result: $RANLIB" >&5
50955 echo "${ECHO_T}$RANLIB" >&6; }
50956 else
50957 { echo "$as_me:$LINENO: result: no" >&5
50958 echo "${ECHO_T}no" >&6; }
50959 fi
50960
50961
50962 fi
50963 if test -z "$ac_cv_prog_RANLIB"; then
50964 ac_ct_RANLIB=$RANLIB
50965 # Extract the first word of "ranlib", so it can be a program name with args.
50966 set dummy ranlib; ac_word=$2
50967 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50969 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
50970 echo $ECHO_N "(cached) $ECHO_C" >&6
50971 else
50972 if test -n "$ac_ct_RANLIB"; then
50973 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
50974 else
50975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50976 for as_dir in $PATH
50977 do
50978 IFS=$as_save_IFS
50979 test -z "$as_dir" && as_dir=.
50980 for ac_exec_ext in '' $ac_executable_extensions; do
50981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
50982 ac_cv_prog_ac_ct_RANLIB="ranlib"
50983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50984 break 2
50985 fi
50986 done
50987 done
50988 IFS=$as_save_IFS
50989
50990 fi
50991 fi
50992 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
50993 if test -n "$ac_ct_RANLIB"; then
50994 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
50995 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
50996 else
50997 { echo "$as_me:$LINENO: result: no" >&5
50998 echo "${ECHO_T}no" >&6; }
50999 fi
51000
51001 if test "x$ac_ct_RANLIB" = x; then
51002 RANLIB=":"
51003 else
51004 case $cross_compiling:$ac_tool_warned in
51005 yes:)
51006 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51007 whose name does not start with the host triplet. If you think this
51008 configuration is useful to you, please write to autoconf@gnu.org." >&5
51009 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51010 whose name does not start with the host triplet. If you think this
51011 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51012 ac_tool_warned=yes ;;
51013 esac
51014 RANLIB=$ac_ct_RANLIB
51015 fi
51016 else
51017 RANLIB="$ac_cv_prog_RANLIB"
51018 fi
51019
51020 # Find a good install program. We prefer a C program (faster),
51021 # so one script is as good as another. But avoid the broken or
51022 # incompatible versions:
51023 # SysV /etc/install, /usr/sbin/install
51024 # SunOS /usr/etc/install
51025 # IRIX /sbin/install
51026 # AIX /bin/install
51027 # AmigaOS /C/install, which installs bootblocks on floppy discs
51028 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
51029 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
51030 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
51031 # OS/2's system install, which has a completely different semantic
51032 # ./install, which can be erroneously created by make from ./install.sh.
51033 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
51034 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
51035 if test -z "$INSTALL"; then
51036 if test "${ac_cv_path_install+set}" = set; then
51037 echo $ECHO_N "(cached) $ECHO_C" >&6
51038 else
51039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51040 for as_dir in $PATH
51041 do
51042 IFS=$as_save_IFS
51043 test -z "$as_dir" && as_dir=.
51044 # Account for people who put trailing slashes in PATH elements.
51045 case $as_dir/ in
51046 ./ | .// | /cC/* | \
51047 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
51048 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
51049 /usr/ucb/* ) ;;
51050 *)
51051 # OSF1 and SCO ODT 3.0 have their own names for install.
51052 # Don't use installbsd from OSF since it installs stuff as root
51053 # by default.
51054 for ac_prog in ginstall scoinst install; do
51055 for ac_exec_ext in '' $ac_executable_extensions; do
51056 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
51057 if test $ac_prog = install &&
51058 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
51059 # AIX install. It has an incompatible calling convention.
51060 :
51061 elif test $ac_prog = install &&
51062 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
51063 # program-specific install script used by HP pwplus--don't use.
51064 :
51065 else
51066 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
51067 break 3
51068 fi
51069 fi
51070 done
51071 done
51072 ;;
51073 esac
51074 done
51075 IFS=$as_save_IFS
51076
51077
51078 fi
51079 if test "${ac_cv_path_install+set}" = set; then
51080 INSTALL=$ac_cv_path_install
51081 else
51082 # As a last resort, use the slow shell script. Don't cache a
51083 # value for INSTALL within a source directory, because that will
51084 # break other packages using the cache if that directory is
51085 # removed, or if the value is a relative name.
51086 INSTALL=$ac_install_sh
51087 fi
51088 fi
51089 { echo "$as_me:$LINENO: result: $INSTALL" >&5
51090 echo "${ECHO_T}$INSTALL" >&6; }
51091
51092 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
51093 # It thinks the first close brace ends the variable substitution.
51094 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
51095
51096 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
51097
51098 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
51099
51100 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
51101 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
51102 LN_S=$as_ln_s
51103 if test "$LN_S" = "ln -s"; then
51104 { echo "$as_me:$LINENO: result: yes" >&5
51105 echo "${ECHO_T}yes" >&6; }
51106 else
51107 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
51108 echo "${ECHO_T}no, using $LN_S" >&6; }
51109 fi
51110
51111
51112 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51113 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
51114 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
51115 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
51116 echo $ECHO_N "(cached) $ECHO_C" >&6
51117 else
51118 cat >conftest.make <<\_ACEOF
51119 SHELL = /bin/sh
51120 all:
51121 @echo '@@@%%%=$(MAKE)=@@@%%%'
51122 _ACEOF
51123 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51124 case `${MAKE-make} -f conftest.make 2>/dev/null` in
51125 *@@@%%%=?*=@@@%%%*)
51126 eval ac_cv_prog_make_${ac_make}_set=yes;;
51127 *)
51128 eval ac_cv_prog_make_${ac_make}_set=no;;
51129 esac
51130 rm -f conftest.make
51131 fi
51132 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
51133 { echo "$as_me:$LINENO: result: yes" >&5
51134 echo "${ECHO_T}yes" >&6; }
51135 SET_MAKE=
51136 else
51137 { echo "$as_me:$LINENO: result: no" >&5
51138 echo "${ECHO_T}no" >&6; }
51139 SET_MAKE="MAKE=${MAKE-make}"
51140 fi
51141
51142
51143
51144 if test "x$SUNCXX" = "xyes"; then
51145 AR=$CXX
51146 AROPTIONS="-xar -o"
51147
51148 elif test "x$SGICC" = "xyes"; then
51149 AR=$CXX
51150 AROPTIONS="-ar -o"
51151
51152 else
51153 if test -n "$ac_tool_prefix"; then
51154 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
51155 set dummy ${ac_tool_prefix}ar; ac_word=$2
51156 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51158 if test "${ac_cv_prog_AR+set}" = set; then
51159 echo $ECHO_N "(cached) $ECHO_C" >&6
51160 else
51161 if test -n "$AR"; then
51162 ac_cv_prog_AR="$AR" # Let the user override the test.
51163 else
51164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51165 for as_dir in $PATH
51166 do
51167 IFS=$as_save_IFS
51168 test -z "$as_dir" && as_dir=.
51169 for ac_exec_ext in '' $ac_executable_extensions; do
51170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
51171 ac_cv_prog_AR="${ac_tool_prefix}ar"
51172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51173 break 2
51174 fi
51175 done
51176 done
51177 IFS=$as_save_IFS
51178
51179 fi
51180 fi
51181 AR=$ac_cv_prog_AR
51182 if test -n "$AR"; then
51183 { echo "$as_me:$LINENO: result: $AR" >&5
51184 echo "${ECHO_T}$AR" >&6; }
51185 else
51186 { echo "$as_me:$LINENO: result: no" >&5
51187 echo "${ECHO_T}no" >&6; }
51188 fi
51189
51190
51191 fi
51192 if test -z "$ac_cv_prog_AR"; then
51193 ac_ct_AR=$AR
51194 # Extract the first word of "ar", so it can be a program name with args.
51195 set dummy ar; ac_word=$2
51196 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51198 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
51199 echo $ECHO_N "(cached) $ECHO_C" >&6
51200 else
51201 if test -n "$ac_ct_AR"; then
51202 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
51203 else
51204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51205 for as_dir in $PATH
51206 do
51207 IFS=$as_save_IFS
51208 test -z "$as_dir" && as_dir=.
51209 for ac_exec_ext in '' $ac_executable_extensions; do
51210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
51211 ac_cv_prog_ac_ct_AR="ar"
51212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51213 break 2
51214 fi
51215 done
51216 done
51217 IFS=$as_save_IFS
51218
51219 fi
51220 fi
51221 ac_ct_AR=$ac_cv_prog_ac_ct_AR
51222 if test -n "$ac_ct_AR"; then
51223 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
51224 echo "${ECHO_T}$ac_ct_AR" >&6; }
51225 else
51226 { echo "$as_me:$LINENO: result: no" >&5
51227 echo "${ECHO_T}no" >&6; }
51228 fi
51229
51230 if test "x$ac_ct_AR" = x; then
51231 AR="ar"
51232 else
51233 case $cross_compiling:$ac_tool_warned in
51234 yes:)
51235 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51236 whose name does not start with the host triplet. If you think this
51237 configuration is useful to you, please write to autoconf@gnu.org." >&5
51238 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51239 whose name does not start with the host triplet. If you think this
51240 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51241 ac_tool_warned=yes ;;
51242 esac
51243 AR=$ac_ct_AR
51244 fi
51245 else
51246 AR="$ac_cv_prog_AR"
51247 fi
51248
51249 AROPTIONS=rcu
51250 fi
51251
51252
51253 if test -n "$ac_tool_prefix"; then
51254 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
51255 set dummy ${ac_tool_prefix}strip; ac_word=$2
51256 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51258 if test "${ac_cv_prog_STRIP+set}" = set; then
51259 echo $ECHO_N "(cached) $ECHO_C" >&6
51260 else
51261 if test -n "$STRIP"; then
51262 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
51263 else
51264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51265 for as_dir in $PATH
51266 do
51267 IFS=$as_save_IFS
51268 test -z "$as_dir" && as_dir=.
51269 for ac_exec_ext in '' $ac_executable_extensions; do
51270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
51271 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
51272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51273 break 2
51274 fi
51275 done
51276 done
51277 IFS=$as_save_IFS
51278
51279 fi
51280 fi
51281 STRIP=$ac_cv_prog_STRIP
51282 if test -n "$STRIP"; then
51283 { echo "$as_me:$LINENO: result: $STRIP" >&5
51284 echo "${ECHO_T}$STRIP" >&6; }
51285 else
51286 { echo "$as_me:$LINENO: result: no" >&5
51287 echo "${ECHO_T}no" >&6; }
51288 fi
51289
51290
51291 fi
51292 if test -z "$ac_cv_prog_STRIP"; then
51293 ac_ct_STRIP=$STRIP
51294 # Extract the first word of "strip", so it can be a program name with args.
51295 set dummy strip; ac_word=$2
51296 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51298 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
51299 echo $ECHO_N "(cached) $ECHO_C" >&6
51300 else
51301 if test -n "$ac_ct_STRIP"; then
51302 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
51303 else
51304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51305 for as_dir in $PATH
51306 do
51307 IFS=$as_save_IFS
51308 test -z "$as_dir" && as_dir=.
51309 for ac_exec_ext in '' $ac_executable_extensions; do
51310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
51311 ac_cv_prog_ac_ct_STRIP="strip"
51312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51313 break 2
51314 fi
51315 done
51316 done
51317 IFS=$as_save_IFS
51318
51319 fi
51320 fi
51321 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
51322 if test -n "$ac_ct_STRIP"; then
51323 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
51324 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
51325 else
51326 { echo "$as_me:$LINENO: result: no" >&5
51327 echo "${ECHO_T}no" >&6; }
51328 fi
51329
51330 if test "x$ac_ct_STRIP" = x; then
51331 STRIP=":"
51332 else
51333 case $cross_compiling:$ac_tool_warned in
51334 yes:)
51335 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51336 whose name does not start with the host triplet. If you think this
51337 configuration is useful to you, please write to autoconf@gnu.org." >&5
51338 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51339 whose name does not start with the host triplet. If you think this
51340 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51341 ac_tool_warned=yes ;;
51342 esac
51343 STRIP=$ac_ct_STRIP
51344 fi
51345 else
51346 STRIP="$ac_cv_prog_STRIP"
51347 fi
51348
51349 if test -n "$ac_tool_prefix"; then
51350 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
51351 set dummy ${ac_tool_prefix}nm; ac_word=$2
51352 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51354 if test "${ac_cv_prog_NM+set}" = set; then
51355 echo $ECHO_N "(cached) $ECHO_C" >&6
51356 else
51357 if test -n "$NM"; then
51358 ac_cv_prog_NM="$NM" # Let the user override the test.
51359 else
51360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51361 for as_dir in $PATH
51362 do
51363 IFS=$as_save_IFS
51364 test -z "$as_dir" && as_dir=.
51365 for ac_exec_ext in '' $ac_executable_extensions; do
51366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
51367 ac_cv_prog_NM="${ac_tool_prefix}nm"
51368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51369 break 2
51370 fi
51371 done
51372 done
51373 IFS=$as_save_IFS
51374
51375 fi
51376 fi
51377 NM=$ac_cv_prog_NM
51378 if test -n "$NM"; then
51379 { echo "$as_me:$LINENO: result: $NM" >&5
51380 echo "${ECHO_T}$NM" >&6; }
51381 else
51382 { echo "$as_me:$LINENO: result: no" >&5
51383 echo "${ECHO_T}no" >&6; }
51384 fi
51385
51386
51387 fi
51388 if test -z "$ac_cv_prog_NM"; then
51389 ac_ct_NM=$NM
51390 # Extract the first word of "nm", so it can be a program name with args.
51391 set dummy nm; ac_word=$2
51392 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51394 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
51395 echo $ECHO_N "(cached) $ECHO_C" >&6
51396 else
51397 if test -n "$ac_ct_NM"; then
51398 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
51399 else
51400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51401 for as_dir in $PATH
51402 do
51403 IFS=$as_save_IFS
51404 test -z "$as_dir" && as_dir=.
51405 for ac_exec_ext in '' $ac_executable_extensions; do
51406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
51407 ac_cv_prog_ac_ct_NM="nm"
51408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51409 break 2
51410 fi
51411 done
51412 done
51413 IFS=$as_save_IFS
51414
51415 fi
51416 fi
51417 ac_ct_NM=$ac_cv_prog_ac_ct_NM
51418 if test -n "$ac_ct_NM"; then
51419 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
51420 echo "${ECHO_T}$ac_ct_NM" >&6; }
51421 else
51422 { echo "$as_me:$LINENO: result: no" >&5
51423 echo "${ECHO_T}no" >&6; }
51424 fi
51425
51426 if test "x$ac_ct_NM" = x; then
51427 NM=":"
51428 else
51429 case $cross_compiling:$ac_tool_warned in
51430 yes:)
51431 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51432 whose name does not start with the host triplet. If you think this
51433 configuration is useful to you, please write to autoconf@gnu.org." >&5
51434 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51435 whose name does not start with the host triplet. If you think this
51436 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51437 ac_tool_warned=yes ;;
51438 esac
51439 NM=$ac_ct_NM
51440 fi
51441 else
51442 NM="$ac_cv_prog_NM"
51443 fi
51444
51445
51446 case ${BAKEFILE_HOST} in
51447 *-hp-hpux* )
51448 INSTALL_DIR="mkdir -p"
51449 ;;
51450 * )
51451 INSTALL_DIR='$(INSTALL) -d'
51452 ;;
51453 esac
51454
51455
51456 LDFLAGS_GUI=
51457 case ${BAKEFILE_HOST} in
51458 *-*-cygwin* | *-*-mingw32* )
51459 LDFLAGS_GUI="-mwindows"
51460 esac
51461
51462
51463 fi
51464
51465 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
51466 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
51467 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
51468 echo $ECHO_N "(cached) $ECHO_C" >&6
51469 else
51470
51471 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
51472 egrep -s GNU > /dev/null); then
51473 bakefile_cv_prog_makeisgnu="yes"
51474 else
51475 bakefile_cv_prog_makeisgnu="no"
51476 fi
51477
51478 fi
51479 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
51480 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
51481
51482 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
51483 IF_GNU_MAKE=""
51484 else
51485 IF_GNU_MAKE="#"
51486 fi
51487
51488
51489
51490 PLATFORM_UNIX=0
51491 PLATFORM_WIN32=0
51492 PLATFORM_MSDOS=0
51493 PLATFORM_MAC=0
51494 PLATFORM_MACOS=0
51495 PLATFORM_MACOSX=0
51496 PLATFORM_OS2=0
51497 PLATFORM_BEOS=0
51498
51499 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
51500 case "${BAKEFILE_HOST}" in
51501 *-*-mingw32* )
51502 PLATFORM_WIN32=1
51503 ;;
51504 *-pc-msdosdjgpp )
51505 PLATFORM_MSDOS=1
51506 ;;
51507 *-pc-os2_emx | *-pc-os2-emx )
51508 PLATFORM_OS2=1
51509 ;;
51510 *-*-darwin* )
51511 PLATFORM_MAC=1
51512 PLATFORM_MACOSX=1
51513 ;;
51514 *-*-beos* )
51515 PLATFORM_BEOS=1
51516 ;;
51517 powerpc-apple-macos* )
51518 PLATFORM_MAC=1
51519 PLATFORM_MACOS=1
51520 ;;
51521 * )
51522 PLATFORM_UNIX=1
51523 ;;
51524 esac
51525 else
51526 case "$BAKEFILE_FORCE_PLATFORM" in
51527 win32 )
51528 PLATFORM_WIN32=1
51529 ;;
51530 msdos )
51531 PLATFORM_MSDOS=1
51532 ;;
51533 os2 )
51534 PLATFORM_OS2=1
51535 ;;
51536 darwin )
51537 PLATFORM_MAC=1
51538 PLATFORM_MACOSX=1
51539 ;;
51540 unix )
51541 PLATFORM_UNIX=1
51542 ;;
51543 beos )
51544 PLATFORM_BEOS=1
51545 ;;
51546 * )
51547 ;;
51548 esac
51549 fi
51550
51551
51552
51553
51554
51555
51556
51557
51558
51559
51560
51561 # Check whether --enable-omf was given.
51562 if test "${enable_omf+set}" = set; then
51563 enableval=$enable_omf; bk_os2_use_omf="$enableval"
51564 fi
51565
51566
51567 case "${BAKEFILE_HOST}" in
51568 *-*-darwin* )
51569 if test "x$GCC" = "xyes"; then
51570 CFLAGS="$CFLAGS -fno-common"
51571 CXXFLAGS="$CXXFLAGS -fno-common"
51572 fi
51573 if test "x$XLCC" = "xyes"; then
51574 CFLAGS="$CFLAGS -qnocommon"
51575 CXXFLAGS="$CXXFLAGS -qnocommon"
51576 fi
51577 ;;
51578
51579 *-pc-os2_emx | *-pc-os2-emx )
51580 if test "x$bk_os2_use_omf" = "xyes" ; then
51581 AR=emxomfar
51582 RANLIB=:
51583 LDFLAGS="-Zomf $LDFLAGS"
51584 CFLAGS="-Zomf $CFLAGS"
51585 CXXFLAGS="-Zomf $CXXFLAGS"
51586 OS2_LIBEXT="lib"
51587 else
51588 OS2_LIBEXT="a"
51589 fi
51590 ;;
51591
51592 i*86-*-beos* )
51593 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
51594 ;;
51595 esac
51596
51597
51598 SO_SUFFIX="so"
51599 SO_SUFFIX_MODULE="so"
51600 EXEEXT=""
51601 LIBPREFIX="lib"
51602 LIBEXT=".a"
51603 DLLPREFIX="lib"
51604 DLLPREFIX_MODULE=""
51605 DLLIMP_SUFFIX=""
51606 dlldir="$libdir"
51607
51608 case "${BAKEFILE_HOST}" in
51609 *-hp-hpux* )
51610 SO_SUFFIX="sl"
51611 SO_SUFFIX_MODULE="sl"
51612 ;;
51613 *-*-aix* )
51614 SO_SUFFIX="a"
51615 SO_SUFFIX_MODULE="a"
51616 ;;
51617 *-*-cygwin* )
51618 SO_SUFFIX="dll"
51619 SO_SUFFIX_MODULE="dll"
51620 DLLIMP_SUFFIX="dll.a"
51621 EXEEXT=".exe"
51622 DLLPREFIX="cyg"
51623 dlldir="$bindir"
51624 ;;
51625 *-*-mingw32* )
51626 SO_SUFFIX="dll"
51627 SO_SUFFIX_MODULE="dll"
51628 DLLIMP_SUFFIX="dll.a"
51629 EXEEXT=".exe"
51630 DLLPREFIX=""
51631 dlldir="$bindir"
51632 ;;
51633 *-pc-msdosdjgpp )
51634 EXEEXT=".exe"
51635 DLLPREFIX=""
51636 dlldir="$bindir"
51637 ;;
51638 *-pc-os2_emx | *-pc-os2-emx )
51639 SO_SUFFIX="dll"
51640 SO_SUFFIX_MODULE="dll"
51641 DLLIMP_SUFFIX=$OS2_LIBEXT
51642 EXEEXT=".exe"
51643 DLLPREFIX=""
51644 LIBPREFIX=""
51645 LIBEXT=".$OS2_LIBEXT"
51646 dlldir="$bindir"
51647 ;;
51648 *-*-darwin* )
51649 SO_SUFFIX="dylib"
51650 SO_SUFFIX_MODULE="bundle"
51651 ;;
51652 esac
51653
51654 if test "x$DLLIMP_SUFFIX" = "x" ; then
51655 DLLIMP_SUFFIX="$SO_SUFFIX"
51656 fi
51657
51658
51659
51660
51661
51662
51663
51664
51665
51666
51667
51668
51669 PIC_FLAG=""
51670 if test "x$GCC" = "xyes"; then
51671 PIC_FLAG="-fPIC"
51672 fi
51673
51674 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
51675 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
51676 WINDOWS_IMPLIB=0
51677
51678 case "${BAKEFILE_HOST}" in
51679 *-hp-hpux* )
51680 if test "x$GCC" != "xyes"; then
51681 LDFLAGS="$LDFLAGS -L/usr/lib"
51682
51683 SHARED_LD_CC="${CC} -b -o"
51684 SHARED_LD_CXX="${CXX} -b -o"
51685 PIC_FLAG="+Z"
51686 fi
51687 ;;
51688
51689 *-*-linux* )
51690 if test "x$GCC" != "xyes"; then
51691 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
51692 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
51693 if test "${bakefile_cv_prog_icc+set}" = set; then
51694 echo $ECHO_N "(cached) $ECHO_C" >&6
51695 else
51696
51697 cat >conftest.$ac_ext <<_ACEOF
51698 /* confdefs.h. */
51699 _ACEOF
51700 cat confdefs.h >>conftest.$ac_ext
51701 cat >>conftest.$ac_ext <<_ACEOF
51702 /* end confdefs.h. */
51703
51704 int
51705 main ()
51706 {
51707
51708 #ifndef __INTEL_COMPILER
51709 This is not ICC
51710 #endif
51711
51712 ;
51713 return 0;
51714 }
51715 _ACEOF
51716 rm -f conftest.$ac_objext
51717 if { (ac_try="$ac_compile"
51718 case "(($ac_try" in
51719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51720 *) ac_try_echo=$ac_try;;
51721 esac
51722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51723 (eval "$ac_compile") 2>conftest.er1
51724 ac_status=$?
51725 grep -v '^ *+' conftest.er1 >conftest.err
51726 rm -f conftest.er1
51727 cat conftest.err >&5
51728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51729 (exit $ac_status); } &&
51730 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
51731 { (case "(($ac_try" in
51732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51733 *) ac_try_echo=$ac_try;;
51734 esac
51735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51736 (eval "$ac_try") 2>&5
51737 ac_status=$?
51738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51739 (exit $ac_status); }; } &&
51740 { ac_try='test -s conftest.$ac_objext'
51741 { (case "(($ac_try" in
51742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51743 *) ac_try_echo=$ac_try;;
51744 esac
51745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51746 (eval "$ac_try") 2>&5
51747 ac_status=$?
51748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51749 (exit $ac_status); }; }; then
51750 bakefile_cv_prog_icc=yes
51751 else
51752 echo "$as_me: failed program was:" >&5
51753 sed 's/^/| /' conftest.$ac_ext >&5
51754
51755 bakefile_cv_prog_icc=no
51756
51757 fi
51758
51759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51760
51761 fi
51762 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
51763 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
51764 if test "$bakefile_cv_prog_icc" = "yes"; then
51765 PIC_FLAG="-KPIC"
51766 fi
51767 fi
51768 ;;
51769
51770 *-*-solaris2* )
51771 if test "x$GCC" != xyes ; then
51772 SHARED_LD_CC="${CC} -G -o"
51773 SHARED_LD_CXX="${CXX} -G -o"
51774 PIC_FLAG="-KPIC"
51775 fi
51776 ;;
51777
51778 *-*-darwin* )
51779
51780 D='$'
51781 cat <<EOF >shared-ld-sh
51782 #!/bin/sh
51783 #-----------------------------------------------------------------------------
51784 #-- Name: distrib/mac/shared-ld-sh
51785 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
51786 #-- Author: Gilles Depeyrot
51787 #-- Copyright: (c) 2002 Gilles Depeyrot
51788 #-- Licence: any use permitted
51789 #-----------------------------------------------------------------------------
51790
51791 verbose=0
51792 args=""
51793 objects=""
51794 linking_flag="-dynamiclib"
51795 ldargs="-r -keep_private_externs -nostdlib"
51796
51797 while test ${D}# -gt 0; do
51798 case ${D}1 in
51799
51800 -v)
51801 verbose=1
51802 ;;
51803
51804 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
51805 # collect these options and values
51806 args="${D}{args} ${D}1 ${D}2"
51807 shift
51808 ;;
51809
51810 -s|-Wl,*)
51811 # collect these load args
51812 ldargs="${D}{ldargs} ${D}1"
51813 ;;
51814
51815 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
51816 # collect these options
51817 args="${D}{args} ${D}1"
51818 ;;
51819
51820 -dynamiclib|-bundle)
51821 linking_flag="${D}1"
51822 ;;
51823
51824 -*)
51825 echo "shared-ld: unhandled option '${D}1'"
51826 exit 1
51827 ;;
51828
51829 *.o | *.a | *.dylib)
51830 # collect object files
51831 objects="${D}{objects} ${D}1"
51832 ;;
51833
51834 *)
51835 echo "shared-ld: unhandled argument '${D}1'"
51836 exit 1
51837 ;;
51838
51839 esac
51840 shift
51841 done
51842
51843 status=0
51844
51845 #
51846 # Link one module containing all the others
51847 #
51848 if test ${D}{verbose} = 1; then
51849 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
51850 fi
51851 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
51852 status=${D}?
51853
51854 #
51855 # Link the shared library from the single module created, but only if the
51856 # previous command didn't fail:
51857 #
51858 if test ${D}{status} = 0; then
51859 if test ${D}{verbose} = 1; then
51860 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
51861 fi
51862 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
51863 status=${D}?
51864 fi
51865
51866 #
51867 # Remove intermediate module
51868 #
51869 rm -f master.${D}${D}.o
51870
51871 exit ${D}status
51872 EOF
51873
51874 chmod +x shared-ld-sh
51875
51876 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
51877 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
51878
51879
51880 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
51881 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
51882 if test "${bakefile_cv_gcc31+set}" = set; then
51883 echo $ECHO_N "(cached) $ECHO_C" >&6
51884 else
51885
51886 cat >conftest.$ac_ext <<_ACEOF
51887 /* confdefs.h. */
51888 _ACEOF
51889 cat confdefs.h >>conftest.$ac_ext
51890 cat >>conftest.$ac_ext <<_ACEOF
51891 /* end confdefs.h. */
51892
51893 int
51894 main ()
51895 {
51896
51897 #if (__GNUC__ < 3) || \
51898 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
51899 This is old gcc
51900 #endif
51901
51902 ;
51903 return 0;
51904 }
51905 _ACEOF
51906 rm -f conftest.$ac_objext
51907 if { (ac_try="$ac_compile"
51908 case "(($ac_try" in
51909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51910 *) ac_try_echo=$ac_try;;
51911 esac
51912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51913 (eval "$ac_compile") 2>conftest.er1
51914 ac_status=$?
51915 grep -v '^ *+' conftest.er1 >conftest.err
51916 rm -f conftest.er1
51917 cat conftest.err >&5
51918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51919 (exit $ac_status); } &&
51920 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
51921 { (case "(($ac_try" in
51922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51923 *) ac_try_echo=$ac_try;;
51924 esac
51925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51926 (eval "$ac_try") 2>&5
51927 ac_status=$?
51928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51929 (exit $ac_status); }; } &&
51930 { ac_try='test -s conftest.$ac_objext'
51931 { (case "(($ac_try" in
51932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51933 *) ac_try_echo=$ac_try;;
51934 esac
51935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51936 (eval "$ac_try") 2>&5
51937 ac_status=$?
51938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51939 (exit $ac_status); }; }; then
51940
51941 bakefile_cv_gcc31=yes
51942
51943 else
51944 echo "$as_me: failed program was:" >&5
51945 sed 's/^/| /' conftest.$ac_ext >&5
51946
51947
51948 bakefile_cv_gcc31=no
51949
51950
51951 fi
51952
51953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51954
51955 fi
51956 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
51957 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
51958 if test "$bakefile_cv_gcc31" = "no"; then
51959 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
51960 SHARED_LD_CXX="$SHARED_LD_CC"
51961 else
51962 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
51963 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
51964 fi
51965
51966 if test "x$GCC" == "xyes"; then
51967 PIC_FLAG="-dynamic -fPIC"
51968 fi
51969 if test "x$XLCC" = "xyes"; then
51970 PIC_FLAG="-dynamic -DPIC"
51971 fi
51972 ;;
51973
51974 *-*-aix* )
51975 if test "x$GCC" = "xyes"; then
51976 PIC_FLAG=""
51977
51978 case "${BAKEFILE_HOST}" in
51979 *-*-aix5* )
51980 LD_EXPFULL="-Wl,-bexpfull"
51981 ;;
51982 esac
51983
51984 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
51985 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
51986 else
51987 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
51988 set dummy makeC++SharedLib; ac_word=$2
51989 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51991 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
51992 echo $ECHO_N "(cached) $ECHO_C" >&6
51993 else
51994 if test -n "$AIX_CXX_LD"; then
51995 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
51996 else
51997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51998 for as_dir in $PATH
51999 do
52000 IFS=$as_save_IFS
52001 test -z "$as_dir" && as_dir=.
52002 for ac_exec_ext in '' $ac_executable_extensions; do
52003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
52004 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
52005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52006 break 2
52007 fi
52008 done
52009 done
52010 IFS=$as_save_IFS
52011
52012 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
52013 fi
52014 fi
52015 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
52016 if test -n "$AIX_CXX_LD"; then
52017 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
52018 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
52019 else
52020 { echo "$as_me:$LINENO: result: no" >&5
52021 echo "${ECHO_T}no" >&6; }
52022 fi
52023
52024
52025 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
52026 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
52027 fi
52028 ;;
52029
52030 *-*-beos* )
52031 SHARED_LD_CC="${LD} -nostart -o"
52032 SHARED_LD_CXX="${LD} -nostart -o"
52033 ;;
52034
52035 *-*-irix* )
52036 if test "x$GCC" != "xyes"; then
52037 PIC_FLAG="-KPIC"
52038 fi
52039 ;;
52040
52041 *-*-cygwin* | *-*-mingw32* )
52042 PIC_FLAG=""
52043 SHARED_LD_CC="\$(CC) -shared -o"
52044 SHARED_LD_CXX="\$(CXX) -shared -o"
52045 WINDOWS_IMPLIB=1
52046 ;;
52047
52048 *-pc-os2_emx | *-pc-os2-emx )
52049 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52050 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52051 PIC_FLAG=""
52052
52053 D='$'
52054 cat <<EOF >dllar.sh
52055 #!/bin/sh
52056 #
52057 # dllar - a tool to build both a .dll and an .a file
52058 # from a set of object (.o) files for EMX/OS2.
52059 #
52060 # Written by Andrew Zabolotny, bit@freya.etu.ru
52061 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
52062 #
52063 # This script will accept a set of files on the command line.
52064 # All the public symbols from the .o files will be exported into
52065 # a .DEF file, then linker will be run (through gcc) against them to
52066 # build a shared library consisting of all given .o files. All libraries
52067 # (.a) will be first decompressed into component .o files then act as
52068 # described above. You can optionally give a description (-d "description")
52069 # which will be put into .DLL. To see the list of accepted options (as well
52070 # as command-line format) simply run this program without options. The .DLL
52071 # is built to be imported by name (there is no guarantee that new versions
52072 # of the library you build will have same ordinals for same symbols).
52073 #
52074 # dllar is free software; you can redistribute it and/or modify
52075 # it under the terms of the GNU General Public License as published by
52076 # the Free Software Foundation; either version 2, or (at your option)
52077 # any later version.
52078 #
52079 # dllar is distributed in the hope that it will be useful,
52080 # but WITHOUT ANY WARRANTY; without even the implied warranty of
52081 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
52082 # GNU General Public License for more details.
52083 #
52084 # You should have received a copy of the GNU General Public License
52085 # along with dllar; see the file COPYING. If not, write to the Free
52086 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
52087 # 02111-1307, USA.
52088
52089 # To successfuly run this program you will need:
52090 # - Current drive should have LFN support (HPFS, ext2, network, etc)
52091 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
52092 # - gcc
52093 # (used to build the .dll)
52094 # - emxexp
52095 # (used to create .def file from .o files)
52096 # - emximp
52097 # (used to create .a file from .def file)
52098 # - GNU text utilites (cat, sort, uniq)
52099 # used to process emxexp output
52100 # - GNU file utilities (mv, rm)
52101 # - GNU sed
52102 # - lxlite (optional, see flag below)
52103 # (used for general .dll cleanup)
52104 #
52105
52106 flag_USE_LXLITE=1;
52107
52108 #
52109 # helper functions
52110 # basnam, variant of basename, which does _not_ remove the path, _iff_
52111 # second argument (suffix to remove) is given
52112 basnam(){
52113 case ${D}# in
52114 1)
52115 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
52116 ;;
52117 2)
52118 echo ${D}1 | sed 's/'${D}2'${D}//'
52119 ;;
52120 *)
52121 echo "error in basnam ${D}*"
52122 exit 8
52123 ;;
52124 esac
52125 }
52126
52127 # Cleanup temporary files and output
52128 CleanUp() {
52129 cd ${D}curDir
52130 for i in ${D}inputFiles ; do
52131 case ${D}i in
52132 *!)
52133 rm -rf \`basnam ${D}i !\`
52134 ;;
52135 *)
52136 ;;
52137 esac
52138 done
52139
52140 # Kill result in case of failure as there is just to many stupid make/nmake
52141 # things out there which doesn't do this.
52142 if [ ${D}# -eq 0 ]; then
52143 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
52144 fi
52145 }
52146
52147 # Print usage and exit script with rc=1.
52148 PrintHelp() {
52149 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
52150 echo ' [-name-mangler-script script.sh]'
52151 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
52152 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
52153 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
52154 echo ' [*.o] [*.a]'
52155 echo '*> "output_file" should have no extension.'
52156 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
52157 echo ' The import library name is derived from this and is set to "name".a,'
52158 echo ' unless overridden by -import'
52159 echo '*> "importlib_name" should have no extension.'
52160 echo ' If it has the .o, or .a extension, it is automatically removed.'
52161 echo ' This name is used as the import library name and may be longer and'
52162 echo ' more descriptive than the DLL name which has to follow the old '
52163 echo ' 8.3 convention of FAT.'
52164 echo '*> "script.sh may be given to override the output_file name by a'
52165 echo ' different name. It is mainly useful if the regular make process'
52166 echo ' of some package does not take into account OS/2 restriction of'
52167 echo ' DLL name lengths. It takes the importlib name as input and is'
52168 echo ' supposed to procude a shorter name as output. The script should'
52169 echo ' expect to get importlib_name without extension and should produce'
52170 echo ' a (max.) 8 letter name without extension.'
52171 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
52172 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
52173 echo ' These flags will be put at the start of GCC command line.'
52174 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
52175 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
52176 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
52177 echo ' If the last character of a symbol is "*", all symbols beginning'
52178 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
52179 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
52180 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
52181 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
52182 echo ' C runtime DLLs.'
52183 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
52184 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
52185 echo ' unchanged to GCC at the end of command line.'
52186 echo '*> If you create a DLL from a library and you do not specify -o,'
52187 echo ' the basename for DLL and import library will be set to library name,'
52188 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
52189 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
52190 echo ' library will be renamed into gcc_s.a.'
52191 echo '--------'
52192 echo 'Example:'
52193 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
52194 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
52195 CleanUp
52196 exit 1
52197 }
52198
52199 # Execute a command.
52200 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
52201 # @Uses Whatever CleanUp() uses.
52202 doCommand() {
52203 echo "${D}*"
52204 eval ${D}*
52205 rcCmd=${D}?
52206
52207 if [ ${D}rcCmd -ne 0 ]; then
52208 echo "command failed, exit code="${D}rcCmd
52209 CleanUp
52210 exit ${D}rcCmd
52211 fi
52212 }
52213
52214 # main routine
52215 # setup globals
52216 cmdLine=${D}*
52217 outFile=""
52218 outimpFile=""
52219 inputFiles=""
52220 renameScript=""
52221 description=""
52222 CC=gcc.exe
52223 CFLAGS="-s -Zcrtdll"
52224 EXTRA_CFLAGS=""
52225 EXPORT_BY_ORDINALS=0
52226 exclude_symbols=""
52227 library_flags=""
52228 curDir=\`pwd\`
52229 curDirS=curDir
52230 case ${D}curDirS in
52231 */)
52232 ;;
52233 *)
52234 curDirS=${D}{curDirS}"/"
52235 ;;
52236 esac
52237 # Parse commandline
52238 libsToLink=0
52239 omfLinking=0
52240 while [ ${D}1 ]; do
52241 case ${D}1 in
52242 -ord*)
52243 EXPORT_BY_ORDINALS=1;
52244 ;;
52245 -o*)
52246 shift
52247 outFile=${D}1
52248 ;;
52249 -i*)
52250 shift
52251 outimpFile=${D}1
52252 ;;
52253 -name-mangler-script)
52254 shift
52255 renameScript=${D}1
52256 ;;
52257 -d*)
52258 shift
52259 description=${D}1
52260 ;;
52261 -f*)
52262 shift
52263 CFLAGS=${D}1
52264 ;;
52265 -c*)
52266 shift
52267 CC=${D}1
52268 ;;
52269 -h*)
52270 PrintHelp
52271 ;;
52272 -ex*)
52273 shift
52274 exclude_symbols=${D}{exclude_symbols}${D}1" "
52275 ;;
52276 -libf*)
52277 shift
52278 library_flags=${D}{library_flags}${D}1" "
52279 ;;
52280 -nocrt*)
52281 CFLAGS="-s"
52282 ;;
52283 -nolxl*)
52284 flag_USE_LXLITE=0
52285 ;;
52286 -* | /*)
52287 case ${D}1 in
52288 -L* | -l*)
52289 libsToLink=1
52290 ;;
52291 -Zomf)
52292 omfLinking=1
52293 ;;
52294 *)
52295 ;;
52296 esac
52297 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
52298 ;;
52299 *.dll)
52300 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
52301 if [ ${D}omfLinking -eq 1 ]; then
52302 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
52303 else
52304 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
52305 fi
52306 ;;
52307 *)
52308 found=0;
52309 if [ ${D}libsToLink -ne 0 ]; then
52310 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
52311 else
52312 for file in ${D}1 ; do
52313 if [ -f ${D}file ]; then
52314 inputFiles="${D}{inputFiles} ${D}file"
52315 found=1
52316 fi
52317 done
52318 if [ ${D}found -eq 0 ]; then
52319 echo "ERROR: No file(s) found: "${D}1
52320 exit 8
52321 fi
52322 fi
52323 ;;
52324 esac
52325 shift
52326 done # iterate cmdline words
52327
52328 #
52329 if [ -z "${D}inputFiles" ]; then
52330 echo "dllar: no input files"
52331 PrintHelp
52332 fi
52333
52334 # Now extract all .o files from .a files
52335 newInputFiles=""
52336 for file in ${D}inputFiles ; do
52337 case ${D}file in
52338 *.a | *.lib)
52339 case ${D}file in
52340 *.a)
52341 suffix=".a"
52342 AR="ar"
52343 ;;
52344 *.lib)
52345 suffix=".lib"
52346 AR="emxomfar"
52347 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
52348 ;;
52349 *)
52350 ;;
52351 esac
52352 dirname=\`basnam ${D}file ${D}suffix\`"_%"
52353 mkdir ${D}dirname
52354 if [ ${D}? -ne 0 ]; then
52355 echo "Failed to create subdirectory ./${D}dirname"
52356 CleanUp
52357 exit 8;
52358 fi
52359 # Append '!' to indicate archive
52360 newInputFiles="${D}newInputFiles ${D}{dirname}!"
52361 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
52362 cd ${D}curDir
52363 found=0;
52364 for subfile in ${D}dirname/*.o* ; do
52365 if [ -f ${D}subfile ]; then
52366 found=1
52367 if [ -s ${D}subfile ]; then
52368 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
52369 newInputFiles="${D}newInputFiles ${D}subfile"
52370 fi
52371 fi
52372 done
52373 if [ ${D}found -eq 0 ]; then
52374 echo "WARNING: there are no files in archive \\'${D}file\\'"
52375 fi
52376 ;;
52377 *)
52378 newInputFiles="${D}{newInputFiles} ${D}file"
52379 ;;
52380 esac
52381 done
52382 inputFiles="${D}newInputFiles"
52383
52384 # Output filename(s).
52385 do_backup=0;
52386 if [ -z ${D}outFile ]; then
52387 do_backup=1;
52388 set outFile ${D}inputFiles; outFile=${D}2
52389 fi
52390
52391 # If it is an archive, remove the '!' and the '_%' suffixes
52392 case ${D}outFile in
52393 *_%!)
52394 outFile=\`basnam ${D}outFile _%!\`
52395 ;;
52396 *)
52397 ;;
52398 esac
52399 case ${D}outFile in
52400 *.dll)
52401 outFile=\`basnam ${D}outFile .dll\`
52402 ;;
52403 *.DLL)
52404 outFile=\`basnam ${D}outFile .DLL\`
52405 ;;
52406 *.o)
52407 outFile=\`basnam ${D}outFile .o\`
52408 ;;
52409 *.obj)
52410 outFile=\`basnam ${D}outFile .obj\`
52411 ;;
52412 *.a)
52413 outFile=\`basnam ${D}outFile .a\`
52414 ;;
52415 *.lib)
52416 outFile=\`basnam ${D}outFile .lib\`
52417 ;;
52418 *)
52419 ;;
52420 esac
52421 case ${D}outimpFile in
52422 *.a)
52423 outimpFile=\`basnam ${D}outimpFile .a\`
52424 ;;
52425 *.lib)
52426 outimpFile=\`basnam ${D}outimpFile .lib\`
52427 ;;
52428 *)
52429 ;;
52430 esac
52431 if [ -z ${D}outimpFile ]; then
52432 outimpFile=${D}outFile
52433 fi
52434 defFile="${D}{outFile}.def"
52435 arcFile="${D}{outimpFile}.a"
52436 arcFile2="${D}{outimpFile}.lib"
52437
52438 #create ${D}dllFile as something matching 8.3 restrictions,
52439 if [ -z ${D}renameScript ] ; then
52440 dllFile="${D}outFile"
52441 else
52442 dllFile=\`${D}renameScript ${D}outimpFile\`
52443 fi
52444
52445 if [ ${D}do_backup -ne 0 ] ; then
52446 if [ -f ${D}arcFile ] ; then
52447 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
52448 fi
52449 if [ -f ${D}arcFile2 ] ; then
52450 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
52451 fi
52452 fi
52453
52454 # Extract public symbols from all the object files.
52455 tmpdefFile=${D}{defFile}_%
52456 rm -f ${D}tmpdefFile
52457 for file in ${D}inputFiles ; do
52458 case ${D}file in
52459 *!)
52460 ;;
52461 *)
52462 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
52463 ;;
52464 esac
52465 done
52466
52467 # Create the def file.
52468 rm -f ${D}defFile
52469 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
52470 dllFile="${D}{dllFile}.dll"
52471 if [ ! -z ${D}description ]; then
52472 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
52473 fi
52474 echo "EXPORTS" >> ${D}defFile
52475
52476 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
52477 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
52478
52479 # Checks if the export is ok or not.
52480 for word in ${D}exclude_symbols; do
52481 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
52482 mv ${D}{tmpdefFile}% ${D}tmpdefFile
52483 done
52484
52485
52486 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
52487 sed "=" < ${D}tmpdefFile | \\
52488 sed '
52489 N
52490 : loop
52491 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
52492 t loop
52493 ' > ${D}{tmpdefFile}%
52494 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
52495 else
52496 rm -f ${D}{tmpdefFile}%
52497 fi
52498 cat ${D}tmpdefFile >> ${D}defFile
52499 rm -f ${D}tmpdefFile
52500
52501 # Do linking, create implib, and apply lxlite.
52502 gccCmdl="";
52503 for file in ${D}inputFiles ; do
52504 case ${D}file in
52505 *!)
52506 ;;
52507 *)
52508 gccCmdl="${D}gccCmdl ${D}file"
52509 ;;
52510 esac
52511 done
52512 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
52513 touch "${D}{outFile}.dll"
52514
52515 doCommand "emximp -o ${D}arcFile ${D}defFile"
52516 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
52517 add_flags="";
52518 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
52519 add_flags="-ynd"
52520 fi
52521 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
52522 fi
52523 doCommand "emxomf -s -l ${D}arcFile"
52524
52525 # Successful exit.
52526 CleanUp 1
52527 exit 0
52528 EOF
52529
52530 chmod +x dllar.sh
52531 ;;
52532
52533 powerpc-apple-macos* | \
52534 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
52535 *-*-mirbsd* | \
52536 *-*-sunos4* | \
52537 *-*-osf* | \
52538 *-*-dgux5* | \
52539 *-*-sysv5* | \
52540 *-pc-msdosdjgpp )
52541 ;;
52542
52543 *)
52544 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
52545 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
52546 { (exit 1); exit 1; }; }
52547 esac
52548
52549 if test "x$PIC_FLAG" != "x" ; then
52550 PIC_FLAG="$PIC_FLAG -DPIC"
52551 fi
52552
52553 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
52554 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
52555 fi
52556 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
52557 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
52558 fi
52559
52560
52561
52562
52563
52564
52565
52566
52567
52568 USE_SOVERSION=0
52569 USE_SOVERLINUX=0
52570 USE_SOVERSOLARIS=0
52571 USE_SOVERCYGWIN=0
52572 USE_SOSYMLINKS=0
52573 USE_MACVERSION=0
52574 SONAME_FLAG=
52575
52576 case "${BAKEFILE_HOST}" in
52577 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
52578 SONAME_FLAG="-Wl,-soname,"
52579 USE_SOVERSION=1
52580 USE_SOVERLINUX=1
52581 USE_SOSYMLINKS=1
52582 ;;
52583
52584 *-*-solaris2* )
52585 SONAME_FLAG="-h "
52586 USE_SOVERSION=1
52587 USE_SOVERSOLARIS=1
52588 USE_SOSYMLINKS=1
52589 ;;
52590
52591 *-*-darwin* )
52592 USE_MACVERSION=1
52593 USE_SOVERSION=1
52594 USE_SOSYMLINKS=1
52595 ;;
52596
52597 *-*-cygwin* )
52598 USE_SOVERSION=1
52599 USE_SOVERCYGWIN=1
52600 ;;
52601 esac
52602
52603
52604
52605
52606
52607
52608
52609
52610
52611
52612 # Check whether --enable-dependency-tracking was given.
52613 if test "${enable_dependency_tracking+set}" = set; then
52614 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
52615 fi
52616
52617
52618 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
52619 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
52620
52621 BK_DEPS=""
52622 if test "x$bk_use_trackdeps" = "xno" ; then
52623 DEPS_TRACKING=0
52624 { echo "$as_me:$LINENO: result: disabled" >&5
52625 echo "${ECHO_T}disabled" >&6; }
52626 else
52627 DEPS_TRACKING=1
52628
52629 if test "x$GCC" = "xyes"; then
52630 DEPSMODE=gcc
52631 case "${BAKEFILE_HOST}" in
52632 *-*-darwin* )
52633 DEPSFLAG="-no-cpp-precomp -MMD"
52634 ;;
52635 * )
52636 DEPSFLAG="-MMD"
52637 ;;
52638 esac
52639 { echo "$as_me:$LINENO: result: gcc" >&5
52640 echo "${ECHO_T}gcc" >&6; }
52641 elif test "x$MWCC" = "xyes"; then
52642 DEPSMODE=mwcc
52643 DEPSFLAG="-MM"
52644 { echo "$as_me:$LINENO: result: mwcc" >&5
52645 echo "${ECHO_T}mwcc" >&6; }
52646 elif test "x$SUNCC" = "xyes"; then
52647 DEPSMODE=unixcc
52648 DEPSFLAG="-xM1"
52649 { echo "$as_me:$LINENO: result: Sun cc" >&5
52650 echo "${ECHO_T}Sun cc" >&6; }
52651 elif test "x$SGICC" = "xyes"; then
52652 DEPSMODE=unixcc
52653 DEPSFLAG="-M"
52654 { echo "$as_me:$LINENO: result: SGI cc" >&5
52655 echo "${ECHO_T}SGI cc" >&6; }
52656 elif test "x$HPCC" = "xyes"; then
52657 DEPSMODE=unixcc
52658 DEPSFLAG="+make"
52659 { echo "$as_me:$LINENO: result: HP cc" >&5
52660 echo "${ECHO_T}HP cc" >&6; }
52661 elif test "x$COMPAQCC" = "xyes"; then
52662 DEPSMODE=gcc
52663 DEPSFLAG="-MD"
52664 { echo "$as_me:$LINENO: result: Compaq cc" >&5
52665 echo "${ECHO_T}Compaq cc" >&6; }
52666 else
52667 DEPS_TRACKING=0
52668 { echo "$as_me:$LINENO: result: none" >&5
52669 echo "${ECHO_T}none" >&6; }
52670 fi
52671
52672 if test $DEPS_TRACKING = 1 ; then
52673
52674 D='$'
52675 cat <<EOF >bk-deps
52676 #!/bin/sh
52677
52678 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
52679 # script. It is used to track C/C++ files dependencies in portable way.
52680 #
52681 # Permission is given to use this file in any way.
52682
52683 DEPSMODE=${DEPSMODE}
52684 DEPSDIR=.deps
52685 DEPSFLAG="${DEPSFLAG}"
52686
52687 mkdir -p ${D}DEPSDIR
52688
52689 if test ${D}DEPSMODE = gcc ; then
52690 ${D}* ${D}{DEPSFLAG}
52691 status=${D}?
52692 if test ${D}{status} != 0 ; then
52693 exit ${D}{status}
52694 fi
52695 # move created file to the location we want it in:
52696 while test ${D}# -gt 0; do
52697 case "${D}1" in
52698 -o )
52699 shift
52700 objfile=${D}1
52701 ;;
52702 -* )
52703 ;;
52704 * )
52705 srcfile=${D}1
52706 ;;
52707 esac
52708 shift
52709 done
52710 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
52711 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
52712 if test -f ${D}depfile ; then
52713 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
52714 rm -f ${D}depfile
52715 else
52716 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
52717 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
52718 if test ! -f ${D}depfile ; then
52719 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
52720 depfile="${D}objfile.d"
52721 fi
52722 if test -f ${D}depfile ; then
52723 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
52724 rm -f ${D}depfile
52725 fi
52726 fi
52727 exit 0
52728 elif test ${D}DEPSMODE = mwcc ; then
52729 ${D}* || exit ${D}?
52730 # Run mwcc again with -MM and redirect into the dep file we want
52731 # NOTE: We can't use shift here because we need ${D}* to be valid
52732 prevarg=
52733 for arg in ${D}* ; do
52734 if test "${D}prevarg" = "-o"; then
52735 objfile=${D}arg
52736 else
52737 case "${D}arg" in
52738 -* )
52739 ;;
52740 * )
52741 srcfile=${D}arg
52742 ;;
52743 esac
52744 fi
52745 prevarg="${D}arg"
52746 done
52747 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
52748 exit 0
52749 elif test ${D}DEPSMODE = unixcc; then
52750 ${D}* || exit ${D}?
52751 # Run compiler again with deps flag and redirect into the dep file.
52752 # It doesn't work if the '-o FILE' option is used, but without it the
52753 # dependency file will contain the wrong name for the object. So it is
52754 # removed from the command line, and the dep file is fixed with sed.
52755 cmd=""
52756 while test ${D}# -gt 0; do
52757 case "${D}1" in
52758 -o )
52759 shift
52760 objfile=${D}1
52761 ;;
52762 * )
52763 eval arg${D}#=\\${D}1
52764 cmd="${D}cmd \\${D}arg${D}#"
52765 ;;
52766 esac
52767 shift
52768 done
52769 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
52770 exit 0
52771 else
52772 ${D}*
52773 exit ${D}?
52774 fi
52775 EOF
52776
52777 chmod +x bk-deps
52778 BK_DEPS="`pwd`/bk-deps"
52779 fi
52780 fi
52781
52782
52783
52784
52785
52786 case ${BAKEFILE_HOST} in
52787 *-*-cygwin* | *-*-mingw32* )
52788 if test -n "$ac_tool_prefix"; then
52789 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
52790 set dummy ${ac_tool_prefix}windres; ac_word=$2
52791 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52793 if test "${ac_cv_prog_WINDRES+set}" = set; then
52794 echo $ECHO_N "(cached) $ECHO_C" >&6
52795 else
52796 if test -n "$WINDRES"; then
52797 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
52798 else
52799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52800 for as_dir in $PATH
52801 do
52802 IFS=$as_save_IFS
52803 test -z "$as_dir" && as_dir=.
52804 for ac_exec_ext in '' $ac_executable_extensions; do
52805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
52806 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
52807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52808 break 2
52809 fi
52810 done
52811 done
52812 IFS=$as_save_IFS
52813
52814 fi
52815 fi
52816 WINDRES=$ac_cv_prog_WINDRES
52817 if test -n "$WINDRES"; then
52818 { echo "$as_me:$LINENO: result: $WINDRES" >&5
52819 echo "${ECHO_T}$WINDRES" >&6; }
52820 else
52821 { echo "$as_me:$LINENO: result: no" >&5
52822 echo "${ECHO_T}no" >&6; }
52823 fi
52824
52825
52826 fi
52827 if test -z "$ac_cv_prog_WINDRES"; then
52828 ac_ct_WINDRES=$WINDRES
52829 # Extract the first word of "windres", so it can be a program name with args.
52830 set dummy windres; ac_word=$2
52831 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52833 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
52834 echo $ECHO_N "(cached) $ECHO_C" >&6
52835 else
52836 if test -n "$ac_ct_WINDRES"; then
52837 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
52838 else
52839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52840 for as_dir in $PATH
52841 do
52842 IFS=$as_save_IFS
52843 test -z "$as_dir" && as_dir=.
52844 for ac_exec_ext in '' $ac_executable_extensions; do
52845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
52846 ac_cv_prog_ac_ct_WINDRES="windres"
52847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52848 break 2
52849 fi
52850 done
52851 done
52852 IFS=$as_save_IFS
52853
52854 fi
52855 fi
52856 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
52857 if test -n "$ac_ct_WINDRES"; then
52858 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
52859 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
52860 else
52861 { echo "$as_me:$LINENO: result: no" >&5
52862 echo "${ECHO_T}no" >&6; }
52863 fi
52864
52865 if test "x$ac_ct_WINDRES" = x; then
52866 WINDRES=""
52867 else
52868 case $cross_compiling:$ac_tool_warned in
52869 yes:)
52870 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52871 whose name does not start with the host triplet. If you think this
52872 configuration is useful to you, please write to autoconf@gnu.org." >&5
52873 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52874 whose name does not start with the host triplet. If you think this
52875 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52876 ac_tool_warned=yes ;;
52877 esac
52878 WINDRES=$ac_ct_WINDRES
52879 fi
52880 else
52881 WINDRES="$ac_cv_prog_WINDRES"
52882 fi
52883
52884 ;;
52885
52886 *-*-darwin* | powerpc-apple-macos* )
52887 # Extract the first word of "Rez", so it can be a program name with args.
52888 set dummy Rez; ac_word=$2
52889 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52891 if test "${ac_cv_prog_REZ+set}" = set; then
52892 echo $ECHO_N "(cached) $ECHO_C" >&6
52893 else
52894 if test -n "$REZ"; then
52895 ac_cv_prog_REZ="$REZ" # Let the user override the test.
52896 else
52897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52898 for as_dir in $PATH
52899 do
52900 IFS=$as_save_IFS
52901 test -z "$as_dir" && as_dir=.
52902 for ac_exec_ext in '' $ac_executable_extensions; do
52903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
52904 ac_cv_prog_REZ="Rez"
52905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52906 break 2
52907 fi
52908 done
52909 done
52910 IFS=$as_save_IFS
52911
52912 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
52913 fi
52914 fi
52915 REZ=$ac_cv_prog_REZ
52916 if test -n "$REZ"; then
52917 { echo "$as_me:$LINENO: result: $REZ" >&5
52918 echo "${ECHO_T}$REZ" >&6; }
52919 else
52920 { echo "$as_me:$LINENO: result: no" >&5
52921 echo "${ECHO_T}no" >&6; }
52922 fi
52923
52924
52925 # Extract the first word of "SetFile", so it can be a program name with args.
52926 set dummy SetFile; ac_word=$2
52927 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52929 if test "${ac_cv_prog_SETFILE+set}" = set; then
52930 echo $ECHO_N "(cached) $ECHO_C" >&6
52931 else
52932 if test -n "$SETFILE"; then
52933 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
52934 else
52935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52936 for as_dir in $PATH
52937 do
52938 IFS=$as_save_IFS
52939 test -z "$as_dir" && as_dir=.
52940 for ac_exec_ext in '' $ac_executable_extensions; do
52941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
52942 ac_cv_prog_SETFILE="SetFile"
52943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52944 break 2
52945 fi
52946 done
52947 done
52948 IFS=$as_save_IFS
52949
52950 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
52951 fi
52952 fi
52953 SETFILE=$ac_cv_prog_SETFILE
52954 if test -n "$SETFILE"; then
52955 { echo "$as_me:$LINENO: result: $SETFILE" >&5
52956 echo "${ECHO_T}$SETFILE" >&6; }
52957 else
52958 { echo "$as_me:$LINENO: result: no" >&5
52959 echo "${ECHO_T}no" >&6; }
52960 fi
52961
52962
52963 ;;
52964 esac
52965
52966
52967
52968
52969
52970
52971 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
52972
52973
52974 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
52975
52976
52977
52978 # Check whether --enable-precomp-headers was given.
52979 if test "${enable_precomp_headers+set}" = set; then
52980 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
52981 fi
52982
52983
52984 GCC_PCH=0
52985 ICC_PCH=0
52986 USE_PCH=0
52987 BK_MAKE_PCH=""
52988
52989 case ${BAKEFILE_HOST} in
52990 *-*-cygwin* )
52991 bk_use_pch="no"
52992 ;;
52993 esac
52994
52995 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
52996 if test "x$GCC" = "xyes"; then
52997 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
52998 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
52999 cat >conftest.$ac_ext <<_ACEOF
53000 /* confdefs.h. */
53001 _ACEOF
53002 cat confdefs.h >>conftest.$ac_ext
53003 cat >>conftest.$ac_ext <<_ACEOF
53004 /* end confdefs.h. */
53005
53006 int
53007 main ()
53008 {
53009
53010 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
53011 There is no PCH support
53012 #endif
53013 #if (__GNUC__ < 3)
53014 There is no PCH support
53015 #endif
53016 #if (__GNUC__ == 3) && \
53017 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
53018 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
53019 ( defined(__INTEL_COMPILER) )
53020 There is no PCH support
53021 #endif
53022
53023 ;
53024 return 0;
53025 }
53026 _ACEOF
53027 rm -f conftest.$ac_objext
53028 if { (ac_try="$ac_compile"
53029 case "(($ac_try" in
53030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53031 *) ac_try_echo=$ac_try;;
53032 esac
53033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53034 (eval "$ac_compile") 2>conftest.er1
53035 ac_status=$?
53036 grep -v '^ *+' conftest.er1 >conftest.err
53037 rm -f conftest.er1
53038 cat conftest.err >&5
53039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53040 (exit $ac_status); } &&
53041 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
53042 { (case "(($ac_try" in
53043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53044 *) ac_try_echo=$ac_try;;
53045 esac
53046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53047 (eval "$ac_try") 2>&5
53048 ac_status=$?
53049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53050 (exit $ac_status); }; } &&
53051 { ac_try='test -s conftest.$ac_objext'
53052 { (case "(($ac_try" in
53053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53054 *) ac_try_echo=$ac_try;;
53055 esac
53056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53057 (eval "$ac_try") 2>&5
53058 ac_status=$?
53059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53060 (exit $ac_status); }; }; then
53061
53062 { echo "$as_me:$LINENO: result: yes" >&5
53063 echo "${ECHO_T}yes" >&6; }
53064 GCC_PCH=1
53065
53066 else
53067 echo "$as_me: failed program was:" >&5
53068 sed 's/^/| /' conftest.$ac_ext >&5
53069
53070
53071 cat >conftest.$ac_ext <<_ACEOF
53072 /* confdefs.h. */
53073 _ACEOF
53074 cat confdefs.h >>conftest.$ac_ext
53075 cat >>conftest.$ac_ext <<_ACEOF
53076 /* end confdefs.h. */
53077
53078 int
53079 main ()
53080 {
53081
53082 #if !defined(__INTEL_COMPILER) || \
53083 (__INTEL_COMPILER < 800)
53084 There is no PCH support
53085 #endif
53086
53087 ;
53088 return 0;
53089 }
53090 _ACEOF
53091 rm -f conftest.$ac_objext
53092 if { (ac_try="$ac_compile"
53093 case "(($ac_try" in
53094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53095 *) ac_try_echo=$ac_try;;
53096 esac
53097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53098 (eval "$ac_compile") 2>conftest.er1
53099 ac_status=$?
53100 grep -v '^ *+' conftest.er1 >conftest.err
53101 rm -f conftest.er1
53102 cat conftest.err >&5
53103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53104 (exit $ac_status); } &&
53105 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
53106 { (case "(($ac_try" in
53107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53108 *) ac_try_echo=$ac_try;;
53109 esac
53110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53111 (eval "$ac_try") 2>&5
53112 ac_status=$?
53113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53114 (exit $ac_status); }; } &&
53115 { ac_try='test -s conftest.$ac_objext'
53116 { (case "(($ac_try" in
53117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53118 *) ac_try_echo=$ac_try;;
53119 esac
53120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53121 (eval "$ac_try") 2>&5
53122 ac_status=$?
53123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53124 (exit $ac_status); }; }; then
53125
53126 { echo "$as_me:$LINENO: result: yes" >&5
53127 echo "${ECHO_T}yes" >&6; }
53128 ICC_PCH=1
53129
53130 else
53131 echo "$as_me: failed program was:" >&5
53132 sed 's/^/| /' conftest.$ac_ext >&5
53133
53134
53135 { echo "$as_me:$LINENO: result: no" >&5
53136 echo "${ECHO_T}no" >&6; }
53137
53138 fi
53139
53140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53141
53142 fi
53143
53144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53145 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
53146 USE_PCH=1
53147
53148 D='$'
53149 cat <<EOF >bk-make-pch
53150 #!/bin/sh
53151
53152 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
53153 # script. It is used to generated precompiled headers.
53154 #
53155 # Permission is given to use this file in any way.
53156
53157 outfile="${D}{1}"
53158 header="${D}{2}"
53159 shift
53160 shift
53161
53162 compiler=""
53163 headerfile=""
53164
53165 while test ${D}{#} -gt 0; do
53166 add_to_cmdline=1
53167 case "${D}{1}" in
53168 -I* )
53169 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
53170 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
53171 headerfile="${D}{incdir}/${D}{header}"
53172 fi
53173 ;;
53174 -use-pch|-use_pch )
53175 shift
53176 add_to_cmdline=0
53177 ;;
53178 esac
53179 if test ${D}add_to_cmdline = 1 ; then
53180 compiler="${D}{compiler} ${D}{1}"
53181 fi
53182 shift
53183 done
53184
53185 if test "x${D}{headerfile}" = "x" ; then
53186 echo "error: can't find header ${D}{header} in include paths" >&2
53187 else
53188 if test -f ${D}{outfile} ; then
53189 rm -f ${D}{outfile}
53190 else
53191 mkdir -p \`dirname ${D}{outfile}\`
53192 fi
53193 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
53194 mkdir -p .deps
53195 if test "x${GCC_PCH}" = "x1" ; then
53196 # can do this because gcc is >= 3.4:
53197 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
53198 elif test "x${ICC_PCH}" = "x1" ; then
53199 filename=pch_gen-${D}${D}
53200 file=${D}{filename}.c
53201 dfile=${D}{filename}.d
53202 cat > ${D}file <<EOT
53203 #include "${D}header"
53204 EOT
53205 # using -MF icc complains about differing command lines in creation/use
53206 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
53207 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
53208 rm -f ${D}file ${D}dfile ${D}{filename}.o
53209 fi
53210 exit ${D}{?}
53211 fi
53212 EOF
53213
53214 chmod +x bk-make-pch
53215 BK_MAKE_PCH="`pwd`/bk-make-pch"
53216 fi
53217 fi
53218 fi
53219
53220
53221
53222
53223
53224 COND_BUILD_DEBUG="#"
53225 if test "x$BUILD" = "xdebug" ; then
53226 COND_BUILD_DEBUG=""
53227 fi
53228
53229 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
53230 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
53231 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
53232 fi
53233
53234 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
53235 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
53236 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
53237 fi
53238
53239 COND_BUILD_DEBUG_UNICODE_0="#"
53240 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
53241 COND_BUILD_DEBUG_UNICODE_0=""
53242 fi
53243
53244 COND_BUILD_DEBUG_UNICODE_1="#"
53245 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
53246 COND_BUILD_DEBUG_UNICODE_1=""
53247 fi
53248
53249 COND_BUILD_RELEASE="#"
53250 if test "x$BUILD" = "xrelease" ; then
53251 COND_BUILD_RELEASE=""
53252 fi
53253
53254 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
53255 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
53256 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
53257 fi
53258
53259 COND_BUILD_RELEASE_UNICODE_0="#"
53260 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
53261 COND_BUILD_RELEASE_UNICODE_0=""
53262 fi
53263
53264 COND_BUILD_RELEASE_UNICODE_1="#"
53265 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
53266 COND_BUILD_RELEASE_UNICODE_1=""
53267 fi
53268
53269 COND_DEBUG_FLAG_1="#"
53270 if test "x$DEBUG_FLAG" = "x1" ; then
53271 COND_DEBUG_FLAG_1=""
53272 fi
53273
53274 COND_DEBUG_INFO_0="#"
53275 if test "x$DEBUG_INFO" = "x0" ; then
53276 COND_DEBUG_INFO_0=""
53277 fi
53278
53279 COND_DEBUG_INFO_1="#"
53280 if test "x$DEBUG_INFO" = "x1" ; then
53281 COND_DEBUG_INFO_1=""
53282 fi
53283
53284 COND_DEPS_TRACKING_0="#"
53285 if test "x$DEPS_TRACKING" = "x0" ; then
53286 COND_DEPS_TRACKING_0=""
53287 fi
53288
53289 COND_DEPS_TRACKING_1="#"
53290 if test "x$DEPS_TRACKING" = "x1" ; then
53291 COND_DEPS_TRACKING_1=""
53292 fi
53293
53294 COND_GCC_PCH_1="#"
53295 if test "x$GCC_PCH" = "x1" ; then
53296 COND_GCC_PCH_1=""
53297 fi
53298
53299 COND_ICC_PCH_1="#"
53300 if test "x$ICC_PCH" = "x1" ; then
53301 COND_ICC_PCH_1=""
53302 fi
53303
53304 COND_MONOLITHIC_0="#"
53305 if test "x$MONOLITHIC" = "x0" ; then
53306 COND_MONOLITHIC_0=""
53307 fi
53308
53309 COND_MONOLITHIC_0_SHARED_0="#"
53310 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
53311 COND_MONOLITHIC_0_SHARED_0=""
53312 fi
53313
53314 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
53315 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
53316 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
53317 fi
53318
53319 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
53320 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
53321 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
53322 fi
53323
53324 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
53325 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
53326 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
53327 fi
53328
53329 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
53330 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
53331 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
53332 fi
53333
53334 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
53335 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
53336 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
53337 fi
53338
53339 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
53340 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
53341 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
53342 fi
53343
53344 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
53345 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
53346 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
53347 fi
53348
53349 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
53350 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
53351 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
53352 fi
53353
53354 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
53355 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
53356 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
53357 fi
53358
53359 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
53360 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
53361 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
53362 fi
53363
53364 COND_MONOLITHIC_0_SHARED_1="#"
53365 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
53366 COND_MONOLITHIC_0_SHARED_1=""
53367 fi
53368
53369 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
53370 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
53371 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
53372 fi
53373
53374 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
53375 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
53376 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
53377 fi
53378
53379 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
53380 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
53381 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
53382 fi
53383
53384 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
53385 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
53386 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
53387 fi
53388
53389 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
53390 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
53391 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
53392 fi
53393
53394 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
53395 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
53396 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
53397 fi
53398
53399 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
53400 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
53401 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
53402 fi
53403
53404 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
53405 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
53406 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
53407 fi
53408
53409 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
53410 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
53411 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
53412 fi
53413
53414 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
53415 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
53416 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
53417 fi
53418
53419 COND_MONOLITHIC_0_USE_AUI_1="#"
53420 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
53421 COND_MONOLITHIC_0_USE_AUI_1=""
53422 fi
53423
53424 COND_MONOLITHIC_0_USE_GUI_1="#"
53425 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
53426 COND_MONOLITHIC_0_USE_GUI_1=""
53427 fi
53428
53429 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
53430 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
53431 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
53432 fi
53433
53434 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
53435 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
53436 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
53437 fi
53438
53439 COND_MONOLITHIC_0_USE_HTML_1="#"
53440 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
53441 COND_MONOLITHIC_0_USE_HTML_1=""
53442 fi
53443
53444 COND_MONOLITHIC_0_USE_MEDIA_1="#"
53445 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
53446 COND_MONOLITHIC_0_USE_MEDIA_1=""
53447 fi
53448
53449 COND_MONOLITHIC_0_USE_ODBC_1="#"
53450 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
53451 COND_MONOLITHIC_0_USE_ODBC_1=""
53452 fi
53453
53454 COND_MONOLITHIC_0_USE_QA_1="#"
53455 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
53456 COND_MONOLITHIC_0_USE_QA_1=""
53457 fi
53458
53459 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
53460 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
53461 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
53462 fi
53463
53464 COND_MONOLITHIC_0_USE_STC_1="#"
53465 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
53466 COND_MONOLITHIC_0_USE_STC_1=""
53467 fi
53468
53469 COND_MONOLITHIC_0_USE_XRC_1="#"
53470 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
53471 COND_MONOLITHIC_0_USE_XRC_1=""
53472 fi
53473
53474 COND_MONOLITHIC_1="#"
53475 if test "x$MONOLITHIC" = "x1" ; then
53476 COND_MONOLITHIC_1=""
53477 fi
53478
53479 COND_MONOLITHIC_1_SHARED_0="#"
53480 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
53481 COND_MONOLITHIC_1_SHARED_0=""
53482 fi
53483
53484 COND_MONOLITHIC_1_SHARED_1="#"
53485 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
53486 COND_MONOLITHIC_1_SHARED_1=""
53487 fi
53488
53489 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
53490 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
53491 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
53492 fi
53493
53494 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
53495 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
53496 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
53497 fi
53498
53499 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
53500 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
53501 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
53502 fi
53503
53504 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
53505 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
53506 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
53507 fi
53508
53509 COND_PLATFORM_MACOSX_1="#"
53510 if test "x$PLATFORM_MACOSX" = "x1" ; then
53511 COND_PLATFORM_MACOSX_1=""
53512 fi
53513
53514 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
53515 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
53516 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
53517 fi
53518
53519 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
53520 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
53521 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
53522 fi
53523
53524 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
53525 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
53526 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
53527 fi
53528
53529 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
53530 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
53531 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
53532 fi
53533
53534 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
53535 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
53536 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
53537 fi
53538
53539 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
53540 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
53541 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
53542 fi
53543
53544 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
53545 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
53546 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
53547 fi
53548
53549 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
53550 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
53551 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
53552 fi
53553
53554 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
53555 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
53556 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
53557 fi
53558
53559 COND_PLATFORM_MACOS_1="#"
53560 if test "x$PLATFORM_MACOS" = "x1" ; then
53561 COND_PLATFORM_MACOS_1=""
53562 fi
53563
53564 COND_PLATFORM_MAC_1="#"
53565 if test "x$PLATFORM_MAC" = "x1" ; then
53566 COND_PLATFORM_MAC_1=""
53567 fi
53568
53569 COND_PLATFORM_MSDOS_0="#"
53570 if test "x$PLATFORM_MSDOS" = "x0" ; then
53571 COND_PLATFORM_MSDOS_0=""
53572 fi
53573
53574 COND_PLATFORM_MSDOS_1="#"
53575 if test "x$PLATFORM_MSDOS" = "x1" ; then
53576 COND_PLATFORM_MSDOS_1=""
53577 fi
53578
53579 COND_PLATFORM_OS2_1="#"
53580 if test "x$PLATFORM_OS2" = "x1" ; then
53581 COND_PLATFORM_OS2_1=""
53582 fi
53583
53584 COND_PLATFORM_UNIX_0="#"
53585 if test "x$PLATFORM_UNIX" = "x0" ; then
53586 COND_PLATFORM_UNIX_0=""
53587 fi
53588
53589 COND_PLATFORM_UNIX_1="#"
53590 if test "x$PLATFORM_UNIX" = "x1" ; then
53591 COND_PLATFORM_UNIX_1=""
53592 fi
53593
53594 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
53595 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
53596 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
53597 fi
53598
53599 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
53600 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
53601 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
53602 fi
53603
53604 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
53605 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
53606 COND_PLATFORM_UNIX_1_USE_GUI_1=""
53607 fi
53608
53609 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
53610 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
53611 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
53612 fi
53613
53614 COND_PLATFORM_WIN32_0="#"
53615 if test "x$PLATFORM_WIN32" = "x0" ; then
53616 COND_PLATFORM_WIN32_0=""
53617 fi
53618
53619 COND_PLATFORM_WIN32_1="#"
53620 if test "x$PLATFORM_WIN32" = "x1" ; then
53621 COND_PLATFORM_WIN32_1=""
53622 fi
53623
53624 COND_SHARED_0="#"
53625 if test "x$SHARED" = "x0" ; then
53626 COND_SHARED_0=""
53627 fi
53628
53629 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
53630 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
53631 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
53632 fi
53633
53634 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
53635 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
53636 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
53637 fi
53638
53639 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
53640 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
53641 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
53642 fi
53643
53644 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
53645 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
53646 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
53647 fi
53648
53649 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
53650 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
53651 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
53652 fi
53653
53654 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
53655 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
53656 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
53657 fi
53658
53659 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
53660 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
53661 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
53662 fi
53663
53664 COND_SHARED_0_USE_XRC_1="#"
53665 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
53666 COND_SHARED_0_USE_XRC_1=""
53667 fi
53668
53669 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
53670 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
53671 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
53672 fi
53673
53674 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
53675 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
53676 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
53677 fi
53678
53679 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
53680 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
53681 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
53682 fi
53683
53684 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
53685 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
53686 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
53687 fi
53688
53689 COND_SHARED_1="#"
53690 if test "x$SHARED" = "x1" ; then
53691 COND_SHARED_1=""
53692 fi
53693
53694 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
53695 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
53696 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
53697 fi
53698
53699 COND_SHARED_1_USE_XRC_1="#"
53700 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
53701 COND_SHARED_1_USE_XRC_1=""
53702 fi
53703
53704 COND_TOOLKIT_="#"
53705 if test "x$TOOLKIT" = "x" ; then
53706 COND_TOOLKIT_=""
53707 fi
53708
53709 COND_TOOLKIT_COCOA="#"
53710 if test "x$TOOLKIT" = "xCOCOA" ; then
53711 COND_TOOLKIT_COCOA=""
53712 fi
53713
53714 COND_TOOLKIT_COCOA_USE_GUI_1="#"
53715 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
53716 COND_TOOLKIT_COCOA_USE_GUI_1=""
53717 fi
53718
53719 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
53720 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
53721 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
53722 fi
53723
53724 COND_TOOLKIT_DFB="#"
53725 if test "x$TOOLKIT" = "xDFB" ; then
53726 COND_TOOLKIT_DFB=""
53727 fi
53728
53729 COND_TOOLKIT_DFB_USE_GUI_1="#"
53730 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
53731 COND_TOOLKIT_DFB_USE_GUI_1=""
53732 fi
53733
53734 COND_TOOLKIT_GTK="#"
53735 if test "x$TOOLKIT" = "xGTK" ; then
53736 COND_TOOLKIT_GTK=""
53737 fi
53738
53739 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
53740 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
53741 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
53742 fi
53743
53744 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
53745 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
53746 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
53747 fi
53748
53749 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
53750 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
53751 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
53752 fi
53753
53754 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
53755 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
53756 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
53757 fi
53758
53759 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
53760 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
53761 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
53762 fi
53763
53764 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
53765 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
53766 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
53767 fi
53768
53769 COND_TOOLKIT_GTK_USE_GUI_1="#"
53770 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
53771 COND_TOOLKIT_GTK_USE_GUI_1=""
53772 fi
53773
53774 COND_TOOLKIT_MAC="#"
53775 if test "x$TOOLKIT" = "xMAC" ; then
53776 COND_TOOLKIT_MAC=""
53777 fi
53778
53779 COND_TOOLKIT_MAC_USE_GUI_1="#"
53780 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
53781 COND_TOOLKIT_MAC_USE_GUI_1=""
53782 fi
53783
53784 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
53785 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
53786 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
53787 fi
53788
53789 COND_TOOLKIT_MGL="#"
53790 if test "x$TOOLKIT" = "xMGL" ; then
53791 COND_TOOLKIT_MGL=""
53792 fi
53793
53794 COND_TOOLKIT_MGL_USE_GUI_1="#"
53795 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
53796 COND_TOOLKIT_MGL_USE_GUI_1=""
53797 fi
53798
53799 COND_TOOLKIT_MOTIF="#"
53800 if test "x$TOOLKIT" = "xMOTIF" ; then
53801 COND_TOOLKIT_MOTIF=""
53802 fi
53803
53804 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
53805 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
53806 COND_TOOLKIT_MOTIF_USE_GUI_1=""
53807 fi
53808
53809 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
53810 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
53811 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
53812 fi
53813
53814 COND_TOOLKIT_MSW="#"
53815 if test "x$TOOLKIT" = "xMSW" ; then
53816 COND_TOOLKIT_MSW=""
53817 fi
53818
53819 COND_TOOLKIT_MSW_USE_GUI_1="#"
53820 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
53821 COND_TOOLKIT_MSW_USE_GUI_1=""
53822 fi
53823
53824 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
53825 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
53826 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
53827 fi
53828
53829 COND_TOOLKIT_MSW_WXUNIV_0="#"
53830 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
53831 COND_TOOLKIT_MSW_WXUNIV_0=""
53832 fi
53833
53834 COND_TOOLKIT_PM="#"
53835 if test "x$TOOLKIT" = "xPM" ; then
53836 COND_TOOLKIT_PM=""
53837 fi
53838
53839 COND_TOOLKIT_PM_USE_GUI_1="#"
53840 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
53841 COND_TOOLKIT_PM_USE_GUI_1=""
53842 fi
53843
53844 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
53845 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
53846 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
53847 fi
53848
53849 COND_TOOLKIT_WINCE="#"
53850 if test "x$TOOLKIT" = "xWINCE" ; then
53851 COND_TOOLKIT_WINCE=""
53852 fi
53853
53854 COND_TOOLKIT_WINCE_USE_GUI_1="#"
53855 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
53856 COND_TOOLKIT_WINCE_USE_GUI_1=""
53857 fi
53858
53859 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
53860 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
53861 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
53862 fi
53863
53864 COND_TOOLKIT_WINCE_WXUNIV_0="#"
53865 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
53866 COND_TOOLKIT_WINCE_WXUNIV_0=""
53867 fi
53868
53869 COND_TOOLKIT_X11="#"
53870 if test "x$TOOLKIT" = "xX11" ; then
53871 COND_TOOLKIT_X11=""
53872 fi
53873
53874 COND_TOOLKIT_X11_USE_GUI_1="#"
53875 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
53876 COND_TOOLKIT_X11_USE_GUI_1=""
53877 fi
53878
53879 COND_UNICODE_1="#"
53880 if test "x$UNICODE" = "x1" ; then
53881 COND_UNICODE_1=""
53882 fi
53883
53884 COND_USE_EXCEPTIONS_0="#"
53885 if test "x$USE_EXCEPTIONS" = "x0" ; then
53886 COND_USE_EXCEPTIONS_0=""
53887 fi
53888
53889 COND_USE_EXCEPTIONS_1="#"
53890 if test "x$USE_EXCEPTIONS" = "x1" ; then
53891 COND_USE_EXCEPTIONS_1=""
53892 fi
53893
53894 COND_USE_GUI_0="#"
53895 if test "x$USE_GUI" = "x0" ; then
53896 COND_USE_GUI_0=""
53897 fi
53898
53899 COND_USE_GUI_1="#"
53900 if test "x$USE_GUI" = "x1" ; then
53901 COND_USE_GUI_1=""
53902 fi
53903
53904 COND_USE_GUI_1_WXUNIV_0="#"
53905 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
53906 COND_USE_GUI_1_WXUNIV_0=""
53907 fi
53908
53909 COND_USE_GUI_1_WXUNIV_1="#"
53910 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
53911 COND_USE_GUI_1_WXUNIV_1=""
53912 fi
53913
53914 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
53915 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
53916 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
53917 fi
53918
53919 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
53920 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
53921 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
53922 fi
53923
53924 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
53925 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
53926 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
53927 fi
53928
53929 COND_USE_ODBC_1="#"
53930 if test "x$USE_ODBC" = "x1" ; then
53931 COND_USE_ODBC_1=""
53932 fi
53933
53934 COND_USE_OPENGL_1="#"
53935 if test "x$USE_OPENGL" = "x1" ; then
53936 COND_USE_OPENGL_1=""
53937 fi
53938
53939 COND_USE_PCH_1="#"
53940 if test "x$USE_PCH" = "x1" ; then
53941 COND_USE_PCH_1=""
53942 fi
53943
53944 COND_USE_PLUGINS_0="#"
53945 if test "x$USE_PLUGINS" = "x0" ; then
53946 COND_USE_PLUGINS_0=""
53947 fi
53948
53949 COND_USE_RTTI_0="#"
53950 if test "x$USE_RTTI" = "x0" ; then
53951 COND_USE_RTTI_0=""
53952 fi
53953
53954 COND_USE_RTTI_1="#"
53955 if test "x$USE_RTTI" = "x1" ; then
53956 COND_USE_RTTI_1=""
53957 fi
53958
53959 COND_USE_SOSYMLINKS_1="#"
53960 if test "x$USE_SOSYMLINKS" = "x1" ; then
53961 COND_USE_SOSYMLINKS_1=""
53962 fi
53963
53964 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
53965 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
53966 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
53967 fi
53968
53969 COND_USE_SOVERLINUX_1="#"
53970 if test "x$USE_SOVERLINUX" = "x1" ; then
53971 COND_USE_SOVERLINUX_1=""
53972 fi
53973
53974 COND_USE_SOVERSION_0="#"
53975 if test "x$USE_SOVERSION" = "x0" ; then
53976 COND_USE_SOVERSION_0=""
53977 fi
53978
53979 COND_USE_SOVERSOLARIS_1="#"
53980 if test "x$USE_SOVERSOLARIS" = "x1" ; then
53981 COND_USE_SOVERSOLARIS_1=""
53982 fi
53983
53984 COND_USE_THREADS_0="#"
53985 if test "x$USE_THREADS" = "x0" ; then
53986 COND_USE_THREADS_0=""
53987 fi
53988
53989 COND_USE_THREADS_1="#"
53990 if test "x$USE_THREADS" = "x1" ; then
53991 COND_USE_THREADS_1=""
53992 fi
53993
53994 COND_USE_XRC_1="#"
53995 if test "x$USE_XRC" = "x1" ; then
53996 COND_USE_XRC_1=""
53997 fi
53998
53999 COND_WINDOWS_IMPLIB_1="#"
54000 if test "x$WINDOWS_IMPLIB" = "x1" ; then
54001 COND_WINDOWS_IMPLIB_1=""
54002 fi
54003
54004 COND_WITH_PLUGIN_SDL_1="#"
54005 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
54006 COND_WITH_PLUGIN_SDL_1=""
54007 fi
54008
54009 COND_WXUNIV_0="#"
54010 if test "x$WXUNIV" = "x0" ; then
54011 COND_WXUNIV_0=""
54012 fi
54013
54014 COND_WXUNIV_1="#"
54015 if test "x$WXUNIV" = "x1" ; then
54016 COND_WXUNIV_1=""
54017 fi
54018
54019 COND_WXUSE_EXPAT_BUILTIN="#"
54020 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
54021 COND_WXUSE_EXPAT_BUILTIN=""
54022 fi
54023
54024 COND_WXUSE_LIBJPEG_BUILTIN="#"
54025 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
54026 COND_WXUSE_LIBJPEG_BUILTIN=""
54027 fi
54028
54029 COND_WXUSE_LIBPNG_BUILTIN="#"
54030 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
54031 COND_WXUSE_LIBPNG_BUILTIN=""
54032 fi
54033
54034 COND_WXUSE_LIBTIFF_BUILTIN="#"
54035 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
54036 COND_WXUSE_LIBTIFF_BUILTIN=""
54037 fi
54038
54039 COND_WXUSE_ODBC_BUILTIN="#"
54040 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
54041 COND_WXUSE_ODBC_BUILTIN=""
54042 fi
54043
54044 COND_WXUSE_REGEX_BUILTIN="#"
54045 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
54046 COND_WXUSE_REGEX_BUILTIN=""
54047 fi
54048
54049 COND_WXUSE_ZLIB_BUILTIN="#"
54050 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
54051 COND_WXUSE_ZLIB_BUILTIN=""
54052 fi
54053
54054
54055
54056 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
54057 { { echo "$as_me:$LINENO: error: No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" >&5
54058 echo "$as_me: error: No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" >&2;}
54059 { (exit 1); exit 1; }; }
54060 fi
54061
54062 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
54063 { { echo "$as_me:$LINENO: error: Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." >&5
54064 echo "$as_me: error: Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." >&2;}
54065 { (exit 1); exit 1; }; }
54066 fi
54067
54068
54069 if test $GCC_PCH = 1
54070 then
54071 if test "$wx_cv_gcc_pch_bug" = yes; then
54072 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
54073 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
54074 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
54075 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
54076 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
54077 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
54078 fi
54079
54080 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
54081 fi
54082
54083
54084 if test "$wxUSE_MAC" = 1 ; then
54085 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
54086 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
54087 mv temp bk-deps
54088 chmod +x bk-deps
54089 fi
54090 fi
54091
54092 if test "$wxUSE_SHARED" = "yes"; then
54093
54094 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
54095 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
54096
54097 case "${host}" in
54098 *-pc-os2_emx | *-pc-os2-emx )
54099 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
54100 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
54101 cp -p ${srcdir}/src/os2/dllnames.sh .
54102 cp -p ${srcdir}/src/os2/dllar.sh .
54103 ;;
54104 esac
54105 else
54106
54107 EXE_LINKER="$CXX -o"
54108
54109 fi
54110 if test "$wxUSE_OMF" = "yes"; then
54111 case "${host}" in
54112 *-pc-os2_emx | *-pc-os2-emx )
54113 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
54114 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
54115 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
54116 ;;
54117 esac
54118 fi
54119
54120 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
54121
54122 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
54123
54124
54125
54126
54127
54128
54129
54130
54131
54132
54133
54134
54135
54136
54137
54138
54139
54140
54141
54142
54143
54144
54145
54146
54147
54148
54149
54150
54151
54152
54153
54154
54155
54156
54157
54158
54159
54160
54161
54162
54163
54164
54165
54166
54167
54168
54169
54170
54171
54172
54173
54174
54175
54176
54177
54178
54179
54180
54181
54182
54183
54184 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
54185 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
54186 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
54187 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
54188 echo $ECHO_N "(cached) $ECHO_C" >&6
54189 else
54190 cat >conftest.make <<\_ACEOF
54191 SHELL = /bin/sh
54192 all:
54193 @echo '@@@%%%=$(MAKE)=@@@%%%'
54194 _ACEOF
54195 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
54196 case `${MAKE-make} -f conftest.make 2>/dev/null` in
54197 *@@@%%%=?*=@@@%%%*)
54198 eval ac_cv_prog_make_${ac_make}_set=yes;;
54199 *)
54200 eval ac_cv_prog_make_${ac_make}_set=no;;
54201 esac
54202 rm -f conftest.make
54203 fi
54204 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
54205 { echo "$as_me:$LINENO: result: yes" >&5
54206 echo "${ECHO_T}yes" >&6; }
54207 SET_MAKE=
54208 else
54209 { echo "$as_me:$LINENO: result: no" >&5
54210 echo "${ECHO_T}no" >&6; }
54211 SET_MAKE="MAKE=${MAKE-make}"
54212 fi
54213
54214
54215
54216 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
54217
54218
54219 if test "$USE_WIN32" = 1; then
54220 ac_config_commands="$ac_config_commands
54221 rcdefs.h
54222 "
54223
54224 fi
54225
54226 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
54227
54228
54229 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
54230
54231
54232 if test "$wx_cv_version_script" = "yes"; then
54233 ac_config_files="$ac_config_files version-script"
54234
54235 fi
54236 ac_config_files="$ac_config_files Makefile"
54237
54238
54239 ac_config_commands="$ac_config_commands wx-config"
54240
54241
54242
54243 if test "$wxWITH_SUBDIRS" != "no"; then
54244 if test "$wxUSE_GUI" = "yes"; then
54245 SUBDIRS="samples demos utils"
54246 else SUBDIRS="samples utils"
54247 fi
54248
54249
54250
54251 # Check whether --with-cppunit-prefix was given.
54252 if test "${with_cppunit_prefix+set}" = set; then
54253 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
54254 else
54255 cppunit_config_prefix=""
54256 fi
54257
54258
54259 # Check whether --with-cppunit-exec-prefix was given.
54260 if test "${with_cppunit_exec_prefix+set}" = set; then
54261 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
54262 else
54263 cppunit_config_exec_prefix=""
54264 fi
54265
54266
54267 if test x$cppunit_config_exec_prefix != x ; then
54268 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
54269 if test x${CPPUNIT_CONFIG+set} != xset ; then
54270 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
54271 fi
54272 fi
54273 if test x$cppunit_config_prefix != x ; then
54274 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
54275 if test x${CPPUNIT_CONFIG+set} != xset ; then
54276 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
54277 fi
54278 fi
54279
54280 # Extract the first word of "cppunit-config", so it can be a program name with args.
54281 set dummy cppunit-config; ac_word=$2
54282 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54284 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
54285 echo $ECHO_N "(cached) $ECHO_C" >&6
54286 else
54287 case $CPPUNIT_CONFIG in
54288 [\\/]* | ?:[\\/]*)
54289 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
54290 ;;
54291 *)
54292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54293 for as_dir in $PATH
54294 do
54295 IFS=$as_save_IFS
54296 test -z "$as_dir" && as_dir=.
54297 for ac_exec_ext in '' $ac_executable_extensions; do
54298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
54299 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
54300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54301 break 2
54302 fi
54303 done
54304 done
54305 IFS=$as_save_IFS
54306
54307 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
54308 ;;
54309 esac
54310 fi
54311 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
54312 if test -n "$CPPUNIT_CONFIG"; then
54313 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
54314 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
54315 else
54316 { echo "$as_me:$LINENO: result: no" >&5
54317 echo "${ECHO_T}no" >&6; }
54318 fi
54319
54320
54321 cppunit_version_min=1.8.0
54322
54323 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
54324 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
54325 no_cppunit=""
54326 if test "$CPPUNIT_CONFIG" = "no" ; then
54327 { echo "$as_me:$LINENO: result: no" >&5
54328 echo "${ECHO_T}no" >&6; }
54329 no_cppunit=yes
54330 else
54331 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
54332 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
54333 cppunit_version=`$CPPUNIT_CONFIG --version`
54334
54335 cppunit_major_version=`echo $cppunit_version | \
54336 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
54337 cppunit_minor_version=`echo $cppunit_version | \
54338 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
54339 cppunit_micro_version=`echo $cppunit_version | \
54340 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
54341
54342 cppunit_major_min=`echo $cppunit_version_min | \
54343 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
54344 cppunit_minor_min=`echo $cppunit_version_min | \
54345 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
54346 cppunit_micro_min=`echo $cppunit_version_min | \
54347 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
54348
54349 cppunit_version_proper=`expr \
54350 $cppunit_major_version \> $cppunit_major_min \| \
54351 $cppunit_major_version \= $cppunit_major_min \& \
54352 $cppunit_minor_version \> $cppunit_minor_min \| \
54353 $cppunit_major_version \= $cppunit_major_min \& \
54354 $cppunit_minor_version \= $cppunit_minor_min \& \
54355 $cppunit_micro_version \>= $cppunit_micro_min `
54356
54357 if test "$cppunit_version_proper" = "1" ; then
54358 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
54359 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
54360 else
54361 { echo "$as_me:$LINENO: result: no" >&5
54362 echo "${ECHO_T}no" >&6; }
54363 no_cppunit=yes
54364 fi
54365 fi
54366
54367 if test "x$no_cppunit" = x ; then
54368 SUBDIRS="$SUBDIRS tests"
54369 else
54370 CPPUNIT_CFLAGS=""
54371 CPPUNIT_LIBS=""
54372 :
54373 fi
54374
54375
54376
54377
54378
54379 for subdir in `echo $SUBDIRS`; do
54380 if test -d ${srcdir}/${subdir} ; then
54381 if test "$wxUSE_GUI" = "yes"; then
54382 if test ${subdir} = "samples"; then
54383 makefiles="samples/Makefile.in $makefiles"
54384 for sample in `echo $SAMPLES_SUBDIRS`; do
54385 if test -d $srcdir/samples/$sample; then
54386 makefiles="samples/$sample/Makefile.in $makefiles"
54387 fi
54388 done
54389 else
54390 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
54391 eval "disabled=\$$disabled_var"
54392 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
54393 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
54394 fi
54395 else if test ${subdir} = "samples"; then
54396 makefiles="samples/Makefile.in samples/console/Makefile.in"
54397 elif test ${subdir} = "utils"; then
54398 makefiles=""
54399 for util in HelpGen tex2rtf ; do
54400 if test -d $srcdir/utils/$util ; then
54401 makefiles="utils/$util/Makefile.in \
54402 utils/$util/src/Makefile.in \
54403 $makefiles"
54404 fi
54405 done
54406 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
54407 fi
54408 fi
54409
54410 for mkin in $makefiles ; do
54411 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
54412 ac_config_files="$ac_config_files $mk"
54413
54414 done
54415 fi
54416 done
54417 fi
54418 cat >confcache <<\_ACEOF
54419 # This file is a shell script that caches the results of configure
54420 # tests run on this system so they can be shared between configure
54421 # scripts and configure runs, see configure's option --config-cache.
54422 # It is not useful on other systems. If it contains results you don't
54423 # want to keep, you may remove or edit it.
54424 #
54425 # config.status only pays attention to the cache file if you give it
54426 # the --recheck option to rerun configure.
54427 #
54428 # `ac_cv_env_foo' variables (set or unset) will be overridden when
54429 # loading this file, other *unset* `ac_cv_foo' will be assigned the
54430 # following values.
54431
54432 _ACEOF
54433
54434 # The following way of writing the cache mishandles newlines in values,
54435 # but we know of no workaround that is simple, portable, and efficient.
54436 # So, we kill variables containing newlines.
54437 # Ultrix sh set writes to stderr and can't be redirected directly,
54438 # and sets the high bit in the cache file unless we assign to the vars.
54439 (
54440 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
54441 eval ac_val=\$$ac_var
54442 case $ac_val in #(
54443 *${as_nl}*)
54444 case $ac_var in #(
54445 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
54446 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
54447 esac
54448 case $ac_var in #(
54449 _ | IFS | as_nl) ;; #(
54450 *) $as_unset $ac_var ;;
54451 esac ;;
54452 esac
54453 done
54454
54455 (set) 2>&1 |
54456 case $as_nl`(ac_space=' '; set) 2>&1` in #(
54457 *${as_nl}ac_space=\ *)
54458 # `set' does not quote correctly, so add quotes (double-quote
54459 # substitution turns \\\\ into \\, and sed turns \\ into \).
54460 sed -n \
54461 "s/'/'\\\\''/g;
54462 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
54463 ;; #(
54464 *)
54465 # `set' quotes correctly as required by POSIX, so do not add quotes.
54466 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
54467 ;;
54468 esac |
54469 sort
54470 ) |
54471 sed '
54472 /^ac_cv_env_/b end
54473 t clear
54474 :clear
54475 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
54476 t end
54477 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
54478 :end' >>confcache
54479 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
54480 if test -w "$cache_file"; then
54481 test "x$cache_file" != "x/dev/null" &&
54482 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
54483 echo "$as_me: updating cache $cache_file" >&6;}
54484 cat confcache >$cache_file
54485 else
54486 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
54487 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
54488 fi
54489 fi
54490 rm -f confcache
54491
54492 test "x$prefix" = xNONE && prefix=$ac_default_prefix
54493 # Let make expand exec_prefix.
54494 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
54495
54496 DEFS=-DHAVE_CONFIG_H
54497
54498 ac_libobjs=
54499 ac_ltlibobjs=
54500 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
54501 # 1. Remove the extension, and $U if already installed.
54502 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
54503 ac_i=`echo "$ac_i" | sed "$ac_script"`
54504 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
54505 # will be set to the directory where LIBOBJS objects are built.
54506 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
54507 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
54508 done
54509 LIBOBJS=$ac_libobjs
54510
54511 LTLIBOBJS=$ac_ltlibobjs
54512
54513
54514
54515 : ${CONFIG_STATUS=./config.status}
54516 ac_clean_files_save=$ac_clean_files
54517 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
54518 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
54519 echo "$as_me: creating $CONFIG_STATUS" >&6;}
54520 cat >$CONFIG_STATUS <<_ACEOF
54521 #! $SHELL
54522 # Generated by $as_me.
54523 # Run this file to recreate the current configuration.
54524 # Compiler output produced by configure, useful for debugging
54525 # configure, is in config.log if it exists.
54526
54527 debug=false
54528 ac_cs_recheck=false
54529 ac_cs_silent=false
54530 SHELL=\${CONFIG_SHELL-$SHELL}
54531 _ACEOF
54532
54533 cat >>$CONFIG_STATUS <<\_ACEOF
54534 ## --------------------- ##
54535 ## M4sh Initialization. ##
54536 ## --------------------- ##
54537
54538 # Be Bourne compatible
54539 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
54540 emulate sh
54541 NULLCMD=:
54542 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
54543 # is contrary to our usage. Disable this feature.
54544 alias -g '${1+"$@"}'='"$@"'
54545 setopt NO_GLOB_SUBST
54546 else
54547 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
54548 fi
54549 BIN_SH=xpg4; export BIN_SH # for Tru64
54550 DUALCASE=1; export DUALCASE # for MKS sh
54551
54552
54553 # PATH needs CR
54554 # Avoid depending upon Character Ranges.
54555 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
54556 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
54557 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
54558 as_cr_digits='0123456789'
54559 as_cr_alnum=$as_cr_Letters$as_cr_digits
54560
54561 # The user is always right.
54562 if test "${PATH_SEPARATOR+set}" != set; then
54563 echo "#! /bin/sh" >conf$$.sh
54564 echo "exit 0" >>conf$$.sh
54565 chmod +x conf$$.sh
54566 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
54567 PATH_SEPARATOR=';'
54568 else
54569 PATH_SEPARATOR=:
54570 fi
54571 rm -f conf$$.sh
54572 fi
54573
54574 # Support unset when possible.
54575 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
54576 as_unset=unset
54577 else
54578 as_unset=false
54579 fi
54580
54581
54582 # IFS
54583 # We need space, tab and new line, in precisely that order. Quoting is
54584 # there to prevent editors from complaining about space-tab.
54585 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
54586 # splitting by setting IFS to empty value.)
54587 as_nl='
54588 '
54589 IFS=" "" $as_nl"
54590
54591 # Find who we are. Look in the path if we contain no directory separator.
54592 case $0 in
54593 *[\\/]* ) as_myself=$0 ;;
54594 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54595 for as_dir in $PATH
54596 do
54597 IFS=$as_save_IFS
54598 test -z "$as_dir" && as_dir=.
54599 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
54600 done
54601 IFS=$as_save_IFS
54602
54603 ;;
54604 esac
54605 # We did not find ourselves, most probably we were run as `sh COMMAND'
54606 # in which case we are not to be found in the path.
54607 if test "x$as_myself" = x; then
54608 as_myself=$0
54609 fi
54610 if test ! -f "$as_myself"; then
54611 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
54612 { (exit 1); exit 1; }
54613 fi
54614
54615 # Work around bugs in pre-3.0 UWIN ksh.
54616 for as_var in ENV MAIL MAILPATH
54617 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
54618 done
54619 PS1='$ '
54620 PS2='> '
54621 PS4='+ '
54622
54623 # NLS nuisances.
54624 for as_var in \
54625 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
54626 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
54627 LC_TELEPHONE LC_TIME
54628 do
54629 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
54630 eval $as_var=C; export $as_var
54631 else
54632 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
54633 fi
54634 done
54635
54636 # Required to use basename.
54637 if expr a : '\(a\)' >/dev/null 2>&1 &&
54638 test "X`expr 00001 : '.*\(...\)'`" = X001; then
54639 as_expr=expr
54640 else
54641 as_expr=false
54642 fi
54643
54644 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
54645 as_basename=basename
54646 else
54647 as_basename=false
54648 fi
54649
54650
54651 # Name of the executable.
54652 as_me=`$as_basename -- "$0" ||
54653 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
54654 X"$0" : 'X\(//\)$' \| \
54655 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
54656 echo X/"$0" |
54657 sed '/^.*\/\([^/][^/]*\)\/*$/{
54658 s//\1/
54659 q
54660 }
54661 /^X\/\(\/\/\)$/{
54662 s//\1/
54663 q
54664 }
54665 /^X\/\(\/\).*/{
54666 s//\1/
54667 q
54668 }
54669 s/.*/./; q'`
54670
54671 # CDPATH.
54672 $as_unset CDPATH
54673
54674
54675
54676 as_lineno_1=$LINENO
54677 as_lineno_2=$LINENO
54678 test "x$as_lineno_1" != "x$as_lineno_2" &&
54679 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
54680
54681 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
54682 # uniformly replaced by the line number. The first 'sed' inserts a
54683 # line-number line after each line using $LINENO; the second 'sed'
54684 # does the real work. The second script uses 'N' to pair each
54685 # line-number line with the line containing $LINENO, and appends
54686 # trailing '-' during substitution so that $LINENO is not a special
54687 # case at line end.
54688 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
54689 # scripts with optimization help from Paolo Bonzini. Blame Lee
54690 # E. McMahon (1931-1989) for sed's syntax. :-)
54691 sed -n '
54692 p
54693 /[$]LINENO/=
54694 ' <$as_myself |
54695 sed '
54696 s/[$]LINENO.*/&-/
54697 t lineno
54698 b
54699 :lineno
54700 N
54701 :loop
54702 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
54703 t loop
54704 s/-\n.*//
54705 ' >$as_me.lineno &&
54706 chmod +x "$as_me.lineno" ||
54707 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
54708 { (exit 1); exit 1; }; }
54709
54710 # Don't try to exec as it changes $[0], causing all sort of problems
54711 # (the dirname of $[0] is not the place where we might find the
54712 # original and so on. Autoconf is especially sensitive to this).
54713 . "./$as_me.lineno"
54714 # Exit status is that of the last command.
54715 exit
54716 }
54717
54718
54719 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
54720 as_dirname=dirname
54721 else
54722 as_dirname=false
54723 fi
54724
54725 ECHO_C= ECHO_N= ECHO_T=
54726 case `echo -n x` in
54727 -n*)
54728 case `echo 'x\c'` in
54729 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
54730 *) ECHO_C='\c';;
54731 esac;;
54732 *)
54733 ECHO_N='-n';;
54734 esac
54735
54736 if expr a : '\(a\)' >/dev/null 2>&1 &&
54737 test "X`expr 00001 : '.*\(...\)'`" = X001; then
54738 as_expr=expr
54739 else
54740 as_expr=false
54741 fi
54742
54743 rm -f conf$$ conf$$.exe conf$$.file
54744 if test -d conf$$.dir; then
54745 rm -f conf$$.dir/conf$$.file
54746 else
54747 rm -f conf$$.dir
54748 mkdir conf$$.dir
54749 fi
54750 echo >conf$$.file
54751 if ln -s conf$$.file conf$$ 2>/dev/null; then
54752 as_ln_s='ln -s'
54753 # ... but there are two gotchas:
54754 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
54755 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
54756 # In both cases, we have to default to `cp -p'.
54757 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
54758 as_ln_s='cp -p'
54759 elif ln conf$$.file conf$$ 2>/dev/null; then
54760 as_ln_s=ln
54761 else
54762 as_ln_s='cp -p'
54763 fi
54764 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
54765 rmdir conf$$.dir 2>/dev/null
54766
54767 if mkdir -p . 2>/dev/null; then
54768 as_mkdir_p=:
54769 else
54770 test -d ./-p && rmdir ./-p
54771 as_mkdir_p=false
54772 fi
54773
54774 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
54775 # systems may use methods other than mode bits to determine executability.
54776 cat >conf$$.file <<_ASEOF
54777 #! /bin/sh
54778 exit 0
54779 _ASEOF
54780 chmod +x conf$$.file
54781 if test -x conf$$.file >/dev/null 2>&1; then
54782 as_executable_p="test -x"
54783 else
54784 as_executable_p=:
54785 fi
54786 rm -f conf$$.file
54787
54788 # Sed expression to map a string onto a valid CPP name.
54789 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
54790
54791 # Sed expression to map a string onto a valid variable name.
54792 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
54793
54794
54795 exec 6>&1
54796
54797 # Save the log message, to keep $[0] and so on meaningful, and to
54798 # report actual input values of CONFIG_FILES etc. instead of their
54799 # values after options handling.
54800 ac_log="
54801 This file was extended by wxWidgets $as_me 2.9.0, which was
54802 generated by GNU Autoconf 2.60. Invocation command line was
54803
54804 CONFIG_FILES = $CONFIG_FILES
54805 CONFIG_HEADERS = $CONFIG_HEADERS
54806 CONFIG_LINKS = $CONFIG_LINKS
54807 CONFIG_COMMANDS = $CONFIG_COMMANDS
54808 $ $0 $@
54809
54810 on `(hostname || uname -n) 2>/dev/null | sed 1q`
54811 "
54812
54813 _ACEOF
54814
54815 cat >>$CONFIG_STATUS <<_ACEOF
54816 # Files that config.status was made for.
54817 config_files="$ac_config_files"
54818 config_headers="$ac_config_headers"
54819 config_commands="$ac_config_commands"
54820
54821 _ACEOF
54822
54823 cat >>$CONFIG_STATUS <<\_ACEOF
54824 ac_cs_usage="\
54825 \`$as_me' instantiates files from templates according to the
54826 current configuration.
54827
54828 Usage: $0 [OPTIONS] [FILE]...
54829
54830 -h, --help print this help, then exit
54831 -V, --version print version number, then exit
54832 -q, --quiet do not print progress messages
54833 -d, --debug don't remove temporary files
54834 --recheck update $as_me by reconfiguring in the same conditions
54835 --file=FILE[:TEMPLATE]
54836 instantiate the configuration file FILE
54837 --header=FILE[:TEMPLATE]
54838 instantiate the configuration header FILE
54839
54840 Configuration files:
54841 $config_files
54842
54843 Configuration headers:
54844 $config_headers
54845
54846 Configuration commands:
54847 $config_commands
54848
54849 Report bugs to <bug-autoconf@gnu.org>."
54850
54851 _ACEOF
54852 cat >>$CONFIG_STATUS <<_ACEOF
54853 ac_cs_version="\\
54854 wxWidgets config.status 2.9.0
54855 configured by $0, generated by GNU Autoconf 2.60,
54856 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
54857
54858 Copyright (C) 2006 Free Software Foundation, Inc.
54859 This config.status script is free software; the Free Software Foundation
54860 gives unlimited permission to copy, distribute and modify it."
54861
54862 ac_pwd='$ac_pwd'
54863 srcdir='$srcdir'
54864 INSTALL='$INSTALL'
54865 _ACEOF
54866
54867 cat >>$CONFIG_STATUS <<\_ACEOF
54868 # If no file are specified by the user, then we need to provide default
54869 # value. By we need to know if files were specified by the user.
54870 ac_need_defaults=:
54871 while test $# != 0
54872 do
54873 case $1 in
54874 --*=*)
54875 ac_option=`expr "X$1" : 'X\([^=]*\)='`
54876 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
54877 ac_shift=:
54878 ;;
54879 *)
54880 ac_option=$1
54881 ac_optarg=$2
54882 ac_shift=shift
54883 ;;
54884 esac
54885
54886 case $ac_option in
54887 # Handling of the options.
54888 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
54889 ac_cs_recheck=: ;;
54890 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
54891 echo "$ac_cs_version"; exit ;;
54892 --debug | --debu | --deb | --de | --d | -d )
54893 debug=: ;;
54894 --file | --fil | --fi | --f )
54895 $ac_shift
54896 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
54897 ac_need_defaults=false;;
54898 --header | --heade | --head | --hea )
54899 $ac_shift
54900 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
54901 ac_need_defaults=false;;
54902 --he | --h)
54903 # Conflict between --help and --header
54904 { echo "$as_me: error: ambiguous option: $1
54905 Try \`$0 --help' for more information." >&2
54906 { (exit 1); exit 1; }; };;
54907 --help | --hel | -h )
54908 echo "$ac_cs_usage"; exit ;;
54909 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
54910 | -silent | --silent | --silen | --sile | --sil | --si | --s)
54911 ac_cs_silent=: ;;
54912
54913 # This is an error.
54914 -*) { echo "$as_me: error: unrecognized option: $1
54915 Try \`$0 --help' for more information." >&2
54916 { (exit 1); exit 1; }; } ;;
54917
54918 *) ac_config_targets="$ac_config_targets $1"
54919 ac_need_defaults=false ;;
54920
54921 esac
54922 shift
54923 done
54924
54925 ac_configure_extra_args=
54926
54927 if $ac_cs_silent; then
54928 exec 6>/dev/null
54929 ac_configure_extra_args="$ac_configure_extra_args --silent"
54930 fi
54931
54932 _ACEOF
54933 cat >>$CONFIG_STATUS <<_ACEOF
54934 if \$ac_cs_recheck; then
54935 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
54936 CONFIG_SHELL=$SHELL
54937 export CONFIG_SHELL
54938 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
54939 fi
54940
54941 _ACEOF
54942 cat >>$CONFIG_STATUS <<\_ACEOF
54943 exec 5>>config.log
54944 {
54945 echo
54946 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
54947 ## Running $as_me. ##
54948 _ASBOX
54949 echo "$ac_log"
54950 } >&5
54951
54952 _ACEOF
54953 cat >>$CONFIG_STATUS <<_ACEOF
54954 #
54955 # INIT-COMMANDS
54956 #
54957
54958 CPP="$CPP"
54959 infile="$srcdir/include/wx/msw/genrcdefs.h"
54960 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
54961
54962
54963 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
54964 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
54965 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
54966 LN_S="${LN_S}"
54967
54968
54969 _ACEOF
54970
54971 cat >>$CONFIG_STATUS <<\_ACEOF
54972
54973 # Handling of arguments.
54974 for ac_config_target in $ac_config_targets
54975 do
54976 case $ac_config_target in
54977 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
54978 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
54979 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
54980 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
54981 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
54982 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
54983 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
54984 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
54985
54986 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
54987 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
54988 { (exit 1); exit 1; }; };;
54989 esac
54990 done
54991
54992
54993 # If the user did not use the arguments to specify the items to instantiate,
54994 # then the envvar interface is used. Set only those that are not.
54995 # We use the long form for the default assignment because of an extremely
54996 # bizarre bug on SunOS 4.1.3.
54997 if $ac_need_defaults; then
54998 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
54999 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
55000 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
55001 fi
55002
55003 # Have a temporary directory for convenience. Make it in the build tree
55004 # simply because there is no reason against having it here, and in addition,
55005 # creating and moving files from /tmp can sometimes cause problems.
55006 # Hook for its removal unless debugging.
55007 # Note that there is a small window in which the directory will not be cleaned:
55008 # after its creation but before its name has been assigned to `$tmp'.
55009 $debug ||
55010 {
55011 tmp=
55012 trap 'exit_status=$?
55013 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
55014 ' 0
55015 trap '{ (exit 1); exit 1; }' 1 2 13 15
55016 }
55017 # Create a (secure) tmp directory for tmp files.
55018
55019 {
55020 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
55021 test -n "$tmp" && test -d "$tmp"
55022 } ||
55023 {
55024 tmp=./conf$$-$RANDOM
55025 (umask 077 && mkdir "$tmp")
55026 } ||
55027 {
55028 echo "$me: cannot create a temporary directory in ." >&2
55029 { (exit 1); exit 1; }
55030 }
55031
55032 #
55033 # Set up the sed scripts for CONFIG_FILES section.
55034 #
55035
55036 # No need to generate the scripts if there are no CONFIG_FILES.
55037 # This happens for instance when ./config.status config.h
55038 if test -n "$CONFIG_FILES"; then
55039
55040 _ACEOF
55041
55042
55043
55044 ac_delim='%!_!# '
55045 for ac_last_try in false false false false false :; do
55046 cat >conf$$subs.sed <<_ACEOF
55047 SHELL!$SHELL$ac_delim
55048 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
55049 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
55050 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
55051 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
55052 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
55053 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
55054 exec_prefix!$exec_prefix$ac_delim
55055 prefix!$prefix$ac_delim
55056 program_transform_name!$program_transform_name$ac_delim
55057 bindir!$bindir$ac_delim
55058 sbindir!$sbindir$ac_delim
55059 libexecdir!$libexecdir$ac_delim
55060 datarootdir!$datarootdir$ac_delim
55061 datadir!$datadir$ac_delim
55062 sysconfdir!$sysconfdir$ac_delim
55063 sharedstatedir!$sharedstatedir$ac_delim
55064 localstatedir!$localstatedir$ac_delim
55065 includedir!$includedir$ac_delim
55066 oldincludedir!$oldincludedir$ac_delim
55067 docdir!$docdir$ac_delim
55068 infodir!$infodir$ac_delim
55069 htmldir!$htmldir$ac_delim
55070 dvidir!$dvidir$ac_delim
55071 pdfdir!$pdfdir$ac_delim
55072 psdir!$psdir$ac_delim
55073 libdir!$libdir$ac_delim
55074 localedir!$localedir$ac_delim
55075 mandir!$mandir$ac_delim
55076 DEFS!$DEFS$ac_delim
55077 ECHO_C!$ECHO_C$ac_delim
55078 ECHO_N!$ECHO_N$ac_delim
55079 ECHO_T!$ECHO_T$ac_delim
55080 LIBS!$LIBS$ac_delim
55081 build_alias!$build_alias$ac_delim
55082 host_alias!$host_alias$ac_delim
55083 target_alias!$target_alias$ac_delim
55084 build!$build$ac_delim
55085 build_cpu!$build_cpu$ac_delim
55086 build_vendor!$build_vendor$ac_delim
55087 build_os!$build_os$ac_delim
55088 host!$host$ac_delim
55089 host_cpu!$host_cpu$ac_delim
55090 host_vendor!$host_vendor$ac_delim
55091 host_os!$host_os$ac_delim
55092 target!$target$ac_delim
55093 target_cpu!$target_cpu$ac_delim
55094 target_vendor!$target_vendor$ac_delim
55095 target_os!$target_os$ac_delim
55096 wx_top_builddir!$wx_top_builddir$ac_delim
55097 CC!$CC$ac_delim
55098 CFLAGS!$CFLAGS$ac_delim
55099 LDFLAGS!$LDFLAGS$ac_delim
55100 CPPFLAGS!$CPPFLAGS$ac_delim
55101 ac_ct_CC!$ac_ct_CC$ac_delim
55102 EXEEXT!$EXEEXT$ac_delim
55103 OBJEXT!$OBJEXT$ac_delim
55104 CPP!$CPP$ac_delim
55105 GREP!$GREP$ac_delim
55106 EGREP!$EGREP$ac_delim
55107 CXX!$CXX$ac_delim
55108 CXXFLAGS!$CXXFLAGS$ac_delim
55109 ac_ct_CXX!$ac_ct_CXX$ac_delim
55110 RANLIB!$RANLIB$ac_delim
55111 AR!$AR$ac_delim
55112 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
55113 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
55114 INSTALL_DATA!$INSTALL_DATA$ac_delim
55115 STRIP!$STRIP$ac_delim
55116 WINDRES!$WINDRES$ac_delim
55117 DLLTOOL!$DLLTOOL$ac_delim
55118 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
55119 LN_S!$LN_S$ac_delim
55120 subdirs!$subdirs$ac_delim
55121 PKG_CONFIG!$PKG_CONFIG$ac_delim
55122 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
55123 GTK_LIBS!$GTK_LIBS$ac_delim
55124 GTK_CONFIG!$GTK_CONFIG$ac_delim
55125 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
55126 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
55127 XMKMF!$XMKMF$ac_delim
55128 X_CFLAGS!$X_CFLAGS$ac_delim
55129 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
55130 X_LIBS!$X_LIBS$ac_delim
55131 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
55132 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
55133 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
55134 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
55135 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
55136 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
55137 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
55138 REZ!$REZ$ac_delim
55139 DEREZ!$DEREZ$ac_delim
55140 SETFILE!$SETFILE$ac_delim
55141 LIBICONV!$LIBICONV$ac_delim
55142 SDL_CONFIG!$SDL_CONFIG$ac_delim
55143 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
55144 _ACEOF
55145
55146 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
55147 break
55148 elif $ac_last_try; then
55149 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
55150 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
55151 { (exit 1); exit 1; }; }
55152 else
55153 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
55154 fi
55155 done
55156
55157 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
55158 if test -n "$ac_eof"; then
55159 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
55160 ac_eof=`expr $ac_eof + 1`
55161 fi
55162
55163 cat >>$CONFIG_STATUS <<_ACEOF
55164 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
55165 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
55166 _ACEOF
55167 sed '
55168 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
55169 s/^/s,@/; s/!/@,|#_!!_#|/
55170 :n
55171 t n
55172 s/'"$ac_delim"'$/,g/; t
55173 s/$/\\/; p
55174 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
55175 ' >>$CONFIG_STATUS <conf$$subs.sed
55176 rm -f conf$$subs.sed
55177 cat >>$CONFIG_STATUS <<_ACEOF
55178 CEOF$ac_eof
55179 _ACEOF
55180
55181
55182 ac_delim='%!_!# '
55183 for ac_last_try in false false false false false :; do
55184 cat >conf$$subs.sed <<_ACEOF
55185 SDL_LIBS!$SDL_LIBS$ac_delim
55186 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
55187 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
55188 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
55189 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
55190 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
55191 HILDON_LIBS!$HILDON_LIBS$ac_delim
55192 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
55193 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
55194 GST_CFLAGS!$GST_CFLAGS$ac_delim
55195 GST_LIBS!$GST_LIBS$ac_delim
55196 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
55197 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
55198 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
55199 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
55200 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
55201 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
55202 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
55203 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
55204 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
55205 VENDOR!$VENDOR$ac_delim
55206 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
55207 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
55208 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
55209 WXUNIV!$WXUNIV$ac_delim
55210 MONOLITHIC!$MONOLITHIC$ac_delim
55211 USE_PLUGINS!$USE_PLUGINS$ac_delim
55212 EXTRALIBS!$EXTRALIBS$ac_delim
55213 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
55214 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
55215 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
55216 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
55217 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
55218 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
55219 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
55220 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
55221 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
55222 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
55223 UNICODE!$UNICODE$ac_delim
55224 BUILD!$BUILD$ac_delim
55225 DEBUG_INFO!$DEBUG_INFO$ac_delim
55226 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
55227 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
55228 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
55229 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
55230 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
55231 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
55232 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
55233 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
55234 SET_MAKE!$SET_MAKE$ac_delim
55235 MAKE_SET!$MAKE_SET$ac_delim
55236 AROPTIONS!$AROPTIONS$ac_delim
55237 NM!$NM$ac_delim
55238 INSTALL_DIR!$INSTALL_DIR$ac_delim
55239 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
55240 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
55241 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
55242 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
55243 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
55244 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
55245 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
55246 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
55247 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
55248 SO_SUFFIX!$SO_SUFFIX$ac_delim
55249 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
55250 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
55251 LIBPREFIX!$LIBPREFIX$ac_delim
55252 LIBEXT!$LIBEXT$ac_delim
55253 DLLPREFIX!$DLLPREFIX$ac_delim
55254 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
55255 dlldir!$dlldir$ac_delim
55256 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
55257 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
55258 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
55259 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
55260 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
55261 PIC_FLAG!$PIC_FLAG$ac_delim
55262 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
55263 USE_SOVERSION!$USE_SOVERSION$ac_delim
55264 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
55265 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
55266 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
55267 USE_MACVERSION!$USE_MACVERSION$ac_delim
55268 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
55269 SONAME_FLAG!$SONAME_FLAG$ac_delim
55270 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
55271 BK_DEPS!$BK_DEPS$ac_delim
55272 GCC_PCH!$GCC_PCH$ac_delim
55273 ICC_PCH!$ICC_PCH$ac_delim
55274 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
55275 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
55276 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
55277 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
55278 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
55279 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
55280 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
55281 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
55282 _ACEOF
55283
55284 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
55285 break
55286 elif $ac_last_try; then
55287 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
55288 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
55289 { (exit 1); exit 1; }; }
55290 else
55291 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
55292 fi
55293 done
55294
55295 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
55296 if test -n "$ac_eof"; then
55297 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
55298 ac_eof=`expr $ac_eof + 1`
55299 fi
55300
55301 cat >>$CONFIG_STATUS <<_ACEOF
55302 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
55303 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
55304 _ACEOF
55305 sed '
55306 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
55307 s/^/s,@/; s/!/@,|#_!!_#|/
55308 :n
55309 t n
55310 s/'"$ac_delim"'$/,g/; t
55311 s/$/\\/; p
55312 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
55313 ' >>$CONFIG_STATUS <conf$$subs.sed
55314 rm -f conf$$subs.sed
55315 cat >>$CONFIG_STATUS <<_ACEOF
55316 CEOF$ac_eof
55317 _ACEOF
55318
55319
55320 ac_delim='%!_!# '
55321 for ac_last_try in false false false false false :; do
55322 cat >conf$$subs.sed <<_ACEOF
55323 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
55324 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
55325 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
55326 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
55327 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
55328 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
55329 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
55330 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
55331 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
55332 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
55333 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
55334 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
55335 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
55336 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
55337 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
55338 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
55339 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
55340 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
55341 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
55342 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
55343 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
55344 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
55345 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
55346 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
55347 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
55348 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
55349 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
55350 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
55351 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
55352 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
55353 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
55354 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
55355 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
55356 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
55357 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
55358 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
55359 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
55360 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
55361 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
55362 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
55363 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
55364 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
55365 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
55366 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
55367 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
55368 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
55369 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
55370 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
55371 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
55372 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
55373 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
55374 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
55375 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
55376 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
55377 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
55378 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
55379 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
55380 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
55381 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
55382 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
55383 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
55384 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
55385 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
55386 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
55387 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
55388 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
55389 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
55390 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
55391 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
55392 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
55393 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
55394 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
55395 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
55396 COND_SHARED_0!$COND_SHARED_0$ac_delim
55397 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
55398 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
55399 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
55400 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
55401 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
55402 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
55403 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
55404 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
55405 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
55406 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
55407 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
55408 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
55409 COND_SHARED_1!$COND_SHARED_1$ac_delim
55410 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
55411 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
55412 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
55413 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
55414 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
55415 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
55416 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
55417 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
55418 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
55419 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
55420 _ACEOF
55421
55422 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
55423 break
55424 elif $ac_last_try; then
55425 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
55426 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
55427 { (exit 1); exit 1; }; }
55428 else
55429 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
55430 fi
55431 done
55432
55433 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
55434 if test -n "$ac_eof"; then
55435 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
55436 ac_eof=`expr $ac_eof + 1`
55437 fi
55438
55439 cat >>$CONFIG_STATUS <<_ACEOF
55440 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
55441 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
55442 _ACEOF
55443 sed '
55444 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
55445 s/^/s,@/; s/!/@,|#_!!_#|/
55446 :n
55447 t n
55448 s/'"$ac_delim"'$/,g/; t
55449 s/$/\\/; p
55450 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
55451 ' >>$CONFIG_STATUS <conf$$subs.sed
55452 rm -f conf$$subs.sed
55453 cat >>$CONFIG_STATUS <<_ACEOF
55454 CEOF$ac_eof
55455 _ACEOF
55456
55457
55458 ac_delim='%!_!# '
55459 for ac_last_try in false false false false false :; do
55460 cat >conf$$subs.sed <<_ACEOF
55461 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
55462 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
55463 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
55464 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
55465 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
55466 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
55467 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
55468 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
55469 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
55470 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
55471 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
55472 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
55473 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
55474 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
55475 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
55476 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
55477 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
55478 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
55479 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
55480 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
55481 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
55482 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
55483 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
55484 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
55485 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
55486 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
55487 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
55488 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
55489 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
55490 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
55491 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
55492 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
55493 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
55494 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
55495 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
55496 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
55497 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
55498 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
55499 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
55500 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
55501 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
55502 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
55503 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
55504 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
55505 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
55506 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
55507 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
55508 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
55509 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
55510 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
55511 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
55512 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
55513 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
55514 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
55515 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
55516 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
55517 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
55518 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
55519 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
55520 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
55521 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
55522 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
55523 SHARED!$SHARED$ac_delim
55524 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
55525 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
55526 USE_GUI!$USE_GUI$ac_delim
55527 AFMINSTALL!$AFMINSTALL$ac_delim
55528 WIN32INSTALL!$WIN32INSTALL$ac_delim
55529 TOOLKIT!$TOOLKIT$ac_delim
55530 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
55531 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
55532 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
55533 cross_compiling!$cross_compiling$ac_delim
55534 WIDGET_SET!$WIDGET_SET$ac_delim
55535 WX_RELEASE!$WX_RELEASE$ac_delim
55536 WX_VERSION!$WX_VERSION$ac_delim
55537 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
55538 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
55539 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
55540 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
55541 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
55542 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
55543 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
55544 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
55545 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
55546 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
55547 EXE_LINKER!$EXE_LINKER$ac_delim
55548 GUIDIST!$GUIDIST$ac_delim
55549 DISTDIR!$DISTDIR$ac_delim
55550 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
55551 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
55552 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
55553 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
55554 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
55555 RESCOMP!$RESCOMP$ac_delim
55556 RESFLAGS!$RESFLAGS$ac_delim
55557 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
55558 _ACEOF
55559
55560 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
55561 break
55562 elif $ac_last_try; then
55563 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
55564 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
55565 { (exit 1); exit 1; }; }
55566 else
55567 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
55568 fi
55569 done
55570
55571 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
55572 if test -n "$ac_eof"; then
55573 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
55574 ac_eof=`expr $ac_eof + 1`
55575 fi
55576
55577 cat >>$CONFIG_STATUS <<_ACEOF
55578 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
55579 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
55580 _ACEOF
55581 sed '
55582 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
55583 s/^/s,@/; s/!/@,|#_!!_#|/
55584 :n
55585 t n
55586 s/'"$ac_delim"'$/,g/; t
55587 s/$/\\/; p
55588 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
55589 ' >>$CONFIG_STATUS <conf$$subs.sed
55590 rm -f conf$$subs.sed
55591 cat >>$CONFIG_STATUS <<_ACEOF
55592 CEOF$ac_eof
55593 _ACEOF
55594
55595
55596 ac_delim='%!_!# '
55597 for ac_last_try in false false false false false :; do
55598 cat >conf$$subs.sed <<_ACEOF
55599 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
55600 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
55601 LIBWXMACRES!$LIBWXMACRES$ac_delim
55602 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
55603 MACSETFILE!$MACSETFILE$ac_delim
55604 GCC!$GCC$ac_delim
55605 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
55606 LIBOBJS!$LIBOBJS$ac_delim
55607 LTLIBOBJS!$LTLIBOBJS$ac_delim
55608 _ACEOF
55609
55610 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 9; then
55611 break
55612 elif $ac_last_try; then
55613 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
55614 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
55615 { (exit 1); exit 1; }; }
55616 else
55617 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
55618 fi
55619 done
55620
55621 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
55622 if test -n "$ac_eof"; then
55623 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
55624 ac_eof=`expr $ac_eof + 1`
55625 fi
55626
55627 cat >>$CONFIG_STATUS <<_ACEOF
55628 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
55629 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
55630 _ACEOF
55631 sed '
55632 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
55633 s/^/s,@/; s/!/@,|#_!!_#|/
55634 :n
55635 t n
55636 s/'"$ac_delim"'$/,g/; t
55637 s/$/\\/; p
55638 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
55639 ' >>$CONFIG_STATUS <conf$$subs.sed
55640 rm -f conf$$subs.sed
55641 cat >>$CONFIG_STATUS <<_ACEOF
55642 :end
55643 s/|#_!!_#|//g
55644 CEOF$ac_eof
55645 _ACEOF
55646
55647
55648 # VPATH may cause trouble with some makes, so we remove $(srcdir),
55649 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
55650 # trailing colons and then remove the whole line if VPATH becomes empty
55651 # (actually we leave an empty line to preserve line numbers).
55652 if test "x$srcdir" = x.; then
55653 ac_vpsub='/^[ ]*VPATH[ ]*=/{
55654 s/:*\$(srcdir):*/:/
55655 s/:*\${srcdir}:*/:/
55656 s/:*@srcdir@:*/:/
55657 s/^\([^=]*=[ ]*\):*/\1/
55658 s/:*$//
55659 s/^[^=]*=[ ]*$//
55660 }'
55661 fi
55662
55663 cat >>$CONFIG_STATUS <<\_ACEOF
55664 fi # test -n "$CONFIG_FILES"
55665
55666
55667 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
55668 do
55669 case $ac_tag in
55670 :[FHLC]) ac_mode=$ac_tag; continue;;
55671 esac
55672 case $ac_mode$ac_tag in
55673 :[FHL]*:*);;
55674 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
55675 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
55676 { (exit 1); exit 1; }; };;
55677 :[FH]-) ac_tag=-:-;;
55678 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
55679 esac
55680 ac_save_IFS=$IFS
55681 IFS=:
55682 set x $ac_tag
55683 IFS=$ac_save_IFS
55684 shift
55685 ac_file=$1
55686 shift
55687
55688 case $ac_mode in
55689 :L) ac_source=$1;;
55690 :[FH])
55691 ac_file_inputs=
55692 for ac_f
55693 do
55694 case $ac_f in
55695 -) ac_f="$tmp/stdin";;
55696 *) # Look for the file first in the build tree, then in the source tree
55697 # (if the path is not absolute). The absolute path cannot be DOS-style,
55698 # because $ac_f cannot contain `:'.
55699 test -f "$ac_f" ||
55700 case $ac_f in
55701 [\\/$]*) false;;
55702 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
55703 esac ||
55704 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
55705 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
55706 { (exit 1); exit 1; }; };;
55707 esac
55708 ac_file_inputs="$ac_file_inputs $ac_f"
55709 done
55710
55711 # Let's still pretend it is `configure' which instantiates (i.e., don't
55712 # use $as_me), people would be surprised to read:
55713 # /* config.h. Generated by config.status. */
55714 configure_input="Generated from "`IFS=:
55715 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
55716 if test x"$ac_file" != x-; then
55717 configure_input="$ac_file. $configure_input"
55718 { echo "$as_me:$LINENO: creating $ac_file" >&5
55719 echo "$as_me: creating $ac_file" >&6;}
55720 fi
55721
55722 case $ac_tag in
55723 *:-:* | *:-) cat >"$tmp/stdin";;
55724 esac
55725 ;;
55726 esac
55727
55728 ac_dir=`$as_dirname -- "$ac_file" ||
55729 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
55730 X"$ac_file" : 'X\(//\)[^/]' \| \
55731 X"$ac_file" : 'X\(//\)$' \| \
55732 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
55733 echo X"$ac_file" |
55734 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
55735 s//\1/
55736 q
55737 }
55738 /^X\(\/\/\)[^/].*/{
55739 s//\1/
55740 q
55741 }
55742 /^X\(\/\/\)$/{
55743 s//\1/
55744 q
55745 }
55746 /^X\(\/\).*/{
55747 s//\1/
55748 q
55749 }
55750 s/.*/./; q'`
55751 { as_dir="$ac_dir"
55752 case $as_dir in #(
55753 -*) as_dir=./$as_dir;;
55754 esac
55755 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
55756 as_dirs=
55757 while :; do
55758 case $as_dir in #(
55759 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
55760 *) as_qdir=$as_dir;;
55761 esac
55762 as_dirs="'$as_qdir' $as_dirs"
55763 as_dir=`$as_dirname -- "$as_dir" ||
55764 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
55765 X"$as_dir" : 'X\(//\)[^/]' \| \
55766 X"$as_dir" : 'X\(//\)$' \| \
55767 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
55768 echo X"$as_dir" |
55769 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
55770 s//\1/
55771 q
55772 }
55773 /^X\(\/\/\)[^/].*/{
55774 s//\1/
55775 q
55776 }
55777 /^X\(\/\/\)$/{
55778 s//\1/
55779 q
55780 }
55781 /^X\(\/\).*/{
55782 s//\1/
55783 q
55784 }
55785 s/.*/./; q'`
55786 test -d "$as_dir" && break
55787 done
55788 test -z "$as_dirs" || eval "mkdir $as_dirs"
55789 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
55790 echo "$as_me: error: cannot create directory $as_dir" >&2;}
55791 { (exit 1); exit 1; }; }; }
55792 ac_builddir=.
55793
55794 case "$ac_dir" in
55795 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
55796 *)
55797 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
55798 # A ".." for each directory in $ac_dir_suffix.
55799 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
55800 case $ac_top_builddir_sub in
55801 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
55802 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
55803 esac ;;
55804 esac
55805 ac_abs_top_builddir=$ac_pwd
55806 ac_abs_builddir=$ac_pwd$ac_dir_suffix
55807 # for backward compatibility:
55808 ac_top_builddir=$ac_top_build_prefix
55809
55810 case $srcdir in
55811 .) # We are building in place.
55812 ac_srcdir=.
55813 ac_top_srcdir=$ac_top_builddir_sub
55814 ac_abs_top_srcdir=$ac_pwd ;;
55815 [\\/]* | ?:[\\/]* ) # Absolute name.
55816 ac_srcdir=$srcdir$ac_dir_suffix;
55817 ac_top_srcdir=$srcdir
55818 ac_abs_top_srcdir=$srcdir ;;
55819 *) # Relative name.
55820 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
55821 ac_top_srcdir=$ac_top_build_prefix$srcdir
55822 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
55823 esac
55824 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
55825
55826
55827 case $ac_mode in
55828 :F)
55829 #
55830 # CONFIG_FILE
55831 #
55832
55833 case $INSTALL in
55834 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
55835 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
55836 esac
55837 _ACEOF
55838
55839 cat >>$CONFIG_STATUS <<\_ACEOF
55840 # If the template does not know about datarootdir, expand it.
55841 # FIXME: This hack should be removed a few years after 2.60.
55842 ac_datarootdir_hack=; ac_datarootdir_seen=
55843
55844 case `sed -n '/datarootdir/ {
55845 p
55846 q
55847 }
55848 /@datadir@/p
55849 /@docdir@/p
55850 /@infodir@/p
55851 /@localedir@/p
55852 /@mandir@/p
55853 ' $ac_file_inputs` in
55854 *datarootdir*) ac_datarootdir_seen=yes;;
55855 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
55856 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
55857 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
55858 _ACEOF
55859 cat >>$CONFIG_STATUS <<_ACEOF
55860 ac_datarootdir_hack='
55861 s&@datadir@&$datadir&g
55862 s&@docdir@&$docdir&g
55863 s&@infodir@&$infodir&g
55864 s&@localedir@&$localedir&g
55865 s&@mandir@&$mandir&g
55866 s&\\\${datarootdir}&$datarootdir&g' ;;
55867 esac
55868 _ACEOF
55869
55870 # Neutralize VPATH when `$srcdir' = `.'.
55871 # Shell code in configure.ac might set extrasub.
55872 # FIXME: do we really want to maintain this feature?
55873 cat >>$CONFIG_STATUS <<_ACEOF
55874 sed "$ac_vpsub
55875 $extrasub
55876 _ACEOF
55877 cat >>$CONFIG_STATUS <<\_ACEOF
55878 :t
55879 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
55880 s&@configure_input@&$configure_input&;t t
55881 s&@top_builddir@&$ac_top_builddir_sub&;t t
55882 s&@srcdir@&$ac_srcdir&;t t
55883 s&@abs_srcdir@&$ac_abs_srcdir&;t t
55884 s&@top_srcdir@&$ac_top_srcdir&;t t
55885 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
55886 s&@builddir@&$ac_builddir&;t t
55887 s&@abs_builddir@&$ac_abs_builddir&;t t
55888 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
55889 s&@INSTALL@&$ac_INSTALL&;t t
55890 $ac_datarootdir_hack
55891 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" | sed -f "$tmp/subs-4.sed" | sed -f "$tmp/subs-5.sed" >$tmp/out
55892
55893 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
55894 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
55895 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
55896 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
55897 which seems to be undefined. Please make sure it is defined." >&5
55898 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
55899 which seems to be undefined. Please make sure it is defined." >&2;}
55900
55901 rm -f "$tmp/stdin"
55902 case $ac_file in
55903 -) cat "$tmp/out"; rm -f "$tmp/out";;
55904 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
55905 esac
55906 ;;
55907 :H)
55908 #
55909 # CONFIG_HEADER
55910 #
55911 _ACEOF
55912
55913 # Transform confdefs.h into a sed script `conftest.defines', that
55914 # substitutes the proper values into config.h.in to produce config.h.
55915 rm -f conftest.defines conftest.tail
55916 # First, append a space to every undef/define line, to ease matching.
55917 echo 's/$/ /' >conftest.defines
55918 # Then, protect against being on the right side of a sed subst, or in
55919 # an unquoted here document, in config.status. If some macros were
55920 # called several times there might be several #defines for the same
55921 # symbol, which is useless. But do not sort them, since the last
55922 # AC_DEFINE must be honored.
55923 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
55924 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
55925 # NAME is the cpp macro being defined, VALUE is the value it is being given.
55926 # PARAMS is the parameter list in the macro definition--in most cases, it's
55927 # just an empty string.
55928 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
55929 ac_dB='\\)[ (].*,\\1define\\2'
55930 ac_dC=' '
55931 ac_dD=' ,'
55932
55933 uniq confdefs.h |
55934 sed -n '
55935 t rset
55936 :rset
55937 s/^[ ]*#[ ]*define[ ][ ]*//
55938 t ok
55939 d
55940 :ok
55941 s/[\\&,]/\\&/g
55942 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
55943 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
55944 ' >>conftest.defines
55945
55946 # Remove the space that was appended to ease matching.
55947 # Then replace #undef with comments. This is necessary, for
55948 # example, in the case of _POSIX_SOURCE, which is predefined and required
55949 # on some systems where configure will not decide to define it.
55950 # (The regexp can be short, since the line contains either #define or #undef.)
55951 echo 's/ $//
55952 s,^[ #]*u.*,/* & */,' >>conftest.defines
55953
55954 # Break up conftest.defines:
55955 ac_max_sed_lines=50
55956
55957 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
55958 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
55959 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
55960 # et cetera.
55961 ac_in='$ac_file_inputs'
55962 ac_out='"$tmp/out1"'
55963 ac_nxt='"$tmp/out2"'
55964
55965 while :
55966 do
55967 # Write a here document:
55968 cat >>$CONFIG_STATUS <<_ACEOF
55969 # First, check the format of the line:
55970 cat >"\$tmp/defines.sed" <<\\CEOF
55971 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
55972 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
55973 b
55974 :def
55975 _ACEOF
55976 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
55977 echo 'CEOF
55978 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
55979 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
55980 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
55981 grep . conftest.tail >/dev/null || break
55982 rm -f conftest.defines
55983 mv conftest.tail conftest.defines
55984 done
55985 rm -f conftest.defines conftest.tail
55986
55987 echo "ac_result=$ac_in" >>$CONFIG_STATUS
55988 cat >>$CONFIG_STATUS <<\_ACEOF
55989 if test x"$ac_file" != x-; then
55990 echo "/* $configure_input */" >"$tmp/config.h"
55991 cat "$ac_result" >>"$tmp/config.h"
55992 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
55993 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
55994 echo "$as_me: $ac_file is unchanged" >&6;}
55995 else
55996 rm -f $ac_file
55997 mv "$tmp/config.h" $ac_file
55998 fi
55999 else
56000 echo "/* $configure_input */"
56001 cat "$ac_result"
56002 fi
56003 rm -f "$tmp/out12"
56004 ;;
56005
56006 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
56007 echo "$as_me: executing $ac_file commands" >&6;}
56008 ;;
56009 esac
56010
56011
56012 case $ac_file$ac_mode in
56013 "rcdefs.h":C)
56014 mkdir -p $outdir &&
56015 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
56016 ;;
56017 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
56018 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
56019 "wx-config":C) rm -f wx-config
56020 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
56021 ;;
56022
56023 esac
56024 done # for ac_tag
56025
56026
56027 { (exit 0); exit 0; }
56028 _ACEOF
56029 chmod +x $CONFIG_STATUS
56030 ac_clean_files=$ac_clean_files_save
56031
56032
56033 # configure is writing to config.log, and then calls config.status.
56034 # config.status does its own redirection, appending to config.log.
56035 # Unfortunately, on DOS this fails, as config.log is still kept open
56036 # by configure, so config.status won't be able to write to it; its
56037 # output is simply discarded. So we exec the FD to /dev/null,
56038 # effectively closing config.log, so it can be properly (re)opened and
56039 # appended to by config.status. When coming back to configure, we
56040 # need to make the FD available again.
56041 if test "$no_create" != yes; then
56042 ac_cs_success=:
56043 ac_config_status_args=
56044 test "$silent" = yes &&
56045 ac_config_status_args="$ac_config_status_args --quiet"
56046 exec 5>/dev/null
56047 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
56048 exec 5>>config.log
56049 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
56050 # would make configure fail if this is the last instruction.
56051 $ac_cs_success || { (exit 1); exit 1; }
56052 fi
56053
56054 #
56055 # CONFIG_SUBDIRS section.
56056 #
56057 if test "$no_recursion" != yes; then
56058
56059 # Remove --cache-file and --srcdir arguments so they do not pile up.
56060 ac_sub_configure_args=
56061 ac_prev=
56062 eval "set x $ac_configure_args"
56063 shift
56064 for ac_arg
56065 do
56066 if test -n "$ac_prev"; then
56067 ac_prev=
56068 continue
56069 fi
56070 case $ac_arg in
56071 -cache-file | --cache-file | --cache-fil | --cache-fi \
56072 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
56073 ac_prev=cache_file ;;
56074 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
56075 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
56076 | --c=*)
56077 ;;
56078 --config-cache | -C)
56079 ;;
56080 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
56081 ac_prev=srcdir ;;
56082 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
56083 ;;
56084 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
56085 ac_prev=prefix ;;
56086 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
56087 ;;
56088 *)
56089 case $ac_arg in
56090 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
56091 esac
56092 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
56093 esac
56094 done
56095
56096 # Always prepend --prefix to ensure using the same prefix
56097 # in subdir configurations.
56098 ac_arg="--prefix=$prefix"
56099 case $ac_arg in
56100 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
56101 esac
56102 ac_sub_configure_args="$ac_arg $ac_sub_configure_args"
56103
56104 ac_popdir=`pwd`
56105 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
56106
56107 # Do not complain, so a configure script can configure whichever
56108 # parts of a large source tree are present.
56109 test -d "$srcdir/$ac_dir" || continue
56110
56111 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
56112 echo "$as_me:$LINENO: $ac_msg" >&5
56113 echo "$ac_msg" >&6
56114 { as_dir="$ac_dir"
56115 case $as_dir in #(
56116 -*) as_dir=./$as_dir;;
56117 esac
56118 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
56119 as_dirs=
56120 while :; do
56121 case $as_dir in #(
56122 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
56123 *) as_qdir=$as_dir;;
56124 esac
56125 as_dirs="'$as_qdir' $as_dirs"
56126 as_dir=`$as_dirname -- "$as_dir" ||
56127 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
56128 X"$as_dir" : 'X\(//\)[^/]' \| \
56129 X"$as_dir" : 'X\(//\)$' \| \
56130 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
56131 echo X"$as_dir" |
56132 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
56133 s//\1/
56134 q
56135 }
56136 /^X\(\/\/\)[^/].*/{
56137 s//\1/
56138 q
56139 }
56140 /^X\(\/\/\)$/{
56141 s//\1/
56142 q
56143 }
56144 /^X\(\/\).*/{
56145 s//\1/
56146 q
56147 }
56148 s/.*/./; q'`
56149 test -d "$as_dir" && break
56150 done
56151 test -z "$as_dirs" || eval "mkdir $as_dirs"
56152 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
56153 echo "$as_me: error: cannot create directory $as_dir" >&2;}
56154 { (exit 1); exit 1; }; }; }
56155 ac_builddir=.
56156
56157 case "$ac_dir" in
56158 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
56159 *)
56160 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
56161 # A ".." for each directory in $ac_dir_suffix.
56162 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
56163 case $ac_top_builddir_sub in
56164 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
56165 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
56166 esac ;;
56167 esac
56168 ac_abs_top_builddir=$ac_pwd
56169 ac_abs_builddir=$ac_pwd$ac_dir_suffix
56170 # for backward compatibility:
56171 ac_top_builddir=$ac_top_build_prefix
56172
56173 case $srcdir in
56174 .) # We are building in place.
56175 ac_srcdir=.
56176 ac_top_srcdir=$ac_top_builddir_sub
56177 ac_abs_top_srcdir=$ac_pwd ;;
56178 [\\/]* | ?:[\\/]* ) # Absolute name.
56179 ac_srcdir=$srcdir$ac_dir_suffix;
56180 ac_top_srcdir=$srcdir
56181 ac_abs_top_srcdir=$srcdir ;;
56182 *) # Relative name.
56183 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
56184 ac_top_srcdir=$ac_top_build_prefix$srcdir
56185 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
56186 esac
56187 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
56188
56189
56190 cd "$ac_dir"
56191
56192 # Check for guested configure; otherwise get Cygnus style configure.
56193 if test -f "$ac_srcdir/configure.gnu"; then
56194 ac_sub_configure=$ac_srcdir/configure.gnu
56195 elif test -f "$ac_srcdir/configure"; then
56196 ac_sub_configure=$ac_srcdir/configure
56197 elif test -f "$ac_srcdir/configure.in"; then
56198 # This should be Cygnus configure.
56199 ac_sub_configure=$ac_aux_dir/configure
56200 else
56201 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
56202 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
56203 ac_sub_configure=
56204 fi
56205
56206 # The recursion is here.
56207 if test -n "$ac_sub_configure"; then
56208 # Make the cache file name correct relative to the subdirectory.
56209 case $cache_file in
56210 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
56211 *) # Relative name.
56212 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
56213 esac
56214
56215 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
56216 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
56217 # The eval makes quoting arguments work.
56218 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
56219 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
56220 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
56221 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
56222 { (exit 1); exit 1; }; }
56223 fi
56224
56225 cd "$ac_popdir"
56226 done
56227 fi
56228
56229
56230 echo
56231 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
56232 echo ""
56233 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
56234 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
56235
56236 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
56237 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
56238 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
56239
56240 echo " What level of wxWidgets compatibility should be enabled?"
56241 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
56242 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
56243
56244 echo " Which libraries should wxWidgets use?"
56245 echo " jpeg ${wxUSE_LIBJPEG-none}"
56246 echo " png ${wxUSE_LIBPNG-none}"
56247 echo " regex ${wxUSE_REGEX}"
56248 echo " tiff ${wxUSE_LIBTIFF-none}"
56249 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
56250 echo " xpm ${wxUSE_LIBXPM-none}"
56251 fi
56252 echo " zlib ${wxUSE_ZLIB}"
56253 echo " odbc ${wxUSE_ODBC}"
56254 echo " expat ${wxUSE_EXPAT}"
56255 echo " libmspack ${wxUSE_LIBMSPACK}"
56256 echo " sdl ${wxUSE_LIBSDL}"
56257
56258 echo ""
56259