]> git.saurik.com Git - wxWidgets.git/blob - configure
use wxRendererNative::DrawItemSelectionRect() to draw wxVListBox items background...
[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.61 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 more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 target
665 target_cpu
666 target_vendor
667 target_os
668 wx_top_builddir
669 CC
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
676 CPP
677 GREP
678 EGREP
679 CXX
680 CXXFLAGS
681 ac_ct_CXX
682 RANLIB
683 AR
684 INSTALL_PROGRAM
685 INSTALL_SCRIPT
686 INSTALL_DATA
687 STRIP
688 WINDRES
689 DLLTOOL
690 IF_GNU_MAKE
691 LN_S
692 CXXCPP
693 subdirs
694 PKG_CONFIG
695 GTK_CFLAGS
696 GTK_LIBS
697 GTK_CONFIG
698 DIRECTFB_CFLAGS
699 DIRECTFB_LIBS
700 XMKMF
701 X_CFLAGS
702 X_PRE_LIBS
703 X_LIBS
704 X_EXTRA_LIBS
705 PANGOX_CFLAGS
706 PANGOX_LIBS
707 PANGOFT2_CFLAGS
708 PANGOFT2_LIBS
709 PANGOXFT_CFLAGS
710 PANGOXFT_LIBS
711 REZ
712 DEREZ
713 SETFILE
714 LIBICONV
715 EXTRALIBS_ESD
716 SDL_CONFIG
717 SDL_CFLAGS
718 SDL_LIBS
719 LIBGNOMEPRINTUI_CFLAGS
720 LIBGNOMEPRINTUI_LIBS
721 GNOMEVFS_CFLAGS
722 GNOMEVFS_LIBS
723 HILDON_CFLAGS
724 HILDON_LIBS
725 CAIRO_CFLAGS
726 CAIRO_LIBS
727 GST_CFLAGS
728 GST_LIBS
729 CORE_BASE_LIBS
730 CORE_GUI_LIBS
731 wxUSE_ZLIB
732 wxUSE_REGEX
733 wxUSE_EXPAT
734 wxUSE_ODBC
735 wxUSE_LIBJPEG
736 wxUSE_LIBPNG
737 wxUSE_LIBTIFF
738 VENDOR
739 OFFICIAL_BUILD
740 WX_FLAVOUR
741 WX_LIB_FLAVOUR
742 WXUNIV
743 MONOLITHIC
744 USE_PLUGINS
745 EXTRALIBS
746 EXTRALIBS_XML
747 EXTRALIBS_HTML
748 EXTRALIBS_ODBC
749 EXTRALIBS_GUI
750 EXTRALIBS_OPENGL
751 EXTRALIBS_SDL
752 WITH_PLUGIN_SDL
753 EXTRALIBS_GNOMEPRINT
754 EXTRALIBS_GNOMEVFS
755 EXTRALIBS_HILDON
756 UNICODE
757 BUILD
758 DEBUG_INFO
759 DEBUG_FLAG
760 TOOLKIT_LOWERCASE
761 TOOLKIT_VERSION
762 SAMPLES_RPATH_FLAG
763 SAMPLES_RPATH_POSTLINK
764 HOST_SUFFIX
765 CPPUNIT_CFLAGS
766 CPPUNIT_LIBS
767 SET_MAKE
768 MAKE_SET
769 AROPTIONS
770 NM
771 INSTALL_DIR
772 LDFLAGS_GUI
773 PLATFORM_UNIX
774 PLATFORM_WIN32
775 PLATFORM_MSDOS
776 PLATFORM_MAC
777 PLATFORM_MACOS
778 PLATFORM_MACOSX
779 PLATFORM_OS2
780 PLATFORM_BEOS
781 SO_SUFFIX
782 SO_SUFFIX_MODULE
783 DLLIMP_SUFFIX
784 LIBPREFIX
785 LIBEXT
786 DLLPREFIX
787 DLLPREFIX_MODULE
788 dlldir
789 AIX_CXX_LD
790 SHARED_LD_CC
791 SHARED_LD_CXX
792 SHARED_LD_MODULE_CC
793 SHARED_LD_MODULE_CXX
794 PIC_FLAG
795 WINDOWS_IMPLIB
796 USE_SOVERSION
797 USE_SOVERLINUX
798 USE_SOVERSOLARIS
799 USE_SOVERCYGWIN
800 USE_MACVERSION
801 USE_SOSYMLINKS
802 SONAME_FLAG
803 DEPS_TRACKING
804 BK_DEPS
805 GCC_PCH
806 ICC_PCH
807 BK_MAKE_PCH
808 COND_BUILD_DEBUG
809 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
810 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
811 COND_BUILD_DEBUG_UNICODE_0
812 COND_BUILD_DEBUG_UNICODE_1
813 COND_BUILD_RELEASE
814 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
815 COND_BUILD_RELEASE_UNICODE_0
816 COND_BUILD_RELEASE_UNICODE_1
817 COND_DEBUG_FLAG_1
818 COND_DEBUG_INFO_0
819 COND_DEBUG_INFO_1
820 COND_DEPS_TRACKING_0
821 COND_DEPS_TRACKING_1
822 COND_GCC_PCH_1
823 COND_ICC_PCH_1
824 COND_MONOLITHIC_0
825 COND_MONOLITHIC_0_SHARED_0
826 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
827 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
828 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
832 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
833 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
834 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
835 COND_MONOLITHIC_0_SHARED_1
836 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
837 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
843 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
844 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
845 COND_MONOLITHIC_0_USE_MEDIA_1
846 COND_MONOLITHIC_0_USE_ODBC_1
847 COND_MONOLITHIC_1
848 COND_MONOLITHIC_1_SHARED_0
849 COND_MONOLITHIC_1_SHARED_1
850 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
851 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
852 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
853 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
854 COND_PLATFORM_MACOSX_1
855 COND_PLATFORM_MACOSX_1_TOOLKIT_
856 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
857 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
858 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
859 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
860 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
861 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
862 COND_PLATFORM_MACOSX_1_USE_GUI_1
863 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
864 COND_PLATFORM_MACOS_1
865 COND_PLATFORM_MAC_1
866 COND_PLATFORM_MSDOS_0
867 COND_PLATFORM_MSDOS_1
868 COND_PLATFORM_OS2_1
869 COND_PLATFORM_UNIX_0
870 COND_PLATFORM_UNIX_1
871 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
872 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
873 COND_PLATFORM_UNIX_1_USE_GUI_1
874 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
875 COND_PLATFORM_WIN32_0
876 COND_PLATFORM_WIN32_1
877 COND_SHARED_0
878 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
879 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
880 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
881 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
882 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
883 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
884 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
885 COND_SHARED_0_USE_XRC_1
886 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
887 COND_SHARED_0_WXUSE_ODBC_BUILTIN
888 COND_SHARED_0_WXUSE_REGEX_BUILTIN
889 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
890 COND_SHARED_1
891 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
892 COND_SHARED_1_USE_XRC_1
893 COND_TOOLKIT_
894 COND_TOOLKIT_COCOA
895 COND_TOOLKIT_COCOA_USE_GUI_1
896 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
897 COND_TOOLKIT_DFB
898 COND_TOOLKIT_DFB_USE_GUI_1
899 COND_TOOLKIT_GTK
900 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
901 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
902 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
903 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
904 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
905 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
906 COND_TOOLKIT_GTK_USE_GUI_1
907 COND_TOOLKIT_MAC
908 COND_TOOLKIT_MAC_USE_GUI_1
909 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
910 COND_TOOLKIT_MGL
911 COND_TOOLKIT_MGL_USE_GUI_1
912 COND_TOOLKIT_MOTIF
913 COND_TOOLKIT_MOTIF_USE_GUI_1
914 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
915 COND_TOOLKIT_MSW
916 COND_TOOLKIT_MSW_USE_GUI_1
917 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
918 COND_TOOLKIT_MSW_WXUNIV_0
919 COND_TOOLKIT_PM
920 COND_TOOLKIT_PM_USE_GUI_1
921 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
922 COND_TOOLKIT_WINCE
923 COND_TOOLKIT_WINCE_USE_GUI_1
924 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
925 COND_TOOLKIT_WINCE_WXUNIV_0
926 COND_TOOLKIT_X11
927 COND_TOOLKIT_X11_USE_GUI_1
928 COND_UNICODE_1
929 COND_USE_EXCEPTIONS_0
930 COND_USE_EXCEPTIONS_1
931 COND_USE_GUI_0
932 COND_USE_GUI_1
933 COND_USE_GUI_1_WXUNIV_0
934 COND_USE_GUI_1_WXUNIV_1
935 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
936 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
937 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
938 COND_USE_ODBC_1
939 COND_USE_OPENGL_1
940 COND_USE_PCH_1
941 COND_USE_PLUGINS_0
942 COND_USE_RTTI_0
943 COND_USE_RTTI_1
944 COND_USE_SOSYMLINKS_1
945 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
946 COND_USE_SOVERLINUX_1
947 COND_USE_SOVERSION_0
948 COND_USE_SOVERSOLARIS_1
949 COND_USE_THREADS_0
950 COND_USE_THREADS_1
951 COND_USE_XRC_1
952 COND_WINDOWS_IMPLIB_1
953 COND_WITH_PLUGIN_SDL_1
954 COND_WXUNIV_0
955 COND_WXUNIV_1
956 COND_WXUSE_EXPAT_BUILTIN
957 COND_WXUSE_LIBJPEG_BUILTIN
958 COND_WXUSE_LIBPNG_BUILTIN
959 COND_WXUSE_LIBTIFF_BUILTIN
960 COND_WXUSE_ODBC_BUILTIN
961 COND_WXUSE_REGEX_BUILTIN
962 COND_WXUSE_ZLIB_BUILTIN
963 SHARED
964 WX_LIBRARY_BASENAME_NOGUI
965 WX_LIBRARY_BASENAME_GUI
966 USE_GUI
967 AFMINSTALL
968 WIN32INSTALL
969 TOOLKIT
970 TOOLKIT_DIR
971 TOOLCHAIN_NAME
972 TOOLCHAIN_FULLNAME
973 cross_compiling
974 WIDGET_SET
975 WX_RELEASE
976 WX_VERSION
977 WX_SUBVERSION
978 WX_CHARTYPE
979 WX_DEBUGTYPE
980 WXCONFIG_CPPFLAGS
981 WXCONFIG_CFLAGS
982 WXCONFIG_CXXFLAGS
983 WXCONFIG_LIBS
984 WXCONFIG_RPATH
985 WXCONFIG_LDFLAGS_GUI
986 WXCONFIG_RESFLAGS
987 EXE_LINKER
988 GUIDIST
989 DISTDIR
990 SAMPLES_SUBDIRS
991 LDFLAGS_GL
992 OPENGL_LIBS
993 DMALLOC_LIBS
994 WX_VERSION_TAG
995 RESCOMP
996 RESFLAGS
997 RESPROGRAMOBJ
998 WX_RESOURCES_MACOSX_ASCII
999 WX_RESOURCES_MACOSX_DATA
1000 LIBWXMACRES
1001 POSTLINK_COMMAND
1002 MACSETFILE
1003 GCC
1004 CPPUNIT_CONFIG
1005 LIBOBJS
1006 LTLIBOBJS'
1007 ac_subst_files=''
1008 ac_precious_vars='build_alias
1009 host_alias
1010 target_alias
1011 CC
1012 CFLAGS
1013 LDFLAGS
1014 LIBS
1015 CPPFLAGS
1016 CPP
1017 CXX
1018 CXXFLAGS
1019 CCC
1020 CXXCPP
1021 PKG_CONFIG
1022 DIRECTFB_CFLAGS
1023 DIRECTFB_LIBS
1024 XMKMF
1025 PANGOX_CFLAGS
1026 PANGOX_LIBS
1027 PANGOFT2_CFLAGS
1028 PANGOFT2_LIBS
1029 PANGOXFT_CFLAGS
1030 PANGOXFT_LIBS
1031 LIBGNOMEPRINTUI_CFLAGS
1032 LIBGNOMEPRINTUI_LIBS
1033 GNOMEVFS_CFLAGS
1034 GNOMEVFS_LIBS
1035 HILDON_CFLAGS
1036 HILDON_LIBS
1037 CAIRO_CFLAGS
1038 CAIRO_LIBS
1039 GST_CFLAGS
1040 GST_LIBS'
1041 ac_subdirs_all='src/expat'
1042
1043 # Initialize some variables set by options.
1044 ac_init_help=
1045 ac_init_version=false
1046 # The variables have the same names as the options, with
1047 # dashes changed to underlines.
1048 cache_file=/dev/null
1049 exec_prefix=NONE
1050 no_create=
1051 no_recursion=
1052 prefix=NONE
1053 program_prefix=NONE
1054 program_suffix=NONE
1055 program_transform_name=s,x,x,
1056 silent=
1057 site=
1058 srcdir=
1059 verbose=
1060 x_includes=NONE
1061 x_libraries=NONE
1062
1063 # Installation directory options.
1064 # These are left unexpanded so users can "make install exec_prefix=/foo"
1065 # and all the variables that are supposed to be based on exec_prefix
1066 # by default will actually change.
1067 # Use braces instead of parens because sh, perl, etc. also accept them.
1068 # (The list follows the same order as the GNU Coding Standards.)
1069 bindir='${exec_prefix}/bin'
1070 sbindir='${exec_prefix}/sbin'
1071 libexecdir='${exec_prefix}/libexec'
1072 datarootdir='${prefix}/share'
1073 datadir='${datarootdir}'
1074 sysconfdir='${prefix}/etc'
1075 sharedstatedir='${prefix}/com'
1076 localstatedir='${prefix}/var'
1077 includedir='${prefix}/include'
1078 oldincludedir='/usr/include'
1079 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1080 infodir='${datarootdir}/info'
1081 htmldir='${docdir}'
1082 dvidir='${docdir}'
1083 pdfdir='${docdir}'
1084 psdir='${docdir}'
1085 libdir='${exec_prefix}/lib'
1086 localedir='${datarootdir}/locale'
1087 mandir='${datarootdir}/man'
1088
1089 ac_prev=
1090 ac_dashdash=
1091 for ac_option
1092 do
1093 # If the previous option needs an argument, assign it.
1094 if test -n "$ac_prev"; then
1095 eval $ac_prev=\$ac_option
1096 ac_prev=
1097 continue
1098 fi
1099
1100 case $ac_option in
1101 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1102 *) ac_optarg=yes ;;
1103 esac
1104
1105 # Accept the important Cygnus configure options, so we can diagnose typos.
1106
1107 case $ac_dashdash$ac_option in
1108 --)
1109 ac_dashdash=yes ;;
1110
1111 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1112 ac_prev=bindir ;;
1113 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1114 bindir=$ac_optarg ;;
1115
1116 -build | --build | --buil | --bui | --bu)
1117 ac_prev=build_alias ;;
1118 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1119 build_alias=$ac_optarg ;;
1120
1121 -cache-file | --cache-file | --cache-fil | --cache-fi \
1122 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1123 ac_prev=cache_file ;;
1124 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1125 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1126 cache_file=$ac_optarg ;;
1127
1128 --config-cache | -C)
1129 cache_file=config.cache ;;
1130
1131 -datadir | --datadir | --datadi | --datad)
1132 ac_prev=datadir ;;
1133 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1134 datadir=$ac_optarg ;;
1135
1136 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1137 | --dataroo | --dataro | --datar)
1138 ac_prev=datarootdir ;;
1139 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1140 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1141 datarootdir=$ac_optarg ;;
1142
1143 -disable-* | --disable-*)
1144 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1145 # Reject names that are not valid shell variable names.
1146 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1147 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1148 { (exit 1); exit 1; }; }
1149 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1150 eval enable_$ac_feature=no ;;
1151
1152 -docdir | --docdir | --docdi | --doc | --do)
1153 ac_prev=docdir ;;
1154 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1155 docdir=$ac_optarg ;;
1156
1157 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1158 ac_prev=dvidir ;;
1159 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1160 dvidir=$ac_optarg ;;
1161
1162 -enable-* | --enable-*)
1163 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1164 # Reject names that are not valid shell variable names.
1165 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1166 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1167 { (exit 1); exit 1; }; }
1168 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1169 eval enable_$ac_feature=\$ac_optarg ;;
1170
1171 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1172 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1173 | --exec | --exe | --ex)
1174 ac_prev=exec_prefix ;;
1175 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1176 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1177 | --exec=* | --exe=* | --ex=*)
1178 exec_prefix=$ac_optarg ;;
1179
1180 -gas | --gas | --ga | --g)
1181 # Obsolete; use --with-gas.
1182 with_gas=yes ;;
1183
1184 -help | --help | --hel | --he | -h)
1185 ac_init_help=long ;;
1186 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1187 ac_init_help=recursive ;;
1188 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1189 ac_init_help=short ;;
1190
1191 -host | --host | --hos | --ho)
1192 ac_prev=host_alias ;;
1193 -host=* | --host=* | --hos=* | --ho=*)
1194 host_alias=$ac_optarg ;;
1195
1196 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1197 ac_prev=htmldir ;;
1198 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1199 | --ht=*)
1200 htmldir=$ac_optarg ;;
1201
1202 -includedir | --includedir | --includedi | --included | --include \
1203 | --includ | --inclu | --incl | --inc)
1204 ac_prev=includedir ;;
1205 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1206 | --includ=* | --inclu=* | --incl=* | --inc=*)
1207 includedir=$ac_optarg ;;
1208
1209 -infodir | --infodir | --infodi | --infod | --info | --inf)
1210 ac_prev=infodir ;;
1211 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1212 infodir=$ac_optarg ;;
1213
1214 -libdir | --libdir | --libdi | --libd)
1215 ac_prev=libdir ;;
1216 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1217 libdir=$ac_optarg ;;
1218
1219 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1220 | --libexe | --libex | --libe)
1221 ac_prev=libexecdir ;;
1222 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1223 | --libexe=* | --libex=* | --libe=*)
1224 libexecdir=$ac_optarg ;;
1225
1226 -localedir | --localedir | --localedi | --localed | --locale)
1227 ac_prev=localedir ;;
1228 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1229 localedir=$ac_optarg ;;
1230
1231 -localstatedir | --localstatedir | --localstatedi | --localstated \
1232 | --localstate | --localstat | --localsta | --localst | --locals)
1233 ac_prev=localstatedir ;;
1234 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1235 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1236 localstatedir=$ac_optarg ;;
1237
1238 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1239 ac_prev=mandir ;;
1240 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1241 mandir=$ac_optarg ;;
1242
1243 -nfp | --nfp | --nf)
1244 # Obsolete; use --without-fp.
1245 with_fp=no ;;
1246
1247 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1248 | --no-cr | --no-c | -n)
1249 no_create=yes ;;
1250
1251 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1252 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1253 no_recursion=yes ;;
1254
1255 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1256 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1257 | --oldin | --oldi | --old | --ol | --o)
1258 ac_prev=oldincludedir ;;
1259 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1260 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1261 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1262 oldincludedir=$ac_optarg ;;
1263
1264 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1265 ac_prev=prefix ;;
1266 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1267 prefix=$ac_optarg ;;
1268
1269 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1270 | --program-pre | --program-pr | --program-p)
1271 ac_prev=program_prefix ;;
1272 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1273 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1274 program_prefix=$ac_optarg ;;
1275
1276 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1277 | --program-suf | --program-su | --program-s)
1278 ac_prev=program_suffix ;;
1279 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1280 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1281 program_suffix=$ac_optarg ;;
1282
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 ac_prev=program_transform_name ;;
1291 -program-transform-name=* | --program-transform-name=* \
1292 | --program-transform-nam=* | --program-transform-na=* \
1293 | --program-transform-n=* | --program-transform-=* \
1294 | --program-transform=* | --program-transfor=* \
1295 | --program-transfo=* | --program-transf=* \
1296 | --program-trans=* | --program-tran=* \
1297 | --progr-tra=* | --program-tr=* | --program-t=*)
1298 program_transform_name=$ac_optarg ;;
1299
1300 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1301 ac_prev=pdfdir ;;
1302 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1303 pdfdir=$ac_optarg ;;
1304
1305 -psdir | --psdir | --psdi | --psd | --ps)
1306 ac_prev=psdir ;;
1307 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1308 psdir=$ac_optarg ;;
1309
1310 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1311 | -silent | --silent | --silen | --sile | --sil)
1312 silent=yes ;;
1313
1314 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1315 ac_prev=sbindir ;;
1316 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1317 | --sbi=* | --sb=*)
1318 sbindir=$ac_optarg ;;
1319
1320 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1321 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1322 | --sharedst | --shareds | --shared | --share | --shar \
1323 | --sha | --sh)
1324 ac_prev=sharedstatedir ;;
1325 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1326 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1327 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1328 | --sha=* | --sh=*)
1329 sharedstatedir=$ac_optarg ;;
1330
1331 -site | --site | --sit)
1332 ac_prev=site ;;
1333 -site=* | --site=* | --sit=*)
1334 site=$ac_optarg ;;
1335
1336 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1337 ac_prev=srcdir ;;
1338 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1339 srcdir=$ac_optarg ;;
1340
1341 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1342 | --syscon | --sysco | --sysc | --sys | --sy)
1343 ac_prev=sysconfdir ;;
1344 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1345 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1346 sysconfdir=$ac_optarg ;;
1347
1348 -target | --target | --targe | --targ | --tar | --ta | --t)
1349 ac_prev=target_alias ;;
1350 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1351 target_alias=$ac_optarg ;;
1352
1353 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1354 verbose=yes ;;
1355
1356 -version | --version | --versio | --versi | --vers | -V)
1357 ac_init_version=: ;;
1358
1359 -with-* | --with-*)
1360 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1361 # Reject names that are not valid shell variable names.
1362 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1363 { echo "$as_me: error: invalid package name: $ac_package" >&2
1364 { (exit 1); exit 1; }; }
1365 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1366 eval with_$ac_package=\$ac_optarg ;;
1367
1368 -without-* | --without-*)
1369 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1370 # Reject names that are not valid shell variable names.
1371 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1372 { echo "$as_me: error: invalid package name: $ac_package" >&2
1373 { (exit 1); exit 1; }; }
1374 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1375 eval with_$ac_package=no ;;
1376
1377 --x)
1378 # Obsolete; use --with-x.
1379 with_x=yes ;;
1380
1381 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1382 | --x-incl | --x-inc | --x-in | --x-i)
1383 ac_prev=x_includes ;;
1384 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1385 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1386 x_includes=$ac_optarg ;;
1387
1388 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1389 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1390 ac_prev=x_libraries ;;
1391 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1392 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1393 x_libraries=$ac_optarg ;;
1394
1395 -*) { echo "$as_me: error: unrecognized option: $ac_option
1396 Try \`$0 --help' for more information." >&2
1397 { (exit 1); exit 1; }; }
1398 ;;
1399
1400 *=*)
1401 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1402 # Reject names that are not valid shell variable names.
1403 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1404 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1405 { (exit 1); exit 1; }; }
1406 eval $ac_envvar=\$ac_optarg
1407 export $ac_envvar ;;
1408
1409 *)
1410 # FIXME: should be removed in autoconf 3.0.
1411 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1412 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1413 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1414 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1415 ;;
1416
1417 esac
1418 done
1419
1420 if test -n "$ac_prev"; then
1421 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1422 { echo "$as_me: error: missing argument to $ac_option" >&2
1423 { (exit 1); exit 1; }; }
1424 fi
1425
1426 # Be sure to have absolute directory names.
1427 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1428 datadir sysconfdir sharedstatedir localstatedir includedir \
1429 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1430 libdir localedir mandir
1431 do
1432 eval ac_val=\$$ac_var
1433 case $ac_val in
1434 [\\/$]* | ?:[\\/]* ) continue;;
1435 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1436 esac
1437 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1438 { (exit 1); exit 1; }; }
1439 done
1440
1441 # There might be people who depend on the old broken behavior: `$host'
1442 # used to hold the argument of --host etc.
1443 # FIXME: To remove some day.
1444 build=$build_alias
1445 host=$host_alias
1446 target=$target_alias
1447
1448 # FIXME: To remove some day.
1449 if test "x$host_alias" != x; then
1450 if test "x$build_alias" = x; then
1451 cross_compiling=maybe
1452 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1453 If a cross compiler is detected then cross compile mode will be used." >&2
1454 elif test "x$build_alias" != "x$host_alias"; then
1455 cross_compiling=yes
1456 fi
1457 fi
1458
1459 ac_tool_prefix=
1460 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1461
1462 test "$silent" = yes && exec 6>/dev/null
1463
1464
1465 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1466 ac_ls_di=`ls -di .` &&
1467 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1468 { echo "$as_me: error: Working directory cannot be determined" >&2
1469 { (exit 1); exit 1; }; }
1470 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1471 { echo "$as_me: error: pwd does not report name of working directory" >&2
1472 { (exit 1); exit 1; }; }
1473
1474
1475 # Find the source files, if location was not specified.
1476 if test -z "$srcdir"; then
1477 ac_srcdir_defaulted=yes
1478 # Try the directory containing this script, then the parent directory.
1479 ac_confdir=`$as_dirname -- "$0" ||
1480 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1481 X"$0" : 'X\(//\)[^/]' \| \
1482 X"$0" : 'X\(//\)$' \| \
1483 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1484 echo X"$0" |
1485 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1486 s//\1/
1487 q
1488 }
1489 /^X\(\/\/\)[^/].*/{
1490 s//\1/
1491 q
1492 }
1493 /^X\(\/\/\)$/{
1494 s//\1/
1495 q
1496 }
1497 /^X\(\/\).*/{
1498 s//\1/
1499 q
1500 }
1501 s/.*/./; q'`
1502 srcdir=$ac_confdir
1503 if test ! -r "$srcdir/$ac_unique_file"; then
1504 srcdir=..
1505 fi
1506 else
1507 ac_srcdir_defaulted=no
1508 fi
1509 if test ! -r "$srcdir/$ac_unique_file"; then
1510 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1511 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1512 { (exit 1); exit 1; }; }
1513 fi
1514 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1515 ac_abs_confdir=`(
1516 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1517 { (exit 1); exit 1; }; }
1518 pwd)`
1519 # When building in place, set srcdir=.
1520 if test "$ac_abs_confdir" = "$ac_pwd"; then
1521 srcdir=.
1522 fi
1523 # Remove unnecessary trailing slashes from srcdir.
1524 # Double slashes in file names in object file debugging info
1525 # mess up M-x gdb in Emacs.
1526 case $srcdir in
1527 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1528 esac
1529 for ac_var in $ac_precious_vars; do
1530 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1531 eval ac_env_${ac_var}_value=\$${ac_var}
1532 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1533 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1534 done
1535
1536 #
1537 # Report the --help message.
1538 #
1539 if test "$ac_init_help" = "long"; then
1540 # Omit some internal or obsolete options to make the list less imposing.
1541 # This message is too long to be a string in the A/UX 3.1 sh.
1542 cat <<_ACEOF
1543 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1544
1545 Usage: $0 [OPTION]... [VAR=VALUE]...
1546
1547 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1548 VAR=VALUE. See below for descriptions of some of the useful variables.
1549
1550 Defaults for the options are specified in brackets.
1551
1552 Configuration:
1553 -h, --help display this help and exit
1554 --help=short display options specific to this package
1555 --help=recursive display the short help of all the included packages
1556 -V, --version display version information and exit
1557 -q, --quiet, --silent do not print \`checking...' messages
1558 --cache-file=FILE cache test results in FILE [disabled]
1559 -C, --config-cache alias for \`--cache-file=config.cache'
1560 -n, --no-create do not create output files
1561 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1562
1563 Installation directories:
1564 --prefix=PREFIX install architecture-independent files in PREFIX
1565 [$ac_default_prefix]
1566 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1567 [PREFIX]
1568
1569 By default, \`make install' will install all the files in
1570 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1571 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1572 for instance \`--prefix=\$HOME'.
1573
1574 For better control, use the options below.
1575
1576 Fine tuning of the installation directories:
1577 --bindir=DIR user executables [EPREFIX/bin]
1578 --sbindir=DIR system admin executables [EPREFIX/sbin]
1579 --libexecdir=DIR program executables [EPREFIX/libexec]
1580 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1581 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1582 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1583 --libdir=DIR object code libraries [EPREFIX/lib]
1584 --includedir=DIR C header files [PREFIX/include]
1585 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1586 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1587 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1588 --infodir=DIR info documentation [DATAROOTDIR/info]
1589 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1590 --mandir=DIR man documentation [DATAROOTDIR/man]
1591 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1592 --htmldir=DIR html documentation [DOCDIR]
1593 --dvidir=DIR dvi documentation [DOCDIR]
1594 --pdfdir=DIR pdf documentation [DOCDIR]
1595 --psdir=DIR ps documentation [DOCDIR]
1596 _ACEOF
1597
1598 cat <<\_ACEOF
1599
1600 X features:
1601 --x-includes=DIR X include files are in DIR
1602 --x-libraries=DIR X library files are in DIR
1603
1604 System types:
1605 --build=BUILD configure for building on BUILD [guessed]
1606 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1607 --target=TARGET configure for building compilers for TARGET [HOST]
1608 _ACEOF
1609 fi
1610
1611 if test -n "$ac_init_help"; then
1612 case $ac_init_help in
1613 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1614 esac
1615 cat <<\_ACEOF
1616
1617 Optional Features:
1618 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1619 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1620 --enable-gui use GUI classes
1621 --enable-monolithic build wxWidgets as single library
1622 --enable-plugins build parts of wxWidgets as loadable components
1623 --enable-universal use wxWidgets GUI controls instead of native ones
1624 --enable-nanox use NanoX
1625 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1626 --enable-gpe use GNOME PDA Environment features if possible
1627 --enable-shared create shared library code
1628 --enable-optimise create optimised code
1629 --enable-debug same as debug_flag and debug_info
1630 --enable-stl use STL for containers
1631 --enable-omf use OMF object format
1632 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1633 --enable-debug_info create code with debugging information
1634 --enable-debug_gdb create code with extra GDB debugging information
1635 --enable-debug_cntxt use wxDebugContext
1636 --enable-mem_tracing create code with memory tracing
1637 --enable-profile create code with profiling information
1638 --enable-no_rtti create code without RTTI information
1639 --enable-no_exceptions create code without C++ exceptions handling
1640 --enable-permissive compile code disregarding strict ANSI
1641 --enable-no_deps create code without dependency information
1642 --disable-vararg_macros don't use vararg macros, even if they are supported
1643 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1644 --enable-compat26 enable wxWidgets 2.6 compatibility
1645 --disable-compat28 disable wxWidgets 2.8 compatibility
1646 --disable-rpath disable use of rpath for uninstalled builds
1647 --enable-intl use internationalization system
1648 --enable-config use wxConfig (and derived) classes
1649 --enable-protocols use wxProtocol and derived classes
1650 --enable-ftp use wxFTP (requires wxProtocol
1651 --enable-http use wxHTTP (requires wxProtocol
1652 --enable-fileproto use wxFileProto class (requires wxProtocol
1653 --enable-sockets use socket/network classes
1654 --enable-ole use OLE classes (Win32 only)
1655 --enable-dataobj use data object classes
1656 --enable-ipc use interprocess communication (wxSocket etc.)
1657 --enable-apple_ieee use the Apple IEEE codec
1658 --enable-arcstream use wxArchive streams
1659 --enable-backtrace use wxStackWalker class for getting backtraces
1660 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1661 --enable-cmdline use wxCmdLineParser class
1662 --enable-datetime use wxDateTime class
1663 --enable-debugreport use wxDebugReport class
1664 --enable-dialupman use dialup network classes
1665 --enable-dynlib use wxLibrary class for DLL loading
1666 --enable-dynamicloader use (new) wxDynamicLibrary class
1667 --enable-exceptions build exception-safe library
1668 --enable-ffile use wxFFile class
1669 --enable-file use wxFile class
1670 --enable-filesystem use virtual file systems classes
1671 --enable-fontmap use font encodings conversion classes
1672 --enable-fs_archive use virtual archive filesystems
1673 --enable-fs_inet use virtual HTTP/FTP filesystems
1674 --enable-fs_zip now replaced by fs_archive
1675 --enable-geometry use geometry class
1676 --enable-log use logging system
1677 --enable-longlong use wxLongLong class
1678 --enable-mimetype use wxMimeTypesManager
1679 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1680 --enable-snglinst use wxSingleInstanceChecker class
1681 --enable-std_iostreams use standard C++ stream classes
1682 --enable-std_string use standard C++ string classes
1683 --enable-stdpaths use wxStandardPaths class
1684 --enable-stopwatch use wxStopWatch class
1685 --enable-streams use wxStream etc classes
1686 --enable-sysoptions use wxSystemOptions
1687 --enable-tarstream use wxTar streams
1688 --enable-textbuf use wxTextBuffer class
1689 --enable-textfile use wxTextFile class
1690 --enable-timer use wxTimer class
1691 --enable-unicode compile wxString with Unicode support
1692 --enable-sound use wxSound class
1693 --enable-mediactrl use wxMediaCtrl class
1694 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1695 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1696 --enable-zipstream use wxZip streams
1697 --enable-url use wxURL class
1698 --enable-variant use wxVariant class
1699 --enable-protocol use wxProtocol class
1700 --enable-protocol-http HTTP support in wxProtocol
1701 --enable-protocol-ftp FTP support in wxProtocol
1702 --enable-protocol-file FILE support in wxProtocol
1703 --enable-threads use threads
1704 --enable-docview use document view architecture
1705 --enable-help use help subsystem
1706 --enable-mshtmlhelp use MS HTML Help (win32)
1707 --enable-html use wxHTML sub-library
1708 --enable-htmlhelp use wxHTML-based help
1709 --enable-xrc use XRC resources sub-library
1710 --enable-aui use AUI docking library
1711 --enable-constraints use layout-constraints system
1712 --enable-printarch use printing architecture
1713 --enable-mdi use multiple document interface architecture
1714 --enable-mdidoc use docview architecture with MDI
1715 --enable-loggui use standard GUI logger
1716 --enable-logwin use wxLogWindow
1717 --enable-logdialog use wxLogDialog
1718 --enable-webkit use wxWebKitCtrl (Mac)
1719 --enable-richtext use wxRichTextCtrl
1720 --enable-graphics_ctx use graphics context 2D drawing API
1721 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1722 --enable-prologio not available; see contrib
1723 --enable-resources not available; see contrib
1724 --enable-clipboard use wxClipboard class
1725 --enable-dnd use Drag'n'Drop classes
1726 --enable-metafile use win32 metafiles
1727 --enable-controls use all usual controls
1728 --enable-accel use accelerators
1729 --enable-animatectrl use wxAnimationCtrl class
1730 --enable-button use wxButton class
1731 --enable-bmpbutton use wxBitmapButton class
1732 --enable-bmpcombobox use wxBitmapComboBox class
1733 --enable-calendar use wxCalendarCtrl class
1734 --enable-caret use wxCaret class
1735 --enable-checkbox use wxCheckBox class
1736 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1737 --enable-choice use wxChoice class
1738 --enable-choicebook use wxChoicebook class
1739 --enable-collpane use wxCollapsiblePane class
1740 --enable-colourpicker use wxColourPickerCtrl class
1741 --enable-combobox use wxComboBox class
1742 --enable-comboctrl use wxComboCtrl class
1743 --enable-datepick use wxDatePickerCtrl class
1744 --enable-dirpicker use wxDirPickerCtrl class
1745 --enable-display use wxDisplay class
1746 --enable-detect_sm use code to detect X11 session manager
1747 --enable-filepicker use wxFilePickerCtrl class
1748 --enable-fontpicker use wxFontPickerCtrl class
1749 --enable-gauge use wxGauge class
1750 --enable-grid use wxGrid class
1751 --enable-dataviewctrl use wxDataViewCtrl class
1752 --enable-hyperlink use wxHyperlinkCtrl class
1753 --enable-imaglist use wxImageList class
1754 --enable-listbook use wxListbook class
1755 --enable-listbox use wxListBox class
1756 --enable-listctrl use wxListCtrl class
1757 --enable-notebook use wxNotebook class
1758 --enable-odcombobox use wxOwnerDrawnComboBox class
1759 --enable-radiobox use wxRadioBox class
1760 --enable-radiobtn use wxRadioButton class
1761 --enable-sash use wxSashWindow class
1762 --enable-scrollbar use wxScrollBar class and scrollable windows
1763 --enable-searchctrl use wxSearchCtrl class
1764 --enable-slider use wxSlider class
1765 --enable-spinbtn use wxSpinButton class
1766 --enable-spinctrl use wxSpinCtrl class
1767 --enable-splitter use wxSplitterWindow class
1768 --enable-statbmp use wxStaticBitmap class
1769 --enable-statbox use wxStaticBox class
1770 --enable-statline use wxStaticLine class
1771 --enable-stattext use wxStaticText class
1772 --enable-statusbar use wxStatusBar class
1773 --enable-tabdialog use wxTabControl class
1774 --enable-textctrl use wxTextCtrl class
1775 --enable-togglebtn use wxToggleButton class
1776 --enable-toolbar use wxToolBar class
1777 --enable-tbarnative use native wxToolBar class
1778 --enable-treebook use wxTreebook class
1779 --enable-toolbook use wxToolbook class
1780 --enable-treectrl use wxTreeCtrl class
1781 --enable-tipwindow use wxTipWindow class
1782 --enable-popupwin use wxPopUpWindow class
1783 --enable-commondlg use all common dialogs
1784 --enable-aboutdlg use wxAboutBox
1785 --enable-choicedlg use wxChoiceDialog
1786 --enable-coldlg use wxColourDialog
1787 --enable-filedlg use wxFileDialog
1788 --enable-finddlg use wxFindReplaceDialog
1789 --enable-fontdlg use wxFontDialog
1790 --enable-dirdlg use wxDirDialog
1791 --enable-msgdlg use wxMessageDialog
1792 --enable-numberdlg use wxNumberEntryDialog
1793 --enable-splash use wxSplashScreen
1794 --enable-textdlg use wxTextDialog
1795 --enable-tipdlg use startup tips
1796 --enable-progressdlg use wxProgressDialog
1797 --enable-wizarddlg use wxWizard
1798 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1799 --enable-miniframe use wxMiniFrame class
1800 --enable-tooltips use wxToolTip class
1801 --enable-splines use spline drawing code
1802 --enable-mousewheel use mousewheel
1803 --enable-validators use wxValidator and derived classes
1804 --enable-busyinfo use wxBusyInfo
1805 --enable-joystick use wxJoystick
1806 --enable-metafiles use wxMetaFile (Win32 only)
1807 --enable-dragimage use wxDragImage
1808 --enable-accessibility enable accessibility support
1809 --enable-dccache cache temporary wxDC objects (Win32 only)
1810 --enable-palette use wxPalette class
1811 --enable-image use wxImage class
1812 --enable-gif use gif images (GIF file format)
1813 --enable-pcx use pcx images (PCX file format)
1814 --enable-tga use tga images (TGA file format)
1815 --enable-iff use iff images (IFF file format)
1816 --enable-pnm use pnm images (PNM file format)
1817 --enable-xpm use xpm images (XPM file format)
1818 --enable-icocur use Windows ICO and CUR formats
1819 --enable-official_build official build of wxWidgets (win32 DLL only)
1820 --enable-vendor=VENDOR vendor name (win32 DLL only)
1821 --disable-largefile omit support for large files
1822 --disable-gtktest do not try to compile and run a test GTK+ program
1823 --disable-gtktest Do not try to compile and run a test GTK program
1824 --disable-sdltest Do not try to compile and run a test SDL program
1825 --enable-omf use OMF object format (OS/2)
1826 --disable-dependency-tracking
1827 don't use dependency tracking even if the compiler
1828 can
1829 --disable-precomp-headers
1830 don't use precompiled headers even if compiler can
1831
1832 Optional Packages:
1833 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1834 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1835 --without-subdirs don't generate makefiles for samples/demos/...
1836 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1837 --with-motif use Motif/Lesstif
1838 --with-mac use Mac OS X
1839 --with-cocoa use Cocoa
1840 --with-wine use Wine
1841 --with-msw use MS-Windows
1842 --with-pm use OS/2 Presentation Manager
1843 --with-mgl use SciTech MGL
1844 --with-directfb use DirectFB
1845 --with-microwin use MicroWindows
1846 --with-x11 use X11
1847 --with-libpng use libpng (PNG image format)
1848 --with-libjpeg use libjpeg (JPEG file format)
1849 --with-libtiff use libtiff (TIFF file format)
1850 --with-libxpm use libxpm (XPM file format)
1851 --with-libmspack use libmspack (CHM help files loading)
1852 --with-sdl use SDL for audio on Unix
1853 --with-gnomeprint use GNOME print for printing under GNOME
1854 --with-gnomevfs use GNOME VFS for associating MIME types
1855 --with-hildon use Hildon framework for Nokia 770
1856 --with-opengl use OpenGL (or Mesa)
1857 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1858 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1859 --with-regex enable support for wxRegEx class
1860 --with-zlib use zlib for LZW compression
1861 --with-odbc use the IODBC and wxODBC classes
1862 --with-expat enable XML support using expat parser
1863 --with-flavour=NAME specify a name to identify this build
1864 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1865 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1866 --with-x use the X Window System
1867 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1868 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1869 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1870 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1871 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1872
1873 Some influential environment variables:
1874 CC C compiler command
1875 CFLAGS C compiler flags
1876 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1877 nonstandard directory <lib dir>
1878 LIBS libraries to pass to the linker, e.g. -l<library>
1879 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1880 you have headers in a nonstandard directory <include dir>
1881 CPP C preprocessor
1882 CXX C++ compiler command
1883 CXXFLAGS C++ compiler flags
1884 CXXCPP C++ preprocessor
1885 PKG_CONFIG path to pkg-config utility
1886 DIRECTFB_CFLAGS
1887 C compiler flags for DIRECTFB, overriding pkg-config
1888 DIRECTFB_LIBS
1889 linker flags for DIRECTFB, overriding pkg-config
1890 XMKMF Path to xmkmf, Makefile generator for X Window System
1891 PANGOX_CFLAGS
1892 C compiler flags for PANGOX, overriding pkg-config
1893 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1894 PANGOFT2_CFLAGS
1895 C compiler flags for PANGOFT2, overriding pkg-config
1896 PANGOFT2_LIBS
1897 linker flags for PANGOFT2, overriding pkg-config
1898 PANGOXFT_CFLAGS
1899 C compiler flags for PANGOXFT, overriding pkg-config
1900 PANGOXFT_LIBS
1901 linker flags for PANGOXFT, overriding pkg-config
1902 LIBGNOMEPRINTUI_CFLAGS
1903 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1904 LIBGNOMEPRINTUI_LIBS
1905 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1906 GNOMEVFS_CFLAGS
1907 C compiler flags for GNOMEVFS, overriding pkg-config
1908 GNOMEVFS_LIBS
1909 linker flags for GNOMEVFS, overriding pkg-config
1910 HILDON_CFLAGS
1911 C compiler flags for HILDON, overriding pkg-config
1912 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1913 CAIRO_CFLAGS
1914 C compiler flags for CAIRO, overriding pkg-config
1915 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1916 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1917 GST_LIBS linker flags for GST, overriding pkg-config
1918
1919 Use these variables to override the choices made by `configure' or to help
1920 it to find libraries and programs with nonstandard names/locations.
1921
1922 Report bugs to <wx-dev@lists.wxwidgets.org>.
1923 _ACEOF
1924 ac_status=$?
1925 fi
1926
1927 if test "$ac_init_help" = "recursive"; then
1928 # If there are subdirs, report their specific --help.
1929 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1930 test -d "$ac_dir" || continue
1931 ac_builddir=.
1932
1933 case "$ac_dir" in
1934 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1935 *)
1936 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1937 # A ".." for each directory in $ac_dir_suffix.
1938 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1939 case $ac_top_builddir_sub in
1940 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1941 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1942 esac ;;
1943 esac
1944 ac_abs_top_builddir=$ac_pwd
1945 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1946 # for backward compatibility:
1947 ac_top_builddir=$ac_top_build_prefix
1948
1949 case $srcdir in
1950 .) # We are building in place.
1951 ac_srcdir=.
1952 ac_top_srcdir=$ac_top_builddir_sub
1953 ac_abs_top_srcdir=$ac_pwd ;;
1954 [\\/]* | ?:[\\/]* ) # Absolute name.
1955 ac_srcdir=$srcdir$ac_dir_suffix;
1956 ac_top_srcdir=$srcdir
1957 ac_abs_top_srcdir=$srcdir ;;
1958 *) # Relative name.
1959 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1960 ac_top_srcdir=$ac_top_build_prefix$srcdir
1961 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1962 esac
1963 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1964
1965 cd "$ac_dir" || { ac_status=$?; continue; }
1966 # Check for guested configure.
1967 if test -f "$ac_srcdir/configure.gnu"; then
1968 echo &&
1969 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1970 elif test -f "$ac_srcdir/configure"; then
1971 echo &&
1972 $SHELL "$ac_srcdir/configure" --help=recursive
1973 else
1974 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1975 fi || ac_status=$?
1976 cd "$ac_pwd" || { ac_status=$?; break; }
1977 done
1978 fi
1979
1980 test -n "$ac_init_help" && exit $ac_status
1981 if $ac_init_version; then
1982 cat <<\_ACEOF
1983 wxWidgets configure 2.9.0
1984 generated by GNU Autoconf 2.61
1985
1986 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1987 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1988 This configure script is free software; the Free Software Foundation
1989 gives unlimited permission to copy, distribute and modify it.
1990 _ACEOF
1991 exit
1992 fi
1993 cat >config.log <<_ACEOF
1994 This file contains any messages produced by compilers while
1995 running configure, to aid debugging if configure makes a mistake.
1996
1997 It was created by wxWidgets $as_me 2.9.0, which was
1998 generated by GNU Autoconf 2.61. Invocation command line was
1999
2000 $ $0 $@
2001
2002 _ACEOF
2003 exec 5>>config.log
2004 {
2005 cat <<_ASUNAME
2006 ## --------- ##
2007 ## Platform. ##
2008 ## --------- ##
2009
2010 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2011 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2012 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2013 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2014 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2015
2016 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2017 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2018
2019 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2020 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2021 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2022 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2023 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2024 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2025 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2026
2027 _ASUNAME
2028
2029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2030 for as_dir in $PATH
2031 do
2032 IFS=$as_save_IFS
2033 test -z "$as_dir" && as_dir=.
2034 echo "PATH: $as_dir"
2035 done
2036 IFS=$as_save_IFS
2037
2038 } >&5
2039
2040 cat >&5 <<_ACEOF
2041
2042
2043 ## ----------- ##
2044 ## Core tests. ##
2045 ## ----------- ##
2046
2047 _ACEOF
2048
2049
2050 # Keep a trace of the command line.
2051 # Strip out --no-create and --no-recursion so they do not pile up.
2052 # Strip out --silent because we don't want to record it for future runs.
2053 # Also quote any args containing shell meta-characters.
2054 # Make two passes to allow for proper duplicate-argument suppression.
2055 ac_configure_args=
2056 ac_configure_args0=
2057 ac_configure_args1=
2058 ac_must_keep_next=false
2059 for ac_pass in 1 2
2060 do
2061 for ac_arg
2062 do
2063 case $ac_arg in
2064 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2065 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2066 | -silent | --silent | --silen | --sile | --sil)
2067 continue ;;
2068 *\'*)
2069 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2070 esac
2071 case $ac_pass in
2072 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2073 2)
2074 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2075 if test $ac_must_keep_next = true; then
2076 ac_must_keep_next=false # Got value, back to normal.
2077 else
2078 case $ac_arg in
2079 *=* | --config-cache | -C | -disable-* | --disable-* \
2080 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2081 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2082 | -with-* | --with-* | -without-* | --without-* | --x)
2083 case "$ac_configure_args0 " in
2084 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2085 esac
2086 ;;
2087 -* ) ac_must_keep_next=true ;;
2088 esac
2089 fi
2090 ac_configure_args="$ac_configure_args '$ac_arg'"
2091 ;;
2092 esac
2093 done
2094 done
2095 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2096 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2097
2098 # When interrupted or exit'd, cleanup temporary files, and complete
2099 # config.log. We remove comments because anyway the quotes in there
2100 # would cause problems or look ugly.
2101 # WARNING: Use '\'' to represent an apostrophe within the trap.
2102 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2103 trap 'exit_status=$?
2104 # Save into config.log some information that might help in debugging.
2105 {
2106 echo
2107
2108 cat <<\_ASBOX
2109 ## ---------------- ##
2110 ## Cache variables. ##
2111 ## ---------------- ##
2112 _ASBOX
2113 echo
2114 # The following way of writing the cache mishandles newlines in values,
2115 (
2116 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2117 eval ac_val=\$$ac_var
2118 case $ac_val in #(
2119 *${as_nl}*)
2120 case $ac_var in #(
2121 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2122 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2123 esac
2124 case $ac_var in #(
2125 _ | IFS | as_nl) ;; #(
2126 *) $as_unset $ac_var ;;
2127 esac ;;
2128 esac
2129 done
2130 (set) 2>&1 |
2131 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2132 *${as_nl}ac_space=\ *)
2133 sed -n \
2134 "s/'\''/'\''\\\\'\'''\''/g;
2135 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2136 ;; #(
2137 *)
2138 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2139 ;;
2140 esac |
2141 sort
2142 )
2143 echo
2144
2145 cat <<\_ASBOX
2146 ## ----------------- ##
2147 ## Output variables. ##
2148 ## ----------------- ##
2149 _ASBOX
2150 echo
2151 for ac_var in $ac_subst_vars
2152 do
2153 eval ac_val=\$$ac_var
2154 case $ac_val in
2155 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2156 esac
2157 echo "$ac_var='\''$ac_val'\''"
2158 done | sort
2159 echo
2160
2161 if test -n "$ac_subst_files"; then
2162 cat <<\_ASBOX
2163 ## ------------------- ##
2164 ## File substitutions. ##
2165 ## ------------------- ##
2166 _ASBOX
2167 echo
2168 for ac_var in $ac_subst_files
2169 do
2170 eval ac_val=\$$ac_var
2171 case $ac_val in
2172 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2173 esac
2174 echo "$ac_var='\''$ac_val'\''"
2175 done | sort
2176 echo
2177 fi
2178
2179 if test -s confdefs.h; then
2180 cat <<\_ASBOX
2181 ## ----------- ##
2182 ## confdefs.h. ##
2183 ## ----------- ##
2184 _ASBOX
2185 echo
2186 cat confdefs.h
2187 echo
2188 fi
2189 test "$ac_signal" != 0 &&
2190 echo "$as_me: caught signal $ac_signal"
2191 echo "$as_me: exit $exit_status"
2192 } >&5
2193 rm -f core *.core core.conftest.* &&
2194 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2195 exit $exit_status
2196 ' 0
2197 for ac_signal in 1 2 13 15; do
2198 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2199 done
2200 ac_signal=0
2201
2202 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2203 rm -f -r conftest* confdefs.h
2204
2205 # Predefined preprocessor variables.
2206
2207 cat >>confdefs.h <<_ACEOF
2208 #define PACKAGE_NAME "$PACKAGE_NAME"
2209 _ACEOF
2210
2211
2212 cat >>confdefs.h <<_ACEOF
2213 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2214 _ACEOF
2215
2216
2217 cat >>confdefs.h <<_ACEOF
2218 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2219 _ACEOF
2220
2221
2222 cat >>confdefs.h <<_ACEOF
2223 #define PACKAGE_STRING "$PACKAGE_STRING"
2224 _ACEOF
2225
2226
2227 cat >>confdefs.h <<_ACEOF
2228 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2229 _ACEOF
2230
2231
2232 # Let the site file select an alternate cache file if it wants to.
2233 # Prefer explicitly selected file to automatically selected ones.
2234 if test -n "$CONFIG_SITE"; then
2235 set x "$CONFIG_SITE"
2236 elif test "x$prefix" != xNONE; then
2237 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2238 else
2239 set x "$ac_default_prefix/share/config.site" \
2240 "$ac_default_prefix/etc/config.site"
2241 fi
2242 shift
2243 for ac_site_file
2244 do
2245 if test -r "$ac_site_file"; then
2246 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2247 echo "$as_me: loading site script $ac_site_file" >&6;}
2248 sed 's/^/| /' "$ac_site_file" >&5
2249 . "$ac_site_file"
2250 fi
2251 done
2252
2253 if test -r "$cache_file"; then
2254 # Some versions of bash will fail to source /dev/null (special
2255 # files actually), so we avoid doing that.
2256 if test -f "$cache_file"; then
2257 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2258 echo "$as_me: loading cache $cache_file" >&6;}
2259 case $cache_file in
2260 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2261 *) . "./$cache_file";;
2262 esac
2263 fi
2264 else
2265 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2266 echo "$as_me: creating cache $cache_file" >&6;}
2267 >$cache_file
2268 fi
2269
2270 # Check that the precious variables saved in the cache have kept the same
2271 # value.
2272 ac_cache_corrupted=false
2273 for ac_var in $ac_precious_vars; do
2274 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2275 eval ac_new_set=\$ac_env_${ac_var}_set
2276 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2277 eval ac_new_val=\$ac_env_${ac_var}_value
2278 case $ac_old_set,$ac_new_set in
2279 set,)
2280 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2281 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2282 ac_cache_corrupted=: ;;
2283 ,set)
2284 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2285 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2286 ac_cache_corrupted=: ;;
2287 ,);;
2288 *)
2289 if test "x$ac_old_val" != "x$ac_new_val"; then
2290 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2291 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2292 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2293 echo "$as_me: former value: $ac_old_val" >&2;}
2294 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2295 echo "$as_me: current value: $ac_new_val" >&2;}
2296 ac_cache_corrupted=:
2297 fi;;
2298 esac
2299 # Pass precious variables to config.status.
2300 if test "$ac_new_set" = set; then
2301 case $ac_new_val in
2302 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2303 *) ac_arg=$ac_var=$ac_new_val ;;
2304 esac
2305 case " $ac_configure_args " in
2306 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2307 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2308 esac
2309 fi
2310 done
2311 if $ac_cache_corrupted; then
2312 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2313 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2314 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2315 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2316 { (exit 1); exit 1; }; }
2317 fi
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343 ac_ext=c
2344 ac_cpp='$CPP $CPPFLAGS'
2345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2348
2349
2350
2351
2352
2353 ac_aux_dir=
2354 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2355 if test -f "$ac_dir/install-sh"; then
2356 ac_aux_dir=$ac_dir
2357 ac_install_sh="$ac_aux_dir/install-sh -c"
2358 break
2359 elif test -f "$ac_dir/install.sh"; then
2360 ac_aux_dir=$ac_dir
2361 ac_install_sh="$ac_aux_dir/install.sh -c"
2362 break
2363 elif test -f "$ac_dir/shtool"; then
2364 ac_aux_dir=$ac_dir
2365 ac_install_sh="$ac_aux_dir/shtool install -c"
2366 break
2367 fi
2368 done
2369 if test -z "$ac_aux_dir"; then
2370 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2371 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2372 { (exit 1); exit 1; }; }
2373 fi
2374
2375 # These three variables are undocumented and unsupported,
2376 # and are intended to be withdrawn in a future Autoconf release.
2377 # They can cause serious problems if a builder's source tree is in a directory
2378 # whose full name contains unusual characters.
2379 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2380 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2381 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2382
2383
2384 # Make sure we can run config.sub.
2385 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2386 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2387 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2388 { (exit 1); exit 1; }; }
2389
2390 { echo "$as_me:$LINENO: checking build system type" >&5
2391 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2392 if test "${ac_cv_build+set}" = set; then
2393 echo $ECHO_N "(cached) $ECHO_C" >&6
2394 else
2395 ac_build_alias=$build_alias
2396 test "x$ac_build_alias" = x &&
2397 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2398 test "x$ac_build_alias" = x &&
2399 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2400 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2401 { (exit 1); exit 1; }; }
2402 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2403 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2404 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2405 { (exit 1); exit 1; }; }
2406
2407 fi
2408 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2409 echo "${ECHO_T}$ac_cv_build" >&6; }
2410 case $ac_cv_build in
2411 *-*-*) ;;
2412 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2413 echo "$as_me: error: invalid value of canonical build" >&2;}
2414 { (exit 1); exit 1; }; };;
2415 esac
2416 build=$ac_cv_build
2417 ac_save_IFS=$IFS; IFS='-'
2418 set x $ac_cv_build
2419 shift
2420 build_cpu=$1
2421 build_vendor=$2
2422 shift; shift
2423 # Remember, the first character of IFS is used to create $*,
2424 # except with old shells:
2425 build_os=$*
2426 IFS=$ac_save_IFS
2427 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2428
2429
2430 { echo "$as_me:$LINENO: checking host system type" >&5
2431 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2432 if test "${ac_cv_host+set}" = set; then
2433 echo $ECHO_N "(cached) $ECHO_C" >&6
2434 else
2435 if test "x$host_alias" = x; then
2436 ac_cv_host=$ac_cv_build
2437 else
2438 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2439 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2440 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2441 { (exit 1); exit 1; }; }
2442 fi
2443
2444 fi
2445 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2446 echo "${ECHO_T}$ac_cv_host" >&6; }
2447 case $ac_cv_host in
2448 *-*-*) ;;
2449 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2450 echo "$as_me: error: invalid value of canonical host" >&2;}
2451 { (exit 1); exit 1; }; };;
2452 esac
2453 host=$ac_cv_host
2454 ac_save_IFS=$IFS; IFS='-'
2455 set x $ac_cv_host
2456 shift
2457 host_cpu=$1
2458 host_vendor=$2
2459 shift; shift
2460 # Remember, the first character of IFS is used to create $*,
2461 # except with old shells:
2462 host_os=$*
2463 IFS=$ac_save_IFS
2464 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2465
2466
2467 { echo "$as_me:$LINENO: checking target system type" >&5
2468 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2469 if test "${ac_cv_target+set}" = set; then
2470 echo $ECHO_N "(cached) $ECHO_C" >&6
2471 else
2472 if test "x$target_alias" = x; then
2473 ac_cv_target=$ac_cv_host
2474 else
2475 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2476 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2477 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2478 { (exit 1); exit 1; }; }
2479 fi
2480
2481 fi
2482 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2483 echo "${ECHO_T}$ac_cv_target" >&6; }
2484 case $ac_cv_target in
2485 *-*-*) ;;
2486 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2487 echo "$as_me: error: invalid value of canonical target" >&2;}
2488 { (exit 1); exit 1; }; };;
2489 esac
2490 target=$ac_cv_target
2491 ac_save_IFS=$IFS; IFS='-'
2492 set x $ac_cv_target
2493 shift
2494 target_cpu=$1
2495 target_vendor=$2
2496 shift; shift
2497 # Remember, the first character of IFS is used to create $*,
2498 # except with old shells:
2499 target_os=$*
2500 IFS=$ac_save_IFS
2501 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2502
2503
2504 # The aliases save the names the user supplied, while $host etc.
2505 # will get canonicalized.
2506 test -n "$target_alias" &&
2507 test "$program_prefix$program_suffix$program_transform_name" = \
2508 NONENONEs,x,x, &&
2509 program_prefix=${target_alias}-
2510
2511
2512
2513 wx_major_version_number=2
2514 wx_minor_version_number=9
2515 wx_release_number=0
2516 wx_subrelease_number=0
2517
2518 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2519 WX_VERSION=$WX_RELEASE.$wx_release_number
2520 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2521
2522 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2523
2524
2525 wx_top_builddir="`pwd`"
2526
2527
2528
2529
2530 USE_UNIX=1
2531 USE_OS2=0
2532 USE_WIN32=0
2533 USE_DOS=0
2534 USE_BEOS=0
2535 USE_MAC=0
2536
2537 USE_AIX=
2538 USE_BSD= USE_DARWIN= USE_FREEBSD=
2539 USE_GNU= USE_HPUX=
2540 USE_LINUX=
2541 USE_NETBSD=
2542 USE_OPENBSD=
2543 USE_OSF= USE_SGI=
2544 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2545 USE_ULTRIX=
2546 USE_UNIXWARE=
2547
2548 USE_ALPHA=
2549
2550 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2551
2552 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2553
2554 DEFAULT_wxUSE_COCOA=0
2555 DEFAULT_wxUSE_GTK=0
2556 DEFAULT_wxUSE_MAC=0
2557 DEFAULT_wxUSE_MGL=0
2558 DEFAULT_wxUSE_MICROWIN=0
2559 DEFAULT_wxUSE_MOTIF=0
2560 DEFAULT_wxUSE_MSW=0
2561 DEFAULT_wxUSE_PM=0
2562 DEFAULT_wxUSE_X11=0
2563 DEFAULT_wxUSE_DFB=0
2564
2565 DEFAULT_DEFAULT_wxUSE_COCOA=0
2566 DEFAULT_DEFAULT_wxUSE_GTK=0
2567 DEFAULT_DEFAULT_wxUSE_MAC=0
2568 DEFAULT_DEFAULT_wxUSE_MGL=0
2569 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2570 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2571 DEFAULT_DEFAULT_wxUSE_MSW=0
2572 DEFAULT_DEFAULT_wxUSE_PM=0
2573 DEFAULT_DEFAULT_wxUSE_X11=0
2574 DEFAULT_DEFAULT_wxUSE_DFB=0
2575
2576 PROGRAM_EXT=
2577 SO_SUFFIX=so
2578 SAMPLES_RPATH_FLAG=
2579 SAMPLES_RPATH_POSTLINK=
2580
2581 DEFAULT_STD_FLAG=yes
2582
2583 case "${host}" in
2584 *-hp-hpux* )
2585 USE_HPUX=1
2586 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2587 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2588 SO_SUFFIX=sl
2589 cat >>confdefs.h <<\_ACEOF
2590 #define __HPUX__ 1
2591 _ACEOF
2592
2593
2594 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2595 ;;
2596 *-*-linux* )
2597 USE_LINUX=1
2598 cat >>confdefs.h <<\_ACEOF
2599 #define __LINUX__ 1
2600 _ACEOF
2601
2602 TMP=`uname -m`
2603 if test "x$TMP" = "xalpha"; then
2604 USE_ALPHA=1
2605 cat >>confdefs.h <<\_ACEOF
2606 #define __ALPHA__ 1
2607 _ACEOF
2608
2609 fi
2610 DEFAULT_DEFAULT_wxUSE_GTK=1
2611 ;;
2612 *-*-gnu* | *-*-k*bsd*-gnu )
2613 USE_GNU=1
2614 TMP=`uname -m`
2615 if test "x$TMP" = "xalpha"; then
2616 USE_ALPHA=1
2617 cat >>confdefs.h <<\_ACEOF
2618 #define __ALPHA__ 1
2619 _ACEOF
2620
2621 fi
2622 DEFAULT_DEFAULT_wxUSE_GTK=1
2623 ;;
2624 *-*-irix5* | *-*-irix6* )
2625 USE_SGI=1
2626 USE_SVR4=1
2627 cat >>confdefs.h <<\_ACEOF
2628 #define __SGI__ 1
2629 _ACEOF
2630
2631 cat >>confdefs.h <<\_ACEOF
2632 #define __SVR4__ 1
2633 _ACEOF
2634
2635 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2636 ;;
2637 *-*-solaris2* )
2638 USE_SUN=1
2639 USE_SOLARIS=1
2640 USE_SVR4=1
2641 cat >>confdefs.h <<\_ACEOF
2642 #define __SUN__ 1
2643 _ACEOF
2644
2645 cat >>confdefs.h <<\_ACEOF
2646 #define __SOLARIS__ 1
2647 _ACEOF
2648
2649 cat >>confdefs.h <<\_ACEOF
2650 #define __SVR4__ 1
2651 _ACEOF
2652
2653 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2654 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2655 ;;
2656 *-*-sunos4* )
2657 USE_SUN=1
2658 USE_SUNOS=1
2659 USE_BSD=1
2660 cat >>confdefs.h <<\_ACEOF
2661 #define __SUN__ 1
2662 _ACEOF
2663
2664 cat >>confdefs.h <<\_ACEOF
2665 #define __SUNOS__ 1
2666 _ACEOF
2667
2668 cat >>confdefs.h <<\_ACEOF
2669 #define __BSD__ 1
2670 _ACEOF
2671
2672 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2673 ;;
2674 *-*-freebsd*)
2675 USE_BSD=1
2676 USE_FREEBSD=1
2677 cat >>confdefs.h <<\_ACEOF
2678 #define __FREEBSD__ 1
2679 _ACEOF
2680
2681 cat >>confdefs.h <<\_ACEOF
2682 #define __BSD__ 1
2683 _ACEOF
2684
2685 DEFAULT_DEFAULT_wxUSE_GTK=1
2686 ;;
2687 *-*-openbsd*|*-*-mirbsd*)
2688 USE_BSD=1
2689 USE_OPENBSD=1
2690 cat >>confdefs.h <<\_ACEOF
2691 #define __OPENBSD__ 1
2692 _ACEOF
2693
2694 cat >>confdefs.h <<\_ACEOF
2695 #define __BSD__ 1
2696 _ACEOF
2697
2698 DEFAULT_DEFAULT_wxUSE_GTK=1
2699 ;;
2700 *-*-netbsd*)
2701 USE_BSD=1
2702 USE_NETBSD=1
2703 cat >>confdefs.h <<\_ACEOF
2704 #define __NETBSD__ 1
2705 _ACEOF
2706
2707 cat >>confdefs.h <<\_ACEOF
2708 #define __BSD__ 1
2709 _ACEOF
2710
2711 DEFAULT_DEFAULT_wxUSE_GTK=1
2712 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2713
2714 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2715 ;;
2716 *-*-osf* )
2717 USE_ALPHA=1
2718 USE_OSF=1
2719 cat >>confdefs.h <<\_ACEOF
2720 #define __ALPHA__ 1
2721 _ACEOF
2722
2723 cat >>confdefs.h <<\_ACEOF
2724 #define __OSF__ 1
2725 _ACEOF
2726
2727 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2728 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2729 ;;
2730 *-*-dgux5* )
2731 USE_ALPHA=1
2732 USE_SVR4=1
2733 cat >>confdefs.h <<\_ACEOF
2734 #define __ALPHA__ 1
2735 _ACEOF
2736
2737 cat >>confdefs.h <<\_ACEOF
2738 #define __SVR4__ 1
2739 _ACEOF
2740
2741 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2742 ;;
2743 *-*-sysv5* )
2744 USE_SYSV=1
2745 USE_SVR4=1
2746 cat >>confdefs.h <<\_ACEOF
2747 #define __SYSV__ 1
2748 _ACEOF
2749
2750 cat >>confdefs.h <<\_ACEOF
2751 #define __SVR4__ 1
2752 _ACEOF
2753
2754 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2755 ;;
2756 *-*-aix* )
2757 USE_AIX=1
2758 USE_SYSV=1
2759 USE_SVR4=1
2760 SO_SUFFIX=a
2761 cat >>confdefs.h <<\_ACEOF
2762 #define __AIX__ 1
2763 _ACEOF
2764
2765 cat >>confdefs.h <<\_ACEOF
2766 #define __SYSV__ 1
2767 _ACEOF
2768
2769 cat >>confdefs.h <<\_ACEOF
2770 #define __SVR4__ 1
2771 _ACEOF
2772
2773 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2774 ;;
2775
2776 *-*-*UnixWare*)
2777 USE_SYSV=1
2778 USE_SVR4=1
2779 USE_UNIXWARE=1
2780 cat >>confdefs.h <<\_ACEOF
2781 #define __UNIXWARE__ 1
2782 _ACEOF
2783
2784 ;;
2785
2786 *-*-cygwin* | *-*-mingw32* )
2787 SO_SUFFIX=dll
2788 PROGRAM_EXT=".exe"
2789 DEFAULT_DEFAULT_wxUSE_MSW=1
2790 ;;
2791
2792 *-pc-msdosdjgpp )
2793 USE_UNIX=0
2794 USE_DOS=1
2795 cat >>confdefs.h <<\_ACEOF
2796 #define __DOS__ 1
2797 _ACEOF
2798
2799 PROGRAM_EXT=".exe"
2800 DEFAULT_DEFAULT_wxUSE_MGL=1
2801 ;;
2802
2803 *-pc-os2_emx | *-pc-os2-emx )
2804 cat >>confdefs.h <<\_ACEOF
2805 #define __EMX__ 1
2806 _ACEOF
2807
2808 USE_OS2=1
2809 cat >>confdefs.h <<\_ACEOF
2810 #define __OS2__ 1
2811 _ACEOF
2812
2813 PROGRAM_EXT=".exe"
2814 DEFAULT_DEFAULT_wxUSE_PM=1
2815 CXX=gcc
2816 LDFLAGS="$LDFLAGS -Zcrtdll"
2817 ac_executable_extensions=".exe"
2818 export ac_executable_extensions
2819 ac_save_IFS="$IFS"
2820 IFS='\\'
2821 ac_TEMP_PATH=
2822 for ac_dir in $PATH; do
2823 IFS=$ac_save_IFS
2824 if test -z "$ac_TEMP_PATH"; then
2825 ac_TEMP_PATH="$ac_dir"
2826 else
2827 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2828 fi
2829 done
2830 export PATH="$ac_TEMP_PATH"
2831 unset ac_TEMP_PATH
2832 DEFAULT_STD_FLAG=no
2833 ;;
2834
2835 *-*-darwin* )
2836 USE_BSD=1
2837 USE_DARWIN=1
2838 SO_SUFFIX=dylib
2839 cat >>confdefs.h <<\_ACEOF
2840 #define __BSD__ 1
2841 _ACEOF
2842
2843 cat >>confdefs.h <<\_ACEOF
2844 #define __DARWIN__ 1
2845 _ACEOF
2846
2847 cat >>confdefs.h <<\_ACEOF
2848 #define TARGET_CARBON 1
2849 _ACEOF
2850
2851 DEFAULT_DEFAULT_wxUSE_MAC=1
2852 DEFAULT_STD_FLAG=no
2853 ;;
2854 powerpc-apple-macos* )
2855 USE_UNIX=0
2856 ac_cv_c_bigendian=yes
2857 SO_SUFFIX=shlib
2858 DEFAULT_DEFAULT_wxUSE_MAC=1
2859 DEFAULT_STD_FLAG=no
2860 ;;
2861
2862 *-*-beos* )
2863 USE_BEOS=1
2864 cat >>confdefs.h <<\_ACEOF
2865 #define __BEOS__ 1
2866 _ACEOF
2867
2868 ;;
2869
2870 *)
2871 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2872 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2873 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2874 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2875
2876 DEFAULT_DEFAULT_wxUSE_X11=1
2877 DEFAULT_wxUSE_SHARED=no
2878 esac
2879
2880
2881
2882
2883 wx_arg_cache_file="configarg.cache"
2884 echo "loading argument cache $wx_arg_cache_file"
2885 rm -f ${wx_arg_cache_file}.tmp
2886 touch ${wx_arg_cache_file}.tmp
2887 touch ${wx_arg_cache_file}
2888
2889
2890 DEBUG_CONFIGURE=0
2891 if test $DEBUG_CONFIGURE = 1; then
2892 DEFAULT_wxUSE_UNIVERSAL=no
2893 DEFAULT_wxUSE_STL=no
2894
2895 DEFAULT_wxUSE_NANOX=no
2896
2897 DEFAULT_wxUSE_THREADS=yes
2898
2899 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2900 DEFAULT_wxUSE_OPTIMISE=no
2901 DEFAULT_wxUSE_PROFILE=no
2902 DEFAULT_wxUSE_NO_DEPS=no
2903 DEFAULT_wxUSE_VARARG_MACROS=no
2904 DEFAULT_wxUSE_NO_RTTI=no
2905 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2906 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2907 DEFAULT_wxUSE_RPATH=yes
2908 DEFAULT_wxUSE_PERMISSIVE=no
2909 DEFAULT_wxUSE_DEBUG_FLAG=yes
2910 DEFAULT_wxUSE_DEBUG_INFO=yes
2911 DEFAULT_wxUSE_DEBUG_GDB=yes
2912 DEFAULT_wxUSE_MEM_TRACING=no
2913 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2914 DEFAULT_wxUSE_DMALLOC=no
2915 DEFAULT_wxUSE_APPLE_IEEE=no
2916
2917 DEFAULT_wxUSE_EXCEPTIONS=no
2918 DEFAULT_wxUSE_LOG=yes
2919 DEFAULT_wxUSE_LOGWINDOW=no
2920 DEFAULT_wxUSE_LOGGUI=no
2921 DEFAULT_wxUSE_LOGDIALOG=no
2922
2923 DEFAULT_wxUSE_GUI=yes
2924 DEFAULT_wxUSE_CONTROLS=no
2925
2926 DEFAULT_wxUSE_REGEX=no
2927 DEFAULT_wxUSE_XML=no
2928 DEFAULT_wxUSE_EXPAT=no
2929 DEFAULT_wxUSE_ZLIB=no
2930 DEFAULT_wxUSE_LIBPNG=no
2931 DEFAULT_wxUSE_LIBJPEG=no
2932 DEFAULT_wxUSE_LIBTIFF=no
2933 DEFAULT_wxUSE_LIBXPM=no
2934 DEFAULT_wxUSE_LIBMSPACK=no
2935 DEFAULT_wxUSE_LIBSDL=no
2936 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2937 DEFAULT_wxUSE_LIBGNOMEVFS=no
2938 DEFAULT_wxUSE_LIBHILDON=no
2939 DEFAULT_wxUSE_ODBC=no
2940 DEFAULT_wxUSE_OPENGL=no
2941
2942 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2943 DEFAULT_wxUSE_STACKWALKER=no
2944 DEFAULT_wxUSE_DEBUGREPORT=no
2945 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2946 DEFAULT_wxUSE_STD_IOSTREAM=no
2947 DEFAULT_wxUSE_STD_STRING=no
2948 DEFAULT_wxUSE_CMDLINE_PARSER=no
2949 DEFAULT_wxUSE_DATETIME=no
2950 DEFAULT_wxUSE_TIMER=no
2951 DEFAULT_wxUSE_STOPWATCH=no
2952 DEFAULT_wxUSE_FILE=no
2953 DEFAULT_wxUSE_FFILE=no
2954 DEFAULT_wxUSE_STDPATHS=no
2955 DEFAULT_wxUSE_TEXTBUFFER=no
2956 DEFAULT_wxUSE_TEXTFILE=no
2957 DEFAULT_wxUSE_SOUND=no
2958 DEFAULT_wxUSE_MEDIACTRL=no
2959 DEFAULT_wxUSE_GSTREAMER8=no
2960 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2961 DEFAULT_wxUSE_INTL=no
2962 DEFAULT_wxUSE_CONFIG=no
2963 DEFAULT_wxUSE_FONTMAP=no
2964 DEFAULT_wxUSE_STREAMS=no
2965 DEFAULT_wxUSE_SOCKETS=no
2966 DEFAULT_wxUSE_OLE=no
2967 DEFAULT_wxUSE_DATAOBJ=no
2968 DEFAULT_wxUSE_DIALUP_MANAGER=no
2969 DEFAULT_wxUSE_JOYSTICK=no
2970 DEFAULT_wxUSE_DYNLIB_CLASS=no
2971 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2972 DEFAULT_wxUSE_LONGLONG=no
2973 DEFAULT_wxUSE_GEOMETRY=no
2974
2975 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2976 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2977 DEFAULT_wxUSE_POSTSCRIPT=no
2978
2979 DEFAULT_wxUSE_CLIPBOARD=no
2980 DEFAULT_wxUSE_TOOLTIPS=no
2981 DEFAULT_wxUSE_DRAG_AND_DROP=no
2982 DEFAULT_wxUSE_DRAGIMAGE=no
2983 DEFAULT_wxUSE_SPLINES=no
2984 DEFAULT_wxUSE_MOUSEWHEEL=no
2985
2986 DEFAULT_wxUSE_MDI=no
2987 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2988 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2989 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2990
2991 DEFAULT_wxUSE_RESOURCES=no
2992 DEFAULT_wxUSE_CONSTRAINTS=no
2993 DEFAULT_wxUSE_IPC=no
2994 DEFAULT_wxUSE_HELP=no
2995 DEFAULT_wxUSE_MS_HTML_HELP=no
2996 DEFAULT_wxUSE_WXHTML_HELP=no
2997 DEFAULT_wxUSE_TREELAYOUT=no
2998 DEFAULT_wxUSE_METAFILE=no
2999 DEFAULT_wxUSE_MIMETYPE=no
3000 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
3001 DEFAULT_wxUSE_PROTOCOL=no
3002 DEFAULT_wxUSE_PROTOCOL_HTTP=no
3003 DEFAULT_wxUSE_PROTOCOL_FTP=no
3004 DEFAULT_wxUSE_PROTOCOL_FILE=no
3005 DEFAULT_wxUSE_URL=no
3006 DEFAULT_wxUSE_VARIANT=no
3007
3008 DEFAULT_wxUSE_ABOUTDLG=no
3009 DEFAULT_wxUSE_COMMONDLGS=no
3010 DEFAULT_wxUSE_CHOICEDLG=no
3011 DEFAULT_wxUSE_COLOURDLG=no
3012 DEFAULT_wxUSE_DIRDLG=no
3013 DEFAULT_wxUSE_FILEDLG=no
3014 DEFAULT_wxUSE_FINDREPLDLG=no
3015 DEFAULT_wxUSE_FONTDLG=no
3016 DEFAULT_wxUSE_MSGDLG=no
3017 DEFAULT_wxUSE_NUMBERDLG=no
3018 DEFAULT_wxUSE_TEXTDLG=no
3019 DEFAULT_wxUSE_SPLASH=no
3020 DEFAULT_wxUSE_STARTUP_TIPS=no
3021 DEFAULT_wxUSE_PROGRESSDLG=no
3022 DEFAULT_wxUSE_WIZARDDLG=no
3023
3024 DEFAULT_wxUSE_MENUS=no
3025 DEFAULT_wxUSE_MINIFRAME=no
3026 DEFAULT_wxUSE_HTML=no
3027 DEFAULT_wxUSE_RICHTEXT=no
3028 DEFAULT_wxUSE_XRC=no
3029 DEFAULT_wxUSE_AUI=no
3030 DEFAULT_wxUSE_WEBKIT=no
3031 DEFAULT_wxUSE_FILESYSTEM=no
3032 DEFAULT_wxUSE_FS_INET=no
3033 DEFAULT_wxUSE_FS_ZIP=no
3034 DEFAULT_wxUSE_FS_ARCHIVE=no
3035 DEFAULT_wxUSE_BUSYINFO=no
3036 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3037 DEFAULT_wxUSE_ZIPSTREAM=no
3038 DEFAULT_wxUSE_TARSTREAM=no
3039 DEFAULT_wxUSE_VALIDATORS=no
3040
3041 DEFAULT_wxUSE_ACCEL=no
3042 DEFAULT_wxUSE_ANIMATIONCTRL=no
3043 DEFAULT_wxUSE_BUTTON=no
3044 DEFAULT_wxUSE_BMPBUTTON=no
3045 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3046 DEFAULT_wxUSE_CALCTRL=no
3047 DEFAULT_wxUSE_CARET=no
3048 DEFAULT_wxUSE_CHECKBOX=no
3049 DEFAULT_wxUSE_CHECKLST=no
3050 DEFAULT_wxUSE_CHOICE=no
3051 DEFAULT_wxUSE_CHOICEBOOK=no
3052 DEFAULT_wxUSE_COLLPANE=no
3053 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3054 DEFAULT_wxUSE_COMBOBOX=no
3055 DEFAULT_wxUSE_COMBOCTRL=no
3056 DEFAULT_wxUSE_DATEPICKCTRL=no
3057 DEFAULT_wxUSE_DISPLAY=no
3058 DEFAULT_wxUSE_DETECT_SM=no
3059 DEFAULT_wxUSE_DIRPICKERCTRL=no
3060 DEFAULT_wxUSE_FILEPICKERCTRL=no
3061 DEFAULT_wxUSE_FONTPICKERCTRL=no
3062 DEFAULT_wxUSE_GAUGE=no
3063 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3064 DEFAULT_wxUSE_GRID=no
3065 DEFAULT_wxUSE_HYPERLINKCTRL=no
3066 DEFAULT_wxUSE_DATAVIEWCTRL=no
3067 DEFAULT_wxUSE_IMAGLIST=no
3068 DEFAULT_wxUSE_LISTBOOK=no
3069 DEFAULT_wxUSE_LISTBOX=no
3070 DEFAULT_wxUSE_LISTCTRL=no
3071 DEFAULT_wxUSE_NOTEBOOK=no
3072 DEFAULT_wxUSE_ODCOMBOBOX=no
3073 DEFAULT_wxUSE_RADIOBOX=no
3074 DEFAULT_wxUSE_RADIOBTN=no
3075 DEFAULT_wxUSE_SASH=no
3076 DEFAULT_wxUSE_SCROLLBAR=no
3077 DEFAULT_wxUSE_SEARCHCTRL=no
3078 DEFAULT_wxUSE_SLIDER=no
3079 DEFAULT_wxUSE_SPINBTN=no
3080 DEFAULT_wxUSE_SPINCTRL=no
3081 DEFAULT_wxUSE_SPLITTER=no
3082 DEFAULT_wxUSE_STATBMP=no
3083 DEFAULT_wxUSE_STATBOX=no
3084 DEFAULT_wxUSE_STATLINE=no
3085 DEFAULT_wxUSE_STATTEXT=no
3086 DEFAULT_wxUSE_STATUSBAR=yes
3087 DEFAULT_wxUSE_TAB_DIALOG=no
3088 DEFAULT_wxUSE_TEXTCTRL=no
3089 DEFAULT_wxUSE_TOGGLEBTN=no
3090 DEFAULT_wxUSE_TOOLBAR=no
3091 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3092 DEFAULT_wxUSE_TREEBOOK=no
3093 DEFAULT_wxUSE_TOOLBOOK=no
3094 DEFAULT_wxUSE_TREECTRL=no
3095 DEFAULT_wxUSE_POPUPWIN=no
3096 DEFAULT_wxUSE_TIPWINDOW=no
3097
3098 DEFAULT_wxUSE_UNICODE=no
3099 DEFAULT_wxUSE_UNICODE_MSLU=no
3100 DEFAULT_wxUSE_WCSRTOMBS=no
3101
3102 DEFAULT_wxUSE_PALETTE=no
3103 DEFAULT_wxUSE_IMAGE=no
3104 DEFAULT_wxUSE_GIF=no
3105 DEFAULT_wxUSE_PCX=no
3106 DEFAULT_wxUSE_TGA=no
3107 DEFAULT_wxUSE_PNM=no
3108 DEFAULT_wxUSE_IFF=no
3109 DEFAULT_wxUSE_XPM=no
3110 DEFAULT_wxUSE_ICO_CUR=no
3111 DEFAULT_wxUSE_ACCESSIBILITY=no
3112
3113 DEFAULT_wxUSE_MONOLITHIC=no
3114 DEFAULT_wxUSE_PLUGINS=no
3115 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3116 else
3117 DEFAULT_wxUSE_UNIVERSAL=no
3118 DEFAULT_wxUSE_STL=no
3119
3120 DEFAULT_wxUSE_NANOX=no
3121
3122 DEFAULT_wxUSE_THREADS=yes
3123
3124 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3125 DEFAULT_wxUSE_OPTIMISE=yes
3126 DEFAULT_wxUSE_PROFILE=no
3127 DEFAULT_wxUSE_NO_DEPS=no
3128 DEFAULT_wxUSE_VARARG_MACROS=yes
3129 DEFAULT_wxUSE_NO_RTTI=no
3130 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3131 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3132 DEFAULT_wxUSE_RPATH=yes
3133 DEFAULT_wxUSE_PERMISSIVE=no
3134 DEFAULT_wxUSE_DEBUG_FLAG=no
3135 DEFAULT_wxUSE_DEBUG_INFO=no
3136 DEFAULT_wxUSE_DEBUG_GDB=no
3137 DEFAULT_wxUSE_MEM_TRACING=no
3138 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3139 DEFAULT_wxUSE_DMALLOC=no
3140 DEFAULT_wxUSE_APPLE_IEEE=yes
3141
3142 DEFAULT_wxUSE_EXCEPTIONS=yes
3143 DEFAULT_wxUSE_LOG=yes
3144 DEFAULT_wxUSE_LOGWINDOW=yes
3145 DEFAULT_wxUSE_LOGGUI=yes
3146 DEFAULT_wxUSE_LOGDIALOG=yes
3147
3148 DEFAULT_wxUSE_GUI=yes
3149
3150 DEFAULT_wxUSE_REGEX=yes
3151 DEFAULT_wxUSE_XML=yes
3152 DEFAULT_wxUSE_EXPAT=yes
3153 DEFAULT_wxUSE_ZLIB=yes
3154 DEFAULT_wxUSE_LIBPNG=yes
3155 DEFAULT_wxUSE_LIBJPEG=yes
3156 DEFAULT_wxUSE_LIBTIFF=yes
3157 DEFAULT_wxUSE_LIBXPM=yes
3158 DEFAULT_wxUSE_LIBMSPACK=yes
3159 DEFAULT_wxUSE_LIBSDL=no
3160 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3161 DEFAULT_wxUSE_LIBGNOMEVFS=no
3162 DEFAULT_wxUSE_LIBHILDON=no
3163 DEFAULT_wxUSE_ODBC=no
3164 DEFAULT_wxUSE_OPENGL=no
3165
3166 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3167 DEFAULT_wxUSE_STACKWALKER=yes
3168 DEFAULT_wxUSE_DEBUGREPORT=yes
3169 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3170 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3171 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3172 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3173 DEFAULT_wxUSE_DATETIME=yes
3174 DEFAULT_wxUSE_TIMER=yes
3175 DEFAULT_wxUSE_STOPWATCH=yes
3176 DEFAULT_wxUSE_FILE=yes
3177 DEFAULT_wxUSE_FFILE=yes
3178 DEFAULT_wxUSE_STDPATHS=yes
3179 DEFAULT_wxUSE_TEXTBUFFER=yes
3180 DEFAULT_wxUSE_TEXTFILE=yes
3181 DEFAULT_wxUSE_SOUND=yes
3182 DEFAULT_wxUSE_MEDIACTRL=no
3183 DEFAULT_wxUSE_GSTREAMER8=no
3184 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3185 DEFAULT_wxUSE_INTL=yes
3186 DEFAULT_wxUSE_CONFIG=yes
3187 DEFAULT_wxUSE_FONTMAP=yes
3188 DEFAULT_wxUSE_STREAMS=yes
3189 DEFAULT_wxUSE_SOCKETS=yes
3190 DEFAULT_wxUSE_OLE=yes
3191 DEFAULT_wxUSE_DATAOBJ=yes
3192 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3193 DEFAULT_wxUSE_JOYSTICK=yes
3194 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3195 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3196 DEFAULT_wxUSE_LONGLONG=yes
3197 DEFAULT_wxUSE_GEOMETRY=yes
3198
3199 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3200 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3201 DEFAULT_wxUSE_POSTSCRIPT=yes
3202
3203 DEFAULT_wxUSE_CLIPBOARD=yes
3204 DEFAULT_wxUSE_TOOLTIPS=yes
3205 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3206 DEFAULT_wxUSE_DRAGIMAGE=yes
3207 DEFAULT_wxUSE_SPLINES=yes
3208 DEFAULT_wxUSE_MOUSEWHEEL=yes
3209
3210 DEFAULT_wxUSE_MDI=yes
3211 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3212 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3213 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3214
3215 DEFAULT_wxUSE_RESOURCES=no
3216 DEFAULT_wxUSE_CONSTRAINTS=yes
3217 DEFAULT_wxUSE_IPC=yes
3218 DEFAULT_wxUSE_HELP=yes
3219 DEFAULT_wxUSE_MS_HTML_HELP=yes
3220 DEFAULT_wxUSE_WXHTML_HELP=yes
3221 DEFAULT_wxUSE_TREELAYOUT=yes
3222 DEFAULT_wxUSE_METAFILE=yes
3223 DEFAULT_wxUSE_MIMETYPE=yes
3224 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3225 DEFAULT_wxUSE_PROTOCOL=yes
3226 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3227 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3228 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3229 DEFAULT_wxUSE_URL=yes
3230 DEFAULT_wxUSE_VARIANT=yes
3231
3232 DEFAULT_wxUSE_ABOUTDLG=yes
3233 DEFAULT_wxUSE_COMMONDLGS=yes
3234 DEFAULT_wxUSE_CHOICEDLG=yes
3235 DEFAULT_wxUSE_COLOURDLG=yes
3236 DEFAULT_wxUSE_DIRDLG=yes
3237 DEFAULT_wxUSE_FILEDLG=yes
3238 DEFAULT_wxUSE_FINDREPLDLG=yes
3239 DEFAULT_wxUSE_FONTDLG=yes
3240 DEFAULT_wxUSE_MSGDLG=yes
3241 DEFAULT_wxUSE_NUMBERDLG=yes
3242 DEFAULT_wxUSE_TEXTDLG=yes
3243 DEFAULT_wxUSE_SPLASH=yes
3244 DEFAULT_wxUSE_STARTUP_TIPS=yes
3245 DEFAULT_wxUSE_PROGRESSDLG=yes
3246 DEFAULT_wxUSE_WIZARDDLG=yes
3247
3248 DEFAULT_wxUSE_MENUS=yes
3249 DEFAULT_wxUSE_MINIFRAME=yes
3250 DEFAULT_wxUSE_HTML=yes
3251 DEFAULT_wxUSE_RICHTEXT=yes
3252 DEFAULT_wxUSE_XRC=yes
3253 DEFAULT_wxUSE_AUI=yes
3254 DEFAULT_wxUSE_WEBKIT=yes
3255 DEFAULT_wxUSE_FILESYSTEM=yes
3256 DEFAULT_wxUSE_FS_INET=yes
3257 DEFAULT_wxUSE_FS_ZIP=yes
3258 DEFAULT_wxUSE_FS_ARCHIVE=yes
3259 DEFAULT_wxUSE_BUSYINFO=yes
3260 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3261 DEFAULT_wxUSE_ZIPSTREAM=yes
3262 DEFAULT_wxUSE_TARSTREAM=yes
3263 DEFAULT_wxUSE_VALIDATORS=yes
3264
3265 DEFAULT_wxUSE_ACCEL=yes
3266 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3267 DEFAULT_wxUSE_BUTTON=yes
3268 DEFAULT_wxUSE_BMPBUTTON=yes
3269 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3270 DEFAULT_wxUSE_CALCTRL=yes
3271 DEFAULT_wxUSE_CARET=yes
3272 DEFAULT_wxUSE_CHECKBOX=yes
3273 DEFAULT_wxUSE_CHECKLST=yes
3274 DEFAULT_wxUSE_CHOICE=yes
3275 DEFAULT_wxUSE_CHOICEBOOK=yes
3276 DEFAULT_wxUSE_COLLPANE=yes
3277 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3278 DEFAULT_wxUSE_COMBOBOX=yes
3279 DEFAULT_wxUSE_COMBOCTRL=yes
3280 DEFAULT_wxUSE_DATEPICKCTRL=yes
3281 DEFAULT_wxUSE_DISPLAY=yes
3282 DEFAULT_wxUSE_DETECT_SM=yes
3283 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3284 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3285 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3286 DEFAULT_wxUSE_GAUGE=yes
3287 DEFAULT_wxUSE_GRID=yes
3288 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3289 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3290 DEFAULT_wxUSE_DATAVIEWCTRL=no
3291 DEFAULT_wxUSE_IMAGLIST=yes
3292 DEFAULT_wxUSE_LISTBOOK=yes
3293 DEFAULT_wxUSE_LISTBOX=yes
3294 DEFAULT_wxUSE_LISTCTRL=yes
3295 DEFAULT_wxUSE_NOTEBOOK=yes
3296 DEFAULT_wxUSE_ODCOMBOBOX=yes
3297 DEFAULT_wxUSE_RADIOBOX=yes
3298 DEFAULT_wxUSE_RADIOBTN=yes
3299 DEFAULT_wxUSE_SASH=yes
3300 DEFAULT_wxUSE_SCROLLBAR=yes
3301 DEFAULT_wxUSE_SEARCHCTRL=yes
3302 DEFAULT_wxUSE_SLIDER=yes
3303 DEFAULT_wxUSE_SPINBTN=yes
3304 DEFAULT_wxUSE_SPINCTRL=yes
3305 DEFAULT_wxUSE_SPLITTER=yes
3306 DEFAULT_wxUSE_STATBMP=yes
3307 DEFAULT_wxUSE_STATBOX=yes
3308 DEFAULT_wxUSE_STATLINE=yes
3309 DEFAULT_wxUSE_STATTEXT=yes
3310 DEFAULT_wxUSE_STATUSBAR=yes
3311 DEFAULT_wxUSE_TAB_DIALOG=no
3312 DEFAULT_wxUSE_TEXTCTRL=yes
3313 DEFAULT_wxUSE_TOGGLEBTN=yes
3314 DEFAULT_wxUSE_TOOLBAR=yes
3315 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3316 DEFAULT_wxUSE_TREEBOOK=yes
3317 DEFAULT_wxUSE_TOOLBOOK=yes
3318 DEFAULT_wxUSE_TREECTRL=yes
3319 DEFAULT_wxUSE_POPUPWIN=yes
3320 DEFAULT_wxUSE_TIPWINDOW=yes
3321
3322 DEFAULT_wxUSE_UNICODE=no
3323 DEFAULT_wxUSE_UNICODE_MSLU=yes
3324 DEFAULT_wxUSE_WCSRTOMBS=no
3325
3326 DEFAULT_wxUSE_PALETTE=yes
3327 DEFAULT_wxUSE_IMAGE=yes
3328 DEFAULT_wxUSE_GIF=yes
3329 DEFAULT_wxUSE_PCX=yes
3330 DEFAULT_wxUSE_TGA=yes
3331 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3332 DEFAULT_wxUSE_XPM=yes
3333 DEFAULT_wxUSE_ICO_CUR=yes
3334 DEFAULT_wxUSE_ACCESSIBILITY=no
3335
3336 DEFAULT_wxUSE_MONOLITHIC=no
3337 DEFAULT_wxUSE_PLUGINS=no
3338 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3339
3340 DEFAULT_wxUSE_GTK2=yes
3341 fi
3342
3343
3344
3345
3346 for toolkit in `echo $ALL_TOOLKITS`; do
3347 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3348 if test "x$LINE" != "x" ; then
3349 has_toolkit_in_cache=1
3350 eval "DEFAULT_$LINE"
3351 eval "CACHE_$toolkit=1"
3352
3353 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3354 if test "x$LINE" != "x" ; then
3355 eval "DEFAULT_$LINE"
3356 fi
3357 fi
3358 done
3359
3360
3361
3362 enablestring=
3363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3364 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3365 no_cache=0
3366 # Check whether --enable-gui was given.
3367 if test "${enable_gui+set}" = set; then
3368 enableval=$enable_gui;
3369 if test "$enableval" = yes; then
3370 ac_cv_use_gui='wxUSE_GUI=yes'
3371 else
3372 ac_cv_use_gui='wxUSE_GUI=no'
3373 fi
3374
3375 else
3376
3377 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
3378 if test "x$LINE" != x ; then
3379 eval "DEFAULT_$LINE"
3380 else
3381 no_cache=1
3382 fi
3383
3384 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3385
3386 fi
3387
3388
3389 eval "$ac_cv_use_gui"
3390 if test "$no_cache" != 1; then
3391 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3392 fi
3393
3394 if test "$wxUSE_GUI" = yes; then
3395 { echo "$as_me:$LINENO: result: yes" >&5
3396 echo "${ECHO_T}yes" >&6; }
3397 else
3398 { echo "$as_me:$LINENO: result: no" >&5
3399 echo "${ECHO_T}no" >&6; }
3400 fi
3401
3402
3403 enablestring=
3404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3405 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3406 no_cache=0
3407 # Check whether --enable-monolithic was given.
3408 if test "${enable_monolithic+set}" = set; then
3409 enableval=$enable_monolithic;
3410 if test "$enableval" = yes; then
3411 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3412 else
3413 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3414 fi
3415
3416 else
3417
3418 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
3419 if test "x$LINE" != x ; then
3420 eval "DEFAULT_$LINE"
3421 else
3422 no_cache=1
3423 fi
3424
3425 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3426
3427 fi
3428
3429
3430 eval "$ac_cv_use_monolithic"
3431 if test "$no_cache" != 1; then
3432 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3433 fi
3434
3435 if test "$wxUSE_MONOLITHIC" = yes; then
3436 { echo "$as_me:$LINENO: result: yes" >&5
3437 echo "${ECHO_T}yes" >&6; }
3438 else
3439 { echo "$as_me:$LINENO: result: no" >&5
3440 echo "${ECHO_T}no" >&6; }
3441 fi
3442
3443
3444 enablestring=
3445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3446 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3447 no_cache=0
3448 # Check whether --enable-plugins was given.
3449 if test "${enable_plugins+set}" = set; then
3450 enableval=$enable_plugins;
3451 if test "$enableval" = yes; then
3452 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3453 else
3454 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3455 fi
3456
3457 else
3458
3459 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
3460 if test "x$LINE" != x ; then
3461 eval "DEFAULT_$LINE"
3462 else
3463 no_cache=1
3464 fi
3465
3466 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3467
3468 fi
3469
3470
3471 eval "$ac_cv_use_plugins"
3472 if test "$no_cache" != 1; then
3473 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3474 fi
3475
3476 if test "$wxUSE_PLUGINS" = yes; then
3477 { echo "$as_me:$LINENO: result: yes" >&5
3478 echo "${ECHO_T}yes" >&6; }
3479 else
3480 { echo "$as_me:$LINENO: result: no" >&5
3481 echo "${ECHO_T}no" >&6; }
3482 fi
3483
3484
3485 withstring=without
3486 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3487 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3488 no_cache=0
3489
3490 # Check whether --with-subdirs was given.
3491 if test "${with_subdirs+set}" = set; then
3492 withval=$with_subdirs;
3493 if test "$withval" = yes; then
3494 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3495 else
3496 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3497 fi
3498
3499 else
3500
3501 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
3502 if test "x$LINE" != x ; then
3503 eval "DEFAULT_$LINE"
3504 else
3505 no_cache=1
3506 fi
3507
3508 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3509
3510 fi
3511
3512
3513 eval "$ac_cv_use_subdirs"
3514 if test "$no_cache" != 1; then
3515 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3516 fi
3517
3518 if test "$wxWITH_SUBDIRS" = yes; then
3519 { echo "$as_me:$LINENO: result: yes" >&5
3520 echo "${ECHO_T}yes" >&6; }
3521 else
3522 { echo "$as_me:$LINENO: result: no" >&5
3523 echo "${ECHO_T}no" >&6; }
3524 fi
3525
3526
3527 if test "$wxUSE_GUI" = "yes"; then
3528
3529
3530 enablestring=
3531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3532 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3533 no_cache=0
3534 # Check whether --enable-universal was given.
3535 if test "${enable_universal+set}" = set; then
3536 enableval=$enable_universal;
3537 if test "$enableval" = yes; then
3538 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3539 else
3540 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3541 fi
3542
3543 else
3544
3545 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
3546 if test "x$LINE" != x ; then
3547 eval "DEFAULT_$LINE"
3548 else
3549 no_cache=1
3550 fi
3551
3552 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3553
3554 fi
3555
3556
3557 eval "$ac_cv_use_universal"
3558 if test "$no_cache" != 1; then
3559 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3560 fi
3561
3562 if test "$wxUSE_UNIVERSAL" = yes; then
3563 { echo "$as_me:$LINENO: result: yes" >&5
3564 echo "${ECHO_T}yes" >&6; }
3565 else
3566 { echo "$as_me:$LINENO: result: no" >&5
3567 echo "${ECHO_T}no" >&6; }
3568 fi
3569
3570
3571 # Check whether --with-gtk was given.
3572 if test "${with_gtk+set}" = set; then
3573 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3574 fi
3575
3576
3577 # Check whether --with-motif was given.
3578 if test "${with_motif+set}" = set; then
3579 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3580 fi
3581
3582
3583 # Check whether --with-mac was given.
3584 if test "${with_mac+set}" = set; then
3585 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3586 fi
3587
3588
3589 # Check whether --with-cocoa was given.
3590 if test "${with_cocoa+set}" = set; then
3591 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3592 fi
3593
3594
3595 # Check whether --with-wine was given.
3596 if test "${with_wine+set}" = set; then
3597 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3598 fi
3599
3600
3601 # Check whether --with-msw was given.
3602 if test "${with_msw+set}" = set; then
3603 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3604 fi
3605
3606
3607 # Check whether --with-pm was given.
3608 if test "${with_pm+set}" = set; then
3609 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3610 fi
3611
3612
3613 # Check whether --with-mgl was given.
3614 if test "${with_mgl+set}" = set; then
3615 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3616 fi
3617
3618
3619 # Check whether --with-directfb was given.
3620 if test "${with_directfb+set}" = set; then
3621 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3622 fi
3623
3624
3625 # Check whether --with-microwin was given.
3626 if test "${with_microwin+set}" = set; then
3627 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3628 fi
3629
3630
3631 # Check whether --with-x11 was given.
3632 if test "${with_x11+set}" = set; then
3633 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3634 fi
3635
3636
3637 enablestring=
3638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3639 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3640 no_cache=0
3641 # Check whether --enable-nanox was given.
3642 if test "${enable_nanox+set}" = set; then
3643 enableval=$enable_nanox;
3644 if test "$enableval" = yes; then
3645 ac_cv_use_nanox='wxUSE_NANOX=yes'
3646 else
3647 ac_cv_use_nanox='wxUSE_NANOX=no'
3648 fi
3649
3650 else
3651
3652 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
3653 if test "x$LINE" != x ; then
3654 eval "DEFAULT_$LINE"
3655 else
3656 no_cache=1
3657 fi
3658
3659 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3660
3661 fi
3662
3663
3664 eval "$ac_cv_use_nanox"
3665 if test "$no_cache" != 1; then
3666 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3667 fi
3668
3669 if test "$wxUSE_NANOX" = yes; then
3670 { echo "$as_me:$LINENO: result: yes" >&5
3671 echo "${ECHO_T}yes" >&6; }
3672 else
3673 { echo "$as_me:$LINENO: result: no" >&5
3674 echo "${ECHO_T}no" >&6; }
3675 fi
3676
3677
3678 # Check whether --enable-gtk2 was given.
3679 if test "${enable_gtk2+set}" = set; then
3680 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3681 fi
3682
3683
3684 enablestring=
3685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3686 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3687 no_cache=0
3688 # Check whether --enable-gpe was given.
3689 if test "${enable_gpe+set}" = set; then
3690 enableval=$enable_gpe;
3691 if test "$enableval" = yes; then
3692 ac_cv_use_gpe='wxUSE_GPE=yes'
3693 else
3694 ac_cv_use_gpe='wxUSE_GPE=no'
3695 fi
3696
3697 else
3698
3699 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
3700 if test "x$LINE" != x ; then
3701 eval "DEFAULT_$LINE"
3702 else
3703 no_cache=1
3704 fi
3705
3706 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3707
3708 fi
3709
3710
3711 eval "$ac_cv_use_gpe"
3712 if test "$no_cache" != 1; then
3713 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3714 fi
3715
3716 if test "$wxUSE_GPE" = yes; then
3717 { echo "$as_me:$LINENO: result: yes" >&5
3718 echo "${ECHO_T}yes" >&6; }
3719 else
3720 { echo "$as_me:$LINENO: result: no" >&5
3721 echo "${ECHO_T}no" >&6; }
3722 fi
3723
3724
3725
3726 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3727 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3728 no_cache=0
3729
3730 # Check whether --with-libpng was given.
3731 if test "${with_libpng+set}" = set; then
3732 withval=$with_libpng;
3733 if test "$withval" = yes; then
3734 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3735 elif test "$withval" = no; then
3736 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3737 elif test "$withval" = sys; then
3738 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3739 elif test "$withval" = builtin; then
3740 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3741 else
3742 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3743 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3744 { (exit 1); exit 1; }; }
3745 fi
3746
3747 else
3748
3749 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3750 if test "x$LINE" != x ; then
3751 eval "DEFAULT_$LINE"
3752 else
3753 no_cache=1
3754 fi
3755
3756 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3757
3758 fi
3759
3760
3761 eval "$ac_cv_use_libpng"
3762 if test "$no_cache" != 1; then
3763 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3764 fi
3765
3766 if test "$wxUSE_LIBPNG" = yes; then
3767 { echo "$as_me:$LINENO: result: yes" >&5
3768 echo "${ECHO_T}yes" >&6; }
3769 elif test "$wxUSE_LIBPNG" = no; then
3770 { echo "$as_me:$LINENO: result: no" >&5
3771 echo "${ECHO_T}no" >&6; }
3772 elif test "$wxUSE_LIBPNG" = sys; then
3773 { echo "$as_me:$LINENO: result: system version" >&5
3774 echo "${ECHO_T}system version" >&6; }
3775 elif test "$wxUSE_LIBPNG" = builtin; then
3776 { echo "$as_me:$LINENO: result: builtin version" >&5
3777 echo "${ECHO_T}builtin version" >&6; }
3778 else
3779 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3780 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3781 { (exit 1); exit 1; }; }
3782 fi
3783
3784
3785 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3786 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3787 no_cache=0
3788
3789 # Check whether --with-libjpeg was given.
3790 if test "${with_libjpeg+set}" = set; then
3791 withval=$with_libjpeg;
3792 if test "$withval" = yes; then
3793 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3794 elif test "$withval" = no; then
3795 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3796 elif test "$withval" = sys; then
3797 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3798 elif test "$withval" = builtin; then
3799 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3800 else
3801 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3802 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3803 { (exit 1); exit 1; }; }
3804 fi
3805
3806 else
3807
3808 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3809 if test "x$LINE" != x ; then
3810 eval "DEFAULT_$LINE"
3811 else
3812 no_cache=1
3813 fi
3814
3815 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3816
3817 fi
3818
3819
3820 eval "$ac_cv_use_libjpeg"
3821 if test "$no_cache" != 1; then
3822 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3823 fi
3824
3825 if test "$wxUSE_LIBJPEG" = yes; then
3826 { echo "$as_me:$LINENO: result: yes" >&5
3827 echo "${ECHO_T}yes" >&6; }
3828 elif test "$wxUSE_LIBJPEG" = no; then
3829 { echo "$as_me:$LINENO: result: no" >&5
3830 echo "${ECHO_T}no" >&6; }
3831 elif test "$wxUSE_LIBJPEG" = sys; then
3832 { echo "$as_me:$LINENO: result: system version" >&5
3833 echo "${ECHO_T}system version" >&6; }
3834 elif test "$wxUSE_LIBJPEG" = builtin; then
3835 { echo "$as_me:$LINENO: result: builtin version" >&5
3836 echo "${ECHO_T}builtin version" >&6; }
3837 else
3838 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3839 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3840 { (exit 1); exit 1; }; }
3841 fi
3842
3843
3844 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3845 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3846 no_cache=0
3847
3848 # Check whether --with-libtiff was given.
3849 if test "${with_libtiff+set}" = set; then
3850 withval=$with_libtiff;
3851 if test "$withval" = yes; then
3852 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3853 elif test "$withval" = no; then
3854 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3855 elif test "$withval" = sys; then
3856 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3857 elif test "$withval" = builtin; then
3858 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3859 else
3860 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3861 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3862 { (exit 1); exit 1; }; }
3863 fi
3864
3865 else
3866
3867 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3868 if test "x$LINE" != x ; then
3869 eval "DEFAULT_$LINE"
3870 else
3871 no_cache=1
3872 fi
3873
3874 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3875
3876 fi
3877
3878
3879 eval "$ac_cv_use_libtiff"
3880 if test "$no_cache" != 1; then
3881 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3882 fi
3883
3884 if test "$wxUSE_LIBTIFF" = yes; then
3885 { echo "$as_me:$LINENO: result: yes" >&5
3886 echo "${ECHO_T}yes" >&6; }
3887 elif test "$wxUSE_LIBTIFF" = no; then
3888 { echo "$as_me:$LINENO: result: no" >&5
3889 echo "${ECHO_T}no" >&6; }
3890 elif test "$wxUSE_LIBTIFF" = sys; then
3891 { echo "$as_me:$LINENO: result: system version" >&5
3892 echo "${ECHO_T}system version" >&6; }
3893 elif test "$wxUSE_LIBTIFF" = builtin; then
3894 { echo "$as_me:$LINENO: result: builtin version" >&5
3895 echo "${ECHO_T}builtin version" >&6; }
3896 else
3897 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3898 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3899 { (exit 1); exit 1; }; }
3900 fi
3901
3902
3903 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3904 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3905 no_cache=0
3906
3907 # Check whether --with-libxpm was given.
3908 if test "${with_libxpm+set}" = set; then
3909 withval=$with_libxpm;
3910 if test "$withval" = yes; then
3911 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3912 elif test "$withval" = no; then
3913 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3914 elif test "$withval" = sys; then
3915 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3916 elif test "$withval" = builtin; then
3917 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3918 else
3919 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3920 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3921 { (exit 1); exit 1; }; }
3922 fi
3923
3924 else
3925
3926 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3927 if test "x$LINE" != x ; then
3928 eval "DEFAULT_$LINE"
3929 else
3930 no_cache=1
3931 fi
3932
3933 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3934
3935 fi
3936
3937
3938 eval "$ac_cv_use_libxpm"
3939 if test "$no_cache" != 1; then
3940 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3941 fi
3942
3943 if test "$wxUSE_LIBXPM" = yes; then
3944 { echo "$as_me:$LINENO: result: yes" >&5
3945 echo "${ECHO_T}yes" >&6; }
3946 elif test "$wxUSE_LIBXPM" = no; then
3947 { echo "$as_me:$LINENO: result: no" >&5
3948 echo "${ECHO_T}no" >&6; }
3949 elif test "$wxUSE_LIBXPM" = sys; then
3950 { echo "$as_me:$LINENO: result: system version" >&5
3951 echo "${ECHO_T}system version" >&6; }
3952 elif test "$wxUSE_LIBXPM" = builtin; then
3953 { echo "$as_me:$LINENO: result: builtin version" >&5
3954 echo "${ECHO_T}builtin version" >&6; }
3955 else
3956 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3957 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3958 { (exit 1); exit 1; }; }
3959 fi
3960
3961
3962 withstring=
3963 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3964 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3965 no_cache=0
3966
3967 # Check whether --with-libmspack was given.
3968 if test "${with_libmspack+set}" = set; then
3969 withval=$with_libmspack;
3970 if test "$withval" = yes; then
3971 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3972 else
3973 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3974 fi
3975
3976 else
3977
3978 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3979 if test "x$LINE" != x ; then
3980 eval "DEFAULT_$LINE"
3981 else
3982 no_cache=1
3983 fi
3984
3985 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3986
3987 fi
3988
3989
3990 eval "$ac_cv_use_libmspack"
3991 if test "$no_cache" != 1; then
3992 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3993 fi
3994
3995 if test "$wxUSE_LIBMSPACK" = yes; then
3996 { echo "$as_me:$LINENO: result: yes" >&5
3997 echo "${ECHO_T}yes" >&6; }
3998 else
3999 { echo "$as_me:$LINENO: result: no" >&5
4000 echo "${ECHO_T}no" >&6; }
4001 fi
4002
4003
4004 withstring=
4005 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4006 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4007 no_cache=0
4008
4009 # Check whether --with-sdl was given.
4010 if test "${with_sdl+set}" = set; then
4011 withval=$with_sdl;
4012 if test "$withval" = yes; then
4013 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4014 else
4015 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4016 fi
4017
4018 else
4019
4020 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
4021 if test "x$LINE" != x ; then
4022 eval "DEFAULT_$LINE"
4023 else
4024 no_cache=1
4025 fi
4026
4027 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4028
4029 fi
4030
4031
4032 eval "$ac_cv_use_sdl"
4033 if test "$no_cache" != 1; then
4034 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4035 fi
4036
4037 if test "$wxUSE_LIBSDL" = yes; then
4038 { echo "$as_me:$LINENO: result: yes" >&5
4039 echo "${ECHO_T}yes" >&6; }
4040 else
4041 { echo "$as_me:$LINENO: result: no" >&5
4042 echo "${ECHO_T}no" >&6; }
4043 fi
4044
4045
4046 withstring=
4047 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4048 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4049 no_cache=0
4050
4051 # Check whether --with-gnomeprint was given.
4052 if test "${with_gnomeprint+set}" = set; then
4053 withval=$with_gnomeprint;
4054 if test "$withval" = yes; then
4055 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4056 else
4057 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4058 fi
4059
4060 else
4061
4062 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
4063 if test "x$LINE" != x ; then
4064 eval "DEFAULT_$LINE"
4065 else
4066 no_cache=1
4067 fi
4068
4069 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4070
4071 fi
4072
4073
4074 eval "$ac_cv_use_gnomeprint"
4075 if test "$no_cache" != 1; then
4076 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4077 fi
4078
4079 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4080 { echo "$as_me:$LINENO: result: yes" >&5
4081 echo "${ECHO_T}yes" >&6; }
4082 else
4083 { echo "$as_me:$LINENO: result: no" >&5
4084 echo "${ECHO_T}no" >&6; }
4085 fi
4086
4087
4088 withstring=
4089 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4090 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4091 no_cache=0
4092
4093 # Check whether --with-gnomevfs was given.
4094 if test "${with_gnomevfs+set}" = set; then
4095 withval=$with_gnomevfs;
4096 if test "$withval" = yes; then
4097 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4098 else
4099 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4100 fi
4101
4102 else
4103
4104 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
4105 if test "x$LINE" != x ; then
4106 eval "DEFAULT_$LINE"
4107 else
4108 no_cache=1
4109 fi
4110
4111 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4112
4113 fi
4114
4115
4116 eval "$ac_cv_use_gnomevfs"
4117 if test "$no_cache" != 1; then
4118 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4119 fi
4120
4121 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4122 { echo "$as_me:$LINENO: result: yes" >&5
4123 echo "${ECHO_T}yes" >&6; }
4124 else
4125 { echo "$as_me:$LINENO: result: no" >&5
4126 echo "${ECHO_T}no" >&6; }
4127 fi
4128
4129
4130 withstring=
4131 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4132 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4133 no_cache=0
4134
4135 # Check whether --with-hildon was given.
4136 if test "${with_hildon+set}" = set; then
4137 withval=$with_hildon;
4138 if test "$withval" = yes; then
4139 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4140 else
4141 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4142 fi
4143
4144 else
4145
4146 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
4147 if test "x$LINE" != x ; then
4148 eval "DEFAULT_$LINE"
4149 else
4150 no_cache=1
4151 fi
4152
4153 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4154
4155 fi
4156
4157
4158 eval "$ac_cv_use_hildon"
4159 if test "$no_cache" != 1; then
4160 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4161 fi
4162
4163 if test "$wxUSE_LIBHILDON" = yes; then
4164 { echo "$as_me:$LINENO: result: yes" >&5
4165 echo "${ECHO_T}yes" >&6; }
4166 else
4167 { echo "$as_me:$LINENO: result: no" >&5
4168 echo "${ECHO_T}no" >&6; }
4169 fi
4170
4171
4172 withstring=
4173 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4174 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4175 no_cache=0
4176
4177 # Check whether --with-opengl was given.
4178 if test "${with_opengl+set}" = set; then
4179 withval=$with_opengl;
4180 if test "$withval" = yes; then
4181 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4182 else
4183 ac_cv_use_opengl='wxUSE_OPENGL=no'
4184 fi
4185
4186 else
4187
4188 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
4189 if test "x$LINE" != x ; then
4190 eval "DEFAULT_$LINE"
4191 else
4192 no_cache=1
4193 fi
4194
4195 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4196
4197 fi
4198
4199
4200 eval "$ac_cv_use_opengl"
4201 if test "$no_cache" != 1; then
4202 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4203 fi
4204
4205 if test "$wxUSE_OPENGL" = yes; then
4206 { echo "$as_me:$LINENO: result: yes" >&5
4207 echo "${ECHO_T}yes" >&6; }
4208 else
4209 { echo "$as_me:$LINENO: result: no" >&5
4210 echo "${ECHO_T}no" >&6; }
4211 fi
4212
4213
4214 if test "$wxUSE_UNIVERSAL" = "yes"; then
4215
4216 # Check whether --with-themes was given.
4217 if test "${with_themes+set}" = set; then
4218 withval=$with_themes; wxUNIV_THEMES="$withval"
4219 fi
4220
4221 fi
4222
4223 fi
4224
4225
4226 withstring=
4227 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4228 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4229 no_cache=0
4230
4231 # Check whether --with-dmalloc was given.
4232 if test "${with_dmalloc+set}" = set; then
4233 withval=$with_dmalloc;
4234 if test "$withval" = yes; then
4235 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4236 else
4237 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4238 fi
4239
4240 else
4241
4242 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
4243 if test "x$LINE" != x ; then
4244 eval "DEFAULT_$LINE"
4245 else
4246 no_cache=1
4247 fi
4248
4249 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4250
4251 fi
4252
4253
4254 eval "$ac_cv_use_dmalloc"
4255 if test "$no_cache" != 1; then
4256 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4257 fi
4258
4259 if test "$wxUSE_DMALLOC" = yes; then
4260 { echo "$as_me:$LINENO: result: yes" >&5
4261 echo "${ECHO_T}yes" >&6; }
4262 else
4263 { echo "$as_me:$LINENO: result: no" >&5
4264 echo "${ECHO_T}no" >&6; }
4265 fi
4266
4267
4268 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4269 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4270 no_cache=0
4271
4272 # Check whether --with-regex was given.
4273 if test "${with_regex+set}" = set; then
4274 withval=$with_regex;
4275 if test "$withval" = yes; then
4276 ac_cv_use_regex='wxUSE_REGEX=yes'
4277 elif test "$withval" = no; then
4278 ac_cv_use_regex='wxUSE_REGEX=no'
4279 elif test "$withval" = sys; then
4280 ac_cv_use_regex='wxUSE_REGEX=sys'
4281 elif test "$withval" = builtin; then
4282 ac_cv_use_regex='wxUSE_REGEX=builtin'
4283 else
4284 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4285 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4286 { (exit 1); exit 1; }; }
4287 fi
4288
4289 else
4290
4291 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
4292 if test "x$LINE" != x ; then
4293 eval "DEFAULT_$LINE"
4294 else
4295 no_cache=1
4296 fi
4297
4298 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4299
4300 fi
4301
4302
4303 eval "$ac_cv_use_regex"
4304 if test "$no_cache" != 1; then
4305 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4306 fi
4307
4308 if test "$wxUSE_REGEX" = yes; then
4309 { echo "$as_me:$LINENO: result: yes" >&5
4310 echo "${ECHO_T}yes" >&6; }
4311 elif test "$wxUSE_REGEX" = no; then
4312 { echo "$as_me:$LINENO: result: no" >&5
4313 echo "${ECHO_T}no" >&6; }
4314 elif test "$wxUSE_REGEX" = sys; then
4315 { echo "$as_me:$LINENO: result: system version" >&5
4316 echo "${ECHO_T}system version" >&6; }
4317 elif test "$wxUSE_REGEX" = builtin; then
4318 { echo "$as_me:$LINENO: result: builtin version" >&5
4319 echo "${ECHO_T}builtin version" >&6; }
4320 else
4321 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4322 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4323 { (exit 1); exit 1; }; }
4324 fi
4325
4326
4327 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4328 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4329 no_cache=0
4330
4331 # Check whether --with-zlib was given.
4332 if test "${with_zlib+set}" = set; then
4333 withval=$with_zlib;
4334 if test "$withval" = yes; then
4335 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4336 elif test "$withval" = no; then
4337 ac_cv_use_zlib='wxUSE_ZLIB=no'
4338 elif test "$withval" = sys; then
4339 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4340 elif test "$withval" = builtin; then
4341 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4342 else
4343 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4344 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4345 { (exit 1); exit 1; }; }
4346 fi
4347
4348 else
4349
4350 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
4351 if test "x$LINE" != x ; then
4352 eval "DEFAULT_$LINE"
4353 else
4354 no_cache=1
4355 fi
4356
4357 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4358
4359 fi
4360
4361
4362 eval "$ac_cv_use_zlib"
4363 if test "$no_cache" != 1; then
4364 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4365 fi
4366
4367 if test "$wxUSE_ZLIB" = yes; then
4368 { echo "$as_me:$LINENO: result: yes" >&5
4369 echo "${ECHO_T}yes" >&6; }
4370 elif test "$wxUSE_ZLIB" = no; then
4371 { echo "$as_me:$LINENO: result: no" >&5
4372 echo "${ECHO_T}no" >&6; }
4373 elif test "$wxUSE_ZLIB" = sys; then
4374 { echo "$as_me:$LINENO: result: system version" >&5
4375 echo "${ECHO_T}system version" >&6; }
4376 elif test "$wxUSE_ZLIB" = builtin; then
4377 { echo "$as_me:$LINENO: result: builtin version" >&5
4378 echo "${ECHO_T}builtin version" >&6; }
4379 else
4380 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4381 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4382 { (exit 1); exit 1; }; }
4383 fi
4384
4385
4386 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4387 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4388 no_cache=0
4389
4390 # Check whether --with-odbc was given.
4391 if test "${with_odbc+set}" = set; then
4392 withval=$with_odbc;
4393 if test "$withval" = yes; then
4394 ac_cv_use_odbc='wxUSE_ODBC=yes'
4395 elif test "$withval" = no; then
4396 ac_cv_use_odbc='wxUSE_ODBC=no'
4397 elif test "$withval" = sys; then
4398 ac_cv_use_odbc='wxUSE_ODBC=sys'
4399 elif test "$withval" = builtin; then
4400 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4401 else
4402 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4403 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4404 { (exit 1); exit 1; }; }
4405 fi
4406
4407 else
4408
4409 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
4410 if test "x$LINE" != x ; then
4411 eval "DEFAULT_$LINE"
4412 else
4413 no_cache=1
4414 fi
4415
4416 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4417
4418 fi
4419
4420
4421 eval "$ac_cv_use_odbc"
4422 if test "$no_cache" != 1; then
4423 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4424 fi
4425
4426 if test "$wxUSE_ODBC" = yes; then
4427 { echo "$as_me:$LINENO: result: yes" >&5
4428 echo "${ECHO_T}yes" >&6; }
4429 elif test "$wxUSE_ODBC" = no; then
4430 { echo "$as_me:$LINENO: result: no" >&5
4431 echo "${ECHO_T}no" >&6; }
4432 elif test "$wxUSE_ODBC" = sys; then
4433 { echo "$as_me:$LINENO: result: system version" >&5
4434 echo "${ECHO_T}system version" >&6; }
4435 elif test "$wxUSE_ODBC" = builtin; then
4436 { echo "$as_me:$LINENO: result: builtin version" >&5
4437 echo "${ECHO_T}builtin version" >&6; }
4438 else
4439 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4440 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4441 { (exit 1); exit 1; }; }
4442 fi
4443
4444
4445 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4446 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4447 no_cache=0
4448
4449 # Check whether --with-expat was given.
4450 if test "${with_expat+set}" = set; then
4451 withval=$with_expat;
4452 if test "$withval" = yes; then
4453 ac_cv_use_expat='wxUSE_EXPAT=yes'
4454 elif test "$withval" = no; then
4455 ac_cv_use_expat='wxUSE_EXPAT=no'
4456 elif test "$withval" = sys; then
4457 ac_cv_use_expat='wxUSE_EXPAT=sys'
4458 elif test "$withval" = builtin; then
4459 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4460 else
4461 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4462 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4463 { (exit 1); exit 1; }; }
4464 fi
4465
4466 else
4467
4468 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
4469 if test "x$LINE" != x ; then
4470 eval "DEFAULT_$LINE"
4471 else
4472 no_cache=1
4473 fi
4474
4475 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4476
4477 fi
4478
4479
4480 eval "$ac_cv_use_expat"
4481 if test "$no_cache" != 1; then
4482 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4483 fi
4484
4485 if test "$wxUSE_EXPAT" = yes; then
4486 { echo "$as_me:$LINENO: result: yes" >&5
4487 echo "${ECHO_T}yes" >&6; }
4488 elif test "$wxUSE_EXPAT" = no; then
4489 { echo "$as_me:$LINENO: result: no" >&5
4490 echo "${ECHO_T}no" >&6; }
4491 elif test "$wxUSE_EXPAT" = sys; then
4492 { echo "$as_me:$LINENO: result: system version" >&5
4493 echo "${ECHO_T}system version" >&6; }
4494 elif test "$wxUSE_EXPAT" = builtin; then
4495 { echo "$as_me:$LINENO: result: builtin version" >&5
4496 echo "${ECHO_T}builtin version" >&6; }
4497 else
4498 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4499 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4500 { (exit 1); exit 1; }; }
4501 fi
4502
4503
4504
4505
4506 enablestring=
4507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4508 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4509 no_cache=0
4510 # Check whether --enable-shared was given.
4511 if test "${enable_shared+set}" = set; then
4512 enableval=$enable_shared;
4513 if test "$enableval" = yes; then
4514 ac_cv_use_shared='wxUSE_SHARED=yes'
4515 else
4516 ac_cv_use_shared='wxUSE_SHARED=no'
4517 fi
4518
4519 else
4520
4521 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
4522 if test "x$LINE" != x ; then
4523 eval "DEFAULT_$LINE"
4524 else
4525 no_cache=1
4526 fi
4527
4528 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4529
4530 fi
4531
4532
4533 eval "$ac_cv_use_shared"
4534 if test "$no_cache" != 1; then
4535 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4536 fi
4537
4538 if test "$wxUSE_SHARED" = yes; then
4539 { echo "$as_me:$LINENO: result: yes" >&5
4540 echo "${ECHO_T}yes" >&6; }
4541 else
4542 { echo "$as_me:$LINENO: result: no" >&5
4543 echo "${ECHO_T}no" >&6; }
4544 fi
4545
4546
4547 enablestring=
4548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4549 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4550 no_cache=0
4551 # Check whether --enable-optimise was given.
4552 if test "${enable_optimise+set}" = set; then
4553 enableval=$enable_optimise;
4554 if test "$enableval" = yes; then
4555 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4556 else
4557 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4558 fi
4559
4560 else
4561
4562 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
4563 if test "x$LINE" != x ; then
4564 eval "DEFAULT_$LINE"
4565 else
4566 no_cache=1
4567 fi
4568
4569 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4570
4571 fi
4572
4573
4574 eval "$ac_cv_use_optimise"
4575 if test "$no_cache" != 1; then
4576 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4577 fi
4578
4579 if test "$wxUSE_OPTIMISE" = yes; then
4580 { echo "$as_me:$LINENO: result: yes" >&5
4581 echo "${ECHO_T}yes" >&6; }
4582 else
4583 { echo "$as_me:$LINENO: result: no" >&5
4584 echo "${ECHO_T}no" >&6; }
4585 fi
4586
4587
4588 enablestring=
4589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4590 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4591 no_cache=0
4592 # Check whether --enable-debug was given.
4593 if test "${enable_debug+set}" = set; then
4594 enableval=$enable_debug;
4595 if test "$enableval" = yes; then
4596 ac_cv_use_debug='wxUSE_DEBUG=yes'
4597 else
4598 ac_cv_use_debug='wxUSE_DEBUG=no'
4599 fi
4600
4601 else
4602
4603 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
4604 if test "x$LINE" != x ; then
4605 eval "DEFAULT_$LINE"
4606 else
4607 no_cache=1
4608 fi
4609
4610 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4611
4612 fi
4613
4614
4615 eval "$ac_cv_use_debug"
4616 if test "$no_cache" != 1; then
4617 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4618 fi
4619
4620 if test "$wxUSE_DEBUG" = yes; then
4621 { echo "$as_me:$LINENO: result: yes" >&5
4622 echo "${ECHO_T}yes" >&6; }
4623 else
4624 { echo "$as_me:$LINENO: result: no" >&5
4625 echo "${ECHO_T}no" >&6; }
4626 fi
4627
4628
4629 enablestring=
4630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4631 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4632 no_cache=0
4633 # Check whether --enable-stl was given.
4634 if test "${enable_stl+set}" = set; then
4635 enableval=$enable_stl;
4636 if test "$enableval" = yes; then
4637 ac_cv_use_stl='wxUSE_STL=yes'
4638 else
4639 ac_cv_use_stl='wxUSE_STL=no'
4640 fi
4641
4642 else
4643
4644 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
4645 if test "x$LINE" != x ; then
4646 eval "DEFAULT_$LINE"
4647 else
4648 no_cache=1
4649 fi
4650
4651 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4652
4653 fi
4654
4655
4656 eval "$ac_cv_use_stl"
4657 if test "$no_cache" != 1; then
4658 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4659 fi
4660
4661 if test "$wxUSE_STL" = yes; then
4662 { echo "$as_me:$LINENO: result: yes" >&5
4663 echo "${ECHO_T}yes" >&6; }
4664 else
4665 { echo "$as_me:$LINENO: result: no" >&5
4666 echo "${ECHO_T}no" >&6; }
4667 fi
4668
4669 if test "$USE_OS2" = "1"; then
4670 DEFAULT_wxUSE_OMF=no
4671
4672 enablestring=
4673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4674 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4675 no_cache=0
4676 # Check whether --enable-omf was given.
4677 if test "${enable_omf+set}" = set; then
4678 enableval=$enable_omf;
4679 if test "$enableval" = yes; then
4680 ac_cv_use_omf='wxUSE_OMF=yes'
4681 else
4682 ac_cv_use_omf='wxUSE_OMF=no'
4683 fi
4684
4685 else
4686
4687 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
4688 if test "x$LINE" != x ; then
4689 eval "DEFAULT_$LINE"
4690 else
4691 no_cache=1
4692 fi
4693
4694 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4695
4696 fi
4697
4698
4699 eval "$ac_cv_use_omf"
4700 if test "$no_cache" != 1; then
4701 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4702 fi
4703
4704 if test "$wxUSE_OMF" = yes; then
4705 { echo "$as_me:$LINENO: result: yes" >&5
4706 echo "${ECHO_T}yes" >&6; }
4707 else
4708 { echo "$as_me:$LINENO: result: no" >&5
4709 echo "${ECHO_T}no" >&6; }
4710 fi
4711
4712 fi
4713
4714 if test "$wxUSE_DEBUG" = "yes"; then
4715 DEFAULT_wxUSE_DEBUG_FLAG=yes
4716 DEFAULT_wxUSE_DEBUG_INFO=yes
4717 BUILD=debug
4718 elif test "$wxUSE_DEBUG" = "no"; then
4719 DEFAULT_wxUSE_DEBUG_FLAG=no
4720 DEFAULT_wxUSE_DEBUG_INFO=no
4721 BUILD=release
4722 fi
4723
4724
4725 enablestring=
4726 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4727 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4728 no_cache=0
4729 # Check whether --enable-debug_flag was given.
4730 if test "${enable_debug_flag+set}" = set; then
4731 enableval=$enable_debug_flag;
4732 if test "$enableval" = yes; then
4733 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4734 else
4735 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4736 fi
4737
4738 else
4739
4740 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4741 if test "x$LINE" != x ; then
4742 eval "DEFAULT_$LINE"
4743 else
4744 no_cache=1
4745 fi
4746
4747 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4748
4749 fi
4750
4751
4752 eval "$ac_cv_use_debug_flag"
4753 if test "$no_cache" != 1; then
4754 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4755 fi
4756
4757 if test "$wxUSE_DEBUG_FLAG" = yes; then
4758 { echo "$as_me:$LINENO: result: yes" >&5
4759 echo "${ECHO_T}yes" >&6; }
4760 else
4761 { echo "$as_me:$LINENO: result: no" >&5
4762 echo "${ECHO_T}no" >&6; }
4763 fi
4764
4765
4766 enablestring=
4767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4768 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4769 no_cache=0
4770 # Check whether --enable-debug_info was given.
4771 if test "${enable_debug_info+set}" = set; then
4772 enableval=$enable_debug_info;
4773 if test "$enableval" = yes; then
4774 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4775 else
4776 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4777 fi
4778
4779 else
4780
4781 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4782 if test "x$LINE" != x ; then
4783 eval "DEFAULT_$LINE"
4784 else
4785 no_cache=1
4786 fi
4787
4788 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4789
4790 fi
4791
4792
4793 eval "$ac_cv_use_debug_info"
4794 if test "$no_cache" != 1; then
4795 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4796 fi
4797
4798 if test "$wxUSE_DEBUG_INFO" = yes; then
4799 { echo "$as_me:$LINENO: result: yes" >&5
4800 echo "${ECHO_T}yes" >&6; }
4801 else
4802 { echo "$as_me:$LINENO: result: no" >&5
4803 echo "${ECHO_T}no" >&6; }
4804 fi
4805
4806
4807 enablestring=
4808 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4809 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4810 no_cache=0
4811 # Check whether --enable-debug_gdb was given.
4812 if test "${enable_debug_gdb+set}" = set; then
4813 enableval=$enable_debug_gdb;
4814 if test "$enableval" = yes; then
4815 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4816 else
4817 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4818 fi
4819
4820 else
4821
4822 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4823 if test "x$LINE" != x ; then
4824 eval "DEFAULT_$LINE"
4825 else
4826 no_cache=1
4827 fi
4828
4829 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4830
4831 fi
4832
4833
4834 eval "$ac_cv_use_debug_gdb"
4835 if test "$no_cache" != 1; then
4836 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4837 fi
4838
4839 if test "$wxUSE_DEBUG_GDB" = yes; then
4840 { echo "$as_me:$LINENO: result: yes" >&5
4841 echo "${ECHO_T}yes" >&6; }
4842 else
4843 { echo "$as_me:$LINENO: result: no" >&5
4844 echo "${ECHO_T}no" >&6; }
4845 fi
4846
4847
4848 enablestring=
4849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4850 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4851 no_cache=0
4852 # Check whether --enable-debug_cntxt was given.
4853 if test "${enable_debug_cntxt+set}" = set; then
4854 enableval=$enable_debug_cntxt;
4855 if test "$enableval" = yes; then
4856 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4857 else
4858 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4859 fi
4860
4861 else
4862
4863 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4864 if test "x$LINE" != x ; then
4865 eval "DEFAULT_$LINE"
4866 else
4867 no_cache=1
4868 fi
4869
4870 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4871
4872 fi
4873
4874
4875 eval "$ac_cv_use_debug_cntxt"
4876 if test "$no_cache" != 1; then
4877 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4878 fi
4879
4880 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4881 { echo "$as_me:$LINENO: result: yes" >&5
4882 echo "${ECHO_T}yes" >&6; }
4883 else
4884 { echo "$as_me:$LINENO: result: no" >&5
4885 echo "${ECHO_T}no" >&6; }
4886 fi
4887
4888
4889 enablestring=
4890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4891 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4892 no_cache=0
4893 # Check whether --enable-mem_tracing was given.
4894 if test "${enable_mem_tracing+set}" = set; then
4895 enableval=$enable_mem_tracing;
4896 if test "$enableval" = yes; then
4897 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4898 else
4899 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4900 fi
4901
4902 else
4903
4904 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4905 if test "x$LINE" != x ; then
4906 eval "DEFAULT_$LINE"
4907 else
4908 no_cache=1
4909 fi
4910
4911 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4912
4913 fi
4914
4915
4916 eval "$ac_cv_use_mem_tracing"
4917 if test "$no_cache" != 1; then
4918 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4919 fi
4920
4921 if test "$wxUSE_MEM_TRACING" = yes; then
4922 { echo "$as_me:$LINENO: result: yes" >&5
4923 echo "${ECHO_T}yes" >&6; }
4924 else
4925 { echo "$as_me:$LINENO: result: no" >&5
4926 echo "${ECHO_T}no" >&6; }
4927 fi
4928
4929
4930 enablestring=
4931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4932 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4933 no_cache=0
4934 # Check whether --enable-profile was given.
4935 if test "${enable_profile+set}" = set; then
4936 enableval=$enable_profile;
4937 if test "$enableval" = yes; then
4938 ac_cv_use_profile='wxUSE_PROFILE=yes'
4939 else
4940 ac_cv_use_profile='wxUSE_PROFILE=no'
4941 fi
4942
4943 else
4944
4945 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4946 if test "x$LINE" != x ; then
4947 eval "DEFAULT_$LINE"
4948 else
4949 no_cache=1
4950 fi
4951
4952 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4953
4954 fi
4955
4956
4957 eval "$ac_cv_use_profile"
4958 if test "$no_cache" != 1; then
4959 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4960 fi
4961
4962 if test "$wxUSE_PROFILE" = yes; then
4963 { echo "$as_me:$LINENO: result: yes" >&5
4964 echo "${ECHO_T}yes" >&6; }
4965 else
4966 { echo "$as_me:$LINENO: result: no" >&5
4967 echo "${ECHO_T}no" >&6; }
4968 fi
4969
4970
4971 enablestring=
4972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4973 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
4974 no_cache=0
4975 # Check whether --enable-no_rtti was given.
4976 if test "${enable_no_rtti+set}" = set; then
4977 enableval=$enable_no_rtti;
4978 if test "$enableval" = yes; then
4979 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4980 else
4981 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4982 fi
4983
4984 else
4985
4986 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4987 if test "x$LINE" != x ; then
4988 eval "DEFAULT_$LINE"
4989 else
4990 no_cache=1
4991 fi
4992
4993 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4994
4995 fi
4996
4997
4998 eval "$ac_cv_use_no_rtti"
4999 if test "$no_cache" != 1; then
5000 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5001 fi
5002
5003 if test "$wxUSE_NO_RTTI" = yes; then
5004 { echo "$as_me:$LINENO: result: yes" >&5
5005 echo "${ECHO_T}yes" >&6; }
5006 else
5007 { echo "$as_me:$LINENO: result: no" >&5
5008 echo "${ECHO_T}no" >&6; }
5009 fi
5010
5011
5012 enablestring=
5013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5014 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5015 no_cache=0
5016 # Check whether --enable-no_exceptions was given.
5017 if test "${enable_no_exceptions+set}" = set; then
5018 enableval=$enable_no_exceptions;
5019 if test "$enableval" = yes; then
5020 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5021 else
5022 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5023 fi
5024
5025 else
5026
5027 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
5028 if test "x$LINE" != x ; then
5029 eval "DEFAULT_$LINE"
5030 else
5031 no_cache=1
5032 fi
5033
5034 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5035
5036 fi
5037
5038
5039 eval "$ac_cv_use_no_exceptions"
5040 if test "$no_cache" != 1; then
5041 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5042 fi
5043
5044 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5045 { echo "$as_me:$LINENO: result: yes" >&5
5046 echo "${ECHO_T}yes" >&6; }
5047 else
5048 { echo "$as_me:$LINENO: result: no" >&5
5049 echo "${ECHO_T}no" >&6; }
5050 fi
5051
5052
5053 enablestring=
5054 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5055 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5056 no_cache=0
5057 # Check whether --enable-permissive was given.
5058 if test "${enable_permissive+set}" = set; then
5059 enableval=$enable_permissive;
5060 if test "$enableval" = yes; then
5061 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5062 else
5063 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5064 fi
5065
5066 else
5067
5068 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
5069 if test "x$LINE" != x ; then
5070 eval "DEFAULT_$LINE"
5071 else
5072 no_cache=1
5073 fi
5074
5075 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5076
5077 fi
5078
5079
5080 eval "$ac_cv_use_permissive"
5081 if test "$no_cache" != 1; then
5082 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5083 fi
5084
5085 if test "$wxUSE_PERMISSIVE" = yes; then
5086 { echo "$as_me:$LINENO: result: yes" >&5
5087 echo "${ECHO_T}yes" >&6; }
5088 else
5089 { echo "$as_me:$LINENO: result: no" >&5
5090 echo "${ECHO_T}no" >&6; }
5091 fi
5092
5093
5094 enablestring=
5095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5096 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5097 no_cache=0
5098 # Check whether --enable-no_deps was given.
5099 if test "${enable_no_deps+set}" = set; then
5100 enableval=$enable_no_deps;
5101 if test "$enableval" = yes; then
5102 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5103 else
5104 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5105 fi
5106
5107 else
5108
5109 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
5110 if test "x$LINE" != x ; then
5111 eval "DEFAULT_$LINE"
5112 else
5113 no_cache=1
5114 fi
5115
5116 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5117
5118 fi
5119
5120
5121 eval "$ac_cv_use_no_deps"
5122 if test "$no_cache" != 1; then
5123 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5124 fi
5125
5126 if test "$wxUSE_NO_DEPS" = yes; then
5127 { echo "$as_me:$LINENO: result: yes" >&5
5128 echo "${ECHO_T}yes" >&6; }
5129 else
5130 { echo "$as_me:$LINENO: result: no" >&5
5131 echo "${ECHO_T}no" >&6; }
5132 fi
5133
5134
5135 enablestring=
5136 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5137 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5138 no_cache=0
5139 # Check whether --enable-vararg_macros was given.
5140 if test "${enable_vararg_macros+set}" = set; then
5141 enableval=$enable_vararg_macros;
5142 if test "$enableval" = yes; then
5143 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5144 else
5145 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5146 fi
5147
5148 else
5149
5150 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
5151 if test "x$LINE" != x ; then
5152 eval "DEFAULT_$LINE"
5153 else
5154 no_cache=1
5155 fi
5156
5157 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5158
5159 fi
5160
5161
5162 eval "$ac_cv_use_vararg_macros"
5163 if test "$no_cache" != 1; then
5164 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5165 fi
5166
5167 if test "$wxUSE_VARARG_MACROS" = yes; then
5168 { echo "$as_me:$LINENO: result: yes" >&5
5169 echo "${ECHO_T}yes" >&6; }
5170 else
5171 { echo "$as_me:$LINENO: result: no" >&5
5172 echo "${ECHO_T}no" >&6; }
5173 fi
5174
5175
5176 enablestring=
5177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5178 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5179 no_cache=0
5180 # Check whether --enable-universal_binary was given.
5181 if test "${enable_universal_binary+set}" = set; then
5182 enableval=$enable_universal_binary;
5183 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5184
5185 else
5186
5187 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
5188 if test "x$LINE" != x ; then
5189 eval "DEFAULT_$LINE"
5190 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5191 else
5192 no_cache=1
5193 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
5194 fi
5195
5196 fi
5197
5198
5199 eval "$wx_cv_use_universal_binary"
5200 if test "$no_cache" != 1; then
5201 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5202 fi
5203
5204 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5205 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5206
5207
5208
5209 enablestring=enable
5210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5211 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5212 no_cache=0
5213 # Check whether --enable-compat26 was given.
5214 if test "${enable_compat26+set}" = set; then
5215 enableval=$enable_compat26;
5216 if test "$enableval" = yes; then
5217 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5218 else
5219 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5220 fi
5221
5222 else
5223
5224 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
5225 if test "x$LINE" != x ; then
5226 eval "DEFAULT_$LINE"
5227 else
5228 no_cache=1
5229 fi
5230
5231 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5232
5233 fi
5234
5235
5236 eval "$ac_cv_use_compat26"
5237 if test "$no_cache" != 1; then
5238 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5239 fi
5240
5241 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5242 { echo "$as_me:$LINENO: result: yes" >&5
5243 echo "${ECHO_T}yes" >&6; }
5244 else
5245 { echo "$as_me:$LINENO: result: no" >&5
5246 echo "${ECHO_T}no" >&6; }
5247 fi
5248
5249
5250 enablestring=disable
5251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5252 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5253 no_cache=0
5254 # Check whether --enable-compat28 was given.
5255 if test "${enable_compat28+set}" = set; then
5256 enableval=$enable_compat28;
5257 if test "$enableval" = yes; then
5258 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5259 else
5260 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5261 fi
5262
5263 else
5264
5265 LINE=`grep "WXWIN_COMPATIBILITY_2_8" ${wx_arg_cache_file}`
5266 if test "x$LINE" != x ; then
5267 eval "DEFAULT_$LINE"
5268 else
5269 no_cache=1
5270 fi
5271
5272 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
5273
5274 fi
5275
5276
5277 eval "$ac_cv_use_compat28"
5278 if test "$no_cache" != 1; then
5279 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5280 fi
5281
5282 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
5283 { echo "$as_me:$LINENO: result: yes" >&5
5284 echo "${ECHO_T}yes" >&6; }
5285 else
5286 { echo "$as_me:$LINENO: result: no" >&5
5287 echo "${ECHO_T}no" >&6; }
5288 fi
5289
5290
5291
5292 enablestring=
5293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5294 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5295 no_cache=0
5296 # Check whether --enable-rpath was given.
5297 if test "${enable_rpath+set}" = set; then
5298 enableval=$enable_rpath;
5299 if test "$enableval" = yes; then
5300 ac_cv_use_rpath='wxUSE_RPATH=yes'
5301 else
5302 ac_cv_use_rpath='wxUSE_RPATH=no'
5303 fi
5304
5305 else
5306
5307 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
5308 if test "x$LINE" != x ; then
5309 eval "DEFAULT_$LINE"
5310 else
5311 no_cache=1
5312 fi
5313
5314 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5315
5316 fi
5317
5318
5319 eval "$ac_cv_use_rpath"
5320 if test "$no_cache" != 1; then
5321 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5322 fi
5323
5324 if test "$wxUSE_RPATH" = yes; then
5325 { echo "$as_me:$LINENO: result: yes" >&5
5326 echo "${ECHO_T}yes" >&6; }
5327 else
5328 { echo "$as_me:$LINENO: result: no" >&5
5329 echo "${ECHO_T}no" >&6; }
5330 fi
5331
5332
5333
5334
5335
5336 enablestring=
5337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5338 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5339 no_cache=0
5340 # Check whether --enable-intl was given.
5341 if test "${enable_intl+set}" = set; then
5342 enableval=$enable_intl;
5343 if test "$enableval" = yes; then
5344 ac_cv_use_intl='wxUSE_INTL=yes'
5345 else
5346 ac_cv_use_intl='wxUSE_INTL=no'
5347 fi
5348
5349 else
5350
5351 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
5352 if test "x$LINE" != x ; then
5353 eval "DEFAULT_$LINE"
5354 else
5355 no_cache=1
5356 fi
5357
5358 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5359
5360 fi
5361
5362
5363 eval "$ac_cv_use_intl"
5364 if test "$no_cache" != 1; then
5365 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5366 fi
5367
5368 if test "$wxUSE_INTL" = yes; then
5369 { echo "$as_me:$LINENO: result: yes" >&5
5370 echo "${ECHO_T}yes" >&6; }
5371 else
5372 { echo "$as_me:$LINENO: result: no" >&5
5373 echo "${ECHO_T}no" >&6; }
5374 fi
5375
5376
5377 enablestring=
5378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5379 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5380 no_cache=0
5381 # Check whether --enable-config was given.
5382 if test "${enable_config+set}" = set; then
5383 enableval=$enable_config;
5384 if test "$enableval" = yes; then
5385 ac_cv_use_config='wxUSE_CONFIG=yes'
5386 else
5387 ac_cv_use_config='wxUSE_CONFIG=no'
5388 fi
5389
5390 else
5391
5392 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
5393 if test "x$LINE" != x ; then
5394 eval "DEFAULT_$LINE"
5395 else
5396 no_cache=1
5397 fi
5398
5399 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5400
5401 fi
5402
5403
5404 eval "$ac_cv_use_config"
5405 if test "$no_cache" != 1; then
5406 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5407 fi
5408
5409 if test "$wxUSE_CONFIG" = yes; then
5410 { echo "$as_me:$LINENO: result: yes" >&5
5411 echo "${ECHO_T}yes" >&6; }
5412 else
5413 { echo "$as_me:$LINENO: result: no" >&5
5414 echo "${ECHO_T}no" >&6; }
5415 fi
5416
5417
5418
5419 enablestring=
5420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5421 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5422 no_cache=0
5423 # Check whether --enable-protocols was given.
5424 if test "${enable_protocols+set}" = set; then
5425 enableval=$enable_protocols;
5426 if test "$enableval" = yes; then
5427 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5428 else
5429 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5430 fi
5431
5432 else
5433
5434 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5435 if test "x$LINE" != x ; then
5436 eval "DEFAULT_$LINE"
5437 else
5438 no_cache=1
5439 fi
5440
5441 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5442
5443 fi
5444
5445
5446 eval "$ac_cv_use_protocols"
5447 if test "$no_cache" != 1; then
5448 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5449 fi
5450
5451 if test "$wxUSE_PROTOCOL" = yes; then
5452 { echo "$as_me:$LINENO: result: yes" >&5
5453 echo "${ECHO_T}yes" >&6; }
5454 else
5455 { echo "$as_me:$LINENO: result: no" >&5
5456 echo "${ECHO_T}no" >&6; }
5457 fi
5458
5459
5460 enablestring=
5461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5462 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5463 no_cache=0
5464 # Check whether --enable-ftp was given.
5465 if test "${enable_ftp+set}" = set; then
5466 enableval=$enable_ftp;
5467 if test "$enableval" = yes; then
5468 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5469 else
5470 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5471 fi
5472
5473 else
5474
5475 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5476 if test "x$LINE" != x ; then
5477 eval "DEFAULT_$LINE"
5478 else
5479 no_cache=1
5480 fi
5481
5482 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5483
5484 fi
5485
5486
5487 eval "$ac_cv_use_ftp"
5488 if test "$no_cache" != 1; then
5489 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5490 fi
5491
5492 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5493 { echo "$as_me:$LINENO: result: yes" >&5
5494 echo "${ECHO_T}yes" >&6; }
5495 else
5496 { echo "$as_me:$LINENO: result: no" >&5
5497 echo "${ECHO_T}no" >&6; }
5498 fi
5499
5500
5501 enablestring=
5502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5503 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5504 no_cache=0
5505 # Check whether --enable-http was given.
5506 if test "${enable_http+set}" = set; then
5507 enableval=$enable_http;
5508 if test "$enableval" = yes; then
5509 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5510 else
5511 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5512 fi
5513
5514 else
5515
5516 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5517 if test "x$LINE" != x ; then
5518 eval "DEFAULT_$LINE"
5519 else
5520 no_cache=1
5521 fi
5522
5523 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5524
5525 fi
5526
5527
5528 eval "$ac_cv_use_http"
5529 if test "$no_cache" != 1; then
5530 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5531 fi
5532
5533 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5534 { echo "$as_me:$LINENO: result: yes" >&5
5535 echo "${ECHO_T}yes" >&6; }
5536 else
5537 { echo "$as_me:$LINENO: result: no" >&5
5538 echo "${ECHO_T}no" >&6; }
5539 fi
5540
5541
5542 enablestring=
5543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5544 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5545 no_cache=0
5546 # Check whether --enable-fileproto was given.
5547 if test "${enable_fileproto+set}" = set; then
5548 enableval=$enable_fileproto;
5549 if test "$enableval" = yes; then
5550 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5551 else
5552 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5553 fi
5554
5555 else
5556
5557 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5558 if test "x$LINE" != x ; then
5559 eval "DEFAULT_$LINE"
5560 else
5561 no_cache=1
5562 fi
5563
5564 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5565
5566 fi
5567
5568
5569 eval "$ac_cv_use_fileproto"
5570 if test "$no_cache" != 1; then
5571 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5572 fi
5573
5574 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5575 { echo "$as_me:$LINENO: result: yes" >&5
5576 echo "${ECHO_T}yes" >&6; }
5577 else
5578 { echo "$as_me:$LINENO: result: no" >&5
5579 echo "${ECHO_T}no" >&6; }
5580 fi
5581
5582
5583 enablestring=
5584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5585 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5586 no_cache=0
5587 # Check whether --enable-sockets was given.
5588 if test "${enable_sockets+set}" = set; then
5589 enableval=$enable_sockets;
5590 if test "$enableval" = yes; then
5591 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5592 else
5593 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5594 fi
5595
5596 else
5597
5598 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
5599 if test "x$LINE" != x ; then
5600 eval "DEFAULT_$LINE"
5601 else
5602 no_cache=1
5603 fi
5604
5605 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5606
5607 fi
5608
5609
5610 eval "$ac_cv_use_sockets"
5611 if test "$no_cache" != 1; then
5612 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5613 fi
5614
5615 if test "$wxUSE_SOCKETS" = yes; then
5616 { echo "$as_me:$LINENO: result: yes" >&5
5617 echo "${ECHO_T}yes" >&6; }
5618 else
5619 { echo "$as_me:$LINENO: result: no" >&5
5620 echo "${ECHO_T}no" >&6; }
5621 fi
5622
5623
5624 enablestring=
5625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5626 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5627 no_cache=0
5628 # Check whether --enable-ole was given.
5629 if test "${enable_ole+set}" = set; then
5630 enableval=$enable_ole;
5631 if test "$enableval" = yes; then
5632 ac_cv_use_ole='wxUSE_OLE=yes'
5633 else
5634 ac_cv_use_ole='wxUSE_OLE=no'
5635 fi
5636
5637 else
5638
5639 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
5640 if test "x$LINE" != x ; then
5641 eval "DEFAULT_$LINE"
5642 else
5643 no_cache=1
5644 fi
5645
5646 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5647
5648 fi
5649
5650
5651 eval "$ac_cv_use_ole"
5652 if test "$no_cache" != 1; then
5653 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5654 fi
5655
5656 if test "$wxUSE_OLE" = yes; then
5657 { echo "$as_me:$LINENO: result: yes" >&5
5658 echo "${ECHO_T}yes" >&6; }
5659 else
5660 { echo "$as_me:$LINENO: result: no" >&5
5661 echo "${ECHO_T}no" >&6; }
5662 fi
5663
5664
5665 enablestring=
5666 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5667 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5668 no_cache=0
5669 # Check whether --enable-dataobj was given.
5670 if test "${enable_dataobj+set}" = set; then
5671 enableval=$enable_dataobj;
5672 if test "$enableval" = yes; then
5673 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5674 else
5675 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5676 fi
5677
5678 else
5679
5680 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
5681 if test "x$LINE" != x ; then
5682 eval "DEFAULT_$LINE"
5683 else
5684 no_cache=1
5685 fi
5686
5687 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5688
5689 fi
5690
5691
5692 eval "$ac_cv_use_dataobj"
5693 if test "$no_cache" != 1; then
5694 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5695 fi
5696
5697 if test "$wxUSE_DATAOBJ" = yes; then
5698 { echo "$as_me:$LINENO: result: yes" >&5
5699 echo "${ECHO_T}yes" >&6; }
5700 else
5701 { echo "$as_me:$LINENO: result: no" >&5
5702 echo "${ECHO_T}no" >&6; }
5703 fi
5704
5705
5706
5707 enablestring=
5708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5709 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5710 no_cache=0
5711 # Check whether --enable-ipc was given.
5712 if test "${enable_ipc+set}" = set; then
5713 enableval=$enable_ipc;
5714 if test "$enableval" = yes; then
5715 ac_cv_use_ipc='wxUSE_IPC=yes'
5716 else
5717 ac_cv_use_ipc='wxUSE_IPC=no'
5718 fi
5719
5720 else
5721
5722 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5723 if test "x$LINE" != x ; then
5724 eval "DEFAULT_$LINE"
5725 else
5726 no_cache=1
5727 fi
5728
5729 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5730
5731 fi
5732
5733
5734 eval "$ac_cv_use_ipc"
5735 if test "$no_cache" != 1; then
5736 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5737 fi
5738
5739 if test "$wxUSE_IPC" = yes; then
5740 { echo "$as_me:$LINENO: result: yes" >&5
5741 echo "${ECHO_T}yes" >&6; }
5742 else
5743 { echo "$as_me:$LINENO: result: no" >&5
5744 echo "${ECHO_T}no" >&6; }
5745 fi
5746
5747
5748
5749 enablestring=
5750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5751 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5752 no_cache=0
5753 # Check whether --enable-apple_ieee was given.
5754 if test "${enable_apple_ieee+set}" = set; then
5755 enableval=$enable_apple_ieee;
5756 if test "$enableval" = yes; then
5757 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5758 else
5759 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5760 fi
5761
5762 else
5763
5764 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5765 if test "x$LINE" != x ; then
5766 eval "DEFAULT_$LINE"
5767 else
5768 no_cache=1
5769 fi
5770
5771 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5772
5773 fi
5774
5775
5776 eval "$ac_cv_use_apple_ieee"
5777 if test "$no_cache" != 1; then
5778 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5779 fi
5780
5781 if test "$wxUSE_APPLE_IEEE" = yes; then
5782 { echo "$as_me:$LINENO: result: yes" >&5
5783 echo "${ECHO_T}yes" >&6; }
5784 else
5785 { echo "$as_me:$LINENO: result: no" >&5
5786 echo "${ECHO_T}no" >&6; }
5787 fi
5788
5789
5790 enablestring=
5791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5792 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5793 no_cache=0
5794 # Check whether --enable-arcstream was given.
5795 if test "${enable_arcstream+set}" = set; then
5796 enableval=$enable_arcstream;
5797 if test "$enableval" = yes; then
5798 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5799 else
5800 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5801 fi
5802
5803 else
5804
5805 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5806 if test "x$LINE" != x ; then
5807 eval "DEFAULT_$LINE"
5808 else
5809 no_cache=1
5810 fi
5811
5812 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5813
5814 fi
5815
5816
5817 eval "$ac_cv_use_arcstream"
5818 if test "$no_cache" != 1; then
5819 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5820 fi
5821
5822 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5823 { echo "$as_me:$LINENO: result: yes" >&5
5824 echo "${ECHO_T}yes" >&6; }
5825 else
5826 { echo "$as_me:$LINENO: result: no" >&5
5827 echo "${ECHO_T}no" >&6; }
5828 fi
5829
5830
5831 enablestring=
5832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5833 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5834 no_cache=0
5835 # Check whether --enable-backtrace was given.
5836 if test "${enable_backtrace+set}" = set; then
5837 enableval=$enable_backtrace;
5838 if test "$enableval" = yes; then
5839 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5840 else
5841 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5842 fi
5843
5844 else
5845
5846 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5847 if test "x$LINE" != x ; then
5848 eval "DEFAULT_$LINE"
5849 else
5850 no_cache=1
5851 fi
5852
5853 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5854
5855 fi
5856
5857
5858 eval "$ac_cv_use_backtrace"
5859 if test "$no_cache" != 1; then
5860 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5861 fi
5862
5863 if test "$wxUSE_STACKWALKER" = yes; then
5864 { echo "$as_me:$LINENO: result: yes" >&5
5865 echo "${ECHO_T}yes" >&6; }
5866 else
5867 { echo "$as_me:$LINENO: result: no" >&5
5868 echo "${ECHO_T}no" >&6; }
5869 fi
5870
5871
5872 enablestring=
5873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5874 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5875 no_cache=0
5876 # Check whether --enable-catch_segvs was given.
5877 if test "${enable_catch_segvs+set}" = set; then
5878 enableval=$enable_catch_segvs;
5879 if test "$enableval" = yes; then
5880 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5881 else
5882 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5883 fi
5884
5885 else
5886
5887 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5888 if test "x$LINE" != x ; then
5889 eval "DEFAULT_$LINE"
5890 else
5891 no_cache=1
5892 fi
5893
5894 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5895
5896 fi
5897
5898
5899 eval "$ac_cv_use_catch_segvs"
5900 if test "$no_cache" != 1; then
5901 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5902 fi
5903
5904 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5905 { echo "$as_me:$LINENO: result: yes" >&5
5906 echo "${ECHO_T}yes" >&6; }
5907 else
5908 { echo "$as_me:$LINENO: result: no" >&5
5909 echo "${ECHO_T}no" >&6; }
5910 fi
5911
5912
5913 enablestring=
5914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5915 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
5916 no_cache=0
5917 # Check whether --enable-cmdline was given.
5918 if test "${enable_cmdline+set}" = set; then
5919 enableval=$enable_cmdline;
5920 if test "$enableval" = yes; then
5921 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5922 else
5923 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5924 fi
5925
5926 else
5927
5928 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5929 if test "x$LINE" != x ; then
5930 eval "DEFAULT_$LINE"
5931 else
5932 no_cache=1
5933 fi
5934
5935 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5936
5937 fi
5938
5939
5940 eval "$ac_cv_use_cmdline"
5941 if test "$no_cache" != 1; then
5942 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5943 fi
5944
5945 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5946 { echo "$as_me:$LINENO: result: yes" >&5
5947 echo "${ECHO_T}yes" >&6; }
5948 else
5949 { echo "$as_me:$LINENO: result: no" >&5
5950 echo "${ECHO_T}no" >&6; }
5951 fi
5952
5953
5954 enablestring=
5955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5956 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
5957 no_cache=0
5958 # Check whether --enable-datetime was given.
5959 if test "${enable_datetime+set}" = set; then
5960 enableval=$enable_datetime;
5961 if test "$enableval" = yes; then
5962 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5963 else
5964 ac_cv_use_datetime='wxUSE_DATETIME=no'
5965 fi
5966
5967 else
5968
5969 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5970 if test "x$LINE" != x ; then
5971 eval "DEFAULT_$LINE"
5972 else
5973 no_cache=1
5974 fi
5975
5976 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5977
5978 fi
5979
5980
5981 eval "$ac_cv_use_datetime"
5982 if test "$no_cache" != 1; then
5983 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5984 fi
5985
5986 if test "$wxUSE_DATETIME" = yes; then
5987 { echo "$as_me:$LINENO: result: yes" >&5
5988 echo "${ECHO_T}yes" >&6; }
5989 else
5990 { echo "$as_me:$LINENO: result: no" >&5
5991 echo "${ECHO_T}no" >&6; }
5992 fi
5993
5994
5995 enablestring=
5996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5997 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
5998 no_cache=0
5999 # Check whether --enable-debugreport was given.
6000 if test "${enable_debugreport+set}" = set; then
6001 enableval=$enable_debugreport;
6002 if test "$enableval" = yes; then
6003 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6004 else
6005 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6006 fi
6007
6008 else
6009
6010 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
6011 if test "x$LINE" != x ; then
6012 eval "DEFAULT_$LINE"
6013 else
6014 no_cache=1
6015 fi
6016
6017 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6018
6019 fi
6020
6021
6022 eval "$ac_cv_use_debugreport"
6023 if test "$no_cache" != 1; then
6024 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6025 fi
6026
6027 if test "$wxUSE_DEBUGREPORT" = yes; then
6028 { echo "$as_me:$LINENO: result: yes" >&5
6029 echo "${ECHO_T}yes" >&6; }
6030 else
6031 { echo "$as_me:$LINENO: result: no" >&5
6032 echo "${ECHO_T}no" >&6; }
6033 fi
6034
6035
6036 enablestring=
6037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6038 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6039 no_cache=0
6040 # Check whether --enable-dialupman was given.
6041 if test "${enable_dialupman+set}" = set; then
6042 enableval=$enable_dialupman;
6043 if test "$enableval" = yes; then
6044 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6045 else
6046 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6047 fi
6048
6049 else
6050
6051 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
6052 if test "x$LINE" != x ; then
6053 eval "DEFAULT_$LINE"
6054 else
6055 no_cache=1
6056 fi
6057
6058 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6059
6060 fi
6061
6062
6063 eval "$ac_cv_use_dialupman"
6064 if test "$no_cache" != 1; then
6065 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6066 fi
6067
6068 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6069 { echo "$as_me:$LINENO: result: yes" >&5
6070 echo "${ECHO_T}yes" >&6; }
6071 else
6072 { echo "$as_me:$LINENO: result: no" >&5
6073 echo "${ECHO_T}no" >&6; }
6074 fi
6075
6076
6077 enablestring=
6078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6079 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6080 no_cache=0
6081 # Check whether --enable-dynlib was given.
6082 if test "${enable_dynlib+set}" = set; then
6083 enableval=$enable_dynlib;
6084 if test "$enableval" = yes; then
6085 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6086 else
6087 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6088 fi
6089
6090 else
6091
6092 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
6093 if test "x$LINE" != x ; then
6094 eval "DEFAULT_$LINE"
6095 else
6096 no_cache=1
6097 fi
6098
6099 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6100
6101 fi
6102
6103
6104 eval "$ac_cv_use_dynlib"
6105 if test "$no_cache" != 1; then
6106 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6107 fi
6108
6109 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6110 { echo "$as_me:$LINENO: result: yes" >&5
6111 echo "${ECHO_T}yes" >&6; }
6112 else
6113 { echo "$as_me:$LINENO: result: no" >&5
6114 echo "${ECHO_T}no" >&6; }
6115 fi
6116
6117
6118 enablestring=
6119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6120 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6121 no_cache=0
6122 # Check whether --enable-dynamicloader was given.
6123 if test "${enable_dynamicloader+set}" = set; then
6124 enableval=$enable_dynamicloader;
6125 if test "$enableval" = yes; then
6126 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6127 else
6128 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6129 fi
6130
6131 else
6132
6133 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
6134 if test "x$LINE" != x ; then
6135 eval "DEFAULT_$LINE"
6136 else
6137 no_cache=1
6138 fi
6139
6140 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6141
6142 fi
6143
6144
6145 eval "$ac_cv_use_dynamicloader"
6146 if test "$no_cache" != 1; then
6147 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6148 fi
6149
6150 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6151 { echo "$as_me:$LINENO: result: yes" >&5
6152 echo "${ECHO_T}yes" >&6; }
6153 else
6154 { echo "$as_me:$LINENO: result: no" >&5
6155 echo "${ECHO_T}no" >&6; }
6156 fi
6157
6158
6159 enablestring=
6160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6161 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6162 no_cache=0
6163 # Check whether --enable-exceptions was given.
6164 if test "${enable_exceptions+set}" = set; then
6165 enableval=$enable_exceptions;
6166 if test "$enableval" = yes; then
6167 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6168 else
6169 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6170 fi
6171
6172 else
6173
6174 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
6175 if test "x$LINE" != x ; then
6176 eval "DEFAULT_$LINE"
6177 else
6178 no_cache=1
6179 fi
6180
6181 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6182
6183 fi
6184
6185
6186 eval "$ac_cv_use_exceptions"
6187 if test "$no_cache" != 1; then
6188 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6189 fi
6190
6191 if test "$wxUSE_EXCEPTIONS" = yes; then
6192 { echo "$as_me:$LINENO: result: yes" >&5
6193 echo "${ECHO_T}yes" >&6; }
6194 else
6195 { echo "$as_me:$LINENO: result: no" >&5
6196 echo "${ECHO_T}no" >&6; }
6197 fi
6198
6199
6200 enablestring=
6201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6202 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6203 no_cache=0
6204 # Check whether --enable-ffile was given.
6205 if test "${enable_ffile+set}" = set; then
6206 enableval=$enable_ffile;
6207 if test "$enableval" = yes; then
6208 ac_cv_use_ffile='wxUSE_FFILE=yes'
6209 else
6210 ac_cv_use_ffile='wxUSE_FFILE=no'
6211 fi
6212
6213 else
6214
6215 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
6216 if test "x$LINE" != x ; then
6217 eval "DEFAULT_$LINE"
6218 else
6219 no_cache=1
6220 fi
6221
6222 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6223
6224 fi
6225
6226
6227 eval "$ac_cv_use_ffile"
6228 if test "$no_cache" != 1; then
6229 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6230 fi
6231
6232 if test "$wxUSE_FFILE" = yes; then
6233 { echo "$as_me:$LINENO: result: yes" >&5
6234 echo "${ECHO_T}yes" >&6; }
6235 else
6236 { echo "$as_me:$LINENO: result: no" >&5
6237 echo "${ECHO_T}no" >&6; }
6238 fi
6239
6240
6241 enablestring=
6242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6243 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6244 no_cache=0
6245 # Check whether --enable-file was given.
6246 if test "${enable_file+set}" = set; then
6247 enableval=$enable_file;
6248 if test "$enableval" = yes; then
6249 ac_cv_use_file='wxUSE_FILE=yes'
6250 else
6251 ac_cv_use_file='wxUSE_FILE=no'
6252 fi
6253
6254 else
6255
6256 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
6257 if test "x$LINE" != x ; then
6258 eval "DEFAULT_$LINE"
6259 else
6260 no_cache=1
6261 fi
6262
6263 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6264
6265 fi
6266
6267
6268 eval "$ac_cv_use_file"
6269 if test "$no_cache" != 1; then
6270 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6271 fi
6272
6273 if test "$wxUSE_FILE" = yes; then
6274 { echo "$as_me:$LINENO: result: yes" >&5
6275 echo "${ECHO_T}yes" >&6; }
6276 else
6277 { echo "$as_me:$LINENO: result: no" >&5
6278 echo "${ECHO_T}no" >&6; }
6279 fi
6280
6281
6282 enablestring=
6283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6284 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6285 no_cache=0
6286 # Check whether --enable-filesystem was given.
6287 if test "${enable_filesystem+set}" = set; then
6288 enableval=$enable_filesystem;
6289 if test "$enableval" = yes; then
6290 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6291 else
6292 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6293 fi
6294
6295 else
6296
6297 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
6298 if test "x$LINE" != x ; then
6299 eval "DEFAULT_$LINE"
6300 else
6301 no_cache=1
6302 fi
6303
6304 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6305
6306 fi
6307
6308
6309 eval "$ac_cv_use_filesystem"
6310 if test "$no_cache" != 1; then
6311 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6312 fi
6313
6314 if test "$wxUSE_FILESYSTEM" = yes; then
6315 { echo "$as_me:$LINENO: result: yes" >&5
6316 echo "${ECHO_T}yes" >&6; }
6317 else
6318 { echo "$as_me:$LINENO: result: no" >&5
6319 echo "${ECHO_T}no" >&6; }
6320 fi
6321
6322
6323 enablestring=
6324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6325 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6326 no_cache=0
6327 # Check whether --enable-fontmap was given.
6328 if test "${enable_fontmap+set}" = set; then
6329 enableval=$enable_fontmap;
6330 if test "$enableval" = yes; then
6331 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6332 else
6333 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6334 fi
6335
6336 else
6337
6338 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
6339 if test "x$LINE" != x ; then
6340 eval "DEFAULT_$LINE"
6341 else
6342 no_cache=1
6343 fi
6344
6345 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6346
6347 fi
6348
6349
6350 eval "$ac_cv_use_fontmap"
6351 if test "$no_cache" != 1; then
6352 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6353 fi
6354
6355 if test "$wxUSE_FONTMAP" = yes; then
6356 { echo "$as_me:$LINENO: result: yes" >&5
6357 echo "${ECHO_T}yes" >&6; }
6358 else
6359 { echo "$as_me:$LINENO: result: no" >&5
6360 echo "${ECHO_T}no" >&6; }
6361 fi
6362
6363
6364 enablestring=
6365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6366 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6367 no_cache=0
6368 # Check whether --enable-fs_archive was given.
6369 if test "${enable_fs_archive+set}" = set; then
6370 enableval=$enable_fs_archive;
6371 if test "$enableval" = yes; then
6372 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6373 else
6374 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6375 fi
6376
6377 else
6378
6379 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
6380 if test "x$LINE" != x ; then
6381 eval "DEFAULT_$LINE"
6382 else
6383 no_cache=1
6384 fi
6385
6386 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6387
6388 fi
6389
6390
6391 eval "$ac_cv_use_fs_archive"
6392 if test "$no_cache" != 1; then
6393 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6394 fi
6395
6396 if test "$wxUSE_FS_ARCHIVE" = yes; then
6397 { echo "$as_me:$LINENO: result: yes" >&5
6398 echo "${ECHO_T}yes" >&6; }
6399 else
6400 { echo "$as_me:$LINENO: result: no" >&5
6401 echo "${ECHO_T}no" >&6; }
6402 fi
6403
6404
6405 enablestring=
6406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6407 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6408 no_cache=0
6409 # Check whether --enable-fs_inet was given.
6410 if test "${enable_fs_inet+set}" = set; then
6411 enableval=$enable_fs_inet;
6412 if test "$enableval" = yes; then
6413 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6414 else
6415 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6416 fi
6417
6418 else
6419
6420 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
6421 if test "x$LINE" != x ; then
6422 eval "DEFAULT_$LINE"
6423 else
6424 no_cache=1
6425 fi
6426
6427 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6428
6429 fi
6430
6431
6432 eval "$ac_cv_use_fs_inet"
6433 if test "$no_cache" != 1; then
6434 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6435 fi
6436
6437 if test "$wxUSE_FS_INET" = yes; then
6438 { echo "$as_me:$LINENO: result: yes" >&5
6439 echo "${ECHO_T}yes" >&6; }
6440 else
6441 { echo "$as_me:$LINENO: result: no" >&5
6442 echo "${ECHO_T}no" >&6; }
6443 fi
6444
6445
6446 enablestring=
6447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6448 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6449 no_cache=0
6450 # Check whether --enable-fs_zip was given.
6451 if test "${enable_fs_zip+set}" = set; then
6452 enableval=$enable_fs_zip;
6453 if test "$enableval" = yes; then
6454 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6455 else
6456 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6457 fi
6458
6459 else
6460
6461 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
6462 if test "x$LINE" != x ; then
6463 eval "DEFAULT_$LINE"
6464 else
6465 no_cache=1
6466 fi
6467
6468 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6469
6470 fi
6471
6472
6473 eval "$ac_cv_use_fs_zip"
6474 if test "$no_cache" != 1; then
6475 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6476 fi
6477
6478 if test "$wxUSE_FS_ZIP" = yes; then
6479 { echo "$as_me:$LINENO: result: yes" >&5
6480 echo "${ECHO_T}yes" >&6; }
6481 else
6482 { echo "$as_me:$LINENO: result: no" >&5
6483 echo "${ECHO_T}no" >&6; }
6484 fi
6485
6486
6487 enablestring=
6488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6489 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6490 no_cache=0
6491 # Check whether --enable-geometry was given.
6492 if test "${enable_geometry+set}" = set; then
6493 enableval=$enable_geometry;
6494 if test "$enableval" = yes; then
6495 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6496 else
6497 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6498 fi
6499
6500 else
6501
6502 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
6503 if test "x$LINE" != x ; then
6504 eval "DEFAULT_$LINE"
6505 else
6506 no_cache=1
6507 fi
6508
6509 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6510
6511 fi
6512
6513
6514 eval "$ac_cv_use_geometry"
6515 if test "$no_cache" != 1; then
6516 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6517 fi
6518
6519 if test "$wxUSE_GEOMETRY" = yes; then
6520 { echo "$as_me:$LINENO: result: yes" >&5
6521 echo "${ECHO_T}yes" >&6; }
6522 else
6523 { echo "$as_me:$LINENO: result: no" >&5
6524 echo "${ECHO_T}no" >&6; }
6525 fi
6526
6527
6528 enablestring=
6529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6530 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6531 no_cache=0
6532 # Check whether --enable-log was given.
6533 if test "${enable_log+set}" = set; then
6534 enableval=$enable_log;
6535 if test "$enableval" = yes; then
6536 ac_cv_use_log='wxUSE_LOG=yes'
6537 else
6538 ac_cv_use_log='wxUSE_LOG=no'
6539 fi
6540
6541 else
6542
6543 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
6544 if test "x$LINE" != x ; then
6545 eval "DEFAULT_$LINE"
6546 else
6547 no_cache=1
6548 fi
6549
6550 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6551
6552 fi
6553
6554
6555 eval "$ac_cv_use_log"
6556 if test "$no_cache" != 1; then
6557 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6558 fi
6559
6560 if test "$wxUSE_LOG" = yes; then
6561 { echo "$as_me:$LINENO: result: yes" >&5
6562 echo "${ECHO_T}yes" >&6; }
6563 else
6564 { echo "$as_me:$LINENO: result: no" >&5
6565 echo "${ECHO_T}no" >&6; }
6566 fi
6567
6568
6569 enablestring=
6570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6571 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6572 no_cache=0
6573 # Check whether --enable-longlong was given.
6574 if test "${enable_longlong+set}" = set; then
6575 enableval=$enable_longlong;
6576 if test "$enableval" = yes; then
6577 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6578 else
6579 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6580 fi
6581
6582 else
6583
6584 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
6585 if test "x$LINE" != x ; then
6586 eval "DEFAULT_$LINE"
6587 else
6588 no_cache=1
6589 fi
6590
6591 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6592
6593 fi
6594
6595
6596 eval "$ac_cv_use_longlong"
6597 if test "$no_cache" != 1; then
6598 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6599 fi
6600
6601 if test "$wxUSE_LONGLONG" = yes; then
6602 { echo "$as_me:$LINENO: result: yes" >&5
6603 echo "${ECHO_T}yes" >&6; }
6604 else
6605 { echo "$as_me:$LINENO: result: no" >&5
6606 echo "${ECHO_T}no" >&6; }
6607 fi
6608
6609
6610 enablestring=
6611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6612 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6613 no_cache=0
6614 # Check whether --enable-mimetype was given.
6615 if test "${enable_mimetype+set}" = set; then
6616 enableval=$enable_mimetype;
6617 if test "$enableval" = yes; then
6618 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6619 else
6620 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6621 fi
6622
6623 else
6624
6625 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
6626 if test "x$LINE" != x ; then
6627 eval "DEFAULT_$LINE"
6628 else
6629 no_cache=1
6630 fi
6631
6632 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6633
6634 fi
6635
6636
6637 eval "$ac_cv_use_mimetype"
6638 if test "$no_cache" != 1; then
6639 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6640 fi
6641
6642 if test "$wxUSE_MIMETYPE" = yes; then
6643 { echo "$as_me:$LINENO: result: yes" >&5
6644 echo "${ECHO_T}yes" >&6; }
6645 else
6646 { echo "$as_me:$LINENO: result: no" >&5
6647 echo "${ECHO_T}no" >&6; }
6648 fi
6649
6650
6651 enablestring=
6652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6653 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6654 no_cache=0
6655 # Check whether --enable-mslu was given.
6656 if test "${enable_mslu+set}" = set; then
6657 enableval=$enable_mslu;
6658 if test "$enableval" = yes; then
6659 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6660 else
6661 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6662 fi
6663
6664 else
6665
6666 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
6667 if test "x$LINE" != x ; then
6668 eval "DEFAULT_$LINE"
6669 else
6670 no_cache=1
6671 fi
6672
6673 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6674
6675 fi
6676
6677
6678 eval "$ac_cv_use_mslu"
6679 if test "$no_cache" != 1; then
6680 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6681 fi
6682
6683 if test "$wxUSE_UNICODE_MSLU" = yes; then
6684 { echo "$as_me:$LINENO: result: yes" >&5
6685 echo "${ECHO_T}yes" >&6; }
6686 else
6687 { echo "$as_me:$LINENO: result: no" >&5
6688 echo "${ECHO_T}no" >&6; }
6689 fi
6690
6691
6692 enablestring=
6693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6694 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6695 no_cache=0
6696 # Check whether --enable-snglinst was given.
6697 if test "${enable_snglinst+set}" = set; then
6698 enableval=$enable_snglinst;
6699 if test "$enableval" = yes; then
6700 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6701 else
6702 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6703 fi
6704
6705 else
6706
6707 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6708 if test "x$LINE" != x ; then
6709 eval "DEFAULT_$LINE"
6710 else
6711 no_cache=1
6712 fi
6713
6714 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6715
6716 fi
6717
6718
6719 eval "$ac_cv_use_snglinst"
6720 if test "$no_cache" != 1; then
6721 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6722 fi
6723
6724 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6725 { echo "$as_me:$LINENO: result: yes" >&5
6726 echo "${ECHO_T}yes" >&6; }
6727 else
6728 { echo "$as_me:$LINENO: result: no" >&5
6729 echo "${ECHO_T}no" >&6; }
6730 fi
6731
6732
6733 enablestring=
6734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6735 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6736 no_cache=0
6737 # Check whether --enable-std_iostreams was given.
6738 if test "${enable_std_iostreams+set}" = set; then
6739 enableval=$enable_std_iostreams;
6740 if test "$enableval" = yes; then
6741 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6742 else
6743 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6744 fi
6745
6746 else
6747
6748 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6749 if test "x$LINE" != x ; then
6750 eval "DEFAULT_$LINE"
6751 else
6752 no_cache=1
6753 fi
6754
6755 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6756
6757 fi
6758
6759
6760 eval "$ac_cv_use_std_iostreams"
6761 if test "$no_cache" != 1; then
6762 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6763 fi
6764
6765 if test "$wxUSE_STD_IOSTREAM" = yes; then
6766 { echo "$as_me:$LINENO: result: yes" >&5
6767 echo "${ECHO_T}yes" >&6; }
6768 else
6769 { echo "$as_me:$LINENO: result: no" >&5
6770 echo "${ECHO_T}no" >&6; }
6771 fi
6772
6773
6774 enablestring=
6775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6776 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6777 no_cache=0
6778 # Check whether --enable-std_string was given.
6779 if test "${enable_std_string+set}" = set; then
6780 enableval=$enable_std_string;
6781 if test "$enableval" = yes; then
6782 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6783 else
6784 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6785 fi
6786
6787 else
6788
6789 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6790 if test "x$LINE" != x ; then
6791 eval "DEFAULT_$LINE"
6792 else
6793 no_cache=1
6794 fi
6795
6796 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6797
6798 fi
6799
6800
6801 eval "$ac_cv_use_std_string"
6802 if test "$no_cache" != 1; then
6803 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6804 fi
6805
6806 if test "$wxUSE_STD_STRING" = yes; then
6807 { echo "$as_me:$LINENO: result: yes" >&5
6808 echo "${ECHO_T}yes" >&6; }
6809 else
6810 { echo "$as_me:$LINENO: result: no" >&5
6811 echo "${ECHO_T}no" >&6; }
6812 fi
6813
6814
6815 enablestring=
6816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6817 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6818 no_cache=0
6819 # Check whether --enable-stdpaths was given.
6820 if test "${enable_stdpaths+set}" = set; then
6821 enableval=$enable_stdpaths;
6822 if test "$enableval" = yes; then
6823 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6824 else
6825 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6826 fi
6827
6828 else
6829
6830 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6831 if test "x$LINE" != x ; then
6832 eval "DEFAULT_$LINE"
6833 else
6834 no_cache=1
6835 fi
6836
6837 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6838
6839 fi
6840
6841
6842 eval "$ac_cv_use_stdpaths"
6843 if test "$no_cache" != 1; then
6844 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6845 fi
6846
6847 if test "$wxUSE_STDPATHS" = yes; then
6848 { echo "$as_me:$LINENO: result: yes" >&5
6849 echo "${ECHO_T}yes" >&6; }
6850 else
6851 { echo "$as_me:$LINENO: result: no" >&5
6852 echo "${ECHO_T}no" >&6; }
6853 fi
6854
6855
6856 enablestring=
6857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6858 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
6859 no_cache=0
6860 # Check whether --enable-stopwatch was given.
6861 if test "${enable_stopwatch+set}" = set; then
6862 enableval=$enable_stopwatch;
6863 if test "$enableval" = yes; then
6864 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6865 else
6866 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6867 fi
6868
6869 else
6870
6871 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6872 if test "x$LINE" != x ; then
6873 eval "DEFAULT_$LINE"
6874 else
6875 no_cache=1
6876 fi
6877
6878 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6879
6880 fi
6881
6882
6883 eval "$ac_cv_use_stopwatch"
6884 if test "$no_cache" != 1; then
6885 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6886 fi
6887
6888 if test "$wxUSE_STOPWATCH" = yes; then
6889 { echo "$as_me:$LINENO: result: yes" >&5
6890 echo "${ECHO_T}yes" >&6; }
6891 else
6892 { echo "$as_me:$LINENO: result: no" >&5
6893 echo "${ECHO_T}no" >&6; }
6894 fi
6895
6896
6897 enablestring=
6898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6899 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
6900 no_cache=0
6901 # Check whether --enable-streams was given.
6902 if test "${enable_streams+set}" = set; then
6903 enableval=$enable_streams;
6904 if test "$enableval" = yes; then
6905 ac_cv_use_streams='wxUSE_STREAMS=yes'
6906 else
6907 ac_cv_use_streams='wxUSE_STREAMS=no'
6908 fi
6909
6910 else
6911
6912 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6913 if test "x$LINE" != x ; then
6914 eval "DEFAULT_$LINE"
6915 else
6916 no_cache=1
6917 fi
6918
6919 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6920
6921 fi
6922
6923
6924 eval "$ac_cv_use_streams"
6925 if test "$no_cache" != 1; then
6926 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6927 fi
6928
6929 if test "$wxUSE_STREAMS" = yes; then
6930 { echo "$as_me:$LINENO: result: yes" >&5
6931 echo "${ECHO_T}yes" >&6; }
6932 else
6933 { echo "$as_me:$LINENO: result: no" >&5
6934 echo "${ECHO_T}no" >&6; }
6935 fi
6936
6937
6938 enablestring=
6939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6940 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
6941 no_cache=0
6942 # Check whether --enable-system_options was given.
6943 if test "${enable_system_options+set}" = set; then
6944 enableval=$enable_system_options;
6945 if test "$enableval" = yes; then
6946 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6947 else
6948 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6949 fi
6950
6951 else
6952
6953 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6954 if test "x$LINE" != x ; then
6955 eval "DEFAULT_$LINE"
6956 else
6957 no_cache=1
6958 fi
6959
6960 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6961
6962 fi
6963
6964
6965 eval "$ac_cv_use_system_options"
6966 if test "$no_cache" != 1; then
6967 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6968 fi
6969
6970 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6971 { echo "$as_me:$LINENO: result: yes" >&5
6972 echo "${ECHO_T}yes" >&6; }
6973 else
6974 { echo "$as_me:$LINENO: result: no" >&5
6975 echo "${ECHO_T}no" >&6; }
6976 fi
6977
6978
6979 enablestring=
6980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6981 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
6982 no_cache=0
6983 # Check whether --enable-tarstream was given.
6984 if test "${enable_tarstream+set}" = set; then
6985 enableval=$enable_tarstream;
6986 if test "$enableval" = yes; then
6987 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6988 else
6989 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6990 fi
6991
6992 else
6993
6994 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6995 if test "x$LINE" != x ; then
6996 eval "DEFAULT_$LINE"
6997 else
6998 no_cache=1
6999 fi
7000
7001 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
7002
7003 fi
7004
7005
7006 eval "$ac_cv_use_tarstream"
7007 if test "$no_cache" != 1; then
7008 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7009 fi
7010
7011 if test "$wxUSE_TARSTREAM" = yes; then
7012 { echo "$as_me:$LINENO: result: yes" >&5
7013 echo "${ECHO_T}yes" >&6; }
7014 else
7015 { echo "$as_me:$LINENO: result: no" >&5
7016 echo "${ECHO_T}no" >&6; }
7017 fi
7018
7019
7020 enablestring=
7021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7022 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7023 no_cache=0
7024 # Check whether --enable-textbuf was given.
7025 if test "${enable_textbuf+set}" = set; then
7026 enableval=$enable_textbuf;
7027 if test "$enableval" = yes; then
7028 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7029 else
7030 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7031 fi
7032
7033 else
7034
7035 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
7036 if test "x$LINE" != x ; then
7037 eval "DEFAULT_$LINE"
7038 else
7039 no_cache=1
7040 fi
7041
7042 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7043
7044 fi
7045
7046
7047 eval "$ac_cv_use_textbuf"
7048 if test "$no_cache" != 1; then
7049 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7050 fi
7051
7052 if test "$wxUSE_TEXTBUFFER" = yes; then
7053 { echo "$as_me:$LINENO: result: yes" >&5
7054 echo "${ECHO_T}yes" >&6; }
7055 else
7056 { echo "$as_me:$LINENO: result: no" >&5
7057 echo "${ECHO_T}no" >&6; }
7058 fi
7059
7060
7061 enablestring=
7062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7063 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7064 no_cache=0
7065 # Check whether --enable-textfile was given.
7066 if test "${enable_textfile+set}" = set; then
7067 enableval=$enable_textfile;
7068 if test "$enableval" = yes; then
7069 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7070 else
7071 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7072 fi
7073
7074 else
7075
7076 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
7077 if test "x$LINE" != x ; then
7078 eval "DEFAULT_$LINE"
7079 else
7080 no_cache=1
7081 fi
7082
7083 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7084
7085 fi
7086
7087
7088 eval "$ac_cv_use_textfile"
7089 if test "$no_cache" != 1; then
7090 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7091 fi
7092
7093 if test "$wxUSE_TEXTFILE" = yes; then
7094 { echo "$as_me:$LINENO: result: yes" >&5
7095 echo "${ECHO_T}yes" >&6; }
7096 else
7097 { echo "$as_me:$LINENO: result: no" >&5
7098 echo "${ECHO_T}no" >&6; }
7099 fi
7100
7101
7102 enablestring=
7103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7104 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7105 no_cache=0
7106 # Check whether --enable-timer was given.
7107 if test "${enable_timer+set}" = set; then
7108 enableval=$enable_timer;
7109 if test "$enableval" = yes; then
7110 ac_cv_use_timer='wxUSE_TIMER=yes'
7111 else
7112 ac_cv_use_timer='wxUSE_TIMER=no'
7113 fi
7114
7115 else
7116
7117 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
7118 if test "x$LINE" != x ; then
7119 eval "DEFAULT_$LINE"
7120 else
7121 no_cache=1
7122 fi
7123
7124 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7125
7126 fi
7127
7128
7129 eval "$ac_cv_use_timer"
7130 if test "$no_cache" != 1; then
7131 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7132 fi
7133
7134 if test "$wxUSE_TIMER" = yes; then
7135 { echo "$as_me:$LINENO: result: yes" >&5
7136 echo "${ECHO_T}yes" >&6; }
7137 else
7138 { echo "$as_me:$LINENO: result: no" >&5
7139 echo "${ECHO_T}no" >&6; }
7140 fi
7141
7142
7143 enablestring=
7144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7145 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7146 no_cache=0
7147 # Check whether --enable-unicode was given.
7148 if test "${enable_unicode+set}" = set; then
7149 enableval=$enable_unicode;
7150 if test "$enableval" = yes; then
7151 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7152 else
7153 ac_cv_use_unicode='wxUSE_UNICODE=no'
7154 fi
7155
7156 else
7157
7158 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
7159 if test "x$LINE" != x ; then
7160 eval "DEFAULT_$LINE"
7161 else
7162 no_cache=1
7163 fi
7164
7165 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7166
7167 fi
7168
7169
7170 eval "$ac_cv_use_unicode"
7171 if test "$no_cache" != 1; then
7172 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7173 fi
7174
7175 if test "$wxUSE_UNICODE" = yes; then
7176 { echo "$as_me:$LINENO: result: yes" >&5
7177 echo "${ECHO_T}yes" >&6; }
7178 else
7179 { echo "$as_me:$LINENO: result: no" >&5
7180 echo "${ECHO_T}no" >&6; }
7181 fi
7182
7183
7184 enablestring=
7185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7186 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7187 no_cache=0
7188 # Check whether --enable-sound was given.
7189 if test "${enable_sound+set}" = set; then
7190 enableval=$enable_sound;
7191 if test "$enableval" = yes; then
7192 ac_cv_use_sound='wxUSE_SOUND=yes'
7193 else
7194 ac_cv_use_sound='wxUSE_SOUND=no'
7195 fi
7196
7197 else
7198
7199 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
7200 if test "x$LINE" != x ; then
7201 eval "DEFAULT_$LINE"
7202 else
7203 no_cache=1
7204 fi
7205
7206 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7207
7208 fi
7209
7210
7211 eval "$ac_cv_use_sound"
7212 if test "$no_cache" != 1; then
7213 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7214 fi
7215
7216 if test "$wxUSE_SOUND" = yes; then
7217 { echo "$as_me:$LINENO: result: yes" >&5
7218 echo "${ECHO_T}yes" >&6; }
7219 else
7220 { echo "$as_me:$LINENO: result: no" >&5
7221 echo "${ECHO_T}no" >&6; }
7222 fi
7223
7224
7225 enablestring=
7226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7227 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7228 no_cache=0
7229 # Check whether --enable-mediactrl was given.
7230 if test "${enable_mediactrl+set}" = set; then
7231 enableval=$enable_mediactrl;
7232 if test "$enableval" = yes; then
7233 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7234 else
7235 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7236 fi
7237
7238 else
7239
7240 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
7241 if test "x$LINE" != x ; then
7242 eval "DEFAULT_$LINE"
7243 else
7244 no_cache=1
7245 fi
7246
7247 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7248
7249 fi
7250
7251
7252 eval "$ac_cv_use_mediactrl"
7253 if test "$no_cache" != 1; then
7254 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7255 fi
7256
7257 if test "$wxUSE_MEDIACTRL" = yes; then
7258 { echo "$as_me:$LINENO: result: yes" >&5
7259 echo "${ECHO_T}yes" >&6; }
7260 else
7261 { echo "$as_me:$LINENO: result: no" >&5
7262 echo "${ECHO_T}no" >&6; }
7263 fi
7264
7265
7266 enablestring=
7267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7268 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7269 no_cache=0
7270 # Check whether --enable-gstreamer8 was given.
7271 if test "${enable_gstreamer8+set}" = set; then
7272 enableval=$enable_gstreamer8;
7273 if test "$enableval" = yes; then
7274 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7275 else
7276 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7277 fi
7278
7279 else
7280
7281 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
7282 if test "x$LINE" != x ; then
7283 eval "DEFAULT_$LINE"
7284 else
7285 no_cache=1
7286 fi
7287
7288 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7289
7290 fi
7291
7292
7293 eval "$ac_cv_use_gstreamer8"
7294 if test "$no_cache" != 1; then
7295 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7296 fi
7297
7298 if test "$wxUSE_GSTREAMER8" = yes; then
7299 { echo "$as_me:$LINENO: result: yes" >&5
7300 echo "${ECHO_T}yes" >&6; }
7301 else
7302 { echo "$as_me:$LINENO: result: no" >&5
7303 echo "${ECHO_T}no" >&6; }
7304 fi
7305
7306
7307 enablestring=
7308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7309 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7310 no_cache=0
7311 # Check whether --enable-printfposparam was given.
7312 if test "${enable_printfposparam+set}" = set; then
7313 enableval=$enable_printfposparam;
7314 if test "$enableval" = yes; then
7315 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7316 else
7317 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7318 fi
7319
7320 else
7321
7322 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
7323 if test "x$LINE" != x ; then
7324 eval "DEFAULT_$LINE"
7325 else
7326 no_cache=1
7327 fi
7328
7329 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7330
7331 fi
7332
7333
7334 eval "$ac_cv_use_printfposparam"
7335 if test "$no_cache" != 1; then
7336 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7337 fi
7338
7339 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7340 { echo "$as_me:$LINENO: result: yes" >&5
7341 echo "${ECHO_T}yes" >&6; }
7342 else
7343 { echo "$as_me:$LINENO: result: no" >&5
7344 echo "${ECHO_T}no" >&6; }
7345 fi
7346
7347
7348 enablestring=
7349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7350 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7351 no_cache=0
7352 # Check whether --enable-zipstream was given.
7353 if test "${enable_zipstream+set}" = set; then
7354 enableval=$enable_zipstream;
7355 if test "$enableval" = yes; then
7356 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7357 else
7358 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7359 fi
7360
7361 else
7362
7363 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
7364 if test "x$LINE" != x ; then
7365 eval "DEFAULT_$LINE"
7366 else
7367 no_cache=1
7368 fi
7369
7370 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7371
7372 fi
7373
7374
7375 eval "$ac_cv_use_zipstream"
7376 if test "$no_cache" != 1; then
7377 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7378 fi
7379
7380 if test "$wxUSE_ZIPSTREAM" = yes; then
7381 { echo "$as_me:$LINENO: result: yes" >&5
7382 echo "${ECHO_T}yes" >&6; }
7383 else
7384 { echo "$as_me:$LINENO: result: no" >&5
7385 echo "${ECHO_T}no" >&6; }
7386 fi
7387
7388
7389
7390 enablestring=
7391 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7392 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7393 no_cache=0
7394 # Check whether --enable-url was given.
7395 if test "${enable_url+set}" = set; then
7396 enableval=$enable_url;
7397 if test "$enableval" = yes; then
7398 ac_cv_use_url='wxUSE_URL=yes'
7399 else
7400 ac_cv_use_url='wxUSE_URL=no'
7401 fi
7402
7403 else
7404
7405 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
7406 if test "x$LINE" != x ; then
7407 eval "DEFAULT_$LINE"
7408 else
7409 no_cache=1
7410 fi
7411
7412 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7413
7414 fi
7415
7416
7417 eval "$ac_cv_use_url"
7418 if test "$no_cache" != 1; then
7419 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7420 fi
7421
7422 if test "$wxUSE_URL" = yes; then
7423 { echo "$as_me:$LINENO: result: yes" >&5
7424 echo "${ECHO_T}yes" >&6; }
7425 else
7426 { echo "$as_me:$LINENO: result: no" >&5
7427 echo "${ECHO_T}no" >&6; }
7428 fi
7429
7430
7431 enablestring=
7432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7433 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7434 no_cache=0
7435 # Check whether --enable-variant was given.
7436 if test "${enable_variant+set}" = set; then
7437 enableval=$enable_variant;
7438 if test "$enableval" = yes; then
7439 ac_cv_use_variant='wxUSE_VARIANT=yes'
7440 else
7441 ac_cv_use_variant='wxUSE_VARIANT=no'
7442 fi
7443
7444 else
7445
7446 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
7447 if test "x$LINE" != x ; then
7448 eval "DEFAULT_$LINE"
7449 else
7450 no_cache=1
7451 fi
7452
7453 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7454
7455 fi
7456
7457
7458 eval "$ac_cv_use_variant"
7459 if test "$no_cache" != 1; then
7460 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7461 fi
7462
7463 if test "$wxUSE_VARIANT" = yes; then
7464 { echo "$as_me:$LINENO: result: yes" >&5
7465 echo "${ECHO_T}yes" >&6; }
7466 else
7467 { echo "$as_me:$LINENO: result: no" >&5
7468 echo "${ECHO_T}no" >&6; }
7469 fi
7470
7471
7472 enablestring=
7473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7474 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7475 no_cache=0
7476 # Check whether --enable-protocol was given.
7477 if test "${enable_protocol+set}" = set; then
7478 enableval=$enable_protocol;
7479 if test "$enableval" = yes; then
7480 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7481 else
7482 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7483 fi
7484
7485 else
7486
7487 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
7488 if test "x$LINE" != x ; then
7489 eval "DEFAULT_$LINE"
7490 else
7491 no_cache=1
7492 fi
7493
7494 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7495
7496 fi
7497
7498
7499 eval "$ac_cv_use_protocol"
7500 if test "$no_cache" != 1; then
7501 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7502 fi
7503
7504 if test "$wxUSE_PROTOCOL" = yes; then
7505 { echo "$as_me:$LINENO: result: yes" >&5
7506 echo "${ECHO_T}yes" >&6; }
7507 else
7508 { echo "$as_me:$LINENO: result: no" >&5
7509 echo "${ECHO_T}no" >&6; }
7510 fi
7511
7512
7513 enablestring=
7514 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7515 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7516 no_cache=0
7517 # Check whether --enable-protocol_http was given.
7518 if test "${enable_protocol_http+set}" = set; then
7519 enableval=$enable_protocol_http;
7520 if test "$enableval" = yes; then
7521 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7522 else
7523 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7524 fi
7525
7526 else
7527
7528 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
7529 if test "x$LINE" != x ; then
7530 eval "DEFAULT_$LINE"
7531 else
7532 no_cache=1
7533 fi
7534
7535 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7536
7537 fi
7538
7539
7540 eval "$ac_cv_use_protocol_http"
7541 if test "$no_cache" != 1; then
7542 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7543 fi
7544
7545 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7546 { echo "$as_me:$LINENO: result: yes" >&5
7547 echo "${ECHO_T}yes" >&6; }
7548 else
7549 { echo "$as_me:$LINENO: result: no" >&5
7550 echo "${ECHO_T}no" >&6; }
7551 fi
7552
7553
7554 enablestring=
7555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7556 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7557 no_cache=0
7558 # Check whether --enable-protocol_ftp was given.
7559 if test "${enable_protocol_ftp+set}" = set; then
7560 enableval=$enable_protocol_ftp;
7561 if test "$enableval" = yes; then
7562 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7563 else
7564 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7565 fi
7566
7567 else
7568
7569 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
7570 if test "x$LINE" != x ; then
7571 eval "DEFAULT_$LINE"
7572 else
7573 no_cache=1
7574 fi
7575
7576 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7577
7578 fi
7579
7580
7581 eval "$ac_cv_use_protocol_ftp"
7582 if test "$no_cache" != 1; then
7583 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7584 fi
7585
7586 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7587 { echo "$as_me:$LINENO: result: yes" >&5
7588 echo "${ECHO_T}yes" >&6; }
7589 else
7590 { echo "$as_me:$LINENO: result: no" >&5
7591 echo "${ECHO_T}no" >&6; }
7592 fi
7593
7594
7595 enablestring=
7596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7597 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7598 no_cache=0
7599 # Check whether --enable-protocol_file was given.
7600 if test "${enable_protocol_file+set}" = set; then
7601 enableval=$enable_protocol_file;
7602 if test "$enableval" = yes; then
7603 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7604 else
7605 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7606 fi
7607
7608 else
7609
7610 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
7611 if test "x$LINE" != x ; then
7612 eval "DEFAULT_$LINE"
7613 else
7614 no_cache=1
7615 fi
7616
7617 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7618
7619 fi
7620
7621
7622 eval "$ac_cv_use_protocol_file"
7623 if test "$no_cache" != 1; then
7624 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7625 fi
7626
7627 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7628 { echo "$as_me:$LINENO: result: yes" >&5
7629 echo "${ECHO_T}yes" >&6; }
7630 else
7631 { echo "$as_me:$LINENO: result: no" >&5
7632 echo "${ECHO_T}no" >&6; }
7633 fi
7634
7635
7636
7637
7638
7639 enablestring=
7640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7641 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7642 no_cache=0
7643 # Check whether --enable-threads was given.
7644 if test "${enable_threads+set}" = set; then
7645 enableval=$enable_threads;
7646 if test "$enableval" = yes; then
7647 ac_cv_use_threads='wxUSE_THREADS=yes'
7648 else
7649 ac_cv_use_threads='wxUSE_THREADS=no'
7650 fi
7651
7652 else
7653
7654 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
7655 if test "x$LINE" != x ; then
7656 eval "DEFAULT_$LINE"
7657 else
7658 no_cache=1
7659 fi
7660
7661 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7662
7663 fi
7664
7665
7666 eval "$ac_cv_use_threads"
7667 if test "$no_cache" != 1; then
7668 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7669 fi
7670
7671 if test "$wxUSE_THREADS" = yes; then
7672 { echo "$as_me:$LINENO: result: yes" >&5
7673 echo "${ECHO_T}yes" >&6; }
7674 else
7675 { echo "$as_me:$LINENO: result: no" >&5
7676 echo "${ECHO_T}no" >&6; }
7677 fi
7678
7679
7680 if test "$wxUSE_GUI" = "yes"; then
7681
7682
7683
7684 enablestring=
7685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7686 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7687 no_cache=0
7688 # Check whether --enable-docview was given.
7689 if test "${enable_docview+set}" = set; then
7690 enableval=$enable_docview;
7691 if test "$enableval" = yes; then
7692 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7693 else
7694 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7695 fi
7696
7697 else
7698
7699 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7700 if test "x$LINE" != x ; then
7701 eval "DEFAULT_$LINE"
7702 else
7703 no_cache=1
7704 fi
7705
7706 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7707
7708 fi
7709
7710
7711 eval "$ac_cv_use_docview"
7712 if test "$no_cache" != 1; then
7713 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7714 fi
7715
7716 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7717 { echo "$as_me:$LINENO: result: yes" >&5
7718 echo "${ECHO_T}yes" >&6; }
7719 else
7720 { echo "$as_me:$LINENO: result: no" >&5
7721 echo "${ECHO_T}no" >&6; }
7722 fi
7723
7724
7725 enablestring=
7726 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7727 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7728 no_cache=0
7729 # Check whether --enable-help was given.
7730 if test "${enable_help+set}" = set; then
7731 enableval=$enable_help;
7732 if test "$enableval" = yes; then
7733 ac_cv_use_help='wxUSE_HELP=yes'
7734 else
7735 ac_cv_use_help='wxUSE_HELP=no'
7736 fi
7737
7738 else
7739
7740 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7741 if test "x$LINE" != x ; then
7742 eval "DEFAULT_$LINE"
7743 else
7744 no_cache=1
7745 fi
7746
7747 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7748
7749 fi
7750
7751
7752 eval "$ac_cv_use_help"
7753 if test "$no_cache" != 1; then
7754 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7755 fi
7756
7757 if test "$wxUSE_HELP" = yes; then
7758 { echo "$as_me:$LINENO: result: yes" >&5
7759 echo "${ECHO_T}yes" >&6; }
7760 else
7761 { echo "$as_me:$LINENO: result: no" >&5
7762 echo "${ECHO_T}no" >&6; }
7763 fi
7764
7765
7766 enablestring=
7767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7768 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7769 no_cache=0
7770 # Check whether --enable-mshtmlhelp was given.
7771 if test "${enable_mshtmlhelp+set}" = set; then
7772 enableval=$enable_mshtmlhelp;
7773 if test "$enableval" = yes; then
7774 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7775 else
7776 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7777 fi
7778
7779 else
7780
7781 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7782 if test "x$LINE" != x ; then
7783 eval "DEFAULT_$LINE"
7784 else
7785 no_cache=1
7786 fi
7787
7788 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7789
7790 fi
7791
7792
7793 eval "$ac_cv_use_mshtmlhelp"
7794 if test "$no_cache" != 1; then
7795 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7796 fi
7797
7798 if test "$wxUSE_MS_HTML_HELP" = yes; then
7799 { echo "$as_me:$LINENO: result: yes" >&5
7800 echo "${ECHO_T}yes" >&6; }
7801 else
7802 { echo "$as_me:$LINENO: result: no" >&5
7803 echo "${ECHO_T}no" >&6; }
7804 fi
7805
7806
7807 enablestring=
7808 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7809 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7810 no_cache=0
7811 # Check whether --enable-html was given.
7812 if test "${enable_html+set}" = set; then
7813 enableval=$enable_html;
7814 if test "$enableval" = yes; then
7815 ac_cv_use_html='wxUSE_HTML=yes'
7816 else
7817 ac_cv_use_html='wxUSE_HTML=no'
7818 fi
7819
7820 else
7821
7822 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7823 if test "x$LINE" != x ; then
7824 eval "DEFAULT_$LINE"
7825 else
7826 no_cache=1
7827 fi
7828
7829 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7830
7831 fi
7832
7833
7834 eval "$ac_cv_use_html"
7835 if test "$no_cache" != 1; then
7836 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7837 fi
7838
7839 if test "$wxUSE_HTML" = yes; then
7840 { echo "$as_me:$LINENO: result: yes" >&5
7841 echo "${ECHO_T}yes" >&6; }
7842 else
7843 { echo "$as_me:$LINENO: result: no" >&5
7844 echo "${ECHO_T}no" >&6; }
7845 fi
7846
7847
7848 enablestring=
7849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7850 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
7851 no_cache=0
7852 # Check whether --enable-htmlhelp was given.
7853 if test "${enable_htmlhelp+set}" = set; then
7854 enableval=$enable_htmlhelp;
7855 if test "$enableval" = yes; then
7856 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7857 else
7858 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7859 fi
7860
7861 else
7862
7863 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7864 if test "x$LINE" != x ; then
7865 eval "DEFAULT_$LINE"
7866 else
7867 no_cache=1
7868 fi
7869
7870 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7871
7872 fi
7873
7874
7875 eval "$ac_cv_use_htmlhelp"
7876 if test "$no_cache" != 1; then
7877 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7878 fi
7879
7880 if test "$wxUSE_WXHTML_HELP" = yes; then
7881 { echo "$as_me:$LINENO: result: yes" >&5
7882 echo "${ECHO_T}yes" >&6; }
7883 else
7884 { echo "$as_me:$LINENO: result: no" >&5
7885 echo "${ECHO_T}no" >&6; }
7886 fi
7887
7888
7889 enablestring=
7890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7891 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
7892 no_cache=0
7893 # Check whether --enable-xrc was given.
7894 if test "${enable_xrc+set}" = set; then
7895 enableval=$enable_xrc;
7896 if test "$enableval" = yes; then
7897 ac_cv_use_xrc='wxUSE_XRC=yes'
7898 else
7899 ac_cv_use_xrc='wxUSE_XRC=no'
7900 fi
7901
7902 else
7903
7904 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7905 if test "x$LINE" != x ; then
7906 eval "DEFAULT_$LINE"
7907 else
7908 no_cache=1
7909 fi
7910
7911 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7912
7913 fi
7914
7915
7916 eval "$ac_cv_use_xrc"
7917 if test "$no_cache" != 1; then
7918 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7919 fi
7920
7921 if test "$wxUSE_XRC" = yes; then
7922 { echo "$as_me:$LINENO: result: yes" >&5
7923 echo "${ECHO_T}yes" >&6; }
7924 else
7925 { echo "$as_me:$LINENO: result: no" >&5
7926 echo "${ECHO_T}no" >&6; }
7927 fi
7928
7929
7930 enablestring=
7931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7932 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
7933 no_cache=0
7934 # Check whether --enable-aui was given.
7935 if test "${enable_aui+set}" = set; then
7936 enableval=$enable_aui;
7937 if test "$enableval" = yes; then
7938 ac_cv_use_aui='wxUSE_AUI=yes'
7939 else
7940 ac_cv_use_aui='wxUSE_AUI=no'
7941 fi
7942
7943 else
7944
7945 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7946 if test "x$LINE" != x ; then
7947 eval "DEFAULT_$LINE"
7948 else
7949 no_cache=1
7950 fi
7951
7952 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7953
7954 fi
7955
7956
7957 eval "$ac_cv_use_aui"
7958 if test "$no_cache" != 1; then
7959 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7960 fi
7961
7962 if test "$wxUSE_AUI" = yes; then
7963 { echo "$as_me:$LINENO: result: yes" >&5
7964 echo "${ECHO_T}yes" >&6; }
7965 else
7966 { echo "$as_me:$LINENO: result: no" >&5
7967 echo "${ECHO_T}no" >&6; }
7968 fi
7969
7970
7971 enablestring=
7972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7973 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
7974 no_cache=0
7975 # Check whether --enable-constraints was given.
7976 if test "${enable_constraints+set}" = set; then
7977 enableval=$enable_constraints;
7978 if test "$enableval" = yes; then
7979 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7980 else
7981 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7982 fi
7983
7984 else
7985
7986 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7987 if test "x$LINE" != x ; then
7988 eval "DEFAULT_$LINE"
7989 else
7990 no_cache=1
7991 fi
7992
7993 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7994
7995 fi
7996
7997
7998 eval "$ac_cv_use_constraints"
7999 if test "$no_cache" != 1; then
8000 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8001 fi
8002
8003 if test "$wxUSE_CONSTRAINTS" = yes; then
8004 { echo "$as_me:$LINENO: result: yes" >&5
8005 echo "${ECHO_T}yes" >&6; }
8006 else
8007 { echo "$as_me:$LINENO: result: no" >&5
8008 echo "${ECHO_T}no" >&6; }
8009 fi
8010
8011
8012 enablestring=
8013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8014 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8015 no_cache=0
8016 # Check whether --enable-printarch was given.
8017 if test "${enable_printarch+set}" = set; then
8018 enableval=$enable_printarch;
8019 if test "$enableval" = yes; then
8020 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8021 else
8022 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8023 fi
8024
8025 else
8026
8027 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
8028 if test "x$LINE" != x ; then
8029 eval "DEFAULT_$LINE"
8030 else
8031 no_cache=1
8032 fi
8033
8034 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8035
8036 fi
8037
8038
8039 eval "$ac_cv_use_printarch"
8040 if test "$no_cache" != 1; then
8041 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8042 fi
8043
8044 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8045 { echo "$as_me:$LINENO: result: yes" >&5
8046 echo "${ECHO_T}yes" >&6; }
8047 else
8048 { echo "$as_me:$LINENO: result: no" >&5
8049 echo "${ECHO_T}no" >&6; }
8050 fi
8051
8052
8053 enablestring=
8054 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8055 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8056 no_cache=0
8057 # Check whether --enable-mdi was given.
8058 if test "${enable_mdi+set}" = set; then
8059 enableval=$enable_mdi;
8060 if test "$enableval" = yes; then
8061 ac_cv_use_mdi='wxUSE_MDI=yes'
8062 else
8063 ac_cv_use_mdi='wxUSE_MDI=no'
8064 fi
8065
8066 else
8067
8068 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
8069 if test "x$LINE" != x ; then
8070 eval "DEFAULT_$LINE"
8071 else
8072 no_cache=1
8073 fi
8074
8075 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8076
8077 fi
8078
8079
8080 eval "$ac_cv_use_mdi"
8081 if test "$no_cache" != 1; then
8082 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8083 fi
8084
8085 if test "$wxUSE_MDI" = yes; then
8086 { echo "$as_me:$LINENO: result: yes" >&5
8087 echo "${ECHO_T}yes" >&6; }
8088 else
8089 { echo "$as_me:$LINENO: result: no" >&5
8090 echo "${ECHO_T}no" >&6; }
8091 fi
8092
8093
8094 enablestring=
8095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8096 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8097 no_cache=0
8098 # Check whether --enable-mdidoc was given.
8099 if test "${enable_mdidoc+set}" = set; then
8100 enableval=$enable_mdidoc;
8101 if test "$enableval" = yes; then
8102 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8103 else
8104 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8105 fi
8106
8107 else
8108
8109 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
8110 if test "x$LINE" != x ; then
8111 eval "DEFAULT_$LINE"
8112 else
8113 no_cache=1
8114 fi
8115
8116 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8117
8118 fi
8119
8120
8121 eval "$ac_cv_use_mdidoc"
8122 if test "$no_cache" != 1; then
8123 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8124 fi
8125
8126 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8127 { echo "$as_me:$LINENO: result: yes" >&5
8128 echo "${ECHO_T}yes" >&6; }
8129 else
8130 { echo "$as_me:$LINENO: result: no" >&5
8131 echo "${ECHO_T}no" >&6; }
8132 fi
8133
8134
8135 enablestring=
8136 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8137 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8138 no_cache=0
8139 # Check whether --enable-loggui was given.
8140 if test "${enable_loggui+set}" = set; then
8141 enableval=$enable_loggui;
8142 if test "$enableval" = yes; then
8143 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8144 else
8145 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8146 fi
8147
8148 else
8149
8150 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
8151 if test "x$LINE" != x ; then
8152 eval "DEFAULT_$LINE"
8153 else
8154 no_cache=1
8155 fi
8156
8157 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8158
8159 fi
8160
8161
8162 eval "$ac_cv_use_loggui"
8163 if test "$no_cache" != 1; then
8164 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8165 fi
8166
8167 if test "$wxUSE_LOGGUI" = yes; then
8168 { echo "$as_me:$LINENO: result: yes" >&5
8169 echo "${ECHO_T}yes" >&6; }
8170 else
8171 { echo "$as_me:$LINENO: result: no" >&5
8172 echo "${ECHO_T}no" >&6; }
8173 fi
8174
8175
8176 enablestring=
8177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8178 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8179 no_cache=0
8180 # Check whether --enable-logwin was given.
8181 if test "${enable_logwin+set}" = set; then
8182 enableval=$enable_logwin;
8183 if test "$enableval" = yes; then
8184 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8185 else
8186 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8187 fi
8188
8189 else
8190
8191 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
8192 if test "x$LINE" != x ; then
8193 eval "DEFAULT_$LINE"
8194 else
8195 no_cache=1
8196 fi
8197
8198 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8199
8200 fi
8201
8202
8203 eval "$ac_cv_use_logwin"
8204 if test "$no_cache" != 1; then
8205 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8206 fi
8207
8208 if test "$wxUSE_LOGWINDOW" = yes; then
8209 { echo "$as_me:$LINENO: result: yes" >&5
8210 echo "${ECHO_T}yes" >&6; }
8211 else
8212 { echo "$as_me:$LINENO: result: no" >&5
8213 echo "${ECHO_T}no" >&6; }
8214 fi
8215
8216
8217 enablestring=
8218 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8219 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8220 no_cache=0
8221 # Check whether --enable-logdialog was given.
8222 if test "${enable_logdialog+set}" = set; then
8223 enableval=$enable_logdialog;
8224 if test "$enableval" = yes; then
8225 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8226 else
8227 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8228 fi
8229
8230 else
8231
8232 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
8233 if test "x$LINE" != x ; then
8234 eval "DEFAULT_$LINE"
8235 else
8236 no_cache=1
8237 fi
8238
8239 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8240
8241 fi
8242
8243
8244 eval "$ac_cv_use_logdialog"
8245 if test "$no_cache" != 1; then
8246 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8247 fi
8248
8249 if test "$wxUSE_LOGDIALOG" = yes; then
8250 { echo "$as_me:$LINENO: result: yes" >&5
8251 echo "${ECHO_T}yes" >&6; }
8252 else
8253 { echo "$as_me:$LINENO: result: no" >&5
8254 echo "${ECHO_T}no" >&6; }
8255 fi
8256
8257
8258 enablestring=
8259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8260 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8261 no_cache=0
8262 # Check whether --enable-webkit was given.
8263 if test "${enable_webkit+set}" = set; then
8264 enableval=$enable_webkit;
8265 if test "$enableval" = yes; then
8266 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8267 else
8268 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8269 fi
8270
8271 else
8272
8273 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
8274 if test "x$LINE" != x ; then
8275 eval "DEFAULT_$LINE"
8276 else
8277 no_cache=1
8278 fi
8279
8280 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8281
8282 fi
8283
8284
8285 eval "$ac_cv_use_webkit"
8286 if test "$no_cache" != 1; then
8287 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8288 fi
8289
8290 if test "$wxUSE_WEBKIT" = yes; then
8291 { echo "$as_me:$LINENO: result: yes" >&5
8292 echo "${ECHO_T}yes" >&6; }
8293 else
8294 { echo "$as_me:$LINENO: result: no" >&5
8295 echo "${ECHO_T}no" >&6; }
8296 fi
8297
8298
8299 enablestring=
8300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8301 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8302 no_cache=0
8303 # Check whether --enable-richtext was given.
8304 if test "${enable_richtext+set}" = set; then
8305 enableval=$enable_richtext;
8306 if test "$enableval" = yes; then
8307 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8308 else
8309 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8310 fi
8311
8312 else
8313
8314 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
8315 if test "x$LINE" != x ; then
8316 eval "DEFAULT_$LINE"
8317 else
8318 no_cache=1
8319 fi
8320
8321 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8322
8323 fi
8324
8325
8326 eval "$ac_cv_use_richtext"
8327 if test "$no_cache" != 1; then
8328 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8329 fi
8330
8331 if test "$wxUSE_RICHTEXT" = yes; then
8332 { echo "$as_me:$LINENO: result: yes" >&5
8333 echo "${ECHO_T}yes" >&6; }
8334 else
8335 { echo "$as_me:$LINENO: result: no" >&5
8336 echo "${ECHO_T}no" >&6; }
8337 fi
8338
8339
8340 enablestring=
8341 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8342 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8343 no_cache=0
8344 # Check whether --enable-graphics_ctx was given.
8345 if test "${enable_graphics_ctx+set}" = set; then
8346 enableval=$enable_graphics_ctx;
8347 if test "$enableval" = yes; then
8348 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8349 else
8350 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8351 fi
8352
8353 else
8354
8355 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
8356 if test "x$LINE" != x ; then
8357 eval "DEFAULT_$LINE"
8358 else
8359 no_cache=1
8360 fi
8361
8362 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8363
8364 fi
8365
8366
8367 eval "$ac_cv_use_graphics_ctx"
8368 if test "$no_cache" != 1; then
8369 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8370 fi
8371
8372 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8373 { echo "$as_me:$LINENO: result: yes" >&5
8374 echo "${ECHO_T}yes" >&6; }
8375 else
8376 { echo "$as_me:$LINENO: result: no" >&5
8377 echo "${ECHO_T}no" >&6; }
8378 fi
8379
8380
8381
8382 enablestring=
8383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8384 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8385 no_cache=0
8386 # Check whether --enable-postscript was given.
8387 if test "${enable_postscript+set}" = set; then
8388 enableval=$enable_postscript;
8389 if test "$enableval" = yes; then
8390 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8391 else
8392 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8393 fi
8394
8395 else
8396
8397 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
8398 if test "x$LINE" != x ; then
8399 eval "DEFAULT_$LINE"
8400 else
8401 no_cache=1
8402 fi
8403
8404 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8405
8406 fi
8407
8408
8409 eval "$ac_cv_use_postscript"
8410 if test "$no_cache" != 1; then
8411 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8412 fi
8413
8414 if test "$wxUSE_POSTSCRIPT" = yes; then
8415 { echo "$as_me:$LINENO: result: yes" >&5
8416 echo "${ECHO_T}yes" >&6; }
8417 else
8418 { echo "$as_me:$LINENO: result: no" >&5
8419 echo "${ECHO_T}no" >&6; }
8420 fi
8421
8422
8423
8424
8425
8426 enablestring=
8427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
8428 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6; }
8429 no_cache=0
8430 # Check whether --enable-prologio was given.
8431 if test "${enable_prologio+set}" = set; then
8432 enableval=$enable_prologio;
8433 if test "$enableval" = yes; then
8434 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
8435 else
8436 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
8437 fi
8438
8439 else
8440
8441 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
8442 if test "x$LINE" != x ; then
8443 eval "DEFAULT_$LINE"
8444 else
8445 no_cache=1
8446 fi
8447
8448 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
8449
8450 fi
8451
8452
8453 eval "$ac_cv_use_prologio"
8454 if test "$no_cache" != 1; then
8455 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
8456 fi
8457
8458 if test "$wxUSE_PROLOGIO" = yes; then
8459 { echo "$as_me:$LINENO: result: yes" >&5
8460 echo "${ECHO_T}yes" >&6; }
8461 else
8462 { echo "$as_me:$LINENO: result: no" >&5
8463 echo "${ECHO_T}no" >&6; }
8464 fi
8465
8466
8467 enablestring=
8468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
8469 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6; }
8470 no_cache=0
8471 # Check whether --enable-resources was given.
8472 if test "${enable_resources+set}" = set; then
8473 enableval=$enable_resources;
8474 if test "$enableval" = yes; then
8475 ac_cv_use_resources='wxUSE_RESOURCES=yes'
8476 else
8477 ac_cv_use_resources='wxUSE_RESOURCES=no'
8478 fi
8479
8480 else
8481
8482 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
8483 if test "x$LINE" != x ; then
8484 eval "DEFAULT_$LINE"
8485 else
8486 no_cache=1
8487 fi
8488
8489 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
8490
8491 fi
8492
8493
8494 eval "$ac_cv_use_resources"
8495 if test "$no_cache" != 1; then
8496 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
8497 fi
8498
8499 if test "$wxUSE_RESOURCES" = yes; then
8500 { echo "$as_me:$LINENO: result: yes" >&5
8501 echo "${ECHO_T}yes" >&6; }
8502 else
8503 { echo "$as_me:$LINENO: result: no" >&5
8504 echo "${ECHO_T}no" >&6; }
8505 fi
8506
8507
8508
8509
8510 enablestring=
8511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8512 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8513 no_cache=0
8514 # Check whether --enable-clipboard was given.
8515 if test "${enable_clipboard+set}" = set; then
8516 enableval=$enable_clipboard;
8517 if test "$enableval" = yes; then
8518 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8519 else
8520 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8521 fi
8522
8523 else
8524
8525 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
8526 if test "x$LINE" != x ; then
8527 eval "DEFAULT_$LINE"
8528 else
8529 no_cache=1
8530 fi
8531
8532 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8533
8534 fi
8535
8536
8537 eval "$ac_cv_use_clipboard"
8538 if test "$no_cache" != 1; then
8539 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8540 fi
8541
8542 if test "$wxUSE_CLIPBOARD" = yes; then
8543 { echo "$as_me:$LINENO: result: yes" >&5
8544 echo "${ECHO_T}yes" >&6; }
8545 else
8546 { echo "$as_me:$LINENO: result: no" >&5
8547 echo "${ECHO_T}no" >&6; }
8548 fi
8549
8550
8551 enablestring=
8552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8553 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8554 no_cache=0
8555 # Check whether --enable-dnd was given.
8556 if test "${enable_dnd+set}" = set; then
8557 enableval=$enable_dnd;
8558 if test "$enableval" = yes; then
8559 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8560 else
8561 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8562 fi
8563
8564 else
8565
8566 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
8567 if test "x$LINE" != x ; then
8568 eval "DEFAULT_$LINE"
8569 else
8570 no_cache=1
8571 fi
8572
8573 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8574
8575 fi
8576
8577
8578 eval "$ac_cv_use_dnd"
8579 if test "$no_cache" != 1; then
8580 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8581 fi
8582
8583 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8584 { echo "$as_me:$LINENO: result: yes" >&5
8585 echo "${ECHO_T}yes" >&6; }
8586 else
8587 { echo "$as_me:$LINENO: result: no" >&5
8588 echo "${ECHO_T}no" >&6; }
8589 fi
8590
8591
8592 enablestring=
8593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8594 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8595 no_cache=0
8596 # Check whether --enable-metafile was given.
8597 if test "${enable_metafile+set}" = set; then
8598 enableval=$enable_metafile;
8599 if test "$enableval" = yes; then
8600 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8601 else
8602 ac_cv_use_metafile='wxUSE_METAFILE=no'
8603 fi
8604
8605 else
8606
8607 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8608 if test "x$LINE" != x ; then
8609 eval "DEFAULT_$LINE"
8610 else
8611 no_cache=1
8612 fi
8613
8614 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8615
8616 fi
8617
8618
8619 eval "$ac_cv_use_metafile"
8620 if test "$no_cache" != 1; then
8621 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8622 fi
8623
8624 if test "$wxUSE_METAFILE" = yes; then
8625 { echo "$as_me:$LINENO: result: yes" >&5
8626 echo "${ECHO_T}yes" >&6; }
8627 else
8628 { echo "$as_me:$LINENO: result: no" >&5
8629 echo "${ECHO_T}no" >&6; }
8630 fi
8631
8632
8633
8634
8635
8636 enablestring=
8637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8638 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8639 no_cache=0
8640 # Check whether --enable-controls was given.
8641 if test "${enable_controls+set}" = set; then
8642 enableval=$enable_controls;
8643 if test "$enableval" = yes; then
8644 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8645 else
8646 ac_cv_use_controls='wxUSE_CONTROLS=no'
8647 fi
8648
8649 else
8650
8651 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
8652 if test "x$LINE" != x ; then
8653 eval "DEFAULT_$LINE"
8654 else
8655 no_cache=1
8656 fi
8657
8658 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8659
8660 fi
8661
8662
8663 eval "$ac_cv_use_controls"
8664 if test "$no_cache" != 1; then
8665 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8666 fi
8667
8668 if test "$wxUSE_CONTROLS" = yes; then
8669 { echo "$as_me:$LINENO: result: yes" >&5
8670 echo "${ECHO_T}yes" >&6; }
8671 else
8672 { echo "$as_me:$LINENO: result: no" >&5
8673 echo "${ECHO_T}no" >&6; }
8674 fi
8675
8676
8677 if test "$wxUSE_CONTROLS" = "yes"; then
8678 DEFAULT_wxUSE_ACCEL=yes
8679 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8680 DEFAULT_wxUSE_BMPBUTTON=yes
8681 DEFAULT_wxUSE_BUTTON=yes
8682 DEFAULT_wxUSE_CALCTRL=yes
8683 DEFAULT_wxUSE_CARET=yes
8684 DEFAULT_wxUSE_COMBOBOX=yes
8685 DEFAULT_wxUSE_CHECKBOX=yes
8686 DEFAULT_wxUSE_CHECKLISTBOX=yes
8687 DEFAULT_wxUSE_CHOICE=yes
8688 DEFAULT_wxUSE_CHOICEBOOK=yes
8689 DEFAULT_wxUSE_COLLPANE=yes
8690 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8691 DEFAULT_wxUSE_COMBOBOX=yes
8692 DEFAULT_wxUSE_DATEPICKCTRL=yes
8693 DEFAULT_wxUSE_DISPLAY=yes
8694 DEFAULT_wxUSE_DETECT_SM=yes
8695 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8696 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8697 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8698 DEFAULT_wxUSE_GAUGE=yes
8699 DEFAULT_wxUSE_GRID=yes
8700 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8701 DEFAULT_wxUSE_DATAVIEWCTRL=no
8702 DEFAULT_wxUSE_IMAGLIST=yes
8703 DEFAULT_wxUSE_LISTBOOK=yes
8704 DEFAULT_wxUSE_LISTBOX=yes
8705 DEFAULT_wxUSE_LISTCTRL=yes
8706 DEFAULT_wxUSE_NOTEBOOK=yes
8707 DEFAULT_wxUSE_RADIOBOX=yes
8708 DEFAULT_wxUSE_RADIOBTN=yes
8709 DEFAULT_wxUSE_SASH=yes
8710 DEFAULT_wxUSE_SCROLLBAR=yes
8711 DEFAULT_wxUSE_SEARCHCTRL=yes
8712 DEFAULT_wxUSE_SLIDER=yes
8713 DEFAULT_wxUSE_SPINBTN=yes
8714 DEFAULT_wxUSE_SPINCTRL=yes
8715 DEFAULT_wxUSE_SPLITTER=yes
8716 DEFAULT_wxUSE_STATBMP=yes
8717 DEFAULT_wxUSE_STATBOX=yes
8718 DEFAULT_wxUSE_STATLINE=yes
8719 DEFAULT_wxUSE_STATUSBAR=yes
8720 DEFAULT_wxUSE_TAB_DIALOG=yes
8721 DEFAULT_wxUSE_TOGGLEBTN=yes
8722 DEFAULT_wxUSE_TOOLBAR=yes
8723 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8724 DEFAULT_wxUSE_TOOLTIPS=yes
8725 DEFAULT_wxUSE_TREEBOOK=yes
8726 DEFAULT_wxUSE_TOOLBOOK=yes
8727 DEFAULT_wxUSE_TREECTRL=yes
8728 DEFAULT_wxUSE_POPUPWIN=yes
8729 DEFAULT_wxUSE_TIPWINDOW=yes
8730 elif test "$wxUSE_CONTROLS" = "no"; then
8731 DEFAULT_wxUSE_ACCEL=no
8732 DEFAULT_wxUSE_ANIMATIONCTRL=no
8733 DEFAULT_wxUSE_BMPBUTTON=no
8734 DEFAULT_wxUSE_BUTTON=no
8735 DEFAULT_wxUSE_CALCTRL=no
8736 DEFAULT_wxUSE_CARET=no
8737 DEFAULT_wxUSE_COLLPANE=no
8738 DEFAULT_wxUSE_COMBOBOX=no
8739 DEFAULT_wxUSE_CHECKBOX=no
8740 DEFAULT_wxUSE_CHECKLISTBOX=no
8741 DEFAULT_wxUSE_CHOICE=no
8742 DEFAULT_wxUSE_CHOICEBOOK=no
8743 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8744 DEFAULT_wxUSE_COMBOBOX=no
8745 DEFAULT_wxUSE_DATEPICKCTRL=no
8746 DEFAULT_wxUSE_DISPLAY=no
8747 DEFAULT_wxUSE_DETECT_SM=no
8748 DEFAULT_wxUSE_DIRPICKERCTRL=no
8749 DEFAULT_wxUSE_FILEPICKERCTRL=no
8750 DEFAULT_wxUSE_FONTPICKERCTRL=no
8751 DEFAULT_wxUSE_GAUGE=no
8752 DEFAULT_wxUSE_GRID=no
8753 DEFAULT_wxUSE_HYPERLINKCTRL=no
8754 DEFAULT_wxUSE_DATAVIEWCTRL=no
8755 DEFAULT_wxUSE_IMAGLIST=no
8756 DEFAULT_wxUSE_LISTBOOK=no
8757 DEFAULT_wxUSE_LISTBOX=no
8758 DEFAULT_wxUSE_LISTCTRL=no
8759 DEFAULT_wxUSE_NOTEBOOK=no
8760 DEFAULT_wxUSE_RADIOBOX=no
8761 DEFAULT_wxUSE_RADIOBTN=no
8762 DEFAULT_wxUSE_SASH=no
8763 DEFAULT_wxUSE_SCROLLBAR=no
8764 DEFAULT_wxUSE_SEARCHCTRL=no
8765 DEFAULT_wxUSE_SLIDER=no
8766 DEFAULT_wxUSE_SPINBTN=no
8767 DEFAULT_wxUSE_SPINCTRL=no
8768 DEFAULT_wxUSE_SPLITTER=no
8769 DEFAULT_wxUSE_STATBMP=no
8770 DEFAULT_wxUSE_STATBOX=no
8771 DEFAULT_wxUSE_STATLINE=no
8772 DEFAULT_wxUSE_STATUSBAR=no
8773 DEFAULT_wxUSE_TAB_DIALOG=no
8774 DEFAULT_wxUSE_TOGGLEBTN=no
8775 DEFAULT_wxUSE_TOOLBAR=no
8776 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8777 DEFAULT_wxUSE_TOOLTIPS=no
8778 DEFAULT_wxUSE_TREEBOOK=no
8779 DEFAULT_wxUSE_TOOLBOOK=no
8780 DEFAULT_wxUSE_TREECTRL=no
8781 DEFAULT_wxUSE_POPUPWIN=no
8782 DEFAULT_wxUSE_TIPWINDOW=no
8783 fi
8784
8785
8786 enablestring=
8787 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8788 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8789 no_cache=0
8790 # Check whether --enable-accel was given.
8791 if test "${enable_accel+set}" = set; then
8792 enableval=$enable_accel;
8793 if test "$enableval" = yes; then
8794 ac_cv_use_accel='wxUSE_ACCEL=yes'
8795 else
8796 ac_cv_use_accel='wxUSE_ACCEL=no'
8797 fi
8798
8799 else
8800
8801 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8802 if test "x$LINE" != x ; then
8803 eval "DEFAULT_$LINE"
8804 else
8805 no_cache=1
8806 fi
8807
8808 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8809
8810 fi
8811
8812
8813 eval "$ac_cv_use_accel"
8814 if test "$no_cache" != 1; then
8815 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8816 fi
8817
8818 if test "$wxUSE_ACCEL" = yes; then
8819 { echo "$as_me:$LINENO: result: yes" >&5
8820 echo "${ECHO_T}yes" >&6; }
8821 else
8822 { echo "$as_me:$LINENO: result: no" >&5
8823 echo "${ECHO_T}no" >&6; }
8824 fi
8825
8826
8827 enablestring=
8828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8829 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8830 no_cache=0
8831 # Check whether --enable-animatectrl was given.
8832 if test "${enable_animatectrl+set}" = set; then
8833 enableval=$enable_animatectrl;
8834 if test "$enableval" = yes; then
8835 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8836 else
8837 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8838 fi
8839
8840 else
8841
8842 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8843 if test "x$LINE" != x ; then
8844 eval "DEFAULT_$LINE"
8845 else
8846 no_cache=1
8847 fi
8848
8849 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8850
8851 fi
8852
8853
8854 eval "$ac_cv_use_animatectrl"
8855 if test "$no_cache" != 1; then
8856 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8857 fi
8858
8859 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8860 { echo "$as_me:$LINENO: result: yes" >&5
8861 echo "${ECHO_T}yes" >&6; }
8862 else
8863 { echo "$as_me:$LINENO: result: no" >&5
8864 echo "${ECHO_T}no" >&6; }
8865 fi
8866
8867
8868 enablestring=
8869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8870 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
8871 no_cache=0
8872 # Check whether --enable-button was given.
8873 if test "${enable_button+set}" = set; then
8874 enableval=$enable_button;
8875 if test "$enableval" = yes; then
8876 ac_cv_use_button='wxUSE_BUTTON=yes'
8877 else
8878 ac_cv_use_button='wxUSE_BUTTON=no'
8879 fi
8880
8881 else
8882
8883 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8884 if test "x$LINE" != x ; then
8885 eval "DEFAULT_$LINE"
8886 else
8887 no_cache=1
8888 fi
8889
8890 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8891
8892 fi
8893
8894
8895 eval "$ac_cv_use_button"
8896 if test "$no_cache" != 1; then
8897 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8898 fi
8899
8900 if test "$wxUSE_BUTTON" = yes; then
8901 { echo "$as_me:$LINENO: result: yes" >&5
8902 echo "${ECHO_T}yes" >&6; }
8903 else
8904 { echo "$as_me:$LINENO: result: no" >&5
8905 echo "${ECHO_T}no" >&6; }
8906 fi
8907
8908
8909 enablestring=
8910 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8911 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
8912 no_cache=0
8913 # Check whether --enable-bmpbutton was given.
8914 if test "${enable_bmpbutton+set}" = set; then
8915 enableval=$enable_bmpbutton;
8916 if test "$enableval" = yes; then
8917 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8918 else
8919 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8920 fi
8921
8922 else
8923
8924 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8925 if test "x$LINE" != x ; then
8926 eval "DEFAULT_$LINE"
8927 else
8928 no_cache=1
8929 fi
8930
8931 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8932
8933 fi
8934
8935
8936 eval "$ac_cv_use_bmpbutton"
8937 if test "$no_cache" != 1; then
8938 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8939 fi
8940
8941 if test "$wxUSE_BMPBUTTON" = yes; then
8942 { echo "$as_me:$LINENO: result: yes" >&5
8943 echo "${ECHO_T}yes" >&6; }
8944 else
8945 { echo "$as_me:$LINENO: result: no" >&5
8946 echo "${ECHO_T}no" >&6; }
8947 fi
8948
8949
8950 enablestring=
8951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8952 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
8953 no_cache=0
8954 # Check whether --enable-bmpcombobox was given.
8955 if test "${enable_bmpcombobox+set}" = set; then
8956 enableval=$enable_bmpcombobox;
8957 if test "$enableval" = yes; then
8958 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8959 else
8960 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8961 fi
8962
8963 else
8964
8965 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8966 if test "x$LINE" != x ; then
8967 eval "DEFAULT_$LINE"
8968 else
8969 no_cache=1
8970 fi
8971
8972 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8973
8974 fi
8975
8976
8977 eval "$ac_cv_use_bmpcombobox"
8978 if test "$no_cache" != 1; then
8979 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8980 fi
8981
8982 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8983 { echo "$as_me:$LINENO: result: yes" >&5
8984 echo "${ECHO_T}yes" >&6; }
8985 else
8986 { echo "$as_me:$LINENO: result: no" >&5
8987 echo "${ECHO_T}no" >&6; }
8988 fi
8989
8990
8991 enablestring=
8992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8993 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
8994 no_cache=0
8995 # Check whether --enable-calendar was given.
8996 if test "${enable_calendar+set}" = set; then
8997 enableval=$enable_calendar;
8998 if test "$enableval" = yes; then
8999 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
9000 else
9001 ac_cv_use_calendar='wxUSE_CALCTRL=no'
9002 fi
9003
9004 else
9005
9006 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
9007 if test "x$LINE" != x ; then
9008 eval "DEFAULT_$LINE"
9009 else
9010 no_cache=1
9011 fi
9012
9013 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
9014
9015 fi
9016
9017
9018 eval "$ac_cv_use_calendar"
9019 if test "$no_cache" != 1; then
9020 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
9021 fi
9022
9023 if test "$wxUSE_CALCTRL" = yes; then
9024 { echo "$as_me:$LINENO: result: yes" >&5
9025 echo "${ECHO_T}yes" >&6; }
9026 else
9027 { echo "$as_me:$LINENO: result: no" >&5
9028 echo "${ECHO_T}no" >&6; }
9029 fi
9030
9031
9032 enablestring=
9033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9034 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9035 no_cache=0
9036 # Check whether --enable-caret was given.
9037 if test "${enable_caret+set}" = set; then
9038 enableval=$enable_caret;
9039 if test "$enableval" = yes; then
9040 ac_cv_use_caret='wxUSE_CARET=yes'
9041 else
9042 ac_cv_use_caret='wxUSE_CARET=no'
9043 fi
9044
9045 else
9046
9047 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
9048 if test "x$LINE" != x ; then
9049 eval "DEFAULT_$LINE"
9050 else
9051 no_cache=1
9052 fi
9053
9054 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9055
9056 fi
9057
9058
9059 eval "$ac_cv_use_caret"
9060 if test "$no_cache" != 1; then
9061 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9062 fi
9063
9064 if test "$wxUSE_CARET" = yes; then
9065 { echo "$as_me:$LINENO: result: yes" >&5
9066 echo "${ECHO_T}yes" >&6; }
9067 else
9068 { echo "$as_me:$LINENO: result: no" >&5
9069 echo "${ECHO_T}no" >&6; }
9070 fi
9071
9072
9073 enablestring=
9074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9075 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9076 no_cache=0
9077 # Check whether --enable-checkbox was given.
9078 if test "${enable_checkbox+set}" = set; then
9079 enableval=$enable_checkbox;
9080 if test "$enableval" = yes; then
9081 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9082 else
9083 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9084 fi
9085
9086 else
9087
9088 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
9089 if test "x$LINE" != x ; then
9090 eval "DEFAULT_$LINE"
9091 else
9092 no_cache=1
9093 fi
9094
9095 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9096
9097 fi
9098
9099
9100 eval "$ac_cv_use_checkbox"
9101 if test "$no_cache" != 1; then
9102 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9103 fi
9104
9105 if test "$wxUSE_CHECKBOX" = yes; then
9106 { echo "$as_me:$LINENO: result: yes" >&5
9107 echo "${ECHO_T}yes" >&6; }
9108 else
9109 { echo "$as_me:$LINENO: result: no" >&5
9110 echo "${ECHO_T}no" >&6; }
9111 fi
9112
9113
9114 enablestring=
9115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9116 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9117 no_cache=0
9118 # Check whether --enable-checklst was given.
9119 if test "${enable_checklst+set}" = set; then
9120 enableval=$enable_checklst;
9121 if test "$enableval" = yes; then
9122 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9123 else
9124 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9125 fi
9126
9127 else
9128
9129 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
9130 if test "x$LINE" != x ; then
9131 eval "DEFAULT_$LINE"
9132 else
9133 no_cache=1
9134 fi
9135
9136 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9137
9138 fi
9139
9140
9141 eval "$ac_cv_use_checklst"
9142 if test "$no_cache" != 1; then
9143 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9144 fi
9145
9146 if test "$wxUSE_CHECKLST" = yes; then
9147 { echo "$as_me:$LINENO: result: yes" >&5
9148 echo "${ECHO_T}yes" >&6; }
9149 else
9150 { echo "$as_me:$LINENO: result: no" >&5
9151 echo "${ECHO_T}no" >&6; }
9152 fi
9153
9154
9155 enablestring=
9156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9157 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9158 no_cache=0
9159 # Check whether --enable-choice was given.
9160 if test "${enable_choice+set}" = set; then
9161 enableval=$enable_choice;
9162 if test "$enableval" = yes; then
9163 ac_cv_use_choice='wxUSE_CHOICE=yes'
9164 else
9165 ac_cv_use_choice='wxUSE_CHOICE=no'
9166 fi
9167
9168 else
9169
9170 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
9171 if test "x$LINE" != x ; then
9172 eval "DEFAULT_$LINE"
9173 else
9174 no_cache=1
9175 fi
9176
9177 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9178
9179 fi
9180
9181
9182 eval "$ac_cv_use_choice"
9183 if test "$no_cache" != 1; then
9184 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9185 fi
9186
9187 if test "$wxUSE_CHOICE" = yes; then
9188 { echo "$as_me:$LINENO: result: yes" >&5
9189 echo "${ECHO_T}yes" >&6; }
9190 else
9191 { echo "$as_me:$LINENO: result: no" >&5
9192 echo "${ECHO_T}no" >&6; }
9193 fi
9194
9195
9196 enablestring=
9197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9198 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9199 no_cache=0
9200 # Check whether --enable-choicebook was given.
9201 if test "${enable_choicebook+set}" = set; then
9202 enableval=$enable_choicebook;
9203 if test "$enableval" = yes; then
9204 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9205 else
9206 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9207 fi
9208
9209 else
9210
9211 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
9212 if test "x$LINE" != x ; then
9213 eval "DEFAULT_$LINE"
9214 else
9215 no_cache=1
9216 fi
9217
9218 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9219
9220 fi
9221
9222
9223 eval "$ac_cv_use_choicebook"
9224 if test "$no_cache" != 1; then
9225 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9226 fi
9227
9228 if test "$wxUSE_CHOICEBOOK" = yes; then
9229 { echo "$as_me:$LINENO: result: yes" >&5
9230 echo "${ECHO_T}yes" >&6; }
9231 else
9232 { echo "$as_me:$LINENO: result: no" >&5
9233 echo "${ECHO_T}no" >&6; }
9234 fi
9235
9236
9237 enablestring=
9238 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9239 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9240 no_cache=0
9241 # Check whether --enable-collpane was given.
9242 if test "${enable_collpane+set}" = set; then
9243 enableval=$enable_collpane;
9244 if test "$enableval" = yes; then
9245 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9246 else
9247 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9248 fi
9249
9250 else
9251
9252 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
9253 if test "x$LINE" != x ; then
9254 eval "DEFAULT_$LINE"
9255 else
9256 no_cache=1
9257 fi
9258
9259 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9260
9261 fi
9262
9263
9264 eval "$ac_cv_use_collpane"
9265 if test "$no_cache" != 1; then
9266 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9267 fi
9268
9269 if test "$wxUSE_COLLPANE" = yes; then
9270 { echo "$as_me:$LINENO: result: yes" >&5
9271 echo "${ECHO_T}yes" >&6; }
9272 else
9273 { echo "$as_me:$LINENO: result: no" >&5
9274 echo "${ECHO_T}no" >&6; }
9275 fi
9276
9277
9278 enablestring=
9279 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9280 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9281 no_cache=0
9282 # Check whether --enable-colourpicker was given.
9283 if test "${enable_colourpicker+set}" = set; then
9284 enableval=$enable_colourpicker;
9285 if test "$enableval" = yes; then
9286 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9287 else
9288 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9289 fi
9290
9291 else
9292
9293 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
9294 if test "x$LINE" != x ; then
9295 eval "DEFAULT_$LINE"
9296 else
9297 no_cache=1
9298 fi
9299
9300 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9301
9302 fi
9303
9304
9305 eval "$ac_cv_use_colourpicker"
9306 if test "$no_cache" != 1; then
9307 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9308 fi
9309
9310 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9311 { echo "$as_me:$LINENO: result: yes" >&5
9312 echo "${ECHO_T}yes" >&6; }
9313 else
9314 { echo "$as_me:$LINENO: result: no" >&5
9315 echo "${ECHO_T}no" >&6; }
9316 fi
9317
9318
9319 enablestring=
9320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9321 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9322 no_cache=0
9323 # Check whether --enable-combobox was given.
9324 if test "${enable_combobox+set}" = set; then
9325 enableval=$enable_combobox;
9326 if test "$enableval" = yes; then
9327 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9328 else
9329 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9330 fi
9331
9332 else
9333
9334 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
9335 if test "x$LINE" != x ; then
9336 eval "DEFAULT_$LINE"
9337 else
9338 no_cache=1
9339 fi
9340
9341 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9342
9343 fi
9344
9345
9346 eval "$ac_cv_use_combobox"
9347 if test "$no_cache" != 1; then
9348 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9349 fi
9350
9351 if test "$wxUSE_COMBOBOX" = yes; then
9352 { echo "$as_me:$LINENO: result: yes" >&5
9353 echo "${ECHO_T}yes" >&6; }
9354 else
9355 { echo "$as_me:$LINENO: result: no" >&5
9356 echo "${ECHO_T}no" >&6; }
9357 fi
9358
9359
9360 enablestring=
9361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9362 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9363 no_cache=0
9364 # Check whether --enable-comboctrl was given.
9365 if test "${enable_comboctrl+set}" = set; then
9366 enableval=$enable_comboctrl;
9367 if test "$enableval" = yes; then
9368 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9369 else
9370 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9371 fi
9372
9373 else
9374
9375 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
9376 if test "x$LINE" != x ; then
9377 eval "DEFAULT_$LINE"
9378 else
9379 no_cache=1
9380 fi
9381
9382 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9383
9384 fi
9385
9386
9387 eval "$ac_cv_use_comboctrl"
9388 if test "$no_cache" != 1; then
9389 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9390 fi
9391
9392 if test "$wxUSE_COMBOCTRL" = yes; then
9393 { echo "$as_me:$LINENO: result: yes" >&5
9394 echo "${ECHO_T}yes" >&6; }
9395 else
9396 { echo "$as_me:$LINENO: result: no" >&5
9397 echo "${ECHO_T}no" >&6; }
9398 fi
9399
9400
9401 enablestring=
9402 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9403 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9404 no_cache=0
9405 # Check whether --enable-datepick was given.
9406 if test "${enable_datepick+set}" = set; then
9407 enableval=$enable_datepick;
9408 if test "$enableval" = yes; then
9409 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9410 else
9411 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9412 fi
9413
9414 else
9415
9416 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
9417 if test "x$LINE" != x ; then
9418 eval "DEFAULT_$LINE"
9419 else
9420 no_cache=1
9421 fi
9422
9423 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9424
9425 fi
9426
9427
9428 eval "$ac_cv_use_datepick"
9429 if test "$no_cache" != 1; then
9430 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9431 fi
9432
9433 if test "$wxUSE_DATEPICKCTRL" = yes; then
9434 { echo "$as_me:$LINENO: result: yes" >&5
9435 echo "${ECHO_T}yes" >&6; }
9436 else
9437 { echo "$as_me:$LINENO: result: no" >&5
9438 echo "${ECHO_T}no" >&6; }
9439 fi
9440
9441
9442 enablestring=
9443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9444 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9445 no_cache=0
9446 # Check whether --enable-dirpicker was given.
9447 if test "${enable_dirpicker+set}" = set; then
9448 enableval=$enable_dirpicker;
9449 if test "$enableval" = yes; then
9450 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9451 else
9452 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9453 fi
9454
9455 else
9456
9457 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
9458 if test "x$LINE" != x ; then
9459 eval "DEFAULT_$LINE"
9460 else
9461 no_cache=1
9462 fi
9463
9464 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9465
9466 fi
9467
9468
9469 eval "$ac_cv_use_dirpicker"
9470 if test "$no_cache" != 1; then
9471 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9472 fi
9473
9474 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9475 { echo "$as_me:$LINENO: result: yes" >&5
9476 echo "${ECHO_T}yes" >&6; }
9477 else
9478 { echo "$as_me:$LINENO: result: no" >&5
9479 echo "${ECHO_T}no" >&6; }
9480 fi
9481
9482
9483 enablestring=
9484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9485 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9486 no_cache=0
9487 # Check whether --enable-display was given.
9488 if test "${enable_display+set}" = set; then
9489 enableval=$enable_display;
9490 if test "$enableval" = yes; then
9491 ac_cv_use_display='wxUSE_DISPLAY=yes'
9492 else
9493 ac_cv_use_display='wxUSE_DISPLAY=no'
9494 fi
9495
9496 else
9497
9498 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
9499 if test "x$LINE" != x ; then
9500 eval "DEFAULT_$LINE"
9501 else
9502 no_cache=1
9503 fi
9504
9505 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9506
9507 fi
9508
9509
9510 eval "$ac_cv_use_display"
9511 if test "$no_cache" != 1; then
9512 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9513 fi
9514
9515 if test "$wxUSE_DISPLAY" = yes; then
9516 { echo "$as_me:$LINENO: result: yes" >&5
9517 echo "${ECHO_T}yes" >&6; }
9518 else
9519 { echo "$as_me:$LINENO: result: no" >&5
9520 echo "${ECHO_T}no" >&6; }
9521 fi
9522
9523
9524 enablestring=
9525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9526 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9527 no_cache=0
9528 # Check whether --enable-detect_sm was given.
9529 if test "${enable_detect_sm+set}" = set; then
9530 enableval=$enable_detect_sm;
9531 if test "$enableval" = yes; then
9532 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9533 else
9534 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9535 fi
9536
9537 else
9538
9539 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
9540 if test "x$LINE" != x ; then
9541 eval "DEFAULT_$LINE"
9542 else
9543 no_cache=1
9544 fi
9545
9546 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9547
9548 fi
9549
9550
9551 eval "$ac_cv_use_detect_sm"
9552 if test "$no_cache" != 1; then
9553 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9554 fi
9555
9556 if test "$wxUSE_DETECT_SM" = yes; then
9557 { echo "$as_me:$LINENO: result: yes" >&5
9558 echo "${ECHO_T}yes" >&6; }
9559 else
9560 { echo "$as_me:$LINENO: result: no" >&5
9561 echo "${ECHO_T}no" >&6; }
9562 fi
9563
9564
9565 enablestring=
9566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9567 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9568 no_cache=0
9569 # Check whether --enable-filepicker was given.
9570 if test "${enable_filepicker+set}" = set; then
9571 enableval=$enable_filepicker;
9572 if test "$enableval" = yes; then
9573 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9574 else
9575 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9576 fi
9577
9578 else
9579
9580 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
9581 if test "x$LINE" != x ; then
9582 eval "DEFAULT_$LINE"
9583 else
9584 no_cache=1
9585 fi
9586
9587 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9588
9589 fi
9590
9591
9592 eval "$ac_cv_use_filepicker"
9593 if test "$no_cache" != 1; then
9594 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9595 fi
9596
9597 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9598 { echo "$as_me:$LINENO: result: yes" >&5
9599 echo "${ECHO_T}yes" >&6; }
9600 else
9601 { echo "$as_me:$LINENO: result: no" >&5
9602 echo "${ECHO_T}no" >&6; }
9603 fi
9604
9605
9606 enablestring=
9607 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9608 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9609 no_cache=0
9610 # Check whether --enable-fontpicker was given.
9611 if test "${enable_fontpicker+set}" = set; then
9612 enableval=$enable_fontpicker;
9613 if test "$enableval" = yes; then
9614 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9615 else
9616 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9617 fi
9618
9619 else
9620
9621 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
9622 if test "x$LINE" != x ; then
9623 eval "DEFAULT_$LINE"
9624 else
9625 no_cache=1
9626 fi
9627
9628 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9629
9630 fi
9631
9632
9633 eval "$ac_cv_use_fontpicker"
9634 if test "$no_cache" != 1; then
9635 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9636 fi
9637
9638 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9639 { echo "$as_me:$LINENO: result: yes" >&5
9640 echo "${ECHO_T}yes" >&6; }
9641 else
9642 { echo "$as_me:$LINENO: result: no" >&5
9643 echo "${ECHO_T}no" >&6; }
9644 fi
9645
9646
9647 enablestring=
9648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9649 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9650 no_cache=0
9651 # Check whether --enable-gauge was given.
9652 if test "${enable_gauge+set}" = set; then
9653 enableval=$enable_gauge;
9654 if test "$enableval" = yes; then
9655 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9656 else
9657 ac_cv_use_gauge='wxUSE_GAUGE=no'
9658 fi
9659
9660 else
9661
9662 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9663 if test "x$LINE" != x ; then
9664 eval "DEFAULT_$LINE"
9665 else
9666 no_cache=1
9667 fi
9668
9669 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9670
9671 fi
9672
9673
9674 eval "$ac_cv_use_gauge"
9675 if test "$no_cache" != 1; then
9676 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9677 fi
9678
9679 if test "$wxUSE_GAUGE" = yes; then
9680 { echo "$as_me:$LINENO: result: yes" >&5
9681 echo "${ECHO_T}yes" >&6; }
9682 else
9683 { echo "$as_me:$LINENO: result: no" >&5
9684 echo "${ECHO_T}no" >&6; }
9685 fi
9686
9687
9688 enablestring=
9689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9690 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9691 no_cache=0
9692 # Check whether --enable-grid was given.
9693 if test "${enable_grid+set}" = set; then
9694 enableval=$enable_grid;
9695 if test "$enableval" = yes; then
9696 ac_cv_use_grid='wxUSE_GRID=yes'
9697 else
9698 ac_cv_use_grid='wxUSE_GRID=no'
9699 fi
9700
9701 else
9702
9703 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9704 if test "x$LINE" != x ; then
9705 eval "DEFAULT_$LINE"
9706 else
9707 no_cache=1
9708 fi
9709
9710 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9711
9712 fi
9713
9714
9715 eval "$ac_cv_use_grid"
9716 if test "$no_cache" != 1; then
9717 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9718 fi
9719
9720 if test "$wxUSE_GRID" = yes; then
9721 { echo "$as_me:$LINENO: result: yes" >&5
9722 echo "${ECHO_T}yes" >&6; }
9723 else
9724 { echo "$as_me:$LINENO: result: no" >&5
9725 echo "${ECHO_T}no" >&6; }
9726 fi
9727
9728
9729 enablestring=
9730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9731 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9732 no_cache=0
9733 # Check whether --enable-dataviewctrl was given.
9734 if test "${enable_dataviewctrl+set}" = set; then
9735 enableval=$enable_dataviewctrl;
9736 if test "$enableval" = yes; then
9737 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9738 else
9739 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9740 fi
9741
9742 else
9743
9744 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9745 if test "x$LINE" != x ; then
9746 eval "DEFAULT_$LINE"
9747 else
9748 no_cache=1
9749 fi
9750
9751 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9752
9753 fi
9754
9755
9756 eval "$ac_cv_use_dataviewctrl"
9757 if test "$no_cache" != 1; then
9758 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9759 fi
9760
9761 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9762 { echo "$as_me:$LINENO: result: yes" >&5
9763 echo "${ECHO_T}yes" >&6; }
9764 else
9765 { echo "$as_me:$LINENO: result: no" >&5
9766 echo "${ECHO_T}no" >&6; }
9767 fi
9768
9769
9770 enablestring=
9771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9772 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9773 no_cache=0
9774 # Check whether --enable-hyperlink was given.
9775 if test "${enable_hyperlink+set}" = set; then
9776 enableval=$enable_hyperlink;
9777 if test "$enableval" = yes; then
9778 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9779 else
9780 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9781 fi
9782
9783 else
9784
9785 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9786 if test "x$LINE" != x ; then
9787 eval "DEFAULT_$LINE"
9788 else
9789 no_cache=1
9790 fi
9791
9792 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9793
9794 fi
9795
9796
9797 eval "$ac_cv_use_hyperlink"
9798 if test "$no_cache" != 1; then
9799 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9800 fi
9801
9802 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9803 { echo "$as_me:$LINENO: result: yes" >&5
9804 echo "${ECHO_T}yes" >&6; }
9805 else
9806 { echo "$as_me:$LINENO: result: no" >&5
9807 echo "${ECHO_T}no" >&6; }
9808 fi
9809
9810
9811 enablestring=
9812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9813 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9814 no_cache=0
9815 # Check whether --enable-imaglist was given.
9816 if test "${enable_imaglist+set}" = set; then
9817 enableval=$enable_imaglist;
9818 if test "$enableval" = yes; then
9819 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9820 else
9821 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9822 fi
9823
9824 else
9825
9826 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9827 if test "x$LINE" != x ; then
9828 eval "DEFAULT_$LINE"
9829 else
9830 no_cache=1
9831 fi
9832
9833 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9834
9835 fi
9836
9837
9838 eval "$ac_cv_use_imaglist"
9839 if test "$no_cache" != 1; then
9840 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9841 fi
9842
9843 if test "$wxUSE_IMAGLIST" = yes; then
9844 { echo "$as_me:$LINENO: result: yes" >&5
9845 echo "${ECHO_T}yes" >&6; }
9846 else
9847 { echo "$as_me:$LINENO: result: no" >&5
9848 echo "${ECHO_T}no" >&6; }
9849 fi
9850
9851
9852 enablestring=
9853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9854 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
9855 no_cache=0
9856 # Check whether --enable-listbook was given.
9857 if test "${enable_listbook+set}" = set; then
9858 enableval=$enable_listbook;
9859 if test "$enableval" = yes; then
9860 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9861 else
9862 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9863 fi
9864
9865 else
9866
9867 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9868 if test "x$LINE" != x ; then
9869 eval "DEFAULT_$LINE"
9870 else
9871 no_cache=1
9872 fi
9873
9874 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9875
9876 fi
9877
9878
9879 eval "$ac_cv_use_listbook"
9880 if test "$no_cache" != 1; then
9881 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9882 fi
9883
9884 if test "$wxUSE_LISTBOOK" = yes; then
9885 { echo "$as_me:$LINENO: result: yes" >&5
9886 echo "${ECHO_T}yes" >&6; }
9887 else
9888 { echo "$as_me:$LINENO: result: no" >&5
9889 echo "${ECHO_T}no" >&6; }
9890 fi
9891
9892
9893 enablestring=
9894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9895 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
9896 no_cache=0
9897 # Check whether --enable-listbox was given.
9898 if test "${enable_listbox+set}" = set; then
9899 enableval=$enable_listbox;
9900 if test "$enableval" = yes; then
9901 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9902 else
9903 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9904 fi
9905
9906 else
9907
9908 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9909 if test "x$LINE" != x ; then
9910 eval "DEFAULT_$LINE"
9911 else
9912 no_cache=1
9913 fi
9914
9915 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9916
9917 fi
9918
9919
9920 eval "$ac_cv_use_listbox"
9921 if test "$no_cache" != 1; then
9922 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9923 fi
9924
9925 if test "$wxUSE_LISTBOX" = yes; then
9926 { echo "$as_me:$LINENO: result: yes" >&5
9927 echo "${ECHO_T}yes" >&6; }
9928 else
9929 { echo "$as_me:$LINENO: result: no" >&5
9930 echo "${ECHO_T}no" >&6; }
9931 fi
9932
9933
9934 enablestring=
9935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9936 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
9937 no_cache=0
9938 # Check whether --enable-listctrl was given.
9939 if test "${enable_listctrl+set}" = set; then
9940 enableval=$enable_listctrl;
9941 if test "$enableval" = yes; then
9942 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9943 else
9944 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9945 fi
9946
9947 else
9948
9949 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9950 if test "x$LINE" != x ; then
9951 eval "DEFAULT_$LINE"
9952 else
9953 no_cache=1
9954 fi
9955
9956 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9957
9958 fi
9959
9960
9961 eval "$ac_cv_use_listctrl"
9962 if test "$no_cache" != 1; then
9963 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9964 fi
9965
9966 if test "$wxUSE_LISTCTRL" = yes; then
9967 { echo "$as_me:$LINENO: result: yes" >&5
9968 echo "${ECHO_T}yes" >&6; }
9969 else
9970 { echo "$as_me:$LINENO: result: no" >&5
9971 echo "${ECHO_T}no" >&6; }
9972 fi
9973
9974
9975 enablestring=
9976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9977 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
9978 no_cache=0
9979 # Check whether --enable-notebook was given.
9980 if test "${enable_notebook+set}" = set; then
9981 enableval=$enable_notebook;
9982 if test "$enableval" = yes; then
9983 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9984 else
9985 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9986 fi
9987
9988 else
9989
9990 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9991 if test "x$LINE" != x ; then
9992 eval "DEFAULT_$LINE"
9993 else
9994 no_cache=1
9995 fi
9996
9997 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9998
9999 fi
10000
10001
10002 eval "$ac_cv_use_notebook"
10003 if test "$no_cache" != 1; then
10004 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
10005 fi
10006
10007 if test "$wxUSE_NOTEBOOK" = yes; then
10008 { echo "$as_me:$LINENO: result: yes" >&5
10009 echo "${ECHO_T}yes" >&6; }
10010 else
10011 { echo "$as_me:$LINENO: result: no" >&5
10012 echo "${ECHO_T}no" >&6; }
10013 fi
10014
10015
10016 enablestring=
10017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10018 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10019 no_cache=0
10020 # Check whether --enable-odcombobox was given.
10021 if test "${enable_odcombobox+set}" = set; then
10022 enableval=$enable_odcombobox;
10023 if test "$enableval" = yes; then
10024 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10025 else
10026 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10027 fi
10028
10029 else
10030
10031 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
10032 if test "x$LINE" != x ; then
10033 eval "DEFAULT_$LINE"
10034 else
10035 no_cache=1
10036 fi
10037
10038 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10039
10040 fi
10041
10042
10043 eval "$ac_cv_use_odcombobox"
10044 if test "$no_cache" != 1; then
10045 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10046 fi
10047
10048 if test "$wxUSE_ODCOMBOBOX" = yes; then
10049 { echo "$as_me:$LINENO: result: yes" >&5
10050 echo "${ECHO_T}yes" >&6; }
10051 else
10052 { echo "$as_me:$LINENO: result: no" >&5
10053 echo "${ECHO_T}no" >&6; }
10054 fi
10055
10056
10057 enablestring=
10058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10059 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10060 no_cache=0
10061 # Check whether --enable-radiobox was given.
10062 if test "${enable_radiobox+set}" = set; then
10063 enableval=$enable_radiobox;
10064 if test "$enableval" = yes; then
10065 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10066 else
10067 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10068 fi
10069
10070 else
10071
10072 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
10073 if test "x$LINE" != x ; then
10074 eval "DEFAULT_$LINE"
10075 else
10076 no_cache=1
10077 fi
10078
10079 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10080
10081 fi
10082
10083
10084 eval "$ac_cv_use_radiobox"
10085 if test "$no_cache" != 1; then
10086 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10087 fi
10088
10089 if test "$wxUSE_RADIOBOX" = yes; then
10090 { echo "$as_me:$LINENO: result: yes" >&5
10091 echo "${ECHO_T}yes" >&6; }
10092 else
10093 { echo "$as_me:$LINENO: result: no" >&5
10094 echo "${ECHO_T}no" >&6; }
10095 fi
10096
10097
10098 enablestring=
10099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10100 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10101 no_cache=0
10102 # Check whether --enable-radiobtn was given.
10103 if test "${enable_radiobtn+set}" = set; then
10104 enableval=$enable_radiobtn;
10105 if test "$enableval" = yes; then
10106 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10107 else
10108 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10109 fi
10110
10111 else
10112
10113 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
10114 if test "x$LINE" != x ; then
10115 eval "DEFAULT_$LINE"
10116 else
10117 no_cache=1
10118 fi
10119
10120 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10121
10122 fi
10123
10124
10125 eval "$ac_cv_use_radiobtn"
10126 if test "$no_cache" != 1; then
10127 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10128 fi
10129
10130 if test "$wxUSE_RADIOBTN" = yes; then
10131 { echo "$as_me:$LINENO: result: yes" >&5
10132 echo "${ECHO_T}yes" >&6; }
10133 else
10134 { echo "$as_me:$LINENO: result: no" >&5
10135 echo "${ECHO_T}no" >&6; }
10136 fi
10137
10138
10139 enablestring=
10140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10141 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10142 no_cache=0
10143 # Check whether --enable-sash was given.
10144 if test "${enable_sash+set}" = set; then
10145 enableval=$enable_sash;
10146 if test "$enableval" = yes; then
10147 ac_cv_use_sash='wxUSE_SASH=yes'
10148 else
10149 ac_cv_use_sash='wxUSE_SASH=no'
10150 fi
10151
10152 else
10153
10154 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
10155 if test "x$LINE" != x ; then
10156 eval "DEFAULT_$LINE"
10157 else
10158 no_cache=1
10159 fi
10160
10161 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10162
10163 fi
10164
10165
10166 eval "$ac_cv_use_sash"
10167 if test "$no_cache" != 1; then
10168 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10169 fi
10170
10171 if test "$wxUSE_SASH" = yes; then
10172 { echo "$as_me:$LINENO: result: yes" >&5
10173 echo "${ECHO_T}yes" >&6; }
10174 else
10175 { echo "$as_me:$LINENO: result: no" >&5
10176 echo "${ECHO_T}no" >&6; }
10177 fi
10178
10179
10180 enablestring=
10181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10182 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10183 no_cache=0
10184 # Check whether --enable-scrollbar was given.
10185 if test "${enable_scrollbar+set}" = set; then
10186 enableval=$enable_scrollbar;
10187 if test "$enableval" = yes; then
10188 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10189 else
10190 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10191 fi
10192
10193 else
10194
10195 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
10196 if test "x$LINE" != x ; then
10197 eval "DEFAULT_$LINE"
10198 else
10199 no_cache=1
10200 fi
10201
10202 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10203
10204 fi
10205
10206
10207 eval "$ac_cv_use_scrollbar"
10208 if test "$no_cache" != 1; then
10209 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10210 fi
10211
10212 if test "$wxUSE_SCROLLBAR" = yes; then
10213 { echo "$as_me:$LINENO: result: yes" >&5
10214 echo "${ECHO_T}yes" >&6; }
10215 else
10216 { echo "$as_me:$LINENO: result: no" >&5
10217 echo "${ECHO_T}no" >&6; }
10218 fi
10219
10220
10221 enablestring=
10222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10223 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10224 no_cache=0
10225 # Check whether --enable-searchctrl was given.
10226 if test "${enable_searchctrl+set}" = set; then
10227 enableval=$enable_searchctrl;
10228 if test "$enableval" = yes; then
10229 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10230 else
10231 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10232 fi
10233
10234 else
10235
10236 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
10237 if test "x$LINE" != x ; then
10238 eval "DEFAULT_$LINE"
10239 else
10240 no_cache=1
10241 fi
10242
10243 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10244
10245 fi
10246
10247
10248 eval "$ac_cv_use_searchctrl"
10249 if test "$no_cache" != 1; then
10250 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10251 fi
10252
10253 if test "$wxUSE_SEARCHCTRL" = yes; then
10254 { echo "$as_me:$LINENO: result: yes" >&5
10255 echo "${ECHO_T}yes" >&6; }
10256 else
10257 { echo "$as_me:$LINENO: result: no" >&5
10258 echo "${ECHO_T}no" >&6; }
10259 fi
10260
10261
10262 enablestring=
10263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10264 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10265 no_cache=0
10266 # Check whether --enable-slider was given.
10267 if test "${enable_slider+set}" = set; then
10268 enableval=$enable_slider;
10269 if test "$enableval" = yes; then
10270 ac_cv_use_slider='wxUSE_SLIDER=yes'
10271 else
10272 ac_cv_use_slider='wxUSE_SLIDER=no'
10273 fi
10274
10275 else
10276
10277 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
10278 if test "x$LINE" != x ; then
10279 eval "DEFAULT_$LINE"
10280 else
10281 no_cache=1
10282 fi
10283
10284 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10285
10286 fi
10287
10288
10289 eval "$ac_cv_use_slider"
10290 if test "$no_cache" != 1; then
10291 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10292 fi
10293
10294 if test "$wxUSE_SLIDER" = yes; then
10295 { echo "$as_me:$LINENO: result: yes" >&5
10296 echo "${ECHO_T}yes" >&6; }
10297 else
10298 { echo "$as_me:$LINENO: result: no" >&5
10299 echo "${ECHO_T}no" >&6; }
10300 fi
10301
10302
10303 enablestring=
10304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10305 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10306 no_cache=0
10307 # Check whether --enable-spinbtn was given.
10308 if test "${enable_spinbtn+set}" = set; then
10309 enableval=$enable_spinbtn;
10310 if test "$enableval" = yes; then
10311 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10312 else
10313 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10314 fi
10315
10316 else
10317
10318 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
10319 if test "x$LINE" != x ; then
10320 eval "DEFAULT_$LINE"
10321 else
10322 no_cache=1
10323 fi
10324
10325 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10326
10327 fi
10328
10329
10330 eval "$ac_cv_use_spinbtn"
10331 if test "$no_cache" != 1; then
10332 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10333 fi
10334
10335 if test "$wxUSE_SPINBTN" = yes; then
10336 { echo "$as_me:$LINENO: result: yes" >&5
10337 echo "${ECHO_T}yes" >&6; }
10338 else
10339 { echo "$as_me:$LINENO: result: no" >&5
10340 echo "${ECHO_T}no" >&6; }
10341 fi
10342
10343
10344 enablestring=
10345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10346 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10347 no_cache=0
10348 # Check whether --enable-spinctrl was given.
10349 if test "${enable_spinctrl+set}" = set; then
10350 enableval=$enable_spinctrl;
10351 if test "$enableval" = yes; then
10352 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10353 else
10354 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10355 fi
10356
10357 else
10358
10359 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
10360 if test "x$LINE" != x ; then
10361 eval "DEFAULT_$LINE"
10362 else
10363 no_cache=1
10364 fi
10365
10366 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10367
10368 fi
10369
10370
10371 eval "$ac_cv_use_spinctrl"
10372 if test "$no_cache" != 1; then
10373 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10374 fi
10375
10376 if test "$wxUSE_SPINCTRL" = yes; then
10377 { echo "$as_me:$LINENO: result: yes" >&5
10378 echo "${ECHO_T}yes" >&6; }
10379 else
10380 { echo "$as_me:$LINENO: result: no" >&5
10381 echo "${ECHO_T}no" >&6; }
10382 fi
10383
10384
10385 enablestring=
10386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10387 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10388 no_cache=0
10389 # Check whether --enable-splitter was given.
10390 if test "${enable_splitter+set}" = set; then
10391 enableval=$enable_splitter;
10392 if test "$enableval" = yes; then
10393 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10394 else
10395 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10396 fi
10397
10398 else
10399
10400 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
10401 if test "x$LINE" != x ; then
10402 eval "DEFAULT_$LINE"
10403 else
10404 no_cache=1
10405 fi
10406
10407 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10408
10409 fi
10410
10411
10412 eval "$ac_cv_use_splitter"
10413 if test "$no_cache" != 1; then
10414 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10415 fi
10416
10417 if test "$wxUSE_SPLITTER" = yes; then
10418 { echo "$as_me:$LINENO: result: yes" >&5
10419 echo "${ECHO_T}yes" >&6; }
10420 else
10421 { echo "$as_me:$LINENO: result: no" >&5
10422 echo "${ECHO_T}no" >&6; }
10423 fi
10424
10425
10426 enablestring=
10427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10428 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10429 no_cache=0
10430 # Check whether --enable-statbmp was given.
10431 if test "${enable_statbmp+set}" = set; then
10432 enableval=$enable_statbmp;
10433 if test "$enableval" = yes; then
10434 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10435 else
10436 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10437 fi
10438
10439 else
10440
10441 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
10442 if test "x$LINE" != x ; then
10443 eval "DEFAULT_$LINE"
10444 else
10445 no_cache=1
10446 fi
10447
10448 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10449
10450 fi
10451
10452
10453 eval "$ac_cv_use_statbmp"
10454 if test "$no_cache" != 1; then
10455 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10456 fi
10457
10458 if test "$wxUSE_STATBMP" = yes; then
10459 { echo "$as_me:$LINENO: result: yes" >&5
10460 echo "${ECHO_T}yes" >&6; }
10461 else
10462 { echo "$as_me:$LINENO: result: no" >&5
10463 echo "${ECHO_T}no" >&6; }
10464 fi
10465
10466
10467 enablestring=
10468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10469 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10470 no_cache=0
10471 # Check whether --enable-statbox was given.
10472 if test "${enable_statbox+set}" = set; then
10473 enableval=$enable_statbox;
10474 if test "$enableval" = yes; then
10475 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10476 else
10477 ac_cv_use_statbox='wxUSE_STATBOX=no'
10478 fi
10479
10480 else
10481
10482 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
10483 if test "x$LINE" != x ; then
10484 eval "DEFAULT_$LINE"
10485 else
10486 no_cache=1
10487 fi
10488
10489 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10490
10491 fi
10492
10493
10494 eval "$ac_cv_use_statbox"
10495 if test "$no_cache" != 1; then
10496 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10497 fi
10498
10499 if test "$wxUSE_STATBOX" = yes; then
10500 { echo "$as_me:$LINENO: result: yes" >&5
10501 echo "${ECHO_T}yes" >&6; }
10502 else
10503 { echo "$as_me:$LINENO: result: no" >&5
10504 echo "${ECHO_T}no" >&6; }
10505 fi
10506
10507
10508 enablestring=
10509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10510 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10511 no_cache=0
10512 # Check whether --enable-statline was given.
10513 if test "${enable_statline+set}" = set; then
10514 enableval=$enable_statline;
10515 if test "$enableval" = yes; then
10516 ac_cv_use_statline='wxUSE_STATLINE=yes'
10517 else
10518 ac_cv_use_statline='wxUSE_STATLINE=no'
10519 fi
10520
10521 else
10522
10523 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
10524 if test "x$LINE" != x ; then
10525 eval "DEFAULT_$LINE"
10526 else
10527 no_cache=1
10528 fi
10529
10530 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10531
10532 fi
10533
10534
10535 eval "$ac_cv_use_statline"
10536 if test "$no_cache" != 1; then
10537 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10538 fi
10539
10540 if test "$wxUSE_STATLINE" = yes; then
10541 { echo "$as_me:$LINENO: result: yes" >&5
10542 echo "${ECHO_T}yes" >&6; }
10543 else
10544 { echo "$as_me:$LINENO: result: no" >&5
10545 echo "${ECHO_T}no" >&6; }
10546 fi
10547
10548
10549 enablestring=
10550 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10551 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10552 no_cache=0
10553 # Check whether --enable-stattext was given.
10554 if test "${enable_stattext+set}" = set; then
10555 enableval=$enable_stattext;
10556 if test "$enableval" = yes; then
10557 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10558 else
10559 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10560 fi
10561
10562 else
10563
10564 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
10565 if test "x$LINE" != x ; then
10566 eval "DEFAULT_$LINE"
10567 else
10568 no_cache=1
10569 fi
10570
10571 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10572
10573 fi
10574
10575
10576 eval "$ac_cv_use_stattext"
10577 if test "$no_cache" != 1; then
10578 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10579 fi
10580
10581 if test "$wxUSE_STATTEXT" = yes; then
10582 { echo "$as_me:$LINENO: result: yes" >&5
10583 echo "${ECHO_T}yes" >&6; }
10584 else
10585 { echo "$as_me:$LINENO: result: no" >&5
10586 echo "${ECHO_T}no" >&6; }
10587 fi
10588
10589
10590 enablestring=
10591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10592 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10593 no_cache=0
10594 # Check whether --enable-statusbar was given.
10595 if test "${enable_statusbar+set}" = set; then
10596 enableval=$enable_statusbar;
10597 if test "$enableval" = yes; then
10598 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10599 else
10600 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10601 fi
10602
10603 else
10604
10605 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
10606 if test "x$LINE" != x ; then
10607 eval "DEFAULT_$LINE"
10608 else
10609 no_cache=1
10610 fi
10611
10612 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10613
10614 fi
10615
10616
10617 eval "$ac_cv_use_statusbar"
10618 if test "$no_cache" != 1; then
10619 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10620 fi
10621
10622 if test "$wxUSE_STATUSBAR" = yes; then
10623 { echo "$as_me:$LINENO: result: yes" >&5
10624 echo "${ECHO_T}yes" >&6; }
10625 else
10626 { echo "$as_me:$LINENO: result: no" >&5
10627 echo "${ECHO_T}no" >&6; }
10628 fi
10629
10630
10631 enablestring=
10632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10633 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10634 no_cache=0
10635 # Check whether --enable-tabdialog was given.
10636 if test "${enable_tabdialog+set}" = set; then
10637 enableval=$enable_tabdialog;
10638 if test "$enableval" = yes; then
10639 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10640 else
10641 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10642 fi
10643
10644 else
10645
10646 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
10647 if test "x$LINE" != x ; then
10648 eval "DEFAULT_$LINE"
10649 else
10650 no_cache=1
10651 fi
10652
10653 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10654
10655 fi
10656
10657
10658 eval "$ac_cv_use_tabdialog"
10659 if test "$no_cache" != 1; then
10660 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10661 fi
10662
10663 if test "$wxUSE_TAB_DIALOG" = yes; then
10664 { echo "$as_me:$LINENO: result: yes" >&5
10665 echo "${ECHO_T}yes" >&6; }
10666 else
10667 { echo "$as_me:$LINENO: result: no" >&5
10668 echo "${ECHO_T}no" >&6; }
10669 fi
10670
10671
10672 enablestring=
10673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10674 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10675 no_cache=0
10676 # Check whether --enable-textctrl was given.
10677 if test "${enable_textctrl+set}" = set; then
10678 enableval=$enable_textctrl;
10679 if test "$enableval" = yes; then
10680 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10681 else
10682 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10683 fi
10684
10685 else
10686
10687 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10688 if test "x$LINE" != x ; then
10689 eval "DEFAULT_$LINE"
10690 else
10691 no_cache=1
10692 fi
10693
10694 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10695
10696 fi
10697
10698
10699 eval "$ac_cv_use_textctrl"
10700 if test "$no_cache" != 1; then
10701 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10702 fi
10703
10704 if test "$wxUSE_TEXTCTRL" = yes; then
10705 { echo "$as_me:$LINENO: result: yes" >&5
10706 echo "${ECHO_T}yes" >&6; }
10707 else
10708 { echo "$as_me:$LINENO: result: no" >&5
10709 echo "${ECHO_T}no" >&6; }
10710 fi
10711
10712
10713 enablestring=
10714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10715 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10716 no_cache=0
10717 # Check whether --enable-togglebtn was given.
10718 if test "${enable_togglebtn+set}" = set; then
10719 enableval=$enable_togglebtn;
10720 if test "$enableval" = yes; then
10721 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10722 else
10723 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10724 fi
10725
10726 else
10727
10728 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10729 if test "x$LINE" != x ; then
10730 eval "DEFAULT_$LINE"
10731 else
10732 no_cache=1
10733 fi
10734
10735 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10736
10737 fi
10738
10739
10740 eval "$ac_cv_use_togglebtn"
10741 if test "$no_cache" != 1; then
10742 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10743 fi
10744
10745 if test "$wxUSE_TOGGLEBTN" = yes; then
10746 { echo "$as_me:$LINENO: result: yes" >&5
10747 echo "${ECHO_T}yes" >&6; }
10748 else
10749 { echo "$as_me:$LINENO: result: no" >&5
10750 echo "${ECHO_T}no" >&6; }
10751 fi
10752
10753
10754 enablestring=
10755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10756 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10757 no_cache=0
10758 # Check whether --enable-toolbar was given.
10759 if test "${enable_toolbar+set}" = set; then
10760 enableval=$enable_toolbar;
10761 if test "$enableval" = yes; then
10762 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10763 else
10764 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10765 fi
10766
10767 else
10768
10769 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10770 if test "x$LINE" != x ; then
10771 eval "DEFAULT_$LINE"
10772 else
10773 no_cache=1
10774 fi
10775
10776 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10777
10778 fi
10779
10780
10781 eval "$ac_cv_use_toolbar"
10782 if test "$no_cache" != 1; then
10783 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10784 fi
10785
10786 if test "$wxUSE_TOOLBAR" = yes; then
10787 { echo "$as_me:$LINENO: result: yes" >&5
10788 echo "${ECHO_T}yes" >&6; }
10789 else
10790 { echo "$as_me:$LINENO: result: no" >&5
10791 echo "${ECHO_T}no" >&6; }
10792 fi
10793
10794
10795 enablestring=
10796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10797 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10798 no_cache=0
10799 # Check whether --enable-tbarnative was given.
10800 if test "${enable_tbarnative+set}" = set; then
10801 enableval=$enable_tbarnative;
10802 if test "$enableval" = yes; then
10803 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10804 else
10805 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10806 fi
10807
10808 else
10809
10810 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10811 if test "x$LINE" != x ; then
10812 eval "DEFAULT_$LINE"
10813 else
10814 no_cache=1
10815 fi
10816
10817 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10818
10819 fi
10820
10821
10822 eval "$ac_cv_use_tbarnative"
10823 if test "$no_cache" != 1; then
10824 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10825 fi
10826
10827 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10828 { echo "$as_me:$LINENO: result: yes" >&5
10829 echo "${ECHO_T}yes" >&6; }
10830 else
10831 { echo "$as_me:$LINENO: result: no" >&5
10832 echo "${ECHO_T}no" >&6; }
10833 fi
10834
10835
10836 enablestring=
10837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10838 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
10839 no_cache=0
10840 # Check whether --enable-treebook was given.
10841 if test "${enable_treebook+set}" = set; then
10842 enableval=$enable_treebook;
10843 if test "$enableval" = yes; then
10844 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10845 else
10846 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10847 fi
10848
10849 else
10850
10851 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10852 if test "x$LINE" != x ; then
10853 eval "DEFAULT_$LINE"
10854 else
10855 no_cache=1
10856 fi
10857
10858 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10859
10860 fi
10861
10862
10863 eval "$ac_cv_use_treebook"
10864 if test "$no_cache" != 1; then
10865 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10866 fi
10867
10868 if test "$wxUSE_TREEBOOK" = yes; then
10869 { echo "$as_me:$LINENO: result: yes" >&5
10870 echo "${ECHO_T}yes" >&6; }
10871 else
10872 { echo "$as_me:$LINENO: result: no" >&5
10873 echo "${ECHO_T}no" >&6; }
10874 fi
10875
10876
10877 enablestring=
10878 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10879 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
10880 no_cache=0
10881 # Check whether --enable-toolbook was given.
10882 if test "${enable_toolbook+set}" = set; then
10883 enableval=$enable_toolbook;
10884 if test "$enableval" = yes; then
10885 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10886 else
10887 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10888 fi
10889
10890 else
10891
10892 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10893 if test "x$LINE" != x ; then
10894 eval "DEFAULT_$LINE"
10895 else
10896 no_cache=1
10897 fi
10898
10899 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10900
10901 fi
10902
10903
10904 eval "$ac_cv_use_toolbook"
10905 if test "$no_cache" != 1; then
10906 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10907 fi
10908
10909 if test "$wxUSE_TOOLBOOK" = yes; then
10910 { echo "$as_me:$LINENO: result: yes" >&5
10911 echo "${ECHO_T}yes" >&6; }
10912 else
10913 { echo "$as_me:$LINENO: result: no" >&5
10914 echo "${ECHO_T}no" >&6; }
10915 fi
10916
10917
10918 enablestring=
10919 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10920 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
10921 no_cache=0
10922 # Check whether --enable-treectrl was given.
10923 if test "${enable_treectrl+set}" = set; then
10924 enableval=$enable_treectrl;
10925 if test "$enableval" = yes; then
10926 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10927 else
10928 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10929 fi
10930
10931 else
10932
10933 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10934 if test "x$LINE" != x ; then
10935 eval "DEFAULT_$LINE"
10936 else
10937 no_cache=1
10938 fi
10939
10940 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10941
10942 fi
10943
10944
10945 eval "$ac_cv_use_treectrl"
10946 if test "$no_cache" != 1; then
10947 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10948 fi
10949
10950 if test "$wxUSE_TREECTRL" = yes; then
10951 { echo "$as_me:$LINENO: result: yes" >&5
10952 echo "${ECHO_T}yes" >&6; }
10953 else
10954 { echo "$as_me:$LINENO: result: no" >&5
10955 echo "${ECHO_T}no" >&6; }
10956 fi
10957
10958
10959 enablestring=
10960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10961 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
10962 no_cache=0
10963 # Check whether --enable-tipwindow was given.
10964 if test "${enable_tipwindow+set}" = set; then
10965 enableval=$enable_tipwindow;
10966 if test "$enableval" = yes; then
10967 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10968 else
10969 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10970 fi
10971
10972 else
10973
10974 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10975 if test "x$LINE" != x ; then
10976 eval "DEFAULT_$LINE"
10977 else
10978 no_cache=1
10979 fi
10980
10981 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10982
10983 fi
10984
10985
10986 eval "$ac_cv_use_tipwindow"
10987 if test "$no_cache" != 1; then
10988 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10989 fi
10990
10991 if test "$wxUSE_TIPWINDOW" = yes; then
10992 { echo "$as_me:$LINENO: result: yes" >&5
10993 echo "${ECHO_T}yes" >&6; }
10994 else
10995 { echo "$as_me:$LINENO: result: no" >&5
10996 echo "${ECHO_T}no" >&6; }
10997 fi
10998
10999
11000 enablestring=
11001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11002 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11003 no_cache=0
11004 # Check whether --enable-popupwin was given.
11005 if test "${enable_popupwin+set}" = set; then
11006 enableval=$enable_popupwin;
11007 if test "$enableval" = yes; then
11008 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11009 else
11010 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
11011 fi
11012
11013 else
11014
11015 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
11016 if test "x$LINE" != x ; then
11017 eval "DEFAULT_$LINE"
11018 else
11019 no_cache=1
11020 fi
11021
11022 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
11023
11024 fi
11025
11026
11027 eval "$ac_cv_use_popupwin"
11028 if test "$no_cache" != 1; then
11029 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
11030 fi
11031
11032 if test "$wxUSE_POPUPWIN" = yes; then
11033 { echo "$as_me:$LINENO: result: yes" >&5
11034 echo "${ECHO_T}yes" >&6; }
11035 else
11036 { echo "$as_me:$LINENO: result: no" >&5
11037 echo "${ECHO_T}no" >&6; }
11038 fi
11039
11040
11041
11042
11043 enablestring=
11044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11045 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11046 no_cache=0
11047 # Check whether --enable-commondlg was given.
11048 if test "${enable_commondlg+set}" = set; then
11049 enableval=$enable_commondlg;
11050 if test "$enableval" = yes; then
11051 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11052 else
11053 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11054 fi
11055
11056 else
11057
11058 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
11059 if test "x$LINE" != x ; then
11060 eval "DEFAULT_$LINE"
11061 else
11062 no_cache=1
11063 fi
11064
11065 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11066
11067 fi
11068
11069
11070 eval "$ac_cv_use_commondlg"
11071 if test "$no_cache" != 1; then
11072 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11073 fi
11074
11075 if test "$wxUSE_COMMONDLGS" = yes; then
11076 { echo "$as_me:$LINENO: result: yes" >&5
11077 echo "${ECHO_T}yes" >&6; }
11078 else
11079 { echo "$as_me:$LINENO: result: no" >&5
11080 echo "${ECHO_T}no" >&6; }
11081 fi
11082
11083
11084 enablestring=
11085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11086 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11087 no_cache=0
11088 # Check whether --enable-aboutdlg was given.
11089 if test "${enable_aboutdlg+set}" = set; then
11090 enableval=$enable_aboutdlg;
11091 if test "$enableval" = yes; then
11092 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11093 else
11094 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11095 fi
11096
11097 else
11098
11099 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
11100 if test "x$LINE" != x ; then
11101 eval "DEFAULT_$LINE"
11102 else
11103 no_cache=1
11104 fi
11105
11106 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11107
11108 fi
11109
11110
11111 eval "$ac_cv_use_aboutdlg"
11112 if test "$no_cache" != 1; then
11113 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11114 fi
11115
11116 if test "$wxUSE_ABOUTDLG" = yes; then
11117 { echo "$as_me:$LINENO: result: yes" >&5
11118 echo "${ECHO_T}yes" >&6; }
11119 else
11120 { echo "$as_me:$LINENO: result: no" >&5
11121 echo "${ECHO_T}no" >&6; }
11122 fi
11123
11124
11125 enablestring=
11126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11127 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11128 no_cache=0
11129 # Check whether --enable-choicedlg was given.
11130 if test "${enable_choicedlg+set}" = set; then
11131 enableval=$enable_choicedlg;
11132 if test "$enableval" = yes; then
11133 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11134 else
11135 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11136 fi
11137
11138 else
11139
11140 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
11141 if test "x$LINE" != x ; then
11142 eval "DEFAULT_$LINE"
11143 else
11144 no_cache=1
11145 fi
11146
11147 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11148
11149 fi
11150
11151
11152 eval "$ac_cv_use_choicedlg"
11153 if test "$no_cache" != 1; then
11154 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11155 fi
11156
11157 if test "$wxUSE_CHOICEDLG" = yes; then
11158 { echo "$as_me:$LINENO: result: yes" >&5
11159 echo "${ECHO_T}yes" >&6; }
11160 else
11161 { echo "$as_me:$LINENO: result: no" >&5
11162 echo "${ECHO_T}no" >&6; }
11163 fi
11164
11165
11166 enablestring=
11167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11168 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11169 no_cache=0
11170 # Check whether --enable-coldlg was given.
11171 if test "${enable_coldlg+set}" = set; then
11172 enableval=$enable_coldlg;
11173 if test "$enableval" = yes; then
11174 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11175 else
11176 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11177 fi
11178
11179 else
11180
11181 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
11182 if test "x$LINE" != x ; then
11183 eval "DEFAULT_$LINE"
11184 else
11185 no_cache=1
11186 fi
11187
11188 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11189
11190 fi
11191
11192
11193 eval "$ac_cv_use_coldlg"
11194 if test "$no_cache" != 1; then
11195 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11196 fi
11197
11198 if test "$wxUSE_COLOURDLG" = yes; then
11199 { echo "$as_me:$LINENO: result: yes" >&5
11200 echo "${ECHO_T}yes" >&6; }
11201 else
11202 { echo "$as_me:$LINENO: result: no" >&5
11203 echo "${ECHO_T}no" >&6; }
11204 fi
11205
11206
11207 enablestring=
11208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11209 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11210 no_cache=0
11211 # Check whether --enable-filedlg was given.
11212 if test "${enable_filedlg+set}" = set; then
11213 enableval=$enable_filedlg;
11214 if test "$enableval" = yes; then
11215 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11216 else
11217 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11218 fi
11219
11220 else
11221
11222 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
11223 if test "x$LINE" != x ; then
11224 eval "DEFAULT_$LINE"
11225 else
11226 no_cache=1
11227 fi
11228
11229 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11230
11231 fi
11232
11233
11234 eval "$ac_cv_use_filedlg"
11235 if test "$no_cache" != 1; then
11236 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11237 fi
11238
11239 if test "$wxUSE_FILEDLG" = yes; then
11240 { echo "$as_me:$LINENO: result: yes" >&5
11241 echo "${ECHO_T}yes" >&6; }
11242 else
11243 { echo "$as_me:$LINENO: result: no" >&5
11244 echo "${ECHO_T}no" >&6; }
11245 fi
11246
11247
11248 enablestring=
11249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11250 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11251 no_cache=0
11252 # Check whether --enable-finddlg was given.
11253 if test "${enable_finddlg+set}" = set; then
11254 enableval=$enable_finddlg;
11255 if test "$enableval" = yes; then
11256 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11257 else
11258 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11259 fi
11260
11261 else
11262
11263 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
11264 if test "x$LINE" != x ; then
11265 eval "DEFAULT_$LINE"
11266 else
11267 no_cache=1
11268 fi
11269
11270 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11271
11272 fi
11273
11274
11275 eval "$ac_cv_use_finddlg"
11276 if test "$no_cache" != 1; then
11277 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11278 fi
11279
11280 if test "$wxUSE_FINDREPLDLG" = yes; then
11281 { echo "$as_me:$LINENO: result: yes" >&5
11282 echo "${ECHO_T}yes" >&6; }
11283 else
11284 { echo "$as_me:$LINENO: result: no" >&5
11285 echo "${ECHO_T}no" >&6; }
11286 fi
11287
11288
11289 enablestring=
11290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11291 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11292 no_cache=0
11293 # Check whether --enable-fontdlg was given.
11294 if test "${enable_fontdlg+set}" = set; then
11295 enableval=$enable_fontdlg;
11296 if test "$enableval" = yes; then
11297 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11298 else
11299 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11300 fi
11301
11302 else
11303
11304 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
11305 if test "x$LINE" != x ; then
11306 eval "DEFAULT_$LINE"
11307 else
11308 no_cache=1
11309 fi
11310
11311 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11312
11313 fi
11314
11315
11316 eval "$ac_cv_use_fontdlg"
11317 if test "$no_cache" != 1; then
11318 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11319 fi
11320
11321 if test "$wxUSE_FONTDLG" = yes; then
11322 { echo "$as_me:$LINENO: result: yes" >&5
11323 echo "${ECHO_T}yes" >&6; }
11324 else
11325 { echo "$as_me:$LINENO: result: no" >&5
11326 echo "${ECHO_T}no" >&6; }
11327 fi
11328
11329
11330 enablestring=
11331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11332 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11333 no_cache=0
11334 # Check whether --enable-dirdlg was given.
11335 if test "${enable_dirdlg+set}" = set; then
11336 enableval=$enable_dirdlg;
11337 if test "$enableval" = yes; then
11338 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11339 else
11340 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11341 fi
11342
11343 else
11344
11345 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
11346 if test "x$LINE" != x ; then
11347 eval "DEFAULT_$LINE"
11348 else
11349 no_cache=1
11350 fi
11351
11352 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11353
11354 fi
11355
11356
11357 eval "$ac_cv_use_dirdlg"
11358 if test "$no_cache" != 1; then
11359 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11360 fi
11361
11362 if test "$wxUSE_DIRDLG" = yes; then
11363 { echo "$as_me:$LINENO: result: yes" >&5
11364 echo "${ECHO_T}yes" >&6; }
11365 else
11366 { echo "$as_me:$LINENO: result: no" >&5
11367 echo "${ECHO_T}no" >&6; }
11368 fi
11369
11370
11371 enablestring=
11372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11373 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11374 no_cache=0
11375 # Check whether --enable-msgdlg was given.
11376 if test "${enable_msgdlg+set}" = set; then
11377 enableval=$enable_msgdlg;
11378 if test "$enableval" = yes; then
11379 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11380 else
11381 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11382 fi
11383
11384 else
11385
11386 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
11387 if test "x$LINE" != x ; then
11388 eval "DEFAULT_$LINE"
11389 else
11390 no_cache=1
11391 fi
11392
11393 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11394
11395 fi
11396
11397
11398 eval "$ac_cv_use_msgdlg"
11399 if test "$no_cache" != 1; then
11400 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11401 fi
11402
11403 if test "$wxUSE_MSGDLG" = yes; then
11404 { echo "$as_me:$LINENO: result: yes" >&5
11405 echo "${ECHO_T}yes" >&6; }
11406 else
11407 { echo "$as_me:$LINENO: result: no" >&5
11408 echo "${ECHO_T}no" >&6; }
11409 fi
11410
11411
11412 enablestring=
11413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11414 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11415 no_cache=0
11416 # Check whether --enable-numberdlg was given.
11417 if test "${enable_numberdlg+set}" = set; then
11418 enableval=$enable_numberdlg;
11419 if test "$enableval" = yes; then
11420 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11421 else
11422 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11423 fi
11424
11425 else
11426
11427 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
11428 if test "x$LINE" != x ; then
11429 eval "DEFAULT_$LINE"
11430 else
11431 no_cache=1
11432 fi
11433
11434 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11435
11436 fi
11437
11438
11439 eval "$ac_cv_use_numberdlg"
11440 if test "$no_cache" != 1; then
11441 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11442 fi
11443
11444 if test "$wxUSE_NUMBERDLG" = yes; then
11445 { echo "$as_me:$LINENO: result: yes" >&5
11446 echo "${ECHO_T}yes" >&6; }
11447 else
11448 { echo "$as_me:$LINENO: result: no" >&5
11449 echo "${ECHO_T}no" >&6; }
11450 fi
11451
11452
11453 enablestring=
11454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11455 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11456 no_cache=0
11457 # Check whether --enable-splash was given.
11458 if test "${enable_splash+set}" = set; then
11459 enableval=$enable_splash;
11460 if test "$enableval" = yes; then
11461 ac_cv_use_splash='wxUSE_SPLASH=yes'
11462 else
11463 ac_cv_use_splash='wxUSE_SPLASH=no'
11464 fi
11465
11466 else
11467
11468 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
11469 if test "x$LINE" != x ; then
11470 eval "DEFAULT_$LINE"
11471 else
11472 no_cache=1
11473 fi
11474
11475 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11476
11477 fi
11478
11479
11480 eval "$ac_cv_use_splash"
11481 if test "$no_cache" != 1; then
11482 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11483 fi
11484
11485 if test "$wxUSE_SPLASH" = yes; then
11486 { echo "$as_me:$LINENO: result: yes" >&5
11487 echo "${ECHO_T}yes" >&6; }
11488 else
11489 { echo "$as_me:$LINENO: result: no" >&5
11490 echo "${ECHO_T}no" >&6; }
11491 fi
11492
11493
11494 enablestring=
11495 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11496 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11497 no_cache=0
11498 # Check whether --enable-textdlg was given.
11499 if test "${enable_textdlg+set}" = set; then
11500 enableval=$enable_textdlg;
11501 if test "$enableval" = yes; then
11502 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11503 else
11504 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11505 fi
11506
11507 else
11508
11509 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
11510 if test "x$LINE" != x ; then
11511 eval "DEFAULT_$LINE"
11512 else
11513 no_cache=1
11514 fi
11515
11516 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11517
11518 fi
11519
11520
11521 eval "$ac_cv_use_textdlg"
11522 if test "$no_cache" != 1; then
11523 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11524 fi
11525
11526 if test "$wxUSE_TEXTDLG" = yes; then
11527 { echo "$as_me:$LINENO: result: yes" >&5
11528 echo "${ECHO_T}yes" >&6; }
11529 else
11530 { echo "$as_me:$LINENO: result: no" >&5
11531 echo "${ECHO_T}no" >&6; }
11532 fi
11533
11534
11535 enablestring=
11536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11537 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11538 no_cache=0
11539 # Check whether --enable-tipdlg was given.
11540 if test "${enable_tipdlg+set}" = set; then
11541 enableval=$enable_tipdlg;
11542 if test "$enableval" = yes; then
11543 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11544 else
11545 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11546 fi
11547
11548 else
11549
11550 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
11551 if test "x$LINE" != x ; then
11552 eval "DEFAULT_$LINE"
11553 else
11554 no_cache=1
11555 fi
11556
11557 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11558
11559 fi
11560
11561
11562 eval "$ac_cv_use_tipdlg"
11563 if test "$no_cache" != 1; then
11564 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11565 fi
11566
11567 if test "$wxUSE_STARTUP_TIPS" = yes; then
11568 { echo "$as_me:$LINENO: result: yes" >&5
11569 echo "${ECHO_T}yes" >&6; }
11570 else
11571 { echo "$as_me:$LINENO: result: no" >&5
11572 echo "${ECHO_T}no" >&6; }
11573 fi
11574
11575
11576 enablestring=
11577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11578 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11579 no_cache=0
11580 # Check whether --enable-progressdlg was given.
11581 if test "${enable_progressdlg+set}" = set; then
11582 enableval=$enable_progressdlg;
11583 if test "$enableval" = yes; then
11584 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11585 else
11586 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11587 fi
11588
11589 else
11590
11591 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
11592 if test "x$LINE" != x ; then
11593 eval "DEFAULT_$LINE"
11594 else
11595 no_cache=1
11596 fi
11597
11598 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11599
11600 fi
11601
11602
11603 eval "$ac_cv_use_progressdlg"
11604 if test "$no_cache" != 1; then
11605 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11606 fi
11607
11608 if test "$wxUSE_PROGRESSDLG" = yes; then
11609 { echo "$as_me:$LINENO: result: yes" >&5
11610 echo "${ECHO_T}yes" >&6; }
11611 else
11612 { echo "$as_me:$LINENO: result: no" >&5
11613 echo "${ECHO_T}no" >&6; }
11614 fi
11615
11616
11617 enablestring=
11618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11619 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11620 no_cache=0
11621 # Check whether --enable-wizarddlg was given.
11622 if test "${enable_wizarddlg+set}" = set; then
11623 enableval=$enable_wizarddlg;
11624 if test "$enableval" = yes; then
11625 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11626 else
11627 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11628 fi
11629
11630 else
11631
11632 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11633 if test "x$LINE" != x ; then
11634 eval "DEFAULT_$LINE"
11635 else
11636 no_cache=1
11637 fi
11638
11639 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11640
11641 fi
11642
11643
11644 eval "$ac_cv_use_wizarddlg"
11645 if test "$no_cache" != 1; then
11646 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11647 fi
11648
11649 if test "$wxUSE_WIZARDDLG" = yes; then
11650 { echo "$as_me:$LINENO: result: yes" >&5
11651 echo "${ECHO_T}yes" >&6; }
11652 else
11653 { echo "$as_me:$LINENO: result: no" >&5
11654 echo "${ECHO_T}no" >&6; }
11655 fi
11656
11657
11658
11659
11660 enablestring=
11661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11662 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11663 no_cache=0
11664 # Check whether --enable-menus was given.
11665 if test "${enable_menus+set}" = set; then
11666 enableval=$enable_menus;
11667 if test "$enableval" = yes; then
11668 ac_cv_use_menus='wxUSE_MENUS=yes'
11669 else
11670 ac_cv_use_menus='wxUSE_MENUS=no'
11671 fi
11672
11673 else
11674
11675 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11676 if test "x$LINE" != x ; then
11677 eval "DEFAULT_$LINE"
11678 else
11679 no_cache=1
11680 fi
11681
11682 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11683
11684 fi
11685
11686
11687 eval "$ac_cv_use_menus"
11688 if test "$no_cache" != 1; then
11689 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11690 fi
11691
11692 if test "$wxUSE_MENUS" = yes; then
11693 { echo "$as_me:$LINENO: result: yes" >&5
11694 echo "${ECHO_T}yes" >&6; }
11695 else
11696 { echo "$as_me:$LINENO: result: no" >&5
11697 echo "${ECHO_T}no" >&6; }
11698 fi
11699
11700
11701 enablestring=
11702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11703 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11704 no_cache=0
11705 # Check whether --enable-miniframe was given.
11706 if test "${enable_miniframe+set}" = set; then
11707 enableval=$enable_miniframe;
11708 if test "$enableval" = yes; then
11709 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11710 else
11711 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11712 fi
11713
11714 else
11715
11716 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11717 if test "x$LINE" != x ; then
11718 eval "DEFAULT_$LINE"
11719 else
11720 no_cache=1
11721 fi
11722
11723 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11724
11725 fi
11726
11727
11728 eval "$ac_cv_use_miniframe"
11729 if test "$no_cache" != 1; then
11730 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11731 fi
11732
11733 if test "$wxUSE_MINIFRAME" = yes; then
11734 { echo "$as_me:$LINENO: result: yes" >&5
11735 echo "${ECHO_T}yes" >&6; }
11736 else
11737 { echo "$as_me:$LINENO: result: no" >&5
11738 echo "${ECHO_T}no" >&6; }
11739 fi
11740
11741
11742 enablestring=
11743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11744 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11745 no_cache=0
11746 # Check whether --enable-tooltips was given.
11747 if test "${enable_tooltips+set}" = set; then
11748 enableval=$enable_tooltips;
11749 if test "$enableval" = yes; then
11750 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11751 else
11752 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11753 fi
11754
11755 else
11756
11757 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11758 if test "x$LINE" != x ; then
11759 eval "DEFAULT_$LINE"
11760 else
11761 no_cache=1
11762 fi
11763
11764 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11765
11766 fi
11767
11768
11769 eval "$ac_cv_use_tooltips"
11770 if test "$no_cache" != 1; then
11771 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11772 fi
11773
11774 if test "$wxUSE_TOOLTIPS" = yes; then
11775 { echo "$as_me:$LINENO: result: yes" >&5
11776 echo "${ECHO_T}yes" >&6; }
11777 else
11778 { echo "$as_me:$LINENO: result: no" >&5
11779 echo "${ECHO_T}no" >&6; }
11780 fi
11781
11782
11783 enablestring=
11784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11785 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11786 no_cache=0
11787 # Check whether --enable-splines was given.
11788 if test "${enable_splines+set}" = set; then
11789 enableval=$enable_splines;
11790 if test "$enableval" = yes; then
11791 ac_cv_use_splines='wxUSE_SPLINES=yes'
11792 else
11793 ac_cv_use_splines='wxUSE_SPLINES=no'
11794 fi
11795
11796 else
11797
11798 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11799 if test "x$LINE" != x ; then
11800 eval "DEFAULT_$LINE"
11801 else
11802 no_cache=1
11803 fi
11804
11805 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11806
11807 fi
11808
11809
11810 eval "$ac_cv_use_splines"
11811 if test "$no_cache" != 1; then
11812 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11813 fi
11814
11815 if test "$wxUSE_SPLINES" = yes; then
11816 { echo "$as_me:$LINENO: result: yes" >&5
11817 echo "${ECHO_T}yes" >&6; }
11818 else
11819 { echo "$as_me:$LINENO: result: no" >&5
11820 echo "${ECHO_T}no" >&6; }
11821 fi
11822
11823
11824 enablestring=
11825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11826 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
11827 no_cache=0
11828 # Check whether --enable-mousewheel was given.
11829 if test "${enable_mousewheel+set}" = set; then
11830 enableval=$enable_mousewheel;
11831 if test "$enableval" = yes; then
11832 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11833 else
11834 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11835 fi
11836
11837 else
11838
11839 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11840 if test "x$LINE" != x ; then
11841 eval "DEFAULT_$LINE"
11842 else
11843 no_cache=1
11844 fi
11845
11846 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11847
11848 fi
11849
11850
11851 eval "$ac_cv_use_mousewheel"
11852 if test "$no_cache" != 1; then
11853 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11854 fi
11855
11856 if test "$wxUSE_MOUSEWHEEL" = yes; then
11857 { echo "$as_me:$LINENO: result: yes" >&5
11858 echo "${ECHO_T}yes" >&6; }
11859 else
11860 { echo "$as_me:$LINENO: result: no" >&5
11861 echo "${ECHO_T}no" >&6; }
11862 fi
11863
11864
11865 enablestring=
11866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11867 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
11868 no_cache=0
11869 # Check whether --enable-validators was given.
11870 if test "${enable_validators+set}" = set; then
11871 enableval=$enable_validators;
11872 if test "$enableval" = yes; then
11873 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11874 else
11875 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11876 fi
11877
11878 else
11879
11880 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11881 if test "x$LINE" != x ; then
11882 eval "DEFAULT_$LINE"
11883 else
11884 no_cache=1
11885 fi
11886
11887 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11888
11889 fi
11890
11891
11892 eval "$ac_cv_use_validators"
11893 if test "$no_cache" != 1; then
11894 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11895 fi
11896
11897 if test "$wxUSE_VALIDATORS" = yes; then
11898 { echo "$as_me:$LINENO: result: yes" >&5
11899 echo "${ECHO_T}yes" >&6; }
11900 else
11901 { echo "$as_me:$LINENO: result: no" >&5
11902 echo "${ECHO_T}no" >&6; }
11903 fi
11904
11905
11906 enablestring=
11907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11908 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
11909 no_cache=0
11910 # Check whether --enable-busyinfo was given.
11911 if test "${enable_busyinfo+set}" = set; then
11912 enableval=$enable_busyinfo;
11913 if test "$enableval" = yes; then
11914 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11915 else
11916 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11917 fi
11918
11919 else
11920
11921 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11922 if test "x$LINE" != x ; then
11923 eval "DEFAULT_$LINE"
11924 else
11925 no_cache=1
11926 fi
11927
11928 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11929
11930 fi
11931
11932
11933 eval "$ac_cv_use_busyinfo"
11934 if test "$no_cache" != 1; then
11935 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11936 fi
11937
11938 if test "$wxUSE_BUSYINFO" = yes; then
11939 { echo "$as_me:$LINENO: result: yes" >&5
11940 echo "${ECHO_T}yes" >&6; }
11941 else
11942 { echo "$as_me:$LINENO: result: no" >&5
11943 echo "${ECHO_T}no" >&6; }
11944 fi
11945
11946
11947 enablestring=
11948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11949 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
11950 no_cache=0
11951 # Check whether --enable-joystick was given.
11952 if test "${enable_joystick+set}" = set; then
11953 enableval=$enable_joystick;
11954 if test "$enableval" = yes; then
11955 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11956 else
11957 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11958 fi
11959
11960 else
11961
11962 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11963 if test "x$LINE" != x ; then
11964 eval "DEFAULT_$LINE"
11965 else
11966 no_cache=1
11967 fi
11968
11969 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11970
11971 fi
11972
11973
11974 eval "$ac_cv_use_joystick"
11975 if test "$no_cache" != 1; then
11976 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11977 fi
11978
11979 if test "$wxUSE_JOYSTICK" = yes; then
11980 { echo "$as_me:$LINENO: result: yes" >&5
11981 echo "${ECHO_T}yes" >&6; }
11982 else
11983 { echo "$as_me:$LINENO: result: no" >&5
11984 echo "${ECHO_T}no" >&6; }
11985 fi
11986
11987
11988 enablestring=
11989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11990 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
11991 no_cache=0
11992 # Check whether --enable-metafile was given.
11993 if test "${enable_metafile+set}" = set; then
11994 enableval=$enable_metafile;
11995 if test "$enableval" = yes; then
11996 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11997 else
11998 ac_cv_use_metafile='wxUSE_METAFILE=no'
11999 fi
12000
12001 else
12002
12003 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
12004 if test "x$LINE" != x ; then
12005 eval "DEFAULT_$LINE"
12006 else
12007 no_cache=1
12008 fi
12009
12010 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
12011
12012 fi
12013
12014
12015 eval "$ac_cv_use_metafile"
12016 if test "$no_cache" != 1; then
12017 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
12018 fi
12019
12020 if test "$wxUSE_METAFILE" = yes; then
12021 { echo "$as_me:$LINENO: result: yes" >&5
12022 echo "${ECHO_T}yes" >&6; }
12023 else
12024 { echo "$as_me:$LINENO: result: no" >&5
12025 echo "${ECHO_T}no" >&6; }
12026 fi
12027
12028
12029 enablestring=
12030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12031 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12032 no_cache=0
12033 # Check whether --enable-dragimage was given.
12034 if test "${enable_dragimage+set}" = set; then
12035 enableval=$enable_dragimage;
12036 if test "$enableval" = yes; then
12037 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12038 else
12039 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12040 fi
12041
12042 else
12043
12044 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
12045 if test "x$LINE" != x ; then
12046 eval "DEFAULT_$LINE"
12047 else
12048 no_cache=1
12049 fi
12050
12051 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12052
12053 fi
12054
12055
12056 eval "$ac_cv_use_dragimage"
12057 if test "$no_cache" != 1; then
12058 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12059 fi
12060
12061 if test "$wxUSE_DRAGIMAGE" = yes; then
12062 { echo "$as_me:$LINENO: result: yes" >&5
12063 echo "${ECHO_T}yes" >&6; }
12064 else
12065 { echo "$as_me:$LINENO: result: no" >&5
12066 echo "${ECHO_T}no" >&6; }
12067 fi
12068
12069
12070 enablestring=
12071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12072 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12073 no_cache=0
12074 # Check whether --enable-accessibility was given.
12075 if test "${enable_accessibility+set}" = set; then
12076 enableval=$enable_accessibility;
12077 if test "$enableval" = yes; then
12078 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12079 else
12080 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12081 fi
12082
12083 else
12084
12085 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
12086 if test "x$LINE" != x ; then
12087 eval "DEFAULT_$LINE"
12088 else
12089 no_cache=1
12090 fi
12091
12092 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12093
12094 fi
12095
12096
12097 eval "$ac_cv_use_accessibility"
12098 if test "$no_cache" != 1; then
12099 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12100 fi
12101
12102 if test "$wxUSE_ACCESSIBILITY" = yes; then
12103 { echo "$as_me:$LINENO: result: yes" >&5
12104 echo "${ECHO_T}yes" >&6; }
12105 else
12106 { echo "$as_me:$LINENO: result: no" >&5
12107 echo "${ECHO_T}no" >&6; }
12108 fi
12109
12110
12111 if test "$wxUSE_MSW" = "1"; then
12112
12113 enablestring=
12114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12115 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12116 no_cache=0
12117 # Check whether --enable-dccache was given.
12118 if test "${enable_dccache+set}" = set; then
12119 enableval=$enable_dccache;
12120 if test "$enableval" = yes; then
12121 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12122 else
12123 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12124 fi
12125
12126 else
12127
12128 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
12129 if test "x$LINE" != x ; then
12130 eval "DEFAULT_$LINE"
12131 else
12132 no_cache=1
12133 fi
12134
12135 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12136
12137 fi
12138
12139
12140 eval "$ac_cv_use_dccache"
12141 if test "$no_cache" != 1; then
12142 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12143 fi
12144
12145 if test "$wxUSE_DC_CACHEING" = yes; then
12146 { echo "$as_me:$LINENO: result: yes" >&5
12147 echo "${ECHO_T}yes" >&6; }
12148 else
12149 { echo "$as_me:$LINENO: result: no" >&5
12150 echo "${ECHO_T}no" >&6; }
12151 fi
12152
12153 fi
12154
12155
12156
12157 enablestring=
12158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12159 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12160 no_cache=0
12161 # Check whether --enable-palette was given.
12162 if test "${enable_palette+set}" = set; then
12163 enableval=$enable_palette;
12164 if test "$enableval" = yes; then
12165 ac_cv_use_palette='wxUSE_PALETTE=yes'
12166 else
12167 ac_cv_use_palette='wxUSE_PALETTE=no'
12168 fi
12169
12170 else
12171
12172 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
12173 if test "x$LINE" != x ; then
12174 eval "DEFAULT_$LINE"
12175 else
12176 no_cache=1
12177 fi
12178
12179 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12180
12181 fi
12182
12183
12184 eval "$ac_cv_use_palette"
12185 if test "$no_cache" != 1; then
12186 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12187 fi
12188
12189 if test "$wxUSE_PALETTE" = yes; then
12190 { echo "$as_me:$LINENO: result: yes" >&5
12191 echo "${ECHO_T}yes" >&6; }
12192 else
12193 { echo "$as_me:$LINENO: result: no" >&5
12194 echo "${ECHO_T}no" >&6; }
12195 fi
12196
12197
12198 enablestring=
12199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12200 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12201 no_cache=0
12202 # Check whether --enable-image was given.
12203 if test "${enable_image+set}" = set; then
12204 enableval=$enable_image;
12205 if test "$enableval" = yes; then
12206 ac_cv_use_image='wxUSE_IMAGE=yes'
12207 else
12208 ac_cv_use_image='wxUSE_IMAGE=no'
12209 fi
12210
12211 else
12212
12213 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
12214 if test "x$LINE" != x ; then
12215 eval "DEFAULT_$LINE"
12216 else
12217 no_cache=1
12218 fi
12219
12220 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12221
12222 fi
12223
12224
12225 eval "$ac_cv_use_image"
12226 if test "$no_cache" != 1; then
12227 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12228 fi
12229
12230 if test "$wxUSE_IMAGE" = yes; then
12231 { echo "$as_me:$LINENO: result: yes" >&5
12232 echo "${ECHO_T}yes" >&6; }
12233 else
12234 { echo "$as_me:$LINENO: result: no" >&5
12235 echo "${ECHO_T}no" >&6; }
12236 fi
12237
12238
12239 enablestring=
12240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12241 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12242 no_cache=0
12243 # Check whether --enable-gif was given.
12244 if test "${enable_gif+set}" = set; then
12245 enableval=$enable_gif;
12246 if test "$enableval" = yes; then
12247 ac_cv_use_gif='wxUSE_GIF=yes'
12248 else
12249 ac_cv_use_gif='wxUSE_GIF=no'
12250 fi
12251
12252 else
12253
12254 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
12255 if test "x$LINE" != x ; then
12256 eval "DEFAULT_$LINE"
12257 else
12258 no_cache=1
12259 fi
12260
12261 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12262
12263 fi
12264
12265
12266 eval "$ac_cv_use_gif"
12267 if test "$no_cache" != 1; then
12268 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12269 fi
12270
12271 if test "$wxUSE_GIF" = yes; then
12272 { echo "$as_me:$LINENO: result: yes" >&5
12273 echo "${ECHO_T}yes" >&6; }
12274 else
12275 { echo "$as_me:$LINENO: result: no" >&5
12276 echo "${ECHO_T}no" >&6; }
12277 fi
12278
12279
12280 enablestring=
12281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12282 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12283 no_cache=0
12284 # Check whether --enable-pcx was given.
12285 if test "${enable_pcx+set}" = set; then
12286 enableval=$enable_pcx;
12287 if test "$enableval" = yes; then
12288 ac_cv_use_pcx='wxUSE_PCX=yes'
12289 else
12290 ac_cv_use_pcx='wxUSE_PCX=no'
12291 fi
12292
12293 else
12294
12295 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
12296 if test "x$LINE" != x ; then
12297 eval "DEFAULT_$LINE"
12298 else
12299 no_cache=1
12300 fi
12301
12302 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12303
12304 fi
12305
12306
12307 eval "$ac_cv_use_pcx"
12308 if test "$no_cache" != 1; then
12309 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12310 fi
12311
12312 if test "$wxUSE_PCX" = yes; then
12313 { echo "$as_me:$LINENO: result: yes" >&5
12314 echo "${ECHO_T}yes" >&6; }
12315 else
12316 { echo "$as_me:$LINENO: result: no" >&5
12317 echo "${ECHO_T}no" >&6; }
12318 fi
12319
12320
12321 enablestring=
12322 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12323 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12324 no_cache=0
12325 # Check whether --enable-tga was given.
12326 if test "${enable_tga+set}" = set; then
12327 enableval=$enable_tga;
12328 if test "$enableval" = yes; then
12329 ac_cv_use_tga='wxUSE_TGA=yes'
12330 else
12331 ac_cv_use_tga='wxUSE_TGA=no'
12332 fi
12333
12334 else
12335
12336 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
12337 if test "x$LINE" != x ; then
12338 eval "DEFAULT_$LINE"
12339 else
12340 no_cache=1
12341 fi
12342
12343 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12344
12345 fi
12346
12347
12348 eval "$ac_cv_use_tga"
12349 if test "$no_cache" != 1; then
12350 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12351 fi
12352
12353 if test "$wxUSE_TGA" = yes; then
12354 { echo "$as_me:$LINENO: result: yes" >&5
12355 echo "${ECHO_T}yes" >&6; }
12356 else
12357 { echo "$as_me:$LINENO: result: no" >&5
12358 echo "${ECHO_T}no" >&6; }
12359 fi
12360
12361
12362 enablestring=
12363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12364 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12365 no_cache=0
12366 # Check whether --enable-iff was given.
12367 if test "${enable_iff+set}" = set; then
12368 enableval=$enable_iff;
12369 if test "$enableval" = yes; then
12370 ac_cv_use_iff='wxUSE_IFF=yes'
12371 else
12372 ac_cv_use_iff='wxUSE_IFF=no'
12373 fi
12374
12375 else
12376
12377 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
12378 if test "x$LINE" != x ; then
12379 eval "DEFAULT_$LINE"
12380 else
12381 no_cache=1
12382 fi
12383
12384 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12385
12386 fi
12387
12388
12389 eval "$ac_cv_use_iff"
12390 if test "$no_cache" != 1; then
12391 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12392 fi
12393
12394 if test "$wxUSE_IFF" = yes; then
12395 { echo "$as_me:$LINENO: result: yes" >&5
12396 echo "${ECHO_T}yes" >&6; }
12397 else
12398 { echo "$as_me:$LINENO: result: no" >&5
12399 echo "${ECHO_T}no" >&6; }
12400 fi
12401
12402
12403 enablestring=
12404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12405 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12406 no_cache=0
12407 # Check whether --enable-pnm was given.
12408 if test "${enable_pnm+set}" = set; then
12409 enableval=$enable_pnm;
12410 if test "$enableval" = yes; then
12411 ac_cv_use_pnm='wxUSE_PNM=yes'
12412 else
12413 ac_cv_use_pnm='wxUSE_PNM=no'
12414 fi
12415
12416 else
12417
12418 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
12419 if test "x$LINE" != x ; then
12420 eval "DEFAULT_$LINE"
12421 else
12422 no_cache=1
12423 fi
12424
12425 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12426
12427 fi
12428
12429
12430 eval "$ac_cv_use_pnm"
12431 if test "$no_cache" != 1; then
12432 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12433 fi
12434
12435 if test "$wxUSE_PNM" = yes; then
12436 { echo "$as_me:$LINENO: result: yes" >&5
12437 echo "${ECHO_T}yes" >&6; }
12438 else
12439 { echo "$as_me:$LINENO: result: no" >&5
12440 echo "${ECHO_T}no" >&6; }
12441 fi
12442
12443
12444 enablestring=
12445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12446 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12447 no_cache=0
12448 # Check whether --enable-xpm was given.
12449 if test "${enable_xpm+set}" = set; then
12450 enableval=$enable_xpm;
12451 if test "$enableval" = yes; then
12452 ac_cv_use_xpm='wxUSE_XPM=yes'
12453 else
12454 ac_cv_use_xpm='wxUSE_XPM=no'
12455 fi
12456
12457 else
12458
12459 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
12460 if test "x$LINE" != x ; then
12461 eval "DEFAULT_$LINE"
12462 else
12463 no_cache=1
12464 fi
12465
12466 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12467
12468 fi
12469
12470
12471 eval "$ac_cv_use_xpm"
12472 if test "$no_cache" != 1; then
12473 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12474 fi
12475
12476 if test "$wxUSE_XPM" = yes; then
12477 { echo "$as_me:$LINENO: result: yes" >&5
12478 echo "${ECHO_T}yes" >&6; }
12479 else
12480 { echo "$as_me:$LINENO: result: no" >&5
12481 echo "${ECHO_T}no" >&6; }
12482 fi
12483
12484
12485 enablestring=
12486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12487 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12488 no_cache=0
12489 # Check whether --enable-ico_cur was given.
12490 if test "${enable_ico_cur+set}" = set; then
12491 enableval=$enable_ico_cur;
12492 if test "$enableval" = yes; then
12493 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12494 else
12495 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12496 fi
12497
12498 else
12499
12500 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
12501 if test "x$LINE" != x ; then
12502 eval "DEFAULT_$LINE"
12503 else
12504 no_cache=1
12505 fi
12506
12507 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12508
12509 fi
12510
12511
12512 eval "$ac_cv_use_ico_cur"
12513 if test "$no_cache" != 1; then
12514 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12515 fi
12516
12517 if test "$wxUSE_ICO_CUR" = yes; then
12518 { echo "$as_me:$LINENO: result: yes" >&5
12519 echo "${ECHO_T}yes" >&6; }
12520 else
12521 { echo "$as_me:$LINENO: result: no" >&5
12522 echo "${ECHO_T}no" >&6; }
12523 fi
12524
12525
12526 fi
12527
12528
12529
12530 # Check whether --with-flavour was given.
12531 if test "${with_flavour+set}" = set; then
12532 withval=$with_flavour; WX_FLAVOUR="$withval"
12533 fi
12534
12535
12536
12537
12538 enablestring=
12539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12540 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12541 no_cache=0
12542 # Check whether --enable-official_build was given.
12543 if test "${enable_official_build+set}" = set; then
12544 enableval=$enable_official_build;
12545 if test "$enableval" = yes; then
12546 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12547 else
12548 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12549 fi
12550
12551 else
12552
12553 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
12554 if test "x$LINE" != x ; then
12555 eval "DEFAULT_$LINE"
12556 else
12557 no_cache=1
12558 fi
12559
12560 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12561
12562 fi
12563
12564
12565 eval "$ac_cv_use_official_build"
12566 if test "$no_cache" != 1; then
12567 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12568 fi
12569
12570 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12571 { echo "$as_me:$LINENO: result: yes" >&5
12572 echo "${ECHO_T}yes" >&6; }
12573 else
12574 { echo "$as_me:$LINENO: result: no" >&5
12575 echo "${ECHO_T}no" >&6; }
12576 fi
12577
12578 # Check whether --enable-vendor was given.
12579 if test "${enable_vendor+set}" = set; then
12580 enableval=$enable_vendor; VENDOR="$enableval"
12581 fi
12582
12583 if test "x$VENDOR" = "x"; then
12584 VENDOR="custom"
12585 fi
12586
12587
12588
12589
12590 echo "saving argument cache $wx_arg_cache_file"
12591 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12592
12593
12594
12595 { echo "$as_me:$LINENO: checking for toolkit" >&5
12596 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12597
12598 # In Wine, we need to default to MSW, not GTK or MOTIF
12599 if test "$wxUSE_WINE" = "yes"; then
12600 DEFAULT_DEFAULT_wxUSE_GTK=0
12601 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12602 DEFAULT_DEFAULT_wxUSE_MSW=1
12603 wxUSE_SHARED=no
12604 CC=${CC:-winegcc}
12605 CXX=${CXX:-wineg++}
12606 fi
12607
12608
12609 if test "$wxUSE_GUI" = "yes"; then
12610
12611 if test "$USE_BEOS" = 1; then
12612 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12613 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12614 { (exit 1); exit 1; }; }
12615 fi
12616
12617 if test "$TOOLKIT_GIVEN" = 1; then
12618 for toolkit in `echo $ALL_TOOLKITS`; do
12619 var=wxUSE_$toolkit
12620 eval "value=\$${var}"
12621 if test "x$value" = "xno"; then
12622 eval "$var=0"
12623 elif test "x$value" != "x"; then
12624 eval "$var=1"
12625 fi
12626
12627 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12628 eval "wx${toolkit}_VERSION=$value"
12629 fi
12630 done
12631 else
12632 for toolkit in `echo $ALL_TOOLKITS`; do
12633 if test "$has_toolkit_in_cache" != 1; then
12634 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12635 else
12636 var=DEFAULT_wxUSE_$toolkit
12637
12638 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12639 if test "x$version" != "x"; then
12640 eval "wx${toolkit}_VERSION=$version"
12641 fi
12642 fi
12643 eval "wxUSE_$toolkit=\$${var}"
12644 done
12645 fi
12646
12647 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12648 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12649 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12650
12651 case "${host}" in
12652 *-pc-os2_emx | *-pc-os2-emx )
12653 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12654 esac
12655
12656 case "$NUM_TOOLKITS" in
12657 1)
12658 ;;
12659 0)
12660 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12661 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12662 { (exit 1); exit 1; }; }
12663 ;;
12664 *)
12665 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12666 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12667 { (exit 1); exit 1; }; }
12668 esac
12669
12670 # to be removed when --disable-gtk2 isn't needed
12671 if test "x$wxUSE_GTK2" = "xyes"; then
12672 wxGTK_VERSION=2
12673 elif test "x$wxUSE_GTK2" = "xno"; then
12674 wxGTK_VERSION=1
12675 fi
12676
12677 for toolkit in `echo $ALL_TOOLKITS`; do
12678 var=wxUSE_$toolkit
12679 eval "value=\$${var}"
12680 if test "x$value" != x; then
12681 cache_var=CACHE_$toolkit
12682 eval "cache=\$${cache_var}"
12683 if test "$cache" = 1; then
12684 echo "$var=$value" >> ${wx_arg_cache_file}
12685 eval "version=\$wx${toolkit}_VERSION"
12686 if test "x$version" != "x"; then
12687 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12688 fi
12689 fi
12690 if test "$value" = 1; then
12691 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12692 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12693 echo "${ECHO_T}$toolkit_echo" >&6; }
12694 fi
12695 fi
12696 done
12697 else
12698 if test "x$host_alias" != "x"; then
12699 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12700 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12701 else
12702 { echo "$as_me:$LINENO: result: base only" >&5
12703 echo "${ECHO_T}base only" >&6; }
12704 fi
12705 fi
12706
12707
12708 cat >confcache <<\_ACEOF
12709 # This file is a shell script that caches the results of configure
12710 # tests run on this system so they can be shared between configure
12711 # scripts and configure runs, see configure's option --config-cache.
12712 # It is not useful on other systems. If it contains results you don't
12713 # want to keep, you may remove or edit it.
12714 #
12715 # config.status only pays attention to the cache file if you give it
12716 # the --recheck option to rerun configure.
12717 #
12718 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12719 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12720 # following values.
12721
12722 _ACEOF
12723
12724 # The following way of writing the cache mishandles newlines in values,
12725 # but we know of no workaround that is simple, portable, and efficient.
12726 # So, we kill variables containing newlines.
12727 # Ultrix sh set writes to stderr and can't be redirected directly,
12728 # and sets the high bit in the cache file unless we assign to the vars.
12729 (
12730 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12731 eval ac_val=\$$ac_var
12732 case $ac_val in #(
12733 *${as_nl}*)
12734 case $ac_var in #(
12735 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12736 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12737 esac
12738 case $ac_var in #(
12739 _ | IFS | as_nl) ;; #(
12740 *) $as_unset $ac_var ;;
12741 esac ;;
12742 esac
12743 done
12744
12745 (set) 2>&1 |
12746 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12747 *${as_nl}ac_space=\ *)
12748 # `set' does not quote correctly, so add quotes (double-quote
12749 # substitution turns \\\\ into \\, and sed turns \\ into \).
12750 sed -n \
12751 "s/'/'\\\\''/g;
12752 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12753 ;; #(
12754 *)
12755 # `set' quotes correctly as required by POSIX, so do not add quotes.
12756 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12757 ;;
12758 esac |
12759 sort
12760 ) |
12761 sed '
12762 /^ac_cv_env_/b end
12763 t clear
12764 :clear
12765 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12766 t end
12767 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12768 :end' >>confcache
12769 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12770 if test -w "$cache_file"; then
12771 test "x$cache_file" != "x/dev/null" &&
12772 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12773 echo "$as_me: updating cache $cache_file" >&6;}
12774 cat confcache >$cache_file
12775 else
12776 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12777 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12778 fi
12779 fi
12780 rm -f confcache
12781
12782 CFLAGS=${CFLAGS:=}
12783
12784
12785
12786 ac_ext=c
12787 ac_cpp='$CPP $CPPFLAGS'
12788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12791 if test -n "$ac_tool_prefix"; then
12792 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12793 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12794 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12796 if test "${ac_cv_prog_CC+set}" = set; then
12797 echo $ECHO_N "(cached) $ECHO_C" >&6
12798 else
12799 if test -n "$CC"; then
12800 ac_cv_prog_CC="$CC" # Let the user override the test.
12801 else
12802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12803 for as_dir in $PATH
12804 do
12805 IFS=$as_save_IFS
12806 test -z "$as_dir" && as_dir=.
12807 for ac_exec_ext in '' $ac_executable_extensions; do
12808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12809 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12811 break 2
12812 fi
12813 done
12814 done
12815 IFS=$as_save_IFS
12816
12817 fi
12818 fi
12819 CC=$ac_cv_prog_CC
12820 if test -n "$CC"; then
12821 { echo "$as_me:$LINENO: result: $CC" >&5
12822 echo "${ECHO_T}$CC" >&6; }
12823 else
12824 { echo "$as_me:$LINENO: result: no" >&5
12825 echo "${ECHO_T}no" >&6; }
12826 fi
12827
12828
12829 fi
12830 if test -z "$ac_cv_prog_CC"; then
12831 ac_ct_CC=$CC
12832 # Extract the first word of "gcc", so it can be a program name with args.
12833 set dummy gcc; ac_word=$2
12834 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12836 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12837 echo $ECHO_N "(cached) $ECHO_C" >&6
12838 else
12839 if test -n "$ac_ct_CC"; then
12840 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12841 else
12842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12843 for as_dir in $PATH
12844 do
12845 IFS=$as_save_IFS
12846 test -z "$as_dir" && as_dir=.
12847 for ac_exec_ext in '' $ac_executable_extensions; do
12848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12849 ac_cv_prog_ac_ct_CC="gcc"
12850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12851 break 2
12852 fi
12853 done
12854 done
12855 IFS=$as_save_IFS
12856
12857 fi
12858 fi
12859 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12860 if test -n "$ac_ct_CC"; then
12861 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12862 echo "${ECHO_T}$ac_ct_CC" >&6; }
12863 else
12864 { echo "$as_me:$LINENO: result: no" >&5
12865 echo "${ECHO_T}no" >&6; }
12866 fi
12867
12868 if test "x$ac_ct_CC" = x; then
12869 CC=""
12870 else
12871 case $cross_compiling:$ac_tool_warned in
12872 yes:)
12873 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12874 whose name does not start with the host triplet. If you think this
12875 configuration is useful to you, please write to autoconf@gnu.org." >&5
12876 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12877 whose name does not start with the host triplet. If you think this
12878 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12879 ac_tool_warned=yes ;;
12880 esac
12881 CC=$ac_ct_CC
12882 fi
12883 else
12884 CC="$ac_cv_prog_CC"
12885 fi
12886
12887 if test -z "$CC"; then
12888 if test -n "$ac_tool_prefix"; then
12889 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12890 set dummy ${ac_tool_prefix}cc; ac_word=$2
12891 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12893 if test "${ac_cv_prog_CC+set}" = set; then
12894 echo $ECHO_N "(cached) $ECHO_C" >&6
12895 else
12896 if test -n "$CC"; then
12897 ac_cv_prog_CC="$CC" # Let the user override the test.
12898 else
12899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12900 for as_dir in $PATH
12901 do
12902 IFS=$as_save_IFS
12903 test -z "$as_dir" && as_dir=.
12904 for ac_exec_ext in '' $ac_executable_extensions; do
12905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12906 ac_cv_prog_CC="${ac_tool_prefix}cc"
12907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12908 break 2
12909 fi
12910 done
12911 done
12912 IFS=$as_save_IFS
12913
12914 fi
12915 fi
12916 CC=$ac_cv_prog_CC
12917 if test -n "$CC"; then
12918 { echo "$as_me:$LINENO: result: $CC" >&5
12919 echo "${ECHO_T}$CC" >&6; }
12920 else
12921 { echo "$as_me:$LINENO: result: no" >&5
12922 echo "${ECHO_T}no" >&6; }
12923 fi
12924
12925
12926 fi
12927 fi
12928 if test -z "$CC"; then
12929 # Extract the first word of "cc", so it can be a program name with args.
12930 set dummy cc; ac_word=$2
12931 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12933 if test "${ac_cv_prog_CC+set}" = set; then
12934 echo $ECHO_N "(cached) $ECHO_C" >&6
12935 else
12936 if test -n "$CC"; then
12937 ac_cv_prog_CC="$CC" # Let the user override the test.
12938 else
12939 ac_prog_rejected=no
12940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12941 for as_dir in $PATH
12942 do
12943 IFS=$as_save_IFS
12944 test -z "$as_dir" && as_dir=.
12945 for ac_exec_ext in '' $ac_executable_extensions; do
12946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12947 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12948 ac_prog_rejected=yes
12949 continue
12950 fi
12951 ac_cv_prog_CC="cc"
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 if test $ac_prog_rejected = yes; then
12960 # We found a bogon in the path, so make sure we never use it.
12961 set dummy $ac_cv_prog_CC
12962 shift
12963 if test $# != 0; then
12964 # We chose a different compiler from the bogus one.
12965 # However, it has the same basename, so the bogon will be chosen
12966 # first if we set CC to just the basename; use the full file name.
12967 shift
12968 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12969 fi
12970 fi
12971 fi
12972 fi
12973 CC=$ac_cv_prog_CC
12974 if test -n "$CC"; then
12975 { echo "$as_me:$LINENO: result: $CC" >&5
12976 echo "${ECHO_T}$CC" >&6; }
12977 else
12978 { echo "$as_me:$LINENO: result: no" >&5
12979 echo "${ECHO_T}no" >&6; }
12980 fi
12981
12982
12983 fi
12984 if test -z "$CC"; then
12985 if test -n "$ac_tool_prefix"; then
12986 for ac_prog in cl.exe
12987 do
12988 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12989 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12992 if test "${ac_cv_prog_CC+set}" = set; then
12993 echo $ECHO_N "(cached) $ECHO_C" >&6
12994 else
12995 if test -n "$CC"; then
12996 ac_cv_prog_CC="$CC" # Let the user override the test.
12997 else
12998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12999 for as_dir in $PATH
13000 do
13001 IFS=$as_save_IFS
13002 test -z "$as_dir" && as_dir=.
13003 for ac_exec_ext in '' $ac_executable_extensions; do
13004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13005 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13007 break 2
13008 fi
13009 done
13010 done
13011 IFS=$as_save_IFS
13012
13013 fi
13014 fi
13015 CC=$ac_cv_prog_CC
13016 if test -n "$CC"; then
13017 { echo "$as_me:$LINENO: result: $CC" >&5
13018 echo "${ECHO_T}$CC" >&6; }
13019 else
13020 { echo "$as_me:$LINENO: result: no" >&5
13021 echo "${ECHO_T}no" >&6; }
13022 fi
13023
13024
13025 test -n "$CC" && break
13026 done
13027 fi
13028 if test -z "$CC"; then
13029 ac_ct_CC=$CC
13030 for ac_prog in cl.exe
13031 do
13032 # Extract the first word of "$ac_prog", so it can be a program name with args.
13033 set dummy $ac_prog; ac_word=$2
13034 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13036 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13037 echo $ECHO_N "(cached) $ECHO_C" >&6
13038 else
13039 if test -n "$ac_ct_CC"; then
13040 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13041 else
13042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13043 for as_dir in $PATH
13044 do
13045 IFS=$as_save_IFS
13046 test -z "$as_dir" && as_dir=.
13047 for ac_exec_ext in '' $ac_executable_extensions; do
13048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13049 ac_cv_prog_ac_ct_CC="$ac_prog"
13050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13051 break 2
13052 fi
13053 done
13054 done
13055 IFS=$as_save_IFS
13056
13057 fi
13058 fi
13059 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13060 if test -n "$ac_ct_CC"; then
13061 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13062 echo "${ECHO_T}$ac_ct_CC" >&6; }
13063 else
13064 { echo "$as_me:$LINENO: result: no" >&5
13065 echo "${ECHO_T}no" >&6; }
13066 fi
13067
13068
13069 test -n "$ac_ct_CC" && break
13070 done
13071
13072 if test "x$ac_ct_CC" = x; then
13073 CC=""
13074 else
13075 case $cross_compiling:$ac_tool_warned in
13076 yes:)
13077 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13078 whose name does not start with the host triplet. If you think this
13079 configuration is useful to you, please write to autoconf@gnu.org." >&5
13080 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13081 whose name does not start with the host triplet. If you think this
13082 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13083 ac_tool_warned=yes ;;
13084 esac
13085 CC=$ac_ct_CC
13086 fi
13087 fi
13088
13089 fi
13090
13091
13092 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13093 See \`config.log' for more details." >&5
13094 echo "$as_me: error: no acceptable C compiler found in \$PATH
13095 See \`config.log' for more details." >&2;}
13096 { (exit 1); exit 1; }; }
13097
13098 # Provide some information about the compiler.
13099 echo "$as_me:$LINENO: checking for C compiler version" >&5
13100 ac_compiler=`set X $ac_compile; echo $2`
13101 { (ac_try="$ac_compiler --version >&5"
13102 case "(($ac_try" in
13103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13104 *) ac_try_echo=$ac_try;;
13105 esac
13106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13107 (eval "$ac_compiler --version >&5") 2>&5
13108 ac_status=$?
13109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13110 (exit $ac_status); }
13111 { (ac_try="$ac_compiler -v >&5"
13112 case "(($ac_try" in
13113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13114 *) ac_try_echo=$ac_try;;
13115 esac
13116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13117 (eval "$ac_compiler -v >&5") 2>&5
13118 ac_status=$?
13119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13120 (exit $ac_status); }
13121 { (ac_try="$ac_compiler -V >&5"
13122 case "(($ac_try" in
13123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13124 *) ac_try_echo=$ac_try;;
13125 esac
13126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13127 (eval "$ac_compiler -V >&5") 2>&5
13128 ac_status=$?
13129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13130 (exit $ac_status); }
13131
13132 cat >conftest.$ac_ext <<_ACEOF
13133 /* confdefs.h. */
13134 _ACEOF
13135 cat confdefs.h >>conftest.$ac_ext
13136 cat >>conftest.$ac_ext <<_ACEOF
13137 /* end confdefs.h. */
13138
13139 int
13140 main ()
13141 {
13142
13143 ;
13144 return 0;
13145 }
13146 _ACEOF
13147 ac_clean_files_save=$ac_clean_files
13148 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13149 # Try to create an executable without -o first, disregard a.out.
13150 # It will help us diagnose broken compilers, and finding out an intuition
13151 # of exeext.
13152 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13153 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13154 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13155 #
13156 # List of possible output files, starting from the most likely.
13157 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
13158 # only as a last resort. b.out is created by i960 compilers.
13159 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
13160 #
13161 # The IRIX 6 linker writes into existing files which may not be
13162 # executable, retaining their permissions. Remove them first so a
13163 # subsequent execution test works.
13164 ac_rmfiles=
13165 for ac_file in $ac_files
13166 do
13167 case $ac_file in
13168 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13169 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13170 esac
13171 done
13172 rm -f $ac_rmfiles
13173
13174 if { (ac_try="$ac_link_default"
13175 case "(($ac_try" in
13176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13177 *) ac_try_echo=$ac_try;;
13178 esac
13179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13180 (eval "$ac_link_default") 2>&5
13181 ac_status=$?
13182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13183 (exit $ac_status); }; then
13184 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13185 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13186 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13187 # so that the user can short-circuit this test for compilers unknown to
13188 # Autoconf.
13189 for ac_file in $ac_files ''
13190 do
13191 test -f "$ac_file" || continue
13192 case $ac_file in
13193 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
13194 ;;
13195 [ab].out )
13196 # We found the default executable, but exeext='' is most
13197 # certainly right.
13198 break;;
13199 *.* )
13200 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
13201 then :; else
13202 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13203 fi
13204 # We set ac_cv_exeext here because the later test for it is not
13205 # safe: cross compilers may not add the suffix if given an `-o'
13206 # argument, so we may need to know it at that point already.
13207 # Even if this section looks crufty: it has the advantage of
13208 # actually working.
13209 break;;
13210 * )
13211 break;;
13212 esac
13213 done
13214 test "$ac_cv_exeext" = no && ac_cv_exeext=
13215
13216 else
13217 ac_file=''
13218 fi
13219
13220 { echo "$as_me:$LINENO: result: $ac_file" >&5
13221 echo "${ECHO_T}$ac_file" >&6; }
13222 if test -z "$ac_file"; then
13223 echo "$as_me: failed program was:" >&5
13224 sed 's/^/| /' conftest.$ac_ext >&5
13225
13226 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13227 See \`config.log' for more details." >&5
13228 echo "$as_me: error: C compiler cannot create executables
13229 See \`config.log' for more details." >&2;}
13230 { (exit 77); exit 77; }; }
13231 fi
13232
13233 ac_exeext=$ac_cv_exeext
13234
13235 # Check that the compiler produces executables we can run. If not, either
13236 # the compiler is broken, or we cross compile.
13237 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13238 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13239 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13240 # If not cross compiling, check that we can run a simple program.
13241 if test "$cross_compiling" != yes; then
13242 if { ac_try='./$ac_file'
13243 { (case "(($ac_try" in
13244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13245 *) ac_try_echo=$ac_try;;
13246 esac
13247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13248 (eval "$ac_try") 2>&5
13249 ac_status=$?
13250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13251 (exit $ac_status); }; }; then
13252 cross_compiling=no
13253 else
13254 if test "$cross_compiling" = maybe; then
13255 cross_compiling=yes
13256 else
13257 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13258 If you meant to cross compile, use \`--host'.
13259 See \`config.log' for more details." >&5
13260 echo "$as_me: error: cannot run C compiled programs.
13261 If you meant to cross compile, use \`--host'.
13262 See \`config.log' for more details." >&2;}
13263 { (exit 1); exit 1; }; }
13264 fi
13265 fi
13266 fi
13267 { echo "$as_me:$LINENO: result: yes" >&5
13268 echo "${ECHO_T}yes" >&6; }
13269
13270 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13271 ac_clean_files=$ac_clean_files_save
13272 # Check that the compiler produces executables we can run. If not, either
13273 # the compiler is broken, or we cross compile.
13274 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13275 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13276 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13277 echo "${ECHO_T}$cross_compiling" >&6; }
13278
13279 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13280 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13281 if { (ac_try="$ac_link"
13282 case "(($ac_try" in
13283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13284 *) ac_try_echo=$ac_try;;
13285 esac
13286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13287 (eval "$ac_link") 2>&5
13288 ac_status=$?
13289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13290 (exit $ac_status); }; then
13291 # If both `conftest.exe' and `conftest' are `present' (well, observable)
13292 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
13293 # work properly (i.e., refer to `conftest.exe'), while it won't with
13294 # `rm'.
13295 for ac_file in conftest.exe conftest conftest.*; do
13296 test -f "$ac_file" || continue
13297 case $ac_file in
13298 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13299 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13300 break;;
13301 * ) break;;
13302 esac
13303 done
13304 else
13305 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13306 See \`config.log' for more details." >&5
13307 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13308 See \`config.log' for more details." >&2;}
13309 { (exit 1); exit 1; }; }
13310 fi
13311
13312 rm -f conftest$ac_cv_exeext
13313 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13314 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13315
13316 rm -f conftest.$ac_ext
13317 EXEEXT=$ac_cv_exeext
13318 ac_exeext=$EXEEXT
13319 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13320 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13321 if test "${ac_cv_objext+set}" = set; then
13322 echo $ECHO_N "(cached) $ECHO_C" >&6
13323 else
13324 cat >conftest.$ac_ext <<_ACEOF
13325 /* confdefs.h. */
13326 _ACEOF
13327 cat confdefs.h >>conftest.$ac_ext
13328 cat >>conftest.$ac_ext <<_ACEOF
13329 /* end confdefs.h. */
13330
13331 int
13332 main ()
13333 {
13334
13335 ;
13336 return 0;
13337 }
13338 _ACEOF
13339 rm -f conftest.o conftest.obj
13340 if { (ac_try="$ac_compile"
13341 case "(($ac_try" in
13342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13343 *) ac_try_echo=$ac_try;;
13344 esac
13345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13346 (eval "$ac_compile") 2>&5
13347 ac_status=$?
13348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13349 (exit $ac_status); }; then
13350 for ac_file in conftest.o conftest.obj conftest.*; do
13351 test -f "$ac_file" || continue;
13352 case $ac_file in
13353 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13354 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13355 break;;
13356 esac
13357 done
13358 else
13359 echo "$as_me: failed program was:" >&5
13360 sed 's/^/| /' conftest.$ac_ext >&5
13361
13362 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13363 See \`config.log' for more details." >&5
13364 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13365 See \`config.log' for more details." >&2;}
13366 { (exit 1); exit 1; }; }
13367 fi
13368
13369 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13370 fi
13371 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
13372 echo "${ECHO_T}$ac_cv_objext" >&6; }
13373 OBJEXT=$ac_cv_objext
13374 ac_objext=$OBJEXT
13375 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
13376 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
13377 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13378 echo $ECHO_N "(cached) $ECHO_C" >&6
13379 else
13380 cat >conftest.$ac_ext <<_ACEOF
13381 /* confdefs.h. */
13382 _ACEOF
13383 cat confdefs.h >>conftest.$ac_ext
13384 cat >>conftest.$ac_ext <<_ACEOF
13385 /* end confdefs.h. */
13386
13387 int
13388 main ()
13389 {
13390 #ifndef __GNUC__
13391 choke me
13392 #endif
13393
13394 ;
13395 return 0;
13396 }
13397 _ACEOF
13398 rm -f conftest.$ac_objext
13399 if { (ac_try="$ac_compile"
13400 case "(($ac_try" in
13401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13402 *) ac_try_echo=$ac_try;;
13403 esac
13404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13405 (eval "$ac_compile") 2>conftest.er1
13406 ac_status=$?
13407 grep -v '^ *+' conftest.er1 >conftest.err
13408 rm -f conftest.er1
13409 cat conftest.err >&5
13410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13411 (exit $ac_status); } && {
13412 test -z "$ac_c_werror_flag" ||
13413 test ! -s conftest.err
13414 } && test -s conftest.$ac_objext; then
13415 ac_compiler_gnu=yes
13416 else
13417 echo "$as_me: failed program was:" >&5
13418 sed 's/^/| /' conftest.$ac_ext >&5
13419
13420 ac_compiler_gnu=no
13421 fi
13422
13423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13424 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13425
13426 fi
13427 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
13428 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13429 GCC=`test $ac_compiler_gnu = yes && echo yes`
13430 ac_test_CFLAGS=${CFLAGS+set}
13431 ac_save_CFLAGS=$CFLAGS
13432 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13433 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13434 if test "${ac_cv_prog_cc_g+set}" = set; then
13435 echo $ECHO_N "(cached) $ECHO_C" >&6
13436 else
13437 ac_save_c_werror_flag=$ac_c_werror_flag
13438 ac_c_werror_flag=yes
13439 ac_cv_prog_cc_g=no
13440 CFLAGS="-g"
13441 cat >conftest.$ac_ext <<_ACEOF
13442 /* confdefs.h. */
13443 _ACEOF
13444 cat confdefs.h >>conftest.$ac_ext
13445 cat >>conftest.$ac_ext <<_ACEOF
13446 /* end confdefs.h. */
13447
13448 int
13449 main ()
13450 {
13451
13452 ;
13453 return 0;
13454 }
13455 _ACEOF
13456 rm -f conftest.$ac_objext
13457 if { (ac_try="$ac_compile"
13458 case "(($ac_try" in
13459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13460 *) ac_try_echo=$ac_try;;
13461 esac
13462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13463 (eval "$ac_compile") 2>conftest.er1
13464 ac_status=$?
13465 grep -v '^ *+' conftest.er1 >conftest.err
13466 rm -f conftest.er1
13467 cat conftest.err >&5
13468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13469 (exit $ac_status); } && {
13470 test -z "$ac_c_werror_flag" ||
13471 test ! -s conftest.err
13472 } && test -s conftest.$ac_objext; then
13473 ac_cv_prog_cc_g=yes
13474 else
13475 echo "$as_me: failed program was:" >&5
13476 sed 's/^/| /' conftest.$ac_ext >&5
13477
13478 CFLAGS=""
13479 cat >conftest.$ac_ext <<_ACEOF
13480 /* confdefs.h. */
13481 _ACEOF
13482 cat confdefs.h >>conftest.$ac_ext
13483 cat >>conftest.$ac_ext <<_ACEOF
13484 /* end confdefs.h. */
13485
13486 int
13487 main ()
13488 {
13489
13490 ;
13491 return 0;
13492 }
13493 _ACEOF
13494 rm -f conftest.$ac_objext
13495 if { (ac_try="$ac_compile"
13496 case "(($ac_try" in
13497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13498 *) ac_try_echo=$ac_try;;
13499 esac
13500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13501 (eval "$ac_compile") 2>conftest.er1
13502 ac_status=$?
13503 grep -v '^ *+' conftest.er1 >conftest.err
13504 rm -f conftest.er1
13505 cat conftest.err >&5
13506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13507 (exit $ac_status); } && {
13508 test -z "$ac_c_werror_flag" ||
13509 test ! -s conftest.err
13510 } && test -s conftest.$ac_objext; then
13511 :
13512 else
13513 echo "$as_me: failed program was:" >&5
13514 sed 's/^/| /' conftest.$ac_ext >&5
13515
13516 ac_c_werror_flag=$ac_save_c_werror_flag
13517 CFLAGS="-g"
13518 cat >conftest.$ac_ext <<_ACEOF
13519 /* confdefs.h. */
13520 _ACEOF
13521 cat confdefs.h >>conftest.$ac_ext
13522 cat >>conftest.$ac_ext <<_ACEOF
13523 /* end confdefs.h. */
13524
13525 int
13526 main ()
13527 {
13528
13529 ;
13530 return 0;
13531 }
13532 _ACEOF
13533 rm -f conftest.$ac_objext
13534 if { (ac_try="$ac_compile"
13535 case "(($ac_try" in
13536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13537 *) ac_try_echo=$ac_try;;
13538 esac
13539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13540 (eval "$ac_compile") 2>conftest.er1
13541 ac_status=$?
13542 grep -v '^ *+' conftest.er1 >conftest.err
13543 rm -f conftest.er1
13544 cat conftest.err >&5
13545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13546 (exit $ac_status); } && {
13547 test -z "$ac_c_werror_flag" ||
13548 test ! -s conftest.err
13549 } && test -s conftest.$ac_objext; then
13550 ac_cv_prog_cc_g=yes
13551 else
13552 echo "$as_me: failed program was:" >&5
13553 sed 's/^/| /' conftest.$ac_ext >&5
13554
13555
13556 fi
13557
13558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13559 fi
13560
13561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13562 fi
13563
13564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13565 ac_c_werror_flag=$ac_save_c_werror_flag
13566 fi
13567 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13568 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13569 if test "$ac_test_CFLAGS" = set; then
13570 CFLAGS=$ac_save_CFLAGS
13571 elif test $ac_cv_prog_cc_g = yes; then
13572 if test "$GCC" = yes; then
13573 CFLAGS="-g -O2"
13574 else
13575 CFLAGS="-g"
13576 fi
13577 else
13578 if test "$GCC" = yes; then
13579 CFLAGS="-O2"
13580 else
13581 CFLAGS=
13582 fi
13583 fi
13584 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
13585 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
13586 if test "${ac_cv_prog_cc_c89+set}" = set; then
13587 echo $ECHO_N "(cached) $ECHO_C" >&6
13588 else
13589 ac_cv_prog_cc_c89=no
13590 ac_save_CC=$CC
13591 cat >conftest.$ac_ext <<_ACEOF
13592 /* confdefs.h. */
13593 _ACEOF
13594 cat confdefs.h >>conftest.$ac_ext
13595 cat >>conftest.$ac_ext <<_ACEOF
13596 /* end confdefs.h. */
13597 #include <stdarg.h>
13598 #include <stdio.h>
13599 #include <sys/types.h>
13600 #include <sys/stat.h>
13601 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13602 struct buf { int x; };
13603 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13604 static char *e (p, i)
13605 char **p;
13606 int i;
13607 {
13608 return p[i];
13609 }
13610 static char *f (char * (*g) (char **, int), char **p, ...)
13611 {
13612 char *s;
13613 va_list v;
13614 va_start (v,p);
13615 s = g (p, va_arg (v,int));
13616 va_end (v);
13617 return s;
13618 }
13619
13620 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13621 function prototypes and stuff, but not '\xHH' hex character constants.
13622 These don't provoke an error unfortunately, instead are silently treated
13623 as 'x'. The following induces an error, until -std is added to get
13624 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13625 array size at least. It's necessary to write '\x00'==0 to get something
13626 that's true only with -std. */
13627 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13628
13629 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13630 inside strings and character constants. */
13631 #define FOO(x) 'x'
13632 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13633
13634 int test (int i, double x);
13635 struct s1 {int (*f) (int a);};
13636 struct s2 {int (*f) (double a);};
13637 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13638 int argc;
13639 char **argv;
13640 int
13641 main ()
13642 {
13643 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13644 ;
13645 return 0;
13646 }
13647 _ACEOF
13648 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13649 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13650 do
13651 CC="$ac_save_CC $ac_arg"
13652 rm -f conftest.$ac_objext
13653 if { (ac_try="$ac_compile"
13654 case "(($ac_try" in
13655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13656 *) ac_try_echo=$ac_try;;
13657 esac
13658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13659 (eval "$ac_compile") 2>conftest.er1
13660 ac_status=$?
13661 grep -v '^ *+' conftest.er1 >conftest.err
13662 rm -f conftest.er1
13663 cat conftest.err >&5
13664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13665 (exit $ac_status); } && {
13666 test -z "$ac_c_werror_flag" ||
13667 test ! -s conftest.err
13668 } && test -s conftest.$ac_objext; then
13669 ac_cv_prog_cc_c89=$ac_arg
13670 else
13671 echo "$as_me: failed program was:" >&5
13672 sed 's/^/| /' conftest.$ac_ext >&5
13673
13674
13675 fi
13676
13677 rm -f core conftest.err conftest.$ac_objext
13678 test "x$ac_cv_prog_cc_c89" != "xno" && break
13679 done
13680 rm -f conftest.$ac_ext
13681 CC=$ac_save_CC
13682
13683 fi
13684 # AC_CACHE_VAL
13685 case "x$ac_cv_prog_cc_c89" in
13686 x)
13687 { echo "$as_me:$LINENO: result: none needed" >&5
13688 echo "${ECHO_T}none needed" >&6; } ;;
13689 xno)
13690 { echo "$as_me:$LINENO: result: unsupported" >&5
13691 echo "${ECHO_T}unsupported" >&6; } ;;
13692 *)
13693 CC="$CC $ac_cv_prog_cc_c89"
13694 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
13695 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13696 esac
13697
13698
13699 ac_ext=c
13700 ac_cpp='$CPP $CPPFLAGS'
13701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13704
13705
13706
13707 ac_ext=c
13708 ac_cpp='$CPP $CPPFLAGS'
13709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13712
13713 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
13714 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
13715 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13716 echo $ECHO_N "(cached) $ECHO_C" >&6
13717 else
13718 cat >conftest.$ac_ext <<_ACEOF
13719 /* confdefs.h. */
13720 _ACEOF
13721 cat confdefs.h >>conftest.$ac_ext
13722 cat >>conftest.$ac_ext <<_ACEOF
13723 /* end confdefs.h. */
13724
13725 int
13726 main ()
13727 {
13728
13729 #ifndef __INTEL_COMPILER
13730 choke me
13731 #endif
13732
13733 ;
13734 return 0;
13735 }
13736 _ACEOF
13737 rm -f conftest.$ac_objext
13738 if { (ac_try="$ac_compile"
13739 case "(($ac_try" in
13740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13741 *) ac_try_echo=$ac_try;;
13742 esac
13743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13744 (eval "$ac_compile") 2>conftest.er1
13745 ac_status=$?
13746 grep -v '^ *+' conftest.er1 >conftest.err
13747 rm -f conftest.er1
13748 cat conftest.err >&5
13749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13750 (exit $ac_status); } && {
13751 test -z "$ac_c_werror_flag" ||
13752 test ! -s conftest.err
13753 } && test -s conftest.$ac_objext; then
13754 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13755 else
13756 echo "$as_me: failed program was:" >&5
13757 sed 's/^/| /' conftest.$ac_ext >&5
13758
13759 bakefile_cv_c_compiler___INTEL_COMPILER=no
13760
13761 fi
13762
13763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13764
13765
13766 fi
13767 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13768 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13769 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13770 :; INTELCC=yes
13771 else
13772 :;
13773 fi
13774 ac_ext=c
13775 ac_cpp='$CPP $CPPFLAGS'
13776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13779
13780
13781
13782 if test "x$GCC" != "xyes"; then
13783 if test "xCC" = "xC"; then
13784 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13785 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
13786 if test "${bakefile_cv_c_exto+set}" = set; then
13787 echo $ECHO_N "(cached) $ECHO_C" >&6
13788 else
13789 cat >conftest.$ac_ext <<_ACEOF
13790 /* confdefs.h. */
13791 _ACEOF
13792 cat confdefs.h >>conftest.$ac_ext
13793 cat >>conftest.$ac_ext <<_ACEOF
13794 /* end confdefs.h. */
13795
13796 int
13797 main ()
13798 {
13799
13800 ;
13801 return 0;
13802 }
13803 _ACEOF
13804 rm -f conftest.$ac_objext conftest.$ac_ext.o
13805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13806 (eval $ac_compile) 2>&5
13807 ac_status=$?
13808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13809 (exit $ac_status); }; then
13810 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13811 case $ac_file in
13812 conftest.$ac_ext.o)
13813 bakefile_cv_c_exto="-ext o"
13814 ;;
13815 *)
13816 ;;
13817 esac
13818 done
13819 else
13820 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13821 See \`config.log' for more details." >&5
13822 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13823 See \`config.log' for more details." >&2;}
13824 { (exit 1); exit 1; }; }
13825
13826 fi
13827
13828 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13829
13830 fi
13831 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13832 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
13833 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13834 if test "c" = "c"; then
13835 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13836 fi
13837 if test "c" = "cxx"; then
13838 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13839 fi
13840 fi
13841
13842 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13843 unset ac_cv_prog_cc_g
13844 ac_test_CFLAGS=${CFLAGS+set}
13845 ac_save_CFLAGS=$CFLAGS
13846 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13847 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13848 if test "${ac_cv_prog_cc_g+set}" = set; then
13849 echo $ECHO_N "(cached) $ECHO_C" >&6
13850 else
13851 ac_save_c_werror_flag=$ac_c_werror_flag
13852 ac_c_werror_flag=yes
13853 ac_cv_prog_cc_g=no
13854 CFLAGS="-g"
13855 cat >conftest.$ac_ext <<_ACEOF
13856 /* confdefs.h. */
13857 _ACEOF
13858 cat confdefs.h >>conftest.$ac_ext
13859 cat >>conftest.$ac_ext <<_ACEOF
13860 /* end confdefs.h. */
13861
13862 int
13863 main ()
13864 {
13865
13866 ;
13867 return 0;
13868 }
13869 _ACEOF
13870 rm -f conftest.$ac_objext
13871 if { (ac_try="$ac_compile"
13872 case "(($ac_try" in
13873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13874 *) ac_try_echo=$ac_try;;
13875 esac
13876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13877 (eval "$ac_compile") 2>conftest.er1
13878 ac_status=$?
13879 grep -v '^ *+' conftest.er1 >conftest.err
13880 rm -f conftest.er1
13881 cat conftest.err >&5
13882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13883 (exit $ac_status); } && {
13884 test -z "$ac_c_werror_flag" ||
13885 test ! -s conftest.err
13886 } && test -s conftest.$ac_objext; then
13887 ac_cv_prog_cc_g=yes
13888 else
13889 echo "$as_me: failed program was:" >&5
13890 sed 's/^/| /' conftest.$ac_ext >&5
13891
13892 CFLAGS=""
13893 cat >conftest.$ac_ext <<_ACEOF
13894 /* confdefs.h. */
13895 _ACEOF
13896 cat confdefs.h >>conftest.$ac_ext
13897 cat >>conftest.$ac_ext <<_ACEOF
13898 /* end confdefs.h. */
13899
13900 int
13901 main ()
13902 {
13903
13904 ;
13905 return 0;
13906 }
13907 _ACEOF
13908 rm -f conftest.$ac_objext
13909 if { (ac_try="$ac_compile"
13910 case "(($ac_try" in
13911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13912 *) ac_try_echo=$ac_try;;
13913 esac
13914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13915 (eval "$ac_compile") 2>conftest.er1
13916 ac_status=$?
13917 grep -v '^ *+' conftest.er1 >conftest.err
13918 rm -f conftest.er1
13919 cat conftest.err >&5
13920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13921 (exit $ac_status); } && {
13922 test -z "$ac_c_werror_flag" ||
13923 test ! -s conftest.err
13924 } && test -s conftest.$ac_objext; then
13925 :
13926 else
13927 echo "$as_me: failed program was:" >&5
13928 sed 's/^/| /' conftest.$ac_ext >&5
13929
13930 ac_c_werror_flag=$ac_save_c_werror_flag
13931 CFLAGS="-g"
13932 cat >conftest.$ac_ext <<_ACEOF
13933 /* confdefs.h. */
13934 _ACEOF
13935 cat confdefs.h >>conftest.$ac_ext
13936 cat >>conftest.$ac_ext <<_ACEOF
13937 /* end confdefs.h. */
13938
13939 int
13940 main ()
13941 {
13942
13943 ;
13944 return 0;
13945 }
13946 _ACEOF
13947 rm -f conftest.$ac_objext
13948 if { (ac_try="$ac_compile"
13949 case "(($ac_try" in
13950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13951 *) ac_try_echo=$ac_try;;
13952 esac
13953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13954 (eval "$ac_compile") 2>conftest.er1
13955 ac_status=$?
13956 grep -v '^ *+' conftest.er1 >conftest.err
13957 rm -f conftest.er1
13958 cat conftest.err >&5
13959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13960 (exit $ac_status); } && {
13961 test -z "$ac_c_werror_flag" ||
13962 test ! -s conftest.err
13963 } && test -s conftest.$ac_objext; then
13964 ac_cv_prog_cc_g=yes
13965 else
13966 echo "$as_me: failed program was:" >&5
13967 sed 's/^/| /' conftest.$ac_ext >&5
13968
13969
13970 fi
13971
13972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13973 fi
13974
13975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13976 fi
13977
13978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13979 ac_c_werror_flag=$ac_save_c_werror_flag
13980 fi
13981 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13982 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13983 if test "$ac_test_CFLAGS" = set; then
13984 CFLAGS=$ac_save_CFLAGS
13985 elif test $ac_cv_prog_cc_g = yes; then
13986 if test "$GCC" = yes; then
13987 CFLAGS="-g -O2"
13988 else
13989 CFLAGS="-g"
13990 fi
13991 else
13992 if test "$GCC" = yes; then
13993 CFLAGS="-O2"
13994 else
13995 CFLAGS=
13996 fi
13997 fi
13998 fi
13999 fi
14000
14001 case `uname -s` in
14002 AIX*)
14003 ac_ext=c
14004 ac_cpp='$CPP $CPPFLAGS'
14005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14008
14009 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14010 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14011 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14012 echo $ECHO_N "(cached) $ECHO_C" >&6
14013 else
14014 cat >conftest.$ac_ext <<_ACEOF
14015 /* confdefs.h. */
14016 _ACEOF
14017 cat confdefs.h >>conftest.$ac_ext
14018 cat >>conftest.$ac_ext <<_ACEOF
14019 /* end confdefs.h. */
14020
14021 int
14022 main ()
14023 {
14024 #ifndef __xlC__
14025 choke me
14026 #endif
14027
14028 ;
14029 return 0;
14030 }
14031 _ACEOF
14032 rm -f conftest.$ac_objext
14033 if { (ac_try="$ac_compile"
14034 case "(($ac_try" in
14035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14036 *) ac_try_echo=$ac_try;;
14037 esac
14038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14039 (eval "$ac_compile") 2>conftest.er1
14040 ac_status=$?
14041 grep -v '^ *+' conftest.er1 >conftest.err
14042 rm -f conftest.er1
14043 cat conftest.err >&5
14044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14045 (exit $ac_status); } && {
14046 test -z "$ac_c_werror_flag" ||
14047 test ! -s conftest.err
14048 } && test -s conftest.$ac_objext; then
14049 bakefile_compiler_xlc=yes
14050 else
14051 echo "$as_me: failed program was:" >&5
14052 sed 's/^/| /' conftest.$ac_ext >&5
14053
14054 bakefile_compiler_xlc=no
14055 fi
14056
14057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14058 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14059
14060 fi
14061 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14062 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14063
14064 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14065 ac_ext=c
14066 ac_cpp='$CPP $CPPFLAGS'
14067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14070
14071
14072 ;;
14073
14074 Darwin)
14075 ac_ext=c
14076 ac_cpp='$CPP $CPPFLAGS'
14077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14080
14081 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14082 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14083 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14084 echo $ECHO_N "(cached) $ECHO_C" >&6
14085 else
14086 cat >conftest.$ac_ext <<_ACEOF
14087 /* confdefs.h. */
14088 _ACEOF
14089 cat confdefs.h >>conftest.$ac_ext
14090 cat >>conftest.$ac_ext <<_ACEOF
14091 /* end confdefs.h. */
14092
14093 int
14094 main ()
14095 {
14096 #ifndef __MWERKS__
14097 choke me
14098 #endif
14099
14100 ;
14101 return 0;
14102 }
14103 _ACEOF
14104 rm -f conftest.$ac_objext
14105 if { (ac_try="$ac_compile"
14106 case "(($ac_try" in
14107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14108 *) ac_try_echo=$ac_try;;
14109 esac
14110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14111 (eval "$ac_compile") 2>conftest.er1
14112 ac_status=$?
14113 grep -v '^ *+' conftest.er1 >conftest.err
14114 rm -f conftest.er1
14115 cat conftest.err >&5
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); } && {
14118 test -z "$ac_c_werror_flag" ||
14119 test ! -s conftest.err
14120 } && test -s conftest.$ac_objext; then
14121 bakefile_compiler_mwerks=yes
14122 else
14123 echo "$as_me: failed program was:" >&5
14124 sed 's/^/| /' conftest.$ac_ext >&5
14125
14126 bakefile_compiler_mwerks=no
14127 fi
14128
14129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14130 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14131
14132 fi
14133 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14134 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
14135
14136 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14137 ac_ext=c
14138 ac_cpp='$CPP $CPPFLAGS'
14139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14142
14143
14144 ac_ext=c
14145 ac_cpp='$CPP $CPPFLAGS'
14146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14149
14150 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14151 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14152 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14153 echo $ECHO_N "(cached) $ECHO_C" >&6
14154 else
14155 cat >conftest.$ac_ext <<_ACEOF
14156 /* confdefs.h. */
14157 _ACEOF
14158 cat confdefs.h >>conftest.$ac_ext
14159 cat >>conftest.$ac_ext <<_ACEOF
14160 /* end confdefs.h. */
14161
14162 int
14163 main ()
14164 {
14165 #ifndef __xlC__
14166 choke me
14167 #endif
14168
14169 ;
14170 return 0;
14171 }
14172 _ACEOF
14173 rm -f conftest.$ac_objext
14174 if { (ac_try="$ac_compile"
14175 case "(($ac_try" in
14176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14177 *) ac_try_echo=$ac_try;;
14178 esac
14179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14180 (eval "$ac_compile") 2>conftest.er1
14181 ac_status=$?
14182 grep -v '^ *+' conftest.er1 >conftest.err
14183 rm -f conftest.er1
14184 cat conftest.err >&5
14185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14186 (exit $ac_status); } && {
14187 test -z "$ac_c_werror_flag" ||
14188 test ! -s conftest.err
14189 } && test -s conftest.$ac_objext; then
14190 bakefile_compiler_xlc=yes
14191 else
14192 echo "$as_me: failed program was:" >&5
14193 sed 's/^/| /' conftest.$ac_ext >&5
14194
14195 bakefile_compiler_xlc=no
14196 fi
14197
14198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14199 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14200
14201 fi
14202 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14203 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14204
14205 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14206 ac_ext=c
14207 ac_cpp='$CPP $CPPFLAGS'
14208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14211
14212
14213 ;;
14214
14215 IRIX*)
14216
14217
14218 ac_ext=c
14219 ac_cpp='$CPP $CPPFLAGS'
14220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14223
14224 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14225 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14226 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14227 echo $ECHO_N "(cached) $ECHO_C" >&6
14228 else
14229 cat >conftest.$ac_ext <<_ACEOF
14230 /* confdefs.h. */
14231 _ACEOF
14232 cat confdefs.h >>conftest.$ac_ext
14233 cat >>conftest.$ac_ext <<_ACEOF
14234 /* end confdefs.h. */
14235
14236 int
14237 main ()
14238 {
14239
14240 #ifndef _SGI_COMPILER_VERSION
14241 choke me
14242 #endif
14243
14244 ;
14245 return 0;
14246 }
14247 _ACEOF
14248 rm -f conftest.$ac_objext
14249 if { (ac_try="$ac_compile"
14250 case "(($ac_try" in
14251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14252 *) ac_try_echo=$ac_try;;
14253 esac
14254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14255 (eval "$ac_compile") 2>conftest.er1
14256 ac_status=$?
14257 grep -v '^ *+' conftest.er1 >conftest.err
14258 rm -f conftest.er1
14259 cat conftest.err >&5
14260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14261 (exit $ac_status); } && {
14262 test -z "$ac_c_werror_flag" ||
14263 test ! -s conftest.err
14264 } && test -s conftest.$ac_objext; then
14265 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14266 else
14267 echo "$as_me: failed program was:" >&5
14268 sed 's/^/| /' conftest.$ac_ext >&5
14269
14270 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14271
14272 fi
14273
14274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14275
14276
14277 fi
14278 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14279 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14280 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14281 :; SGICC=yes
14282 else
14283 :;
14284 fi
14285 ac_ext=c
14286 ac_cpp='$CPP $CPPFLAGS'
14287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14290
14291
14292
14293 ;;
14294
14295 HP-UX*)
14296
14297
14298 ac_ext=c
14299 ac_cpp='$CPP $CPPFLAGS'
14300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14303
14304 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14305 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14306 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14307 echo $ECHO_N "(cached) $ECHO_C" >&6
14308 else
14309 cat >conftest.$ac_ext <<_ACEOF
14310 /* confdefs.h. */
14311 _ACEOF
14312 cat confdefs.h >>conftest.$ac_ext
14313 cat >>conftest.$ac_ext <<_ACEOF
14314 /* end confdefs.h. */
14315
14316 int
14317 main ()
14318 {
14319
14320 #ifndef __HP_cc
14321 choke me
14322 #endif
14323
14324 ;
14325 return 0;
14326 }
14327 _ACEOF
14328 rm -f conftest.$ac_objext
14329 if { (ac_try="$ac_compile"
14330 case "(($ac_try" in
14331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14332 *) ac_try_echo=$ac_try;;
14333 esac
14334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14335 (eval "$ac_compile") 2>conftest.er1
14336 ac_status=$?
14337 grep -v '^ *+' conftest.er1 >conftest.err
14338 rm -f conftest.er1
14339 cat conftest.err >&5
14340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14341 (exit $ac_status); } && {
14342 test -z "$ac_c_werror_flag" ||
14343 test ! -s conftest.err
14344 } && test -s conftest.$ac_objext; then
14345 bakefile_cv_c_compiler___HP_cc=yes
14346 else
14347 echo "$as_me: failed program was:" >&5
14348 sed 's/^/| /' conftest.$ac_ext >&5
14349
14350 bakefile_cv_c_compiler___HP_cc=no
14351
14352 fi
14353
14354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14355
14356
14357 fi
14358 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14359 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14360 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14361 :; HPCC=yes
14362 else
14363 :;
14364 fi
14365 ac_ext=c
14366 ac_cpp='$CPP $CPPFLAGS'
14367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14370
14371
14372
14373 ;;
14374
14375 OSF1)
14376
14377
14378 ac_ext=c
14379 ac_cpp='$CPP $CPPFLAGS'
14380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14383
14384 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14385 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14386 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14387 echo $ECHO_N "(cached) $ECHO_C" >&6
14388 else
14389 cat >conftest.$ac_ext <<_ACEOF
14390 /* confdefs.h. */
14391 _ACEOF
14392 cat confdefs.h >>conftest.$ac_ext
14393 cat >>conftest.$ac_ext <<_ACEOF
14394 /* end confdefs.h. */
14395
14396 int
14397 main ()
14398 {
14399
14400 #ifndef __DECC
14401 choke me
14402 #endif
14403
14404 ;
14405 return 0;
14406 }
14407 _ACEOF
14408 rm -f conftest.$ac_objext
14409 if { (ac_try="$ac_compile"
14410 case "(($ac_try" in
14411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14412 *) ac_try_echo=$ac_try;;
14413 esac
14414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14415 (eval "$ac_compile") 2>conftest.er1
14416 ac_status=$?
14417 grep -v '^ *+' conftest.er1 >conftest.err
14418 rm -f conftest.er1
14419 cat conftest.err >&5
14420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14421 (exit $ac_status); } && {
14422 test -z "$ac_c_werror_flag" ||
14423 test ! -s conftest.err
14424 } && test -s conftest.$ac_objext; then
14425 bakefile_cv_c_compiler___DECC=yes
14426 else
14427 echo "$as_me: failed program was:" >&5
14428 sed 's/^/| /' conftest.$ac_ext >&5
14429
14430 bakefile_cv_c_compiler___DECC=no
14431
14432 fi
14433
14434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14435
14436
14437 fi
14438 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14439 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14440 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14441 :; COMPAQCC=yes
14442 else
14443 :;
14444 fi
14445 ac_ext=c
14446 ac_cpp='$CPP $CPPFLAGS'
14447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14450
14451
14452
14453 ;;
14454
14455 SunOS)
14456
14457
14458 ac_ext=c
14459 ac_cpp='$CPP $CPPFLAGS'
14460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14463
14464 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14465 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14466 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14467 echo $ECHO_N "(cached) $ECHO_C" >&6
14468 else
14469 cat >conftest.$ac_ext <<_ACEOF
14470 /* confdefs.h. */
14471 _ACEOF
14472 cat confdefs.h >>conftest.$ac_ext
14473 cat >>conftest.$ac_ext <<_ACEOF
14474 /* end confdefs.h. */
14475
14476 int
14477 main ()
14478 {
14479
14480 #ifndef __SUNPRO_C
14481 choke me
14482 #endif
14483
14484 ;
14485 return 0;
14486 }
14487 _ACEOF
14488 rm -f conftest.$ac_objext
14489 if { (ac_try="$ac_compile"
14490 case "(($ac_try" in
14491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14492 *) ac_try_echo=$ac_try;;
14493 esac
14494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14495 (eval "$ac_compile") 2>conftest.er1
14496 ac_status=$?
14497 grep -v '^ *+' conftest.er1 >conftest.err
14498 rm -f conftest.er1
14499 cat conftest.err >&5
14500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14501 (exit $ac_status); } && {
14502 test -z "$ac_c_werror_flag" ||
14503 test ! -s conftest.err
14504 } && test -s conftest.$ac_objext; then
14505 bakefile_cv_c_compiler___SUNPRO_C=yes
14506 else
14507 echo "$as_me: failed program was:" >&5
14508 sed 's/^/| /' conftest.$ac_ext >&5
14509
14510 bakefile_cv_c_compiler___SUNPRO_C=no
14511
14512 fi
14513
14514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14515
14516
14517 fi
14518 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14519 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14520 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14521 :; SUNCC=yes
14522 else
14523 :;
14524 fi
14525 ac_ext=c
14526 ac_cpp='$CPP $CPPFLAGS'
14527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14530
14531
14532
14533 ;;
14534 esac
14535 fi
14536
14537
14538
14539 ac_ext=c
14540 ac_cpp='$CPP $CPPFLAGS'
14541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14544 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14545 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14546 # On Suns, sometimes $CPP names a directory.
14547 if test -n "$CPP" && test -d "$CPP"; then
14548 CPP=
14549 fi
14550 if test -z "$CPP"; then
14551 if test "${ac_cv_prog_CPP+set}" = set; then
14552 echo $ECHO_N "(cached) $ECHO_C" >&6
14553 else
14554 # Double quotes because CPP needs to be expanded
14555 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14556 do
14557 ac_preproc_ok=false
14558 for ac_c_preproc_warn_flag in '' yes
14559 do
14560 # Use a header file that comes with gcc, so configuring glibc
14561 # with a fresh cross-compiler works.
14562 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14563 # <limits.h> exists even on freestanding compilers.
14564 # On the NeXT, cc -E runs the code through the compiler's parser,
14565 # not just through cpp. "Syntax error" is here to catch this case.
14566 cat >conftest.$ac_ext <<_ACEOF
14567 /* confdefs.h. */
14568 _ACEOF
14569 cat confdefs.h >>conftest.$ac_ext
14570 cat >>conftest.$ac_ext <<_ACEOF
14571 /* end confdefs.h. */
14572 #ifdef __STDC__
14573 # include <limits.h>
14574 #else
14575 # include <assert.h>
14576 #endif
14577 Syntax error
14578 _ACEOF
14579 if { (ac_try="$ac_cpp conftest.$ac_ext"
14580 case "(($ac_try" in
14581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14582 *) ac_try_echo=$ac_try;;
14583 esac
14584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14585 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14586 ac_status=$?
14587 grep -v '^ *+' conftest.er1 >conftest.err
14588 rm -f conftest.er1
14589 cat conftest.err >&5
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 (exit $ac_status); } >/dev/null && {
14592 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14593 test ! -s conftest.err
14594 }; then
14595 :
14596 else
14597 echo "$as_me: failed program was:" >&5
14598 sed 's/^/| /' conftest.$ac_ext >&5
14599
14600 # Broken: fails on valid input.
14601 continue
14602 fi
14603
14604 rm -f conftest.err conftest.$ac_ext
14605
14606 # OK, works on sane cases. Now check whether nonexistent headers
14607 # can be detected and how.
14608 cat >conftest.$ac_ext <<_ACEOF
14609 /* confdefs.h. */
14610 _ACEOF
14611 cat confdefs.h >>conftest.$ac_ext
14612 cat >>conftest.$ac_ext <<_ACEOF
14613 /* end confdefs.h. */
14614 #include <ac_nonexistent.h>
14615 _ACEOF
14616 if { (ac_try="$ac_cpp conftest.$ac_ext"
14617 case "(($ac_try" in
14618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14619 *) ac_try_echo=$ac_try;;
14620 esac
14621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14622 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14623 ac_status=$?
14624 grep -v '^ *+' conftest.er1 >conftest.err
14625 rm -f conftest.er1
14626 cat conftest.err >&5
14627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14628 (exit $ac_status); } >/dev/null && {
14629 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14630 test ! -s conftest.err
14631 }; then
14632 # Broken: success on invalid input.
14633 continue
14634 else
14635 echo "$as_me: failed program was:" >&5
14636 sed 's/^/| /' conftest.$ac_ext >&5
14637
14638 # Passes both tests.
14639 ac_preproc_ok=:
14640 break
14641 fi
14642
14643 rm -f conftest.err conftest.$ac_ext
14644
14645 done
14646 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14647 rm -f conftest.err conftest.$ac_ext
14648 if $ac_preproc_ok; then
14649 break
14650 fi
14651
14652 done
14653 ac_cv_prog_CPP=$CPP
14654
14655 fi
14656 CPP=$ac_cv_prog_CPP
14657 else
14658 ac_cv_prog_CPP=$CPP
14659 fi
14660 { echo "$as_me:$LINENO: result: $CPP" >&5
14661 echo "${ECHO_T}$CPP" >&6; }
14662 ac_preproc_ok=false
14663 for ac_c_preproc_warn_flag in '' yes
14664 do
14665 # Use a header file that comes with gcc, so configuring glibc
14666 # with a fresh cross-compiler works.
14667 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14668 # <limits.h> exists even on freestanding compilers.
14669 # On the NeXT, cc -E runs the code through the compiler's parser,
14670 # not just through cpp. "Syntax error" is here to catch this case.
14671 cat >conftest.$ac_ext <<_ACEOF
14672 /* confdefs.h. */
14673 _ACEOF
14674 cat confdefs.h >>conftest.$ac_ext
14675 cat >>conftest.$ac_ext <<_ACEOF
14676 /* end confdefs.h. */
14677 #ifdef __STDC__
14678 # include <limits.h>
14679 #else
14680 # include <assert.h>
14681 #endif
14682 Syntax error
14683 _ACEOF
14684 if { (ac_try="$ac_cpp conftest.$ac_ext"
14685 case "(($ac_try" in
14686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14687 *) ac_try_echo=$ac_try;;
14688 esac
14689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14690 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14691 ac_status=$?
14692 grep -v '^ *+' conftest.er1 >conftest.err
14693 rm -f conftest.er1
14694 cat conftest.err >&5
14695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14696 (exit $ac_status); } >/dev/null && {
14697 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14698 test ! -s conftest.err
14699 }; then
14700 :
14701 else
14702 echo "$as_me: failed program was:" >&5
14703 sed 's/^/| /' conftest.$ac_ext >&5
14704
14705 # Broken: fails on valid input.
14706 continue
14707 fi
14708
14709 rm -f conftest.err conftest.$ac_ext
14710
14711 # OK, works on sane cases. Now check whether nonexistent headers
14712 # can be detected and how.
14713 cat >conftest.$ac_ext <<_ACEOF
14714 /* confdefs.h. */
14715 _ACEOF
14716 cat confdefs.h >>conftest.$ac_ext
14717 cat >>conftest.$ac_ext <<_ACEOF
14718 /* end confdefs.h. */
14719 #include <ac_nonexistent.h>
14720 _ACEOF
14721 if { (ac_try="$ac_cpp conftest.$ac_ext"
14722 case "(($ac_try" in
14723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14724 *) ac_try_echo=$ac_try;;
14725 esac
14726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14727 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14728 ac_status=$?
14729 grep -v '^ *+' conftest.er1 >conftest.err
14730 rm -f conftest.er1
14731 cat conftest.err >&5
14732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14733 (exit $ac_status); } >/dev/null && {
14734 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14735 test ! -s conftest.err
14736 }; then
14737 # Broken: success on invalid input.
14738 continue
14739 else
14740 echo "$as_me: failed program was:" >&5
14741 sed 's/^/| /' conftest.$ac_ext >&5
14742
14743 # Passes both tests.
14744 ac_preproc_ok=:
14745 break
14746 fi
14747
14748 rm -f conftest.err conftest.$ac_ext
14749
14750 done
14751 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14752 rm -f conftest.err conftest.$ac_ext
14753 if $ac_preproc_ok; then
14754 :
14755 else
14756 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14757 See \`config.log' for more details." >&5
14758 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14759 See \`config.log' for more details." >&2;}
14760 { (exit 1); exit 1; }; }
14761 fi
14762
14763 ac_ext=c
14764 ac_cpp='$CPP $CPPFLAGS'
14765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14768
14769
14770 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
14771 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
14772 if test "${ac_cv_path_GREP+set}" = set; then
14773 echo $ECHO_N "(cached) $ECHO_C" >&6
14774 else
14775 # Extract the first word of "grep ggrep" to use in msg output
14776 if test -z "$GREP"; then
14777 set dummy grep ggrep; ac_prog_name=$2
14778 if test "${ac_cv_path_GREP+set}" = set; then
14779 echo $ECHO_N "(cached) $ECHO_C" >&6
14780 else
14781 ac_path_GREP_found=false
14782 # Loop through the user's path and test for each of PROGNAME-LIST
14783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14784 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
14785 do
14786 IFS=$as_save_IFS
14787 test -z "$as_dir" && as_dir=.
14788 for ac_prog in grep ggrep; do
14789 for ac_exec_ext in '' $ac_executable_extensions; do
14790 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
14791 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
14792 # Check for GNU ac_path_GREP and select it if it is found.
14793 # Check for GNU $ac_path_GREP
14794 case `"$ac_path_GREP" --version 2>&1` in
14795 *GNU*)
14796 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
14797 *)
14798 ac_count=0
14799 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14800 while :
14801 do
14802 cat "conftest.in" "conftest.in" >"conftest.tmp"
14803 mv "conftest.tmp" "conftest.in"
14804 cp "conftest.in" "conftest.nl"
14805 echo 'GREP' >> "conftest.nl"
14806 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
14807 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14808 ac_count=`expr $ac_count + 1`
14809 if test $ac_count -gt ${ac_path_GREP_max-0}; then
14810 # Best one so far, save it but keep looking for a better one
14811 ac_cv_path_GREP="$ac_path_GREP"
14812 ac_path_GREP_max=$ac_count
14813 fi
14814 # 10*(2^10) chars as input seems more than enough
14815 test $ac_count -gt 10 && break
14816 done
14817 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14818 esac
14819
14820
14821 $ac_path_GREP_found && break 3
14822 done
14823 done
14824
14825 done
14826 IFS=$as_save_IFS
14827
14828
14829 fi
14830
14831 GREP="$ac_cv_path_GREP"
14832 if test -z "$GREP"; then
14833 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14834 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14835 { (exit 1); exit 1; }; }
14836 fi
14837
14838 else
14839 ac_cv_path_GREP=$GREP
14840 fi
14841
14842
14843 fi
14844 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
14845 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
14846 GREP="$ac_cv_path_GREP"
14847
14848
14849 { echo "$as_me:$LINENO: checking for egrep" >&5
14850 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
14851 if test "${ac_cv_path_EGREP+set}" = set; then
14852 echo $ECHO_N "(cached) $ECHO_C" >&6
14853 else
14854 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
14855 then ac_cv_path_EGREP="$GREP -E"
14856 else
14857 # Extract the first word of "egrep" to use in msg output
14858 if test -z "$EGREP"; then
14859 set dummy egrep; ac_prog_name=$2
14860 if test "${ac_cv_path_EGREP+set}" = set; then
14861 echo $ECHO_N "(cached) $ECHO_C" >&6
14862 else
14863 ac_path_EGREP_found=false
14864 # Loop through the user's path and test for each of PROGNAME-LIST
14865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14866 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
14867 do
14868 IFS=$as_save_IFS
14869 test -z "$as_dir" && as_dir=.
14870 for ac_prog in egrep; do
14871 for ac_exec_ext in '' $ac_executable_extensions; do
14872 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
14873 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
14874 # Check for GNU ac_path_EGREP and select it if it is found.
14875 # Check for GNU $ac_path_EGREP
14876 case `"$ac_path_EGREP" --version 2>&1` in
14877 *GNU*)
14878 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
14879 *)
14880 ac_count=0
14881 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14882 while :
14883 do
14884 cat "conftest.in" "conftest.in" >"conftest.tmp"
14885 mv "conftest.tmp" "conftest.in"
14886 cp "conftest.in" "conftest.nl"
14887 echo 'EGREP' >> "conftest.nl"
14888 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
14889 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14890 ac_count=`expr $ac_count + 1`
14891 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
14892 # Best one so far, save it but keep looking for a better one
14893 ac_cv_path_EGREP="$ac_path_EGREP"
14894 ac_path_EGREP_max=$ac_count
14895 fi
14896 # 10*(2^10) chars as input seems more than enough
14897 test $ac_count -gt 10 && break
14898 done
14899 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14900 esac
14901
14902
14903 $ac_path_EGREP_found && break 3
14904 done
14905 done
14906
14907 done
14908 IFS=$as_save_IFS
14909
14910
14911 fi
14912
14913 EGREP="$ac_cv_path_EGREP"
14914 if test -z "$EGREP"; then
14915 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14916 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14917 { (exit 1); exit 1; }; }
14918 fi
14919
14920 else
14921 ac_cv_path_EGREP=$EGREP
14922 fi
14923
14924
14925 fi
14926 fi
14927 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
14928 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
14929 EGREP="$ac_cv_path_EGREP"
14930
14931
14932 if test $ac_cv_c_compiler_gnu = yes; then
14933 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
14934 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
14935 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
14936 echo $ECHO_N "(cached) $ECHO_C" >&6
14937 else
14938 ac_pattern="Autoconf.*'x'"
14939 cat >conftest.$ac_ext <<_ACEOF
14940 /* confdefs.h. */
14941 _ACEOF
14942 cat confdefs.h >>conftest.$ac_ext
14943 cat >>conftest.$ac_ext <<_ACEOF
14944 /* end confdefs.h. */
14945 #include <sgtty.h>
14946 Autoconf TIOCGETP
14947 _ACEOF
14948 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14949 $EGREP "$ac_pattern" >/dev/null 2>&1; then
14950 ac_cv_prog_gcc_traditional=yes
14951 else
14952 ac_cv_prog_gcc_traditional=no
14953 fi
14954 rm -f conftest*
14955
14956
14957 if test $ac_cv_prog_gcc_traditional = no; then
14958 cat >conftest.$ac_ext <<_ACEOF
14959 /* confdefs.h. */
14960 _ACEOF
14961 cat confdefs.h >>conftest.$ac_ext
14962 cat >>conftest.$ac_ext <<_ACEOF
14963 /* end confdefs.h. */
14964 #include <termio.h>
14965 Autoconf TCGETA
14966 _ACEOF
14967 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14968 $EGREP "$ac_pattern" >/dev/null 2>&1; then
14969 ac_cv_prog_gcc_traditional=yes
14970 fi
14971 rm -f conftest*
14972
14973 fi
14974 fi
14975 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
14976 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
14977 if test $ac_cv_prog_gcc_traditional = yes; then
14978 CC="$CC -traditional"
14979 fi
14980 fi
14981
14982
14983 CXXFLAGS=${CXXFLAGS:=}
14984
14985
14986
14987 ac_ext=cpp
14988 ac_cpp='$CXXCPP $CPPFLAGS'
14989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14992 if test -z "$CXX"; then
14993 if test -n "$CCC"; then
14994 CXX=$CCC
14995 else
14996 if test -n "$ac_tool_prefix"; then
14997 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
14998 do
14999 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15000 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15001 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15003 if test "${ac_cv_prog_CXX+set}" = set; then
15004 echo $ECHO_N "(cached) $ECHO_C" >&6
15005 else
15006 if test -n "$CXX"; then
15007 ac_cv_prog_CXX="$CXX" # Let the user override the test.
15008 else
15009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15010 for as_dir in $PATH
15011 do
15012 IFS=$as_save_IFS
15013 test -z "$as_dir" && as_dir=.
15014 for ac_exec_ext in '' $ac_executable_extensions; do
15015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15016 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
15017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15018 break 2
15019 fi
15020 done
15021 done
15022 IFS=$as_save_IFS
15023
15024 fi
15025 fi
15026 CXX=$ac_cv_prog_CXX
15027 if test -n "$CXX"; then
15028 { echo "$as_me:$LINENO: result: $CXX" >&5
15029 echo "${ECHO_T}$CXX" >&6; }
15030 else
15031 { echo "$as_me:$LINENO: result: no" >&5
15032 echo "${ECHO_T}no" >&6; }
15033 fi
15034
15035
15036 test -n "$CXX" && break
15037 done
15038 fi
15039 if test -z "$CXX"; then
15040 ac_ct_CXX=$CXX
15041 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15042 do
15043 # Extract the first word of "$ac_prog", so it can be a program name with args.
15044 set dummy $ac_prog; ac_word=$2
15045 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15047 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15048 echo $ECHO_N "(cached) $ECHO_C" >&6
15049 else
15050 if test -n "$ac_ct_CXX"; then
15051 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15052 else
15053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15054 for as_dir in $PATH
15055 do
15056 IFS=$as_save_IFS
15057 test -z "$as_dir" && as_dir=.
15058 for ac_exec_ext in '' $ac_executable_extensions; do
15059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15060 ac_cv_prog_ac_ct_CXX="$ac_prog"
15061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15062 break 2
15063 fi
15064 done
15065 done
15066 IFS=$as_save_IFS
15067
15068 fi
15069 fi
15070 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15071 if test -n "$ac_ct_CXX"; then
15072 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15073 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15074 else
15075 { echo "$as_me:$LINENO: result: no" >&5
15076 echo "${ECHO_T}no" >&6; }
15077 fi
15078
15079
15080 test -n "$ac_ct_CXX" && break
15081 done
15082
15083 if test "x$ac_ct_CXX" = x; then
15084 CXX="g++"
15085 else
15086 case $cross_compiling:$ac_tool_warned in
15087 yes:)
15088 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15089 whose name does not start with the host triplet. If you think this
15090 configuration is useful to you, please write to autoconf@gnu.org." >&5
15091 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15092 whose name does not start with the host triplet. If you think this
15093 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15094 ac_tool_warned=yes ;;
15095 esac
15096 CXX=$ac_ct_CXX
15097 fi
15098 fi
15099
15100 fi
15101 fi
15102 # Provide some information about the compiler.
15103 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15104 ac_compiler=`set X $ac_compile; echo $2`
15105 { (ac_try="$ac_compiler --version >&5"
15106 case "(($ac_try" in
15107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15108 *) ac_try_echo=$ac_try;;
15109 esac
15110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15111 (eval "$ac_compiler --version >&5") 2>&5
15112 ac_status=$?
15113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114 (exit $ac_status); }
15115 { (ac_try="$ac_compiler -v >&5"
15116 case "(($ac_try" in
15117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15118 *) ac_try_echo=$ac_try;;
15119 esac
15120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15121 (eval "$ac_compiler -v >&5") 2>&5
15122 ac_status=$?
15123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15124 (exit $ac_status); }
15125 { (ac_try="$ac_compiler -V >&5"
15126 case "(($ac_try" in
15127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15128 *) ac_try_echo=$ac_try;;
15129 esac
15130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15131 (eval "$ac_compiler -V >&5") 2>&5
15132 ac_status=$?
15133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15134 (exit $ac_status); }
15135
15136 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15137 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15138 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15139 echo $ECHO_N "(cached) $ECHO_C" >&6
15140 else
15141 cat >conftest.$ac_ext <<_ACEOF
15142 /* confdefs.h. */
15143 _ACEOF
15144 cat confdefs.h >>conftest.$ac_ext
15145 cat >>conftest.$ac_ext <<_ACEOF
15146 /* end confdefs.h. */
15147
15148 int
15149 main ()
15150 {
15151 #ifndef __GNUC__
15152 choke me
15153 #endif
15154
15155 ;
15156 return 0;
15157 }
15158 _ACEOF
15159 rm -f conftest.$ac_objext
15160 if { (ac_try="$ac_compile"
15161 case "(($ac_try" in
15162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15163 *) ac_try_echo=$ac_try;;
15164 esac
15165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15166 (eval "$ac_compile") 2>conftest.er1
15167 ac_status=$?
15168 grep -v '^ *+' conftest.er1 >conftest.err
15169 rm -f conftest.er1
15170 cat conftest.err >&5
15171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172 (exit $ac_status); } && {
15173 test -z "$ac_cxx_werror_flag" ||
15174 test ! -s conftest.err
15175 } && test -s conftest.$ac_objext; then
15176 ac_compiler_gnu=yes
15177 else
15178 echo "$as_me: failed program was:" >&5
15179 sed 's/^/| /' conftest.$ac_ext >&5
15180
15181 ac_compiler_gnu=no
15182 fi
15183
15184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15185 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15186
15187 fi
15188 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15189 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15190 GXX=`test $ac_compiler_gnu = yes && echo yes`
15191 ac_test_CXXFLAGS=${CXXFLAGS+set}
15192 ac_save_CXXFLAGS=$CXXFLAGS
15193 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15194 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15195 if test "${ac_cv_prog_cxx_g+set}" = set; then
15196 echo $ECHO_N "(cached) $ECHO_C" >&6
15197 else
15198 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15199 ac_cxx_werror_flag=yes
15200 ac_cv_prog_cxx_g=no
15201 CXXFLAGS="-g"
15202 cat >conftest.$ac_ext <<_ACEOF
15203 /* confdefs.h. */
15204 _ACEOF
15205 cat confdefs.h >>conftest.$ac_ext
15206 cat >>conftest.$ac_ext <<_ACEOF
15207 /* end confdefs.h. */
15208
15209 int
15210 main ()
15211 {
15212
15213 ;
15214 return 0;
15215 }
15216 _ACEOF
15217 rm -f conftest.$ac_objext
15218 if { (ac_try="$ac_compile"
15219 case "(($ac_try" in
15220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15221 *) ac_try_echo=$ac_try;;
15222 esac
15223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15224 (eval "$ac_compile") 2>conftest.er1
15225 ac_status=$?
15226 grep -v '^ *+' conftest.er1 >conftest.err
15227 rm -f conftest.er1
15228 cat conftest.err >&5
15229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15230 (exit $ac_status); } && {
15231 test -z "$ac_cxx_werror_flag" ||
15232 test ! -s conftest.err
15233 } && test -s conftest.$ac_objext; then
15234 ac_cv_prog_cxx_g=yes
15235 else
15236 echo "$as_me: failed program was:" >&5
15237 sed 's/^/| /' conftest.$ac_ext >&5
15238
15239 CXXFLAGS=""
15240 cat >conftest.$ac_ext <<_ACEOF
15241 /* confdefs.h. */
15242 _ACEOF
15243 cat confdefs.h >>conftest.$ac_ext
15244 cat >>conftest.$ac_ext <<_ACEOF
15245 /* end confdefs.h. */
15246
15247 int
15248 main ()
15249 {
15250
15251 ;
15252 return 0;
15253 }
15254 _ACEOF
15255 rm -f conftest.$ac_objext
15256 if { (ac_try="$ac_compile"
15257 case "(($ac_try" in
15258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15259 *) ac_try_echo=$ac_try;;
15260 esac
15261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15262 (eval "$ac_compile") 2>conftest.er1
15263 ac_status=$?
15264 grep -v '^ *+' conftest.er1 >conftest.err
15265 rm -f conftest.er1
15266 cat conftest.err >&5
15267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15268 (exit $ac_status); } && {
15269 test -z "$ac_cxx_werror_flag" ||
15270 test ! -s conftest.err
15271 } && test -s conftest.$ac_objext; then
15272 :
15273 else
15274 echo "$as_me: failed program was:" >&5
15275 sed 's/^/| /' conftest.$ac_ext >&5
15276
15277 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15278 CXXFLAGS="-g"
15279 cat >conftest.$ac_ext <<_ACEOF
15280 /* confdefs.h. */
15281 _ACEOF
15282 cat confdefs.h >>conftest.$ac_ext
15283 cat >>conftest.$ac_ext <<_ACEOF
15284 /* end confdefs.h. */
15285
15286 int
15287 main ()
15288 {
15289
15290 ;
15291 return 0;
15292 }
15293 _ACEOF
15294 rm -f conftest.$ac_objext
15295 if { (ac_try="$ac_compile"
15296 case "(($ac_try" in
15297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15298 *) ac_try_echo=$ac_try;;
15299 esac
15300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15301 (eval "$ac_compile") 2>conftest.er1
15302 ac_status=$?
15303 grep -v '^ *+' conftest.er1 >conftest.err
15304 rm -f conftest.er1
15305 cat conftest.err >&5
15306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15307 (exit $ac_status); } && {
15308 test -z "$ac_cxx_werror_flag" ||
15309 test ! -s conftest.err
15310 } && test -s conftest.$ac_objext; then
15311 ac_cv_prog_cxx_g=yes
15312 else
15313 echo "$as_me: failed program was:" >&5
15314 sed 's/^/| /' conftest.$ac_ext >&5
15315
15316
15317 fi
15318
15319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15320 fi
15321
15322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15323 fi
15324
15325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15326 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15327 fi
15328 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15329 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15330 if test "$ac_test_CXXFLAGS" = set; then
15331 CXXFLAGS=$ac_save_CXXFLAGS
15332 elif test $ac_cv_prog_cxx_g = yes; then
15333 if test "$GXX" = yes; then
15334 CXXFLAGS="-g -O2"
15335 else
15336 CXXFLAGS="-g"
15337 fi
15338 else
15339 if test "$GXX" = yes; then
15340 CXXFLAGS="-O2"
15341 else
15342 CXXFLAGS=
15343 fi
15344 fi
15345 ac_ext=c
15346 ac_cpp='$CPP $CPPFLAGS'
15347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15350
15351
15352
15353 ac_ext=cpp
15354 ac_cpp='$CXXCPP $CPPFLAGS'
15355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15358
15359 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15360 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15361 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15362 echo $ECHO_N "(cached) $ECHO_C" >&6
15363 else
15364 cat >conftest.$ac_ext <<_ACEOF
15365 /* confdefs.h. */
15366 _ACEOF
15367 cat confdefs.h >>conftest.$ac_ext
15368 cat >>conftest.$ac_ext <<_ACEOF
15369 /* end confdefs.h. */
15370
15371 int
15372 main ()
15373 {
15374
15375 #ifndef __INTEL_COMPILER
15376 choke me
15377 #endif
15378
15379 ;
15380 return 0;
15381 }
15382 _ACEOF
15383 rm -f conftest.$ac_objext
15384 if { (ac_try="$ac_compile"
15385 case "(($ac_try" in
15386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15387 *) ac_try_echo=$ac_try;;
15388 esac
15389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15390 (eval "$ac_compile") 2>conftest.er1
15391 ac_status=$?
15392 grep -v '^ *+' conftest.er1 >conftest.err
15393 rm -f conftest.er1
15394 cat conftest.err >&5
15395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15396 (exit $ac_status); } && {
15397 test -z "$ac_cxx_werror_flag" ||
15398 test ! -s conftest.err
15399 } && test -s conftest.$ac_objext; then
15400 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
15401 else
15402 echo "$as_me: failed program was:" >&5
15403 sed 's/^/| /' conftest.$ac_ext >&5
15404
15405 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
15406
15407 fi
15408
15409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15410
15411
15412 fi
15413 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15414 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15415 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
15416 :; INTELCXX=yes
15417 else
15418 :;
15419 fi
15420 ac_ext=c
15421 ac_cpp='$CPP $CPPFLAGS'
15422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15425
15426
15427
15428 if test "x$GCXX" != "xyes"; then
15429 if test "xCXX" = "xC"; then
15430 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15431 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15432 if test "${bakefile_cv_c_exto+set}" = set; then
15433 echo $ECHO_N "(cached) $ECHO_C" >&6
15434 else
15435 cat >conftest.$ac_ext <<_ACEOF
15436 /* confdefs.h. */
15437 _ACEOF
15438 cat confdefs.h >>conftest.$ac_ext
15439 cat >>conftest.$ac_ext <<_ACEOF
15440 /* end confdefs.h. */
15441
15442 int
15443 main ()
15444 {
15445
15446 ;
15447 return 0;
15448 }
15449 _ACEOF
15450 rm -f conftest.$ac_objext conftest.$ac_ext.o
15451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15452 (eval $ac_compile) 2>&5
15453 ac_status=$?
15454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15455 (exit $ac_status); }; then
15456 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15457 case $ac_file in
15458 conftest.$ac_ext.o)
15459 bakefile_cv_c_exto="-ext o"
15460 ;;
15461 *)
15462 ;;
15463 esac
15464 done
15465 else
15466 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15467 See \`config.log' for more details." >&5
15468 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15469 See \`config.log' for more details." >&2;}
15470 { (exit 1); exit 1; }; }
15471
15472 fi
15473
15474 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15475
15476 fi
15477 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15478 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15479 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15480 if test "c" = "c"; then
15481 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15482 fi
15483 if test "c" = "cxx"; then
15484 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15485 fi
15486 fi
15487
15488 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15489 unset ac_cv_prog_cc_g
15490 ac_test_CFLAGS=${CFLAGS+set}
15491 ac_save_CFLAGS=$CFLAGS
15492 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15493 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15494 if test "${ac_cv_prog_cc_g+set}" = set; then
15495 echo $ECHO_N "(cached) $ECHO_C" >&6
15496 else
15497 ac_save_c_werror_flag=$ac_c_werror_flag
15498 ac_c_werror_flag=yes
15499 ac_cv_prog_cc_g=no
15500 CFLAGS="-g"
15501 cat >conftest.$ac_ext <<_ACEOF
15502 /* confdefs.h. */
15503 _ACEOF
15504 cat confdefs.h >>conftest.$ac_ext
15505 cat >>conftest.$ac_ext <<_ACEOF
15506 /* end confdefs.h. */
15507
15508 int
15509 main ()
15510 {
15511
15512 ;
15513 return 0;
15514 }
15515 _ACEOF
15516 rm -f conftest.$ac_objext
15517 if { (ac_try="$ac_compile"
15518 case "(($ac_try" in
15519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15520 *) ac_try_echo=$ac_try;;
15521 esac
15522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15523 (eval "$ac_compile") 2>conftest.er1
15524 ac_status=$?
15525 grep -v '^ *+' conftest.er1 >conftest.err
15526 rm -f conftest.er1
15527 cat conftest.err >&5
15528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15529 (exit $ac_status); } && {
15530 test -z "$ac_c_werror_flag" ||
15531 test ! -s conftest.err
15532 } && test -s conftest.$ac_objext; then
15533 ac_cv_prog_cc_g=yes
15534 else
15535 echo "$as_me: failed program was:" >&5
15536 sed 's/^/| /' conftest.$ac_ext >&5
15537
15538 CFLAGS=""
15539 cat >conftest.$ac_ext <<_ACEOF
15540 /* confdefs.h. */
15541 _ACEOF
15542 cat confdefs.h >>conftest.$ac_ext
15543 cat >>conftest.$ac_ext <<_ACEOF
15544 /* end confdefs.h. */
15545
15546 int
15547 main ()
15548 {
15549
15550 ;
15551 return 0;
15552 }
15553 _ACEOF
15554 rm -f conftest.$ac_objext
15555 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
15562 ac_status=$?
15563 grep -v '^ *+' conftest.er1 >conftest.err
15564 rm -f conftest.er1
15565 cat conftest.err >&5
15566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15567 (exit $ac_status); } && {
15568 test -z "$ac_c_werror_flag" ||
15569 test ! -s conftest.err
15570 } && test -s conftest.$ac_objext; then
15571 :
15572 else
15573 echo "$as_me: failed program was:" >&5
15574 sed 's/^/| /' conftest.$ac_ext >&5
15575
15576 ac_c_werror_flag=$ac_save_c_werror_flag
15577 CFLAGS="-g"
15578 cat >conftest.$ac_ext <<_ACEOF
15579 /* confdefs.h. */
15580 _ACEOF
15581 cat confdefs.h >>conftest.$ac_ext
15582 cat >>conftest.$ac_ext <<_ACEOF
15583 /* end confdefs.h. */
15584
15585 int
15586 main ()
15587 {
15588
15589 ;
15590 return 0;
15591 }
15592 _ACEOF
15593 rm -f conftest.$ac_objext
15594 if { (ac_try="$ac_compile"
15595 case "(($ac_try" in
15596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15597 *) ac_try_echo=$ac_try;;
15598 esac
15599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15600 (eval "$ac_compile") 2>conftest.er1
15601 ac_status=$?
15602 grep -v '^ *+' conftest.er1 >conftest.err
15603 rm -f conftest.er1
15604 cat conftest.err >&5
15605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15606 (exit $ac_status); } && {
15607 test -z "$ac_c_werror_flag" ||
15608 test ! -s conftest.err
15609 } && test -s conftest.$ac_objext; then
15610 ac_cv_prog_cc_g=yes
15611 else
15612 echo "$as_me: failed program was:" >&5
15613 sed 's/^/| /' conftest.$ac_ext >&5
15614
15615
15616 fi
15617
15618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15619 fi
15620
15621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15622 fi
15623
15624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15625 ac_c_werror_flag=$ac_save_c_werror_flag
15626 fi
15627 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15628 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15629 if test "$ac_test_CFLAGS" = set; then
15630 CFLAGS=$ac_save_CFLAGS
15631 elif test $ac_cv_prog_cc_g = yes; then
15632 if test "$GCC" = yes; then
15633 CFLAGS="-g -O2"
15634 else
15635 CFLAGS="-g"
15636 fi
15637 else
15638 if test "$GCC" = yes; then
15639 CFLAGS="-O2"
15640 else
15641 CFLAGS=
15642 fi
15643 fi
15644 fi
15645 fi
15646
15647 case `uname -s` in
15648 AIX*)
15649 ac_ext=cpp
15650 ac_cpp='$CXXCPP $CPPFLAGS'
15651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15654
15655 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15656 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15657 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15658 echo $ECHO_N "(cached) $ECHO_C" >&6
15659 else
15660 cat >conftest.$ac_ext <<_ACEOF
15661 /* confdefs.h. */
15662 _ACEOF
15663 cat confdefs.h >>conftest.$ac_ext
15664 cat >>conftest.$ac_ext <<_ACEOF
15665 /* end confdefs.h. */
15666
15667 int
15668 main ()
15669 {
15670 #ifndef __xlC__
15671 choke me
15672 #endif
15673
15674 ;
15675 return 0;
15676 }
15677 _ACEOF
15678 rm -f conftest.$ac_objext
15679 if { (ac_try="$ac_compile"
15680 case "(($ac_try" in
15681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15682 *) ac_try_echo=$ac_try;;
15683 esac
15684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15685 (eval "$ac_compile") 2>conftest.er1
15686 ac_status=$?
15687 grep -v '^ *+' conftest.er1 >conftest.err
15688 rm -f conftest.er1
15689 cat conftest.err >&5
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); } && {
15692 test -z "$ac_cxx_werror_flag" ||
15693 test ! -s conftest.err
15694 } && test -s conftest.$ac_objext; then
15695 bakefile_compiler_xlc=yes
15696 else
15697 echo "$as_me: failed program was:" >&5
15698 sed 's/^/| /' conftest.$ac_ext >&5
15699
15700 bakefile_compiler_xlc=no
15701 fi
15702
15703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15704 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15705
15706 fi
15707 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15708 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15709
15710 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15711 ac_ext=c
15712 ac_cpp='$CPP $CPPFLAGS'
15713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15716
15717
15718 ;;
15719
15720 Darwin)
15721 ac_ext=cpp
15722 ac_cpp='$CXXCPP $CPPFLAGS'
15723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15726
15727 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
15728 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
15729 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
15730 echo $ECHO_N "(cached) $ECHO_C" >&6
15731 else
15732 cat >conftest.$ac_ext <<_ACEOF
15733 /* confdefs.h. */
15734 _ACEOF
15735 cat confdefs.h >>conftest.$ac_ext
15736 cat >>conftest.$ac_ext <<_ACEOF
15737 /* end confdefs.h. */
15738
15739 int
15740 main ()
15741 {
15742 #ifndef __MWERKS__
15743 choke me
15744 #endif
15745
15746 ;
15747 return 0;
15748 }
15749 _ACEOF
15750 rm -f conftest.$ac_objext
15751 if { (ac_try="$ac_compile"
15752 case "(($ac_try" in
15753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15754 *) ac_try_echo=$ac_try;;
15755 esac
15756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15757 (eval "$ac_compile") 2>conftest.er1
15758 ac_status=$?
15759 grep -v '^ *+' conftest.er1 >conftest.err
15760 rm -f conftest.er1
15761 cat conftest.err >&5
15762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15763 (exit $ac_status); } && {
15764 test -z "$ac_cxx_werror_flag" ||
15765 test ! -s conftest.err
15766 } && test -s conftest.$ac_objext; then
15767 bakefile_compiler_mwerks=yes
15768 else
15769 echo "$as_me: failed program was:" >&5
15770 sed 's/^/| /' conftest.$ac_ext >&5
15771
15772 bakefile_compiler_mwerks=no
15773 fi
15774
15775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15776 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
15777
15778 fi
15779 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
15780 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
15781
15782 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
15783 ac_ext=c
15784 ac_cpp='$CPP $CPPFLAGS'
15785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15788
15789
15790 ac_ext=cpp
15791 ac_cpp='$CXXCPP $CPPFLAGS'
15792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15795
15796 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15797 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15798 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15799 echo $ECHO_N "(cached) $ECHO_C" >&6
15800 else
15801 cat >conftest.$ac_ext <<_ACEOF
15802 /* confdefs.h. */
15803 _ACEOF
15804 cat confdefs.h >>conftest.$ac_ext
15805 cat >>conftest.$ac_ext <<_ACEOF
15806 /* end confdefs.h. */
15807
15808 int
15809 main ()
15810 {
15811 #ifndef __xlC__
15812 choke me
15813 #endif
15814
15815 ;
15816 return 0;
15817 }
15818 _ACEOF
15819 rm -f conftest.$ac_objext
15820 if { (ac_try="$ac_compile"
15821 case "(($ac_try" in
15822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15823 *) ac_try_echo=$ac_try;;
15824 esac
15825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15826 (eval "$ac_compile") 2>conftest.er1
15827 ac_status=$?
15828 grep -v '^ *+' conftest.er1 >conftest.err
15829 rm -f conftest.er1
15830 cat conftest.err >&5
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); } && {
15833 test -z "$ac_cxx_werror_flag" ||
15834 test ! -s conftest.err
15835 } && test -s conftest.$ac_objext; then
15836 bakefile_compiler_xlc=yes
15837 else
15838 echo "$as_me: failed program was:" >&5
15839 sed 's/^/| /' conftest.$ac_ext >&5
15840
15841 bakefile_compiler_xlc=no
15842 fi
15843
15844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15845 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15846
15847 fi
15848 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15849 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15850
15851 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15852 ac_ext=c
15853 ac_cpp='$CPP $CPPFLAGS'
15854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15857
15858
15859 ;;
15860
15861 IRIX*)
15862
15863
15864 ac_ext=cpp
15865 ac_cpp='$CXXCPP $CPPFLAGS'
15866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15869
15870 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
15871 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
15872 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
15873 echo $ECHO_N "(cached) $ECHO_C" >&6
15874 else
15875 cat >conftest.$ac_ext <<_ACEOF
15876 /* confdefs.h. */
15877 _ACEOF
15878 cat confdefs.h >>conftest.$ac_ext
15879 cat >>conftest.$ac_ext <<_ACEOF
15880 /* end confdefs.h. */
15881
15882 int
15883 main ()
15884 {
15885
15886 #ifndef _SGI_COMPILER_VERSION
15887 choke me
15888 #endif
15889
15890 ;
15891 return 0;
15892 }
15893 _ACEOF
15894 rm -f conftest.$ac_objext
15895 if { (ac_try="$ac_compile"
15896 case "(($ac_try" in
15897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15898 *) ac_try_echo=$ac_try;;
15899 esac
15900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15901 (eval "$ac_compile") 2>conftest.er1
15902 ac_status=$?
15903 grep -v '^ *+' conftest.er1 >conftest.err
15904 rm -f conftest.er1
15905 cat conftest.err >&5
15906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15907 (exit $ac_status); } && {
15908 test -z "$ac_cxx_werror_flag" ||
15909 test ! -s conftest.err
15910 } && test -s conftest.$ac_objext; then
15911 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
15912 else
15913 echo "$as_me: failed program was:" >&5
15914 sed 's/^/| /' conftest.$ac_ext >&5
15915
15916 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
15917
15918 fi
15919
15920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15921
15922
15923 fi
15924 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
15925 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
15926 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15927 :; SGICXX=yes
15928 else
15929 :;
15930 fi
15931 ac_ext=c
15932 ac_cpp='$CPP $CPPFLAGS'
15933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15936
15937
15938
15939 ;;
15940
15941 HP-UX*)
15942
15943
15944 ac_ext=cpp
15945 ac_cpp='$CXXCPP $CPPFLAGS'
15946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15949
15950 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
15951 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
15952 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
15953 echo $ECHO_N "(cached) $ECHO_C" >&6
15954 else
15955 cat >conftest.$ac_ext <<_ACEOF
15956 /* confdefs.h. */
15957 _ACEOF
15958 cat confdefs.h >>conftest.$ac_ext
15959 cat >>conftest.$ac_ext <<_ACEOF
15960 /* end confdefs.h. */
15961
15962 int
15963 main ()
15964 {
15965
15966 #ifndef __HP_aCC
15967 choke me
15968 #endif
15969
15970 ;
15971 return 0;
15972 }
15973 _ACEOF
15974 rm -f conftest.$ac_objext
15975 if { (ac_try="$ac_compile"
15976 case "(($ac_try" in
15977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15978 *) ac_try_echo=$ac_try;;
15979 esac
15980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15981 (eval "$ac_compile") 2>conftest.er1
15982 ac_status=$?
15983 grep -v '^ *+' conftest.er1 >conftest.err
15984 rm -f conftest.er1
15985 cat conftest.err >&5
15986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15987 (exit $ac_status); } && {
15988 test -z "$ac_cxx_werror_flag" ||
15989 test ! -s conftest.err
15990 } && test -s conftest.$ac_objext; then
15991 bakefile_cv_cxx_compiler___HP_aCC=yes
15992 else
15993 echo "$as_me: failed program was:" >&5
15994 sed 's/^/| /' conftest.$ac_ext >&5
15995
15996 bakefile_cv_cxx_compiler___HP_aCC=no
15997
15998 fi
15999
16000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16001
16002
16003 fi
16004 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
16005 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
16006 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
16007 :; HPCXX=yes
16008 else
16009 :;
16010 fi
16011 ac_ext=c
16012 ac_cpp='$CPP $CPPFLAGS'
16013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16016
16017
16018
16019 ;;
16020
16021 OSF1)
16022
16023
16024 ac_ext=cpp
16025 ac_cpp='$CXXCPP $CPPFLAGS'
16026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16029
16030 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
16031 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
16032 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
16033 echo $ECHO_N "(cached) $ECHO_C" >&6
16034 else
16035 cat >conftest.$ac_ext <<_ACEOF
16036 /* confdefs.h. */
16037 _ACEOF
16038 cat confdefs.h >>conftest.$ac_ext
16039 cat >>conftest.$ac_ext <<_ACEOF
16040 /* end confdefs.h. */
16041
16042 int
16043 main ()
16044 {
16045
16046 #ifndef __DECCXX
16047 choke me
16048 #endif
16049
16050 ;
16051 return 0;
16052 }
16053 _ACEOF
16054 rm -f conftest.$ac_objext
16055 if { (ac_try="$ac_compile"
16056 case "(($ac_try" in
16057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16058 *) ac_try_echo=$ac_try;;
16059 esac
16060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16061 (eval "$ac_compile") 2>conftest.er1
16062 ac_status=$?
16063 grep -v '^ *+' conftest.er1 >conftest.err
16064 rm -f conftest.er1
16065 cat conftest.err >&5
16066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16067 (exit $ac_status); } && {
16068 test -z "$ac_cxx_werror_flag" ||
16069 test ! -s conftest.err
16070 } && test -s conftest.$ac_objext; then
16071 bakefile_cv_cxx_compiler___DECCXX=yes
16072 else
16073 echo "$as_me: failed program was:" >&5
16074 sed 's/^/| /' conftest.$ac_ext >&5
16075
16076 bakefile_cv_cxx_compiler___DECCXX=no
16077
16078 fi
16079
16080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16081
16082
16083 fi
16084 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16085 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16086 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
16087 :; COMPAQCXX=yes
16088 else
16089 :;
16090 fi
16091 ac_ext=c
16092 ac_cpp='$CPP $CPPFLAGS'
16093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16096
16097
16098
16099 ;;
16100
16101 SunOS)
16102
16103
16104 ac_ext=cpp
16105 ac_cpp='$CXXCPP $CPPFLAGS'
16106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16109
16110 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16111 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16112 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16113 echo $ECHO_N "(cached) $ECHO_C" >&6
16114 else
16115 cat >conftest.$ac_ext <<_ACEOF
16116 /* confdefs.h. */
16117 _ACEOF
16118 cat confdefs.h >>conftest.$ac_ext
16119 cat >>conftest.$ac_ext <<_ACEOF
16120 /* end confdefs.h. */
16121
16122 int
16123 main ()
16124 {
16125
16126 #ifndef __SUNPRO_CC
16127 choke me
16128 #endif
16129
16130 ;
16131 return 0;
16132 }
16133 _ACEOF
16134 rm -f conftest.$ac_objext
16135 if { (ac_try="$ac_compile"
16136 case "(($ac_try" in
16137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16138 *) ac_try_echo=$ac_try;;
16139 esac
16140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16141 (eval "$ac_compile") 2>conftest.er1
16142 ac_status=$?
16143 grep -v '^ *+' conftest.er1 >conftest.err
16144 rm -f conftest.er1
16145 cat conftest.err >&5
16146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147 (exit $ac_status); } && {
16148 test -z "$ac_cxx_werror_flag" ||
16149 test ! -s conftest.err
16150 } && test -s conftest.$ac_objext; then
16151 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
16152 else
16153 echo "$as_me: failed program was:" >&5
16154 sed 's/^/| /' conftest.$ac_ext >&5
16155
16156 bakefile_cv_cxx_compiler___SUNPRO_CC=no
16157
16158 fi
16159
16160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16161
16162
16163 fi
16164 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16165 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16166 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
16167 :; SUNCXX=yes
16168 else
16169 :;
16170 fi
16171 ac_ext=c
16172 ac_cpp='$CPP $CPPFLAGS'
16173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16176
16177
16178
16179 ;;
16180 esac
16181 fi
16182
16183
16184
16185 if test -n "$ac_tool_prefix"; then
16186 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16187 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
16188 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16190 if test "${ac_cv_prog_RANLIB+set}" = set; then
16191 echo $ECHO_N "(cached) $ECHO_C" >&6
16192 else
16193 if test -n "$RANLIB"; then
16194 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
16195 else
16196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16197 for as_dir in $PATH
16198 do
16199 IFS=$as_save_IFS
16200 test -z "$as_dir" && as_dir=.
16201 for ac_exec_ext in '' $ac_executable_extensions; do
16202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16203 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
16204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16205 break 2
16206 fi
16207 done
16208 done
16209 IFS=$as_save_IFS
16210
16211 fi
16212 fi
16213 RANLIB=$ac_cv_prog_RANLIB
16214 if test -n "$RANLIB"; then
16215 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16216 echo "${ECHO_T}$RANLIB" >&6; }
16217 else
16218 { echo "$as_me:$LINENO: result: no" >&5
16219 echo "${ECHO_T}no" >&6; }
16220 fi
16221
16222
16223 fi
16224 if test -z "$ac_cv_prog_RANLIB"; then
16225 ac_ct_RANLIB=$RANLIB
16226 # Extract the first word of "ranlib", so it can be a program name with args.
16227 set dummy ranlib; ac_word=$2
16228 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16230 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16231 echo $ECHO_N "(cached) $ECHO_C" >&6
16232 else
16233 if test -n "$ac_ct_RANLIB"; then
16234 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
16235 else
16236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16237 for as_dir in $PATH
16238 do
16239 IFS=$as_save_IFS
16240 test -z "$as_dir" && as_dir=.
16241 for ac_exec_ext in '' $ac_executable_extensions; do
16242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16243 ac_cv_prog_ac_ct_RANLIB="ranlib"
16244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16245 break 2
16246 fi
16247 done
16248 done
16249 IFS=$as_save_IFS
16250
16251 fi
16252 fi
16253 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
16254 if test -n "$ac_ct_RANLIB"; then
16255 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16256 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16257 else
16258 { echo "$as_me:$LINENO: result: no" >&5
16259 echo "${ECHO_T}no" >&6; }
16260 fi
16261
16262 if test "x$ac_ct_RANLIB" = x; then
16263 RANLIB=":"
16264 else
16265 case $cross_compiling:$ac_tool_warned in
16266 yes:)
16267 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16268 whose name does not start with the host triplet. If you think this
16269 configuration is useful to you, please write to autoconf@gnu.org." >&5
16270 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16271 whose name does not start with the host triplet. If you think this
16272 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16273 ac_tool_warned=yes ;;
16274 esac
16275 RANLIB=$ac_ct_RANLIB
16276 fi
16277 else
16278 RANLIB="$ac_cv_prog_RANLIB"
16279 fi
16280
16281
16282 if test "x$SUNCXX" != xyes; then
16283 if test -n "$ac_tool_prefix"; then
16284 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16285 set dummy ${ac_tool_prefix}ar; ac_word=$2
16286 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16288 if test "${ac_cv_prog_AR+set}" = set; then
16289 echo $ECHO_N "(cached) $ECHO_C" >&6
16290 else
16291 if test -n "$AR"; then
16292 ac_cv_prog_AR="$AR" # Let the user override the test.
16293 else
16294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16295 for as_dir in $PATH
16296 do
16297 IFS=$as_save_IFS
16298 test -z "$as_dir" && as_dir=.
16299 for ac_exec_ext in '' $ac_executable_extensions; do
16300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16301 ac_cv_prog_AR="${ac_tool_prefix}ar"
16302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16303 break 2
16304 fi
16305 done
16306 done
16307 IFS=$as_save_IFS
16308
16309 fi
16310 fi
16311 AR=$ac_cv_prog_AR
16312 if test -n "$AR"; then
16313 { echo "$as_me:$LINENO: result: $AR" >&5
16314 echo "${ECHO_T}$AR" >&6; }
16315 else
16316 { echo "$as_me:$LINENO: result: no" >&5
16317 echo "${ECHO_T}no" >&6; }
16318 fi
16319
16320
16321 fi
16322 if test -z "$ac_cv_prog_AR"; then
16323 ac_ct_AR=$AR
16324 # Extract the first word of "ar", so it can be a program name with args.
16325 set dummy ar; ac_word=$2
16326 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16328 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16329 echo $ECHO_N "(cached) $ECHO_C" >&6
16330 else
16331 if test -n "$ac_ct_AR"; then
16332 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
16333 else
16334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16335 for as_dir in $PATH
16336 do
16337 IFS=$as_save_IFS
16338 test -z "$as_dir" && as_dir=.
16339 for ac_exec_ext in '' $ac_executable_extensions; do
16340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16341 ac_cv_prog_ac_ct_AR="ar"
16342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16343 break 2
16344 fi
16345 done
16346 done
16347 IFS=$as_save_IFS
16348
16349 fi
16350 fi
16351 ac_ct_AR=$ac_cv_prog_ac_ct_AR
16352 if test -n "$ac_ct_AR"; then
16353 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16354 echo "${ECHO_T}$ac_ct_AR" >&6; }
16355 else
16356 { echo "$as_me:$LINENO: result: no" >&5
16357 echo "${ECHO_T}no" >&6; }
16358 fi
16359
16360 if test "x$ac_ct_AR" = x; then
16361 AR=""
16362 else
16363 case $cross_compiling:$ac_tool_warned in
16364 yes:)
16365 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16366 whose name does not start with the host triplet. If you think this
16367 configuration is useful to you, please write to autoconf@gnu.org." >&5
16368 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16369 whose name does not start with the host triplet. If you think this
16370 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16371 ac_tool_warned=yes ;;
16372 esac
16373 AR=$ac_ct_AR
16374 fi
16375 else
16376 AR="$ac_cv_prog_AR"
16377 fi
16378
16379 if test "x$AR" = "x" ; then
16380 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16381 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16382 { (exit 1); exit 1; }; }
16383 fi
16384 fi
16385
16386 # Find a good install program. We prefer a C program (faster),
16387 # so one script is as good as another. But avoid the broken or
16388 # incompatible versions:
16389 # SysV /etc/install, /usr/sbin/install
16390 # SunOS /usr/etc/install
16391 # IRIX /sbin/install
16392 # AIX /bin/install
16393 # AmigaOS /C/install, which installs bootblocks on floppy discs
16394 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16395 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16396 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16397 # OS/2's system install, which has a completely different semantic
16398 # ./install, which can be erroneously created by make from ./install.sh.
16399 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16400 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16401 if test -z "$INSTALL"; then
16402 if test "${ac_cv_path_install+set}" = set; then
16403 echo $ECHO_N "(cached) $ECHO_C" >&6
16404 else
16405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16406 for as_dir in $PATH
16407 do
16408 IFS=$as_save_IFS
16409 test -z "$as_dir" && as_dir=.
16410 # Account for people who put trailing slashes in PATH elements.
16411 case $as_dir/ in
16412 ./ | .// | /cC/* | \
16413 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
16414 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
16415 /usr/ucb/* ) ;;
16416 *)
16417 # OSF1 and SCO ODT 3.0 have their own names for install.
16418 # Don't use installbsd from OSF since it installs stuff as root
16419 # by default.
16420 for ac_prog in ginstall scoinst install; do
16421 for ac_exec_ext in '' $ac_executable_extensions; do
16422 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
16423 if test $ac_prog = install &&
16424 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16425 # AIX install. It has an incompatible calling convention.
16426 :
16427 elif test $ac_prog = install &&
16428 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16429 # program-specific install script used by HP pwplus--don't use.
16430 :
16431 else
16432 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
16433 break 3
16434 fi
16435 fi
16436 done
16437 done
16438 ;;
16439 esac
16440 done
16441 IFS=$as_save_IFS
16442
16443
16444 fi
16445 if test "${ac_cv_path_install+set}" = set; then
16446 INSTALL=$ac_cv_path_install
16447 else
16448 # As a last resort, use the slow shell script. Don't cache a
16449 # value for INSTALL within a source directory, because that will
16450 # break other packages using the cache if that directory is
16451 # removed, or if the value is a relative name.
16452 INSTALL=$ac_install_sh
16453 fi
16454 fi
16455 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16456 echo "${ECHO_T}$INSTALL" >&6; }
16457
16458 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16459 # It thinks the first close brace ends the variable substitution.
16460 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
16461
16462 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
16463
16464 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
16465
16466
16467 case ${INSTALL} in
16468 /* ) # Absolute
16469 ;;
16470 ?:* ) # Drive letter, considered as absolute.
16471 ;;
16472 *)
16473 INSTALL=`pwd`/${INSTALL} ;;
16474 esac
16475
16476
16477 case "${host}" in
16478
16479 *-*-darwin* )
16480 INSTALL_PROGRAM="cp -fp"
16481 INSTALL_DATA="cp -fp"
16482 ;;
16483 *)
16484 ;;
16485 esac
16486
16487 if test -n "$ac_tool_prefix"; then
16488 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16489 set dummy ${ac_tool_prefix}strip; ac_word=$2
16490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16492 if test "${ac_cv_prog_STRIP+set}" = set; then
16493 echo $ECHO_N "(cached) $ECHO_C" >&6
16494 else
16495 if test -n "$STRIP"; then
16496 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
16497 else
16498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16499 for as_dir in $PATH
16500 do
16501 IFS=$as_save_IFS
16502 test -z "$as_dir" && as_dir=.
16503 for ac_exec_ext in '' $ac_executable_extensions; do
16504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16505 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
16506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16507 break 2
16508 fi
16509 done
16510 done
16511 IFS=$as_save_IFS
16512
16513 fi
16514 fi
16515 STRIP=$ac_cv_prog_STRIP
16516 if test -n "$STRIP"; then
16517 { echo "$as_me:$LINENO: result: $STRIP" >&5
16518 echo "${ECHO_T}$STRIP" >&6; }
16519 else
16520 { echo "$as_me:$LINENO: result: no" >&5
16521 echo "${ECHO_T}no" >&6; }
16522 fi
16523
16524
16525 fi
16526 if test -z "$ac_cv_prog_STRIP"; then
16527 ac_ct_STRIP=$STRIP
16528 # Extract the first word of "strip", so it can be a program name with args.
16529 set dummy strip; ac_word=$2
16530 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16532 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16533 echo $ECHO_N "(cached) $ECHO_C" >&6
16534 else
16535 if test -n "$ac_ct_STRIP"; then
16536 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
16537 else
16538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16539 for as_dir in $PATH
16540 do
16541 IFS=$as_save_IFS
16542 test -z "$as_dir" && as_dir=.
16543 for ac_exec_ext in '' $ac_executable_extensions; do
16544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16545 ac_cv_prog_ac_ct_STRIP="strip"
16546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16547 break 2
16548 fi
16549 done
16550 done
16551 IFS=$as_save_IFS
16552
16553 fi
16554 fi
16555 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
16556 if test -n "$ac_ct_STRIP"; then
16557 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16558 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
16559 else
16560 { echo "$as_me:$LINENO: result: no" >&5
16561 echo "${ECHO_T}no" >&6; }
16562 fi
16563
16564 if test "x$ac_ct_STRIP" = x; then
16565 STRIP="true"
16566 else
16567 case $cross_compiling:$ac_tool_warned in
16568 yes:)
16569 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16570 whose name does not start with the host triplet. If you think this
16571 configuration is useful to you, please write to autoconf@gnu.org." >&5
16572 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16573 whose name does not start with the host triplet. If you think this
16574 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16575 ac_tool_warned=yes ;;
16576 esac
16577 STRIP=$ac_ct_STRIP
16578 fi
16579 else
16580 STRIP="$ac_cv_prog_STRIP"
16581 fi
16582
16583
16584 if test "$wxUSE_WINE" = "yes"; then
16585 if test -n "$ac_tool_prefix"; then
16586 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
16587 set dummy ${ac_tool_prefix}wrc; ac_word=$2
16588 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16590 if test "${ac_cv_prog_WINDRES+set}" = set; then
16591 echo $ECHO_N "(cached) $ECHO_C" >&6
16592 else
16593 if test -n "$WINDRES"; then
16594 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16595 else
16596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16597 for as_dir in $PATH
16598 do
16599 IFS=$as_save_IFS
16600 test -z "$as_dir" && as_dir=.
16601 for ac_exec_ext in '' $ac_executable_extensions; do
16602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16603 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
16604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16605 break 2
16606 fi
16607 done
16608 done
16609 IFS=$as_save_IFS
16610
16611 fi
16612 fi
16613 WINDRES=$ac_cv_prog_WINDRES
16614 if test -n "$WINDRES"; then
16615 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16616 echo "${ECHO_T}$WINDRES" >&6; }
16617 else
16618 { echo "$as_me:$LINENO: result: no" >&5
16619 echo "${ECHO_T}no" >&6; }
16620 fi
16621
16622
16623 fi
16624 if test -z "$ac_cv_prog_WINDRES"; then
16625 ac_ct_WINDRES=$WINDRES
16626 # Extract the first word of "wrc", so it can be a program name with args.
16627 set dummy wrc; ac_word=$2
16628 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16630 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16631 echo $ECHO_N "(cached) $ECHO_C" >&6
16632 else
16633 if test -n "$ac_ct_WINDRES"; then
16634 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16635 else
16636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16637 for as_dir in $PATH
16638 do
16639 IFS=$as_save_IFS
16640 test -z "$as_dir" && as_dir=.
16641 for ac_exec_ext in '' $ac_executable_extensions; do
16642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16643 ac_cv_prog_ac_ct_WINDRES="wrc"
16644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16645 break 2
16646 fi
16647 done
16648 done
16649 IFS=$as_save_IFS
16650
16651 fi
16652 fi
16653 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16654 if test -n "$ac_ct_WINDRES"; then
16655 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16656 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16657 else
16658 { echo "$as_me:$LINENO: result: no" >&5
16659 echo "${ECHO_T}no" >&6; }
16660 fi
16661
16662 if test "x$ac_ct_WINDRES" = x; then
16663 WINDRES=""
16664 else
16665 case $cross_compiling:$ac_tool_warned in
16666 yes:)
16667 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16668 whose name does not start with the host triplet. If you think this
16669 configuration is useful to you, please write to autoconf@gnu.org." >&5
16670 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16671 whose name does not start with the host triplet. If you think this
16672 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16673 ac_tool_warned=yes ;;
16674 esac
16675 WINDRES=$ac_ct_WINDRES
16676 fi
16677 else
16678 WINDRES="$ac_cv_prog_WINDRES"
16679 fi
16680
16681 RESCOMP="$WINDRES"
16682 else
16683 case "${host}" in
16684 *-*-cygwin* | *-*-mingw32* )
16685 if test -n "$ac_tool_prefix"; then
16686 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16687 set dummy ${ac_tool_prefix}windres; ac_word=$2
16688 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16690 if test "${ac_cv_prog_WINDRES+set}" = set; then
16691 echo $ECHO_N "(cached) $ECHO_C" >&6
16692 else
16693 if test -n "$WINDRES"; then
16694 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16695 else
16696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16697 for as_dir in $PATH
16698 do
16699 IFS=$as_save_IFS
16700 test -z "$as_dir" && as_dir=.
16701 for ac_exec_ext in '' $ac_executable_extensions; do
16702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16703 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
16704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16705 break 2
16706 fi
16707 done
16708 done
16709 IFS=$as_save_IFS
16710
16711 fi
16712 fi
16713 WINDRES=$ac_cv_prog_WINDRES
16714 if test -n "$WINDRES"; then
16715 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16716 echo "${ECHO_T}$WINDRES" >&6; }
16717 else
16718 { echo "$as_me:$LINENO: result: no" >&5
16719 echo "${ECHO_T}no" >&6; }
16720 fi
16721
16722
16723 fi
16724 if test -z "$ac_cv_prog_WINDRES"; then
16725 ac_ct_WINDRES=$WINDRES
16726 # Extract the first word of "windres", so it can be a program name with args.
16727 set dummy windres; ac_word=$2
16728 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16730 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16731 echo $ECHO_N "(cached) $ECHO_C" >&6
16732 else
16733 if test -n "$ac_ct_WINDRES"; then
16734 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16735 else
16736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16737 for as_dir in $PATH
16738 do
16739 IFS=$as_save_IFS
16740 test -z "$as_dir" && as_dir=.
16741 for ac_exec_ext in '' $ac_executable_extensions; do
16742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16743 ac_cv_prog_ac_ct_WINDRES="windres"
16744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16745 break 2
16746 fi
16747 done
16748 done
16749 IFS=$as_save_IFS
16750
16751 fi
16752 fi
16753 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16754 if test -n "$ac_ct_WINDRES"; then
16755 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16756 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16757 else
16758 { echo "$as_me:$LINENO: result: no" >&5
16759 echo "${ECHO_T}no" >&6; }
16760 fi
16761
16762 if test "x$ac_ct_WINDRES" = x; then
16763 WINDRES=""
16764 else
16765 case $cross_compiling:$ac_tool_warned in
16766 yes:)
16767 { echo "$as_me:$LINENO: 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." >&5
16770 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16771 whose name does not start with the host triplet. If you think this
16772 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16773 ac_tool_warned=yes ;;
16774 esac
16775 WINDRES=$ac_ct_WINDRES
16776 fi
16777 else
16778 WINDRES="$ac_cv_prog_WINDRES"
16779 fi
16780
16781 RESCOMP="$WINDRES"
16782 if test -n "$ac_tool_prefix"; then
16783 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
16784 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
16785 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16787 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16788 echo $ECHO_N "(cached) $ECHO_C" >&6
16789 else
16790 if test -n "$DLLTOOL"; then
16791 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16792 else
16793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16794 for as_dir in $PATH
16795 do
16796 IFS=$as_save_IFS
16797 test -z "$as_dir" && as_dir=.
16798 for ac_exec_ext in '' $ac_executable_extensions; do
16799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16800 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
16801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16802 break 2
16803 fi
16804 done
16805 done
16806 IFS=$as_save_IFS
16807
16808 fi
16809 fi
16810 DLLTOOL=$ac_cv_prog_DLLTOOL
16811 if test -n "$DLLTOOL"; then
16812 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16813 echo "${ECHO_T}$DLLTOOL" >&6; }
16814 else
16815 { echo "$as_me:$LINENO: result: no" >&5
16816 echo "${ECHO_T}no" >&6; }
16817 fi
16818
16819
16820 fi
16821 if test -z "$ac_cv_prog_DLLTOOL"; then
16822 ac_ct_DLLTOOL=$DLLTOOL
16823 # Extract the first word of "dlltool", so it can be a program name with args.
16824 set dummy dlltool; ac_word=$2
16825 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16827 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
16828 echo $ECHO_N "(cached) $ECHO_C" >&6
16829 else
16830 if test -n "$ac_ct_DLLTOOL"; then
16831 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
16832 else
16833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16834 for as_dir in $PATH
16835 do
16836 IFS=$as_save_IFS
16837 test -z "$as_dir" && as_dir=.
16838 for ac_exec_ext in '' $ac_executable_extensions; do
16839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16840 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
16841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16842 break 2
16843 fi
16844 done
16845 done
16846 IFS=$as_save_IFS
16847
16848 fi
16849 fi
16850 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
16851 if test -n "$ac_ct_DLLTOOL"; then
16852 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
16853 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
16854 else
16855 { echo "$as_me:$LINENO: result: no" >&5
16856 echo "${ECHO_T}no" >&6; }
16857 fi
16858
16859 if test "x$ac_ct_DLLTOOL" = x; then
16860 DLLTOOL=""
16861 else
16862 case $cross_compiling:$ac_tool_warned in
16863 yes:)
16864 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16865 whose name does not start with the host triplet. If you think this
16866 configuration is useful to you, please write to autoconf@gnu.org." >&5
16867 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16868 whose name does not start with the host triplet. If you think this
16869 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16870 ac_tool_warned=yes ;;
16871 esac
16872 DLLTOOL=$ac_ct_DLLTOOL
16873 fi
16874 else
16875 DLLTOOL="$ac_cv_prog_DLLTOOL"
16876 fi
16877
16878 ;;
16879 esac
16880 fi
16881
16882 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
16883 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
16884 if test "${wx_cv_prog_makeisgnu+set}" = set; then
16885 echo $ECHO_N "(cached) $ECHO_C" >&6
16886 else
16887
16888 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
16889 $EGREP -s GNU > /dev/null); then
16890 wx_cv_prog_makeisgnu="yes"
16891 else
16892 wx_cv_prog_makeisgnu="no"
16893 fi
16894
16895 fi
16896 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
16897 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
16898
16899 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
16900 IF_GNU_MAKE=""
16901 else
16902 IF_GNU_MAKE="#"
16903 fi
16904
16905
16906
16907 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
16908 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
16909 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
16910 if test "${wx_cv_prog_makevpath+set}" = set; then
16911 echo $ECHO_N "(cached) $ECHO_C" >&6
16912 else
16913
16914 cat - << EOF > confMake
16915 check : file
16916 cp \$? \$@
16917 cp \$? final_file
16918 EOF
16919
16920 if test ! -d sub ; then
16921 mkdir sub
16922 fi
16923 echo dummy > sub/file
16924 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
16925 RESULT=$?
16926 rm -f sub/file check final_file confMake
16927 rmdir sub
16928 if test "$RESULT" = 0; then
16929 wx_cv_prog_makevpath="yes"
16930 else
16931 wx_cv_prog_makevpath="no"
16932 fi
16933
16934 fi
16935 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
16936 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
16937
16938 if test "x$wx_cv_prog_makevpath" != "xyes"; then
16939 { { echo "$as_me:$LINENO: error:
16940 You need a make-utility that is able to use the variable
16941 VPATH correctly.
16942 If your version of make does not support VPATH correctly,
16943 please install GNU-make (possibly as gmake), and start
16944 configure with the following command:
16945 export MAKE=gmake; ./configure for sh-type shells
16946 setenv MAKE gmake; ./configure for csh-type shells
16947 Also please do remember to use gmake in this case every time
16948 you are trying to compile.
16949 " >&5
16950 echo "$as_me: error:
16951 You need a make-utility that is able to use the variable
16952 VPATH correctly.
16953 If your version of make does not support VPATH correctly,
16954 please install GNU-make (possibly as gmake), and start
16955 configure with the following command:
16956 export MAKE=gmake; ./configure for sh-type shells
16957 setenv MAKE gmake; ./configure for csh-type shells
16958 Also please do remember to use gmake in this case every time
16959 you are trying to compile.
16960 " >&2;}
16961 { (exit 1); exit 1; }; }
16962 fi fi
16963 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
16964 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
16965 LN_S=$as_ln_s
16966 if test "$LN_S" = "ln -s"; then
16967 { echo "$as_me:$LINENO: result: yes" >&5
16968 echo "${ECHO_T}yes" >&6; }
16969 else
16970 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
16971 echo "${ECHO_T}no, using $LN_S" >&6; }
16972 fi
16973
16974
16975
16976
16977 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
16978 CXXFLAGS="-qunique $CXXFLAGS"
16979 fi
16980
16981 case "${host}" in
16982 powerpc-*-darwin* )
16983 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
16984 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
16985 cat >conftest.$ac_ext <<_ACEOF
16986 /* confdefs.h. */
16987 _ACEOF
16988 cat confdefs.h >>conftest.$ac_ext
16989 cat >>conftest.$ac_ext <<_ACEOF
16990 /* end confdefs.h. */
16991
16992 int
16993 main ()
16994 {
16995 #ifndef __POWERPC__
16996 choke me for lack of PowerPC
16997 #endif
16998
16999 ;
17000 return 0;
17001 }
17002 _ACEOF
17003 rm -f conftest.$ac_objext
17004 if { (ac_try="$ac_compile"
17005 case "(($ac_try" in
17006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17007 *) ac_try_echo=$ac_try;;
17008 esac
17009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17010 (eval "$ac_compile") 2>conftest.er1
17011 ac_status=$?
17012 grep -v '^ *+' conftest.er1 >conftest.err
17013 rm -f conftest.er1
17014 cat conftest.err >&5
17015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17016 (exit $ac_status); } && {
17017 test -z "$ac_c_werror_flag" ||
17018 test ! -s conftest.err
17019 } && test -s conftest.$ac_objext; then
17020 { echo "$as_me:$LINENO: result: yes" >&5
17021 echo "${ECHO_T}yes" >&6; }
17022 else
17023 echo "$as_me: failed program was:" >&5
17024 sed 's/^/| /' conftest.$ac_ext >&5
17025
17026 { echo "$as_me:$LINENO: result: no" >&5
17027 echo "${ECHO_T}no" >&6; }
17028 cat >>confdefs.h <<\_ACEOF
17029 #define __POWERPC__ 1
17030 _ACEOF
17031
17032
17033 fi
17034
17035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17036 ;;
17037 esac
17038
17039 case "${host}" in
17040 *-*-darwin* )
17041 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17042 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17043 cat >conftest.$ac_ext <<_ACEOF
17044 /* confdefs.h. */
17045 _ACEOF
17046 cat confdefs.h >>conftest.$ac_ext
17047 cat >>conftest.$ac_ext <<_ACEOF
17048 /* end confdefs.h. */
17049 #include <CoreFoundation/CFBase.h>
17050
17051 int
17052 main ()
17053 {
17054
17055 ;
17056 return 0;
17057 }
17058 _ACEOF
17059 rm -f conftest.$ac_objext
17060 if { (ac_try="$ac_compile"
17061 case "(($ac_try" in
17062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17063 *) ac_try_echo=$ac_try;;
17064 esac
17065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17066 (eval "$ac_compile") 2>conftest.er1
17067 ac_status=$?
17068 grep -v '^ *+' conftest.er1 >conftest.err
17069 rm -f conftest.er1
17070 cat conftest.err >&5
17071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17072 (exit $ac_status); } && {
17073 test -z "$ac_c_werror_flag" ||
17074 test ! -s conftest.err
17075 } && test -s conftest.$ac_objext; then
17076 { echo "$as_me:$LINENO: result: yes" >&5
17077 echo "${ECHO_T}yes" >&6; }
17078 else
17079 echo "$as_me: failed program was:" >&5
17080 sed 's/^/| /' conftest.$ac_ext >&5
17081
17082 { echo "$as_me:$LINENO: result: no" >&5
17083 echo "${ECHO_T}no" >&6; }
17084 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17085 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17086 cat >conftest.$ac_ext <<_ACEOF
17087 /* confdefs.h. */
17088 _ACEOF
17089 cat confdefs.h >>conftest.$ac_ext
17090 cat >>conftest.$ac_ext <<_ACEOF
17091 /* end confdefs.h. */
17092 #define __CF_USE_FRAMEWORK_INCLUDES__
17093 #include <CoreFoundation/CFBase.h>
17094
17095 int
17096 main ()
17097 {
17098
17099 ;
17100 return 0;
17101 }
17102 _ACEOF
17103 rm -f conftest.$ac_objext
17104 if { (ac_try="$ac_compile"
17105 case "(($ac_try" in
17106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17107 *) ac_try_echo=$ac_try;;
17108 esac
17109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17110 (eval "$ac_compile") 2>conftest.er1
17111 ac_status=$?
17112 grep -v '^ *+' conftest.er1 >conftest.err
17113 rm -f conftest.er1
17114 cat conftest.err >&5
17115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17116 (exit $ac_status); } && {
17117 test -z "$ac_c_werror_flag" ||
17118 test ! -s conftest.err
17119 } && test -s conftest.$ac_objext; then
17120 { echo "$as_me:$LINENO: result: yes" >&5
17121 echo "${ECHO_T}yes" >&6; }
17122 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17123 else
17124 echo "$as_me: failed program was:" >&5
17125 sed 's/^/| /' conftest.$ac_ext >&5
17126
17127 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17128 See \`config.log' for more details." >&5
17129 echo "$as_me: error: no. CoreFoundation not available.
17130 See \`config.log' for more details." >&2;}
17131 { (exit 1); exit 1; }; }
17132
17133 fi
17134
17135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17136
17137
17138 fi
17139
17140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17141 ;;
17142 esac
17143
17144 wants_win32=0
17145 doesnt_want_win32=0
17146 case "${host}" in
17147 *-*-cygwin*)
17148 if test "$wxUSE_MSW" = 1 ; then
17149 wants_win32=1
17150 else
17151 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17152 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17153 if test "${wx_cv_nocygwin+set}" = set; then
17154 echo $ECHO_N "(cached) $ECHO_C" >&6
17155 else
17156
17157 cat >conftest.$ac_ext <<_ACEOF
17158 /* confdefs.h. */
17159 _ACEOF
17160 cat confdefs.h >>conftest.$ac_ext
17161 cat >>conftest.$ac_ext <<_ACEOF
17162 /* end confdefs.h. */
17163
17164 int
17165 main ()
17166 {
17167
17168 #ifdef __MINGW32__
17169 choke me
17170 #endif
17171
17172 ;
17173 return 0;
17174 }
17175 _ACEOF
17176 rm -f conftest.$ac_objext
17177 if { (ac_try="$ac_compile"
17178 case "(($ac_try" in
17179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17180 *) ac_try_echo=$ac_try;;
17181 esac
17182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17183 (eval "$ac_compile") 2>conftest.er1
17184 ac_status=$?
17185 grep -v '^ *+' conftest.er1 >conftest.err
17186 rm -f conftest.er1
17187 cat conftest.err >&5
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); } && {
17190 test -z "$ac_c_werror_flag" ||
17191 test ! -s conftest.err
17192 } && test -s conftest.$ac_objext; then
17193 wx_cv_nocygwin=no
17194 else
17195 echo "$as_me: failed program was:" >&5
17196 sed 's/^/| /' conftest.$ac_ext >&5
17197
17198 wx_cv_nocygwin=yes
17199
17200 fi
17201
17202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17203
17204
17205 fi
17206 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
17207 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17208
17209 if test "$wx_cv_nocygwin" = "yes"; then
17210 wants_win32=1
17211 else
17212 doesnt_want_win32=1
17213 fi
17214 fi
17215 if test "$wants_win32" = 1 ; then
17216 BAKEFILE_FORCE_PLATFORM=win32
17217 fi
17218 ;;
17219 *-*-mingw*)
17220 wants_win32=1
17221 ;;
17222 esac
17223
17224 if test "$wxUSE_WINE" = "yes"; then
17225 wants_win32=1
17226 LDFLAGS_GUI="-mwindows"
17227 fi
17228
17229 if test "$wants_win32" = 1 ; then
17230 USE_UNIX=0
17231 USE_WIN32=1
17232 cat >>confdefs.h <<\_ACEOF
17233 #define __WIN32__ 1
17234 _ACEOF
17235
17236 cat >>confdefs.h <<\_ACEOF
17237 #define __WIN95__ 1
17238 _ACEOF
17239
17240 cat >>confdefs.h <<\_ACEOF
17241 #define __WINDOWS__ 1
17242 _ACEOF
17243
17244 cat >>confdefs.h <<\_ACEOF
17245 #define __GNUWIN32__ 1
17246 _ACEOF
17247
17248 cat >>confdefs.h <<\_ACEOF
17249 #define STRICT 1
17250 _ACEOF
17251
17252 fi
17253 if test "$doesnt_want_win32" = 1 ; then
17254 USE_UNIX=1
17255 USE_WIN32=0
17256 fi
17257
17258 if test "$USE_UNIX" = 1 ; then
17259 wxUSE_UNIX=yes
17260 cat >>confdefs.h <<\_ACEOF
17261 #define __UNIX__ 1
17262 _ACEOF
17263
17264 fi
17265
17266 case "${host}" in
17267 *-pc-os2_emx | *-pc-os2-emx )
17268 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17269 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
17270 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
17271 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17272 echo $ECHO_N "(cached) $ECHO_C" >&6
17273 else
17274 ac_check_lib_save_LIBS=$LIBS
17275 LIBS="-lcExt $LIBS"
17276 cat >conftest.$ac_ext <<_ACEOF
17277 /* confdefs.h. */
17278 _ACEOF
17279 cat confdefs.h >>conftest.$ac_ext
17280 cat >>conftest.$ac_ext <<_ACEOF
17281 /* end confdefs.h. */
17282
17283 /* Override any GCC internal prototype to avoid an error.
17284 Use char because int might match the return type of a GCC
17285 builtin and then its argument prototype would still apply. */
17286 #ifdef __cplusplus
17287 extern "C"
17288 #endif
17289 char drand48 ();
17290 int
17291 main ()
17292 {
17293 return drand48 ();
17294 ;
17295 return 0;
17296 }
17297 _ACEOF
17298 rm -f conftest.$ac_objext conftest$ac_exeext
17299 if { (ac_try="$ac_link"
17300 case "(($ac_try" in
17301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17302 *) ac_try_echo=$ac_try;;
17303 esac
17304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17305 (eval "$ac_link") 2>conftest.er1
17306 ac_status=$?
17307 grep -v '^ *+' conftest.er1 >conftest.err
17308 rm -f conftest.er1
17309 cat conftest.err >&5
17310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17311 (exit $ac_status); } && {
17312 test -z "$ac_c_werror_flag" ||
17313 test ! -s conftest.err
17314 } && test -s conftest$ac_exeext &&
17315 $as_test_x conftest$ac_exeext; then
17316 ac_cv_lib_cExt_drand48=yes
17317 else
17318 echo "$as_me: failed program was:" >&5
17319 sed 's/^/| /' conftest.$ac_ext >&5
17320
17321 ac_cv_lib_cExt_drand48=no
17322 fi
17323
17324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17325 conftest$ac_exeext conftest.$ac_ext
17326 LIBS=$ac_check_lib_save_LIBS
17327 fi
17328 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
17329 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17330 if test $ac_cv_lib_cExt_drand48 = yes; then
17331 LIBS="$LIBS -lcExt"
17332 fi
17333
17334 else
17335 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
17336 fi
17337 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
17338 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
17339 if test "${wx_cv_gccversion+set}" = set; then
17340 echo $ECHO_N "(cached) $ECHO_C" >&6
17341 else
17342
17343 if test "$cross_compiling" = yes; then
17344 wx_cv_gccversion="EMX2"
17345
17346 else
17347 cat >conftest.$ac_ext <<_ACEOF
17348 /* confdefs.h. */
17349 _ACEOF
17350 cat confdefs.h >>conftest.$ac_ext
17351 cat >>conftest.$ac_ext <<_ACEOF
17352 /* end confdefs.h. */
17353
17354 #include <stdio.h>
17355
17356 int main()
17357 {
17358 FILE *f=fopen("conftestval", "w");
17359 if (!f) exit(1);
17360 fprintf(f,
17361 #if (__GNUC__ < 3)
17362 "EMX2"
17363 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17364 "EMX3"
17365 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17366 "Innotek5"
17367 #else
17368 "Innotek6"
17369 #endif
17370 );
17371 exit(0);
17372 }
17373
17374 _ACEOF
17375 rm -f conftest$ac_exeext
17376 if { (ac_try="$ac_link"
17377 case "(($ac_try" in
17378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17379 *) ac_try_echo=$ac_try;;
17380 esac
17381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17382 (eval "$ac_link") 2>&5
17383 ac_status=$?
17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17386 { (case "(($ac_try" in
17387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17388 *) ac_try_echo=$ac_try;;
17389 esac
17390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17391 (eval "$ac_try") 2>&5
17392 ac_status=$?
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); }; }; then
17395 wx_cv_gccversion=`cat conftestval`
17396 else
17397 echo "$as_me: program exited with status $ac_status" >&5
17398 echo "$as_me: failed program was:" >&5
17399 sed 's/^/| /' conftest.$ac_ext >&5
17400
17401 ( exit $ac_status )
17402 wx_cv_gccversion="EMX2"
17403 fi
17404 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17405 fi
17406
17407
17408
17409 fi
17410 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
17411 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
17412 if test "$wx_cv_gccversion" = "EMX2"; then
17413 LIBS="$LIBS -lstdcpp"
17414 LDFLAGS="$LDFLAGS -Zsysv-signals"
17415 else
17416 if test "$wx_cv_gccversion" = "EMX3"; then
17417 LIBS="$LIBS -lstdcxx -lgcc"
17418 LDFLAGS="$LDFLAGS -Zsysv-signals"
17419 else
17420 LIBS="$LIBS -lstdc++"
17421 fi
17422 fi
17423 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
17424 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
17425 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
17426 wxUSE_OMF=yes
17427 enable_omf=yes
17428 fi
17429 ;;
17430 *)
17431
17432 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
17433 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
17434 if test "${ac_cv_string_strcasecmp+set}" = set; then
17435 echo $ECHO_N "(cached) $ECHO_C" >&6
17436 else
17437
17438 cat >conftest.$ac_ext <<_ACEOF
17439 /* confdefs.h. */
17440 _ACEOF
17441 cat confdefs.h >>conftest.$ac_ext
17442 cat >>conftest.$ac_ext <<_ACEOF
17443 /* end confdefs.h. */
17444
17445 #include <string.h>
17446
17447 int
17448 main ()
17449 {
17450
17451 strcasecmp("foo", "bar");
17452
17453 ;
17454 return 0;
17455 }
17456 _ACEOF
17457 rm -f conftest.$ac_objext conftest$ac_exeext
17458 if { (ac_try="$ac_link"
17459 case "(($ac_try" in
17460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17461 *) ac_try_echo=$ac_try;;
17462 esac
17463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17464 (eval "$ac_link") 2>conftest.er1
17465 ac_status=$?
17466 grep -v '^ *+' conftest.er1 >conftest.err
17467 rm -f conftest.er1
17468 cat conftest.err >&5
17469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17470 (exit $ac_status); } && {
17471 test -z "$ac_c_werror_flag" ||
17472 test ! -s conftest.err
17473 } && test -s conftest$ac_exeext &&
17474 $as_test_x conftest$ac_exeext; then
17475 ac_cv_string_strcasecmp=yes
17476 else
17477 echo "$as_me: failed program was:" >&5
17478 sed 's/^/| /' conftest.$ac_ext >&5
17479
17480 ac_cv_string_strcasecmp=no
17481
17482 fi
17483
17484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17485 conftest$ac_exeext conftest.$ac_ext
17486
17487 fi
17488 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
17489 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
17490
17491 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
17492 cat >>confdefs.h <<\_ACEOF
17493 #define HAVE_STRCASECMP_IN_STRING_H 1
17494 _ACEOF
17495
17496 else
17497 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
17498 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
17499 if test "${ac_cv_strings_strcasecmp+set}" = set; then
17500 echo $ECHO_N "(cached) $ECHO_C" >&6
17501 else
17502
17503 cat >conftest.$ac_ext <<_ACEOF
17504 /* confdefs.h. */
17505 _ACEOF
17506 cat confdefs.h >>conftest.$ac_ext
17507 cat >>conftest.$ac_ext <<_ACEOF
17508 /* end confdefs.h. */
17509
17510 #include <strings.h>
17511
17512 int
17513 main ()
17514 {
17515
17516 strcasecmp("foo", "bar");
17517
17518 ;
17519 return 0;
17520 }
17521 _ACEOF
17522 rm -f conftest.$ac_objext conftest$ac_exeext
17523 if { (ac_try="$ac_link"
17524 case "(($ac_try" in
17525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17526 *) ac_try_echo=$ac_try;;
17527 esac
17528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17529 (eval "$ac_link") 2>conftest.er1
17530 ac_status=$?
17531 grep -v '^ *+' conftest.er1 >conftest.err
17532 rm -f conftest.er1
17533 cat conftest.err >&5
17534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17535 (exit $ac_status); } && {
17536 test -z "$ac_c_werror_flag" ||
17537 test ! -s conftest.err
17538 } && test -s conftest$ac_exeext &&
17539 $as_test_x conftest$ac_exeext; then
17540 ac_cv_strings_strcasecmp=yes
17541 else
17542 echo "$as_me: failed program was:" >&5
17543 sed 's/^/| /' conftest.$ac_ext >&5
17544
17545 ac_cv_strings_strcasecmp=no
17546
17547 fi
17548
17549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17550 conftest$ac_exeext conftest.$ac_ext
17551
17552 fi
17553 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
17554 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
17555
17556 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
17557 cat >>confdefs.h <<\_ACEOF
17558 #define HAVE_STRCASECMP_IN_STRINGS_H 1
17559 _ACEOF
17560
17561 else
17562 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
17563 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
17564 { (exit 1); exit 1; }; }
17565 fi
17566 fi
17567
17568 ;;
17569 esac
17570
17571
17572 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
17573 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
17574 if test "${ac_cv_header_stdc+set}" = set; then
17575 echo $ECHO_N "(cached) $ECHO_C" >&6
17576 else
17577 cat >conftest.$ac_ext <<_ACEOF
17578 /* confdefs.h. */
17579 _ACEOF
17580 cat confdefs.h >>conftest.$ac_ext
17581 cat >>conftest.$ac_ext <<_ACEOF
17582 /* end confdefs.h. */
17583 #include <stdlib.h>
17584 #include <stdarg.h>
17585 #include <string.h>
17586 #include <float.h>
17587
17588 int
17589 main ()
17590 {
17591
17592 ;
17593 return 0;
17594 }
17595 _ACEOF
17596 rm -f conftest.$ac_objext
17597 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
17604 ac_status=$?
17605 grep -v '^ *+' conftest.er1 >conftest.err
17606 rm -f conftest.er1
17607 cat conftest.err >&5
17608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17609 (exit $ac_status); } && {
17610 test -z "$ac_c_werror_flag" ||
17611 test ! -s conftest.err
17612 } && test -s conftest.$ac_objext; then
17613 ac_cv_header_stdc=yes
17614 else
17615 echo "$as_me: failed program was:" >&5
17616 sed 's/^/| /' conftest.$ac_ext >&5
17617
17618 ac_cv_header_stdc=no
17619 fi
17620
17621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17622
17623 if test $ac_cv_header_stdc = yes; then
17624 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17625 cat >conftest.$ac_ext <<_ACEOF
17626 /* confdefs.h. */
17627 _ACEOF
17628 cat confdefs.h >>conftest.$ac_ext
17629 cat >>conftest.$ac_ext <<_ACEOF
17630 /* end confdefs.h. */
17631 #include <string.h>
17632
17633 _ACEOF
17634 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17635 $EGREP "memchr" >/dev/null 2>&1; then
17636 :
17637 else
17638 ac_cv_header_stdc=no
17639 fi
17640 rm -f conftest*
17641
17642 fi
17643
17644 if test $ac_cv_header_stdc = yes; then
17645 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17646 cat >conftest.$ac_ext <<_ACEOF
17647 /* confdefs.h. */
17648 _ACEOF
17649 cat confdefs.h >>conftest.$ac_ext
17650 cat >>conftest.$ac_ext <<_ACEOF
17651 /* end confdefs.h. */
17652 #include <stdlib.h>
17653
17654 _ACEOF
17655 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17656 $EGREP "free" >/dev/null 2>&1; then
17657 :
17658 else
17659 ac_cv_header_stdc=no
17660 fi
17661 rm -f conftest*
17662
17663 fi
17664
17665 if test $ac_cv_header_stdc = yes; then
17666 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17667 if test "$cross_compiling" = yes; then
17668 :
17669 else
17670 cat >conftest.$ac_ext <<_ACEOF
17671 /* confdefs.h. */
17672 _ACEOF
17673 cat confdefs.h >>conftest.$ac_ext
17674 cat >>conftest.$ac_ext <<_ACEOF
17675 /* end confdefs.h. */
17676 #include <ctype.h>
17677 #include <stdlib.h>
17678 #if ((' ' & 0x0FF) == 0x020)
17679 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17680 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17681 #else
17682 # define ISLOWER(c) \
17683 (('a' <= (c) && (c) <= 'i') \
17684 || ('j' <= (c) && (c) <= 'r') \
17685 || ('s' <= (c) && (c) <= 'z'))
17686 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17687 #endif
17688
17689 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17690 int
17691 main ()
17692 {
17693 int i;
17694 for (i = 0; i < 256; i++)
17695 if (XOR (islower (i), ISLOWER (i))
17696 || toupper (i) != TOUPPER (i))
17697 return 2;
17698 return 0;
17699 }
17700 _ACEOF
17701 rm -f conftest$ac_exeext
17702 if { (ac_try="$ac_link"
17703 case "(($ac_try" in
17704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17705 *) ac_try_echo=$ac_try;;
17706 esac
17707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17708 (eval "$ac_link") 2>&5
17709 ac_status=$?
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17712 { (case "(($ac_try" in
17713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17714 *) ac_try_echo=$ac_try;;
17715 esac
17716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17717 (eval "$ac_try") 2>&5
17718 ac_status=$?
17719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17720 (exit $ac_status); }; }; then
17721 :
17722 else
17723 echo "$as_me: program exited with status $ac_status" >&5
17724 echo "$as_me: failed program was:" >&5
17725 sed 's/^/| /' conftest.$ac_ext >&5
17726
17727 ( exit $ac_status )
17728 ac_cv_header_stdc=no
17729 fi
17730 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17731 fi
17732
17733
17734 fi
17735 fi
17736 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
17737 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
17738 if test $ac_cv_header_stdc = yes; then
17739
17740 cat >>confdefs.h <<\_ACEOF
17741 #define STDC_HEADERS 1
17742 _ACEOF
17743
17744 fi
17745
17746 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
17747
17748
17749
17750
17751
17752
17753
17754
17755
17756 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
17757 inttypes.h stdint.h unistd.h
17758 do
17759 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17760 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17761 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17762 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17763 echo $ECHO_N "(cached) $ECHO_C" >&6
17764 else
17765 cat >conftest.$ac_ext <<_ACEOF
17766 /* confdefs.h. */
17767 _ACEOF
17768 cat confdefs.h >>conftest.$ac_ext
17769 cat >>conftest.$ac_ext <<_ACEOF
17770 /* end confdefs.h. */
17771 $ac_includes_default
17772
17773 #include <$ac_header>
17774 _ACEOF
17775 rm -f conftest.$ac_objext
17776 if { (ac_try="$ac_compile"
17777 case "(($ac_try" in
17778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17779 *) ac_try_echo=$ac_try;;
17780 esac
17781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17782 (eval "$ac_compile") 2>conftest.er1
17783 ac_status=$?
17784 grep -v '^ *+' conftest.er1 >conftest.err
17785 rm -f conftest.er1
17786 cat conftest.err >&5
17787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17788 (exit $ac_status); } && {
17789 test -z "$ac_c_werror_flag" ||
17790 test ! -s conftest.err
17791 } && test -s conftest.$ac_objext; then
17792 eval "$as_ac_Header=yes"
17793 else
17794 echo "$as_me: failed program was:" >&5
17795 sed 's/^/| /' conftest.$ac_ext >&5
17796
17797 eval "$as_ac_Header=no"
17798 fi
17799
17800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17801 fi
17802 ac_res=`eval echo '${'$as_ac_Header'}'`
17803 { echo "$as_me:$LINENO: result: $ac_res" >&5
17804 echo "${ECHO_T}$ac_res" >&6; }
17805 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17806 cat >>confdefs.h <<_ACEOF
17807 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17808 _ACEOF
17809
17810 fi
17811
17812 done
17813
17814
17815
17816
17817
17818
17819
17820
17821 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
17822 do
17823 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17824 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17825 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17826 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17827 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17828 echo $ECHO_N "(cached) $ECHO_C" >&6
17829 fi
17830 ac_res=`eval echo '${'$as_ac_Header'}'`
17831 { echo "$as_me:$LINENO: result: $ac_res" >&5
17832 echo "${ECHO_T}$ac_res" >&6; }
17833 else
17834 # Is the header compilable?
17835 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
17836 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
17837 cat >conftest.$ac_ext <<_ACEOF
17838 /* confdefs.h. */
17839 _ACEOF
17840 cat confdefs.h >>conftest.$ac_ext
17841 cat >>conftest.$ac_ext <<_ACEOF
17842 /* end confdefs.h. */
17843 $ac_includes_default
17844 #include <$ac_header>
17845 _ACEOF
17846 rm -f conftest.$ac_objext
17847 if { (ac_try="$ac_compile"
17848 case "(($ac_try" in
17849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17850 *) ac_try_echo=$ac_try;;
17851 esac
17852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17853 (eval "$ac_compile") 2>conftest.er1
17854 ac_status=$?
17855 grep -v '^ *+' conftest.er1 >conftest.err
17856 rm -f conftest.er1
17857 cat conftest.err >&5
17858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17859 (exit $ac_status); } && {
17860 test -z "$ac_c_werror_flag" ||
17861 test ! -s conftest.err
17862 } && test -s conftest.$ac_objext; then
17863 ac_header_compiler=yes
17864 else
17865 echo "$as_me: failed program was:" >&5
17866 sed 's/^/| /' conftest.$ac_ext >&5
17867
17868 ac_header_compiler=no
17869 fi
17870
17871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17872 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17873 echo "${ECHO_T}$ac_header_compiler" >&6; }
17874
17875 # Is the header present?
17876 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
17877 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
17878 cat >conftest.$ac_ext <<_ACEOF
17879 /* confdefs.h. */
17880 _ACEOF
17881 cat confdefs.h >>conftest.$ac_ext
17882 cat >>conftest.$ac_ext <<_ACEOF
17883 /* end confdefs.h. */
17884 #include <$ac_header>
17885 _ACEOF
17886 if { (ac_try="$ac_cpp conftest.$ac_ext"
17887 case "(($ac_try" in
17888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17889 *) ac_try_echo=$ac_try;;
17890 esac
17891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17892 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17893 ac_status=$?
17894 grep -v '^ *+' conftest.er1 >conftest.err
17895 rm -f conftest.er1
17896 cat conftest.err >&5
17897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17898 (exit $ac_status); } >/dev/null && {
17899 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17900 test ! -s conftest.err
17901 }; then
17902 ac_header_preproc=yes
17903 else
17904 echo "$as_me: failed program was:" >&5
17905 sed 's/^/| /' conftest.$ac_ext >&5
17906
17907 ac_header_preproc=no
17908 fi
17909
17910 rm -f conftest.err conftest.$ac_ext
17911 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17912 echo "${ECHO_T}$ac_header_preproc" >&6; }
17913
17914 # So? What about this header?
17915 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17916 yes:no: )
17917 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17918 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17919 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17920 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17921 ac_header_preproc=yes
17922 ;;
17923 no:yes:* )
17924 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17925 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17926 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17927 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17928 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17929 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17930 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17931 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17932 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17933 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17934 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17935 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17936 ( cat <<\_ASBOX
17937 ## ----------------------------------------- ##
17938 ## Report this to wx-dev@lists.wxwidgets.org ##
17939 ## ----------------------------------------- ##
17940 _ASBOX
17941 ) | sed "s/^/$as_me: WARNING: /" >&2
17942 ;;
17943 esac
17944 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17946 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17947 echo $ECHO_N "(cached) $ECHO_C" >&6
17948 else
17949 eval "$as_ac_Header=\$ac_header_preproc"
17950 fi
17951 ac_res=`eval echo '${'$as_ac_Header'}'`
17952 { echo "$as_me:$LINENO: result: $ac_res" >&5
17953 echo "${ECHO_T}$ac_res" >&6; }
17954
17955 fi
17956 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17957 cat >>confdefs.h <<_ACEOF
17958 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17959 _ACEOF
17960
17961 fi
17962
17963 done
17964
17965
17966 if test "$ac_cv_header_wchar_h" != "yes"; then
17967
17968 for ac_header in wcstr.h
17969 do
17970 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17971 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17972 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17973 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17974 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17975 echo $ECHO_N "(cached) $ECHO_C" >&6
17976 fi
17977 ac_res=`eval echo '${'$as_ac_Header'}'`
17978 { echo "$as_me:$LINENO: result: $ac_res" >&5
17979 echo "${ECHO_T}$ac_res" >&6; }
17980 else
17981 # Is the header compilable?
17982 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
17983 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
17984 cat >conftest.$ac_ext <<_ACEOF
17985 /* confdefs.h. */
17986 _ACEOF
17987 cat confdefs.h >>conftest.$ac_ext
17988 cat >>conftest.$ac_ext <<_ACEOF
17989 /* end confdefs.h. */
17990 $ac_includes_default
17991 #include <$ac_header>
17992 _ACEOF
17993 rm -f conftest.$ac_objext
17994 if { (ac_try="$ac_compile"
17995 case "(($ac_try" in
17996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17997 *) ac_try_echo=$ac_try;;
17998 esac
17999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18000 (eval "$ac_compile") 2>conftest.er1
18001 ac_status=$?
18002 grep -v '^ *+' conftest.er1 >conftest.err
18003 rm -f conftest.er1
18004 cat conftest.err >&5
18005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18006 (exit $ac_status); } && {
18007 test -z "$ac_c_werror_flag" ||
18008 test ! -s conftest.err
18009 } && test -s conftest.$ac_objext; then
18010 ac_header_compiler=yes
18011 else
18012 echo "$as_me: failed program was:" >&5
18013 sed 's/^/| /' conftest.$ac_ext >&5
18014
18015 ac_header_compiler=no
18016 fi
18017
18018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18019 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18020 echo "${ECHO_T}$ac_header_compiler" >&6; }
18021
18022 # Is the header present?
18023 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
18024 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
18025 cat >conftest.$ac_ext <<_ACEOF
18026 /* confdefs.h. */
18027 _ACEOF
18028 cat confdefs.h >>conftest.$ac_ext
18029 cat >>conftest.$ac_ext <<_ACEOF
18030 /* end confdefs.h. */
18031 #include <$ac_header>
18032 _ACEOF
18033 if { (ac_try="$ac_cpp conftest.$ac_ext"
18034 case "(($ac_try" in
18035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18036 *) ac_try_echo=$ac_try;;
18037 esac
18038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18039 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18040 ac_status=$?
18041 grep -v '^ *+' conftest.er1 >conftest.err
18042 rm -f conftest.er1
18043 cat conftest.err >&5
18044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18045 (exit $ac_status); } >/dev/null && {
18046 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18047 test ! -s conftest.err
18048 }; then
18049 ac_header_preproc=yes
18050 else
18051 echo "$as_me: failed program was:" >&5
18052 sed 's/^/| /' conftest.$ac_ext >&5
18053
18054 ac_header_preproc=no
18055 fi
18056
18057 rm -f conftest.err conftest.$ac_ext
18058 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18059 echo "${ECHO_T}$ac_header_preproc" >&6; }
18060
18061 # So? What about this header?
18062 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18063 yes:no: )
18064 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18065 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18066 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18067 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18068 ac_header_preproc=yes
18069 ;;
18070 no:yes:* )
18071 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18072 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18073 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18074 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18075 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18076 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18077 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18078 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18079 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18080 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18081 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18082 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18083 ( cat <<\_ASBOX
18084 ## ----------------------------------------- ##
18085 ## Report this to wx-dev@lists.wxwidgets.org ##
18086 ## ----------------------------------------- ##
18087 _ASBOX
18088 ) | sed "s/^/$as_me: WARNING: /" >&2
18089 ;;
18090 esac
18091 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18092 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18093 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18094 echo $ECHO_N "(cached) $ECHO_C" >&6
18095 else
18096 eval "$as_ac_Header=\$ac_header_preproc"
18097 fi
18098 ac_res=`eval echo '${'$as_ac_Header'}'`
18099 { echo "$as_me:$LINENO: result: $ac_res" >&5
18100 echo "${ECHO_T}$ac_res" >&6; }
18101
18102 fi
18103 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18104 cat >>confdefs.h <<_ACEOF
18105 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18106 _ACEOF
18107
18108 fi
18109
18110 done
18111
18112 fi
18113
18114 case "${host}" in
18115 *-pc-os2_emx | *-pc-os2-emx )
18116 if test $ac_cv_header_langinfo_h = "yes" \
18117 -a \( "$wx_cv_gccversion" = "EMX2" \
18118 -o "$wx_cv_gccversion" = "EMX3" \
18119 -o "$wx_cv_gccversion" = "Innotek5" \); then
18120 LIBS="$LIBS -lintl"
18121 fi
18122 ;;
18123 esac
18124
18125 if test "$USE_UNIX" = 1 ; then
18126
18127 for ac_header in sys/select.h
18128 do
18129 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18130 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18131 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18132 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18133 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18134 echo $ECHO_N "(cached) $ECHO_C" >&6
18135 fi
18136 ac_res=`eval echo '${'$as_ac_Header'}'`
18137 { echo "$as_me:$LINENO: result: $ac_res" >&5
18138 echo "${ECHO_T}$ac_res" >&6; }
18139 else
18140 # Is the header compilable?
18141 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
18142 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
18143 cat >conftest.$ac_ext <<_ACEOF
18144 /* confdefs.h. */
18145 _ACEOF
18146 cat confdefs.h >>conftest.$ac_ext
18147 cat >>conftest.$ac_ext <<_ACEOF
18148 /* end confdefs.h. */
18149 $ac_includes_default
18150 #include <$ac_header>
18151 _ACEOF
18152 rm -f conftest.$ac_objext
18153 if { (ac_try="$ac_compile"
18154 case "(($ac_try" in
18155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18156 *) ac_try_echo=$ac_try;;
18157 esac
18158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18159 (eval "$ac_compile") 2>conftest.er1
18160 ac_status=$?
18161 grep -v '^ *+' conftest.er1 >conftest.err
18162 rm -f conftest.er1
18163 cat conftest.err >&5
18164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165 (exit $ac_status); } && {
18166 test -z "$ac_c_werror_flag" ||
18167 test ! -s conftest.err
18168 } && test -s conftest.$ac_objext; then
18169 ac_header_compiler=yes
18170 else
18171 echo "$as_me: failed program was:" >&5
18172 sed 's/^/| /' conftest.$ac_ext >&5
18173
18174 ac_header_compiler=no
18175 fi
18176
18177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18178 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18179 echo "${ECHO_T}$ac_header_compiler" >&6; }
18180
18181 # Is the header present?
18182 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
18183 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
18184 cat >conftest.$ac_ext <<_ACEOF
18185 /* confdefs.h. */
18186 _ACEOF
18187 cat confdefs.h >>conftest.$ac_ext
18188 cat >>conftest.$ac_ext <<_ACEOF
18189 /* end confdefs.h. */
18190 #include <$ac_header>
18191 _ACEOF
18192 if { (ac_try="$ac_cpp conftest.$ac_ext"
18193 case "(($ac_try" in
18194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18195 *) ac_try_echo=$ac_try;;
18196 esac
18197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18198 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18199 ac_status=$?
18200 grep -v '^ *+' conftest.er1 >conftest.err
18201 rm -f conftest.er1
18202 cat conftest.err >&5
18203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18204 (exit $ac_status); } >/dev/null && {
18205 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18206 test ! -s conftest.err
18207 }; then
18208 ac_header_preproc=yes
18209 else
18210 echo "$as_me: failed program was:" >&5
18211 sed 's/^/| /' conftest.$ac_ext >&5
18212
18213 ac_header_preproc=no
18214 fi
18215
18216 rm -f conftest.err conftest.$ac_ext
18217 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18218 echo "${ECHO_T}$ac_header_preproc" >&6; }
18219
18220 # So? What about this header?
18221 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18222 yes:no: )
18223 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18224 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18225 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18226 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18227 ac_header_preproc=yes
18228 ;;
18229 no:yes:* )
18230 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18231 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18232 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18233 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18234 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18235 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18236 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18237 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18239 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18240 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18241 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18242 ( cat <<\_ASBOX
18243 ## ----------------------------------------- ##
18244 ## Report this to wx-dev@lists.wxwidgets.org ##
18245 ## ----------------------------------------- ##
18246 _ASBOX
18247 ) | sed "s/^/$as_me: WARNING: /" >&2
18248 ;;
18249 esac
18250 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18252 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18253 echo $ECHO_N "(cached) $ECHO_C" >&6
18254 else
18255 eval "$as_ac_Header=\$ac_header_preproc"
18256 fi
18257 ac_res=`eval echo '${'$as_ac_Header'}'`
18258 { echo "$as_me:$LINENO: result: $ac_res" >&5
18259 echo "${ECHO_T}$ac_res" >&6; }
18260
18261 fi
18262 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18263 cat >>confdefs.h <<_ACEOF
18264 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18265 _ACEOF
18266
18267 fi
18268
18269 done
18270
18271 fi
18272
18273
18274 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18275 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18276 if test "${ac_cv_c_const+set}" = set; then
18277 echo $ECHO_N "(cached) $ECHO_C" >&6
18278 else
18279 cat >conftest.$ac_ext <<_ACEOF
18280 /* confdefs.h. */
18281 _ACEOF
18282 cat confdefs.h >>conftest.$ac_ext
18283 cat >>conftest.$ac_ext <<_ACEOF
18284 /* end confdefs.h. */
18285
18286 int
18287 main ()
18288 {
18289 /* FIXME: Include the comments suggested by Paul. */
18290 #ifndef __cplusplus
18291 /* Ultrix mips cc rejects this. */
18292 typedef int charset[2];
18293 const charset cs;
18294 /* SunOS 4.1.1 cc rejects this. */
18295 char const *const *pcpcc;
18296 char **ppc;
18297 /* NEC SVR4.0.2 mips cc rejects this. */
18298 struct point {int x, y;};
18299 static struct point const zero = {0,0};
18300 /* AIX XL C 1.02.0.0 rejects this.
18301 It does not let you subtract one const X* pointer from another in
18302 an arm of an if-expression whose if-part is not a constant
18303 expression */
18304 const char *g = "string";
18305 pcpcc = &g + (g ? g-g : 0);
18306 /* HPUX 7.0 cc rejects these. */
18307 ++pcpcc;
18308 ppc = (char**) pcpcc;
18309 pcpcc = (char const *const *) ppc;
18310 { /* SCO 3.2v4 cc rejects this. */
18311 char *t;
18312 char const *s = 0 ? (char *) 0 : (char const *) 0;
18313
18314 *t++ = 0;
18315 if (s) return 0;
18316 }
18317 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18318 int x[] = {25, 17};
18319 const int *foo = &x[0];
18320 ++foo;
18321 }
18322 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18323 typedef const int *iptr;
18324 iptr p = 0;
18325 ++p;
18326 }
18327 { /* AIX XL C 1.02.0.0 rejects this saying
18328 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18329 struct s { int j; const int *ap[3]; };
18330 struct s *b; b->j = 5;
18331 }
18332 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18333 const int foo = 10;
18334 if (!foo) return 0;
18335 }
18336 return !cs[0] && !zero.x;
18337 #endif
18338
18339 ;
18340 return 0;
18341 }
18342 _ACEOF
18343 rm -f conftest.$ac_objext
18344 if { (ac_try="$ac_compile"
18345 case "(($ac_try" in
18346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18347 *) ac_try_echo=$ac_try;;
18348 esac
18349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18350 (eval "$ac_compile") 2>conftest.er1
18351 ac_status=$?
18352 grep -v '^ *+' conftest.er1 >conftest.err
18353 rm -f conftest.er1
18354 cat conftest.err >&5
18355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18356 (exit $ac_status); } && {
18357 test -z "$ac_c_werror_flag" ||
18358 test ! -s conftest.err
18359 } && test -s conftest.$ac_objext; then
18360 ac_cv_c_const=yes
18361 else
18362 echo "$as_me: failed program was:" >&5
18363 sed 's/^/| /' conftest.$ac_ext >&5
18364
18365 ac_cv_c_const=no
18366 fi
18367
18368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18369 fi
18370 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18371 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18372 if test $ac_cv_c_const = no; then
18373
18374 cat >>confdefs.h <<\_ACEOF
18375 #define const
18376 _ACEOF
18377
18378 fi
18379
18380 { echo "$as_me:$LINENO: checking for inline" >&5
18381 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18382 if test "${ac_cv_c_inline+set}" = set; then
18383 echo $ECHO_N "(cached) $ECHO_C" >&6
18384 else
18385 ac_cv_c_inline=no
18386 for ac_kw in inline __inline__ __inline; do
18387 cat >conftest.$ac_ext <<_ACEOF
18388 /* confdefs.h. */
18389 _ACEOF
18390 cat confdefs.h >>conftest.$ac_ext
18391 cat >>conftest.$ac_ext <<_ACEOF
18392 /* end confdefs.h. */
18393 #ifndef __cplusplus
18394 typedef int foo_t;
18395 static $ac_kw foo_t static_foo () {return 0; }
18396 $ac_kw foo_t foo () {return 0; }
18397 #endif
18398
18399 _ACEOF
18400 rm -f conftest.$ac_objext
18401 if { (ac_try="$ac_compile"
18402 case "(($ac_try" in
18403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18404 *) ac_try_echo=$ac_try;;
18405 esac
18406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18407 (eval "$ac_compile") 2>conftest.er1
18408 ac_status=$?
18409 grep -v '^ *+' conftest.er1 >conftest.err
18410 rm -f conftest.er1
18411 cat conftest.err >&5
18412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18413 (exit $ac_status); } && {
18414 test -z "$ac_c_werror_flag" ||
18415 test ! -s conftest.err
18416 } && test -s conftest.$ac_objext; then
18417 ac_cv_c_inline=$ac_kw
18418 else
18419 echo "$as_me: failed program was:" >&5
18420 sed 's/^/| /' conftest.$ac_ext >&5
18421
18422
18423 fi
18424
18425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18426 test "$ac_cv_c_inline" != no && break
18427 done
18428
18429 fi
18430 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18431 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18432
18433
18434 case $ac_cv_c_inline in
18435 inline | yes) ;;
18436 *)
18437 case $ac_cv_c_inline in
18438 no) ac_val=;;
18439 *) ac_val=$ac_cv_c_inline;;
18440 esac
18441 cat >>confdefs.h <<_ACEOF
18442 #ifndef __cplusplus
18443 #define inline $ac_val
18444 #endif
18445 _ACEOF
18446 ;;
18447 esac
18448
18449
18450 { echo "$as_me:$LINENO: checking for char" >&5
18451 echo $ECHO_N "checking for char... $ECHO_C" >&6; }
18452 if test "${ac_cv_type_char+set}" = set; then
18453 echo $ECHO_N "(cached) $ECHO_C" >&6
18454 else
18455 cat >conftest.$ac_ext <<_ACEOF
18456 /* confdefs.h. */
18457 _ACEOF
18458 cat confdefs.h >>conftest.$ac_ext
18459 cat >>conftest.$ac_ext <<_ACEOF
18460 /* end confdefs.h. */
18461 $ac_includes_default
18462 typedef char ac__type_new_;
18463 int
18464 main ()
18465 {
18466 if ((ac__type_new_ *) 0)
18467 return 0;
18468 if (sizeof (ac__type_new_))
18469 return 0;
18470 ;
18471 return 0;
18472 }
18473 _ACEOF
18474 rm -f conftest.$ac_objext
18475 if { (ac_try="$ac_compile"
18476 case "(($ac_try" in
18477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18478 *) ac_try_echo=$ac_try;;
18479 esac
18480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18481 (eval "$ac_compile") 2>conftest.er1
18482 ac_status=$?
18483 grep -v '^ *+' conftest.er1 >conftest.err
18484 rm -f conftest.er1
18485 cat conftest.err >&5
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); } && {
18488 test -z "$ac_c_werror_flag" ||
18489 test ! -s conftest.err
18490 } && test -s conftest.$ac_objext; then
18491 ac_cv_type_char=yes
18492 else
18493 echo "$as_me: failed program was:" >&5
18494 sed 's/^/| /' conftest.$ac_ext >&5
18495
18496 ac_cv_type_char=no
18497 fi
18498
18499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18500 fi
18501 { echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18502 echo "${ECHO_T}$ac_cv_type_char" >&6; }
18503
18504 # The cast to long int works around a bug in the HP C Compiler
18505 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18506 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18507 # This bug is HP SR number 8606223364.
18508 { echo "$as_me:$LINENO: checking size of char" >&5
18509 echo $ECHO_N "checking size of char... $ECHO_C" >&6; }
18510 if test "${ac_cv_sizeof_char+set}" = set; then
18511 echo $ECHO_N "(cached) $ECHO_C" >&6
18512 else
18513 if test "$cross_compiling" = yes; then
18514 # Depending upon the size, compute the lo and hi bounds.
18515 cat >conftest.$ac_ext <<_ACEOF
18516 /* confdefs.h. */
18517 _ACEOF
18518 cat confdefs.h >>conftest.$ac_ext
18519 cat >>conftest.$ac_ext <<_ACEOF
18520 /* end confdefs.h. */
18521 $ac_includes_default
18522 typedef char ac__type_sizeof_;
18523 int
18524 main ()
18525 {
18526 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18527 test_array [0] = 0
18528
18529 ;
18530 return 0;
18531 }
18532 _ACEOF
18533 rm -f conftest.$ac_objext
18534 if { (ac_try="$ac_compile"
18535 case "(($ac_try" in
18536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18537 *) ac_try_echo=$ac_try;;
18538 esac
18539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18540 (eval "$ac_compile") 2>conftest.er1
18541 ac_status=$?
18542 grep -v '^ *+' conftest.er1 >conftest.err
18543 rm -f conftest.er1
18544 cat conftest.err >&5
18545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18546 (exit $ac_status); } && {
18547 test -z "$ac_c_werror_flag" ||
18548 test ! -s conftest.err
18549 } && test -s conftest.$ac_objext; then
18550 ac_lo=0 ac_mid=0
18551 while :; do
18552 cat >conftest.$ac_ext <<_ACEOF
18553 /* confdefs.h. */
18554 _ACEOF
18555 cat confdefs.h >>conftest.$ac_ext
18556 cat >>conftest.$ac_ext <<_ACEOF
18557 /* end confdefs.h. */
18558 $ac_includes_default
18559 typedef char ac__type_sizeof_;
18560 int
18561 main ()
18562 {
18563 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18564 test_array [0] = 0
18565
18566 ;
18567 return 0;
18568 }
18569 _ACEOF
18570 rm -f conftest.$ac_objext
18571 if { (ac_try="$ac_compile"
18572 case "(($ac_try" in
18573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18574 *) ac_try_echo=$ac_try;;
18575 esac
18576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18577 (eval "$ac_compile") 2>conftest.er1
18578 ac_status=$?
18579 grep -v '^ *+' conftest.er1 >conftest.err
18580 rm -f conftest.er1
18581 cat conftest.err >&5
18582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18583 (exit $ac_status); } && {
18584 test -z "$ac_c_werror_flag" ||
18585 test ! -s conftest.err
18586 } && test -s conftest.$ac_objext; then
18587 ac_hi=$ac_mid; break
18588 else
18589 echo "$as_me: failed program was:" >&5
18590 sed 's/^/| /' conftest.$ac_ext >&5
18591
18592 ac_lo=`expr $ac_mid + 1`
18593 if test $ac_lo -le $ac_mid; then
18594 ac_lo= ac_hi=
18595 break
18596 fi
18597 ac_mid=`expr 2 '*' $ac_mid + 1`
18598 fi
18599
18600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18601 done
18602 else
18603 echo "$as_me: failed program was:" >&5
18604 sed 's/^/| /' conftest.$ac_ext >&5
18605
18606 cat >conftest.$ac_ext <<_ACEOF
18607 /* confdefs.h. */
18608 _ACEOF
18609 cat confdefs.h >>conftest.$ac_ext
18610 cat >>conftest.$ac_ext <<_ACEOF
18611 /* end confdefs.h. */
18612 $ac_includes_default
18613 typedef char ac__type_sizeof_;
18614 int
18615 main ()
18616 {
18617 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18618 test_array [0] = 0
18619
18620 ;
18621 return 0;
18622 }
18623 _ACEOF
18624 rm -f conftest.$ac_objext
18625 if { (ac_try="$ac_compile"
18626 case "(($ac_try" in
18627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18628 *) ac_try_echo=$ac_try;;
18629 esac
18630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18631 (eval "$ac_compile") 2>conftest.er1
18632 ac_status=$?
18633 grep -v '^ *+' conftest.er1 >conftest.err
18634 rm -f conftest.er1
18635 cat conftest.err >&5
18636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18637 (exit $ac_status); } && {
18638 test -z "$ac_c_werror_flag" ||
18639 test ! -s conftest.err
18640 } && test -s conftest.$ac_objext; then
18641 ac_hi=-1 ac_mid=-1
18642 while :; do
18643 cat >conftest.$ac_ext <<_ACEOF
18644 /* confdefs.h. */
18645 _ACEOF
18646 cat confdefs.h >>conftest.$ac_ext
18647 cat >>conftest.$ac_ext <<_ACEOF
18648 /* end confdefs.h. */
18649 $ac_includes_default
18650 typedef char ac__type_sizeof_;
18651 int
18652 main ()
18653 {
18654 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18655 test_array [0] = 0
18656
18657 ;
18658 return 0;
18659 }
18660 _ACEOF
18661 rm -f conftest.$ac_objext
18662 if { (ac_try="$ac_compile"
18663 case "(($ac_try" in
18664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18665 *) ac_try_echo=$ac_try;;
18666 esac
18667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18668 (eval "$ac_compile") 2>conftest.er1
18669 ac_status=$?
18670 grep -v '^ *+' conftest.er1 >conftest.err
18671 rm -f conftest.er1
18672 cat conftest.err >&5
18673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18674 (exit $ac_status); } && {
18675 test -z "$ac_c_werror_flag" ||
18676 test ! -s conftest.err
18677 } && test -s conftest.$ac_objext; then
18678 ac_lo=$ac_mid; break
18679 else
18680 echo "$as_me: failed program was:" >&5
18681 sed 's/^/| /' conftest.$ac_ext >&5
18682
18683 ac_hi=`expr '(' $ac_mid ')' - 1`
18684 if test $ac_mid -le $ac_hi; then
18685 ac_lo= ac_hi=
18686 break
18687 fi
18688 ac_mid=`expr 2 '*' $ac_mid`
18689 fi
18690
18691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18692 done
18693 else
18694 echo "$as_me: failed program was:" >&5
18695 sed 's/^/| /' conftest.$ac_ext >&5
18696
18697 ac_lo= ac_hi=
18698 fi
18699
18700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18701 fi
18702
18703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18704 # Binary search between lo and hi bounds.
18705 while test "x$ac_lo" != "x$ac_hi"; do
18706 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18707 cat >conftest.$ac_ext <<_ACEOF
18708 /* confdefs.h. */
18709 _ACEOF
18710 cat confdefs.h >>conftest.$ac_ext
18711 cat >>conftest.$ac_ext <<_ACEOF
18712 /* end confdefs.h. */
18713 $ac_includes_default
18714 typedef char ac__type_sizeof_;
18715 int
18716 main ()
18717 {
18718 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18719 test_array [0] = 0
18720
18721 ;
18722 return 0;
18723 }
18724 _ACEOF
18725 rm -f conftest.$ac_objext
18726 if { (ac_try="$ac_compile"
18727 case "(($ac_try" in
18728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18729 *) ac_try_echo=$ac_try;;
18730 esac
18731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18732 (eval "$ac_compile") 2>conftest.er1
18733 ac_status=$?
18734 grep -v '^ *+' conftest.er1 >conftest.err
18735 rm -f conftest.er1
18736 cat conftest.err >&5
18737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18738 (exit $ac_status); } && {
18739 test -z "$ac_c_werror_flag" ||
18740 test ! -s conftest.err
18741 } && test -s conftest.$ac_objext; then
18742 ac_hi=$ac_mid
18743 else
18744 echo "$as_me: failed program was:" >&5
18745 sed 's/^/| /' conftest.$ac_ext >&5
18746
18747 ac_lo=`expr '(' $ac_mid ')' + 1`
18748 fi
18749
18750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18751 done
18752 case $ac_lo in
18753 ?*) ac_cv_sizeof_char=$ac_lo;;
18754 '') if test "$ac_cv_type_char" = yes; then
18755 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
18756 See \`config.log' for more details." >&5
18757 echo "$as_me: error: cannot compute sizeof (char)
18758 See \`config.log' for more details." >&2;}
18759 { (exit 77); exit 77; }; }
18760 else
18761 ac_cv_sizeof_char=0
18762 fi ;;
18763 esac
18764 else
18765 cat >conftest.$ac_ext <<_ACEOF
18766 /* confdefs.h. */
18767 _ACEOF
18768 cat confdefs.h >>conftest.$ac_ext
18769 cat >>conftest.$ac_ext <<_ACEOF
18770 /* end confdefs.h. */
18771 $ac_includes_default
18772 typedef char ac__type_sizeof_;
18773 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18774 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18775 #include <stdio.h>
18776 #include <stdlib.h>
18777 int
18778 main ()
18779 {
18780
18781 FILE *f = fopen ("conftest.val", "w");
18782 if (! f)
18783 return 1;
18784 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18785 {
18786 long int i = longval ();
18787 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18788 return 1;
18789 fprintf (f, "%ld\n", i);
18790 }
18791 else
18792 {
18793 unsigned long int i = ulongval ();
18794 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18795 return 1;
18796 fprintf (f, "%lu\n", i);
18797 }
18798 return ferror (f) || fclose (f) != 0;
18799
18800 ;
18801 return 0;
18802 }
18803 _ACEOF
18804 rm -f conftest$ac_exeext
18805 if { (ac_try="$ac_link"
18806 case "(($ac_try" in
18807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18808 *) ac_try_echo=$ac_try;;
18809 esac
18810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18811 (eval "$ac_link") 2>&5
18812 ac_status=$?
18813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18814 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18815 { (case "(($ac_try" in
18816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18817 *) ac_try_echo=$ac_try;;
18818 esac
18819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18820 (eval "$ac_try") 2>&5
18821 ac_status=$?
18822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18823 (exit $ac_status); }; }; then
18824 ac_cv_sizeof_char=`cat conftest.val`
18825 else
18826 echo "$as_me: program exited with status $ac_status" >&5
18827 echo "$as_me: failed program was:" >&5
18828 sed 's/^/| /' conftest.$ac_ext >&5
18829
18830 ( exit $ac_status )
18831 if test "$ac_cv_type_char" = yes; then
18832 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
18833 See \`config.log' for more details." >&5
18834 echo "$as_me: error: cannot compute sizeof (char)
18835 See \`config.log' for more details." >&2;}
18836 { (exit 77); exit 77; }; }
18837 else
18838 ac_cv_sizeof_char=0
18839 fi
18840 fi
18841 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18842 fi
18843 rm -f conftest.val
18844 fi
18845 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18846 echo "${ECHO_T}$ac_cv_sizeof_char" >&6; }
18847
18848
18849
18850 cat >>confdefs.h <<_ACEOF
18851 #define SIZEOF_CHAR $ac_cv_sizeof_char
18852 _ACEOF
18853
18854
18855 { echo "$as_me:$LINENO: checking for short" >&5
18856 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
18857 if test "${ac_cv_type_short+set}" = set; then
18858 echo $ECHO_N "(cached) $ECHO_C" >&6
18859 else
18860 cat >conftest.$ac_ext <<_ACEOF
18861 /* confdefs.h. */
18862 _ACEOF
18863 cat confdefs.h >>conftest.$ac_ext
18864 cat >>conftest.$ac_ext <<_ACEOF
18865 /* end confdefs.h. */
18866 $ac_includes_default
18867 typedef short ac__type_new_;
18868 int
18869 main ()
18870 {
18871 if ((ac__type_new_ *) 0)
18872 return 0;
18873 if (sizeof (ac__type_new_))
18874 return 0;
18875 ;
18876 return 0;
18877 }
18878 _ACEOF
18879 rm -f conftest.$ac_objext
18880 if { (ac_try="$ac_compile"
18881 case "(($ac_try" in
18882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18883 *) ac_try_echo=$ac_try;;
18884 esac
18885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18886 (eval "$ac_compile") 2>conftest.er1
18887 ac_status=$?
18888 grep -v '^ *+' conftest.er1 >conftest.err
18889 rm -f conftest.er1
18890 cat conftest.err >&5
18891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18892 (exit $ac_status); } && {
18893 test -z "$ac_c_werror_flag" ||
18894 test ! -s conftest.err
18895 } && test -s conftest.$ac_objext; then
18896 ac_cv_type_short=yes
18897 else
18898 echo "$as_me: failed program was:" >&5
18899 sed 's/^/| /' conftest.$ac_ext >&5
18900
18901 ac_cv_type_short=no
18902 fi
18903
18904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18905 fi
18906 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18907 echo "${ECHO_T}$ac_cv_type_short" >&6; }
18908
18909 # The cast to long int works around a bug in the HP C Compiler
18910 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18911 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18912 # This bug is HP SR number 8606223364.
18913 { echo "$as_me:$LINENO: checking size of short" >&5
18914 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
18915 if test "${ac_cv_sizeof_short+set}" = set; then
18916 echo $ECHO_N "(cached) $ECHO_C" >&6
18917 else
18918 if test "$cross_compiling" = yes; then
18919 # Depending upon the size, compute the lo and hi bounds.
18920 cat >conftest.$ac_ext <<_ACEOF
18921 /* confdefs.h. */
18922 _ACEOF
18923 cat confdefs.h >>conftest.$ac_ext
18924 cat >>conftest.$ac_ext <<_ACEOF
18925 /* end confdefs.h. */
18926 $ac_includes_default
18927 typedef short ac__type_sizeof_;
18928 int
18929 main ()
18930 {
18931 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18932 test_array [0] = 0
18933
18934 ;
18935 return 0;
18936 }
18937 _ACEOF
18938 rm -f conftest.$ac_objext
18939 if { (ac_try="$ac_compile"
18940 case "(($ac_try" in
18941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18942 *) ac_try_echo=$ac_try;;
18943 esac
18944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18945 (eval "$ac_compile") 2>conftest.er1
18946 ac_status=$?
18947 grep -v '^ *+' conftest.er1 >conftest.err
18948 rm -f conftest.er1
18949 cat conftest.err >&5
18950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18951 (exit $ac_status); } && {
18952 test -z "$ac_c_werror_flag" ||
18953 test ! -s conftest.err
18954 } && test -s conftest.$ac_objext; then
18955 ac_lo=0 ac_mid=0
18956 while :; do
18957 cat >conftest.$ac_ext <<_ACEOF
18958 /* confdefs.h. */
18959 _ACEOF
18960 cat confdefs.h >>conftest.$ac_ext
18961 cat >>conftest.$ac_ext <<_ACEOF
18962 /* end confdefs.h. */
18963 $ac_includes_default
18964 typedef short ac__type_sizeof_;
18965 int
18966 main ()
18967 {
18968 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18969 test_array [0] = 0
18970
18971 ;
18972 return 0;
18973 }
18974 _ACEOF
18975 rm -f conftest.$ac_objext
18976 if { (ac_try="$ac_compile"
18977 case "(($ac_try" in
18978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18979 *) ac_try_echo=$ac_try;;
18980 esac
18981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18982 (eval "$ac_compile") 2>conftest.er1
18983 ac_status=$?
18984 grep -v '^ *+' conftest.er1 >conftest.err
18985 rm -f conftest.er1
18986 cat conftest.err >&5
18987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18988 (exit $ac_status); } && {
18989 test -z "$ac_c_werror_flag" ||
18990 test ! -s conftest.err
18991 } && test -s conftest.$ac_objext; then
18992 ac_hi=$ac_mid; break
18993 else
18994 echo "$as_me: failed program was:" >&5
18995 sed 's/^/| /' conftest.$ac_ext >&5
18996
18997 ac_lo=`expr $ac_mid + 1`
18998 if test $ac_lo -le $ac_mid; then
18999 ac_lo= ac_hi=
19000 break
19001 fi
19002 ac_mid=`expr 2 '*' $ac_mid + 1`
19003 fi
19004
19005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19006 done
19007 else
19008 echo "$as_me: failed program was:" >&5
19009 sed 's/^/| /' conftest.$ac_ext >&5
19010
19011 cat >conftest.$ac_ext <<_ACEOF
19012 /* confdefs.h. */
19013 _ACEOF
19014 cat confdefs.h >>conftest.$ac_ext
19015 cat >>conftest.$ac_ext <<_ACEOF
19016 /* end confdefs.h. */
19017 $ac_includes_default
19018 typedef short ac__type_sizeof_;
19019 int
19020 main ()
19021 {
19022 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19023 test_array [0] = 0
19024
19025 ;
19026 return 0;
19027 }
19028 _ACEOF
19029 rm -f conftest.$ac_objext
19030 if { (ac_try="$ac_compile"
19031 case "(($ac_try" in
19032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19033 *) ac_try_echo=$ac_try;;
19034 esac
19035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19036 (eval "$ac_compile") 2>conftest.er1
19037 ac_status=$?
19038 grep -v '^ *+' conftest.er1 >conftest.err
19039 rm -f conftest.er1
19040 cat conftest.err >&5
19041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19042 (exit $ac_status); } && {
19043 test -z "$ac_c_werror_flag" ||
19044 test ! -s conftest.err
19045 } && test -s conftest.$ac_objext; then
19046 ac_hi=-1 ac_mid=-1
19047 while :; do
19048 cat >conftest.$ac_ext <<_ACEOF
19049 /* confdefs.h. */
19050 _ACEOF
19051 cat confdefs.h >>conftest.$ac_ext
19052 cat >>conftest.$ac_ext <<_ACEOF
19053 /* end confdefs.h. */
19054 $ac_includes_default
19055 typedef short ac__type_sizeof_;
19056 int
19057 main ()
19058 {
19059 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19060 test_array [0] = 0
19061
19062 ;
19063 return 0;
19064 }
19065 _ACEOF
19066 rm -f conftest.$ac_objext
19067 if { (ac_try="$ac_compile"
19068 case "(($ac_try" in
19069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19070 *) ac_try_echo=$ac_try;;
19071 esac
19072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19073 (eval "$ac_compile") 2>conftest.er1
19074 ac_status=$?
19075 grep -v '^ *+' conftest.er1 >conftest.err
19076 rm -f conftest.er1
19077 cat conftest.err >&5
19078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19079 (exit $ac_status); } && {
19080 test -z "$ac_c_werror_flag" ||
19081 test ! -s conftest.err
19082 } && test -s conftest.$ac_objext; then
19083 ac_lo=$ac_mid; break
19084 else
19085 echo "$as_me: failed program was:" >&5
19086 sed 's/^/| /' conftest.$ac_ext >&5
19087
19088 ac_hi=`expr '(' $ac_mid ')' - 1`
19089 if test $ac_mid -le $ac_hi; then
19090 ac_lo= ac_hi=
19091 break
19092 fi
19093 ac_mid=`expr 2 '*' $ac_mid`
19094 fi
19095
19096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19097 done
19098 else
19099 echo "$as_me: failed program was:" >&5
19100 sed 's/^/| /' conftest.$ac_ext >&5
19101
19102 ac_lo= ac_hi=
19103 fi
19104
19105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19106 fi
19107
19108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19109 # Binary search between lo and hi bounds.
19110 while test "x$ac_lo" != "x$ac_hi"; do
19111 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19112 cat >conftest.$ac_ext <<_ACEOF
19113 /* confdefs.h. */
19114 _ACEOF
19115 cat confdefs.h >>conftest.$ac_ext
19116 cat >>conftest.$ac_ext <<_ACEOF
19117 /* end confdefs.h. */
19118 $ac_includes_default
19119 typedef short ac__type_sizeof_;
19120 int
19121 main ()
19122 {
19123 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19124 test_array [0] = 0
19125
19126 ;
19127 return 0;
19128 }
19129 _ACEOF
19130 rm -f conftest.$ac_objext
19131 if { (ac_try="$ac_compile"
19132 case "(($ac_try" in
19133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19134 *) ac_try_echo=$ac_try;;
19135 esac
19136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19137 (eval "$ac_compile") 2>conftest.er1
19138 ac_status=$?
19139 grep -v '^ *+' conftest.er1 >conftest.err
19140 rm -f conftest.er1
19141 cat conftest.err >&5
19142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19143 (exit $ac_status); } && {
19144 test -z "$ac_c_werror_flag" ||
19145 test ! -s conftest.err
19146 } && test -s conftest.$ac_objext; then
19147 ac_hi=$ac_mid
19148 else
19149 echo "$as_me: failed program was:" >&5
19150 sed 's/^/| /' conftest.$ac_ext >&5
19151
19152 ac_lo=`expr '(' $ac_mid ')' + 1`
19153 fi
19154
19155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19156 done
19157 case $ac_lo in
19158 ?*) ac_cv_sizeof_short=$ac_lo;;
19159 '') if test "$ac_cv_type_short" = yes; then
19160 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19161 See \`config.log' for more details." >&5
19162 echo "$as_me: error: cannot compute sizeof (short)
19163 See \`config.log' for more details." >&2;}
19164 { (exit 77); exit 77; }; }
19165 else
19166 ac_cv_sizeof_short=0
19167 fi ;;
19168 esac
19169 else
19170 cat >conftest.$ac_ext <<_ACEOF
19171 /* confdefs.h. */
19172 _ACEOF
19173 cat confdefs.h >>conftest.$ac_ext
19174 cat >>conftest.$ac_ext <<_ACEOF
19175 /* end confdefs.h. */
19176 $ac_includes_default
19177 typedef short ac__type_sizeof_;
19178 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19179 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19180 #include <stdio.h>
19181 #include <stdlib.h>
19182 int
19183 main ()
19184 {
19185
19186 FILE *f = fopen ("conftest.val", "w");
19187 if (! f)
19188 return 1;
19189 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19190 {
19191 long int i = longval ();
19192 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19193 return 1;
19194 fprintf (f, "%ld\n", i);
19195 }
19196 else
19197 {
19198 unsigned long int i = ulongval ();
19199 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19200 return 1;
19201 fprintf (f, "%lu\n", i);
19202 }
19203 return ferror (f) || fclose (f) != 0;
19204
19205 ;
19206 return 0;
19207 }
19208 _ACEOF
19209 rm -f conftest$ac_exeext
19210 if { (ac_try="$ac_link"
19211 case "(($ac_try" in
19212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19213 *) ac_try_echo=$ac_try;;
19214 esac
19215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19216 (eval "$ac_link") 2>&5
19217 ac_status=$?
19218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19219 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19220 { (case "(($ac_try" in
19221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19222 *) ac_try_echo=$ac_try;;
19223 esac
19224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19225 (eval "$ac_try") 2>&5
19226 ac_status=$?
19227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19228 (exit $ac_status); }; }; then
19229 ac_cv_sizeof_short=`cat conftest.val`
19230 else
19231 echo "$as_me: program exited with status $ac_status" >&5
19232 echo "$as_me: failed program was:" >&5
19233 sed 's/^/| /' conftest.$ac_ext >&5
19234
19235 ( exit $ac_status )
19236 if test "$ac_cv_type_short" = yes; then
19237 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19238 See \`config.log' for more details." >&5
19239 echo "$as_me: error: cannot compute sizeof (short)
19240 See \`config.log' for more details." >&2;}
19241 { (exit 77); exit 77; }; }
19242 else
19243 ac_cv_sizeof_short=0
19244 fi
19245 fi
19246 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19247 fi
19248 rm -f conftest.val
19249 fi
19250 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19251 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19252
19253
19254
19255 cat >>confdefs.h <<_ACEOF
19256 #define SIZEOF_SHORT $ac_cv_sizeof_short
19257 _ACEOF
19258
19259
19260 { echo "$as_me:$LINENO: checking for void *" >&5
19261 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19262 if test "${ac_cv_type_void_p+set}" = set; then
19263 echo $ECHO_N "(cached) $ECHO_C" >&6
19264 else
19265 cat >conftest.$ac_ext <<_ACEOF
19266 /* confdefs.h. */
19267 _ACEOF
19268 cat confdefs.h >>conftest.$ac_ext
19269 cat >>conftest.$ac_ext <<_ACEOF
19270 /* end confdefs.h. */
19271 $ac_includes_default
19272 typedef void * ac__type_new_;
19273 int
19274 main ()
19275 {
19276 if ((ac__type_new_ *) 0)
19277 return 0;
19278 if (sizeof (ac__type_new_))
19279 return 0;
19280 ;
19281 return 0;
19282 }
19283 _ACEOF
19284 rm -f conftest.$ac_objext
19285 if { (ac_try="$ac_compile"
19286 case "(($ac_try" in
19287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19288 *) ac_try_echo=$ac_try;;
19289 esac
19290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19291 (eval "$ac_compile") 2>conftest.er1
19292 ac_status=$?
19293 grep -v '^ *+' conftest.er1 >conftest.err
19294 rm -f conftest.er1
19295 cat conftest.err >&5
19296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19297 (exit $ac_status); } && {
19298 test -z "$ac_c_werror_flag" ||
19299 test ! -s conftest.err
19300 } && test -s conftest.$ac_objext; then
19301 ac_cv_type_void_p=yes
19302 else
19303 echo "$as_me: failed program was:" >&5
19304 sed 's/^/| /' conftest.$ac_ext >&5
19305
19306 ac_cv_type_void_p=no
19307 fi
19308
19309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19310 fi
19311 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19312 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19313
19314 # The cast to long int works around a bug in the HP C Compiler
19315 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19316 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19317 # This bug is HP SR number 8606223364.
19318 { echo "$as_me:$LINENO: checking size of void *" >&5
19319 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19320 if test "${ac_cv_sizeof_void_p+set}" = set; then
19321 echo $ECHO_N "(cached) $ECHO_C" >&6
19322 else
19323 if test "$cross_compiling" = yes; then
19324 # Depending upon the size, compute the lo and hi bounds.
19325 cat >conftest.$ac_ext <<_ACEOF
19326 /* confdefs.h. */
19327 _ACEOF
19328 cat confdefs.h >>conftest.$ac_ext
19329 cat >>conftest.$ac_ext <<_ACEOF
19330 /* end confdefs.h. */
19331 $ac_includes_default
19332 typedef void * ac__type_sizeof_;
19333 int
19334 main ()
19335 {
19336 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19337 test_array [0] = 0
19338
19339 ;
19340 return 0;
19341 }
19342 _ACEOF
19343 rm -f conftest.$ac_objext
19344 if { (ac_try="$ac_compile"
19345 case "(($ac_try" in
19346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19347 *) ac_try_echo=$ac_try;;
19348 esac
19349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19350 (eval "$ac_compile") 2>conftest.er1
19351 ac_status=$?
19352 grep -v '^ *+' conftest.er1 >conftest.err
19353 rm -f conftest.er1
19354 cat conftest.err >&5
19355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19356 (exit $ac_status); } && {
19357 test -z "$ac_c_werror_flag" ||
19358 test ! -s conftest.err
19359 } && test -s conftest.$ac_objext; then
19360 ac_lo=0 ac_mid=0
19361 while :; do
19362 cat >conftest.$ac_ext <<_ACEOF
19363 /* confdefs.h. */
19364 _ACEOF
19365 cat confdefs.h >>conftest.$ac_ext
19366 cat >>conftest.$ac_ext <<_ACEOF
19367 /* end confdefs.h. */
19368 $ac_includes_default
19369 typedef void * ac__type_sizeof_;
19370 int
19371 main ()
19372 {
19373 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19374 test_array [0] = 0
19375
19376 ;
19377 return 0;
19378 }
19379 _ACEOF
19380 rm -f conftest.$ac_objext
19381 if { (ac_try="$ac_compile"
19382 case "(($ac_try" in
19383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19384 *) ac_try_echo=$ac_try;;
19385 esac
19386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19387 (eval "$ac_compile") 2>conftest.er1
19388 ac_status=$?
19389 grep -v '^ *+' conftest.er1 >conftest.err
19390 rm -f conftest.er1
19391 cat conftest.err >&5
19392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19393 (exit $ac_status); } && {
19394 test -z "$ac_c_werror_flag" ||
19395 test ! -s conftest.err
19396 } && test -s conftest.$ac_objext; then
19397 ac_hi=$ac_mid; break
19398 else
19399 echo "$as_me: failed program was:" >&5
19400 sed 's/^/| /' conftest.$ac_ext >&5
19401
19402 ac_lo=`expr $ac_mid + 1`
19403 if test $ac_lo -le $ac_mid; then
19404 ac_lo= ac_hi=
19405 break
19406 fi
19407 ac_mid=`expr 2 '*' $ac_mid + 1`
19408 fi
19409
19410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19411 done
19412 else
19413 echo "$as_me: failed program was:" >&5
19414 sed 's/^/| /' conftest.$ac_ext >&5
19415
19416 cat >conftest.$ac_ext <<_ACEOF
19417 /* confdefs.h. */
19418 _ACEOF
19419 cat confdefs.h >>conftest.$ac_ext
19420 cat >>conftest.$ac_ext <<_ACEOF
19421 /* end confdefs.h. */
19422 $ac_includes_default
19423 typedef void * ac__type_sizeof_;
19424 int
19425 main ()
19426 {
19427 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19428 test_array [0] = 0
19429
19430 ;
19431 return 0;
19432 }
19433 _ACEOF
19434 rm -f conftest.$ac_objext
19435 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
19442 ac_status=$?
19443 grep -v '^ *+' conftest.er1 >conftest.err
19444 rm -f conftest.er1
19445 cat conftest.err >&5
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); } && {
19448 test -z "$ac_c_werror_flag" ||
19449 test ! -s conftest.err
19450 } && test -s conftest.$ac_objext; then
19451 ac_hi=-1 ac_mid=-1
19452 while :; do
19453 cat >conftest.$ac_ext <<_ACEOF
19454 /* confdefs.h. */
19455 _ACEOF
19456 cat confdefs.h >>conftest.$ac_ext
19457 cat >>conftest.$ac_ext <<_ACEOF
19458 /* end confdefs.h. */
19459 $ac_includes_default
19460 typedef void * ac__type_sizeof_;
19461 int
19462 main ()
19463 {
19464 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19465 test_array [0] = 0
19466
19467 ;
19468 return 0;
19469 }
19470 _ACEOF
19471 rm -f conftest.$ac_objext
19472 if { (ac_try="$ac_compile"
19473 case "(($ac_try" in
19474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19475 *) ac_try_echo=$ac_try;;
19476 esac
19477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19478 (eval "$ac_compile") 2>conftest.er1
19479 ac_status=$?
19480 grep -v '^ *+' conftest.er1 >conftest.err
19481 rm -f conftest.er1
19482 cat conftest.err >&5
19483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19484 (exit $ac_status); } && {
19485 test -z "$ac_c_werror_flag" ||
19486 test ! -s conftest.err
19487 } && test -s conftest.$ac_objext; then
19488 ac_lo=$ac_mid; break
19489 else
19490 echo "$as_me: failed program was:" >&5
19491 sed 's/^/| /' conftest.$ac_ext >&5
19492
19493 ac_hi=`expr '(' $ac_mid ')' - 1`
19494 if test $ac_mid -le $ac_hi; then
19495 ac_lo= ac_hi=
19496 break
19497 fi
19498 ac_mid=`expr 2 '*' $ac_mid`
19499 fi
19500
19501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19502 done
19503 else
19504 echo "$as_me: failed program was:" >&5
19505 sed 's/^/| /' conftest.$ac_ext >&5
19506
19507 ac_lo= ac_hi=
19508 fi
19509
19510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19511 fi
19512
19513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19514 # Binary search between lo and hi bounds.
19515 while test "x$ac_lo" != "x$ac_hi"; do
19516 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19517 cat >conftest.$ac_ext <<_ACEOF
19518 /* confdefs.h. */
19519 _ACEOF
19520 cat confdefs.h >>conftest.$ac_ext
19521 cat >>conftest.$ac_ext <<_ACEOF
19522 /* end confdefs.h. */
19523 $ac_includes_default
19524 typedef void * ac__type_sizeof_;
19525 int
19526 main ()
19527 {
19528 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19529 test_array [0] = 0
19530
19531 ;
19532 return 0;
19533 }
19534 _ACEOF
19535 rm -f conftest.$ac_objext
19536 if { (ac_try="$ac_compile"
19537 case "(($ac_try" in
19538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19539 *) ac_try_echo=$ac_try;;
19540 esac
19541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19542 (eval "$ac_compile") 2>conftest.er1
19543 ac_status=$?
19544 grep -v '^ *+' conftest.er1 >conftest.err
19545 rm -f conftest.er1
19546 cat conftest.err >&5
19547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19548 (exit $ac_status); } && {
19549 test -z "$ac_c_werror_flag" ||
19550 test ! -s conftest.err
19551 } && test -s conftest.$ac_objext; then
19552 ac_hi=$ac_mid
19553 else
19554 echo "$as_me: failed program was:" >&5
19555 sed 's/^/| /' conftest.$ac_ext >&5
19556
19557 ac_lo=`expr '(' $ac_mid ')' + 1`
19558 fi
19559
19560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19561 done
19562 case $ac_lo in
19563 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19564 '') if test "$ac_cv_type_void_p" = yes; then
19565 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19566 See \`config.log' for more details." >&5
19567 echo "$as_me: error: cannot compute sizeof (void *)
19568 See \`config.log' for more details." >&2;}
19569 { (exit 77); exit 77; }; }
19570 else
19571 ac_cv_sizeof_void_p=0
19572 fi ;;
19573 esac
19574 else
19575 cat >conftest.$ac_ext <<_ACEOF
19576 /* confdefs.h. */
19577 _ACEOF
19578 cat confdefs.h >>conftest.$ac_ext
19579 cat >>conftest.$ac_ext <<_ACEOF
19580 /* end confdefs.h. */
19581 $ac_includes_default
19582 typedef void * ac__type_sizeof_;
19583 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19584 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19585 #include <stdio.h>
19586 #include <stdlib.h>
19587 int
19588 main ()
19589 {
19590
19591 FILE *f = fopen ("conftest.val", "w");
19592 if (! f)
19593 return 1;
19594 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19595 {
19596 long int i = longval ();
19597 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19598 return 1;
19599 fprintf (f, "%ld\n", i);
19600 }
19601 else
19602 {
19603 unsigned long int i = ulongval ();
19604 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19605 return 1;
19606 fprintf (f, "%lu\n", i);
19607 }
19608 return ferror (f) || fclose (f) != 0;
19609
19610 ;
19611 return 0;
19612 }
19613 _ACEOF
19614 rm -f conftest$ac_exeext
19615 if { (ac_try="$ac_link"
19616 case "(($ac_try" in
19617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19618 *) ac_try_echo=$ac_try;;
19619 esac
19620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19621 (eval "$ac_link") 2>&5
19622 ac_status=$?
19623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19624 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
19631 ac_status=$?
19632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19633 (exit $ac_status); }; }; then
19634 ac_cv_sizeof_void_p=`cat conftest.val`
19635 else
19636 echo "$as_me: program exited with status $ac_status" >&5
19637 echo "$as_me: failed program was:" >&5
19638 sed 's/^/| /' conftest.$ac_ext >&5
19639
19640 ( exit $ac_status )
19641 if test "$ac_cv_type_void_p" = yes; then
19642 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19643 See \`config.log' for more details." >&5
19644 echo "$as_me: error: cannot compute sizeof (void *)
19645 See \`config.log' for more details." >&2;}
19646 { (exit 77); exit 77; }; }
19647 else
19648 ac_cv_sizeof_void_p=0
19649 fi
19650 fi
19651 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19652 fi
19653 rm -f conftest.val
19654 fi
19655 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19656 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19657
19658
19659
19660 cat >>confdefs.h <<_ACEOF
19661 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19662 _ACEOF
19663
19664
19665 { echo "$as_me:$LINENO: checking for int" >&5
19666 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19667 if test "${ac_cv_type_int+set}" = set; then
19668 echo $ECHO_N "(cached) $ECHO_C" >&6
19669 else
19670 cat >conftest.$ac_ext <<_ACEOF
19671 /* confdefs.h. */
19672 _ACEOF
19673 cat confdefs.h >>conftest.$ac_ext
19674 cat >>conftest.$ac_ext <<_ACEOF
19675 /* end confdefs.h. */
19676 $ac_includes_default
19677 typedef int ac__type_new_;
19678 int
19679 main ()
19680 {
19681 if ((ac__type_new_ *) 0)
19682 return 0;
19683 if (sizeof (ac__type_new_))
19684 return 0;
19685 ;
19686 return 0;
19687 }
19688 _ACEOF
19689 rm -f conftest.$ac_objext
19690 if { (ac_try="$ac_compile"
19691 case "(($ac_try" in
19692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19693 *) ac_try_echo=$ac_try;;
19694 esac
19695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19696 (eval "$ac_compile") 2>conftest.er1
19697 ac_status=$?
19698 grep -v '^ *+' conftest.er1 >conftest.err
19699 rm -f conftest.er1
19700 cat conftest.err >&5
19701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19702 (exit $ac_status); } && {
19703 test -z "$ac_c_werror_flag" ||
19704 test ! -s conftest.err
19705 } && test -s conftest.$ac_objext; then
19706 ac_cv_type_int=yes
19707 else
19708 echo "$as_me: failed program was:" >&5
19709 sed 's/^/| /' conftest.$ac_ext >&5
19710
19711 ac_cv_type_int=no
19712 fi
19713
19714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19715 fi
19716 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19717 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19718
19719 # The cast to long int works around a bug in the HP C Compiler
19720 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19721 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19722 # This bug is HP SR number 8606223364.
19723 { echo "$as_me:$LINENO: checking size of int" >&5
19724 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19725 if test "${ac_cv_sizeof_int+set}" = set; then
19726 echo $ECHO_N "(cached) $ECHO_C" >&6
19727 else
19728 if test "$cross_compiling" = yes; then
19729 # Depending upon the size, compute the lo and hi bounds.
19730 cat >conftest.$ac_ext <<_ACEOF
19731 /* confdefs.h. */
19732 _ACEOF
19733 cat confdefs.h >>conftest.$ac_ext
19734 cat >>conftest.$ac_ext <<_ACEOF
19735 /* end confdefs.h. */
19736 $ac_includes_default
19737 typedef int ac__type_sizeof_;
19738 int
19739 main ()
19740 {
19741 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19742 test_array [0] = 0
19743
19744 ;
19745 return 0;
19746 }
19747 _ACEOF
19748 rm -f conftest.$ac_objext
19749 if { (ac_try="$ac_compile"
19750 case "(($ac_try" in
19751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19752 *) ac_try_echo=$ac_try;;
19753 esac
19754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19755 (eval "$ac_compile") 2>conftest.er1
19756 ac_status=$?
19757 grep -v '^ *+' conftest.er1 >conftest.err
19758 rm -f conftest.er1
19759 cat conftest.err >&5
19760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19761 (exit $ac_status); } && {
19762 test -z "$ac_c_werror_flag" ||
19763 test ! -s conftest.err
19764 } && test -s conftest.$ac_objext; then
19765 ac_lo=0 ac_mid=0
19766 while :; do
19767 cat >conftest.$ac_ext <<_ACEOF
19768 /* confdefs.h. */
19769 _ACEOF
19770 cat confdefs.h >>conftest.$ac_ext
19771 cat >>conftest.$ac_ext <<_ACEOF
19772 /* end confdefs.h. */
19773 $ac_includes_default
19774 typedef int ac__type_sizeof_;
19775 int
19776 main ()
19777 {
19778 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19779 test_array [0] = 0
19780
19781 ;
19782 return 0;
19783 }
19784 _ACEOF
19785 rm -f conftest.$ac_objext
19786 if { (ac_try="$ac_compile"
19787 case "(($ac_try" in
19788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19789 *) ac_try_echo=$ac_try;;
19790 esac
19791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19792 (eval "$ac_compile") 2>conftest.er1
19793 ac_status=$?
19794 grep -v '^ *+' conftest.er1 >conftest.err
19795 rm -f conftest.er1
19796 cat conftest.err >&5
19797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19798 (exit $ac_status); } && {
19799 test -z "$ac_c_werror_flag" ||
19800 test ! -s conftest.err
19801 } && test -s conftest.$ac_objext; then
19802 ac_hi=$ac_mid; break
19803 else
19804 echo "$as_me: failed program was:" >&5
19805 sed 's/^/| /' conftest.$ac_ext >&5
19806
19807 ac_lo=`expr $ac_mid + 1`
19808 if test $ac_lo -le $ac_mid; then
19809 ac_lo= ac_hi=
19810 break
19811 fi
19812 ac_mid=`expr 2 '*' $ac_mid + 1`
19813 fi
19814
19815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19816 done
19817 else
19818 echo "$as_me: failed program was:" >&5
19819 sed 's/^/| /' conftest.$ac_ext >&5
19820
19821 cat >conftest.$ac_ext <<_ACEOF
19822 /* confdefs.h. */
19823 _ACEOF
19824 cat confdefs.h >>conftest.$ac_ext
19825 cat >>conftest.$ac_ext <<_ACEOF
19826 /* end confdefs.h. */
19827 $ac_includes_default
19828 typedef int ac__type_sizeof_;
19829 int
19830 main ()
19831 {
19832 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19833 test_array [0] = 0
19834
19835 ;
19836 return 0;
19837 }
19838 _ACEOF
19839 rm -f conftest.$ac_objext
19840 if { (ac_try="$ac_compile"
19841 case "(($ac_try" in
19842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19843 *) ac_try_echo=$ac_try;;
19844 esac
19845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19846 (eval "$ac_compile") 2>conftest.er1
19847 ac_status=$?
19848 grep -v '^ *+' conftest.er1 >conftest.err
19849 rm -f conftest.er1
19850 cat conftest.err >&5
19851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19852 (exit $ac_status); } && {
19853 test -z "$ac_c_werror_flag" ||
19854 test ! -s conftest.err
19855 } && test -s conftest.$ac_objext; then
19856 ac_hi=-1 ac_mid=-1
19857 while :; do
19858 cat >conftest.$ac_ext <<_ACEOF
19859 /* confdefs.h. */
19860 _ACEOF
19861 cat confdefs.h >>conftest.$ac_ext
19862 cat >>conftest.$ac_ext <<_ACEOF
19863 /* end confdefs.h. */
19864 $ac_includes_default
19865 typedef int ac__type_sizeof_;
19866 int
19867 main ()
19868 {
19869 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19870 test_array [0] = 0
19871
19872 ;
19873 return 0;
19874 }
19875 _ACEOF
19876 rm -f conftest.$ac_objext
19877 if { (ac_try="$ac_compile"
19878 case "(($ac_try" in
19879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19880 *) ac_try_echo=$ac_try;;
19881 esac
19882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19883 (eval "$ac_compile") 2>conftest.er1
19884 ac_status=$?
19885 grep -v '^ *+' conftest.er1 >conftest.err
19886 rm -f conftest.er1
19887 cat conftest.err >&5
19888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19889 (exit $ac_status); } && {
19890 test -z "$ac_c_werror_flag" ||
19891 test ! -s conftest.err
19892 } && test -s conftest.$ac_objext; then
19893 ac_lo=$ac_mid; break
19894 else
19895 echo "$as_me: failed program was:" >&5
19896 sed 's/^/| /' conftest.$ac_ext >&5
19897
19898 ac_hi=`expr '(' $ac_mid ')' - 1`
19899 if test $ac_mid -le $ac_hi; then
19900 ac_lo= ac_hi=
19901 break
19902 fi
19903 ac_mid=`expr 2 '*' $ac_mid`
19904 fi
19905
19906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19907 done
19908 else
19909 echo "$as_me: failed program was:" >&5
19910 sed 's/^/| /' conftest.$ac_ext >&5
19911
19912 ac_lo= ac_hi=
19913 fi
19914
19915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19916 fi
19917
19918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19919 # Binary search between lo and hi bounds.
19920 while test "x$ac_lo" != "x$ac_hi"; do
19921 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19922 cat >conftest.$ac_ext <<_ACEOF
19923 /* confdefs.h. */
19924 _ACEOF
19925 cat confdefs.h >>conftest.$ac_ext
19926 cat >>conftest.$ac_ext <<_ACEOF
19927 /* end confdefs.h. */
19928 $ac_includes_default
19929 typedef int ac__type_sizeof_;
19930 int
19931 main ()
19932 {
19933 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19934 test_array [0] = 0
19935
19936 ;
19937 return 0;
19938 }
19939 _ACEOF
19940 rm -f conftest.$ac_objext
19941 if { (ac_try="$ac_compile"
19942 case "(($ac_try" in
19943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19944 *) ac_try_echo=$ac_try;;
19945 esac
19946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19947 (eval "$ac_compile") 2>conftest.er1
19948 ac_status=$?
19949 grep -v '^ *+' conftest.er1 >conftest.err
19950 rm -f conftest.er1
19951 cat conftest.err >&5
19952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19953 (exit $ac_status); } && {
19954 test -z "$ac_c_werror_flag" ||
19955 test ! -s conftest.err
19956 } && test -s conftest.$ac_objext; then
19957 ac_hi=$ac_mid
19958 else
19959 echo "$as_me: failed program was:" >&5
19960 sed 's/^/| /' conftest.$ac_ext >&5
19961
19962 ac_lo=`expr '(' $ac_mid ')' + 1`
19963 fi
19964
19965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19966 done
19967 case $ac_lo in
19968 ?*) ac_cv_sizeof_int=$ac_lo;;
19969 '') if test "$ac_cv_type_int" = yes; then
19970 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19971 See \`config.log' for more details." >&5
19972 echo "$as_me: error: cannot compute sizeof (int)
19973 See \`config.log' for more details." >&2;}
19974 { (exit 77); exit 77; }; }
19975 else
19976 ac_cv_sizeof_int=0
19977 fi ;;
19978 esac
19979 else
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 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19989 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19990 #include <stdio.h>
19991 #include <stdlib.h>
19992 int
19993 main ()
19994 {
19995
19996 FILE *f = fopen ("conftest.val", "w");
19997 if (! f)
19998 return 1;
19999 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20000 {
20001 long int i = longval ();
20002 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20003 return 1;
20004 fprintf (f, "%ld\n", i);
20005 }
20006 else
20007 {
20008 unsigned long int i = ulongval ();
20009 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20010 return 1;
20011 fprintf (f, "%lu\n", i);
20012 }
20013 return ferror (f) || fclose (f) != 0;
20014
20015 ;
20016 return 0;
20017 }
20018 _ACEOF
20019 rm -f conftest$ac_exeext
20020 if { (ac_try="$ac_link"
20021 case "(($ac_try" in
20022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20023 *) ac_try_echo=$ac_try;;
20024 esac
20025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20026 (eval "$ac_link") 2>&5
20027 ac_status=$?
20028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20029 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20030 { (case "(($ac_try" in
20031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20032 *) ac_try_echo=$ac_try;;
20033 esac
20034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20035 (eval "$ac_try") 2>&5
20036 ac_status=$?
20037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20038 (exit $ac_status); }; }; then
20039 ac_cv_sizeof_int=`cat conftest.val`
20040 else
20041 echo "$as_me: program exited with status $ac_status" >&5
20042 echo "$as_me: failed program was:" >&5
20043 sed 's/^/| /' conftest.$ac_ext >&5
20044
20045 ( exit $ac_status )
20046 if test "$ac_cv_type_int" = yes; then
20047 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20048 See \`config.log' for more details." >&5
20049 echo "$as_me: error: cannot compute sizeof (int)
20050 See \`config.log' for more details." >&2;}
20051 { (exit 77); exit 77; }; }
20052 else
20053 ac_cv_sizeof_int=0
20054 fi
20055 fi
20056 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20057 fi
20058 rm -f conftest.val
20059 fi
20060 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20061 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20062
20063
20064
20065 cat >>confdefs.h <<_ACEOF
20066 #define SIZEOF_INT $ac_cv_sizeof_int
20067 _ACEOF
20068
20069
20070 { echo "$as_me:$LINENO: checking for long" >&5
20071 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20072 if test "${ac_cv_type_long+set}" = set; then
20073 echo $ECHO_N "(cached) $ECHO_C" >&6
20074 else
20075 cat >conftest.$ac_ext <<_ACEOF
20076 /* confdefs.h. */
20077 _ACEOF
20078 cat confdefs.h >>conftest.$ac_ext
20079 cat >>conftest.$ac_ext <<_ACEOF
20080 /* end confdefs.h. */
20081 $ac_includes_default
20082 typedef long ac__type_new_;
20083 int
20084 main ()
20085 {
20086 if ((ac__type_new_ *) 0)
20087 return 0;
20088 if (sizeof (ac__type_new_))
20089 return 0;
20090 ;
20091 return 0;
20092 }
20093 _ACEOF
20094 rm -f conftest.$ac_objext
20095 if { (ac_try="$ac_compile"
20096 case "(($ac_try" in
20097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20098 *) ac_try_echo=$ac_try;;
20099 esac
20100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20101 (eval "$ac_compile") 2>conftest.er1
20102 ac_status=$?
20103 grep -v '^ *+' conftest.er1 >conftest.err
20104 rm -f conftest.er1
20105 cat conftest.err >&5
20106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20107 (exit $ac_status); } && {
20108 test -z "$ac_c_werror_flag" ||
20109 test ! -s conftest.err
20110 } && test -s conftest.$ac_objext; then
20111 ac_cv_type_long=yes
20112 else
20113 echo "$as_me: failed program was:" >&5
20114 sed 's/^/| /' conftest.$ac_ext >&5
20115
20116 ac_cv_type_long=no
20117 fi
20118
20119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20120 fi
20121 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20122 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20123
20124 # The cast to long int works around a bug in the HP C Compiler
20125 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20126 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20127 # This bug is HP SR number 8606223364.
20128 { echo "$as_me:$LINENO: checking size of long" >&5
20129 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20130 if test "${ac_cv_sizeof_long+set}" = set; then
20131 echo $ECHO_N "(cached) $ECHO_C" >&6
20132 else
20133 if test "$cross_compiling" = yes; then
20134 # Depending upon the size, compute the lo and hi bounds.
20135 cat >conftest.$ac_ext <<_ACEOF
20136 /* confdefs.h. */
20137 _ACEOF
20138 cat confdefs.h >>conftest.$ac_ext
20139 cat >>conftest.$ac_ext <<_ACEOF
20140 /* end confdefs.h. */
20141 $ac_includes_default
20142 typedef long ac__type_sizeof_;
20143 int
20144 main ()
20145 {
20146 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20147 test_array [0] = 0
20148
20149 ;
20150 return 0;
20151 }
20152 _ACEOF
20153 rm -f conftest.$ac_objext
20154 if { (ac_try="$ac_compile"
20155 case "(($ac_try" in
20156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20157 *) ac_try_echo=$ac_try;;
20158 esac
20159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20160 (eval "$ac_compile") 2>conftest.er1
20161 ac_status=$?
20162 grep -v '^ *+' conftest.er1 >conftest.err
20163 rm -f conftest.er1
20164 cat conftest.err >&5
20165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20166 (exit $ac_status); } && {
20167 test -z "$ac_c_werror_flag" ||
20168 test ! -s conftest.err
20169 } && test -s conftest.$ac_objext; then
20170 ac_lo=0 ac_mid=0
20171 while :; do
20172 cat >conftest.$ac_ext <<_ACEOF
20173 /* confdefs.h. */
20174 _ACEOF
20175 cat confdefs.h >>conftest.$ac_ext
20176 cat >>conftest.$ac_ext <<_ACEOF
20177 /* end confdefs.h. */
20178 $ac_includes_default
20179 typedef long ac__type_sizeof_;
20180 int
20181 main ()
20182 {
20183 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20184 test_array [0] = 0
20185
20186 ;
20187 return 0;
20188 }
20189 _ACEOF
20190 rm -f conftest.$ac_objext
20191 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
20198 ac_status=$?
20199 grep -v '^ *+' conftest.er1 >conftest.err
20200 rm -f conftest.er1
20201 cat conftest.err >&5
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); } && {
20204 test -z "$ac_c_werror_flag" ||
20205 test ! -s conftest.err
20206 } && test -s conftest.$ac_objext; then
20207 ac_hi=$ac_mid; break
20208 else
20209 echo "$as_me: failed program was:" >&5
20210 sed 's/^/| /' conftest.$ac_ext >&5
20211
20212 ac_lo=`expr $ac_mid + 1`
20213 if test $ac_lo -le $ac_mid; then
20214 ac_lo= ac_hi=
20215 break
20216 fi
20217 ac_mid=`expr 2 '*' $ac_mid + 1`
20218 fi
20219
20220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20221 done
20222 else
20223 echo "$as_me: failed program was:" >&5
20224 sed 's/^/| /' conftest.$ac_ext >&5
20225
20226 cat >conftest.$ac_ext <<_ACEOF
20227 /* confdefs.h. */
20228 _ACEOF
20229 cat confdefs.h >>conftest.$ac_ext
20230 cat >>conftest.$ac_ext <<_ACEOF
20231 /* end confdefs.h. */
20232 $ac_includes_default
20233 typedef long ac__type_sizeof_;
20234 int
20235 main ()
20236 {
20237 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20238 test_array [0] = 0
20239
20240 ;
20241 return 0;
20242 }
20243 _ACEOF
20244 rm -f conftest.$ac_objext
20245 if { (ac_try="$ac_compile"
20246 case "(($ac_try" in
20247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20248 *) ac_try_echo=$ac_try;;
20249 esac
20250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20251 (eval "$ac_compile") 2>conftest.er1
20252 ac_status=$?
20253 grep -v '^ *+' conftest.er1 >conftest.err
20254 rm -f conftest.er1
20255 cat conftest.err >&5
20256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20257 (exit $ac_status); } && {
20258 test -z "$ac_c_werror_flag" ||
20259 test ! -s conftest.err
20260 } && test -s conftest.$ac_objext; then
20261 ac_hi=-1 ac_mid=-1
20262 while :; do
20263 cat >conftest.$ac_ext <<_ACEOF
20264 /* confdefs.h. */
20265 _ACEOF
20266 cat confdefs.h >>conftest.$ac_ext
20267 cat >>conftest.$ac_ext <<_ACEOF
20268 /* end confdefs.h. */
20269 $ac_includes_default
20270 typedef long ac__type_sizeof_;
20271 int
20272 main ()
20273 {
20274 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20275 test_array [0] = 0
20276
20277 ;
20278 return 0;
20279 }
20280 _ACEOF
20281 rm -f conftest.$ac_objext
20282 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
20289 ac_status=$?
20290 grep -v '^ *+' conftest.er1 >conftest.err
20291 rm -f conftest.er1
20292 cat conftest.err >&5
20293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20294 (exit $ac_status); } && {
20295 test -z "$ac_c_werror_flag" ||
20296 test ! -s conftest.err
20297 } && test -s conftest.$ac_objext; then
20298 ac_lo=$ac_mid; break
20299 else
20300 echo "$as_me: failed program was:" >&5
20301 sed 's/^/| /' conftest.$ac_ext >&5
20302
20303 ac_hi=`expr '(' $ac_mid ')' - 1`
20304 if test $ac_mid -le $ac_hi; then
20305 ac_lo= ac_hi=
20306 break
20307 fi
20308 ac_mid=`expr 2 '*' $ac_mid`
20309 fi
20310
20311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20312 done
20313 else
20314 echo "$as_me: failed program was:" >&5
20315 sed 's/^/| /' conftest.$ac_ext >&5
20316
20317 ac_lo= ac_hi=
20318 fi
20319
20320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20321 fi
20322
20323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20324 # Binary search between lo and hi bounds.
20325 while test "x$ac_lo" != "x$ac_hi"; do
20326 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20327 cat >conftest.$ac_ext <<_ACEOF
20328 /* confdefs.h. */
20329 _ACEOF
20330 cat confdefs.h >>conftest.$ac_ext
20331 cat >>conftest.$ac_ext <<_ACEOF
20332 /* end confdefs.h. */
20333 $ac_includes_default
20334 typedef long ac__type_sizeof_;
20335 int
20336 main ()
20337 {
20338 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20339 test_array [0] = 0
20340
20341 ;
20342 return 0;
20343 }
20344 _ACEOF
20345 rm -f conftest.$ac_objext
20346 if { (ac_try="$ac_compile"
20347 case "(($ac_try" in
20348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20349 *) ac_try_echo=$ac_try;;
20350 esac
20351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20352 (eval "$ac_compile") 2>conftest.er1
20353 ac_status=$?
20354 grep -v '^ *+' conftest.er1 >conftest.err
20355 rm -f conftest.er1
20356 cat conftest.err >&5
20357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20358 (exit $ac_status); } && {
20359 test -z "$ac_c_werror_flag" ||
20360 test ! -s conftest.err
20361 } && test -s conftest.$ac_objext; then
20362 ac_hi=$ac_mid
20363 else
20364 echo "$as_me: failed program was:" >&5
20365 sed 's/^/| /' conftest.$ac_ext >&5
20366
20367 ac_lo=`expr '(' $ac_mid ')' + 1`
20368 fi
20369
20370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20371 done
20372 case $ac_lo in
20373 ?*) ac_cv_sizeof_long=$ac_lo;;
20374 '') if test "$ac_cv_type_long" = yes; then
20375 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20376 See \`config.log' for more details." >&5
20377 echo "$as_me: error: cannot compute sizeof (long)
20378 See \`config.log' for more details." >&2;}
20379 { (exit 77); exit 77; }; }
20380 else
20381 ac_cv_sizeof_long=0
20382 fi ;;
20383 esac
20384 else
20385 cat >conftest.$ac_ext <<_ACEOF
20386 /* confdefs.h. */
20387 _ACEOF
20388 cat confdefs.h >>conftest.$ac_ext
20389 cat >>conftest.$ac_ext <<_ACEOF
20390 /* end confdefs.h. */
20391 $ac_includes_default
20392 typedef long ac__type_sizeof_;
20393 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20394 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20395 #include <stdio.h>
20396 #include <stdlib.h>
20397 int
20398 main ()
20399 {
20400
20401 FILE *f = fopen ("conftest.val", "w");
20402 if (! f)
20403 return 1;
20404 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20405 {
20406 long int i = longval ();
20407 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20408 return 1;
20409 fprintf (f, "%ld\n", i);
20410 }
20411 else
20412 {
20413 unsigned long int i = ulongval ();
20414 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20415 return 1;
20416 fprintf (f, "%lu\n", i);
20417 }
20418 return ferror (f) || fclose (f) != 0;
20419
20420 ;
20421 return 0;
20422 }
20423 _ACEOF
20424 rm -f conftest$ac_exeext
20425 if { (ac_try="$ac_link"
20426 case "(($ac_try" in
20427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20428 *) ac_try_echo=$ac_try;;
20429 esac
20430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20431 (eval "$ac_link") 2>&5
20432 ac_status=$?
20433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20434 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20435 { (case "(($ac_try" in
20436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20437 *) ac_try_echo=$ac_try;;
20438 esac
20439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20440 (eval "$ac_try") 2>&5
20441 ac_status=$?
20442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20443 (exit $ac_status); }; }; then
20444 ac_cv_sizeof_long=`cat conftest.val`
20445 else
20446 echo "$as_me: program exited with status $ac_status" >&5
20447 echo "$as_me: failed program was:" >&5
20448 sed 's/^/| /' conftest.$ac_ext >&5
20449
20450 ( exit $ac_status )
20451 if test "$ac_cv_type_long" = yes; then
20452 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20453 See \`config.log' for more details." >&5
20454 echo "$as_me: error: cannot compute sizeof (long)
20455 See \`config.log' for more details." >&2;}
20456 { (exit 77); exit 77; }; }
20457 else
20458 ac_cv_sizeof_long=0
20459 fi
20460 fi
20461 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20462 fi
20463 rm -f conftest.val
20464 fi
20465 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20466 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20467
20468
20469
20470 cat >>confdefs.h <<_ACEOF
20471 #define SIZEOF_LONG $ac_cv_sizeof_long
20472 _ACEOF
20473
20474
20475 { echo "$as_me:$LINENO: checking for size_t" >&5
20476 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20477 if test "${ac_cv_type_size_t+set}" = set; then
20478 echo $ECHO_N "(cached) $ECHO_C" >&6
20479 else
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 size_t ac__type_new_;
20488 int
20489 main ()
20490 {
20491 if ((ac__type_new_ *) 0)
20492 return 0;
20493 if (sizeof (ac__type_new_))
20494 return 0;
20495 ;
20496 return 0;
20497 }
20498 _ACEOF
20499 rm -f conftest.$ac_objext
20500 if { (ac_try="$ac_compile"
20501 case "(($ac_try" in
20502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20503 *) ac_try_echo=$ac_try;;
20504 esac
20505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20506 (eval "$ac_compile") 2>conftest.er1
20507 ac_status=$?
20508 grep -v '^ *+' conftest.er1 >conftest.err
20509 rm -f conftest.er1
20510 cat conftest.err >&5
20511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20512 (exit $ac_status); } && {
20513 test -z "$ac_c_werror_flag" ||
20514 test ! -s conftest.err
20515 } && test -s conftest.$ac_objext; then
20516 ac_cv_type_size_t=yes
20517 else
20518 echo "$as_me: failed program was:" >&5
20519 sed 's/^/| /' conftest.$ac_ext >&5
20520
20521 ac_cv_type_size_t=no
20522 fi
20523
20524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20525 fi
20526 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20527 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20528
20529 # The cast to long int works around a bug in the HP C Compiler
20530 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20531 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20532 # This bug is HP SR number 8606223364.
20533 { echo "$as_me:$LINENO: checking size of size_t" >&5
20534 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20535 if test "${ac_cv_sizeof_size_t+set}" = set; then
20536 echo $ECHO_N "(cached) $ECHO_C" >&6
20537 else
20538 if test "$cross_compiling" = yes; then
20539 # Depending upon the size, compute the lo and hi bounds.
20540 cat >conftest.$ac_ext <<_ACEOF
20541 /* confdefs.h. */
20542 _ACEOF
20543 cat confdefs.h >>conftest.$ac_ext
20544 cat >>conftest.$ac_ext <<_ACEOF
20545 /* end confdefs.h. */
20546 $ac_includes_default
20547 typedef size_t ac__type_sizeof_;
20548 int
20549 main ()
20550 {
20551 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20552 test_array [0] = 0
20553
20554 ;
20555 return 0;
20556 }
20557 _ACEOF
20558 rm -f conftest.$ac_objext
20559 if { (ac_try="$ac_compile"
20560 case "(($ac_try" in
20561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20562 *) ac_try_echo=$ac_try;;
20563 esac
20564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20565 (eval "$ac_compile") 2>conftest.er1
20566 ac_status=$?
20567 grep -v '^ *+' conftest.er1 >conftest.err
20568 rm -f conftest.er1
20569 cat conftest.err >&5
20570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20571 (exit $ac_status); } && {
20572 test -z "$ac_c_werror_flag" ||
20573 test ! -s conftest.err
20574 } && test -s conftest.$ac_objext; then
20575 ac_lo=0 ac_mid=0
20576 while :; do
20577 cat >conftest.$ac_ext <<_ACEOF
20578 /* confdefs.h. */
20579 _ACEOF
20580 cat confdefs.h >>conftest.$ac_ext
20581 cat >>conftest.$ac_ext <<_ACEOF
20582 /* end confdefs.h. */
20583 $ac_includes_default
20584 typedef size_t ac__type_sizeof_;
20585 int
20586 main ()
20587 {
20588 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20589 test_array [0] = 0
20590
20591 ;
20592 return 0;
20593 }
20594 _ACEOF
20595 rm -f conftest.$ac_objext
20596 if { (ac_try="$ac_compile"
20597 case "(($ac_try" in
20598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20599 *) ac_try_echo=$ac_try;;
20600 esac
20601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20602 (eval "$ac_compile") 2>conftest.er1
20603 ac_status=$?
20604 grep -v '^ *+' conftest.er1 >conftest.err
20605 rm -f conftest.er1
20606 cat conftest.err >&5
20607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20608 (exit $ac_status); } && {
20609 test -z "$ac_c_werror_flag" ||
20610 test ! -s conftest.err
20611 } && test -s conftest.$ac_objext; then
20612 ac_hi=$ac_mid; break
20613 else
20614 echo "$as_me: failed program was:" >&5
20615 sed 's/^/| /' conftest.$ac_ext >&5
20616
20617 ac_lo=`expr $ac_mid + 1`
20618 if test $ac_lo -le $ac_mid; then
20619 ac_lo= ac_hi=
20620 break
20621 fi
20622 ac_mid=`expr 2 '*' $ac_mid + 1`
20623 fi
20624
20625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20626 done
20627 else
20628 echo "$as_me: failed program was:" >&5
20629 sed 's/^/| /' conftest.$ac_ext >&5
20630
20631 cat >conftest.$ac_ext <<_ACEOF
20632 /* confdefs.h. */
20633 _ACEOF
20634 cat confdefs.h >>conftest.$ac_ext
20635 cat >>conftest.$ac_ext <<_ACEOF
20636 /* end confdefs.h. */
20637 $ac_includes_default
20638 typedef size_t ac__type_sizeof_;
20639 int
20640 main ()
20641 {
20642 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20643 test_array [0] = 0
20644
20645 ;
20646 return 0;
20647 }
20648 _ACEOF
20649 rm -f conftest.$ac_objext
20650 if { (ac_try="$ac_compile"
20651 case "(($ac_try" in
20652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20653 *) ac_try_echo=$ac_try;;
20654 esac
20655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20656 (eval "$ac_compile") 2>conftest.er1
20657 ac_status=$?
20658 grep -v '^ *+' conftest.er1 >conftest.err
20659 rm -f conftest.er1
20660 cat conftest.err >&5
20661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20662 (exit $ac_status); } && {
20663 test -z "$ac_c_werror_flag" ||
20664 test ! -s conftest.err
20665 } && test -s conftest.$ac_objext; then
20666 ac_hi=-1 ac_mid=-1
20667 while :; do
20668 cat >conftest.$ac_ext <<_ACEOF
20669 /* confdefs.h. */
20670 _ACEOF
20671 cat confdefs.h >>conftest.$ac_ext
20672 cat >>conftest.$ac_ext <<_ACEOF
20673 /* end confdefs.h. */
20674 $ac_includes_default
20675 typedef size_t ac__type_sizeof_;
20676 int
20677 main ()
20678 {
20679 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20680 test_array [0] = 0
20681
20682 ;
20683 return 0;
20684 }
20685 _ACEOF
20686 rm -f conftest.$ac_objext
20687 if { (ac_try="$ac_compile"
20688 case "(($ac_try" in
20689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20690 *) ac_try_echo=$ac_try;;
20691 esac
20692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20693 (eval "$ac_compile") 2>conftest.er1
20694 ac_status=$?
20695 grep -v '^ *+' conftest.er1 >conftest.err
20696 rm -f conftest.er1
20697 cat conftest.err >&5
20698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20699 (exit $ac_status); } && {
20700 test -z "$ac_c_werror_flag" ||
20701 test ! -s conftest.err
20702 } && test -s conftest.$ac_objext; then
20703 ac_lo=$ac_mid; break
20704 else
20705 echo "$as_me: failed program was:" >&5
20706 sed 's/^/| /' conftest.$ac_ext >&5
20707
20708 ac_hi=`expr '(' $ac_mid ')' - 1`
20709 if test $ac_mid -le $ac_hi; then
20710 ac_lo= ac_hi=
20711 break
20712 fi
20713 ac_mid=`expr 2 '*' $ac_mid`
20714 fi
20715
20716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20717 done
20718 else
20719 echo "$as_me: failed program was:" >&5
20720 sed 's/^/| /' conftest.$ac_ext >&5
20721
20722 ac_lo= ac_hi=
20723 fi
20724
20725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20726 fi
20727
20728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20729 # Binary search between lo and hi bounds.
20730 while test "x$ac_lo" != "x$ac_hi"; do
20731 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20732 cat >conftest.$ac_ext <<_ACEOF
20733 /* confdefs.h. */
20734 _ACEOF
20735 cat confdefs.h >>conftest.$ac_ext
20736 cat >>conftest.$ac_ext <<_ACEOF
20737 /* end confdefs.h. */
20738 $ac_includes_default
20739 typedef size_t ac__type_sizeof_;
20740 int
20741 main ()
20742 {
20743 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20744 test_array [0] = 0
20745
20746 ;
20747 return 0;
20748 }
20749 _ACEOF
20750 rm -f conftest.$ac_objext
20751 if { (ac_try="$ac_compile"
20752 case "(($ac_try" in
20753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20754 *) ac_try_echo=$ac_try;;
20755 esac
20756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20757 (eval "$ac_compile") 2>conftest.er1
20758 ac_status=$?
20759 grep -v '^ *+' conftest.er1 >conftest.err
20760 rm -f conftest.er1
20761 cat conftest.err >&5
20762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20763 (exit $ac_status); } && {
20764 test -z "$ac_c_werror_flag" ||
20765 test ! -s conftest.err
20766 } && test -s conftest.$ac_objext; then
20767 ac_hi=$ac_mid
20768 else
20769 echo "$as_me: failed program was:" >&5
20770 sed 's/^/| /' conftest.$ac_ext >&5
20771
20772 ac_lo=`expr '(' $ac_mid ')' + 1`
20773 fi
20774
20775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20776 done
20777 case $ac_lo in
20778 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20779 '') if test "$ac_cv_type_size_t" = yes; then
20780 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20781 See \`config.log' for more details." >&5
20782 echo "$as_me: error: cannot compute sizeof (size_t)
20783 See \`config.log' for more details." >&2;}
20784 { (exit 77); exit 77; }; }
20785 else
20786 ac_cv_sizeof_size_t=0
20787 fi ;;
20788 esac
20789 else
20790 cat >conftest.$ac_ext <<_ACEOF
20791 /* confdefs.h. */
20792 _ACEOF
20793 cat confdefs.h >>conftest.$ac_ext
20794 cat >>conftest.$ac_ext <<_ACEOF
20795 /* end confdefs.h. */
20796 $ac_includes_default
20797 typedef size_t ac__type_sizeof_;
20798 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20799 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20800 #include <stdio.h>
20801 #include <stdlib.h>
20802 int
20803 main ()
20804 {
20805
20806 FILE *f = fopen ("conftest.val", "w");
20807 if (! f)
20808 return 1;
20809 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20810 {
20811 long int i = longval ();
20812 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20813 return 1;
20814 fprintf (f, "%ld\n", i);
20815 }
20816 else
20817 {
20818 unsigned long int i = ulongval ();
20819 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20820 return 1;
20821 fprintf (f, "%lu\n", i);
20822 }
20823 return ferror (f) || fclose (f) != 0;
20824
20825 ;
20826 return 0;
20827 }
20828 _ACEOF
20829 rm -f conftest$ac_exeext
20830 if { (ac_try="$ac_link"
20831 case "(($ac_try" in
20832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20833 *) ac_try_echo=$ac_try;;
20834 esac
20835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20836 (eval "$ac_link") 2>&5
20837 ac_status=$?
20838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20839 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20840 { (case "(($ac_try" in
20841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20842 *) ac_try_echo=$ac_try;;
20843 esac
20844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20845 (eval "$ac_try") 2>&5
20846 ac_status=$?
20847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20848 (exit $ac_status); }; }; then
20849 ac_cv_sizeof_size_t=`cat conftest.val`
20850 else
20851 echo "$as_me: program exited with status $ac_status" >&5
20852 echo "$as_me: failed program was:" >&5
20853 sed 's/^/| /' conftest.$ac_ext >&5
20854
20855 ( exit $ac_status )
20856 if test "$ac_cv_type_size_t" = yes; then
20857 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20858 See \`config.log' for more details." >&5
20859 echo "$as_me: error: cannot compute sizeof (size_t)
20860 See \`config.log' for more details." >&2;}
20861 { (exit 77); exit 77; }; }
20862 else
20863 ac_cv_sizeof_size_t=0
20864 fi
20865 fi
20866 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20867 fi
20868 rm -f conftest.val
20869 fi
20870 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20871 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20872
20873
20874
20875 cat >>confdefs.h <<_ACEOF
20876 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20877 _ACEOF
20878
20879
20880
20881 case "${host}" in
20882 arm-*-linux* )
20883 { echo "$as_me:$LINENO: checking for long long" >&5
20884 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20885 if test "${ac_cv_type_long_long+set}" = set; then
20886 echo $ECHO_N "(cached) $ECHO_C" >&6
20887 else
20888 cat >conftest.$ac_ext <<_ACEOF
20889 /* confdefs.h. */
20890 _ACEOF
20891 cat confdefs.h >>conftest.$ac_ext
20892 cat >>conftest.$ac_ext <<_ACEOF
20893 /* end confdefs.h. */
20894 $ac_includes_default
20895 typedef long long ac__type_new_;
20896 int
20897 main ()
20898 {
20899 if ((ac__type_new_ *) 0)
20900 return 0;
20901 if (sizeof (ac__type_new_))
20902 return 0;
20903 ;
20904 return 0;
20905 }
20906 _ACEOF
20907 rm -f conftest.$ac_objext
20908 if { (ac_try="$ac_compile"
20909 case "(($ac_try" in
20910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20911 *) ac_try_echo=$ac_try;;
20912 esac
20913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20914 (eval "$ac_compile") 2>conftest.er1
20915 ac_status=$?
20916 grep -v '^ *+' conftest.er1 >conftest.err
20917 rm -f conftest.er1
20918 cat conftest.err >&5
20919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20920 (exit $ac_status); } && {
20921 test -z "$ac_c_werror_flag" ||
20922 test ! -s conftest.err
20923 } && test -s conftest.$ac_objext; then
20924 ac_cv_type_long_long=yes
20925 else
20926 echo "$as_me: failed program was:" >&5
20927 sed 's/^/| /' conftest.$ac_ext >&5
20928
20929 ac_cv_type_long_long=no
20930 fi
20931
20932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20933 fi
20934 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20935 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20936
20937 # The cast to long int works around a bug in the HP C Compiler
20938 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20939 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20940 # This bug is HP SR number 8606223364.
20941 { echo "$as_me:$LINENO: checking size of long long" >&5
20942 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20943 if test "${ac_cv_sizeof_long_long+set}" = set; then
20944 echo $ECHO_N "(cached) $ECHO_C" >&6
20945 else
20946 if test "$cross_compiling" = yes; then
20947 # Depending upon the size, compute the lo and hi bounds.
20948 cat >conftest.$ac_ext <<_ACEOF
20949 /* confdefs.h. */
20950 _ACEOF
20951 cat confdefs.h >>conftest.$ac_ext
20952 cat >>conftest.$ac_ext <<_ACEOF
20953 /* end confdefs.h. */
20954 $ac_includes_default
20955 typedef long long ac__type_sizeof_;
20956 int
20957 main ()
20958 {
20959 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20960 test_array [0] = 0
20961
20962 ;
20963 return 0;
20964 }
20965 _ACEOF
20966 rm -f conftest.$ac_objext
20967 if { (ac_try="$ac_compile"
20968 case "(($ac_try" in
20969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20970 *) ac_try_echo=$ac_try;;
20971 esac
20972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20973 (eval "$ac_compile") 2>conftest.er1
20974 ac_status=$?
20975 grep -v '^ *+' conftest.er1 >conftest.err
20976 rm -f conftest.er1
20977 cat conftest.err >&5
20978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20979 (exit $ac_status); } && {
20980 test -z "$ac_c_werror_flag" ||
20981 test ! -s conftest.err
20982 } && test -s conftest.$ac_objext; then
20983 ac_lo=0 ac_mid=0
20984 while :; do
20985 cat >conftest.$ac_ext <<_ACEOF
20986 /* confdefs.h. */
20987 _ACEOF
20988 cat confdefs.h >>conftest.$ac_ext
20989 cat >>conftest.$ac_ext <<_ACEOF
20990 /* end confdefs.h. */
20991 $ac_includes_default
20992 typedef long long ac__type_sizeof_;
20993 int
20994 main ()
20995 {
20996 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20997 test_array [0] = 0
20998
20999 ;
21000 return 0;
21001 }
21002 _ACEOF
21003 rm -f conftest.$ac_objext
21004 if { (ac_try="$ac_compile"
21005 case "(($ac_try" in
21006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21007 *) ac_try_echo=$ac_try;;
21008 esac
21009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21010 (eval "$ac_compile") 2>conftest.er1
21011 ac_status=$?
21012 grep -v '^ *+' conftest.er1 >conftest.err
21013 rm -f conftest.er1
21014 cat conftest.err >&5
21015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21016 (exit $ac_status); } && {
21017 test -z "$ac_c_werror_flag" ||
21018 test ! -s conftest.err
21019 } && test -s conftest.$ac_objext; then
21020 ac_hi=$ac_mid; break
21021 else
21022 echo "$as_me: failed program was:" >&5
21023 sed 's/^/| /' conftest.$ac_ext >&5
21024
21025 ac_lo=`expr $ac_mid + 1`
21026 if test $ac_lo -le $ac_mid; then
21027 ac_lo= ac_hi=
21028 break
21029 fi
21030 ac_mid=`expr 2 '*' $ac_mid + 1`
21031 fi
21032
21033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21034 done
21035 else
21036 echo "$as_me: failed program was:" >&5
21037 sed 's/^/| /' conftest.$ac_ext >&5
21038
21039 cat >conftest.$ac_ext <<_ACEOF
21040 /* confdefs.h. */
21041 _ACEOF
21042 cat confdefs.h >>conftest.$ac_ext
21043 cat >>conftest.$ac_ext <<_ACEOF
21044 /* end confdefs.h. */
21045 $ac_includes_default
21046 typedef long long ac__type_sizeof_;
21047 int
21048 main ()
21049 {
21050 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21051 test_array [0] = 0
21052
21053 ;
21054 return 0;
21055 }
21056 _ACEOF
21057 rm -f conftest.$ac_objext
21058 if { (ac_try="$ac_compile"
21059 case "(($ac_try" in
21060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21061 *) ac_try_echo=$ac_try;;
21062 esac
21063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21064 (eval "$ac_compile") 2>conftest.er1
21065 ac_status=$?
21066 grep -v '^ *+' conftest.er1 >conftest.err
21067 rm -f conftest.er1
21068 cat conftest.err >&5
21069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21070 (exit $ac_status); } && {
21071 test -z "$ac_c_werror_flag" ||
21072 test ! -s conftest.err
21073 } && test -s conftest.$ac_objext; then
21074 ac_hi=-1 ac_mid=-1
21075 while :; do
21076 cat >conftest.$ac_ext <<_ACEOF
21077 /* confdefs.h. */
21078 _ACEOF
21079 cat confdefs.h >>conftest.$ac_ext
21080 cat >>conftest.$ac_ext <<_ACEOF
21081 /* end confdefs.h. */
21082 $ac_includes_default
21083 typedef long long ac__type_sizeof_;
21084 int
21085 main ()
21086 {
21087 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21088 test_array [0] = 0
21089
21090 ;
21091 return 0;
21092 }
21093 _ACEOF
21094 rm -f conftest.$ac_objext
21095 if { (ac_try="$ac_compile"
21096 case "(($ac_try" in
21097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21098 *) ac_try_echo=$ac_try;;
21099 esac
21100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21101 (eval "$ac_compile") 2>conftest.er1
21102 ac_status=$?
21103 grep -v '^ *+' conftest.er1 >conftest.err
21104 rm -f conftest.er1
21105 cat conftest.err >&5
21106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107 (exit $ac_status); } && {
21108 test -z "$ac_c_werror_flag" ||
21109 test ! -s conftest.err
21110 } && test -s conftest.$ac_objext; then
21111 ac_lo=$ac_mid; break
21112 else
21113 echo "$as_me: failed program was:" >&5
21114 sed 's/^/| /' conftest.$ac_ext >&5
21115
21116 ac_hi=`expr '(' $ac_mid ')' - 1`
21117 if test $ac_mid -le $ac_hi; then
21118 ac_lo= ac_hi=
21119 break
21120 fi
21121 ac_mid=`expr 2 '*' $ac_mid`
21122 fi
21123
21124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21125 done
21126 else
21127 echo "$as_me: failed program was:" >&5
21128 sed 's/^/| /' conftest.$ac_ext >&5
21129
21130 ac_lo= ac_hi=
21131 fi
21132
21133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21134 fi
21135
21136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21137 # Binary search between lo and hi bounds.
21138 while test "x$ac_lo" != "x$ac_hi"; do
21139 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21140 cat >conftest.$ac_ext <<_ACEOF
21141 /* confdefs.h. */
21142 _ACEOF
21143 cat confdefs.h >>conftest.$ac_ext
21144 cat >>conftest.$ac_ext <<_ACEOF
21145 /* end confdefs.h. */
21146 $ac_includes_default
21147 typedef long long ac__type_sizeof_;
21148 int
21149 main ()
21150 {
21151 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21152 test_array [0] = 0
21153
21154 ;
21155 return 0;
21156 }
21157 _ACEOF
21158 rm -f conftest.$ac_objext
21159 if { (ac_try="$ac_compile"
21160 case "(($ac_try" in
21161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21162 *) ac_try_echo=$ac_try;;
21163 esac
21164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21165 (eval "$ac_compile") 2>conftest.er1
21166 ac_status=$?
21167 grep -v '^ *+' conftest.er1 >conftest.err
21168 rm -f conftest.er1
21169 cat conftest.err >&5
21170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21171 (exit $ac_status); } && {
21172 test -z "$ac_c_werror_flag" ||
21173 test ! -s conftest.err
21174 } && test -s conftest.$ac_objext; then
21175 ac_hi=$ac_mid
21176 else
21177 echo "$as_me: failed program was:" >&5
21178 sed 's/^/| /' conftest.$ac_ext >&5
21179
21180 ac_lo=`expr '(' $ac_mid ')' + 1`
21181 fi
21182
21183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21184 done
21185 case $ac_lo in
21186 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21187 '') if test "$ac_cv_type_long_long" = yes; then
21188 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21189 See \`config.log' for more details." >&5
21190 echo "$as_me: error: cannot compute sizeof (long long)
21191 See \`config.log' for more details." >&2;}
21192 { (exit 77); exit 77; }; }
21193 else
21194 ac_cv_sizeof_long_long=0
21195 fi ;;
21196 esac
21197 else
21198 cat >conftest.$ac_ext <<_ACEOF
21199 /* confdefs.h. */
21200 _ACEOF
21201 cat confdefs.h >>conftest.$ac_ext
21202 cat >>conftest.$ac_ext <<_ACEOF
21203 /* end confdefs.h. */
21204 $ac_includes_default
21205 typedef long long ac__type_sizeof_;
21206 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21207 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21208 #include <stdio.h>
21209 #include <stdlib.h>
21210 int
21211 main ()
21212 {
21213
21214 FILE *f = fopen ("conftest.val", "w");
21215 if (! f)
21216 return 1;
21217 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21218 {
21219 long int i = longval ();
21220 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21221 return 1;
21222 fprintf (f, "%ld\n", i);
21223 }
21224 else
21225 {
21226 unsigned long int i = ulongval ();
21227 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21228 return 1;
21229 fprintf (f, "%lu\n", i);
21230 }
21231 return ferror (f) || fclose (f) != 0;
21232
21233 ;
21234 return 0;
21235 }
21236 _ACEOF
21237 rm -f conftest$ac_exeext
21238 if { (ac_try="$ac_link"
21239 case "(($ac_try" in
21240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21241 *) ac_try_echo=$ac_try;;
21242 esac
21243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21244 (eval "$ac_link") 2>&5
21245 ac_status=$?
21246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21247 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21248 { (case "(($ac_try" in
21249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21250 *) ac_try_echo=$ac_try;;
21251 esac
21252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21253 (eval "$ac_try") 2>&5
21254 ac_status=$?
21255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21256 (exit $ac_status); }; }; then
21257 ac_cv_sizeof_long_long=`cat conftest.val`
21258 else
21259 echo "$as_me: program exited with status $ac_status" >&5
21260 echo "$as_me: failed program was:" >&5
21261 sed 's/^/| /' conftest.$ac_ext >&5
21262
21263 ( exit $ac_status )
21264 if test "$ac_cv_type_long_long" = yes; then
21265 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21266 See \`config.log' for more details." >&5
21267 echo "$as_me: error: cannot compute sizeof (long long)
21268 See \`config.log' for more details." >&2;}
21269 { (exit 77); exit 77; }; }
21270 else
21271 ac_cv_sizeof_long_long=0
21272 fi
21273 fi
21274 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21275 fi
21276 rm -f conftest.val
21277 fi
21278 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21279 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21280
21281
21282
21283 cat >>confdefs.h <<_ACEOF
21284 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21285 _ACEOF
21286
21287
21288 ;;
21289 *-hp-hpux* )
21290 { echo "$as_me:$LINENO: checking for long long" >&5
21291 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21292 if test "${ac_cv_type_long_long+set}" = set; then
21293 echo $ECHO_N "(cached) $ECHO_C" >&6
21294 else
21295 cat >conftest.$ac_ext <<_ACEOF
21296 /* confdefs.h. */
21297 _ACEOF
21298 cat confdefs.h >>conftest.$ac_ext
21299 cat >>conftest.$ac_ext <<_ACEOF
21300 /* end confdefs.h. */
21301 $ac_includes_default
21302 typedef long long ac__type_new_;
21303 int
21304 main ()
21305 {
21306 if ((ac__type_new_ *) 0)
21307 return 0;
21308 if (sizeof (ac__type_new_))
21309 return 0;
21310 ;
21311 return 0;
21312 }
21313 _ACEOF
21314 rm -f conftest.$ac_objext
21315 if { (ac_try="$ac_compile"
21316 case "(($ac_try" in
21317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21318 *) ac_try_echo=$ac_try;;
21319 esac
21320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21321 (eval "$ac_compile") 2>conftest.er1
21322 ac_status=$?
21323 grep -v '^ *+' conftest.er1 >conftest.err
21324 rm -f conftest.er1
21325 cat conftest.err >&5
21326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21327 (exit $ac_status); } && {
21328 test -z "$ac_c_werror_flag" ||
21329 test ! -s conftest.err
21330 } && test -s conftest.$ac_objext; then
21331 ac_cv_type_long_long=yes
21332 else
21333 echo "$as_me: failed program was:" >&5
21334 sed 's/^/| /' conftest.$ac_ext >&5
21335
21336 ac_cv_type_long_long=no
21337 fi
21338
21339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21340 fi
21341 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21342 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21343
21344 # The cast to long int works around a bug in the HP C Compiler
21345 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21346 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21347 # This bug is HP SR number 8606223364.
21348 { echo "$as_me:$LINENO: checking size of long long" >&5
21349 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21350 if test "${ac_cv_sizeof_long_long+set}" = set; then
21351 echo $ECHO_N "(cached) $ECHO_C" >&6
21352 else
21353 if test "$cross_compiling" = yes; then
21354 # Depending upon the size, compute the lo and hi bounds.
21355 cat >conftest.$ac_ext <<_ACEOF
21356 /* confdefs.h. */
21357 _ACEOF
21358 cat confdefs.h >>conftest.$ac_ext
21359 cat >>conftest.$ac_ext <<_ACEOF
21360 /* end confdefs.h. */
21361 $ac_includes_default
21362 typedef long long ac__type_sizeof_;
21363 int
21364 main ()
21365 {
21366 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21367 test_array [0] = 0
21368
21369 ;
21370 return 0;
21371 }
21372 _ACEOF
21373 rm -f conftest.$ac_objext
21374 if { (ac_try="$ac_compile"
21375 case "(($ac_try" in
21376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21377 *) ac_try_echo=$ac_try;;
21378 esac
21379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21380 (eval "$ac_compile") 2>conftest.er1
21381 ac_status=$?
21382 grep -v '^ *+' conftest.er1 >conftest.err
21383 rm -f conftest.er1
21384 cat conftest.err >&5
21385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21386 (exit $ac_status); } && {
21387 test -z "$ac_c_werror_flag" ||
21388 test ! -s conftest.err
21389 } && test -s conftest.$ac_objext; then
21390 ac_lo=0 ac_mid=0
21391 while :; do
21392 cat >conftest.$ac_ext <<_ACEOF
21393 /* confdefs.h. */
21394 _ACEOF
21395 cat confdefs.h >>conftest.$ac_ext
21396 cat >>conftest.$ac_ext <<_ACEOF
21397 /* end confdefs.h. */
21398 $ac_includes_default
21399 typedef long long ac__type_sizeof_;
21400 int
21401 main ()
21402 {
21403 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21404 test_array [0] = 0
21405
21406 ;
21407 return 0;
21408 }
21409 _ACEOF
21410 rm -f conftest.$ac_objext
21411 if { (ac_try="$ac_compile"
21412 case "(($ac_try" in
21413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21414 *) ac_try_echo=$ac_try;;
21415 esac
21416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21417 (eval "$ac_compile") 2>conftest.er1
21418 ac_status=$?
21419 grep -v '^ *+' conftest.er1 >conftest.err
21420 rm -f conftest.er1
21421 cat conftest.err >&5
21422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21423 (exit $ac_status); } && {
21424 test -z "$ac_c_werror_flag" ||
21425 test ! -s conftest.err
21426 } && test -s conftest.$ac_objext; then
21427 ac_hi=$ac_mid; break
21428 else
21429 echo "$as_me: failed program was:" >&5
21430 sed 's/^/| /' conftest.$ac_ext >&5
21431
21432 ac_lo=`expr $ac_mid + 1`
21433 if test $ac_lo -le $ac_mid; then
21434 ac_lo= ac_hi=
21435 break
21436 fi
21437 ac_mid=`expr 2 '*' $ac_mid + 1`
21438 fi
21439
21440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21441 done
21442 else
21443 echo "$as_me: failed program was:" >&5
21444 sed 's/^/| /' conftest.$ac_ext >&5
21445
21446 cat >conftest.$ac_ext <<_ACEOF
21447 /* confdefs.h. */
21448 _ACEOF
21449 cat confdefs.h >>conftest.$ac_ext
21450 cat >>conftest.$ac_ext <<_ACEOF
21451 /* end confdefs.h. */
21452 $ac_includes_default
21453 typedef long long ac__type_sizeof_;
21454 int
21455 main ()
21456 {
21457 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21458 test_array [0] = 0
21459
21460 ;
21461 return 0;
21462 }
21463 _ACEOF
21464 rm -f conftest.$ac_objext
21465 if { (ac_try="$ac_compile"
21466 case "(($ac_try" in
21467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21468 *) ac_try_echo=$ac_try;;
21469 esac
21470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21471 (eval "$ac_compile") 2>conftest.er1
21472 ac_status=$?
21473 grep -v '^ *+' conftest.er1 >conftest.err
21474 rm -f conftest.er1
21475 cat conftest.err >&5
21476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21477 (exit $ac_status); } && {
21478 test -z "$ac_c_werror_flag" ||
21479 test ! -s conftest.err
21480 } && test -s conftest.$ac_objext; then
21481 ac_hi=-1 ac_mid=-1
21482 while :; do
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_))) >= $ac_mid)];
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 test -z "$ac_c_werror_flag" ||
21516 test ! -s conftest.err
21517 } && test -s conftest.$ac_objext; then
21518 ac_lo=$ac_mid; break
21519 else
21520 echo "$as_me: failed program was:" >&5
21521 sed 's/^/| /' conftest.$ac_ext >&5
21522
21523 ac_hi=`expr '(' $ac_mid ')' - 1`
21524 if test $ac_mid -le $ac_hi; then
21525 ac_lo= ac_hi=
21526 break
21527 fi
21528 ac_mid=`expr 2 '*' $ac_mid`
21529 fi
21530
21531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21532 done
21533 else
21534 echo "$as_me: failed program was:" >&5
21535 sed 's/^/| /' conftest.$ac_ext >&5
21536
21537 ac_lo= ac_hi=
21538 fi
21539
21540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21541 fi
21542
21543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21544 # Binary search between lo and hi bounds.
21545 while test "x$ac_lo" != "x$ac_hi"; do
21546 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21547 cat >conftest.$ac_ext <<_ACEOF
21548 /* confdefs.h. */
21549 _ACEOF
21550 cat confdefs.h >>conftest.$ac_ext
21551 cat >>conftest.$ac_ext <<_ACEOF
21552 /* end confdefs.h. */
21553 $ac_includes_default
21554 typedef long long ac__type_sizeof_;
21555 int
21556 main ()
21557 {
21558 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21559 test_array [0] = 0
21560
21561 ;
21562 return 0;
21563 }
21564 _ACEOF
21565 rm -f conftest.$ac_objext
21566 if { (ac_try="$ac_compile"
21567 case "(($ac_try" in
21568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21569 *) ac_try_echo=$ac_try;;
21570 esac
21571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21572 (eval "$ac_compile") 2>conftest.er1
21573 ac_status=$?
21574 grep -v '^ *+' conftest.er1 >conftest.err
21575 rm -f conftest.er1
21576 cat conftest.err >&5
21577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21578 (exit $ac_status); } && {
21579 test -z "$ac_c_werror_flag" ||
21580 test ! -s conftest.err
21581 } && test -s conftest.$ac_objext; then
21582 ac_hi=$ac_mid
21583 else
21584 echo "$as_me: failed program was:" >&5
21585 sed 's/^/| /' conftest.$ac_ext >&5
21586
21587 ac_lo=`expr '(' $ac_mid ')' + 1`
21588 fi
21589
21590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21591 done
21592 case $ac_lo in
21593 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21594 '') if test "$ac_cv_type_long_long" = yes; then
21595 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21596 See \`config.log' for more details." >&5
21597 echo "$as_me: error: cannot compute sizeof (long long)
21598 See \`config.log' for more details." >&2;}
21599 { (exit 77); exit 77; }; }
21600 else
21601 ac_cv_sizeof_long_long=0
21602 fi ;;
21603 esac
21604 else
21605 cat >conftest.$ac_ext <<_ACEOF
21606 /* confdefs.h. */
21607 _ACEOF
21608 cat confdefs.h >>conftest.$ac_ext
21609 cat >>conftest.$ac_ext <<_ACEOF
21610 /* end confdefs.h. */
21611 $ac_includes_default
21612 typedef long long ac__type_sizeof_;
21613 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21614 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21615 #include <stdio.h>
21616 #include <stdlib.h>
21617 int
21618 main ()
21619 {
21620
21621 FILE *f = fopen ("conftest.val", "w");
21622 if (! f)
21623 return 1;
21624 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21625 {
21626 long int i = longval ();
21627 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21628 return 1;
21629 fprintf (f, "%ld\n", i);
21630 }
21631 else
21632 {
21633 unsigned long int i = ulongval ();
21634 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21635 return 1;
21636 fprintf (f, "%lu\n", i);
21637 }
21638 return ferror (f) || fclose (f) != 0;
21639
21640 ;
21641 return 0;
21642 }
21643 _ACEOF
21644 rm -f conftest$ac_exeext
21645 if { (ac_try="$ac_link"
21646 case "(($ac_try" in
21647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21648 *) ac_try_echo=$ac_try;;
21649 esac
21650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21651 (eval "$ac_link") 2>&5
21652 ac_status=$?
21653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21654 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21655 { (case "(($ac_try" in
21656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21657 *) ac_try_echo=$ac_try;;
21658 esac
21659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21660 (eval "$ac_try") 2>&5
21661 ac_status=$?
21662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21663 (exit $ac_status); }; }; then
21664 ac_cv_sizeof_long_long=`cat conftest.val`
21665 else
21666 echo "$as_me: program exited with status $ac_status" >&5
21667 echo "$as_me: failed program was:" >&5
21668 sed 's/^/| /' conftest.$ac_ext >&5
21669
21670 ( exit $ac_status )
21671 if test "$ac_cv_type_long_long" = yes; then
21672 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21673 See \`config.log' for more details." >&5
21674 echo "$as_me: error: cannot compute sizeof (long long)
21675 See \`config.log' for more details." >&2;}
21676 { (exit 77); exit 77; }; }
21677 else
21678 ac_cv_sizeof_long_long=0
21679 fi
21680 fi
21681 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21682 fi
21683 rm -f conftest.val
21684 fi
21685 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21686 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21687
21688
21689
21690 cat >>confdefs.h <<_ACEOF
21691 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21692 _ACEOF
21693
21694
21695 if test "$ac_cv_sizeof_long_long" != "0"; then
21696 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21697 fi
21698 ;;
21699 * )
21700 { echo "$as_me:$LINENO: checking for long long" >&5
21701 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21702 if test "${ac_cv_type_long_long+set}" = set; then
21703 echo $ECHO_N "(cached) $ECHO_C" >&6
21704 else
21705 cat >conftest.$ac_ext <<_ACEOF
21706 /* confdefs.h. */
21707 _ACEOF
21708 cat confdefs.h >>conftest.$ac_ext
21709 cat >>conftest.$ac_ext <<_ACEOF
21710 /* end confdefs.h. */
21711 $ac_includes_default
21712 typedef long long ac__type_new_;
21713 int
21714 main ()
21715 {
21716 if ((ac__type_new_ *) 0)
21717 return 0;
21718 if (sizeof (ac__type_new_))
21719 return 0;
21720 ;
21721 return 0;
21722 }
21723 _ACEOF
21724 rm -f conftest.$ac_objext
21725 if { (ac_try="$ac_compile"
21726 case "(($ac_try" in
21727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21728 *) ac_try_echo=$ac_try;;
21729 esac
21730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21731 (eval "$ac_compile") 2>conftest.er1
21732 ac_status=$?
21733 grep -v '^ *+' conftest.er1 >conftest.err
21734 rm -f conftest.er1
21735 cat conftest.err >&5
21736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21737 (exit $ac_status); } && {
21738 test -z "$ac_c_werror_flag" ||
21739 test ! -s conftest.err
21740 } && test -s conftest.$ac_objext; then
21741 ac_cv_type_long_long=yes
21742 else
21743 echo "$as_me: failed program was:" >&5
21744 sed 's/^/| /' conftest.$ac_ext >&5
21745
21746 ac_cv_type_long_long=no
21747 fi
21748
21749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21750 fi
21751 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21752 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21753
21754 # The cast to long int works around a bug in the HP C Compiler
21755 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21756 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21757 # This bug is HP SR number 8606223364.
21758 { echo "$as_me:$LINENO: checking size of long long" >&5
21759 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21760 if test "${ac_cv_sizeof_long_long+set}" = set; then
21761 echo $ECHO_N "(cached) $ECHO_C" >&6
21762 else
21763 if test "$cross_compiling" = yes; then
21764 # Depending upon the size, compute the lo and hi bounds.
21765 cat >conftest.$ac_ext <<_ACEOF
21766 /* confdefs.h. */
21767 _ACEOF
21768 cat confdefs.h >>conftest.$ac_ext
21769 cat >>conftest.$ac_ext <<_ACEOF
21770 /* end confdefs.h. */
21771 $ac_includes_default
21772 typedef long long ac__type_sizeof_;
21773 int
21774 main ()
21775 {
21776 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21777 test_array [0] = 0
21778
21779 ;
21780 return 0;
21781 }
21782 _ACEOF
21783 rm -f conftest.$ac_objext
21784 if { (ac_try="$ac_compile"
21785 case "(($ac_try" in
21786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21787 *) ac_try_echo=$ac_try;;
21788 esac
21789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21790 (eval "$ac_compile") 2>conftest.er1
21791 ac_status=$?
21792 grep -v '^ *+' conftest.er1 >conftest.err
21793 rm -f conftest.er1
21794 cat conftest.err >&5
21795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21796 (exit $ac_status); } && {
21797 test -z "$ac_c_werror_flag" ||
21798 test ! -s conftest.err
21799 } && test -s conftest.$ac_objext; then
21800 ac_lo=0 ac_mid=0
21801 while :; do
21802 cat >conftest.$ac_ext <<_ACEOF
21803 /* confdefs.h. */
21804 _ACEOF
21805 cat confdefs.h >>conftest.$ac_ext
21806 cat >>conftest.$ac_ext <<_ACEOF
21807 /* end confdefs.h. */
21808 $ac_includes_default
21809 typedef long long ac__type_sizeof_;
21810 int
21811 main ()
21812 {
21813 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21814 test_array [0] = 0
21815
21816 ;
21817 return 0;
21818 }
21819 _ACEOF
21820 rm -f conftest.$ac_objext
21821 if { (ac_try="$ac_compile"
21822 case "(($ac_try" in
21823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21824 *) ac_try_echo=$ac_try;;
21825 esac
21826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21827 (eval "$ac_compile") 2>conftest.er1
21828 ac_status=$?
21829 grep -v '^ *+' conftest.er1 >conftest.err
21830 rm -f conftest.er1
21831 cat conftest.err >&5
21832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21833 (exit $ac_status); } && {
21834 test -z "$ac_c_werror_flag" ||
21835 test ! -s conftest.err
21836 } && test -s conftest.$ac_objext; then
21837 ac_hi=$ac_mid; break
21838 else
21839 echo "$as_me: failed program was:" >&5
21840 sed 's/^/| /' conftest.$ac_ext >&5
21841
21842 ac_lo=`expr $ac_mid + 1`
21843 if test $ac_lo -le $ac_mid; then
21844 ac_lo= ac_hi=
21845 break
21846 fi
21847 ac_mid=`expr 2 '*' $ac_mid + 1`
21848 fi
21849
21850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21851 done
21852 else
21853 echo "$as_me: failed program was:" >&5
21854 sed 's/^/| /' conftest.$ac_ext >&5
21855
21856 cat >conftest.$ac_ext <<_ACEOF
21857 /* confdefs.h. */
21858 _ACEOF
21859 cat confdefs.h >>conftest.$ac_ext
21860 cat >>conftest.$ac_ext <<_ACEOF
21861 /* end confdefs.h. */
21862 $ac_includes_default
21863 typedef long long ac__type_sizeof_;
21864 int
21865 main ()
21866 {
21867 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21868 test_array [0] = 0
21869
21870 ;
21871 return 0;
21872 }
21873 _ACEOF
21874 rm -f conftest.$ac_objext
21875 if { (ac_try="$ac_compile"
21876 case "(($ac_try" in
21877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21878 *) ac_try_echo=$ac_try;;
21879 esac
21880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21881 (eval "$ac_compile") 2>conftest.er1
21882 ac_status=$?
21883 grep -v '^ *+' conftest.er1 >conftest.err
21884 rm -f conftest.er1
21885 cat conftest.err >&5
21886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21887 (exit $ac_status); } && {
21888 test -z "$ac_c_werror_flag" ||
21889 test ! -s conftest.err
21890 } && test -s conftest.$ac_objext; then
21891 ac_hi=-1 ac_mid=-1
21892 while :; do
21893 cat >conftest.$ac_ext <<_ACEOF
21894 /* confdefs.h. */
21895 _ACEOF
21896 cat confdefs.h >>conftest.$ac_ext
21897 cat >>conftest.$ac_ext <<_ACEOF
21898 /* end confdefs.h. */
21899 $ac_includes_default
21900 typedef long long ac__type_sizeof_;
21901 int
21902 main ()
21903 {
21904 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21905 test_array [0] = 0
21906
21907 ;
21908 return 0;
21909 }
21910 _ACEOF
21911 rm -f conftest.$ac_objext
21912 if { (ac_try="$ac_compile"
21913 case "(($ac_try" in
21914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21915 *) ac_try_echo=$ac_try;;
21916 esac
21917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21918 (eval "$ac_compile") 2>conftest.er1
21919 ac_status=$?
21920 grep -v '^ *+' conftest.er1 >conftest.err
21921 rm -f conftest.er1
21922 cat conftest.err >&5
21923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21924 (exit $ac_status); } && {
21925 test -z "$ac_c_werror_flag" ||
21926 test ! -s conftest.err
21927 } && test -s conftest.$ac_objext; then
21928 ac_lo=$ac_mid; break
21929 else
21930 echo "$as_me: failed program was:" >&5
21931 sed 's/^/| /' conftest.$ac_ext >&5
21932
21933 ac_hi=`expr '(' $ac_mid ')' - 1`
21934 if test $ac_mid -le $ac_hi; then
21935 ac_lo= ac_hi=
21936 break
21937 fi
21938 ac_mid=`expr 2 '*' $ac_mid`
21939 fi
21940
21941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21942 done
21943 else
21944 echo "$as_me: failed program was:" >&5
21945 sed 's/^/| /' conftest.$ac_ext >&5
21946
21947 ac_lo= ac_hi=
21948 fi
21949
21950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21951 fi
21952
21953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21954 # Binary search between lo and hi bounds.
21955 while test "x$ac_lo" != "x$ac_hi"; do
21956 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21957 cat >conftest.$ac_ext <<_ACEOF
21958 /* confdefs.h. */
21959 _ACEOF
21960 cat confdefs.h >>conftest.$ac_ext
21961 cat >>conftest.$ac_ext <<_ACEOF
21962 /* end confdefs.h. */
21963 $ac_includes_default
21964 typedef long long ac__type_sizeof_;
21965 int
21966 main ()
21967 {
21968 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21969 test_array [0] = 0
21970
21971 ;
21972 return 0;
21973 }
21974 _ACEOF
21975 rm -f conftest.$ac_objext
21976 if { (ac_try="$ac_compile"
21977 case "(($ac_try" in
21978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21979 *) ac_try_echo=$ac_try;;
21980 esac
21981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21982 (eval "$ac_compile") 2>conftest.er1
21983 ac_status=$?
21984 grep -v '^ *+' conftest.er1 >conftest.err
21985 rm -f conftest.er1
21986 cat conftest.err >&5
21987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21988 (exit $ac_status); } && {
21989 test -z "$ac_c_werror_flag" ||
21990 test ! -s conftest.err
21991 } && test -s conftest.$ac_objext; then
21992 ac_hi=$ac_mid
21993 else
21994 echo "$as_me: failed program was:" >&5
21995 sed 's/^/| /' conftest.$ac_ext >&5
21996
21997 ac_lo=`expr '(' $ac_mid ')' + 1`
21998 fi
21999
22000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22001 done
22002 case $ac_lo in
22003 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22004 '') if test "$ac_cv_type_long_long" = yes; then
22005 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22006 See \`config.log' for more details." >&5
22007 echo "$as_me: error: cannot compute sizeof (long long)
22008 See \`config.log' for more details." >&2;}
22009 { (exit 77); exit 77; }; }
22010 else
22011 ac_cv_sizeof_long_long=0
22012 fi ;;
22013 esac
22014 else
22015 cat >conftest.$ac_ext <<_ACEOF
22016 /* confdefs.h. */
22017 _ACEOF
22018 cat confdefs.h >>conftest.$ac_ext
22019 cat >>conftest.$ac_ext <<_ACEOF
22020 /* end confdefs.h. */
22021 $ac_includes_default
22022 typedef long long ac__type_sizeof_;
22023 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22024 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22025 #include <stdio.h>
22026 #include <stdlib.h>
22027 int
22028 main ()
22029 {
22030
22031 FILE *f = fopen ("conftest.val", "w");
22032 if (! f)
22033 return 1;
22034 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22035 {
22036 long int i = longval ();
22037 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22038 return 1;
22039 fprintf (f, "%ld\n", i);
22040 }
22041 else
22042 {
22043 unsigned long int i = ulongval ();
22044 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22045 return 1;
22046 fprintf (f, "%lu\n", i);
22047 }
22048 return ferror (f) || fclose (f) != 0;
22049
22050 ;
22051 return 0;
22052 }
22053 _ACEOF
22054 rm -f conftest$ac_exeext
22055 if { (ac_try="$ac_link"
22056 case "(($ac_try" in
22057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22058 *) ac_try_echo=$ac_try;;
22059 esac
22060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22061 (eval "$ac_link") 2>&5
22062 ac_status=$?
22063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22064 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22065 { (case "(($ac_try" in
22066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22067 *) ac_try_echo=$ac_try;;
22068 esac
22069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22070 (eval "$ac_try") 2>&5
22071 ac_status=$?
22072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22073 (exit $ac_status); }; }; then
22074 ac_cv_sizeof_long_long=`cat conftest.val`
22075 else
22076 echo "$as_me: program exited with status $ac_status" >&5
22077 echo "$as_me: failed program was:" >&5
22078 sed 's/^/| /' conftest.$ac_ext >&5
22079
22080 ( exit $ac_status )
22081 if test "$ac_cv_type_long_long" = yes; then
22082 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22083 See \`config.log' for more details." >&5
22084 echo "$as_me: error: cannot compute sizeof (long long)
22085 See \`config.log' for more details." >&2;}
22086 { (exit 77); exit 77; }; }
22087 else
22088 ac_cv_sizeof_long_long=0
22089 fi
22090 fi
22091 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22092 fi
22093 rm -f conftest.val
22094 fi
22095 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22096 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22097
22098
22099
22100 cat >>confdefs.h <<_ACEOF
22101 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22102 _ACEOF
22103
22104
22105 esac
22106
22107 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22108 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22109 if test "${ac_cv_type_wchar_t+set}" = set; then
22110 echo $ECHO_N "(cached) $ECHO_C" >&6
22111 else
22112 cat >conftest.$ac_ext <<_ACEOF
22113 /* confdefs.h. */
22114 _ACEOF
22115 cat confdefs.h >>conftest.$ac_ext
22116 cat >>conftest.$ac_ext <<_ACEOF
22117 /* end confdefs.h. */
22118
22119 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22120 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22121 # error "fake wchar_t"
22122 #endif
22123 #ifdef HAVE_WCHAR_H
22124 # ifdef __CYGWIN__
22125 # include <stddef.h>
22126 # endif
22127 # include <wchar.h>
22128 #endif
22129 #ifdef HAVE_STDLIB_H
22130 # include <stdlib.h>
22131 #endif
22132 #include <stdio.h>
22133
22134
22135
22136 typedef wchar_t ac__type_new_;
22137 int
22138 main ()
22139 {
22140 if ((ac__type_new_ *) 0)
22141 return 0;
22142 if (sizeof (ac__type_new_))
22143 return 0;
22144 ;
22145 return 0;
22146 }
22147 _ACEOF
22148 rm -f conftest.$ac_objext
22149 if { (ac_try="$ac_compile"
22150 case "(($ac_try" in
22151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22152 *) ac_try_echo=$ac_try;;
22153 esac
22154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22155 (eval "$ac_compile") 2>conftest.er1
22156 ac_status=$?
22157 grep -v '^ *+' conftest.er1 >conftest.err
22158 rm -f conftest.er1
22159 cat conftest.err >&5
22160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22161 (exit $ac_status); } && {
22162 test -z "$ac_c_werror_flag" ||
22163 test ! -s conftest.err
22164 } && test -s conftest.$ac_objext; then
22165 ac_cv_type_wchar_t=yes
22166 else
22167 echo "$as_me: failed program was:" >&5
22168 sed 's/^/| /' conftest.$ac_ext >&5
22169
22170 ac_cv_type_wchar_t=no
22171 fi
22172
22173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22174 fi
22175 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22176 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22177
22178 # The cast to long int works around a bug in the HP C Compiler
22179 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22180 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22181 # This bug is HP SR number 8606223364.
22182 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22183 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22184 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22185 echo $ECHO_N "(cached) $ECHO_C" >&6
22186 else
22187 if test "$cross_compiling" = yes; then
22188 # Depending upon the size, compute the lo and hi bounds.
22189 cat >conftest.$ac_ext <<_ACEOF
22190 /* confdefs.h. */
22191 _ACEOF
22192 cat confdefs.h >>conftest.$ac_ext
22193 cat >>conftest.$ac_ext <<_ACEOF
22194 /* end confdefs.h. */
22195
22196 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22197 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22198 # error "fake wchar_t"
22199 #endif
22200 #ifdef HAVE_WCHAR_H
22201 # ifdef __CYGWIN__
22202 # include <stddef.h>
22203 # endif
22204 # include <wchar.h>
22205 #endif
22206 #ifdef HAVE_STDLIB_H
22207 # include <stdlib.h>
22208 #endif
22209 #include <stdio.h>
22210
22211
22212
22213 typedef wchar_t ac__type_sizeof_;
22214 int
22215 main ()
22216 {
22217 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22218 test_array [0] = 0
22219
22220 ;
22221 return 0;
22222 }
22223 _ACEOF
22224 rm -f conftest.$ac_objext
22225 if { (ac_try="$ac_compile"
22226 case "(($ac_try" in
22227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22228 *) ac_try_echo=$ac_try;;
22229 esac
22230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22231 (eval "$ac_compile") 2>conftest.er1
22232 ac_status=$?
22233 grep -v '^ *+' conftest.er1 >conftest.err
22234 rm -f conftest.er1
22235 cat conftest.err >&5
22236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22237 (exit $ac_status); } && {
22238 test -z "$ac_c_werror_flag" ||
22239 test ! -s conftest.err
22240 } && test -s conftest.$ac_objext; then
22241 ac_lo=0 ac_mid=0
22242 while :; do
22243 cat >conftest.$ac_ext <<_ACEOF
22244 /* confdefs.h. */
22245 _ACEOF
22246 cat confdefs.h >>conftest.$ac_ext
22247 cat >>conftest.$ac_ext <<_ACEOF
22248 /* end confdefs.h. */
22249
22250 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22251 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22252 # error "fake wchar_t"
22253 #endif
22254 #ifdef HAVE_WCHAR_H
22255 # ifdef __CYGWIN__
22256 # include <stddef.h>
22257 # endif
22258 # include <wchar.h>
22259 #endif
22260 #ifdef HAVE_STDLIB_H
22261 # include <stdlib.h>
22262 #endif
22263 #include <stdio.h>
22264
22265
22266
22267 typedef wchar_t ac__type_sizeof_;
22268 int
22269 main ()
22270 {
22271 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22272 test_array [0] = 0
22273
22274 ;
22275 return 0;
22276 }
22277 _ACEOF
22278 rm -f conftest.$ac_objext
22279 if { (ac_try="$ac_compile"
22280 case "(($ac_try" in
22281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22282 *) ac_try_echo=$ac_try;;
22283 esac
22284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22285 (eval "$ac_compile") 2>conftest.er1
22286 ac_status=$?
22287 grep -v '^ *+' conftest.er1 >conftest.err
22288 rm -f conftest.er1
22289 cat conftest.err >&5
22290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22291 (exit $ac_status); } && {
22292 test -z "$ac_c_werror_flag" ||
22293 test ! -s conftest.err
22294 } && test -s conftest.$ac_objext; then
22295 ac_hi=$ac_mid; break
22296 else
22297 echo "$as_me: failed program was:" >&5
22298 sed 's/^/| /' conftest.$ac_ext >&5
22299
22300 ac_lo=`expr $ac_mid + 1`
22301 if test $ac_lo -le $ac_mid; then
22302 ac_lo= ac_hi=
22303 break
22304 fi
22305 ac_mid=`expr 2 '*' $ac_mid + 1`
22306 fi
22307
22308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22309 done
22310 else
22311 echo "$as_me: failed program was:" >&5
22312 sed 's/^/| /' conftest.$ac_ext >&5
22313
22314 cat >conftest.$ac_ext <<_ACEOF
22315 /* confdefs.h. */
22316 _ACEOF
22317 cat confdefs.h >>conftest.$ac_ext
22318 cat >>conftest.$ac_ext <<_ACEOF
22319 /* end confdefs.h. */
22320
22321 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22322 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22323 # error "fake wchar_t"
22324 #endif
22325 #ifdef HAVE_WCHAR_H
22326 # ifdef __CYGWIN__
22327 # include <stddef.h>
22328 # endif
22329 # include <wchar.h>
22330 #endif
22331 #ifdef HAVE_STDLIB_H
22332 # include <stdlib.h>
22333 #endif
22334 #include <stdio.h>
22335
22336
22337
22338 typedef wchar_t ac__type_sizeof_;
22339 int
22340 main ()
22341 {
22342 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22343 test_array [0] = 0
22344
22345 ;
22346 return 0;
22347 }
22348 _ACEOF
22349 rm -f conftest.$ac_objext
22350 if { (ac_try="$ac_compile"
22351 case "(($ac_try" in
22352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22353 *) ac_try_echo=$ac_try;;
22354 esac
22355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22356 (eval "$ac_compile") 2>conftest.er1
22357 ac_status=$?
22358 grep -v '^ *+' conftest.er1 >conftest.err
22359 rm -f conftest.er1
22360 cat conftest.err >&5
22361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22362 (exit $ac_status); } && {
22363 test -z "$ac_c_werror_flag" ||
22364 test ! -s conftest.err
22365 } && test -s conftest.$ac_objext; then
22366 ac_hi=-1 ac_mid=-1
22367 while :; do
22368 cat >conftest.$ac_ext <<_ACEOF
22369 /* confdefs.h. */
22370 _ACEOF
22371 cat confdefs.h >>conftest.$ac_ext
22372 cat >>conftest.$ac_ext <<_ACEOF
22373 /* end confdefs.h. */
22374
22375 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22376 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22377 # error "fake wchar_t"
22378 #endif
22379 #ifdef HAVE_WCHAR_H
22380 # ifdef __CYGWIN__
22381 # include <stddef.h>
22382 # endif
22383 # include <wchar.h>
22384 #endif
22385 #ifdef HAVE_STDLIB_H
22386 # include <stdlib.h>
22387 #endif
22388 #include <stdio.h>
22389
22390
22391
22392 typedef wchar_t ac__type_sizeof_;
22393 int
22394 main ()
22395 {
22396 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22397 test_array [0] = 0
22398
22399 ;
22400 return 0;
22401 }
22402 _ACEOF
22403 rm -f conftest.$ac_objext
22404 if { (ac_try="$ac_compile"
22405 case "(($ac_try" in
22406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22407 *) ac_try_echo=$ac_try;;
22408 esac
22409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22410 (eval "$ac_compile") 2>conftest.er1
22411 ac_status=$?
22412 grep -v '^ *+' conftest.er1 >conftest.err
22413 rm -f conftest.er1
22414 cat conftest.err >&5
22415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22416 (exit $ac_status); } && {
22417 test -z "$ac_c_werror_flag" ||
22418 test ! -s conftest.err
22419 } && test -s conftest.$ac_objext; then
22420 ac_lo=$ac_mid; break
22421 else
22422 echo "$as_me: failed program was:" >&5
22423 sed 's/^/| /' conftest.$ac_ext >&5
22424
22425 ac_hi=`expr '(' $ac_mid ')' - 1`
22426 if test $ac_mid -le $ac_hi; then
22427 ac_lo= ac_hi=
22428 break
22429 fi
22430 ac_mid=`expr 2 '*' $ac_mid`
22431 fi
22432
22433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22434 done
22435 else
22436 echo "$as_me: failed program was:" >&5
22437 sed 's/^/| /' conftest.$ac_ext >&5
22438
22439 ac_lo= ac_hi=
22440 fi
22441
22442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22443 fi
22444
22445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22446 # Binary search between lo and hi bounds.
22447 while test "x$ac_lo" != "x$ac_hi"; do
22448 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22449 cat >conftest.$ac_ext <<_ACEOF
22450 /* confdefs.h. */
22451 _ACEOF
22452 cat confdefs.h >>conftest.$ac_ext
22453 cat >>conftest.$ac_ext <<_ACEOF
22454 /* end confdefs.h. */
22455
22456 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22457 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22458 # error "fake wchar_t"
22459 #endif
22460 #ifdef HAVE_WCHAR_H
22461 # ifdef __CYGWIN__
22462 # include <stddef.h>
22463 # endif
22464 # include <wchar.h>
22465 #endif
22466 #ifdef HAVE_STDLIB_H
22467 # include <stdlib.h>
22468 #endif
22469 #include <stdio.h>
22470
22471
22472
22473 typedef wchar_t ac__type_sizeof_;
22474 int
22475 main ()
22476 {
22477 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22478 test_array [0] = 0
22479
22480 ;
22481 return 0;
22482 }
22483 _ACEOF
22484 rm -f conftest.$ac_objext
22485 if { (ac_try="$ac_compile"
22486 case "(($ac_try" in
22487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22488 *) ac_try_echo=$ac_try;;
22489 esac
22490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22491 (eval "$ac_compile") 2>conftest.er1
22492 ac_status=$?
22493 grep -v '^ *+' conftest.er1 >conftest.err
22494 rm -f conftest.er1
22495 cat conftest.err >&5
22496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22497 (exit $ac_status); } && {
22498 test -z "$ac_c_werror_flag" ||
22499 test ! -s conftest.err
22500 } && test -s conftest.$ac_objext; then
22501 ac_hi=$ac_mid
22502 else
22503 echo "$as_me: failed program was:" >&5
22504 sed 's/^/| /' conftest.$ac_ext >&5
22505
22506 ac_lo=`expr '(' $ac_mid ')' + 1`
22507 fi
22508
22509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22510 done
22511 case $ac_lo in
22512 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22513 '') if test "$ac_cv_type_wchar_t" = yes; then
22514 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22515 See \`config.log' for more details." >&5
22516 echo "$as_me: error: cannot compute sizeof (wchar_t)
22517 See \`config.log' for more details." >&2;}
22518 { (exit 77); exit 77; }; }
22519 else
22520 ac_cv_sizeof_wchar_t=0
22521 fi ;;
22522 esac
22523 else
22524 cat >conftest.$ac_ext <<_ACEOF
22525 /* confdefs.h. */
22526 _ACEOF
22527 cat confdefs.h >>conftest.$ac_ext
22528 cat >>conftest.$ac_ext <<_ACEOF
22529 /* end confdefs.h. */
22530
22531 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22532 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22533 # error "fake wchar_t"
22534 #endif
22535 #ifdef HAVE_WCHAR_H
22536 # ifdef __CYGWIN__
22537 # include <stddef.h>
22538 # endif
22539 # include <wchar.h>
22540 #endif
22541 #ifdef HAVE_STDLIB_H
22542 # include <stdlib.h>
22543 #endif
22544 #include <stdio.h>
22545
22546
22547
22548 typedef wchar_t ac__type_sizeof_;
22549 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22550 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22551 #include <stdio.h>
22552 #include <stdlib.h>
22553 int
22554 main ()
22555 {
22556
22557 FILE *f = fopen ("conftest.val", "w");
22558 if (! f)
22559 return 1;
22560 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22561 {
22562 long int i = longval ();
22563 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22564 return 1;
22565 fprintf (f, "%ld\n", i);
22566 }
22567 else
22568 {
22569 unsigned long int i = ulongval ();
22570 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22571 return 1;
22572 fprintf (f, "%lu\n", i);
22573 }
22574 return ferror (f) || fclose (f) != 0;
22575
22576 ;
22577 return 0;
22578 }
22579 _ACEOF
22580 rm -f conftest$ac_exeext
22581 if { (ac_try="$ac_link"
22582 case "(($ac_try" in
22583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22584 *) ac_try_echo=$ac_try;;
22585 esac
22586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22587 (eval "$ac_link") 2>&5
22588 ac_status=$?
22589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22590 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22591 { (case "(($ac_try" in
22592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22593 *) ac_try_echo=$ac_try;;
22594 esac
22595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22596 (eval "$ac_try") 2>&5
22597 ac_status=$?
22598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22599 (exit $ac_status); }; }; then
22600 ac_cv_sizeof_wchar_t=`cat conftest.val`
22601 else
22602 echo "$as_me: program exited with status $ac_status" >&5
22603 echo "$as_me: failed program was:" >&5
22604 sed 's/^/| /' conftest.$ac_ext >&5
22605
22606 ( exit $ac_status )
22607 if test "$ac_cv_type_wchar_t" = yes; then
22608 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22609 See \`config.log' for more details." >&5
22610 echo "$as_me: error: cannot compute sizeof (wchar_t)
22611 See \`config.log' for more details." >&2;}
22612 { (exit 77); exit 77; }; }
22613 else
22614 ac_cv_sizeof_wchar_t=0
22615 fi
22616 fi
22617 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22618 fi
22619 rm -f conftest.val
22620 fi
22621 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22622 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22623
22624
22625
22626 cat >>confdefs.h <<_ACEOF
22627 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22628 _ACEOF
22629
22630
22631 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22632 wxUSE_WCHAR_T=yes
22633 else
22634 wxUSE_WCHAR_T=no
22635 fi
22636
22637 { echo "$as_me:$LINENO: checking for va_copy" >&5
22638 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22639 if test "${wx_cv_func_va_copy+set}" = set; then
22640 echo $ECHO_N "(cached) $ECHO_C" >&6
22641 else
22642
22643 cat >conftest.$ac_ext <<_ACEOF
22644
22645 #include <stdarg.h>
22646 void foo(char *f, ...)
22647 {
22648 va_list ap1, ap2;
22649 va_start(ap1, f);
22650 va_copy(ap2, ap1);
22651 va_end(ap2);
22652 va_end(ap1);
22653 }
22654 int main()
22655 {
22656 foo("hi", 17);
22657 return 0;
22658 }
22659 _ACEOF
22660 rm -f conftest.$ac_objext conftest$ac_exeext
22661 if { (ac_try="$ac_link"
22662 case "(($ac_try" in
22663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22664 *) ac_try_echo=$ac_try;;
22665 esac
22666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22667 (eval "$ac_link") 2>conftest.er1
22668 ac_status=$?
22669 grep -v '^ *+' conftest.er1 >conftest.err
22670 rm -f conftest.er1
22671 cat conftest.err >&5
22672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22673 (exit $ac_status); } && {
22674 test -z "$ac_c_werror_flag" ||
22675 test ! -s conftest.err
22676 } && test -s conftest$ac_exeext &&
22677 $as_test_x conftest$ac_exeext; then
22678 wx_cv_func_va_copy=yes
22679 else
22680 echo "$as_me: failed program was:" >&5
22681 sed 's/^/| /' conftest.$ac_ext >&5
22682
22683 wx_cv_func_va_copy=no
22684
22685 fi
22686
22687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22688 conftest$ac_exeext conftest.$ac_ext
22689
22690
22691 fi
22692 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22693 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22694
22695 if test $wx_cv_func_va_copy = "yes"; then
22696 cat >>confdefs.h <<\_ACEOF
22697 #define HAVE_VA_COPY 1
22698 _ACEOF
22699
22700 else
22701 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22702 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22703 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22704 echo $ECHO_N "(cached) $ECHO_C" >&6
22705 else
22706
22707 if test "$cross_compiling" = yes; then
22708 wx_cv_type_va_list_lvalue=yes
22709
22710 else
22711 cat >conftest.$ac_ext <<_ACEOF
22712
22713 #include <stdarg.h>
22714 int foo(char *f, ...)
22715 {
22716 va_list ap1, ap2;
22717 va_start(ap1, f);
22718 ap2 = ap1;
22719 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22720 return 1;
22721 va_end(ap2);
22722 va_end(ap1);
22723 return 0;
22724 }
22725 int main()
22726 {
22727 return foo("hi", 17);
22728 }
22729 _ACEOF
22730 rm -f conftest$ac_exeext
22731 if { (ac_try="$ac_link"
22732 case "(($ac_try" in
22733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22734 *) ac_try_echo=$ac_try;;
22735 esac
22736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22737 (eval "$ac_link") 2>&5
22738 ac_status=$?
22739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22740 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22741 { (case "(($ac_try" in
22742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22743 *) ac_try_echo=$ac_try;;
22744 esac
22745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22746 (eval "$ac_try") 2>&5
22747 ac_status=$?
22748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22749 (exit $ac_status); }; }; then
22750 wx_cv_type_va_list_lvalue=yes
22751 else
22752 echo "$as_me: program exited with status $ac_status" >&5
22753 echo "$as_me: failed program was:" >&5
22754 sed 's/^/| /' conftest.$ac_ext >&5
22755
22756 ( exit $ac_status )
22757 wx_cv_type_va_list_lvalue=no
22758 fi
22759 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22760 fi
22761
22762
22763
22764
22765 fi
22766 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22767 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22768
22769 if test $wx_cv_type_va_list_lvalue != "yes"; then
22770 cat >>confdefs.h <<\_ACEOF
22771 #define VA_LIST_IS_ARRAY 1
22772 _ACEOF
22773
22774 fi
22775 fi
22776
22777 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22778
22779 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22780 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22781 if test "${wx_cv_have_variadic_macros+set}" = set; then
22782 echo $ECHO_N "(cached) $ECHO_C" >&6
22783 else
22784
22785 ac_ext=cpp
22786 ac_cpp='$CXXCPP $CPPFLAGS'
22787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22790
22791 cat >conftest.$ac_ext <<_ACEOF
22792 /* confdefs.h. */
22793 _ACEOF
22794 cat confdefs.h >>conftest.$ac_ext
22795 cat >>conftest.$ac_ext <<_ACEOF
22796 /* end confdefs.h. */
22797
22798 #include <stdio.h>
22799 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22800
22801 int
22802 main ()
22803 {
22804
22805 test("%s %d %p", "test", 1, 0);
22806
22807
22808 ;
22809 return 0;
22810 }
22811 _ACEOF
22812 rm -f conftest.$ac_objext
22813 if { (ac_try="$ac_compile"
22814 case "(($ac_try" in
22815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22816 *) ac_try_echo=$ac_try;;
22817 esac
22818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22819 (eval "$ac_compile") 2>conftest.er1
22820 ac_status=$?
22821 grep -v '^ *+' conftest.er1 >conftest.err
22822 rm -f conftest.er1
22823 cat conftest.err >&5
22824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22825 (exit $ac_status); } && {
22826 test -z "$ac_cxx_werror_flag" ||
22827 test ! -s conftest.err
22828 } && test -s conftest.$ac_objext; then
22829 wx_cv_have_variadic_macros=yes
22830 else
22831 echo "$as_me: failed program was:" >&5
22832 sed 's/^/| /' conftest.$ac_ext >&5
22833
22834 wx_cv_have_variadic_macros=no
22835
22836 fi
22837
22838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22839 ac_ext=c
22840 ac_cpp='$CPP $CPPFLAGS'
22841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22844
22845
22846
22847 fi
22848 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22849 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22850
22851 if test $wx_cv_have_variadic_macros = "yes"; then
22852 cat >>confdefs.h <<\_ACEOF
22853 #define HAVE_VARIADIC_MACROS 1
22854 _ACEOF
22855
22856 fi
22857
22858 fi
22859 # Check whether --enable-largefile was given.
22860 if test "${enable_largefile+set}" = set; then
22861 enableval=$enable_largefile;
22862 fi
22863
22864 if test "$enable_largefile" != no; then
22865 wx_largefile=no
22866
22867 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22868 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22869 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22870 echo $ECHO_N "(cached) $ECHO_C" >&6
22871 else
22872
22873 cat >conftest.$ac_ext <<_ACEOF
22874 /* confdefs.h. */
22875 _ACEOF
22876 cat confdefs.h >>conftest.$ac_ext
22877 cat >>conftest.$ac_ext <<_ACEOF
22878 /* end confdefs.h. */
22879 #define _FILE_OFFSET_BITS 64
22880 #include <sys/types.h>
22881 int
22882 main ()
22883 {
22884 typedef struct {
22885 unsigned int field: sizeof(off_t) == 8;
22886 } wxlf;
22887
22888 ;
22889 return 0;
22890 }
22891 _ACEOF
22892 rm -f conftest.$ac_objext
22893 if { (ac_try="$ac_compile"
22894 case "(($ac_try" in
22895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22896 *) ac_try_echo=$ac_try;;
22897 esac
22898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22899 (eval "$ac_compile") 2>conftest.er1
22900 ac_status=$?
22901 grep -v '^ *+' conftest.er1 >conftest.err
22902 rm -f conftest.er1
22903 cat conftest.err >&5
22904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22905 (exit $ac_status); } && {
22906 test -z "$ac_c_werror_flag" ||
22907 test ! -s conftest.err
22908 } && test -s conftest.$ac_objext; then
22909 ac_cv_sys_file_offset_bits=64
22910 else
22911 echo "$as_me: failed program was:" >&5
22912 sed 's/^/| /' conftest.$ac_ext >&5
22913
22914 ac_cv_sys_file_offset_bits=no
22915 fi
22916
22917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22918
22919
22920 fi
22921 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22922 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
22923
22924 if test "$ac_cv_sys_file_offset_bits" != no; then
22925 wx_largefile=yes
22926 cat >>confdefs.h <<_ACEOF
22927 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22928 _ACEOF
22929
22930 fi
22931
22932 if test "x$wx_largefile" != "xyes"; then
22933
22934 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22935 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
22936 if test "${ac_cv_sys_large_files+set}" = set; then
22937 echo $ECHO_N "(cached) $ECHO_C" >&6
22938 else
22939
22940 cat >conftest.$ac_ext <<_ACEOF
22941 /* confdefs.h. */
22942 _ACEOF
22943 cat confdefs.h >>conftest.$ac_ext
22944 cat >>conftest.$ac_ext <<_ACEOF
22945 /* end confdefs.h. */
22946 #define _LARGE_FILES 1
22947 #include <sys/types.h>
22948 int
22949 main ()
22950 {
22951 typedef struct {
22952 unsigned int field: sizeof(off_t) == 8;
22953 } wxlf;
22954
22955 ;
22956 return 0;
22957 }
22958 _ACEOF
22959 rm -f conftest.$ac_objext
22960 if { (ac_try="$ac_compile"
22961 case "(($ac_try" in
22962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22963 *) ac_try_echo=$ac_try;;
22964 esac
22965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22966 (eval "$ac_compile") 2>conftest.er1
22967 ac_status=$?
22968 grep -v '^ *+' conftest.er1 >conftest.err
22969 rm -f conftest.er1
22970 cat conftest.err >&5
22971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22972 (exit $ac_status); } && {
22973 test -z "$ac_c_werror_flag" ||
22974 test ! -s conftest.err
22975 } && test -s conftest.$ac_objext; then
22976 ac_cv_sys_large_files=1
22977 else
22978 echo "$as_me: failed program was:" >&5
22979 sed 's/^/| /' conftest.$ac_ext >&5
22980
22981 ac_cv_sys_large_files=no
22982 fi
22983
22984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22985
22986
22987 fi
22988 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22989 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
22990
22991 if test "$ac_cv_sys_large_files" != no; then
22992 wx_largefile=yes
22993 cat >>confdefs.h <<_ACEOF
22994 #define _LARGE_FILES $ac_cv_sys_large_files
22995 _ACEOF
22996
22997 fi
22998
22999 fi
23000
23001 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23002 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23003 if test "x$wx_largefile" = "xyes"; then
23004 cat >>confdefs.h <<\_ACEOF
23005 #define HAVE_LARGEFILE_SUPPORT 1
23006 _ACEOF
23007
23008 fi
23009 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23010 echo "${ECHO_T}$wx_largefile" >&6; }
23011 fi
23012
23013
23014 if test "x$wx_largefile" = "xyes"; then
23015 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23016 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23017
23018 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23019 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23020 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23021 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23022 echo $ECHO_N "(cached) $ECHO_C" >&6
23023 else
23024
23025 ac_ext=cpp
23026 ac_cpp='$CXXCPP $CPPFLAGS'
23027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23030
23031 cat >conftest.$ac_ext <<_ACEOF
23032 /* confdefs.h. */
23033 _ACEOF
23034 cat confdefs.h >>conftest.$ac_ext
23035 cat >>conftest.$ac_ext <<_ACEOF
23036 /* end confdefs.h. */
23037
23038 int
23039 main ()
23040 {
23041
23042 #ifndef __STDC_EXT__
23043 choke me
23044 #endif
23045
23046 ;
23047 return 0;
23048 }
23049 _ACEOF
23050 rm -f conftest.$ac_objext
23051 if { (ac_try="$ac_compile"
23052 case "(($ac_try" in
23053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23054 *) ac_try_echo=$ac_try;;
23055 esac
23056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23057 (eval "$ac_compile") 2>conftest.er1
23058 ac_status=$?
23059 grep -v '^ *+' conftest.er1 >conftest.err
23060 rm -f conftest.er1
23061 cat conftest.err >&5
23062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23063 (exit $ac_status); } && {
23064 test -z "$ac_cxx_werror_flag" ||
23065 test ! -s conftest.err
23066 } && test -s conftest.$ac_objext; then
23067 wx_cv_STDC_EXT_required=no
23068 else
23069 echo "$as_me: failed program was:" >&5
23070 sed 's/^/| /' conftest.$ac_ext >&5
23071
23072 wx_cv_STDC_EXT_required=yes
23073
23074 fi
23075
23076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23077 ac_ext=c
23078 ac_cpp='$CPP $CPPFLAGS'
23079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23082
23083
23084
23085 fi
23086 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23087 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23088 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23089 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23090 fi
23091 fi
23092 else
23093 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23094 fi
23095 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23096 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23097 if test "${ac_cv_sys_largefile_source+set}" = set; then
23098 echo $ECHO_N "(cached) $ECHO_C" >&6
23099 else
23100 while :; do
23101 cat >conftest.$ac_ext <<_ACEOF
23102 /* confdefs.h. */
23103 _ACEOF
23104 cat confdefs.h >>conftest.$ac_ext
23105 cat >>conftest.$ac_ext <<_ACEOF
23106 /* end confdefs.h. */
23107 #include <sys/types.h> /* for off_t */
23108 #include <stdio.h>
23109 int
23110 main ()
23111 {
23112 int (*fp) (FILE *, off_t, int) = fseeko;
23113 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23114 ;
23115 return 0;
23116 }
23117 _ACEOF
23118 rm -f conftest.$ac_objext conftest$ac_exeext
23119 if { (ac_try="$ac_link"
23120 case "(($ac_try" in
23121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23122 *) ac_try_echo=$ac_try;;
23123 esac
23124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23125 (eval "$ac_link") 2>conftest.er1
23126 ac_status=$?
23127 grep -v '^ *+' conftest.er1 >conftest.err
23128 rm -f conftest.er1
23129 cat conftest.err >&5
23130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23131 (exit $ac_status); } && {
23132 test -z "$ac_c_werror_flag" ||
23133 test ! -s conftest.err
23134 } && test -s conftest$ac_exeext &&
23135 $as_test_x conftest$ac_exeext; then
23136 ac_cv_sys_largefile_source=no; break
23137 else
23138 echo "$as_me: failed program was:" >&5
23139 sed 's/^/| /' conftest.$ac_ext >&5
23140
23141
23142 fi
23143
23144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23145 conftest$ac_exeext conftest.$ac_ext
23146 cat >conftest.$ac_ext <<_ACEOF
23147 /* confdefs.h. */
23148 _ACEOF
23149 cat confdefs.h >>conftest.$ac_ext
23150 cat >>conftest.$ac_ext <<_ACEOF
23151 /* end confdefs.h. */
23152 #define _LARGEFILE_SOURCE 1
23153 #include <sys/types.h> /* for off_t */
23154 #include <stdio.h>
23155 int
23156 main ()
23157 {
23158 int (*fp) (FILE *, off_t, int) = fseeko;
23159 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23160 ;
23161 return 0;
23162 }
23163 _ACEOF
23164 rm -f conftest.$ac_objext conftest$ac_exeext
23165 if { (ac_try="$ac_link"
23166 case "(($ac_try" in
23167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23168 *) ac_try_echo=$ac_try;;
23169 esac
23170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23171 (eval "$ac_link") 2>conftest.er1
23172 ac_status=$?
23173 grep -v '^ *+' conftest.er1 >conftest.err
23174 rm -f conftest.er1
23175 cat conftest.err >&5
23176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23177 (exit $ac_status); } && {
23178 test -z "$ac_c_werror_flag" ||
23179 test ! -s conftest.err
23180 } && test -s conftest$ac_exeext &&
23181 $as_test_x conftest$ac_exeext; then
23182 ac_cv_sys_largefile_source=1; break
23183 else
23184 echo "$as_me: failed program was:" >&5
23185 sed 's/^/| /' conftest.$ac_ext >&5
23186
23187
23188 fi
23189
23190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23191 conftest$ac_exeext conftest.$ac_ext
23192 ac_cv_sys_largefile_source=unknown
23193 break
23194 done
23195 fi
23196 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23197 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23198 case $ac_cv_sys_largefile_source in #(
23199 no | unknown) ;;
23200 *)
23201 cat >>confdefs.h <<_ACEOF
23202 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23203 _ACEOF
23204 ;;
23205 esac
23206 rm -f conftest*
23207
23208 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23209 # in glibc 2.1.3, but that breaks too many other things.
23210 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23211 if test $ac_cv_sys_largefile_source != unknown; then
23212
23213 cat >>confdefs.h <<\_ACEOF
23214 #define HAVE_FSEEKO 1
23215 _ACEOF
23216
23217 fi
23218
23219 if test "$ac_cv_sys_largefile_source" != no; then
23220 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23221 fi
23222 fi
23223
23224 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23225 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23226 if test "${ac_cv_c_bigendian+set}" = set; then
23227 echo $ECHO_N "(cached) $ECHO_C" >&6
23228 else
23229 ac_cv_c_bigendian=unknown
23230 # See if sys/param.h defines the BYTE_ORDER macro.
23231 cat >conftest.$ac_ext <<_ACEOF
23232 /* confdefs.h. */
23233 _ACEOF
23234 cat confdefs.h >>conftest.$ac_ext
23235 cat >>conftest.$ac_ext <<_ACEOF
23236 /* end confdefs.h. */
23237 #include <sys/types.h>
23238 #include <sys/param.h>
23239 int
23240 main ()
23241 {
23242
23243 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23244 bogus endian macros
23245 #endif
23246 ;
23247 return 0;
23248 }
23249 _ACEOF
23250 rm -f conftest.$ac_objext
23251 if { (ac_try="$ac_compile"
23252 case "(($ac_try" in
23253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23254 *) ac_try_echo=$ac_try;;
23255 esac
23256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23257 (eval "$ac_compile") 2>conftest.er1
23258 ac_status=$?
23259 grep -v '^ *+' conftest.er1 >conftest.err
23260 rm -f conftest.er1
23261 cat conftest.err >&5
23262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23263 (exit $ac_status); } && {
23264 test -z "$ac_c_werror_flag" ||
23265 test ! -s conftest.err
23266 } && test -s conftest.$ac_objext; then
23267 # It does; now see whether it defined to BIG_ENDIAN or not.
23268 cat >conftest.$ac_ext <<_ACEOF
23269 /* confdefs.h. */
23270 _ACEOF
23271 cat confdefs.h >>conftest.$ac_ext
23272 cat >>conftest.$ac_ext <<_ACEOF
23273 /* end confdefs.h. */
23274 #include <sys/types.h>
23275 #include <sys/param.h>
23276 int
23277 main ()
23278 {
23279
23280 #if BYTE_ORDER != BIG_ENDIAN
23281 not big endian
23282 #endif
23283 ;
23284 return 0;
23285 }
23286 _ACEOF
23287 rm -f conftest.$ac_objext
23288 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
23295 ac_status=$?
23296 grep -v '^ *+' conftest.er1 >conftest.err
23297 rm -f conftest.er1
23298 cat conftest.err >&5
23299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23300 (exit $ac_status); } && {
23301 test -z "$ac_c_werror_flag" ||
23302 test ! -s conftest.err
23303 } && test -s conftest.$ac_objext; then
23304 ac_cv_c_bigendian=yes
23305 else
23306 echo "$as_me: failed program was:" >&5
23307 sed 's/^/| /' conftest.$ac_ext >&5
23308
23309 ac_cv_c_bigendian=no
23310 fi
23311
23312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23313 else
23314 echo "$as_me: failed program was:" >&5
23315 sed 's/^/| /' conftest.$ac_ext >&5
23316
23317
23318 fi
23319
23320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23321 if test $ac_cv_c_bigendian = unknown; then
23322 if test "$cross_compiling" = yes; then
23323 ac_cv_c_bigendian=unknown
23324 else
23325 cat >conftest.$ac_ext <<_ACEOF
23326 /* confdefs.h. */
23327 _ACEOF
23328 cat confdefs.h >>conftest.$ac_ext
23329 cat >>conftest.$ac_ext <<_ACEOF
23330 /* end confdefs.h. */
23331 main () {
23332 /* Are we little or big endian? From Harbison&Steele. */
23333 union
23334 {
23335 long l;
23336 char c[sizeof (long)];
23337 } u;
23338 u.l = 1;
23339 exit (u.c[sizeof (long) - 1] == 1);
23340 }
23341 _ACEOF
23342 rm -f conftest$ac_exeext
23343 if { (ac_try="$ac_link"
23344 case "(($ac_try" in
23345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23346 *) ac_try_echo=$ac_try;;
23347 esac
23348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23349 (eval "$ac_link") 2>&5
23350 ac_status=$?
23351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23352 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23353 { (case "(($ac_try" in
23354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23355 *) ac_try_echo=$ac_try;;
23356 esac
23357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23358 (eval "$ac_try") 2>&5
23359 ac_status=$?
23360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23361 (exit $ac_status); }; }; then
23362 ac_cv_c_bigendian=no
23363 else
23364 echo "$as_me: program exited with status $ac_status" >&5
23365 echo "$as_me: failed program was:" >&5
23366 sed 's/^/| /' conftest.$ac_ext >&5
23367
23368 ( exit $ac_status )
23369 ac_cv_c_bigendian=yes
23370 fi
23371 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23372 fi
23373
23374
23375 fi
23376 fi
23377 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23378 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23379 if test $ac_cv_c_bigendian = unknown; then
23380 { 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
23381 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;}
23382 fi
23383 if test $ac_cv_c_bigendian = yes; then
23384 cat >>confdefs.h <<\_ACEOF
23385 #define WORDS_BIGENDIAN 1
23386 _ACEOF
23387
23388 fi
23389
23390
23391 ac_ext=cpp
23392 ac_cpp='$CXXCPP $CPPFLAGS'
23393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23396 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
23397 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
23398 if test -z "$CXXCPP"; then
23399 if test "${ac_cv_prog_CXXCPP+set}" = set; then
23400 echo $ECHO_N "(cached) $ECHO_C" >&6
23401 else
23402 # Double quotes because CXXCPP needs to be expanded
23403 for CXXCPP in "$CXX -E" "/lib/cpp"
23404 do
23405 ac_preproc_ok=false
23406 for ac_cxx_preproc_warn_flag in '' yes
23407 do
23408 # Use a header file that comes with gcc, so configuring glibc
23409 # with a fresh cross-compiler works.
23410 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23411 # <limits.h> exists even on freestanding compilers.
23412 # On the NeXT, cc -E runs the code through the compiler's parser,
23413 # not just through cpp. "Syntax error" is here to catch this case.
23414 cat >conftest.$ac_ext <<_ACEOF
23415 /* confdefs.h. */
23416 _ACEOF
23417 cat confdefs.h >>conftest.$ac_ext
23418 cat >>conftest.$ac_ext <<_ACEOF
23419 /* end confdefs.h. */
23420 #ifdef __STDC__
23421 # include <limits.h>
23422 #else
23423 # include <assert.h>
23424 #endif
23425 Syntax error
23426 _ACEOF
23427 if { (ac_try="$ac_cpp conftest.$ac_ext"
23428 case "(($ac_try" in
23429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23430 *) ac_try_echo=$ac_try;;
23431 esac
23432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23433 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23434 ac_status=$?
23435 grep -v '^ *+' conftest.er1 >conftest.err
23436 rm -f conftest.er1
23437 cat conftest.err >&5
23438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23439 (exit $ac_status); } >/dev/null && {
23440 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
23441 test ! -s conftest.err
23442 }; then
23443 :
23444 else
23445 echo "$as_me: failed program was:" >&5
23446 sed 's/^/| /' conftest.$ac_ext >&5
23447
23448 # Broken: fails on valid input.
23449 continue
23450 fi
23451
23452 rm -f conftest.err conftest.$ac_ext
23453
23454 # OK, works on sane cases. Now check whether nonexistent headers
23455 # can be detected and how.
23456 cat >conftest.$ac_ext <<_ACEOF
23457 /* confdefs.h. */
23458 _ACEOF
23459 cat confdefs.h >>conftest.$ac_ext
23460 cat >>conftest.$ac_ext <<_ACEOF
23461 /* end confdefs.h. */
23462 #include <ac_nonexistent.h>
23463 _ACEOF
23464 if { (ac_try="$ac_cpp conftest.$ac_ext"
23465 case "(($ac_try" in
23466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23467 *) ac_try_echo=$ac_try;;
23468 esac
23469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23470 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23471 ac_status=$?
23472 grep -v '^ *+' conftest.er1 >conftest.err
23473 rm -f conftest.er1
23474 cat conftest.err >&5
23475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23476 (exit $ac_status); } >/dev/null && {
23477 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
23478 test ! -s conftest.err
23479 }; then
23480 # Broken: success on invalid input.
23481 continue
23482 else
23483 echo "$as_me: failed program was:" >&5
23484 sed 's/^/| /' conftest.$ac_ext >&5
23485
23486 # Passes both tests.
23487 ac_preproc_ok=:
23488 break
23489 fi
23490
23491 rm -f conftest.err conftest.$ac_ext
23492
23493 done
23494 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
23495 rm -f conftest.err conftest.$ac_ext
23496 if $ac_preproc_ok; then
23497 break
23498 fi
23499
23500 done
23501 ac_cv_prog_CXXCPP=$CXXCPP
23502
23503 fi
23504 CXXCPP=$ac_cv_prog_CXXCPP
23505 else
23506 ac_cv_prog_CXXCPP=$CXXCPP
23507 fi
23508 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
23509 echo "${ECHO_T}$CXXCPP" >&6; }
23510 ac_preproc_ok=false
23511 for ac_cxx_preproc_warn_flag in '' yes
23512 do
23513 # Use a header file that comes with gcc, so configuring glibc
23514 # with a fresh cross-compiler works.
23515 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23516 # <limits.h> exists even on freestanding compilers.
23517 # On the NeXT, cc -E runs the code through the compiler's parser,
23518 # not just through cpp. "Syntax error" is here to catch this case.
23519 cat >conftest.$ac_ext <<_ACEOF
23520 /* confdefs.h. */
23521 _ACEOF
23522 cat confdefs.h >>conftest.$ac_ext
23523 cat >>conftest.$ac_ext <<_ACEOF
23524 /* end confdefs.h. */
23525 #ifdef __STDC__
23526 # include <limits.h>
23527 #else
23528 # include <assert.h>
23529 #endif
23530 Syntax error
23531 _ACEOF
23532 if { (ac_try="$ac_cpp conftest.$ac_ext"
23533 case "(($ac_try" in
23534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23535 *) ac_try_echo=$ac_try;;
23536 esac
23537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23538 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23539 ac_status=$?
23540 grep -v '^ *+' conftest.er1 >conftest.err
23541 rm -f conftest.er1
23542 cat conftest.err >&5
23543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23544 (exit $ac_status); } >/dev/null && {
23545 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
23546 test ! -s conftest.err
23547 }; then
23548 :
23549 else
23550 echo "$as_me: failed program was:" >&5
23551 sed 's/^/| /' conftest.$ac_ext >&5
23552
23553 # Broken: fails on valid input.
23554 continue
23555 fi
23556
23557 rm -f conftest.err conftest.$ac_ext
23558
23559 # OK, works on sane cases. Now check whether nonexistent headers
23560 # can be detected and how.
23561 cat >conftest.$ac_ext <<_ACEOF
23562 /* confdefs.h. */
23563 _ACEOF
23564 cat confdefs.h >>conftest.$ac_ext
23565 cat >>conftest.$ac_ext <<_ACEOF
23566 /* end confdefs.h. */
23567 #include <ac_nonexistent.h>
23568 _ACEOF
23569 if { (ac_try="$ac_cpp conftest.$ac_ext"
23570 case "(($ac_try" in
23571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23572 *) ac_try_echo=$ac_try;;
23573 esac
23574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23575 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23576 ac_status=$?
23577 grep -v '^ *+' conftest.er1 >conftest.err
23578 rm -f conftest.er1
23579 cat conftest.err >&5
23580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23581 (exit $ac_status); } >/dev/null && {
23582 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
23583 test ! -s conftest.err
23584 }; then
23585 # Broken: success on invalid input.
23586 continue
23587 else
23588 echo "$as_me: failed program was:" >&5
23589 sed 's/^/| /' conftest.$ac_ext >&5
23590
23591 # Passes both tests.
23592 ac_preproc_ok=:
23593 break
23594 fi
23595
23596 rm -f conftest.err conftest.$ac_ext
23597
23598 done
23599 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
23600 rm -f conftest.err conftest.$ac_ext
23601 if $ac_preproc_ok; then
23602 :
23603 else
23604 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
23605 See \`config.log' for more details." >&5
23606 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
23607 See \`config.log' for more details." >&2;}
23608 { (exit 1); exit 1; }; }
23609 fi
23610
23611 ac_ext=cpp
23612 ac_cpp='$CXXCPP $CPPFLAGS'
23613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23616
23617
23618
23619
23620 ac_ext=cpp
23621 ac_cpp='$CXXCPP $CPPFLAGS'
23622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23625
23626
23627
23628 for ac_header in iostream
23629 do
23630 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23631 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23632 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23633 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23634 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23635 echo $ECHO_N "(cached) $ECHO_C" >&6
23636 fi
23637 ac_res=`eval echo '${'$as_ac_Header'}'`
23638 { echo "$as_me:$LINENO: result: $ac_res" >&5
23639 echo "${ECHO_T}$ac_res" >&6; }
23640 else
23641 # Is the header compilable?
23642 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
23643 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23644 cat >conftest.$ac_ext <<_ACEOF
23645 /* confdefs.h. */
23646 _ACEOF
23647 cat confdefs.h >>conftest.$ac_ext
23648 cat >>conftest.$ac_ext <<_ACEOF
23649 /* end confdefs.h. */
23650 $ac_includes_default
23651 #include <$ac_header>
23652 _ACEOF
23653 rm -f conftest.$ac_objext
23654 if { (ac_try="$ac_compile"
23655 case "(($ac_try" in
23656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23657 *) ac_try_echo=$ac_try;;
23658 esac
23659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23660 (eval "$ac_compile") 2>conftest.er1
23661 ac_status=$?
23662 grep -v '^ *+' conftest.er1 >conftest.err
23663 rm -f conftest.er1
23664 cat conftest.err >&5
23665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23666 (exit $ac_status); } && {
23667 test -z "$ac_cxx_werror_flag" ||
23668 test ! -s conftest.err
23669 } && test -s conftest.$ac_objext; then
23670 ac_header_compiler=yes
23671 else
23672 echo "$as_me: failed program was:" >&5
23673 sed 's/^/| /' conftest.$ac_ext >&5
23674
23675 ac_header_compiler=no
23676 fi
23677
23678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23679 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23680 echo "${ECHO_T}$ac_header_compiler" >&6; }
23681
23682 # Is the header present?
23683 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
23684 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23685 cat >conftest.$ac_ext <<_ACEOF
23686 /* confdefs.h. */
23687 _ACEOF
23688 cat confdefs.h >>conftest.$ac_ext
23689 cat >>conftest.$ac_ext <<_ACEOF
23690 /* end confdefs.h. */
23691 #include <$ac_header>
23692 _ACEOF
23693 if { (ac_try="$ac_cpp conftest.$ac_ext"
23694 case "(($ac_try" in
23695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23696 *) ac_try_echo=$ac_try;;
23697 esac
23698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23699 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23700 ac_status=$?
23701 grep -v '^ *+' conftest.er1 >conftest.err
23702 rm -f conftest.er1
23703 cat conftest.err >&5
23704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23705 (exit $ac_status); } >/dev/null && {
23706 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
23707 test ! -s conftest.err
23708 }; then
23709 ac_header_preproc=yes
23710 else
23711 echo "$as_me: failed program was:" >&5
23712 sed 's/^/| /' conftest.$ac_ext >&5
23713
23714 ac_header_preproc=no
23715 fi
23716
23717 rm -f conftest.err conftest.$ac_ext
23718 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23719 echo "${ECHO_T}$ac_header_preproc" >&6; }
23720
23721 # So? What about this header?
23722 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23723 yes:no: )
23724 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23725 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23726 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23727 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23728 ac_header_preproc=yes
23729 ;;
23730 no:yes:* )
23731 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23732 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23733 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23734 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23735 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23736 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23737 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23738 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23739 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23740 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23741 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23742 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23743 ( cat <<\_ASBOX
23744 ## ----------------------------------------- ##
23745 ## Report this to wx-dev@lists.wxwidgets.org ##
23746 ## ----------------------------------------- ##
23747 _ASBOX
23748 ) | sed "s/^/$as_me: WARNING: /" >&2
23749 ;;
23750 esac
23751 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23752 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23753 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23754 echo $ECHO_N "(cached) $ECHO_C" >&6
23755 else
23756 eval "$as_ac_Header=\$ac_header_preproc"
23757 fi
23758 ac_res=`eval echo '${'$as_ac_Header'}'`
23759 { echo "$as_me:$LINENO: result: $ac_res" >&5
23760 echo "${ECHO_T}$ac_res" >&6; }
23761
23762 fi
23763 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23764 cat >>confdefs.h <<_ACEOF
23765 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23766 _ACEOF
23767
23768 fi
23769
23770 done
23771
23772
23773 if test "$ac_cv_header_iostream" = "yes" ; then
23774 :
23775 else
23776 cat >>confdefs.h <<\_ACEOF
23777 #define wxUSE_IOSTREAMH 1
23778 _ACEOF
23779
23780 fi
23781
23782 ac_ext=c
23783 ac_cpp='$CPP $CPPFLAGS'
23784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23787
23788
23789
23790
23791 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23792 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23793 if test "${wx_cv_cpp_bool+set}" = set; then
23794 echo $ECHO_N "(cached) $ECHO_C" >&6
23795 else
23796
23797
23798 ac_ext=cpp
23799 ac_cpp='$CXXCPP $CPPFLAGS'
23800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23803
23804
23805 cat >conftest.$ac_ext <<_ACEOF
23806 /* confdefs.h. */
23807 _ACEOF
23808 cat confdefs.h >>conftest.$ac_ext
23809 cat >>conftest.$ac_ext <<_ACEOF
23810 /* end confdefs.h. */
23811
23812
23813 int
23814 main ()
23815 {
23816
23817 bool b = true;
23818
23819 return 0;
23820
23821 ;
23822 return 0;
23823 }
23824 _ACEOF
23825 rm -f conftest.$ac_objext
23826 if { (ac_try="$ac_compile"
23827 case "(($ac_try" in
23828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23829 *) ac_try_echo=$ac_try;;
23830 esac
23831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23832 (eval "$ac_compile") 2>conftest.er1
23833 ac_status=$?
23834 grep -v '^ *+' conftest.er1 >conftest.err
23835 rm -f conftest.er1
23836 cat conftest.err >&5
23837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23838 (exit $ac_status); } && {
23839 test -z "$ac_cxx_werror_flag" ||
23840 test ! -s conftest.err
23841 } && test -s conftest.$ac_objext; then
23842
23843 wx_cv_cpp_bool=yes
23844
23845 else
23846 echo "$as_me: failed program was:" >&5
23847 sed 's/^/| /' conftest.$ac_ext >&5
23848
23849
23850 wx_cv_cpp_bool=no
23851
23852
23853 fi
23854
23855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23856
23857 ac_ext=c
23858 ac_cpp='$CPP $CPPFLAGS'
23859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23862
23863
23864 fi
23865 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23866 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23867
23868 if test "$wx_cv_cpp_bool" = "yes"; then
23869 cat >>confdefs.h <<\_ACEOF
23870 #define HAVE_BOOL 1
23871 _ACEOF
23872
23873 fi
23874
23875
23876
23877 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23878 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23879 if test "${wx_cv_explicit+set}" = set; then
23880 echo $ECHO_N "(cached) $ECHO_C" >&6
23881 else
23882
23883
23884 ac_ext=cpp
23885 ac_cpp='$CXXCPP $CPPFLAGS'
23886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23889
23890
23891 cat >conftest.$ac_ext <<_ACEOF
23892 /* confdefs.h. */
23893 _ACEOF
23894 cat confdefs.h >>conftest.$ac_ext
23895 cat >>conftest.$ac_ext <<_ACEOF
23896 /* end confdefs.h. */
23897
23898 class Foo { public: explicit Foo(int) {} };
23899
23900 int
23901 main ()
23902 {
23903
23904 return 0;
23905
23906 ;
23907 return 0;
23908 }
23909 _ACEOF
23910 rm -f conftest.$ac_objext
23911 if { (ac_try="$ac_compile"
23912 case "(($ac_try" in
23913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23914 *) ac_try_echo=$ac_try;;
23915 esac
23916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23917 (eval "$ac_compile") 2>conftest.er1
23918 ac_status=$?
23919 grep -v '^ *+' conftest.er1 >conftest.err
23920 rm -f conftest.er1
23921 cat conftest.err >&5
23922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23923 (exit $ac_status); } && {
23924 test -z "$ac_cxx_werror_flag" ||
23925 test ! -s conftest.err
23926 } && test -s conftest.$ac_objext; then
23927
23928 cat >conftest.$ac_ext <<_ACEOF
23929 /* confdefs.h. */
23930 _ACEOF
23931 cat confdefs.h >>conftest.$ac_ext
23932 cat >>conftest.$ac_ext <<_ACEOF
23933 /* end confdefs.h. */
23934
23935 class Foo { public: explicit Foo(int) {} };
23936 static void TakeFoo(const Foo& foo) { }
23937
23938 int
23939 main ()
23940 {
23941
23942 TakeFoo(17);
23943 return 0;
23944
23945 ;
23946 return 0;
23947 }
23948 _ACEOF
23949 rm -f conftest.$ac_objext
23950 if { (ac_try="$ac_compile"
23951 case "(($ac_try" in
23952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23953 *) ac_try_echo=$ac_try;;
23954 esac
23955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23956 (eval "$ac_compile") 2>conftest.er1
23957 ac_status=$?
23958 grep -v '^ *+' conftest.er1 >conftest.err
23959 rm -f conftest.er1
23960 cat conftest.err >&5
23961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23962 (exit $ac_status); } && {
23963 test -z "$ac_cxx_werror_flag" ||
23964 test ! -s conftest.err
23965 } && test -s conftest.$ac_objext; then
23966 wx_cv_explicit=no
23967 else
23968 echo "$as_me: failed program was:" >&5
23969 sed 's/^/| /' conftest.$ac_ext >&5
23970
23971 wx_cv_explicit=yes
23972
23973 fi
23974
23975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23976
23977 else
23978 echo "$as_me: failed program was:" >&5
23979 sed 's/^/| /' conftest.$ac_ext >&5
23980
23981 wx_cv_explicit=no
23982
23983 fi
23984
23985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23986
23987 ac_ext=c
23988 ac_cpp='$CPP $CPPFLAGS'
23989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23992
23993
23994 fi
23995 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23996 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23997
23998 if test "$wx_cv_explicit" = "yes"; then
23999 cat >>confdefs.h <<\_ACEOF
24000 #define HAVE_EXPLICIT 1
24001 _ACEOF
24002
24003 fi
24004
24005
24006 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
24007 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
24008 if test "${ac_cv_cxx_const_cast+set}" = set; then
24009 echo $ECHO_N "(cached) $ECHO_C" >&6
24010 else
24011
24012 ac_ext=cpp
24013 ac_cpp='$CXXCPP $CPPFLAGS'
24014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24017
24018 cat >conftest.$ac_ext <<_ACEOF
24019 /* confdefs.h. */
24020 _ACEOF
24021 cat confdefs.h >>conftest.$ac_ext
24022 cat >>conftest.$ac_ext <<_ACEOF
24023 /* end confdefs.h. */
24024
24025 int
24026 main ()
24027 {
24028 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
24029 ;
24030 return 0;
24031 }
24032 _ACEOF
24033 rm -f conftest.$ac_objext
24034 if { (ac_try="$ac_compile"
24035 case "(($ac_try" in
24036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24037 *) ac_try_echo=$ac_try;;
24038 esac
24039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24040 (eval "$ac_compile") 2>conftest.er1
24041 ac_status=$?
24042 grep -v '^ *+' conftest.er1 >conftest.err
24043 rm -f conftest.er1
24044 cat conftest.err >&5
24045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24046 (exit $ac_status); } && {
24047 test -z "$ac_cxx_werror_flag" ||
24048 test ! -s conftest.err
24049 } && test -s conftest.$ac_objext; then
24050 ac_cv_cxx_const_cast=yes
24051 else
24052 echo "$as_me: failed program was:" >&5
24053 sed 's/^/| /' conftest.$ac_ext >&5
24054
24055 ac_cv_cxx_const_cast=no
24056 fi
24057
24058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24059 ac_ext=c
24060 ac_cpp='$CPP $CPPFLAGS'
24061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24064
24065
24066 fi
24067 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
24068 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
24069 if test "$ac_cv_cxx_const_cast" = yes; then
24070
24071 cat >>confdefs.h <<\_ACEOF
24072 #define HAVE_CONST_CAST
24073 _ACEOF
24074
24075 fi
24076
24077 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
24078 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
24079 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
24080 echo $ECHO_N "(cached) $ECHO_C" >&6
24081 else
24082
24083 ac_ext=cpp
24084 ac_cpp='$CXXCPP $CPPFLAGS'
24085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24088
24089 cat >conftest.$ac_ext <<_ACEOF
24090 /* confdefs.h. */
24091 _ACEOF
24092 cat confdefs.h >>conftest.$ac_ext
24093 cat >>conftest.$ac_ext <<_ACEOF
24094 /* end confdefs.h. */
24095 #include <typeinfo>
24096 class Base { public : Base () {} virtual void f () = 0;};
24097 class Derived : public Base { public : Derived () {} virtual void f () {} };
24098 class Unrelated { public : Unrelated () {} };
24099 int g (Unrelated&) { return 0; }
24100 int
24101 main ()
24102 {
24103
24104 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
24105 ;
24106 return 0;
24107 }
24108 _ACEOF
24109 rm -f conftest.$ac_objext
24110 if { (ac_try="$ac_compile"
24111 case "(($ac_try" in
24112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24113 *) ac_try_echo=$ac_try;;
24114 esac
24115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24116 (eval "$ac_compile") 2>conftest.er1
24117 ac_status=$?
24118 grep -v '^ *+' conftest.er1 >conftest.err
24119 rm -f conftest.er1
24120 cat conftest.err >&5
24121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24122 (exit $ac_status); } && {
24123 test -z "$ac_cxx_werror_flag" ||
24124 test ! -s conftest.err
24125 } && test -s conftest.$ac_objext; then
24126 ac_cv_cxx_reinterpret_cast=yes
24127 else
24128 echo "$as_me: failed program was:" >&5
24129 sed 's/^/| /' conftest.$ac_ext >&5
24130
24131 ac_cv_cxx_reinterpret_cast=no
24132 fi
24133
24134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24135 ac_ext=c
24136 ac_cpp='$CPP $CPPFLAGS'
24137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24140
24141
24142 fi
24143 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
24144 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
24145 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
24146
24147 cat >>confdefs.h <<\_ACEOF
24148 #define HAVE_REINTERPRET_CAST
24149 _ACEOF
24150
24151 fi
24152
24153 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24154 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24155 if test "${ac_cv_cxx_static_cast+set}" = set; then
24156 echo $ECHO_N "(cached) $ECHO_C" >&6
24157 else
24158
24159 ac_ext=cpp
24160 ac_cpp='$CXXCPP $CPPFLAGS'
24161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24164
24165 cat >conftest.$ac_ext <<_ACEOF
24166 /* confdefs.h. */
24167 _ACEOF
24168 cat confdefs.h >>conftest.$ac_ext
24169 cat >>conftest.$ac_ext <<_ACEOF
24170 /* end confdefs.h. */
24171 #include <typeinfo>
24172 class Base { public : Base () {} virtual void f () = 0; };
24173 class Derived : public Base { public : Derived () {} virtual void f () {} };
24174 int g (Derived&) { return 0; }
24175 int
24176 main ()
24177 {
24178
24179 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24180 ;
24181 return 0;
24182 }
24183 _ACEOF
24184 rm -f conftest.$ac_objext
24185 if { (ac_try="$ac_compile"
24186 case "(($ac_try" in
24187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24188 *) ac_try_echo=$ac_try;;
24189 esac
24190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24191 (eval "$ac_compile") 2>conftest.er1
24192 ac_status=$?
24193 grep -v '^ *+' conftest.er1 >conftest.err
24194 rm -f conftest.er1
24195 cat conftest.err >&5
24196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24197 (exit $ac_status); } && {
24198 test -z "$ac_cxx_werror_flag" ||
24199 test ! -s conftest.err
24200 } && test -s conftest.$ac_objext; then
24201 ac_cv_cxx_static_cast=yes
24202 else
24203 echo "$as_me: failed program was:" >&5
24204 sed 's/^/| /' conftest.$ac_ext >&5
24205
24206 ac_cv_cxx_static_cast=no
24207 fi
24208
24209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24210 ac_ext=c
24211 ac_cpp='$CPP $CPPFLAGS'
24212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24215
24216
24217 fi
24218 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24219 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24220 if test "$ac_cv_cxx_static_cast" = yes; then
24221
24222 cat >>confdefs.h <<\_ACEOF
24223 #define HAVE_STATIC_CAST
24224 _ACEOF
24225
24226 fi
24227
24228
24229 if test "x$SUNCXX" = xyes; then
24230 CXXFLAGS="-features=tmplife $CXXFLAGS"
24231 fi
24232
24233 if test "x$SUNCC" = xyes; then
24234 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24235 fi
24236
24237 if test "x$SGICC" = "xyes"; then
24238 CFLAGS="-woff 3970 $CFLAGS"
24239 fi
24240 if test "x$SGICXX" = "xyes"; then
24241 CXXFLAGS="-woff 3970 $CXXFLAGS"
24242 fi
24243
24244 if test "x$HPCC" = "xyes"; then
24245 CFLAGS="+W 2011,2450 $CFLAGS"
24246 fi
24247 if test "x$HPCXX" = "xyes"; then
24248 CXXFLAGS="+W 2340 $CXXFLAGS"
24249 fi
24250
24251 if test "x$COMPAQCXX" = "xyes"; then
24252 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24253 fi
24254
24255 ac_ext=cpp
24256 ac_cpp='$CXXCPP $CPPFLAGS'
24257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24260
24261
24262 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24263 if test "$wxUSE_UNICODE" = "yes"; then
24264 std_string="std::wstring"
24265 char_type="wchar_t"
24266 else
24267 std_string="std::string"
24268 char_type="char"
24269 fi
24270
24271 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24272 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24273 if test "${wx_cv_class_stdstring+set}" = set; then
24274 echo $ECHO_N "(cached) $ECHO_C" >&6
24275 else
24276
24277 cat >conftest.$ac_ext <<_ACEOF
24278 /* confdefs.h. */
24279 _ACEOF
24280 cat confdefs.h >>conftest.$ac_ext
24281 cat >>conftest.$ac_ext <<_ACEOF
24282 /* end confdefs.h. */
24283 #include <string>
24284 int
24285 main ()
24286 {
24287 $std_string foo;
24288 ;
24289 return 0;
24290 }
24291 _ACEOF
24292 rm -f conftest.$ac_objext
24293 if { (ac_try="$ac_compile"
24294 case "(($ac_try" in
24295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24296 *) ac_try_echo=$ac_try;;
24297 esac
24298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24299 (eval "$ac_compile") 2>conftest.er1
24300 ac_status=$?
24301 grep -v '^ *+' conftest.er1 >conftest.err
24302 rm -f conftest.er1
24303 cat conftest.err >&5
24304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24305 (exit $ac_status); } && {
24306 test -z "$ac_cxx_werror_flag" ||
24307 test ! -s conftest.err
24308 } && test -s conftest.$ac_objext; then
24309 wx_cv_class_stdstring=yes
24310 else
24311 echo "$as_me: failed program was:" >&5
24312 sed 's/^/| /' conftest.$ac_ext >&5
24313
24314 wx_cv_class_stdstring=no
24315
24316 fi
24317
24318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24319
24320
24321 fi
24322 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24323 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24324
24325 if test "$wx_cv_class_stdstring" = yes; then
24326 if test "$wxUSE_UNICODE" = "yes"; then
24327 cat >>confdefs.h <<\_ACEOF
24328 #define HAVE_STD_WSTRING 1
24329 _ACEOF
24330
24331 fi
24332 else
24333 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24334 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24335 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24336 echo $ECHO_N "(cached) $ECHO_C" >&6
24337 else
24338
24339 cat >conftest.$ac_ext <<_ACEOF
24340 /* confdefs.h. */
24341 _ACEOF
24342 cat confdefs.h >>conftest.$ac_ext
24343 cat >>conftest.$ac_ext <<_ACEOF
24344 /* end confdefs.h. */
24345
24346 #ifdef HAVE_WCHAR_H
24347 # ifdef __CYGWIN__
24348 # include <stddef.h>
24349 # endif
24350 # include <wchar.h>
24351 #endif
24352 #ifdef HAVE_STDLIB_H
24353 # include <stdlib.h>
24354 #endif
24355 #include <stdio.h>
24356 #include <string>
24357
24358 int
24359 main ()
24360 {
24361 std::basic_string<$char_type> foo;
24362 const $char_type* dummy = foo.c_str();
24363 ;
24364 return 0;
24365 }
24366 _ACEOF
24367 rm -f conftest.$ac_objext
24368 if { (ac_try="$ac_compile"
24369 case "(($ac_try" in
24370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24371 *) ac_try_echo=$ac_try;;
24372 esac
24373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24374 (eval "$ac_compile") 2>conftest.er1
24375 ac_status=$?
24376 grep -v '^ *+' conftest.er1 >conftest.err
24377 rm -f conftest.er1
24378 cat conftest.err >&5
24379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24380 (exit $ac_status); } && {
24381 test -z "$ac_cxx_werror_flag" ||
24382 test ! -s conftest.err
24383 } && test -s conftest.$ac_objext; then
24384 wx_cv_class_stdbasicstring=yes
24385 else
24386 echo "$as_me: failed program was:" >&5
24387 sed 's/^/| /' conftest.$ac_ext >&5
24388
24389 wx_cv_class_stdbasicstring=no
24390
24391 fi
24392
24393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24394
24395
24396 fi
24397 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24398 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24399
24400 if test "$wx_cv_class_stdbasicstring" != yes; then
24401 if test "$wxUSE_STL" = "yes"; then
24402 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24403 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24404 { (exit 1); exit 1; }; }
24405 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
24406 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24407 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24408 { (exit 1); exit 1; }; }
24409 else
24410 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24411 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24412 wxUSE_STD_STRING=no
24413 fi
24414 fi
24415 fi
24416 fi
24417
24418 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24419 { echo "$as_me:$LINENO: checking for std::istream" >&5
24420 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24421 if test "${ac_cv_type_std__istream+set}" = set; then
24422 echo $ECHO_N "(cached) $ECHO_C" >&6
24423 else
24424 cat >conftest.$ac_ext <<_ACEOF
24425 /* confdefs.h. */
24426 _ACEOF
24427 cat confdefs.h >>conftest.$ac_ext
24428 cat >>conftest.$ac_ext <<_ACEOF
24429 /* end confdefs.h. */
24430 #include <iostream>
24431
24432 typedef std::istream ac__type_new_;
24433 int
24434 main ()
24435 {
24436 if ((ac__type_new_ *) 0)
24437 return 0;
24438 if (sizeof (ac__type_new_))
24439 return 0;
24440 ;
24441 return 0;
24442 }
24443 _ACEOF
24444 rm -f conftest.$ac_objext
24445 if { (ac_try="$ac_compile"
24446 case "(($ac_try" in
24447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24448 *) ac_try_echo=$ac_try;;
24449 esac
24450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24451 (eval "$ac_compile") 2>conftest.er1
24452 ac_status=$?
24453 grep -v '^ *+' conftest.er1 >conftest.err
24454 rm -f conftest.er1
24455 cat conftest.err >&5
24456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24457 (exit $ac_status); } && {
24458 test -z "$ac_cxx_werror_flag" ||
24459 test ! -s conftest.err
24460 } && test -s conftest.$ac_objext; then
24461 ac_cv_type_std__istream=yes
24462 else
24463 echo "$as_me: failed program was:" >&5
24464 sed 's/^/| /' conftest.$ac_ext >&5
24465
24466 ac_cv_type_std__istream=no
24467 fi
24468
24469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24470 fi
24471 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24472 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24473 if test $ac_cv_type_std__istream = yes; then
24474
24475 cat >>confdefs.h <<_ACEOF
24476 #define HAVE_STD__ISTREAM 1
24477 _ACEOF
24478
24479
24480 else
24481 wxUSE_STD_IOSTREAM=no
24482 fi
24483 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24484 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24485 if test "${ac_cv_type_std__ostream+set}" = set; then
24486 echo $ECHO_N "(cached) $ECHO_C" >&6
24487 else
24488 cat >conftest.$ac_ext <<_ACEOF
24489 /* confdefs.h. */
24490 _ACEOF
24491 cat confdefs.h >>conftest.$ac_ext
24492 cat >>conftest.$ac_ext <<_ACEOF
24493 /* end confdefs.h. */
24494 #include <iostream>
24495
24496 typedef std::ostream ac__type_new_;
24497 int
24498 main ()
24499 {
24500 if ((ac__type_new_ *) 0)
24501 return 0;
24502 if (sizeof (ac__type_new_))
24503 return 0;
24504 ;
24505 return 0;
24506 }
24507 _ACEOF
24508 rm -f conftest.$ac_objext
24509 if { (ac_try="$ac_compile"
24510 case "(($ac_try" in
24511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24512 *) ac_try_echo=$ac_try;;
24513 esac
24514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24515 (eval "$ac_compile") 2>conftest.er1
24516 ac_status=$?
24517 grep -v '^ *+' conftest.er1 >conftest.err
24518 rm -f conftest.er1
24519 cat conftest.err >&5
24520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24521 (exit $ac_status); } && {
24522 test -z "$ac_cxx_werror_flag" ||
24523 test ! -s conftest.err
24524 } && test -s conftest.$ac_objext; then
24525 ac_cv_type_std__ostream=yes
24526 else
24527 echo "$as_me: failed program was:" >&5
24528 sed 's/^/| /' conftest.$ac_ext >&5
24529
24530 ac_cv_type_std__ostream=no
24531 fi
24532
24533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24534 fi
24535 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24536 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24537 if test $ac_cv_type_std__ostream = yes; then
24538
24539 cat >>confdefs.h <<_ACEOF
24540 #define HAVE_STD__OSTREAM 1
24541 _ACEOF
24542
24543
24544 else
24545 wxUSE_STD_IOSTREAM=no
24546 fi
24547
24548
24549 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24550 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
24551 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24552 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24553 { (exit 1); exit 1; }; }
24554 else
24555 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24556 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24557 fi
24558 fi
24559 fi
24560
24561 if test "$wxUSE_STL" = "yes"; then
24562 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24563 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24564 if test "${wx_cv_lib_stl+set}" = set; then
24565 echo $ECHO_N "(cached) $ECHO_C" >&6
24566 else
24567 cat >conftest.$ac_ext <<_ACEOF
24568 /* confdefs.h. */
24569 _ACEOF
24570 cat confdefs.h >>conftest.$ac_ext
24571 cat >>conftest.$ac_ext <<_ACEOF
24572 /* end confdefs.h. */
24573 #include <string>
24574 #include <functional>
24575 #include <algorithm>
24576 #include <vector>
24577 #include <list>
24578 int
24579 main ()
24580 {
24581 std::vector<int> moo;
24582 std::list<int> foo;
24583 std::vector<int>::iterator it =
24584 std::find_if(moo.begin(), moo.end(),
24585 std::bind2nd(std::less<int>(), 3));
24586 ;
24587 return 0;
24588 }
24589 _ACEOF
24590 rm -f conftest.$ac_objext
24591 if { (ac_try="$ac_compile"
24592 case "(($ac_try" in
24593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24594 *) ac_try_echo=$ac_try;;
24595 esac
24596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24597 (eval "$ac_compile") 2>conftest.er1
24598 ac_status=$?
24599 grep -v '^ *+' conftest.er1 >conftest.err
24600 rm -f conftest.er1
24601 cat conftest.err >&5
24602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24603 (exit $ac_status); } && {
24604 test -z "$ac_cxx_werror_flag" ||
24605 test ! -s conftest.err
24606 } && test -s conftest.$ac_objext; then
24607 wx_cv_lib_stl=yes
24608 else
24609 echo "$as_me: failed program was:" >&5
24610 sed 's/^/| /' conftest.$ac_ext >&5
24611
24612 wx_cv_lib_stl=no
24613
24614 fi
24615
24616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24617
24618 fi
24619 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24620 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24621
24622 if test "$wx_cv_lib_stl" != yes; then
24623 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24624 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24625 { (exit 1); exit 1; }; }
24626 fi
24627
24628 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24629 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24630 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24631 echo $ECHO_N "(cached) $ECHO_C" >&6
24632 else
24633 cat >conftest.$ac_ext <<_ACEOF
24634 /* confdefs.h. */
24635 _ACEOF
24636 cat confdefs.h >>conftest.$ac_ext
24637 cat >>conftest.$ac_ext <<_ACEOF
24638 /* end confdefs.h. */
24639 #include <string>
24640 int
24641 main ()
24642 {
24643 std::string foo, bar;
24644 foo.compare(bar);
24645 foo.compare(1, 1, bar);
24646 foo.compare(1, 1, bar, 1, 1);
24647 foo.compare("");
24648 foo.compare(1, 1, "");
24649 foo.compare(1, 1, "", 2);
24650 ;
24651 return 0;
24652 }
24653 _ACEOF
24654 rm -f conftest.$ac_objext
24655 if { (ac_try="$ac_compile"
24656 case "(($ac_try" in
24657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24658 *) ac_try_echo=$ac_try;;
24659 esac
24660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24661 (eval "$ac_compile") 2>conftest.er1
24662 ac_status=$?
24663 grep -v '^ *+' conftest.er1 >conftest.err
24664 rm -f conftest.er1
24665 cat conftest.err >&5
24666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24667 (exit $ac_status); } && {
24668 test -z "$ac_cxx_werror_flag" ||
24669 test ! -s conftest.err
24670 } && test -s conftest.$ac_objext; then
24671 wx_cv_func_stdstring_compare=yes
24672 else
24673 echo "$as_me: failed program was:" >&5
24674 sed 's/^/| /' conftest.$ac_ext >&5
24675
24676 wx_cv_func_stdstring_compare=no
24677
24678 fi
24679
24680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24681
24682 fi
24683 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24684 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24685
24686 if test "$wx_cv_func_stdstring_compare" = yes; then
24687 cat >>confdefs.h <<\_ACEOF
24688 #define HAVE_STD_STRING_COMPARE 1
24689 _ACEOF
24690
24691 fi
24692
24693 if test "${ac_cv_header_hash_map+set}" = set; then
24694 { echo "$as_me:$LINENO: checking for hash_map" >&5
24695 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24696 if test "${ac_cv_header_hash_map+set}" = set; then
24697 echo $ECHO_N "(cached) $ECHO_C" >&6
24698 fi
24699 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24700 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24701 else
24702 # Is the header compilable?
24703 { echo "$as_me:$LINENO: checking hash_map usability" >&5
24704 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6; }
24705 cat >conftest.$ac_ext <<_ACEOF
24706 /* confdefs.h. */
24707 _ACEOF
24708 cat confdefs.h >>conftest.$ac_ext
24709 cat >>conftest.$ac_ext <<_ACEOF
24710 /* end confdefs.h. */
24711 $ac_includes_default
24712 #include <hash_map>
24713 _ACEOF
24714 rm -f conftest.$ac_objext
24715 if { (ac_try="$ac_compile"
24716 case "(($ac_try" in
24717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24718 *) ac_try_echo=$ac_try;;
24719 esac
24720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24721 (eval "$ac_compile") 2>conftest.er1
24722 ac_status=$?
24723 grep -v '^ *+' conftest.er1 >conftest.err
24724 rm -f conftest.er1
24725 cat conftest.err >&5
24726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24727 (exit $ac_status); } && {
24728 test -z "$ac_cxx_werror_flag" ||
24729 test ! -s conftest.err
24730 } && test -s conftest.$ac_objext; then
24731 ac_header_compiler=yes
24732 else
24733 echo "$as_me: failed program was:" >&5
24734 sed 's/^/| /' conftest.$ac_ext >&5
24735
24736 ac_header_compiler=no
24737 fi
24738
24739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24740 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24741 echo "${ECHO_T}$ac_header_compiler" >&6; }
24742
24743 # Is the header present?
24744 { echo "$as_me:$LINENO: checking hash_map presence" >&5
24745 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6; }
24746 cat >conftest.$ac_ext <<_ACEOF
24747 /* confdefs.h. */
24748 _ACEOF
24749 cat confdefs.h >>conftest.$ac_ext
24750 cat >>conftest.$ac_ext <<_ACEOF
24751 /* end confdefs.h. */
24752 #include <hash_map>
24753 _ACEOF
24754 if { (ac_try="$ac_cpp conftest.$ac_ext"
24755 case "(($ac_try" in
24756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24757 *) ac_try_echo=$ac_try;;
24758 esac
24759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24760 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24761 ac_status=$?
24762 grep -v '^ *+' conftest.er1 >conftest.err
24763 rm -f conftest.er1
24764 cat conftest.err >&5
24765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24766 (exit $ac_status); } >/dev/null && {
24767 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
24768 test ! -s conftest.err
24769 }; then
24770 ac_header_preproc=yes
24771 else
24772 echo "$as_me: failed program was:" >&5
24773 sed 's/^/| /' conftest.$ac_ext >&5
24774
24775 ac_header_preproc=no
24776 fi
24777
24778 rm -f conftest.err conftest.$ac_ext
24779 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24780 echo "${ECHO_T}$ac_header_preproc" >&6; }
24781
24782 # So? What about this header?
24783 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24784 yes:no: )
24785 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24786 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24787 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24788 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24789 ac_header_preproc=yes
24790 ;;
24791 no:yes:* )
24792 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24793 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24794 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24795 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24796 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24797 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24798 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24799 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24800 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24801 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24802 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24803 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24804 ( cat <<\_ASBOX
24805 ## ----------------------------------------- ##
24806 ## Report this to wx-dev@lists.wxwidgets.org ##
24807 ## ----------------------------------------- ##
24808 _ASBOX
24809 ) | sed "s/^/$as_me: WARNING: /" >&2
24810 ;;
24811 esac
24812 { echo "$as_me:$LINENO: checking for hash_map" >&5
24813 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24814 if test "${ac_cv_header_hash_map+set}" = set; then
24815 echo $ECHO_N "(cached) $ECHO_C" >&6
24816 else
24817 ac_cv_header_hash_map=$ac_header_preproc
24818 fi
24819 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24820 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24821
24822 fi
24823 if test $ac_cv_header_hash_map = yes; then
24824 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24825 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24826 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24827 echo $ECHO_N "(cached) $ECHO_C" >&6
24828 else
24829 cat >conftest.$ac_ext <<_ACEOF
24830 /* confdefs.h. */
24831 _ACEOF
24832 cat confdefs.h >>conftest.$ac_ext
24833 cat >>conftest.$ac_ext <<_ACEOF
24834 /* end confdefs.h. */
24835 #include <hash_map>
24836 #include <hash_set>
24837 int
24838 main ()
24839 {
24840 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24841 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24842 ;
24843 return 0;
24844 }
24845 _ACEOF
24846 rm -f conftest.$ac_objext
24847 if { (ac_try="$ac_compile"
24848 case "(($ac_try" in
24849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24850 *) ac_try_echo=$ac_try;;
24851 esac
24852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24853 (eval "$ac_compile") 2>conftest.er1
24854 ac_status=$?
24855 grep -v '^ *+' conftest.er1 >conftest.err
24856 rm -f conftest.er1
24857 cat conftest.err >&5
24858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24859 (exit $ac_status); } && {
24860 test -z "$ac_cxx_werror_flag" ||
24861 test ! -s conftest.err
24862 } && test -s conftest.$ac_objext; then
24863 wx_cv_class_stdhashmapset=yes
24864 else
24865 echo "$as_me: failed program was:" >&5
24866 sed 's/^/| /' conftest.$ac_ext >&5
24867
24868 wx_cv_class_stdhashmapset=no
24869 fi
24870
24871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24872
24873
24874 fi
24875 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24876 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24877
24878 fi
24879
24880
24881
24882 if test "$wx_cv_class_stdhashmapset" = yes; then
24883 cat >>confdefs.h <<\_ACEOF
24884 #define HAVE_HASH_MAP 1
24885 _ACEOF
24886
24887 cat >>confdefs.h <<\_ACEOF
24888 #define HAVE_STD_HASH_MAP 1
24889 _ACEOF
24890
24891 fi
24892
24893 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24894 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24895 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24896 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24897 echo $ECHO_N "(cached) $ECHO_C" >&6
24898 fi
24899 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24900 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24901 else
24902 # Is the header compilable?
24903 { echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24904 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6; }
24905 cat >conftest.$ac_ext <<_ACEOF
24906 /* confdefs.h. */
24907 _ACEOF
24908 cat confdefs.h >>conftest.$ac_ext
24909 cat >>conftest.$ac_ext <<_ACEOF
24910 /* end confdefs.h. */
24911 $ac_includes_default
24912 #include <ext/hash_map>
24913 _ACEOF
24914 rm -f conftest.$ac_objext
24915 if { (ac_try="$ac_compile"
24916 case "(($ac_try" in
24917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24918 *) ac_try_echo=$ac_try;;
24919 esac
24920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24921 (eval "$ac_compile") 2>conftest.er1
24922 ac_status=$?
24923 grep -v '^ *+' conftest.er1 >conftest.err
24924 rm -f conftest.er1
24925 cat conftest.err >&5
24926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24927 (exit $ac_status); } && {
24928 test -z "$ac_cxx_werror_flag" ||
24929 test ! -s conftest.err
24930 } && test -s conftest.$ac_objext; then
24931 ac_header_compiler=yes
24932 else
24933 echo "$as_me: failed program was:" >&5
24934 sed 's/^/| /' conftest.$ac_ext >&5
24935
24936 ac_header_compiler=no
24937 fi
24938
24939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24940 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24941 echo "${ECHO_T}$ac_header_compiler" >&6; }
24942
24943 # Is the header present?
24944 { echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24945 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6; }
24946 cat >conftest.$ac_ext <<_ACEOF
24947 /* confdefs.h. */
24948 _ACEOF
24949 cat confdefs.h >>conftest.$ac_ext
24950 cat >>conftest.$ac_ext <<_ACEOF
24951 /* end confdefs.h. */
24952 #include <ext/hash_map>
24953 _ACEOF
24954 if { (ac_try="$ac_cpp conftest.$ac_ext"
24955 case "(($ac_try" in
24956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24957 *) ac_try_echo=$ac_try;;
24958 esac
24959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24960 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24961 ac_status=$?
24962 grep -v '^ *+' conftest.er1 >conftest.err
24963 rm -f conftest.er1
24964 cat conftest.err >&5
24965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24966 (exit $ac_status); } >/dev/null && {
24967 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
24968 test ! -s conftest.err
24969 }; then
24970 ac_header_preproc=yes
24971 else
24972 echo "$as_me: failed program was:" >&5
24973 sed 's/^/| /' conftest.$ac_ext >&5
24974
24975 ac_header_preproc=no
24976 fi
24977
24978 rm -f conftest.err conftest.$ac_ext
24979 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24980 echo "${ECHO_T}$ac_header_preproc" >&6; }
24981
24982 # So? What about this header?
24983 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24984 yes:no: )
24985 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24986 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24987 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24988 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24989 ac_header_preproc=yes
24990 ;;
24991 no:yes:* )
24992 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24993 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24994 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24995 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24996 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24997 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24998 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24999 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
25000 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
25001 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
25002 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
25003 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
25004 ( cat <<\_ASBOX
25005 ## ----------------------------------------- ##
25006 ## Report this to wx-dev@lists.wxwidgets.org ##
25007 ## ----------------------------------------- ##
25008 _ASBOX
25009 ) | sed "s/^/$as_me: WARNING: /" >&2
25010 ;;
25011 esac
25012 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25013 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25014 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25015 echo $ECHO_N "(cached) $ECHO_C" >&6
25016 else
25017 ac_cv_header_ext_hash_map=$ac_header_preproc
25018 fi
25019 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25020 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25021
25022 fi
25023 if test $ac_cv_header_ext_hash_map = yes; then
25024 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25025 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25026 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25027 echo $ECHO_N "(cached) $ECHO_C" >&6
25028 else
25029 cat >conftest.$ac_ext <<_ACEOF
25030 /* confdefs.h. */
25031 _ACEOF
25032 cat confdefs.h >>conftest.$ac_ext
25033 cat >>conftest.$ac_ext <<_ACEOF
25034 /* end confdefs.h. */
25035 #include <ext/hash_map>
25036 #include <ext/hash_set>
25037 int
25038 main ()
25039 {
25040 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25041 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25042 ;
25043 return 0;
25044 }
25045 _ACEOF
25046 rm -f conftest.$ac_objext
25047 if { (ac_try="$ac_compile"
25048 case "(($ac_try" in
25049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25050 *) ac_try_echo=$ac_try;;
25051 esac
25052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25053 (eval "$ac_compile") 2>conftest.er1
25054 ac_status=$?
25055 grep -v '^ *+' conftest.er1 >conftest.err
25056 rm -f conftest.er1
25057 cat conftest.err >&5
25058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25059 (exit $ac_status); } && {
25060 test -z "$ac_cxx_werror_flag" ||
25061 test ! -s conftest.err
25062 } && test -s conftest.$ac_objext; then
25063 wx_cv_class_gnuhashmapset=yes
25064 else
25065 echo "$as_me: failed program was:" >&5
25066 sed 's/^/| /' conftest.$ac_ext >&5
25067
25068 wx_cv_class_gnuhashmapset=no
25069 fi
25070
25071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25072
25073
25074 fi
25075 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25076 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25077
25078 fi
25079
25080
25081
25082 if test "$wx_cv_class_gnuhashmapset" = yes; then
25083 cat >>confdefs.h <<\_ACEOF
25084 #define HAVE_EXT_HASH_MAP 1
25085 _ACEOF
25086
25087 cat >>confdefs.h <<\_ACEOF
25088 #define HAVE_GNU_CXX_HASH_MAP 1
25089 _ACEOF
25090
25091 fi
25092 fi
25093
25094 ac_ext=c
25095 ac_cpp='$CPP $CPPFLAGS'
25096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25099
25100
25101
25102 SEARCH_INCLUDE="\
25103 /usr/local/include \
25104 \
25105 /usr/Motif-2.1/include \
25106 /usr/Motif-1.2/include \
25107 /usr/include/Motif1.2 \
25108 \
25109 /usr/dt/include \
25110 /usr/openwin/include \
25111 \
25112 /usr/include/Xm \
25113 \
25114 /usr/X11R6/include \
25115 /usr/X11R6.4/include \
25116 /usr/X11R5/include \
25117 /usr/X11R4/include \
25118 \
25119 /usr/include/X11R6 \
25120 /usr/include/X11R5 \
25121 /usr/include/X11R4 \
25122 \
25123 /usr/local/X11R6/include \
25124 /usr/local/X11R5/include \
25125 /usr/local/X11R4/include \
25126 \
25127 /usr/local/include/X11R6 \
25128 /usr/local/include/X11R5 \
25129 /usr/local/include/X11R4 \
25130 \
25131 /usr/X11/include \
25132 /usr/include/X11 \
25133 /usr/local/X11/include \
25134 /usr/local/include/X11 \
25135 \
25136 /usr/XFree86/include/X11 \
25137 /usr/pkg/include \
25138 \
25139 /usr/openwin/share/include"
25140
25141 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25142 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25143
25144 case "${host}" in
25145 *-*-irix6* )
25146 if test "${wx_cv_std_libpath+set}" = set; then
25147 echo $ECHO_N "(cached) $ECHO_C" >&6
25148 else
25149
25150 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25151 for e in a so sl dylib dll.a; do
25152 libc="$d/libc.$e"
25153 if test -f $libc; then
25154 save_LIBS="$LIBS"
25155 LIBS="$libc"
25156 cat >conftest.$ac_ext <<_ACEOF
25157 int main() { return 0; }
25158 _ACEOF
25159 rm -f conftest.$ac_objext conftest$ac_exeext
25160 if { (ac_try="$ac_link"
25161 case "(($ac_try" in
25162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25163 *) ac_try_echo=$ac_try;;
25164 esac
25165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25166 (eval "$ac_link") 2>conftest.er1
25167 ac_status=$?
25168 grep -v '^ *+' conftest.er1 >conftest.err
25169 rm -f conftest.er1
25170 cat conftest.err >&5
25171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25172 (exit $ac_status); } && {
25173 test -z "$ac_c_werror_flag" ||
25174 test ! -s conftest.err
25175 } && test -s conftest$ac_exeext &&
25176 $as_test_x conftest$ac_exeext; then
25177 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25178 else
25179 echo "$as_me: failed program was:" >&5
25180 sed 's/^/| /' conftest.$ac_ext >&5
25181
25182
25183 fi
25184
25185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25186 conftest$ac_exeext conftest.$ac_ext
25187 LIBS="$save_LIBS"
25188 if test "x$wx_cv_std_libpath" != "x"; then
25189 break 2
25190 fi
25191 fi
25192 done
25193 done
25194 if test "x$wx_cv_std_libpath" = "x"; then
25195 wx_cv_std_libpath="lib"
25196 fi
25197
25198
25199 fi
25200
25201 ;;
25202
25203 *-*-solaris2* )
25204 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25205 wx_cv_std_libpath="lib/64"
25206 else
25207 wx_cv_std_libpath="lib"
25208 fi
25209 ;;
25210
25211 *-*-linux* )
25212 if test "$ac_cv_sizeof_void_p" = 8 -a \
25213 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25214 wx_cv_std_libpath="lib64"
25215 else
25216 wx_cv_std_libpath="lib"
25217 fi
25218 ;;
25219
25220 *)
25221 wx_cv_std_libpath="lib";
25222 ;;
25223 esac
25224
25225 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25226 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25227
25228 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25229
25230 if test "$build" != "$host" -a "$GCC" = yes; then
25231 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25232 cross_root=`dirname $cross_root`
25233 cross_root=`dirname $cross_root`
25234
25235 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25236 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25237 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25238
25239 if test -z "$PKG_CONFIG_PATH"; then
25240 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25241 export PKG_CONFIG_PATH
25242 fi
25243
25244 if test -z "$x_includes" -o "$x_includes" = NONE; then
25245
25246 ac_find_includes=
25247 for ac_dir in $SEARCH_INCLUDE /usr/include;
25248 do
25249 if test -f "$ac_dir/X11/Intrinsic.h"; then
25250 ac_find_includes=$ac_dir
25251 break
25252 fi
25253 done
25254
25255 x_includes=$ac_find_includes
25256 fi
25257 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25258
25259 ac_find_libraries=
25260 for ac_dir in $SEARCH_LIB;
25261 do
25262 for ac_extension in a so sl dylib dll.a; do
25263 if test -f "$ac_dir/libXt.$ac_extension"; then
25264 ac_find_libraries=$ac_dir
25265 break 2
25266 fi
25267 done
25268 done
25269
25270 x_libraries=$ac_find_libraries
25271 fi
25272 fi
25273 fi
25274
25275
25276 cat >confcache <<\_ACEOF
25277 # This file is a shell script that caches the results of configure
25278 # tests run on this system so they can be shared between configure
25279 # scripts and configure runs, see configure's option --config-cache.
25280 # It is not useful on other systems. If it contains results you don't
25281 # want to keep, you may remove or edit it.
25282 #
25283 # config.status only pays attention to the cache file if you give it
25284 # the --recheck option to rerun configure.
25285 #
25286 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25287 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25288 # following values.
25289
25290 _ACEOF
25291
25292 # The following way of writing the cache mishandles newlines in values,
25293 # but we know of no workaround that is simple, portable, and efficient.
25294 # So, we kill variables containing newlines.
25295 # Ultrix sh set writes to stderr and can't be redirected directly,
25296 # and sets the high bit in the cache file unless we assign to the vars.
25297 (
25298 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25299 eval ac_val=\$$ac_var
25300 case $ac_val in #(
25301 *${as_nl}*)
25302 case $ac_var in #(
25303 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25304 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25305 esac
25306 case $ac_var in #(
25307 _ | IFS | as_nl) ;; #(
25308 *) $as_unset $ac_var ;;
25309 esac ;;
25310 esac
25311 done
25312
25313 (set) 2>&1 |
25314 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25315 *${as_nl}ac_space=\ *)
25316 # `set' does not quote correctly, so add quotes (double-quote
25317 # substitution turns \\\\ into \\, and sed turns \\ into \).
25318 sed -n \
25319 "s/'/'\\\\''/g;
25320 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25321 ;; #(
25322 *)
25323 # `set' quotes correctly as required by POSIX, so do not add quotes.
25324 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25325 ;;
25326 esac |
25327 sort
25328 ) |
25329 sed '
25330 /^ac_cv_env_/b end
25331 t clear
25332 :clear
25333 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25334 t end
25335 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25336 :end' >>confcache
25337 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25338 if test -w "$cache_file"; then
25339 test "x$cache_file" != "x/dev/null" &&
25340 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25341 echo "$as_me: updating cache $cache_file" >&6;}
25342 cat confcache >$cache_file
25343 else
25344 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25345 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25346 fi
25347 fi
25348 rm -f confcache
25349
25350 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25351 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25352 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25353 if test "${wx_cv_lib_glibc21+set}" = set; then
25354 echo $ECHO_N "(cached) $ECHO_C" >&6
25355 else
25356
25357 cat >conftest.$ac_ext <<_ACEOF
25358 /* confdefs.h. */
25359 _ACEOF
25360 cat confdefs.h >>conftest.$ac_ext
25361 cat >>conftest.$ac_ext <<_ACEOF
25362 /* end confdefs.h. */
25363 #include <features.h>
25364 int
25365 main ()
25366 {
25367
25368 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25369 not glibc 2.1
25370 #endif
25371
25372 ;
25373 return 0;
25374 }
25375 _ACEOF
25376 rm -f conftest.$ac_objext
25377 if { (ac_try="$ac_compile"
25378 case "(($ac_try" in
25379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25380 *) ac_try_echo=$ac_try;;
25381 esac
25382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25383 (eval "$ac_compile") 2>conftest.er1
25384 ac_status=$?
25385 grep -v '^ *+' conftest.er1 >conftest.err
25386 rm -f conftest.er1
25387 cat conftest.err >&5
25388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25389 (exit $ac_status); } && {
25390 test -z "$ac_c_werror_flag" ||
25391 test ! -s conftest.err
25392 } && test -s conftest.$ac_objext; then
25393
25394 wx_cv_lib_glibc21=yes
25395
25396 else
25397 echo "$as_me: failed program was:" >&5
25398 sed 's/^/| /' conftest.$ac_ext >&5
25399
25400
25401 wx_cv_lib_glibc21=no
25402
25403
25404 fi
25405
25406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25407
25408 fi
25409 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25410 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25411 if test "$wx_cv_lib_glibc21" = "yes"; then
25412 cat >>confdefs.h <<\_ACEOF
25413 #define wxHAVE_GLIBC2 1
25414 _ACEOF
25415
25416 fi
25417 fi
25418
25419 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25420 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25421 cat >>confdefs.h <<\_ACEOF
25422 #define _GNU_SOURCE 1
25423 _ACEOF
25424
25425 fi
25426 fi
25427
25428 have_cos=0
25429 have_floor=0
25430
25431 for ac_func in cos
25432 do
25433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25434 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25436 if { as_var=$as_ac_var; eval "test \"\${$as_var+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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25447 #define $ac_func innocuous_$ac_func
25448
25449 /* System header to define __stub macros and hopefully few prototypes,
25450 which can conflict with char $ac_func (); below.
25451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25452 <limits.h> exists even on freestanding compilers. */
25453
25454 #ifdef __STDC__
25455 # include <limits.h>
25456 #else
25457 # include <assert.h>
25458 #endif
25459
25460 #undef $ac_func
25461
25462 /* Override any GCC internal prototype to avoid an error.
25463 Use char because int might match the return type of a GCC
25464 builtin and then its argument prototype would still apply. */
25465 #ifdef __cplusplus
25466 extern "C"
25467 #endif
25468 char $ac_func ();
25469 /* The GNU C library defines this for functions which it implements
25470 to always fail with ENOSYS. Some functions are actually named
25471 something starting with __ and the normal name is an alias. */
25472 #if defined __stub_$ac_func || defined __stub___$ac_func
25473 choke me
25474 #endif
25475
25476 int
25477 main ()
25478 {
25479 return $ac_func ();
25480 ;
25481 return 0;
25482 }
25483 _ACEOF
25484 rm -f conftest.$ac_objext conftest$ac_exeext
25485 if { (ac_try="$ac_link"
25486 case "(($ac_try" in
25487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25488 *) ac_try_echo=$ac_try;;
25489 esac
25490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25491 (eval "$ac_link") 2>conftest.er1
25492 ac_status=$?
25493 grep -v '^ *+' conftest.er1 >conftest.err
25494 rm -f conftest.er1
25495 cat conftest.err >&5
25496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25497 (exit $ac_status); } && {
25498 test -z "$ac_c_werror_flag" ||
25499 test ! -s conftest.err
25500 } && test -s conftest$ac_exeext &&
25501 $as_test_x conftest$ac_exeext; then
25502 eval "$as_ac_var=yes"
25503 else
25504 echo "$as_me: failed program was:" >&5
25505 sed 's/^/| /' conftest.$ac_ext >&5
25506
25507 eval "$as_ac_var=no"
25508 fi
25509
25510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25511 conftest$ac_exeext conftest.$ac_ext
25512 fi
25513 ac_res=`eval echo '${'$as_ac_var'}'`
25514 { echo "$as_me:$LINENO: result: $ac_res" >&5
25515 echo "${ECHO_T}$ac_res" >&6; }
25516 if test `eval echo '${'$as_ac_var'}'` = yes; then
25517 cat >>confdefs.h <<_ACEOF
25518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25519 _ACEOF
25520 have_cos=1
25521 fi
25522 done
25523
25524
25525 for ac_func in floor
25526 do
25527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25528 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25530 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25531 echo $ECHO_N "(cached) $ECHO_C" >&6
25532 else
25533 cat >conftest.$ac_ext <<_ACEOF
25534 /* confdefs.h. */
25535 _ACEOF
25536 cat confdefs.h >>conftest.$ac_ext
25537 cat >>conftest.$ac_ext <<_ACEOF
25538 /* end confdefs.h. */
25539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25541 #define $ac_func innocuous_$ac_func
25542
25543 /* System header to define __stub macros and hopefully few prototypes,
25544 which can conflict with char $ac_func (); below.
25545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25546 <limits.h> exists even on freestanding compilers. */
25547
25548 #ifdef __STDC__
25549 # include <limits.h>
25550 #else
25551 # include <assert.h>
25552 #endif
25553
25554 #undef $ac_func
25555
25556 /* Override any GCC internal prototype to avoid an error.
25557 Use char because int might match the return type of a GCC
25558 builtin and then its argument prototype would still apply. */
25559 #ifdef __cplusplus
25560 extern "C"
25561 #endif
25562 char $ac_func ();
25563 /* The GNU C library defines this for functions which it implements
25564 to always fail with ENOSYS. Some functions are actually named
25565 something starting with __ and the normal name is an alias. */
25566 #if defined __stub_$ac_func || defined __stub___$ac_func
25567 choke me
25568 #endif
25569
25570 int
25571 main ()
25572 {
25573 return $ac_func ();
25574 ;
25575 return 0;
25576 }
25577 _ACEOF
25578 rm -f conftest.$ac_objext conftest$ac_exeext
25579 if { (ac_try="$ac_link"
25580 case "(($ac_try" in
25581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25582 *) ac_try_echo=$ac_try;;
25583 esac
25584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25585 (eval "$ac_link") 2>conftest.er1
25586 ac_status=$?
25587 grep -v '^ *+' conftest.er1 >conftest.err
25588 rm -f conftest.er1
25589 cat conftest.err >&5
25590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25591 (exit $ac_status); } && {
25592 test -z "$ac_c_werror_flag" ||
25593 test ! -s conftest.err
25594 } && test -s conftest$ac_exeext &&
25595 $as_test_x conftest$ac_exeext; then
25596 eval "$as_ac_var=yes"
25597 else
25598 echo "$as_me: failed program was:" >&5
25599 sed 's/^/| /' conftest.$ac_ext >&5
25600
25601 eval "$as_ac_var=no"
25602 fi
25603
25604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25605 conftest$ac_exeext conftest.$ac_ext
25606 fi
25607 ac_res=`eval echo '${'$as_ac_var'}'`
25608 { echo "$as_me:$LINENO: result: $ac_res" >&5
25609 echo "${ECHO_T}$ac_res" >&6; }
25610 if test `eval echo '${'$as_ac_var'}'` = yes; then
25611 cat >>confdefs.h <<_ACEOF
25612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25613 _ACEOF
25614 have_floor=1
25615 fi
25616 done
25617
25618 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25619 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25620 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25621 { echo "$as_me:$LINENO: result: yes" >&5
25622 echo "${ECHO_T}yes" >&6; }
25623 else
25624 { echo "$as_me:$LINENO: result: no" >&5
25625 echo "${ECHO_T}no" >&6; }
25626 LIBS="$LIBS -lm"
25627 # use different functions to avoid configure caching
25628 have_sin=0
25629 have_ceil=0
25630
25631 for ac_func in sin
25632 do
25633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25634 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25636 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25637 echo $ECHO_N "(cached) $ECHO_C" >&6
25638 else
25639 cat >conftest.$ac_ext <<_ACEOF
25640 /* confdefs.h. */
25641 _ACEOF
25642 cat confdefs.h >>conftest.$ac_ext
25643 cat >>conftest.$ac_ext <<_ACEOF
25644 /* end confdefs.h. */
25645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25647 #define $ac_func innocuous_$ac_func
25648
25649 /* System header to define __stub macros and hopefully few prototypes,
25650 which can conflict with char $ac_func (); below.
25651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25652 <limits.h> exists even on freestanding compilers. */
25653
25654 #ifdef __STDC__
25655 # include <limits.h>
25656 #else
25657 # include <assert.h>
25658 #endif
25659
25660 #undef $ac_func
25661
25662 /* Override any GCC internal prototype to avoid an error.
25663 Use char because int might match the return type of a GCC
25664 builtin and then its argument prototype would still apply. */
25665 #ifdef __cplusplus
25666 extern "C"
25667 #endif
25668 char $ac_func ();
25669 /* The GNU C library defines this for functions which it implements
25670 to always fail with ENOSYS. Some functions are actually named
25671 something starting with __ and the normal name is an alias. */
25672 #if defined __stub_$ac_func || defined __stub___$ac_func
25673 choke me
25674 #endif
25675
25676 int
25677 main ()
25678 {
25679 return $ac_func ();
25680 ;
25681 return 0;
25682 }
25683 _ACEOF
25684 rm -f conftest.$ac_objext conftest$ac_exeext
25685 if { (ac_try="$ac_link"
25686 case "(($ac_try" in
25687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25688 *) ac_try_echo=$ac_try;;
25689 esac
25690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25691 (eval "$ac_link") 2>conftest.er1
25692 ac_status=$?
25693 grep -v '^ *+' conftest.er1 >conftest.err
25694 rm -f conftest.er1
25695 cat conftest.err >&5
25696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25697 (exit $ac_status); } && {
25698 test -z "$ac_c_werror_flag" ||
25699 test ! -s conftest.err
25700 } && test -s conftest$ac_exeext &&
25701 $as_test_x conftest$ac_exeext; then
25702 eval "$as_ac_var=yes"
25703 else
25704 echo "$as_me: failed program was:" >&5
25705 sed 's/^/| /' conftest.$ac_ext >&5
25706
25707 eval "$as_ac_var=no"
25708 fi
25709
25710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25711 conftest$ac_exeext conftest.$ac_ext
25712 fi
25713 ac_res=`eval echo '${'$as_ac_var'}'`
25714 { echo "$as_me:$LINENO: result: $ac_res" >&5
25715 echo "${ECHO_T}$ac_res" >&6; }
25716 if test `eval echo '${'$as_ac_var'}'` = yes; then
25717 cat >>confdefs.h <<_ACEOF
25718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25719 _ACEOF
25720 have_sin=1
25721 fi
25722 done
25723
25724
25725 for ac_func in ceil
25726 do
25727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25728 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25730 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25731 echo $ECHO_N "(cached) $ECHO_C" >&6
25732 else
25733 cat >conftest.$ac_ext <<_ACEOF
25734 /* confdefs.h. */
25735 _ACEOF
25736 cat confdefs.h >>conftest.$ac_ext
25737 cat >>conftest.$ac_ext <<_ACEOF
25738 /* end confdefs.h. */
25739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25741 #define $ac_func innocuous_$ac_func
25742
25743 /* System header to define __stub macros and hopefully few prototypes,
25744 which can conflict with char $ac_func (); below.
25745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25746 <limits.h> exists even on freestanding compilers. */
25747
25748 #ifdef __STDC__
25749 # include <limits.h>
25750 #else
25751 # include <assert.h>
25752 #endif
25753
25754 #undef $ac_func
25755
25756 /* Override any GCC internal prototype to avoid an error.
25757 Use char because int might match the return type of a GCC
25758 builtin and then its argument prototype would still apply. */
25759 #ifdef __cplusplus
25760 extern "C"
25761 #endif
25762 char $ac_func ();
25763 /* The GNU C library defines this for functions which it implements
25764 to always fail with ENOSYS. Some functions are actually named
25765 something starting with __ and the normal name is an alias. */
25766 #if defined __stub_$ac_func || defined __stub___$ac_func
25767 choke me
25768 #endif
25769
25770 int
25771 main ()
25772 {
25773 return $ac_func ();
25774 ;
25775 return 0;
25776 }
25777 _ACEOF
25778 rm -f conftest.$ac_objext conftest$ac_exeext
25779 if { (ac_try="$ac_link"
25780 case "(($ac_try" in
25781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25782 *) ac_try_echo=$ac_try;;
25783 esac
25784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25785 (eval "$ac_link") 2>conftest.er1
25786 ac_status=$?
25787 grep -v '^ *+' conftest.er1 >conftest.err
25788 rm -f conftest.er1
25789 cat conftest.err >&5
25790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25791 (exit $ac_status); } && {
25792 test -z "$ac_c_werror_flag" ||
25793 test ! -s conftest.err
25794 } && test -s conftest$ac_exeext &&
25795 $as_test_x conftest$ac_exeext; then
25796 eval "$as_ac_var=yes"
25797 else
25798 echo "$as_me: failed program was:" >&5
25799 sed 's/^/| /' conftest.$ac_ext >&5
25800
25801 eval "$as_ac_var=no"
25802 fi
25803
25804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25805 conftest$ac_exeext conftest.$ac_ext
25806 fi
25807 ac_res=`eval echo '${'$as_ac_var'}'`
25808 { echo "$as_me:$LINENO: result: $ac_res" >&5
25809 echo "${ECHO_T}$ac_res" >&6; }
25810 if test `eval echo '${'$as_ac_var'}'` = yes; then
25811 cat >>confdefs.h <<_ACEOF
25812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25813 _ACEOF
25814 have_ceil=1
25815 fi
25816 done
25817
25818 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25819 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25820 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25821 { echo "$as_me:$LINENO: result: yes" >&5
25822 echo "${ECHO_T}yes" >&6; }
25823 else
25824 { echo "$as_me:$LINENO: result: no" >&5
25825 echo "${ECHO_T}no" >&6; }
25826 # not sure we should warn the user, crash, etc.
25827 fi
25828 fi
25829
25830 ac_ext=cpp
25831 ac_cpp='$CXXCPP $CPPFLAGS'
25832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25835
25836 if test "wxUSE_UNICODE" = "yes"; then
25837
25838 for wx_func in wcstoull
25839 do
25840 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25841 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25842 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25843 echo $ECHO_N "(cached) $ECHO_C" >&6
25844 else
25845
25846 cat >conftest.$ac_ext <<_ACEOF
25847
25848 /* confdefs.h. */
25849 _ACEOF
25850 cat confdefs.h >>conftest.$ac_ext
25851 cat >>conftest.$ac_ext <<_ACEOF
25852 /* end confdefs.h. */
25853
25854
25855 $ac_includes_default
25856
25857 int
25858 main ()
25859 {
25860
25861 #ifndef $wx_func
25862 &$wx_func;
25863 #endif
25864
25865
25866 ;
25867 return 0;
25868 }
25869
25870 _ACEOF
25871 rm -f conftest.$ac_objext conftest$ac_exeext
25872 if { (ac_try="$ac_link"
25873 case "(($ac_try" in
25874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25875 *) ac_try_echo=$ac_try;;
25876 esac
25877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25878 (eval "$ac_link") 2>conftest.er1
25879 ac_status=$?
25880 grep -v '^ *+' conftest.er1 >conftest.err
25881 rm -f conftest.er1
25882 cat conftest.err >&5
25883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25884 (exit $ac_status); } && {
25885 test -z "$ac_cxx_werror_flag" ||
25886 test ! -s conftest.err
25887 } && test -s conftest$ac_exeext &&
25888 $as_test_x conftest$ac_exeext; then
25889 eval wx_cv_func_$wx_func=yes
25890 else
25891 echo "$as_me: failed program was:" >&5
25892 sed 's/^/| /' conftest.$ac_ext >&5
25893
25894 eval wx_cv_func_$wx_func=no
25895 fi
25896
25897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25898 conftest$ac_exeext conftest.$ac_ext
25899
25900 fi
25901 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25902 { echo "$as_me:$LINENO: result: $ac_res" >&5
25903 echo "${ECHO_T}$ac_res" >&6; }
25904
25905 if eval test \$wx_cv_func_$wx_func = yes
25906 then
25907 cat >>confdefs.h <<_ACEOF
25908 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
25909 _ACEOF
25910
25911
25912 else
25913 :
25914
25915 fi
25916 done
25917
25918 else
25919
25920 for wx_func in strtoull
25921 do
25922 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25923 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25924 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25925 echo $ECHO_N "(cached) $ECHO_C" >&6
25926 else
25927
25928 cat >conftest.$ac_ext <<_ACEOF
25929
25930 /* confdefs.h. */
25931 _ACEOF
25932 cat confdefs.h >>conftest.$ac_ext
25933 cat >>conftest.$ac_ext <<_ACEOF
25934 /* end confdefs.h. */
25935
25936
25937 $ac_includes_default
25938
25939 int
25940 main ()
25941 {
25942
25943 #ifndef $wx_func
25944 &$wx_func;
25945 #endif
25946
25947
25948 ;
25949 return 0;
25950 }
25951
25952 _ACEOF
25953 rm -f conftest.$ac_objext conftest$ac_exeext
25954 if { (ac_try="$ac_link"
25955 case "(($ac_try" in
25956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25957 *) ac_try_echo=$ac_try;;
25958 esac
25959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25960 (eval "$ac_link") 2>conftest.er1
25961 ac_status=$?
25962 grep -v '^ *+' conftest.er1 >conftest.err
25963 rm -f conftest.er1
25964 cat conftest.err >&5
25965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25966 (exit $ac_status); } && {
25967 test -z "$ac_cxx_werror_flag" ||
25968 test ! -s conftest.err
25969 } && test -s conftest$ac_exeext &&
25970 $as_test_x conftest$ac_exeext; then
25971 eval wx_cv_func_$wx_func=yes
25972 else
25973 echo "$as_me: failed program was:" >&5
25974 sed 's/^/| /' conftest.$ac_ext >&5
25975
25976 eval wx_cv_func_$wx_func=no
25977 fi
25978
25979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25980 conftest$ac_exeext conftest.$ac_ext
25981
25982 fi
25983 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25984 { echo "$as_me:$LINENO: result: $ac_res" >&5
25985 echo "${ECHO_T}$ac_res" >&6; }
25986
25987 if eval test \$wx_cv_func_$wx_func = yes
25988 then
25989 cat >>confdefs.h <<_ACEOF
25990 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
25991 _ACEOF
25992
25993
25994 else
25995 :
25996
25997 fi
25998 done
25999
26000 fi
26001 ac_ext=c
26002 ac_cpp='$CPP $CPPFLAGS'
26003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26006
26007
26008
26009
26010 if test "$wxUSE_REGEX" != "no"; then
26011 cat >>confdefs.h <<\_ACEOF
26012 #define wxUSE_REGEX 1
26013 _ACEOF
26014
26015
26016 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26017 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
26018 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
26019 wxUSE_REGEX=builtin
26020 fi
26021
26022 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26023 if test "${ac_cv_header_regex_h+set}" = set; then
26024 { echo "$as_me:$LINENO: checking for regex.h" >&5
26025 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26026 if test "${ac_cv_header_regex_h+set}" = set; then
26027 echo $ECHO_N "(cached) $ECHO_C" >&6
26028 fi
26029 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26030 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26031 else
26032 # Is the header compilable?
26033 { echo "$as_me:$LINENO: checking regex.h usability" >&5
26034 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6; }
26035 cat >conftest.$ac_ext <<_ACEOF
26036 /* confdefs.h. */
26037 _ACEOF
26038 cat confdefs.h >>conftest.$ac_ext
26039 cat >>conftest.$ac_ext <<_ACEOF
26040 /* end confdefs.h. */
26041 $ac_includes_default
26042 #include <regex.h>
26043 _ACEOF
26044 rm -f conftest.$ac_objext
26045 if { (ac_try="$ac_compile"
26046 case "(($ac_try" in
26047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26048 *) ac_try_echo=$ac_try;;
26049 esac
26050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26051 (eval "$ac_compile") 2>conftest.er1
26052 ac_status=$?
26053 grep -v '^ *+' conftest.er1 >conftest.err
26054 rm -f conftest.er1
26055 cat conftest.err >&5
26056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26057 (exit $ac_status); } && {
26058 test -z "$ac_c_werror_flag" ||
26059 test ! -s conftest.err
26060 } && test -s conftest.$ac_objext; then
26061 ac_header_compiler=yes
26062 else
26063 echo "$as_me: failed program was:" >&5
26064 sed 's/^/| /' conftest.$ac_ext >&5
26065
26066 ac_header_compiler=no
26067 fi
26068
26069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26070 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26071 echo "${ECHO_T}$ac_header_compiler" >&6; }
26072
26073 # Is the header present?
26074 { echo "$as_me:$LINENO: checking regex.h presence" >&5
26075 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6; }
26076 cat >conftest.$ac_ext <<_ACEOF
26077 /* confdefs.h. */
26078 _ACEOF
26079 cat confdefs.h >>conftest.$ac_ext
26080 cat >>conftest.$ac_ext <<_ACEOF
26081 /* end confdefs.h. */
26082 #include <regex.h>
26083 _ACEOF
26084 if { (ac_try="$ac_cpp conftest.$ac_ext"
26085 case "(($ac_try" in
26086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26087 *) ac_try_echo=$ac_try;;
26088 esac
26089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26090 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26091 ac_status=$?
26092 grep -v '^ *+' conftest.er1 >conftest.err
26093 rm -f conftest.er1
26094 cat conftest.err >&5
26095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26096 (exit $ac_status); } >/dev/null && {
26097 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26098 test ! -s conftest.err
26099 }; then
26100 ac_header_preproc=yes
26101 else
26102 echo "$as_me: failed program was:" >&5
26103 sed 's/^/| /' conftest.$ac_ext >&5
26104
26105 ac_header_preproc=no
26106 fi
26107
26108 rm -f conftest.err conftest.$ac_ext
26109 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26110 echo "${ECHO_T}$ac_header_preproc" >&6; }
26111
26112 # So? What about this header?
26113 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26114 yes:no: )
26115 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
26116 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26117 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
26118 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
26119 ac_header_preproc=yes
26120 ;;
26121 no:yes:* )
26122 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
26123 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
26124 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
26125 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
26126 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
26127 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
26128 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
26129 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
26130 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
26131 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
26132 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
26133 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
26134 ( cat <<\_ASBOX
26135 ## ----------------------------------------- ##
26136 ## Report this to wx-dev@lists.wxwidgets.org ##
26137 ## ----------------------------------------- ##
26138 _ASBOX
26139 ) | sed "s/^/$as_me: WARNING: /" >&2
26140 ;;
26141 esac
26142 { echo "$as_me:$LINENO: checking for regex.h" >&5
26143 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26144 if test "${ac_cv_header_regex_h+set}" = set; then
26145 echo $ECHO_N "(cached) $ECHO_C" >&6
26146 else
26147 ac_cv_header_regex_h=$ac_header_preproc
26148 fi
26149 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26150 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26151
26152 fi
26153 if test $ac_cv_header_regex_h = yes; then
26154
26155
26156 for ac_func in regcomp re_search
26157 do
26158 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26159 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26161 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26162 echo $ECHO_N "(cached) $ECHO_C" >&6
26163 else
26164 cat >conftest.$ac_ext <<_ACEOF
26165 /* confdefs.h. */
26166 _ACEOF
26167 cat confdefs.h >>conftest.$ac_ext
26168 cat >>conftest.$ac_ext <<_ACEOF
26169 /* end confdefs.h. */
26170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26172 #define $ac_func innocuous_$ac_func
26173
26174 /* System header to define __stub macros and hopefully few prototypes,
26175 which can conflict with char $ac_func (); below.
26176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26177 <limits.h> exists even on freestanding compilers. */
26178
26179 #ifdef __STDC__
26180 # include <limits.h>
26181 #else
26182 # include <assert.h>
26183 #endif
26184
26185 #undef $ac_func
26186
26187 /* Override any GCC internal prototype to avoid an error.
26188 Use char because int might match the return type of a GCC
26189 builtin and then its argument prototype would still apply. */
26190 #ifdef __cplusplus
26191 extern "C"
26192 #endif
26193 char $ac_func ();
26194 /* The GNU C library defines this for functions which it implements
26195 to always fail with ENOSYS. Some functions are actually named
26196 something starting with __ and the normal name is an alias. */
26197 #if defined __stub_$ac_func || defined __stub___$ac_func
26198 choke me
26199 #endif
26200
26201 int
26202 main ()
26203 {
26204 return $ac_func ();
26205 ;
26206 return 0;
26207 }
26208 _ACEOF
26209 rm -f conftest.$ac_objext conftest$ac_exeext
26210 if { (ac_try="$ac_link"
26211 case "(($ac_try" in
26212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26213 *) ac_try_echo=$ac_try;;
26214 esac
26215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26216 (eval "$ac_link") 2>conftest.er1
26217 ac_status=$?
26218 grep -v '^ *+' conftest.er1 >conftest.err
26219 rm -f conftest.er1
26220 cat conftest.err >&5
26221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26222 (exit $ac_status); } && {
26223 test -z "$ac_c_werror_flag" ||
26224 test ! -s conftest.err
26225 } && test -s conftest$ac_exeext &&
26226 $as_test_x conftest$ac_exeext; then
26227 eval "$as_ac_var=yes"
26228 else
26229 echo "$as_me: failed program was:" >&5
26230 sed 's/^/| /' conftest.$ac_ext >&5
26231
26232 eval "$as_ac_var=no"
26233 fi
26234
26235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26236 conftest$ac_exeext conftest.$ac_ext
26237 fi
26238 ac_res=`eval echo '${'$as_ac_var'}'`
26239 { echo "$as_me:$LINENO: result: $ac_res" >&5
26240 echo "${ECHO_T}$ac_res" >&6; }
26241 if test `eval echo '${'$as_ac_var'}'` = yes; then
26242 cat >>confdefs.h <<_ACEOF
26243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26244 _ACEOF
26245
26246 fi
26247 done
26248
26249 fi
26250
26251
26252
26253 if test "x$ac_cv_func_regcomp" != "xyes"; then
26254 if test "$wxUSE_REGEX" = "sys" ; then
26255 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26256 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26257 { (exit 1); exit 1; }; }
26258 else
26259 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26260 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26261 wxUSE_REGEX=builtin
26262 fi
26263 else
26264 wxUSE_REGEX=sys
26265 cat >>confdefs.h <<\_ACEOF
26266 #define WX_NO_REGEX_ADVANCED 1
26267 _ACEOF
26268
26269 fi
26270 fi
26271 fi
26272
26273
26274 ZLIB_LINK=
26275 if test "$wxUSE_ZLIB" != "no" ; then
26276 cat >>confdefs.h <<\_ACEOF
26277 #define wxUSE_ZLIB 1
26278 _ACEOF
26279
26280
26281 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26282 if test "$USE_DARWIN" = 1; then
26283 system_zlib_h_ok="yes"
26284 else
26285 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26286 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26287 if test "${ac_cv_header_zlib_h+set}" = set; then
26288 echo $ECHO_N "(cached) $ECHO_C" >&6
26289 else
26290 if test "$cross_compiling" = yes; then
26291 unset ac_cv_header_zlib_h
26292
26293 else
26294 cat >conftest.$ac_ext <<_ACEOF
26295 /* confdefs.h. */
26296 _ACEOF
26297 cat confdefs.h >>conftest.$ac_ext
26298 cat >>conftest.$ac_ext <<_ACEOF
26299 /* end confdefs.h. */
26300
26301 #include <zlib.h>
26302 #include <stdio.h>
26303
26304 int main()
26305 {
26306 FILE *f=fopen("conftestval", "w");
26307 if (!f) exit(1);
26308 fprintf(f, "%s",
26309 ZLIB_VERSION[0] == '1' &&
26310 (ZLIB_VERSION[2] > '1' ||
26311 (ZLIB_VERSION[2] == '1' &&
26312 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26313 exit(0);
26314 }
26315
26316 _ACEOF
26317 rm -f conftest$ac_exeext
26318 if { (ac_try="$ac_link"
26319 case "(($ac_try" in
26320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26321 *) ac_try_echo=$ac_try;;
26322 esac
26323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26324 (eval "$ac_link") 2>&5
26325 ac_status=$?
26326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26327 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26328 { (case "(($ac_try" in
26329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26330 *) ac_try_echo=$ac_try;;
26331 esac
26332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26333 (eval "$ac_try") 2>&5
26334 ac_status=$?
26335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26336 (exit $ac_status); }; }; then
26337 ac_cv_header_zlib_h=`cat conftestval`
26338 else
26339 echo "$as_me: program exited with status $ac_status" >&5
26340 echo "$as_me: failed program was:" >&5
26341 sed 's/^/| /' conftest.$ac_ext >&5
26342
26343 ( exit $ac_status )
26344 ac_cv_header_zlib_h=no
26345 fi
26346 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26347 fi
26348
26349
26350
26351 fi
26352 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26353 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26354 if test "${ac_cv_header_zlib_h+set}" = set; then
26355 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26356 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26357 if test "${ac_cv_header_zlib_h+set}" = set; then
26358 echo $ECHO_N "(cached) $ECHO_C" >&6
26359 fi
26360 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26361 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26362 else
26363 # Is the header compilable?
26364 { echo "$as_me:$LINENO: checking zlib.h usability" >&5
26365 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; }
26366 cat >conftest.$ac_ext <<_ACEOF
26367 /* confdefs.h. */
26368 _ACEOF
26369 cat confdefs.h >>conftest.$ac_ext
26370 cat >>conftest.$ac_ext <<_ACEOF
26371 /* end confdefs.h. */
26372 $ac_includes_default
26373 #include <zlib.h>
26374 _ACEOF
26375 rm -f conftest.$ac_objext
26376 if { (ac_try="$ac_compile"
26377 case "(($ac_try" in
26378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26379 *) ac_try_echo=$ac_try;;
26380 esac
26381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26382 (eval "$ac_compile") 2>conftest.er1
26383 ac_status=$?
26384 grep -v '^ *+' conftest.er1 >conftest.err
26385 rm -f conftest.er1
26386 cat conftest.err >&5
26387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26388 (exit $ac_status); } && {
26389 test -z "$ac_c_werror_flag" ||
26390 test ! -s conftest.err
26391 } && test -s conftest.$ac_objext; then
26392 ac_header_compiler=yes
26393 else
26394 echo "$as_me: failed program was:" >&5
26395 sed 's/^/| /' conftest.$ac_ext >&5
26396
26397 ac_header_compiler=no
26398 fi
26399
26400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26401 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26402 echo "${ECHO_T}$ac_header_compiler" >&6; }
26403
26404 # Is the header present?
26405 { echo "$as_me:$LINENO: checking zlib.h presence" >&5
26406 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; }
26407 cat >conftest.$ac_ext <<_ACEOF
26408 /* confdefs.h. */
26409 _ACEOF
26410 cat confdefs.h >>conftest.$ac_ext
26411 cat >>conftest.$ac_ext <<_ACEOF
26412 /* end confdefs.h. */
26413 #include <zlib.h>
26414 _ACEOF
26415 if { (ac_try="$ac_cpp conftest.$ac_ext"
26416 case "(($ac_try" in
26417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26418 *) ac_try_echo=$ac_try;;
26419 esac
26420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26421 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26422 ac_status=$?
26423 grep -v '^ *+' conftest.er1 >conftest.err
26424 rm -f conftest.er1
26425 cat conftest.err >&5
26426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26427 (exit $ac_status); } >/dev/null && {
26428 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26429 test ! -s conftest.err
26430 }; then
26431 ac_header_preproc=yes
26432 else
26433 echo "$as_me: failed program was:" >&5
26434 sed 's/^/| /' conftest.$ac_ext >&5
26435
26436 ac_header_preproc=no
26437 fi
26438
26439 rm -f conftest.err conftest.$ac_ext
26440 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26441 echo "${ECHO_T}$ac_header_preproc" >&6; }
26442
26443 # So? What about this header?
26444 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26445 yes:no: )
26446 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
26447 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26448 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
26449 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
26450 ac_header_preproc=yes
26451 ;;
26452 no:yes:* )
26453 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
26454 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
26455 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
26456 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
26457 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
26458 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
26459 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
26460 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
26461 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
26462 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
26463 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
26464 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
26465 ( cat <<\_ASBOX
26466 ## ----------------------------------------- ##
26467 ## Report this to wx-dev@lists.wxwidgets.org ##
26468 ## ----------------------------------------- ##
26469 _ASBOX
26470 ) | sed "s/^/$as_me: WARNING: /" >&2
26471 ;;
26472 esac
26473 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26474 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26475 if test "${ac_cv_header_zlib_h+set}" = set; then
26476 echo $ECHO_N "(cached) $ECHO_C" >&6
26477 else
26478 ac_cv_header_zlib_h=$ac_header_preproc
26479 fi
26480 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26481 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26482
26483 fi
26484
26485
26486
26487 system_zlib_h_ok=$ac_cv_header_zlib_h
26488 fi
26489
26490 if test "$system_zlib_h_ok" = "yes"; then
26491 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26492 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26493 if test "${ac_cv_lib_z_deflate+set}" = set; then
26494 echo $ECHO_N "(cached) $ECHO_C" >&6
26495 else
26496 ac_check_lib_save_LIBS=$LIBS
26497 LIBS="-lz $LIBS"
26498 cat >conftest.$ac_ext <<_ACEOF
26499 /* confdefs.h. */
26500 _ACEOF
26501 cat confdefs.h >>conftest.$ac_ext
26502 cat >>conftest.$ac_ext <<_ACEOF
26503 /* end confdefs.h. */
26504
26505 /* Override any GCC internal prototype to avoid an error.
26506 Use char because int might match the return type of a GCC
26507 builtin and then its argument prototype would still apply. */
26508 #ifdef __cplusplus
26509 extern "C"
26510 #endif
26511 char deflate ();
26512 int
26513 main ()
26514 {
26515 return deflate ();
26516 ;
26517 return 0;
26518 }
26519 _ACEOF
26520 rm -f conftest.$ac_objext conftest$ac_exeext
26521 if { (ac_try="$ac_link"
26522 case "(($ac_try" in
26523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26524 *) ac_try_echo=$ac_try;;
26525 esac
26526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26527 (eval "$ac_link") 2>conftest.er1
26528 ac_status=$?
26529 grep -v '^ *+' conftest.er1 >conftest.err
26530 rm -f conftest.er1
26531 cat conftest.err >&5
26532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26533 (exit $ac_status); } && {
26534 test -z "$ac_c_werror_flag" ||
26535 test ! -s conftest.err
26536 } && test -s conftest$ac_exeext &&
26537 $as_test_x conftest$ac_exeext; then
26538 ac_cv_lib_z_deflate=yes
26539 else
26540 echo "$as_me: failed program was:" >&5
26541 sed 's/^/| /' conftest.$ac_ext >&5
26542
26543 ac_cv_lib_z_deflate=no
26544 fi
26545
26546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26547 conftest$ac_exeext conftest.$ac_ext
26548 LIBS=$ac_check_lib_save_LIBS
26549 fi
26550 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26551 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26552 if test $ac_cv_lib_z_deflate = yes; then
26553 ZLIB_LINK=" -lz"
26554 fi
26555
26556 fi
26557
26558 if test "x$ZLIB_LINK" = "x" ; then
26559 if test "$wxUSE_ZLIB" = "sys" ; then
26560 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26561 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26562 { (exit 1); exit 1; }; }
26563 else
26564 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26565 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26566 wxUSE_ZLIB=builtin
26567 fi
26568 else
26569 wxUSE_ZLIB=sys
26570 fi
26571 fi
26572 fi
26573
26574
26575 PNG_LINK=
26576 if test "$wxUSE_LIBPNG" != "no" ; then
26577 cat >>confdefs.h <<\_ACEOF
26578 #define wxUSE_LIBPNG 1
26579 _ACEOF
26580
26581
26582 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26583 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26584 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26585 wxUSE_LIBPNG=sys
26586 fi
26587
26588 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26589 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26590 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26591 wxUSE_LIBPNG=builtin
26592 fi
26593
26594 if test "$wxUSE_MGL" != 1 ; then
26595 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26596 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26597 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26598 if test "${ac_cv_header_png_h+set}" = set; then
26599 echo $ECHO_N "(cached) $ECHO_C" >&6
26600 else
26601 if test "$cross_compiling" = yes; then
26602 unset ac_cv_header_png_h
26603
26604 else
26605 cat >conftest.$ac_ext <<_ACEOF
26606 /* confdefs.h. */
26607 _ACEOF
26608 cat confdefs.h >>conftest.$ac_ext
26609 cat >>conftest.$ac_ext <<_ACEOF
26610 /* end confdefs.h. */
26611
26612 #include <png.h>
26613 #include <stdio.h>
26614
26615 int main()
26616 {
26617 FILE *f=fopen("conftestval", "w");
26618 if (!f) exit(1);
26619 fprintf(f, "%s",
26620 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26621 exit(0);
26622 }
26623
26624 _ACEOF
26625 rm -f conftest$ac_exeext
26626 if { (ac_try="$ac_link"
26627 case "(($ac_try" in
26628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26629 *) ac_try_echo=$ac_try;;
26630 esac
26631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26632 (eval "$ac_link") 2>&5
26633 ac_status=$?
26634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26635 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26636 { (case "(($ac_try" in
26637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26638 *) ac_try_echo=$ac_try;;
26639 esac
26640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26641 (eval "$ac_try") 2>&5
26642 ac_status=$?
26643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26644 (exit $ac_status); }; }; then
26645 ac_cv_header_png_h=`cat conftestval`
26646 else
26647 echo "$as_me: program exited with status $ac_status" >&5
26648 echo "$as_me: failed program was:" >&5
26649 sed 's/^/| /' conftest.$ac_ext >&5
26650
26651 ( exit $ac_status )
26652 ac_cv_header_png_h=no
26653 fi
26654 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26655 fi
26656
26657
26658
26659 fi
26660 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26661 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26662 if test "${ac_cv_header_png_h+set}" = set; then
26663 { echo "$as_me:$LINENO: checking for png.h" >&5
26664 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26665 if test "${ac_cv_header_png_h+set}" = set; then
26666 echo $ECHO_N "(cached) $ECHO_C" >&6
26667 fi
26668 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26669 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26670 else
26671 # Is the header compilable?
26672 { echo "$as_me:$LINENO: checking png.h usability" >&5
26673 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6; }
26674 cat >conftest.$ac_ext <<_ACEOF
26675 /* confdefs.h. */
26676 _ACEOF
26677 cat confdefs.h >>conftest.$ac_ext
26678 cat >>conftest.$ac_ext <<_ACEOF
26679 /* end confdefs.h. */
26680 $ac_includes_default
26681 #include <png.h>
26682 _ACEOF
26683 rm -f conftest.$ac_objext
26684 if { (ac_try="$ac_compile"
26685 case "(($ac_try" in
26686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26687 *) ac_try_echo=$ac_try;;
26688 esac
26689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26690 (eval "$ac_compile") 2>conftest.er1
26691 ac_status=$?
26692 grep -v '^ *+' conftest.er1 >conftest.err
26693 rm -f conftest.er1
26694 cat conftest.err >&5
26695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26696 (exit $ac_status); } && {
26697 test -z "$ac_c_werror_flag" ||
26698 test ! -s conftest.err
26699 } && test -s conftest.$ac_objext; then
26700 ac_header_compiler=yes
26701 else
26702 echo "$as_me: failed program was:" >&5
26703 sed 's/^/| /' conftest.$ac_ext >&5
26704
26705 ac_header_compiler=no
26706 fi
26707
26708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26709 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26710 echo "${ECHO_T}$ac_header_compiler" >&6; }
26711
26712 # Is the header present?
26713 { echo "$as_me:$LINENO: checking png.h presence" >&5
26714 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6; }
26715 cat >conftest.$ac_ext <<_ACEOF
26716 /* confdefs.h. */
26717 _ACEOF
26718 cat confdefs.h >>conftest.$ac_ext
26719 cat >>conftest.$ac_ext <<_ACEOF
26720 /* end confdefs.h. */
26721 #include <png.h>
26722 _ACEOF
26723 if { (ac_try="$ac_cpp conftest.$ac_ext"
26724 case "(($ac_try" in
26725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26726 *) ac_try_echo=$ac_try;;
26727 esac
26728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26729 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26730 ac_status=$?
26731 grep -v '^ *+' conftest.er1 >conftest.err
26732 rm -f conftest.er1
26733 cat conftest.err >&5
26734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26735 (exit $ac_status); } >/dev/null && {
26736 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26737 test ! -s conftest.err
26738 }; then
26739 ac_header_preproc=yes
26740 else
26741 echo "$as_me: failed program was:" >&5
26742 sed 's/^/| /' conftest.$ac_ext >&5
26743
26744 ac_header_preproc=no
26745 fi
26746
26747 rm -f conftest.err conftest.$ac_ext
26748 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26749 echo "${ECHO_T}$ac_header_preproc" >&6; }
26750
26751 # So? What about this header?
26752 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26753 yes:no: )
26754 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
26755 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26756 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
26757 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
26758 ac_header_preproc=yes
26759 ;;
26760 no:yes:* )
26761 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
26762 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
26763 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
26764 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
26765 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
26766 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
26767 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
26768 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
26769 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
26770 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
26771 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
26772 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
26773 ( cat <<\_ASBOX
26774 ## ----------------------------------------- ##
26775 ## Report this to wx-dev@lists.wxwidgets.org ##
26776 ## ----------------------------------------- ##
26777 _ASBOX
26778 ) | sed "s/^/$as_me: WARNING: /" >&2
26779 ;;
26780 esac
26781 { echo "$as_me:$LINENO: checking for png.h" >&5
26782 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26783 if test "${ac_cv_header_png_h+set}" = set; then
26784 echo $ECHO_N "(cached) $ECHO_C" >&6
26785 else
26786 ac_cv_header_png_h=$ac_header_preproc
26787 fi
26788 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26789 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26790
26791 fi
26792
26793
26794
26795 if test "$ac_cv_header_png_h" = "yes"; then
26796 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26797 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26798 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26799 echo $ECHO_N "(cached) $ECHO_C" >&6
26800 else
26801 ac_check_lib_save_LIBS=$LIBS
26802 LIBS="-lpng -lz -lm $LIBS"
26803 cat >conftest.$ac_ext <<_ACEOF
26804 /* confdefs.h. */
26805 _ACEOF
26806 cat confdefs.h >>conftest.$ac_ext
26807 cat >>conftest.$ac_ext <<_ACEOF
26808 /* end confdefs.h. */
26809
26810 /* Override any GCC internal prototype to avoid an error.
26811 Use char because int might match the return type of a GCC
26812 builtin and then its argument prototype would still apply. */
26813 #ifdef __cplusplus
26814 extern "C"
26815 #endif
26816 char png_check_sig ();
26817 int
26818 main ()
26819 {
26820 return png_check_sig ();
26821 ;
26822 return 0;
26823 }
26824 _ACEOF
26825 rm -f conftest.$ac_objext conftest$ac_exeext
26826 if { (ac_try="$ac_link"
26827 case "(($ac_try" in
26828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26829 *) ac_try_echo=$ac_try;;
26830 esac
26831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26832 (eval "$ac_link") 2>conftest.er1
26833 ac_status=$?
26834 grep -v '^ *+' conftest.er1 >conftest.err
26835 rm -f conftest.er1
26836 cat conftest.err >&5
26837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26838 (exit $ac_status); } && {
26839 test -z "$ac_c_werror_flag" ||
26840 test ! -s conftest.err
26841 } && test -s conftest$ac_exeext &&
26842 $as_test_x conftest$ac_exeext; then
26843 ac_cv_lib_png_png_check_sig=yes
26844 else
26845 echo "$as_me: failed program was:" >&5
26846 sed 's/^/| /' conftest.$ac_ext >&5
26847
26848 ac_cv_lib_png_png_check_sig=no
26849 fi
26850
26851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26852 conftest$ac_exeext conftest.$ac_ext
26853 LIBS=$ac_check_lib_save_LIBS
26854 fi
26855 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26856 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26857 if test $ac_cv_lib_png_png_check_sig = yes; then
26858 PNG_LINK=" -lpng -lz"
26859 fi
26860
26861 fi
26862
26863 if test "x$PNG_LINK" = "x" ; then
26864 if test "$wxUSE_LIBPNG" = "sys" ; then
26865 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26866 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26867 { (exit 1); exit 1; }; }
26868 else
26869 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26870 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26871 wxUSE_LIBPNG=builtin
26872 fi
26873 else
26874 wxUSE_LIBPNG=sys
26875 fi
26876 fi
26877 fi
26878
26879 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
26880 fi
26881
26882
26883 JPEG_LINK=
26884 if test "$wxUSE_LIBJPEG" != "no" ; then
26885 cat >>confdefs.h <<\_ACEOF
26886 #define wxUSE_LIBJPEG 1
26887 _ACEOF
26888
26889
26890 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26891 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26892 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26893 wxUSE_LIBJPEG=sys
26894 fi
26895
26896 if test "$wxUSE_MGL" != 1 ; then
26897 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26898 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26899 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26900 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26901 echo $ECHO_N "(cached) $ECHO_C" >&6
26902 else
26903 cat >conftest.$ac_ext <<_ACEOF
26904 /* confdefs.h. */
26905 _ACEOF
26906 cat confdefs.h >>conftest.$ac_ext
26907 cat >>conftest.$ac_ext <<_ACEOF
26908 /* end confdefs.h. */
26909
26910 #undef HAVE_STDLIB_H
26911 #include <stdio.h>
26912 #include <jpeglib.h>
26913
26914 int
26915 main ()
26916 {
26917
26918
26919 ;
26920 return 0;
26921 }
26922 _ACEOF
26923 rm -f conftest.$ac_objext
26924 if { (ac_try="$ac_compile"
26925 case "(($ac_try" in
26926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26927 *) ac_try_echo=$ac_try;;
26928 esac
26929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26930 (eval "$ac_compile") 2>conftest.er1
26931 ac_status=$?
26932 grep -v '^ *+' conftest.er1 >conftest.err
26933 rm -f conftest.er1
26934 cat conftest.err >&5
26935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26936 (exit $ac_status); } && {
26937 test -z "$ac_c_werror_flag" ||
26938 test ! -s conftest.err
26939 } && test -s conftest.$ac_objext; then
26940 ac_cv_header_jpeglib_h=yes
26941 else
26942 echo "$as_me: failed program was:" >&5
26943 sed 's/^/| /' conftest.$ac_ext >&5
26944
26945 ac_cv_header_jpeglib_h=no
26946
26947 fi
26948
26949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26950
26951 fi
26952
26953 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26954 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26955
26956 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26957 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26958 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26959 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26960 echo $ECHO_N "(cached) $ECHO_C" >&6
26961 else
26962 ac_check_lib_save_LIBS=$LIBS
26963 LIBS="-ljpeg $LIBS"
26964 cat >conftest.$ac_ext <<_ACEOF
26965 /* confdefs.h. */
26966 _ACEOF
26967 cat confdefs.h >>conftest.$ac_ext
26968 cat >>conftest.$ac_ext <<_ACEOF
26969 /* end confdefs.h. */
26970
26971 /* Override any GCC internal prototype to avoid an error.
26972 Use char because int might match the return type of a GCC
26973 builtin and then its argument prototype would still apply. */
26974 #ifdef __cplusplus
26975 extern "C"
26976 #endif
26977 char jpeg_read_header ();
26978 int
26979 main ()
26980 {
26981 return jpeg_read_header ();
26982 ;
26983 return 0;
26984 }
26985 _ACEOF
26986 rm -f conftest.$ac_objext conftest$ac_exeext
26987 if { (ac_try="$ac_link"
26988 case "(($ac_try" in
26989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26990 *) ac_try_echo=$ac_try;;
26991 esac
26992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26993 (eval "$ac_link") 2>conftest.er1
26994 ac_status=$?
26995 grep -v '^ *+' conftest.er1 >conftest.err
26996 rm -f conftest.er1
26997 cat conftest.err >&5
26998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26999 (exit $ac_status); } && {
27000 test -z "$ac_c_werror_flag" ||
27001 test ! -s conftest.err
27002 } && test -s conftest$ac_exeext &&
27003 $as_test_x conftest$ac_exeext; then
27004 ac_cv_lib_jpeg_jpeg_read_header=yes
27005 else
27006 echo "$as_me: failed program was:" >&5
27007 sed 's/^/| /' conftest.$ac_ext >&5
27008
27009 ac_cv_lib_jpeg_jpeg_read_header=no
27010 fi
27011
27012 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27013 conftest$ac_exeext conftest.$ac_ext
27014 LIBS=$ac_check_lib_save_LIBS
27015 fi
27016 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27017 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27018 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27019 JPEG_LINK=" -ljpeg"
27020 fi
27021
27022 fi
27023
27024 if test "x$JPEG_LINK" = "x" ; then
27025 if test "$wxUSE_LIBJPEG" = "sys" ; then
27026 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27027 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27028 { (exit 1); exit 1; }; }
27029 else
27030 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27031 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27032 wxUSE_LIBJPEG=builtin
27033 fi
27034 else
27035 wxUSE_LIBJPEG=sys
27036
27037 if test "$wxUSE_MSW" = 1; then
27038 { echo "$as_me:$LINENO: checking for boolean" >&5
27039 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27040 if test "${ac_cv_type_boolean+set}" = set; then
27041 echo $ECHO_N "(cached) $ECHO_C" >&6
27042 else
27043 cat >conftest.$ac_ext <<_ACEOF
27044 /* confdefs.h. */
27045 _ACEOF
27046 cat confdefs.h >>conftest.$ac_ext
27047 cat >>conftest.$ac_ext <<_ACEOF
27048 /* end confdefs.h. */
27049 #include <windows.h>
27050
27051 typedef boolean ac__type_new_;
27052 int
27053 main ()
27054 {
27055 if ((ac__type_new_ *) 0)
27056 return 0;
27057 if (sizeof (ac__type_new_))
27058 return 0;
27059 ;
27060 return 0;
27061 }
27062 _ACEOF
27063 rm -f conftest.$ac_objext
27064 if { (ac_try="$ac_compile"
27065 case "(($ac_try" in
27066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27067 *) ac_try_echo=$ac_try;;
27068 esac
27069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27070 (eval "$ac_compile") 2>conftest.er1
27071 ac_status=$?
27072 grep -v '^ *+' conftest.er1 >conftest.err
27073 rm -f conftest.er1
27074 cat conftest.err >&5
27075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27076 (exit $ac_status); } && {
27077 test -z "$ac_c_werror_flag" ||
27078 test ! -s conftest.err
27079 } && test -s conftest.$ac_objext; then
27080 ac_cv_type_boolean=yes
27081 else
27082 echo "$as_me: failed program was:" >&5
27083 sed 's/^/| /' conftest.$ac_ext >&5
27084
27085 ac_cv_type_boolean=no
27086 fi
27087
27088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27089 fi
27090 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27091 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27092 if test $ac_cv_type_boolean = yes; then
27093
27094 cat >>confdefs.h <<_ACEOF
27095 #define HAVE_BOOLEAN 1
27096 _ACEOF
27097
27098
27099 { echo "$as_me:$LINENO: checking for boolean" >&5
27100 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27101 if test "${ac_cv_type_boolean+set}" = set; then
27102 echo $ECHO_N "(cached) $ECHO_C" >&6
27103 else
27104 cat >conftest.$ac_ext <<_ACEOF
27105 /* confdefs.h. */
27106 _ACEOF
27107 cat confdefs.h >>conftest.$ac_ext
27108 cat >>conftest.$ac_ext <<_ACEOF
27109 /* end confdefs.h. */
27110
27111 #undef HAVE_BOOLEAN
27112 #include <stdio.h>
27113 #include <jpeglib.h>
27114
27115
27116 typedef boolean ac__type_new_;
27117 int
27118 main ()
27119 {
27120 if ((ac__type_new_ *) 0)
27121 return 0;
27122 if (sizeof (ac__type_new_))
27123 return 0;
27124 ;
27125 return 0;
27126 }
27127 _ACEOF
27128 rm -f conftest.$ac_objext
27129 if { (ac_try="$ac_compile"
27130 case "(($ac_try" in
27131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27132 *) ac_try_echo=$ac_try;;
27133 esac
27134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27135 (eval "$ac_compile") 2>conftest.er1
27136 ac_status=$?
27137 grep -v '^ *+' conftest.er1 >conftest.err
27138 rm -f conftest.er1
27139 cat conftest.err >&5
27140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27141 (exit $ac_status); } && {
27142 test -z "$ac_c_werror_flag" ||
27143 test ! -s conftest.err
27144 } && test -s conftest.$ac_objext; then
27145 ac_cv_type_boolean=yes
27146 else
27147 echo "$as_me: failed program was:" >&5
27148 sed 's/^/| /' conftest.$ac_ext >&5
27149
27150 ac_cv_type_boolean=no
27151 fi
27152
27153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27154 fi
27155 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27156 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27157
27158 # The cast to long int works around a bug in the HP C Compiler
27159 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27160 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27161 # This bug is HP SR number 8606223364.
27162 { echo "$as_me:$LINENO: checking size of boolean" >&5
27163 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27164 if test "${ac_cv_sizeof_boolean+set}" = set; then
27165 echo $ECHO_N "(cached) $ECHO_C" >&6
27166 else
27167 if test "$cross_compiling" = yes; then
27168 # Depending upon the size, compute the lo and hi bounds.
27169 cat >conftest.$ac_ext <<_ACEOF
27170 /* confdefs.h. */
27171 _ACEOF
27172 cat confdefs.h >>conftest.$ac_ext
27173 cat >>conftest.$ac_ext <<_ACEOF
27174 /* end confdefs.h. */
27175
27176 #undef HAVE_BOOLEAN
27177 #include <stdio.h>
27178 #include <jpeglib.h>
27179
27180
27181 typedef boolean ac__type_sizeof_;
27182 int
27183 main ()
27184 {
27185 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27186 test_array [0] = 0
27187
27188 ;
27189 return 0;
27190 }
27191 _ACEOF
27192 rm -f conftest.$ac_objext
27193 if { (ac_try="$ac_compile"
27194 case "(($ac_try" in
27195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27196 *) ac_try_echo=$ac_try;;
27197 esac
27198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27199 (eval "$ac_compile") 2>conftest.er1
27200 ac_status=$?
27201 grep -v '^ *+' conftest.er1 >conftest.err
27202 rm -f conftest.er1
27203 cat conftest.err >&5
27204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27205 (exit $ac_status); } && {
27206 test -z "$ac_c_werror_flag" ||
27207 test ! -s conftest.err
27208 } && test -s conftest.$ac_objext; then
27209 ac_lo=0 ac_mid=0
27210 while :; do
27211 cat >conftest.$ac_ext <<_ACEOF
27212 /* confdefs.h. */
27213 _ACEOF
27214 cat confdefs.h >>conftest.$ac_ext
27215 cat >>conftest.$ac_ext <<_ACEOF
27216 /* end confdefs.h. */
27217
27218 #undef HAVE_BOOLEAN
27219 #include <stdio.h>
27220 #include <jpeglib.h>
27221
27222
27223 typedef boolean ac__type_sizeof_;
27224 int
27225 main ()
27226 {
27227 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27228 test_array [0] = 0
27229
27230 ;
27231 return 0;
27232 }
27233 _ACEOF
27234 rm -f conftest.$ac_objext
27235 if { (ac_try="$ac_compile"
27236 case "(($ac_try" in
27237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27238 *) ac_try_echo=$ac_try;;
27239 esac
27240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27241 (eval "$ac_compile") 2>conftest.er1
27242 ac_status=$?
27243 grep -v '^ *+' conftest.er1 >conftest.err
27244 rm -f conftest.er1
27245 cat conftest.err >&5
27246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27247 (exit $ac_status); } && {
27248 test -z "$ac_c_werror_flag" ||
27249 test ! -s conftest.err
27250 } && test -s conftest.$ac_objext; then
27251 ac_hi=$ac_mid; break
27252 else
27253 echo "$as_me: failed program was:" >&5
27254 sed 's/^/| /' conftest.$ac_ext >&5
27255
27256 ac_lo=`expr $ac_mid + 1`
27257 if test $ac_lo -le $ac_mid; then
27258 ac_lo= ac_hi=
27259 break
27260 fi
27261 ac_mid=`expr 2 '*' $ac_mid + 1`
27262 fi
27263
27264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27265 done
27266 else
27267 echo "$as_me: failed program was:" >&5
27268 sed 's/^/| /' conftest.$ac_ext >&5
27269
27270 cat >conftest.$ac_ext <<_ACEOF
27271 /* confdefs.h. */
27272 _ACEOF
27273 cat confdefs.h >>conftest.$ac_ext
27274 cat >>conftest.$ac_ext <<_ACEOF
27275 /* end confdefs.h. */
27276
27277 #undef HAVE_BOOLEAN
27278 #include <stdio.h>
27279 #include <jpeglib.h>
27280
27281
27282 typedef boolean ac__type_sizeof_;
27283 int
27284 main ()
27285 {
27286 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27287 test_array [0] = 0
27288
27289 ;
27290 return 0;
27291 }
27292 _ACEOF
27293 rm -f conftest.$ac_objext
27294 if { (ac_try="$ac_compile"
27295 case "(($ac_try" in
27296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27297 *) ac_try_echo=$ac_try;;
27298 esac
27299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27300 (eval "$ac_compile") 2>conftest.er1
27301 ac_status=$?
27302 grep -v '^ *+' conftest.er1 >conftest.err
27303 rm -f conftest.er1
27304 cat conftest.err >&5
27305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27306 (exit $ac_status); } && {
27307 test -z "$ac_c_werror_flag" ||
27308 test ! -s conftest.err
27309 } && test -s conftest.$ac_objext; then
27310 ac_hi=-1 ac_mid=-1
27311 while :; do
27312 cat >conftest.$ac_ext <<_ACEOF
27313 /* confdefs.h. */
27314 _ACEOF
27315 cat confdefs.h >>conftest.$ac_ext
27316 cat >>conftest.$ac_ext <<_ACEOF
27317 /* end confdefs.h. */
27318
27319 #undef HAVE_BOOLEAN
27320 #include <stdio.h>
27321 #include <jpeglib.h>
27322
27323
27324 typedef boolean ac__type_sizeof_;
27325 int
27326 main ()
27327 {
27328 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27329 test_array [0] = 0
27330
27331 ;
27332 return 0;
27333 }
27334 _ACEOF
27335 rm -f conftest.$ac_objext
27336 if { (ac_try="$ac_compile"
27337 case "(($ac_try" in
27338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27339 *) ac_try_echo=$ac_try;;
27340 esac
27341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27342 (eval "$ac_compile") 2>conftest.er1
27343 ac_status=$?
27344 grep -v '^ *+' conftest.er1 >conftest.err
27345 rm -f conftest.er1
27346 cat conftest.err >&5
27347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27348 (exit $ac_status); } && {
27349 test -z "$ac_c_werror_flag" ||
27350 test ! -s conftest.err
27351 } && test -s conftest.$ac_objext; then
27352 ac_lo=$ac_mid; break
27353 else
27354 echo "$as_me: failed program was:" >&5
27355 sed 's/^/| /' conftest.$ac_ext >&5
27356
27357 ac_hi=`expr '(' $ac_mid ')' - 1`
27358 if test $ac_mid -le $ac_hi; then
27359 ac_lo= ac_hi=
27360 break
27361 fi
27362 ac_mid=`expr 2 '*' $ac_mid`
27363 fi
27364
27365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27366 done
27367 else
27368 echo "$as_me: failed program was:" >&5
27369 sed 's/^/| /' conftest.$ac_ext >&5
27370
27371 ac_lo= ac_hi=
27372 fi
27373
27374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27375 fi
27376
27377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27378 # Binary search between lo and hi bounds.
27379 while test "x$ac_lo" != "x$ac_hi"; do
27380 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27381 cat >conftest.$ac_ext <<_ACEOF
27382 /* confdefs.h. */
27383 _ACEOF
27384 cat confdefs.h >>conftest.$ac_ext
27385 cat >>conftest.$ac_ext <<_ACEOF
27386 /* end confdefs.h. */
27387
27388 #undef HAVE_BOOLEAN
27389 #include <stdio.h>
27390 #include <jpeglib.h>
27391
27392
27393 typedef boolean ac__type_sizeof_;
27394 int
27395 main ()
27396 {
27397 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27398 test_array [0] = 0
27399
27400 ;
27401 return 0;
27402 }
27403 _ACEOF
27404 rm -f conftest.$ac_objext
27405 if { (ac_try="$ac_compile"
27406 case "(($ac_try" in
27407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27408 *) ac_try_echo=$ac_try;;
27409 esac
27410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27411 (eval "$ac_compile") 2>conftest.er1
27412 ac_status=$?
27413 grep -v '^ *+' conftest.er1 >conftest.err
27414 rm -f conftest.er1
27415 cat conftest.err >&5
27416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27417 (exit $ac_status); } && {
27418 test -z "$ac_c_werror_flag" ||
27419 test ! -s conftest.err
27420 } && test -s conftest.$ac_objext; then
27421 ac_hi=$ac_mid
27422 else
27423 echo "$as_me: failed program was:" >&5
27424 sed 's/^/| /' conftest.$ac_ext >&5
27425
27426 ac_lo=`expr '(' $ac_mid ')' + 1`
27427 fi
27428
27429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27430 done
27431 case $ac_lo in
27432 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27433 '') if test "$ac_cv_type_boolean" = yes; then
27434 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27435 See \`config.log' for more details." >&5
27436 echo "$as_me: error: cannot compute sizeof (boolean)
27437 See \`config.log' for more details." >&2;}
27438 { (exit 77); exit 77; }; }
27439 else
27440 ac_cv_sizeof_boolean=0
27441 fi ;;
27442 esac
27443 else
27444 cat >conftest.$ac_ext <<_ACEOF
27445 /* confdefs.h. */
27446 _ACEOF
27447 cat confdefs.h >>conftest.$ac_ext
27448 cat >>conftest.$ac_ext <<_ACEOF
27449 /* end confdefs.h. */
27450
27451 #undef HAVE_BOOLEAN
27452 #include <stdio.h>
27453 #include <jpeglib.h>
27454
27455
27456 typedef boolean ac__type_sizeof_;
27457 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27458 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27459 #include <stdio.h>
27460 #include <stdlib.h>
27461 int
27462 main ()
27463 {
27464
27465 FILE *f = fopen ("conftest.val", "w");
27466 if (! f)
27467 return 1;
27468 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27469 {
27470 long int i = longval ();
27471 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27472 return 1;
27473 fprintf (f, "%ld\n", i);
27474 }
27475 else
27476 {
27477 unsigned long int i = ulongval ();
27478 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27479 return 1;
27480 fprintf (f, "%lu\n", i);
27481 }
27482 return ferror (f) || fclose (f) != 0;
27483
27484 ;
27485 return 0;
27486 }
27487 _ACEOF
27488 rm -f conftest$ac_exeext
27489 if { (ac_try="$ac_link"
27490 case "(($ac_try" in
27491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27492 *) ac_try_echo=$ac_try;;
27493 esac
27494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27495 (eval "$ac_link") 2>&5
27496 ac_status=$?
27497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27498 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27499 { (case "(($ac_try" in
27500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27501 *) ac_try_echo=$ac_try;;
27502 esac
27503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27504 (eval "$ac_try") 2>&5
27505 ac_status=$?
27506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27507 (exit $ac_status); }; }; then
27508 ac_cv_sizeof_boolean=`cat conftest.val`
27509 else
27510 echo "$as_me: program exited with status $ac_status" >&5
27511 echo "$as_me: failed program was:" >&5
27512 sed 's/^/| /' conftest.$ac_ext >&5
27513
27514 ( exit $ac_status )
27515 if test "$ac_cv_type_boolean" = yes; then
27516 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27517 See \`config.log' for more details." >&5
27518 echo "$as_me: error: cannot compute sizeof (boolean)
27519 See \`config.log' for more details." >&2;}
27520 { (exit 77); exit 77; }; }
27521 else
27522 ac_cv_sizeof_boolean=0
27523 fi
27524 fi
27525 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27526 fi
27527 rm -f conftest.val
27528 fi
27529 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27530 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27531
27532
27533
27534 cat >>confdefs.h <<_ACEOF
27535 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27536 _ACEOF
27537
27538
27539 cat >>confdefs.h <<_ACEOF
27540 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27541 _ACEOF
27542
27543
27544 fi
27545
27546 fi
27547 fi
27548 fi
27549 fi
27550 fi
27551
27552
27553 TIFF_LINK=
27554 TIFF_PREREQ_LINKS=-lm
27555 if test "$wxUSE_LIBTIFF" != "no" ; then
27556 cat >>confdefs.h <<\_ACEOF
27557 #define wxUSE_LIBTIFF 1
27558 _ACEOF
27559
27560
27561 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27562 if test "$wxUSE_LIBJPEG" = "sys"; then
27563 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27564 fi
27565 if test "$wxUSE_ZLIB" = "sys"; then
27566 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27567 fi
27568 if test "${ac_cv_header_tiffio_h+set}" = set; then
27569 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27570 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27571 if test "${ac_cv_header_tiffio_h+set}" = set; then
27572 echo $ECHO_N "(cached) $ECHO_C" >&6
27573 fi
27574 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27575 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27576 else
27577 # Is the header compilable?
27578 { echo "$as_me:$LINENO: checking tiffio.h usability" >&5
27579 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6; }
27580 cat >conftest.$ac_ext <<_ACEOF
27581 /* confdefs.h. */
27582 _ACEOF
27583 cat confdefs.h >>conftest.$ac_ext
27584 cat >>conftest.$ac_ext <<_ACEOF
27585 /* end confdefs.h. */
27586 $ac_includes_default
27587 #include <tiffio.h>
27588 _ACEOF
27589 rm -f conftest.$ac_objext
27590 if { (ac_try="$ac_compile"
27591 case "(($ac_try" in
27592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27593 *) ac_try_echo=$ac_try;;
27594 esac
27595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27596 (eval "$ac_compile") 2>conftest.er1
27597 ac_status=$?
27598 grep -v '^ *+' conftest.er1 >conftest.err
27599 rm -f conftest.er1
27600 cat conftest.err >&5
27601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27602 (exit $ac_status); } && {
27603 test -z "$ac_c_werror_flag" ||
27604 test ! -s conftest.err
27605 } && test -s conftest.$ac_objext; then
27606 ac_header_compiler=yes
27607 else
27608 echo "$as_me: failed program was:" >&5
27609 sed 's/^/| /' conftest.$ac_ext >&5
27610
27611 ac_header_compiler=no
27612 fi
27613
27614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27615 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27616 echo "${ECHO_T}$ac_header_compiler" >&6; }
27617
27618 # Is the header present?
27619 { echo "$as_me:$LINENO: checking tiffio.h presence" >&5
27620 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6; }
27621 cat >conftest.$ac_ext <<_ACEOF
27622 /* confdefs.h. */
27623 _ACEOF
27624 cat confdefs.h >>conftest.$ac_ext
27625 cat >>conftest.$ac_ext <<_ACEOF
27626 /* end confdefs.h. */
27627 #include <tiffio.h>
27628 _ACEOF
27629 if { (ac_try="$ac_cpp conftest.$ac_ext"
27630 case "(($ac_try" in
27631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27632 *) ac_try_echo=$ac_try;;
27633 esac
27634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27635 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27636 ac_status=$?
27637 grep -v '^ *+' conftest.er1 >conftest.err
27638 rm -f conftest.er1
27639 cat conftest.err >&5
27640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27641 (exit $ac_status); } >/dev/null && {
27642 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27643 test ! -s conftest.err
27644 }; then
27645 ac_header_preproc=yes
27646 else
27647 echo "$as_me: failed program was:" >&5
27648 sed 's/^/| /' conftest.$ac_ext >&5
27649
27650 ac_header_preproc=no
27651 fi
27652
27653 rm -f conftest.err conftest.$ac_ext
27654 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27655 echo "${ECHO_T}$ac_header_preproc" >&6; }
27656
27657 # So? What about this header?
27658 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27659 yes:no: )
27660 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
27661 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27662 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
27663 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
27664 ac_header_preproc=yes
27665 ;;
27666 no:yes:* )
27667 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
27668 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
27669 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
27670 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
27671 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
27672 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
27673 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
27674 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
27675 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
27676 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
27677 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
27678 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
27679 ( cat <<\_ASBOX
27680 ## ----------------------------------------- ##
27681 ## Report this to wx-dev@lists.wxwidgets.org ##
27682 ## ----------------------------------------- ##
27683 _ASBOX
27684 ) | sed "s/^/$as_me: WARNING: /" >&2
27685 ;;
27686 esac
27687 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27688 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27689 if test "${ac_cv_header_tiffio_h+set}" = set; then
27690 echo $ECHO_N "(cached) $ECHO_C" >&6
27691 else
27692 ac_cv_header_tiffio_h=$ac_header_preproc
27693 fi
27694 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27695 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27696
27697 fi
27698 if test $ac_cv_header_tiffio_h = yes; then
27699
27700 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27701 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27702 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27703 echo $ECHO_N "(cached) $ECHO_C" >&6
27704 else
27705 ac_check_lib_save_LIBS=$LIBS
27706 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27707 cat >conftest.$ac_ext <<_ACEOF
27708 /* confdefs.h. */
27709 _ACEOF
27710 cat confdefs.h >>conftest.$ac_ext
27711 cat >>conftest.$ac_ext <<_ACEOF
27712 /* end confdefs.h. */
27713
27714 /* Override any GCC internal prototype to avoid an error.
27715 Use char because int might match the return type of a GCC
27716 builtin and then its argument prototype would still apply. */
27717 #ifdef __cplusplus
27718 extern "C"
27719 #endif
27720 char TIFFError ();
27721 int
27722 main ()
27723 {
27724 return TIFFError ();
27725 ;
27726 return 0;
27727 }
27728 _ACEOF
27729 rm -f conftest.$ac_objext conftest$ac_exeext
27730 if { (ac_try="$ac_link"
27731 case "(($ac_try" in
27732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27733 *) ac_try_echo=$ac_try;;
27734 esac
27735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27736 (eval "$ac_link") 2>conftest.er1
27737 ac_status=$?
27738 grep -v '^ *+' conftest.er1 >conftest.err
27739 rm -f conftest.er1
27740 cat conftest.err >&5
27741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27742 (exit $ac_status); } && {
27743 test -z "$ac_c_werror_flag" ||
27744 test ! -s conftest.err
27745 } && test -s conftest$ac_exeext &&
27746 $as_test_x conftest$ac_exeext; then
27747 ac_cv_lib_tiff_TIFFError=yes
27748 else
27749 echo "$as_me: failed program was:" >&5
27750 sed 's/^/| /' conftest.$ac_ext >&5
27751
27752 ac_cv_lib_tiff_TIFFError=no
27753 fi
27754
27755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27756 conftest$ac_exeext conftest.$ac_ext
27757 LIBS=$ac_check_lib_save_LIBS
27758 fi
27759 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27760 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27761 if test $ac_cv_lib_tiff_TIFFError = yes; then
27762 TIFF_LINK=" -ltiff"
27763 fi
27764
27765
27766
27767 fi
27768
27769
27770
27771 if test "x$TIFF_LINK" = "x" ; then
27772 if test "$wxUSE_LIBTIFF" = "sys" ; then
27773 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27774 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27775 { (exit 1); exit 1; }; }
27776 else
27777 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27778 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27779 wxUSE_LIBTIFF=builtin
27780 fi
27781 else
27782 wxUSE_LIBTIFF=sys
27783 fi
27784 fi
27785 fi
27786
27787
27788 if test "$wxUSE_WCHAR_T" != "yes"; then
27789 if test "$wxUSE_EXPAT" != "no"; then
27790 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27791 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27792 wxUSE_EXPAT=no
27793 fi
27794 if test "$wxUSE_XML" != "no"; then
27795 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27796 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27797 wxUSE_XML=no
27798 fi
27799 fi
27800
27801 if test "$wxUSE_EXPAT" != "no"; then
27802 wxUSE_XML=yes
27803 cat >>confdefs.h <<\_ACEOF
27804 #define wxUSE_EXPAT 1
27805 _ACEOF
27806
27807 cat >>confdefs.h <<\_ACEOF
27808 #define wxUSE_XML 1
27809 _ACEOF
27810
27811
27812 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27813 if test "${ac_cv_header_expat_h+set}" = set; then
27814 { echo "$as_me:$LINENO: checking for expat.h" >&5
27815 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27816 if test "${ac_cv_header_expat_h+set}" = set; then
27817 echo $ECHO_N "(cached) $ECHO_C" >&6
27818 fi
27819 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27820 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27821 else
27822 # Is the header compilable?
27823 { echo "$as_me:$LINENO: checking expat.h usability" >&5
27824 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6; }
27825 cat >conftest.$ac_ext <<_ACEOF
27826 /* confdefs.h. */
27827 _ACEOF
27828 cat confdefs.h >>conftest.$ac_ext
27829 cat >>conftest.$ac_ext <<_ACEOF
27830 /* end confdefs.h. */
27831 $ac_includes_default
27832 #include <expat.h>
27833 _ACEOF
27834 rm -f conftest.$ac_objext
27835 if { (ac_try="$ac_compile"
27836 case "(($ac_try" in
27837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27838 *) ac_try_echo=$ac_try;;
27839 esac
27840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27841 (eval "$ac_compile") 2>conftest.er1
27842 ac_status=$?
27843 grep -v '^ *+' conftest.er1 >conftest.err
27844 rm -f conftest.er1
27845 cat conftest.err >&5
27846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27847 (exit $ac_status); } && {
27848 test -z "$ac_c_werror_flag" ||
27849 test ! -s conftest.err
27850 } && test -s conftest.$ac_objext; then
27851 ac_header_compiler=yes
27852 else
27853 echo "$as_me: failed program was:" >&5
27854 sed 's/^/| /' conftest.$ac_ext >&5
27855
27856 ac_header_compiler=no
27857 fi
27858
27859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27860 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27861 echo "${ECHO_T}$ac_header_compiler" >&6; }
27862
27863 # Is the header present?
27864 { echo "$as_me:$LINENO: checking expat.h presence" >&5
27865 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6; }
27866 cat >conftest.$ac_ext <<_ACEOF
27867 /* confdefs.h. */
27868 _ACEOF
27869 cat confdefs.h >>conftest.$ac_ext
27870 cat >>conftest.$ac_ext <<_ACEOF
27871 /* end confdefs.h. */
27872 #include <expat.h>
27873 _ACEOF
27874 if { (ac_try="$ac_cpp conftest.$ac_ext"
27875 case "(($ac_try" in
27876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27877 *) ac_try_echo=$ac_try;;
27878 esac
27879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27880 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27881 ac_status=$?
27882 grep -v '^ *+' conftest.er1 >conftest.err
27883 rm -f conftest.er1
27884 cat conftest.err >&5
27885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27886 (exit $ac_status); } >/dev/null && {
27887 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27888 test ! -s conftest.err
27889 }; then
27890 ac_header_preproc=yes
27891 else
27892 echo "$as_me: failed program was:" >&5
27893 sed 's/^/| /' conftest.$ac_ext >&5
27894
27895 ac_header_preproc=no
27896 fi
27897
27898 rm -f conftest.err conftest.$ac_ext
27899 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27900 echo "${ECHO_T}$ac_header_preproc" >&6; }
27901
27902 # So? What about this header?
27903 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27904 yes:no: )
27905 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
27906 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27907 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
27908 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
27909 ac_header_preproc=yes
27910 ;;
27911 no:yes:* )
27912 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
27913 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
27914 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
27915 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
27916 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
27917 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
27918 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
27919 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
27920 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
27921 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
27922 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
27923 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
27924 ( cat <<\_ASBOX
27925 ## ----------------------------------------- ##
27926 ## Report this to wx-dev@lists.wxwidgets.org ##
27927 ## ----------------------------------------- ##
27928 _ASBOX
27929 ) | sed "s/^/$as_me: WARNING: /" >&2
27930 ;;
27931 esac
27932 { echo "$as_me:$LINENO: checking for expat.h" >&5
27933 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27934 if test "${ac_cv_header_expat_h+set}" = set; then
27935 echo $ECHO_N "(cached) $ECHO_C" >&6
27936 else
27937 ac_cv_header_expat_h=$ac_header_preproc
27938 fi
27939 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27940 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27941
27942 fi
27943 if test $ac_cv_header_expat_h = yes; then
27944 found_expat_h=1
27945 fi
27946
27947
27948 if test "x$found_expat_h" = "x1"; then
27949 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27950 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27951 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27952 echo $ECHO_N "(cached) $ECHO_C" >&6
27953 else
27954
27955 ac_ext=cpp
27956 ac_cpp='$CXXCPP $CPPFLAGS'
27957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27960
27961 cat >conftest.$ac_ext <<_ACEOF
27962 /* confdefs.h. */
27963 _ACEOF
27964 cat confdefs.h >>conftest.$ac_ext
27965 cat >>conftest.$ac_ext <<_ACEOF
27966 /* end confdefs.h. */
27967 #include <expat.h>
27968 int
27969 main ()
27970 {
27971
27972 ;
27973 return 0;
27974 }
27975 _ACEOF
27976 rm -f conftest.$ac_objext
27977 if { (ac_try="$ac_compile"
27978 case "(($ac_try" in
27979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27980 *) ac_try_echo=$ac_try;;
27981 esac
27982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27983 (eval "$ac_compile") 2>conftest.er1
27984 ac_status=$?
27985 grep -v '^ *+' conftest.er1 >conftest.err
27986 rm -f conftest.er1
27987 cat conftest.err >&5
27988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27989 (exit $ac_status); } && {
27990 test -z "$ac_cxx_werror_flag" ||
27991 test ! -s conftest.err
27992 } && test -s conftest.$ac_objext; then
27993 wx_cv_expat_is_not_broken=yes
27994 else
27995 echo "$as_me: failed program was:" >&5
27996 sed 's/^/| /' conftest.$ac_ext >&5
27997
27998 wx_cv_expat_is_not_broken=no
27999
28000 fi
28001
28002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28003 ac_ext=c
28004 ac_cpp='$CPP $CPPFLAGS'
28005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28008
28009
28010
28011 fi
28012 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
28013 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28014 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28015 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
28016 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
28017 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28018 echo $ECHO_N "(cached) $ECHO_C" >&6
28019 else
28020 ac_check_lib_save_LIBS=$LIBS
28021 LIBS="-lexpat $LIBS"
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 /* Override any GCC internal prototype to avoid an error.
28030 Use char because int might match the return type of a GCC
28031 builtin and then its argument prototype would still apply. */
28032 #ifdef __cplusplus
28033 extern "C"
28034 #endif
28035 char XML_ParserCreate ();
28036 int
28037 main ()
28038 {
28039 return XML_ParserCreate ();
28040 ;
28041 return 0;
28042 }
28043 _ACEOF
28044 rm -f conftest.$ac_objext conftest$ac_exeext
28045 if { (ac_try="$ac_link"
28046 case "(($ac_try" in
28047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28048 *) ac_try_echo=$ac_try;;
28049 esac
28050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28051 (eval "$ac_link") 2>conftest.er1
28052 ac_status=$?
28053 grep -v '^ *+' conftest.er1 >conftest.err
28054 rm -f conftest.er1
28055 cat conftest.err >&5
28056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28057 (exit $ac_status); } && {
28058 test -z "$ac_c_werror_flag" ||
28059 test ! -s conftest.err
28060 } && test -s conftest$ac_exeext &&
28061 $as_test_x conftest$ac_exeext; then
28062 ac_cv_lib_expat_XML_ParserCreate=yes
28063 else
28064 echo "$as_me: failed program was:" >&5
28065 sed 's/^/| /' conftest.$ac_ext >&5
28066
28067 ac_cv_lib_expat_XML_ParserCreate=no
28068 fi
28069
28070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28071 conftest$ac_exeext conftest.$ac_ext
28072 LIBS=$ac_check_lib_save_LIBS
28073 fi
28074 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
28075 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28076 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28077 EXPAT_LINK=" -lexpat"
28078 fi
28079
28080 fi
28081 fi
28082 if test "x$EXPAT_LINK" = "x" ; then
28083 if test "$wxUSE_EXPAT" = "sys" ; then
28084 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
28085 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
28086 { (exit 1); exit 1; }; }
28087 else
28088 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
28089 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
28090 wxUSE_EXPAT=builtin
28091 fi
28092 else
28093 wxUSE_EXPAT=sys
28094 fi
28095 fi
28096 if test "$wxUSE_EXPAT" = "builtin" ; then
28097 subdirs="$subdirs src/expat"
28098
28099 fi
28100 fi
28101
28102
28103
28104 if test "$wxUSE_LIBMSPACK" != "no"; then
28105 if test "${ac_cv_header_mspack_h+set}" = set; then
28106 { echo "$as_me:$LINENO: checking for mspack.h" >&5
28107 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
28108 if test "${ac_cv_header_mspack_h+set}" = set; then
28109 echo $ECHO_N "(cached) $ECHO_C" >&6
28110 fi
28111 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
28112 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28113 else
28114 # Is the header compilable?
28115 { echo "$as_me:$LINENO: checking mspack.h usability" >&5
28116 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6; }
28117 cat >conftest.$ac_ext <<_ACEOF
28118 /* confdefs.h. */
28119 _ACEOF
28120 cat confdefs.h >>conftest.$ac_ext
28121 cat >>conftest.$ac_ext <<_ACEOF
28122 /* end confdefs.h. */
28123 $ac_includes_default
28124 #include <mspack.h>
28125 _ACEOF
28126 rm -f conftest.$ac_objext
28127 if { (ac_try="$ac_compile"
28128 case "(($ac_try" in
28129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28130 *) ac_try_echo=$ac_try;;
28131 esac
28132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28133 (eval "$ac_compile") 2>conftest.er1
28134 ac_status=$?
28135 grep -v '^ *+' conftest.er1 >conftest.err
28136 rm -f conftest.er1
28137 cat conftest.err >&5
28138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28139 (exit $ac_status); } && {
28140 test -z "$ac_c_werror_flag" ||
28141 test ! -s conftest.err
28142 } && test -s conftest.$ac_objext; then
28143 ac_header_compiler=yes
28144 else
28145 echo "$as_me: failed program was:" >&5
28146 sed 's/^/| /' conftest.$ac_ext >&5
28147
28148 ac_header_compiler=no
28149 fi
28150
28151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28152 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28153 echo "${ECHO_T}$ac_header_compiler" >&6; }
28154
28155 # Is the header present?
28156 { echo "$as_me:$LINENO: checking mspack.h presence" >&5
28157 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6; }
28158 cat >conftest.$ac_ext <<_ACEOF
28159 /* confdefs.h. */
28160 _ACEOF
28161 cat confdefs.h >>conftest.$ac_ext
28162 cat >>conftest.$ac_ext <<_ACEOF
28163 /* end confdefs.h. */
28164 #include <mspack.h>
28165 _ACEOF
28166 if { (ac_try="$ac_cpp conftest.$ac_ext"
28167 case "(($ac_try" in
28168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28169 *) ac_try_echo=$ac_try;;
28170 esac
28171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28172 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28173 ac_status=$?
28174 grep -v '^ *+' conftest.er1 >conftest.err
28175 rm -f conftest.er1
28176 cat conftest.err >&5
28177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28178 (exit $ac_status); } >/dev/null && {
28179 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28180 test ! -s conftest.err
28181 }; then
28182 ac_header_preproc=yes
28183 else
28184 echo "$as_me: failed program was:" >&5
28185 sed 's/^/| /' conftest.$ac_ext >&5
28186
28187 ac_header_preproc=no
28188 fi
28189
28190 rm -f conftest.err conftest.$ac_ext
28191 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28192 echo "${ECHO_T}$ac_header_preproc" >&6; }
28193
28194 # So? What about this header?
28195 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28196 yes:no: )
28197 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
28198 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28199 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
28200 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
28201 ac_header_preproc=yes
28202 ;;
28203 no:yes:* )
28204 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
28205 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
28206 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
28207 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
28208 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
28209 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
28210 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
28211 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
28212 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
28213 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
28214 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
28215 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
28216 ( cat <<\_ASBOX
28217 ## ----------------------------------------- ##
28218 ## Report this to wx-dev@lists.wxwidgets.org ##
28219 ## ----------------------------------------- ##
28220 _ASBOX
28221 ) | sed "s/^/$as_me: WARNING: /" >&2
28222 ;;
28223 esac
28224 { echo "$as_me:$LINENO: checking for mspack.h" >&5
28225 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
28226 if test "${ac_cv_header_mspack_h+set}" = set; then
28227 echo $ECHO_N "(cached) $ECHO_C" >&6
28228 else
28229 ac_cv_header_mspack_h=$ac_header_preproc
28230 fi
28231 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
28232 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28233
28234 fi
28235 if test $ac_cv_header_mspack_h = yes; then
28236 found_mspack_h=1
28237 fi
28238
28239
28240 if test "x$found_mspack_h" = "x1"; then
28241 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
28242 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
28243 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28244 echo $ECHO_N "(cached) $ECHO_C" >&6
28245 else
28246 ac_check_lib_save_LIBS=$LIBS
28247 LIBS="-lmspack $LIBS"
28248 cat >conftest.$ac_ext <<_ACEOF
28249 /* confdefs.h. */
28250 _ACEOF
28251 cat confdefs.h >>conftest.$ac_ext
28252 cat >>conftest.$ac_ext <<_ACEOF
28253 /* end confdefs.h. */
28254
28255 /* Override any GCC internal prototype to avoid an error.
28256 Use char because int might match the return type of a GCC
28257 builtin and then its argument prototype would still apply. */
28258 #ifdef __cplusplus
28259 extern "C"
28260 #endif
28261 char mspack_create_chm_decompressor ();
28262 int
28263 main ()
28264 {
28265 return mspack_create_chm_decompressor ();
28266 ;
28267 return 0;
28268 }
28269 _ACEOF
28270 rm -f conftest.$ac_objext conftest$ac_exeext
28271 if { (ac_try="$ac_link"
28272 case "(($ac_try" in
28273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28274 *) ac_try_echo=$ac_try;;
28275 esac
28276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28277 (eval "$ac_link") 2>conftest.er1
28278 ac_status=$?
28279 grep -v '^ *+' conftest.er1 >conftest.err
28280 rm -f conftest.er1
28281 cat conftest.err >&5
28282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28283 (exit $ac_status); } && {
28284 test -z "$ac_c_werror_flag" ||
28285 test ! -s conftest.err
28286 } && test -s conftest$ac_exeext &&
28287 $as_test_x conftest$ac_exeext; then
28288 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28289 else
28290 echo "$as_me: failed program was:" >&5
28291 sed 's/^/| /' conftest.$ac_ext >&5
28292
28293 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28294 fi
28295
28296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28297 conftest$ac_exeext conftest.$ac_ext
28298 LIBS=$ac_check_lib_save_LIBS
28299 fi
28300 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28301 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28302 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28303 MSPACK_LINK=" -lmspack"
28304 fi
28305
28306 fi
28307 if test "x$MSPACK_LINK" = "x" ; then
28308 wxUSE_LIBMSPACK=no
28309 fi
28310 fi
28311
28312 if test "$wxUSE_LIBMSPACK" != "no"; then
28313 cat >>confdefs.h <<\_ACEOF
28314 #define wxUSE_LIBMSPACK 1
28315 _ACEOF
28316
28317 fi
28318
28319
28320
28321 AFMINSTALL=
28322 WIN32INSTALL=
28323
28324 TOOLKIT=
28325 TOOLKIT_INCLUDE=
28326 WIDGET_SET=
28327
28328 if test "$USE_WIN32" = 1 ; then
28329
28330 for ac_header in w32api.h
28331 do
28332 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28333 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28334 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28335 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28336 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28337 echo $ECHO_N "(cached) $ECHO_C" >&6
28338 fi
28339 ac_res=`eval echo '${'$as_ac_Header'}'`
28340 { echo "$as_me:$LINENO: result: $ac_res" >&5
28341 echo "${ECHO_T}$ac_res" >&6; }
28342 else
28343 # Is the header compilable?
28344 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
28345 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28346 cat >conftest.$ac_ext <<_ACEOF
28347 /* confdefs.h. */
28348 _ACEOF
28349 cat confdefs.h >>conftest.$ac_ext
28350 cat >>conftest.$ac_ext <<_ACEOF
28351 /* end confdefs.h. */
28352 $ac_includes_default
28353 #include <$ac_header>
28354 _ACEOF
28355 rm -f conftest.$ac_objext
28356 if { (ac_try="$ac_compile"
28357 case "(($ac_try" in
28358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28359 *) ac_try_echo=$ac_try;;
28360 esac
28361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28362 (eval "$ac_compile") 2>conftest.er1
28363 ac_status=$?
28364 grep -v '^ *+' conftest.er1 >conftest.err
28365 rm -f conftest.er1
28366 cat conftest.err >&5
28367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28368 (exit $ac_status); } && {
28369 test -z "$ac_c_werror_flag" ||
28370 test ! -s conftest.err
28371 } && test -s conftest.$ac_objext; then
28372 ac_header_compiler=yes
28373 else
28374 echo "$as_me: failed program was:" >&5
28375 sed 's/^/| /' conftest.$ac_ext >&5
28376
28377 ac_header_compiler=no
28378 fi
28379
28380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28381 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28382 echo "${ECHO_T}$ac_header_compiler" >&6; }
28383
28384 # Is the header present?
28385 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
28386 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28387 cat >conftest.$ac_ext <<_ACEOF
28388 /* confdefs.h. */
28389 _ACEOF
28390 cat confdefs.h >>conftest.$ac_ext
28391 cat >>conftest.$ac_ext <<_ACEOF
28392 /* end confdefs.h. */
28393 #include <$ac_header>
28394 _ACEOF
28395 if { (ac_try="$ac_cpp conftest.$ac_ext"
28396 case "(($ac_try" in
28397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28398 *) ac_try_echo=$ac_try;;
28399 esac
28400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28401 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28402 ac_status=$?
28403 grep -v '^ *+' conftest.er1 >conftest.err
28404 rm -f conftest.er1
28405 cat conftest.err >&5
28406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28407 (exit $ac_status); } >/dev/null && {
28408 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28409 test ! -s conftest.err
28410 }; then
28411 ac_header_preproc=yes
28412 else
28413 echo "$as_me: failed program was:" >&5
28414 sed 's/^/| /' conftest.$ac_ext >&5
28415
28416 ac_header_preproc=no
28417 fi
28418
28419 rm -f conftest.err conftest.$ac_ext
28420 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28421 echo "${ECHO_T}$ac_header_preproc" >&6; }
28422
28423 # So? What about this header?
28424 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28425 yes:no: )
28426 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28427 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28428 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28429 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28430 ac_header_preproc=yes
28431 ;;
28432 no:yes:* )
28433 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28434 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28435 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28436 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28437 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28438 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28439 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28440 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28441 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28442 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28443 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28444 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28445 ( cat <<\_ASBOX
28446 ## ----------------------------------------- ##
28447 ## Report this to wx-dev@lists.wxwidgets.org ##
28448 ## ----------------------------------------- ##
28449 _ASBOX
28450 ) | sed "s/^/$as_me: WARNING: /" >&2
28451 ;;
28452 esac
28453 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28455 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28456 echo $ECHO_N "(cached) $ECHO_C" >&6
28457 else
28458 eval "$as_ac_Header=\$ac_header_preproc"
28459 fi
28460 ac_res=`eval echo '${'$as_ac_Header'}'`
28461 { echo "$as_me:$LINENO: result: $ac_res" >&5
28462 echo "${ECHO_T}$ac_res" >&6; }
28463
28464 fi
28465 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28466 cat >>confdefs.h <<_ACEOF
28467 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28468 _ACEOF
28469
28470 fi
28471
28472 done
28473
28474 if test "${ac_cv_header_windows_h+set}" = set; then
28475 { echo "$as_me:$LINENO: checking for windows.h" >&5
28476 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28477 if test "${ac_cv_header_windows_h+set}" = set; then
28478 echo $ECHO_N "(cached) $ECHO_C" >&6
28479 fi
28480 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28481 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28482 else
28483 # Is the header compilable?
28484 { echo "$as_me:$LINENO: checking windows.h usability" >&5
28485 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6; }
28486 cat >conftest.$ac_ext <<_ACEOF
28487 /* confdefs.h. */
28488 _ACEOF
28489 cat confdefs.h >>conftest.$ac_ext
28490 cat >>conftest.$ac_ext <<_ACEOF
28491 /* end confdefs.h. */
28492 $ac_includes_default
28493 #include <windows.h>
28494 _ACEOF
28495 rm -f conftest.$ac_objext
28496 if { (ac_try="$ac_compile"
28497 case "(($ac_try" in
28498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28499 *) ac_try_echo=$ac_try;;
28500 esac
28501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28502 (eval "$ac_compile") 2>conftest.er1
28503 ac_status=$?
28504 grep -v '^ *+' conftest.er1 >conftest.err
28505 rm -f conftest.er1
28506 cat conftest.err >&5
28507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28508 (exit $ac_status); } && {
28509 test -z "$ac_c_werror_flag" ||
28510 test ! -s conftest.err
28511 } && test -s conftest.$ac_objext; then
28512 ac_header_compiler=yes
28513 else
28514 echo "$as_me: failed program was:" >&5
28515 sed 's/^/| /' conftest.$ac_ext >&5
28516
28517 ac_header_compiler=no
28518 fi
28519
28520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28521 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28522 echo "${ECHO_T}$ac_header_compiler" >&6; }
28523
28524 # Is the header present?
28525 { echo "$as_me:$LINENO: checking windows.h presence" >&5
28526 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6; }
28527 cat >conftest.$ac_ext <<_ACEOF
28528 /* confdefs.h. */
28529 _ACEOF
28530 cat confdefs.h >>conftest.$ac_ext
28531 cat >>conftest.$ac_ext <<_ACEOF
28532 /* end confdefs.h. */
28533 #include <windows.h>
28534 _ACEOF
28535 if { (ac_try="$ac_cpp conftest.$ac_ext"
28536 case "(($ac_try" in
28537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28538 *) ac_try_echo=$ac_try;;
28539 esac
28540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28541 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28542 ac_status=$?
28543 grep -v '^ *+' conftest.er1 >conftest.err
28544 rm -f conftest.er1
28545 cat conftest.err >&5
28546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28547 (exit $ac_status); } >/dev/null && {
28548 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28549 test ! -s conftest.err
28550 }; then
28551 ac_header_preproc=yes
28552 else
28553 echo "$as_me: failed program was:" >&5
28554 sed 's/^/| /' conftest.$ac_ext >&5
28555
28556 ac_header_preproc=no
28557 fi
28558
28559 rm -f conftest.err conftest.$ac_ext
28560 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28561 echo "${ECHO_T}$ac_header_preproc" >&6; }
28562
28563 # So? What about this header?
28564 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28565 yes:no: )
28566 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
28567 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28568 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
28569 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
28570 ac_header_preproc=yes
28571 ;;
28572 no:yes:* )
28573 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
28574 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
28575 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
28576 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
28577 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
28578 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
28579 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
28580 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
28581 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
28582 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
28583 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
28584 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
28585 ( cat <<\_ASBOX
28586 ## ----------------------------------------- ##
28587 ## Report this to wx-dev@lists.wxwidgets.org ##
28588 ## ----------------------------------------- ##
28589 _ASBOX
28590 ) | sed "s/^/$as_me: WARNING: /" >&2
28591 ;;
28592 esac
28593 { echo "$as_me:$LINENO: checking for windows.h" >&5
28594 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28595 if test "${ac_cv_header_windows_h+set}" = set; then
28596 echo $ECHO_N "(cached) $ECHO_C" >&6
28597 else
28598 ac_cv_header_windows_h=$ac_header_preproc
28599 fi
28600 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28601 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28602
28603 fi
28604 if test $ac_cv_header_windows_h = yes; then
28605 :
28606 else
28607
28608 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28609 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28610 { (exit 1); exit 1; }; }
28611
28612 fi
28613
28614
28615
28616 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28617
28618 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28619 LIBS="$LIBS -loleacc"
28620 fi
28621
28622 case "${host}" in
28623 *-*-cygwin* )
28624 LIBS="$LIBS -lkernel32 -luser32"
28625 esac
28626
28627 if test "$wxUSE_ODBC" = "sys" ; then
28628 wxUSE_ODBC = "yes"
28629 fi
28630 if test "$wxUSE_ODBC" = "yes" ; then
28631 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
28632 cat >>confdefs.h <<\_ACEOF
28633 #define wxUSE_ODBC 1
28634 _ACEOF
28635
28636 fi
28637
28638 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28639 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28640
28641 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28642
28643 WIN32INSTALL=win32install
28644
28645
28646 for ac_header in pbt.h
28647 do
28648 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28649 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28650 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28651 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28652 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28653 echo $ECHO_N "(cached) $ECHO_C" >&6
28654 fi
28655 ac_res=`eval echo '${'$as_ac_Header'}'`
28656 { echo "$as_me:$LINENO: result: $ac_res" >&5
28657 echo "${ECHO_T}$ac_res" >&6; }
28658 else
28659 # Is the header compilable?
28660 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
28661 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28662 cat >conftest.$ac_ext <<_ACEOF
28663 /* confdefs.h. */
28664 _ACEOF
28665 cat confdefs.h >>conftest.$ac_ext
28666 cat >>conftest.$ac_ext <<_ACEOF
28667 /* end confdefs.h. */
28668 $ac_includes_default
28669 #include <$ac_header>
28670 _ACEOF
28671 rm -f conftest.$ac_objext
28672 if { (ac_try="$ac_compile"
28673 case "(($ac_try" in
28674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28675 *) ac_try_echo=$ac_try;;
28676 esac
28677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28678 (eval "$ac_compile") 2>conftest.er1
28679 ac_status=$?
28680 grep -v '^ *+' conftest.er1 >conftest.err
28681 rm -f conftest.er1
28682 cat conftest.err >&5
28683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28684 (exit $ac_status); } && {
28685 test -z "$ac_c_werror_flag" ||
28686 test ! -s conftest.err
28687 } && test -s conftest.$ac_objext; then
28688 ac_header_compiler=yes
28689 else
28690 echo "$as_me: failed program was:" >&5
28691 sed 's/^/| /' conftest.$ac_ext >&5
28692
28693 ac_header_compiler=no
28694 fi
28695
28696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28697 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28698 echo "${ECHO_T}$ac_header_compiler" >&6; }
28699
28700 # Is the header present?
28701 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
28702 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28703 cat >conftest.$ac_ext <<_ACEOF
28704 /* confdefs.h. */
28705 _ACEOF
28706 cat confdefs.h >>conftest.$ac_ext
28707 cat >>conftest.$ac_ext <<_ACEOF
28708 /* end confdefs.h. */
28709 #include <$ac_header>
28710 _ACEOF
28711 if { (ac_try="$ac_cpp conftest.$ac_ext"
28712 case "(($ac_try" in
28713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28714 *) ac_try_echo=$ac_try;;
28715 esac
28716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28717 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28718 ac_status=$?
28719 grep -v '^ *+' conftest.er1 >conftest.err
28720 rm -f conftest.er1
28721 cat conftest.err >&5
28722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28723 (exit $ac_status); } >/dev/null && {
28724 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28725 test ! -s conftest.err
28726 }; then
28727 ac_header_preproc=yes
28728 else
28729 echo "$as_me: failed program was:" >&5
28730 sed 's/^/| /' conftest.$ac_ext >&5
28731
28732 ac_header_preproc=no
28733 fi
28734
28735 rm -f conftest.err conftest.$ac_ext
28736 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28737 echo "${ECHO_T}$ac_header_preproc" >&6; }
28738
28739 # So? What about this header?
28740 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28741 yes:no: )
28742 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28743 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28745 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28746 ac_header_preproc=yes
28747 ;;
28748 no:yes:* )
28749 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28750 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28751 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28752 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28753 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28754 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28755 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28756 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28757 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28758 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28759 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28760 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28761 ( cat <<\_ASBOX
28762 ## ----------------------------------------- ##
28763 ## Report this to wx-dev@lists.wxwidgets.org ##
28764 ## ----------------------------------------- ##
28765 _ASBOX
28766 ) | sed "s/^/$as_me: WARNING: /" >&2
28767 ;;
28768 esac
28769 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28770 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28771 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28772 echo $ECHO_N "(cached) $ECHO_C" >&6
28773 else
28774 eval "$as_ac_Header=\$ac_header_preproc"
28775 fi
28776 ac_res=`eval echo '${'$as_ac_Header'}'`
28777 { echo "$as_me:$LINENO: result: $ac_res" >&5
28778 echo "${ECHO_T}$ac_res" >&6; }
28779
28780 fi
28781 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28782 cat >>confdefs.h <<_ACEOF
28783 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28784 _ACEOF
28785
28786 else
28787 cat >>confdefs.h <<\_ACEOF
28788 #define NEED_PBT_H 1
28789 _ACEOF
28790
28791 fi
28792
28793 done
28794
28795 fi
28796
28797 if test "$wxUSE_GUI" = "yes"; then
28798 USE_GUI=1
28799
28800 GUI_TK_LIBRARY=
28801
28802 WXGTK12=
28803 WXGTK127=
28804 WXGTK20=
28805 WXGPE=
28806
28807 if test "$wxUSE_COCOA" = 1 ; then
28808 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28809 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28810 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28811 wxUSE_PRINTING_ARCHITECTURE=no
28812 fi
28813 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28814 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28815 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28816 wxUSE_DRAG_AND_DROP=no
28817 fi
28818 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28819 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28820 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28821 wxUSE_DRAGIMAGE=no
28822 fi
28823 fi
28824
28825 if test "$wxUSE_MSW" = 1 ; then
28826 TOOLKIT=MSW
28827 GUIDIST=MSW_DIST
28828
28829 case "${host}" in
28830 *-*-mingw32* )
28831 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28832 esac
28833 fi
28834
28835 if test "$wxUSE_GTK" = 1; then
28836 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28837 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28838
28839 gtk_version_cached=1
28840 if test "${wx_cv_lib_gtk+set}" = set; then
28841 echo $ECHO_N "(cached) $ECHO_C" >&6
28842 else
28843
28844 gtk_version_cached=0
28845 { echo "$as_me:$LINENO: result: " >&5
28846 echo "${ECHO_T}" >&6; }
28847
28848 GTK_MODULES=
28849 if test "$wxUSE_THREADS" = "yes"; then
28850 GTK_MODULES=gthread
28851 fi
28852
28853 wx_cv_lib_gtk=
28854 if test "x$wxGTK_VERSION" != "x1"
28855 then
28856 case "${host}" in
28857 *-*-solaris2* )
28858 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28859 enable_gtktest=no
28860 fi
28861 esac
28862
28863 # Check whether --enable-gtktest was given.
28864 if test "${enable_gtktest+set}" = set; then
28865 enableval=$enable_gtktest;
28866 else
28867 enable_gtktest=yes
28868 fi
28869
28870
28871 pkg_config_args=gtk+-2.0
28872 for module in . $GTK_MODULES
28873 do
28874 case "$module" in
28875 gthread)
28876 pkg_config_args="$pkg_config_args gthread-2.0"
28877 ;;
28878 esac
28879 done
28880
28881 no_gtk=""
28882
28883 # Extract the first word of "pkg-config", so it can be a program name with args.
28884 set dummy pkg-config; ac_word=$2
28885 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28887 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28888 echo $ECHO_N "(cached) $ECHO_C" >&6
28889 else
28890 case $PKG_CONFIG in
28891 [\\/]* | ?:[\\/]*)
28892 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28893 ;;
28894 *)
28895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28896 for as_dir in $PATH
28897 do
28898 IFS=$as_save_IFS
28899 test -z "$as_dir" && as_dir=.
28900 for ac_exec_ext in '' $ac_executable_extensions; do
28901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28902 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28904 break 2
28905 fi
28906 done
28907 done
28908 IFS=$as_save_IFS
28909
28910 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28911 ;;
28912 esac
28913 fi
28914 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28915 if test -n "$PKG_CONFIG"; then
28916 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28917 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28918 else
28919 { echo "$as_me:$LINENO: result: no" >&5
28920 echo "${ECHO_T}no" >&6; }
28921 fi
28922
28923
28924
28925 if test x$PKG_CONFIG != xno ; then
28926 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28927 :
28928 else
28929 echo "*** pkg-config too old; version 0.7 or better required."
28930 no_gtk=yes
28931 PKG_CONFIG=no
28932 fi
28933 else
28934 no_gtk=yes
28935 fi
28936
28937 min_gtk_version=2.0.0
28938 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28939 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28940
28941 if test x$PKG_CONFIG != xno ; then
28942 ## don't try to run the test against uninstalled libtool libs
28943 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28944 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28945 enable_gtktest=no
28946 fi
28947
28948 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28949 :
28950 else
28951 no_gtk=yes
28952 fi
28953 fi
28954
28955 if test x"$no_gtk" = x ; then
28956 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28957 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28958 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28959 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28960 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28961 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28962 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28963 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28964 if test "x$enable_gtktest" = "xyes" ; then
28965 ac_save_CFLAGS="$CFLAGS"
28966 ac_save_LIBS="$LIBS"
28967 CFLAGS="$CFLAGS $GTK_CFLAGS"
28968 LIBS="$GTK_LIBS $LIBS"
28969 rm -f conf.gtktest
28970 if test "$cross_compiling" = yes; then
28971 echo $ac_n "cross compiling; assumed OK... $ac_c"
28972 else
28973 cat >conftest.$ac_ext <<_ACEOF
28974 /* confdefs.h. */
28975 _ACEOF
28976 cat confdefs.h >>conftest.$ac_ext
28977 cat >>conftest.$ac_ext <<_ACEOF
28978 /* end confdefs.h. */
28979
28980 #include <gtk/gtk.h>
28981 #include <stdio.h>
28982 #include <stdlib.h>
28983
28984 int
28985 main ()
28986 {
28987 int major, minor, micro;
28988 char *tmp_version;
28989
28990 system ("touch conf.gtktest");
28991
28992 /* HP/UX 9 (%@#!) writes to sscanf strings */
28993 tmp_version = g_strdup("$min_gtk_version");
28994 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28995 printf("%s, bad version string\n", "$min_gtk_version");
28996 exit(1);
28997 }
28998
28999 if ((gtk_major_version != $gtk_config_major_version) ||
29000 (gtk_minor_version != $gtk_config_minor_version) ||
29001 (gtk_micro_version != $gtk_config_micro_version))
29002 {
29003 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29004 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29005 gtk_major_version, gtk_minor_version, gtk_micro_version);
29006 printf ("*** was found! If pkg-config was correct, then it is best\n");
29007 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29008 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29009 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29010 printf("*** required on your system.\n");
29011 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29012 printf("*** to point to the correct configuration files\n");
29013 }
29014 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29015 (gtk_minor_version != GTK_MINOR_VERSION) ||
29016 (gtk_micro_version != GTK_MICRO_VERSION))
29017 {
29018 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29019 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29020 printf("*** library (version %d.%d.%d)\n",
29021 gtk_major_version, gtk_minor_version, gtk_micro_version);
29022 }
29023 else
29024 {
29025 if ((gtk_major_version > major) ||
29026 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29027 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29028 {
29029 return 0;
29030 }
29031 else
29032 {
29033 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29034 gtk_major_version, gtk_minor_version, gtk_micro_version);
29035 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29036 major, minor, micro);
29037 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29038 printf("***\n");
29039 printf("*** If you have already installed a sufficiently new version, this error\n");
29040 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29041 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29042 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29043 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29044 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29045 printf("*** so that the correct libraries are found at run-time))\n");
29046 }
29047 }
29048 return 1;
29049 }
29050
29051 _ACEOF
29052 rm -f conftest$ac_exeext
29053 if { (ac_try="$ac_link"
29054 case "(($ac_try" in
29055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29056 *) ac_try_echo=$ac_try;;
29057 esac
29058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29059 (eval "$ac_link") 2>&5
29060 ac_status=$?
29061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29062 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29063 { (case "(($ac_try" in
29064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29065 *) ac_try_echo=$ac_try;;
29066 esac
29067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29068 (eval "$ac_try") 2>&5
29069 ac_status=$?
29070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29071 (exit $ac_status); }; }; then
29072 :
29073 else
29074 echo "$as_me: program exited with status $ac_status" >&5
29075 echo "$as_me: failed program was:" >&5
29076 sed 's/^/| /' conftest.$ac_ext >&5
29077
29078 ( exit $ac_status )
29079 no_gtk=yes
29080 fi
29081 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29082 fi
29083
29084
29085 CFLAGS="$ac_save_CFLAGS"
29086 LIBS="$ac_save_LIBS"
29087 fi
29088 fi
29089 if test "x$no_gtk" = x ; then
29090 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29091 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
29092 wx_cv_lib_gtk=2.0
29093 else
29094 { echo "$as_me:$LINENO: result: no" >&5
29095 echo "${ECHO_T}no" >&6; }
29096 if test "$PKG_CONFIG" = "no" ; then
29097 echo "*** A new enough version of pkg-config was not found."
29098 echo "*** See http://pkgconfig.sourceforge.net"
29099 else
29100 if test -f conf.gtktest ; then
29101 :
29102 else
29103 echo "*** Could not run GTK+ test program, checking why..."
29104 ac_save_CFLAGS="$CFLAGS"
29105 ac_save_LIBS="$LIBS"
29106 CFLAGS="$CFLAGS $GTK_CFLAGS"
29107 LIBS="$LIBS $GTK_LIBS"
29108 cat >conftest.$ac_ext <<_ACEOF
29109 /* confdefs.h. */
29110 _ACEOF
29111 cat confdefs.h >>conftest.$ac_ext
29112 cat >>conftest.$ac_ext <<_ACEOF
29113 /* end confdefs.h. */
29114
29115 #include <gtk/gtk.h>
29116 #include <stdio.h>
29117
29118 int
29119 main ()
29120 {
29121 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29122 ;
29123 return 0;
29124 }
29125 _ACEOF
29126 rm -f conftest.$ac_objext conftest$ac_exeext
29127 if { (ac_try="$ac_link"
29128 case "(($ac_try" in
29129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29130 *) ac_try_echo=$ac_try;;
29131 esac
29132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29133 (eval "$ac_link") 2>conftest.er1
29134 ac_status=$?
29135 grep -v '^ *+' conftest.er1 >conftest.err
29136 rm -f conftest.er1
29137 cat conftest.err >&5
29138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29139 (exit $ac_status); } && {
29140 test -z "$ac_c_werror_flag" ||
29141 test ! -s conftest.err
29142 } && test -s conftest$ac_exeext &&
29143 $as_test_x conftest$ac_exeext; then
29144 echo "*** The test program compiled, but did not run. This usually means"
29145 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
29146 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
29147 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29148 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29149 echo "*** is required on your system"
29150 echo "***"
29151 echo "*** If you have an old version installed, it is best to remove it, although"
29152 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29153 else
29154 echo "$as_me: failed program was:" >&5
29155 sed 's/^/| /' conftest.$ac_ext >&5
29156
29157 echo "*** The test program failed to compile or link. See the file config.log for the"
29158 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29159 fi
29160
29161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29162 conftest$ac_exeext conftest.$ac_ext
29163 CFLAGS="$ac_save_CFLAGS"
29164 LIBS="$ac_save_LIBS"
29165 fi
29166 fi
29167 GTK_CFLAGS=""
29168 GTK_LIBS=""
29169 :
29170 fi
29171
29172
29173 rm -f conf.gtktest
29174
29175
29176 case "${host}" in
29177 *-*-solaris2* )
29178 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29179 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
29180 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
29181 fi
29182 if test "$wxUSE_SHARED" != "yes"; then
29183 GTK_LIBS="$GTK_LIBS -lX11"
29184 fi
29185 esac
29186 fi
29187
29188 if test -z "$wx_cv_lib_gtk"; then
29189 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29190
29191 # Check whether --with-gtk-prefix was given.
29192 if test "${with_gtk_prefix+set}" = set; then
29193 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29194 else
29195 gtk_config_prefix=""
29196 fi
29197
29198
29199 # Check whether --with-gtk-exec-prefix was given.
29200 if test "${with_gtk_exec_prefix+set}" = set; then
29201 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29202 else
29203 gtk_config_exec_prefix=""
29204 fi
29205
29206 # Check whether --enable-gtktest was given.
29207 if test "${enable_gtktest+set}" = set; then
29208 enableval=$enable_gtktest;
29209 else
29210 enable_gtktest=yes
29211 fi
29212
29213
29214 for module in . $GTK_MODULES
29215 do
29216 case "$module" in
29217 gthread)
29218 gtk_config_args="$gtk_config_args gthread"
29219 ;;
29220 esac
29221 done
29222
29223 if test x$gtk_config_exec_prefix != x ; then
29224 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29225 if test x${GTK_CONFIG+set} != xset ; then
29226 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29227 fi
29228 fi
29229 if test x$gtk_config_prefix != x ; then
29230 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29231 if test x${GTK_CONFIG+set} != xset ; then
29232 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29233 fi
29234 fi
29235
29236 # Extract the first word of "gtk-config", so it can be a program name with args.
29237 set dummy gtk-config; ac_word=$2
29238 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29240 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29241 echo $ECHO_N "(cached) $ECHO_C" >&6
29242 else
29243 case $GTK_CONFIG in
29244 [\\/]* | ?:[\\/]*)
29245 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29246 ;;
29247 *)
29248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29249 for as_dir in $PATH
29250 do
29251 IFS=$as_save_IFS
29252 test -z "$as_dir" && as_dir=.
29253 for ac_exec_ext in '' $ac_executable_extensions; do
29254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29255 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29257 break 2
29258 fi
29259 done
29260 done
29261 IFS=$as_save_IFS
29262
29263 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29264 ;;
29265 esac
29266 fi
29267 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29268 if test -n "$GTK_CONFIG"; then
29269 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29270 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29271 else
29272 { echo "$as_me:$LINENO: result: no" >&5
29273 echo "${ECHO_T}no" >&6; }
29274 fi
29275
29276
29277 min_gtk_version=1.2.7
29278 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29279 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29280 no_gtk=""
29281 if test "$GTK_CONFIG" = "no" ; then
29282 no_gtk=yes
29283 else
29284 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29285 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29286 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29287 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29288 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29289 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29290 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29291 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29292 if test "x$enable_gtktest" = "xyes" ; then
29293 ac_save_CFLAGS="$CFLAGS"
29294 ac_save_LIBS="$LIBS"
29295 CFLAGS="$CFLAGS $GTK_CFLAGS"
29296 LIBS="$GTK_LIBS $LIBS"
29297 rm -f conf.gtktest
29298 if test "$cross_compiling" = yes; then
29299 echo $ac_n "cross compiling; assumed OK... $ac_c"
29300 else
29301 cat >conftest.$ac_ext <<_ACEOF
29302 /* confdefs.h. */
29303 _ACEOF
29304 cat confdefs.h >>conftest.$ac_ext
29305 cat >>conftest.$ac_ext <<_ACEOF
29306 /* end confdefs.h. */
29307
29308 #include <gtk/gtk.h>
29309 #include <stdio.h>
29310 #include <stdlib.h>
29311
29312 int
29313 main ()
29314 {
29315 int major, minor, micro;
29316 char *tmp_version;
29317
29318 system ("touch conf.gtktest");
29319
29320 /* HP/UX 9 (%@#!) writes to sscanf strings */
29321 tmp_version = g_strdup("$min_gtk_version");
29322 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29323 printf("%s, bad version string\n", "$min_gtk_version");
29324 exit(1);
29325 }
29326
29327 if ((gtk_major_version != $gtk_config_major_version) ||
29328 (gtk_minor_version != $gtk_config_minor_version) ||
29329 (gtk_micro_version != $gtk_config_micro_version))
29330 {
29331 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29332 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29333 gtk_major_version, gtk_minor_version, gtk_micro_version);
29334 printf ("*** was found! If gtk-config was correct, then it is best\n");
29335 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29336 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29337 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29338 printf("*** required on your system.\n");
29339 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29340 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29341 printf("*** before re-running configure\n");
29342 }
29343 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29344 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29345 (gtk_minor_version != GTK_MINOR_VERSION) ||
29346 (gtk_micro_version != GTK_MICRO_VERSION))
29347 {
29348 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29349 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29350 printf("*** library (version %d.%d.%d)\n",
29351 gtk_major_version, gtk_minor_version, gtk_micro_version);
29352 }
29353 #endif /* defined (GTK_MAJOR_VERSION) ... */
29354 else
29355 {
29356 if ((gtk_major_version > major) ||
29357 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29358 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29359 {
29360 return 0;
29361 }
29362 else
29363 {
29364 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29365 gtk_major_version, gtk_minor_version, gtk_micro_version);
29366 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29367 major, minor, micro);
29368 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29369 printf("***\n");
29370 printf("*** If you have already installed a sufficiently new version, this error\n");
29371 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29372 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29373 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29374 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29375 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29376 printf("*** so that the correct libraries are found at run-time))\n");
29377 }
29378 }
29379 return 1;
29380 }
29381
29382 _ACEOF
29383 rm -f conftest$ac_exeext
29384 if { (ac_try="$ac_link"
29385 case "(($ac_try" in
29386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29387 *) ac_try_echo=$ac_try;;
29388 esac
29389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29390 (eval "$ac_link") 2>&5
29391 ac_status=$?
29392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29393 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29394 { (case "(($ac_try" in
29395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29396 *) ac_try_echo=$ac_try;;
29397 esac
29398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29399 (eval "$ac_try") 2>&5
29400 ac_status=$?
29401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29402 (exit $ac_status); }; }; then
29403 :
29404 else
29405 echo "$as_me: program exited with status $ac_status" >&5
29406 echo "$as_me: failed program was:" >&5
29407 sed 's/^/| /' conftest.$ac_ext >&5
29408
29409 ( exit $ac_status )
29410 no_gtk=yes
29411 fi
29412 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29413 fi
29414
29415
29416 CFLAGS="$ac_save_CFLAGS"
29417 LIBS="$ac_save_LIBS"
29418 fi
29419 fi
29420 if test "x$no_gtk" = x ; then
29421 { echo "$as_me:$LINENO: result: yes" >&5
29422 echo "${ECHO_T}yes" >&6; }
29423 wx_cv_lib_gtk=1.2.7
29424 else
29425 { echo "$as_me:$LINENO: result: no" >&5
29426 echo "${ECHO_T}no" >&6; }
29427 if test "$GTK_CONFIG" = "no" ; then
29428 echo "*** The gtk-config script installed by GTK could not be found"
29429 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29430 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29431 echo "*** full path to gtk-config."
29432 else
29433 if test -f conf.gtktest ; then
29434 :
29435 else
29436 echo "*** Could not run GTK test program, checking why..."
29437 CFLAGS="$CFLAGS $GTK_CFLAGS"
29438 LIBS="$LIBS $GTK_LIBS"
29439 cat >conftest.$ac_ext <<_ACEOF
29440 /* confdefs.h. */
29441 _ACEOF
29442 cat confdefs.h >>conftest.$ac_ext
29443 cat >>conftest.$ac_ext <<_ACEOF
29444 /* end confdefs.h. */
29445
29446 #include <gtk/gtk.h>
29447 #include <stdio.h>
29448
29449 int
29450 main ()
29451 {
29452 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29453 ;
29454 return 0;
29455 }
29456 _ACEOF
29457 rm -f conftest.$ac_objext conftest$ac_exeext
29458 if { (ac_try="$ac_link"
29459 case "(($ac_try" in
29460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29461 *) ac_try_echo=$ac_try;;
29462 esac
29463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29464 (eval "$ac_link") 2>conftest.er1
29465 ac_status=$?
29466 grep -v '^ *+' conftest.er1 >conftest.err
29467 rm -f conftest.er1
29468 cat conftest.err >&5
29469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29470 (exit $ac_status); } && {
29471 test -z "$ac_c_werror_flag" ||
29472 test ! -s conftest.err
29473 } && test -s conftest$ac_exeext &&
29474 $as_test_x conftest$ac_exeext; then
29475 echo "*** The test program compiled, but did not run. This usually means"
29476 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29477 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29478 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29479 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29480 echo "*** is required on your system"
29481 echo "***"
29482 echo "*** If you have an old version installed, it is best to remove it, although"
29483 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29484 echo "***"
29485 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29486 echo "*** came with the system with the command"
29487 echo "***"
29488 echo "*** rpm --erase --nodeps gtk gtk-devel"
29489 else
29490 echo "$as_me: failed program was:" >&5
29491 sed 's/^/| /' conftest.$ac_ext >&5
29492
29493 echo "*** The test program failed to compile or link. See the file config.log for the"
29494 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29495 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29496 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29497 fi
29498
29499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29500 conftest$ac_exeext conftest.$ac_ext
29501 CFLAGS="$ac_save_CFLAGS"
29502 LIBS="$ac_save_LIBS"
29503 fi
29504 fi
29505 GTK_CFLAGS=""
29506 GTK_LIBS=""
29507 :
29508 fi
29509
29510
29511 rm -f conf.gtktest
29512
29513
29514 if test -z "$wx_cv_lib_gtk"; then
29515
29516 # Check whether --with-gtk-prefix was given.
29517 if test "${with_gtk_prefix+set}" = set; then
29518 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29519 else
29520 gtk_config_prefix=""
29521 fi
29522
29523
29524 # Check whether --with-gtk-exec-prefix was given.
29525 if test "${with_gtk_exec_prefix+set}" = set; then
29526 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29527 else
29528 gtk_config_exec_prefix=""
29529 fi
29530
29531 # Check whether --enable-gtktest was given.
29532 if test "${enable_gtktest+set}" = set; then
29533 enableval=$enable_gtktest;
29534 else
29535 enable_gtktest=yes
29536 fi
29537
29538
29539 for module in . $GTK_MODULES
29540 do
29541 case "$module" in
29542 gthread)
29543 gtk_config_args="$gtk_config_args gthread"
29544 ;;
29545 esac
29546 done
29547
29548 if test x$gtk_config_exec_prefix != x ; then
29549 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29550 if test x${GTK_CONFIG+set} != xset ; then
29551 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29552 fi
29553 fi
29554 if test x$gtk_config_prefix != x ; then
29555 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29556 if test x${GTK_CONFIG+set} != xset ; then
29557 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29558 fi
29559 fi
29560
29561 # Extract the first word of "gtk-config", so it can be a program name with args.
29562 set dummy gtk-config; ac_word=$2
29563 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29565 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29566 echo $ECHO_N "(cached) $ECHO_C" >&6
29567 else
29568 case $GTK_CONFIG in
29569 [\\/]* | ?:[\\/]*)
29570 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29571 ;;
29572 *)
29573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29574 for as_dir in $PATH
29575 do
29576 IFS=$as_save_IFS
29577 test -z "$as_dir" && as_dir=.
29578 for ac_exec_ext in '' $ac_executable_extensions; do
29579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29580 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29582 break 2
29583 fi
29584 done
29585 done
29586 IFS=$as_save_IFS
29587
29588 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29589 ;;
29590 esac
29591 fi
29592 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29593 if test -n "$GTK_CONFIG"; then
29594 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29595 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29596 else
29597 { echo "$as_me:$LINENO: result: no" >&5
29598 echo "${ECHO_T}no" >&6; }
29599 fi
29600
29601
29602 min_gtk_version=1.2.3
29603 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29604 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29605 no_gtk=""
29606 if test "$GTK_CONFIG" = "no" ; then
29607 no_gtk=yes
29608 else
29609 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29610 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29611 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29612 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29613 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29614 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29615 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29616 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29617 if test "x$enable_gtktest" = "xyes" ; then
29618 ac_save_CFLAGS="$CFLAGS"
29619 ac_save_LIBS="$LIBS"
29620 CFLAGS="$CFLAGS $GTK_CFLAGS"
29621 LIBS="$GTK_LIBS $LIBS"
29622 rm -f conf.gtktest
29623 if test "$cross_compiling" = yes; then
29624 echo $ac_n "cross compiling; assumed OK... $ac_c"
29625 else
29626 cat >conftest.$ac_ext <<_ACEOF
29627 /* confdefs.h. */
29628 _ACEOF
29629 cat confdefs.h >>conftest.$ac_ext
29630 cat >>conftest.$ac_ext <<_ACEOF
29631 /* end confdefs.h. */
29632
29633 #include <gtk/gtk.h>
29634 #include <stdio.h>
29635 #include <stdlib.h>
29636
29637 int
29638 main ()
29639 {
29640 int major, minor, micro;
29641 char *tmp_version;
29642
29643 system ("touch conf.gtktest");
29644
29645 /* HP/UX 9 (%@#!) writes to sscanf strings */
29646 tmp_version = g_strdup("$min_gtk_version");
29647 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29648 printf("%s, bad version string\n", "$min_gtk_version");
29649 exit(1);
29650 }
29651
29652 if ((gtk_major_version != $gtk_config_major_version) ||
29653 (gtk_minor_version != $gtk_config_minor_version) ||
29654 (gtk_micro_version != $gtk_config_micro_version))
29655 {
29656 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29657 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29658 gtk_major_version, gtk_minor_version, gtk_micro_version);
29659 printf ("*** was found! If gtk-config was correct, then it is best\n");
29660 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29661 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29662 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29663 printf("*** required on your system.\n");
29664 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29665 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29666 printf("*** before re-running configure\n");
29667 }
29668 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29669 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29670 (gtk_minor_version != GTK_MINOR_VERSION) ||
29671 (gtk_micro_version != GTK_MICRO_VERSION))
29672 {
29673 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29674 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29675 printf("*** library (version %d.%d.%d)\n",
29676 gtk_major_version, gtk_minor_version, gtk_micro_version);
29677 }
29678 #endif /* defined (GTK_MAJOR_VERSION) ... */
29679 else
29680 {
29681 if ((gtk_major_version > major) ||
29682 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29683 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29684 {
29685 return 0;
29686 }
29687 else
29688 {
29689 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29690 gtk_major_version, gtk_minor_version, gtk_micro_version);
29691 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29692 major, minor, micro);
29693 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29694 printf("***\n");
29695 printf("*** If you have already installed a sufficiently new version, this error\n");
29696 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29697 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29698 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29699 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29700 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29701 printf("*** so that the correct libraries are found at run-time))\n");
29702 }
29703 }
29704 return 1;
29705 }
29706
29707 _ACEOF
29708 rm -f conftest$ac_exeext
29709 if { (ac_try="$ac_link"
29710 case "(($ac_try" in
29711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29712 *) ac_try_echo=$ac_try;;
29713 esac
29714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29715 (eval "$ac_link") 2>&5
29716 ac_status=$?
29717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29718 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29719 { (case "(($ac_try" in
29720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29721 *) ac_try_echo=$ac_try;;
29722 esac
29723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29724 (eval "$ac_try") 2>&5
29725 ac_status=$?
29726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29727 (exit $ac_status); }; }; then
29728 :
29729 else
29730 echo "$as_me: program exited with status $ac_status" >&5
29731 echo "$as_me: failed program was:" >&5
29732 sed 's/^/| /' conftest.$ac_ext >&5
29733
29734 ( exit $ac_status )
29735 no_gtk=yes
29736 fi
29737 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29738 fi
29739
29740
29741 CFLAGS="$ac_save_CFLAGS"
29742 LIBS="$ac_save_LIBS"
29743 fi
29744 fi
29745 if test "x$no_gtk" = x ; then
29746 { echo "$as_me:$LINENO: result: yes" >&5
29747 echo "${ECHO_T}yes" >&6; }
29748 wx_cv_lib_gtk=1.2.3
29749 else
29750 { echo "$as_me:$LINENO: result: no" >&5
29751 echo "${ECHO_T}no" >&6; }
29752 if test "$GTK_CONFIG" = "no" ; then
29753 echo "*** The gtk-config script installed by GTK could not be found"
29754 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29755 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29756 echo "*** full path to gtk-config."
29757 else
29758 if test -f conf.gtktest ; then
29759 :
29760 else
29761 echo "*** Could not run GTK test program, checking why..."
29762 CFLAGS="$CFLAGS $GTK_CFLAGS"
29763 LIBS="$LIBS $GTK_LIBS"
29764 cat >conftest.$ac_ext <<_ACEOF
29765 /* confdefs.h. */
29766 _ACEOF
29767 cat confdefs.h >>conftest.$ac_ext
29768 cat >>conftest.$ac_ext <<_ACEOF
29769 /* end confdefs.h. */
29770
29771 #include <gtk/gtk.h>
29772 #include <stdio.h>
29773
29774 int
29775 main ()
29776 {
29777 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29778 ;
29779 return 0;
29780 }
29781 _ACEOF
29782 rm -f conftest.$ac_objext conftest$ac_exeext
29783 if { (ac_try="$ac_link"
29784 case "(($ac_try" in
29785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29786 *) ac_try_echo=$ac_try;;
29787 esac
29788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29789 (eval "$ac_link") 2>conftest.er1
29790 ac_status=$?
29791 grep -v '^ *+' conftest.er1 >conftest.err
29792 rm -f conftest.er1
29793 cat conftest.err >&5
29794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29795 (exit $ac_status); } && {
29796 test -z "$ac_c_werror_flag" ||
29797 test ! -s conftest.err
29798 } && test -s conftest$ac_exeext &&
29799 $as_test_x conftest$ac_exeext; then
29800 echo "*** The test program compiled, but did not run. This usually means"
29801 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29802 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29803 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29804 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29805 echo "*** is required on your system"
29806 echo "***"
29807 echo "*** If you have an old version installed, it is best to remove it, although"
29808 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29809 echo "***"
29810 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29811 echo "*** came with the system with the command"
29812 echo "***"
29813 echo "*** rpm --erase --nodeps gtk gtk-devel"
29814 else
29815 echo "$as_me: failed program was:" >&5
29816 sed 's/^/| /' conftest.$ac_ext >&5
29817
29818 echo "*** The test program failed to compile or link. See the file config.log for the"
29819 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29820 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29821 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29822 fi
29823
29824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29825 conftest$ac_exeext conftest.$ac_ext
29826 CFLAGS="$ac_save_CFLAGS"
29827 LIBS="$ac_save_LIBS"
29828 fi
29829 fi
29830 GTK_CFLAGS=""
29831 GTK_LIBS=""
29832 :
29833 fi
29834
29835
29836 rm -f conf.gtktest
29837
29838 fi
29839 fi
29840 fi
29841
29842 if test -z "$wx_cv_lib_gtk"; then
29843 wx_cv_lib_gtk=none
29844 else
29845 wx_cv_cflags_gtk=$GTK_CFLAGS
29846 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29847 fi
29848
29849
29850 fi
29851
29852
29853 if test "$gtk_version_cached" = 1; then
29854 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29855 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29856 fi
29857
29858 case "$wx_cv_lib_gtk" in
29859 2.0) WXGTK20=1
29860 TOOLKIT_VERSION=2
29861 ;;
29862 1.2.7) WXGTK127=1
29863 WXGTK12=1
29864 ;;
29865 1.2.3) WXGTK12=1
29866 ;;
29867 *) { { echo "$as_me:$LINENO: error:
29868 The development files for GTK+ were not found. For GTK+ 2, please
29869 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29870 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29871 and that the version is 1.2.3 or above. Also check that the
29872 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29873 --libs' are in the LD_LIBRARY_PATH or equivalent.
29874 " >&5
29875 echo "$as_me: error:
29876 The development files for GTK+ were not found. For GTK+ 2, please
29877 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29878 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29879 and that the version is 1.2.3 or above. Also check that the
29880 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29881 --libs' are in the LD_LIBRARY_PATH or equivalent.
29882 " >&2;}
29883 { (exit 1); exit 1; }; }
29884 ;;
29885 esac
29886
29887 if test "$WXGTK20" = 1; then
29888 save_CFLAGS="$CFLAGS"
29889 save_LIBS="$LIBS"
29890 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29891 LIBS="$LIBS $wx_cv_libs_gtk"
29892
29893 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
29894 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
29895 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
29896 echo $ECHO_N "(cached) $ECHO_C" >&6
29897 else
29898 cat >conftest.$ac_ext <<_ACEOF
29899 /* confdefs.h. */
29900 _ACEOF
29901 cat confdefs.h >>conftest.$ac_ext
29902 cat >>conftest.$ac_ext <<_ACEOF
29903 /* end confdefs.h. */
29904 #include <gtk/gtk.h>
29905
29906 int
29907 main ()
29908 {
29909 #ifndef gtk_icon_size_lookup
29910 (void) gtk_icon_size_lookup;
29911 #endif
29912
29913 ;
29914 return 0;
29915 }
29916 _ACEOF
29917 rm -f conftest.$ac_objext
29918 if { (ac_try="$ac_compile"
29919 case "(($ac_try" in
29920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29921 *) ac_try_echo=$ac_try;;
29922 esac
29923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29924 (eval "$ac_compile") 2>conftest.er1
29925 ac_status=$?
29926 grep -v '^ *+' conftest.er1 >conftest.err
29927 rm -f conftest.er1
29928 cat conftest.err >&5
29929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29930 (exit $ac_status); } && {
29931 test -z "$ac_c_werror_flag" ||
29932 test ! -s conftest.err
29933 } && test -s conftest.$ac_objext; then
29934 ac_cv_have_decl_gtk_icon_size_lookup=yes
29935 else
29936 echo "$as_me: failed program was:" >&5
29937 sed 's/^/| /' conftest.$ac_ext >&5
29938
29939 ac_cv_have_decl_gtk_icon_size_lookup=no
29940 fi
29941
29942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29943 fi
29944 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
29945 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
29946 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
29947
29948 cat >>confdefs.h <<_ACEOF
29949 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
29950 _ACEOF
29951
29952
29953 else
29954 cat >>confdefs.h <<_ACEOF
29955 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
29956 _ACEOF
29957
29958 cat >>confdefs.h <<\_ACEOF
29959 #define NEED_GTK_ICON_SIZE_LOOKUP 1
29960 _ACEOF
29961
29962 fi
29963
29964
29965
29966 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29967 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29968 cat >conftest.$ac_ext <<_ACEOF
29969 /* confdefs.h. */
29970 _ACEOF
29971 cat confdefs.h >>conftest.$ac_ext
29972 cat >>conftest.$ac_ext <<_ACEOF
29973 /* end confdefs.h. */
29974
29975 #include <gtk/gtk.h>
29976
29977 int
29978 main ()
29979 {
29980
29981 #if !GTK_CHECK_VERSION(2,6,0)
29982 Not GTK+ 2.6
29983 #endif
29984
29985 ;
29986 return 0;
29987 }
29988 _ACEOF
29989 rm -f conftest.$ac_objext
29990 if { (ac_try="$ac_compile"
29991 case "(($ac_try" in
29992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29993 *) ac_try_echo=$ac_try;;
29994 esac
29995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29996 (eval "$ac_compile") 2>conftest.er1
29997 ac_status=$?
29998 grep -v '^ *+' conftest.er1 >conftest.err
29999 rm -f conftest.er1
30000 cat conftest.err >&5
30001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30002 (exit $ac_status); } && {
30003 test -z "$ac_c_werror_flag" ||
30004 test ! -s conftest.err
30005 } && test -s conftest.$ac_objext; then
30006
30007 cat >>confdefs.h <<\_ACEOF
30008 #define __WXGTK26__ 1
30009 _ACEOF
30010
30011 cat >>confdefs.h <<\_ACEOF
30012 #define __WXGTK24__ 1
30013 _ACEOF
30014
30015 { echo "$as_me:$LINENO: result: yes" >&5
30016 echo "${ECHO_T}yes" >&6; }
30017 ac_wxgtk26=1
30018
30019 else
30020 echo "$as_me: failed program was:" >&5
30021 sed 's/^/| /' conftest.$ac_ext >&5
30022
30023
30024 { echo "$as_me:$LINENO: result: no" >&5
30025 echo "${ECHO_T}no" >&6; }
30026 ac_wxgtk26=0
30027
30028 fi
30029
30030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30031
30032 if test "$ac_wxgtk26" = 0; then
30033 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
30034 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
30035 cat >conftest.$ac_ext <<_ACEOF
30036 /* confdefs.h. */
30037 _ACEOF
30038 cat confdefs.h >>conftest.$ac_ext
30039 cat >>conftest.$ac_ext <<_ACEOF
30040 /* end confdefs.h. */
30041
30042 #include <gtk/gtk.h>
30043
30044 int
30045 main ()
30046 {
30047
30048 #if !GTK_CHECK_VERSION(2,4,0)
30049 Not GTK+ 2.4
30050 #endif
30051
30052 ;
30053 return 0;
30054 }
30055 _ACEOF
30056 rm -f conftest.$ac_objext
30057 if { (ac_try="$ac_compile"
30058 case "(($ac_try" in
30059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30060 *) ac_try_echo=$ac_try;;
30061 esac
30062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30063 (eval "$ac_compile") 2>conftest.er1
30064 ac_status=$?
30065 grep -v '^ *+' conftest.er1 >conftest.err
30066 rm -f conftest.er1
30067 cat conftest.err >&5
30068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30069 (exit $ac_status); } && {
30070 test -z "$ac_c_werror_flag" ||
30071 test ! -s conftest.err
30072 } && test -s conftest.$ac_objext; then
30073
30074 cat >>confdefs.h <<\_ACEOF
30075 #define __WXGTK24__ 1
30076 _ACEOF
30077
30078 { echo "$as_me:$LINENO: result: yes" >&5
30079 echo "${ECHO_T}yes" >&6; }
30080
30081 else
30082 echo "$as_me: failed program was:" >&5
30083 sed 's/^/| /' conftest.$ac_ext >&5
30084
30085
30086 { echo "$as_me:$LINENO: result: no" >&5
30087 echo "${ECHO_T}no" >&6; }
30088
30089 fi
30090
30091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30092 fi
30093
30094 CFLAGS="$save_CFLAGS"
30095 LIBS="$save_LIBS"
30096 else
30097 if test "$wxUSE_UNICODE" = "yes"; then
30098 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30099 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30100 wxUSE_UNICODE=no
30101 fi
30102
30103 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30104 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30105 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30106 echo $ECHO_N "(cached) $ECHO_C" >&6
30107 else
30108 ac_check_lib_save_LIBS=$LIBS
30109 LIBS="-lgdk $LIBS"
30110 cat >conftest.$ac_ext <<_ACEOF
30111 /* confdefs.h. */
30112 _ACEOF
30113 cat confdefs.h >>conftest.$ac_ext
30114 cat >>conftest.$ac_ext <<_ACEOF
30115 /* end confdefs.h. */
30116
30117 /* Override any GCC internal prototype to avoid an error.
30118 Use char because int might match the return type of a GCC
30119 builtin and then its argument prototype would still apply. */
30120 #ifdef __cplusplus
30121 extern "C"
30122 #endif
30123 char gdk_im_open ();
30124 int
30125 main ()
30126 {
30127 return gdk_im_open ();
30128 ;
30129 return 0;
30130 }
30131 _ACEOF
30132 rm -f conftest.$ac_objext conftest$ac_exeext
30133 if { (ac_try="$ac_link"
30134 case "(($ac_try" in
30135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30136 *) ac_try_echo=$ac_try;;
30137 esac
30138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30139 (eval "$ac_link") 2>conftest.er1
30140 ac_status=$?
30141 grep -v '^ *+' conftest.er1 >conftest.err
30142 rm -f conftest.er1
30143 cat conftest.err >&5
30144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30145 (exit $ac_status); } && {
30146 test -z "$ac_c_werror_flag" ||
30147 test ! -s conftest.err
30148 } && test -s conftest$ac_exeext &&
30149 $as_test_x conftest$ac_exeext; then
30150 ac_cv_lib_gdk_gdk_im_open=yes
30151 else
30152 echo "$as_me: failed program was:" >&5
30153 sed 's/^/| /' conftest.$ac_ext >&5
30154
30155 ac_cv_lib_gdk_gdk_im_open=no
30156 fi
30157
30158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30159 conftest$ac_exeext conftest.$ac_ext
30160 LIBS=$ac_check_lib_save_LIBS
30161 fi
30162 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30163 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30164 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30165 cat >>confdefs.h <<\_ACEOF
30166 #define HAVE_XIM 1
30167 _ACEOF
30168
30169 fi
30170
30171
30172 if test "$USE_DARWIN" != 1; then
30173
30174 for ac_func in poll
30175 do
30176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30177 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30179 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30180 echo $ECHO_N "(cached) $ECHO_C" >&6
30181 else
30182 cat >conftest.$ac_ext <<_ACEOF
30183 /* confdefs.h. */
30184 _ACEOF
30185 cat confdefs.h >>conftest.$ac_ext
30186 cat >>conftest.$ac_ext <<_ACEOF
30187 /* end confdefs.h. */
30188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30190 #define $ac_func innocuous_$ac_func
30191
30192 /* System header to define __stub macros and hopefully few prototypes,
30193 which can conflict with char $ac_func (); below.
30194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30195 <limits.h> exists even on freestanding compilers. */
30196
30197 #ifdef __STDC__
30198 # include <limits.h>
30199 #else
30200 # include <assert.h>
30201 #endif
30202
30203 #undef $ac_func
30204
30205 /* Override any GCC internal prototype to avoid an error.
30206 Use char because int might match the return type of a GCC
30207 builtin and then its argument prototype would still apply. */
30208 #ifdef __cplusplus
30209 extern "C"
30210 #endif
30211 char $ac_func ();
30212 /* The GNU C library defines this for functions which it implements
30213 to always fail with ENOSYS. Some functions are actually named
30214 something starting with __ and the normal name is an alias. */
30215 #if defined __stub_$ac_func || defined __stub___$ac_func
30216 choke me
30217 #endif
30218
30219 int
30220 main ()
30221 {
30222 return $ac_func ();
30223 ;
30224 return 0;
30225 }
30226 _ACEOF
30227 rm -f conftest.$ac_objext conftest$ac_exeext
30228 if { (ac_try="$ac_link"
30229 case "(($ac_try" in
30230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30231 *) ac_try_echo=$ac_try;;
30232 esac
30233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30234 (eval "$ac_link") 2>conftest.er1
30235 ac_status=$?
30236 grep -v '^ *+' conftest.er1 >conftest.err
30237 rm -f conftest.er1
30238 cat conftest.err >&5
30239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30240 (exit $ac_status); } && {
30241 test -z "$ac_c_werror_flag" ||
30242 test ! -s conftest.err
30243 } && test -s conftest$ac_exeext &&
30244 $as_test_x conftest$ac_exeext; then
30245 eval "$as_ac_var=yes"
30246 else
30247 echo "$as_me: failed program was:" >&5
30248 sed 's/^/| /' conftest.$ac_ext >&5
30249
30250 eval "$as_ac_var=no"
30251 fi
30252
30253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30254 conftest$ac_exeext conftest.$ac_ext
30255 fi
30256 ac_res=`eval echo '${'$as_ac_var'}'`
30257 { echo "$as_me:$LINENO: result: $ac_res" >&5
30258 echo "${ECHO_T}$ac_res" >&6; }
30259 if test `eval echo '${'$as_ac_var'}'` = yes; then
30260 cat >>confdefs.h <<_ACEOF
30261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30262 _ACEOF
30263
30264 fi
30265 done
30266
30267 fi
30268 fi
30269
30270 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
30271 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30272
30273 AFMINSTALL=afminstall
30274 TOOLKIT=GTK
30275 GUIDIST=GTK_DIST
30276
30277 if test "$wxUSE_GPE" = "yes"; then
30278 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
30279 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
30280
30281 ac_find_libraries=
30282 for ac_dir in $SEARCH_LIB;
30283 do
30284 for ac_extension in a so sl dylib dll.a; do
30285 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30286 ac_find_libraries=$ac_dir
30287 break 2
30288 fi
30289 done
30290 done
30291
30292 if test "$ac_find_libraries" != "" ; then
30293
30294 if test "$ac_find_libraries" = "default location"; then
30295 ac_path_to_link=""
30296 else
30297 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30298 result=$?
30299 if test $result = 0; then
30300 ac_path_to_link=""
30301 else
30302 ac_path_to_link=" -L$ac_find_libraries"
30303 fi
30304 fi
30305
30306 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30307 WXGPE=1
30308 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30309 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30310 else
30311 { echo "$as_me:$LINENO: result: not found" >&5
30312 echo "${ECHO_T}not found" >&6; }
30313 fi
30314
30315 fi
30316 fi
30317
30318 if test "$wxUSE_MGL" = 1; then
30319 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30320 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30321 if test "x$MGL_ROOT" = x ; then
30322 { echo "$as_me:$LINENO: result: not found" >&5
30323 echo "${ECHO_T}not found" >&6; }
30324 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30325 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30326 { (exit 1); exit 1; }; }
30327 else
30328 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30329 echo "${ECHO_T}$MGL_ROOT" >&6; }
30330 fi
30331
30332 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30333 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30334 case "${host}" in
30335 *-*-linux* )
30336 if test "x$wxUSE_SHARED" = xyes ; then
30337 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30338 else
30339 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30340 fi
30341 ;;
30342 *-pc-msdosdjgpp )
30343 mgl_os_candidates="dos32/dj2"
30344 ;;
30345 *)
30346 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30347 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30348 { (exit 1); exit 1; }; }
30349 esac
30350
30351 mgl_lib_type=""
30352 mgl_os=""
30353
30354 for mgl_os_i in $mgl_os_candidates ; do
30355 if test "x$mgl_os" = x ; then
30356 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30357 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30358 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30359 mgl_lib_type=debug
30360 mgl_os=$mgl_os_i
30361 fi
30362 fi
30363 if test "x$mgl_lib_type" = x ; then
30364 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30365 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30366 mgl_lib_type=release
30367 mgl_os=$mgl_os_i
30368 fi
30369 fi
30370 fi
30371 done
30372
30373 if test "x$mgl_os" = x ; then
30374 { echo "$as_me:$LINENO: result: not found" >&5
30375 echo "${ECHO_T}not found" >&6; }
30376 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30377 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30378 { (exit 1); exit 1; }; }
30379 fi
30380 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30381 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30382
30383 wxUSE_UNIVERSAL="yes"
30384
30385 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30386 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30387
30388 AFMINSTALL=afminstall
30389 TOOLKIT=MGL
30390 GUIDIST=MGL_DIST
30391 fi
30392
30393 if test "$wxUSE_DFB" = 1; then
30394
30395
30396 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30397 if test -n "$ac_tool_prefix"; then
30398 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30399 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30400 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30402 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30403 echo $ECHO_N "(cached) $ECHO_C" >&6
30404 else
30405 case $PKG_CONFIG in
30406 [\\/]* | ?:[\\/]*)
30407 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30408 ;;
30409 *)
30410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30411 for as_dir in $PATH
30412 do
30413 IFS=$as_save_IFS
30414 test -z "$as_dir" && as_dir=.
30415 for ac_exec_ext in '' $ac_executable_extensions; do
30416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30417 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30419 break 2
30420 fi
30421 done
30422 done
30423 IFS=$as_save_IFS
30424
30425 ;;
30426 esac
30427 fi
30428 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30429 if test -n "$PKG_CONFIG"; then
30430 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30431 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30432 else
30433 { echo "$as_me:$LINENO: result: no" >&5
30434 echo "${ECHO_T}no" >&6; }
30435 fi
30436
30437
30438 fi
30439 if test -z "$ac_cv_path_PKG_CONFIG"; then
30440 ac_pt_PKG_CONFIG=$PKG_CONFIG
30441 # Extract the first word of "pkg-config", so it can be a program name with args.
30442 set dummy pkg-config; ac_word=$2
30443 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30445 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30446 echo $ECHO_N "(cached) $ECHO_C" >&6
30447 else
30448 case $ac_pt_PKG_CONFIG in
30449 [\\/]* | ?:[\\/]*)
30450 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30451 ;;
30452 *)
30453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30454 for as_dir in $PATH
30455 do
30456 IFS=$as_save_IFS
30457 test -z "$as_dir" && as_dir=.
30458 for ac_exec_ext in '' $ac_executable_extensions; do
30459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30460 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30462 break 2
30463 fi
30464 done
30465 done
30466 IFS=$as_save_IFS
30467
30468 ;;
30469 esac
30470 fi
30471 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30472 if test -n "$ac_pt_PKG_CONFIG"; then
30473 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30474 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30475 else
30476 { echo "$as_me:$LINENO: result: no" >&5
30477 echo "${ECHO_T}no" >&6; }
30478 fi
30479
30480 if test "x$ac_pt_PKG_CONFIG" = x; then
30481 PKG_CONFIG=""
30482 else
30483 case $cross_compiling:$ac_tool_warned in
30484 yes:)
30485 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30486 whose name does not start with the host triplet. If you think this
30487 configuration is useful to you, please write to autoconf@gnu.org." >&5
30488 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30489 whose name does not start with the host triplet. If you think this
30490 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30491 ac_tool_warned=yes ;;
30492 esac
30493 PKG_CONFIG=$ac_pt_PKG_CONFIG
30494 fi
30495 else
30496 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30497 fi
30498
30499 fi
30500 if test -n "$PKG_CONFIG"; then
30501 _pkg_min_version=0.9.0
30502 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30503 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30504 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30505 { echo "$as_me:$LINENO: result: yes" >&5
30506 echo "${ECHO_T}yes" >&6; }
30507 else
30508 { echo "$as_me:$LINENO: result: no" >&5
30509 echo "${ECHO_T}no" >&6; }
30510 PKG_CONFIG=""
30511 fi
30512
30513 fi
30514
30515
30516 pkg_failed=no
30517 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30518 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
30519
30520 if test -n "$PKG_CONFIG"; then
30521 if test -n "$DIRECTFB_CFLAGS"; then
30522 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30523 else
30524 if test -n "$PKG_CONFIG" && \
30525 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30526 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30527 ac_status=$?
30528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30529 (exit $ac_status); }; then
30530 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30531 else
30532 pkg_failed=yes
30533 fi
30534 fi
30535 else
30536 pkg_failed=untried
30537 fi
30538 if test -n "$PKG_CONFIG"; then
30539 if test -n "$DIRECTFB_LIBS"; then
30540 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30541 else
30542 if test -n "$PKG_CONFIG" && \
30543 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30544 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30545 ac_status=$?
30546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30547 (exit $ac_status); }; then
30548 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30549 else
30550 pkg_failed=yes
30551 fi
30552 fi
30553 else
30554 pkg_failed=untried
30555 fi
30556
30557
30558
30559 if test $pkg_failed = yes; then
30560
30561 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30562 _pkg_short_errors_supported=yes
30563 else
30564 _pkg_short_errors_supported=no
30565 fi
30566 if test $_pkg_short_errors_supported = yes; then
30567 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30568 else
30569 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30570 fi
30571 # Put the nasty error message in config.log where it belongs
30572 echo "$DIRECTFB_PKG_ERRORS" >&5
30573
30574
30575 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30576 echo "$as_me: error: DirectFB not found." >&2;}
30577 { (exit 1); exit 1; }; }
30578
30579
30580 elif test $pkg_failed = untried; then
30581
30582 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30583 echo "$as_me: error: DirectFB not found." >&2;}
30584 { (exit 1); exit 1; }; }
30585
30586
30587 else
30588 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30589 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30590 { echo "$as_me:$LINENO: result: yes" >&5
30591 echo "${ECHO_T}yes" >&6; }
30592
30593 wxUSE_UNIVERSAL="yes"
30594 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30595 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30596 TOOLKIT=DFB
30597 GUIDIST=DFB_DIST
30598
30599 fi
30600 fi
30601
30602 if test "$wxUSE_MICROWIN" = 1; then
30603 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30604 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30605 if test "x$MICROWINDOWS" = x ; then
30606 { echo "$as_me:$LINENO: result: not found" >&5
30607 echo "${ECHO_T}not found" >&6; }
30608 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30609 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30610 { (exit 1); exit 1; }; }
30611 else
30612 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30613 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30614 fi
30615
30616 if test -f $MICROWINDOWS/lib/libmwin.a; then
30617 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30618 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
30619 else
30620 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30621 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30622 { (exit 1); exit 1; }; }
30623 fi
30624
30625 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30626 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30627
30628 wxUSE_UNIVERSAL="yes"
30629
30630 AFMINSTALL=afminstall
30631 TOOLKIT=MICROWIN
30632 GUIDIST=MICROWIN_DIST
30633
30634 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30635 fi
30636
30637 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30638 { echo "$as_me:$LINENO: checking for X" >&5
30639 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30640
30641
30642 # Check whether --with-x was given.
30643 if test "${with_x+set}" = set; then
30644 withval=$with_x;
30645 fi
30646
30647 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30648 if test "x$with_x" = xno; then
30649 # The user explicitly disabled X.
30650 have_x=disabled
30651 else
30652 case $x_includes,$x_libraries in #(
30653 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30654 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30655 { (exit 1); exit 1; }; };; #(
30656 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30657 echo $ECHO_N "(cached) $ECHO_C" >&6
30658 else
30659 # One or both of the vars are not set, and there is no cached value.
30660 ac_x_includes=no ac_x_libraries=no
30661 rm -f -r conftest.dir
30662 if mkdir conftest.dir; then
30663 cd conftest.dir
30664 cat >Imakefile <<'_ACEOF'
30665 incroot:
30666 @echo incroot='${INCROOT}'
30667 usrlibdir:
30668 @echo usrlibdir='${USRLIBDIR}'
30669 libdir:
30670 @echo libdir='${LIBDIR}'
30671 _ACEOF
30672 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30673 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30674 for ac_var in incroot usrlibdir libdir; do
30675 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30676 done
30677 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30678 for ac_extension in a so sl; do
30679 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30680 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30681 ac_im_usrlibdir=$ac_im_libdir; break
30682 fi
30683 done
30684 # Screen out bogus values from the imake configuration. They are
30685 # bogus both because they are the default anyway, and because
30686 # using them would break gcc on systems where it needs fixed includes.
30687 case $ac_im_incroot in
30688 /usr/include) ac_x_includes= ;;
30689 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30690 esac
30691 case $ac_im_usrlibdir in
30692 /usr/lib | /lib) ;;
30693 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30694 esac
30695 fi
30696 cd ..
30697 rm -f -r conftest.dir
30698 fi
30699
30700 # Standard set of common directories for X headers.
30701 # Check X11 before X11Rn because it is often a symlink to the current release.
30702 ac_x_header_dirs='
30703 /usr/X11/include
30704 /usr/X11R6/include
30705 /usr/X11R5/include
30706 /usr/X11R4/include
30707
30708 /usr/include/X11
30709 /usr/include/X11R6
30710 /usr/include/X11R5
30711 /usr/include/X11R4
30712
30713 /usr/local/X11/include
30714 /usr/local/X11R6/include
30715 /usr/local/X11R5/include
30716 /usr/local/X11R4/include
30717
30718 /usr/local/include/X11
30719 /usr/local/include/X11R6
30720 /usr/local/include/X11R5
30721 /usr/local/include/X11R4
30722
30723 /usr/X386/include
30724 /usr/x386/include
30725 /usr/XFree86/include/X11
30726
30727 /usr/include
30728 /usr/local/include
30729 /usr/unsupported/include
30730 /usr/athena/include
30731 /usr/local/x11r5/include
30732 /usr/lpp/Xamples/include
30733
30734 /usr/openwin/include
30735 /usr/openwin/share/include'
30736
30737 if test "$ac_x_includes" = no; then
30738 # Guess where to find include files, by looking for Xlib.h.
30739 # First, try using that file with no special directory specified.
30740 cat >conftest.$ac_ext <<_ACEOF
30741 /* confdefs.h. */
30742 _ACEOF
30743 cat confdefs.h >>conftest.$ac_ext
30744 cat >>conftest.$ac_ext <<_ACEOF
30745 /* end confdefs.h. */
30746 #include <X11/Xlib.h>
30747 _ACEOF
30748 if { (ac_try="$ac_cpp conftest.$ac_ext"
30749 case "(($ac_try" in
30750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30751 *) ac_try_echo=$ac_try;;
30752 esac
30753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30754 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30755 ac_status=$?
30756 grep -v '^ *+' conftest.er1 >conftest.err
30757 rm -f conftest.er1
30758 cat conftest.err >&5
30759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30760 (exit $ac_status); } >/dev/null && {
30761 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30762 test ! -s conftest.err
30763 }; then
30764 # We can compile using X headers with no special include directory.
30765 ac_x_includes=
30766 else
30767 echo "$as_me: failed program was:" >&5
30768 sed 's/^/| /' conftest.$ac_ext >&5
30769
30770 for ac_dir in $ac_x_header_dirs; do
30771 if test -r "$ac_dir/X11/Xlib.h"; then
30772 ac_x_includes=$ac_dir
30773 break
30774 fi
30775 done
30776 fi
30777
30778 rm -f conftest.err conftest.$ac_ext
30779 fi # $ac_x_includes = no
30780
30781 if test "$ac_x_libraries" = no; then
30782 # Check for the libraries.
30783 # See if we find them without any special options.
30784 # Don't add to $LIBS permanently.
30785 ac_save_LIBS=$LIBS
30786 LIBS="-lX11 $LIBS"
30787 cat >conftest.$ac_ext <<_ACEOF
30788 /* confdefs.h. */
30789 _ACEOF
30790 cat confdefs.h >>conftest.$ac_ext
30791 cat >>conftest.$ac_ext <<_ACEOF
30792 /* end confdefs.h. */
30793 #include <X11/Xlib.h>
30794 int
30795 main ()
30796 {
30797 XrmInitialize ()
30798 ;
30799 return 0;
30800 }
30801 _ACEOF
30802 rm -f conftest.$ac_objext conftest$ac_exeext
30803 if { (ac_try="$ac_link"
30804 case "(($ac_try" in
30805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30806 *) ac_try_echo=$ac_try;;
30807 esac
30808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30809 (eval "$ac_link") 2>conftest.er1
30810 ac_status=$?
30811 grep -v '^ *+' conftest.er1 >conftest.err
30812 rm -f conftest.er1
30813 cat conftest.err >&5
30814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30815 (exit $ac_status); } && {
30816 test -z "$ac_c_werror_flag" ||
30817 test ! -s conftest.err
30818 } && test -s conftest$ac_exeext &&
30819 $as_test_x conftest$ac_exeext; then
30820 LIBS=$ac_save_LIBS
30821 # We can link X programs with no special library path.
30822 ac_x_libraries=
30823 else
30824 echo "$as_me: failed program was:" >&5
30825 sed 's/^/| /' conftest.$ac_ext >&5
30826
30827 LIBS=$ac_save_LIBS
30828 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30829 do
30830 # Don't even attempt the hair of trying to link an X program!
30831 for ac_extension in a so sl; do
30832 if test -r "$ac_dir/libX11.$ac_extension"; then
30833 ac_x_libraries=$ac_dir
30834 break 2
30835 fi
30836 done
30837 done
30838 fi
30839
30840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30841 conftest$ac_exeext conftest.$ac_ext
30842 fi # $ac_x_libraries = no
30843
30844 case $ac_x_includes,$ac_x_libraries in #(
30845 no,* | *,no | *\'*)
30846 # Didn't find X, or a directory has "'" in its name.
30847 ac_cv_have_x="have_x=no";; #(
30848 *)
30849 # Record where we found X for the cache.
30850 ac_cv_have_x="have_x=yes\
30851 ac_x_includes='$ac_x_includes'\
30852 ac_x_libraries='$ac_x_libraries'"
30853 esac
30854 fi
30855 ;; #(
30856 *) have_x=yes;;
30857 esac
30858 eval "$ac_cv_have_x"
30859 fi # $with_x != no
30860
30861 if test "$have_x" != yes; then
30862 { echo "$as_me:$LINENO: result: $have_x" >&5
30863 echo "${ECHO_T}$have_x" >&6; }
30864 no_x=yes
30865 else
30866 # If each of the values was on the command line, it overrides each guess.
30867 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30868 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30869 # Update the cache value to reflect the command line values.
30870 ac_cv_have_x="have_x=yes\
30871 ac_x_includes='$x_includes'\
30872 ac_x_libraries='$x_libraries'"
30873 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30874 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30875 fi
30876
30877 if test "$no_x" = yes; then
30878 # Not all programs may use this symbol, but it does not hurt to define it.
30879
30880 cat >>confdefs.h <<\_ACEOF
30881 #define X_DISPLAY_MISSING 1
30882 _ACEOF
30883
30884 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30885 else
30886 if test -n "$x_includes"; then
30887 X_CFLAGS="$X_CFLAGS -I$x_includes"
30888 fi
30889
30890 # It would also be nice to do this for all -L options, not just this one.
30891 if test -n "$x_libraries"; then
30892 X_LIBS="$X_LIBS -L$x_libraries"
30893 # For Solaris; some versions of Sun CC require a space after -R and
30894 # others require no space. Words are not sufficient . . . .
30895 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30896 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30897 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30898 ac_xsave_c_werror_flag=$ac_c_werror_flag
30899 ac_c_werror_flag=yes
30900 cat >conftest.$ac_ext <<_ACEOF
30901 /* confdefs.h. */
30902 _ACEOF
30903 cat confdefs.h >>conftest.$ac_ext
30904 cat >>conftest.$ac_ext <<_ACEOF
30905 /* end confdefs.h. */
30906
30907 int
30908 main ()
30909 {
30910
30911 ;
30912 return 0;
30913 }
30914 _ACEOF
30915 rm -f conftest.$ac_objext conftest$ac_exeext
30916 if { (ac_try="$ac_link"
30917 case "(($ac_try" in
30918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30919 *) ac_try_echo=$ac_try;;
30920 esac
30921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30922 (eval "$ac_link") 2>conftest.er1
30923 ac_status=$?
30924 grep -v '^ *+' conftest.er1 >conftest.err
30925 rm -f conftest.er1
30926 cat conftest.err >&5
30927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30928 (exit $ac_status); } && {
30929 test -z "$ac_c_werror_flag" ||
30930 test ! -s conftest.err
30931 } && test -s conftest$ac_exeext &&
30932 $as_test_x conftest$ac_exeext; then
30933 { echo "$as_me:$LINENO: result: no" >&5
30934 echo "${ECHO_T}no" >&6; }
30935 X_LIBS="$X_LIBS -R$x_libraries"
30936 else
30937 echo "$as_me: failed program was:" >&5
30938 sed 's/^/| /' conftest.$ac_ext >&5
30939
30940 LIBS="$ac_xsave_LIBS -R $x_libraries"
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 int
30949 main ()
30950 {
30951
30952 ;
30953 return 0;
30954 }
30955 _ACEOF
30956 rm -f conftest.$ac_objext conftest$ac_exeext
30957 if { (ac_try="$ac_link"
30958 case "(($ac_try" in
30959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30960 *) ac_try_echo=$ac_try;;
30961 esac
30962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30963 (eval "$ac_link") 2>conftest.er1
30964 ac_status=$?
30965 grep -v '^ *+' conftest.er1 >conftest.err
30966 rm -f conftest.er1
30967 cat conftest.err >&5
30968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30969 (exit $ac_status); } && {
30970 test -z "$ac_c_werror_flag" ||
30971 test ! -s conftest.err
30972 } && test -s conftest$ac_exeext &&
30973 $as_test_x conftest$ac_exeext; then
30974 { echo "$as_me:$LINENO: result: yes" >&5
30975 echo "${ECHO_T}yes" >&6; }
30976 X_LIBS="$X_LIBS -R $x_libraries"
30977 else
30978 echo "$as_me: failed program was:" >&5
30979 sed 's/^/| /' conftest.$ac_ext >&5
30980
30981 { echo "$as_me:$LINENO: result: neither works" >&5
30982 echo "${ECHO_T}neither works" >&6; }
30983 fi
30984
30985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30986 conftest$ac_exeext conftest.$ac_ext
30987 fi
30988
30989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30990 conftest$ac_exeext conftest.$ac_ext
30991 ac_c_werror_flag=$ac_xsave_c_werror_flag
30992 LIBS=$ac_xsave_LIBS
30993 fi
30994
30995 # Check for system-dependent libraries X programs must link with.
30996 # Do this before checking for the system-independent R6 libraries
30997 # (-lICE), since we may need -lsocket or whatever for X linking.
30998
30999 if test "$ISC" = yes; then
31000 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31001 else
31002 # Martyn Johnson says this is needed for Ultrix, if the X
31003 # libraries were built with DECnet support. And Karl Berry says
31004 # the Alpha needs dnet_stub (dnet does not exist).
31005 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31006 cat >conftest.$ac_ext <<_ACEOF
31007 /* confdefs.h. */
31008 _ACEOF
31009 cat confdefs.h >>conftest.$ac_ext
31010 cat >>conftest.$ac_ext <<_ACEOF
31011 /* end confdefs.h. */
31012
31013 /* Override any GCC internal prototype to avoid an error.
31014 Use char because int might match the return type of a GCC
31015 builtin and then its argument prototype would still apply. */
31016 #ifdef __cplusplus
31017 extern "C"
31018 #endif
31019 char XOpenDisplay ();
31020 int
31021 main ()
31022 {
31023 return XOpenDisplay ();
31024 ;
31025 return 0;
31026 }
31027 _ACEOF
31028 rm -f conftest.$ac_objext conftest$ac_exeext
31029 if { (ac_try="$ac_link"
31030 case "(($ac_try" in
31031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31032 *) ac_try_echo=$ac_try;;
31033 esac
31034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31035 (eval "$ac_link") 2>conftest.er1
31036 ac_status=$?
31037 grep -v '^ *+' conftest.er1 >conftest.err
31038 rm -f conftest.er1
31039 cat conftest.err >&5
31040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31041 (exit $ac_status); } && {
31042 test -z "$ac_c_werror_flag" ||
31043 test ! -s conftest.err
31044 } && test -s conftest$ac_exeext &&
31045 $as_test_x conftest$ac_exeext; then
31046 :
31047 else
31048 echo "$as_me: failed program was:" >&5
31049 sed 's/^/| /' conftest.$ac_ext >&5
31050
31051 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31052 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31053 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31054 echo $ECHO_N "(cached) $ECHO_C" >&6
31055 else
31056 ac_check_lib_save_LIBS=$LIBS
31057 LIBS="-ldnet $LIBS"
31058 cat >conftest.$ac_ext <<_ACEOF
31059 /* confdefs.h. */
31060 _ACEOF
31061 cat confdefs.h >>conftest.$ac_ext
31062 cat >>conftest.$ac_ext <<_ACEOF
31063 /* end confdefs.h. */
31064
31065 /* Override any GCC internal prototype to avoid an error.
31066 Use char because int might match the return type of a GCC
31067 builtin and then its argument prototype would still apply. */
31068 #ifdef __cplusplus
31069 extern "C"
31070 #endif
31071 char dnet_ntoa ();
31072 int
31073 main ()
31074 {
31075 return dnet_ntoa ();
31076 ;
31077 return 0;
31078 }
31079 _ACEOF
31080 rm -f conftest.$ac_objext conftest$ac_exeext
31081 if { (ac_try="$ac_link"
31082 case "(($ac_try" in
31083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31084 *) ac_try_echo=$ac_try;;
31085 esac
31086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31087 (eval "$ac_link") 2>conftest.er1
31088 ac_status=$?
31089 grep -v '^ *+' conftest.er1 >conftest.err
31090 rm -f conftest.er1
31091 cat conftest.err >&5
31092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31093 (exit $ac_status); } && {
31094 test -z "$ac_c_werror_flag" ||
31095 test ! -s conftest.err
31096 } && test -s conftest$ac_exeext &&
31097 $as_test_x conftest$ac_exeext; then
31098 ac_cv_lib_dnet_dnet_ntoa=yes
31099 else
31100 echo "$as_me: failed program was:" >&5
31101 sed 's/^/| /' conftest.$ac_ext >&5
31102
31103 ac_cv_lib_dnet_dnet_ntoa=no
31104 fi
31105
31106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31107 conftest$ac_exeext conftest.$ac_ext
31108 LIBS=$ac_check_lib_save_LIBS
31109 fi
31110 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31111 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31112 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31113 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31114 fi
31115
31116 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31117 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31118 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31119 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31120 echo $ECHO_N "(cached) $ECHO_C" >&6
31121 else
31122 ac_check_lib_save_LIBS=$LIBS
31123 LIBS="-ldnet_stub $LIBS"
31124 cat >conftest.$ac_ext <<_ACEOF
31125 /* confdefs.h. */
31126 _ACEOF
31127 cat confdefs.h >>conftest.$ac_ext
31128 cat >>conftest.$ac_ext <<_ACEOF
31129 /* end confdefs.h. */
31130
31131 /* Override any GCC internal prototype to avoid an error.
31132 Use char because int might match the return type of a GCC
31133 builtin and then its argument prototype would still apply. */
31134 #ifdef __cplusplus
31135 extern "C"
31136 #endif
31137 char dnet_ntoa ();
31138 int
31139 main ()
31140 {
31141 return dnet_ntoa ();
31142 ;
31143 return 0;
31144 }
31145 _ACEOF
31146 rm -f conftest.$ac_objext conftest$ac_exeext
31147 if { (ac_try="$ac_link"
31148 case "(($ac_try" in
31149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31150 *) ac_try_echo=$ac_try;;
31151 esac
31152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31153 (eval "$ac_link") 2>conftest.er1
31154 ac_status=$?
31155 grep -v '^ *+' conftest.er1 >conftest.err
31156 rm -f conftest.er1
31157 cat conftest.err >&5
31158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31159 (exit $ac_status); } && {
31160 test -z "$ac_c_werror_flag" ||
31161 test ! -s conftest.err
31162 } && test -s conftest$ac_exeext &&
31163 $as_test_x conftest$ac_exeext; then
31164 ac_cv_lib_dnet_stub_dnet_ntoa=yes
31165 else
31166 echo "$as_me: failed program was:" >&5
31167 sed 's/^/| /' conftest.$ac_ext >&5
31168
31169 ac_cv_lib_dnet_stub_dnet_ntoa=no
31170 fi
31171
31172 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31173 conftest$ac_exeext conftest.$ac_ext
31174 LIBS=$ac_check_lib_save_LIBS
31175 fi
31176 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31177 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31178 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31179 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
31180 fi
31181
31182 fi
31183 fi
31184
31185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31186 conftest$ac_exeext conftest.$ac_ext
31187 LIBS="$ac_xsave_LIBS"
31188
31189 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31190 # to get the SysV transport functions.
31191 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31192 # needs -lnsl.
31193 # The nsl library prevents programs from opening the X display
31194 # on Irix 5.2, according to T.E. Dickey.
31195 # The functions gethostbyname, getservbyname, and inet_addr are
31196 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31197 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31198 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31199 if test "${ac_cv_func_gethostbyname+set}" = set; then
31200 echo $ECHO_N "(cached) $ECHO_C" >&6
31201 else
31202 cat >conftest.$ac_ext <<_ACEOF
31203 /* confdefs.h. */
31204 _ACEOF
31205 cat confdefs.h >>conftest.$ac_ext
31206 cat >>conftest.$ac_ext <<_ACEOF
31207 /* end confdefs.h. */
31208 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31210 #define gethostbyname innocuous_gethostbyname
31211
31212 /* System header to define __stub macros and hopefully few prototypes,
31213 which can conflict with char gethostbyname (); below.
31214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31215 <limits.h> exists even on freestanding compilers. */
31216
31217 #ifdef __STDC__
31218 # include <limits.h>
31219 #else
31220 # include <assert.h>
31221 #endif
31222
31223 #undef gethostbyname
31224
31225 /* Override any GCC internal prototype to avoid an error.
31226 Use char because int might match the return type of a GCC
31227 builtin and then its argument prototype would still apply. */
31228 #ifdef __cplusplus
31229 extern "C"
31230 #endif
31231 char gethostbyname ();
31232 /* The GNU C library defines this for functions which it implements
31233 to always fail with ENOSYS. Some functions are actually named
31234 something starting with __ and the normal name is an alias. */
31235 #if defined __stub_gethostbyname || defined __stub___gethostbyname
31236 choke me
31237 #endif
31238
31239 int
31240 main ()
31241 {
31242 return gethostbyname ();
31243 ;
31244 return 0;
31245 }
31246 _ACEOF
31247 rm -f conftest.$ac_objext conftest$ac_exeext
31248 if { (ac_try="$ac_link"
31249 case "(($ac_try" in
31250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31251 *) ac_try_echo=$ac_try;;
31252 esac
31253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31254 (eval "$ac_link") 2>conftest.er1
31255 ac_status=$?
31256 grep -v '^ *+' conftest.er1 >conftest.err
31257 rm -f conftest.er1
31258 cat conftest.err >&5
31259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31260 (exit $ac_status); } && {
31261 test -z "$ac_c_werror_flag" ||
31262 test ! -s conftest.err
31263 } && test -s conftest$ac_exeext &&
31264 $as_test_x conftest$ac_exeext; then
31265 ac_cv_func_gethostbyname=yes
31266 else
31267 echo "$as_me: failed program was:" >&5
31268 sed 's/^/| /' conftest.$ac_ext >&5
31269
31270 ac_cv_func_gethostbyname=no
31271 fi
31272
31273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31274 conftest$ac_exeext conftest.$ac_ext
31275 fi
31276 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31277 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
31278
31279 if test $ac_cv_func_gethostbyname = no; then
31280 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31281 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
31282 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31283 echo $ECHO_N "(cached) $ECHO_C" >&6
31284 else
31285 ac_check_lib_save_LIBS=$LIBS
31286 LIBS="-lnsl $LIBS"
31287 cat >conftest.$ac_ext <<_ACEOF
31288 /* confdefs.h. */
31289 _ACEOF
31290 cat confdefs.h >>conftest.$ac_ext
31291 cat >>conftest.$ac_ext <<_ACEOF
31292 /* end confdefs.h. */
31293
31294 /* Override any GCC internal prototype to avoid an error.
31295 Use char because int might match the return type of a GCC
31296 builtin and then its argument prototype would still apply. */
31297 #ifdef __cplusplus
31298 extern "C"
31299 #endif
31300 char gethostbyname ();
31301 int
31302 main ()
31303 {
31304 return gethostbyname ();
31305 ;
31306 return 0;
31307 }
31308 _ACEOF
31309 rm -f conftest.$ac_objext conftest$ac_exeext
31310 if { (ac_try="$ac_link"
31311 case "(($ac_try" in
31312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31313 *) ac_try_echo=$ac_try;;
31314 esac
31315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31316 (eval "$ac_link") 2>conftest.er1
31317 ac_status=$?
31318 grep -v '^ *+' conftest.er1 >conftest.err
31319 rm -f conftest.er1
31320 cat conftest.err >&5
31321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31322 (exit $ac_status); } && {
31323 test -z "$ac_c_werror_flag" ||
31324 test ! -s conftest.err
31325 } && test -s conftest$ac_exeext &&
31326 $as_test_x conftest$ac_exeext; then
31327 ac_cv_lib_nsl_gethostbyname=yes
31328 else
31329 echo "$as_me: failed program was:" >&5
31330 sed 's/^/| /' conftest.$ac_ext >&5
31331
31332 ac_cv_lib_nsl_gethostbyname=no
31333 fi
31334
31335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31336 conftest$ac_exeext conftest.$ac_ext
31337 LIBS=$ac_check_lib_save_LIBS
31338 fi
31339 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31340 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31341 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31342 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
31343 fi
31344
31345 if test $ac_cv_lib_nsl_gethostbyname = no; then
31346 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31347 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31348 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31349 echo $ECHO_N "(cached) $ECHO_C" >&6
31350 else
31351 ac_check_lib_save_LIBS=$LIBS
31352 LIBS="-lbsd $LIBS"
31353 cat >conftest.$ac_ext <<_ACEOF
31354 /* confdefs.h. */
31355 _ACEOF
31356 cat confdefs.h >>conftest.$ac_ext
31357 cat >>conftest.$ac_ext <<_ACEOF
31358 /* end confdefs.h. */
31359
31360 /* Override any GCC internal prototype to avoid an error.
31361 Use char because int might match the return type of a GCC
31362 builtin and then its argument prototype would still apply. */
31363 #ifdef __cplusplus
31364 extern "C"
31365 #endif
31366 char gethostbyname ();
31367 int
31368 main ()
31369 {
31370 return gethostbyname ();
31371 ;
31372 return 0;
31373 }
31374 _ACEOF
31375 rm -f conftest.$ac_objext conftest$ac_exeext
31376 if { (ac_try="$ac_link"
31377 case "(($ac_try" in
31378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31379 *) ac_try_echo=$ac_try;;
31380 esac
31381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31382 (eval "$ac_link") 2>conftest.er1
31383 ac_status=$?
31384 grep -v '^ *+' conftest.er1 >conftest.err
31385 rm -f conftest.er1
31386 cat conftest.err >&5
31387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31388 (exit $ac_status); } && {
31389 test -z "$ac_c_werror_flag" ||
31390 test ! -s conftest.err
31391 } && test -s conftest$ac_exeext &&
31392 $as_test_x conftest$ac_exeext; then
31393 ac_cv_lib_bsd_gethostbyname=yes
31394 else
31395 echo "$as_me: failed program was:" >&5
31396 sed 's/^/| /' conftest.$ac_ext >&5
31397
31398 ac_cv_lib_bsd_gethostbyname=no
31399 fi
31400
31401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31402 conftest$ac_exeext conftest.$ac_ext
31403 LIBS=$ac_check_lib_save_LIBS
31404 fi
31405 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31406 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31407 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31408 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31409 fi
31410
31411 fi
31412 fi
31413
31414 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31415 # socket/setsockopt and other routines are undefined under SCO ODT
31416 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31417 # on later versions), says Simon Leinen: it contains gethostby*
31418 # variants that don't use the name server (or something). -lsocket
31419 # must be given before -lnsl if both are needed. We assume that
31420 # if connect needs -lnsl, so does gethostbyname.
31421 { echo "$as_me:$LINENO: checking for connect" >&5
31422 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31423 if test "${ac_cv_func_connect+set}" = set; then
31424 echo $ECHO_N "(cached) $ECHO_C" >&6
31425 else
31426 cat >conftest.$ac_ext <<_ACEOF
31427 /* confdefs.h. */
31428 _ACEOF
31429 cat confdefs.h >>conftest.$ac_ext
31430 cat >>conftest.$ac_ext <<_ACEOF
31431 /* end confdefs.h. */
31432 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31434 #define connect innocuous_connect
31435
31436 /* System header to define __stub macros and hopefully few prototypes,
31437 which can conflict with char connect (); below.
31438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31439 <limits.h> exists even on freestanding compilers. */
31440
31441 #ifdef __STDC__
31442 # include <limits.h>
31443 #else
31444 # include <assert.h>
31445 #endif
31446
31447 #undef connect
31448
31449 /* Override any GCC internal prototype to avoid an error.
31450 Use char because int might match the return type of a GCC
31451 builtin and then its argument prototype would still apply. */
31452 #ifdef __cplusplus
31453 extern "C"
31454 #endif
31455 char connect ();
31456 /* The GNU C library defines this for functions which it implements
31457 to always fail with ENOSYS. Some functions are actually named
31458 something starting with __ and the normal name is an alias. */
31459 #if defined __stub_connect || defined __stub___connect
31460 choke me
31461 #endif
31462
31463 int
31464 main ()
31465 {
31466 return connect ();
31467 ;
31468 return 0;
31469 }
31470 _ACEOF
31471 rm -f conftest.$ac_objext conftest$ac_exeext
31472 if { (ac_try="$ac_link"
31473 case "(($ac_try" in
31474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31475 *) ac_try_echo=$ac_try;;
31476 esac
31477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31478 (eval "$ac_link") 2>conftest.er1
31479 ac_status=$?
31480 grep -v '^ *+' conftest.er1 >conftest.err
31481 rm -f conftest.er1
31482 cat conftest.err >&5
31483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31484 (exit $ac_status); } && {
31485 test -z "$ac_c_werror_flag" ||
31486 test ! -s conftest.err
31487 } && test -s conftest$ac_exeext &&
31488 $as_test_x conftest$ac_exeext; then
31489 ac_cv_func_connect=yes
31490 else
31491 echo "$as_me: failed program was:" >&5
31492 sed 's/^/| /' conftest.$ac_ext >&5
31493
31494 ac_cv_func_connect=no
31495 fi
31496
31497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31498 conftest$ac_exeext conftest.$ac_ext
31499 fi
31500 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31501 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
31502
31503 if test $ac_cv_func_connect = no; then
31504 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31505 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
31506 if test "${ac_cv_lib_socket_connect+set}" = set; then
31507 echo $ECHO_N "(cached) $ECHO_C" >&6
31508 else
31509 ac_check_lib_save_LIBS=$LIBS
31510 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
31511 cat >conftest.$ac_ext <<_ACEOF
31512 /* confdefs.h. */
31513 _ACEOF
31514 cat confdefs.h >>conftest.$ac_ext
31515 cat >>conftest.$ac_ext <<_ACEOF
31516 /* end confdefs.h. */
31517
31518 /* Override any GCC internal prototype to avoid an error.
31519 Use char because int might match the return type of a GCC
31520 builtin and then its argument prototype would still apply. */
31521 #ifdef __cplusplus
31522 extern "C"
31523 #endif
31524 char connect ();
31525 int
31526 main ()
31527 {
31528 return connect ();
31529 ;
31530 return 0;
31531 }
31532 _ACEOF
31533 rm -f conftest.$ac_objext conftest$ac_exeext
31534 if { (ac_try="$ac_link"
31535 case "(($ac_try" in
31536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31537 *) ac_try_echo=$ac_try;;
31538 esac
31539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31540 (eval "$ac_link") 2>conftest.er1
31541 ac_status=$?
31542 grep -v '^ *+' conftest.er1 >conftest.err
31543 rm -f conftest.er1
31544 cat conftest.err >&5
31545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31546 (exit $ac_status); } && {
31547 test -z "$ac_c_werror_flag" ||
31548 test ! -s conftest.err
31549 } && test -s conftest$ac_exeext &&
31550 $as_test_x conftest$ac_exeext; then
31551 ac_cv_lib_socket_connect=yes
31552 else
31553 echo "$as_me: failed program was:" >&5
31554 sed 's/^/| /' conftest.$ac_ext >&5
31555
31556 ac_cv_lib_socket_connect=no
31557 fi
31558
31559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31560 conftest$ac_exeext conftest.$ac_ext
31561 LIBS=$ac_check_lib_save_LIBS
31562 fi
31563 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31564 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31565 if test $ac_cv_lib_socket_connect = yes; then
31566 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31567 fi
31568
31569 fi
31570
31571 # Guillermo Gomez says -lposix is necessary on A/UX.
31572 { echo "$as_me:$LINENO: checking for remove" >&5
31573 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31574 if test "${ac_cv_func_remove+set}" = set; then
31575 echo $ECHO_N "(cached) $ECHO_C" >&6
31576 else
31577 cat >conftest.$ac_ext <<_ACEOF
31578 /* confdefs.h. */
31579 _ACEOF
31580 cat confdefs.h >>conftest.$ac_ext
31581 cat >>conftest.$ac_ext <<_ACEOF
31582 /* end confdefs.h. */
31583 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31585 #define remove innocuous_remove
31586
31587 /* System header to define __stub macros and hopefully few prototypes,
31588 which can conflict with char remove (); below.
31589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31590 <limits.h> exists even on freestanding compilers. */
31591
31592 #ifdef __STDC__
31593 # include <limits.h>
31594 #else
31595 # include <assert.h>
31596 #endif
31597
31598 #undef remove
31599
31600 /* Override any GCC internal prototype to avoid an error.
31601 Use char because int might match the return type of a GCC
31602 builtin and then its argument prototype would still apply. */
31603 #ifdef __cplusplus
31604 extern "C"
31605 #endif
31606 char remove ();
31607 /* The GNU C library defines this for functions which it implements
31608 to always fail with ENOSYS. Some functions are actually named
31609 something starting with __ and the normal name is an alias. */
31610 #if defined __stub_remove || defined __stub___remove
31611 choke me
31612 #endif
31613
31614 int
31615 main ()
31616 {
31617 return remove ();
31618 ;
31619 return 0;
31620 }
31621 _ACEOF
31622 rm -f conftest.$ac_objext conftest$ac_exeext
31623 if { (ac_try="$ac_link"
31624 case "(($ac_try" in
31625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31626 *) ac_try_echo=$ac_try;;
31627 esac
31628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31629 (eval "$ac_link") 2>conftest.er1
31630 ac_status=$?
31631 grep -v '^ *+' conftest.er1 >conftest.err
31632 rm -f conftest.er1
31633 cat conftest.err >&5
31634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31635 (exit $ac_status); } && {
31636 test -z "$ac_c_werror_flag" ||
31637 test ! -s conftest.err
31638 } && test -s conftest$ac_exeext &&
31639 $as_test_x conftest$ac_exeext; then
31640 ac_cv_func_remove=yes
31641 else
31642 echo "$as_me: failed program was:" >&5
31643 sed 's/^/| /' conftest.$ac_ext >&5
31644
31645 ac_cv_func_remove=no
31646 fi
31647
31648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31649 conftest$ac_exeext conftest.$ac_ext
31650 fi
31651 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31652 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31653
31654 if test $ac_cv_func_remove = no; then
31655 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31656 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31657 if test "${ac_cv_lib_posix_remove+set}" = set; then
31658 echo $ECHO_N "(cached) $ECHO_C" >&6
31659 else
31660 ac_check_lib_save_LIBS=$LIBS
31661 LIBS="-lposix $LIBS"
31662 cat >conftest.$ac_ext <<_ACEOF
31663 /* confdefs.h. */
31664 _ACEOF
31665 cat confdefs.h >>conftest.$ac_ext
31666 cat >>conftest.$ac_ext <<_ACEOF
31667 /* end confdefs.h. */
31668
31669 /* Override any GCC internal prototype to avoid an error.
31670 Use char because int might match the return type of a GCC
31671 builtin and then its argument prototype would still apply. */
31672 #ifdef __cplusplus
31673 extern "C"
31674 #endif
31675 char remove ();
31676 int
31677 main ()
31678 {
31679 return remove ();
31680 ;
31681 return 0;
31682 }
31683 _ACEOF
31684 rm -f conftest.$ac_objext conftest$ac_exeext
31685 if { (ac_try="$ac_link"
31686 case "(($ac_try" in
31687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31688 *) ac_try_echo=$ac_try;;
31689 esac
31690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31691 (eval "$ac_link") 2>conftest.er1
31692 ac_status=$?
31693 grep -v '^ *+' conftest.er1 >conftest.err
31694 rm -f conftest.er1
31695 cat conftest.err >&5
31696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31697 (exit $ac_status); } && {
31698 test -z "$ac_c_werror_flag" ||
31699 test ! -s conftest.err
31700 } && test -s conftest$ac_exeext &&
31701 $as_test_x conftest$ac_exeext; then
31702 ac_cv_lib_posix_remove=yes
31703 else
31704 echo "$as_me: failed program was:" >&5
31705 sed 's/^/| /' conftest.$ac_ext >&5
31706
31707 ac_cv_lib_posix_remove=no
31708 fi
31709
31710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31711 conftest$ac_exeext conftest.$ac_ext
31712 LIBS=$ac_check_lib_save_LIBS
31713 fi
31714 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31715 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31716 if test $ac_cv_lib_posix_remove = yes; then
31717 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31718 fi
31719
31720 fi
31721
31722 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31723 { echo "$as_me:$LINENO: checking for shmat" >&5
31724 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31725 if test "${ac_cv_func_shmat+set}" = set; then
31726 echo $ECHO_N "(cached) $ECHO_C" >&6
31727 else
31728 cat >conftest.$ac_ext <<_ACEOF
31729 /* confdefs.h. */
31730 _ACEOF
31731 cat confdefs.h >>conftest.$ac_ext
31732 cat >>conftest.$ac_ext <<_ACEOF
31733 /* end confdefs.h. */
31734 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31736 #define shmat innocuous_shmat
31737
31738 /* System header to define __stub macros and hopefully few prototypes,
31739 which can conflict with char shmat (); below.
31740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31741 <limits.h> exists even on freestanding compilers. */
31742
31743 #ifdef __STDC__
31744 # include <limits.h>
31745 #else
31746 # include <assert.h>
31747 #endif
31748
31749 #undef shmat
31750
31751 /* Override any GCC internal prototype to avoid an error.
31752 Use char because int might match the return type of a GCC
31753 builtin and then its argument prototype would still apply. */
31754 #ifdef __cplusplus
31755 extern "C"
31756 #endif
31757 char shmat ();
31758 /* The GNU C library defines this for functions which it implements
31759 to always fail with ENOSYS. Some functions are actually named
31760 something starting with __ and the normal name is an alias. */
31761 #if defined __stub_shmat || defined __stub___shmat
31762 choke me
31763 #endif
31764
31765 int
31766 main ()
31767 {
31768 return shmat ();
31769 ;
31770 return 0;
31771 }
31772 _ACEOF
31773 rm -f conftest.$ac_objext conftest$ac_exeext
31774 if { (ac_try="$ac_link"
31775 case "(($ac_try" in
31776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31777 *) ac_try_echo=$ac_try;;
31778 esac
31779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31780 (eval "$ac_link") 2>conftest.er1
31781 ac_status=$?
31782 grep -v '^ *+' conftest.er1 >conftest.err
31783 rm -f conftest.er1
31784 cat conftest.err >&5
31785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31786 (exit $ac_status); } && {
31787 test -z "$ac_c_werror_flag" ||
31788 test ! -s conftest.err
31789 } && test -s conftest$ac_exeext &&
31790 $as_test_x conftest$ac_exeext; then
31791 ac_cv_func_shmat=yes
31792 else
31793 echo "$as_me: failed program was:" >&5
31794 sed 's/^/| /' conftest.$ac_ext >&5
31795
31796 ac_cv_func_shmat=no
31797 fi
31798
31799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31800 conftest$ac_exeext conftest.$ac_ext
31801 fi
31802 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31803 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31804
31805 if test $ac_cv_func_shmat = no; then
31806 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31807 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31808 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31809 echo $ECHO_N "(cached) $ECHO_C" >&6
31810 else
31811 ac_check_lib_save_LIBS=$LIBS
31812 LIBS="-lipc $LIBS"
31813 cat >conftest.$ac_ext <<_ACEOF
31814 /* confdefs.h. */
31815 _ACEOF
31816 cat confdefs.h >>conftest.$ac_ext
31817 cat >>conftest.$ac_ext <<_ACEOF
31818 /* end confdefs.h. */
31819
31820 /* Override any GCC internal prototype to avoid an error.
31821 Use char because int might match the return type of a GCC
31822 builtin and then its argument prototype would still apply. */
31823 #ifdef __cplusplus
31824 extern "C"
31825 #endif
31826 char shmat ();
31827 int
31828 main ()
31829 {
31830 return shmat ();
31831 ;
31832 return 0;
31833 }
31834 _ACEOF
31835 rm -f conftest.$ac_objext conftest$ac_exeext
31836 if { (ac_try="$ac_link"
31837 case "(($ac_try" in
31838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31839 *) ac_try_echo=$ac_try;;
31840 esac
31841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31842 (eval "$ac_link") 2>conftest.er1
31843 ac_status=$?
31844 grep -v '^ *+' conftest.er1 >conftest.err
31845 rm -f conftest.er1
31846 cat conftest.err >&5
31847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31848 (exit $ac_status); } && {
31849 test -z "$ac_c_werror_flag" ||
31850 test ! -s conftest.err
31851 } && test -s conftest$ac_exeext &&
31852 $as_test_x conftest$ac_exeext; then
31853 ac_cv_lib_ipc_shmat=yes
31854 else
31855 echo "$as_me: failed program was:" >&5
31856 sed 's/^/| /' conftest.$ac_ext >&5
31857
31858 ac_cv_lib_ipc_shmat=no
31859 fi
31860
31861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31862 conftest$ac_exeext conftest.$ac_ext
31863 LIBS=$ac_check_lib_save_LIBS
31864 fi
31865 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31866 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31867 if test $ac_cv_lib_ipc_shmat = yes; then
31868 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31869 fi
31870
31871 fi
31872 fi
31873
31874 # Check for libraries that X11R6 Xt/Xaw programs need.
31875 ac_save_LDFLAGS=$LDFLAGS
31876 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31877 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31878 # check for ICE first), but we must link in the order -lSM -lICE or
31879 # we get undefined symbols. So assume we have SM if we have ICE.
31880 # These have to be linked with before -lX11, unlike the other
31881 # libraries we check for below, so use a different variable.
31882 # John Interrante, Karl Berry
31883 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31884 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31885 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31886 echo $ECHO_N "(cached) $ECHO_C" >&6
31887 else
31888 ac_check_lib_save_LIBS=$LIBS
31889 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31890 cat >conftest.$ac_ext <<_ACEOF
31891 /* confdefs.h. */
31892 _ACEOF
31893 cat confdefs.h >>conftest.$ac_ext
31894 cat >>conftest.$ac_ext <<_ACEOF
31895 /* end confdefs.h. */
31896
31897 /* Override any GCC internal prototype to avoid an error.
31898 Use char because int might match the return type of a GCC
31899 builtin and then its argument prototype would still apply. */
31900 #ifdef __cplusplus
31901 extern "C"
31902 #endif
31903 char IceConnectionNumber ();
31904 int
31905 main ()
31906 {
31907 return IceConnectionNumber ();
31908 ;
31909 return 0;
31910 }
31911 _ACEOF
31912 rm -f conftest.$ac_objext conftest$ac_exeext
31913 if { (ac_try="$ac_link"
31914 case "(($ac_try" in
31915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31916 *) ac_try_echo=$ac_try;;
31917 esac
31918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31919 (eval "$ac_link") 2>conftest.er1
31920 ac_status=$?
31921 grep -v '^ *+' conftest.er1 >conftest.err
31922 rm -f conftest.er1
31923 cat conftest.err >&5
31924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31925 (exit $ac_status); } && {
31926 test -z "$ac_c_werror_flag" ||
31927 test ! -s conftest.err
31928 } && test -s conftest$ac_exeext &&
31929 $as_test_x conftest$ac_exeext; then
31930 ac_cv_lib_ICE_IceConnectionNumber=yes
31931 else
31932 echo "$as_me: failed program was:" >&5
31933 sed 's/^/| /' conftest.$ac_ext >&5
31934
31935 ac_cv_lib_ICE_IceConnectionNumber=no
31936 fi
31937
31938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31939 conftest$ac_exeext conftest.$ac_ext
31940 LIBS=$ac_check_lib_save_LIBS
31941 fi
31942 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31943 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31944 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31945 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31946 fi
31947
31948 LDFLAGS=$ac_save_LDFLAGS
31949
31950 fi
31951
31952
31953 if test "$no_x" = "yes"; then
31954 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31955 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31956 { (exit 1); exit 1; }; }
31957 fi
31958
31959 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31960 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31961 AFMINSTALL=afminstall
31962 COMPILED_X_PROGRAM=0
31963
31964 fi
31965
31966 if test "$wxUSE_X11" = 1; then
31967 if test "$wxUSE_NANOX" = "yes"; then
31968 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31969 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31970 if test "x$MICROWIN" = x ; then
31971 { echo "$as_me:$LINENO: result: not found" >&5
31972 echo "${ECHO_T}not found" >&6; }
31973 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31974 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31975 { (exit 1); exit 1; }; }
31976 else
31977 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31978 echo "${ECHO_T}$MICROWIN" >&6; }
31979 cat >>confdefs.h <<\_ACEOF
31980 #define wxUSE_NANOX 1
31981 _ACEOF
31982
31983 fi
31984 fi
31985
31986 if test "$wxUSE_UNICODE" = "yes"; then
31987
31988
31989 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31990 if test -n "$ac_tool_prefix"; then
31991 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31992 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31993 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31995 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31996 echo $ECHO_N "(cached) $ECHO_C" >&6
31997 else
31998 case $PKG_CONFIG in
31999 [\\/]* | ?:[\\/]*)
32000 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32001 ;;
32002 *)
32003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32004 for as_dir in $PATH
32005 do
32006 IFS=$as_save_IFS
32007 test -z "$as_dir" && as_dir=.
32008 for ac_exec_ext in '' $ac_executable_extensions; do
32009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32010 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32012 break 2
32013 fi
32014 done
32015 done
32016 IFS=$as_save_IFS
32017
32018 ;;
32019 esac
32020 fi
32021 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32022 if test -n "$PKG_CONFIG"; then
32023 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32024 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32025 else
32026 { echo "$as_me:$LINENO: result: no" >&5
32027 echo "${ECHO_T}no" >&6; }
32028 fi
32029
32030
32031 fi
32032 if test -z "$ac_cv_path_PKG_CONFIG"; then
32033 ac_pt_PKG_CONFIG=$PKG_CONFIG
32034 # Extract the first word of "pkg-config", so it can be a program name with args.
32035 set dummy pkg-config; ac_word=$2
32036 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32038 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32039 echo $ECHO_N "(cached) $ECHO_C" >&6
32040 else
32041 case $ac_pt_PKG_CONFIG in
32042 [\\/]* | ?:[\\/]*)
32043 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32044 ;;
32045 *)
32046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32047 for as_dir in $PATH
32048 do
32049 IFS=$as_save_IFS
32050 test -z "$as_dir" && as_dir=.
32051 for ac_exec_ext in '' $ac_executable_extensions; do
32052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32053 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32055 break 2
32056 fi
32057 done
32058 done
32059 IFS=$as_save_IFS
32060
32061 ;;
32062 esac
32063 fi
32064 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32065 if test -n "$ac_pt_PKG_CONFIG"; then
32066 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32067 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32068 else
32069 { echo "$as_me:$LINENO: result: no" >&5
32070 echo "${ECHO_T}no" >&6; }
32071 fi
32072
32073 if test "x$ac_pt_PKG_CONFIG" = x; then
32074 PKG_CONFIG=""
32075 else
32076 case $cross_compiling:$ac_tool_warned in
32077 yes:)
32078 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32079 whose name does not start with the host triplet. If you think this
32080 configuration is useful to you, please write to autoconf@gnu.org." >&5
32081 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32082 whose name does not start with the host triplet. If you think this
32083 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32084 ac_tool_warned=yes ;;
32085 esac
32086 PKG_CONFIG=$ac_pt_PKG_CONFIG
32087 fi
32088 else
32089 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32090 fi
32091
32092 fi
32093 if test -n "$PKG_CONFIG"; then
32094 _pkg_min_version=0.9.0
32095 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32096 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32097 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32098 { echo "$as_me:$LINENO: result: yes" >&5
32099 echo "${ECHO_T}yes" >&6; }
32100 else
32101 { echo "$as_me:$LINENO: result: no" >&5
32102 echo "${ECHO_T}no" >&6; }
32103 PKG_CONFIG=""
32104 fi
32105
32106 fi
32107
32108
32109 pkg_failed=no
32110 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32111 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32112
32113 if test -n "$PKG_CONFIG"; then
32114 if test -n "$PANGOX_CFLAGS"; then
32115 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
32116 else
32117 if test -n "$PKG_CONFIG" && \
32118 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32119 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32120 ac_status=$?
32121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32122 (exit $ac_status); }; then
32123 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32124 else
32125 pkg_failed=yes
32126 fi
32127 fi
32128 else
32129 pkg_failed=untried
32130 fi
32131 if test -n "$PKG_CONFIG"; then
32132 if test -n "$PANGOX_LIBS"; then
32133 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
32134 else
32135 if test -n "$PKG_CONFIG" && \
32136 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32137 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32138 ac_status=$?
32139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32140 (exit $ac_status); }; then
32141 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32142 else
32143 pkg_failed=yes
32144 fi
32145 fi
32146 else
32147 pkg_failed=untried
32148 fi
32149
32150
32151
32152 if test $pkg_failed = yes; then
32153
32154 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32155 _pkg_short_errors_supported=yes
32156 else
32157 _pkg_short_errors_supported=no
32158 fi
32159 if test $_pkg_short_errors_supported = yes; then
32160 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32161 else
32162 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32163 fi
32164 # Put the nasty error message in config.log where it belongs
32165 echo "$PANGOX_PKG_ERRORS" >&5
32166
32167
32168 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32169 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32170 { (exit 1); exit 1; }; }
32171
32172
32173 elif test $pkg_failed = untried; then
32174
32175 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32176 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32177 { (exit 1); exit 1; }; }
32178
32179
32180 else
32181 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
32182 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
32183 { echo "$as_me:$LINENO: result: yes" >&5
32184 echo "${ECHO_T}yes" >&6; }
32185
32186 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
32187 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
32188 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
32189
32190 fi
32191
32192 pkg_failed=no
32193 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32194 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
32195
32196 if test -n "$PKG_CONFIG"; then
32197 if test -n "$PANGOFT2_CFLAGS"; then
32198 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
32199 else
32200 if test -n "$PKG_CONFIG" && \
32201 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32202 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32203 ac_status=$?
32204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32205 (exit $ac_status); }; then
32206 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32207 else
32208 pkg_failed=yes
32209 fi
32210 fi
32211 else
32212 pkg_failed=untried
32213 fi
32214 if test -n "$PKG_CONFIG"; then
32215 if test -n "$PANGOFT2_LIBS"; then
32216 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
32217 else
32218 if test -n "$PKG_CONFIG" && \
32219 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32220 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32221 ac_status=$?
32222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32223 (exit $ac_status); }; then
32224 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32225 else
32226 pkg_failed=yes
32227 fi
32228 fi
32229 else
32230 pkg_failed=untried
32231 fi
32232
32233
32234
32235 if test $pkg_failed = yes; then
32236
32237 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32238 _pkg_short_errors_supported=yes
32239 else
32240 _pkg_short_errors_supported=no
32241 fi
32242 if test $_pkg_short_errors_supported = yes; then
32243 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32244 else
32245 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32246 fi
32247 # Put the nasty error message in config.log where it belongs
32248 echo "$PANGOFT2_PKG_ERRORS" >&5
32249
32250
32251 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32252 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32253 wxUSE_PRINTING_ARCHITECTURE="no"
32254
32255
32256 elif test $pkg_failed = untried; then
32257
32258 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32259 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32260 wxUSE_PRINTING_ARCHITECTURE="no"
32261
32262
32263 else
32264 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
32265 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
32266 { echo "$as_me:$LINENO: result: yes" >&5
32267 echo "${ECHO_T}yes" >&6; }
32268
32269 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
32270 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
32271 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32272
32273 fi
32274
32275 pkg_failed=no
32276 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32277 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
32278
32279 if test -n "$PKG_CONFIG"; then
32280 if test -n "$PANGOXFT_CFLAGS"; then
32281 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
32282 else
32283 if test -n "$PKG_CONFIG" && \
32284 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32285 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32286 ac_status=$?
32287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32288 (exit $ac_status); }; then
32289 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32290 else
32291 pkg_failed=yes
32292 fi
32293 fi
32294 else
32295 pkg_failed=untried
32296 fi
32297 if test -n "$PKG_CONFIG"; then
32298 if test -n "$PANGOXFT_LIBS"; then
32299 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
32300 else
32301 if test -n "$PKG_CONFIG" && \
32302 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32303 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32304 ac_status=$?
32305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32306 (exit $ac_status); }; then
32307 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32308 else
32309 pkg_failed=yes
32310 fi
32311 fi
32312 else
32313 pkg_failed=untried
32314 fi
32315
32316
32317
32318 if test $pkg_failed = yes; then
32319
32320 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32321 _pkg_short_errors_supported=yes
32322 else
32323 _pkg_short_errors_supported=no
32324 fi
32325 if test $_pkg_short_errors_supported = yes; then
32326 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32327 else
32328 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32329 fi
32330 # Put the nasty error message in config.log where it belongs
32331 echo "$PANGOXFT_PKG_ERRORS" >&5
32332
32333
32334 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32335 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32336
32337
32338 elif test $pkg_failed = untried; then
32339
32340 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32341 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32342
32343
32344 else
32345 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
32346 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
32347 { echo "$as_me:$LINENO: result: yes" >&5
32348 echo "${ECHO_T}yes" >&6; }
32349
32350 cat >>confdefs.h <<\_ACEOF
32351 #define HAVE_PANGO_XFT 1
32352 _ACEOF
32353
32354 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
32355 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
32356 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32357
32358 fi
32359 save_LIBS="$LIBS"
32360 LIBS="$LIBS $PANGOX_LIBS"
32361
32362 for ac_func in pango_font_family_is_monospace
32363 do
32364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32365 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32367 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32368 echo $ECHO_N "(cached) $ECHO_C" >&6
32369 else
32370 cat >conftest.$ac_ext <<_ACEOF
32371 /* confdefs.h. */
32372 _ACEOF
32373 cat confdefs.h >>conftest.$ac_ext
32374 cat >>conftest.$ac_ext <<_ACEOF
32375 /* end confdefs.h. */
32376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32378 #define $ac_func innocuous_$ac_func
32379
32380 /* System header to define __stub macros and hopefully few prototypes,
32381 which can conflict with char $ac_func (); below.
32382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32383 <limits.h> exists even on freestanding compilers. */
32384
32385 #ifdef __STDC__
32386 # include <limits.h>
32387 #else
32388 # include <assert.h>
32389 #endif
32390
32391 #undef $ac_func
32392
32393 /* Override any GCC internal prototype to avoid an error.
32394 Use char because int might match the return type of a GCC
32395 builtin and then its argument prototype would still apply. */
32396 #ifdef __cplusplus
32397 extern "C"
32398 #endif
32399 char $ac_func ();
32400 /* The GNU C library defines this for functions which it implements
32401 to always fail with ENOSYS. Some functions are actually named
32402 something starting with __ and the normal name is an alias. */
32403 #if defined __stub_$ac_func || defined __stub___$ac_func
32404 choke me
32405 #endif
32406
32407 int
32408 main ()
32409 {
32410 return $ac_func ();
32411 ;
32412 return 0;
32413 }
32414 _ACEOF
32415 rm -f conftest.$ac_objext conftest$ac_exeext
32416 if { (ac_try="$ac_link"
32417 case "(($ac_try" in
32418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32419 *) ac_try_echo=$ac_try;;
32420 esac
32421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32422 (eval "$ac_link") 2>conftest.er1
32423 ac_status=$?
32424 grep -v '^ *+' conftest.er1 >conftest.err
32425 rm -f conftest.er1
32426 cat conftest.err >&5
32427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32428 (exit $ac_status); } && {
32429 test -z "$ac_c_werror_flag" ||
32430 test ! -s conftest.err
32431 } && test -s conftest$ac_exeext &&
32432 $as_test_x conftest$ac_exeext; then
32433 eval "$as_ac_var=yes"
32434 else
32435 echo "$as_me: failed program was:" >&5
32436 sed 's/^/| /' conftest.$ac_ext >&5
32437
32438 eval "$as_ac_var=no"
32439 fi
32440
32441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32442 conftest$ac_exeext conftest.$ac_ext
32443 fi
32444 ac_res=`eval echo '${'$as_ac_var'}'`
32445 { echo "$as_me:$LINENO: result: $ac_res" >&5
32446 echo "${ECHO_T}$ac_res" >&6; }
32447 if test `eval echo '${'$as_ac_var'}'` = yes; then
32448 cat >>confdefs.h <<_ACEOF
32449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32450 _ACEOF
32451
32452 fi
32453 done
32454
32455 LIBS="$save_LIBS"
32456 fi
32457
32458 wxUSE_UNIVERSAL="yes"
32459
32460 if test "$wxUSE_NANOX" = "yes"; then
32461 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32462 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"
32463 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32464 else
32465 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32466 fi
32467
32468 TOOLKIT=X11
32469 GUIDIST=X11_DIST
32470 fi
32471
32472 if test "$wxUSE_MOTIF" = 1; then
32473 if test "$wxUSE_UNICODE" = "yes"; then
32474 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
32475 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
32476 { (exit 1); exit 1; }; }
32477 fi
32478
32479 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32480 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32481
32482 ac_find_includes=
32483 for ac_dir in $SEARCH_INCLUDE /usr/include;
32484 do
32485 if test -f "$ac_dir/Xm/Xm.h"; then
32486 ac_find_includes=$ac_dir
32487 break
32488 fi
32489 done
32490
32491 if test "$ac_find_includes" != "" ; then
32492 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32493 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32494
32495 if test "x$ac_find_includes" = "x/usr/include"; then
32496 ac_path_to_include=""
32497 else
32498 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32499 result=$?
32500 if test $result = 0; then
32501 ac_path_to_include=""
32502 else
32503 ac_path_to_include=" -I$ac_find_includes"
32504 fi
32505 fi
32506
32507 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32508 else
32509 save_CFLAGS=$CFLAGS
32510 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32511
32512 cat >conftest.$ac_ext <<_ACEOF
32513 /* confdefs.h. */
32514 _ACEOF
32515 cat confdefs.h >>conftest.$ac_ext
32516 cat >>conftest.$ac_ext <<_ACEOF
32517 /* end confdefs.h. */
32518
32519 #include <Xm/Xm.h>
32520
32521 int
32522 main ()
32523 {
32524
32525 int version;
32526 version = xmUseVersion;
32527
32528 ;
32529 return 0;
32530 }
32531 _ACEOF
32532 rm -f conftest.$ac_objext
32533 if { (ac_try="$ac_compile"
32534 case "(($ac_try" in
32535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32536 *) ac_try_echo=$ac_try;;
32537 esac
32538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32539 (eval "$ac_compile") 2>conftest.er1
32540 ac_status=$?
32541 grep -v '^ *+' conftest.er1 >conftest.err
32542 rm -f conftest.er1
32543 cat conftest.err >&5
32544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32545 (exit $ac_status); } && {
32546 test -z "$ac_c_werror_flag" ||
32547 test ! -s conftest.err
32548 } && test -s conftest.$ac_objext; then
32549
32550 { echo "$as_me:$LINENO: result: found in default search path" >&5
32551 echo "${ECHO_T}found in default search path" >&6; }
32552 COMPILED_X_PROGRAM=1
32553
32554 else
32555 echo "$as_me: failed program was:" >&5
32556 sed 's/^/| /' conftest.$ac_ext >&5
32557
32558
32559 { echo "$as_me:$LINENO: result: no" >&5
32560 echo "${ECHO_T}no" >&6; }
32561 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32562 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32563 { (exit 1); exit 1; }; }
32564
32565
32566 fi
32567
32568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32569
32570 CFLAGS=$save_CFLAGS
32571 fi
32572
32573
32574 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32575 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
32576
32577 ac_find_libraries=
32578 for ac_dir in $SEARCH_LIB;
32579 do
32580 for ac_extension in a so sl dylib dll.a; do
32581 if test -f "$ac_dir/libXm.$ac_extension"; then
32582 ac_find_libraries=$ac_dir
32583 break 2
32584 fi
32585 done
32586 done
32587
32588
32589 if test "x$ac_find_libraries" != "x" ; then
32590 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32591 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32592
32593
32594 if test "$ac_find_libraries" = "default location"; then
32595 ac_path_to_link=""
32596 else
32597 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32598 result=$?
32599 if test $result = 0; then
32600 ac_path_to_link=""
32601 else
32602 ac_path_to_link=" -L$ac_find_libraries"
32603 fi
32604 fi
32605
32606 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32607 else
32608 save_CFLAGS=$CFLAGS
32609 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32610 save_LIBS="$LIBS"
32611 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32612
32613 cat >conftest.$ac_ext <<_ACEOF
32614 /* confdefs.h. */
32615 _ACEOF
32616 cat confdefs.h >>conftest.$ac_ext
32617 cat >>conftest.$ac_ext <<_ACEOF
32618 /* end confdefs.h. */
32619
32620 #include <Xm/Xm.h>
32621
32622 int
32623 main ()
32624 {
32625
32626 int version;
32627 version = xmUseVersion;
32628
32629 ;
32630 return 0;
32631 }
32632 _ACEOF
32633 rm -f conftest.$ac_objext conftest$ac_exeext
32634 if { (ac_try="$ac_link"
32635 case "(($ac_try" in
32636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32637 *) ac_try_echo=$ac_try;;
32638 esac
32639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32640 (eval "$ac_link") 2>conftest.er1
32641 ac_status=$?
32642 grep -v '^ *+' conftest.er1 >conftest.err
32643 rm -f conftest.er1
32644 cat conftest.err >&5
32645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32646 (exit $ac_status); } && {
32647 test -z "$ac_c_werror_flag" ||
32648 test ! -s conftest.err
32649 } && test -s conftest$ac_exeext &&
32650 $as_test_x conftest$ac_exeext; then
32651
32652 { echo "$as_me:$LINENO: result: found in default search path" >&5
32653 echo "${ECHO_T}found in default search path" >&6; }
32654 COMPILED_X_PROGRAM=1
32655
32656 else
32657 echo "$as_me: failed program was:" >&5
32658 sed 's/^/| /' conftest.$ac_ext >&5
32659
32660
32661 { echo "$as_me:$LINENO: result: no" >&5
32662 echo "${ECHO_T}no" >&6; }
32663 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32664 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32665 { (exit 1); exit 1; }; }
32666
32667
32668 fi
32669
32670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32671 conftest$ac_exeext conftest.$ac_ext
32672
32673 CFLAGS=$save_CFLAGS
32674 LIBS="$save_LIBS"
32675 fi
32676
32677 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32678 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32679 libp_link=""
32680 libsm_ice_link=""
32681 libs_found=0
32682 for libp in "" " -lXp"; do
32683 if test "$libs_found" = "0"; then
32684 for libsm_ice in "" " -lSM -lICE"; do
32685 if test "$libs_found" = "0"; then
32686 save_LIBS="$LIBS"
32687 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32688 save_CFLAGS=$CFLAGS
32689 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32690
32691 cat >conftest.$ac_ext <<_ACEOF
32692 /* confdefs.h. */
32693 _ACEOF
32694 cat confdefs.h >>conftest.$ac_ext
32695 cat >>conftest.$ac_ext <<_ACEOF
32696 /* end confdefs.h. */
32697
32698 #include <Xm/Xm.h>
32699 #include <Xm/List.h>
32700
32701 int
32702 main ()
32703 {
32704
32705 XmString string = NULL;
32706 Widget w = NULL;
32707 int position = 0;
32708 XmListAddItem(w, string, position);
32709
32710 ;
32711 return 0;
32712 }
32713 _ACEOF
32714 rm -f conftest.$ac_objext conftest$ac_exeext
32715 if { (ac_try="$ac_link"
32716 case "(($ac_try" in
32717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32718 *) ac_try_echo=$ac_try;;
32719 esac
32720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32721 (eval "$ac_link") 2>conftest.er1
32722 ac_status=$?
32723 grep -v '^ *+' conftest.er1 >conftest.err
32724 rm -f conftest.er1
32725 cat conftest.err >&5
32726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32727 (exit $ac_status); } && {
32728 test -z "$ac_c_werror_flag" ||
32729 test ! -s conftest.err
32730 } && test -s conftest$ac_exeext &&
32731 $as_test_x conftest$ac_exeext; then
32732
32733 libp_link="$libp"
32734 libsm_ice_link="$libsm_ice"
32735 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32736 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32737 libs_found=1
32738
32739 else
32740 echo "$as_me: failed program was:" >&5
32741 sed 's/^/| /' conftest.$ac_ext >&5
32742
32743
32744
32745 fi
32746
32747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32748 conftest$ac_exeext conftest.$ac_ext
32749
32750 LIBS="$save_LIBS"
32751 CFLAGS=$save_CFLAGS
32752 fi
32753 done
32754 fi
32755 done
32756
32757 if test "$libs_found" = "0"; then
32758 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32759 echo "${ECHO_T}can't find the right libraries" >&6; }
32760 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32761 echo "$as_me: error: can't link a simple motif program" >&2;}
32762 { (exit 1); exit 1; }; }
32763 fi
32764
32765 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32766 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32767 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32768 echo $ECHO_N "(cached) $ECHO_C" >&6
32769 else
32770 ac_check_lib_save_LIBS=$LIBS
32771 LIBS="-lSgm $LIBS"
32772 cat >conftest.$ac_ext <<_ACEOF
32773 /* confdefs.h. */
32774 _ACEOF
32775 cat confdefs.h >>conftest.$ac_ext
32776 cat >>conftest.$ac_ext <<_ACEOF
32777 /* end confdefs.h. */
32778
32779 /* Override any GCC internal prototype to avoid an error.
32780 Use char because int might match the return type of a GCC
32781 builtin and then its argument prototype would still apply. */
32782 #ifdef __cplusplus
32783 extern "C"
32784 #endif
32785 char SgCreateList ();
32786 int
32787 main ()
32788 {
32789 return SgCreateList ();
32790 ;
32791 return 0;
32792 }
32793 _ACEOF
32794 rm -f conftest.$ac_objext conftest$ac_exeext
32795 if { (ac_try="$ac_link"
32796 case "(($ac_try" in
32797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32798 *) ac_try_echo=$ac_try;;
32799 esac
32800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32801 (eval "$ac_link") 2>conftest.er1
32802 ac_status=$?
32803 grep -v '^ *+' conftest.er1 >conftest.err
32804 rm -f conftest.er1
32805 cat conftest.err >&5
32806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32807 (exit $ac_status); } && {
32808 test -z "$ac_c_werror_flag" ||
32809 test ! -s conftest.err
32810 } && test -s conftest$ac_exeext &&
32811 $as_test_x conftest$ac_exeext; then
32812 ac_cv_lib_Sgm_SgCreateList=yes
32813 else
32814 echo "$as_me: failed program was:" >&5
32815 sed 's/^/| /' conftest.$ac_ext >&5
32816
32817 ac_cv_lib_Sgm_SgCreateList=no
32818 fi
32819
32820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32821 conftest$ac_exeext conftest.$ac_ext
32822 LIBS=$ac_check_lib_save_LIBS
32823 fi
32824 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32825 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32826 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32827 libsgm_link=" -lSgm"
32828 fi
32829
32830
32831 save_CFLAGS=$CFLAGS
32832 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32833
32834 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32835 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32836 if test "${wx_cv_lib_motif2+set}" = set; then
32837 echo $ECHO_N "(cached) $ECHO_C" >&6
32838 else
32839 cat >conftest.$ac_ext <<_ACEOF
32840 /* confdefs.h. */
32841 _ACEOF
32842 cat confdefs.h >>conftest.$ac_ext
32843 cat >>conftest.$ac_ext <<_ACEOF
32844 /* end confdefs.h. */
32845
32846 #include <Xm/Xm.h>
32847
32848 int
32849 main ()
32850 {
32851
32852 #if XmVersion < 2000
32853 Not Motif 2
32854 #endif
32855
32856 ;
32857 return 0;
32858 }
32859 _ACEOF
32860 rm -f conftest.$ac_objext
32861 if { (ac_try="$ac_compile"
32862 case "(($ac_try" in
32863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32864 *) ac_try_echo=$ac_try;;
32865 esac
32866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32867 (eval "$ac_compile") 2>conftest.er1
32868 ac_status=$?
32869 grep -v '^ *+' conftest.er1 >conftest.err
32870 rm -f conftest.er1
32871 cat conftest.err >&5
32872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32873 (exit $ac_status); } && {
32874 test -z "$ac_c_werror_flag" ||
32875 test ! -s conftest.err
32876 } && test -s conftest.$ac_objext; then
32877 wx_cv_lib_motif2="yes"
32878 else
32879 echo "$as_me: failed program was:" >&5
32880 sed 's/^/| /' conftest.$ac_ext >&5
32881
32882 wx_cv_lib_motif2="no"
32883 fi
32884
32885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32886 fi
32887 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32888 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32889 if test "$wx_cv_lib_motif2" = "yes"; then
32890 cat >>confdefs.h <<\_ACEOF
32891 #define __WXMOTIF20__ 1
32892 _ACEOF
32893
32894 else
32895 cat >>confdefs.h <<\_ACEOF
32896 #define __WXMOTIF20__ 0
32897 _ACEOF
32898
32899 fi
32900
32901 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32902 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32903 if test "${wx_cv_lib_lesstif+set}" = set; then
32904 echo $ECHO_N "(cached) $ECHO_C" >&6
32905 else
32906 cat >conftest.$ac_ext <<_ACEOF
32907 /* confdefs.h. */
32908 _ACEOF
32909 cat confdefs.h >>conftest.$ac_ext
32910 cat >>conftest.$ac_ext <<_ACEOF
32911 /* end confdefs.h. */
32912
32913 #include <Xm/Xm.h>
32914
32915 int
32916 main ()
32917 {
32918
32919 #if !defined(LesstifVersion) || LesstifVersion <= 0
32920 Not Lesstif
32921 #endif
32922
32923 ;
32924 return 0;
32925 }
32926 _ACEOF
32927 rm -f conftest.$ac_objext
32928 if { (ac_try="$ac_compile"
32929 case "(($ac_try" in
32930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32931 *) ac_try_echo=$ac_try;;
32932 esac
32933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32934 (eval "$ac_compile") 2>conftest.er1
32935 ac_status=$?
32936 grep -v '^ *+' conftest.er1 >conftest.err
32937 rm -f conftest.er1
32938 cat conftest.err >&5
32939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32940 (exit $ac_status); } && {
32941 test -z "$ac_c_werror_flag" ||
32942 test ! -s conftest.err
32943 } && test -s conftest.$ac_objext; then
32944 wx_cv_lib_lesstif="yes"
32945 else
32946 echo "$as_me: failed program was:" >&5
32947 sed 's/^/| /' conftest.$ac_ext >&5
32948
32949 wx_cv_lib_lesstif="no"
32950 fi
32951
32952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32953
32954 fi
32955 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32956 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32957 if test "$wx_cv_lib_lesstif" = "yes"; then
32958 cat >>confdefs.h <<\_ACEOF
32959 #define __WXLESSTIF__ 1
32960 _ACEOF
32961
32962 else
32963 cat >>confdefs.h <<\_ACEOF
32964 #define __WXLESSTIF__ 0
32965 _ACEOF
32966
32967 fi
32968
32969 CFLAGS=$save_CFLAGS
32970
32971 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32972 TOOLKIT=MOTIF
32973 GUIDIST=MOTIF_DIST
32974 fi
32975
32976 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32977 if test "$wxUSE_LIBXPM" = "sys"; then
32978 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32979 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32980
32981 ac_find_libraries=
32982 for ac_dir in $SEARCH_LIB;
32983 do
32984 for ac_extension in a so sl dylib dll.a; do
32985 if test -f "$ac_dir/libXpm.$ac_extension"; then
32986 ac_find_libraries=$ac_dir
32987 break 2
32988 fi
32989 done
32990 done
32991
32992 if test "$ac_find_libraries" != "" ; then
32993
32994 if test "$ac_find_libraries" = "default location"; then
32995 ac_path_to_link=""
32996 else
32997 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32998 result=$?
32999 if test $result = 0; then
33000 ac_path_to_link=""
33001 else
33002 ac_path_to_link=" -L$ac_find_libraries"
33003 fi
33004 fi
33005
33006 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33007 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33008 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33009
33010 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33011 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33012 if test "${wx_cv_x11_xpm_h+set}" = set; then
33013 echo $ECHO_N "(cached) $ECHO_C" >&6
33014 else
33015
33016 save_CFLAGS=$CFLAGS
33017 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33018
33019 cat >conftest.$ac_ext <<_ACEOF
33020 /* confdefs.h. */
33021 _ACEOF
33022 cat confdefs.h >>conftest.$ac_ext
33023 cat >>conftest.$ac_ext <<_ACEOF
33024 /* end confdefs.h. */
33025
33026 #include <X11/xpm.h>
33027
33028 int
33029 main ()
33030 {
33031
33032 int version;
33033 version = XpmLibraryVersion();
33034
33035 ;
33036 return 0;
33037 }
33038 _ACEOF
33039 rm -f conftest.$ac_objext
33040 if { (ac_try="$ac_compile"
33041 case "(($ac_try" in
33042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33043 *) ac_try_echo=$ac_try;;
33044 esac
33045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33046 (eval "$ac_compile") 2>conftest.er1
33047 ac_status=$?
33048 grep -v '^ *+' conftest.er1 >conftest.err
33049 rm -f conftest.er1
33050 cat conftest.err >&5
33051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33052 (exit $ac_status); } && {
33053 test -z "$ac_c_werror_flag" ||
33054 test ! -s conftest.err
33055 } && test -s conftest.$ac_objext; then
33056 wx_cv_x11_xpm_h=yes
33057 else
33058 echo "$as_me: failed program was:" >&5
33059 sed 's/^/| /' conftest.$ac_ext >&5
33060
33061 wx_cv_x11_xpm_h=no
33062
33063 fi
33064
33065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33066
33067 CFLAGS=$save_CFLAGS
33068
33069
33070 fi
33071 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33072 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33073
33074 if test $wx_cv_x11_xpm_h = "yes"; then
33075 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
33076 cat >>confdefs.h <<\_ACEOF
33077 #define wxHAVE_LIB_XPM 1
33078 _ACEOF
33079
33080 else
33081 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33082 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33083 fi
33084 fi
33085
33086 fi
33087
33088 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33089 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33090 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33091 echo $ECHO_N "(cached) $ECHO_C" >&6
33092 else
33093 ac_check_lib_save_LIBS=$LIBS
33094 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33095 cat >conftest.$ac_ext <<_ACEOF
33096 /* confdefs.h. */
33097 _ACEOF
33098 cat confdefs.h >>conftest.$ac_ext
33099 cat >>conftest.$ac_ext <<_ACEOF
33100 /* end confdefs.h. */
33101
33102 /* Override any GCC internal prototype to avoid an error.
33103 Use char because int might match the return type of a GCC
33104 builtin and then its argument prototype would still apply. */
33105 #ifdef __cplusplus
33106 extern "C"
33107 #endif
33108 char XShapeQueryExtension ();
33109 int
33110 main ()
33111 {
33112 return XShapeQueryExtension ();
33113 ;
33114 return 0;
33115 }
33116 _ACEOF
33117 rm -f conftest.$ac_objext conftest$ac_exeext
33118 if { (ac_try="$ac_link"
33119 case "(($ac_try" in
33120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33121 *) ac_try_echo=$ac_try;;
33122 esac
33123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33124 (eval "$ac_link") 2>conftest.er1
33125 ac_status=$?
33126 grep -v '^ *+' conftest.er1 >conftest.err
33127 rm -f conftest.er1
33128 cat conftest.err >&5
33129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33130 (exit $ac_status); } && {
33131 test -z "$ac_c_werror_flag" ||
33132 test ! -s conftest.err
33133 } && test -s conftest$ac_exeext &&
33134 $as_test_x conftest$ac_exeext; then
33135 ac_cv_lib_Xext_XShapeQueryExtension=yes
33136 else
33137 echo "$as_me: failed program was:" >&5
33138 sed 's/^/| /' conftest.$ac_ext >&5
33139
33140 ac_cv_lib_Xext_XShapeQueryExtension=no
33141 fi
33142
33143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33144 conftest$ac_exeext conftest.$ac_ext
33145 LIBS=$ac_check_lib_save_LIBS
33146 fi
33147 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33148 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33149 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33150
33151 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33152 wxHAVE_XEXT_LIB=1
33153
33154 fi
33155
33156
33157 if test "$wxHAVE_XEXT_LIB" = 1; then
33158 save_CFLAGS="$CFLAGS"
33159 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33160
33161 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33162 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33163 cat >conftest.$ac_ext <<_ACEOF
33164 /* confdefs.h. */
33165 _ACEOF
33166 cat confdefs.h >>conftest.$ac_ext
33167 cat >>conftest.$ac_ext <<_ACEOF
33168 /* end confdefs.h. */
33169
33170 #include <X11/Xlib.h>
33171 #include <X11/extensions/shape.h>
33172
33173 int
33174 main ()
33175 {
33176
33177 int dummy1, dummy2;
33178 XShapeQueryExtension((Display*)NULL,
33179 (int*)NULL, (int*)NULL);
33180
33181 ;
33182 return 0;
33183 }
33184 _ACEOF
33185 rm -f conftest.$ac_objext
33186 if { (ac_try="$ac_compile"
33187 case "(($ac_try" in
33188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33189 *) ac_try_echo=$ac_try;;
33190 esac
33191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33192 (eval "$ac_compile") 2>conftest.er1
33193 ac_status=$?
33194 grep -v '^ *+' conftest.er1 >conftest.err
33195 rm -f conftest.er1
33196 cat conftest.err >&5
33197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33198 (exit $ac_status); } && {
33199 test -z "$ac_c_werror_flag" ||
33200 test ! -s conftest.err
33201 } && test -s conftest.$ac_objext; then
33202
33203 cat >>confdefs.h <<\_ACEOF
33204 #define HAVE_XSHAPE 1
33205 _ACEOF
33206
33207 { echo "$as_me:$LINENO: result: found" >&5
33208 echo "${ECHO_T}found" >&6; }
33209
33210 else
33211 echo "$as_me: failed program was:" >&5
33212 sed 's/^/| /' conftest.$ac_ext >&5
33213
33214
33215 { echo "$as_me:$LINENO: result: not found" >&5
33216 echo "${ECHO_T}not found" >&6; }
33217
33218 fi
33219
33220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33221 CFLAGS="$save_CFLAGS"
33222
33223 fi
33224 fi
33225
33226 if test "$wxUSE_MAC" = 1; then
33227 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33228 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33229 if test "$GCC" = yes; then
33230 { echo "$as_me:$LINENO: result: gcc" >&5
33231 echo "${ECHO_T}gcc" >&6; }
33232 CPPFLAGS_PASCAL="-fpascal-strings"
33233 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33234 { echo "$as_me:$LINENO: result: xlc" >&5
33235 echo "${ECHO_T}xlc" >&6; }
33236 CPPFLAGS_PASCAL="-qmacpstr"
33237 else
33238 { echo "$as_me:$LINENO: result: none" >&5
33239 echo "${ECHO_T}none" >&6; }
33240 fi
33241
33242 if test "x$wxUSE_UNIX" = "xyes"; then
33243 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33244 else
33245 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
33246 fi
33247
33248 TOOLKIT=MAC
33249 GUIDIST=MACX_DIST
33250 WXBASEPORT="_carbon"
33251 fi
33252
33253 if test "$wxUSE_COCOA" = 1; then
33254 TOOLKIT=COCOA
33255 GUIDIST=COCOA_DIST
33256 fi
33257
33258 if test "$wxUSE_PM" = 1; then
33259 TOOLKIT=PM
33260 GUIDIST=PM_DIST
33261 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33262 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
33263 if test "${wx_cv_spbcdata+set}" = set; then
33264 echo $ECHO_N "(cached) $ECHO_C" >&6
33265 else
33266
33267 cat >conftest.$ac_ext <<_ACEOF
33268 /* confdefs.h. */
33269 _ACEOF
33270 cat confdefs.h >>conftest.$ac_ext
33271 cat >>conftest.$ac_ext <<_ACEOF
33272 /* end confdefs.h. */
33273
33274 #define INCL_PM
33275 #include <os2.h>
33276
33277 int
33278 main ()
33279 {
33280
33281 SPBCDATA test;
33282
33283 ;
33284 return 0;
33285 }
33286 _ACEOF
33287 rm -f conftest.$ac_objext
33288 if { (ac_try="$ac_compile"
33289 case "(($ac_try" in
33290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33291 *) ac_try_echo=$ac_try;;
33292 esac
33293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33294 (eval "$ac_compile") 2>conftest.er1
33295 ac_status=$?
33296 grep -v '^ *+' conftest.er1 >conftest.err
33297 rm -f conftest.er1
33298 cat conftest.err >&5
33299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33300 (exit $ac_status); } && {
33301 test -z "$ac_c_werror_flag" ||
33302 test ! -s conftest.err
33303 } && test -s conftest.$ac_objext; then
33304 wx_cv_spbcdata=yes
33305 else
33306 echo "$as_me: failed program was:" >&5
33307 sed 's/^/| /' conftest.$ac_ext >&5
33308
33309 wx_cv_spbcdata=no
33310
33311 fi
33312
33313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33314
33315
33316 fi
33317 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33318 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33319
33320 if test $wx_cv_spbcdata = "yes"; then
33321 cat >>confdefs.h <<\_ACEOF
33322 #define HAVE_SPBCDATA 1
33323 _ACEOF
33324
33325 fi
33326 fi
33327
33328 if test "$TOOLKIT" = "PM" ; then
33329 TOOLKIT_DIR="os2"
33330 else
33331 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
33332 fi
33333
33334 if test "$wxUSE_UNIVERSAL" = "yes"; then
33335 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33336 WIDGET_SET=univ
33337 fi
33338
33339 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33340 DISTDIR="wx\$(TOOLKIT)"
33341 else
33342 USE_GUI=0
33343
33344 TOOLKIT_DIR="base"
33345
33346 if test "$USE_WIN32" = 1 ; then
33347 TOOLKIT="MSW"
33348 fi
33349
33350 GUIDIST="BASE_DIST"
33351 DISTDIR="wxBase"
33352 fi
33353
33354
33355 if test "$wxUSE_GUI" = "yes"; then
33356 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33357
33358 for ac_header in X11/Xlib.h
33359 do
33360 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33361 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33362 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33364 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33365 echo $ECHO_N "(cached) $ECHO_C" >&6
33366 fi
33367 ac_res=`eval echo '${'$as_ac_Header'}'`
33368 { echo "$as_me:$LINENO: result: $ac_res" >&5
33369 echo "${ECHO_T}$ac_res" >&6; }
33370 else
33371 # Is the header compilable?
33372 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
33373 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
33374 cat >conftest.$ac_ext <<_ACEOF
33375 /* confdefs.h. */
33376 _ACEOF
33377 cat confdefs.h >>conftest.$ac_ext
33378 cat >>conftest.$ac_ext <<_ACEOF
33379 /* end confdefs.h. */
33380 $ac_includes_default
33381 #include <$ac_header>
33382 _ACEOF
33383 rm -f conftest.$ac_objext
33384 if { (ac_try="$ac_compile"
33385 case "(($ac_try" in
33386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33387 *) ac_try_echo=$ac_try;;
33388 esac
33389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33390 (eval "$ac_compile") 2>conftest.er1
33391 ac_status=$?
33392 grep -v '^ *+' conftest.er1 >conftest.err
33393 rm -f conftest.er1
33394 cat conftest.err >&5
33395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33396 (exit $ac_status); } && {
33397 test -z "$ac_c_werror_flag" ||
33398 test ! -s conftest.err
33399 } && test -s conftest.$ac_objext; then
33400 ac_header_compiler=yes
33401 else
33402 echo "$as_me: failed program was:" >&5
33403 sed 's/^/| /' conftest.$ac_ext >&5
33404
33405 ac_header_compiler=no
33406 fi
33407
33408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33409 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33410 echo "${ECHO_T}$ac_header_compiler" >&6; }
33411
33412 # Is the header present?
33413 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
33414 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
33415 cat >conftest.$ac_ext <<_ACEOF
33416 /* confdefs.h. */
33417 _ACEOF
33418 cat confdefs.h >>conftest.$ac_ext
33419 cat >>conftest.$ac_ext <<_ACEOF
33420 /* end confdefs.h. */
33421 #include <$ac_header>
33422 _ACEOF
33423 if { (ac_try="$ac_cpp conftest.$ac_ext"
33424 case "(($ac_try" in
33425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33426 *) ac_try_echo=$ac_try;;
33427 esac
33428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33429 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33430 ac_status=$?
33431 grep -v '^ *+' conftest.er1 >conftest.err
33432 rm -f conftest.er1
33433 cat conftest.err >&5
33434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33435 (exit $ac_status); } >/dev/null && {
33436 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
33437 test ! -s conftest.err
33438 }; then
33439 ac_header_preproc=yes
33440 else
33441 echo "$as_me: failed program was:" >&5
33442 sed 's/^/| /' conftest.$ac_ext >&5
33443
33444 ac_header_preproc=no
33445 fi
33446
33447 rm -f conftest.err conftest.$ac_ext
33448 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33449 echo "${ECHO_T}$ac_header_preproc" >&6; }
33450
33451 # So? What about this header?
33452 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33453 yes:no: )
33454 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33455 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33456 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33457 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33458 ac_header_preproc=yes
33459 ;;
33460 no:yes:* )
33461 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33462 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33463 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33464 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33465 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33466 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33467 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33468 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33469 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33470 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33471 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33472 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33473 ( cat <<\_ASBOX
33474 ## ----------------------------------------- ##
33475 ## Report this to wx-dev@lists.wxwidgets.org ##
33476 ## ----------------------------------------- ##
33477 _ASBOX
33478 ) | sed "s/^/$as_me: WARNING: /" >&2
33479 ;;
33480 esac
33481 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33482 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33483 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33484 echo $ECHO_N "(cached) $ECHO_C" >&6
33485 else
33486 eval "$as_ac_Header=\$ac_header_preproc"
33487 fi
33488 ac_res=`eval echo '${'$as_ac_Header'}'`
33489 { echo "$as_me:$LINENO: result: $ac_res" >&5
33490 echo "${ECHO_T}$ac_res" >&6; }
33491
33492 fi
33493 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33494 cat >>confdefs.h <<_ACEOF
33495 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33496 _ACEOF
33497
33498 fi
33499
33500 done
33501
33502
33503 for ac_header in X11/XKBlib.h
33504 do
33505 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33506 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33508 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33509 echo $ECHO_N "(cached) $ECHO_C" >&6
33510 else
33511 cat >conftest.$ac_ext <<_ACEOF
33512 /* confdefs.h. */
33513 _ACEOF
33514 cat confdefs.h >>conftest.$ac_ext
33515 cat >>conftest.$ac_ext <<_ACEOF
33516 /* end confdefs.h. */
33517
33518 #if HAVE_X11_XLIB_H
33519 #include <X11/Xlib.h>
33520 #endif
33521
33522
33523 #include <$ac_header>
33524 _ACEOF
33525 rm -f conftest.$ac_objext
33526 if { (ac_try="$ac_compile"
33527 case "(($ac_try" in
33528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33529 *) ac_try_echo=$ac_try;;
33530 esac
33531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33532 (eval "$ac_compile") 2>conftest.er1
33533 ac_status=$?
33534 grep -v '^ *+' conftest.er1 >conftest.err
33535 rm -f conftest.er1
33536 cat conftest.err >&5
33537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33538 (exit $ac_status); } && {
33539 test -z "$ac_c_werror_flag" ||
33540 test ! -s conftest.err
33541 } && test -s conftest.$ac_objext; then
33542 eval "$as_ac_Header=yes"
33543 else
33544 echo "$as_me: failed program was:" >&5
33545 sed 's/^/| /' conftest.$ac_ext >&5
33546
33547 eval "$as_ac_Header=no"
33548 fi
33549
33550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33551 fi
33552 ac_res=`eval echo '${'$as_ac_Header'}'`
33553 { echo "$as_me:$LINENO: result: $ac_res" >&5
33554 echo "${ECHO_T}$ac_res" >&6; }
33555 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33556 cat >>confdefs.h <<_ACEOF
33557 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33558 _ACEOF
33559
33560 fi
33561
33562 done
33563
33564 fi
33565 fi
33566
33567
33568
33569 IODBC_C_SRC=""
33570
33571
33572 if test "$TOOLKIT" != "MSW" ; then
33573
33574 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
33575
33576 if test "${ac_cv_header_sql_h+set}" = set; then
33577 { echo "$as_me:$LINENO: checking for sql.h" >&5
33578 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
33579 if test "${ac_cv_header_sql_h+set}" = set; then
33580 echo $ECHO_N "(cached) $ECHO_C" >&6
33581 fi
33582 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
33583 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
33584 else
33585 # Is the header compilable?
33586 { echo "$as_me:$LINENO: checking sql.h usability" >&5
33587 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6; }
33588 cat >conftest.$ac_ext <<_ACEOF
33589 /* confdefs.h. */
33590 _ACEOF
33591 cat confdefs.h >>conftest.$ac_ext
33592 cat >>conftest.$ac_ext <<_ACEOF
33593 /* end confdefs.h. */
33594 $ac_includes_default
33595 #include <sql.h>
33596 _ACEOF
33597 rm -f conftest.$ac_objext
33598 if { (ac_try="$ac_compile"
33599 case "(($ac_try" in
33600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33601 *) ac_try_echo=$ac_try;;
33602 esac
33603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33604 (eval "$ac_compile") 2>conftest.er1
33605 ac_status=$?
33606 grep -v '^ *+' conftest.er1 >conftest.err
33607 rm -f conftest.er1
33608 cat conftest.err >&5
33609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33610 (exit $ac_status); } && {
33611 test -z "$ac_c_werror_flag" ||
33612 test ! -s conftest.err
33613 } && test -s conftest.$ac_objext; then
33614 ac_header_compiler=yes
33615 else
33616 echo "$as_me: failed program was:" >&5
33617 sed 's/^/| /' conftest.$ac_ext >&5
33618
33619 ac_header_compiler=no
33620 fi
33621
33622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33623 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33624 echo "${ECHO_T}$ac_header_compiler" >&6; }
33625
33626 # Is the header present?
33627 { echo "$as_me:$LINENO: checking sql.h presence" >&5
33628 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6; }
33629 cat >conftest.$ac_ext <<_ACEOF
33630 /* confdefs.h. */
33631 _ACEOF
33632 cat confdefs.h >>conftest.$ac_ext
33633 cat >>conftest.$ac_ext <<_ACEOF
33634 /* end confdefs.h. */
33635 #include <sql.h>
33636 _ACEOF
33637 if { (ac_try="$ac_cpp conftest.$ac_ext"
33638 case "(($ac_try" in
33639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33640 *) ac_try_echo=$ac_try;;
33641 esac
33642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33643 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33644 ac_status=$?
33645 grep -v '^ *+' conftest.er1 >conftest.err
33646 rm -f conftest.er1
33647 cat conftest.err >&5
33648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33649 (exit $ac_status); } >/dev/null && {
33650 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
33651 test ! -s conftest.err
33652 }; then
33653 ac_header_preproc=yes
33654 else
33655 echo "$as_me: failed program was:" >&5
33656 sed 's/^/| /' conftest.$ac_ext >&5
33657
33658 ac_header_preproc=no
33659 fi
33660
33661 rm -f conftest.err conftest.$ac_ext
33662 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33663 echo "${ECHO_T}$ac_header_preproc" >&6; }
33664
33665 # So? What about this header?
33666 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33667 yes:no: )
33668 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
33669 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33670 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
33671 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
33672 ac_header_preproc=yes
33673 ;;
33674 no:yes:* )
33675 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
33676 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
33677 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
33678 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
33679 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
33680 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
33681 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
33682 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
33683 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
33684 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
33685 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
33686 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
33687 ( cat <<\_ASBOX
33688 ## ----------------------------------------- ##
33689 ## Report this to wx-dev@lists.wxwidgets.org ##
33690 ## ----------------------------------------- ##
33691 _ASBOX
33692 ) | sed "s/^/$as_me: WARNING: /" >&2
33693 ;;
33694 esac
33695 { echo "$as_me:$LINENO: checking for sql.h" >&5
33696 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
33697 if test "${ac_cv_header_sql_h+set}" = set; then
33698 echo $ECHO_N "(cached) $ECHO_C" >&6
33699 else
33700 ac_cv_header_sql_h=$ac_header_preproc
33701 fi
33702 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
33703 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
33704
33705 fi
33706 if test $ac_cv_header_sql_h = yes; then
33707 found_sql_h=1
33708 fi
33709
33710
33711 if test "x$found_sql_h" = "x1" ; then
33712 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
33713 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
33714 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
33715 echo $ECHO_N "(cached) $ECHO_C" >&6
33716 else
33717 ac_check_lib_save_LIBS=$LIBS
33718 LIBS="-liodbc $LIBS"
33719 cat >conftest.$ac_ext <<_ACEOF
33720 /* confdefs.h. */
33721 _ACEOF
33722 cat confdefs.h >>conftest.$ac_ext
33723 cat >>conftest.$ac_ext <<_ACEOF
33724 /* end confdefs.h. */
33725
33726 /* Override any GCC internal prototype to avoid an error.
33727 Use char because int might match the return type of a GCC
33728 builtin and then its argument prototype would still apply. */
33729 #ifdef __cplusplus
33730 extern "C"
33731 #endif
33732 char SQLAllocEnv ();
33733 int
33734 main ()
33735 {
33736 return SQLAllocEnv ();
33737 ;
33738 return 0;
33739 }
33740 _ACEOF
33741 rm -f conftest.$ac_objext conftest$ac_exeext
33742 if { (ac_try="$ac_link"
33743 case "(($ac_try" in
33744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33745 *) ac_try_echo=$ac_try;;
33746 esac
33747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33748 (eval "$ac_link") 2>conftest.er1
33749 ac_status=$?
33750 grep -v '^ *+' conftest.er1 >conftest.err
33751 rm -f conftest.er1
33752 cat conftest.err >&5
33753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33754 (exit $ac_status); } && {
33755 test -z "$ac_c_werror_flag" ||
33756 test ! -s conftest.err
33757 } && test -s conftest$ac_exeext &&
33758 $as_test_x conftest$ac_exeext; then
33759 ac_cv_lib_iodbc_SQLAllocEnv=yes
33760 else
33761 echo "$as_me: failed program was:" >&5
33762 sed 's/^/| /' conftest.$ac_ext >&5
33763
33764 ac_cv_lib_iodbc_SQLAllocEnv=no
33765 fi
33766
33767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33768 conftest$ac_exeext conftest.$ac_ext
33769 LIBS=$ac_check_lib_save_LIBS
33770 fi
33771 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
33772 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
33773 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
33774 ODBC_LINK=" -liodbc"
33775 else
33776
33777 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
33778 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
33779 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
33780 echo $ECHO_N "(cached) $ECHO_C" >&6
33781 else
33782 ac_check_lib_save_LIBS=$LIBS
33783 LIBS="-lunixodbc $LIBS"
33784 cat >conftest.$ac_ext <<_ACEOF
33785 /* confdefs.h. */
33786 _ACEOF
33787 cat confdefs.h >>conftest.$ac_ext
33788 cat >>conftest.$ac_ext <<_ACEOF
33789 /* end confdefs.h. */
33790
33791 /* Override any GCC internal prototype to avoid an error.
33792 Use char because int might match the return type of a GCC
33793 builtin and then its argument prototype would still apply. */
33794 #ifdef __cplusplus
33795 extern "C"
33796 #endif
33797 char SQLAllocEnv ();
33798 int
33799 main ()
33800 {
33801 return SQLAllocEnv ();
33802 ;
33803 return 0;
33804 }
33805 _ACEOF
33806 rm -f conftest.$ac_objext conftest$ac_exeext
33807 if { (ac_try="$ac_link"
33808 case "(($ac_try" in
33809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33810 *) ac_try_echo=$ac_try;;
33811 esac
33812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33813 (eval "$ac_link") 2>conftest.er1
33814 ac_status=$?
33815 grep -v '^ *+' conftest.er1 >conftest.err
33816 rm -f conftest.er1
33817 cat conftest.err >&5
33818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33819 (exit $ac_status); } && {
33820 test -z "$ac_c_werror_flag" ||
33821 test ! -s conftest.err
33822 } && test -s conftest$ac_exeext &&
33823 $as_test_x conftest$ac_exeext; then
33824 ac_cv_lib_unixodbc_SQLAllocEnv=yes
33825 else
33826 echo "$as_me: failed program was:" >&5
33827 sed 's/^/| /' conftest.$ac_ext >&5
33828
33829 ac_cv_lib_unixodbc_SQLAllocEnv=no
33830 fi
33831
33832 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33833 conftest$ac_exeext conftest.$ac_ext
33834 LIBS=$ac_check_lib_save_LIBS
33835 fi
33836 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
33837 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
33838 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
33839 ODBC_LINK=" -lunixodbc"
33840 else
33841
33842 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
33843 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
33844 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
33845 echo $ECHO_N "(cached) $ECHO_C" >&6
33846 else
33847 ac_check_lib_save_LIBS=$LIBS
33848 LIBS="-lodbc $LIBS"
33849 cat >conftest.$ac_ext <<_ACEOF
33850 /* confdefs.h. */
33851 _ACEOF
33852 cat confdefs.h >>conftest.$ac_ext
33853 cat >>conftest.$ac_ext <<_ACEOF
33854 /* end confdefs.h. */
33855
33856 /* Override any GCC internal prototype to avoid an error.
33857 Use char because int might match the return type of a GCC
33858 builtin and then its argument prototype would still apply. */
33859 #ifdef __cplusplus
33860 extern "C"
33861 #endif
33862 char SQLAllocEnv ();
33863 int
33864 main ()
33865 {
33866 return SQLAllocEnv ();
33867 ;
33868 return 0;
33869 }
33870 _ACEOF
33871 rm -f conftest.$ac_objext conftest$ac_exeext
33872 if { (ac_try="$ac_link"
33873 case "(($ac_try" in
33874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33875 *) ac_try_echo=$ac_try;;
33876 esac
33877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33878 (eval "$ac_link") 2>conftest.er1
33879 ac_status=$?
33880 grep -v '^ *+' conftest.er1 >conftest.err
33881 rm -f conftest.er1
33882 cat conftest.err >&5
33883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33884 (exit $ac_status); } && {
33885 test -z "$ac_c_werror_flag" ||
33886 test ! -s conftest.err
33887 } && test -s conftest$ac_exeext &&
33888 $as_test_x conftest$ac_exeext; then
33889 ac_cv_lib_odbc_SQLAllocEnv=yes
33890 else
33891 echo "$as_me: failed program was:" >&5
33892 sed 's/^/| /' conftest.$ac_ext >&5
33893
33894 ac_cv_lib_odbc_SQLAllocEnv=no
33895 fi
33896
33897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33898 conftest$ac_exeext conftest.$ac_ext
33899 LIBS=$ac_check_lib_save_LIBS
33900 fi
33901 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
33902 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
33903 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
33904 ODBC_LINK=" -lodbc"
33905 fi
33906
33907
33908 fi
33909
33910
33911 fi
33912
33913 fi
33914 if test "x$ODBC_LINK" = "x" ; then
33915 if test "$wxUSE_ODBC" = "sys" ; then
33916 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
33917 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
33918 { (exit 1); exit 1; }; }
33919 else
33920 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
33921 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
33922 wxUSE_ODBC=builtin
33923 fi
33924 else
33925 wxUSE_ODBC=sys
33926 fi
33927 fi
33928
33929 if test "$wxUSE_ODBC" = "builtin" ; then
33930 cat >>confdefs.h <<\_ACEOF
33931 #define wxUSE_BUILTIN_IODBC 1
33932 _ACEOF
33933
33934 fi
33935 fi
33936
33937 if test "$wxUSE_ODBC" != "no" ; then
33938 cat >>confdefs.h <<\_ACEOF
33939 #define wxUSE_ODBC 1
33940 _ACEOF
33941
33942 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
33943
33944 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
33945 fi
33946
33947
33948 if test "$wxUSE_DISPLAY" = "yes"; then
33949 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33950 { echo "$as_me:$LINENO: checking for Xinerama" >&5
33951 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
33952
33953 ac_find_libraries=
33954 for ac_dir in $SEARCH_LIB;
33955 do
33956 for ac_extension in a so sl dylib dll.a; do
33957 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33958 ac_find_libraries=$ac_dir
33959 break 2
33960 fi
33961 done
33962 done
33963
33964 if test "$ac_find_libraries" != "" ; then
33965
33966 if test "$ac_find_libraries" = "default location"; then
33967 ac_path_to_link=""
33968 else
33969 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33970 result=$?
33971 if test $result = 0; then
33972 ac_path_to_link=""
33973 else
33974 ac_path_to_link=" -L$ac_find_libraries"
33975 fi
33976 fi
33977
33978 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33979 LDFLAGS="$LDFLAGS $ac_path_to_link"
33980 fi
33981 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33982 { echo "$as_me:$LINENO: result: yes" >&5
33983 echo "${ECHO_T}yes" >&6; }
33984
33985 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33986 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
33987
33988 ac_find_libraries=
33989 for ac_dir in $SEARCH_LIB;
33990 do
33991 for ac_extension in a so sl dylib dll.a; do
33992 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33993 ac_find_libraries=$ac_dir
33994 break 2
33995 fi
33996 done
33997 done
33998
33999 if test "$ac_find_libraries" != "" ; then
34000 { echo "$as_me:$LINENO: result: yes" >&5
34001 echo "${ECHO_T}yes" >&6; }
34002
34003 for ac_header in X11/extensions/xf86vmode.h
34004 do
34005 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34006 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34007 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34008 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34009 echo $ECHO_N "(cached) $ECHO_C" >&6
34010 else
34011 cat >conftest.$ac_ext <<_ACEOF
34012 /* confdefs.h. */
34013 _ACEOF
34014 cat confdefs.h >>conftest.$ac_ext
34015 cat >>conftest.$ac_ext <<_ACEOF
34016 /* end confdefs.h. */
34017
34018 #if HAVE_X11_XLIB_H
34019 #include <X11/Xlib.h>
34020 #endif
34021
34022
34023 #include <$ac_header>
34024 _ACEOF
34025 rm -f conftest.$ac_objext
34026 if { (ac_try="$ac_compile"
34027 case "(($ac_try" in
34028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34029 *) ac_try_echo=$ac_try;;
34030 esac
34031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34032 (eval "$ac_compile") 2>conftest.er1
34033 ac_status=$?
34034 grep -v '^ *+' conftest.er1 >conftest.err
34035 rm -f conftest.er1
34036 cat conftest.err >&5
34037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34038 (exit $ac_status); } && {
34039 test -z "$ac_c_werror_flag" ||
34040 test ! -s conftest.err
34041 } && test -s conftest.$ac_objext; then
34042 eval "$as_ac_Header=yes"
34043 else
34044 echo "$as_me: failed program was:" >&5
34045 sed 's/^/| /' conftest.$ac_ext >&5
34046
34047 eval "$as_ac_Header=no"
34048 fi
34049
34050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34051 fi
34052 ac_res=`eval echo '${'$as_ac_Header'}'`
34053 { echo "$as_me:$LINENO: result: $ac_res" >&5
34054 echo "${ECHO_T}$ac_res" >&6; }
34055 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34056 cat >>confdefs.h <<_ACEOF
34057 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34058 _ACEOF
34059
34060 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34061
34062 fi
34063
34064 done
34065
34066 else
34067 { echo "$as_me:$LINENO: result: no" >&5
34068 echo "${ECHO_T}no" >&6; }
34069 fi
34070
34071 else
34072 { echo "$as_me:$LINENO: result: no" >&5
34073 echo "${ECHO_T}no" >&6; }
34074 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34075 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34076 wxUSE_DISPLAY="no"
34077 fi
34078 elif test "$wxUSE_MSW" = 1; then
34079
34080 for ac_header in ddraw.h
34081 do
34082 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34083 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34085 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34086 echo $ECHO_N "(cached) $ECHO_C" >&6
34087 else
34088 cat >conftest.$ac_ext <<_ACEOF
34089 /* confdefs.h. */
34090 _ACEOF
34091 cat confdefs.h >>conftest.$ac_ext
34092 cat >>conftest.$ac_ext <<_ACEOF
34093 /* end confdefs.h. */
34094 #include <windows.h>
34095
34096 #include <$ac_header>
34097 _ACEOF
34098 rm -f conftest.$ac_objext
34099 if { (ac_try="$ac_compile"
34100 case "(($ac_try" in
34101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34102 *) ac_try_echo=$ac_try;;
34103 esac
34104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34105 (eval "$ac_compile") 2>conftest.er1
34106 ac_status=$?
34107 grep -v '^ *+' conftest.er1 >conftest.err
34108 rm -f conftest.er1
34109 cat conftest.err >&5
34110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34111 (exit $ac_status); } && {
34112 test -z "$ac_c_werror_flag" ||
34113 test ! -s conftest.err
34114 } && test -s conftest.$ac_objext; then
34115 eval "$as_ac_Header=yes"
34116 else
34117 echo "$as_me: failed program was:" >&5
34118 sed 's/^/| /' conftest.$ac_ext >&5
34119
34120 eval "$as_ac_Header=no"
34121 fi
34122
34123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34124 fi
34125 ac_res=`eval echo '${'$as_ac_Header'}'`
34126 { echo "$as_me:$LINENO: result: $ac_res" >&5
34127 echo "${ECHO_T}$ac_res" >&6; }
34128 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34129 cat >>confdefs.h <<_ACEOF
34130 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34131 _ACEOF
34132
34133 fi
34134
34135 done
34136
34137 fi
34138 fi
34139
34140 if test "$wxUSE_DETECT_SM" = "yes"; then
34141 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
34142 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34143 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34144
34145 ac_find_libraries=
34146 for ac_dir in $SEARCH_LIB;
34147 do
34148 for ac_extension in a so sl dylib dll.a; do
34149 if test -f "$ac_dir/libSM.$ac_extension"; then
34150 ac_find_libraries=$ac_dir
34151 break 2
34152 fi
34153 done
34154 done
34155
34156 if test "$ac_find_libraries" != "" ; then
34157
34158 if test "$ac_find_libraries" = "default location"; then
34159 ac_path_to_link=""
34160 else
34161 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34162 result=$?
34163 if test $result = 0; then
34164 ac_path_to_link=""
34165 else
34166 ac_path_to_link=" -L$ac_find_libraries"
34167 fi
34168 fi
34169
34170 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34171 LDFLAGS="$LDFLAGS $ac_path_to_link"
34172 fi
34173 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34174 { echo "$as_me:$LINENO: result: yes" >&5
34175 echo "${ECHO_T}yes" >&6; }
34176 else
34177 { echo "$as_me:$LINENO: result: no" >&5
34178 echo "${ECHO_T}no" >&6; }
34179 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34180 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34181 wxUSE_DETECT_SM="no"
34182 fi
34183 else
34184 wxUSE_DETECT_SM="no"
34185 fi
34186 fi
34187
34188
34189
34190 USE_OPENGL=0
34191 if test "$wxUSE_OPENGL" = "yes"; then
34192 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
34193 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34194 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34195 wxUSE_OPENGL="no"
34196 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
34197 OPENGL_LIBS="-framework OpenGL -framework AGL"
34198 elif test "$wxUSE_MSW" = 1; then
34199 OPENGL_LIBS="-lopengl32 -lglu32"
34200 else
34201 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34202 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34203
34204 ac_find_includes=
34205 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
34206 do
34207 if test -f "$ac_dir/GL/gl.h"; then
34208 ac_find_includes=$ac_dir
34209 break
34210 fi
34211 done
34212
34213 if test "$ac_find_includes" != "" ; then
34214 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34215 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34216
34217 if test "x$ac_find_includes" = "x/usr/include"; then
34218 ac_path_to_include=""
34219 else
34220 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34221 result=$?
34222 if test $result = 0; then
34223 ac_path_to_include=""
34224 else
34225 ac_path_to_include=" -I$ac_find_includes"
34226 fi
34227 fi
34228
34229 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34230 else
34231 { echo "$as_me:$LINENO: result: not found" >&5
34232 echo "${ECHO_T}not found" >&6; }
34233 fi
34234
34235 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34236 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34237 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34238 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34239 echo $ECHO_N "(cached) $ECHO_C" >&6
34240 fi
34241 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34242 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34243 else
34244 # Is the header compilable?
34245 { echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
34246 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6; }
34247 cat >conftest.$ac_ext <<_ACEOF
34248 /* confdefs.h. */
34249 _ACEOF
34250 cat confdefs.h >>conftest.$ac_ext
34251 cat >>conftest.$ac_ext <<_ACEOF
34252 /* end confdefs.h. */
34253 $ac_includes_default
34254 #include <GL/gl.h>
34255 _ACEOF
34256 rm -f conftest.$ac_objext
34257 if { (ac_try="$ac_compile"
34258 case "(($ac_try" in
34259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34260 *) ac_try_echo=$ac_try;;
34261 esac
34262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34263 (eval "$ac_compile") 2>conftest.er1
34264 ac_status=$?
34265 grep -v '^ *+' conftest.er1 >conftest.err
34266 rm -f conftest.er1
34267 cat conftest.err >&5
34268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34269 (exit $ac_status); } && {
34270 test -z "$ac_c_werror_flag" ||
34271 test ! -s conftest.err
34272 } && test -s conftest.$ac_objext; then
34273 ac_header_compiler=yes
34274 else
34275 echo "$as_me: failed program was:" >&5
34276 sed 's/^/| /' conftest.$ac_ext >&5
34277
34278 ac_header_compiler=no
34279 fi
34280
34281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34282 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34283 echo "${ECHO_T}$ac_header_compiler" >&6; }
34284
34285 # Is the header present?
34286 { echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
34287 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6; }
34288 cat >conftest.$ac_ext <<_ACEOF
34289 /* confdefs.h. */
34290 _ACEOF
34291 cat confdefs.h >>conftest.$ac_ext
34292 cat >>conftest.$ac_ext <<_ACEOF
34293 /* end confdefs.h. */
34294 #include <GL/gl.h>
34295 _ACEOF
34296 if { (ac_try="$ac_cpp conftest.$ac_ext"
34297 case "(($ac_try" in
34298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34299 *) ac_try_echo=$ac_try;;
34300 esac
34301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34302 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
34303 ac_status=$?
34304 grep -v '^ *+' conftest.er1 >conftest.err
34305 rm -f conftest.er1
34306 cat conftest.err >&5
34307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34308 (exit $ac_status); } >/dev/null && {
34309 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
34310 test ! -s conftest.err
34311 }; then
34312 ac_header_preproc=yes
34313 else
34314 echo "$as_me: failed program was:" >&5
34315 sed 's/^/| /' conftest.$ac_ext >&5
34316
34317 ac_header_preproc=no
34318 fi
34319
34320 rm -f conftest.err conftest.$ac_ext
34321 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34322 echo "${ECHO_T}$ac_header_preproc" >&6; }
34323
34324 # So? What about this header?
34325 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34326 yes:no: )
34327 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
34328 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
34329 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
34330 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
34331 ac_header_preproc=yes
34332 ;;
34333 no:yes:* )
34334 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
34335 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
34336 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
34337 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
34338 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
34339 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
34340 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
34341 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
34342 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
34343 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
34344 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
34345 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
34346 ( cat <<\_ASBOX
34347 ## ----------------------------------------- ##
34348 ## Report this to wx-dev@lists.wxwidgets.org ##
34349 ## ----------------------------------------- ##
34350 _ASBOX
34351 ) | sed "s/^/$as_me: WARNING: /" >&2
34352 ;;
34353 esac
34354 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34355 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34356 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34357 echo $ECHO_N "(cached) $ECHO_C" >&6
34358 else
34359 ac_cv_header_GL_gl_h=$ac_header_preproc
34360 fi
34361 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34362 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34363
34364 fi
34365 if test $ac_cv_header_GL_gl_h = yes; then
34366
34367 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34368 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34369 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34370 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34371 echo $ECHO_N "(cached) $ECHO_C" >&6
34372 fi
34373 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34374 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34375 else
34376 # Is the header compilable?
34377 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
34378 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
34379 cat >conftest.$ac_ext <<_ACEOF
34380 /* confdefs.h. */
34381 _ACEOF
34382 cat confdefs.h >>conftest.$ac_ext
34383 cat >>conftest.$ac_ext <<_ACEOF
34384 /* end confdefs.h. */
34385 $ac_includes_default
34386 #include <GL/glu.h>
34387 _ACEOF
34388 rm -f conftest.$ac_objext
34389 if { (ac_try="$ac_compile"
34390 case "(($ac_try" in
34391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34392 *) ac_try_echo=$ac_try;;
34393 esac
34394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34395 (eval "$ac_compile") 2>conftest.er1
34396 ac_status=$?
34397 grep -v '^ *+' conftest.er1 >conftest.err
34398 rm -f conftest.er1
34399 cat conftest.err >&5
34400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34401 (exit $ac_status); } && {
34402 test -z "$ac_c_werror_flag" ||
34403 test ! -s conftest.err
34404 } && test -s conftest.$ac_objext; then
34405 ac_header_compiler=yes
34406 else
34407 echo "$as_me: failed program was:" >&5
34408 sed 's/^/| /' conftest.$ac_ext >&5
34409
34410 ac_header_compiler=no
34411 fi
34412
34413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34414 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34415 echo "${ECHO_T}$ac_header_compiler" >&6; }
34416
34417 # Is the header present?
34418 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
34419 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
34420 cat >conftest.$ac_ext <<_ACEOF
34421 /* confdefs.h. */
34422 _ACEOF
34423 cat confdefs.h >>conftest.$ac_ext
34424 cat >>conftest.$ac_ext <<_ACEOF
34425 /* end confdefs.h. */
34426 #include <GL/glu.h>
34427 _ACEOF
34428 if { (ac_try="$ac_cpp conftest.$ac_ext"
34429 case "(($ac_try" in
34430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34431 *) ac_try_echo=$ac_try;;
34432 esac
34433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34434 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
34435 ac_status=$?
34436 grep -v '^ *+' conftest.er1 >conftest.err
34437 rm -f conftest.er1
34438 cat conftest.err >&5
34439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34440 (exit $ac_status); } >/dev/null && {
34441 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
34442 test ! -s conftest.err
34443 }; then
34444 ac_header_preproc=yes
34445 else
34446 echo "$as_me: failed program was:" >&5
34447 sed 's/^/| /' conftest.$ac_ext >&5
34448
34449 ac_header_preproc=no
34450 fi
34451
34452 rm -f conftest.err conftest.$ac_ext
34453 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34454 echo "${ECHO_T}$ac_header_preproc" >&6; }
34455
34456 # So? What about this header?
34457 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34458 yes:no: )
34459 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
34460 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
34461 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
34462 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
34463 ac_header_preproc=yes
34464 ;;
34465 no:yes:* )
34466 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
34467 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
34468 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
34469 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
34470 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
34471 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
34472 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
34473 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
34474 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
34475 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
34476 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
34477 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
34478 ( cat <<\_ASBOX
34479 ## ----------------------------------------- ##
34480 ## Report this to wx-dev@lists.wxwidgets.org ##
34481 ## ----------------------------------------- ##
34482 _ASBOX
34483 ) | sed "s/^/$as_me: WARNING: /" >&2
34484 ;;
34485 esac
34486 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34487 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34488 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34489 echo $ECHO_N "(cached) $ECHO_C" >&6
34490 else
34491 ac_cv_header_GL_glu_h=$ac_header_preproc
34492 fi
34493 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34494 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34495
34496 fi
34497 if test $ac_cv_header_GL_glu_h = yes; then
34498
34499 found_gl=0
34500
34501 { echo "$as_me:$LINENO: checking for -lGL" >&5
34502 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34503
34504 ac_find_libraries=
34505 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
34506 do
34507 for ac_extension in a so sl dylib dll.a; do
34508 if test -f "$ac_dir/libGL.$ac_extension"; then
34509 ac_find_libraries=$ac_dir
34510 break 2
34511 fi
34512 done
34513 done
34514
34515 if test "$ac_find_libraries" != "" ; then
34516 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34517 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34518
34519
34520 if test "$ac_find_libraries" = "default location"; then
34521 ac_path_to_link=""
34522 else
34523 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34524 result=$?
34525 if test $result = 0; then
34526 ac_path_to_link=""
34527 else
34528 ac_path_to_link=" -L$ac_find_libraries"
34529 fi
34530 fi
34531
34532 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34533 LDFLAGS_GL="$ac_path_to_link"
34534 fi
34535
34536 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34537 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34538
34539 ac_find_libraries=
34540 for ac_dir in $SEARCH_LIB;
34541 do
34542 for ac_extension in a so sl dylib dll.a; do
34543 if test -f "$ac_dir/libGLU.$ac_extension"; then
34544 ac_find_libraries=$ac_dir
34545 break 2
34546 fi
34547 done
34548 done
34549
34550 if test "$ac_find_libraries" != "" ; then
34551
34552 if test "$ac_find_libraries" = "default location"; then
34553 ac_path_to_link=""
34554 else
34555 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34556 result=$?
34557 if test $result = 0; then
34558 ac_path_to_link=""
34559 else
34560 ac_path_to_link=" -L$ac_find_libraries"
34561 fi
34562 fi
34563
34564 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34565 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34566 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34567 fi
34568
34569 found_gl=1
34570 OPENGL_LIBS="-lGL -lGLU"
34571 { echo "$as_me:$LINENO: result: yes" >&5
34572 echo "${ECHO_T}yes" >&6; }
34573 else
34574 { echo "$as_me:$LINENO: result: no" >&5
34575 echo "${ECHO_T}no" >&6; }
34576 fi
34577 else
34578 { echo "$as_me:$LINENO: result: no" >&5
34579 echo "${ECHO_T}no" >&6; }
34580 fi
34581
34582 if test "$found_gl" != 1; then
34583 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34584 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34585
34586 ac_find_libraries=
34587 for ac_dir in $SEARCH_LIB;
34588 do
34589 for ac_extension in a so sl dylib dll.a; do
34590 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34591 ac_find_libraries=$ac_dir
34592 break 2
34593 fi
34594 done
34595 done
34596
34597 if test "$ac_find_libraries" != "" ; then
34598
34599 if test "$ac_find_libraries" = "default location"; then
34600 ac_path_to_link=""
34601 else
34602 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34603 result=$?
34604 if test $result = 0; then
34605 ac_path_to_link=""
34606 else
34607 ac_path_to_link=" -L$ac_find_libraries"
34608 fi
34609 fi
34610
34611 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34612 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34613 { echo "$as_me:$LINENO: result: yes" >&5
34614 echo "${ECHO_T}yes" >&6; }
34615 else
34616 { echo "$as_me:$LINENO: result: no" >&5
34617 echo "${ECHO_T}no" >&6; }
34618 fi
34619 fi
34620
34621 fi
34622
34623
34624
34625 fi
34626
34627
34628
34629 if test "x$OPENGL_LIBS" = "x"; then
34630 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34631 echo "$as_me: error: OpenGL libraries not available" >&2;}
34632 { (exit 1); exit 1; }; }
34633 fi
34634 fi
34635
34636 if test "$wxUSE_OPENGL" = "yes"; then
34637 USE_OPENGL=1
34638 cat >>confdefs.h <<\_ACEOF
34639 #define wxUSE_OPENGL 1
34640 _ACEOF
34641
34642 cat >>confdefs.h <<\_ACEOF
34643 #define wxUSE_GLCANVAS 1
34644 _ACEOF
34645
34646 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34647 fi
34648 fi
34649
34650
34651 if test -n "$TOOLKIT" ; then
34652 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34653 fi
34654
34655
34656
34657 if test "$wxUSE_SHARED" = "yes"; then
34658 case "${host}" in
34659 *-pc-msdosdjgpp )
34660 wxUSE_SHARED=no
34661 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34662 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34663 ;;
34664 esac
34665 fi
34666
34667 if test "$wxUSE_SHARED" = "yes"; then
34668
34669
34670 case "${host}" in
34671 *-*-cygwin* | *-*-mingw* )
34672 wx_cv_version_script=no
34673 ;;
34674
34675 *)
34676 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34677 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34678 if test "${wx_cv_version_script+set}" = set; then
34679 echo $ECHO_N "(cached) $ECHO_C" >&6
34680 else
34681
34682 echo "VER_1 { *; };" >conftest.sym
34683 echo "int main() { return 0; }" >conftest.cpp
34684
34685 if { ac_try='
34686 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34687 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34689 (eval $ac_try) 2>&5
34690 ac_status=$?
34691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34692 (exit $ac_status); }; } ; then
34693 if test -s conftest.stderr ; then
34694 wx_cv_version_script=no
34695 else
34696 wx_cv_version_script=yes
34697 fi
34698 else
34699 wx_cv_version_script=no
34700 fi
34701
34702 if test $wx_cv_version_script = yes
34703 then
34704 echo "struct B { virtual ~B() { } }; \
34705 struct D : public B { }; \
34706 void F() { D d; }" > conftest.cpp
34707
34708 if { ac_try='
34709 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34710 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34712 (eval $ac_try) 2>&5
34713 ac_status=$?
34714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34715 (exit $ac_status); }; } &&
34716 { ac_try='
34717 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34718 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34720 (eval $ac_try) 2>&5
34721 ac_status=$?
34722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34723 (exit $ac_status); }; }
34724 then
34725 if { ac_try='
34726 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34727 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34729 (eval $ac_try) 2>&5
34730 ac_status=$?
34731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34732 (exit $ac_status); }; }
34733 then
34734 wx_cv_version_script=yes
34735 else
34736 wx_cv_version_script=no
34737 fi
34738 fi
34739 fi
34740
34741 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34742 rm -f conftest1.output conftest2.output conftest3.output
34743
34744 fi
34745 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34746 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34747
34748 if test $wx_cv_version_script = yes ; then
34749 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34750 fi
34751 ;;
34752 esac
34753
34754
34755 case "${host}" in
34756 *-*-linux* | *-*-gnu* )
34757 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34758 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34759 ;;
34760
34761 *-*-solaris2* )
34762 if test "$GCC" = yes ; then
34763 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
34764
34765 saveLdflags="$LDFLAGS"
34766 LDFLAGS="$saveLdflags -Wl,-rpath,/"
34767 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34768 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
34769 cat >conftest.$ac_ext <<_ACEOF
34770 /* confdefs.h. */
34771 _ACEOF
34772 cat confdefs.h >>conftest.$ac_ext
34773 cat >>conftest.$ac_ext <<_ACEOF
34774 /* end confdefs.h. */
34775
34776 int
34777 main ()
34778 {
34779
34780 ;
34781 return 0;
34782 }
34783 _ACEOF
34784 rm -f conftest.$ac_objext conftest$ac_exeext
34785 if { (ac_try="$ac_link"
34786 case "(($ac_try" in
34787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34788 *) ac_try_echo=$ac_try;;
34789 esac
34790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34791 (eval "$ac_link") 2>conftest.er1
34792 ac_status=$?
34793 grep -v '^ *+' conftest.er1 >conftest.err
34794 rm -f conftest.er1
34795 cat conftest.err >&5
34796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34797 (exit $ac_status); } && {
34798 test -z "$ac_c_werror_flag" ||
34799 test ! -s conftest.err
34800 } && test -s conftest$ac_exeext &&
34801 $as_test_x conftest$ac_exeext; then
34802
34803 { echo "$as_me:$LINENO: result: yes" >&5
34804 echo "${ECHO_T}yes" >&6; }
34805 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34806 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34807
34808 else
34809 echo "$as_me: failed program was:" >&5
34810 sed 's/^/| /' conftest.$ac_ext >&5
34811
34812
34813 { echo "$as_me:$LINENO: result: no" >&5
34814 echo "${ECHO_T}no" >&6; }
34815 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34816 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
34817 LDFLAGS="$saveLdflags -Wl,-R,/"
34818 cat >conftest.$ac_ext <<_ACEOF
34819 /* confdefs.h. */
34820 _ACEOF
34821 cat confdefs.h >>conftest.$ac_ext
34822 cat >>conftest.$ac_ext <<_ACEOF
34823 /* end confdefs.h. */
34824
34825 int
34826 main ()
34827 {
34828
34829 ;
34830 return 0;
34831 }
34832 _ACEOF
34833 rm -f conftest.$ac_objext conftest$ac_exeext
34834 if { (ac_try="$ac_link"
34835 case "(($ac_try" in
34836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34837 *) ac_try_echo=$ac_try;;
34838 esac
34839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34840 (eval "$ac_link") 2>conftest.er1
34841 ac_status=$?
34842 grep -v '^ *+' conftest.er1 >conftest.err
34843 rm -f conftest.er1
34844 cat conftest.err >&5
34845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34846 (exit $ac_status); } && {
34847 test -z "$ac_c_werror_flag" ||
34848 test ! -s conftest.err
34849 } && test -s conftest$ac_exeext &&
34850 $as_test_x conftest$ac_exeext; then
34851
34852 { echo "$as_me:$LINENO: result: yes" >&5
34853 echo "${ECHO_T}yes" >&6; }
34854 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
34855 WXCONFIG_RPATH="-Wl,-R,\$libdir"
34856
34857 else
34858 echo "$as_me: failed program was:" >&5
34859 sed 's/^/| /' conftest.$ac_ext >&5
34860
34861
34862 { echo "$as_me:$LINENO: result: no" >&5
34863 echo "${ECHO_T}no" >&6; }
34864
34865 fi
34866
34867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34868 conftest$ac_exeext conftest.$ac_ext
34869
34870 fi
34871
34872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34873 conftest$ac_exeext conftest.$ac_ext
34874 LDFLAGS="$saveLdflags"
34875 else
34876 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
34877 WXCONFIG_RPATH="-R\$libdir"
34878 fi
34879 ;;
34880
34881 *-*-darwin* )
34882 install_name_tool=`which install_name_tool`
34883 if test "$install_name_tool" -a -x "$install_name_tool"; then
34884 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
34885 cat <<EOF >change-install-names
34886 #!/bin/sh
34887 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34888 inst_cmd="install_name_tool "
34889 for i in \${libnames} ; do
34890 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
34891 done
34892 \${inst_cmd} \${3}
34893 EOF
34894 chmod +x change-install-names
34895 fi
34896 ;;
34897
34898 *-*-cygwin* | *-*-mingw32* )
34899 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34900 ;;
34901
34902 *-*-hpux* )
34903 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
34904 WXCONFIG_RPATH="-Wl,+b,\$libdir"
34905 ;;
34906
34907 esac
34908
34909 if test $wxUSE_RPATH = "no"; then
34910 SAMPLES_RPATH_FLAG=''
34911 SAMPLES_RPATH_POSTLINK=''
34912 WXCONFIG_RPATH=''
34913 fi
34914
34915 SHARED=1
34916
34917 else
34918
34919 config_linkage_component="-static"
34920 SHARED=0
34921
34922 fi
34923
34924
34925 UNICODE=0
34926 lib_unicode_suffix=
34927 WX_CHARTYPE="ansi"
34928 if test "$wxUSE_UNICODE" = "yes"; then
34929 lib_unicode_suffix=u
34930 WX_CHARTYPE="unicode"
34931 UNICODE=1
34932 fi
34933
34934 lib_debug_suffix=
34935 WX_DEBUGTYPE="release"
34936 DEBUG_FLAG=0
34937 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
34938 lib_debug_suffix=d
34939 WX_DEBUGTYPE="debug"
34940 DEBUG_FLAG=1
34941 fi
34942
34943 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
34944 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
34945
34946 DEBUG_INFO=0
34947 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34948 DEBUG_INFO=1
34949 fi
34950
34951 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
34952
34953 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
34954
34955 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34956
34957 if test "$cross_compiling" = "yes"; then
34958 HOST_SUFFIX="-$host_alias"
34959 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
34960 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
34961 fi
34962
34963 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34964 if test "${TOOLKIT_DIR}" = "os2"; then
34965 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34966 else
34967 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34968 fi
34969
34970
34971
34972 if test "$wxUSE_COCOA" = 1; then
34973
34974 ac_ext=c
34975 ac_cpp='$CPP $CPPFLAGS'
34976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34979
34980 ac_ext=m
34981
34982 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34983 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34984 cat >conftest.$ac_ext <<_ACEOF
34985 /* confdefs.h. */
34986 _ACEOF
34987 cat confdefs.h >>conftest.$ac_ext
34988 cat >>conftest.$ac_ext <<_ACEOF
34989 /* end confdefs.h. */
34990 #include <AppKit/NSEvent.h>
34991 #include <CoreFoundation/CoreFoundation.h>
34992
34993 int
34994 main ()
34995 {
34996
34997 ;
34998 return 0;
34999 }
35000 _ACEOF
35001 rm -f conftest.$ac_objext
35002 if { (ac_try="$ac_compile"
35003 case "(($ac_try" in
35004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35005 *) ac_try_echo=$ac_try;;
35006 esac
35007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35008 (eval "$ac_compile") 2>conftest.er1
35009 ac_status=$?
35010 grep -v '^ *+' conftest.er1 >conftest.err
35011 rm -f conftest.er1
35012 cat conftest.err >&5
35013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35014 (exit $ac_status); } && {
35015 test -z "$ac_c_werror_flag" ||
35016 test ! -s conftest.err
35017 } && test -s conftest.$ac_objext; then
35018 { echo "$as_me:$LINENO: result: no" >&5
35019 echo "${ECHO_T}no" >&6; }
35020 else
35021 echo "$as_me: failed program was:" >&5
35022 sed 's/^/| /' conftest.$ac_ext >&5
35023
35024 { echo "$as_me:$LINENO: result: yes" >&5
35025 echo "${ECHO_T}yes" >&6; }
35026 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35027 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35028 cat >conftest.$ac_ext <<_ACEOF
35029 /* confdefs.h. */
35030 _ACEOF
35031 cat confdefs.h >>conftest.$ac_ext
35032 cat >>conftest.$ac_ext <<_ACEOF
35033 /* end confdefs.h. */
35034 #define __Point__ 1
35035 #include <AppKit/NSEvent.h>
35036 #include <CoreFoundation/CoreFoundation.h>
35037
35038 int
35039 main ()
35040 {
35041
35042 ;
35043 return 0;
35044 }
35045 _ACEOF
35046 rm -f conftest.$ac_objext
35047 if { (ac_try="$ac_compile"
35048 case "(($ac_try" in
35049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35050 *) ac_try_echo=$ac_try;;
35051 esac
35052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35053 (eval "$ac_compile") 2>conftest.er1
35054 ac_status=$?
35055 grep -v '^ *+' conftest.er1 >conftest.err
35056 rm -f conftest.er1
35057 cat conftest.err >&5
35058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35059 (exit $ac_status); } && {
35060 test -z "$ac_c_werror_flag" ||
35061 test ! -s conftest.err
35062 } && test -s conftest.$ac_objext; then
35063 { echo "$as_me:$LINENO: result: yes" >&5
35064 echo "${ECHO_T}yes" >&6; }
35065 cat >>confdefs.h <<\_ACEOF
35066 #define __Point__ 1
35067 _ACEOF
35068
35069
35070 else
35071 echo "$as_me: failed program was:" >&5
35072 sed 's/^/| /' conftest.$ac_ext >&5
35073
35074 { { echo "$as_me:$LINENO: error: no
35075 See \`config.log' for more details." >&5
35076 echo "$as_me: error: no
35077 See \`config.log' for more details." >&2;}
35078 { (exit 1); exit 1; }; }
35079
35080 fi
35081
35082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35083
35084 fi
35085
35086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35087 ac_ext=c
35088 ac_cpp='$CPP $CPPFLAGS'
35089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35092
35093 fi
35094
35095 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
35096 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
35097 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
35098
35099 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
35100
35101 # Extract the first word of "Rez", so it can be a program name with args.
35102 set dummy Rez; ac_word=$2
35103 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35105 if test "${ac_cv_prog_REZ+set}" = set; then
35106 echo $ECHO_N "(cached) $ECHO_C" >&6
35107 else
35108 if test -n "$REZ"; then
35109 ac_cv_prog_REZ="$REZ" # Let the user override the test.
35110 else
35111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35112 for as_dir in $PATH
35113 do
35114 IFS=$as_save_IFS
35115 test -z "$as_dir" && as_dir=.
35116 for ac_exec_ext in '' $ac_executable_extensions; do
35117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35118 ac_cv_prog_REZ="Rez"
35119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35120 break 2
35121 fi
35122 done
35123 done
35124 IFS=$as_save_IFS
35125
35126 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
35127 fi
35128 fi
35129 REZ=$ac_cv_prog_REZ
35130 if test -n "$REZ"; then
35131 { echo "$as_me:$LINENO: result: $REZ" >&5
35132 echo "${ECHO_T}$REZ" >&6; }
35133 else
35134 { echo "$as_me:$LINENO: result: no" >&5
35135 echo "${ECHO_T}no" >&6; }
35136 fi
35137
35138
35139 # Extract the first word of "DeRez", so it can be a program name with args.
35140 set dummy DeRez; ac_word=$2
35141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35143 if test "${ac_cv_prog_DEREZ+set}" = set; then
35144 echo $ECHO_N "(cached) $ECHO_C" >&6
35145 else
35146 if test -n "$DEREZ"; then
35147 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
35148 else
35149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35150 for as_dir in $PATH
35151 do
35152 IFS=$as_save_IFS
35153 test -z "$as_dir" && as_dir=.
35154 for ac_exec_ext in '' $ac_executable_extensions; do
35155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35156 ac_cv_prog_DEREZ="DeRez"
35157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35158 break 2
35159 fi
35160 done
35161 done
35162 IFS=$as_save_IFS
35163
35164 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
35165 fi
35166 fi
35167 DEREZ=$ac_cv_prog_DEREZ
35168 if test -n "$DEREZ"; then
35169 { echo "$as_me:$LINENO: result: $DEREZ" >&5
35170 echo "${ECHO_T}$DEREZ" >&6; }
35171 else
35172 { echo "$as_me:$LINENO: result: no" >&5
35173 echo "${ECHO_T}no" >&6; }
35174 fi
35175
35176
35177 # Extract the first word of "SetFile", so it can be a program name with args.
35178 set dummy SetFile; ac_word=$2
35179 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35181 if test "${ac_cv_prog_SETFILE+set}" = set; then
35182 echo $ECHO_N "(cached) $ECHO_C" >&6
35183 else
35184 if test -n "$SETFILE"; then
35185 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
35186 else
35187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35188 for as_dir in $PATH
35189 do
35190 IFS=$as_save_IFS
35191 test -z "$as_dir" && as_dir=.
35192 for ac_exec_ext in '' $ac_executable_extensions; do
35193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35194 ac_cv_prog_SETFILE="SetFile"
35195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35196 break 2
35197 fi
35198 done
35199 done
35200 IFS=$as_save_IFS
35201
35202 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
35203 fi
35204 fi
35205 SETFILE=$ac_cv_prog_SETFILE
35206 if test -n "$SETFILE"; then
35207 { echo "$as_me:$LINENO: result: $SETFILE" >&5
35208 echo "${ECHO_T}$SETFILE" >&6; }
35209 else
35210 { echo "$as_me:$LINENO: result: no" >&5
35211 echo "${ECHO_T}no" >&6; }
35212 fi
35213
35214
35215
35216 MACSETFILE="\$(SETFILE)"
35217
35218 if test "$wxUSE_MAC" = 1; then
35219 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
35220 RESCOMP="$REZ"
35221 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
35222 else
35223 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
35224 RESCOMP="echo -n \| $REZ"
35225 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
35226 fi
35227
35228 else
35229 MACSETFILE="@true"
35230
35231 if test "$wxUSE_PM" = 1; then
35232 RESCOMP="emxbind"
35233 WXCONFIG_RESFLAGS="-ep"
35234
35235 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
35236 else
35237 POSTLINK_COMMAND="@true"
35238 fi
35239
35240 fi
35241
35242
35243
35244 { echo "$as_me:$LINENO: checking for mode_t" >&5
35245 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35246 if test "${ac_cv_type_mode_t+set}" = set; then
35247 echo $ECHO_N "(cached) $ECHO_C" >&6
35248 else
35249 cat >conftest.$ac_ext <<_ACEOF
35250 /* confdefs.h. */
35251 _ACEOF
35252 cat confdefs.h >>conftest.$ac_ext
35253 cat >>conftest.$ac_ext <<_ACEOF
35254 /* end confdefs.h. */
35255 $ac_includes_default
35256 typedef mode_t ac__type_new_;
35257 int
35258 main ()
35259 {
35260 if ((ac__type_new_ *) 0)
35261 return 0;
35262 if (sizeof (ac__type_new_))
35263 return 0;
35264 ;
35265 return 0;
35266 }
35267 _ACEOF
35268 rm -f conftest.$ac_objext
35269 if { (ac_try="$ac_compile"
35270 case "(($ac_try" in
35271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35272 *) ac_try_echo=$ac_try;;
35273 esac
35274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35275 (eval "$ac_compile") 2>conftest.er1
35276 ac_status=$?
35277 grep -v '^ *+' conftest.er1 >conftest.err
35278 rm -f conftest.er1
35279 cat conftest.err >&5
35280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35281 (exit $ac_status); } && {
35282 test -z "$ac_c_werror_flag" ||
35283 test ! -s conftest.err
35284 } && test -s conftest.$ac_objext; then
35285 ac_cv_type_mode_t=yes
35286 else
35287 echo "$as_me: failed program was:" >&5
35288 sed 's/^/| /' conftest.$ac_ext >&5
35289
35290 ac_cv_type_mode_t=no
35291 fi
35292
35293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35294 fi
35295 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35296 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35297 if test $ac_cv_type_mode_t = yes; then
35298 :
35299 else
35300
35301 cat >>confdefs.h <<_ACEOF
35302 #define mode_t int
35303 _ACEOF
35304
35305 fi
35306
35307 { echo "$as_me:$LINENO: checking for off_t" >&5
35308 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35309 if test "${ac_cv_type_off_t+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 $ac_includes_default
35319 typedef off_t ac__type_new_;
35320 int
35321 main ()
35322 {
35323 if ((ac__type_new_ *) 0)
35324 return 0;
35325 if (sizeof (ac__type_new_))
35326 return 0;
35327 ;
35328 return 0;
35329 }
35330 _ACEOF
35331 rm -f conftest.$ac_objext
35332 if { (ac_try="$ac_compile"
35333 case "(($ac_try" in
35334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35335 *) ac_try_echo=$ac_try;;
35336 esac
35337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35338 (eval "$ac_compile") 2>conftest.er1
35339 ac_status=$?
35340 grep -v '^ *+' conftest.er1 >conftest.err
35341 rm -f conftest.er1
35342 cat conftest.err >&5
35343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35344 (exit $ac_status); } && {
35345 test -z "$ac_c_werror_flag" ||
35346 test ! -s conftest.err
35347 } && test -s conftest.$ac_objext; then
35348 ac_cv_type_off_t=yes
35349 else
35350 echo "$as_me: failed program was:" >&5
35351 sed 's/^/| /' conftest.$ac_ext >&5
35352
35353 ac_cv_type_off_t=no
35354 fi
35355
35356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35357 fi
35358 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35359 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35360 if test $ac_cv_type_off_t = yes; then
35361 :
35362 else
35363
35364 cat >>confdefs.h <<_ACEOF
35365 #define off_t long int
35366 _ACEOF
35367
35368 fi
35369
35370 { echo "$as_me:$LINENO: checking for pid_t" >&5
35371 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35372 if test "${ac_cv_type_pid_t+set}" = set; then
35373 echo $ECHO_N "(cached) $ECHO_C" >&6
35374 else
35375 cat >conftest.$ac_ext <<_ACEOF
35376 /* confdefs.h. */
35377 _ACEOF
35378 cat confdefs.h >>conftest.$ac_ext
35379 cat >>conftest.$ac_ext <<_ACEOF
35380 /* end confdefs.h. */
35381 $ac_includes_default
35382 typedef pid_t ac__type_new_;
35383 int
35384 main ()
35385 {
35386 if ((ac__type_new_ *) 0)
35387 return 0;
35388 if (sizeof (ac__type_new_))
35389 return 0;
35390 ;
35391 return 0;
35392 }
35393 _ACEOF
35394 rm -f conftest.$ac_objext
35395 if { (ac_try="$ac_compile"
35396 case "(($ac_try" in
35397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35398 *) ac_try_echo=$ac_try;;
35399 esac
35400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35401 (eval "$ac_compile") 2>conftest.er1
35402 ac_status=$?
35403 grep -v '^ *+' conftest.er1 >conftest.err
35404 rm -f conftest.er1
35405 cat conftest.err >&5
35406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35407 (exit $ac_status); } && {
35408 test -z "$ac_c_werror_flag" ||
35409 test ! -s conftest.err
35410 } && test -s conftest.$ac_objext; then
35411 ac_cv_type_pid_t=yes
35412 else
35413 echo "$as_me: failed program was:" >&5
35414 sed 's/^/| /' conftest.$ac_ext >&5
35415
35416 ac_cv_type_pid_t=no
35417 fi
35418
35419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35420 fi
35421 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35422 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35423 if test $ac_cv_type_pid_t = yes; then
35424 :
35425 else
35426
35427 cat >>confdefs.h <<_ACEOF
35428 #define pid_t int
35429 _ACEOF
35430
35431 fi
35432
35433 { echo "$as_me:$LINENO: checking for size_t" >&5
35434 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35435 if test "${ac_cv_type_size_t+set}" = set; then
35436 echo $ECHO_N "(cached) $ECHO_C" >&6
35437 else
35438 cat >conftest.$ac_ext <<_ACEOF
35439 /* confdefs.h. */
35440 _ACEOF
35441 cat confdefs.h >>conftest.$ac_ext
35442 cat >>conftest.$ac_ext <<_ACEOF
35443 /* end confdefs.h. */
35444 $ac_includes_default
35445 typedef size_t ac__type_new_;
35446 int
35447 main ()
35448 {
35449 if ((ac__type_new_ *) 0)
35450 return 0;
35451 if (sizeof (ac__type_new_))
35452 return 0;
35453 ;
35454 return 0;
35455 }
35456 _ACEOF
35457 rm -f conftest.$ac_objext
35458 if { (ac_try="$ac_compile"
35459 case "(($ac_try" in
35460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35461 *) ac_try_echo=$ac_try;;
35462 esac
35463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35464 (eval "$ac_compile") 2>conftest.er1
35465 ac_status=$?
35466 grep -v '^ *+' conftest.er1 >conftest.err
35467 rm -f conftest.er1
35468 cat conftest.err >&5
35469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35470 (exit $ac_status); } && {
35471 test -z "$ac_c_werror_flag" ||
35472 test ! -s conftest.err
35473 } && test -s conftest.$ac_objext; then
35474 ac_cv_type_size_t=yes
35475 else
35476 echo "$as_me: failed program was:" >&5
35477 sed 's/^/| /' conftest.$ac_ext >&5
35478
35479 ac_cv_type_size_t=no
35480 fi
35481
35482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35483 fi
35484 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35485 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35486 if test $ac_cv_type_size_t = yes; then
35487 :
35488 else
35489
35490 cat >>confdefs.h <<_ACEOF
35491 #define size_t unsigned int
35492 _ACEOF
35493
35494 fi
35495
35496 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
35497 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
35498 if test "${ac_cv_type_uid_t+set}" = set; then
35499 echo $ECHO_N "(cached) $ECHO_C" >&6
35500 else
35501 cat >conftest.$ac_ext <<_ACEOF
35502 /* confdefs.h. */
35503 _ACEOF
35504 cat confdefs.h >>conftest.$ac_ext
35505 cat >>conftest.$ac_ext <<_ACEOF
35506 /* end confdefs.h. */
35507 #include <sys/types.h>
35508
35509 _ACEOF
35510 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
35511 $EGREP "uid_t" >/dev/null 2>&1; then
35512 ac_cv_type_uid_t=yes
35513 else
35514 ac_cv_type_uid_t=no
35515 fi
35516 rm -f conftest*
35517
35518 fi
35519 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
35520 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
35521 if test $ac_cv_type_uid_t = no; then
35522
35523 cat >>confdefs.h <<\_ACEOF
35524 #define uid_t int
35525 _ACEOF
35526
35527
35528 cat >>confdefs.h <<\_ACEOF
35529 #define gid_t int
35530 _ACEOF
35531
35532 fi
35533
35534
35535 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35536 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35537 if test "${ac_cv_type_ssize_t+set}" = set; then
35538 echo $ECHO_N "(cached) $ECHO_C" >&6
35539 else
35540 cat >conftest.$ac_ext <<_ACEOF
35541 /* confdefs.h. */
35542 _ACEOF
35543 cat confdefs.h >>conftest.$ac_ext
35544 cat >>conftest.$ac_ext <<_ACEOF
35545 /* end confdefs.h. */
35546 $ac_includes_default
35547 typedef ssize_t ac__type_new_;
35548 int
35549 main ()
35550 {
35551 if ((ac__type_new_ *) 0)
35552 return 0;
35553 if (sizeof (ac__type_new_))
35554 return 0;
35555 ;
35556 return 0;
35557 }
35558 _ACEOF
35559 rm -f conftest.$ac_objext
35560 if { (ac_try="$ac_compile"
35561 case "(($ac_try" in
35562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35563 *) ac_try_echo=$ac_try;;
35564 esac
35565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35566 (eval "$ac_compile") 2>conftest.er1
35567 ac_status=$?
35568 grep -v '^ *+' conftest.er1 >conftest.err
35569 rm -f conftest.er1
35570 cat conftest.err >&5
35571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35572 (exit $ac_status); } && {
35573 test -z "$ac_c_werror_flag" ||
35574 test ! -s conftest.err
35575 } && test -s conftest.$ac_objext; then
35576 ac_cv_type_ssize_t=yes
35577 else
35578 echo "$as_me: failed program was:" >&5
35579 sed 's/^/| /' conftest.$ac_ext >&5
35580
35581 ac_cv_type_ssize_t=no
35582 fi
35583
35584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35585 fi
35586 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35587 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35588 if test $ac_cv_type_ssize_t = yes; then
35589
35590 cat >>confdefs.h <<_ACEOF
35591 #define HAVE_SSIZE_T 1
35592 _ACEOF
35593
35594
35595 fi
35596
35597
35598 ac_ext=cpp
35599 ac_cpp='$CXXCPP $CPPFLAGS'
35600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35603 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35604 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35605 if test "${wx_cv_size_t_is_uint+set}" = set; then
35606 echo $ECHO_N "(cached) $ECHO_C" >&6
35607 else
35608
35609 cat >conftest.$ac_ext <<_ACEOF
35610 /* confdefs.h. */
35611 _ACEOF
35612 cat confdefs.h >>conftest.$ac_ext
35613 cat >>conftest.$ac_ext <<_ACEOF
35614 /* end confdefs.h. */
35615 #include <stddef.h>
35616 int
35617 main ()
35618 {
35619
35620 return 0; }
35621
35622 struct Foo { void foo(size_t); void foo(unsigned int); };
35623
35624 int bar() {
35625
35626 ;
35627 return 0;
35628 }
35629 _ACEOF
35630 rm -f conftest.$ac_objext
35631 if { (ac_try="$ac_compile"
35632 case "(($ac_try" in
35633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35634 *) ac_try_echo=$ac_try;;
35635 esac
35636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35637 (eval "$ac_compile") 2>conftest.er1
35638 ac_status=$?
35639 grep -v '^ *+' conftest.er1 >conftest.err
35640 rm -f conftest.er1
35641 cat conftest.err >&5
35642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35643 (exit $ac_status); } && {
35644 test -z "$ac_cxx_werror_flag" ||
35645 test ! -s conftest.err
35646 } && test -s conftest.$ac_objext; then
35647 wx_cv_size_t_is_uint=no
35648 else
35649 echo "$as_me: failed program was:" >&5
35650 sed 's/^/| /' conftest.$ac_ext >&5
35651
35652 wx_cv_size_t_is_uint=yes
35653
35654 fi
35655
35656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35657
35658
35659 fi
35660 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35661 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35662
35663 if test "$wx_cv_size_t_is_uint" = "yes"; then
35664 cat >>confdefs.h <<\_ACEOF
35665 #define wxSIZE_T_IS_UINT 1
35666 _ACEOF
35667
35668 else
35669 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35670 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35671 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35672 echo $ECHO_N "(cached) $ECHO_C" >&6
35673 else
35674 cat >conftest.$ac_ext <<_ACEOF
35675 /* confdefs.h. */
35676 _ACEOF
35677 cat confdefs.h >>conftest.$ac_ext
35678 cat >>conftest.$ac_ext <<_ACEOF
35679 /* end confdefs.h. */
35680 #include <stddef.h>
35681 int
35682 main ()
35683 {
35684
35685 return 0; }
35686
35687 struct Foo { void foo(size_t); void foo(unsigned long); };
35688
35689 int bar() {
35690
35691 ;
35692 return 0;
35693 }
35694 _ACEOF
35695 rm -f conftest.$ac_objext
35696 if { (ac_try="$ac_compile"
35697 case "(($ac_try" in
35698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35699 *) ac_try_echo=$ac_try;;
35700 esac
35701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35702 (eval "$ac_compile") 2>conftest.er1
35703 ac_status=$?
35704 grep -v '^ *+' conftest.er1 >conftest.err
35705 rm -f conftest.er1
35706 cat conftest.err >&5
35707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35708 (exit $ac_status); } && {
35709 test -z "$ac_cxx_werror_flag" ||
35710 test ! -s conftest.err
35711 } && test -s conftest.$ac_objext; then
35712 wx_cv_size_t_is_ulong=no
35713 else
35714 echo "$as_me: failed program was:" >&5
35715 sed 's/^/| /' conftest.$ac_ext >&5
35716
35717 wx_cv_size_t_is_ulong=yes
35718
35719 fi
35720
35721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35722
35723 fi
35724 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35725 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
35726
35727 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35728 cat >>confdefs.h <<\_ACEOF
35729 #define wxSIZE_T_IS_ULONG 1
35730 _ACEOF
35731
35732 fi
35733 fi
35734
35735 ac_ext=c
35736 ac_cpp='$CPP $CPPFLAGS'
35737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35740
35741
35742 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35743 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
35744 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35745 echo $ECHO_N "(cached) $ECHO_C" >&6
35746 else
35747
35748 cat >conftest.$ac_ext <<_ACEOF
35749 /* confdefs.h. */
35750 _ACEOF
35751 cat confdefs.h >>conftest.$ac_ext
35752 cat >>conftest.$ac_ext <<_ACEOF
35753 /* end confdefs.h. */
35754 #include <pwd.h>
35755 int
35756 main ()
35757 {
35758
35759 char *p;
35760 struct passwd *pw;
35761 p = pw->pw_gecos;
35762
35763 ;
35764 return 0;
35765 }
35766 _ACEOF
35767 rm -f conftest.$ac_objext
35768 if { (ac_try="$ac_compile"
35769 case "(($ac_try" in
35770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35771 *) ac_try_echo=$ac_try;;
35772 esac
35773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35774 (eval "$ac_compile") 2>conftest.er1
35775 ac_status=$?
35776 grep -v '^ *+' conftest.er1 >conftest.err
35777 rm -f conftest.er1
35778 cat conftest.err >&5
35779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35780 (exit $ac_status); } && {
35781 test -z "$ac_c_werror_flag" ||
35782 test ! -s conftest.err
35783 } && test -s conftest.$ac_objext; then
35784
35785 wx_cv_struct_pw_gecos=yes
35786
35787 else
35788 echo "$as_me: failed program was:" >&5
35789 sed 's/^/| /' conftest.$ac_ext >&5
35790
35791
35792 wx_cv_struct_pw_gecos=no
35793
35794
35795 fi
35796
35797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35798
35799
35800 fi
35801 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35802 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35803
35804 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35805 cat >>confdefs.h <<\_ACEOF
35806 #define HAVE_PW_GECOS 1
35807 _ACEOF
35808
35809 fi
35810
35811
35812 if test "$wxUSE_WCHAR_T" = "yes"; then
35813 cat >>confdefs.h <<\_ACEOF
35814 #define wxUSE_WCHAR_T 1
35815 _ACEOF
35816
35817
35818 WCSLEN_FOUND=0
35819 WCHAR_LINK=
35820
35821 for ac_func in wcslen
35822 do
35823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35824 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35826 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35827 echo $ECHO_N "(cached) $ECHO_C" >&6
35828 else
35829 cat >conftest.$ac_ext <<_ACEOF
35830 /* confdefs.h. */
35831 _ACEOF
35832 cat confdefs.h >>conftest.$ac_ext
35833 cat >>conftest.$ac_ext <<_ACEOF
35834 /* end confdefs.h. */
35835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35837 #define $ac_func innocuous_$ac_func
35838
35839 /* System header to define __stub macros and hopefully few prototypes,
35840 which can conflict with char $ac_func (); below.
35841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35842 <limits.h> exists even on freestanding compilers. */
35843
35844 #ifdef __STDC__
35845 # include <limits.h>
35846 #else
35847 # include <assert.h>
35848 #endif
35849
35850 #undef $ac_func
35851
35852 /* Override any GCC internal prototype to avoid an error.
35853 Use char because int might match the return type of a GCC
35854 builtin and then its argument prototype would still apply. */
35855 #ifdef __cplusplus
35856 extern "C"
35857 #endif
35858 char $ac_func ();
35859 /* The GNU C library defines this for functions which it implements
35860 to always fail with ENOSYS. Some functions are actually named
35861 something starting with __ and the normal name is an alias. */
35862 #if defined __stub_$ac_func || defined __stub___$ac_func
35863 choke me
35864 #endif
35865
35866 int
35867 main ()
35868 {
35869 return $ac_func ();
35870 ;
35871 return 0;
35872 }
35873 _ACEOF
35874 rm -f conftest.$ac_objext conftest$ac_exeext
35875 if { (ac_try="$ac_link"
35876 case "(($ac_try" in
35877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35878 *) ac_try_echo=$ac_try;;
35879 esac
35880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35881 (eval "$ac_link") 2>conftest.er1
35882 ac_status=$?
35883 grep -v '^ *+' conftest.er1 >conftest.err
35884 rm -f conftest.er1
35885 cat conftest.err >&5
35886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35887 (exit $ac_status); } && {
35888 test -z "$ac_c_werror_flag" ||
35889 test ! -s conftest.err
35890 } && test -s conftest$ac_exeext &&
35891 $as_test_x conftest$ac_exeext; then
35892 eval "$as_ac_var=yes"
35893 else
35894 echo "$as_me: failed program was:" >&5
35895 sed 's/^/| /' conftest.$ac_ext >&5
35896
35897 eval "$as_ac_var=no"
35898 fi
35899
35900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35901 conftest$ac_exeext conftest.$ac_ext
35902 fi
35903 ac_res=`eval echo '${'$as_ac_var'}'`
35904 { echo "$as_me:$LINENO: result: $ac_res" >&5
35905 echo "${ECHO_T}$ac_res" >&6; }
35906 if test `eval echo '${'$as_ac_var'}'` = yes; then
35907 cat >>confdefs.h <<_ACEOF
35908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35909 _ACEOF
35910 WCSLEN_FOUND=1
35911 fi
35912 done
35913
35914
35915 if test "$WCSLEN_FOUND" = 0; then
35916 if test "$TOOLKIT" = "MSW"; then
35917 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35918 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
35919 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35920 echo $ECHO_N "(cached) $ECHO_C" >&6
35921 else
35922 ac_check_lib_save_LIBS=$LIBS
35923 LIBS="-lmsvcrt $LIBS"
35924 cat >conftest.$ac_ext <<_ACEOF
35925 /* confdefs.h. */
35926 _ACEOF
35927 cat confdefs.h >>conftest.$ac_ext
35928 cat >>conftest.$ac_ext <<_ACEOF
35929 /* end confdefs.h. */
35930
35931 /* Override any GCC internal prototype to avoid an error.
35932 Use char because int might match the return type of a GCC
35933 builtin and then its argument prototype would still apply. */
35934 #ifdef __cplusplus
35935 extern "C"
35936 #endif
35937 char wcslen ();
35938 int
35939 main ()
35940 {
35941 return wcslen ();
35942 ;
35943 return 0;
35944 }
35945 _ACEOF
35946 rm -f conftest.$ac_objext conftest$ac_exeext
35947 if { (ac_try="$ac_link"
35948 case "(($ac_try" in
35949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35950 *) ac_try_echo=$ac_try;;
35951 esac
35952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35953 (eval "$ac_link") 2>conftest.er1
35954 ac_status=$?
35955 grep -v '^ *+' conftest.er1 >conftest.err
35956 rm -f conftest.er1
35957 cat conftest.err >&5
35958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35959 (exit $ac_status); } && {
35960 test -z "$ac_c_werror_flag" ||
35961 test ! -s conftest.err
35962 } && test -s conftest$ac_exeext &&
35963 $as_test_x conftest$ac_exeext; then
35964 ac_cv_lib_msvcrt_wcslen=yes
35965 else
35966 echo "$as_me: failed program was:" >&5
35967 sed 's/^/| /' conftest.$ac_ext >&5
35968
35969 ac_cv_lib_msvcrt_wcslen=no
35970 fi
35971
35972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35973 conftest$ac_exeext conftest.$ac_ext
35974 LIBS=$ac_check_lib_save_LIBS
35975 fi
35976 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35977 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
35978 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35979 WCHAR_OK=1
35980 fi
35981
35982 else
35983 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35984 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
35985 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35986 echo $ECHO_N "(cached) $ECHO_C" >&6
35987 else
35988 ac_check_lib_save_LIBS=$LIBS
35989 LIBS="-lw $LIBS"
35990 cat >conftest.$ac_ext <<_ACEOF
35991 /* confdefs.h. */
35992 _ACEOF
35993 cat confdefs.h >>conftest.$ac_ext
35994 cat >>conftest.$ac_ext <<_ACEOF
35995 /* end confdefs.h. */
35996
35997 /* Override any GCC internal prototype to avoid an error.
35998 Use char because int might match the return type of a GCC
35999 builtin and then its argument prototype would still apply. */
36000 #ifdef __cplusplus
36001 extern "C"
36002 #endif
36003 char wcslen ();
36004 int
36005 main ()
36006 {
36007 return wcslen ();
36008 ;
36009 return 0;
36010 }
36011 _ACEOF
36012 rm -f conftest.$ac_objext conftest$ac_exeext
36013 if { (ac_try="$ac_link"
36014 case "(($ac_try" in
36015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36016 *) ac_try_echo=$ac_try;;
36017 esac
36018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36019 (eval "$ac_link") 2>conftest.er1
36020 ac_status=$?
36021 grep -v '^ *+' conftest.er1 >conftest.err
36022 rm -f conftest.er1
36023 cat conftest.err >&5
36024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36025 (exit $ac_status); } && {
36026 test -z "$ac_c_werror_flag" ||
36027 test ! -s conftest.err
36028 } && test -s conftest$ac_exeext &&
36029 $as_test_x conftest$ac_exeext; then
36030 ac_cv_lib_w_wcslen=yes
36031 else
36032 echo "$as_me: failed program was:" >&5
36033 sed 's/^/| /' conftest.$ac_ext >&5
36034
36035 ac_cv_lib_w_wcslen=no
36036 fi
36037
36038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36039 conftest$ac_exeext conftest.$ac_ext
36040 LIBS=$ac_check_lib_save_LIBS
36041 fi
36042 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36043 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36044 if test $ac_cv_lib_w_wcslen = yes; then
36045
36046 WCHAR_LINK=" -lw"
36047 WCSLEN_FOUND=1
36048
36049 fi
36050
36051 fi
36052 fi
36053
36054 if test "$WCSLEN_FOUND" = 1; then
36055 cat >>confdefs.h <<\_ACEOF
36056 #define HAVE_WCSLEN 1
36057 _ACEOF
36058
36059 fi
36060
36061 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36062 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36063 fi
36064
36065 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36066 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36067 if test "${ac_cv_type_mbstate_t+set}" = set; then
36068 echo $ECHO_N "(cached) $ECHO_C" >&6
36069 else
36070 cat >conftest.$ac_ext <<_ACEOF
36071 /* confdefs.h. */
36072 _ACEOF
36073 cat confdefs.h >>conftest.$ac_ext
36074 cat >>conftest.$ac_ext <<_ACEOF
36075 /* end confdefs.h. */
36076 #include <wchar.h>
36077
36078 typedef mbstate_t ac__type_new_;
36079 int
36080 main ()
36081 {
36082 if ((ac__type_new_ *) 0)
36083 return 0;
36084 if (sizeof (ac__type_new_))
36085 return 0;
36086 ;
36087 return 0;
36088 }
36089 _ACEOF
36090 rm -f conftest.$ac_objext
36091 if { (ac_try="$ac_compile"
36092 case "(($ac_try" in
36093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36094 *) ac_try_echo=$ac_try;;
36095 esac
36096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36097 (eval "$ac_compile") 2>conftest.er1
36098 ac_status=$?
36099 grep -v '^ *+' conftest.er1 >conftest.err
36100 rm -f conftest.er1
36101 cat conftest.err >&5
36102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36103 (exit $ac_status); } && {
36104 test -z "$ac_c_werror_flag" ||
36105 test ! -s conftest.err
36106 } && test -s conftest.$ac_objext; then
36107 ac_cv_type_mbstate_t=yes
36108 else
36109 echo "$as_me: failed program was:" >&5
36110 sed 's/^/| /' conftest.$ac_ext >&5
36111
36112 ac_cv_type_mbstate_t=no
36113 fi
36114
36115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36116 fi
36117 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36118 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36119 if test $ac_cv_type_mbstate_t = yes; then
36120
36121 cat >>confdefs.h <<_ACEOF
36122 #define HAVE_MBSTATE_T 1
36123 _ACEOF
36124
36125
36126 for ac_func in wcsrtombs
36127 do
36128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36129 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36131 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36132 echo $ECHO_N "(cached) $ECHO_C" >&6
36133 else
36134 cat >conftest.$ac_ext <<_ACEOF
36135 /* confdefs.h. */
36136 _ACEOF
36137 cat confdefs.h >>conftest.$ac_ext
36138 cat >>conftest.$ac_ext <<_ACEOF
36139 /* end confdefs.h. */
36140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36142 #define $ac_func innocuous_$ac_func
36143
36144 /* System header to define __stub macros and hopefully few prototypes,
36145 which can conflict with char $ac_func (); below.
36146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36147 <limits.h> exists even on freestanding compilers. */
36148
36149 #ifdef __STDC__
36150 # include <limits.h>
36151 #else
36152 # include <assert.h>
36153 #endif
36154
36155 #undef $ac_func
36156
36157 /* Override any GCC internal prototype to avoid an error.
36158 Use char because int might match the return type of a GCC
36159 builtin and then its argument prototype would still apply. */
36160 #ifdef __cplusplus
36161 extern "C"
36162 #endif
36163 char $ac_func ();
36164 /* The GNU C library defines this for functions which it implements
36165 to always fail with ENOSYS. Some functions are actually named
36166 something starting with __ and the normal name is an alias. */
36167 #if defined __stub_$ac_func || defined __stub___$ac_func
36168 choke me
36169 #endif
36170
36171 int
36172 main ()
36173 {
36174 return $ac_func ();
36175 ;
36176 return 0;
36177 }
36178 _ACEOF
36179 rm -f conftest.$ac_objext conftest$ac_exeext
36180 if { (ac_try="$ac_link"
36181 case "(($ac_try" in
36182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36183 *) ac_try_echo=$ac_try;;
36184 esac
36185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36186 (eval "$ac_link") 2>conftest.er1
36187 ac_status=$?
36188 grep -v '^ *+' conftest.er1 >conftest.err
36189 rm -f conftest.er1
36190 cat conftest.err >&5
36191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36192 (exit $ac_status); } && {
36193 test -z "$ac_c_werror_flag" ||
36194 test ! -s conftest.err
36195 } && test -s conftest$ac_exeext &&
36196 $as_test_x conftest$ac_exeext; then
36197 eval "$as_ac_var=yes"
36198 else
36199 echo "$as_me: failed program was:" >&5
36200 sed 's/^/| /' conftest.$ac_ext >&5
36201
36202 eval "$as_ac_var=no"
36203 fi
36204
36205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36206 conftest$ac_exeext conftest.$ac_ext
36207 fi
36208 ac_res=`eval echo '${'$as_ac_var'}'`
36209 { echo "$as_me:$LINENO: result: $ac_res" >&5
36210 echo "${ECHO_T}$ac_res" >&6; }
36211 if test `eval echo '${'$as_ac_var'}'` = yes; then
36212 cat >>confdefs.h <<_ACEOF
36213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36214 _ACEOF
36215
36216 fi
36217 done
36218
36219 fi
36220
36221 else
36222 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
36223 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
36224 fi
36225
36226
36227
36228 for ac_func in snprintf vsnprintf
36229 do
36230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36231 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36233 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36234 echo $ECHO_N "(cached) $ECHO_C" >&6
36235 else
36236 cat >conftest.$ac_ext <<_ACEOF
36237 /* confdefs.h. */
36238 _ACEOF
36239 cat confdefs.h >>conftest.$ac_ext
36240 cat >>conftest.$ac_ext <<_ACEOF
36241 /* end confdefs.h. */
36242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36244 #define $ac_func innocuous_$ac_func
36245
36246 /* System header to define __stub macros and hopefully few prototypes,
36247 which can conflict with char $ac_func (); below.
36248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36249 <limits.h> exists even on freestanding compilers. */
36250
36251 #ifdef __STDC__
36252 # include <limits.h>
36253 #else
36254 # include <assert.h>
36255 #endif
36256
36257 #undef $ac_func
36258
36259 /* Override any GCC internal prototype to avoid an error.
36260 Use char because int might match the return type of a GCC
36261 builtin and then its argument prototype would still apply. */
36262 #ifdef __cplusplus
36263 extern "C"
36264 #endif
36265 char $ac_func ();
36266 /* The GNU C library defines this for functions which it implements
36267 to always fail with ENOSYS. Some functions are actually named
36268 something starting with __ and the normal name is an alias. */
36269 #if defined __stub_$ac_func || defined __stub___$ac_func
36270 choke me
36271 #endif
36272
36273 int
36274 main ()
36275 {
36276 return $ac_func ();
36277 ;
36278 return 0;
36279 }
36280 _ACEOF
36281 rm -f conftest.$ac_objext conftest$ac_exeext
36282 if { (ac_try="$ac_link"
36283 case "(($ac_try" in
36284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36285 *) ac_try_echo=$ac_try;;
36286 esac
36287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36288 (eval "$ac_link") 2>conftest.er1
36289 ac_status=$?
36290 grep -v '^ *+' conftest.er1 >conftest.err
36291 rm -f conftest.er1
36292 cat conftest.err >&5
36293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36294 (exit $ac_status); } && {
36295 test -z "$ac_c_werror_flag" ||
36296 test ! -s conftest.err
36297 } && test -s conftest$ac_exeext &&
36298 $as_test_x conftest$ac_exeext; then
36299 eval "$as_ac_var=yes"
36300 else
36301 echo "$as_me: failed program was:" >&5
36302 sed 's/^/| /' conftest.$ac_ext >&5
36303
36304 eval "$as_ac_var=no"
36305 fi
36306
36307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36308 conftest$ac_exeext conftest.$ac_ext
36309 fi
36310 ac_res=`eval echo '${'$as_ac_var'}'`
36311 { echo "$as_me:$LINENO: result: $ac_res" >&5
36312 echo "${ECHO_T}$ac_res" >&6; }
36313 if test `eval echo '${'$as_ac_var'}'` = yes; then
36314 cat >>confdefs.h <<_ACEOF
36315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36316 _ACEOF
36317
36318 fi
36319 done
36320
36321
36322 if test "$ac_cv_func_vsnprintf" = "yes"; then
36323 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36324 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36325 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36326 echo $ECHO_N "(cached) $ECHO_C" >&6
36327 else
36328
36329 cat >conftest.$ac_ext <<_ACEOF
36330 /* confdefs.h. */
36331 _ACEOF
36332 cat confdefs.h >>conftest.$ac_ext
36333 cat >>conftest.$ac_ext <<_ACEOF
36334 /* end confdefs.h. */
36335
36336 #include <stdio.h>
36337 #include <stdarg.h>
36338 #ifdef __MSL__
36339 #if __MSL__ >= 0x6000
36340 namespace std {}
36341 using namespace std;
36342 #endif
36343 #endif
36344
36345 int
36346 main ()
36347 {
36348
36349 char *buf;
36350 va_list ap;
36351 vsnprintf(buf, 10u, "%s", ap);
36352
36353 ;
36354 return 0;
36355 }
36356 _ACEOF
36357 rm -f conftest.$ac_objext
36358 if { (ac_try="$ac_compile"
36359 case "(($ac_try" in
36360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36361 *) ac_try_echo=$ac_try;;
36362 esac
36363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36364 (eval "$ac_compile") 2>conftest.er1
36365 ac_status=$?
36366 grep -v '^ *+' conftest.er1 >conftest.err
36367 rm -f conftest.er1
36368 cat conftest.err >&5
36369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36370 (exit $ac_status); } && {
36371 test -z "$ac_c_werror_flag" ||
36372 test ! -s conftest.err
36373 } && test -s conftest.$ac_objext; then
36374 wx_cv_func_vsnprintf_decl=yes
36375 else
36376 echo "$as_me: failed program was:" >&5
36377 sed 's/^/| /' conftest.$ac_ext >&5
36378
36379 wx_cv_func_vsnprintf_decl=no
36380
36381 fi
36382
36383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36384
36385
36386 fi
36387 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36388 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36389
36390 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36391 cat >>confdefs.h <<\_ACEOF
36392 #define HAVE_VSNPRINTF_DECL 1
36393 _ACEOF
36394
36395
36396 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36397 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36398 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36399 echo $ECHO_N "(cached) $ECHO_C" >&6
36400 else
36401
36402 cat >conftest.$ac_ext <<_ACEOF
36403 /* confdefs.h. */
36404 _ACEOF
36405 cat confdefs.h >>conftest.$ac_ext
36406 cat >>conftest.$ac_ext <<_ACEOF
36407 /* end confdefs.h. */
36408
36409 #include <stdio.h>
36410 #include <stdarg.h>
36411 #ifdef __MSL__
36412 #if __MSL__ >= 0x6000
36413 namespace std {}
36414 using namespace std;
36415 #endif
36416 #endif
36417
36418 int
36419 main ()
36420 {
36421
36422 char *buf;
36423 va_list ap;
36424 const char *fmt = "%s";
36425 vsnprintf(buf, 10u, fmt, ap);
36426
36427 ;
36428 return 0;
36429 }
36430 _ACEOF
36431 rm -f conftest.$ac_objext
36432 if { (ac_try="$ac_compile"
36433 case "(($ac_try" in
36434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36435 *) ac_try_echo=$ac_try;;
36436 esac
36437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36438 (eval "$ac_compile") 2>conftest.er1
36439 ac_status=$?
36440 grep -v '^ *+' conftest.er1 >conftest.err
36441 rm -f conftest.er1
36442 cat conftest.err >&5
36443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36444 (exit $ac_status); } && {
36445 test -z "$ac_c_werror_flag" ||
36446 test ! -s conftest.err
36447 } && test -s conftest.$ac_objext; then
36448 wx_cv_func_broken_vsnprintf_decl=no
36449 else
36450 echo "$as_me: failed program was:" >&5
36451 sed 's/^/| /' conftest.$ac_ext >&5
36452
36453 wx_cv_func_broken_vsnprintf_decl=yes
36454
36455 fi
36456
36457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36458
36459
36460 fi
36461 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36462 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36463
36464 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36465 cat >>confdefs.h <<\_ACEOF
36466 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36467 _ACEOF
36468
36469 fi
36470 fi
36471 fi
36472
36473 if test "$ac_cv_func_snprintf" = "yes"; then
36474 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36475 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36476 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36477 echo $ECHO_N "(cached) $ECHO_C" >&6
36478 else
36479
36480 cat >conftest.$ac_ext <<_ACEOF
36481 /* confdefs.h. */
36482 _ACEOF
36483 cat confdefs.h >>conftest.$ac_ext
36484 cat >>conftest.$ac_ext <<_ACEOF
36485 /* end confdefs.h. */
36486
36487 #include <stdio.h>
36488 #include <stdarg.h>
36489 #ifdef __MSL__
36490 #if __MSL__ >= 0x6000
36491 namespace std {}
36492 using namespace std;
36493 #endif
36494 #endif
36495
36496 int
36497 main ()
36498 {
36499
36500 char *buf;
36501 snprintf(buf, 10u, "%s", "wx");
36502
36503 ;
36504 return 0;
36505 }
36506 _ACEOF
36507 rm -f conftest.$ac_objext
36508 if { (ac_try="$ac_compile"
36509 case "(($ac_try" in
36510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36511 *) ac_try_echo=$ac_try;;
36512 esac
36513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36514 (eval "$ac_compile") 2>conftest.er1
36515 ac_status=$?
36516 grep -v '^ *+' conftest.er1 >conftest.err
36517 rm -f conftest.er1
36518 cat conftest.err >&5
36519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36520 (exit $ac_status); } && {
36521 test -z "$ac_c_werror_flag" ||
36522 test ! -s conftest.err
36523 } && test -s conftest.$ac_objext; then
36524 wx_cv_func_snprintf_decl=yes
36525 else
36526 echo "$as_me: failed program was:" >&5
36527 sed 's/^/| /' conftest.$ac_ext >&5
36528
36529 wx_cv_func_snprintf_decl=no
36530
36531 fi
36532
36533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36534
36535
36536 fi
36537 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36538 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36539
36540 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36541 cat >>confdefs.h <<\_ACEOF
36542 #define HAVE_SNPRINTF_DECL 1
36543 _ACEOF
36544
36545
36546 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
36547 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
36548 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
36549 echo $ECHO_N "(cached) $ECHO_C" >&6
36550 else
36551
36552 cat >conftest.$ac_ext <<_ACEOF
36553 /* confdefs.h. */
36554 _ACEOF
36555 cat confdefs.h >>conftest.$ac_ext
36556 cat >>conftest.$ac_ext <<_ACEOF
36557 /* end confdefs.h. */
36558
36559 #include <stdio.h>
36560 #include <stdarg.h>
36561 #ifdef __MSL__
36562 #if __MSL__ >= 0x6000
36563 namespace std {}
36564 using namespace std;
36565 #endif
36566 #endif
36567
36568 int
36569 main ()
36570 {
36571
36572 char *buf;
36573 const char *fmt = "%s";
36574 snprintf(buf, 10u, fmt, "wx");
36575
36576 ;
36577 return 0;
36578 }
36579 _ACEOF
36580 rm -f conftest.$ac_objext
36581 if { (ac_try="$ac_compile"
36582 case "(($ac_try" in
36583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36584 *) ac_try_echo=$ac_try;;
36585 esac
36586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36587 (eval "$ac_compile") 2>conftest.er1
36588 ac_status=$?
36589 grep -v '^ *+' conftest.er1 >conftest.err
36590 rm -f conftest.er1
36591 cat conftest.err >&5
36592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36593 (exit $ac_status); } && {
36594 test -z "$ac_c_werror_flag" ||
36595 test ! -s conftest.err
36596 } && test -s conftest.$ac_objext; then
36597 wx_cv_func_broken_snprintf_decl=no
36598 else
36599 echo "$as_me: failed program was:" >&5
36600 sed 's/^/| /' conftest.$ac_ext >&5
36601
36602 wx_cv_func_broken_snprintf_decl=yes
36603
36604 fi
36605
36606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36607
36608
36609 fi
36610 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
36611 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
36612
36613 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
36614 cat >>confdefs.h <<\_ACEOF
36615 #define HAVE_BROKEN_SNPRINTF_DECL 1
36616 _ACEOF
36617
36618 fi
36619 fi
36620
36621 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36622
36623 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36624 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
36625 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36626 echo $ECHO_N "(cached) $ECHO_C" >&6
36627 else
36628
36629 if test "$cross_compiling" = yes; then
36630
36631 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36632 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36633 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36634 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36635 wx_cv_func_snprintf_pos_params=no
36636
36637
36638 else
36639 cat >conftest.$ac_ext <<_ACEOF
36640 /* confdefs.h. */
36641 _ACEOF
36642 cat confdefs.h >>conftest.$ac_ext
36643 cat >>conftest.$ac_ext <<_ACEOF
36644 /* end confdefs.h. */
36645
36646 #include <stdio.h>
36647
36648 int main (void)
36649 {
36650 char buffer[128];
36651 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36652 if (strcmp ("2 3 1", buffer) == 0)
36653 exit (0);
36654 exit (1);
36655 }
36656
36657 _ACEOF
36658 rm -f conftest$ac_exeext
36659 if { (ac_try="$ac_link"
36660 case "(($ac_try" in
36661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36662 *) ac_try_echo=$ac_try;;
36663 esac
36664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36665 (eval "$ac_link") 2>&5
36666 ac_status=$?
36667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36668 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36669 { (case "(($ac_try" in
36670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36671 *) ac_try_echo=$ac_try;;
36672 esac
36673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36674 (eval "$ac_try") 2>&5
36675 ac_status=$?
36676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36677 (exit $ac_status); }; }; then
36678 wx_cv_func_snprintf_pos_params=no
36679 else
36680 echo "$as_me: program exited with status $ac_status" >&5
36681 echo "$as_me: failed program was:" >&5
36682 sed 's/^/| /' conftest.$ac_ext >&5
36683
36684 ( exit $ac_status )
36685 wx_cv_func_snprintf_pos_params=yes
36686 fi
36687 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36688 fi
36689
36690
36691
36692
36693 fi
36694 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36695 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
36696
36697 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36698 cat >>confdefs.h <<\_ACEOF
36699 #define HAVE_UNIX98_PRINTF 1
36700 _ACEOF
36701
36702 fi
36703 fi
36704 fi
36705
36706 if test "$wxUSE_UNICODE" = yes; then
36707
36708
36709 for ac_func in swprintf
36710 do
36711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36712 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36714 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36715 echo $ECHO_N "(cached) $ECHO_C" >&6
36716 else
36717 cat >conftest.$ac_ext <<_ACEOF
36718 /* confdefs.h. */
36719 _ACEOF
36720 cat confdefs.h >>conftest.$ac_ext
36721 cat >>conftest.$ac_ext <<_ACEOF
36722 /* end confdefs.h. */
36723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36725 #define $ac_func innocuous_$ac_func
36726
36727 /* System header to define __stub macros and hopefully few prototypes,
36728 which can conflict with char $ac_func (); below.
36729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36730 <limits.h> exists even on freestanding compilers. */
36731
36732 #ifdef __STDC__
36733 # include <limits.h>
36734 #else
36735 # include <assert.h>
36736 #endif
36737
36738 #undef $ac_func
36739
36740 /* Override any GCC internal prototype to avoid an error.
36741 Use char because int might match the return type of a GCC
36742 builtin and then its argument prototype would still apply. */
36743 #ifdef __cplusplus
36744 extern "C"
36745 #endif
36746 char $ac_func ();
36747 /* The GNU C library defines this for functions which it implements
36748 to always fail with ENOSYS. Some functions are actually named
36749 something starting with __ and the normal name is an alias. */
36750 #if defined __stub_$ac_func || defined __stub___$ac_func
36751 choke me
36752 #endif
36753
36754 int
36755 main ()
36756 {
36757 return $ac_func ();
36758 ;
36759 return 0;
36760 }
36761 _ACEOF
36762 rm -f conftest.$ac_objext conftest$ac_exeext
36763 if { (ac_try="$ac_link"
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_link") 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 test -z "$ac_c_werror_flag" ||
36777 test ! -s conftest.err
36778 } && test -s conftest$ac_exeext &&
36779 $as_test_x conftest$ac_exeext; then
36780 eval "$as_ac_var=yes"
36781 else
36782 echo "$as_me: failed program was:" >&5
36783 sed 's/^/| /' conftest.$ac_ext >&5
36784
36785 eval "$as_ac_var=no"
36786 fi
36787
36788 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36789 conftest$ac_exeext conftest.$ac_ext
36790 fi
36791 ac_res=`eval echo '${'$as_ac_var'}'`
36792 { echo "$as_me:$LINENO: result: $ac_res" >&5
36793 echo "${ECHO_T}$ac_res" >&6; }
36794 if test `eval echo '${'$as_ac_var'}'` = yes; then
36795 cat >>confdefs.h <<_ACEOF
36796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36797 _ACEOF
36798
36799 fi
36800 done
36801
36802
36803 if test "$ac_cv_func_swprintf" = "yes"; then
36804 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
36805 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
36806 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
36807 echo $ECHO_N "(cached) $ECHO_C" >&6
36808 else
36809
36810 cat >conftest.$ac_ext <<_ACEOF
36811 /* confdefs.h. */
36812 _ACEOF
36813 cat confdefs.h >>conftest.$ac_ext
36814 cat >>conftest.$ac_ext <<_ACEOF
36815 /* end confdefs.h. */
36816
36817 #include <stdio.h>
36818 #include <stdarg.h>
36819 #include <wchar.h>
36820
36821 int
36822 main ()
36823 {
36824
36825 wchar_t *buf;
36826 const wchar_t *fmt = L"test";
36827 swprintf(buf, 10u, fmt);
36828
36829 ;
36830 return 0;
36831 }
36832 _ACEOF
36833 rm -f conftest.$ac_objext
36834 if { (ac_try="$ac_compile"
36835 case "(($ac_try" in
36836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36837 *) ac_try_echo=$ac_try;;
36838 esac
36839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36840 (eval "$ac_compile") 2>conftest.er1
36841 ac_status=$?
36842 grep -v '^ *+' conftest.er1 >conftest.err
36843 rm -f conftest.er1
36844 cat conftest.err >&5
36845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36846 (exit $ac_status); } && {
36847 test -z "$ac_c_werror_flag" ||
36848 test ! -s conftest.err
36849 } && test -s conftest.$ac_objext; then
36850 wx_cv_func_broken_swprintf_decl=no
36851 else
36852 echo "$as_me: failed program was:" >&5
36853 sed 's/^/| /' conftest.$ac_ext >&5
36854
36855 wx_cv_func_broken_swprintf_decl=yes
36856
36857 fi
36858
36859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36860
36861
36862 fi
36863 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
36864 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
36865
36866 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
36867 cat >>confdefs.h <<\_ACEOF
36868 #define HAVE_BROKEN_SWPRINTF_DECL 1
36869 _ACEOF
36870
36871 fi
36872 fi
36873
36874 wchar_headers="#include <stdio.h>
36875 #include <wchar.h>"
36876 case "${host}" in
36877 *-*-solaris2* )
36878
36879 for ac_header in widec.h
36880 do
36881 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36882 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36883 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36884 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36885 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36886 echo $ECHO_N "(cached) $ECHO_C" >&6
36887 fi
36888 ac_res=`eval echo '${'$as_ac_Header'}'`
36889 { echo "$as_me:$LINENO: result: $ac_res" >&5
36890 echo "${ECHO_T}$ac_res" >&6; }
36891 else
36892 # Is the header compilable?
36893 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
36894 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
36895 cat >conftest.$ac_ext <<_ACEOF
36896 /* confdefs.h. */
36897 _ACEOF
36898 cat confdefs.h >>conftest.$ac_ext
36899 cat >>conftest.$ac_ext <<_ACEOF
36900 /* end confdefs.h. */
36901 $ac_includes_default
36902 #include <$ac_header>
36903 _ACEOF
36904 rm -f conftest.$ac_objext
36905 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
36912 ac_status=$?
36913 grep -v '^ *+' conftest.er1 >conftest.err
36914 rm -f conftest.er1
36915 cat conftest.err >&5
36916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36917 (exit $ac_status); } && {
36918 test -z "$ac_c_werror_flag" ||
36919 test ! -s conftest.err
36920 } && test -s conftest.$ac_objext; then
36921 ac_header_compiler=yes
36922 else
36923 echo "$as_me: failed program was:" >&5
36924 sed 's/^/| /' conftest.$ac_ext >&5
36925
36926 ac_header_compiler=no
36927 fi
36928
36929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36930 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36931 echo "${ECHO_T}$ac_header_compiler" >&6; }
36932
36933 # Is the header present?
36934 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
36935 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
36936 cat >conftest.$ac_ext <<_ACEOF
36937 /* confdefs.h. */
36938 _ACEOF
36939 cat confdefs.h >>conftest.$ac_ext
36940 cat >>conftest.$ac_ext <<_ACEOF
36941 /* end confdefs.h. */
36942 #include <$ac_header>
36943 _ACEOF
36944 if { (ac_try="$ac_cpp conftest.$ac_ext"
36945 case "(($ac_try" in
36946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36947 *) ac_try_echo=$ac_try;;
36948 esac
36949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36950 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
36951 ac_status=$?
36952 grep -v '^ *+' conftest.er1 >conftest.err
36953 rm -f conftest.er1
36954 cat conftest.err >&5
36955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36956 (exit $ac_status); } >/dev/null && {
36957 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
36958 test ! -s conftest.err
36959 }; then
36960 ac_header_preproc=yes
36961 else
36962 echo "$as_me: failed program was:" >&5
36963 sed 's/^/| /' conftest.$ac_ext >&5
36964
36965 ac_header_preproc=no
36966 fi
36967
36968 rm -f conftest.err conftest.$ac_ext
36969 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36970 echo "${ECHO_T}$ac_header_preproc" >&6; }
36971
36972 # So? What about this header?
36973 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36974 yes:no: )
36975 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36976 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36977 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36978 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36979 ac_header_preproc=yes
36980 ;;
36981 no:yes:* )
36982 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36983 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36984 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36985 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36986 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36987 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36988 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36989 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36990 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36991 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36992 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36993 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36994 ( cat <<\_ASBOX
36995 ## ----------------------------------------- ##
36996 ## Report this to wx-dev@lists.wxwidgets.org ##
36997 ## ----------------------------------------- ##
36998 _ASBOX
36999 ) | sed "s/^/$as_me: WARNING: /" >&2
37000 ;;
37001 esac
37002 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37003 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37004 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37005 echo $ECHO_N "(cached) $ECHO_C" >&6
37006 else
37007 eval "$as_ac_Header=\$ac_header_preproc"
37008 fi
37009 ac_res=`eval echo '${'$as_ac_Header'}'`
37010 { echo "$as_me:$LINENO: result: $ac_res" >&5
37011 echo "${ECHO_T}$ac_res" >&6; }
37012
37013 fi
37014 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37015 cat >>confdefs.h <<_ACEOF
37016 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37017 _ACEOF
37018
37019 fi
37020
37021 done
37022
37023 if test "$ac_cv_header_widec_h" = "yes"; then
37024 wchar_headers="$wchar_headers
37025 #include <widec.h>"
37026 fi
37027 esac
37028
37029
37030 for wx_func in wputc wputchar putws fputws wprintf vswprintf
37031 do
37032 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37033 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37034 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37035 echo $ECHO_N "(cached) $ECHO_C" >&6
37036 else
37037
37038 cat >conftest.$ac_ext <<_ACEOF
37039
37040 /* confdefs.h. */
37041 _ACEOF
37042 cat confdefs.h >>conftest.$ac_ext
37043 cat >>conftest.$ac_ext <<_ACEOF
37044 /* end confdefs.h. */
37045
37046 $wchar_headers
37047 $ac_includes_default
37048
37049 int
37050 main ()
37051 {
37052
37053 #ifndef $wx_func
37054 &$wx_func;
37055 #endif
37056
37057
37058 ;
37059 return 0;
37060 }
37061
37062 _ACEOF
37063 rm -f conftest.$ac_objext conftest$ac_exeext
37064 if { (ac_try="$ac_link"
37065 case "(($ac_try" in
37066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37067 *) ac_try_echo=$ac_try;;
37068 esac
37069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37070 (eval "$ac_link") 2>conftest.er1
37071 ac_status=$?
37072 grep -v '^ *+' conftest.er1 >conftest.err
37073 rm -f conftest.er1
37074 cat conftest.err >&5
37075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37076 (exit $ac_status); } && {
37077 test -z "$ac_c_werror_flag" ||
37078 test ! -s conftest.err
37079 } && test -s conftest$ac_exeext &&
37080 $as_test_x conftest$ac_exeext; then
37081 eval wx_cv_func_$wx_func=yes
37082 else
37083 echo "$as_me: failed program was:" >&5
37084 sed 's/^/| /' conftest.$ac_ext >&5
37085
37086 eval wx_cv_func_$wx_func=no
37087 fi
37088
37089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37090 conftest$ac_exeext conftest.$ac_ext
37091
37092 fi
37093 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37094 { echo "$as_me:$LINENO: result: $ac_res" >&5
37095 echo "${ECHO_T}$ac_res" >&6; }
37096
37097 if eval test \$wx_cv_func_$wx_func = yes
37098 then
37099 cat >>confdefs.h <<_ACEOF
37100 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37101 _ACEOF
37102
37103
37104 else
37105 :
37106
37107 fi
37108 done
37109
37110
37111 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37112 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37113 cat >conftest.$ac_ext <<_ACEOF
37114 /* confdefs.h. */
37115 _ACEOF
37116 cat confdefs.h >>conftest.$ac_ext
37117 cat >>conftest.$ac_ext <<_ACEOF
37118 /* end confdefs.h. */
37119 #include <wchar.h>
37120 int
37121 main ()
37122 {
37123 &_vsnwprintf;
37124 ;
37125 return 0;
37126 }
37127 _ACEOF
37128 rm -f conftest.$ac_objext
37129 if { (ac_try="$ac_compile"
37130 case "(($ac_try" in
37131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37132 *) ac_try_echo=$ac_try;;
37133 esac
37134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37135 (eval "$ac_compile") 2>conftest.er1
37136 ac_status=$?
37137 grep -v '^ *+' conftest.er1 >conftest.err
37138 rm -f conftest.er1
37139 cat conftest.err >&5
37140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37141 (exit $ac_status); } && {
37142 test -z "$ac_c_werror_flag" ||
37143 test ! -s conftest.err
37144 } && test -s conftest.$ac_objext; then
37145 { echo "$as_me:$LINENO: result: yes" >&5
37146 echo "${ECHO_T}yes" >&6; }
37147 cat >>confdefs.h <<\_ACEOF
37148 #define HAVE__VSNWPRINTF 1
37149 _ACEOF
37150
37151 else
37152 echo "$as_me: failed program was:" >&5
37153 sed 's/^/| /' conftest.$ac_ext >&5
37154
37155 { echo "$as_me:$LINENO: result: no" >&5
37156 echo "${ECHO_T}no" >&6; }
37157 fi
37158
37159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37160 fi
37161
37162 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
37163
37164 for wx_func in fnmatch
37165 do
37166 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37167 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37168 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37169 echo $ECHO_N "(cached) $ECHO_C" >&6
37170 else
37171
37172 cat >conftest.$ac_ext <<_ACEOF
37173
37174 /* confdefs.h. */
37175 _ACEOF
37176 cat confdefs.h >>conftest.$ac_ext
37177 cat >>conftest.$ac_ext <<_ACEOF
37178 /* end confdefs.h. */
37179
37180 #include <fnmatch.h>
37181 $ac_includes_default
37182
37183 int
37184 main ()
37185 {
37186
37187 #ifndef $wx_func
37188 &$wx_func;
37189 #endif
37190
37191
37192 ;
37193 return 0;
37194 }
37195
37196 _ACEOF
37197 rm -f conftest.$ac_objext conftest$ac_exeext
37198 if { (ac_try="$ac_link"
37199 case "(($ac_try" in
37200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37201 *) ac_try_echo=$ac_try;;
37202 esac
37203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37204 (eval "$ac_link") 2>conftest.er1
37205 ac_status=$?
37206 grep -v '^ *+' conftest.er1 >conftest.err
37207 rm -f conftest.er1
37208 cat conftest.err >&5
37209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37210 (exit $ac_status); } && {
37211 test -z "$ac_c_werror_flag" ||
37212 test ! -s conftest.err
37213 } && test -s conftest$ac_exeext &&
37214 $as_test_x conftest$ac_exeext; then
37215 eval wx_cv_func_$wx_func=yes
37216 else
37217 echo "$as_me: failed program was:" >&5
37218 sed 's/^/| /' conftest.$ac_ext >&5
37219
37220 eval wx_cv_func_$wx_func=no
37221 fi
37222
37223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37224 conftest$ac_exeext conftest.$ac_ext
37225
37226 fi
37227 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37228 { echo "$as_me:$LINENO: result: $ac_res" >&5
37229 echo "${ECHO_T}$ac_res" >&6; }
37230
37231 if eval test \$wx_cv_func_$wx_func = yes
37232 then
37233 cat >>confdefs.h <<_ACEOF
37234 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37235 _ACEOF
37236
37237
37238 else
37239 :
37240
37241 fi
37242 done
37243
37244 fi
37245
37246 if test "$wxUSE_FILE" = "yes"; then
37247
37248 for wx_func in fsync
37249 do
37250 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37251 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37252 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37253 echo $ECHO_N "(cached) $ECHO_C" >&6
37254 else
37255
37256 cat >conftest.$ac_ext <<_ACEOF
37257
37258 /* confdefs.h. */
37259 _ACEOF
37260 cat confdefs.h >>conftest.$ac_ext
37261 cat >>conftest.$ac_ext <<_ACEOF
37262 /* end confdefs.h. */
37263
37264
37265 $ac_includes_default
37266
37267 int
37268 main ()
37269 {
37270
37271 #ifndef $wx_func
37272 &$wx_func;
37273 #endif
37274
37275
37276 ;
37277 return 0;
37278 }
37279
37280 _ACEOF
37281 rm -f conftest.$ac_objext conftest$ac_exeext
37282 if { (ac_try="$ac_link"
37283 case "(($ac_try" in
37284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37285 *) ac_try_echo=$ac_try;;
37286 esac
37287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37288 (eval "$ac_link") 2>conftest.er1
37289 ac_status=$?
37290 grep -v '^ *+' conftest.er1 >conftest.err
37291 rm -f conftest.er1
37292 cat conftest.err >&5
37293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37294 (exit $ac_status); } && {
37295 test -z "$ac_c_werror_flag" ||
37296 test ! -s conftest.err
37297 } && test -s conftest$ac_exeext &&
37298 $as_test_x conftest$ac_exeext; then
37299 eval wx_cv_func_$wx_func=yes
37300 else
37301 echo "$as_me: failed program was:" >&5
37302 sed 's/^/| /' conftest.$ac_ext >&5
37303
37304 eval wx_cv_func_$wx_func=no
37305 fi
37306
37307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37308 conftest$ac_exeext conftest.$ac_ext
37309
37310 fi
37311 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37312 { echo "$as_me:$LINENO: result: $ac_res" >&5
37313 echo "${ECHO_T}$ac_res" >&6; }
37314
37315 if eval test \$wx_cv_func_$wx_func = yes
37316 then
37317 cat >>confdefs.h <<_ACEOF
37318 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37319 _ACEOF
37320
37321
37322 else
37323 :
37324
37325 fi
37326 done
37327
37328 fi
37329
37330
37331 for wx_func in round
37332 do
37333 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37334 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37335 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37336 echo $ECHO_N "(cached) $ECHO_C" >&6
37337 else
37338
37339 cat >conftest.$ac_ext <<_ACEOF
37340
37341 /* confdefs.h. */
37342 _ACEOF
37343 cat confdefs.h >>conftest.$ac_ext
37344 cat >>conftest.$ac_ext <<_ACEOF
37345 /* end confdefs.h. */
37346
37347 #include <math.h>
37348 $ac_includes_default
37349
37350 int
37351 main ()
37352 {
37353
37354 #ifndef $wx_func
37355 &$wx_func;
37356 #endif
37357
37358
37359 ;
37360 return 0;
37361 }
37362
37363 _ACEOF
37364 rm -f conftest.$ac_objext conftest$ac_exeext
37365 if { (ac_try="$ac_link"
37366 case "(($ac_try" in
37367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37368 *) ac_try_echo=$ac_try;;
37369 esac
37370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37371 (eval "$ac_link") 2>conftest.er1
37372 ac_status=$?
37373 grep -v '^ *+' conftest.er1 >conftest.err
37374 rm -f conftest.er1
37375 cat conftest.err >&5
37376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37377 (exit $ac_status); } && {
37378 test -z "$ac_c_werror_flag" ||
37379 test ! -s conftest.err
37380 } && test -s conftest$ac_exeext &&
37381 $as_test_x conftest$ac_exeext; then
37382 eval wx_cv_func_$wx_func=yes
37383 else
37384 echo "$as_me: failed program was:" >&5
37385 sed 's/^/| /' conftest.$ac_ext >&5
37386
37387 eval wx_cv_func_$wx_func=no
37388 fi
37389
37390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37391 conftest$ac_exeext conftest.$ac_ext
37392
37393 fi
37394 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37395 { echo "$as_me:$LINENO: result: $ac_res" >&5
37396 echo "${ECHO_T}$ac_res" >&6; }
37397
37398 if eval test \$wx_cv_func_$wx_func = yes
37399 then
37400 cat >>confdefs.h <<_ACEOF
37401 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37402 _ACEOF
37403
37404
37405 else
37406 :
37407
37408 fi
37409 done
37410
37411
37412 if test "$TOOLKIT" != "MSW"; then
37413
37414
37415
37416
37417
37418 # Check whether --with-libiconv-prefix was given.
37419 if test "${with_libiconv_prefix+set}" = set; then
37420 withval=$with_libiconv_prefix;
37421 for dir in `echo "$withval" | tr : ' '`; do
37422 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37423 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37424 done
37425
37426 fi
37427
37428
37429 { echo "$as_me:$LINENO: checking for iconv" >&5
37430 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37431 if test "${am_cv_func_iconv+set}" = set; then
37432 echo $ECHO_N "(cached) $ECHO_C" >&6
37433 else
37434
37435 am_cv_func_iconv="no, consider installing GNU libiconv"
37436 am_cv_lib_iconv=no
37437 cat >conftest.$ac_ext <<_ACEOF
37438 /* confdefs.h. */
37439 _ACEOF
37440 cat confdefs.h >>conftest.$ac_ext
37441 cat >>conftest.$ac_ext <<_ACEOF
37442 /* end confdefs.h. */
37443 #include <stdlib.h>
37444 #include <iconv.h>
37445 int
37446 main ()
37447 {
37448 iconv_t cd = iconv_open("","");
37449 iconv(cd,NULL,NULL,NULL,NULL);
37450 iconv_close(cd);
37451 ;
37452 return 0;
37453 }
37454 _ACEOF
37455 rm -f conftest.$ac_objext conftest$ac_exeext
37456 if { (ac_try="$ac_link"
37457 case "(($ac_try" in
37458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37459 *) ac_try_echo=$ac_try;;
37460 esac
37461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37462 (eval "$ac_link") 2>conftest.er1
37463 ac_status=$?
37464 grep -v '^ *+' conftest.er1 >conftest.err
37465 rm -f conftest.er1
37466 cat conftest.err >&5
37467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37468 (exit $ac_status); } && {
37469 test -z "$ac_c_werror_flag" ||
37470 test ! -s conftest.err
37471 } && test -s conftest$ac_exeext &&
37472 $as_test_x conftest$ac_exeext; then
37473 am_cv_func_iconv=yes
37474 else
37475 echo "$as_me: failed program was:" >&5
37476 sed 's/^/| /' conftest.$ac_ext >&5
37477
37478
37479 fi
37480
37481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37482 conftest$ac_exeext conftest.$ac_ext
37483 if test "$am_cv_func_iconv" != yes; then
37484 am_save_LIBS="$LIBS"
37485 LIBS="$LIBS -liconv"
37486 cat >conftest.$ac_ext <<_ACEOF
37487 /* confdefs.h. */
37488 _ACEOF
37489 cat confdefs.h >>conftest.$ac_ext
37490 cat >>conftest.$ac_ext <<_ACEOF
37491 /* end confdefs.h. */
37492 #include <stdlib.h>
37493 #include <iconv.h>
37494 int
37495 main ()
37496 {
37497 iconv_t cd = iconv_open("","");
37498 iconv(cd,NULL,NULL,NULL,NULL);
37499 iconv_close(cd);
37500 ;
37501 return 0;
37502 }
37503 _ACEOF
37504 rm -f conftest.$ac_objext conftest$ac_exeext
37505 if { (ac_try="$ac_link"
37506 case "(($ac_try" in
37507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37508 *) ac_try_echo=$ac_try;;
37509 esac
37510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37511 (eval "$ac_link") 2>conftest.er1
37512 ac_status=$?
37513 grep -v '^ *+' conftest.er1 >conftest.err
37514 rm -f conftest.er1
37515 cat conftest.err >&5
37516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37517 (exit $ac_status); } && {
37518 test -z "$ac_c_werror_flag" ||
37519 test ! -s conftest.err
37520 } && test -s conftest$ac_exeext &&
37521 $as_test_x conftest$ac_exeext; then
37522 am_cv_lib_iconv=yes
37523 am_cv_func_iconv=yes
37524 else
37525 echo "$as_me: failed program was:" >&5
37526 sed 's/^/| /' conftest.$ac_ext >&5
37527
37528
37529 fi
37530
37531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37532 conftest$ac_exeext conftest.$ac_ext
37533 LIBS="$am_save_LIBS"
37534 fi
37535
37536 fi
37537 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37538 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37539 if test "$am_cv_func_iconv" = yes; then
37540
37541 cat >>confdefs.h <<\_ACEOF
37542 #define HAVE_ICONV 1
37543 _ACEOF
37544
37545 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37546 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37547 if test "${wx_cv_func_iconv_const+set}" = set; then
37548 echo $ECHO_N "(cached) $ECHO_C" >&6
37549 else
37550 cat >conftest.$ac_ext <<_ACEOF
37551 /* confdefs.h. */
37552 _ACEOF
37553 cat confdefs.h >>conftest.$ac_ext
37554 cat >>conftest.$ac_ext <<_ACEOF
37555 /* end confdefs.h. */
37556
37557 #include <stdlib.h>
37558 #include <iconv.h>
37559 extern
37560 #ifdef __cplusplus
37561 "C"
37562 #endif
37563 #if defined(__STDC__) || defined(__cplusplus)
37564 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37565 #else
37566 size_t iconv();
37567 #endif
37568
37569 int
37570 main ()
37571 {
37572
37573 ;
37574 return 0;
37575 }
37576 _ACEOF
37577 rm -f conftest.$ac_objext
37578 if { (ac_try="$ac_compile"
37579 case "(($ac_try" in
37580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37581 *) ac_try_echo=$ac_try;;
37582 esac
37583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37584 (eval "$ac_compile") 2>conftest.er1
37585 ac_status=$?
37586 grep -v '^ *+' conftest.er1 >conftest.err
37587 rm -f conftest.er1
37588 cat conftest.err >&5
37589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37590 (exit $ac_status); } && {
37591 test -z "$ac_c_werror_flag" ||
37592 test ! -s conftest.err
37593 } && test -s conftest.$ac_objext; then
37594 wx_cv_func_iconv_const="no"
37595 else
37596 echo "$as_me: failed program was:" >&5
37597 sed 's/^/| /' conftest.$ac_ext >&5
37598
37599 wx_cv_func_iconv_const="yes"
37600
37601 fi
37602
37603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37604
37605 fi
37606 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37607 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37608
37609 iconv_const=
37610 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37611 iconv_const="const"
37612 fi
37613
37614
37615 cat >>confdefs.h <<_ACEOF
37616 #define ICONV_CONST $iconv_const
37617 _ACEOF
37618
37619 fi
37620 LIBICONV=
37621 if test "$am_cv_lib_iconv" = yes; then
37622 LIBICONV="-liconv"
37623 fi
37624
37625
37626 LIBS="$LIBICONV $LIBS"
37627
37628 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37629
37630 for ac_func in sigaction
37631 do
37632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37633 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37635 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37636 echo $ECHO_N "(cached) $ECHO_C" >&6
37637 else
37638 cat >conftest.$ac_ext <<_ACEOF
37639 /* confdefs.h. */
37640 _ACEOF
37641 cat confdefs.h >>conftest.$ac_ext
37642 cat >>conftest.$ac_ext <<_ACEOF
37643 /* end confdefs.h. */
37644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37646 #define $ac_func innocuous_$ac_func
37647
37648 /* System header to define __stub macros and hopefully few prototypes,
37649 which can conflict with char $ac_func (); below.
37650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37651 <limits.h> exists even on freestanding compilers. */
37652
37653 #ifdef __STDC__
37654 # include <limits.h>
37655 #else
37656 # include <assert.h>
37657 #endif
37658
37659 #undef $ac_func
37660
37661 /* Override any GCC internal prototype to avoid an error.
37662 Use char because int might match the return type of a GCC
37663 builtin and then its argument prototype would still apply. */
37664 #ifdef __cplusplus
37665 extern "C"
37666 #endif
37667 char $ac_func ();
37668 /* The GNU C library defines this for functions which it implements
37669 to always fail with ENOSYS. Some functions are actually named
37670 something starting with __ and the normal name is an alias. */
37671 #if defined __stub_$ac_func || defined __stub___$ac_func
37672 choke me
37673 #endif
37674
37675 int
37676 main ()
37677 {
37678 return $ac_func ();
37679 ;
37680 return 0;
37681 }
37682 _ACEOF
37683 rm -f conftest.$ac_objext conftest$ac_exeext
37684 if { (ac_try="$ac_link"
37685 case "(($ac_try" in
37686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37687 *) ac_try_echo=$ac_try;;
37688 esac
37689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37690 (eval "$ac_link") 2>conftest.er1
37691 ac_status=$?
37692 grep -v '^ *+' conftest.er1 >conftest.err
37693 rm -f conftest.er1
37694 cat conftest.err >&5
37695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37696 (exit $ac_status); } && {
37697 test -z "$ac_c_werror_flag" ||
37698 test ! -s conftest.err
37699 } && test -s conftest$ac_exeext &&
37700 $as_test_x conftest$ac_exeext; then
37701 eval "$as_ac_var=yes"
37702 else
37703 echo "$as_me: failed program was:" >&5
37704 sed 's/^/| /' conftest.$ac_ext >&5
37705
37706 eval "$as_ac_var=no"
37707 fi
37708
37709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37710 conftest$ac_exeext conftest.$ac_ext
37711 fi
37712 ac_res=`eval echo '${'$as_ac_var'}'`
37713 { echo "$as_me:$LINENO: result: $ac_res" >&5
37714 echo "${ECHO_T}$ac_res" >&6; }
37715 if test `eval echo '${'$as_ac_var'}'` = yes; then
37716 cat >>confdefs.h <<_ACEOF
37717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37718 _ACEOF
37719
37720 fi
37721 done
37722
37723
37724 if test "$ac_cv_func_sigaction" = "no"; then
37725 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37726 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37727 wxUSE_ON_FATAL_EXCEPTION=no
37728 fi
37729
37730 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37731 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37732 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37733 if test "${wx_cv_type_sa_handler+set}" = set; then
37734 echo $ECHO_N "(cached) $ECHO_C" >&6
37735 else
37736
37737 ac_ext=cpp
37738 ac_cpp='$CXXCPP $CPPFLAGS'
37739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37742
37743 cat >conftest.$ac_ext <<_ACEOF
37744 /* confdefs.h. */
37745 _ACEOF
37746 cat confdefs.h >>conftest.$ac_ext
37747 cat >>conftest.$ac_ext <<_ACEOF
37748 /* end confdefs.h. */
37749 #include <signal.h>
37750 int
37751 main ()
37752 {
37753
37754 extern void testSigHandler(int);
37755
37756 struct sigaction sa;
37757 sa.sa_handler = testSigHandler;
37758
37759 ;
37760 return 0;
37761 }
37762 _ACEOF
37763 rm -f conftest.$ac_objext
37764 if { (ac_try="$ac_compile"
37765 case "(($ac_try" in
37766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37767 *) ac_try_echo=$ac_try;;
37768 esac
37769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37770 (eval "$ac_compile") 2>conftest.er1
37771 ac_status=$?
37772 grep -v '^ *+' conftest.er1 >conftest.err
37773 rm -f conftest.er1
37774 cat conftest.err >&5
37775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37776 (exit $ac_status); } && {
37777 test -z "$ac_cxx_werror_flag" ||
37778 test ! -s conftest.err
37779 } && test -s conftest.$ac_objext; then
37780
37781 wx_cv_type_sa_handler=int
37782
37783 else
37784 echo "$as_me: failed program was:" >&5
37785 sed 's/^/| /' conftest.$ac_ext >&5
37786
37787
37788 wx_cv_type_sa_handler=void
37789
37790 fi
37791
37792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37793 ac_ext=c
37794 ac_cpp='$CPP $CPPFLAGS'
37795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37798
37799
37800 fi
37801 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37802 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37803
37804 cat >>confdefs.h <<_ACEOF
37805 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37806 _ACEOF
37807
37808 fi
37809 fi
37810
37811 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37812 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37813 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37814 if test "${wx_cv_func_backtrace+set}" = set; then
37815 echo $ECHO_N "(cached) $ECHO_C" >&6
37816 else
37817
37818 ac_ext=cpp
37819 ac_cpp='$CXXCPP $CPPFLAGS'
37820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37823
37824 cat >conftest.$ac_ext <<_ACEOF
37825 /* confdefs.h. */
37826 _ACEOF
37827 cat confdefs.h >>conftest.$ac_ext
37828 cat >>conftest.$ac_ext <<_ACEOF
37829 /* end confdefs.h. */
37830 #include <execinfo.h>
37831 int
37832 main ()
37833 {
37834
37835 void *trace[1];
37836 char **messages;
37837
37838 backtrace(trace, 1);
37839 messages = backtrace_symbols(trace, 1);
37840
37841 ;
37842 return 0;
37843 }
37844 _ACEOF
37845 rm -f conftest.$ac_objext
37846 if { (ac_try="$ac_compile"
37847 case "(($ac_try" in
37848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37849 *) ac_try_echo=$ac_try;;
37850 esac
37851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37852 (eval "$ac_compile") 2>conftest.er1
37853 ac_status=$?
37854 grep -v '^ *+' conftest.er1 >conftest.err
37855 rm -f conftest.er1
37856 cat conftest.err >&5
37857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37858 (exit $ac_status); } && {
37859 test -z "$ac_cxx_werror_flag" ||
37860 test ! -s conftest.err
37861 } && test -s conftest.$ac_objext; then
37862 wx_cv_func_backtrace=yes
37863 else
37864 echo "$as_me: failed program was:" >&5
37865 sed 's/^/| /' conftest.$ac_ext >&5
37866
37867 wx_cv_func_backtrace=no
37868
37869 fi
37870
37871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37872 ac_ext=c
37873 ac_cpp='$CPP $CPPFLAGS'
37874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37877
37878
37879
37880 fi
37881 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37882 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37883
37884
37885 if test "$wx_cv_func_backtrace" = "no"; then
37886 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37887 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37888 wxUSE_STACKWALKER=no
37889 else
37890 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37891 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37892 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37893 echo $ECHO_N "(cached) $ECHO_C" >&6
37894 else
37895
37896 ac_ext=cpp
37897 ac_cpp='$CXXCPP $CPPFLAGS'
37898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37901
37902 cat >conftest.$ac_ext <<_ACEOF
37903 /* confdefs.h. */
37904 _ACEOF
37905 cat confdefs.h >>conftest.$ac_ext
37906 cat >>conftest.$ac_ext <<_ACEOF
37907 /* end confdefs.h. */
37908 #include <cxxabi.h>
37909 int
37910 main ()
37911 {
37912
37913 int rc;
37914 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37915
37916 ;
37917 return 0;
37918 }
37919 _ACEOF
37920 rm -f conftest.$ac_objext conftest$ac_exeext
37921 if { (ac_try="$ac_link"
37922 case "(($ac_try" in
37923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37924 *) ac_try_echo=$ac_try;;
37925 esac
37926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37927 (eval "$ac_link") 2>conftest.er1
37928 ac_status=$?
37929 grep -v '^ *+' conftest.er1 >conftest.err
37930 rm -f conftest.er1
37931 cat conftest.err >&5
37932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37933 (exit $ac_status); } && {
37934 test -z "$ac_cxx_werror_flag" ||
37935 test ! -s conftest.err
37936 } && test -s conftest$ac_exeext &&
37937 $as_test_x conftest$ac_exeext; then
37938 wx_cv_func_cxa_demangle=yes
37939 else
37940 echo "$as_me: failed program was:" >&5
37941 sed 's/^/| /' conftest.$ac_ext >&5
37942
37943 wx_cv_func_cxa_demangle=no
37944
37945 fi
37946
37947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37948 conftest$ac_exeext conftest.$ac_ext
37949 ac_ext=c
37950 ac_cpp='$CPP $CPPFLAGS'
37951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37954
37955
37956
37957 fi
37958 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37959 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
37960
37961 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37962 cat >>confdefs.h <<\_ACEOF
37963 #define HAVE_CXA_DEMANGLE 1
37964 _ACEOF
37965
37966 fi
37967 fi
37968 fi
37969
37970 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
37971 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37972 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37973 wxUSE_STACKWALKER=no
37974 fi
37975
37976
37977
37978
37979 for ac_func in mkstemp mktemp
37980 do
37981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37982 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37984 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37985 echo $ECHO_N "(cached) $ECHO_C" >&6
37986 else
37987 cat >conftest.$ac_ext <<_ACEOF
37988 /* confdefs.h. */
37989 _ACEOF
37990 cat confdefs.h >>conftest.$ac_ext
37991 cat >>conftest.$ac_ext <<_ACEOF
37992 /* end confdefs.h. */
37993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37995 #define $ac_func innocuous_$ac_func
37996
37997 /* System header to define __stub macros and hopefully few prototypes,
37998 which can conflict with char $ac_func (); below.
37999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38000 <limits.h> exists even on freestanding compilers. */
38001
38002 #ifdef __STDC__
38003 # include <limits.h>
38004 #else
38005 # include <assert.h>
38006 #endif
38007
38008 #undef $ac_func
38009
38010 /* Override any GCC internal prototype to avoid an error.
38011 Use char because int might match the return type of a GCC
38012 builtin and then its argument prototype would still apply. */
38013 #ifdef __cplusplus
38014 extern "C"
38015 #endif
38016 char $ac_func ();
38017 /* The GNU C library defines this for functions which it implements
38018 to always fail with ENOSYS. Some functions are actually named
38019 something starting with __ and the normal name is an alias. */
38020 #if defined __stub_$ac_func || defined __stub___$ac_func
38021 choke me
38022 #endif
38023
38024 int
38025 main ()
38026 {
38027 return $ac_func ();
38028 ;
38029 return 0;
38030 }
38031 _ACEOF
38032 rm -f conftest.$ac_objext conftest$ac_exeext
38033 if { (ac_try="$ac_link"
38034 case "(($ac_try" in
38035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38036 *) ac_try_echo=$ac_try;;
38037 esac
38038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38039 (eval "$ac_link") 2>conftest.er1
38040 ac_status=$?
38041 grep -v '^ *+' conftest.er1 >conftest.err
38042 rm -f conftest.er1
38043 cat conftest.err >&5
38044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38045 (exit $ac_status); } && {
38046 test -z "$ac_c_werror_flag" ||
38047 test ! -s conftest.err
38048 } && test -s conftest$ac_exeext &&
38049 $as_test_x conftest$ac_exeext; then
38050 eval "$as_ac_var=yes"
38051 else
38052 echo "$as_me: failed program was:" >&5
38053 sed 's/^/| /' conftest.$ac_ext >&5
38054
38055 eval "$as_ac_var=no"
38056 fi
38057
38058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38059 conftest$ac_exeext conftest.$ac_ext
38060 fi
38061 ac_res=`eval echo '${'$as_ac_var'}'`
38062 { echo "$as_me:$LINENO: result: $ac_res" >&5
38063 echo "${ECHO_T}$ac_res" >&6; }
38064 if test `eval echo '${'$as_ac_var'}'` = yes; then
38065 cat >>confdefs.h <<_ACEOF
38066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38067 _ACEOF
38068 break
38069 fi
38070 done
38071
38072
38073 { echo "$as_me:$LINENO: checking for statfs" >&5
38074 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
38075 if test "${wx_cv_func_statfs+set}" = set; then
38076 echo $ECHO_N "(cached) $ECHO_C" >&6
38077 else
38078 cat >conftest.$ac_ext <<_ACEOF
38079 /* confdefs.h. */
38080 _ACEOF
38081 cat confdefs.h >>conftest.$ac_ext
38082 cat >>conftest.$ac_ext <<_ACEOF
38083 /* end confdefs.h. */
38084
38085 #if defined(__BSD__)
38086 #include <sys/param.h>
38087 #include <sys/mount.h>
38088 #else
38089 #include <sys/vfs.h>
38090 #endif
38091
38092 int
38093 main ()
38094 {
38095
38096 long l;
38097 struct statfs fs;
38098 statfs("/", &fs);
38099 l = fs.f_bsize;
38100 l += fs.f_blocks;
38101 l += fs.f_bavail;
38102
38103 ;
38104 return 0;
38105 }
38106 _ACEOF
38107 rm -f conftest.$ac_objext
38108 if { (ac_try="$ac_compile"
38109 case "(($ac_try" in
38110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38111 *) ac_try_echo=$ac_try;;
38112 esac
38113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38114 (eval "$ac_compile") 2>conftest.er1
38115 ac_status=$?
38116 grep -v '^ *+' conftest.er1 >conftest.err
38117 rm -f conftest.er1
38118 cat conftest.err >&5
38119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38120 (exit $ac_status); } && {
38121 test -z "$ac_c_werror_flag" ||
38122 test ! -s conftest.err
38123 } && test -s conftest.$ac_objext; then
38124 wx_cv_func_statfs=yes
38125 else
38126 echo "$as_me: failed program was:" >&5
38127 sed 's/^/| /' conftest.$ac_ext >&5
38128
38129 wx_cv_func_statfs=no
38130
38131 fi
38132
38133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38134
38135 fi
38136 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38137 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
38138
38139 if test "$wx_cv_func_statfs" = "yes"; then
38140 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
38141 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
38142 if test "${wx_cv_func_statfs_decl+set}" = set; then
38143 echo $ECHO_N "(cached) $ECHO_C" >&6
38144 else
38145 ac_ext=cpp
38146 ac_cpp='$CXXCPP $CPPFLAGS'
38147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38150
38151 cat >conftest.$ac_ext <<_ACEOF
38152 /* confdefs.h. */
38153 _ACEOF
38154 cat confdefs.h >>conftest.$ac_ext
38155 cat >>conftest.$ac_ext <<_ACEOF
38156 /* end confdefs.h. */
38157
38158 #if defined(__BSD__)
38159 #include <sys/param.h>
38160 #include <sys/mount.h>
38161 #else
38162 #include <sys/vfs.h>
38163 #endif
38164
38165 int
38166 main ()
38167 {
38168
38169 struct statfs fs;
38170 statfs("", &fs);
38171
38172 ;
38173 return 0;
38174 }
38175 _ACEOF
38176 rm -f conftest.$ac_objext
38177 if { (ac_try="$ac_compile"
38178 case "(($ac_try" in
38179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38180 *) ac_try_echo=$ac_try;;
38181 esac
38182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38183 (eval "$ac_compile") 2>conftest.er1
38184 ac_status=$?
38185 grep -v '^ *+' conftest.er1 >conftest.err
38186 rm -f conftest.er1
38187 cat conftest.err >&5
38188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38189 (exit $ac_status); } && {
38190 test -z "$ac_cxx_werror_flag" ||
38191 test ! -s conftest.err
38192 } && test -s conftest.$ac_objext; then
38193 wx_cv_func_statfs_decl=yes
38194 else
38195 echo "$as_me: failed program was:" >&5
38196 sed 's/^/| /' conftest.$ac_ext >&5
38197
38198 wx_cv_func_statfs_decl=no
38199
38200 fi
38201
38202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38203 ac_ext=c
38204 ac_cpp='$CPP $CPPFLAGS'
38205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38208
38209
38210 fi
38211 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38212 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38213
38214 if test "$wx_cv_func_statfs_decl" = "yes"; then
38215 cat >>confdefs.h <<\_ACEOF
38216 #define HAVE_STATFS_DECL 1
38217 _ACEOF
38218
38219 fi
38220
38221 wx_cv_type_statvfs_t="struct statfs"
38222 cat >>confdefs.h <<\_ACEOF
38223 #define HAVE_STATFS 1
38224 _ACEOF
38225
38226 else
38227 { echo "$as_me:$LINENO: checking for statvfs" >&5
38228 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38229 if test "${wx_cv_func_statvfs+set}" = set; then
38230 echo $ECHO_N "(cached) $ECHO_C" >&6
38231 else
38232 cat >conftest.$ac_ext <<_ACEOF
38233 /* confdefs.h. */
38234 _ACEOF
38235 cat confdefs.h >>conftest.$ac_ext
38236 cat >>conftest.$ac_ext <<_ACEOF
38237 /* end confdefs.h. */
38238
38239 #include <stddef.h>
38240 #include <sys/statvfs.h>
38241
38242 int
38243 main ()
38244 {
38245
38246 statvfs("/", NULL);
38247
38248 ;
38249 return 0;
38250 }
38251 _ACEOF
38252 rm -f conftest.$ac_objext
38253 if { (ac_try="$ac_compile"
38254 case "(($ac_try" in
38255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38256 *) ac_try_echo=$ac_try;;
38257 esac
38258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38259 (eval "$ac_compile") 2>conftest.er1
38260 ac_status=$?
38261 grep -v '^ *+' conftest.er1 >conftest.err
38262 rm -f conftest.er1
38263 cat conftest.err >&5
38264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38265 (exit $ac_status); } && {
38266 test -z "$ac_c_werror_flag" ||
38267 test ! -s conftest.err
38268 } && test -s conftest.$ac_objext; then
38269 wx_cv_func_statvfs=yes
38270 else
38271 echo "$as_me: failed program was:" >&5
38272 sed 's/^/| /' conftest.$ac_ext >&5
38273
38274 wx_cv_func_statvfs=no
38275
38276 fi
38277
38278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38279
38280 fi
38281 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38282 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38283
38284 if test "$wx_cv_func_statvfs" = "yes"; then
38285 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38286 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38287 if test "${wx_cv_type_statvfs_t+set}" = set; then
38288 echo $ECHO_N "(cached) $ECHO_C" >&6
38289 else
38290 ac_ext=cpp
38291 ac_cpp='$CXXCPP $CPPFLAGS'
38292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38295
38296 cat >conftest.$ac_ext <<_ACEOF
38297 /* confdefs.h. */
38298 _ACEOF
38299 cat confdefs.h >>conftest.$ac_ext
38300 cat >>conftest.$ac_ext <<_ACEOF
38301 /* end confdefs.h. */
38302
38303 #include <sys/statvfs.h>
38304
38305 int
38306 main ()
38307 {
38308
38309 long l;
38310 statvfs_t fs;
38311 statvfs("/", &fs);
38312 l = fs.f_bsize;
38313 l += fs.f_blocks;
38314 l += fs.f_bavail;
38315
38316 ;
38317 return 0;
38318 }
38319 _ACEOF
38320 rm -f conftest.$ac_objext
38321 if { (ac_try="$ac_compile"
38322 case "(($ac_try" in
38323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38324 *) ac_try_echo=$ac_try;;
38325 esac
38326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38327 (eval "$ac_compile") 2>conftest.er1
38328 ac_status=$?
38329 grep -v '^ *+' conftest.er1 >conftest.err
38330 rm -f conftest.er1
38331 cat conftest.err >&5
38332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38333 (exit $ac_status); } && {
38334 test -z "$ac_cxx_werror_flag" ||
38335 test ! -s conftest.err
38336 } && test -s conftest.$ac_objext; then
38337 wx_cv_type_statvfs_t=statvfs_t
38338 else
38339 echo "$as_me: failed program was:" >&5
38340 sed 's/^/| /' conftest.$ac_ext >&5
38341
38342
38343 cat >conftest.$ac_ext <<_ACEOF
38344 /* confdefs.h. */
38345 _ACEOF
38346 cat confdefs.h >>conftest.$ac_ext
38347 cat >>conftest.$ac_ext <<_ACEOF
38348 /* end confdefs.h. */
38349
38350 #include <sys/statvfs.h>
38351
38352 int
38353 main ()
38354 {
38355
38356 long l;
38357 struct statvfs fs;
38358 statvfs("/", &fs);
38359 l = fs.f_bsize;
38360 l += fs.f_blocks;
38361 l += fs.f_bavail;
38362
38363 ;
38364 return 0;
38365 }
38366 _ACEOF
38367 rm -f conftest.$ac_objext
38368 if { (ac_try="$ac_compile"
38369 case "(($ac_try" in
38370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38371 *) ac_try_echo=$ac_try;;
38372 esac
38373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38374 (eval "$ac_compile") 2>conftest.er1
38375 ac_status=$?
38376 grep -v '^ *+' conftest.er1 >conftest.err
38377 rm -f conftest.er1
38378 cat conftest.err >&5
38379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38380 (exit $ac_status); } && {
38381 test -z "$ac_cxx_werror_flag" ||
38382 test ! -s conftest.err
38383 } && test -s conftest.$ac_objext; then
38384 wx_cv_type_statvfs_t="struct statvfs"
38385 else
38386 echo "$as_me: failed program was:" >&5
38387 sed 's/^/| /' conftest.$ac_ext >&5
38388
38389 wx_cv_type_statvfs_t="unknown"
38390
38391 fi
38392
38393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38394
38395
38396 fi
38397
38398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38399 ac_ext=c
38400 ac_cpp='$CPP $CPPFLAGS'
38401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38404
38405
38406 fi
38407 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38408 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38409
38410 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38411 cat >>confdefs.h <<\_ACEOF
38412 #define HAVE_STATVFS 1
38413 _ACEOF
38414
38415 fi
38416 else
38417 wx_cv_type_statvfs_t="unknown"
38418 fi
38419 fi
38420
38421 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38422 cat >>confdefs.h <<_ACEOF
38423 #define WX_STATFS_T $wx_cv_type_statvfs_t
38424 _ACEOF
38425
38426 else
38427 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38428 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38429 fi
38430
38431 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38432
38433
38434 for ac_func in fcntl flock
38435 do
38436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38437 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38439 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38440 echo $ECHO_N "(cached) $ECHO_C" >&6
38441 else
38442 cat >conftest.$ac_ext <<_ACEOF
38443 /* confdefs.h. */
38444 _ACEOF
38445 cat confdefs.h >>conftest.$ac_ext
38446 cat >>conftest.$ac_ext <<_ACEOF
38447 /* end confdefs.h. */
38448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38450 #define $ac_func innocuous_$ac_func
38451
38452 /* System header to define __stub macros and hopefully few prototypes,
38453 which can conflict with char $ac_func (); below.
38454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38455 <limits.h> exists even on freestanding compilers. */
38456
38457 #ifdef __STDC__
38458 # include <limits.h>
38459 #else
38460 # include <assert.h>
38461 #endif
38462
38463 #undef $ac_func
38464
38465 /* Override any GCC internal prototype to avoid an error.
38466 Use char because int might match the return type of a GCC
38467 builtin and then its argument prototype would still apply. */
38468 #ifdef __cplusplus
38469 extern "C"
38470 #endif
38471 char $ac_func ();
38472 /* The GNU C library defines this for functions which it implements
38473 to always fail with ENOSYS. Some functions are actually named
38474 something starting with __ and the normal name is an alias. */
38475 #if defined __stub_$ac_func || defined __stub___$ac_func
38476 choke me
38477 #endif
38478
38479 int
38480 main ()
38481 {
38482 return $ac_func ();
38483 ;
38484 return 0;
38485 }
38486 _ACEOF
38487 rm -f conftest.$ac_objext conftest$ac_exeext
38488 if { (ac_try="$ac_link"
38489 case "(($ac_try" in
38490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38491 *) ac_try_echo=$ac_try;;
38492 esac
38493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38494 (eval "$ac_link") 2>conftest.er1
38495 ac_status=$?
38496 grep -v '^ *+' conftest.er1 >conftest.err
38497 rm -f conftest.er1
38498 cat conftest.err >&5
38499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38500 (exit $ac_status); } && {
38501 test -z "$ac_c_werror_flag" ||
38502 test ! -s conftest.err
38503 } && test -s conftest$ac_exeext &&
38504 $as_test_x conftest$ac_exeext; then
38505 eval "$as_ac_var=yes"
38506 else
38507 echo "$as_me: failed program was:" >&5
38508 sed 's/^/| /' conftest.$ac_ext >&5
38509
38510 eval "$as_ac_var=no"
38511 fi
38512
38513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38514 conftest$ac_exeext conftest.$ac_ext
38515 fi
38516 ac_res=`eval echo '${'$as_ac_var'}'`
38517 { echo "$as_me:$LINENO: result: $ac_res" >&5
38518 echo "${ECHO_T}$ac_res" >&6; }
38519 if test `eval echo '${'$as_ac_var'}'` = yes; then
38520 cat >>confdefs.h <<_ACEOF
38521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38522 _ACEOF
38523 break
38524 fi
38525 done
38526
38527
38528 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38529 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38530 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38531 wxUSE_SNGLINST_CHECKER=no
38532 fi
38533 fi
38534
38535
38536 for ac_func in timegm
38537 do
38538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38539 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38541 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38542 echo $ECHO_N "(cached) $ECHO_C" >&6
38543 else
38544 cat >conftest.$ac_ext <<_ACEOF
38545 /* confdefs.h. */
38546 _ACEOF
38547 cat confdefs.h >>conftest.$ac_ext
38548 cat >>conftest.$ac_ext <<_ACEOF
38549 /* end confdefs.h. */
38550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38552 #define $ac_func innocuous_$ac_func
38553
38554 /* System header to define __stub macros and hopefully few prototypes,
38555 which can conflict with char $ac_func (); below.
38556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38557 <limits.h> exists even on freestanding compilers. */
38558
38559 #ifdef __STDC__
38560 # include <limits.h>
38561 #else
38562 # include <assert.h>
38563 #endif
38564
38565 #undef $ac_func
38566
38567 /* Override any GCC internal prototype to avoid an error.
38568 Use char because int might match the return type of a GCC
38569 builtin and then its argument prototype would still apply. */
38570 #ifdef __cplusplus
38571 extern "C"
38572 #endif
38573 char $ac_func ();
38574 /* The GNU C library defines this for functions which it implements
38575 to always fail with ENOSYS. Some functions are actually named
38576 something starting with __ and the normal name is an alias. */
38577 #if defined __stub_$ac_func || defined __stub___$ac_func
38578 choke me
38579 #endif
38580
38581 int
38582 main ()
38583 {
38584 return $ac_func ();
38585 ;
38586 return 0;
38587 }
38588 _ACEOF
38589 rm -f conftest.$ac_objext conftest$ac_exeext
38590 if { (ac_try="$ac_link"
38591 case "(($ac_try" in
38592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38593 *) ac_try_echo=$ac_try;;
38594 esac
38595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38596 (eval "$ac_link") 2>conftest.er1
38597 ac_status=$?
38598 grep -v '^ *+' conftest.er1 >conftest.err
38599 rm -f conftest.er1
38600 cat conftest.err >&5
38601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38602 (exit $ac_status); } && {
38603 test -z "$ac_c_werror_flag" ||
38604 test ! -s conftest.err
38605 } && test -s conftest$ac_exeext &&
38606 $as_test_x conftest$ac_exeext; then
38607 eval "$as_ac_var=yes"
38608 else
38609 echo "$as_me: failed program was:" >&5
38610 sed 's/^/| /' conftest.$ac_ext >&5
38611
38612 eval "$as_ac_var=no"
38613 fi
38614
38615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38616 conftest$ac_exeext conftest.$ac_ext
38617 fi
38618 ac_res=`eval echo '${'$as_ac_var'}'`
38619 { echo "$as_me:$LINENO: result: $ac_res" >&5
38620 echo "${ECHO_T}$ac_res" >&6; }
38621 if test `eval echo '${'$as_ac_var'}'` = yes; then
38622 cat >>confdefs.h <<_ACEOF
38623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38624 _ACEOF
38625
38626 fi
38627 done
38628
38629
38630
38631
38632 for ac_func in putenv setenv
38633 do
38634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38635 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38637 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38638 echo $ECHO_N "(cached) $ECHO_C" >&6
38639 else
38640 cat >conftest.$ac_ext <<_ACEOF
38641 /* confdefs.h. */
38642 _ACEOF
38643 cat confdefs.h >>conftest.$ac_ext
38644 cat >>conftest.$ac_ext <<_ACEOF
38645 /* end confdefs.h. */
38646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38648 #define $ac_func innocuous_$ac_func
38649
38650 /* System header to define __stub macros and hopefully few prototypes,
38651 which can conflict with char $ac_func (); below.
38652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38653 <limits.h> exists even on freestanding compilers. */
38654
38655 #ifdef __STDC__
38656 # include <limits.h>
38657 #else
38658 # include <assert.h>
38659 #endif
38660
38661 #undef $ac_func
38662
38663 /* Override any GCC internal prototype to avoid an error.
38664 Use char because int might match the return type of a GCC
38665 builtin and then its argument prototype would still apply. */
38666 #ifdef __cplusplus
38667 extern "C"
38668 #endif
38669 char $ac_func ();
38670 /* The GNU C library defines this for functions which it implements
38671 to always fail with ENOSYS. Some functions are actually named
38672 something starting with __ and the normal name is an alias. */
38673 #if defined __stub_$ac_func || defined __stub___$ac_func
38674 choke me
38675 #endif
38676
38677 int
38678 main ()
38679 {
38680 return $ac_func ();
38681 ;
38682 return 0;
38683 }
38684 _ACEOF
38685 rm -f conftest.$ac_objext conftest$ac_exeext
38686 if { (ac_try="$ac_link"
38687 case "(($ac_try" in
38688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38689 *) ac_try_echo=$ac_try;;
38690 esac
38691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38692 (eval "$ac_link") 2>conftest.er1
38693 ac_status=$?
38694 grep -v '^ *+' conftest.er1 >conftest.err
38695 rm -f conftest.er1
38696 cat conftest.err >&5
38697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38698 (exit $ac_status); } && {
38699 test -z "$ac_c_werror_flag" ||
38700 test ! -s conftest.err
38701 } && test -s conftest$ac_exeext &&
38702 $as_test_x conftest$ac_exeext; then
38703 eval "$as_ac_var=yes"
38704 else
38705 echo "$as_me: failed program was:" >&5
38706 sed 's/^/| /' conftest.$ac_ext >&5
38707
38708 eval "$as_ac_var=no"
38709 fi
38710
38711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38712 conftest$ac_exeext conftest.$ac_ext
38713 fi
38714 ac_res=`eval echo '${'$as_ac_var'}'`
38715 { echo "$as_me:$LINENO: result: $ac_res" >&5
38716 echo "${ECHO_T}$ac_res" >&6; }
38717 if test `eval echo '${'$as_ac_var'}'` = yes; then
38718 cat >>confdefs.h <<_ACEOF
38719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38720 _ACEOF
38721 break
38722 fi
38723 done
38724
38725
38726 HAVE_SOME_SLEEP_FUNC=0
38727 if test "$USE_BEOS" = 1; then
38728 cat >>confdefs.h <<\_ACEOF
38729 #define HAVE_SLEEP 1
38730 _ACEOF
38731
38732 HAVE_SOME_SLEEP_FUNC=1
38733 fi
38734
38735 if test "$USE_DARWIN" = 1; then
38736 cat >>confdefs.h <<\_ACEOF
38737 #define HAVE_USLEEP 1
38738 _ACEOF
38739
38740 HAVE_SOME_SLEEP_FUNC=1
38741 fi
38742
38743 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38744 POSIX4_LINK=
38745
38746 for ac_func in nanosleep
38747 do
38748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38749 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38751 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38752 echo $ECHO_N "(cached) $ECHO_C" >&6
38753 else
38754 cat >conftest.$ac_ext <<_ACEOF
38755 /* confdefs.h. */
38756 _ACEOF
38757 cat confdefs.h >>conftest.$ac_ext
38758 cat >>conftest.$ac_ext <<_ACEOF
38759 /* end confdefs.h. */
38760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38762 #define $ac_func innocuous_$ac_func
38763
38764 /* System header to define __stub macros and hopefully few prototypes,
38765 which can conflict with char $ac_func (); below.
38766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38767 <limits.h> exists even on freestanding compilers. */
38768
38769 #ifdef __STDC__
38770 # include <limits.h>
38771 #else
38772 # include <assert.h>
38773 #endif
38774
38775 #undef $ac_func
38776
38777 /* Override any GCC internal prototype to avoid an error.
38778 Use char because int might match the return type of a GCC
38779 builtin and then its argument prototype would still apply. */
38780 #ifdef __cplusplus
38781 extern "C"
38782 #endif
38783 char $ac_func ();
38784 /* The GNU C library defines this for functions which it implements
38785 to always fail with ENOSYS. Some functions are actually named
38786 something starting with __ and the normal name is an alias. */
38787 #if defined __stub_$ac_func || defined __stub___$ac_func
38788 choke me
38789 #endif
38790
38791 int
38792 main ()
38793 {
38794 return $ac_func ();
38795 ;
38796 return 0;
38797 }
38798 _ACEOF
38799 rm -f conftest.$ac_objext conftest$ac_exeext
38800 if { (ac_try="$ac_link"
38801 case "(($ac_try" in
38802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38803 *) ac_try_echo=$ac_try;;
38804 esac
38805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38806 (eval "$ac_link") 2>conftest.er1
38807 ac_status=$?
38808 grep -v '^ *+' conftest.er1 >conftest.err
38809 rm -f conftest.er1
38810 cat conftest.err >&5
38811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38812 (exit $ac_status); } && {
38813 test -z "$ac_c_werror_flag" ||
38814 test ! -s conftest.err
38815 } && test -s conftest$ac_exeext &&
38816 $as_test_x conftest$ac_exeext; then
38817 eval "$as_ac_var=yes"
38818 else
38819 echo "$as_me: failed program was:" >&5
38820 sed 's/^/| /' conftest.$ac_ext >&5
38821
38822 eval "$as_ac_var=no"
38823 fi
38824
38825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38826 conftest$ac_exeext conftest.$ac_ext
38827 fi
38828 ac_res=`eval echo '${'$as_ac_var'}'`
38829 { echo "$as_me:$LINENO: result: $ac_res" >&5
38830 echo "${ECHO_T}$ac_res" >&6; }
38831 if test `eval echo '${'$as_ac_var'}'` = yes; then
38832 cat >>confdefs.h <<_ACEOF
38833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38834 _ACEOF
38835 cat >>confdefs.h <<\_ACEOF
38836 #define HAVE_NANOSLEEP 1
38837 _ACEOF
38838
38839 else
38840
38841 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38842 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38843 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38844 echo $ECHO_N "(cached) $ECHO_C" >&6
38845 else
38846 ac_check_lib_save_LIBS=$LIBS
38847 LIBS="-lposix4 $LIBS"
38848 cat >conftest.$ac_ext <<_ACEOF
38849 /* confdefs.h. */
38850 _ACEOF
38851 cat confdefs.h >>conftest.$ac_ext
38852 cat >>conftest.$ac_ext <<_ACEOF
38853 /* end confdefs.h. */
38854
38855 /* Override any GCC internal prototype to avoid an error.
38856 Use char because int might match the return type of a GCC
38857 builtin and then its argument prototype would still apply. */
38858 #ifdef __cplusplus
38859 extern "C"
38860 #endif
38861 char nanosleep ();
38862 int
38863 main ()
38864 {
38865 return nanosleep ();
38866 ;
38867 return 0;
38868 }
38869 _ACEOF
38870 rm -f conftest.$ac_objext conftest$ac_exeext
38871 if { (ac_try="$ac_link"
38872 case "(($ac_try" in
38873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38874 *) ac_try_echo=$ac_try;;
38875 esac
38876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38877 (eval "$ac_link") 2>conftest.er1
38878 ac_status=$?
38879 grep -v '^ *+' conftest.er1 >conftest.err
38880 rm -f conftest.er1
38881 cat conftest.err >&5
38882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38883 (exit $ac_status); } && {
38884 test -z "$ac_c_werror_flag" ||
38885 test ! -s conftest.err
38886 } && test -s conftest$ac_exeext &&
38887 $as_test_x conftest$ac_exeext; then
38888 ac_cv_lib_posix4_nanosleep=yes
38889 else
38890 echo "$as_me: failed program was:" >&5
38891 sed 's/^/| /' conftest.$ac_ext >&5
38892
38893 ac_cv_lib_posix4_nanosleep=no
38894 fi
38895
38896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38897 conftest$ac_exeext conftest.$ac_ext
38898 LIBS=$ac_check_lib_save_LIBS
38899 fi
38900 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38901 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
38902 if test $ac_cv_lib_posix4_nanosleep = yes; then
38903
38904 cat >>confdefs.h <<\_ACEOF
38905 #define HAVE_NANOSLEEP 1
38906 _ACEOF
38907
38908 POSIX4_LINK=" -lposix4"
38909
38910 else
38911
38912
38913 for wx_func in usleep
38914 do
38915 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38916 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38917 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38918 echo $ECHO_N "(cached) $ECHO_C" >&6
38919 else
38920
38921 cat >conftest.$ac_ext <<_ACEOF
38922
38923 /* confdefs.h. */
38924 _ACEOF
38925 cat confdefs.h >>conftest.$ac_ext
38926 cat >>conftest.$ac_ext <<_ACEOF
38927 /* end confdefs.h. */
38928
38929
38930 $ac_includes_default
38931
38932 int
38933 main ()
38934 {
38935
38936 #ifndef $wx_func
38937 &$wx_func;
38938 #endif
38939
38940
38941 ;
38942 return 0;
38943 }
38944
38945 _ACEOF
38946 rm -f conftest.$ac_objext conftest$ac_exeext
38947 if { (ac_try="$ac_link"
38948 case "(($ac_try" in
38949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38950 *) ac_try_echo=$ac_try;;
38951 esac
38952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38953 (eval "$ac_link") 2>conftest.er1
38954 ac_status=$?
38955 grep -v '^ *+' conftest.er1 >conftest.err
38956 rm -f conftest.er1
38957 cat conftest.err >&5
38958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38959 (exit $ac_status); } && {
38960 test -z "$ac_c_werror_flag" ||
38961 test ! -s conftest.err
38962 } && test -s conftest$ac_exeext &&
38963 $as_test_x conftest$ac_exeext; then
38964 eval wx_cv_func_$wx_func=yes
38965 else
38966 echo "$as_me: failed program was:" >&5
38967 sed 's/^/| /' conftest.$ac_ext >&5
38968
38969 eval wx_cv_func_$wx_func=no
38970 fi
38971
38972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38973 conftest$ac_exeext conftest.$ac_ext
38974
38975 fi
38976 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38977 { echo "$as_me:$LINENO: result: $ac_res" >&5
38978 echo "${ECHO_T}$ac_res" >&6; }
38979
38980 if eval test \$wx_cv_func_$wx_func = yes
38981 then
38982 cat >>confdefs.h <<_ACEOF
38983 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38984 _ACEOF
38985
38986
38987 else
38988 :
38989 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38990 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38991
38992 fi
38993 done
38994
38995
38996
38997 fi
38998
38999
39000
39001 fi
39002 done
39003
39004 fi
39005
39006
39007 for wx_func in uname
39008 do
39009 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39010 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39011 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39012 echo $ECHO_N "(cached) $ECHO_C" >&6
39013 else
39014
39015 cat >conftest.$ac_ext <<_ACEOF
39016
39017 /* confdefs.h. */
39018 _ACEOF
39019 cat confdefs.h >>conftest.$ac_ext
39020 cat >>conftest.$ac_ext <<_ACEOF
39021 /* end confdefs.h. */
39022
39023 #include <sys/utsname.h>
39024 $ac_includes_default
39025
39026 int
39027 main ()
39028 {
39029
39030 #ifndef $wx_func
39031 &$wx_func;
39032 #endif
39033
39034
39035 ;
39036 return 0;
39037 }
39038
39039 _ACEOF
39040 rm -f conftest.$ac_objext conftest$ac_exeext
39041 if { (ac_try="$ac_link"
39042 case "(($ac_try" in
39043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39044 *) ac_try_echo=$ac_try;;
39045 esac
39046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39047 (eval "$ac_link") 2>conftest.er1
39048 ac_status=$?
39049 grep -v '^ *+' conftest.er1 >conftest.err
39050 rm -f conftest.er1
39051 cat conftest.err >&5
39052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39053 (exit $ac_status); } && {
39054 test -z "$ac_c_werror_flag" ||
39055 test ! -s conftest.err
39056 } && test -s conftest$ac_exeext &&
39057 $as_test_x conftest$ac_exeext; then
39058 eval wx_cv_func_$wx_func=yes
39059 else
39060 echo "$as_me: failed program was:" >&5
39061 sed 's/^/| /' conftest.$ac_ext >&5
39062
39063 eval wx_cv_func_$wx_func=no
39064 fi
39065
39066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39067 conftest$ac_exeext conftest.$ac_ext
39068
39069 fi
39070 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39071 { echo "$as_me:$LINENO: result: $ac_res" >&5
39072 echo "${ECHO_T}$ac_res" >&6; }
39073
39074 if eval test \$wx_cv_func_$wx_func = yes
39075 then
39076 cat >>confdefs.h <<_ACEOF
39077 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39078 _ACEOF
39079
39080
39081 else
39082 :
39083
39084 fi
39085 done
39086
39087 if test "$wx_cv_func_uname" != yes; then
39088
39089 for wx_func in gethostname
39090 do
39091 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39092 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39093 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39094 echo $ECHO_N "(cached) $ECHO_C" >&6
39095 else
39096
39097 cat >conftest.$ac_ext <<_ACEOF
39098
39099 /* confdefs.h. */
39100 _ACEOF
39101 cat confdefs.h >>conftest.$ac_ext
39102 cat >>conftest.$ac_ext <<_ACEOF
39103 /* end confdefs.h. */
39104
39105
39106 $ac_includes_default
39107
39108 int
39109 main ()
39110 {
39111
39112 #ifndef $wx_func
39113 &$wx_func;
39114 #endif
39115
39116
39117 ;
39118 return 0;
39119 }
39120
39121 _ACEOF
39122 rm -f conftest.$ac_objext conftest$ac_exeext
39123 if { (ac_try="$ac_link"
39124 case "(($ac_try" in
39125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39126 *) ac_try_echo=$ac_try;;
39127 esac
39128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39129 (eval "$ac_link") 2>conftest.er1
39130 ac_status=$?
39131 grep -v '^ *+' conftest.er1 >conftest.err
39132 rm -f conftest.er1
39133 cat conftest.err >&5
39134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39135 (exit $ac_status); } && {
39136 test -z "$ac_c_werror_flag" ||
39137 test ! -s conftest.err
39138 } && test -s conftest$ac_exeext &&
39139 $as_test_x conftest$ac_exeext; then
39140 eval wx_cv_func_$wx_func=yes
39141 else
39142 echo "$as_me: failed program was:" >&5
39143 sed 's/^/| /' conftest.$ac_ext >&5
39144
39145 eval wx_cv_func_$wx_func=no
39146 fi
39147
39148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39149 conftest$ac_exeext conftest.$ac_ext
39150
39151 fi
39152 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39153 { echo "$as_me:$LINENO: result: $ac_res" >&5
39154 echo "${ECHO_T}$ac_res" >&6; }
39155
39156 if eval test \$wx_cv_func_$wx_func = yes
39157 then
39158 cat >>confdefs.h <<_ACEOF
39159 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39160 _ACEOF
39161
39162
39163 else
39164 :
39165
39166 fi
39167 done
39168
39169 fi
39170
39171
39172 for wx_func in strtok_r
39173 do
39174 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39175 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39176 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39177 echo $ECHO_N "(cached) $ECHO_C" >&6
39178 else
39179
39180 cat >conftest.$ac_ext <<_ACEOF
39181
39182 /* confdefs.h. */
39183 _ACEOF
39184 cat confdefs.h >>conftest.$ac_ext
39185 cat >>conftest.$ac_ext <<_ACEOF
39186 /* end confdefs.h. */
39187
39188 #define _REENTRANT
39189 $ac_includes_default
39190
39191 int
39192 main ()
39193 {
39194
39195 #ifndef $wx_func
39196 &$wx_func;
39197 #endif
39198
39199
39200 ;
39201 return 0;
39202 }
39203
39204 _ACEOF
39205 rm -f conftest.$ac_objext conftest$ac_exeext
39206 if { (ac_try="$ac_link"
39207 case "(($ac_try" in
39208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39209 *) ac_try_echo=$ac_try;;
39210 esac
39211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39212 (eval "$ac_link") 2>conftest.er1
39213 ac_status=$?
39214 grep -v '^ *+' conftest.er1 >conftest.err
39215 rm -f conftest.er1
39216 cat conftest.err >&5
39217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39218 (exit $ac_status); } && {
39219 test -z "$ac_c_werror_flag" ||
39220 test ! -s conftest.err
39221 } && test -s conftest$ac_exeext &&
39222 $as_test_x conftest$ac_exeext; then
39223 eval wx_cv_func_$wx_func=yes
39224 else
39225 echo "$as_me: failed program was:" >&5
39226 sed 's/^/| /' conftest.$ac_ext >&5
39227
39228 eval wx_cv_func_$wx_func=no
39229 fi
39230
39231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39232 conftest$ac_exeext conftest.$ac_ext
39233
39234 fi
39235 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39236 { echo "$as_me:$LINENO: result: $ac_res" >&5
39237 echo "${ECHO_T}$ac_res" >&6; }
39238
39239 if eval test \$wx_cv_func_$wx_func = yes
39240 then
39241 cat >>confdefs.h <<_ACEOF
39242 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39243 _ACEOF
39244
39245
39246 else
39247 :
39248
39249 fi
39250 done
39251
39252
39253 INET_LINK=
39254
39255 for ac_func in inet_addr
39256 do
39257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39258 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39260 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39261 echo $ECHO_N "(cached) $ECHO_C" >&6
39262 else
39263 cat >conftest.$ac_ext <<_ACEOF
39264 /* confdefs.h. */
39265 _ACEOF
39266 cat confdefs.h >>conftest.$ac_ext
39267 cat >>conftest.$ac_ext <<_ACEOF
39268 /* end confdefs.h. */
39269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39271 #define $ac_func innocuous_$ac_func
39272
39273 /* System header to define __stub macros and hopefully few prototypes,
39274 which can conflict with char $ac_func (); below.
39275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39276 <limits.h> exists even on freestanding compilers. */
39277
39278 #ifdef __STDC__
39279 # include <limits.h>
39280 #else
39281 # include <assert.h>
39282 #endif
39283
39284 #undef $ac_func
39285
39286 /* Override any GCC internal prototype to avoid an error.
39287 Use char because int might match the return type of a GCC
39288 builtin and then its argument prototype would still apply. */
39289 #ifdef __cplusplus
39290 extern "C"
39291 #endif
39292 char $ac_func ();
39293 /* The GNU C library defines this for functions which it implements
39294 to always fail with ENOSYS. Some functions are actually named
39295 something starting with __ and the normal name is an alias. */
39296 #if defined __stub_$ac_func || defined __stub___$ac_func
39297 choke me
39298 #endif
39299
39300 int
39301 main ()
39302 {
39303 return $ac_func ();
39304 ;
39305 return 0;
39306 }
39307 _ACEOF
39308 rm -f conftest.$ac_objext conftest$ac_exeext
39309 if { (ac_try="$ac_link"
39310 case "(($ac_try" in
39311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39312 *) ac_try_echo=$ac_try;;
39313 esac
39314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39315 (eval "$ac_link") 2>conftest.er1
39316 ac_status=$?
39317 grep -v '^ *+' conftest.er1 >conftest.err
39318 rm -f conftest.er1
39319 cat conftest.err >&5
39320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39321 (exit $ac_status); } && {
39322 test -z "$ac_c_werror_flag" ||
39323 test ! -s conftest.err
39324 } && test -s conftest$ac_exeext &&
39325 $as_test_x conftest$ac_exeext; then
39326 eval "$as_ac_var=yes"
39327 else
39328 echo "$as_me: failed program was:" >&5
39329 sed 's/^/| /' conftest.$ac_ext >&5
39330
39331 eval "$as_ac_var=no"
39332 fi
39333
39334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39335 conftest$ac_exeext conftest.$ac_ext
39336 fi
39337 ac_res=`eval echo '${'$as_ac_var'}'`
39338 { echo "$as_me:$LINENO: result: $ac_res" >&5
39339 echo "${ECHO_T}$ac_res" >&6; }
39340 if test `eval echo '${'$as_ac_var'}'` = yes; then
39341 cat >>confdefs.h <<_ACEOF
39342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39343 _ACEOF
39344 cat >>confdefs.h <<\_ACEOF
39345 #define HAVE_INET_ADDR 1
39346 _ACEOF
39347
39348 else
39349
39350 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39351 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39352 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39353 echo $ECHO_N "(cached) $ECHO_C" >&6
39354 else
39355 ac_check_lib_save_LIBS=$LIBS
39356 LIBS="-lnsl $LIBS"
39357 cat >conftest.$ac_ext <<_ACEOF
39358 /* confdefs.h. */
39359 _ACEOF
39360 cat confdefs.h >>conftest.$ac_ext
39361 cat >>conftest.$ac_ext <<_ACEOF
39362 /* end confdefs.h. */
39363
39364 /* Override any GCC internal prototype to avoid an error.
39365 Use char because int might match the return type of a GCC
39366 builtin and then its argument prototype would still apply. */
39367 #ifdef __cplusplus
39368 extern "C"
39369 #endif
39370 char inet_addr ();
39371 int
39372 main ()
39373 {
39374 return inet_addr ();
39375 ;
39376 return 0;
39377 }
39378 _ACEOF
39379 rm -f conftest.$ac_objext conftest$ac_exeext
39380 if { (ac_try="$ac_link"
39381 case "(($ac_try" in
39382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39383 *) ac_try_echo=$ac_try;;
39384 esac
39385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39386 (eval "$ac_link") 2>conftest.er1
39387 ac_status=$?
39388 grep -v '^ *+' conftest.er1 >conftest.err
39389 rm -f conftest.er1
39390 cat conftest.err >&5
39391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39392 (exit $ac_status); } && {
39393 test -z "$ac_c_werror_flag" ||
39394 test ! -s conftest.err
39395 } && test -s conftest$ac_exeext &&
39396 $as_test_x conftest$ac_exeext; then
39397 ac_cv_lib_nsl_inet_addr=yes
39398 else
39399 echo "$as_me: failed program was:" >&5
39400 sed 's/^/| /' conftest.$ac_ext >&5
39401
39402 ac_cv_lib_nsl_inet_addr=no
39403 fi
39404
39405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39406 conftest$ac_exeext conftest.$ac_ext
39407 LIBS=$ac_check_lib_save_LIBS
39408 fi
39409 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39410 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39411 if test $ac_cv_lib_nsl_inet_addr = yes; then
39412 INET_LINK="nsl"
39413 else
39414
39415 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39416 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39417 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39418 echo $ECHO_N "(cached) $ECHO_C" >&6
39419 else
39420 ac_check_lib_save_LIBS=$LIBS
39421 LIBS="-lresolv $LIBS"
39422 cat >conftest.$ac_ext <<_ACEOF
39423 /* confdefs.h. */
39424 _ACEOF
39425 cat confdefs.h >>conftest.$ac_ext
39426 cat >>conftest.$ac_ext <<_ACEOF
39427 /* end confdefs.h. */
39428
39429 /* Override any GCC internal prototype to avoid an error.
39430 Use char because int might match the return type of a GCC
39431 builtin and then its argument prototype would still apply. */
39432 #ifdef __cplusplus
39433 extern "C"
39434 #endif
39435 char inet_addr ();
39436 int
39437 main ()
39438 {
39439 return inet_addr ();
39440 ;
39441 return 0;
39442 }
39443 _ACEOF
39444 rm -f conftest.$ac_objext conftest$ac_exeext
39445 if { (ac_try="$ac_link"
39446 case "(($ac_try" in
39447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39448 *) ac_try_echo=$ac_try;;
39449 esac
39450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39451 (eval "$ac_link") 2>conftest.er1
39452 ac_status=$?
39453 grep -v '^ *+' conftest.er1 >conftest.err
39454 rm -f conftest.er1
39455 cat conftest.err >&5
39456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39457 (exit $ac_status); } && {
39458 test -z "$ac_c_werror_flag" ||
39459 test ! -s conftest.err
39460 } && test -s conftest$ac_exeext &&
39461 $as_test_x conftest$ac_exeext; then
39462 ac_cv_lib_resolv_inet_addr=yes
39463 else
39464 echo "$as_me: failed program was:" >&5
39465 sed 's/^/| /' conftest.$ac_ext >&5
39466
39467 ac_cv_lib_resolv_inet_addr=no
39468 fi
39469
39470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39471 conftest$ac_exeext conftest.$ac_ext
39472 LIBS=$ac_check_lib_save_LIBS
39473 fi
39474 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39475 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39476 if test $ac_cv_lib_resolv_inet_addr = yes; then
39477 INET_LINK="resolv"
39478 else
39479
39480 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39481 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39482 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39483 echo $ECHO_N "(cached) $ECHO_C" >&6
39484 else
39485 ac_check_lib_save_LIBS=$LIBS
39486 LIBS="-lsocket $LIBS"
39487 cat >conftest.$ac_ext <<_ACEOF
39488 /* confdefs.h. */
39489 _ACEOF
39490 cat confdefs.h >>conftest.$ac_ext
39491 cat >>conftest.$ac_ext <<_ACEOF
39492 /* end confdefs.h. */
39493
39494 /* Override any GCC internal prototype to avoid an error.
39495 Use char because int might match the return type of a GCC
39496 builtin and then its argument prototype would still apply. */
39497 #ifdef __cplusplus
39498 extern "C"
39499 #endif
39500 char inet_addr ();
39501 int
39502 main ()
39503 {
39504 return inet_addr ();
39505 ;
39506 return 0;
39507 }
39508 _ACEOF
39509 rm -f conftest.$ac_objext conftest$ac_exeext
39510 if { (ac_try="$ac_link"
39511 case "(($ac_try" in
39512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39513 *) ac_try_echo=$ac_try;;
39514 esac
39515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39516 (eval "$ac_link") 2>conftest.er1
39517 ac_status=$?
39518 grep -v '^ *+' conftest.er1 >conftest.err
39519 rm -f conftest.er1
39520 cat conftest.err >&5
39521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39522 (exit $ac_status); } && {
39523 test -z "$ac_c_werror_flag" ||
39524 test ! -s conftest.err
39525 } && test -s conftest$ac_exeext &&
39526 $as_test_x conftest$ac_exeext; then
39527 ac_cv_lib_socket_inet_addr=yes
39528 else
39529 echo "$as_me: failed program was:" >&5
39530 sed 's/^/| /' conftest.$ac_ext >&5
39531
39532 ac_cv_lib_socket_inet_addr=no
39533 fi
39534
39535 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39536 conftest$ac_exeext conftest.$ac_ext
39537 LIBS=$ac_check_lib_save_LIBS
39538 fi
39539 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39540 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39541 if test $ac_cv_lib_socket_inet_addr = yes; then
39542 INET_LINK="socket"
39543
39544 fi
39545
39546
39547
39548 fi
39549
39550
39551
39552 fi
39553
39554
39555
39556 fi
39557 done
39558
39559
39560
39561 for ac_func in inet_aton
39562 do
39563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39564 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39566 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39567 echo $ECHO_N "(cached) $ECHO_C" >&6
39568 else
39569 cat >conftest.$ac_ext <<_ACEOF
39570 /* confdefs.h. */
39571 _ACEOF
39572 cat confdefs.h >>conftest.$ac_ext
39573 cat >>conftest.$ac_ext <<_ACEOF
39574 /* end confdefs.h. */
39575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39577 #define $ac_func innocuous_$ac_func
39578
39579 /* System header to define __stub macros and hopefully few prototypes,
39580 which can conflict with char $ac_func (); below.
39581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39582 <limits.h> exists even on freestanding compilers. */
39583
39584 #ifdef __STDC__
39585 # include <limits.h>
39586 #else
39587 # include <assert.h>
39588 #endif
39589
39590 #undef $ac_func
39591
39592 /* Override any GCC internal prototype to avoid an error.
39593 Use char because int might match the return type of a GCC
39594 builtin and then its argument prototype would still apply. */
39595 #ifdef __cplusplus
39596 extern "C"
39597 #endif
39598 char $ac_func ();
39599 /* The GNU C library defines this for functions which it implements
39600 to always fail with ENOSYS. Some functions are actually named
39601 something starting with __ and the normal name is an alias. */
39602 #if defined __stub_$ac_func || defined __stub___$ac_func
39603 choke me
39604 #endif
39605
39606 int
39607 main ()
39608 {
39609 return $ac_func ();
39610 ;
39611 return 0;
39612 }
39613 _ACEOF
39614 rm -f conftest.$ac_objext conftest$ac_exeext
39615 if { (ac_try="$ac_link"
39616 case "(($ac_try" in
39617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39618 *) ac_try_echo=$ac_try;;
39619 esac
39620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39621 (eval "$ac_link") 2>conftest.er1
39622 ac_status=$?
39623 grep -v '^ *+' conftest.er1 >conftest.err
39624 rm -f conftest.er1
39625 cat conftest.err >&5
39626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39627 (exit $ac_status); } && {
39628 test -z "$ac_c_werror_flag" ||
39629 test ! -s conftest.err
39630 } && test -s conftest$ac_exeext &&
39631 $as_test_x conftest$ac_exeext; then
39632 eval "$as_ac_var=yes"
39633 else
39634 echo "$as_me: failed program was:" >&5
39635 sed 's/^/| /' conftest.$ac_ext >&5
39636
39637 eval "$as_ac_var=no"
39638 fi
39639
39640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39641 conftest$ac_exeext conftest.$ac_ext
39642 fi
39643 ac_res=`eval echo '${'$as_ac_var'}'`
39644 { echo "$as_me:$LINENO: result: $ac_res" >&5
39645 echo "${ECHO_T}$ac_res" >&6; }
39646 if test `eval echo '${'$as_ac_var'}'` = yes; then
39647 cat >>confdefs.h <<_ACEOF
39648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39649 _ACEOF
39650 cat >>confdefs.h <<\_ACEOF
39651 #define HAVE_INET_ATON 1
39652 _ACEOF
39653
39654 else
39655
39656 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39657 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39658 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39659 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39660 echo $ECHO_N "(cached) $ECHO_C" >&6
39661 else
39662 ac_check_lib_save_LIBS=$LIBS
39663 LIBS="-l$INET_LINK $LIBS"
39664 cat >conftest.$ac_ext <<_ACEOF
39665 /* confdefs.h. */
39666 _ACEOF
39667 cat confdefs.h >>conftest.$ac_ext
39668 cat >>conftest.$ac_ext <<_ACEOF
39669 /* end confdefs.h. */
39670
39671 /* Override any GCC internal prototype to avoid an error.
39672 Use char because int might match the return type of a GCC
39673 builtin and then its argument prototype would still apply. */
39674 #ifdef __cplusplus
39675 extern "C"
39676 #endif
39677 char inet_aton ();
39678 int
39679 main ()
39680 {
39681 return inet_aton ();
39682 ;
39683 return 0;
39684 }
39685 _ACEOF
39686 rm -f conftest.$ac_objext conftest$ac_exeext
39687 if { (ac_try="$ac_link"
39688 case "(($ac_try" in
39689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39690 *) ac_try_echo=$ac_try;;
39691 esac
39692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39693 (eval "$ac_link") 2>conftest.er1
39694 ac_status=$?
39695 grep -v '^ *+' conftest.er1 >conftest.err
39696 rm -f conftest.er1
39697 cat conftest.err >&5
39698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39699 (exit $ac_status); } && {
39700 test -z "$ac_c_werror_flag" ||
39701 test ! -s conftest.err
39702 } && test -s conftest$ac_exeext &&
39703 $as_test_x conftest$ac_exeext; then
39704 eval "$as_ac_Lib=yes"
39705 else
39706 echo "$as_me: failed program was:" >&5
39707 sed 's/^/| /' conftest.$ac_ext >&5
39708
39709 eval "$as_ac_Lib=no"
39710 fi
39711
39712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39713 conftest$ac_exeext conftest.$ac_ext
39714 LIBS=$ac_check_lib_save_LIBS
39715 fi
39716 ac_res=`eval echo '${'$as_ac_Lib'}'`
39717 { echo "$as_me:$LINENO: result: $ac_res" >&5
39718 echo "${ECHO_T}$ac_res" >&6; }
39719 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39720 cat >>confdefs.h <<\_ACEOF
39721 #define HAVE_INET_ATON 1
39722 _ACEOF
39723
39724 fi
39725
39726
39727 fi
39728 done
39729
39730
39731 if test "x$INET_LINK" != "x"; then
39732 cat >>confdefs.h <<\_ACEOF
39733 #define HAVE_INET_ADDR 1
39734 _ACEOF
39735
39736 INET_LINK=" -l$INET_LINK"
39737 fi
39738
39739
39740 for wx_func in fdopen
39741 do
39742 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39743 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39744 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39745 echo $ECHO_N "(cached) $ECHO_C" >&6
39746 else
39747
39748 cat >conftest.$ac_ext <<_ACEOF
39749
39750 /* confdefs.h. */
39751 _ACEOF
39752 cat confdefs.h >>conftest.$ac_ext
39753 cat >>conftest.$ac_ext <<_ACEOF
39754 /* end confdefs.h. */
39755
39756
39757 $ac_includes_default
39758
39759 int
39760 main ()
39761 {
39762
39763 #ifndef $wx_func
39764 &$wx_func;
39765 #endif
39766
39767
39768 ;
39769 return 0;
39770 }
39771
39772 _ACEOF
39773 rm -f conftest.$ac_objext conftest$ac_exeext
39774 if { (ac_try="$ac_link"
39775 case "(($ac_try" in
39776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39777 *) ac_try_echo=$ac_try;;
39778 esac
39779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39780 (eval "$ac_link") 2>conftest.er1
39781 ac_status=$?
39782 grep -v '^ *+' conftest.er1 >conftest.err
39783 rm -f conftest.er1
39784 cat conftest.err >&5
39785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39786 (exit $ac_status); } && {
39787 test -z "$ac_c_werror_flag" ||
39788 test ! -s conftest.err
39789 } && test -s conftest$ac_exeext &&
39790 $as_test_x conftest$ac_exeext; then
39791 eval wx_cv_func_$wx_func=yes
39792 else
39793 echo "$as_me: failed program was:" >&5
39794 sed 's/^/| /' conftest.$ac_ext >&5
39795
39796 eval wx_cv_func_$wx_func=no
39797 fi
39798
39799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39800 conftest$ac_exeext conftest.$ac_ext
39801
39802 fi
39803 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39804 { echo "$as_me:$LINENO: result: $ac_res" >&5
39805 echo "${ECHO_T}$ac_res" >&6; }
39806
39807 if eval test \$wx_cv_func_$wx_func = yes
39808 then
39809 cat >>confdefs.h <<_ACEOF
39810 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39811 _ACEOF
39812
39813
39814 else
39815 :
39816
39817 fi
39818 done
39819
39820
39821 fi
39822
39823
39824
39825
39826 EXTRALIBS_ESD=
39827 { echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
39828 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6; }
39829 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
39830 echo $ECHO_N "(cached) $ECHO_C" >&6
39831 else
39832 ac_check_lib_save_LIBS=$LIBS
39833 LIBS="-lesd $LIBS"
39834 cat >conftest.$ac_ext <<_ACEOF
39835 /* confdefs.h. */
39836 _ACEOF
39837 cat confdefs.h >>conftest.$ac_ext
39838 cat >>conftest.$ac_ext <<_ACEOF
39839 /* end confdefs.h. */
39840
39841 /* Override any GCC internal prototype to avoid an error.
39842 Use char because int might match the return type of a GCC
39843 builtin and then its argument prototype would still apply. */
39844 #ifdef __cplusplus
39845 extern "C"
39846 #endif
39847 char esd_close ();
39848 int
39849 main ()
39850 {
39851 return esd_close ();
39852 ;
39853 return 0;
39854 }
39855 _ACEOF
39856 rm -f conftest.$ac_objext conftest$ac_exeext
39857 if { (ac_try="$ac_link"
39858 case "(($ac_try" in
39859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39860 *) ac_try_echo=$ac_try;;
39861 esac
39862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39863 (eval "$ac_link") 2>conftest.er1
39864 ac_status=$?
39865 grep -v '^ *+' conftest.er1 >conftest.err
39866 rm -f conftest.er1
39867 cat conftest.err >&5
39868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39869 (exit $ac_status); } && {
39870 test -z "$ac_c_werror_flag" ||
39871 test ! -s conftest.err
39872 } && test -s conftest$ac_exeext &&
39873 $as_test_x conftest$ac_exeext; then
39874 ac_cv_lib_esd_esd_close=yes
39875 else
39876 echo "$as_me: failed program was:" >&5
39877 sed 's/^/| /' conftest.$ac_ext >&5
39878
39879 ac_cv_lib_esd_esd_close=no
39880 fi
39881
39882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39883 conftest$ac_exeext conftest.$ac_ext
39884 LIBS=$ac_check_lib_save_LIBS
39885 fi
39886 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
39887 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6; }
39888 if test $ac_cv_lib_esd_esd_close = yes; then
39889
39890
39891 for ac_header in esd.h
39892 do
39893 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39894 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39895 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39896 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39897 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39898 echo $ECHO_N "(cached) $ECHO_C" >&6
39899 fi
39900 ac_res=`eval echo '${'$as_ac_Header'}'`
39901 { echo "$as_me:$LINENO: result: $ac_res" >&5
39902 echo "${ECHO_T}$ac_res" >&6; }
39903 else
39904 # Is the header compilable?
39905 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
39906 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
39907 cat >conftest.$ac_ext <<_ACEOF
39908 /* confdefs.h. */
39909 _ACEOF
39910 cat confdefs.h >>conftest.$ac_ext
39911 cat >>conftest.$ac_ext <<_ACEOF
39912 /* end confdefs.h. */
39913 $ac_includes_default
39914 #include <$ac_header>
39915 _ACEOF
39916 rm -f conftest.$ac_objext
39917 if { (ac_try="$ac_compile"
39918 case "(($ac_try" in
39919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39920 *) ac_try_echo=$ac_try;;
39921 esac
39922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39923 (eval "$ac_compile") 2>conftest.er1
39924 ac_status=$?
39925 grep -v '^ *+' conftest.er1 >conftest.err
39926 rm -f conftest.er1
39927 cat conftest.err >&5
39928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39929 (exit $ac_status); } && {
39930 test -z "$ac_c_werror_flag" ||
39931 test ! -s conftest.err
39932 } && test -s conftest.$ac_objext; then
39933 ac_header_compiler=yes
39934 else
39935 echo "$as_me: failed program was:" >&5
39936 sed 's/^/| /' conftest.$ac_ext >&5
39937
39938 ac_header_compiler=no
39939 fi
39940
39941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39942 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39943 echo "${ECHO_T}$ac_header_compiler" >&6; }
39944
39945 # Is the header present?
39946 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
39947 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
39948 cat >conftest.$ac_ext <<_ACEOF
39949 /* confdefs.h. */
39950 _ACEOF
39951 cat confdefs.h >>conftest.$ac_ext
39952 cat >>conftest.$ac_ext <<_ACEOF
39953 /* end confdefs.h. */
39954 #include <$ac_header>
39955 _ACEOF
39956 if { (ac_try="$ac_cpp conftest.$ac_ext"
39957 case "(($ac_try" in
39958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39959 *) ac_try_echo=$ac_try;;
39960 esac
39961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39962 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
39963 ac_status=$?
39964 grep -v '^ *+' conftest.er1 >conftest.err
39965 rm -f conftest.er1
39966 cat conftest.err >&5
39967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39968 (exit $ac_status); } >/dev/null && {
39969 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
39970 test ! -s conftest.err
39971 }; then
39972 ac_header_preproc=yes
39973 else
39974 echo "$as_me: failed program was:" >&5
39975 sed 's/^/| /' conftest.$ac_ext >&5
39976
39977 ac_header_preproc=no
39978 fi
39979
39980 rm -f conftest.err conftest.$ac_ext
39981 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39982 echo "${ECHO_T}$ac_header_preproc" >&6; }
39983
39984 # So? What about this header?
39985 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39986 yes:no: )
39987 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39988 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39989 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39990 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39991 ac_header_preproc=yes
39992 ;;
39993 no:yes:* )
39994 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39995 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39996 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39997 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39998 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39999 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40000 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40001 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40002 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40003 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40004 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40005 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40006 ( cat <<\_ASBOX
40007 ## ----------------------------------------- ##
40008 ## Report this to wx-dev@lists.wxwidgets.org ##
40009 ## ----------------------------------------- ##
40010 _ASBOX
40011 ) | sed "s/^/$as_me: WARNING: /" >&2
40012 ;;
40013 esac
40014 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40015 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40016 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40017 echo $ECHO_N "(cached) $ECHO_C" >&6
40018 else
40019 eval "$as_ac_Header=\$ac_header_preproc"
40020 fi
40021 ac_res=`eval echo '${'$as_ac_Header'}'`
40022 { echo "$as_me:$LINENO: result: $ac_res" >&5
40023 echo "${ECHO_T}$ac_res" >&6; }
40024
40025 fi
40026 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40027 cat >>confdefs.h <<_ACEOF
40028 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40029 _ACEOF
40030
40031 EXTRALIBS_ESD="-lesd"
40032
40033 fi
40034
40035 done
40036
40037
40038 fi
40039
40040
40041
40042 { echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
40043 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6; }
40044 cat >conftest.$ac_ext <<_ACEOF
40045 /* confdefs.h. */
40046 _ACEOF
40047 cat confdefs.h >>conftest.$ac_ext
40048 cat >>conftest.$ac_ext <<_ACEOF
40049 /* end confdefs.h. */
40050 #ifdef __linux__
40051 #include <linux/cdrom.h>
40052 #else
40053 /* For Solaris */
40054 #include <sys/cdio.h>
40055 #endif
40056
40057 int
40058 main ()
40059 {
40060 struct cdrom_tocentry entry, old_entry;
40061 ;
40062 return 0;
40063 }
40064 _ACEOF
40065 rm -f conftest.$ac_objext
40066 if { (ac_try="$ac_compile"
40067 case "(($ac_try" in
40068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40069 *) ac_try_echo=$ac_try;;
40070 esac
40071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40072 (eval "$ac_compile") 2>conftest.er1
40073 ac_status=$?
40074 grep -v '^ *+' conftest.er1 >conftest.err
40075 rm -f conftest.er1
40076 cat conftest.err >&5
40077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40078 (exit $ac_status); } && {
40079 test -z "$ac_c_werror_flag" ||
40080 test ! -s conftest.err
40081 } && test -s conftest.$ac_objext; then
40082 { echo "$as_me:$LINENO: result: yes" >&5
40083 echo "${ECHO_T}yes" >&6; }
40084 cat >>confdefs.h <<\_ACEOF
40085 #define HAVE_KNOWN_CDROM_INTERFACE 1
40086 _ACEOF
40087
40088 else
40089 echo "$as_me: failed program was:" >&5
40090 sed 's/^/| /' conftest.$ac_ext >&5
40091
40092 { echo "$as_me:$LINENO: result: no" >&5
40093 echo "${ECHO_T}no" >&6; }
40094 fi
40095
40096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40097
40098
40099 cat >confcache <<\_ACEOF
40100 # This file is a shell script that caches the results of configure
40101 # tests run on this system so they can be shared between configure
40102 # scripts and configure runs, see configure's option --config-cache.
40103 # It is not useful on other systems. If it contains results you don't
40104 # want to keep, you may remove or edit it.
40105 #
40106 # config.status only pays attention to the cache file if you give it
40107 # the --recheck option to rerun configure.
40108 #
40109 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40110 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40111 # following values.
40112
40113 _ACEOF
40114
40115 # The following way of writing the cache mishandles newlines in values,
40116 # but we know of no workaround that is simple, portable, and efficient.
40117 # So, we kill variables containing newlines.
40118 # Ultrix sh set writes to stderr and can't be redirected directly,
40119 # and sets the high bit in the cache file unless we assign to the vars.
40120 (
40121 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40122 eval ac_val=\$$ac_var
40123 case $ac_val in #(
40124 *${as_nl}*)
40125 case $ac_var in #(
40126 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40127 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40128 esac
40129 case $ac_var in #(
40130 _ | IFS | as_nl) ;; #(
40131 *) $as_unset $ac_var ;;
40132 esac ;;
40133 esac
40134 done
40135
40136 (set) 2>&1 |
40137 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40138 *${as_nl}ac_space=\ *)
40139 # `set' does not quote correctly, so add quotes (double-quote
40140 # substitution turns \\\\ into \\, and sed turns \\ into \).
40141 sed -n \
40142 "s/'/'\\\\''/g;
40143 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40144 ;; #(
40145 *)
40146 # `set' quotes correctly as required by POSIX, so do not add quotes.
40147 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40148 ;;
40149 esac |
40150 sort
40151 ) |
40152 sed '
40153 /^ac_cv_env_/b end
40154 t clear
40155 :clear
40156 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40157 t end
40158 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40159 :end' >>confcache
40160 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
40161 if test -w "$cache_file"; then
40162 test "x$cache_file" != "x/dev/null" &&
40163 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40164 echo "$as_me: updating cache $cache_file" >&6;}
40165 cat confcache >$cache_file
40166 else
40167 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40168 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40169 fi
40170 fi
40171 rm -f confcache
40172
40173
40174 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40175
40176
40177 THREADS_LINK=
40178 THREADS_CFLAGS=
40179
40180 if test "$wxUSE_THREADS" = "yes" ; then
40181 if test "$USE_BEOS" = 1; then
40182 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40183 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40184 wxUSE_THREADS="no"
40185 fi
40186 fi
40187
40188 if test "$wxUSE_THREADS" = "yes" ; then
40189
40190
40191 THREAD_OPTS="-pthread"
40192 case "${host}" in
40193 *-*-solaris2* | *-*-sunos4* )
40194 if test "x$GCC" = "xyes"; then
40195 THREAD_OPTS="-pthreads $THREAD_OPTS"
40196 else
40197 THREAD_OPTS="-mt $THREAD_OPTS"
40198 fi
40199 ;;
40200 *-*-freebsd*)
40201 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
40202 ;;
40203 *-*-darwin* | *-*-cygwin* )
40204 THREAD_OPTS=""
40205 ;;
40206 *-*-aix*)
40207 THREAD_OPTS="pthreads"
40208 ;;
40209 *-hp-hpux* )
40210 if test "x$GCC" = "xyes"; then
40211 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
40212 THREAD_OPTS=""
40213 else
40214 THREAD_OPTS="-mt"
40215 fi
40216 ;;
40217
40218 *-*-irix* )
40219 if test "x$GCC" = "xyes"; then
40220 THREAD_OPTS=""
40221 fi
40222 ;;
40223
40224 *-*-*UnixWare*)
40225 if test "x$GCC" != "xyes"; then
40226 THREAD_OPTS="-Ethread"
40227 fi
40228 ;;
40229 esac
40230
40231 THREAD_OPTS="$THREAD_OPTS pthread none"
40232
40233 THREADS_OK=no
40234 for flag in $THREAD_OPTS; do
40235 case $flag in
40236 none)
40237 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40238 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40239 ;;
40240
40241 -*)
40242 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40243 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40244 THREADS_CFLAGS="$flag"
40245 ;;
40246
40247 *)
40248 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40249 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40250 THREADS_LINK="-l$flag"
40251 ;;
40252 esac
40253
40254 save_LIBS="$LIBS"
40255 save_CFLAGS="$CFLAGS"
40256 LIBS="$THREADS_LINK $LIBS"
40257 CFLAGS="$THREADS_CFLAGS $CFLAGS"
40258
40259 cat >conftest.$ac_ext <<_ACEOF
40260 /* confdefs.h. */
40261 _ACEOF
40262 cat confdefs.h >>conftest.$ac_ext
40263 cat >>conftest.$ac_ext <<_ACEOF
40264 /* end confdefs.h. */
40265 #include <pthread.h>
40266 int
40267 main ()
40268 {
40269 pthread_create(0,0,0,0);
40270 ;
40271 return 0;
40272 }
40273 _ACEOF
40274 rm -f conftest.$ac_objext conftest$ac_exeext
40275 if { (ac_try="$ac_link"
40276 case "(($ac_try" in
40277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40278 *) ac_try_echo=$ac_try;;
40279 esac
40280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40281 (eval "$ac_link") 2>conftest.er1
40282 ac_status=$?
40283 grep -v '^ *+' conftest.er1 >conftest.err
40284 rm -f conftest.er1
40285 cat conftest.err >&5
40286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40287 (exit $ac_status); } && {
40288 test -z "$ac_c_werror_flag" ||
40289 test ! -s conftest.err
40290 } && test -s conftest$ac_exeext &&
40291 $as_test_x conftest$ac_exeext; then
40292 THREADS_OK=yes
40293 else
40294 echo "$as_me: failed program was:" >&5
40295 sed 's/^/| /' conftest.$ac_ext >&5
40296
40297
40298 fi
40299
40300 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40301 conftest$ac_exeext conftest.$ac_ext
40302
40303 LIBS="$save_LIBS"
40304 CFLAGS="$save_CFLAGS"
40305
40306 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40307 echo "${ECHO_T}$THREADS_OK" >&6; }
40308 if test "x$THREADS_OK" = "xyes"; then
40309 break;
40310 fi
40311
40312 THREADS_LINK=""
40313 THREADS_CFLAGS=""
40314 done
40315
40316 if test "x$THREADS_OK" != "xyes"; then
40317 wxUSE_THREADS=no
40318 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40319 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40320 else
40321 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40322 LIBS="$THREADS_LINK $LIBS"
40323
40324 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40325 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40326 flag=no
40327 case "${host}" in
40328 *-aix*)
40329 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40330 flag="-D_THREAD_SAFE"
40331 ;;
40332 *-freebsd*)
40333 flag="-D_THREAD_SAFE"
40334 ;;
40335 *-hp-hpux* )
40336 flag="-D_REENTRANT"
40337 if test "x$GCC" != "xyes"; then
40338 flag="$flag -D_RWSTD_MULTI_THREAD"
40339 fi
40340 ;;
40341 *solaris* | alpha*-osf*)
40342 flag="-D_REENTRANT"
40343 ;;
40344 esac
40345 { echo "$as_me:$LINENO: result: ${flag}" >&5
40346 echo "${ECHO_T}${flag}" >&6; }
40347 if test "x$flag" != xno; then
40348 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40349 fi
40350
40351 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40352 fi
40353 fi
40354
40355 if test "$wxUSE_THREADS" = "yes" ; then
40356
40357 for ac_func in thr_setconcurrency
40358 do
40359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40360 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40362 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40363 echo $ECHO_N "(cached) $ECHO_C" >&6
40364 else
40365 cat >conftest.$ac_ext <<_ACEOF
40366 /* confdefs.h. */
40367 _ACEOF
40368 cat confdefs.h >>conftest.$ac_ext
40369 cat >>conftest.$ac_ext <<_ACEOF
40370 /* end confdefs.h. */
40371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40373 #define $ac_func innocuous_$ac_func
40374
40375 /* System header to define __stub macros and hopefully few prototypes,
40376 which can conflict with char $ac_func (); below.
40377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40378 <limits.h> exists even on freestanding compilers. */
40379
40380 #ifdef __STDC__
40381 # include <limits.h>
40382 #else
40383 # include <assert.h>
40384 #endif
40385
40386 #undef $ac_func
40387
40388 /* Override any GCC internal prototype to avoid an error.
40389 Use char because int might match the return type of a GCC
40390 builtin and then its argument prototype would still apply. */
40391 #ifdef __cplusplus
40392 extern "C"
40393 #endif
40394 char $ac_func ();
40395 /* The GNU C library defines this for functions which it implements
40396 to always fail with ENOSYS. Some functions are actually named
40397 something starting with __ and the normal name is an alias. */
40398 #if defined __stub_$ac_func || defined __stub___$ac_func
40399 choke me
40400 #endif
40401
40402 int
40403 main ()
40404 {
40405 return $ac_func ();
40406 ;
40407 return 0;
40408 }
40409 _ACEOF
40410 rm -f conftest.$ac_objext conftest$ac_exeext
40411 if { (ac_try="$ac_link"
40412 case "(($ac_try" in
40413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40414 *) ac_try_echo=$ac_try;;
40415 esac
40416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40417 (eval "$ac_link") 2>conftest.er1
40418 ac_status=$?
40419 grep -v '^ *+' conftest.er1 >conftest.err
40420 rm -f conftest.er1
40421 cat conftest.err >&5
40422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40423 (exit $ac_status); } && {
40424 test -z "$ac_c_werror_flag" ||
40425 test ! -s conftest.err
40426 } && test -s conftest$ac_exeext &&
40427 $as_test_x conftest$ac_exeext; then
40428 eval "$as_ac_var=yes"
40429 else
40430 echo "$as_me: failed program was:" >&5
40431 sed 's/^/| /' conftest.$ac_ext >&5
40432
40433 eval "$as_ac_var=no"
40434 fi
40435
40436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40437 conftest$ac_exeext conftest.$ac_ext
40438 fi
40439 ac_res=`eval echo '${'$as_ac_var'}'`
40440 { echo "$as_me:$LINENO: result: $ac_res" >&5
40441 echo "${ECHO_T}$ac_res" >&6; }
40442 if test `eval echo '${'$as_ac_var'}'` = yes; then
40443 cat >>confdefs.h <<_ACEOF
40444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40445 _ACEOF
40446
40447 fi
40448 done
40449
40450
40451 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40452 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40453 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40454 echo $ECHO_N "(cached) $ECHO_C" >&6
40455 else
40456
40457 cat >conftest.$ac_ext <<_ACEOF
40458 /* confdefs.h. */
40459 _ACEOF
40460 cat confdefs.h >>conftest.$ac_ext
40461 cat >>conftest.$ac_ext <<_ACEOF
40462 /* end confdefs.h. */
40463 #include <pthread.h>
40464 void ThreadCleanupFunc(void *p);
40465
40466 int
40467 main ()
40468 {
40469
40470 void *p;
40471 pthread_cleanup_push(ThreadCleanupFunc, p);
40472 pthread_cleanup_pop(0);
40473
40474 ;
40475 return 0;
40476 }
40477 _ACEOF
40478 rm -f conftest.$ac_objext
40479 if { (ac_try="$ac_compile"
40480 case "(($ac_try" in
40481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40482 *) ac_try_echo=$ac_try;;
40483 esac
40484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40485 (eval "$ac_compile") 2>conftest.er1
40486 ac_status=$?
40487 grep -v '^ *+' conftest.er1 >conftest.err
40488 rm -f conftest.er1
40489 cat conftest.err >&5
40490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40491 (exit $ac_status); } && {
40492 test -z "$ac_c_werror_flag" ||
40493 test ! -s conftest.err
40494 } && test -s conftest.$ac_objext; then
40495
40496 wx_cv_func_pthread_cleanup=yes
40497
40498 else
40499 echo "$as_me: failed program was:" >&5
40500 sed 's/^/| /' conftest.$ac_ext >&5
40501
40502
40503 wx_cv_func_pthread_cleanup=no
40504
40505
40506 fi
40507
40508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40509
40510 fi
40511 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40512 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40513 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40514 cat >>confdefs.h <<\_ACEOF
40515 #define wxHAVE_PTHREAD_CLEANUP 1
40516 _ACEOF
40517
40518 fi
40519
40520
40521 for ac_header in sched.h
40522 do
40523 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40524 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40525 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40526 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40527 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40528 echo $ECHO_N "(cached) $ECHO_C" >&6
40529 fi
40530 ac_res=`eval echo '${'$as_ac_Header'}'`
40531 { echo "$as_me:$LINENO: result: $ac_res" >&5
40532 echo "${ECHO_T}$ac_res" >&6; }
40533 else
40534 # Is the header compilable?
40535 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
40536 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
40537 cat >conftest.$ac_ext <<_ACEOF
40538 /* confdefs.h. */
40539 _ACEOF
40540 cat confdefs.h >>conftest.$ac_ext
40541 cat >>conftest.$ac_ext <<_ACEOF
40542 /* end confdefs.h. */
40543 $ac_includes_default
40544 #include <$ac_header>
40545 _ACEOF
40546 rm -f conftest.$ac_objext
40547 if { (ac_try="$ac_compile"
40548 case "(($ac_try" in
40549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40550 *) ac_try_echo=$ac_try;;
40551 esac
40552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40553 (eval "$ac_compile") 2>conftest.er1
40554 ac_status=$?
40555 grep -v '^ *+' conftest.er1 >conftest.err
40556 rm -f conftest.er1
40557 cat conftest.err >&5
40558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40559 (exit $ac_status); } && {
40560 test -z "$ac_c_werror_flag" ||
40561 test ! -s conftest.err
40562 } && test -s conftest.$ac_objext; then
40563 ac_header_compiler=yes
40564 else
40565 echo "$as_me: failed program was:" >&5
40566 sed 's/^/| /' conftest.$ac_ext >&5
40567
40568 ac_header_compiler=no
40569 fi
40570
40571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40572 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40573 echo "${ECHO_T}$ac_header_compiler" >&6; }
40574
40575 # Is the header present?
40576 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
40577 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
40578 cat >conftest.$ac_ext <<_ACEOF
40579 /* confdefs.h. */
40580 _ACEOF
40581 cat confdefs.h >>conftest.$ac_ext
40582 cat >>conftest.$ac_ext <<_ACEOF
40583 /* end confdefs.h. */
40584 #include <$ac_header>
40585 _ACEOF
40586 if { (ac_try="$ac_cpp conftest.$ac_ext"
40587 case "(($ac_try" in
40588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40589 *) ac_try_echo=$ac_try;;
40590 esac
40591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40592 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
40593 ac_status=$?
40594 grep -v '^ *+' conftest.er1 >conftest.err
40595 rm -f conftest.er1
40596 cat conftest.err >&5
40597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40598 (exit $ac_status); } >/dev/null && {
40599 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
40600 test ! -s conftest.err
40601 }; then
40602 ac_header_preproc=yes
40603 else
40604 echo "$as_me: failed program was:" >&5
40605 sed 's/^/| /' conftest.$ac_ext >&5
40606
40607 ac_header_preproc=no
40608 fi
40609
40610 rm -f conftest.err conftest.$ac_ext
40611 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40612 echo "${ECHO_T}$ac_header_preproc" >&6; }
40613
40614 # So? What about this header?
40615 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
40616 yes:no: )
40617 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40618 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40619 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40620 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40621 ac_header_preproc=yes
40622 ;;
40623 no:yes:* )
40624 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40625 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40626 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40627 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40628 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40629 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40630 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40631 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40632 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40633 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40634 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40635 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40636 ( cat <<\_ASBOX
40637 ## ----------------------------------------- ##
40638 ## Report this to wx-dev@lists.wxwidgets.org ##
40639 ## ----------------------------------------- ##
40640 _ASBOX
40641 ) | sed "s/^/$as_me: WARNING: /" >&2
40642 ;;
40643 esac
40644 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40645 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40646 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40647 echo $ECHO_N "(cached) $ECHO_C" >&6
40648 else
40649 eval "$as_ac_Header=\$ac_header_preproc"
40650 fi
40651 ac_res=`eval echo '${'$as_ac_Header'}'`
40652 { echo "$as_me:$LINENO: result: $ac_res" >&5
40653 echo "${ECHO_T}$ac_res" >&6; }
40654
40655 fi
40656 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40657 cat >>confdefs.h <<_ACEOF
40658 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40659 _ACEOF
40660
40661 fi
40662
40663 done
40664
40665 if test "$ac_cv_header_sched_h" = "yes"; then
40666 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40667 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40668 if test "${ac_cv_func_sched_yield+set}" = set; then
40669 echo $ECHO_N "(cached) $ECHO_C" >&6
40670 else
40671 cat >conftest.$ac_ext <<_ACEOF
40672 /* confdefs.h. */
40673 _ACEOF
40674 cat confdefs.h >>conftest.$ac_ext
40675 cat >>conftest.$ac_ext <<_ACEOF
40676 /* end confdefs.h. */
40677 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40679 #define sched_yield innocuous_sched_yield
40680
40681 /* System header to define __stub macros and hopefully few prototypes,
40682 which can conflict with char sched_yield (); below.
40683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40684 <limits.h> exists even on freestanding compilers. */
40685
40686 #ifdef __STDC__
40687 # include <limits.h>
40688 #else
40689 # include <assert.h>
40690 #endif
40691
40692 #undef sched_yield
40693
40694 /* Override any GCC internal prototype to avoid an error.
40695 Use char because int might match the return type of a GCC
40696 builtin and then its argument prototype would still apply. */
40697 #ifdef __cplusplus
40698 extern "C"
40699 #endif
40700 char sched_yield ();
40701 /* The GNU C library defines this for functions which it implements
40702 to always fail with ENOSYS. Some functions are actually named
40703 something starting with __ and the normal name is an alias. */
40704 #if defined __stub_sched_yield || defined __stub___sched_yield
40705 choke me
40706 #endif
40707
40708 int
40709 main ()
40710 {
40711 return sched_yield ();
40712 ;
40713 return 0;
40714 }
40715 _ACEOF
40716 rm -f conftest.$ac_objext conftest$ac_exeext
40717 if { (ac_try="$ac_link"
40718 case "(($ac_try" in
40719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40720 *) ac_try_echo=$ac_try;;
40721 esac
40722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40723 (eval "$ac_link") 2>conftest.er1
40724 ac_status=$?
40725 grep -v '^ *+' conftest.er1 >conftest.err
40726 rm -f conftest.er1
40727 cat conftest.err >&5
40728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40729 (exit $ac_status); } && {
40730 test -z "$ac_c_werror_flag" ||
40731 test ! -s conftest.err
40732 } && test -s conftest$ac_exeext &&
40733 $as_test_x conftest$ac_exeext; then
40734 ac_cv_func_sched_yield=yes
40735 else
40736 echo "$as_me: failed program was:" >&5
40737 sed 's/^/| /' conftest.$ac_ext >&5
40738
40739 ac_cv_func_sched_yield=no
40740 fi
40741
40742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40743 conftest$ac_exeext conftest.$ac_ext
40744 fi
40745 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40746 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40747 if test $ac_cv_func_sched_yield = yes; then
40748 cat >>confdefs.h <<\_ACEOF
40749 #define HAVE_SCHED_YIELD 1
40750 _ACEOF
40751
40752 else
40753
40754 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40755 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40756 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40757 echo $ECHO_N "(cached) $ECHO_C" >&6
40758 else
40759 ac_check_lib_save_LIBS=$LIBS
40760 LIBS="-lposix4 $LIBS"
40761 cat >conftest.$ac_ext <<_ACEOF
40762 /* confdefs.h. */
40763 _ACEOF
40764 cat confdefs.h >>conftest.$ac_ext
40765 cat >>conftest.$ac_ext <<_ACEOF
40766 /* end confdefs.h. */
40767
40768 /* Override any GCC internal prototype to avoid an error.
40769 Use char because int might match the return type of a GCC
40770 builtin and then its argument prototype would still apply. */
40771 #ifdef __cplusplus
40772 extern "C"
40773 #endif
40774 char sched_yield ();
40775 int
40776 main ()
40777 {
40778 return sched_yield ();
40779 ;
40780 return 0;
40781 }
40782 _ACEOF
40783 rm -f conftest.$ac_objext conftest$ac_exeext
40784 if { (ac_try="$ac_link"
40785 case "(($ac_try" in
40786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40787 *) ac_try_echo=$ac_try;;
40788 esac
40789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40790 (eval "$ac_link") 2>conftest.er1
40791 ac_status=$?
40792 grep -v '^ *+' conftest.er1 >conftest.err
40793 rm -f conftest.er1
40794 cat conftest.err >&5
40795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40796 (exit $ac_status); } && {
40797 test -z "$ac_c_werror_flag" ||
40798 test ! -s conftest.err
40799 } && test -s conftest$ac_exeext &&
40800 $as_test_x conftest$ac_exeext; then
40801 ac_cv_lib_posix4_sched_yield=yes
40802 else
40803 echo "$as_me: failed program was:" >&5
40804 sed 's/^/| /' conftest.$ac_ext >&5
40805
40806 ac_cv_lib_posix4_sched_yield=no
40807 fi
40808
40809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40810 conftest$ac_exeext conftest.$ac_ext
40811 LIBS=$ac_check_lib_save_LIBS
40812 fi
40813 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40814 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40815 if test $ac_cv_lib_posix4_sched_yield = yes; then
40816 cat >>confdefs.h <<\_ACEOF
40817 #define HAVE_SCHED_YIELD 1
40818 _ACEOF
40819 POSIX4_LINK=" -lposix4"
40820 else
40821 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40822 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40823
40824 fi
40825
40826
40827
40828 fi
40829
40830 fi
40831
40832 HAVE_PRIOR_FUNCS=0
40833 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40834 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40835 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40836 echo $ECHO_N "(cached) $ECHO_C" >&6
40837 else
40838 cat >conftest.$ac_ext <<_ACEOF
40839 /* confdefs.h. */
40840 _ACEOF
40841 cat confdefs.h >>conftest.$ac_ext
40842 cat >>conftest.$ac_ext <<_ACEOF
40843 /* end confdefs.h. */
40844 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40846 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40847
40848 /* System header to define __stub macros and hopefully few prototypes,
40849 which can conflict with char pthread_attr_getschedpolicy (); below.
40850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40851 <limits.h> exists even on freestanding compilers. */
40852
40853 #ifdef __STDC__
40854 # include <limits.h>
40855 #else
40856 # include <assert.h>
40857 #endif
40858
40859 #undef pthread_attr_getschedpolicy
40860
40861 /* Override any GCC internal prototype to avoid an error.
40862 Use char because int might match the return type of a GCC
40863 builtin and then its argument prototype would still apply. */
40864 #ifdef __cplusplus
40865 extern "C"
40866 #endif
40867 char pthread_attr_getschedpolicy ();
40868 /* The GNU C library defines this for functions which it implements
40869 to always fail with ENOSYS. Some functions are actually named
40870 something starting with __ and the normal name is an alias. */
40871 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40872 choke me
40873 #endif
40874
40875 int
40876 main ()
40877 {
40878 return pthread_attr_getschedpolicy ();
40879 ;
40880 return 0;
40881 }
40882 _ACEOF
40883 rm -f conftest.$ac_objext conftest$ac_exeext
40884 if { (ac_try="$ac_link"
40885 case "(($ac_try" in
40886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40887 *) ac_try_echo=$ac_try;;
40888 esac
40889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40890 (eval "$ac_link") 2>conftest.er1
40891 ac_status=$?
40892 grep -v '^ *+' conftest.er1 >conftest.err
40893 rm -f conftest.er1
40894 cat conftest.err >&5
40895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40896 (exit $ac_status); } && {
40897 test -z "$ac_c_werror_flag" ||
40898 test ! -s conftest.err
40899 } && test -s conftest$ac_exeext &&
40900 $as_test_x conftest$ac_exeext; then
40901 ac_cv_func_pthread_attr_getschedpolicy=yes
40902 else
40903 echo "$as_me: failed program was:" >&5
40904 sed 's/^/| /' conftest.$ac_ext >&5
40905
40906 ac_cv_func_pthread_attr_getschedpolicy=no
40907 fi
40908
40909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40910 conftest$ac_exeext conftest.$ac_ext
40911 fi
40912 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40913 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40914 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40915 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40916 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40917 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40918 echo $ECHO_N "(cached) $ECHO_C" >&6
40919 else
40920 cat >conftest.$ac_ext <<_ACEOF
40921 /* confdefs.h. */
40922 _ACEOF
40923 cat confdefs.h >>conftest.$ac_ext
40924 cat >>conftest.$ac_ext <<_ACEOF
40925 /* end confdefs.h. */
40926 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40928 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40929
40930 /* System header to define __stub macros and hopefully few prototypes,
40931 which can conflict with char pthread_attr_setschedparam (); below.
40932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40933 <limits.h> exists even on freestanding compilers. */
40934
40935 #ifdef __STDC__
40936 # include <limits.h>
40937 #else
40938 # include <assert.h>
40939 #endif
40940
40941 #undef pthread_attr_setschedparam
40942
40943 /* Override any GCC internal prototype to avoid an error.
40944 Use char because int might match the return type of a GCC
40945 builtin and then its argument prototype would still apply. */
40946 #ifdef __cplusplus
40947 extern "C"
40948 #endif
40949 char pthread_attr_setschedparam ();
40950 /* The GNU C library defines this for functions which it implements
40951 to always fail with ENOSYS. Some functions are actually named
40952 something starting with __ and the normal name is an alias. */
40953 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
40954 choke me
40955 #endif
40956
40957 int
40958 main ()
40959 {
40960 return pthread_attr_setschedparam ();
40961 ;
40962 return 0;
40963 }
40964 _ACEOF
40965 rm -f conftest.$ac_objext conftest$ac_exeext
40966 if { (ac_try="$ac_link"
40967 case "(($ac_try" in
40968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40969 *) ac_try_echo=$ac_try;;
40970 esac
40971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40972 (eval "$ac_link") 2>conftest.er1
40973 ac_status=$?
40974 grep -v '^ *+' conftest.er1 >conftest.err
40975 rm -f conftest.er1
40976 cat conftest.err >&5
40977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40978 (exit $ac_status); } && {
40979 test -z "$ac_c_werror_flag" ||
40980 test ! -s conftest.err
40981 } && test -s conftest$ac_exeext &&
40982 $as_test_x conftest$ac_exeext; then
40983 ac_cv_func_pthread_attr_setschedparam=yes
40984 else
40985 echo "$as_me: failed program was:" >&5
40986 sed 's/^/| /' conftest.$ac_ext >&5
40987
40988 ac_cv_func_pthread_attr_setschedparam=no
40989 fi
40990
40991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40992 conftest$ac_exeext conftest.$ac_ext
40993 fi
40994 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40995 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
40996 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40997 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40998 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
40999 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41000 echo $ECHO_N "(cached) $ECHO_C" >&6
41001 else
41002 cat >conftest.$ac_ext <<_ACEOF
41003 /* confdefs.h. */
41004 _ACEOF
41005 cat confdefs.h >>conftest.$ac_ext
41006 cat >>conftest.$ac_ext <<_ACEOF
41007 /* end confdefs.h. */
41008 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41010 #define sched_get_priority_max innocuous_sched_get_priority_max
41011
41012 /* System header to define __stub macros and hopefully few prototypes,
41013 which can conflict with char sched_get_priority_max (); below.
41014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41015 <limits.h> exists even on freestanding compilers. */
41016
41017 #ifdef __STDC__
41018 # include <limits.h>
41019 #else
41020 # include <assert.h>
41021 #endif
41022
41023 #undef sched_get_priority_max
41024
41025 /* Override any GCC internal prototype to avoid an error.
41026 Use char because int might match the return type of a GCC
41027 builtin and then its argument prototype would still apply. */
41028 #ifdef __cplusplus
41029 extern "C"
41030 #endif
41031 char sched_get_priority_max ();
41032 /* The GNU C library defines this for functions which it implements
41033 to always fail with ENOSYS. Some functions are actually named
41034 something starting with __ and the normal name is an alias. */
41035 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41036 choke me
41037 #endif
41038
41039 int
41040 main ()
41041 {
41042 return sched_get_priority_max ();
41043 ;
41044 return 0;
41045 }
41046 _ACEOF
41047 rm -f conftest.$ac_objext conftest$ac_exeext
41048 if { (ac_try="$ac_link"
41049 case "(($ac_try" in
41050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41051 *) ac_try_echo=$ac_try;;
41052 esac
41053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41054 (eval "$ac_link") 2>conftest.er1
41055 ac_status=$?
41056 grep -v '^ *+' conftest.er1 >conftest.err
41057 rm -f conftest.er1
41058 cat conftest.err >&5
41059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41060 (exit $ac_status); } && {
41061 test -z "$ac_c_werror_flag" ||
41062 test ! -s conftest.err
41063 } && test -s conftest$ac_exeext &&
41064 $as_test_x conftest$ac_exeext; then
41065 ac_cv_func_sched_get_priority_max=yes
41066 else
41067 echo "$as_me: failed program was:" >&5
41068 sed 's/^/| /' conftest.$ac_ext >&5
41069
41070 ac_cv_func_sched_get_priority_max=no
41071 fi
41072
41073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41074 conftest$ac_exeext conftest.$ac_ext
41075 fi
41076 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41077 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41078 if test $ac_cv_func_sched_get_priority_max = yes; then
41079 HAVE_PRIOR_FUNCS=1
41080 else
41081 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41082 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41083 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41084 echo $ECHO_N "(cached) $ECHO_C" >&6
41085 else
41086 ac_check_lib_save_LIBS=$LIBS
41087 LIBS="-lposix4 $LIBS"
41088 cat >conftest.$ac_ext <<_ACEOF
41089 /* confdefs.h. */
41090 _ACEOF
41091 cat confdefs.h >>conftest.$ac_ext
41092 cat >>conftest.$ac_ext <<_ACEOF
41093 /* end confdefs.h. */
41094
41095 /* Override any GCC internal prototype to avoid an error.
41096 Use char because int might match the return type of a GCC
41097 builtin and then its argument prototype would still apply. */
41098 #ifdef __cplusplus
41099 extern "C"
41100 #endif
41101 char sched_get_priority_max ();
41102 int
41103 main ()
41104 {
41105 return sched_get_priority_max ();
41106 ;
41107 return 0;
41108 }
41109 _ACEOF
41110 rm -f conftest.$ac_objext conftest$ac_exeext
41111 if { (ac_try="$ac_link"
41112 case "(($ac_try" in
41113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41114 *) ac_try_echo=$ac_try;;
41115 esac
41116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41117 (eval "$ac_link") 2>conftest.er1
41118 ac_status=$?
41119 grep -v '^ *+' conftest.er1 >conftest.err
41120 rm -f conftest.er1
41121 cat conftest.err >&5
41122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41123 (exit $ac_status); } && {
41124 test -z "$ac_c_werror_flag" ||
41125 test ! -s conftest.err
41126 } && test -s conftest$ac_exeext &&
41127 $as_test_x conftest$ac_exeext; then
41128 ac_cv_lib_posix4_sched_get_priority_max=yes
41129 else
41130 echo "$as_me: failed program was:" >&5
41131 sed 's/^/| /' conftest.$ac_ext >&5
41132
41133 ac_cv_lib_posix4_sched_get_priority_max=no
41134 fi
41135
41136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41137 conftest$ac_exeext conftest.$ac_ext
41138 LIBS=$ac_check_lib_save_LIBS
41139 fi
41140 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41141 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41142 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41143
41144 HAVE_PRIOR_FUNCS=1
41145 POSIX4_LINK=" -lposix4"
41146
41147 fi
41148
41149
41150 fi
41151
41152
41153 fi
41154
41155
41156 fi
41157
41158
41159 if test "$HAVE_PRIOR_FUNCS" = 1; then
41160 cat >>confdefs.h <<\_ACEOF
41161 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41162 _ACEOF
41163
41164 else
41165 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41166 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41167 fi
41168
41169 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41170 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41171 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41172 echo $ECHO_N "(cached) $ECHO_C" >&6
41173 else
41174 cat >conftest.$ac_ext <<_ACEOF
41175 /* confdefs.h. */
41176 _ACEOF
41177 cat confdefs.h >>conftest.$ac_ext
41178 cat >>conftest.$ac_ext <<_ACEOF
41179 /* end confdefs.h. */
41180 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41182 #define pthread_cancel innocuous_pthread_cancel
41183
41184 /* System header to define __stub macros and hopefully few prototypes,
41185 which can conflict with char pthread_cancel (); below.
41186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41187 <limits.h> exists even on freestanding compilers. */
41188
41189 #ifdef __STDC__
41190 # include <limits.h>
41191 #else
41192 # include <assert.h>
41193 #endif
41194
41195 #undef pthread_cancel
41196
41197 /* Override any GCC internal prototype to avoid an error.
41198 Use char because int might match the return type of a GCC
41199 builtin and then its argument prototype would still apply. */
41200 #ifdef __cplusplus
41201 extern "C"
41202 #endif
41203 char pthread_cancel ();
41204 /* The GNU C library defines this for functions which it implements
41205 to always fail with ENOSYS. Some functions are actually named
41206 something starting with __ and the normal name is an alias. */
41207 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41208 choke me
41209 #endif
41210
41211 int
41212 main ()
41213 {
41214 return pthread_cancel ();
41215 ;
41216 return 0;
41217 }
41218 _ACEOF
41219 rm -f conftest.$ac_objext conftest$ac_exeext
41220 if { (ac_try="$ac_link"
41221 case "(($ac_try" in
41222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41223 *) ac_try_echo=$ac_try;;
41224 esac
41225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41226 (eval "$ac_link") 2>conftest.er1
41227 ac_status=$?
41228 grep -v '^ *+' conftest.er1 >conftest.err
41229 rm -f conftest.er1
41230 cat conftest.err >&5
41231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41232 (exit $ac_status); } && {
41233 test -z "$ac_c_werror_flag" ||
41234 test ! -s conftest.err
41235 } && test -s conftest$ac_exeext &&
41236 $as_test_x conftest$ac_exeext; then
41237 ac_cv_func_pthread_cancel=yes
41238 else
41239 echo "$as_me: failed program was:" >&5
41240 sed 's/^/| /' conftest.$ac_ext >&5
41241
41242 ac_cv_func_pthread_cancel=no
41243 fi
41244
41245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41246 conftest$ac_exeext conftest.$ac_ext
41247 fi
41248 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41249 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41250 if test $ac_cv_func_pthread_cancel = yes; then
41251 cat >>confdefs.h <<\_ACEOF
41252 #define HAVE_PTHREAD_CANCEL 1
41253 _ACEOF
41254
41255 else
41256 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41257 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41258 fi
41259
41260
41261 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41262 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41263 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41264 echo $ECHO_N "(cached) $ECHO_C" >&6
41265 else
41266 cat >conftest.$ac_ext <<_ACEOF
41267 /* confdefs.h. */
41268 _ACEOF
41269 cat confdefs.h >>conftest.$ac_ext
41270 cat >>conftest.$ac_ext <<_ACEOF
41271 /* end confdefs.h. */
41272 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41274 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41275
41276 /* System header to define __stub macros and hopefully few prototypes,
41277 which can conflict with char pthread_attr_setstacksize (); below.
41278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41279 <limits.h> exists even on freestanding compilers. */
41280
41281 #ifdef __STDC__
41282 # include <limits.h>
41283 #else
41284 # include <assert.h>
41285 #endif
41286
41287 #undef pthread_attr_setstacksize
41288
41289 /* Override any GCC internal prototype to avoid an error.
41290 Use char because int might match the return type of a GCC
41291 builtin and then its argument prototype would still apply. */
41292 #ifdef __cplusplus
41293 extern "C"
41294 #endif
41295 char pthread_attr_setstacksize ();
41296 /* The GNU C library defines this for functions which it implements
41297 to always fail with ENOSYS. Some functions are actually named
41298 something starting with __ and the normal name is an alias. */
41299 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41300 choke me
41301 #endif
41302
41303 int
41304 main ()
41305 {
41306 return pthread_attr_setstacksize ();
41307 ;
41308 return 0;
41309 }
41310 _ACEOF
41311 rm -f conftest.$ac_objext conftest$ac_exeext
41312 if { (ac_try="$ac_link"
41313 case "(($ac_try" in
41314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41315 *) ac_try_echo=$ac_try;;
41316 esac
41317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41318 (eval "$ac_link") 2>conftest.er1
41319 ac_status=$?
41320 grep -v '^ *+' conftest.er1 >conftest.err
41321 rm -f conftest.er1
41322 cat conftest.err >&5
41323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41324 (exit $ac_status); } && {
41325 test -z "$ac_c_werror_flag" ||
41326 test ! -s conftest.err
41327 } && test -s conftest$ac_exeext &&
41328 $as_test_x conftest$ac_exeext; then
41329 ac_cv_func_pthread_attr_setstacksize=yes
41330 else
41331 echo "$as_me: failed program was:" >&5
41332 sed 's/^/| /' conftest.$ac_ext >&5
41333
41334 ac_cv_func_pthread_attr_setstacksize=no
41335 fi
41336
41337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41338 conftest$ac_exeext conftest.$ac_ext
41339 fi
41340 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41341 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41342 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41343 cat >>confdefs.h <<\_ACEOF
41344 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41345 _ACEOF
41346
41347 fi
41348
41349
41350
41351 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41352 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41353 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41354 echo $ECHO_N "(cached) $ECHO_C" >&6
41355 else
41356
41357 cat >conftest.$ac_ext <<_ACEOF
41358 /* confdefs.h. */
41359 _ACEOF
41360 cat confdefs.h >>conftest.$ac_ext
41361 cat >>conftest.$ac_ext <<_ACEOF
41362 /* end confdefs.h. */
41363 #include <pthread.h>
41364 int
41365 main ()
41366 {
41367
41368 pthread_mutexattr_t attr;
41369 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41370
41371 ;
41372 return 0;
41373 }
41374 _ACEOF
41375 rm -f conftest.$ac_objext
41376 if { (ac_try="$ac_compile"
41377 case "(($ac_try" in
41378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41379 *) ac_try_echo=$ac_try;;
41380 esac
41381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41382 (eval "$ac_compile") 2>conftest.er1
41383 ac_status=$?
41384 grep -v '^ *+' conftest.er1 >conftest.err
41385 rm -f conftest.er1
41386 cat conftest.err >&5
41387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41388 (exit $ac_status); } && {
41389 test -z "$ac_c_werror_flag" ||
41390 test ! -s conftest.err
41391 } && test -s conftest.$ac_objext; then
41392 wx_cv_type_pthread_mutexattr_t=yes
41393 else
41394 echo "$as_me: failed program was:" >&5
41395 sed 's/^/| /' conftest.$ac_ext >&5
41396
41397 wx_cv_type_pthread_mutexattr_t=no
41398
41399 fi
41400
41401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41402
41403 fi
41404 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41405 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41406
41407 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41408 cat >>confdefs.h <<\_ACEOF
41409 #define HAVE_PTHREAD_MUTEXATTR_T 1
41410 _ACEOF
41411
41412
41413 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41414 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41415 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41416 echo $ECHO_N "(cached) $ECHO_C" >&6
41417 else
41418
41419 cat >conftest.$ac_ext <<_ACEOF
41420 /* confdefs.h. */
41421 _ACEOF
41422 cat confdefs.h >>conftest.$ac_ext
41423 cat >>conftest.$ac_ext <<_ACEOF
41424 /* end confdefs.h. */
41425 #include <pthread.h>
41426 int
41427 main ()
41428 {
41429
41430 pthread_mutexattr_t attr;
41431 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41432
41433 ;
41434 return 0;
41435 }
41436 _ACEOF
41437 rm -f conftest.$ac_objext
41438 if { (ac_try="$ac_compile"
41439 case "(($ac_try" in
41440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41441 *) ac_try_echo=$ac_try;;
41442 esac
41443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41444 (eval "$ac_compile") 2>conftest.er1
41445 ac_status=$?
41446 grep -v '^ *+' conftest.er1 >conftest.err
41447 rm -f conftest.er1
41448 cat conftest.err >&5
41449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41450 (exit $ac_status); } && {
41451 test -z "$ac_c_werror_flag" ||
41452 test ! -s conftest.err
41453 } && test -s conftest.$ac_objext; then
41454 wx_cv_func_pthread_mutexattr_settype_decl=yes
41455 else
41456 echo "$as_me: failed program was:" >&5
41457 sed 's/^/| /' conftest.$ac_ext >&5
41458
41459 wx_cv_func_pthread_mutexattr_settype_decl=no
41460
41461 fi
41462
41463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41464
41465 fi
41466 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41467 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41468 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41469 cat >>confdefs.h <<\_ACEOF
41470 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41471 _ACEOF
41472
41473 fi
41474 else
41475 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41476 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41477 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41478 echo $ECHO_N "(cached) $ECHO_C" >&6
41479 else
41480
41481 cat >conftest.$ac_ext <<_ACEOF
41482 /* confdefs.h. */
41483 _ACEOF
41484 cat confdefs.h >>conftest.$ac_ext
41485 cat >>conftest.$ac_ext <<_ACEOF
41486 /* end confdefs.h. */
41487 #include <pthread.h>
41488 int
41489 main ()
41490 {
41491
41492 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41493
41494 ;
41495 return 0;
41496 }
41497 _ACEOF
41498 rm -f conftest.$ac_objext
41499 if { (ac_try="$ac_compile"
41500 case "(($ac_try" in
41501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41502 *) ac_try_echo=$ac_try;;
41503 esac
41504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41505 (eval "$ac_compile") 2>conftest.er1
41506 ac_status=$?
41507 grep -v '^ *+' conftest.er1 >conftest.err
41508 rm -f conftest.er1
41509 cat conftest.err >&5
41510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41511 (exit $ac_status); } && {
41512 test -z "$ac_c_werror_flag" ||
41513 test ! -s conftest.err
41514 } && test -s conftest.$ac_objext; then
41515
41516 wx_cv_type_pthread_rec_mutex_init=yes
41517
41518 else
41519 echo "$as_me: failed program was:" >&5
41520 sed 's/^/| /' conftest.$ac_ext >&5
41521
41522
41523 wx_cv_type_pthread_rec_mutex_init=no
41524
41525
41526 fi
41527
41528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41529
41530 fi
41531 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41532 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41533 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41534 cat >>confdefs.h <<\_ACEOF
41535 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41536 _ACEOF
41537
41538 else
41539 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41540 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41541 fi
41542 fi
41543 fi
41544
41545 else
41546 if test "$wxUSE_THREADS" = "yes" ; then
41547 case "${host}" in
41548 *-*-mingw32* )
41549 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41550 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41551 if test "${wx_cv_cflags_mthread+set}" = set; then
41552 echo $ECHO_N "(cached) $ECHO_C" >&6
41553 else
41554
41555 CFLAGS_OLD="$CFLAGS"
41556 CFLAGS="-mthreads $CFLAGS"
41557 cat >conftest.$ac_ext <<_ACEOF
41558 /* confdefs.h. */
41559 _ACEOF
41560 cat confdefs.h >>conftest.$ac_ext
41561 cat >>conftest.$ac_ext <<_ACEOF
41562 /* end confdefs.h. */
41563
41564 int
41565 main ()
41566 {
41567
41568 ;
41569 return 0;
41570 }
41571 _ACEOF
41572 rm -f conftest.$ac_objext
41573 if { (ac_try="$ac_compile"
41574 case "(($ac_try" in
41575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41576 *) ac_try_echo=$ac_try;;
41577 esac
41578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41579 (eval "$ac_compile") 2>conftest.er1
41580 ac_status=$?
41581 grep -v '^ *+' conftest.er1 >conftest.err
41582 rm -f conftest.er1
41583 cat conftest.err >&5
41584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41585 (exit $ac_status); } && {
41586 test -z "$ac_c_werror_flag" ||
41587 test ! -s conftest.err
41588 } && test -s conftest.$ac_objext; then
41589 wx_cv_cflags_mthread=yes
41590 else
41591 echo "$as_me: failed program was:" >&5
41592 sed 's/^/| /' conftest.$ac_ext >&5
41593
41594 wx_cv_cflags_mthread=no
41595
41596 fi
41597
41598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41599
41600
41601 fi
41602 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41603 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41604
41605 if test "$wx_cv_cflags_mthread" = "yes"; then
41606 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
41607 LDFLAGS="$LDFLAGS -mthreads"
41608 else
41609 CFLAGS="$CFLAGS_OLD"
41610 fi
41611 ;;
41612 *-pc-os2*emx )
41613 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41614 LDFLAGS="$LDFLAGS -Zmt"
41615 ;;
41616 esac
41617 fi
41618 fi
41619
41620 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41621 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41622 if test "${ac_cv_func_localtime_r+set}" = set; then
41623 echo $ECHO_N "(cached) $ECHO_C" >&6
41624 else
41625 cat >conftest.$ac_ext <<_ACEOF
41626 /* confdefs.h. */
41627 _ACEOF
41628 cat confdefs.h >>conftest.$ac_ext
41629 cat >>conftest.$ac_ext <<_ACEOF
41630 /* end confdefs.h. */
41631 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41633 #define localtime_r innocuous_localtime_r
41634
41635 /* System header to define __stub macros and hopefully few prototypes,
41636 which can conflict with char localtime_r (); below.
41637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41638 <limits.h> exists even on freestanding compilers. */
41639
41640 #ifdef __STDC__
41641 # include <limits.h>
41642 #else
41643 # include <assert.h>
41644 #endif
41645
41646 #undef localtime_r
41647
41648 /* Override any GCC internal prototype to avoid an error.
41649 Use char because int might match the return type of a GCC
41650 builtin and then its argument prototype would still apply. */
41651 #ifdef __cplusplus
41652 extern "C"
41653 #endif
41654 char localtime_r ();
41655 /* The GNU C library defines this for functions which it implements
41656 to always fail with ENOSYS. Some functions are actually named
41657 something starting with __ and the normal name is an alias. */
41658 #if defined __stub_localtime_r || defined __stub___localtime_r
41659 choke me
41660 #endif
41661
41662 int
41663 main ()
41664 {
41665 return localtime_r ();
41666 ;
41667 return 0;
41668 }
41669 _ACEOF
41670 rm -f conftest.$ac_objext conftest$ac_exeext
41671 if { (ac_try="$ac_link"
41672 case "(($ac_try" in
41673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41674 *) ac_try_echo=$ac_try;;
41675 esac
41676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41677 (eval "$ac_link") 2>conftest.er1
41678 ac_status=$?
41679 grep -v '^ *+' conftest.er1 >conftest.err
41680 rm -f conftest.er1
41681 cat conftest.err >&5
41682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41683 (exit $ac_status); } && {
41684 test -z "$ac_c_werror_flag" ||
41685 test ! -s conftest.err
41686 } && test -s conftest$ac_exeext &&
41687 $as_test_x conftest$ac_exeext; then
41688 ac_cv_func_localtime_r=yes
41689 else
41690 echo "$as_me: failed program was:" >&5
41691 sed 's/^/| /' conftest.$ac_ext >&5
41692
41693 ac_cv_func_localtime_r=no
41694 fi
41695
41696 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41697 conftest$ac_exeext conftest.$ac_ext
41698 fi
41699 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41700 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
41701 if test $ac_cv_func_localtime_r = yes; then
41702 cat >>confdefs.h <<\_ACEOF
41703 #define HAVE_LOCALTIME_R 1
41704 _ACEOF
41705
41706 fi
41707
41708 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
41709 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
41710 if test "${ac_cv_func_gmtime_r+set}" = set; then
41711 echo $ECHO_N "(cached) $ECHO_C" >&6
41712 else
41713 cat >conftest.$ac_ext <<_ACEOF
41714 /* confdefs.h. */
41715 _ACEOF
41716 cat confdefs.h >>conftest.$ac_ext
41717 cat >>conftest.$ac_ext <<_ACEOF
41718 /* end confdefs.h. */
41719 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41721 #define gmtime_r innocuous_gmtime_r
41722
41723 /* System header to define __stub macros and hopefully few prototypes,
41724 which can conflict with char gmtime_r (); below.
41725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41726 <limits.h> exists even on freestanding compilers. */
41727
41728 #ifdef __STDC__
41729 # include <limits.h>
41730 #else
41731 # include <assert.h>
41732 #endif
41733
41734 #undef gmtime_r
41735
41736 /* Override any GCC internal prototype to avoid an error.
41737 Use char because int might match the return type of a GCC
41738 builtin and then its argument prototype would still apply. */
41739 #ifdef __cplusplus
41740 extern "C"
41741 #endif
41742 char gmtime_r ();
41743 /* The GNU C library defines this for functions which it implements
41744 to always fail with ENOSYS. Some functions are actually named
41745 something starting with __ and the normal name is an alias. */
41746 #if defined __stub_gmtime_r || defined __stub___gmtime_r
41747 choke me
41748 #endif
41749
41750 int
41751 main ()
41752 {
41753 return gmtime_r ();
41754 ;
41755 return 0;
41756 }
41757 _ACEOF
41758 rm -f conftest.$ac_objext conftest$ac_exeext
41759 if { (ac_try="$ac_link"
41760 case "(($ac_try" in
41761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41762 *) ac_try_echo=$ac_try;;
41763 esac
41764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41765 (eval "$ac_link") 2>conftest.er1
41766 ac_status=$?
41767 grep -v '^ *+' conftest.er1 >conftest.err
41768 rm -f conftest.er1
41769 cat conftest.err >&5
41770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41771 (exit $ac_status); } && {
41772 test -z "$ac_c_werror_flag" ||
41773 test ! -s conftest.err
41774 } && test -s conftest$ac_exeext &&
41775 $as_test_x conftest$ac_exeext; then
41776 ac_cv_func_gmtime_r=yes
41777 else
41778 echo "$as_me: failed program was:" >&5
41779 sed 's/^/| /' conftest.$ac_ext >&5
41780
41781 ac_cv_func_gmtime_r=no
41782 fi
41783
41784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41785 conftest$ac_exeext conftest.$ac_ext
41786 fi
41787 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41788 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41789 if test $ac_cv_func_gmtime_r = yes; then
41790 cat >>confdefs.h <<\_ACEOF
41791 #define HAVE_GMTIME_R 1
41792 _ACEOF
41793
41794 fi
41795
41796 { echo "$as_me:$LINENO: checking for readdir_r" >&5
41797 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
41798 if test "${ac_cv_func_readdir_r+set}" = set; then
41799 echo $ECHO_N "(cached) $ECHO_C" >&6
41800 else
41801 cat >conftest.$ac_ext <<_ACEOF
41802 /* confdefs.h. */
41803 _ACEOF
41804 cat confdefs.h >>conftest.$ac_ext
41805 cat >>conftest.$ac_ext <<_ACEOF
41806 /* end confdefs.h. */
41807 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
41808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41809 #define readdir_r innocuous_readdir_r
41810
41811 /* System header to define __stub macros and hopefully few prototypes,
41812 which can conflict with char readdir_r (); below.
41813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41814 <limits.h> exists even on freestanding compilers. */
41815
41816 #ifdef __STDC__
41817 # include <limits.h>
41818 #else
41819 # include <assert.h>
41820 #endif
41821
41822 #undef readdir_r
41823
41824 /* Override any GCC internal prototype to avoid an error.
41825 Use char because int might match the return type of a GCC
41826 builtin and then its argument prototype would still apply. */
41827 #ifdef __cplusplus
41828 extern "C"
41829 #endif
41830 char readdir_r ();
41831 /* The GNU C library defines this for functions which it implements
41832 to always fail with ENOSYS. Some functions are actually named
41833 something starting with __ and the normal name is an alias. */
41834 #if defined __stub_readdir_r || defined __stub___readdir_r
41835 choke me
41836 #endif
41837
41838 int
41839 main ()
41840 {
41841 return readdir_r ();
41842 ;
41843 return 0;
41844 }
41845 _ACEOF
41846 rm -f conftest.$ac_objext conftest$ac_exeext
41847 if { (ac_try="$ac_link"
41848 case "(($ac_try" in
41849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41850 *) ac_try_echo=$ac_try;;
41851 esac
41852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41853 (eval "$ac_link") 2>conftest.er1
41854 ac_status=$?
41855 grep -v '^ *+' conftest.er1 >conftest.err
41856 rm -f conftest.er1
41857 cat conftest.err >&5
41858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41859 (exit $ac_status); } && {
41860 test -z "$ac_c_werror_flag" ||
41861 test ! -s conftest.err
41862 } && test -s conftest$ac_exeext &&
41863 $as_test_x conftest$ac_exeext; then
41864 ac_cv_func_readdir_r=yes
41865 else
41866 echo "$as_me: failed program was:" >&5
41867 sed 's/^/| /' conftest.$ac_ext >&5
41868
41869 ac_cv_func_readdir_r=no
41870 fi
41871
41872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41873 conftest$ac_exeext conftest.$ac_ext
41874 fi
41875 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
41876 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
41877 if test $ac_cv_func_readdir_r = yes; then
41878 cat >>confdefs.h <<\_ACEOF
41879 #define HAVE_READDIR_R 1
41880 _ACEOF
41881
41882 fi
41883
41884
41885
41886
41887 ac_ext=c
41888 ac_cpp='$CPP $CPPFLAGS'
41889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41892
41893 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41894 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41895
41896 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41897 echo $ECHO_N "(cached) $ECHO_C" >&6
41898 else
41899
41900
41901 ################################################################
41902
41903 ac_cv_func_which_gethostbyname_r=unknown
41904
41905 #
41906 # ONE ARGUMENT (sanity check)
41907 #
41908
41909 # This should fail, as there is no variant of gethostbyname_r() that takes
41910 # a single argument. If it actually compiles, then we can assume that
41911 # netdb.h is not declaring the function, and the compiler is thereby
41912 # assuming an implicit prototype. In which case, we're out of luck.
41913 #
41914 cat >conftest.$ac_ext <<_ACEOF
41915 /* confdefs.h. */
41916 _ACEOF
41917 cat confdefs.h >>conftest.$ac_ext
41918 cat >>conftest.$ac_ext <<_ACEOF
41919 /* end confdefs.h. */
41920 #include <netdb.h>
41921 int
41922 main ()
41923 {
41924
41925 char *name = "www.gnu.org";
41926 (void)gethostbyname_r(name) /* ; */
41927
41928 ;
41929 return 0;
41930 }
41931 _ACEOF
41932 rm -f conftest.$ac_objext
41933 if { (ac_try="$ac_compile"
41934 case "(($ac_try" in
41935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41936 *) ac_try_echo=$ac_try;;
41937 esac
41938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41939 (eval "$ac_compile") 2>conftest.er1
41940 ac_status=$?
41941 grep -v '^ *+' conftest.er1 >conftest.err
41942 rm -f conftest.er1
41943 cat conftest.err >&5
41944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41945 (exit $ac_status); } && {
41946 test -z "$ac_c_werror_flag" ||
41947 test ! -s conftest.err
41948 } && test -s conftest.$ac_objext; then
41949 ac_cv_func_which_gethostbyname_r=no
41950 else
41951 echo "$as_me: failed program was:" >&5
41952 sed 's/^/| /' conftest.$ac_ext >&5
41953
41954
41955 fi
41956
41957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41958
41959 #
41960 # SIX ARGUMENTS
41961 # (e.g. Linux)
41962 #
41963
41964 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41965
41966 cat >conftest.$ac_ext <<_ACEOF
41967 /* confdefs.h. */
41968 _ACEOF
41969 cat confdefs.h >>conftest.$ac_ext
41970 cat >>conftest.$ac_ext <<_ACEOF
41971 /* end confdefs.h. */
41972 #include <netdb.h>
41973 int
41974 main ()
41975 {
41976
41977 char *name = "www.gnu.org";
41978 struct hostent ret, *retp;
41979 char buf[1024];
41980 int buflen = 1024;
41981 int my_h_errno;
41982 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41983
41984 ;
41985 return 0;
41986 }
41987 _ACEOF
41988 rm -f conftest.$ac_objext
41989 if { (ac_try="$ac_compile"
41990 case "(($ac_try" in
41991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41992 *) ac_try_echo=$ac_try;;
41993 esac
41994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41995 (eval "$ac_compile") 2>conftest.er1
41996 ac_status=$?
41997 grep -v '^ *+' conftest.er1 >conftest.err
41998 rm -f conftest.er1
41999 cat conftest.err >&5
42000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42001 (exit $ac_status); } && {
42002 test -z "$ac_c_werror_flag" ||
42003 test ! -s conftest.err
42004 } && test -s conftest.$ac_objext; then
42005 ac_cv_func_which_gethostbyname_r=six
42006 else
42007 echo "$as_me: failed program was:" >&5
42008 sed 's/^/| /' conftest.$ac_ext >&5
42009
42010
42011 fi
42012
42013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42014
42015 fi
42016
42017 #
42018 # FIVE ARGUMENTS
42019 # (e.g. Solaris)
42020 #
42021
42022 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42023
42024 cat >conftest.$ac_ext <<_ACEOF
42025 /* confdefs.h. */
42026 _ACEOF
42027 cat confdefs.h >>conftest.$ac_ext
42028 cat >>conftest.$ac_ext <<_ACEOF
42029 /* end confdefs.h. */
42030 #include <netdb.h>
42031 int
42032 main ()
42033 {
42034
42035 char *name = "www.gnu.org";
42036 struct hostent ret;
42037 char buf[1024];
42038 int buflen = 1024;
42039 int my_h_errno;
42040 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42041
42042 ;
42043 return 0;
42044 }
42045 _ACEOF
42046 rm -f conftest.$ac_objext
42047 if { (ac_try="$ac_compile"
42048 case "(($ac_try" in
42049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42050 *) ac_try_echo=$ac_try;;
42051 esac
42052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42053 (eval "$ac_compile") 2>conftest.er1
42054 ac_status=$?
42055 grep -v '^ *+' conftest.er1 >conftest.err
42056 rm -f conftest.er1
42057 cat conftest.err >&5
42058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42059 (exit $ac_status); } && {
42060 test -z "$ac_c_werror_flag" ||
42061 test ! -s conftest.err
42062 } && test -s conftest.$ac_objext; then
42063 ac_cv_func_which_gethostbyname_r=five
42064 else
42065 echo "$as_me: failed program was:" >&5
42066 sed 's/^/| /' conftest.$ac_ext >&5
42067
42068
42069 fi
42070
42071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42072
42073 fi
42074
42075 #
42076 # THREE ARGUMENTS
42077 # (e.g. AIX, HP-UX, Tru64)
42078 #
42079
42080 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42081
42082 cat >conftest.$ac_ext <<_ACEOF
42083 /* confdefs.h. */
42084 _ACEOF
42085 cat confdefs.h >>conftest.$ac_ext
42086 cat >>conftest.$ac_ext <<_ACEOF
42087 /* end confdefs.h. */
42088 #include <netdb.h>
42089 int
42090 main ()
42091 {
42092
42093 char *name = "www.gnu.org";
42094 struct hostent ret;
42095 struct hostent_data data;
42096 (void)gethostbyname_r(name, &ret, &data) /* ; */
42097
42098 ;
42099 return 0;
42100 }
42101 _ACEOF
42102 rm -f conftest.$ac_objext
42103 if { (ac_try="$ac_compile"
42104 case "(($ac_try" in
42105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42106 *) ac_try_echo=$ac_try;;
42107 esac
42108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42109 (eval "$ac_compile") 2>conftest.er1
42110 ac_status=$?
42111 grep -v '^ *+' conftest.er1 >conftest.err
42112 rm -f conftest.er1
42113 cat conftest.err >&5
42114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42115 (exit $ac_status); } && {
42116 test -z "$ac_c_werror_flag" ||
42117 test ! -s conftest.err
42118 } && test -s conftest.$ac_objext; then
42119 ac_cv_func_which_gethostbyname_r=three
42120 else
42121 echo "$as_me: failed program was:" >&5
42122 sed 's/^/| /' conftest.$ac_ext >&5
42123
42124
42125 fi
42126
42127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42128
42129 fi
42130
42131 ################################################################
42132
42133
42134 fi
42135
42136 case "$ac_cv_func_which_gethostbyname_r" in
42137 three)
42138 { echo "$as_me:$LINENO: result: three" >&5
42139 echo "${ECHO_T}three" >&6; }
42140 cat >>confdefs.h <<\_ACEOF
42141 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42142 _ACEOF
42143
42144 ;;
42145
42146 five)
42147 { echo "$as_me:$LINENO: result: five" >&5
42148 echo "${ECHO_T}five" >&6; }
42149 cat >>confdefs.h <<\_ACEOF
42150 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42151 _ACEOF
42152
42153 ;;
42154
42155 six)
42156 { echo "$as_me:$LINENO: result: six" >&5
42157 echo "${ECHO_T}six" >&6; }
42158 cat >>confdefs.h <<\_ACEOF
42159 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42160 _ACEOF
42161
42162 ;;
42163
42164 no)
42165 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42166 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42167 ;;
42168
42169 unknown)
42170 { echo "$as_me:$LINENO: result: can't tell" >&5
42171 echo "${ECHO_T}can't tell" >&6; }
42172 ;;
42173
42174 *)
42175 { { echo "$as_me:$LINENO: error: internal error" >&5
42176 echo "$as_me: error: internal error" >&2;}
42177 { (exit 1); exit 1; }; }
42178 ;;
42179 esac
42180
42181 ac_ext=c
42182 ac_cpp='$CPP $CPPFLAGS'
42183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42186
42187
42188
42189 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42190 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42191 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42192 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42193 if test "${ac_cv_func_gethostbyname+set}" = set; then
42194 echo $ECHO_N "(cached) $ECHO_C" >&6
42195 else
42196 cat >conftest.$ac_ext <<_ACEOF
42197 /* confdefs.h. */
42198 _ACEOF
42199 cat confdefs.h >>conftest.$ac_ext
42200 cat >>conftest.$ac_ext <<_ACEOF
42201 /* end confdefs.h. */
42202 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42204 #define gethostbyname innocuous_gethostbyname
42205
42206 /* System header to define __stub macros and hopefully few prototypes,
42207 which can conflict with char gethostbyname (); below.
42208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42209 <limits.h> exists even on freestanding compilers. */
42210
42211 #ifdef __STDC__
42212 # include <limits.h>
42213 #else
42214 # include <assert.h>
42215 #endif
42216
42217 #undef gethostbyname
42218
42219 /* Override any GCC internal prototype to avoid an error.
42220 Use char because int might match the return type of a GCC
42221 builtin and then its argument prototype would still apply. */
42222 #ifdef __cplusplus
42223 extern "C"
42224 #endif
42225 char gethostbyname ();
42226 /* The GNU C library defines this for functions which it implements
42227 to always fail with ENOSYS. Some functions are actually named
42228 something starting with __ and the normal name is an alias. */
42229 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42230 choke me
42231 #endif
42232
42233 int
42234 main ()
42235 {
42236 return gethostbyname ();
42237 ;
42238 return 0;
42239 }
42240 _ACEOF
42241 rm -f conftest.$ac_objext conftest$ac_exeext
42242 if { (ac_try="$ac_link"
42243 case "(($ac_try" in
42244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42245 *) ac_try_echo=$ac_try;;
42246 esac
42247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42248 (eval "$ac_link") 2>conftest.er1
42249 ac_status=$?
42250 grep -v '^ *+' conftest.er1 >conftest.err
42251 rm -f conftest.er1
42252 cat conftest.err >&5
42253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42254 (exit $ac_status); } && {
42255 test -z "$ac_c_werror_flag" ||
42256 test ! -s conftest.err
42257 } && test -s conftest$ac_exeext &&
42258 $as_test_x conftest$ac_exeext; then
42259 ac_cv_func_gethostbyname=yes
42260 else
42261 echo "$as_me: failed program was:" >&5
42262 sed 's/^/| /' conftest.$ac_ext >&5
42263
42264 ac_cv_func_gethostbyname=no
42265 fi
42266
42267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42268 conftest$ac_exeext conftest.$ac_ext
42269 fi
42270 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42271 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42272 if test $ac_cv_func_gethostbyname = yes; then
42273 cat >>confdefs.h <<\_ACEOF
42274 #define HAVE_GETHOSTBYNAME 1
42275 _ACEOF
42276
42277 fi
42278
42279 fi
42280
42281 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42282 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42283 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42284 echo $ECHO_N "(cached) $ECHO_C" >&6
42285 else
42286
42287 ac_ext=cpp
42288 ac_cpp='$CXXCPP $CPPFLAGS'
42289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42292
42293
42294 cat >conftest.$ac_ext <<_ACEOF
42295 /* confdefs.h. */
42296 _ACEOF
42297 cat confdefs.h >>conftest.$ac_ext
42298 cat >>conftest.$ac_ext <<_ACEOF
42299 /* end confdefs.h. */
42300 #include <netdb.h>
42301 int
42302 main ()
42303 {
42304
42305 char *name;
42306 char *proto;
42307 struct servent *se, *res;
42308 char buffer[2048];
42309 int buflen = 2048;
42310 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42311
42312 ;
42313 return 0;
42314 }
42315 _ACEOF
42316 rm -f conftest.$ac_objext
42317 if { (ac_try="$ac_compile"
42318 case "(($ac_try" in
42319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42320 *) ac_try_echo=$ac_try;;
42321 esac
42322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42323 (eval "$ac_compile") 2>conftest.er1
42324 ac_status=$?
42325 grep -v '^ *+' conftest.er1 >conftest.err
42326 rm -f conftest.er1
42327 cat conftest.err >&5
42328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42329 (exit $ac_status); } && {
42330 test -z "$ac_cxx_werror_flag" ||
42331 test ! -s conftest.err
42332 } && test -s conftest.$ac_objext; then
42333 ac_cv_func_which_getservbyname_r=six
42334 else
42335 echo "$as_me: failed program was:" >&5
42336 sed 's/^/| /' conftest.$ac_ext >&5
42337
42338
42339 cat >conftest.$ac_ext <<_ACEOF
42340 /* confdefs.h. */
42341 _ACEOF
42342 cat confdefs.h >>conftest.$ac_ext
42343 cat >>conftest.$ac_ext <<_ACEOF
42344 /* end confdefs.h. */
42345 #include <netdb.h>
42346 int
42347 main ()
42348 {
42349
42350 char *name;
42351 char *proto;
42352 struct servent *se;
42353 char buffer[2048];
42354 int buflen = 2048;
42355 (void) getservbyname_r(name, proto, se, buffer, buflen)
42356
42357 ;
42358 return 0;
42359 }
42360 _ACEOF
42361 rm -f conftest.$ac_objext
42362 if { (ac_try="$ac_compile"
42363 case "(($ac_try" in
42364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42365 *) ac_try_echo=$ac_try;;
42366 esac
42367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42368 (eval "$ac_compile") 2>conftest.er1
42369 ac_status=$?
42370 grep -v '^ *+' conftest.er1 >conftest.err
42371 rm -f conftest.er1
42372 cat conftest.err >&5
42373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42374 (exit $ac_status); } && {
42375 test -z "$ac_cxx_werror_flag" ||
42376 test ! -s conftest.err
42377 } && test -s conftest.$ac_objext; then
42378 ac_cv_func_which_getservbyname_r=five
42379 else
42380 echo "$as_me: failed program was:" >&5
42381 sed 's/^/| /' conftest.$ac_ext >&5
42382
42383
42384 cat >conftest.$ac_ext <<_ACEOF
42385 /* confdefs.h. */
42386 _ACEOF
42387 cat confdefs.h >>conftest.$ac_ext
42388 cat >>conftest.$ac_ext <<_ACEOF
42389 /* end confdefs.h. */
42390 #include <netdb.h>
42391 int
42392 main ()
42393 {
42394
42395 char *name;
42396 char *proto;
42397 struct servent *se;
42398 struct servent_data data;
42399 (void) getservbyname_r(name, proto, se, &data);
42400
42401 ;
42402 return 0;
42403 }
42404 _ACEOF
42405 rm -f conftest.$ac_objext
42406 if { (ac_try="$ac_compile"
42407 case "(($ac_try" in
42408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42409 *) ac_try_echo=$ac_try;;
42410 esac
42411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42412 (eval "$ac_compile") 2>conftest.er1
42413 ac_status=$?
42414 grep -v '^ *+' conftest.er1 >conftest.err
42415 rm -f conftest.er1
42416 cat conftest.err >&5
42417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42418 (exit $ac_status); } && {
42419 test -z "$ac_cxx_werror_flag" ||
42420 test ! -s conftest.err
42421 } && test -s conftest.$ac_objext; then
42422 ac_cv_func_which_getservbyname_r=four
42423 else
42424 echo "$as_me: failed program was:" >&5
42425 sed 's/^/| /' conftest.$ac_ext >&5
42426
42427 ac_cv_func_which_getservbyname_r=no
42428
42429 fi
42430
42431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42432
42433
42434 fi
42435
42436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42437
42438
42439 fi
42440
42441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42442 ac_ext=c
42443 ac_cpp='$CPP $CPPFLAGS'
42444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42447
42448
42449
42450 fi
42451 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42452 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42453
42454 if test $ac_cv_func_which_getservbyname_r = six; then
42455 cat >>confdefs.h <<\_ACEOF
42456 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42457 _ACEOF
42458
42459 elif test $ac_cv_func_which_getservbyname_r = five; then
42460 cat >>confdefs.h <<\_ACEOF
42461 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42462 _ACEOF
42463
42464 elif test $ac_cv_func_which_getservbyname_r = four; then
42465 cat >>confdefs.h <<\_ACEOF
42466 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42467 _ACEOF
42468
42469 fi
42470
42471
42472 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42473 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42474
42475 for ac_func in getservbyname
42476 do
42477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42478 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42480 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42481 echo $ECHO_N "(cached) $ECHO_C" >&6
42482 else
42483 cat >conftest.$ac_ext <<_ACEOF
42484 /* confdefs.h. */
42485 _ACEOF
42486 cat confdefs.h >>conftest.$ac_ext
42487 cat >>conftest.$ac_ext <<_ACEOF
42488 /* end confdefs.h. */
42489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42491 #define $ac_func innocuous_$ac_func
42492
42493 /* System header to define __stub macros and hopefully few prototypes,
42494 which can conflict with char $ac_func (); below.
42495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42496 <limits.h> exists even on freestanding compilers. */
42497
42498 #ifdef __STDC__
42499 # include <limits.h>
42500 #else
42501 # include <assert.h>
42502 #endif
42503
42504 #undef $ac_func
42505
42506 /* Override any GCC internal prototype to avoid an error.
42507 Use char because int might match the return type of a GCC
42508 builtin and then its argument prototype would still apply. */
42509 #ifdef __cplusplus
42510 extern "C"
42511 #endif
42512 char $ac_func ();
42513 /* The GNU C library defines this for functions which it implements
42514 to always fail with ENOSYS. Some functions are actually named
42515 something starting with __ and the normal name is an alias. */
42516 #if defined __stub_$ac_func || defined __stub___$ac_func
42517 choke me
42518 #endif
42519
42520 int
42521 main ()
42522 {
42523 return $ac_func ();
42524 ;
42525 return 0;
42526 }
42527 _ACEOF
42528 rm -f conftest.$ac_objext conftest$ac_exeext
42529 if { (ac_try="$ac_link"
42530 case "(($ac_try" in
42531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42532 *) ac_try_echo=$ac_try;;
42533 esac
42534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42535 (eval "$ac_link") 2>conftest.er1
42536 ac_status=$?
42537 grep -v '^ *+' conftest.er1 >conftest.err
42538 rm -f conftest.er1
42539 cat conftest.err >&5
42540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42541 (exit $ac_status); } && {
42542 test -z "$ac_c_werror_flag" ||
42543 test ! -s conftest.err
42544 } && test -s conftest$ac_exeext &&
42545 $as_test_x conftest$ac_exeext; then
42546 eval "$as_ac_var=yes"
42547 else
42548 echo "$as_me: failed program was:" >&5
42549 sed 's/^/| /' conftest.$ac_ext >&5
42550
42551 eval "$as_ac_var=no"
42552 fi
42553
42554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42555 conftest$ac_exeext conftest.$ac_ext
42556 fi
42557 ac_res=`eval echo '${'$as_ac_var'}'`
42558 { echo "$as_me:$LINENO: result: $ac_res" >&5
42559 echo "${ECHO_T}$ac_res" >&6; }
42560 if test `eval echo '${'$as_ac_var'}'` = yes; then
42561 cat >>confdefs.h <<_ACEOF
42562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42563 _ACEOF
42564 cat >>confdefs.h <<\_ACEOF
42565 #define HAVE_GETSERVBYNAME 1
42566 _ACEOF
42567
42568 fi
42569 done
42570
42571 fi
42572
42573 if test "$wxUSE_THREADS" = "yes"; then
42574 cat >>confdefs.h <<\_ACEOF
42575 #define wxUSE_THREADS 1
42576 _ACEOF
42577
42578
42579 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42580 else
42581 if test "$wx_cv_func_strtok_r" = "yes"; then
42582 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42583 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42584 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42585 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42586 { echo "$as_me:$LINENO: result: yes" >&5
42587 echo "${ECHO_T}yes" >&6; }
42588 else
42589 { echo "$as_me:$LINENO: result: no" >&5
42590 echo "${ECHO_T}no" >&6; }
42591 fi
42592 fi
42593 fi
42594
42595 if test "$WXGTK20" = 1 ; then
42596 cat >>confdefs.h <<_ACEOF
42597 #define __WXGTK20__ $WXGTK20
42598 _ACEOF
42599
42600 WXGTK12=1
42601 fi
42602
42603 if test "$WXGTK12" = 1 ; then
42604 cat >>confdefs.h <<_ACEOF
42605 #define __WXGTK12__ $WXGTK12
42606 _ACEOF
42607
42608 fi
42609
42610 if test "$WXGTK127" = 1 ; then
42611 cat >>confdefs.h <<_ACEOF
42612 #define __WXGTK127__ $WXGTK127
42613 _ACEOF
42614
42615 fi
42616
42617 if test "$WXGPE" = 1 ; then
42618 cat >>confdefs.h <<_ACEOF
42619 #define __WXGPE__ $WXGPE
42620 _ACEOF
42621
42622 fi
42623
42624 DEBUG_CFLAGS=
42625 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
42626 DEBUG_CFLAGS="-g"
42627 wxUSE_OPTIMISE=no
42628 fi
42629
42630 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42631 wxUSE_DEBUG_INFO=yes
42632 if test "$GCC" = yes; then
42633 DEBUG_CFLAGS="-ggdb"
42634 fi
42635 fi
42636
42637 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
42638 cat >>confdefs.h <<\_ACEOF
42639 #define WXDEBUG 1
42640 _ACEOF
42641
42642 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
42643 else
42644 if test "$wxUSE_GTK" = 1 ; then
42645 if test "x$wxGTK_VERSION" = "x1" ; then
42646 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42647 fi
42648 fi
42649 fi
42650
42651 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42652 cat >>confdefs.h <<\_ACEOF
42653 #define wxUSE_MEMORY_TRACING 1
42654 _ACEOF
42655
42656 cat >>confdefs.h <<\_ACEOF
42657 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42658 _ACEOF
42659
42660 cat >>confdefs.h <<\_ACEOF
42661 #define wxUSE_DEBUG_NEW_ALWAYS 1
42662 _ACEOF
42663
42664 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42665 fi
42666
42667 if test "$wxUSE_DMALLOC" = "yes" ; then
42668 DMALLOC_LIBS="-ldmallocthcxx"
42669 fi
42670
42671 PROFILE_FLAGS=
42672 if test "$wxUSE_PROFILE" = "yes" ; then
42673 PROFILE_FLAGS=" -pg"
42674 fi
42675
42676 if test "$GCC" = "yes" ; then
42677 if test "$wxUSE_NO_RTTI" = "yes" ; then
42678 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
42679 fi
42680 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42681 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42682 fi
42683 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42684 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42685 fi
42686
42687 case "${host}" in
42688 powerpc*-*-aix* )
42689 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42690 ;;
42691 *-hppa* )
42692 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42693 ;;
42694 esac
42695 fi
42696
42697 OPTIMISE_CFLAGS=
42698 if test "$wxUSE_OPTIMISE" = "no" ; then
42699 if test "$GCC" = yes ; then
42700 OPTIMISE_CFLAGS="-O0"
42701 fi
42702 else
42703 if test "$GCC" = yes ; then
42704 case "${host}" in
42705 *-pc-os2_emx | *-pc-os2-emx )
42706 OPTIMISE_CFLAGS="-O2"
42707 ;;
42708 *)
42709 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42710 ;;
42711 esac
42712 else
42713 OPTIMISE_CFLAGS="-O"
42714 fi
42715 fi
42716
42717
42718 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42719 cat >>confdefs.h <<\_ACEOF
42720 #define WXWIN_COMPATIBILITY_2_6 1
42721 _ACEOF
42722
42723
42724 WXWIN_COMPATIBILITY_2_8="yes"
42725 fi
42726
42727 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42728 cat >>confdefs.h <<\_ACEOF
42729 #define WXWIN_COMPATIBILITY_2_8 1
42730 _ACEOF
42731
42732 fi
42733
42734
42735 if test "$wxUSE_GUI" = "yes"; then
42736 cat >>confdefs.h <<\_ACEOF
42737 #define wxUSE_GUI 1
42738 _ACEOF
42739
42740
42741 fi
42742
42743
42744 if test "$wxUSE_UNIX" = "yes"; then
42745 cat >>confdefs.h <<\_ACEOF
42746 #define wxUSE_UNIX 1
42747 _ACEOF
42748
42749 fi
42750
42751
42752 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42753
42754 HAVE_DL_FUNCS=0
42755 HAVE_SHL_FUNCS=0
42756 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42757 if test "$USE_DARWIN" = 1; then
42758 HAVE_DL_FUNCS=1
42759 elif test "$USE_DOS" = 1; then
42760 HAVE_DL_FUNCS=0
42761 else
42762
42763 for ac_func in dlopen
42764 do
42765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42766 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42768 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42769 echo $ECHO_N "(cached) $ECHO_C" >&6
42770 else
42771 cat >conftest.$ac_ext <<_ACEOF
42772 /* confdefs.h. */
42773 _ACEOF
42774 cat confdefs.h >>conftest.$ac_ext
42775 cat >>conftest.$ac_ext <<_ACEOF
42776 /* end confdefs.h. */
42777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42779 #define $ac_func innocuous_$ac_func
42780
42781 /* System header to define __stub macros and hopefully few prototypes,
42782 which can conflict with char $ac_func (); below.
42783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42784 <limits.h> exists even on freestanding compilers. */
42785
42786 #ifdef __STDC__
42787 # include <limits.h>
42788 #else
42789 # include <assert.h>
42790 #endif
42791
42792 #undef $ac_func
42793
42794 /* Override any GCC internal prototype to avoid an error.
42795 Use char because int might match the return type of a GCC
42796 builtin and then its argument prototype would still apply. */
42797 #ifdef __cplusplus
42798 extern "C"
42799 #endif
42800 char $ac_func ();
42801 /* The GNU C library defines this for functions which it implements
42802 to always fail with ENOSYS. Some functions are actually named
42803 something starting with __ and the normal name is an alias. */
42804 #if defined __stub_$ac_func || defined __stub___$ac_func
42805 choke me
42806 #endif
42807
42808 int
42809 main ()
42810 {
42811 return $ac_func ();
42812 ;
42813 return 0;
42814 }
42815 _ACEOF
42816 rm -f conftest.$ac_objext conftest$ac_exeext
42817 if { (ac_try="$ac_link"
42818 case "(($ac_try" in
42819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42820 *) ac_try_echo=$ac_try;;
42821 esac
42822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42823 (eval "$ac_link") 2>conftest.er1
42824 ac_status=$?
42825 grep -v '^ *+' conftest.er1 >conftest.err
42826 rm -f conftest.er1
42827 cat conftest.err >&5
42828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42829 (exit $ac_status); } && {
42830 test -z "$ac_c_werror_flag" ||
42831 test ! -s conftest.err
42832 } && test -s conftest$ac_exeext &&
42833 $as_test_x conftest$ac_exeext; then
42834 eval "$as_ac_var=yes"
42835 else
42836 echo "$as_me: failed program was:" >&5
42837 sed 's/^/| /' conftest.$ac_ext >&5
42838
42839 eval "$as_ac_var=no"
42840 fi
42841
42842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42843 conftest$ac_exeext conftest.$ac_ext
42844 fi
42845 ac_res=`eval echo '${'$as_ac_var'}'`
42846 { echo "$as_me:$LINENO: result: $ac_res" >&5
42847 echo "${ECHO_T}$ac_res" >&6; }
42848 if test `eval echo '${'$as_ac_var'}'` = yes; then
42849 cat >>confdefs.h <<_ACEOF
42850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42851 _ACEOF
42852
42853 cat >>confdefs.h <<\_ACEOF
42854 #define HAVE_DLOPEN 1
42855 _ACEOF
42856
42857 HAVE_DL_FUNCS=1
42858
42859 else
42860
42861 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42862 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
42863 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42864 echo $ECHO_N "(cached) $ECHO_C" >&6
42865 else
42866 ac_check_lib_save_LIBS=$LIBS
42867 LIBS="-ldl $LIBS"
42868 cat >conftest.$ac_ext <<_ACEOF
42869 /* confdefs.h. */
42870 _ACEOF
42871 cat confdefs.h >>conftest.$ac_ext
42872 cat >>conftest.$ac_ext <<_ACEOF
42873 /* end confdefs.h. */
42874
42875 /* Override any GCC internal prototype to avoid an error.
42876 Use char because int might match the return type of a GCC
42877 builtin and then its argument prototype would still apply. */
42878 #ifdef __cplusplus
42879 extern "C"
42880 #endif
42881 char dlopen ();
42882 int
42883 main ()
42884 {
42885 return dlopen ();
42886 ;
42887 return 0;
42888 }
42889 _ACEOF
42890 rm -f conftest.$ac_objext conftest$ac_exeext
42891 if { (ac_try="$ac_link"
42892 case "(($ac_try" in
42893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42894 *) ac_try_echo=$ac_try;;
42895 esac
42896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42897 (eval "$ac_link") 2>conftest.er1
42898 ac_status=$?
42899 grep -v '^ *+' conftest.er1 >conftest.err
42900 rm -f conftest.er1
42901 cat conftest.err >&5
42902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42903 (exit $ac_status); } && {
42904 test -z "$ac_c_werror_flag" ||
42905 test ! -s conftest.err
42906 } && test -s conftest$ac_exeext &&
42907 $as_test_x conftest$ac_exeext; then
42908 ac_cv_lib_dl_dlopen=yes
42909 else
42910 echo "$as_me: failed program was:" >&5
42911 sed 's/^/| /' conftest.$ac_ext >&5
42912
42913 ac_cv_lib_dl_dlopen=no
42914 fi
42915
42916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42917 conftest$ac_exeext conftest.$ac_ext
42918 LIBS=$ac_check_lib_save_LIBS
42919 fi
42920 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42921 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42922 if test $ac_cv_lib_dl_dlopen = yes; then
42923
42924 cat >>confdefs.h <<\_ACEOF
42925 #define HAVE_DLOPEN 1
42926 _ACEOF
42927
42928 HAVE_DL_FUNCS=1
42929 DL_LINK=" -ldl$DL_LINK"
42930
42931 else
42932
42933
42934 for ac_func in shl_load
42935 do
42936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42937 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42939 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42940 echo $ECHO_N "(cached) $ECHO_C" >&6
42941 else
42942 cat >conftest.$ac_ext <<_ACEOF
42943 /* confdefs.h. */
42944 _ACEOF
42945 cat confdefs.h >>conftest.$ac_ext
42946 cat >>conftest.$ac_ext <<_ACEOF
42947 /* end confdefs.h. */
42948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42950 #define $ac_func innocuous_$ac_func
42951
42952 /* System header to define __stub macros and hopefully few prototypes,
42953 which can conflict with char $ac_func (); below.
42954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42955 <limits.h> exists even on freestanding compilers. */
42956
42957 #ifdef __STDC__
42958 # include <limits.h>
42959 #else
42960 # include <assert.h>
42961 #endif
42962
42963 #undef $ac_func
42964
42965 /* Override any GCC internal prototype to avoid an error.
42966 Use char because int might match the return type of a GCC
42967 builtin and then its argument prototype would still apply. */
42968 #ifdef __cplusplus
42969 extern "C"
42970 #endif
42971 char $ac_func ();
42972 /* The GNU C library defines this for functions which it implements
42973 to always fail with ENOSYS. Some functions are actually named
42974 something starting with __ and the normal name is an alias. */
42975 #if defined __stub_$ac_func || defined __stub___$ac_func
42976 choke me
42977 #endif
42978
42979 int
42980 main ()
42981 {
42982 return $ac_func ();
42983 ;
42984 return 0;
42985 }
42986 _ACEOF
42987 rm -f conftest.$ac_objext conftest$ac_exeext
42988 if { (ac_try="$ac_link"
42989 case "(($ac_try" in
42990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42991 *) ac_try_echo=$ac_try;;
42992 esac
42993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42994 (eval "$ac_link") 2>conftest.er1
42995 ac_status=$?
42996 grep -v '^ *+' conftest.er1 >conftest.err
42997 rm -f conftest.er1
42998 cat conftest.err >&5
42999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43000 (exit $ac_status); } && {
43001 test -z "$ac_c_werror_flag" ||
43002 test ! -s conftest.err
43003 } && test -s conftest$ac_exeext &&
43004 $as_test_x conftest$ac_exeext; then
43005 eval "$as_ac_var=yes"
43006 else
43007 echo "$as_me: failed program was:" >&5
43008 sed 's/^/| /' conftest.$ac_ext >&5
43009
43010 eval "$as_ac_var=no"
43011 fi
43012
43013 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43014 conftest$ac_exeext conftest.$ac_ext
43015 fi
43016 ac_res=`eval echo '${'$as_ac_var'}'`
43017 { echo "$as_me:$LINENO: result: $ac_res" >&5
43018 echo "${ECHO_T}$ac_res" >&6; }
43019 if test `eval echo '${'$as_ac_var'}'` = yes; then
43020 cat >>confdefs.h <<_ACEOF
43021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43022 _ACEOF
43023
43024 cat >>confdefs.h <<\_ACEOF
43025 #define HAVE_SHL_LOAD 1
43026 _ACEOF
43027
43028 HAVE_SHL_FUNCS=1
43029
43030 else
43031
43032 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43033 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43034 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43035 echo $ECHO_N "(cached) $ECHO_C" >&6
43036 else
43037 ac_check_lib_save_LIBS=$LIBS
43038 LIBS="-lshl_load $LIBS"
43039 cat >conftest.$ac_ext <<_ACEOF
43040 /* confdefs.h. */
43041 _ACEOF
43042 cat confdefs.h >>conftest.$ac_ext
43043 cat >>conftest.$ac_ext <<_ACEOF
43044 /* end confdefs.h. */
43045
43046 /* Override any GCC internal prototype to avoid an error.
43047 Use char because int might match the return type of a GCC
43048 builtin and then its argument prototype would still apply. */
43049 #ifdef __cplusplus
43050 extern "C"
43051 #endif
43052 char dld ();
43053 int
43054 main ()
43055 {
43056 return dld ();
43057 ;
43058 return 0;
43059 }
43060 _ACEOF
43061 rm -f conftest.$ac_objext conftest$ac_exeext
43062 if { (ac_try="$ac_link"
43063 case "(($ac_try" in
43064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43065 *) ac_try_echo=$ac_try;;
43066 esac
43067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43068 (eval "$ac_link") 2>conftest.er1
43069 ac_status=$?
43070 grep -v '^ *+' conftest.er1 >conftest.err
43071 rm -f conftest.er1
43072 cat conftest.err >&5
43073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43074 (exit $ac_status); } && {
43075 test -z "$ac_c_werror_flag" ||
43076 test ! -s conftest.err
43077 } && test -s conftest$ac_exeext &&
43078 $as_test_x conftest$ac_exeext; then
43079 ac_cv_lib_shl_load_dld=yes
43080 else
43081 echo "$as_me: failed program was:" >&5
43082 sed 's/^/| /' conftest.$ac_ext >&5
43083
43084 ac_cv_lib_shl_load_dld=no
43085 fi
43086
43087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43088 conftest$ac_exeext conftest.$ac_ext
43089 LIBS=$ac_check_lib_save_LIBS
43090 fi
43091 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43092 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43093 if test $ac_cv_lib_shl_load_dld = yes; then
43094
43095 HAVE_SHL_FUNCS=1
43096 DL_LINK=" -ldld$DL_LINK"
43097
43098 fi
43099
43100
43101 fi
43102 done
43103
43104
43105 fi
43106
43107
43108 fi
43109 done
43110
43111
43112 if test "$HAVE_DL_FUNCS" = 1; then
43113
43114 for ac_func in dlerror
43115 do
43116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43117 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43119 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43120 echo $ECHO_N "(cached) $ECHO_C" >&6
43121 else
43122 cat >conftest.$ac_ext <<_ACEOF
43123 /* confdefs.h. */
43124 _ACEOF
43125 cat confdefs.h >>conftest.$ac_ext
43126 cat >>conftest.$ac_ext <<_ACEOF
43127 /* end confdefs.h. */
43128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43130 #define $ac_func innocuous_$ac_func
43131
43132 /* System header to define __stub macros and hopefully few prototypes,
43133 which can conflict with char $ac_func (); below.
43134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43135 <limits.h> exists even on freestanding compilers. */
43136
43137 #ifdef __STDC__
43138 # include <limits.h>
43139 #else
43140 # include <assert.h>
43141 #endif
43142
43143 #undef $ac_func
43144
43145 /* Override any GCC internal prototype to avoid an error.
43146 Use char because int might match the return type of a GCC
43147 builtin and then its argument prototype would still apply. */
43148 #ifdef __cplusplus
43149 extern "C"
43150 #endif
43151 char $ac_func ();
43152 /* The GNU C library defines this for functions which it implements
43153 to always fail with ENOSYS. Some functions are actually named
43154 something starting with __ and the normal name is an alias. */
43155 #if defined __stub_$ac_func || defined __stub___$ac_func
43156 choke me
43157 #endif
43158
43159 int
43160 main ()
43161 {
43162 return $ac_func ();
43163 ;
43164 return 0;
43165 }
43166 _ACEOF
43167 rm -f conftest.$ac_objext conftest$ac_exeext
43168 if { (ac_try="$ac_link"
43169 case "(($ac_try" in
43170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43171 *) ac_try_echo=$ac_try;;
43172 esac
43173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43174 (eval "$ac_link") 2>conftest.er1
43175 ac_status=$?
43176 grep -v '^ *+' conftest.er1 >conftest.err
43177 rm -f conftest.er1
43178 cat conftest.err >&5
43179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43180 (exit $ac_status); } && {
43181 test -z "$ac_c_werror_flag" ||
43182 test ! -s conftest.err
43183 } && test -s conftest$ac_exeext &&
43184 $as_test_x conftest$ac_exeext; then
43185 eval "$as_ac_var=yes"
43186 else
43187 echo "$as_me: failed program was:" >&5
43188 sed 's/^/| /' conftest.$ac_ext >&5
43189
43190 eval "$as_ac_var=no"
43191 fi
43192
43193 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43194 conftest$ac_exeext conftest.$ac_ext
43195 fi
43196 ac_res=`eval echo '${'$as_ac_var'}'`
43197 { echo "$as_me:$LINENO: result: $ac_res" >&5
43198 echo "${ECHO_T}$ac_res" >&6; }
43199 if test `eval echo '${'$as_ac_var'}'` = yes; then
43200 cat >>confdefs.h <<_ACEOF
43201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43202 _ACEOF
43203 cat >>confdefs.h <<\_ACEOF
43204 #define HAVE_DLERROR 1
43205 _ACEOF
43206
43207 else
43208
43209 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43210 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43211 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43212 echo $ECHO_N "(cached) $ECHO_C" >&6
43213 else
43214 ac_check_lib_save_LIBS=$LIBS
43215 LIBS="-ldl $LIBS"
43216 cat >conftest.$ac_ext <<_ACEOF
43217 /* confdefs.h. */
43218 _ACEOF
43219 cat confdefs.h >>conftest.$ac_ext
43220 cat >>conftest.$ac_ext <<_ACEOF
43221 /* end confdefs.h. */
43222
43223 /* Override any GCC internal prototype to avoid an error.
43224 Use char because int might match the return type of a GCC
43225 builtin and then its argument prototype would still apply. */
43226 #ifdef __cplusplus
43227 extern "C"
43228 #endif
43229 char dlerror ();
43230 int
43231 main ()
43232 {
43233 return dlerror ();
43234 ;
43235 return 0;
43236 }
43237 _ACEOF
43238 rm -f conftest.$ac_objext conftest$ac_exeext
43239 if { (ac_try="$ac_link"
43240 case "(($ac_try" in
43241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43242 *) ac_try_echo=$ac_try;;
43243 esac
43244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43245 (eval "$ac_link") 2>conftest.er1
43246 ac_status=$?
43247 grep -v '^ *+' conftest.er1 >conftest.err
43248 rm -f conftest.er1
43249 cat conftest.err >&5
43250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43251 (exit $ac_status); } && {
43252 test -z "$ac_c_werror_flag" ||
43253 test ! -s conftest.err
43254 } && test -s conftest$ac_exeext &&
43255 $as_test_x conftest$ac_exeext; then
43256 ac_cv_lib_dl_dlerror=yes
43257 else
43258 echo "$as_me: failed program was:" >&5
43259 sed 's/^/| /' conftest.$ac_ext >&5
43260
43261 ac_cv_lib_dl_dlerror=no
43262 fi
43263
43264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43265 conftest$ac_exeext conftest.$ac_ext
43266 LIBS=$ac_check_lib_save_LIBS
43267 fi
43268 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43269 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43270 if test $ac_cv_lib_dl_dlerror = yes; then
43271 cat >>confdefs.h <<\_ACEOF
43272 #define HAVE_DLERROR 1
43273 _ACEOF
43274
43275 fi
43276
43277
43278
43279 fi
43280 done
43281
43282 fi
43283 fi
43284
43285 if test "$HAVE_DL_FUNCS" = 0; then
43286 if test "$HAVE_SHL_FUNCS" = 0; then
43287 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43288 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43289 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43290 wxUSE_DYNAMIC_LOADER=no
43291 wxUSE_DYNLIB_CLASS=no
43292 else
43293 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43294 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43295 fi
43296 fi
43297 fi
43298 fi
43299 fi
43300
43301 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43302 cat >>confdefs.h <<\_ACEOF
43303 #define wxUSE_DYNAMIC_LOADER 1
43304 _ACEOF
43305
43306 fi
43307 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43308 cat >>confdefs.h <<\_ACEOF
43309 #define wxUSE_DYNLIB_CLASS 1
43310 _ACEOF
43311
43312 fi
43313
43314
43315
43316 if test "$wxUSE_PLUGINS" = "yes" ; then
43317 if test "$wxUSE_SHARED" = "no" ; then
43318 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43319 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43320 wxUSE_PLUGINS=no
43321 fi
43322 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43323 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43324 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43325 wxUSE_PLUGINS=no
43326 fi
43327 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43328 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43329 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43330 wxUSE_PLUGINS=no
43331 fi
43332 if test "$wxUSE_PLUGINS" = "yes" ; then
43333 cat >>confdefs.h <<\_ACEOF
43334 #define wxUSE_PLUGINS 1
43335 _ACEOF
43336
43337 fi
43338 fi
43339
43340
43341 if test "$wxUSE_STL" = "yes"; then
43342 cat >>confdefs.h <<\_ACEOF
43343 #define wxUSE_STL 1
43344 _ACEOF
43345
43346 fi
43347
43348 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43349 cat >>confdefs.h <<\_ACEOF
43350 #define wxUSE_APPLE_IEEE 1
43351 _ACEOF
43352
43353 fi
43354
43355 if test "$wxUSE_TIMER" = "yes"; then
43356 cat >>confdefs.h <<\_ACEOF
43357 #define wxUSE_TIMER 1
43358 _ACEOF
43359
43360 fi
43361
43362 if test "$USE_UNIX" = "1" ; then
43363 if test "$wxUSE_MGL" != 1; then
43364 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43365 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43366 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43367 echo $ECHO_N "(cached) $ECHO_C" >&6
43368 else
43369
43370 cat >conftest.$ac_ext <<_ACEOF
43371 /* confdefs.h. */
43372 _ACEOF
43373 cat confdefs.h >>conftest.$ac_ext
43374 cat >>conftest.$ac_ext <<_ACEOF
43375 /* end confdefs.h. */
43376
43377 #include <sys/ioctl.h>
43378 #include <sys/soundcard.h>
43379
43380 int
43381 main ()
43382 {
43383
43384 ioctl(0, SNDCTL_DSP_SPEED, 0);
43385
43386 ;
43387 return 0;
43388 }
43389 _ACEOF
43390 rm -f conftest.$ac_objext conftest$ac_exeext
43391 if { (ac_try="$ac_link"
43392 case "(($ac_try" in
43393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43394 *) ac_try_echo=$ac_try;;
43395 esac
43396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43397 (eval "$ac_link") 2>conftest.er1
43398 ac_status=$?
43399 grep -v '^ *+' conftest.er1 >conftest.err
43400 rm -f conftest.er1
43401 cat conftest.err >&5
43402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43403 (exit $ac_status); } && {
43404 test -z "$ac_c_werror_flag" ||
43405 test ! -s conftest.err
43406 } && test -s conftest$ac_exeext &&
43407 $as_test_x conftest$ac_exeext; then
43408 ac_cv_header_sys_soundcard=yes
43409 else
43410 echo "$as_me: failed program was:" >&5
43411 sed 's/^/| /' conftest.$ac_ext >&5
43412
43413
43414 saveLibs="$LIBS"
43415 LIBS="$saveLibs -lossaudio"
43416 cat >conftest.$ac_ext <<_ACEOF
43417 /* confdefs.h. */
43418 _ACEOF
43419 cat confdefs.h >>conftest.$ac_ext
43420 cat >>conftest.$ac_ext <<_ACEOF
43421 /* end confdefs.h. */
43422
43423 #include <sys/ioctl.h>
43424 #include <sys/soundcard.h>
43425
43426 int
43427 main ()
43428 {
43429
43430 ioctl(0, SNDCTL_DSP_SPEED, 0);
43431
43432 ;
43433 return 0;
43434 }
43435 _ACEOF
43436 rm -f conftest.$ac_objext conftest$ac_exeext
43437 if { (ac_try="$ac_link"
43438 case "(($ac_try" in
43439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43440 *) ac_try_echo=$ac_try;;
43441 esac
43442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43443 (eval "$ac_link") 2>conftest.er1
43444 ac_status=$?
43445 grep -v '^ *+' conftest.er1 >conftest.err
43446 rm -f conftest.er1
43447 cat conftest.err >&5
43448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43449 (exit $ac_status); } && {
43450 test -z "$ac_c_werror_flag" ||
43451 test ! -s conftest.err
43452 } && test -s conftest$ac_exeext &&
43453 $as_test_x conftest$ac_exeext; then
43454 ac_cv_header_sys_soundcard=yes
43455 else
43456 echo "$as_me: failed program was:" >&5
43457 sed 's/^/| /' conftest.$ac_ext >&5
43458
43459
43460 LIBS="$saveLibs"
43461 ac_cv_header_sys_soundcard=no
43462
43463
43464 fi
43465
43466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43467 conftest$ac_exeext conftest.$ac_ext
43468
43469
43470 fi
43471
43472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43473 conftest$ac_exeext conftest.$ac_ext
43474
43475 fi
43476 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43477 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43478 fi
43479
43480 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43481 cat >>confdefs.h <<\_ACEOF
43482 #define HAVE_SYS_SOUNDCARD_H 1
43483 _ACEOF
43484
43485 else
43486 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
43487 fi
43488 fi
43489
43490 WITH_PLUGIN_SDL=0
43491 if test "$wxUSE_SOUND" = "yes"; then
43492 if test "$USE_UNIX" = "1" ; then
43493 if test "$wxUSE_LIBSDL" != "no"; then
43494
43495 # Check whether --with-sdl-prefix was given.
43496 if test "${with_sdl_prefix+set}" = set; then
43497 withval=$with_sdl_prefix; sdl_prefix="$withval"
43498 else
43499 sdl_prefix=""
43500 fi
43501
43502
43503 # Check whether --with-sdl-exec-prefix was given.
43504 if test "${with_sdl_exec_prefix+set}" = set; then
43505 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43506 else
43507 sdl_exec_prefix=""
43508 fi
43509
43510 # Check whether --enable-sdltest was given.
43511 if test "${enable_sdltest+set}" = set; then
43512 enableval=$enable_sdltest;
43513 else
43514 enable_sdltest=yes
43515 fi
43516
43517
43518 if test x$sdl_exec_prefix != x ; then
43519 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43520 if test x${SDL_CONFIG+set} != xset ; then
43521 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43522 fi
43523 fi
43524 if test x$sdl_prefix != x ; then
43525 sdl_args="$sdl_args --prefix=$sdl_prefix"
43526 if test x${SDL_CONFIG+set} != xset ; then
43527 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43528 fi
43529 fi
43530
43531 if test "x$prefix" != xNONE; then
43532 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43533 fi
43534 # Extract the first word of "sdl-config", so it can be a program name with args.
43535 set dummy sdl-config; ac_word=$2
43536 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43538 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43539 echo $ECHO_N "(cached) $ECHO_C" >&6
43540 else
43541 case $SDL_CONFIG in
43542 [\\/]* | ?:[\\/]*)
43543 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43544 ;;
43545 *)
43546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43547 for as_dir in $PATH
43548 do
43549 IFS=$as_save_IFS
43550 test -z "$as_dir" && as_dir=.
43551 for ac_exec_ext in '' $ac_executable_extensions; do
43552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43553 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43555 break 2
43556 fi
43557 done
43558 done
43559 IFS=$as_save_IFS
43560
43561 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43562 ;;
43563 esac
43564 fi
43565 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43566 if test -n "$SDL_CONFIG"; then
43567 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43568 echo "${ECHO_T}$SDL_CONFIG" >&6; }
43569 else
43570 { echo "$as_me:$LINENO: result: no" >&5
43571 echo "${ECHO_T}no" >&6; }
43572 fi
43573
43574
43575 min_sdl_version=1.2.0
43576 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43577 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
43578 no_sdl=""
43579 if test "$SDL_CONFIG" = "no" ; then
43580 no_sdl=yes
43581 else
43582 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43583 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43584
43585 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43586 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43587 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43588 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43589 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43590 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43591 if test "x$enable_sdltest" = "xyes" ; then
43592 ac_save_CFLAGS="$CFLAGS"
43593 ac_save_CXXFLAGS="$CXXFLAGS"
43594 ac_save_LIBS="$LIBS"
43595 CFLAGS="$CFLAGS $SDL_CFLAGS"
43596 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43597 LIBS="$LIBS $SDL_LIBS"
43598 rm -f conf.sdltest
43599 if test "$cross_compiling" = yes; then
43600 echo $ac_n "cross compiling; assumed OK... $ac_c"
43601 else
43602 cat >conftest.$ac_ext <<_ACEOF
43603 /* confdefs.h. */
43604 _ACEOF
43605 cat confdefs.h >>conftest.$ac_ext
43606 cat >>conftest.$ac_ext <<_ACEOF
43607 /* end confdefs.h. */
43608
43609 #include <stdio.h>
43610 #include <stdlib.h>
43611 #include <string.h>
43612 #include "SDL.h"
43613
43614 char*
43615 my_strdup (char *str)
43616 {
43617 char *new_str;
43618
43619 if (str)
43620 {
43621 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43622 strcpy (new_str, str);
43623 }
43624 else
43625 new_str = NULL;
43626
43627 return new_str;
43628 }
43629
43630 int main (int argc, char *argv[])
43631 {
43632 int major, minor, micro;
43633 char *tmp_version;
43634
43635 /* This hangs on some systems (?)
43636 system ("touch conf.sdltest");
43637 */
43638 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43639
43640 /* HP/UX 9 (%@#!) writes to sscanf strings */
43641 tmp_version = my_strdup("$min_sdl_version");
43642 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
43643 printf("%s, bad version string\n", "$min_sdl_version");
43644 exit(1);
43645 }
43646
43647 if (($sdl_major_version > major) ||
43648 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43649 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43650 {
43651 return 0;
43652 }
43653 else
43654 {
43655 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43656 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43657 printf("*** best to upgrade to the required version.\n");
43658 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43659 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43660 printf("*** config.cache before re-running configure\n");
43661 return 1;
43662 }
43663 }
43664
43665
43666 _ACEOF
43667 rm -f conftest$ac_exeext
43668 if { (ac_try="$ac_link"
43669 case "(($ac_try" in
43670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43671 *) ac_try_echo=$ac_try;;
43672 esac
43673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43674 (eval "$ac_link") 2>&5
43675 ac_status=$?
43676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43677 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43678 { (case "(($ac_try" in
43679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43680 *) ac_try_echo=$ac_try;;
43681 esac
43682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43683 (eval "$ac_try") 2>&5
43684 ac_status=$?
43685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43686 (exit $ac_status); }; }; then
43687 :
43688 else
43689 echo "$as_me: program exited with status $ac_status" >&5
43690 echo "$as_me: failed program was:" >&5
43691 sed 's/^/| /' conftest.$ac_ext >&5
43692
43693 ( exit $ac_status )
43694 no_sdl=yes
43695 fi
43696 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43697 fi
43698
43699
43700 CFLAGS="$ac_save_CFLAGS"
43701 CXXFLAGS="$ac_save_CXXFLAGS"
43702 LIBS="$ac_save_LIBS"
43703 fi
43704 fi
43705 if test "x$no_sdl" = x ; then
43706 { echo "$as_me:$LINENO: result: yes" >&5
43707 echo "${ECHO_T}yes" >&6; }
43708
43709 EXTRALIBS_SDL="$SDL_LIBS"
43710 CFLAGS="$SDL_CFLAGS $CFLAGS"
43711 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43712 cat >>confdefs.h <<\_ACEOF
43713 #define wxUSE_LIBSDL 1
43714 _ACEOF
43715
43716
43717 else
43718 { echo "$as_me:$LINENO: result: no" >&5
43719 echo "${ECHO_T}no" >&6; }
43720 if test "$SDL_CONFIG" = "no" ; then
43721 echo "*** The sdl-config script installed by SDL could not be found"
43722 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43723 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43724 echo "*** full path to sdl-config."
43725 else
43726 if test -f conf.sdltest ; then
43727 :
43728 else
43729 echo "*** Could not run SDL test program, checking why..."
43730 CFLAGS="$CFLAGS $SDL_CFLAGS"
43731 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43732 LIBS="$LIBS $SDL_LIBS"
43733 cat >conftest.$ac_ext <<_ACEOF
43734 /* confdefs.h. */
43735 _ACEOF
43736 cat confdefs.h >>conftest.$ac_ext
43737 cat >>conftest.$ac_ext <<_ACEOF
43738 /* end confdefs.h. */
43739
43740 #include <stdio.h>
43741 #include "SDL.h"
43742
43743 int main(int argc, char *argv[])
43744 { return 0; }
43745 #undef main
43746 #define main K_and_R_C_main
43747
43748 int
43749 main ()
43750 {
43751 return 0;
43752 ;
43753 return 0;
43754 }
43755 _ACEOF
43756 rm -f conftest.$ac_objext conftest$ac_exeext
43757 if { (ac_try="$ac_link"
43758 case "(($ac_try" in
43759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43760 *) ac_try_echo=$ac_try;;
43761 esac
43762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43763 (eval "$ac_link") 2>conftest.er1
43764 ac_status=$?
43765 grep -v '^ *+' conftest.er1 >conftest.err
43766 rm -f conftest.er1
43767 cat conftest.err >&5
43768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43769 (exit $ac_status); } && {
43770 test -z "$ac_c_werror_flag" ||
43771 test ! -s conftest.err
43772 } && test -s conftest$ac_exeext &&
43773 $as_test_x conftest$ac_exeext; then
43774 echo "*** The test program compiled, but did not run. This usually means"
43775 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43776 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43777 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43778 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43779 echo "*** is required on your system"
43780 echo "***"
43781 echo "*** If you have an old version installed, it is best to remove it, although"
43782 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43783 else
43784 echo "$as_me: failed program was:" >&5
43785 sed 's/^/| /' conftest.$ac_ext >&5
43786
43787 echo "*** The test program failed to compile or link. See the file config.log for the"
43788 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43789 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43790 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43791 fi
43792
43793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43794 conftest$ac_exeext conftest.$ac_ext
43795 CFLAGS="$ac_save_CFLAGS"
43796 CXXFLAGS="$ac_save_CXXFLAGS"
43797 LIBS="$ac_save_LIBS"
43798 fi
43799 fi
43800 SDL_CFLAGS=""
43801 SDL_LIBS=""
43802 wxUSE_LIBSDL="no"
43803 fi
43804
43805
43806 rm -f conf.sdltest
43807
43808 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43809 WITH_PLUGIN_SDL=1
43810 fi
43811 fi
43812 else
43813 if test "$wxUSE_MGL" = 1; then
43814 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43815 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43816 wxUSE_SOUND="no"
43817 fi
43818 fi
43819 fi
43820
43821 if test "$wxUSE_SOUND" = "yes"; then
43822 cat >>confdefs.h <<\_ACEOF
43823 #define wxUSE_SOUND 1
43824 _ACEOF
43825
43826 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
43827 fi
43828
43829 if test "$WXGTK20" = 1; then
43830
43831
43832 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43833 if test -n "$ac_tool_prefix"; then
43834 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43835 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
43836 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43838 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43839 echo $ECHO_N "(cached) $ECHO_C" >&6
43840 else
43841 case $PKG_CONFIG in
43842 [\\/]* | ?:[\\/]*)
43843 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
43844 ;;
43845 *)
43846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43847 for as_dir in $PATH
43848 do
43849 IFS=$as_save_IFS
43850 test -z "$as_dir" && as_dir=.
43851 for ac_exec_ext in '' $ac_executable_extensions; do
43852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43853 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43855 break 2
43856 fi
43857 done
43858 done
43859 IFS=$as_save_IFS
43860
43861 ;;
43862 esac
43863 fi
43864 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
43865 if test -n "$PKG_CONFIG"; then
43866 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43867 echo "${ECHO_T}$PKG_CONFIG" >&6; }
43868 else
43869 { echo "$as_me:$LINENO: result: no" >&5
43870 echo "${ECHO_T}no" >&6; }
43871 fi
43872
43873
43874 fi
43875 if test -z "$ac_cv_path_PKG_CONFIG"; then
43876 ac_pt_PKG_CONFIG=$PKG_CONFIG
43877 # Extract the first word of "pkg-config", so it can be a program name with args.
43878 set dummy pkg-config; ac_word=$2
43879 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43881 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43882 echo $ECHO_N "(cached) $ECHO_C" >&6
43883 else
43884 case $ac_pt_PKG_CONFIG in
43885 [\\/]* | ?:[\\/]*)
43886 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43887 ;;
43888 *)
43889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43890 for as_dir in $PATH
43891 do
43892 IFS=$as_save_IFS
43893 test -z "$as_dir" && as_dir=.
43894 for ac_exec_ext in '' $ac_executable_extensions; do
43895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43896 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43898 break 2
43899 fi
43900 done
43901 done
43902 IFS=$as_save_IFS
43903
43904 ;;
43905 esac
43906 fi
43907 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
43908 if test -n "$ac_pt_PKG_CONFIG"; then
43909 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43910 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
43911 else
43912 { echo "$as_me:$LINENO: result: no" >&5
43913 echo "${ECHO_T}no" >&6; }
43914 fi
43915
43916 if test "x$ac_pt_PKG_CONFIG" = x; then
43917 PKG_CONFIG=""
43918 else
43919 case $cross_compiling:$ac_tool_warned in
43920 yes:)
43921 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
43922 whose name does not start with the host triplet. If you think this
43923 configuration is useful to you, please write to autoconf@gnu.org." >&5
43924 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
43925 whose name does not start with the host triplet. If you think this
43926 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
43927 ac_tool_warned=yes ;;
43928 esac
43929 PKG_CONFIG=$ac_pt_PKG_CONFIG
43930 fi
43931 else
43932 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
43933 fi
43934
43935 fi
43936 if test -n "$PKG_CONFIG"; then
43937 _pkg_min_version=0.9.0
43938 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43939 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
43940 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43941 { echo "$as_me:$LINENO: result: yes" >&5
43942 echo "${ECHO_T}yes" >&6; }
43943 else
43944 { echo "$as_me:$LINENO: result: no" >&5
43945 echo "${ECHO_T}no" >&6; }
43946 PKG_CONFIG=""
43947 fi
43948
43949 fi
43950
43951 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43952 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43953
43954
43955 pkg_failed=no
43956 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43957 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
43958
43959 if test -n "$PKG_CONFIG"; then
43960 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43961 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
43962 else
43963 if test -n "$PKG_CONFIG" && \
43964 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43965 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43966 ac_status=$?
43967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43968 (exit $ac_status); }; then
43969 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43970 else
43971 pkg_failed=yes
43972 fi
43973 fi
43974 else
43975 pkg_failed=untried
43976 fi
43977 if test -n "$PKG_CONFIG"; then
43978 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43979 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
43980 else
43981 if test -n "$PKG_CONFIG" && \
43982 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43983 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43984 ac_status=$?
43985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43986 (exit $ac_status); }; then
43987 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43988 else
43989 pkg_failed=yes
43990 fi
43991 fi
43992 else
43993 pkg_failed=untried
43994 fi
43995
43996
43997
43998 if test $pkg_failed = yes; then
43999
44000 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44001 _pkg_short_errors_supported=yes
44002 else
44003 _pkg_short_errors_supported=no
44004 fi
44005 if test $_pkg_short_errors_supported = yes; then
44006 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44007 else
44008 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44009 fi
44010 # Put the nasty error message in config.log where it belongs
44011 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44012
44013
44014 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44015 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44016 wxUSE_LIBGNOMEPRINT="no"
44017
44018
44019 elif test $pkg_failed = untried; then
44020
44021 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44022 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44023 wxUSE_LIBGNOMEPRINT="no"
44024
44025
44026 else
44027 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44028 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44029 { echo "$as_me:$LINENO: result: yes" >&5
44030 echo "${ECHO_T}yes" >&6; }
44031
44032 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44033 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44034 cat >>confdefs.h <<\_ACEOF
44035 #define wxUSE_LIBGNOMEPRINT 1
44036 _ACEOF
44037
44038
44039 fi
44040 fi
44041 fi
44042
44043 if test "$wxUSE_MIMETYPE" = "yes" ; then
44044 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44045
44046
44047 pkg_failed=no
44048 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44049 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44050
44051 if test -n "$PKG_CONFIG"; then
44052 if test -n "$GNOMEVFS_CFLAGS"; then
44053 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44054 else
44055 if test -n "$PKG_CONFIG" && \
44056 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44057 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44058 ac_status=$?
44059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44060 (exit $ac_status); }; then
44061 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44062 else
44063 pkg_failed=yes
44064 fi
44065 fi
44066 else
44067 pkg_failed=untried
44068 fi
44069 if test -n "$PKG_CONFIG"; then
44070 if test -n "$GNOMEVFS_LIBS"; then
44071 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44072 else
44073 if test -n "$PKG_CONFIG" && \
44074 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44075 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44076 ac_status=$?
44077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44078 (exit $ac_status); }; then
44079 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44080 else
44081 pkg_failed=yes
44082 fi
44083 fi
44084 else
44085 pkg_failed=untried
44086 fi
44087
44088
44089
44090 if test $pkg_failed = yes; then
44091
44092 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44093 _pkg_short_errors_supported=yes
44094 else
44095 _pkg_short_errors_supported=no
44096 fi
44097 if test $_pkg_short_errors_supported = yes; then
44098 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44099 else
44100 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44101 fi
44102 # Put the nasty error message in config.log where it belongs
44103 echo "$GNOMEVFS_PKG_ERRORS" >&5
44104
44105
44106 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44107 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44108 wxUSE_LIBGNOMEVFS="no"
44109
44110
44111 elif test $pkg_failed = untried; then
44112
44113 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44114 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44115 wxUSE_LIBGNOMEVFS="no"
44116
44117
44118 else
44119 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44120 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44121 { echo "$as_me:$LINENO: result: yes" >&5
44122 echo "${ECHO_T}yes" >&6; }
44123
44124 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44125 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44126 cat >>confdefs.h <<\_ACEOF
44127 #define wxUSE_LIBGNOMEVFS 1
44128 _ACEOF
44129
44130
44131 fi
44132 fi
44133 fi
44134
44135 if test "$wxUSE_LIBHILDON" = "yes" ; then
44136
44137 pkg_failed=no
44138 { echo "$as_me:$LINENO: checking for HILDON" >&5
44139 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44140
44141 if test -n "$PKG_CONFIG"; then
44142 if test -n "$HILDON_CFLAGS"; then
44143 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44144 else
44145 if test -n "$PKG_CONFIG" && \
44146 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44147 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44148 ac_status=$?
44149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44150 (exit $ac_status); }; then
44151 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44152 else
44153 pkg_failed=yes
44154 fi
44155 fi
44156 else
44157 pkg_failed=untried
44158 fi
44159 if test -n "$PKG_CONFIG"; then
44160 if test -n "$HILDON_LIBS"; then
44161 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
44162 else
44163 if test -n "$PKG_CONFIG" && \
44164 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44165 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44166 ac_status=$?
44167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44168 (exit $ac_status); }; then
44169 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44170 else
44171 pkg_failed=yes
44172 fi
44173 fi
44174 else
44175 pkg_failed=untried
44176 fi
44177
44178
44179
44180 if test $pkg_failed = yes; then
44181
44182 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44183 _pkg_short_errors_supported=yes
44184 else
44185 _pkg_short_errors_supported=no
44186 fi
44187 if test $_pkg_short_errors_supported = yes; then
44188 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44189 else
44190 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44191 fi
44192 # Put the nasty error message in config.log where it belongs
44193 echo "$HILDON_PKG_ERRORS" >&5
44194
44195
44196 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44197 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44198 wxUSE_LIBHILDON="no"
44199
44200
44201 elif test $pkg_failed = untried; then
44202
44203 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44204 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44205 wxUSE_LIBHILDON="no"
44206
44207
44208 else
44209 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
44210 HILDON_LIBS=$pkg_cv_HILDON_LIBS
44211 { echo "$as_me:$LINENO: result: yes" >&5
44212 echo "${ECHO_T}yes" >&6; }
44213
44214 EXTRALIBS_HILDON="$HILDON_LIBS"
44215 CFLAGS="$CFLAGS $HILDON_CFLAGS"
44216 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
44217 cat >>confdefs.h <<\_ACEOF
44218 #define wxUSE_LIBHILDON 1
44219 _ACEOF
44220
44221
44222 fi
44223 fi
44224 fi
44225
44226 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44227 cat >>confdefs.h <<\_ACEOF
44228 #define wxUSE_CMDLINE_PARSER 1
44229 _ACEOF
44230
44231 fi
44232
44233 if test "$wxUSE_STOPWATCH" = "yes"; then
44234 cat >>confdefs.h <<\_ACEOF
44235 #define wxUSE_STOPWATCH 1
44236 _ACEOF
44237
44238 fi
44239
44240 if test "$wxUSE_DATETIME" = "yes"; then
44241 cat >>confdefs.h <<\_ACEOF
44242 #define wxUSE_DATETIME 1
44243 _ACEOF
44244
44245 fi
44246
44247 if test "$wxUSE_FILE" = "yes"; then
44248 cat >>confdefs.h <<\_ACEOF
44249 #define wxUSE_FILE 1
44250 _ACEOF
44251
44252 fi
44253
44254 if test "$wxUSE_FFILE" = "yes"; then
44255 cat >>confdefs.h <<\_ACEOF
44256 #define wxUSE_FFILE 1
44257 _ACEOF
44258
44259 fi
44260
44261 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44262 if test "$wxUSE_STREAMS" != yes; then
44263 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44264 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44265 wxUSE_ARCHIVE_STREAMS=no
44266 else
44267 cat >>confdefs.h <<\_ACEOF
44268 #define wxUSE_ARCHIVE_STREAMS 1
44269 _ACEOF
44270
44271 fi
44272 fi
44273
44274 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44275 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44276 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44277 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44278 elif test "$wxUSE_ZLIB" = "no"; then
44279 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44280 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44281 else
44282 cat >>confdefs.h <<\_ACEOF
44283 #define wxUSE_ZIPSTREAM 1
44284 _ACEOF
44285
44286 fi
44287 fi
44288
44289 if test "$wxUSE_TARSTREAM" = "yes"; then
44290 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44291 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44292 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44293 else
44294 cat >>confdefs.h <<\_ACEOF
44295 #define wxUSE_TARSTREAM 1
44296 _ACEOF
44297
44298 fi
44299 fi
44300
44301 if test "$wxUSE_FILESYSTEM" = "yes"; then
44302 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
44303 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44304 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44305 wxUSE_FILESYSTEM=no
44306 else
44307 cat >>confdefs.h <<\_ACEOF
44308 #define wxUSE_FILESYSTEM 1
44309 _ACEOF
44310
44311 fi
44312 fi
44313
44314 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44315 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44316 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44317 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44318 else
44319 cat >>confdefs.h <<\_ACEOF
44320 #define wxUSE_FS_ARCHIVE 1
44321 _ACEOF
44322
44323 fi
44324 fi
44325
44326 if test "$wxUSE_FS_ZIP" = "yes"; then
44327 if test "$wxUSE_FS_ARCHIVE" != yes; then
44328 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44329 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44330 else
44331 cat >>confdefs.h <<\_ACEOF
44332 #define wxUSE_FS_ZIP 1
44333 _ACEOF
44334
44335 fi
44336 fi
44337
44338 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44339 if test "$USE_UNIX" != 1; then
44340 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44341 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44342 wxUSE_ON_FATAL_EXCEPTION=no
44343 else
44344 cat >>confdefs.h <<\_ACEOF
44345 #define wxUSE_ON_FATAL_EXCEPTION 1
44346 _ACEOF
44347
44348 fi
44349 fi
44350
44351 if test "$wxUSE_STACKWALKER" = "yes"; then
44352 cat >>confdefs.h <<\_ACEOF
44353 #define wxUSE_STACKWALKER 1
44354 _ACEOF
44355
44356 fi
44357
44358 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44359 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
44360 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44361 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44362 wxUSE_DEBUGREPORT=no
44363 else
44364 cat >>confdefs.h <<\_ACEOF
44365 #define wxUSE_DEBUGREPORT 1
44366 _ACEOF
44367
44368 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44369 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
44370 fi
44371 fi
44372 fi
44373
44374 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44375 cat >>confdefs.h <<\_ACEOF
44376 #define wxUSE_SNGLINST_CHECKER 1
44377 _ACEOF
44378
44379 fi
44380
44381 if test "$wxUSE_BUSYINFO" = "yes"; then
44382 cat >>confdefs.h <<\_ACEOF
44383 #define wxUSE_BUSYINFO 1
44384 _ACEOF
44385
44386 fi
44387
44388 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44389 cat >>confdefs.h <<\_ACEOF
44390 #define wxUSE_STD_IOSTREAM 1
44391 _ACEOF
44392
44393 fi
44394
44395 if test "$wxUSE_STD_STRING" = "yes"; then
44396 cat >>confdefs.h <<\_ACEOF
44397 #define wxUSE_STD_STRING 1
44398 _ACEOF
44399
44400 fi
44401
44402 if test "$wxUSE_STDPATHS" = "yes"; then
44403 cat >>confdefs.h <<\_ACEOF
44404 #define wxUSE_STDPATHS 1
44405 _ACEOF
44406
44407 fi
44408
44409 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44410 cat >>confdefs.h <<\_ACEOF
44411 #define wxUSE_TEXTBUFFER 1
44412 _ACEOF
44413
44414 fi
44415
44416 if test "$wxUSE_TEXTFILE" = "yes"; then
44417 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44418 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44419 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44420 else
44421 cat >>confdefs.h <<\_ACEOF
44422 #define wxUSE_TEXTFILE 1
44423 _ACEOF
44424
44425 fi
44426 fi
44427
44428 if test "$wxUSE_CONFIG" = "yes" ; then
44429 if test "$wxUSE_TEXTFILE" != "yes"; then
44430 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44431 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44432 else
44433 cat >>confdefs.h <<\_ACEOF
44434 #define wxUSE_CONFIG 1
44435 _ACEOF
44436
44437 cat >>confdefs.h <<\_ACEOF
44438 #define wxUSE_CONFIG_NATIVE 1
44439 _ACEOF
44440
44441 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
44442 fi
44443 fi
44444
44445 if test "$wxUSE_INTL" = "yes" ; then
44446 if test "$wxUSE_FILE" != "yes"; then
44447 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44448 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44449 else
44450 cat >>confdefs.h <<\_ACEOF
44451 #define wxUSE_INTL 1
44452 _ACEOF
44453
44454 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
44455 GUIDIST="$GUIDIST INTL_DIST"
44456 fi
44457 fi
44458
44459 if test "$wxUSE_LOG" = "yes"; then
44460 cat >>confdefs.h <<\_ACEOF
44461 #define wxUSE_LOG 1
44462 _ACEOF
44463
44464
44465 if test "$wxUSE_LOGGUI" = "yes"; then
44466 cat >>confdefs.h <<\_ACEOF
44467 #define wxUSE_LOGGUI 1
44468 _ACEOF
44469
44470 fi
44471
44472 if test "$wxUSE_LOGWINDOW" = "yes"; then
44473 cat >>confdefs.h <<\_ACEOF
44474 #define wxUSE_LOGWINDOW 1
44475 _ACEOF
44476
44477 fi
44478
44479 if test "$wxUSE_LOGDIALOG" = "yes"; then
44480 cat >>confdefs.h <<\_ACEOF
44481 #define wxUSE_LOG_DIALOG 1
44482 _ACEOF
44483
44484 fi
44485
44486 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44487 fi
44488
44489 if test "$wxUSE_LONGLONG" = "yes"; then
44490 cat >>confdefs.h <<\_ACEOF
44491 #define wxUSE_LONGLONG 1
44492 _ACEOF
44493
44494 fi
44495
44496 if test "$wxUSE_GEOMETRY" = "yes"; then
44497 cat >>confdefs.h <<\_ACEOF
44498 #define wxUSE_GEOMETRY 1
44499 _ACEOF
44500
44501 fi
44502
44503 if test "$wxUSE_STREAMS" = "yes" ; then
44504 cat >>confdefs.h <<\_ACEOF
44505 #define wxUSE_STREAMS 1
44506 _ACEOF
44507
44508 fi
44509
44510 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44511 cat >>confdefs.h <<\_ACEOF
44512 #define wxUSE_PRINTF_POS_PARAMS 1
44513 _ACEOF
44514
44515 fi
44516
44517
44518
44519 if test "$wxUSE_DATETIME" = "yes"; then
44520
44521 for ac_func in strptime
44522 do
44523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44524 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44526 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44527 echo $ECHO_N "(cached) $ECHO_C" >&6
44528 else
44529 cat >conftest.$ac_ext <<_ACEOF
44530 /* confdefs.h. */
44531 _ACEOF
44532 cat confdefs.h >>conftest.$ac_ext
44533 cat >>conftest.$ac_ext <<_ACEOF
44534 /* end confdefs.h. */
44535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44537 #define $ac_func innocuous_$ac_func
44538
44539 /* System header to define __stub macros and hopefully few prototypes,
44540 which can conflict with char $ac_func (); below.
44541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44542 <limits.h> exists even on freestanding compilers. */
44543
44544 #ifdef __STDC__
44545 # include <limits.h>
44546 #else
44547 # include <assert.h>
44548 #endif
44549
44550 #undef $ac_func
44551
44552 /* Override any GCC internal prototype to avoid an error.
44553 Use char because int might match the return type of a GCC
44554 builtin and then its argument prototype would still apply. */
44555 #ifdef __cplusplus
44556 extern "C"
44557 #endif
44558 char $ac_func ();
44559 /* The GNU C library defines this for functions which it implements
44560 to always fail with ENOSYS. Some functions are actually named
44561 something starting with __ and the normal name is an alias. */
44562 #if defined __stub_$ac_func || defined __stub___$ac_func
44563 choke me
44564 #endif
44565
44566 int
44567 main ()
44568 {
44569 return $ac_func ();
44570 ;
44571 return 0;
44572 }
44573 _ACEOF
44574 rm -f conftest.$ac_objext conftest$ac_exeext
44575 if { (ac_try="$ac_link"
44576 case "(($ac_try" in
44577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44578 *) ac_try_echo=$ac_try;;
44579 esac
44580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44581 (eval "$ac_link") 2>conftest.er1
44582 ac_status=$?
44583 grep -v '^ *+' conftest.er1 >conftest.err
44584 rm -f conftest.er1
44585 cat conftest.err >&5
44586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44587 (exit $ac_status); } && {
44588 test -z "$ac_c_werror_flag" ||
44589 test ! -s conftest.err
44590 } && test -s conftest$ac_exeext &&
44591 $as_test_x conftest$ac_exeext; then
44592 eval "$as_ac_var=yes"
44593 else
44594 echo "$as_me: failed program was:" >&5
44595 sed 's/^/| /' conftest.$ac_ext >&5
44596
44597 eval "$as_ac_var=no"
44598 fi
44599
44600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44601 conftest$ac_exeext conftest.$ac_ext
44602 fi
44603 ac_res=`eval echo '${'$as_ac_var'}'`
44604 { echo "$as_me:$LINENO: result: $ac_res" >&5
44605 echo "${ECHO_T}$ac_res" >&6; }
44606 if test `eval echo '${'$as_ac_var'}'` = yes; then
44607 cat >>confdefs.h <<_ACEOF
44608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44609 _ACEOF
44610
44611 fi
44612 done
44613
44614 if test "$ac_cv_func_strptime" = "yes"; then
44615 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
44616 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
44617 if test "${wx_cv_func_strptime_decl+set}" = set; then
44618 echo $ECHO_N "(cached) $ECHO_C" >&6
44619 else
44620
44621 ac_ext=cpp
44622 ac_cpp='$CXXCPP $CPPFLAGS'
44623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44626
44627 cat >conftest.$ac_ext <<_ACEOF
44628 /* confdefs.h. */
44629 _ACEOF
44630 cat confdefs.h >>conftest.$ac_ext
44631 cat >>conftest.$ac_ext <<_ACEOF
44632 /* end confdefs.h. */
44633
44634 #include <time.h>
44635
44636 int
44637 main ()
44638 {
44639
44640 struct tm t;
44641 strptime("foo", "bar", &t);
44642
44643 ;
44644 return 0;
44645 }
44646 _ACEOF
44647 rm -f conftest.$ac_objext
44648 if { (ac_try="$ac_compile"
44649 case "(($ac_try" in
44650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44651 *) ac_try_echo=$ac_try;;
44652 esac
44653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44654 (eval "$ac_compile") 2>conftest.er1
44655 ac_status=$?
44656 grep -v '^ *+' conftest.er1 >conftest.err
44657 rm -f conftest.er1
44658 cat conftest.err >&5
44659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44660 (exit $ac_status); } && {
44661 test -z "$ac_cxx_werror_flag" ||
44662 test ! -s conftest.err
44663 } && test -s conftest.$ac_objext; then
44664 wx_cv_func_strptime_decl=yes
44665 else
44666 echo "$as_me: failed program was:" >&5
44667 sed 's/^/| /' conftest.$ac_ext >&5
44668
44669 wx_cv_func_strptime_decl=no
44670
44671 fi
44672
44673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44674 ac_ext=c
44675 ac_cpp='$CPP $CPPFLAGS'
44676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44679
44680
44681
44682 fi
44683 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
44684 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
44685 fi
44686 if test "$wx_cv_func_strptime_decl" = "yes"; then
44687 cat >>confdefs.h <<\_ACEOF
44688 #define HAVE_STRPTIME_DECL 1
44689 _ACEOF
44690
44691 fi
44692
44693 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44694 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44695 if test "${wx_cv_var_timezone+set}" = set; then
44696 echo $ECHO_N "(cached) $ECHO_C" >&6
44697 else
44698
44699 ac_ext=cpp
44700 ac_cpp='$CXXCPP $CPPFLAGS'
44701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44704
44705 cat >conftest.$ac_ext <<_ACEOF
44706 /* confdefs.h. */
44707 _ACEOF
44708 cat confdefs.h >>conftest.$ac_ext
44709 cat >>conftest.$ac_ext <<_ACEOF
44710 /* end confdefs.h. */
44711
44712 #include <time.h>
44713
44714 int
44715 main ()
44716 {
44717
44718 int tz;
44719 tz = timezone;
44720
44721 ;
44722 return 0;
44723 }
44724 _ACEOF
44725 rm -f conftest.$ac_objext
44726 if { (ac_try="$ac_compile"
44727 case "(($ac_try" in
44728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44729 *) ac_try_echo=$ac_try;;
44730 esac
44731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44732 (eval "$ac_compile") 2>conftest.er1
44733 ac_status=$?
44734 grep -v '^ *+' conftest.er1 >conftest.err
44735 rm -f conftest.er1
44736 cat conftest.err >&5
44737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44738 (exit $ac_status); } && {
44739 test -z "$ac_cxx_werror_flag" ||
44740 test ! -s conftest.err
44741 } && test -s conftest.$ac_objext; then
44742
44743 wx_cv_var_timezone=timezone
44744
44745 else
44746 echo "$as_me: failed program was:" >&5
44747 sed 's/^/| /' conftest.$ac_ext >&5
44748
44749
44750 cat >conftest.$ac_ext <<_ACEOF
44751 /* confdefs.h. */
44752 _ACEOF
44753 cat confdefs.h >>conftest.$ac_ext
44754 cat >>conftest.$ac_ext <<_ACEOF
44755 /* end confdefs.h. */
44756
44757 #include <time.h>
44758
44759 int
44760 main ()
44761 {
44762
44763 int tz;
44764 tz = _timezone;
44765
44766 ;
44767 return 0;
44768 }
44769 _ACEOF
44770 rm -f conftest.$ac_objext
44771 if { (ac_try="$ac_compile"
44772 case "(($ac_try" in
44773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44774 *) ac_try_echo=$ac_try;;
44775 esac
44776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44777 (eval "$ac_compile") 2>conftest.er1
44778 ac_status=$?
44779 grep -v '^ *+' conftest.er1 >conftest.err
44780 rm -f conftest.er1
44781 cat conftest.err >&5
44782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44783 (exit $ac_status); } && {
44784 test -z "$ac_cxx_werror_flag" ||
44785 test ! -s conftest.err
44786 } && test -s conftest.$ac_objext; then
44787
44788 wx_cv_var_timezone=_timezone
44789
44790 else
44791 echo "$as_me: failed program was:" >&5
44792 sed 's/^/| /' conftest.$ac_ext >&5
44793
44794
44795 cat >conftest.$ac_ext <<_ACEOF
44796 /* confdefs.h. */
44797 _ACEOF
44798 cat confdefs.h >>conftest.$ac_ext
44799 cat >>conftest.$ac_ext <<_ACEOF
44800 /* end confdefs.h. */
44801
44802 #include <time.h>
44803
44804 int
44805 main ()
44806 {
44807
44808 int tz;
44809 tz = __timezone;
44810
44811 ;
44812 return 0;
44813 }
44814 _ACEOF
44815 rm -f conftest.$ac_objext
44816 if { (ac_try="$ac_compile"
44817 case "(($ac_try" in
44818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44819 *) ac_try_echo=$ac_try;;
44820 esac
44821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44822 (eval "$ac_compile") 2>conftest.er1
44823 ac_status=$?
44824 grep -v '^ *+' conftest.er1 >conftest.err
44825 rm -f conftest.er1
44826 cat conftest.err >&5
44827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44828 (exit $ac_status); } && {
44829 test -z "$ac_cxx_werror_flag" ||
44830 test ! -s conftest.err
44831 } && test -s conftest.$ac_objext; then
44832
44833 wx_cv_var_timezone=__timezone
44834
44835 else
44836 echo "$as_me: failed program was:" >&5
44837 sed 's/^/| /' conftest.$ac_ext >&5
44838
44839
44840 if test "$USE_DOS" = 0 ; then
44841 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44842 echo "$as_me: WARNING: no timezone variable" >&2;}
44843 fi
44844
44845
44846 fi
44847
44848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44849
44850
44851 fi
44852
44853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44854
44855
44856 fi
44857
44858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44859 ac_ext=c
44860 ac_cpp='$CPP $CPPFLAGS'
44861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44864
44865
44866
44867 fi
44868 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44869 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44870
44871 if test "x$wx_cv_var_timezone" != x ; then
44872 cat >>confdefs.h <<_ACEOF
44873 #define WX_TIMEZONE $wx_cv_var_timezone
44874 _ACEOF
44875
44876 fi
44877
44878
44879 for ac_func in localtime
44880 do
44881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44882 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44884 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44885 echo $ECHO_N "(cached) $ECHO_C" >&6
44886 else
44887 cat >conftest.$ac_ext <<_ACEOF
44888 /* confdefs.h. */
44889 _ACEOF
44890 cat confdefs.h >>conftest.$ac_ext
44891 cat >>conftest.$ac_ext <<_ACEOF
44892 /* end confdefs.h. */
44893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44895 #define $ac_func innocuous_$ac_func
44896
44897 /* System header to define __stub macros and hopefully few prototypes,
44898 which can conflict with char $ac_func (); below.
44899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44900 <limits.h> exists even on freestanding compilers. */
44901
44902 #ifdef __STDC__
44903 # include <limits.h>
44904 #else
44905 # include <assert.h>
44906 #endif
44907
44908 #undef $ac_func
44909
44910 /* Override any GCC internal prototype to avoid an error.
44911 Use char because int might match the return type of a GCC
44912 builtin and then its argument prototype would still apply. */
44913 #ifdef __cplusplus
44914 extern "C"
44915 #endif
44916 char $ac_func ();
44917 /* The GNU C library defines this for functions which it implements
44918 to always fail with ENOSYS. Some functions are actually named
44919 something starting with __ and the normal name is an alias. */
44920 #if defined __stub_$ac_func || defined __stub___$ac_func
44921 choke me
44922 #endif
44923
44924 int
44925 main ()
44926 {
44927 return $ac_func ();
44928 ;
44929 return 0;
44930 }
44931 _ACEOF
44932 rm -f conftest.$ac_objext conftest$ac_exeext
44933 if { (ac_try="$ac_link"
44934 case "(($ac_try" in
44935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44936 *) ac_try_echo=$ac_try;;
44937 esac
44938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44939 (eval "$ac_link") 2>conftest.er1
44940 ac_status=$?
44941 grep -v '^ *+' conftest.er1 >conftest.err
44942 rm -f conftest.er1
44943 cat conftest.err >&5
44944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44945 (exit $ac_status); } && {
44946 test -z "$ac_c_werror_flag" ||
44947 test ! -s conftest.err
44948 } && test -s conftest$ac_exeext &&
44949 $as_test_x conftest$ac_exeext; then
44950 eval "$as_ac_var=yes"
44951 else
44952 echo "$as_me: failed program was:" >&5
44953 sed 's/^/| /' conftest.$ac_ext >&5
44954
44955 eval "$as_ac_var=no"
44956 fi
44957
44958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44959 conftest$ac_exeext conftest.$ac_ext
44960 fi
44961 ac_res=`eval echo '${'$as_ac_var'}'`
44962 { echo "$as_me:$LINENO: result: $ac_res" >&5
44963 echo "${ECHO_T}$ac_res" >&6; }
44964 if test `eval echo '${'$as_ac_var'}'` = yes; then
44965 cat >>confdefs.h <<_ACEOF
44966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44967 _ACEOF
44968
44969 fi
44970 done
44971
44972
44973 if test "$ac_cv_func_localtime" = "yes"; then
44974 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44975 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44976 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44977 echo $ECHO_N "(cached) $ECHO_C" >&6
44978 else
44979
44980 cat >conftest.$ac_ext <<_ACEOF
44981 /* confdefs.h. */
44982 _ACEOF
44983 cat confdefs.h >>conftest.$ac_ext
44984 cat >>conftest.$ac_ext <<_ACEOF
44985 /* end confdefs.h. */
44986
44987 #include <time.h>
44988
44989 int
44990 main ()
44991 {
44992
44993 struct tm tm;
44994 tm.tm_gmtoff++;
44995
44996 ;
44997 return 0;
44998 }
44999 _ACEOF
45000 rm -f conftest.$ac_objext
45001 if { (ac_try="$ac_compile"
45002 case "(($ac_try" in
45003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45004 *) ac_try_echo=$ac_try;;
45005 esac
45006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45007 (eval "$ac_compile") 2>conftest.er1
45008 ac_status=$?
45009 grep -v '^ *+' conftest.er1 >conftest.err
45010 rm -f conftest.er1
45011 cat conftest.err >&5
45012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45013 (exit $ac_status); } && {
45014 test -z "$ac_c_werror_flag" ||
45015 test ! -s conftest.err
45016 } && test -s conftest.$ac_objext; then
45017
45018 wx_cv_struct_tm_has_gmtoff=yes
45019
45020 else
45021 echo "$as_me: failed program was:" >&5
45022 sed 's/^/| /' conftest.$ac_ext >&5
45023
45024 wx_cv_struct_tm_has_gmtoff=no
45025
45026 fi
45027
45028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45029
45030 fi
45031 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45032 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45033 fi
45034
45035 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45036 cat >>confdefs.h <<\_ACEOF
45037 #define WX_GMTOFF_IN_TM 1
45038 _ACEOF
45039
45040 fi
45041
45042
45043
45044 for ac_func in gettimeofday ftime
45045 do
45046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45047 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45049 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45050 echo $ECHO_N "(cached) $ECHO_C" >&6
45051 else
45052 cat >conftest.$ac_ext <<_ACEOF
45053 /* confdefs.h. */
45054 _ACEOF
45055 cat confdefs.h >>conftest.$ac_ext
45056 cat >>conftest.$ac_ext <<_ACEOF
45057 /* end confdefs.h. */
45058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45060 #define $ac_func innocuous_$ac_func
45061
45062 /* System header to define __stub macros and hopefully few prototypes,
45063 which can conflict with char $ac_func (); below.
45064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45065 <limits.h> exists even on freestanding compilers. */
45066
45067 #ifdef __STDC__
45068 # include <limits.h>
45069 #else
45070 # include <assert.h>
45071 #endif
45072
45073 #undef $ac_func
45074
45075 /* Override any GCC internal prototype to avoid an error.
45076 Use char because int might match the return type of a GCC
45077 builtin and then its argument prototype would still apply. */
45078 #ifdef __cplusplus
45079 extern "C"
45080 #endif
45081 char $ac_func ();
45082 /* The GNU C library defines this for functions which it implements
45083 to always fail with ENOSYS. Some functions are actually named
45084 something starting with __ and the normal name is an alias. */
45085 #if defined __stub_$ac_func || defined __stub___$ac_func
45086 choke me
45087 #endif
45088
45089 int
45090 main ()
45091 {
45092 return $ac_func ();
45093 ;
45094 return 0;
45095 }
45096 _ACEOF
45097 rm -f conftest.$ac_objext conftest$ac_exeext
45098 if { (ac_try="$ac_link"
45099 case "(($ac_try" in
45100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45101 *) ac_try_echo=$ac_try;;
45102 esac
45103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45104 (eval "$ac_link") 2>conftest.er1
45105 ac_status=$?
45106 grep -v '^ *+' conftest.er1 >conftest.err
45107 rm -f conftest.er1
45108 cat conftest.err >&5
45109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45110 (exit $ac_status); } && {
45111 test -z "$ac_c_werror_flag" ||
45112 test ! -s conftest.err
45113 } && test -s conftest$ac_exeext &&
45114 $as_test_x conftest$ac_exeext; then
45115 eval "$as_ac_var=yes"
45116 else
45117 echo "$as_me: failed program was:" >&5
45118 sed 's/^/| /' conftest.$ac_ext >&5
45119
45120 eval "$as_ac_var=no"
45121 fi
45122
45123 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45124 conftest$ac_exeext conftest.$ac_ext
45125 fi
45126 ac_res=`eval echo '${'$as_ac_var'}'`
45127 { echo "$as_me:$LINENO: result: $ac_res" >&5
45128 echo "${ECHO_T}$ac_res" >&6; }
45129 if test `eval echo '${'$as_ac_var'}'` = yes; then
45130 cat >>confdefs.h <<_ACEOF
45131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45132 _ACEOF
45133 break
45134 fi
45135 done
45136
45137
45138 if test "$ac_cv_func_gettimeofday" = "yes"; then
45139 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45140 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45141 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45142 echo $ECHO_N "(cached) $ECHO_C" >&6
45143 else
45144
45145 cat >conftest.$ac_ext <<_ACEOF
45146 /* confdefs.h. */
45147 _ACEOF
45148 cat confdefs.h >>conftest.$ac_ext
45149 cat >>conftest.$ac_ext <<_ACEOF
45150 /* end confdefs.h. */
45151
45152 #include <sys/time.h>
45153 #include <unistd.h>
45154
45155 int
45156 main ()
45157 {
45158
45159 struct timeval tv;
45160 gettimeofday(&tv, NULL);
45161
45162 ;
45163 return 0;
45164 }
45165 _ACEOF
45166 rm -f conftest.$ac_objext
45167 if { (ac_try="$ac_compile"
45168 case "(($ac_try" in
45169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45170 *) ac_try_echo=$ac_try;;
45171 esac
45172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45173 (eval "$ac_compile") 2>conftest.er1
45174 ac_status=$?
45175 grep -v '^ *+' conftest.er1 >conftest.err
45176 rm -f conftest.er1
45177 cat conftest.err >&5
45178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45179 (exit $ac_status); } && {
45180 test -z "$ac_c_werror_flag" ||
45181 test ! -s conftest.err
45182 } && test -s conftest.$ac_objext; then
45183 wx_cv_func_gettimeofday_has_2_args=yes
45184 else
45185 echo "$as_me: failed program was:" >&5
45186 sed 's/^/| /' conftest.$ac_ext >&5
45187
45188 cat >conftest.$ac_ext <<_ACEOF
45189 /* confdefs.h. */
45190 _ACEOF
45191 cat confdefs.h >>conftest.$ac_ext
45192 cat >>conftest.$ac_ext <<_ACEOF
45193 /* end confdefs.h. */
45194
45195 #include <sys/time.h>
45196 #include <unistd.h>
45197
45198 int
45199 main ()
45200 {
45201
45202 struct timeval tv;
45203 gettimeofday(&tv);
45204
45205 ;
45206 return 0;
45207 }
45208 _ACEOF
45209 rm -f conftest.$ac_objext
45210 if { (ac_try="$ac_compile"
45211 case "(($ac_try" in
45212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45213 *) ac_try_echo=$ac_try;;
45214 esac
45215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45216 (eval "$ac_compile") 2>conftest.er1
45217 ac_status=$?
45218 grep -v '^ *+' conftest.er1 >conftest.err
45219 rm -f conftest.er1
45220 cat conftest.err >&5
45221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45222 (exit $ac_status); } && {
45223 test -z "$ac_c_werror_flag" ||
45224 test ! -s conftest.err
45225 } && test -s conftest.$ac_objext; then
45226 wx_cv_func_gettimeofday_has_2_args=no
45227 else
45228 echo "$as_me: failed program was:" >&5
45229 sed 's/^/| /' conftest.$ac_ext >&5
45230
45231
45232 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45233 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45234 wx_cv_func_gettimeofday_has_2_args=unknown
45235
45236
45237 fi
45238
45239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45240
45241 fi
45242
45243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45244
45245 fi
45246 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45247 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45248
45249 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45250 cat >>confdefs.h <<\_ACEOF
45251 #define WX_GETTIMEOFDAY_NO_TZ 1
45252 _ACEOF
45253
45254 fi
45255 fi
45256
45257 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
45258 fi
45259
45260
45261 if test "$wxUSE_SOCKETS" = "yes"; then
45262 if test "$wxUSE_MGL" = "1"; then
45263 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45264 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45265 wxUSE_SOCKETS="no"
45266 fi
45267 fi
45268
45269 if test "$wxUSE_SOCKETS" = "yes"; then
45270 if test "$TOOLKIT" != "MSW"; then
45271 { echo "$as_me:$LINENO: checking for socket" >&5
45272 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45273 if test "${ac_cv_func_socket+set}" = set; then
45274 echo $ECHO_N "(cached) $ECHO_C" >&6
45275 else
45276 cat >conftest.$ac_ext <<_ACEOF
45277 /* confdefs.h. */
45278 _ACEOF
45279 cat confdefs.h >>conftest.$ac_ext
45280 cat >>conftest.$ac_ext <<_ACEOF
45281 /* end confdefs.h. */
45282 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45284 #define socket innocuous_socket
45285
45286 /* System header to define __stub macros and hopefully few prototypes,
45287 which can conflict with char socket (); below.
45288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45289 <limits.h> exists even on freestanding compilers. */
45290
45291 #ifdef __STDC__
45292 # include <limits.h>
45293 #else
45294 # include <assert.h>
45295 #endif
45296
45297 #undef socket
45298
45299 /* Override any GCC internal prototype to avoid an error.
45300 Use char because int might match the return type of a GCC
45301 builtin and then its argument prototype would still apply. */
45302 #ifdef __cplusplus
45303 extern "C"
45304 #endif
45305 char socket ();
45306 /* The GNU C library defines this for functions which it implements
45307 to always fail with ENOSYS. Some functions are actually named
45308 something starting with __ and the normal name is an alias. */
45309 #if defined __stub_socket || defined __stub___socket
45310 choke me
45311 #endif
45312
45313 int
45314 main ()
45315 {
45316 return socket ();
45317 ;
45318 return 0;
45319 }
45320 _ACEOF
45321 rm -f conftest.$ac_objext conftest$ac_exeext
45322 if { (ac_try="$ac_link"
45323 case "(($ac_try" in
45324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45325 *) ac_try_echo=$ac_try;;
45326 esac
45327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45328 (eval "$ac_link") 2>conftest.er1
45329 ac_status=$?
45330 grep -v '^ *+' conftest.er1 >conftest.err
45331 rm -f conftest.er1
45332 cat conftest.err >&5
45333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45334 (exit $ac_status); } && {
45335 test -z "$ac_c_werror_flag" ||
45336 test ! -s conftest.err
45337 } && test -s conftest$ac_exeext &&
45338 $as_test_x conftest$ac_exeext; then
45339 ac_cv_func_socket=yes
45340 else
45341 echo "$as_me: failed program was:" >&5
45342 sed 's/^/| /' conftest.$ac_ext >&5
45343
45344 ac_cv_func_socket=no
45345 fi
45346
45347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45348 conftest$ac_exeext conftest.$ac_ext
45349 fi
45350 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45351 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45352 if test $ac_cv_func_socket = yes; then
45353 :
45354 else
45355
45356 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45357 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45358 if test "${ac_cv_lib_socket_socket+set}" = set; then
45359 echo $ECHO_N "(cached) $ECHO_C" >&6
45360 else
45361 ac_check_lib_save_LIBS=$LIBS
45362 LIBS="-lsocket $LIBS"
45363 cat >conftest.$ac_ext <<_ACEOF
45364 /* confdefs.h. */
45365 _ACEOF
45366 cat confdefs.h >>conftest.$ac_ext
45367 cat >>conftest.$ac_ext <<_ACEOF
45368 /* end confdefs.h. */
45369
45370 /* Override any GCC internal prototype to avoid an error.
45371 Use char because int might match the return type of a GCC
45372 builtin and then its argument prototype would still apply. */
45373 #ifdef __cplusplus
45374 extern "C"
45375 #endif
45376 char socket ();
45377 int
45378 main ()
45379 {
45380 return socket ();
45381 ;
45382 return 0;
45383 }
45384 _ACEOF
45385 rm -f conftest.$ac_objext conftest$ac_exeext
45386 if { (ac_try="$ac_link"
45387 case "(($ac_try" in
45388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45389 *) ac_try_echo=$ac_try;;
45390 esac
45391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45392 (eval "$ac_link") 2>conftest.er1
45393 ac_status=$?
45394 grep -v '^ *+' conftest.er1 >conftest.err
45395 rm -f conftest.er1
45396 cat conftest.err >&5
45397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45398 (exit $ac_status); } && {
45399 test -z "$ac_c_werror_flag" ||
45400 test ! -s conftest.err
45401 } && test -s conftest$ac_exeext &&
45402 $as_test_x conftest$ac_exeext; then
45403 ac_cv_lib_socket_socket=yes
45404 else
45405 echo "$as_me: failed program was:" >&5
45406 sed 's/^/| /' conftest.$ac_ext >&5
45407
45408 ac_cv_lib_socket_socket=no
45409 fi
45410
45411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45412 conftest$ac_exeext conftest.$ac_ext
45413 LIBS=$ac_check_lib_save_LIBS
45414 fi
45415 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45416 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
45417 if test $ac_cv_lib_socket_socket = yes; then
45418 if test "$INET_LINK" != " -lsocket"; then
45419 INET_LINK="$INET_LINK -lsocket"
45420 fi
45421 else
45422
45423 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45424 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45425 wxUSE_SOCKETS=no
45426
45427
45428 fi
45429
45430
45431
45432 fi
45433
45434 fi
45435 fi
45436
45437 if test "$wxUSE_SOCKETS" = "yes" ; then
45438 if test "$TOOLKIT" != "MSW"; then
45439 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45440 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
45441 if test "${wx_cv_type_getsockname3+set}" = set; then
45442 echo $ECHO_N "(cached) $ECHO_C" >&6
45443 else
45444
45445 ac_ext=cpp
45446 ac_cpp='$CXXCPP $CPPFLAGS'
45447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45450
45451 cat >conftest.$ac_ext <<_ACEOF
45452 /* confdefs.h. */
45453 _ACEOF
45454 cat confdefs.h >>conftest.$ac_ext
45455 cat >>conftest.$ac_ext <<_ACEOF
45456 /* end confdefs.h. */
45457
45458 #include <sys/types.h>
45459 #include <sys/socket.h>
45460
45461 int
45462 main ()
45463 {
45464
45465 socklen_t len;
45466 getsockname(0, 0, &len);
45467
45468 ;
45469 return 0;
45470 }
45471 _ACEOF
45472 rm -f conftest.$ac_objext
45473 if { (ac_try="$ac_compile"
45474 case "(($ac_try" in
45475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45476 *) ac_try_echo=$ac_try;;
45477 esac
45478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45479 (eval "$ac_compile") 2>conftest.er1
45480 ac_status=$?
45481 grep -v '^ *+' conftest.er1 >conftest.err
45482 rm -f conftest.er1
45483 cat conftest.err >&5
45484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45485 (exit $ac_status); } && {
45486 test -z "$ac_cxx_werror_flag" ||
45487 test ! -s conftest.err
45488 } && test -s conftest.$ac_objext; then
45489 wx_cv_type_getsockname3=socklen_t
45490 else
45491 echo "$as_me: failed program was:" >&5
45492 sed 's/^/| /' conftest.$ac_ext >&5
45493
45494
45495 CFLAGS_OLD="$CFLAGS"
45496 if test "$GCC" = yes ; then
45497 CFLAGS="-Werror $CFLAGS"
45498 fi
45499
45500 cat >conftest.$ac_ext <<_ACEOF
45501 /* confdefs.h. */
45502 _ACEOF
45503 cat confdefs.h >>conftest.$ac_ext
45504 cat >>conftest.$ac_ext <<_ACEOF
45505 /* end confdefs.h. */
45506
45507 #include <sys/types.h>
45508 #include <sys/socket.h>
45509
45510 int
45511 main ()
45512 {
45513
45514 size_t len;
45515 getsockname(0, 0, &len);
45516
45517 ;
45518 return 0;
45519 }
45520 _ACEOF
45521 rm -f conftest.$ac_objext
45522 if { (ac_try="$ac_compile"
45523 case "(($ac_try" in
45524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45525 *) ac_try_echo=$ac_try;;
45526 esac
45527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45528 (eval "$ac_compile") 2>conftest.er1
45529 ac_status=$?
45530 grep -v '^ *+' conftest.er1 >conftest.err
45531 rm -f conftest.er1
45532 cat conftest.err >&5
45533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45534 (exit $ac_status); } && {
45535 test -z "$ac_cxx_werror_flag" ||
45536 test ! -s conftest.err
45537 } && test -s conftest.$ac_objext; then
45538 wx_cv_type_getsockname3=size_t
45539 else
45540 echo "$as_me: failed program was:" >&5
45541 sed 's/^/| /' conftest.$ac_ext >&5
45542
45543 cat >conftest.$ac_ext <<_ACEOF
45544 /* confdefs.h. */
45545 _ACEOF
45546 cat confdefs.h >>conftest.$ac_ext
45547 cat >>conftest.$ac_ext <<_ACEOF
45548 /* end confdefs.h. */
45549
45550 #include <sys/types.h>
45551 #include <sys/socket.h>
45552
45553 int
45554 main ()
45555 {
45556
45557 int len;
45558 getsockname(0, 0, &len);
45559
45560 ;
45561 return 0;
45562 }
45563 _ACEOF
45564 rm -f conftest.$ac_objext
45565 if { (ac_try="$ac_compile"
45566 case "(($ac_try" in
45567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45568 *) ac_try_echo=$ac_try;;
45569 esac
45570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45571 (eval "$ac_compile") 2>conftest.er1
45572 ac_status=$?
45573 grep -v '^ *+' conftest.er1 >conftest.err
45574 rm -f conftest.er1
45575 cat conftest.err >&5
45576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45577 (exit $ac_status); } && {
45578 test -z "$ac_cxx_werror_flag" ||
45579 test ! -s conftest.err
45580 } && test -s conftest.$ac_objext; then
45581 wx_cv_type_getsockname3=int
45582 else
45583 echo "$as_me: failed program was:" >&5
45584 sed 's/^/| /' conftest.$ac_ext >&5
45585
45586 wx_cv_type_getsockname3=unknown
45587
45588 fi
45589
45590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45591
45592 fi
45593
45594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45595
45596 CFLAGS="$CFLAGS_OLD"
45597
45598
45599 fi
45600
45601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45602 ac_ext=c
45603 ac_cpp='$CPP $CPPFLAGS'
45604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45607
45608
45609 fi
45610 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45611 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
45612
45613 if test "$wx_cv_type_getsockname3" = "unknown"; then
45614 wxUSE_SOCKETS=no
45615 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45616 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45617 else
45618 cat >>confdefs.h <<_ACEOF
45619 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45620 _ACEOF
45621
45622 fi
45623 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45624 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
45625 if test "${wx_cv_type_getsockopt5+set}" = set; then
45626 echo $ECHO_N "(cached) $ECHO_C" >&6
45627 else
45628
45629 cat >conftest.$ac_ext <<_ACEOF
45630 /* confdefs.h. */
45631 _ACEOF
45632 cat confdefs.h >>conftest.$ac_ext
45633 cat >>conftest.$ac_ext <<_ACEOF
45634 /* end confdefs.h. */
45635
45636 #include <sys/types.h>
45637 #include <sys/socket.h>
45638
45639 int
45640 main ()
45641 {
45642
45643 socklen_t len;
45644 getsockopt(0, 0, 0, 0, &len);
45645
45646 ;
45647 return 0;
45648 }
45649 _ACEOF
45650 rm -f conftest.$ac_objext
45651 if { (ac_try="$ac_compile"
45652 case "(($ac_try" in
45653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45654 *) ac_try_echo=$ac_try;;
45655 esac
45656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45657 (eval "$ac_compile") 2>conftest.er1
45658 ac_status=$?
45659 grep -v '^ *+' conftest.er1 >conftest.err
45660 rm -f conftest.er1
45661 cat conftest.err >&5
45662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45663 (exit $ac_status); } && {
45664 test -z "$ac_c_werror_flag" ||
45665 test ! -s conftest.err
45666 } && test -s conftest.$ac_objext; then
45667 wx_cv_type_getsockopt5=socklen_t
45668 else
45669 echo "$as_me: failed program was:" >&5
45670 sed 's/^/| /' conftest.$ac_ext >&5
45671
45672
45673 ac_ext=cpp
45674 ac_cpp='$CXXCPP $CPPFLAGS'
45675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45678
45679 cat >conftest.$ac_ext <<_ACEOF
45680 /* confdefs.h. */
45681 _ACEOF
45682 cat confdefs.h >>conftest.$ac_ext
45683 cat >>conftest.$ac_ext <<_ACEOF
45684 /* end confdefs.h. */
45685
45686 #include <sys/types.h>
45687 #include <sys/socket.h>
45688
45689 int
45690 main ()
45691 {
45692
45693 size_t len;
45694 getsockopt(0, 0, 0, 0, &len);
45695
45696 ;
45697 return 0;
45698 }
45699 _ACEOF
45700 rm -f conftest.$ac_objext
45701 if { (ac_try="$ac_compile"
45702 case "(($ac_try" in
45703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45704 *) ac_try_echo=$ac_try;;
45705 esac
45706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45707 (eval "$ac_compile") 2>conftest.er1
45708 ac_status=$?
45709 grep -v '^ *+' conftest.er1 >conftest.err
45710 rm -f conftest.er1
45711 cat conftest.err >&5
45712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45713 (exit $ac_status); } && {
45714 test -z "$ac_cxx_werror_flag" ||
45715 test ! -s conftest.err
45716 } && test -s conftest.$ac_objext; then
45717 wx_cv_type_getsockopt5=size_t
45718 else
45719 echo "$as_me: failed program was:" >&5
45720 sed 's/^/| /' conftest.$ac_ext >&5
45721
45722 cat >conftest.$ac_ext <<_ACEOF
45723 /* confdefs.h. */
45724 _ACEOF
45725 cat confdefs.h >>conftest.$ac_ext
45726 cat >>conftest.$ac_ext <<_ACEOF
45727 /* end confdefs.h. */
45728
45729 #include <sys/types.h>
45730 #include <sys/socket.h>
45731
45732 int
45733 main ()
45734 {
45735
45736 int len;
45737 getsockopt(0, 0, 0, 0, &len);
45738
45739 ;
45740 return 0;
45741 }
45742 _ACEOF
45743 rm -f conftest.$ac_objext
45744 if { (ac_try="$ac_compile"
45745 case "(($ac_try" in
45746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45747 *) ac_try_echo=$ac_try;;
45748 esac
45749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45750 (eval "$ac_compile") 2>conftest.er1
45751 ac_status=$?
45752 grep -v '^ *+' conftest.er1 >conftest.err
45753 rm -f conftest.er1
45754 cat conftest.err >&5
45755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45756 (exit $ac_status); } && {
45757 test -z "$ac_cxx_werror_flag" ||
45758 test ! -s conftest.err
45759 } && test -s conftest.$ac_objext; then
45760 wx_cv_type_getsockopt5=int
45761 else
45762 echo "$as_me: failed program was:" >&5
45763 sed 's/^/| /' conftest.$ac_ext >&5
45764
45765 wx_cv_type_getsockopt5=unknown
45766
45767 fi
45768
45769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45770
45771 fi
45772
45773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45774 ac_ext=c
45775 ac_cpp='$CPP $CPPFLAGS'
45776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45779
45780
45781
45782 fi
45783
45784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45785
45786 fi
45787 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45788 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
45789
45790 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45791 wxUSE_SOCKETS=no
45792 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45793 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45794 else
45795 cat >>confdefs.h <<_ACEOF
45796 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45797 _ACEOF
45798
45799 fi
45800 fi
45801 fi
45802
45803 if test "$wxUSE_SOCKETS" = "yes" ; then
45804 cat >>confdefs.h <<\_ACEOF
45805 #define wxUSE_SOCKETS 1
45806 _ACEOF
45807
45808 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45809 fi
45810
45811 if test "$wxUSE_PROTOCOL" = "yes"; then
45812 if test "$wxUSE_SOCKETS" != "yes"; then
45813 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45814 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45815 wxUSE_PROTOCOL=no
45816 fi
45817 fi
45818
45819 if test "$wxUSE_PROTOCOL" = "yes"; then
45820 cat >>confdefs.h <<\_ACEOF
45821 #define wxUSE_PROTOCOL 1
45822 _ACEOF
45823
45824
45825 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45826 cat >>confdefs.h <<\_ACEOF
45827 #define wxUSE_PROTOCOL_HTTP 1
45828 _ACEOF
45829
45830 fi
45831 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45832 cat >>confdefs.h <<\_ACEOF
45833 #define wxUSE_PROTOCOL_FTP 1
45834 _ACEOF
45835
45836 fi
45837 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45838 cat >>confdefs.h <<\_ACEOF
45839 #define wxUSE_PROTOCOL_FILE 1
45840 _ACEOF
45841
45842 fi
45843 else
45844 if test "$wxUSE_FS_INET" = "yes"; then
45845 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45846 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45847 wxUSE_FS_INET="no"
45848 fi
45849 fi
45850
45851 if test "$wxUSE_URL" = "yes"; then
45852 if test "$wxUSE_PROTOCOL" != "yes"; then
45853 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45854 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45855 wxUSE_URL=no
45856 fi
45857 if test "$wxUSE_URL" = "yes"; then
45858 cat >>confdefs.h <<\_ACEOF
45859 #define wxUSE_URL 1
45860 _ACEOF
45861
45862 fi
45863 fi
45864
45865 if test "$wxUSE_VARIANT" = "yes"; then
45866 cat >>confdefs.h <<\_ACEOF
45867 #define wxUSE_VARIANT 1
45868 _ACEOF
45869
45870 fi
45871
45872 if test "$wxUSE_FS_INET" = "yes"; then
45873 cat >>confdefs.h <<\_ACEOF
45874 #define wxUSE_FS_INET 1
45875 _ACEOF
45876
45877 fi
45878
45879
45880 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45881 wxUSE_JOYSTICK=no
45882
45883 if test "$TOOLKIT" = "MSW"; then
45884 wxUSE_JOYSTICK=yes
45885
45886 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
45887 if test "$USE_DARWIN" = 1; then
45888 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45889 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45890 ac_ext=cpp
45891 ac_cpp='$CXXCPP $CPPFLAGS'
45892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45895
45896 cat >conftest.$ac_ext <<_ACEOF
45897 /* confdefs.h. */
45898 _ACEOF
45899 cat confdefs.h >>conftest.$ac_ext
45900 cat >>conftest.$ac_ext <<_ACEOF
45901 /* end confdefs.h. */
45902 #include <IOKit/hid/IOHIDLib.h>
45903 int
45904 main ()
45905 {
45906 IOHIDQueueInterface *qi = NULL;
45907 IOHIDCallbackFunction cb = NULL;
45908 qi->setEventCallout(NULL, cb, NULL, NULL);
45909 ;
45910 return 0;
45911 }
45912 _ACEOF
45913 rm -f conftest.$ac_objext
45914 if { (ac_try="$ac_compile"
45915 case "(($ac_try" in
45916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45917 *) ac_try_echo=$ac_try;;
45918 esac
45919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45920 (eval "$ac_compile") 2>conftest.er1
45921 ac_status=$?
45922 grep -v '^ *+' conftest.er1 >conftest.err
45923 rm -f conftest.er1
45924 cat conftest.err >&5
45925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45926 (exit $ac_status); } && {
45927 test -z "$ac_cxx_werror_flag" ||
45928 test ! -s conftest.err
45929 } && test -s conftest.$ac_objext; then
45930 wxUSE_JOYSTICK=yes
45931
45932 else
45933 echo "$as_me: failed program was:" >&5
45934 sed 's/^/| /' conftest.$ac_ext >&5
45935
45936
45937 fi
45938
45939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45940 ac_ext=c
45941 ac_cpp='$CPP $CPPFLAGS'
45942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45945
45946 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45947 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45948 fi
45949
45950 else
45951 if test "$wxUSE_MGL" != "1"; then
45952 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
45953 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
45954 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
45955 echo $ECHO_N "(cached) $ECHO_C" >&6
45956 else
45957 cat >conftest.$ac_ext <<_ACEOF
45958 /* confdefs.h. */
45959 _ACEOF
45960 cat confdefs.h >>conftest.$ac_ext
45961 cat >>conftest.$ac_ext <<_ACEOF
45962 /* end confdefs.h. */
45963 #include <stdio.h>
45964
45965 #include <linux/joystick.h>
45966 _ACEOF
45967 rm -f conftest.$ac_objext
45968 if { (ac_try="$ac_compile"
45969 case "(($ac_try" in
45970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45971 *) ac_try_echo=$ac_try;;
45972 esac
45973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45974 (eval "$ac_compile") 2>conftest.er1
45975 ac_status=$?
45976 grep -v '^ *+' conftest.er1 >conftest.err
45977 rm -f conftest.er1
45978 cat conftest.err >&5
45979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45980 (exit $ac_status); } && {
45981 test -z "$ac_c_werror_flag" ||
45982 test ! -s conftest.err
45983 } && test -s conftest.$ac_objext; then
45984 ac_cv_header_linux_joystick_h=yes
45985 else
45986 echo "$as_me: failed program was:" >&5
45987 sed 's/^/| /' conftest.$ac_ext >&5
45988
45989 ac_cv_header_linux_joystick_h=no
45990 fi
45991
45992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45993 fi
45994 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
45995 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
45996 if test $ac_cv_header_linux_joystick_h = yes; then
45997 wxUSE_JOYSTICK=yes
45998 fi
45999
46000
46001 fi
46002 fi
46003
46004 if test "$wxUSE_JOYSTICK" = "yes"; then
46005 cat >>confdefs.h <<\_ACEOF
46006 #define wxUSE_JOYSTICK 1
46007 _ACEOF
46008
46009 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46010 else
46011 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46012 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46013 fi
46014 fi
46015
46016
46017
46018 if test "$wxUSE_FONTMAP" = "yes" ; then
46019 cat >>confdefs.h <<\_ACEOF
46020 #define wxUSE_FONTMAP 1
46021 _ACEOF
46022
46023 fi
46024
46025 if test "$wxUSE_UNICODE" = "yes" ; then
46026 cat >>confdefs.h <<\_ACEOF
46027 #define wxUSE_UNICODE 1
46028 _ACEOF
46029
46030
46031 if test "$USE_WIN32" != 1; then
46032 wxUSE_UNICODE_MSLU=no
46033 fi
46034
46035 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46036 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46037 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46038 if test "${ac_cv_lib_unicows_main+set}" = set; then
46039 echo $ECHO_N "(cached) $ECHO_C" >&6
46040 else
46041 ac_check_lib_save_LIBS=$LIBS
46042 LIBS="-lunicows $LIBS"
46043 cat >conftest.$ac_ext <<_ACEOF
46044 /* confdefs.h. */
46045 _ACEOF
46046 cat confdefs.h >>conftest.$ac_ext
46047 cat >>conftest.$ac_ext <<_ACEOF
46048 /* end confdefs.h. */
46049
46050
46051 int
46052 main ()
46053 {
46054 return main ();
46055 ;
46056 return 0;
46057 }
46058 _ACEOF
46059 rm -f conftest.$ac_objext conftest$ac_exeext
46060 if { (ac_try="$ac_link"
46061 case "(($ac_try" in
46062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46063 *) ac_try_echo=$ac_try;;
46064 esac
46065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46066 (eval "$ac_link") 2>conftest.er1
46067 ac_status=$?
46068 grep -v '^ *+' conftest.er1 >conftest.err
46069 rm -f conftest.er1
46070 cat conftest.err >&5
46071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46072 (exit $ac_status); } && {
46073 test -z "$ac_c_werror_flag" ||
46074 test ! -s conftest.err
46075 } && test -s conftest$ac_exeext &&
46076 $as_test_x conftest$ac_exeext; then
46077 ac_cv_lib_unicows_main=yes
46078 else
46079 echo "$as_me: failed program was:" >&5
46080 sed 's/^/| /' conftest.$ac_ext >&5
46081
46082 ac_cv_lib_unicows_main=no
46083 fi
46084
46085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46086 conftest$ac_exeext conftest.$ac_ext
46087 LIBS=$ac_check_lib_save_LIBS
46088 fi
46089 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46090 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46091 if test $ac_cv_lib_unicows_main = yes; then
46092
46093 cat >>confdefs.h <<\_ACEOF
46094 #define wxUSE_UNICODE_MSLU 1
46095 _ACEOF
46096
46097
46098 else
46099
46100 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46101 Applications will only run on Windows NT/2000/XP!" >&5
46102 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46103 Applications will only run on Windows NT/2000/XP!" >&2;}
46104 wxUSE_UNICODE_MSLU=no
46105
46106 fi
46107
46108 fi
46109 fi
46110
46111 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
46112 cat >>confdefs.h <<\_ACEOF
46113 #define wxUSE_EXPERIMENTAL_PRINTF 1
46114 _ACEOF
46115
46116 fi
46117
46118
46119 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46120 cat >>confdefs.h <<\_ACEOF
46121 #define wxUSE_POSTSCRIPT 1
46122 _ACEOF
46123
46124 fi
46125
46126 cat >>confdefs.h <<\_ACEOF
46127 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46128 _ACEOF
46129
46130
46131 cat >>confdefs.h <<\_ACEOF
46132 #define wxUSE_NORMALIZED_PS_FONTS 1
46133 _ACEOF
46134
46135
46136
46137 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46138 cat >>confdefs.h <<\_ACEOF
46139 #define wxUSE_CONSTRAINTS 1
46140 _ACEOF
46141
46142 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
46143 fi
46144
46145 if test "$wxUSE_MDI" = "yes"; then
46146 cat >>confdefs.h <<\_ACEOF
46147 #define wxUSE_MDI 1
46148 _ACEOF
46149
46150
46151 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46152 cat >>confdefs.h <<\_ACEOF
46153 #define wxUSE_MDI_ARCHITECTURE 1
46154 _ACEOF
46155
46156 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
46157 fi
46158 fi
46159
46160 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46161 cat >>confdefs.h <<\_ACEOF
46162 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46163 _ACEOF
46164
46165 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
46166 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46167 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
46168 fi
46169 fi
46170
46171 if test "$wxUSE_HELP" = "yes"; then
46172 cat >>confdefs.h <<\_ACEOF
46173 #define wxUSE_HELP 1
46174 _ACEOF
46175
46176 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
46177
46178 if test "$wxUSE_MSW" = 1; then
46179 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46180 cat >>confdefs.h <<\_ACEOF
46181 #define wxUSE_MS_HTML_HELP 1
46182 _ACEOF
46183
46184 fi
46185 fi
46186
46187 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46188 if test "$wxUSE_HTML" = "yes"; then
46189 cat >>confdefs.h <<\_ACEOF
46190 #define wxUSE_WXHTML_HELP 1
46191 _ACEOF
46192
46193 else
46194 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46195 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46196 wxUSE_WXHTML_HELP=no
46197 fi
46198 fi
46199 fi
46200
46201 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46202 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46203 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
46204 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
46205 else
46206 cat >>confdefs.h <<\_ACEOF
46207 #define wxUSE_PRINTING_ARCHITECTURE 1
46208 _ACEOF
46209
46210 fi
46211 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
46212 fi
46213
46214 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
46215 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
46216 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
46217 { (exit 1); exit 1; }; }
46218 fi
46219
46220
46221 if test "$wxUSE_METAFILE" = "yes"; then
46222 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46223 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46224 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46225 wxUSE_METAFILE=no
46226 fi
46227 fi
46228
46229
46230 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
46231 -o "$wxUSE_CLIPBOARD" = "yes" \
46232 -o "$wxUSE_OLE" = "yes" \
46233 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
46234
46235 for ac_header in ole2.h
46236 do
46237 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46238 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46239 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46241 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46242 echo $ECHO_N "(cached) $ECHO_C" >&6
46243 fi
46244 ac_res=`eval echo '${'$as_ac_Header'}'`
46245 { echo "$as_me:$LINENO: result: $ac_res" >&5
46246 echo "${ECHO_T}$ac_res" >&6; }
46247 else
46248 # Is the header compilable?
46249 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
46250 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
46251 cat >conftest.$ac_ext <<_ACEOF
46252 /* confdefs.h. */
46253 _ACEOF
46254 cat confdefs.h >>conftest.$ac_ext
46255 cat >>conftest.$ac_ext <<_ACEOF
46256 /* end confdefs.h. */
46257 $ac_includes_default
46258 #include <$ac_header>
46259 _ACEOF
46260 rm -f conftest.$ac_objext
46261 if { (ac_try="$ac_compile"
46262 case "(($ac_try" in
46263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46264 *) ac_try_echo=$ac_try;;
46265 esac
46266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46267 (eval "$ac_compile") 2>conftest.er1
46268 ac_status=$?
46269 grep -v '^ *+' conftest.er1 >conftest.err
46270 rm -f conftest.er1
46271 cat conftest.err >&5
46272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46273 (exit $ac_status); } && {
46274 test -z "$ac_c_werror_flag" ||
46275 test ! -s conftest.err
46276 } && test -s conftest.$ac_objext; then
46277 ac_header_compiler=yes
46278 else
46279 echo "$as_me: failed program was:" >&5
46280 sed 's/^/| /' conftest.$ac_ext >&5
46281
46282 ac_header_compiler=no
46283 fi
46284
46285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46286 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46287 echo "${ECHO_T}$ac_header_compiler" >&6; }
46288
46289 # Is the header present?
46290 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
46291 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
46292 cat >conftest.$ac_ext <<_ACEOF
46293 /* confdefs.h. */
46294 _ACEOF
46295 cat confdefs.h >>conftest.$ac_ext
46296 cat >>conftest.$ac_ext <<_ACEOF
46297 /* end confdefs.h. */
46298 #include <$ac_header>
46299 _ACEOF
46300 if { (ac_try="$ac_cpp conftest.$ac_ext"
46301 case "(($ac_try" in
46302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46303 *) ac_try_echo=$ac_try;;
46304 esac
46305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46306 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
46307 ac_status=$?
46308 grep -v '^ *+' conftest.er1 >conftest.err
46309 rm -f conftest.er1
46310 cat conftest.err >&5
46311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46312 (exit $ac_status); } >/dev/null && {
46313 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
46314 test ! -s conftest.err
46315 }; then
46316 ac_header_preproc=yes
46317 else
46318 echo "$as_me: failed program was:" >&5
46319 sed 's/^/| /' conftest.$ac_ext >&5
46320
46321 ac_header_preproc=no
46322 fi
46323
46324 rm -f conftest.err conftest.$ac_ext
46325 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46326 echo "${ECHO_T}$ac_header_preproc" >&6; }
46327
46328 # So? What about this header?
46329 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
46330 yes:no: )
46331 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46332 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46333 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
46334 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
46335 ac_header_preproc=yes
46336 ;;
46337 no:yes:* )
46338 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46339 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46340 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46341 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46342 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
46343 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
46344 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
46345 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
46346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46347 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46348 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
46349 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
46350 ( cat <<\_ASBOX
46351 ## ----------------------------------------- ##
46352 ## Report this to wx-dev@lists.wxwidgets.org ##
46353 ## ----------------------------------------- ##
46354 _ASBOX
46355 ) | sed "s/^/$as_me: WARNING: /" >&2
46356 ;;
46357 esac
46358 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46360 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46361 echo $ECHO_N "(cached) $ECHO_C" >&6
46362 else
46363 eval "$as_ac_Header=\$ac_header_preproc"
46364 fi
46365 ac_res=`eval echo '${'$as_ac_Header'}'`
46366 { echo "$as_me:$LINENO: result: $ac_res" >&5
46367 echo "${ECHO_T}$ac_res" >&6; }
46368
46369 fi
46370 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46371 cat >>confdefs.h <<_ACEOF
46372 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46373 _ACEOF
46374
46375 fi
46376
46377 done
46378
46379
46380 if test "$ac_cv_header_ole2_h" = "yes" ; then
46381 if test "$GCC" = yes ; then
46382 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46383 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
46384 cat >conftest.$ac_ext <<_ACEOF
46385 /* confdefs.h. */
46386 _ACEOF
46387 cat confdefs.h >>conftest.$ac_ext
46388 cat >>conftest.$ac_ext <<_ACEOF
46389 /* end confdefs.h. */
46390 #include <windows.h>
46391 #include <ole2.h>
46392 int
46393 main ()
46394 {
46395
46396 ;
46397 return 0;
46398 }
46399 _ACEOF
46400 rm -f conftest.$ac_objext
46401 if { (ac_try="$ac_compile"
46402 case "(($ac_try" in
46403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46404 *) ac_try_echo=$ac_try;;
46405 esac
46406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46407 (eval "$ac_compile") 2>conftest.er1
46408 ac_status=$?
46409 grep -v '^ *+' conftest.er1 >conftest.err
46410 rm -f conftest.er1
46411 cat conftest.err >&5
46412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46413 (exit $ac_status); } && {
46414 test -z "$ac_c_werror_flag" ||
46415 test ! -s conftest.err
46416 } && test -s conftest.$ac_objext; then
46417 { echo "$as_me:$LINENO: result: no" >&5
46418 echo "${ECHO_T}no" >&6; }
46419 else
46420 echo "$as_me: failed program was:" >&5
46421 sed 's/^/| /' conftest.$ac_ext >&5
46422
46423 { echo "$as_me:$LINENO: result: yes" >&5
46424 echo "${ECHO_T}yes" >&6; }
46425 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46426 fi
46427
46428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46429 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46430 if test "$wxUSE_OLE" = "yes" ; then
46431 cat >>confdefs.h <<\_ACEOF
46432 #define wxUSE_OLE 1
46433 _ACEOF
46434
46435 cat >>confdefs.h <<\_ACEOF
46436 #define wxUSE_OLE_AUTOMATION 1
46437 _ACEOF
46438
46439 cat >>confdefs.h <<\_ACEOF
46440 #define wxUSE_ACTIVEX 1
46441 _ACEOF
46442
46443 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
46444 fi
46445 fi
46446
46447 if test "$wxUSE_DATAOBJ" = "yes" ; then
46448 cat >>confdefs.h <<\_ACEOF
46449 #define wxUSE_DATAOBJ 1
46450 _ACEOF
46451
46452 fi
46453 else
46454 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46455 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46456
46457 wxUSE_CLIPBOARD=no
46458 wxUSE_DRAG_AND_DROP=no
46459 wxUSE_DATAOBJ=no
46460 wxUSE_OLE=no
46461 fi
46462
46463 if test "$wxUSE_METAFILE" = "yes"; then
46464 cat >>confdefs.h <<\_ACEOF
46465 #define wxUSE_METAFILE 1
46466 _ACEOF
46467
46468
46469 cat >>confdefs.h <<\_ACEOF
46470 #define wxUSE_ENH_METAFILE 1
46471 _ACEOF
46472
46473 fi
46474 fi
46475
46476 if test "$wxUSE_IPC" = "yes"; then
46477 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46478 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46479 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46480 wxUSE_IPC=no
46481 fi
46482
46483 if test "$wxUSE_IPC" = "yes"; then
46484 cat >>confdefs.h <<\_ACEOF
46485 #define wxUSE_IPC 1
46486 _ACEOF
46487
46488 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46489 fi
46490 fi
46491
46492 if test "$wxUSE_DATAOBJ" = "yes"; then
46493 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46494 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46495 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46496 wxUSE_DATAOBJ=no
46497 else
46498 cat >>confdefs.h <<\_ACEOF
46499 #define wxUSE_DATAOBJ 1
46500 _ACEOF
46501
46502 fi
46503 else
46504 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46505 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46506 wxUSE_CLIPBOARD=no
46507 wxUSE_DRAG_AND_DROP=no
46508 fi
46509
46510 if test "$wxUSE_CLIPBOARD" = "yes"; then
46511 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46512 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46513 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46514 wxUSE_CLIPBOARD=no
46515 fi
46516
46517 if test "$wxUSE_CLIPBOARD" = "yes"; then
46518 cat >>confdefs.h <<\_ACEOF
46519 #define wxUSE_CLIPBOARD 1
46520 _ACEOF
46521
46522 fi
46523 fi
46524
46525 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46526 if test "$wxUSE_GTK" = 1; then
46527 if test "$WXGTK12" != 1; then
46528 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46529 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46530 wxUSE_DRAG_AND_DROP=no
46531 fi
46532 fi
46533
46534 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46535 "$wxUSE_DFB" = 1; then
46536 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46537 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46538 wxUSE_DRAG_AND_DROP=no
46539 fi
46540
46541 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46542 cat >>confdefs.h <<\_ACEOF
46543 #define wxUSE_DRAG_AND_DROP 1
46544 _ACEOF
46545
46546 fi
46547
46548 fi
46549
46550 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46551 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
46552 fi
46553
46554 if test "$wxUSE_SPLINES" = "yes" ; then
46555 cat >>confdefs.h <<\_ACEOF
46556 #define wxUSE_SPLINES 1
46557 _ACEOF
46558
46559 fi
46560
46561 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46562 cat >>confdefs.h <<\_ACEOF
46563 #define wxUSE_MOUSEWHEEL 1
46564 _ACEOF
46565
46566 fi
46567
46568
46569 USES_CONTROLS=0
46570 if test "$wxUSE_CONTROLS" = "yes"; then
46571 USES_CONTROLS=1
46572 fi
46573
46574 if test "$wxUSE_ACCEL" = "yes"; then
46575 cat >>confdefs.h <<\_ACEOF
46576 #define wxUSE_ACCEL 1
46577 _ACEOF
46578
46579 USES_CONTROLS=1
46580 fi
46581
46582 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46583 cat >>confdefs.h <<\_ACEOF
46584 #define wxUSE_ANIMATIONCTRL 1
46585 _ACEOF
46586
46587 USES_CONTROLS=1
46588 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
46589 fi
46590
46591 if test "$wxUSE_BUTTON" = "yes"; then
46592 cat >>confdefs.h <<\_ACEOF
46593 #define wxUSE_BUTTON 1
46594 _ACEOF
46595
46596 USES_CONTROLS=1
46597 fi
46598
46599 if test "$wxUSE_BMPBUTTON" = "yes"; then
46600 cat >>confdefs.h <<\_ACEOF
46601 #define wxUSE_BMPBUTTON 1
46602 _ACEOF
46603
46604 USES_CONTROLS=1
46605 fi
46606
46607 if test "$wxUSE_CALCTRL" = "yes"; then
46608 cat >>confdefs.h <<\_ACEOF
46609 #define wxUSE_CALENDARCTRL 1
46610 _ACEOF
46611
46612 USES_CONTROLS=1
46613 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
46614 fi
46615
46616 if test "$wxUSE_CARET" = "yes"; then
46617 cat >>confdefs.h <<\_ACEOF
46618 #define wxUSE_CARET 1
46619 _ACEOF
46620
46621 USES_CONTROLS=1
46622 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
46623 fi
46624
46625 if test "$wxUSE_COLLPANE" = "yes"; then
46626 cat >>confdefs.h <<\_ACEOF
46627 #define wxUSE_COLLPANE 1
46628 _ACEOF
46629
46630 USES_CONTROLS=1
46631 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
46632 fi
46633
46634 if test "$wxUSE_COMBOBOX" = "yes"; then
46635 cat >>confdefs.h <<\_ACEOF
46636 #define wxUSE_COMBOBOX 1
46637 _ACEOF
46638
46639 USES_CONTROLS=1
46640 fi
46641
46642 if test "$wxUSE_COMBOCTRL" = "yes"; then
46643 cat >>confdefs.h <<\_ACEOF
46644 #define wxUSE_COMBOCTRL 1
46645 _ACEOF
46646
46647 USES_CONTROLS=1
46648 fi
46649
46650 if test "$wxUSE_CHOICE" = "yes"; then
46651 cat >>confdefs.h <<\_ACEOF
46652 #define wxUSE_CHOICE 1
46653 _ACEOF
46654
46655 USES_CONTROLS=1
46656 fi
46657
46658 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46659 cat >>confdefs.h <<\_ACEOF
46660 #define wxUSE_CHOICEBOOK 1
46661 _ACEOF
46662
46663 USES_CONTROLS=1
46664 fi
46665
46666 if test "$wxUSE_CHECKBOX" = "yes"; then
46667 cat >>confdefs.h <<\_ACEOF
46668 #define wxUSE_CHECKBOX 1
46669 _ACEOF
46670
46671 USES_CONTROLS=1
46672 fi
46673
46674 if test "$wxUSE_CHECKLST" = "yes"; then
46675 cat >>confdefs.h <<\_ACEOF
46676 #define wxUSE_CHECKLISTBOX 1
46677 _ACEOF
46678
46679 USES_CONTROLS=1
46680 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
46681 fi
46682
46683 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46684 cat >>confdefs.h <<\_ACEOF
46685 #define wxUSE_COLOURPICKERCTRL 1
46686 _ACEOF
46687
46688 USES_CONTROLS=1
46689 fi
46690
46691 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46692 cat >>confdefs.h <<\_ACEOF
46693 #define wxUSE_DATEPICKCTRL 1
46694 _ACEOF
46695
46696 USES_CONTROLS=1
46697 fi
46698
46699 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46700 cat >>confdefs.h <<\_ACEOF
46701 #define wxUSE_DIRPICKERCTRL 1
46702 _ACEOF
46703
46704 USES_CONTROLS=1
46705 fi
46706
46707 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46708 cat >>confdefs.h <<\_ACEOF
46709 #define wxUSE_FILEPICKERCTRL 1
46710 _ACEOF
46711
46712 USES_CONTROLS=1
46713 fi
46714
46715 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46716 cat >>confdefs.h <<\_ACEOF
46717 #define wxUSE_FONTPICKERCTRL 1
46718 _ACEOF
46719
46720 USES_CONTROLS=1
46721 fi
46722
46723 if test "$wxUSE_DISPLAY" = "yes"; then
46724 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
46725 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
46726 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
46727 wxUSE_DISPLAY=no
46728 else
46729 cat >>confdefs.h <<\_ACEOF
46730 #define wxUSE_DISPLAY 1
46731 _ACEOF
46732
46733 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
46734 fi
46735 fi
46736
46737 if test "$wxUSE_DETECT_SM" = "yes"; then
46738 cat >>confdefs.h <<\_ACEOF
46739 #define wxUSE_DETECT_SM 1
46740 _ACEOF
46741
46742 fi
46743
46744 if test "$wxUSE_GAUGE" = "yes"; then
46745 cat >>confdefs.h <<\_ACEOF
46746 #define wxUSE_GAUGE 1
46747 _ACEOF
46748
46749 USES_CONTROLS=1
46750 fi
46751
46752 if test "$wxUSE_GRID" = "yes"; then
46753 cat >>confdefs.h <<\_ACEOF
46754 #define wxUSE_GRID 1
46755 _ACEOF
46756
46757 USES_CONTROLS=1
46758 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
46759 fi
46760
46761 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46762 cat >>confdefs.h <<\_ACEOF
46763 #define wxUSE_HYPERLINKCTRL 1
46764 _ACEOF
46765
46766 USES_CONTROLS=1
46767 fi
46768
46769 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46770 cat >>confdefs.h <<\_ACEOF
46771 #define wxUSE_BITMAPCOMBOBOX 1
46772 _ACEOF
46773
46774 USES_CONTROLS=1
46775 fi
46776
46777 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46778 cat >>confdefs.h <<\_ACEOF
46779 #define wxUSE_DATAVIEWCTRL 1
46780 _ACEOF
46781
46782 USES_CONTROLS=1
46783 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
46784 fi
46785
46786 if test "$wxUSE_IMAGLIST" = "yes"; then
46787 cat >>confdefs.h <<\_ACEOF
46788 #define wxUSE_IMAGLIST 1
46789 _ACEOF
46790
46791 fi
46792
46793 if test "$wxUSE_LISTBOOK" = "yes"; then
46794 cat >>confdefs.h <<\_ACEOF
46795 #define wxUSE_LISTBOOK 1
46796 _ACEOF
46797
46798 USES_CONTROLS=1
46799 fi
46800
46801 if test "$wxUSE_LISTBOX" = "yes"; then
46802 cat >>confdefs.h <<\_ACEOF
46803 #define wxUSE_LISTBOX 1
46804 _ACEOF
46805
46806 USES_CONTROLS=1
46807 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
46808 fi
46809
46810 if test "$wxUSE_LISTCTRL" = "yes"; then
46811 if test "$wxUSE_IMAGLIST" = "yes"; then
46812 cat >>confdefs.h <<\_ACEOF
46813 #define wxUSE_LISTCTRL 1
46814 _ACEOF
46815
46816 USES_CONTROLS=1
46817 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
46818 else
46819 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46820 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46821 fi
46822 fi
46823
46824 if test "$wxUSE_NOTEBOOK" = "yes"; then
46825 cat >>confdefs.h <<\_ACEOF
46826 #define wxUSE_NOTEBOOK 1
46827 _ACEOF
46828
46829 USES_CONTROLS=1
46830 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
46831 fi
46832
46833 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46834 cat >>confdefs.h <<\_ACEOF
46835 #define wxUSE_ODCOMBOBOX 1
46836 _ACEOF
46837
46838 USES_CONTROLS=1
46839 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
46840 fi
46841
46842
46843 if test "$wxUSE_RADIOBOX" = "yes"; then
46844 cat >>confdefs.h <<\_ACEOF
46845 #define wxUSE_RADIOBOX 1
46846 _ACEOF
46847
46848 USES_CONTROLS=1
46849 fi
46850
46851 if test "$wxUSE_RADIOBTN" = "yes"; then
46852 cat >>confdefs.h <<\_ACEOF
46853 #define wxUSE_RADIOBTN 1
46854 _ACEOF
46855
46856 USES_CONTROLS=1
46857 fi
46858
46859 if test "$wxUSE_SASH" = "yes"; then
46860 cat >>confdefs.h <<\_ACEOF
46861 #define wxUSE_SASH 1
46862 _ACEOF
46863
46864 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
46865 fi
46866
46867 if test "$wxUSE_SCROLLBAR" = "yes"; then
46868 cat >>confdefs.h <<\_ACEOF
46869 #define wxUSE_SCROLLBAR 1
46870 _ACEOF
46871
46872 USES_CONTROLS=1
46873 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
46874 fi
46875
46876 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46877 cat >>confdefs.h <<\_ACEOF
46878 #define wxUSE_SEARCHCTRL 1
46879 _ACEOF
46880
46881 USES_CONTROLS=1
46882 fi
46883
46884 if test "$wxUSE_SLIDER" = "yes"; then
46885 cat >>confdefs.h <<\_ACEOF
46886 #define wxUSE_SLIDER 1
46887 _ACEOF
46888
46889 USES_CONTROLS=1
46890 fi
46891
46892 if test "$wxUSE_SPINBTN" = "yes"; then
46893 cat >>confdefs.h <<\_ACEOF
46894 #define wxUSE_SPINBTN 1
46895 _ACEOF
46896
46897 USES_CONTROLS=1
46898 fi
46899
46900 if test "$wxUSE_SPINCTRL" = "yes"; then
46901 cat >>confdefs.h <<\_ACEOF
46902 #define wxUSE_SPINCTRL 1
46903 _ACEOF
46904
46905 USES_CONTROLS=1
46906 fi
46907
46908 if test "$wxUSE_SPLITTER" = "yes"; then
46909 cat >>confdefs.h <<\_ACEOF
46910 #define wxUSE_SPLITTER 1
46911 _ACEOF
46912
46913 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46914 fi
46915
46916 if test "$wxUSE_STATBMP" = "yes"; then
46917 cat >>confdefs.h <<\_ACEOF
46918 #define wxUSE_STATBMP 1
46919 _ACEOF
46920
46921 USES_CONTROLS=1
46922 fi
46923
46924 if test "$wxUSE_STATBOX" = "yes"; then
46925 cat >>confdefs.h <<\_ACEOF
46926 #define wxUSE_STATBOX 1
46927 _ACEOF
46928
46929 USES_CONTROLS=1
46930 fi
46931
46932 if test "$wxUSE_STATTEXT" = "yes"; then
46933 cat >>confdefs.h <<\_ACEOF
46934 #define wxUSE_STATTEXT 1
46935 _ACEOF
46936
46937 USES_CONTROLS=1
46938 fi
46939
46940 if test "$wxUSE_STATLINE" = "yes"; then
46941 cat >>confdefs.h <<\_ACEOF
46942 #define wxUSE_STATLINE 1
46943 _ACEOF
46944
46945 USES_CONTROLS=1
46946 fi
46947
46948 if test "$wxUSE_STATUSBAR" = "yes"; then
46949 cat >>confdefs.h <<\_ACEOF
46950 #define wxUSE_NATIVE_STATUSBAR 1
46951 _ACEOF
46952
46953 cat >>confdefs.h <<\_ACEOF
46954 #define wxUSE_STATUSBAR 1
46955 _ACEOF
46956
46957 USES_CONTROLS=1
46958
46959 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46960 fi
46961
46962 if test "$wxUSE_TAB_DIALOG" = "yes"; then
46963 cat >>confdefs.h <<\_ACEOF
46964 #define wxUSE_TAB_DIALOG 1
46965 _ACEOF
46966
46967 fi
46968
46969 if test "$wxUSE_TEXTCTRL" = "yes"; then
46970 cat >>confdefs.h <<\_ACEOF
46971 #define wxUSE_TEXTCTRL 1
46972 _ACEOF
46973
46974 USES_CONTROLS=1
46975 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46976 fi
46977
46978 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46979 if test "$wxUSE_COCOA" = 1 ; then
46980 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46981 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46982 wxUSE_TOGGLEBTN=no
46983 fi
46984
46985 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46986 cat >>confdefs.h <<\_ACEOF
46987 #define wxUSE_TOGGLEBTN 1
46988 _ACEOF
46989
46990 USES_CONTROLS=1
46991 fi
46992 fi
46993
46994 if test "$wxUSE_TOOLBAR" = "yes"; then
46995 cat >>confdefs.h <<\_ACEOF
46996 #define wxUSE_TOOLBAR 1
46997 _ACEOF
46998
46999 USES_CONTROLS=1
47000
47001 if test "$wxUSE_UNIVERSAL" = "yes"; then
47002 wxUSE_TOOLBAR_NATIVE="no"
47003 else
47004 wxUSE_TOOLBAR_NATIVE="yes"
47005 cat >>confdefs.h <<\_ACEOF
47006 #define wxUSE_TOOLBAR_NATIVE 1
47007 _ACEOF
47008
47009 fi
47010
47011 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47012 fi
47013
47014 if test "$wxUSE_TOOLTIPS" = "yes"; then
47015 if test "$wxUSE_MOTIF" = 1; then
47016 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47017 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47018 else
47019 if test "$wxUSE_UNIVERSAL" = "yes"; then
47020 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47021 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47022 else
47023 cat >>confdefs.h <<\_ACEOF
47024 #define wxUSE_TOOLTIPS 1
47025 _ACEOF
47026
47027 fi
47028 fi
47029 fi
47030
47031 if test "$wxUSE_TREEBOOK" = "yes"; then
47032 cat >>confdefs.h <<\_ACEOF
47033 #define wxUSE_TREEBOOK 1
47034 _ACEOF
47035
47036 USES_CONTROLS=1
47037 fi
47038
47039 if test "$wxUSE_TOOLBOOK" = "yes"; then
47040 cat >>confdefs.h <<\_ACEOF
47041 #define wxUSE_TOOLBOOK 1
47042 _ACEOF
47043
47044 USES_CONTROLS=1
47045 fi
47046
47047 if test "$wxUSE_TREECTRL" = "yes"; then
47048 if test "$wxUSE_IMAGLIST" = "yes"; then
47049 cat >>confdefs.h <<\_ACEOF
47050 #define wxUSE_TREECTRL 1
47051 _ACEOF
47052
47053 USES_CONTROLS=1
47054 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47055 else
47056 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47057 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47058 fi
47059 fi
47060
47061 if test "$wxUSE_POPUPWIN" = "yes"; then
47062 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
47063 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47064 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47065 else
47066 if test "$wxUSE_PM" = 1; then
47067 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47068 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47069 else
47070 cat >>confdefs.h <<\_ACEOF
47071 #define wxUSE_POPUPWIN 1
47072 _ACEOF
47073
47074 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47075
47076 USES_CONTROLS=1
47077 fi
47078 fi
47079 fi
47080
47081 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47082 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47083 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47084 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47085 else
47086 cat >>confdefs.h <<\_ACEOF
47087 #define wxUSE_DIALUP_MANAGER 1
47088 _ACEOF
47089
47090 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47091 fi
47092 fi
47093
47094 if test "$wxUSE_TIPWINDOW" = "yes"; then
47095 if test "$wxUSE_PM" = 1; then
47096 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47097 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47098 else
47099 cat >>confdefs.h <<\_ACEOF
47100 #define wxUSE_TIPWINDOW 1
47101 _ACEOF
47102
47103 fi
47104 fi
47105
47106 if test "$USES_CONTROLS" = 1; then
47107 cat >>confdefs.h <<\_ACEOF
47108 #define wxUSE_CONTROLS 1
47109 _ACEOF
47110
47111 fi
47112
47113
47114 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47115 cat >>confdefs.h <<\_ACEOF
47116 #define wxUSE_ACCESSIBILITY 1
47117 _ACEOF
47118
47119 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47120 fi
47121
47122 if test "$wxUSE_DC_CACHEING" = "yes"; then
47123 cat >>confdefs.h <<\_ACEOF
47124 #define wxUSE_DC_CACHEING 1
47125 _ACEOF
47126
47127 fi
47128
47129 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47130 cat >>confdefs.h <<\_ACEOF
47131 #define wxUSE_DRAGIMAGE 1
47132 _ACEOF
47133
47134 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
47135 fi
47136
47137 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47138 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47139 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47140 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47141 else
47142 cat >>confdefs.h <<\_ACEOF
47143 #define wxUSE_EXCEPTIONS 1
47144 _ACEOF
47145
47146 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
47147 fi
47148 fi
47149
47150 USE_HTML=0
47151 if test "$wxUSE_HTML" = "yes"; then
47152 cat >>confdefs.h <<\_ACEOF
47153 #define wxUSE_HTML 1
47154 _ACEOF
47155
47156 USE_HTML=1
47157 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47158 if test "$wxUSE_MAC" = 1; then
47159 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47160 fi
47161 fi
47162 if test "$wxUSE_WEBKIT" = "yes"; then
47163 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47164 old_CPPFLAGS="$CPPFLAGS"
47165 CPPFLAGS="-x objective-c++ $CPPFLAGS"
47166 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47167 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47168 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47169 echo $ECHO_N "(cached) $ECHO_C" >&6
47170 else
47171 cat >conftest.$ac_ext <<_ACEOF
47172 /* confdefs.h. */
47173 _ACEOF
47174 cat confdefs.h >>conftest.$ac_ext
47175 cat >>conftest.$ac_ext <<_ACEOF
47176 /* end confdefs.h. */
47177
47178 #include <Carbon/Carbon.h>
47179 #include <WebKit/WebKit.h>
47180
47181
47182 #include <WebKit/HIWebView.h>
47183 _ACEOF
47184 rm -f conftest.$ac_objext
47185 if { (ac_try="$ac_compile"
47186 case "(($ac_try" in
47187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47188 *) ac_try_echo=$ac_try;;
47189 esac
47190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47191 (eval "$ac_compile") 2>conftest.er1
47192 ac_status=$?
47193 grep -v '^ *+' conftest.er1 >conftest.err
47194 rm -f conftest.er1
47195 cat conftest.err >&5
47196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47197 (exit $ac_status); } && {
47198 test -z "$ac_c_werror_flag" ||
47199 test ! -s conftest.err
47200 } && test -s conftest.$ac_objext; then
47201 ac_cv_header_WebKit_HIWebView_h=yes
47202 else
47203 echo "$as_me: failed program was:" >&5
47204 sed 's/^/| /' conftest.$ac_ext >&5
47205
47206 ac_cv_header_WebKit_HIWebView_h=no
47207 fi
47208
47209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47210 fi
47211 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47212 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47213 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47214
47215 cat >>confdefs.h <<\_ACEOF
47216 #define wxUSE_WEBKIT 1
47217 _ACEOF
47218
47219 WEBKIT_LINK="-framework WebKit"
47220
47221 else
47222
47223 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47224 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47225 wxUSE_WEBKIT=no
47226
47227 fi
47228
47229
47230 CPPFLAGS="$old_CPPFLAGS"
47231 elif test "$wxUSE_COCOA" = 1; then
47232 cat >>confdefs.h <<\_ACEOF
47233 #define wxUSE_WEBKIT 1
47234 _ACEOF
47235
47236 else
47237 wxUSE_WEBKIT=no
47238 fi
47239 fi
47240
47241 USE_XRC=0
47242 if test "$wxUSE_XRC" = "yes"; then
47243 if test "$wxUSE_XML" != "yes"; then
47244 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47245 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47246 wxUSE_XRC=no
47247 else
47248 cat >>confdefs.h <<\_ACEOF
47249 #define wxUSE_XRC 1
47250 _ACEOF
47251
47252 USE_XRC=1
47253 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47254 fi
47255 fi
47256
47257 USE_AUI=0
47258 if test "$wxUSE_AUI" = "yes"; then
47259 cat >>confdefs.h <<\_ACEOF
47260 #define wxUSE_AUI 1
47261 _ACEOF
47262
47263 USE_AUI=1
47264 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47265 fi
47266
47267 if test "$wxUSE_MENUS" = "yes"; then
47268 cat >>confdefs.h <<\_ACEOF
47269 #define wxUSE_MENUS 1
47270 _ACEOF
47271
47272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
47273 fi
47274
47275 if test "$wxUSE_METAFILE" = "yes"; then
47276 cat >>confdefs.h <<\_ACEOF
47277 #define wxUSE_METAFILE 1
47278 _ACEOF
47279
47280 fi
47281
47282 if test "$wxUSE_MIMETYPE" = "yes"; then
47283 cat >>confdefs.h <<\_ACEOF
47284 #define wxUSE_MIMETYPE 1
47285 _ACEOF
47286
47287 fi
47288
47289 if test "$wxUSE_MINIFRAME" = "yes"; then
47290 cat >>confdefs.h <<\_ACEOF
47291 #define wxUSE_MINIFRAME 1
47292 _ACEOF
47293
47294 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
47295 fi
47296
47297 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47298 cat >>confdefs.h <<\_ACEOF
47299 #define wxUSE_SYSTEM_OPTIONS 1
47300 _ACEOF
47301
47302 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
47303 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
47304 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
47305 fi
47306 fi
47307
47308
47309 if test "$wxUSE_VALIDATORS" = "yes"; then
47310 cat >>confdefs.h <<\_ACEOF
47311 #define wxUSE_VALIDATORS 1
47312 _ACEOF
47313
47314 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47315 fi
47316
47317 if test "$wxUSE_PALETTE" = "yes" ; then
47318 if test "$wxUSE_DFB" = 1; then
47319 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47320 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47321 wxUSE_PALETTE=no
47322 else
47323 cat >>confdefs.h <<\_ACEOF
47324 #define wxUSE_PALETTE 1
47325 _ACEOF
47326
47327 fi
47328 fi
47329
47330 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47331 LIBS=" -lunicows $LIBS"
47332 fi
47333
47334 USE_RICHTEXT=0
47335 if test "$wxUSE_RICHTEXT" = "yes"; then
47336 cat >>confdefs.h <<\_ACEOF
47337 #define wxUSE_RICHTEXT 1
47338 _ACEOF
47339
47340 USE_RICHTEXT=1
47341 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47342 fi
47343
47344
47345 if test "$wxUSE_IMAGE" = "yes" ; then
47346 cat >>confdefs.h <<\_ACEOF
47347 #define wxUSE_IMAGE 1
47348 _ACEOF
47349
47350
47351 if test "$wxUSE_GIF" = "yes" ; then
47352 cat >>confdefs.h <<\_ACEOF
47353 #define wxUSE_GIF 1
47354 _ACEOF
47355
47356 fi
47357
47358 if test "$wxUSE_PCX" = "yes" ; then
47359 cat >>confdefs.h <<\_ACEOF
47360 #define wxUSE_PCX 1
47361 _ACEOF
47362
47363 fi
47364
47365 if test "$wxUSE_TGA" = "yes" ; then
47366 cat >>confdefs.h <<\_ACEOF
47367 #define wxUSE_TGA 1
47368 _ACEOF
47369
47370 fi
47371
47372 if test "$wxUSE_IFF" = "yes" ; then
47373 cat >>confdefs.h <<\_ACEOF
47374 #define wxUSE_IFF 1
47375 _ACEOF
47376
47377 fi
47378
47379 if test "$wxUSE_PNM" = "yes" ; then
47380 cat >>confdefs.h <<\_ACEOF
47381 #define wxUSE_PNM 1
47382 _ACEOF
47383
47384 fi
47385
47386 if test "$wxUSE_XPM" = "yes" ; then
47387 cat >>confdefs.h <<\_ACEOF
47388 #define wxUSE_XPM 1
47389 _ACEOF
47390
47391 fi
47392
47393 if test "$wxUSE_ICO_CUR" = "yes" ; then
47394 cat >>confdefs.h <<\_ACEOF
47395 #define wxUSE_ICO_CUR 1
47396 _ACEOF
47397
47398 fi
47399 fi
47400
47401
47402 if test "$wxUSE_ABOUTDLG" = "yes"; then
47403 cat >>confdefs.h <<\_ACEOF
47404 #define wxUSE_ABOUTDLG 1
47405 _ACEOF
47406
47407 fi
47408
47409 if test "$wxUSE_CHOICEDLG" = "yes"; then
47410 cat >>confdefs.h <<\_ACEOF
47411 #define wxUSE_CHOICEDLG 1
47412 _ACEOF
47413
47414 fi
47415
47416 if test "$wxUSE_COLOURDLG" = "yes"; then
47417 cat >>confdefs.h <<\_ACEOF
47418 #define wxUSE_COLOURDLG 1
47419 _ACEOF
47420
47421 fi
47422
47423 if test "$wxUSE_FILEDLG" = "yes"; then
47424 cat >>confdefs.h <<\_ACEOF
47425 #define wxUSE_FILEDLG 1
47426 _ACEOF
47427
47428 fi
47429
47430 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47431 cat >>confdefs.h <<\_ACEOF
47432 #define wxUSE_FINDREPLDLG 1
47433 _ACEOF
47434
47435 fi
47436
47437 if test "$wxUSE_FONTDLG" = "yes"; then
47438 cat >>confdefs.h <<\_ACEOF
47439 #define wxUSE_FONTDLG 1
47440 _ACEOF
47441
47442 fi
47443
47444 if test "$wxUSE_DIRDLG" = "yes"; then
47445 if test "$wxUSE_TREECTRL" != "yes"; then
47446 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47447 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47448 else
47449 cat >>confdefs.h <<\_ACEOF
47450 #define wxUSE_DIRDLG 1
47451 _ACEOF
47452
47453 fi
47454 fi
47455
47456 if test "$wxUSE_MSGDLG" = "yes"; then
47457 cat >>confdefs.h <<\_ACEOF
47458 #define wxUSE_MSGDLG 1
47459 _ACEOF
47460
47461 fi
47462
47463 if test "$wxUSE_NUMBERDLG" = "yes"; then
47464 cat >>confdefs.h <<\_ACEOF
47465 #define wxUSE_NUMBERDLG 1
47466 _ACEOF
47467
47468 fi
47469
47470 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47471 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47472 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
47473 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
47474 else
47475 cat >>confdefs.h <<\_ACEOF
47476 #define wxUSE_PROGRESSDLG 1
47477 _ACEOF
47478
47479 fi
47480 fi
47481
47482 if test "$wxUSE_SPLASH" = "yes"; then
47483 cat >>confdefs.h <<\_ACEOF
47484 #define wxUSE_SPLASH 1
47485 _ACEOF
47486
47487 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47488 fi
47489
47490 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47491 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47492 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
47493 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
47494 else
47495 cat >>confdefs.h <<\_ACEOF
47496 #define wxUSE_STARTUP_TIPS 1
47497 _ACEOF
47498
47499 fi
47500 fi
47501
47502 if test "$wxUSE_TEXTDLG" = "yes"; then
47503 cat >>confdefs.h <<\_ACEOF
47504 #define wxUSE_TEXTDLG 1
47505 _ACEOF
47506
47507 fi
47508
47509 if test "$wxUSE_WIZARDDLG" = "yes"; then
47510 cat >>confdefs.h <<\_ACEOF
47511 #define wxUSE_WIZARDDLG 1
47512 _ACEOF
47513
47514 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47515 fi
47516
47517
47518 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47519 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
47520 cat >>confdefs.h <<\_ACEOF
47521 #define wxUSE_GRAPHICS_CONTEXT 1
47522 _ACEOF
47523
47524 elif test "$wxUSE_GTK" != 1; then
47525 cat >>confdefs.h <<\_ACEOF
47526 #define wxUSE_GRAPHICS_CONTEXT 1
47527 _ACEOF
47528
47529 else
47530
47531 pkg_failed=no
47532 { echo "$as_me:$LINENO: checking for CAIRO" >&5
47533 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
47534
47535 if test -n "$PKG_CONFIG"; then
47536 if test -n "$CAIRO_CFLAGS"; then
47537 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
47538 else
47539 if test -n "$PKG_CONFIG" && \
47540 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47541 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47542 ac_status=$?
47543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47544 (exit $ac_status); }; then
47545 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47546 else
47547 pkg_failed=yes
47548 fi
47549 fi
47550 else
47551 pkg_failed=untried
47552 fi
47553 if test -n "$PKG_CONFIG"; then
47554 if test -n "$CAIRO_LIBS"; then
47555 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
47556 else
47557 if test -n "$PKG_CONFIG" && \
47558 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47559 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47560 ac_status=$?
47561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47562 (exit $ac_status); }; then
47563 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47564 else
47565 pkg_failed=yes
47566 fi
47567 fi
47568 else
47569 pkg_failed=untried
47570 fi
47571
47572
47573
47574 if test $pkg_failed = yes; then
47575
47576 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47577 _pkg_short_errors_supported=yes
47578 else
47579 _pkg_short_errors_supported=no
47580 fi
47581 if test $_pkg_short_errors_supported = yes; then
47582 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47583 else
47584 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47585 fi
47586 # Put the nasty error message in config.log where it belongs
47587 echo "$CAIRO_PKG_ERRORS" >&5
47588
47589 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47590 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47591
47592 elif test $pkg_failed = untried; then
47593 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47594 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47595
47596 else
47597 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
47598 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
47599 { echo "$as_me:$LINENO: result: yes" >&5
47600 echo "${ECHO_T}yes" >&6; }
47601 cat >>confdefs.h <<\_ACEOF
47602 #define wxUSE_GRAPHICS_CONTEXT 1
47603 _ACEOF
47604
47605 fi
47606 fi
47607 fi
47608
47609
47610 USE_MEDIA=0
47611
47612 if test "$wxUSE_MEDIACTRL" = "yes"; then
47613 USE_MEDIA=1
47614
47615 if test "$wxUSE_GTK" = 1; then
47616 wxUSE_GSTREAMER="no"
47617
47618 GST_VERSION_MAJOR=0
47619 GST_VERSION_MINOR=10
47620 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47621
47622 if test "$wxUSE_GSTREAMER8" = "no"; then
47623
47624 pkg_failed=no
47625 { echo "$as_me:$LINENO: checking for GST" >&5
47626 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47627
47628 if test -n "$PKG_CONFIG"; then
47629 if test -n "$GST_CFLAGS"; then
47630 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47631 else
47632 if test -n "$PKG_CONFIG" && \
47633 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47634 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47635 ac_status=$?
47636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47637 (exit $ac_status); }; then
47638 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47639 else
47640 pkg_failed=yes
47641 fi
47642 fi
47643 else
47644 pkg_failed=untried
47645 fi
47646 if test -n "$PKG_CONFIG"; then
47647 if test -n "$GST_LIBS"; then
47648 pkg_cv_GST_LIBS="$GST_LIBS"
47649 else
47650 if test -n "$PKG_CONFIG" && \
47651 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47652 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47653 ac_status=$?
47654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47655 (exit $ac_status); }; then
47656 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47657 else
47658 pkg_failed=yes
47659 fi
47660 fi
47661 else
47662 pkg_failed=untried
47663 fi
47664
47665
47666
47667 if test $pkg_failed = yes; then
47668
47669 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47670 _pkg_short_errors_supported=yes
47671 else
47672 _pkg_short_errors_supported=no
47673 fi
47674 if test $_pkg_short_errors_supported = yes; then
47675 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47676 else
47677 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47678 fi
47679 # Put the nasty error message in config.log where it belongs
47680 echo "$GST_PKG_ERRORS" >&5
47681
47682
47683 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47684 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47685 GST_VERSION_MINOR=8
47686
47687
47688 elif test $pkg_failed = untried; then
47689
47690 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47691 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47692 GST_VERSION_MINOR=8
47693
47694
47695 else
47696 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47697 GST_LIBS=$pkg_cv_GST_LIBS
47698 { echo "$as_me:$LINENO: result: yes" >&5
47699 echo "${ECHO_T}yes" >&6; }
47700
47701 wxUSE_GSTREAMER="yes"
47702 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47703
47704 fi
47705 else
47706 GST_VERSION_MINOR=8
47707 fi
47708
47709 if test $GST_VERSION_MINOR = "8"; then
47710 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47711
47712 pkg_failed=no
47713 { echo "$as_me:$LINENO: checking for GST" >&5
47714 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47715
47716 if test -n "$PKG_CONFIG"; then
47717 if test -n "$GST_CFLAGS"; then
47718 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47719 else
47720 if test -n "$PKG_CONFIG" && \
47721 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47722 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47723 ac_status=$?
47724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47725 (exit $ac_status); }; then
47726 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47727 else
47728 pkg_failed=yes
47729 fi
47730 fi
47731 else
47732 pkg_failed=untried
47733 fi
47734 if test -n "$PKG_CONFIG"; then
47735 if test -n "$GST_LIBS"; then
47736 pkg_cv_GST_LIBS="$GST_LIBS"
47737 else
47738 if test -n "$PKG_CONFIG" && \
47739 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47740 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47741 ac_status=$?
47742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47743 (exit $ac_status); }; then
47744 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47745 else
47746 pkg_failed=yes
47747 fi
47748 fi
47749 else
47750 pkg_failed=untried
47751 fi
47752
47753
47754
47755 if test $pkg_failed = yes; then
47756
47757 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47758 _pkg_short_errors_supported=yes
47759 else
47760 _pkg_short_errors_supported=no
47761 fi
47762 if test $_pkg_short_errors_supported = yes; then
47763 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47764 else
47765 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47766 fi
47767 # Put the nasty error message in config.log where it belongs
47768 echo "$GST_PKG_ERRORS" >&5
47769
47770
47771 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47772 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47773
47774 elif test $pkg_failed = untried; then
47775
47776 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47777 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47778
47779 else
47780 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47781 GST_LIBS=$pkg_cv_GST_LIBS
47782 { echo "$as_me:$LINENO: result: yes" >&5
47783 echo "${ECHO_T}yes" >&6; }
47784 wxUSE_GSTREAMER="yes"
47785 fi
47786 fi
47787
47788
47789 if test "$wxUSE_GSTREAMER" = "yes"; then
47790 case "${host}" in
47791 *-*-solaris2* )
47792 if "$GCC" = yes; then
47793 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
47794 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
47795 fi
47796 esac
47797
47798 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47799 LIBS="$GST_LIBS $LIBS"
47800
47801 cat >>confdefs.h <<\_ACEOF
47802 #define wxUSE_GSTREAMER 1
47803 _ACEOF
47804
47805 else
47806 USE_MEDIA=0
47807 fi
47808 fi
47809
47810 if test $USE_MEDIA = 1; then
47811 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47812 cat >>confdefs.h <<\_ACEOF
47813 #define wxUSE_MEDIACTRL 1
47814 _ACEOF
47815
47816 fi
47817 fi
47818
47819
47820 if test "$cross_compiling" = "yes"; then
47821 OSINFO="\"$host\""
47822 else
47823 OSINFO=`uname -s -r -m`
47824 OSINFO="\"$OSINFO\""
47825 fi
47826
47827 cat >>confdefs.h <<_ACEOF
47828 #define WXWIN_OS_DESCRIPTION $OSINFO
47829 _ACEOF
47830
47831
47832
47833 if test "x$prefix" != "xNONE"; then
47834 wxPREFIX=$prefix
47835 else
47836 wxPREFIX=$ac_default_prefix
47837 fi
47838
47839 cat >>confdefs.h <<_ACEOF
47840 #define wxINSTALL_PREFIX "$wxPREFIX"
47841 _ACEOF
47842
47843
47844
47845
47846 CORE_BASE_LIBS="net base"
47847 CORE_GUI_LIBS="adv core"
47848
47849 if test "$wxUSE_XML" = "yes" ; then
47850 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
47851 fi
47852 if test "$wxUSE_ODBC" != "no" ; then
47853 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
47854 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
47855 fi
47856 if test "$wxUSE_HTML" = "yes" ; then
47857 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
47858 fi
47859 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47860 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
47861 fi
47862 if test "$wxUSE_XRC" = "yes" ; then
47863 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
47864 fi
47865 if test "$wxUSE_AUI" = "yes" ; then
47866 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
47867 fi
47868
47869 if test "$wxUSE_GUI" != "yes"; then
47870 CORE_GUI_LIBS=""
47871 fi
47872
47873
47874
47875
47876
47877
47878 if test "$wxUSE_MAC" = 1 ; then
47879 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47880 if test "$USE_DARWIN" = 1; then
47881 LDFLAGS="$LDFLAGS -framework QuickTime"
47882 else
47883 LDFLAGS="$LDFLAGS -lQuickTimeLib"
47884 fi
47885 fi
47886 if test "$USE_DARWIN" = 1; then
47887 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
47888 else
47889 LDFLAGS="$LDFLAGS -lCarbonLib"
47890 fi
47891 fi
47892 if test "$wxUSE_COCOA" = 1 ; then
47893 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47894 if test "$wxUSE_MEDIACTRL" = "yes"; then
47895 LDFLAGS="$LDFLAGS -framework QuickTime"
47896 fi
47897 fi
47898 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47899 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47900 fi
47901
47902 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47903
47904 if test "$wxUSE_GUI" = "yes"; then
47905
47906
47907 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47908 dynamic erase event exec font image minimal mobile \
47909 mobile/wxedit mobile/styles propsize render \
47910 rotate shaped vscroll widgets"
47911
47912 if test "$wxUSE_MONOLITHIC" != "yes"; then
47913 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47914 fi
47915 if test "$TOOLKIT" = "MSW"; then
47916 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47917 if test "$wxUSE_UNIVERSAL" != "yes"; then
47918 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47919 fi
47920 fi
47921 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47922 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47923 fi
47924 else
47925 SAMPLES_SUBDIRS="console"
47926 fi
47927
47928
47929 if test "x$INTELCC" = "xyes" ; then
47930 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
47931 elif test "$GCC" = yes ; then
47932 CWARNINGS="-Wall -Wundef"
47933 fi
47934
47935 if test "x$INTELCXX" = "xyes" ; then
47936 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
47937 elif test "$GXX" = yes ; then
47938 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
47939 fi
47940
47941
47942 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47943 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47944
47945
47946 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47947 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47948 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47949 $CPPFLAGS `
47950
47951 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47952 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47953 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
47954
47955 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47956
47957
47958 if test "x$MWCC" = "xyes"; then
47959
47960 CC="$CC -cwd source -I-"
47961 CXX="$CXX -cwd source -I-"
47962 fi
47963
47964
47965 LIBS=`echo $LIBS`
47966 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47967 EXTRALIBS_XML="$EXPAT_LINK"
47968 EXTRALIBS_HTML="$MSPACK_LINK"
47969 EXTRALIBS_ODBC="$ODBC_LINK"
47970 if test "$wxUSE_GUI" = "yes"; then
47971 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47972 fi
47973 if test "$wxUSE_OPENGL" = "yes"; then
47974 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47975 fi
47976
47977 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47978
47979 WXCONFIG_LIBS="$LIBS"
47980
47981 if test "$wxUSE_REGEX" = "builtin" ; then
47982 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47983 fi
47984 if test "$wxUSE_EXPAT" = "builtin" ; then
47985 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47986 fi
47987 if test "$wxUSE_ODBC" = "builtin" ; then
47988 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
47989 fi
47990 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47991 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47992 fi
47993 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47994 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47995 fi
47996 if test "$wxUSE_LIBPNG" = "builtin" ; then
47997 wxconfig_3rdparty="png $wxconfig_3rdparty"
47998 fi
47999 if test "$wxUSE_ZLIB" = "builtin" ; then
48000 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48001 fi
48002
48003 for i in $wxconfig_3rdparty ; do
48004 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48005 done
48006
48007
48008 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48009 WXUNIV=1
48010
48011 case "$wxUNIV_THEMES" in
48012 ''|all)
48013 cat >>confdefs.h <<\_ACEOF
48014 #define wxUSE_ALL_THEMES 1
48015 _ACEOF
48016
48017 ;;
48018
48019 *)
48020 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
48021 cat >>confdefs.h <<_ACEOF
48022 #define wxUSE_THEME_$t 1
48023 _ACEOF
48024
48025 done
48026 esac
48027 else
48028 WXUNIV=0
48029 fi
48030
48031
48032
48033
48034
48035
48036
48037
48038
48039 if test $wxUSE_MONOLITHIC = "yes" ; then
48040 MONOLITHIC=1
48041 else
48042 MONOLITHIC=0
48043 fi
48044
48045 if test $wxUSE_PLUGINS = "yes" ; then
48046 USE_PLUGINS=1
48047 else
48048 USE_PLUGINS=0
48049 fi
48050
48051 if test $wxUSE_ODBC != "no" ; then
48052 USE_ODBC=1
48053 else
48054 USE_ODBC=0
48055 fi
48056
48057 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48058 USE_QA=1
48059 else
48060 USE_QA=0
48061 fi
48062
48063 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48064 OFFICIAL_BUILD=1
48065 else
48066 OFFICIAL_BUILD=0
48067 fi
48068
48069
48070
48071
48072
48073
48074
48075
48076
48077
48078
48079
48080
48081
48082
48083
48084
48085
48086
48087
48088
48089
48090
48091
48092
48093 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
48094
48095
48096
48097
48098
48099
48100
48101
48102 case "$TOOLKIT" in
48103 GTK)
48104 TOOLKIT_DESC="GTK+"
48105 if test "$WXGTK20" = 1; then
48106 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48107 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48108 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48109 fi
48110 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48111 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48112 fi
48113 if test "$wxUSE_LIBHILDON" = "yes"; then
48114 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48115 fi
48116
48117 if test "$TOOLKIT_EXTRA" != ""; then
48118 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48119 fi
48120 fi
48121 ;;
48122
48123 ?*)
48124 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
48125 ;;
48126
48127 *)
48128 TOOLKIT_DESC="base only"
48129 ;;
48130 esac
48131
48132 if test "$wxUSE_WINE" = "yes"; then
48133 BAKEFILE_FORCE_PLATFORM=win32
48134 fi
48135
48136 if test "$wxUSE_MAC" = 1 ; then
48137 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
48138 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
48139 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
48140 else
48141 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
48142 fi
48143 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
48144 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
48145 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
48146 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
48147 bk_use_pch=no
48148 fi
48149 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
48150 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
48151 fi
48152
48153 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
48154 then
48155 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
48156 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
48157 if test "${wx_cv_gcc_pch_bug+set}" = set; then
48158 echo $ECHO_N "(cached) $ECHO_C" >&6
48159 else
48160
48161 echo '#include <stdio.h>
48162 const wchar_t test_var[] = L"awidetest";' > conftest.h
48163
48164 echo '#include "conftest.h"
48165 int main()
48166 {
48167 printf("%ls", test_var);
48168 return 0;
48169 }' > conftest.cpp
48170
48171 wx_cv_gcc_pch_bug="pch not supported"
48172
48173 if $CXX conftest.h >/dev/null 2>&1
48174 then
48175 wx_cv_gcc_pch_bug=
48176
48177 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48178 then
48179 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48180 grep awidetest >/dev/null
48181 then
48182 wx_cv_gcc_pch_bug=no
48183 else
48184 wx_cv_gcc_pch_bug=yes
48185 fi
48186 fi
48187 fi
48188
48189 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48190
48191 fi
48192 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48193 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
48194
48195 if test "$wx_cv_gcc_pch_bug" = yes; then
48196 bk_use_pch=no
48197 fi
48198 fi
48199
48200
48201
48202
48203 if test "x$BAKEFILE_HOST" = "x"; then
48204 if test "x${host}" = "x" ; then
48205 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48206 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48207 { (exit 1); exit 1; }; }
48208 fi
48209
48210 BAKEFILE_HOST="${host}"
48211 fi
48212
48213 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48214
48215 if test -n "$ac_tool_prefix"; then
48216 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48217 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48218 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48220 if test "${ac_cv_prog_RANLIB+set}" = set; then
48221 echo $ECHO_N "(cached) $ECHO_C" >&6
48222 else
48223 if test -n "$RANLIB"; then
48224 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48225 else
48226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48227 for as_dir in $PATH
48228 do
48229 IFS=$as_save_IFS
48230 test -z "$as_dir" && as_dir=.
48231 for ac_exec_ext in '' $ac_executable_extensions; do
48232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48233 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48235 break 2
48236 fi
48237 done
48238 done
48239 IFS=$as_save_IFS
48240
48241 fi
48242 fi
48243 RANLIB=$ac_cv_prog_RANLIB
48244 if test -n "$RANLIB"; then
48245 { echo "$as_me:$LINENO: result: $RANLIB" >&5
48246 echo "${ECHO_T}$RANLIB" >&6; }
48247 else
48248 { echo "$as_me:$LINENO: result: no" >&5
48249 echo "${ECHO_T}no" >&6; }
48250 fi
48251
48252
48253 fi
48254 if test -z "$ac_cv_prog_RANLIB"; then
48255 ac_ct_RANLIB=$RANLIB
48256 # Extract the first word of "ranlib", so it can be a program name with args.
48257 set dummy ranlib; ac_word=$2
48258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48260 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48261 echo $ECHO_N "(cached) $ECHO_C" >&6
48262 else
48263 if test -n "$ac_ct_RANLIB"; then
48264 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
48265 else
48266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48267 for as_dir in $PATH
48268 do
48269 IFS=$as_save_IFS
48270 test -z "$as_dir" && as_dir=.
48271 for ac_exec_ext in '' $ac_executable_extensions; do
48272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48273 ac_cv_prog_ac_ct_RANLIB="ranlib"
48274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48275 break 2
48276 fi
48277 done
48278 done
48279 IFS=$as_save_IFS
48280
48281 fi
48282 fi
48283 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
48284 if test -n "$ac_ct_RANLIB"; then
48285 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48286 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
48287 else
48288 { echo "$as_me:$LINENO: result: no" >&5
48289 echo "${ECHO_T}no" >&6; }
48290 fi
48291
48292 if test "x$ac_ct_RANLIB" = x; then
48293 RANLIB=":"
48294 else
48295 case $cross_compiling:$ac_tool_warned in
48296 yes:)
48297 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48298 whose name does not start with the host triplet. If you think this
48299 configuration is useful to you, please write to autoconf@gnu.org." >&5
48300 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48301 whose name does not start with the host triplet. If you think this
48302 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48303 ac_tool_warned=yes ;;
48304 esac
48305 RANLIB=$ac_ct_RANLIB
48306 fi
48307 else
48308 RANLIB="$ac_cv_prog_RANLIB"
48309 fi
48310
48311 # Find a good install program. We prefer a C program (faster),
48312 # so one script is as good as another. But avoid the broken or
48313 # incompatible versions:
48314 # SysV /etc/install, /usr/sbin/install
48315 # SunOS /usr/etc/install
48316 # IRIX /sbin/install
48317 # AIX /bin/install
48318 # AmigaOS /C/install, which installs bootblocks on floppy discs
48319 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
48320 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
48321 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
48322 # OS/2's system install, which has a completely different semantic
48323 # ./install, which can be erroneously created by make from ./install.sh.
48324 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48325 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
48326 if test -z "$INSTALL"; then
48327 if test "${ac_cv_path_install+set}" = set; then
48328 echo $ECHO_N "(cached) $ECHO_C" >&6
48329 else
48330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48331 for as_dir in $PATH
48332 do
48333 IFS=$as_save_IFS
48334 test -z "$as_dir" && as_dir=.
48335 # Account for people who put trailing slashes in PATH elements.
48336 case $as_dir/ in
48337 ./ | .// | /cC/* | \
48338 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
48339 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
48340 /usr/ucb/* ) ;;
48341 *)
48342 # OSF1 and SCO ODT 3.0 have their own names for install.
48343 # Don't use installbsd from OSF since it installs stuff as root
48344 # by default.
48345 for ac_prog in ginstall scoinst install; do
48346 for ac_exec_ext in '' $ac_executable_extensions; do
48347 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
48348 if test $ac_prog = install &&
48349 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48350 # AIX install. It has an incompatible calling convention.
48351 :
48352 elif test $ac_prog = install &&
48353 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48354 # program-specific install script used by HP pwplus--don't use.
48355 :
48356 else
48357 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
48358 break 3
48359 fi
48360 fi
48361 done
48362 done
48363 ;;
48364 esac
48365 done
48366 IFS=$as_save_IFS
48367
48368
48369 fi
48370 if test "${ac_cv_path_install+set}" = set; then
48371 INSTALL=$ac_cv_path_install
48372 else
48373 # As a last resort, use the slow shell script. Don't cache a
48374 # value for INSTALL within a source directory, because that will
48375 # break other packages using the cache if that directory is
48376 # removed, or if the value is a relative name.
48377 INSTALL=$ac_install_sh
48378 fi
48379 fi
48380 { echo "$as_me:$LINENO: result: $INSTALL" >&5
48381 echo "${ECHO_T}$INSTALL" >&6; }
48382
48383 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
48384 # It thinks the first close brace ends the variable substitution.
48385 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
48386
48387 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
48388
48389 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
48390
48391 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
48392 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
48393 LN_S=$as_ln_s
48394 if test "$LN_S" = "ln -s"; then
48395 { echo "$as_me:$LINENO: result: yes" >&5
48396 echo "${ECHO_T}yes" >&6; }
48397 else
48398 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
48399 echo "${ECHO_T}no, using $LN_S" >&6; }
48400 fi
48401
48402
48403 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48404 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48405 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48406 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48407 echo $ECHO_N "(cached) $ECHO_C" >&6
48408 else
48409 cat >conftest.make <<\_ACEOF
48410 SHELL = /bin/sh
48411 all:
48412 @echo '@@@%%%=$(MAKE)=@@@%%%'
48413 _ACEOF
48414 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48415 case `${MAKE-make} -f conftest.make 2>/dev/null` in
48416 *@@@%%%=?*=@@@%%%*)
48417 eval ac_cv_prog_make_${ac_make}_set=yes;;
48418 *)
48419 eval ac_cv_prog_make_${ac_make}_set=no;;
48420 esac
48421 rm -f conftest.make
48422 fi
48423 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48424 { echo "$as_me:$LINENO: result: yes" >&5
48425 echo "${ECHO_T}yes" >&6; }
48426 SET_MAKE=
48427 else
48428 { echo "$as_me:$LINENO: result: no" >&5
48429 echo "${ECHO_T}no" >&6; }
48430 SET_MAKE="MAKE=${MAKE-make}"
48431 fi
48432
48433
48434
48435 if test "x$SUNCXX" = "xyes"; then
48436 AR=${AR:-"$CXX"}
48437
48438 AROPTIONS=${AROPTIONS:-"-xar -o"}
48439 else
48440 if test -n "$ac_tool_prefix"; then
48441 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
48442 set dummy ${ac_tool_prefix}ar; ac_word=$2
48443 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48445 if test "${ac_cv_prog_AR+set}" = set; then
48446 echo $ECHO_N "(cached) $ECHO_C" >&6
48447 else
48448 if test -n "$AR"; then
48449 ac_cv_prog_AR="$AR" # Let the user override the test.
48450 else
48451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48452 for as_dir in $PATH
48453 do
48454 IFS=$as_save_IFS
48455 test -z "$as_dir" && as_dir=.
48456 for ac_exec_ext in '' $ac_executable_extensions; do
48457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48458 ac_cv_prog_AR="${ac_tool_prefix}ar"
48459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48460 break 2
48461 fi
48462 done
48463 done
48464 IFS=$as_save_IFS
48465
48466 fi
48467 fi
48468 AR=$ac_cv_prog_AR
48469 if test -n "$AR"; then
48470 { echo "$as_me:$LINENO: result: $AR" >&5
48471 echo "${ECHO_T}$AR" >&6; }
48472 else
48473 { echo "$as_me:$LINENO: result: no" >&5
48474 echo "${ECHO_T}no" >&6; }
48475 fi
48476
48477
48478 fi
48479 if test -z "$ac_cv_prog_AR"; then
48480 ac_ct_AR=$AR
48481 # Extract the first word of "ar", so it can be a program name with args.
48482 set dummy ar; ac_word=$2
48483 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48485 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48486 echo $ECHO_N "(cached) $ECHO_C" >&6
48487 else
48488 if test -n "$ac_ct_AR"; then
48489 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
48490 else
48491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48492 for as_dir in $PATH
48493 do
48494 IFS=$as_save_IFS
48495 test -z "$as_dir" && as_dir=.
48496 for ac_exec_ext in '' $ac_executable_extensions; do
48497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48498 ac_cv_prog_ac_ct_AR="ar"
48499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48500 break 2
48501 fi
48502 done
48503 done
48504 IFS=$as_save_IFS
48505
48506 fi
48507 fi
48508 ac_ct_AR=$ac_cv_prog_ac_ct_AR
48509 if test -n "$ac_ct_AR"; then
48510 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48511 echo "${ECHO_T}$ac_ct_AR" >&6; }
48512 else
48513 { echo "$as_me:$LINENO: result: no" >&5
48514 echo "${ECHO_T}no" >&6; }
48515 fi
48516
48517 if test "x$ac_ct_AR" = x; then
48518 AR="ar"
48519 else
48520 case $cross_compiling:$ac_tool_warned in
48521 yes:)
48522 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48523 whose name does not start with the host triplet. If you think this
48524 configuration is useful to you, please write to autoconf@gnu.org." >&5
48525 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48526 whose name does not start with the host triplet. If you think this
48527 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48528 ac_tool_warned=yes ;;
48529 esac
48530 AR=$ac_ct_AR
48531 fi
48532 else
48533 AR="$ac_cv_prog_AR"
48534 fi
48535
48536 AROPTIONS=rcu
48537 fi
48538
48539
48540 if test -n "$ac_tool_prefix"; then
48541 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48542 set dummy ${ac_tool_prefix}strip; ac_word=$2
48543 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48545 if test "${ac_cv_prog_STRIP+set}" = set; then
48546 echo $ECHO_N "(cached) $ECHO_C" >&6
48547 else
48548 if test -n "$STRIP"; then
48549 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
48550 else
48551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48552 for as_dir in $PATH
48553 do
48554 IFS=$as_save_IFS
48555 test -z "$as_dir" && as_dir=.
48556 for ac_exec_ext in '' $ac_executable_extensions; do
48557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48558 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
48559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48560 break 2
48561 fi
48562 done
48563 done
48564 IFS=$as_save_IFS
48565
48566 fi
48567 fi
48568 STRIP=$ac_cv_prog_STRIP
48569 if test -n "$STRIP"; then
48570 { echo "$as_me:$LINENO: result: $STRIP" >&5
48571 echo "${ECHO_T}$STRIP" >&6; }
48572 else
48573 { echo "$as_me:$LINENO: result: no" >&5
48574 echo "${ECHO_T}no" >&6; }
48575 fi
48576
48577
48578 fi
48579 if test -z "$ac_cv_prog_STRIP"; then
48580 ac_ct_STRIP=$STRIP
48581 # Extract the first word of "strip", so it can be a program name with args.
48582 set dummy strip; ac_word=$2
48583 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48585 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48586 echo $ECHO_N "(cached) $ECHO_C" >&6
48587 else
48588 if test -n "$ac_ct_STRIP"; then
48589 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48590 else
48591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48592 for as_dir in $PATH
48593 do
48594 IFS=$as_save_IFS
48595 test -z "$as_dir" && as_dir=.
48596 for ac_exec_ext in '' $ac_executable_extensions; do
48597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48598 ac_cv_prog_ac_ct_STRIP="strip"
48599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48600 break 2
48601 fi
48602 done
48603 done
48604 IFS=$as_save_IFS
48605
48606 fi
48607 fi
48608 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48609 if test -n "$ac_ct_STRIP"; then
48610 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48611 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
48612 else
48613 { echo "$as_me:$LINENO: result: no" >&5
48614 echo "${ECHO_T}no" >&6; }
48615 fi
48616
48617 if test "x$ac_ct_STRIP" = x; then
48618 STRIP=":"
48619 else
48620 case $cross_compiling:$ac_tool_warned in
48621 yes:)
48622 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48623 whose name does not start with the host triplet. If you think this
48624 configuration is useful to you, please write to autoconf@gnu.org." >&5
48625 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48626 whose name does not start with the host triplet. If you think this
48627 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48628 ac_tool_warned=yes ;;
48629 esac
48630 STRIP=$ac_ct_STRIP
48631 fi
48632 else
48633 STRIP="$ac_cv_prog_STRIP"
48634 fi
48635
48636 if test -n "$ac_tool_prefix"; then
48637 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48638 set dummy ${ac_tool_prefix}nm; ac_word=$2
48639 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48641 if test "${ac_cv_prog_NM+set}" = set; then
48642 echo $ECHO_N "(cached) $ECHO_C" >&6
48643 else
48644 if test -n "$NM"; then
48645 ac_cv_prog_NM="$NM" # Let the user override the test.
48646 else
48647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48648 for as_dir in $PATH
48649 do
48650 IFS=$as_save_IFS
48651 test -z "$as_dir" && as_dir=.
48652 for ac_exec_ext in '' $ac_executable_extensions; do
48653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48654 ac_cv_prog_NM="${ac_tool_prefix}nm"
48655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48656 break 2
48657 fi
48658 done
48659 done
48660 IFS=$as_save_IFS
48661
48662 fi
48663 fi
48664 NM=$ac_cv_prog_NM
48665 if test -n "$NM"; then
48666 { echo "$as_me:$LINENO: result: $NM" >&5
48667 echo "${ECHO_T}$NM" >&6; }
48668 else
48669 { echo "$as_me:$LINENO: result: no" >&5
48670 echo "${ECHO_T}no" >&6; }
48671 fi
48672
48673
48674 fi
48675 if test -z "$ac_cv_prog_NM"; then
48676 ac_ct_NM=$NM
48677 # Extract the first word of "nm", so it can be a program name with args.
48678 set dummy nm; ac_word=$2
48679 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48681 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48682 echo $ECHO_N "(cached) $ECHO_C" >&6
48683 else
48684 if test -n "$ac_ct_NM"; then
48685 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48686 else
48687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48688 for as_dir in $PATH
48689 do
48690 IFS=$as_save_IFS
48691 test -z "$as_dir" && as_dir=.
48692 for ac_exec_ext in '' $ac_executable_extensions; do
48693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48694 ac_cv_prog_ac_ct_NM="nm"
48695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48696 break 2
48697 fi
48698 done
48699 done
48700 IFS=$as_save_IFS
48701
48702 fi
48703 fi
48704 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48705 if test -n "$ac_ct_NM"; then
48706 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48707 echo "${ECHO_T}$ac_ct_NM" >&6; }
48708 else
48709 { echo "$as_me:$LINENO: result: no" >&5
48710 echo "${ECHO_T}no" >&6; }
48711 fi
48712
48713 if test "x$ac_ct_NM" = x; then
48714 NM=":"
48715 else
48716 case $cross_compiling:$ac_tool_warned in
48717 yes:)
48718 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48719 whose name does not start with the host triplet. If you think this
48720 configuration is useful to you, please write to autoconf@gnu.org." >&5
48721 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48722 whose name does not start with the host triplet. If you think this
48723 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48724 ac_tool_warned=yes ;;
48725 esac
48726 NM=$ac_ct_NM
48727 fi
48728 else
48729 NM="$ac_cv_prog_NM"
48730 fi
48731
48732
48733 case ${BAKEFILE_HOST} in
48734 *-hp-hpux* )
48735 INSTALL_DIR="mkdir -p"
48736 ;;
48737 * )
48738 INSTALL_DIR='$(INSTALL) -d'
48739 ;;
48740 esac
48741
48742
48743 LDFLAGS_GUI=
48744 case ${BAKEFILE_HOST} in
48745 *-*-cygwin* | *-*-mingw32* )
48746 LDFLAGS_GUI="-mwindows"
48747 esac
48748
48749
48750 fi
48751
48752 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48753 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48754 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48755 echo $ECHO_N "(cached) $ECHO_C" >&6
48756 else
48757
48758 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48759 egrep -s GNU > /dev/null); then
48760 bakefile_cv_prog_makeisgnu="yes"
48761 else
48762 bakefile_cv_prog_makeisgnu="no"
48763 fi
48764
48765 fi
48766 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48767 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48768
48769 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48770 IF_GNU_MAKE=""
48771 else
48772 IF_GNU_MAKE="#"
48773 fi
48774
48775
48776
48777 PLATFORM_UNIX=0
48778 PLATFORM_WIN32=0
48779 PLATFORM_MSDOS=0
48780 PLATFORM_MAC=0
48781 PLATFORM_MACOS=0
48782 PLATFORM_MACOSX=0
48783 PLATFORM_OS2=0
48784 PLATFORM_BEOS=0
48785
48786 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48787 case "${BAKEFILE_HOST}" in
48788 *-*-mingw32* )
48789 PLATFORM_WIN32=1
48790 ;;
48791 *-pc-msdosdjgpp )
48792 PLATFORM_MSDOS=1
48793 ;;
48794 *-pc-os2_emx | *-pc-os2-emx )
48795 PLATFORM_OS2=1
48796 ;;
48797 *-*-darwin* )
48798 PLATFORM_MAC=1
48799 PLATFORM_MACOSX=1
48800 ;;
48801 *-*-beos* )
48802 PLATFORM_BEOS=1
48803 ;;
48804 powerpc-apple-macos* )
48805 PLATFORM_MAC=1
48806 PLATFORM_MACOS=1
48807 ;;
48808 * )
48809 PLATFORM_UNIX=1
48810 ;;
48811 esac
48812 else
48813 case "$BAKEFILE_FORCE_PLATFORM" in
48814 win32 )
48815 PLATFORM_WIN32=1
48816 ;;
48817 msdos )
48818 PLATFORM_MSDOS=1
48819 ;;
48820 os2 )
48821 PLATFORM_OS2=1
48822 ;;
48823 darwin )
48824 PLATFORM_MAC=1
48825 PLATFORM_MACOSX=1
48826 ;;
48827 unix )
48828 PLATFORM_UNIX=1
48829 ;;
48830 beos )
48831 PLATFORM_BEOS=1
48832 ;;
48833 * )
48834 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
48835 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
48836 { (exit 1); exit 1; }; }
48837 ;;
48838 esac
48839 fi
48840
48841
48842
48843
48844
48845
48846
48847
48848
48849
48850
48851 # Check whether --enable-omf was given.
48852 if test "${enable_omf+set}" = set; then
48853 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48854 fi
48855
48856
48857 case "${BAKEFILE_HOST}" in
48858 *-*-darwin* )
48859 if test "x$GCC" = "xyes"; then
48860 CFLAGS="$CFLAGS -fno-common"
48861 CXXFLAGS="$CXXFLAGS -fno-common"
48862 fi
48863 if test "x$XLCC" = "xyes"; then
48864 CFLAGS="$CFLAGS -qnocommon"
48865 CXXFLAGS="$CXXFLAGS -qnocommon"
48866 fi
48867 ;;
48868
48869 *-pc-os2_emx | *-pc-os2-emx )
48870 if test "x$bk_os2_use_omf" = "xyes" ; then
48871 AR=emxomfar
48872 RANLIB=:
48873 LDFLAGS="-Zomf $LDFLAGS"
48874 CFLAGS="-Zomf $CFLAGS"
48875 CXXFLAGS="-Zomf $CXXFLAGS"
48876 OS2_LIBEXT="lib"
48877 else
48878 OS2_LIBEXT="a"
48879 fi
48880 ;;
48881
48882 i*86-*-beos* )
48883 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48884 ;;
48885 esac
48886
48887
48888 SO_SUFFIX="so"
48889 SO_SUFFIX_MODULE="so"
48890 EXEEXT=""
48891 LIBPREFIX="lib"
48892 LIBEXT=".a"
48893 DLLPREFIX="lib"
48894 DLLPREFIX_MODULE=""
48895 DLLIMP_SUFFIX=""
48896 dlldir="$libdir"
48897
48898 case "${BAKEFILE_HOST}" in
48899 *-hp-hpux* )
48900 SO_SUFFIX="sl"
48901 SO_SUFFIX_MODULE="sl"
48902 ;;
48903 *-*-aix* )
48904 SO_SUFFIX="a"
48905 SO_SUFFIX_MODULE="a"
48906 ;;
48907 *-*-cygwin* )
48908 SO_SUFFIX="dll"
48909 SO_SUFFIX_MODULE="dll"
48910 DLLIMP_SUFFIX="dll.a"
48911 EXEEXT=".exe"
48912 DLLPREFIX="cyg"
48913 dlldir="$bindir"
48914 ;;
48915 *-*-mingw32* )
48916 SO_SUFFIX="dll"
48917 SO_SUFFIX_MODULE="dll"
48918 DLLIMP_SUFFIX="dll.a"
48919 EXEEXT=".exe"
48920 DLLPREFIX=""
48921 dlldir="$bindir"
48922 ;;
48923 *-pc-msdosdjgpp )
48924 EXEEXT=".exe"
48925 DLLPREFIX=""
48926 dlldir="$bindir"
48927 ;;
48928 *-pc-os2_emx | *-pc-os2-emx )
48929 SO_SUFFIX="dll"
48930 SO_SUFFIX_MODULE="dll"
48931 DLLIMP_SUFFIX=$OS2_LIBEXT
48932 EXEEXT=".exe"
48933 DLLPREFIX=""
48934 LIBPREFIX=""
48935 LIBEXT=".$OS2_LIBEXT"
48936 dlldir="$bindir"
48937 ;;
48938 *-*-darwin* )
48939 SO_SUFFIX="dylib"
48940 SO_SUFFIX_MODULE="bundle"
48941 ;;
48942 esac
48943
48944 if test "x$DLLIMP_SUFFIX" = "x" ; then
48945 DLLIMP_SUFFIX="$SO_SUFFIX"
48946 fi
48947
48948
48949
48950
48951
48952
48953
48954
48955
48956
48957
48958
48959 PIC_FLAG=""
48960 if test "x$GCC" = "xyes"; then
48961 PIC_FLAG="-fPIC"
48962 fi
48963
48964 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48965 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48966 WINDOWS_IMPLIB=0
48967
48968 case "${BAKEFILE_HOST}" in
48969 *-hp-hpux* )
48970 if test "x$GCC" != "xyes"; then
48971 LDFLAGS="$LDFLAGS -L/usr/lib"
48972
48973 SHARED_LD_CC="${CC} -b -o"
48974 SHARED_LD_CXX="${CXX} -b -o"
48975 PIC_FLAG="+Z"
48976 fi
48977 ;;
48978
48979 *-*-linux* )
48980 if test "x$GCC" != "xyes"; then
48981 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
48982 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
48983 if test "${bakefile_cv_prog_icc+set}" = set; then
48984 echo $ECHO_N "(cached) $ECHO_C" >&6
48985 else
48986
48987 cat >conftest.$ac_ext <<_ACEOF
48988 /* confdefs.h. */
48989 _ACEOF
48990 cat confdefs.h >>conftest.$ac_ext
48991 cat >>conftest.$ac_ext <<_ACEOF
48992 /* end confdefs.h. */
48993
48994 int
48995 main ()
48996 {
48997
48998 #ifndef __INTEL_COMPILER
48999 This is not ICC
49000 #endif
49001
49002 ;
49003 return 0;
49004 }
49005 _ACEOF
49006 rm -f conftest.$ac_objext
49007 if { (ac_try="$ac_compile"
49008 case "(($ac_try" in
49009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49010 *) ac_try_echo=$ac_try;;
49011 esac
49012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49013 (eval "$ac_compile") 2>conftest.er1
49014 ac_status=$?
49015 grep -v '^ *+' conftest.er1 >conftest.err
49016 rm -f conftest.er1
49017 cat conftest.err >&5
49018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49019 (exit $ac_status); } && {
49020 test -z "$ac_c_werror_flag" ||
49021 test ! -s conftest.err
49022 } && test -s conftest.$ac_objext; then
49023 bakefile_cv_prog_icc=yes
49024 else
49025 echo "$as_me: failed program was:" >&5
49026 sed 's/^/| /' conftest.$ac_ext >&5
49027
49028 bakefile_cv_prog_icc=no
49029
49030 fi
49031
49032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49033
49034 fi
49035 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
49036 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
49037 if test "$bakefile_cv_prog_icc" = "yes"; then
49038 PIC_FLAG="-KPIC"
49039 fi
49040 fi
49041 ;;
49042
49043 *-*-solaris2* )
49044 if test "x$GCC" != xyes ; then
49045 SHARED_LD_CC="${CC} -G -o"
49046 SHARED_LD_CXX="${CXX} -G -o"
49047 PIC_FLAG="-KPIC"
49048 fi
49049 ;;
49050
49051 *-*-darwin* )
49052
49053 D='$'
49054 cat <<EOF >shared-ld-sh
49055 #!/bin/sh
49056 #-----------------------------------------------------------------------------
49057 #-- Name: distrib/mac/shared-ld-sh
49058 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49059 #-- Author: Gilles Depeyrot
49060 #-- Copyright: (c) 2002 Gilles Depeyrot
49061 #-- Licence: any use permitted
49062 #-----------------------------------------------------------------------------
49063
49064 verbose=0
49065 args=""
49066 objects=""
49067 linking_flag="-dynamiclib"
49068 ldargs="-r -keep_private_externs -nostdlib"
49069
49070 while test ${D}# -gt 0; do
49071 case ${D}1 in
49072
49073 -v)
49074 verbose=1
49075 ;;
49076
49077 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49078 # collect these options and values
49079 args="${D}{args} ${D}1 ${D}2"
49080 shift
49081 ;;
49082
49083 -s|-Wl,*)
49084 # collect these load args
49085 ldargs="${D}{ldargs} ${D}1"
49086 ;;
49087
49088 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49089 # collect these options
49090 args="${D}{args} ${D}1"
49091 ;;
49092
49093 -dynamiclib|-bundle)
49094 linking_flag="${D}1"
49095 ;;
49096
49097 -*)
49098 echo "shared-ld: unhandled option '${D}1'"
49099 exit 1
49100 ;;
49101
49102 *.o | *.a | *.dylib)
49103 # collect object files
49104 objects="${D}{objects} ${D}1"
49105 ;;
49106
49107 *)
49108 echo "shared-ld: unhandled argument '${D}1'"
49109 exit 1
49110 ;;
49111
49112 esac
49113 shift
49114 done
49115
49116 status=0
49117
49118 #
49119 # Link one module containing all the others
49120 #
49121 if test ${D}{verbose} = 1; then
49122 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49123 fi
49124 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49125 status=${D}?
49126
49127 #
49128 # Link the shared library from the single module created, but only if the
49129 # previous command didn't fail:
49130 #
49131 if test ${D}{status} = 0; then
49132 if test ${D}{verbose} = 1; then
49133 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49134 fi
49135 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49136 status=${D}?
49137 fi
49138
49139 #
49140 # Remove intermediate module
49141 #
49142 rm -f master.${D}${D}.o
49143
49144 exit ${D}status
49145 EOF
49146
49147 chmod +x shared-ld-sh
49148
49149 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49150 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
49151
49152
49153 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49154 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
49155 if test "${bakefile_cv_gcc31+set}" = set; then
49156 echo $ECHO_N "(cached) $ECHO_C" >&6
49157 else
49158
49159 cat >conftest.$ac_ext <<_ACEOF
49160 /* confdefs.h. */
49161 _ACEOF
49162 cat confdefs.h >>conftest.$ac_ext
49163 cat >>conftest.$ac_ext <<_ACEOF
49164 /* end confdefs.h. */
49165
49166 int
49167 main ()
49168 {
49169
49170 #if (__GNUC__ < 3) || \
49171 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49172 This is old gcc
49173 #endif
49174
49175 ;
49176 return 0;
49177 }
49178 _ACEOF
49179 rm -f conftest.$ac_objext
49180 if { (ac_try="$ac_compile"
49181 case "(($ac_try" in
49182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49183 *) ac_try_echo=$ac_try;;
49184 esac
49185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49186 (eval "$ac_compile") 2>conftest.er1
49187 ac_status=$?
49188 grep -v '^ *+' conftest.er1 >conftest.err
49189 rm -f conftest.er1
49190 cat conftest.err >&5
49191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49192 (exit $ac_status); } && {
49193 test -z "$ac_c_werror_flag" ||
49194 test ! -s conftest.err
49195 } && test -s conftest.$ac_objext; then
49196
49197 bakefile_cv_gcc31=yes
49198
49199 else
49200 echo "$as_me: failed program was:" >&5
49201 sed 's/^/| /' conftest.$ac_ext >&5
49202
49203
49204 bakefile_cv_gcc31=no
49205
49206
49207 fi
49208
49209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49210
49211 fi
49212 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49213 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
49214 if test "$bakefile_cv_gcc31" = "no"; then
49215 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49216 SHARED_LD_CXX="$SHARED_LD_CC"
49217 else
49218 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49219 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49220 fi
49221
49222 if test "x$GCC" == "xyes"; then
49223 PIC_FLAG="-dynamic -fPIC"
49224 fi
49225 if test "x$XLCC" = "xyes"; then
49226 PIC_FLAG="-dynamic -DPIC"
49227 fi
49228 ;;
49229
49230 *-*-aix* )
49231 if test "x$GCC" = "xyes"; then
49232 PIC_FLAG=""
49233
49234 case "${BAKEFILE_HOST}" in
49235 *-*-aix5* )
49236 LD_EXPFULL="-Wl,-bexpfull"
49237 ;;
49238 esac
49239
49240 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
49241 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
49242 else
49243 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49244 set dummy makeC++SharedLib; ac_word=$2
49245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49247 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49248 echo $ECHO_N "(cached) $ECHO_C" >&6
49249 else
49250 if test -n "$AIX_CXX_LD"; then
49251 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
49252 else
49253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49254 for as_dir in $PATH
49255 do
49256 IFS=$as_save_IFS
49257 test -z "$as_dir" && as_dir=.
49258 for ac_exec_ext in '' $ac_executable_extensions; do
49259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49260 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
49261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49262 break 2
49263 fi
49264 done
49265 done
49266 IFS=$as_save_IFS
49267
49268 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
49269 fi
49270 fi
49271 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
49272 if test -n "$AIX_CXX_LD"; then
49273 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49274 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
49275 else
49276 { echo "$as_me:$LINENO: result: no" >&5
49277 echo "${ECHO_T}no" >&6; }
49278 fi
49279
49280
49281 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
49282 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
49283 fi
49284 ;;
49285
49286 *-*-beos* )
49287 SHARED_LD_CC="${LD} -nostart -o"
49288 SHARED_LD_CXX="${LD} -nostart -o"
49289 ;;
49290
49291 *-*-irix* )
49292 if test "x$GCC" != "xyes"; then
49293 PIC_FLAG="-KPIC"
49294 fi
49295 ;;
49296
49297 *-*-cygwin* | *-*-mingw32* )
49298 PIC_FLAG=""
49299 SHARED_LD_CC="\$(CC) -shared -o"
49300 SHARED_LD_CXX="\$(CXX) -shared -o"
49301 WINDOWS_IMPLIB=1
49302 ;;
49303
49304 *-pc-os2_emx | *-pc-os2-emx )
49305 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49306 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49307 PIC_FLAG=""
49308
49309 D='$'
49310 cat <<EOF >dllar.sh
49311 #!/bin/sh
49312 #
49313 # dllar - a tool to build both a .dll and an .a file
49314 # from a set of object (.o) files for EMX/OS2.
49315 #
49316 # Written by Andrew Zabolotny, bit@freya.etu.ru
49317 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49318 #
49319 # This script will accept a set of files on the command line.
49320 # All the public symbols from the .o files will be exported into
49321 # a .DEF file, then linker will be run (through gcc) against them to
49322 # build a shared library consisting of all given .o files. All libraries
49323 # (.a) will be first decompressed into component .o files then act as
49324 # described above. You can optionally give a description (-d "description")
49325 # which will be put into .DLL. To see the list of accepted options (as well
49326 # as command-line format) simply run this program without options. The .DLL
49327 # is built to be imported by name (there is no guarantee that new versions
49328 # of the library you build will have same ordinals for same symbols).
49329 #
49330 # dllar is free software; you can redistribute it and/or modify
49331 # it under the terms of the GNU General Public License as published by
49332 # the Free Software Foundation; either version 2, or (at your option)
49333 # any later version.
49334 #
49335 # dllar is distributed in the hope that it will be useful,
49336 # but WITHOUT ANY WARRANTY; without even the implied warranty of
49337 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49338 # GNU General Public License for more details.
49339 #
49340 # You should have received a copy of the GNU General Public License
49341 # along with dllar; see the file COPYING. If not, write to the Free
49342 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
49343 # 02111-1307, USA.
49344
49345 # To successfuly run this program you will need:
49346 # - Current drive should have LFN support (HPFS, ext2, network, etc)
49347 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
49348 # - gcc
49349 # (used to build the .dll)
49350 # - emxexp
49351 # (used to create .def file from .o files)
49352 # - emximp
49353 # (used to create .a file from .def file)
49354 # - GNU text utilites (cat, sort, uniq)
49355 # used to process emxexp output
49356 # - GNU file utilities (mv, rm)
49357 # - GNU sed
49358 # - lxlite (optional, see flag below)
49359 # (used for general .dll cleanup)
49360 #
49361
49362 flag_USE_LXLITE=1;
49363
49364 #
49365 # helper functions
49366 # basnam, variant of basename, which does _not_ remove the path, _iff_
49367 # second argument (suffix to remove) is given
49368 basnam(){
49369 case ${D}# in
49370 1)
49371 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
49372 ;;
49373 2)
49374 echo ${D}1 | sed 's/'${D}2'${D}//'
49375 ;;
49376 *)
49377 echo "error in basnam ${D}*"
49378 exit 8
49379 ;;
49380 esac
49381 }
49382
49383 # Cleanup temporary files and output
49384 CleanUp() {
49385 cd ${D}curDir
49386 for i in ${D}inputFiles ; do
49387 case ${D}i in
49388 *!)
49389 rm -rf \`basnam ${D}i !\`
49390 ;;
49391 *)
49392 ;;
49393 esac
49394 done
49395
49396 # Kill result in case of failure as there is just to many stupid make/nmake
49397 # things out there which doesn't do this.
49398 if [ ${D}# -eq 0 ]; then
49399 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
49400 fi
49401 }
49402
49403 # Print usage and exit script with rc=1.
49404 PrintHelp() {
49405 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
49406 echo ' [-name-mangler-script script.sh]'
49407 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
49408 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
49409 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
49410 echo ' [*.o] [*.a]'
49411 echo '*> "output_file" should have no extension.'
49412 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
49413 echo ' The import library name is derived from this and is set to "name".a,'
49414 echo ' unless overridden by -import'
49415 echo '*> "importlib_name" should have no extension.'
49416 echo ' If it has the .o, or .a extension, it is automatically removed.'
49417 echo ' This name is used as the import library name and may be longer and'
49418 echo ' more descriptive than the DLL name which has to follow the old '
49419 echo ' 8.3 convention of FAT.'
49420 echo '*> "script.sh may be given to override the output_file name by a'
49421 echo ' different name. It is mainly useful if the regular make process'
49422 echo ' of some package does not take into account OS/2 restriction of'
49423 echo ' DLL name lengths. It takes the importlib name as input and is'
49424 echo ' supposed to procude a shorter name as output. The script should'
49425 echo ' expect to get importlib_name without extension and should produce'
49426 echo ' a (max.) 8 letter name without extension.'
49427 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
49428 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
49429 echo ' These flags will be put at the start of GCC command line.'
49430 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
49431 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
49432 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
49433 echo ' If the last character of a symbol is "*", all symbols beginning'
49434 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
49435 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
49436 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
49437 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
49438 echo ' C runtime DLLs.'
49439 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
49440 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
49441 echo ' unchanged to GCC at the end of command line.'
49442 echo '*> If you create a DLL from a library and you do not specify -o,'
49443 echo ' the basename for DLL and import library will be set to library name,'
49444 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
49445 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
49446 echo ' library will be renamed into gcc_s.a.'
49447 echo '--------'
49448 echo 'Example:'
49449 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
49450 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
49451 CleanUp
49452 exit 1
49453 }
49454
49455 # Execute a command.
49456 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
49457 # @Uses Whatever CleanUp() uses.
49458 doCommand() {
49459 echo "${D}*"
49460 eval ${D}*
49461 rcCmd=${D}?
49462
49463 if [ ${D}rcCmd -ne 0 ]; then
49464 echo "command failed, exit code="${D}rcCmd
49465 CleanUp
49466 exit ${D}rcCmd
49467 fi
49468 }
49469
49470 # main routine
49471 # setup globals
49472 cmdLine=${D}*
49473 outFile=""
49474 outimpFile=""
49475 inputFiles=""
49476 renameScript=""
49477 description=""
49478 CC=gcc.exe
49479 CFLAGS="-s -Zcrtdll"
49480 EXTRA_CFLAGS=""
49481 EXPORT_BY_ORDINALS=0
49482 exclude_symbols=""
49483 library_flags=""
49484 curDir=\`pwd\`
49485 curDirS=curDir
49486 case ${D}curDirS in
49487 */)
49488 ;;
49489 *)
49490 curDirS=${D}{curDirS}"/"
49491 ;;
49492 esac
49493 # Parse commandline
49494 libsToLink=0
49495 omfLinking=0
49496 while [ ${D}1 ]; do
49497 case ${D}1 in
49498 -ord*)
49499 EXPORT_BY_ORDINALS=1;
49500 ;;
49501 -o*)
49502 shift
49503 outFile=${D}1
49504 ;;
49505 -i*)
49506 shift
49507 outimpFile=${D}1
49508 ;;
49509 -name-mangler-script)
49510 shift
49511 renameScript=${D}1
49512 ;;
49513 -d*)
49514 shift
49515 description=${D}1
49516 ;;
49517 -f*)
49518 shift
49519 CFLAGS=${D}1
49520 ;;
49521 -c*)
49522 shift
49523 CC=${D}1
49524 ;;
49525 -h*)
49526 PrintHelp
49527 ;;
49528 -ex*)
49529 shift
49530 exclude_symbols=${D}{exclude_symbols}${D}1" "
49531 ;;
49532 -libf*)
49533 shift
49534 library_flags=${D}{library_flags}${D}1" "
49535 ;;
49536 -nocrt*)
49537 CFLAGS="-s"
49538 ;;
49539 -nolxl*)
49540 flag_USE_LXLITE=0
49541 ;;
49542 -* | /*)
49543 case ${D}1 in
49544 -L* | -l*)
49545 libsToLink=1
49546 ;;
49547 -Zomf)
49548 omfLinking=1
49549 ;;
49550 *)
49551 ;;
49552 esac
49553 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49554 ;;
49555 *.dll)
49556 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49557 if [ ${D}omfLinking -eq 1 ]; then
49558 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49559 else
49560 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49561 fi
49562 ;;
49563 *)
49564 found=0;
49565 if [ ${D}libsToLink -ne 0 ]; then
49566 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49567 else
49568 for file in ${D}1 ; do
49569 if [ -f ${D}file ]; then
49570 inputFiles="${D}{inputFiles} ${D}file"
49571 found=1
49572 fi
49573 done
49574 if [ ${D}found -eq 0 ]; then
49575 echo "ERROR: No file(s) found: "${D}1
49576 exit 8
49577 fi
49578 fi
49579 ;;
49580 esac
49581 shift
49582 done # iterate cmdline words
49583
49584 #
49585 if [ -z "${D}inputFiles" ]; then
49586 echo "dllar: no input files"
49587 PrintHelp
49588 fi
49589
49590 # Now extract all .o files from .a files
49591 newInputFiles=""
49592 for file in ${D}inputFiles ; do
49593 case ${D}file in
49594 *.a | *.lib)
49595 case ${D}file in
49596 *.a)
49597 suffix=".a"
49598 AR="ar"
49599 ;;
49600 *.lib)
49601 suffix=".lib"
49602 AR="emxomfar"
49603 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49604 ;;
49605 *)
49606 ;;
49607 esac
49608 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49609 mkdir ${D}dirname
49610 if [ ${D}? -ne 0 ]; then
49611 echo "Failed to create subdirectory ./${D}dirname"
49612 CleanUp
49613 exit 8;
49614 fi
49615 # Append '!' to indicate archive
49616 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49617 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49618 cd ${D}curDir
49619 found=0;
49620 for subfile in ${D}dirname/*.o* ; do
49621 if [ -f ${D}subfile ]; then
49622 found=1
49623 if [ -s ${D}subfile ]; then
49624 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49625 newInputFiles="${D}newInputFiles ${D}subfile"
49626 fi
49627 fi
49628 done
49629 if [ ${D}found -eq 0 ]; then
49630 echo "WARNING: there are no files in archive \\'${D}file\\'"
49631 fi
49632 ;;
49633 *)
49634 newInputFiles="${D}{newInputFiles} ${D}file"
49635 ;;
49636 esac
49637 done
49638 inputFiles="${D}newInputFiles"
49639
49640 # Output filename(s).
49641 do_backup=0;
49642 if [ -z ${D}outFile ]; then
49643 do_backup=1;
49644 set outFile ${D}inputFiles; outFile=${D}2
49645 fi
49646
49647 # If it is an archive, remove the '!' and the '_%' suffixes
49648 case ${D}outFile in
49649 *_%!)
49650 outFile=\`basnam ${D}outFile _%!\`
49651 ;;
49652 *)
49653 ;;
49654 esac
49655 case ${D}outFile in
49656 *.dll)
49657 outFile=\`basnam ${D}outFile .dll\`
49658 ;;
49659 *.DLL)
49660 outFile=\`basnam ${D}outFile .DLL\`
49661 ;;
49662 *.o)
49663 outFile=\`basnam ${D}outFile .o\`
49664 ;;
49665 *.obj)
49666 outFile=\`basnam ${D}outFile .obj\`
49667 ;;
49668 *.a)
49669 outFile=\`basnam ${D}outFile .a\`
49670 ;;
49671 *.lib)
49672 outFile=\`basnam ${D}outFile .lib\`
49673 ;;
49674 *)
49675 ;;
49676 esac
49677 case ${D}outimpFile in
49678 *.a)
49679 outimpFile=\`basnam ${D}outimpFile .a\`
49680 ;;
49681 *.lib)
49682 outimpFile=\`basnam ${D}outimpFile .lib\`
49683 ;;
49684 *)
49685 ;;
49686 esac
49687 if [ -z ${D}outimpFile ]; then
49688 outimpFile=${D}outFile
49689 fi
49690 defFile="${D}{outFile}.def"
49691 arcFile="${D}{outimpFile}.a"
49692 arcFile2="${D}{outimpFile}.lib"
49693
49694 #create ${D}dllFile as something matching 8.3 restrictions,
49695 if [ -z ${D}renameScript ] ; then
49696 dllFile="${D}outFile"
49697 else
49698 dllFile=\`${D}renameScript ${D}outimpFile\`
49699 fi
49700
49701 if [ ${D}do_backup -ne 0 ] ; then
49702 if [ -f ${D}arcFile ] ; then
49703 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49704 fi
49705 if [ -f ${D}arcFile2 ] ; then
49706 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49707 fi
49708 fi
49709
49710 # Extract public symbols from all the object files.
49711 tmpdefFile=${D}{defFile}_%
49712 rm -f ${D}tmpdefFile
49713 for file in ${D}inputFiles ; do
49714 case ${D}file in
49715 *!)
49716 ;;
49717 *)
49718 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49719 ;;
49720 esac
49721 done
49722
49723 # Create the def file.
49724 rm -f ${D}defFile
49725 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49726 dllFile="${D}{dllFile}.dll"
49727 if [ ! -z ${D}description ]; then
49728 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49729 fi
49730 echo "EXPORTS" >> ${D}defFile
49731
49732 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49733 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49734
49735 # Checks if the export is ok or not.
49736 for word in ${D}exclude_symbols; do
49737 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49738 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49739 done
49740
49741
49742 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49743 sed "=" < ${D}tmpdefFile | \\
49744 sed '
49745 N
49746 : loop
49747 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49748 t loop
49749 ' > ${D}{tmpdefFile}%
49750 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49751 else
49752 rm -f ${D}{tmpdefFile}%
49753 fi
49754 cat ${D}tmpdefFile >> ${D}defFile
49755 rm -f ${D}tmpdefFile
49756
49757 # Do linking, create implib, and apply lxlite.
49758 gccCmdl="";
49759 for file in ${D}inputFiles ; do
49760 case ${D}file in
49761 *!)
49762 ;;
49763 *)
49764 gccCmdl="${D}gccCmdl ${D}file"
49765 ;;
49766 esac
49767 done
49768 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49769 touch "${D}{outFile}.dll"
49770
49771 doCommand "emximp -o ${D}arcFile ${D}defFile"
49772 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49773 add_flags="";
49774 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49775 add_flags="-ynd"
49776 fi
49777 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49778 fi
49779 doCommand "emxomf -s -l ${D}arcFile"
49780
49781 # Successful exit.
49782 CleanUp 1
49783 exit 0
49784 EOF
49785
49786 chmod +x dllar.sh
49787 ;;
49788
49789 powerpc-apple-macos* | \
49790 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49791 *-*-mirbsd* | \
49792 *-*-sunos4* | \
49793 *-*-osf* | \
49794 *-*-dgux5* | \
49795 *-*-sysv5* | \
49796 *-pc-msdosdjgpp )
49797 ;;
49798
49799 *)
49800 esac
49801
49802 if test "x$PIC_FLAG" != "x" ; then
49803 PIC_FLAG="$PIC_FLAG -DPIC"
49804 fi
49805
49806 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49807 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49808 fi
49809 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49810 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49811 fi
49812
49813
49814
49815
49816
49817
49818
49819
49820
49821 USE_SOVERSION=0
49822 USE_SOVERLINUX=0
49823 USE_SOVERSOLARIS=0
49824 USE_SOVERCYGWIN=0
49825 USE_SOSYMLINKS=0
49826 USE_MACVERSION=0
49827 SONAME_FLAG=
49828
49829 case "${BAKEFILE_HOST}" in
49830 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
49831 SONAME_FLAG="-Wl,-soname,"
49832 USE_SOVERSION=1
49833 USE_SOVERLINUX=1
49834 USE_SOSYMLINKS=1
49835 ;;
49836
49837 *-*-solaris2* )
49838 SONAME_FLAG="-h "
49839 USE_SOVERSION=1
49840 USE_SOVERSOLARIS=1
49841 USE_SOSYMLINKS=1
49842 ;;
49843
49844 *-*-darwin* )
49845 USE_MACVERSION=1
49846 USE_SOVERSION=1
49847 USE_SOSYMLINKS=1
49848 ;;
49849
49850 *-*-cygwin* )
49851 USE_SOVERSION=1
49852 USE_SOVERCYGWIN=1
49853 ;;
49854 esac
49855
49856
49857
49858
49859
49860
49861
49862
49863
49864
49865 # Check whether --enable-dependency-tracking was given.
49866 if test "${enable_dependency_tracking+set}" = set; then
49867 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49868 fi
49869
49870
49871 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49872 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49873
49874 BK_DEPS=""
49875 if test "x$bk_use_trackdeps" = "xno" ; then
49876 DEPS_TRACKING=0
49877 { echo "$as_me:$LINENO: result: disabled" >&5
49878 echo "${ECHO_T}disabled" >&6; }
49879 else
49880 DEPS_TRACKING=1
49881
49882 if test "x$GCC" = "xyes"; then
49883 DEPSMODE=gcc
49884 case "${BAKEFILE_HOST}" in
49885 *-*-darwin* )
49886 DEPSFLAG="-no-cpp-precomp -MMD"
49887 ;;
49888 * )
49889 DEPSFLAG="-MMD"
49890 ;;
49891 esac
49892 { echo "$as_me:$LINENO: result: gcc" >&5
49893 echo "${ECHO_T}gcc" >&6; }
49894 elif test "x$MWCC" = "xyes"; then
49895 DEPSMODE=mwcc
49896 DEPSFLAG="-MM"
49897 { echo "$as_me:$LINENO: result: mwcc" >&5
49898 echo "${ECHO_T}mwcc" >&6; }
49899 elif test "x$SUNCC" = "xyes"; then
49900 DEPSMODE=unixcc
49901 DEPSFLAG="-xM1"
49902 { echo "$as_me:$LINENO: result: Sun cc" >&5
49903 echo "${ECHO_T}Sun cc" >&6; }
49904 elif test "x$SGICC" = "xyes"; then
49905 DEPSMODE=unixcc
49906 DEPSFLAG="-M"
49907 { echo "$as_me:$LINENO: result: SGI cc" >&5
49908 echo "${ECHO_T}SGI cc" >&6; }
49909 elif test "x$HPCC" = "xyes"; then
49910 DEPSMODE=unixcc
49911 DEPSFLAG="+make"
49912 { echo "$as_me:$LINENO: result: HP cc" >&5
49913 echo "${ECHO_T}HP cc" >&6; }
49914 elif test "x$COMPAQCC" = "xyes"; then
49915 DEPSMODE=gcc
49916 DEPSFLAG="-MD"
49917 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49918 echo "${ECHO_T}Compaq cc" >&6; }
49919 else
49920 DEPS_TRACKING=0
49921 { echo "$as_me:$LINENO: result: none" >&5
49922 echo "${ECHO_T}none" >&6; }
49923 fi
49924
49925 if test $DEPS_TRACKING = 1 ; then
49926
49927 D='$'
49928 cat <<EOF >bk-deps
49929 #!/bin/sh
49930
49931 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49932 # script. It is used to track C/C++ files dependencies in portable way.
49933 #
49934 # Permission is given to use this file in any way.
49935
49936 DEPSMODE=${DEPSMODE}
49937 DEPSDIR=.deps
49938 DEPSFLAG="${DEPSFLAG}"
49939
49940 mkdir -p ${D}DEPSDIR
49941
49942 if test ${D}DEPSMODE = gcc ; then
49943 ${D}* ${D}{DEPSFLAG}
49944 status=${D}?
49945 if test ${D}{status} != 0 ; then
49946 exit ${D}{status}
49947 fi
49948 # move created file to the location we want it in:
49949 while test ${D}# -gt 0; do
49950 case "${D}1" in
49951 -o )
49952 shift
49953 objfile=${D}1
49954 ;;
49955 -* )
49956 ;;
49957 * )
49958 srcfile=${D}1
49959 ;;
49960 esac
49961 shift
49962 done
49963 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49964 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49965 if test -f ${D}depfile ; then
49966 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49967 rm -f ${D}depfile
49968 else
49969 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49970 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
49971 if test ! -f ${D}depfile ; then
49972 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49973 depfile="${D}objfile.d"
49974 fi
49975 if test -f ${D}depfile ; then
49976 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49977 rm -f ${D}depfile
49978 fi
49979 fi
49980 exit 0
49981 elif test ${D}DEPSMODE = mwcc ; then
49982 ${D}* || exit ${D}?
49983 # Run mwcc again with -MM and redirect into the dep file we want
49984 # NOTE: We can't use shift here because we need ${D}* to be valid
49985 prevarg=
49986 for arg in ${D}* ; do
49987 if test "${D}prevarg" = "-o"; then
49988 objfile=${D}arg
49989 else
49990 case "${D}arg" in
49991 -* )
49992 ;;
49993 * )
49994 srcfile=${D}arg
49995 ;;
49996 esac
49997 fi
49998 prevarg="${D}arg"
49999 done
50000 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
50001 exit 0
50002 elif test ${D}DEPSMODE = unixcc; then
50003 ${D}* || exit ${D}?
50004 # Run compiler again with deps flag and redirect into the dep file.
50005 # It doesn't work if the '-o FILE' option is used, but without it the
50006 # dependency file will contain the wrong name for the object. So it is
50007 # removed from the command line, and the dep file is fixed with sed.
50008 cmd=""
50009 while test ${D}# -gt 0; do
50010 case "${D}1" in
50011 -o )
50012 shift
50013 objfile=${D}1
50014 ;;
50015 * )
50016 eval arg${D}#=\\${D}1
50017 cmd="${D}cmd \\${D}arg${D}#"
50018 ;;
50019 esac
50020 shift
50021 done
50022 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
50023 exit 0
50024 else
50025 ${D}*
50026 exit ${D}?
50027 fi
50028 EOF
50029
50030 chmod +x bk-deps
50031 BK_DEPS="`pwd`/bk-deps"
50032 fi
50033 fi
50034
50035
50036
50037
50038
50039 case ${BAKEFILE_HOST} in
50040 *-*-cygwin* | *-*-mingw32* )
50041 if test -n "$ac_tool_prefix"; then
50042 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50043 set dummy ${ac_tool_prefix}windres; ac_word=$2
50044 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50046 if test "${ac_cv_prog_WINDRES+set}" = set; then
50047 echo $ECHO_N "(cached) $ECHO_C" >&6
50048 else
50049 if test -n "$WINDRES"; then
50050 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
50051 else
50052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50053 for as_dir in $PATH
50054 do
50055 IFS=$as_save_IFS
50056 test -z "$as_dir" && as_dir=.
50057 for ac_exec_ext in '' $ac_executable_extensions; do
50058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50059 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
50060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50061 break 2
50062 fi
50063 done
50064 done
50065 IFS=$as_save_IFS
50066
50067 fi
50068 fi
50069 WINDRES=$ac_cv_prog_WINDRES
50070 if test -n "$WINDRES"; then
50071 { echo "$as_me:$LINENO: result: $WINDRES" >&5
50072 echo "${ECHO_T}$WINDRES" >&6; }
50073 else
50074 { echo "$as_me:$LINENO: result: no" >&5
50075 echo "${ECHO_T}no" >&6; }
50076 fi
50077
50078
50079 fi
50080 if test -z "$ac_cv_prog_WINDRES"; then
50081 ac_ct_WINDRES=$WINDRES
50082 # Extract the first word of "windres", so it can be a program name with args.
50083 set dummy windres; ac_word=$2
50084 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50086 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50087 echo $ECHO_N "(cached) $ECHO_C" >&6
50088 else
50089 if test -n "$ac_ct_WINDRES"; then
50090 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
50091 else
50092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50093 for as_dir in $PATH
50094 do
50095 IFS=$as_save_IFS
50096 test -z "$as_dir" && as_dir=.
50097 for ac_exec_ext in '' $ac_executable_extensions; do
50098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50099 ac_cv_prog_ac_ct_WINDRES="windres"
50100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50101 break 2
50102 fi
50103 done
50104 done
50105 IFS=$as_save_IFS
50106
50107 fi
50108 fi
50109 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
50110 if test -n "$ac_ct_WINDRES"; then
50111 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50112 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
50113 else
50114 { echo "$as_me:$LINENO: result: no" >&5
50115 echo "${ECHO_T}no" >&6; }
50116 fi
50117
50118 if test "x$ac_ct_WINDRES" = x; then
50119 WINDRES=""
50120 else
50121 case $cross_compiling:$ac_tool_warned in
50122 yes:)
50123 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50124 whose name does not start with the host triplet. If you think this
50125 configuration is useful to you, please write to autoconf@gnu.org." >&5
50126 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50127 whose name does not start with the host triplet. If you think this
50128 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50129 ac_tool_warned=yes ;;
50130 esac
50131 WINDRES=$ac_ct_WINDRES
50132 fi
50133 else
50134 WINDRES="$ac_cv_prog_WINDRES"
50135 fi
50136
50137 ;;
50138
50139 *-*-darwin* | powerpc-apple-macos* )
50140 # Extract the first word of "Rez", so it can be a program name with args.
50141 set dummy Rez; ac_word=$2
50142 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50144 if test "${ac_cv_prog_REZ+set}" = set; then
50145 echo $ECHO_N "(cached) $ECHO_C" >&6
50146 else
50147 if test -n "$REZ"; then
50148 ac_cv_prog_REZ="$REZ" # Let the user override the test.
50149 else
50150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50151 for as_dir in $PATH
50152 do
50153 IFS=$as_save_IFS
50154 test -z "$as_dir" && as_dir=.
50155 for ac_exec_ext in '' $ac_executable_extensions; do
50156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50157 ac_cv_prog_REZ="Rez"
50158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50159 break 2
50160 fi
50161 done
50162 done
50163 IFS=$as_save_IFS
50164
50165 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
50166 fi
50167 fi
50168 REZ=$ac_cv_prog_REZ
50169 if test -n "$REZ"; then
50170 { echo "$as_me:$LINENO: result: $REZ" >&5
50171 echo "${ECHO_T}$REZ" >&6; }
50172 else
50173 { echo "$as_me:$LINENO: result: no" >&5
50174 echo "${ECHO_T}no" >&6; }
50175 fi
50176
50177
50178 # Extract the first word of "SetFile", so it can be a program name with args.
50179 set dummy SetFile; ac_word=$2
50180 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50182 if test "${ac_cv_prog_SETFILE+set}" = set; then
50183 echo $ECHO_N "(cached) $ECHO_C" >&6
50184 else
50185 if test -n "$SETFILE"; then
50186 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
50187 else
50188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50189 for as_dir in $PATH
50190 do
50191 IFS=$as_save_IFS
50192 test -z "$as_dir" && as_dir=.
50193 for ac_exec_ext in '' $ac_executable_extensions; do
50194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50195 ac_cv_prog_SETFILE="SetFile"
50196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50197 break 2
50198 fi
50199 done
50200 done
50201 IFS=$as_save_IFS
50202
50203 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
50204 fi
50205 fi
50206 SETFILE=$ac_cv_prog_SETFILE
50207 if test -n "$SETFILE"; then
50208 { echo "$as_me:$LINENO: result: $SETFILE" >&5
50209 echo "${ECHO_T}$SETFILE" >&6; }
50210 else
50211 { echo "$as_me:$LINENO: result: no" >&5
50212 echo "${ECHO_T}no" >&6; }
50213 fi
50214
50215
50216 ;;
50217 esac
50218
50219
50220
50221
50222
50223
50224 BAKEFILE_BAKEFILE_M4_VERSION="0.2.1"
50225
50226
50227 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.1"
50228
50229
50230
50231 # Check whether --enable-precomp-headers was given.
50232 if test "${enable_precomp_headers+set}" = set; then
50233 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
50234 fi
50235
50236
50237 GCC_PCH=0
50238 ICC_PCH=0
50239 USE_PCH=0
50240 BK_MAKE_PCH=""
50241
50242 case ${BAKEFILE_HOST} in
50243 *-*-cygwin* )
50244 bk_use_pch="no"
50245 ;;
50246 esac
50247
50248 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50249 if test "x$GCC" = "xyes"; then
50250 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50251 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
50252 cat >conftest.$ac_ext <<_ACEOF
50253 /* confdefs.h. */
50254 _ACEOF
50255 cat confdefs.h >>conftest.$ac_ext
50256 cat >>conftest.$ac_ext <<_ACEOF
50257 /* end confdefs.h. */
50258
50259 int
50260 main ()
50261 {
50262
50263 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50264 There is no PCH support
50265 #endif
50266 #if (__GNUC__ < 3)
50267 There is no PCH support
50268 #endif
50269 #if (__GNUC__ == 3) && \
50270 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50271 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50272 ( defined(__INTEL_COMPILER) )
50273 There is no PCH support
50274 #endif
50275
50276 ;
50277 return 0;
50278 }
50279 _ACEOF
50280 rm -f conftest.$ac_objext
50281 if { (ac_try="$ac_compile"
50282 case "(($ac_try" in
50283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50284 *) ac_try_echo=$ac_try;;
50285 esac
50286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50287 (eval "$ac_compile") 2>conftest.er1
50288 ac_status=$?
50289 grep -v '^ *+' conftest.er1 >conftest.err
50290 rm -f conftest.er1
50291 cat conftest.err >&5
50292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50293 (exit $ac_status); } && {
50294 test -z "$ac_c_werror_flag" ||
50295 test ! -s conftest.err
50296 } && test -s conftest.$ac_objext; then
50297
50298 { echo "$as_me:$LINENO: result: yes" >&5
50299 echo "${ECHO_T}yes" >&6; }
50300 GCC_PCH=1
50301
50302 else
50303 echo "$as_me: failed program was:" >&5
50304 sed 's/^/| /' conftest.$ac_ext >&5
50305
50306
50307 cat >conftest.$ac_ext <<_ACEOF
50308 /* confdefs.h. */
50309 _ACEOF
50310 cat confdefs.h >>conftest.$ac_ext
50311 cat >>conftest.$ac_ext <<_ACEOF
50312 /* end confdefs.h. */
50313
50314 int
50315 main ()
50316 {
50317
50318 #if !defined(__INTEL_COMPILER) || \
50319 (__INTEL_COMPILER < 800)
50320 There is no PCH support
50321 #endif
50322
50323 ;
50324 return 0;
50325 }
50326 _ACEOF
50327 rm -f conftest.$ac_objext
50328 if { (ac_try="$ac_compile"
50329 case "(($ac_try" in
50330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50331 *) ac_try_echo=$ac_try;;
50332 esac
50333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50334 (eval "$ac_compile") 2>conftest.er1
50335 ac_status=$?
50336 grep -v '^ *+' conftest.er1 >conftest.err
50337 rm -f conftest.er1
50338 cat conftest.err >&5
50339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50340 (exit $ac_status); } && {
50341 test -z "$ac_c_werror_flag" ||
50342 test ! -s conftest.err
50343 } && test -s conftest.$ac_objext; then
50344
50345 { echo "$as_me:$LINENO: result: yes" >&5
50346 echo "${ECHO_T}yes" >&6; }
50347 ICC_PCH=1
50348
50349 else
50350 echo "$as_me: failed program was:" >&5
50351 sed 's/^/| /' conftest.$ac_ext >&5
50352
50353
50354 { echo "$as_me:$LINENO: result: no" >&5
50355 echo "${ECHO_T}no" >&6; }
50356
50357 fi
50358
50359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50360
50361 fi
50362
50363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50364 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
50365 USE_PCH=1
50366
50367 D='$'
50368 cat <<EOF >bk-make-pch
50369 #!/bin/sh
50370
50371 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
50372 # script. It is used to generated precompiled headers.
50373 #
50374 # Permission is given to use this file in any way.
50375
50376 outfile="${D}{1}"
50377 header="${D}{2}"
50378 shift
50379 shift
50380
50381 compiler=""
50382 headerfile=""
50383
50384 while test ${D}{#} -gt 0; do
50385 add_to_cmdline=1
50386 case "${D}{1}" in
50387 -I* )
50388 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
50389 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
50390 headerfile="${D}{incdir}/${D}{header}"
50391 fi
50392 ;;
50393 -use-pch|-use_pch )
50394 shift
50395 add_to_cmdline=0
50396 ;;
50397 esac
50398 if test ${D}add_to_cmdline = 1 ; then
50399 compiler="${D}{compiler} ${D}{1}"
50400 fi
50401 shift
50402 done
50403
50404 if test "x${D}{headerfile}" = "x" ; then
50405 echo "error: can't find header ${D}{header} in include paths" >&2
50406 else
50407 if test -f ${D}{outfile} ; then
50408 rm -f ${D}{outfile}
50409 else
50410 mkdir -p \`dirname ${D}{outfile}\`
50411 fi
50412 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
50413 mkdir -p .deps
50414 if test "x${GCC_PCH}" = "x1" ; then
50415 # can do this because gcc is >= 3.4:
50416 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
50417 elif test "x${ICC_PCH}" = "x1" ; then
50418 filename=pch_gen-${D}${D}
50419 file=${D}{filename}.c
50420 dfile=${D}{filename}.d
50421 cat > ${D}file <<EOT
50422 #include "${D}header"
50423 EOT
50424 # using -MF icc complains about differing command lines in creation/use
50425 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
50426 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
50427 rm -f ${D}file ${D}dfile ${D}{filename}.o
50428 fi
50429 exit ${D}{?}
50430 fi
50431 EOF
50432
50433 chmod +x bk-make-pch
50434 BK_MAKE_PCH="`pwd`/bk-make-pch"
50435 fi
50436 fi
50437 fi
50438
50439
50440
50441
50442
50443 COND_BUILD_DEBUG="#"
50444 if test "x$BUILD" = "xdebug" ; then
50445 COND_BUILD_DEBUG=""
50446 fi
50447
50448 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
50449 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50450 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
50451 fi
50452
50453 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
50454 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50455 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
50456 fi
50457
50458 COND_BUILD_DEBUG_UNICODE_0="#"
50459 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50460 COND_BUILD_DEBUG_UNICODE_0=""
50461 fi
50462
50463 COND_BUILD_DEBUG_UNICODE_1="#"
50464 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50465 COND_BUILD_DEBUG_UNICODE_1=""
50466 fi
50467
50468 COND_BUILD_RELEASE="#"
50469 if test "x$BUILD" = "xrelease" ; then
50470 COND_BUILD_RELEASE=""
50471 fi
50472
50473 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
50474 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50475 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
50476 fi
50477
50478 COND_BUILD_RELEASE_UNICODE_0="#"
50479 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50480 COND_BUILD_RELEASE_UNICODE_0=""
50481 fi
50482
50483 COND_BUILD_RELEASE_UNICODE_1="#"
50484 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50485 COND_BUILD_RELEASE_UNICODE_1=""
50486 fi
50487
50488 COND_DEBUG_FLAG_1="#"
50489 if test "x$DEBUG_FLAG" = "x1" ; then
50490 COND_DEBUG_FLAG_1=""
50491 fi
50492
50493 COND_DEBUG_INFO_0="#"
50494 if test "x$DEBUG_INFO" = "x0" ; then
50495 COND_DEBUG_INFO_0=""
50496 fi
50497
50498 COND_DEBUG_INFO_1="#"
50499 if test "x$DEBUG_INFO" = "x1" ; then
50500 COND_DEBUG_INFO_1=""
50501 fi
50502
50503 COND_DEPS_TRACKING_0="#"
50504 if test "x$DEPS_TRACKING" = "x0" ; then
50505 COND_DEPS_TRACKING_0=""
50506 fi
50507
50508 COND_DEPS_TRACKING_1="#"
50509 if test "x$DEPS_TRACKING" = "x1" ; then
50510 COND_DEPS_TRACKING_1=""
50511 fi
50512
50513 COND_GCC_PCH_1="#"
50514 if test "x$GCC_PCH" = "x1" ; then
50515 COND_GCC_PCH_1=""
50516 fi
50517
50518 COND_ICC_PCH_1="#"
50519 if test "x$ICC_PCH" = "x1" ; then
50520 COND_ICC_PCH_1=""
50521 fi
50522
50523 COND_MONOLITHIC_0="#"
50524 if test "x$MONOLITHIC" = "x0" ; then
50525 COND_MONOLITHIC_0=""
50526 fi
50527
50528 COND_MONOLITHIC_0_SHARED_0="#"
50529 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50530 COND_MONOLITHIC_0_SHARED_0=""
50531 fi
50532
50533 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
50534 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50535 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
50536 fi
50537
50538 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
50539 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50540 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
50541 fi
50542
50543 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
50544 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50545 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
50546 fi
50547
50548 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
50549 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50550 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
50551 fi
50552
50553 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
50554 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50555 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
50556 fi
50557
50558 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
50559 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50560 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50561 fi
50562
50563 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
50564 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
50565 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
50566 fi
50567
50568 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50569 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50570 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50571 fi
50572
50573 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50574 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50575 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50576 fi
50577
50578 COND_MONOLITHIC_0_SHARED_1="#"
50579 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50580 COND_MONOLITHIC_0_SHARED_1=""
50581 fi
50582
50583 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50584 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50585 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50586 fi
50587
50588 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50589 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50590 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50591 fi
50592
50593 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50594 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50595 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50596 fi
50597
50598 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50599 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50600 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50601 fi
50602
50603 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
50604 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50605 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
50606 fi
50607
50608 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50609 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50610 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50611 fi
50612
50613 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
50614 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
50615 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
50616 fi
50617
50618 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50619 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50620 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50621 fi
50622
50623 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50624 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50625 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50626 fi
50627
50628 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50629 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50630 COND_MONOLITHIC_0_USE_MEDIA_1=""
50631 fi
50632
50633 COND_MONOLITHIC_0_USE_ODBC_1="#"
50634 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
50635 COND_MONOLITHIC_0_USE_ODBC_1=""
50636 fi
50637
50638 COND_MONOLITHIC_1="#"
50639 if test "x$MONOLITHIC" = "x1" ; then
50640 COND_MONOLITHIC_1=""
50641 fi
50642
50643 COND_MONOLITHIC_1_SHARED_0="#"
50644 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50645 COND_MONOLITHIC_1_SHARED_0=""
50646 fi
50647
50648 COND_MONOLITHIC_1_SHARED_1="#"
50649 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50650 COND_MONOLITHIC_1_SHARED_1=""
50651 fi
50652
50653 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50654 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50655 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50656 fi
50657
50658 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50659 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50660 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50661 fi
50662
50663 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50664 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50665 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50666 fi
50667
50668 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50669 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50670 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50671 fi
50672
50673 COND_PLATFORM_MACOSX_1="#"
50674 if test "x$PLATFORM_MACOSX" = "x1" ; then
50675 COND_PLATFORM_MACOSX_1=""
50676 fi
50677
50678 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
50679 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
50680 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
50681 fi
50682
50683 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
50684 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
50685 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
50686 fi
50687
50688 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
50689 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
50690 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
50691 fi
50692
50693 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
50694 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
50695 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
50696 fi
50697
50698 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
50699 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50700 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
50701 fi
50702
50703 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
50704 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
50705 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
50706 fi
50707
50708 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
50709 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
50710 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
50711 fi
50712
50713 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50714 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50715 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50716 fi
50717
50718 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50719 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50720 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50721 fi
50722
50723 COND_PLATFORM_MACOS_1="#"
50724 if test "x$PLATFORM_MACOS" = "x1" ; then
50725 COND_PLATFORM_MACOS_1=""
50726 fi
50727
50728 COND_PLATFORM_MAC_1="#"
50729 if test "x$PLATFORM_MAC" = "x1" ; then
50730 COND_PLATFORM_MAC_1=""
50731 fi
50732
50733 COND_PLATFORM_MSDOS_0="#"
50734 if test "x$PLATFORM_MSDOS" = "x0" ; then
50735 COND_PLATFORM_MSDOS_0=""
50736 fi
50737
50738 COND_PLATFORM_MSDOS_1="#"
50739 if test "x$PLATFORM_MSDOS" = "x1" ; then
50740 COND_PLATFORM_MSDOS_1=""
50741 fi
50742
50743 COND_PLATFORM_OS2_1="#"
50744 if test "x$PLATFORM_OS2" = "x1" ; then
50745 COND_PLATFORM_OS2_1=""
50746 fi
50747
50748 COND_PLATFORM_UNIX_0="#"
50749 if test "x$PLATFORM_UNIX" = "x0" ; then
50750 COND_PLATFORM_UNIX_0=""
50751 fi
50752
50753 COND_PLATFORM_UNIX_1="#"
50754 if test "x$PLATFORM_UNIX" = "x1" ; then
50755 COND_PLATFORM_UNIX_1=""
50756 fi
50757
50758 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50759 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50760 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50761 fi
50762
50763 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50764 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50765 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50766 fi
50767
50768 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50769 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50770 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50771 fi
50772
50773 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50774 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50775 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50776 fi
50777
50778 COND_PLATFORM_WIN32_0="#"
50779 if test "x$PLATFORM_WIN32" = "x0" ; then
50780 COND_PLATFORM_WIN32_0=""
50781 fi
50782
50783 COND_PLATFORM_WIN32_1="#"
50784 if test "x$PLATFORM_WIN32" = "x1" ; then
50785 COND_PLATFORM_WIN32_1=""
50786 fi
50787
50788 COND_SHARED_0="#"
50789 if test "x$SHARED" = "x0" ; then
50790 COND_SHARED_0=""
50791 fi
50792
50793 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50794 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50795 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50796 fi
50797
50798 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50799 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50800 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50801 fi
50802
50803 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50804 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50805 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50806 fi
50807
50808 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50809 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50810 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50811 fi
50812
50813 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50814 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50815 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50816 fi
50817
50818 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50819 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50820 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50821 fi
50822
50823 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50824 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50825 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50826 fi
50827
50828 COND_SHARED_0_USE_XRC_1="#"
50829 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50830 COND_SHARED_0_USE_XRC_1=""
50831 fi
50832
50833 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
50834 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50835 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
50836 fi
50837
50838 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
50839 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
50840 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
50841 fi
50842
50843 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
50844 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50845 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
50846 fi
50847
50848 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
50849 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50850 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
50851 fi
50852
50853 COND_SHARED_1="#"
50854 if test "x$SHARED" = "x1" ; then
50855 COND_SHARED_1=""
50856 fi
50857
50858 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50859 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50860 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50861 fi
50862
50863 COND_SHARED_1_USE_XRC_1="#"
50864 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50865 COND_SHARED_1_USE_XRC_1=""
50866 fi
50867
50868 COND_TOOLKIT_="#"
50869 if test "x$TOOLKIT" = "x" ; then
50870 COND_TOOLKIT_=""
50871 fi
50872
50873 COND_TOOLKIT_COCOA="#"
50874 if test "x$TOOLKIT" = "xCOCOA" ; then
50875 COND_TOOLKIT_COCOA=""
50876 fi
50877
50878 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50879 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50880 COND_TOOLKIT_COCOA_USE_GUI_1=""
50881 fi
50882
50883 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50884 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50885 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50886 fi
50887
50888 COND_TOOLKIT_DFB="#"
50889 if test "x$TOOLKIT" = "xDFB" ; then
50890 COND_TOOLKIT_DFB=""
50891 fi
50892
50893 COND_TOOLKIT_DFB_USE_GUI_1="#"
50894 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50895 COND_TOOLKIT_DFB_USE_GUI_1=""
50896 fi
50897
50898 COND_TOOLKIT_GTK="#"
50899 if test "x$TOOLKIT" = "xGTK" ; then
50900 COND_TOOLKIT_GTK=""
50901 fi
50902
50903 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50904 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50905 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50906 fi
50907
50908 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50909 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50911 fi
50912
50913 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50914 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50915 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50916 fi
50917
50918 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50919 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50920 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50921 fi
50922
50923 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50924 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50925 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50926 fi
50927
50928 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50929 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50930 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50931 fi
50932
50933 COND_TOOLKIT_GTK_USE_GUI_1="#"
50934 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50935 COND_TOOLKIT_GTK_USE_GUI_1=""
50936 fi
50937
50938 COND_TOOLKIT_MAC="#"
50939 if test "x$TOOLKIT" = "xMAC" ; then
50940 COND_TOOLKIT_MAC=""
50941 fi
50942
50943 COND_TOOLKIT_MAC_USE_GUI_1="#"
50944 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50945 COND_TOOLKIT_MAC_USE_GUI_1=""
50946 fi
50947
50948 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
50949 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50950 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
50951 fi
50952
50953 COND_TOOLKIT_MGL="#"
50954 if test "x$TOOLKIT" = "xMGL" ; then
50955 COND_TOOLKIT_MGL=""
50956 fi
50957
50958 COND_TOOLKIT_MGL_USE_GUI_1="#"
50959 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50960 COND_TOOLKIT_MGL_USE_GUI_1=""
50961 fi
50962
50963 COND_TOOLKIT_MOTIF="#"
50964 if test "x$TOOLKIT" = "xMOTIF" ; then
50965 COND_TOOLKIT_MOTIF=""
50966 fi
50967
50968 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50969 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50970 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50971 fi
50972
50973 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50974 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50975 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50976 fi
50977
50978 COND_TOOLKIT_MSW="#"
50979 if test "x$TOOLKIT" = "xMSW" ; then
50980 COND_TOOLKIT_MSW=""
50981 fi
50982
50983 COND_TOOLKIT_MSW_USE_GUI_1="#"
50984 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50985 COND_TOOLKIT_MSW_USE_GUI_1=""
50986 fi
50987
50988 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50989 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50990 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50991 fi
50992
50993 COND_TOOLKIT_MSW_WXUNIV_0="#"
50994 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50995 COND_TOOLKIT_MSW_WXUNIV_0=""
50996 fi
50997
50998 COND_TOOLKIT_PM="#"
50999 if test "x$TOOLKIT" = "xPM" ; then
51000 COND_TOOLKIT_PM=""
51001 fi
51002
51003 COND_TOOLKIT_PM_USE_GUI_1="#"
51004 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51005 COND_TOOLKIT_PM_USE_GUI_1=""
51006 fi
51007
51008 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51009 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51010 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51011 fi
51012
51013 COND_TOOLKIT_WINCE="#"
51014 if test "x$TOOLKIT" = "xWINCE" ; then
51015 COND_TOOLKIT_WINCE=""
51016 fi
51017
51018 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51019 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51020 COND_TOOLKIT_WINCE_USE_GUI_1=""
51021 fi
51022
51023 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51024 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51025 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51026 fi
51027
51028 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51029 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51030 COND_TOOLKIT_WINCE_WXUNIV_0=""
51031 fi
51032
51033 COND_TOOLKIT_X11="#"
51034 if test "x$TOOLKIT" = "xX11" ; then
51035 COND_TOOLKIT_X11=""
51036 fi
51037
51038 COND_TOOLKIT_X11_USE_GUI_1="#"
51039 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51040 COND_TOOLKIT_X11_USE_GUI_1=""
51041 fi
51042
51043 COND_UNICODE_1="#"
51044 if test "x$UNICODE" = "x1" ; then
51045 COND_UNICODE_1=""
51046 fi
51047
51048 COND_USE_EXCEPTIONS_0="#"
51049 if test "x$USE_EXCEPTIONS" = "x0" ; then
51050 COND_USE_EXCEPTIONS_0=""
51051 fi
51052
51053 COND_USE_EXCEPTIONS_1="#"
51054 if test "x$USE_EXCEPTIONS" = "x1" ; then
51055 COND_USE_EXCEPTIONS_1=""
51056 fi
51057
51058 COND_USE_GUI_0="#"
51059 if test "x$USE_GUI" = "x0" ; then
51060 COND_USE_GUI_0=""
51061 fi
51062
51063 COND_USE_GUI_1="#"
51064 if test "x$USE_GUI" = "x1" ; then
51065 COND_USE_GUI_1=""
51066 fi
51067
51068 COND_USE_GUI_1_WXUNIV_0="#"
51069 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51070 COND_USE_GUI_1_WXUNIV_0=""
51071 fi
51072
51073 COND_USE_GUI_1_WXUNIV_1="#"
51074 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51075 COND_USE_GUI_1_WXUNIV_1=""
51076 fi
51077
51078 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51079 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51080 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51081 fi
51082
51083 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51084 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51085 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51086 fi
51087
51088 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51089 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51090 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51091 fi
51092
51093 COND_USE_ODBC_1="#"
51094 if test "x$USE_ODBC" = "x1" ; then
51095 COND_USE_ODBC_1=""
51096 fi
51097
51098 COND_USE_OPENGL_1="#"
51099 if test "x$USE_OPENGL" = "x1" ; then
51100 COND_USE_OPENGL_1=""
51101 fi
51102
51103 COND_USE_PCH_1="#"
51104 if test "x$USE_PCH" = "x1" ; then
51105 COND_USE_PCH_1=""
51106 fi
51107
51108 COND_USE_PLUGINS_0="#"
51109 if test "x$USE_PLUGINS" = "x0" ; then
51110 COND_USE_PLUGINS_0=""
51111 fi
51112
51113 COND_USE_RTTI_0="#"
51114 if test "x$USE_RTTI" = "x0" ; then
51115 COND_USE_RTTI_0=""
51116 fi
51117
51118 COND_USE_RTTI_1="#"
51119 if test "x$USE_RTTI" = "x1" ; then
51120 COND_USE_RTTI_1=""
51121 fi
51122
51123 COND_USE_SOSYMLINKS_1="#"
51124 if test "x$USE_SOSYMLINKS" = "x1" ; then
51125 COND_USE_SOSYMLINKS_1=""
51126 fi
51127
51128 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
51129 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51130 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
51131 fi
51132
51133 COND_USE_SOVERLINUX_1="#"
51134 if test "x$USE_SOVERLINUX" = "x1" ; then
51135 COND_USE_SOVERLINUX_1=""
51136 fi
51137
51138 COND_USE_SOVERSION_0="#"
51139 if test "x$USE_SOVERSION" = "x0" ; then
51140 COND_USE_SOVERSION_0=""
51141 fi
51142
51143 COND_USE_SOVERSOLARIS_1="#"
51144 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51145 COND_USE_SOVERSOLARIS_1=""
51146 fi
51147
51148 COND_USE_THREADS_0="#"
51149 if test "x$USE_THREADS" = "x0" ; then
51150 COND_USE_THREADS_0=""
51151 fi
51152
51153 COND_USE_THREADS_1="#"
51154 if test "x$USE_THREADS" = "x1" ; then
51155 COND_USE_THREADS_1=""
51156 fi
51157
51158 COND_USE_XRC_1="#"
51159 if test "x$USE_XRC" = "x1" ; then
51160 COND_USE_XRC_1=""
51161 fi
51162
51163 COND_WINDOWS_IMPLIB_1="#"
51164 if test "x$WINDOWS_IMPLIB" = "x1" ; then
51165 COND_WINDOWS_IMPLIB_1=""
51166 fi
51167
51168 COND_WITH_PLUGIN_SDL_1="#"
51169 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
51170 COND_WITH_PLUGIN_SDL_1=""
51171 fi
51172
51173 COND_WXUNIV_0="#"
51174 if test "x$WXUNIV" = "x0" ; then
51175 COND_WXUNIV_0=""
51176 fi
51177
51178 COND_WXUNIV_1="#"
51179 if test "x$WXUNIV" = "x1" ; then
51180 COND_WXUNIV_1=""
51181 fi
51182
51183 COND_WXUSE_EXPAT_BUILTIN="#"
51184 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51185 COND_WXUSE_EXPAT_BUILTIN=""
51186 fi
51187
51188 COND_WXUSE_LIBJPEG_BUILTIN="#"
51189 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51190 COND_WXUSE_LIBJPEG_BUILTIN=""
51191 fi
51192
51193 COND_WXUSE_LIBPNG_BUILTIN="#"
51194 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51195 COND_WXUSE_LIBPNG_BUILTIN=""
51196 fi
51197
51198 COND_WXUSE_LIBTIFF_BUILTIN="#"
51199 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51200 COND_WXUSE_LIBTIFF_BUILTIN=""
51201 fi
51202
51203 COND_WXUSE_ODBC_BUILTIN="#"
51204 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
51205 COND_WXUSE_ODBC_BUILTIN=""
51206 fi
51207
51208 COND_WXUSE_REGEX_BUILTIN="#"
51209 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51210 COND_WXUSE_REGEX_BUILTIN=""
51211 fi
51212
51213 COND_WXUSE_ZLIB_BUILTIN="#"
51214 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51215 COND_WXUSE_ZLIB_BUILTIN=""
51216 fi
51217
51218
51219
51220 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
51221 { { 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
51222 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;}
51223 { (exit 1); exit 1; }; }
51224 fi
51225
51226 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
51227 { { 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
51228 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;}
51229 { (exit 1); exit 1; }; }
51230 fi
51231
51232
51233 if test $GCC_PCH = 1
51234 then
51235 if test "$wx_cv_gcc_pch_bug" = yes; then
51236 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
51237 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
51238 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
51239 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
51240 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
51241 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
51242 fi
51243
51244 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
51245 fi
51246
51247
51248 if test "$wxUSE_MAC" = 1 ; then
51249 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
51250 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
51251 mv temp bk-deps
51252 chmod +x bk-deps
51253 fi
51254 fi
51255
51256 if test "$wxUSE_SHARED" = "yes"; then
51257
51258 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
51259 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
51260
51261 case "${host}" in
51262 *-pc-os2_emx | *-pc-os2-emx )
51263 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51264 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51265 cp -p ${srcdir}/src/os2/dllnames.sh .
51266 cp -p ${srcdir}/src/os2/dllar.sh .
51267 ;;
51268 esac
51269 else
51270
51271 EXE_LINKER="$CXX -o"
51272
51273 fi
51274 if test "$wxUSE_OMF" = "yes"; then
51275 case "${host}" in
51276 *-pc-os2_emx | *-pc-os2-emx )
51277 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
51278 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51279 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51280 ;;
51281 esac
51282 fi
51283
51284 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
51285
51286 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
51287
51288
51289
51290
51291
51292
51293
51294
51295
51296
51297
51298
51299
51300
51301
51302
51303
51304
51305
51306
51307
51308
51309
51310
51311
51312
51313
51314
51315
51316
51317
51318
51319
51320
51321
51322
51323
51324
51325
51326
51327
51328
51329
51330
51331
51332
51333
51334
51335
51336
51337
51338
51339
51340
51341
51342
51343
51344
51345
51346
51347
51348 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51349 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
51350 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
51351 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
51352 echo $ECHO_N "(cached) $ECHO_C" >&6
51353 else
51354 cat >conftest.make <<\_ACEOF
51355 SHELL = /bin/sh
51356 all:
51357 @echo '@@@%%%=$(MAKE)=@@@%%%'
51358 _ACEOF
51359 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51360 case `${MAKE-make} -f conftest.make 2>/dev/null` in
51361 *@@@%%%=?*=@@@%%%*)
51362 eval ac_cv_prog_make_${ac_make}_set=yes;;
51363 *)
51364 eval ac_cv_prog_make_${ac_make}_set=no;;
51365 esac
51366 rm -f conftest.make
51367 fi
51368 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
51369 { echo "$as_me:$LINENO: result: yes" >&5
51370 echo "${ECHO_T}yes" >&6; }
51371 SET_MAKE=
51372 else
51373 { echo "$as_me:$LINENO: result: no" >&5
51374 echo "${ECHO_T}no" >&6; }
51375 SET_MAKE="MAKE=${MAKE-make}"
51376 fi
51377
51378
51379
51380 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
51381
51382
51383 if test "$USE_WIN32" = 1; then
51384 ac_config_commands="$ac_config_commands
51385 rcdefs.h
51386 "
51387
51388 fi
51389
51390 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
51391
51392
51393 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
51394
51395
51396 if test "$wx_cv_version_script" = "yes"; then
51397 ac_config_files="$ac_config_files version-script"
51398
51399 fi
51400 ac_config_files="$ac_config_files Makefile"
51401
51402
51403 ac_config_commands="$ac_config_commands wx-config"
51404
51405
51406
51407 if test "$wxWITH_SUBDIRS" != "no"; then
51408 if test "$wxUSE_GUI" = "yes"; then
51409 SUBDIRS="samples demos utils contrib"
51410 else SUBDIRS="samples utils"
51411 fi
51412
51413
51414
51415 # Check whether --with-cppunit-prefix was given.
51416 if test "${with_cppunit_prefix+set}" = set; then
51417 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
51418 else
51419 cppunit_config_prefix=""
51420 fi
51421
51422
51423 # Check whether --with-cppunit-exec-prefix was given.
51424 if test "${with_cppunit_exec_prefix+set}" = set; then
51425 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
51426 else
51427 cppunit_config_exec_prefix=""
51428 fi
51429
51430
51431 if test x$cppunit_config_exec_prefix != x ; then
51432 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51433 if test x${CPPUNIT_CONFIG+set} != xset ; then
51434 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
51435 fi
51436 fi
51437 if test x$cppunit_config_prefix != x ; then
51438 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51439 if test x${CPPUNIT_CONFIG+set} != xset ; then
51440 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51441 fi
51442 fi
51443
51444 # Extract the first word of "cppunit-config", so it can be a program name with args.
51445 set dummy cppunit-config; ac_word=$2
51446 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51448 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51449 echo $ECHO_N "(cached) $ECHO_C" >&6
51450 else
51451 case $CPPUNIT_CONFIG in
51452 [\\/]* | ?:[\\/]*)
51453 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51454 ;;
51455 *)
51456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51457 for as_dir in $PATH
51458 do
51459 IFS=$as_save_IFS
51460 test -z "$as_dir" && as_dir=.
51461 for ac_exec_ext in '' $ac_executable_extensions; do
51462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51463 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51465 break 2
51466 fi
51467 done
51468 done
51469 IFS=$as_save_IFS
51470
51471 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51472 ;;
51473 esac
51474 fi
51475 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51476 if test -n "$CPPUNIT_CONFIG"; then
51477 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51478 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51479 else
51480 { echo "$as_me:$LINENO: result: no" >&5
51481 echo "${ECHO_T}no" >&6; }
51482 fi
51483
51484
51485 cppunit_version_min=1.8.0
51486
51487 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51488 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51489 no_cppunit=""
51490 if test "$CPPUNIT_CONFIG" = "no" ; then
51491 { echo "$as_me:$LINENO: result: no" >&5
51492 echo "${ECHO_T}no" >&6; }
51493 no_cppunit=yes
51494 else
51495 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51496 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51497 cppunit_version=`$CPPUNIT_CONFIG --version`
51498
51499 cppunit_major_version=`echo $cppunit_version | \
51500 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51501 cppunit_minor_version=`echo $cppunit_version | \
51502 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51503 cppunit_micro_version=`echo $cppunit_version | \
51504 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51505
51506 cppunit_major_min=`echo $cppunit_version_min | \
51507 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51508 cppunit_minor_min=`echo $cppunit_version_min | \
51509 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51510 cppunit_micro_min=`echo $cppunit_version_min | \
51511 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51512
51513 cppunit_version_proper=`expr \
51514 $cppunit_major_version \> $cppunit_major_min \| \
51515 $cppunit_major_version \= $cppunit_major_min \& \
51516 $cppunit_minor_version \> $cppunit_minor_min \| \
51517 $cppunit_major_version \= $cppunit_major_min \& \
51518 $cppunit_minor_version \= $cppunit_minor_min \& \
51519 $cppunit_micro_version \>= $cppunit_micro_min `
51520
51521 if test "$cppunit_version_proper" = "1" ; then
51522 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51523 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51524 else
51525 { echo "$as_me:$LINENO: result: no" >&5
51526 echo "${ECHO_T}no" >&6; }
51527 no_cppunit=yes
51528 fi
51529 fi
51530
51531 if test "x$no_cppunit" = x ; then
51532 SUBDIRS="$SUBDIRS tests"
51533 else
51534 CPPUNIT_CFLAGS=""
51535 CPPUNIT_LIBS=""
51536 :
51537 fi
51538
51539
51540
51541
51542
51543 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
51544 DISABLED_CONTRIB="$DISABLED_CONTRIB net"
51545 fi
51546
51547 for subdir in `echo $SUBDIRS`; do
51548 if test -d ${srcdir}/${subdir} ; then
51549 if test "$wxUSE_GUI" = "yes"; then
51550 if test ${subdir} = "samples"; then
51551 makefiles="samples/Makefile.in $makefiles"
51552 for sample in `echo $SAMPLES_SUBDIRS`; do
51553 if test -d $srcdir/samples/$sample; then
51554 makefiles="samples/$sample/Makefile.in $makefiles"
51555 fi
51556 done
51557 else
51558 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
51559 eval "disabled=\$$disabled_var"
51560 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51561 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51562 fi
51563 else if test ${subdir} = "samples"; then
51564 makefiles="samples/Makefile.in samples/console/Makefile.in"
51565 elif test ${subdir} = "utils"; then
51566 makefiles=""
51567 for util in HelpGen tex2rtf ; do
51568 if test -d $srcdir/utils/$util ; then
51569 makefiles="utils/$util/Makefile.in \
51570 utils/$util/src/Makefile.in \
51571 $makefiles"
51572 fi
51573 done
51574 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51575 fi
51576 fi
51577
51578 for mkin in $makefiles ; do
51579 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51580 ac_config_files="$ac_config_files $mk"
51581
51582 done
51583 fi
51584 done
51585 fi
51586 cat >confcache <<\_ACEOF
51587 # This file is a shell script that caches the results of configure
51588 # tests run on this system so they can be shared between configure
51589 # scripts and configure runs, see configure's option --config-cache.
51590 # It is not useful on other systems. If it contains results you don't
51591 # want to keep, you may remove or edit it.
51592 #
51593 # config.status only pays attention to the cache file if you give it
51594 # the --recheck option to rerun configure.
51595 #
51596 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51597 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51598 # following values.
51599
51600 _ACEOF
51601
51602 # The following way of writing the cache mishandles newlines in values,
51603 # but we know of no workaround that is simple, portable, and efficient.
51604 # So, we kill variables containing newlines.
51605 # Ultrix sh set writes to stderr and can't be redirected directly,
51606 # and sets the high bit in the cache file unless we assign to the vars.
51607 (
51608 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51609 eval ac_val=\$$ac_var
51610 case $ac_val in #(
51611 *${as_nl}*)
51612 case $ac_var in #(
51613 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51614 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51615 esac
51616 case $ac_var in #(
51617 _ | IFS | as_nl) ;; #(
51618 *) $as_unset $ac_var ;;
51619 esac ;;
51620 esac
51621 done
51622
51623 (set) 2>&1 |
51624 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51625 *${as_nl}ac_space=\ *)
51626 # `set' does not quote correctly, so add quotes (double-quote
51627 # substitution turns \\\\ into \\, and sed turns \\ into \).
51628 sed -n \
51629 "s/'/'\\\\''/g;
51630 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51631 ;; #(
51632 *)
51633 # `set' quotes correctly as required by POSIX, so do not add quotes.
51634 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51635 ;;
51636 esac |
51637 sort
51638 ) |
51639 sed '
51640 /^ac_cv_env_/b end
51641 t clear
51642 :clear
51643 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51644 t end
51645 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51646 :end' >>confcache
51647 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
51648 if test -w "$cache_file"; then
51649 test "x$cache_file" != "x/dev/null" &&
51650 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51651 echo "$as_me: updating cache $cache_file" >&6;}
51652 cat confcache >$cache_file
51653 else
51654 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51655 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51656 fi
51657 fi
51658 rm -f confcache
51659
51660 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51661 # Let make expand exec_prefix.
51662 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51663
51664 DEFS=-DHAVE_CONFIG_H
51665
51666 ac_libobjs=
51667 ac_ltlibobjs=
51668 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51669 # 1. Remove the extension, and $U if already installed.
51670 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
51671 ac_i=`echo "$ac_i" | sed "$ac_script"`
51672 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51673 # will be set to the directory where LIBOBJS objects are built.
51674 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51675 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51676 done
51677 LIBOBJS=$ac_libobjs
51678
51679 LTLIBOBJS=$ac_ltlibobjs
51680
51681
51682
51683 : ${CONFIG_STATUS=./config.status}
51684 ac_clean_files_save=$ac_clean_files
51685 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51686 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51687 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51688 cat >$CONFIG_STATUS <<_ACEOF
51689 #! $SHELL
51690 # Generated by $as_me.
51691 # Run this file to recreate the current configuration.
51692 # Compiler output produced by configure, useful for debugging
51693 # configure, is in config.log if it exists.
51694
51695 debug=false
51696 ac_cs_recheck=false
51697 ac_cs_silent=false
51698 SHELL=\${CONFIG_SHELL-$SHELL}
51699 _ACEOF
51700
51701 cat >>$CONFIG_STATUS <<\_ACEOF
51702 ## --------------------- ##
51703 ## M4sh Initialization. ##
51704 ## --------------------- ##
51705
51706 # Be more Bourne compatible
51707 DUALCASE=1; export DUALCASE # for MKS sh
51708 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51709 emulate sh
51710 NULLCMD=:
51711 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51712 # is contrary to our usage. Disable this feature.
51713 alias -g '${1+"$@"}'='"$@"'
51714 setopt NO_GLOB_SUBST
51715 else
51716 case `(set -o) 2>/dev/null` in
51717 *posix*) set -o posix ;;
51718 esac
51719
51720 fi
51721
51722
51723
51724
51725 # PATH needs CR
51726 # Avoid depending upon Character Ranges.
51727 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51728 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51729 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51730 as_cr_digits='0123456789'
51731 as_cr_alnum=$as_cr_Letters$as_cr_digits
51732
51733 # The user is always right.
51734 if test "${PATH_SEPARATOR+set}" != set; then
51735 echo "#! /bin/sh" >conf$$.sh
51736 echo "exit 0" >>conf$$.sh
51737 chmod +x conf$$.sh
51738 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51739 PATH_SEPARATOR=';'
51740 else
51741 PATH_SEPARATOR=:
51742 fi
51743 rm -f conf$$.sh
51744 fi
51745
51746 # Support unset when possible.
51747 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51748 as_unset=unset
51749 else
51750 as_unset=false
51751 fi
51752
51753
51754 # IFS
51755 # We need space, tab and new line, in precisely that order. Quoting is
51756 # there to prevent editors from complaining about space-tab.
51757 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51758 # splitting by setting IFS to empty value.)
51759 as_nl='
51760 '
51761 IFS=" "" $as_nl"
51762
51763 # Find who we are. Look in the path if we contain no directory separator.
51764 case $0 in
51765 *[\\/]* ) as_myself=$0 ;;
51766 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51767 for as_dir in $PATH
51768 do
51769 IFS=$as_save_IFS
51770 test -z "$as_dir" && as_dir=.
51771 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51772 done
51773 IFS=$as_save_IFS
51774
51775 ;;
51776 esac
51777 # We did not find ourselves, most probably we were run as `sh COMMAND'
51778 # in which case we are not to be found in the path.
51779 if test "x$as_myself" = x; then
51780 as_myself=$0
51781 fi
51782 if test ! -f "$as_myself"; then
51783 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51784 { (exit 1); exit 1; }
51785 fi
51786
51787 # Work around bugs in pre-3.0 UWIN ksh.
51788 for as_var in ENV MAIL MAILPATH
51789 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51790 done
51791 PS1='$ '
51792 PS2='> '
51793 PS4='+ '
51794
51795 # NLS nuisances.
51796 for as_var in \
51797 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51798 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51799 LC_TELEPHONE LC_TIME
51800 do
51801 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51802 eval $as_var=C; export $as_var
51803 else
51804 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51805 fi
51806 done
51807
51808 # Required to use basename.
51809 if expr a : '\(a\)' >/dev/null 2>&1 &&
51810 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51811 as_expr=expr
51812 else
51813 as_expr=false
51814 fi
51815
51816 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51817 as_basename=basename
51818 else
51819 as_basename=false
51820 fi
51821
51822
51823 # Name of the executable.
51824 as_me=`$as_basename -- "$0" ||
51825 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51826 X"$0" : 'X\(//\)$' \| \
51827 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51828 echo X/"$0" |
51829 sed '/^.*\/\([^/][^/]*\)\/*$/{
51830 s//\1/
51831 q
51832 }
51833 /^X\/\(\/\/\)$/{
51834 s//\1/
51835 q
51836 }
51837 /^X\/\(\/\).*/{
51838 s//\1/
51839 q
51840 }
51841 s/.*/./; q'`
51842
51843 # CDPATH.
51844 $as_unset CDPATH
51845
51846
51847
51848 as_lineno_1=$LINENO
51849 as_lineno_2=$LINENO
51850 test "x$as_lineno_1" != "x$as_lineno_2" &&
51851 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51852
51853 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51854 # uniformly replaced by the line number. The first 'sed' inserts a
51855 # line-number line after each line using $LINENO; the second 'sed'
51856 # does the real work. The second script uses 'N' to pair each
51857 # line-number line with the line containing $LINENO, and appends
51858 # trailing '-' during substitution so that $LINENO is not a special
51859 # case at line end.
51860 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51861 # scripts with optimization help from Paolo Bonzini. Blame Lee
51862 # E. McMahon (1931-1989) for sed's syntax. :-)
51863 sed -n '
51864 p
51865 /[$]LINENO/=
51866 ' <$as_myself |
51867 sed '
51868 s/[$]LINENO.*/&-/
51869 t lineno
51870 b
51871 :lineno
51872 N
51873 :loop
51874 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51875 t loop
51876 s/-\n.*//
51877 ' >$as_me.lineno &&
51878 chmod +x "$as_me.lineno" ||
51879 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51880 { (exit 1); exit 1; }; }
51881
51882 # Don't try to exec as it changes $[0], causing all sort of problems
51883 # (the dirname of $[0] is not the place where we might find the
51884 # original and so on. Autoconf is especially sensitive to this).
51885 . "./$as_me.lineno"
51886 # Exit status is that of the last command.
51887 exit
51888 }
51889
51890
51891 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51892 as_dirname=dirname
51893 else
51894 as_dirname=false
51895 fi
51896
51897 ECHO_C= ECHO_N= ECHO_T=
51898 case `echo -n x` in
51899 -n*)
51900 case `echo 'x\c'` in
51901 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
51902 *) ECHO_C='\c';;
51903 esac;;
51904 *)
51905 ECHO_N='-n';;
51906 esac
51907
51908 if expr a : '\(a\)' >/dev/null 2>&1 &&
51909 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51910 as_expr=expr
51911 else
51912 as_expr=false
51913 fi
51914
51915 rm -f conf$$ conf$$.exe conf$$.file
51916 if test -d conf$$.dir; then
51917 rm -f conf$$.dir/conf$$.file
51918 else
51919 rm -f conf$$.dir
51920 mkdir conf$$.dir
51921 fi
51922 echo >conf$$.file
51923 if ln -s conf$$.file conf$$ 2>/dev/null; then
51924 as_ln_s='ln -s'
51925 # ... but there are two gotchas:
51926 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51927 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51928 # In both cases, we have to default to `cp -p'.
51929 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51930 as_ln_s='cp -p'
51931 elif ln conf$$.file conf$$ 2>/dev/null; then
51932 as_ln_s=ln
51933 else
51934 as_ln_s='cp -p'
51935 fi
51936 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51937 rmdir conf$$.dir 2>/dev/null
51938
51939 if mkdir -p . 2>/dev/null; then
51940 as_mkdir_p=:
51941 else
51942 test -d ./-p && rmdir ./-p
51943 as_mkdir_p=false
51944 fi
51945
51946 if test -x / >/dev/null 2>&1; then
51947 as_test_x='test -x'
51948 else
51949 if ls -dL / >/dev/null 2>&1; then
51950 as_ls_L_option=L
51951 else
51952 as_ls_L_option=
51953 fi
51954 as_test_x='
51955 eval sh -c '\''
51956 if test -d "$1"; then
51957 test -d "$1/.";
51958 else
51959 case $1 in
51960 -*)set "./$1";;
51961 esac;
51962 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51963 ???[sx]*):;;*)false;;esac;fi
51964 '\'' sh
51965 '
51966 fi
51967 as_executable_p=$as_test_x
51968
51969 # Sed expression to map a string onto a valid CPP name.
51970 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51971
51972 # Sed expression to map a string onto a valid variable name.
51973 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51974
51975
51976 exec 6>&1
51977
51978 # Save the log message, to keep $[0] and so on meaningful, and to
51979 # report actual input values of CONFIG_FILES etc. instead of their
51980 # values after options handling.
51981 ac_log="
51982 This file was extended by wxWidgets $as_me 2.9.0, which was
51983 generated by GNU Autoconf 2.61. Invocation command line was
51984
51985 CONFIG_FILES = $CONFIG_FILES
51986 CONFIG_HEADERS = $CONFIG_HEADERS
51987 CONFIG_LINKS = $CONFIG_LINKS
51988 CONFIG_COMMANDS = $CONFIG_COMMANDS
51989 $ $0 $@
51990
51991 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51992 "
51993
51994 _ACEOF
51995
51996 cat >>$CONFIG_STATUS <<_ACEOF
51997 # Files that config.status was made for.
51998 config_files="$ac_config_files"
51999 config_headers="$ac_config_headers"
52000 config_commands="$ac_config_commands"
52001
52002 _ACEOF
52003
52004 cat >>$CONFIG_STATUS <<\_ACEOF
52005 ac_cs_usage="\
52006 \`$as_me' instantiates files from templates according to the
52007 current configuration.
52008
52009 Usage: $0 [OPTIONS] [FILE]...
52010
52011 -h, --help print this help, then exit
52012 -V, --version print version number and configuration settings, then exit
52013 -q, --quiet do not print progress messages
52014 -d, --debug don't remove temporary files
52015 --recheck update $as_me by reconfiguring in the same conditions
52016 --file=FILE[:TEMPLATE]
52017 instantiate the configuration file FILE
52018 --header=FILE[:TEMPLATE]
52019 instantiate the configuration header FILE
52020
52021 Configuration files:
52022 $config_files
52023
52024 Configuration headers:
52025 $config_headers
52026
52027 Configuration commands:
52028 $config_commands
52029
52030 Report bugs to <bug-autoconf@gnu.org>."
52031
52032 _ACEOF
52033 cat >>$CONFIG_STATUS <<_ACEOF
52034 ac_cs_version="\\
52035 wxWidgets config.status 2.9.0
52036 configured by $0, generated by GNU Autoconf 2.61,
52037 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
52038
52039 Copyright (C) 2006 Free Software Foundation, Inc.
52040 This config.status script is free software; the Free Software Foundation
52041 gives unlimited permission to copy, distribute and modify it."
52042
52043 ac_pwd='$ac_pwd'
52044 srcdir='$srcdir'
52045 INSTALL='$INSTALL'
52046 _ACEOF
52047
52048 cat >>$CONFIG_STATUS <<\_ACEOF
52049 # If no file are specified by the user, then we need to provide default
52050 # value. By we need to know if files were specified by the user.
52051 ac_need_defaults=:
52052 while test $# != 0
52053 do
52054 case $1 in
52055 --*=*)
52056 ac_option=`expr "X$1" : 'X\([^=]*\)='`
52057 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
52058 ac_shift=:
52059 ;;
52060 *)
52061 ac_option=$1
52062 ac_optarg=$2
52063 ac_shift=shift
52064 ;;
52065 esac
52066
52067 case $ac_option in
52068 # Handling of the options.
52069 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
52070 ac_cs_recheck=: ;;
52071 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
52072 echo "$ac_cs_version"; exit ;;
52073 --debug | --debu | --deb | --de | --d | -d )
52074 debug=: ;;
52075 --file | --fil | --fi | --f )
52076 $ac_shift
52077 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
52078 ac_need_defaults=false;;
52079 --header | --heade | --head | --hea )
52080 $ac_shift
52081 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
52082 ac_need_defaults=false;;
52083 --he | --h)
52084 # Conflict between --help and --header
52085 { echo "$as_me: error: ambiguous option: $1
52086 Try \`$0 --help' for more information." >&2
52087 { (exit 1); exit 1; }; };;
52088 --help | --hel | -h )
52089 echo "$ac_cs_usage"; exit ;;
52090 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
52091 | -silent | --silent | --silen | --sile | --sil | --si | --s)
52092 ac_cs_silent=: ;;
52093
52094 # This is an error.
52095 -*) { echo "$as_me: error: unrecognized option: $1
52096 Try \`$0 --help' for more information." >&2
52097 { (exit 1); exit 1; }; } ;;
52098
52099 *) ac_config_targets="$ac_config_targets $1"
52100 ac_need_defaults=false ;;
52101
52102 esac
52103 shift
52104 done
52105
52106 ac_configure_extra_args=
52107
52108 if $ac_cs_silent; then
52109 exec 6>/dev/null
52110 ac_configure_extra_args="$ac_configure_extra_args --silent"
52111 fi
52112
52113 _ACEOF
52114 cat >>$CONFIG_STATUS <<_ACEOF
52115 if \$ac_cs_recheck; then
52116 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
52117 CONFIG_SHELL=$SHELL
52118 export CONFIG_SHELL
52119 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
52120 fi
52121
52122 _ACEOF
52123 cat >>$CONFIG_STATUS <<\_ACEOF
52124 exec 5>>config.log
52125 {
52126 echo
52127 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
52128 ## Running $as_me. ##
52129 _ASBOX
52130 echo "$ac_log"
52131 } >&5
52132
52133 _ACEOF
52134 cat >>$CONFIG_STATUS <<_ACEOF
52135 #
52136 # INIT-COMMANDS
52137 #
52138
52139 CPP="$CPP"
52140 infile="$srcdir/include/wx/msw/genrcdefs.h"
52141 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
52142
52143
52144 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52145 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52146 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52147 LN_S="${LN_S}"
52148
52149
52150 _ACEOF
52151
52152 cat >>$CONFIG_STATUS <<\_ACEOF
52153
52154 # Handling of arguments.
52155 for ac_config_target in $ac_config_targets
52156 do
52157 case $ac_config_target in
52158 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
52159 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
52160 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
52161 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
52162 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
52163 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
52164 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
52165 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
52166
52167 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
52168 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
52169 { (exit 1); exit 1; }; };;
52170 esac
52171 done
52172
52173
52174 # If the user did not use the arguments to specify the items to instantiate,
52175 # then the envvar interface is used. Set only those that are not.
52176 # We use the long form for the default assignment because of an extremely
52177 # bizarre bug on SunOS 4.1.3.
52178 if $ac_need_defaults; then
52179 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
52180 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
52181 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
52182 fi
52183
52184 # Have a temporary directory for convenience. Make it in the build tree
52185 # simply because there is no reason against having it here, and in addition,
52186 # creating and moving files from /tmp can sometimes cause problems.
52187 # Hook for its removal unless debugging.
52188 # Note that there is a small window in which the directory will not be cleaned:
52189 # after its creation but before its name has been assigned to `$tmp'.
52190 $debug ||
52191 {
52192 tmp=
52193 trap 'exit_status=$?
52194 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
52195 ' 0
52196 trap '{ (exit 1); exit 1; }' 1 2 13 15
52197 }
52198 # Create a (secure) tmp directory for tmp files.
52199
52200 {
52201 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
52202 test -n "$tmp" && test -d "$tmp"
52203 } ||
52204 {
52205 tmp=./conf$$-$RANDOM
52206 (umask 077 && mkdir "$tmp")
52207 } ||
52208 {
52209 echo "$me: cannot create a temporary directory in ." >&2
52210 { (exit 1); exit 1; }
52211 }
52212
52213 #
52214 # Set up the sed scripts for CONFIG_FILES section.
52215 #
52216
52217 # No need to generate the scripts if there are no CONFIG_FILES.
52218 # This happens for instance when ./config.status config.h
52219 if test -n "$CONFIG_FILES"; then
52220
52221 _ACEOF
52222
52223
52224
52225 ac_delim='%!_!# '
52226 for ac_last_try in false false false false false :; do
52227 cat >conf$$subs.sed <<_ACEOF
52228 SHELL!$SHELL$ac_delim
52229 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
52230 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
52231 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
52232 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
52233 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
52234 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
52235 exec_prefix!$exec_prefix$ac_delim
52236 prefix!$prefix$ac_delim
52237 program_transform_name!$program_transform_name$ac_delim
52238 bindir!$bindir$ac_delim
52239 sbindir!$sbindir$ac_delim
52240 libexecdir!$libexecdir$ac_delim
52241 datarootdir!$datarootdir$ac_delim
52242 datadir!$datadir$ac_delim
52243 sysconfdir!$sysconfdir$ac_delim
52244 sharedstatedir!$sharedstatedir$ac_delim
52245 localstatedir!$localstatedir$ac_delim
52246 includedir!$includedir$ac_delim
52247 oldincludedir!$oldincludedir$ac_delim
52248 docdir!$docdir$ac_delim
52249 infodir!$infodir$ac_delim
52250 htmldir!$htmldir$ac_delim
52251 dvidir!$dvidir$ac_delim
52252 pdfdir!$pdfdir$ac_delim
52253 psdir!$psdir$ac_delim
52254 libdir!$libdir$ac_delim
52255 localedir!$localedir$ac_delim
52256 mandir!$mandir$ac_delim
52257 DEFS!$DEFS$ac_delim
52258 ECHO_C!$ECHO_C$ac_delim
52259 ECHO_N!$ECHO_N$ac_delim
52260 ECHO_T!$ECHO_T$ac_delim
52261 LIBS!$LIBS$ac_delim
52262 build_alias!$build_alias$ac_delim
52263 host_alias!$host_alias$ac_delim
52264 target_alias!$target_alias$ac_delim
52265 build!$build$ac_delim
52266 build_cpu!$build_cpu$ac_delim
52267 build_vendor!$build_vendor$ac_delim
52268 build_os!$build_os$ac_delim
52269 host!$host$ac_delim
52270 host_cpu!$host_cpu$ac_delim
52271 host_vendor!$host_vendor$ac_delim
52272 host_os!$host_os$ac_delim
52273 target!$target$ac_delim
52274 target_cpu!$target_cpu$ac_delim
52275 target_vendor!$target_vendor$ac_delim
52276 target_os!$target_os$ac_delim
52277 wx_top_builddir!$wx_top_builddir$ac_delim
52278 CC!$CC$ac_delim
52279 CFLAGS!$CFLAGS$ac_delim
52280 LDFLAGS!$LDFLAGS$ac_delim
52281 CPPFLAGS!$CPPFLAGS$ac_delim
52282 ac_ct_CC!$ac_ct_CC$ac_delim
52283 EXEEXT!$EXEEXT$ac_delim
52284 OBJEXT!$OBJEXT$ac_delim
52285 CPP!$CPP$ac_delim
52286 GREP!$GREP$ac_delim
52287 EGREP!$EGREP$ac_delim
52288 CXX!$CXX$ac_delim
52289 CXXFLAGS!$CXXFLAGS$ac_delim
52290 ac_ct_CXX!$ac_ct_CXX$ac_delim
52291 RANLIB!$RANLIB$ac_delim
52292 AR!$AR$ac_delim
52293 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
52294 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
52295 INSTALL_DATA!$INSTALL_DATA$ac_delim
52296 STRIP!$STRIP$ac_delim
52297 WINDRES!$WINDRES$ac_delim
52298 DLLTOOL!$DLLTOOL$ac_delim
52299 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
52300 LN_S!$LN_S$ac_delim
52301 CXXCPP!$CXXCPP$ac_delim
52302 subdirs!$subdirs$ac_delim
52303 PKG_CONFIG!$PKG_CONFIG$ac_delim
52304 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
52305 GTK_LIBS!$GTK_LIBS$ac_delim
52306 GTK_CONFIG!$GTK_CONFIG$ac_delim
52307 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
52308 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
52309 XMKMF!$XMKMF$ac_delim
52310 X_CFLAGS!$X_CFLAGS$ac_delim
52311 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
52312 X_LIBS!$X_LIBS$ac_delim
52313 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
52314 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
52315 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
52316 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
52317 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
52318 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
52319 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
52320 REZ!$REZ$ac_delim
52321 DEREZ!$DEREZ$ac_delim
52322 SETFILE!$SETFILE$ac_delim
52323 LIBICONV!$LIBICONV$ac_delim
52324 EXTRALIBS_ESD!$EXTRALIBS_ESD$ac_delim
52325 _ACEOF
52326
52327 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52328 break
52329 elif $ac_last_try; then
52330 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52331 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52332 { (exit 1); exit 1; }; }
52333 else
52334 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52335 fi
52336 done
52337
52338 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52339 if test -n "$ac_eof"; then
52340 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52341 ac_eof=`expr $ac_eof + 1`
52342 fi
52343
52344 cat >>$CONFIG_STATUS <<_ACEOF
52345 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
52346 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52347 _ACEOF
52348 sed '
52349 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52350 s/^/s,@/; s/!/@,|#_!!_#|/
52351 :n
52352 t n
52353 s/'"$ac_delim"'$/,g/; t
52354 s/$/\\/; p
52355 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52356 ' >>$CONFIG_STATUS <conf$$subs.sed
52357 rm -f conf$$subs.sed
52358 cat >>$CONFIG_STATUS <<_ACEOF
52359 CEOF$ac_eof
52360 _ACEOF
52361
52362
52363 ac_delim='%!_!# '
52364 for ac_last_try in false false false false false :; do
52365 cat >conf$$subs.sed <<_ACEOF
52366 SDL_CONFIG!$SDL_CONFIG$ac_delim
52367 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
52368 SDL_LIBS!$SDL_LIBS$ac_delim
52369 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
52370 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
52371 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
52372 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
52373 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
52374 HILDON_LIBS!$HILDON_LIBS$ac_delim
52375 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
52376 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
52377 GST_CFLAGS!$GST_CFLAGS$ac_delim
52378 GST_LIBS!$GST_LIBS$ac_delim
52379 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
52380 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
52381 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
52382 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
52383 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
52384 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
52385 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
52386 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
52387 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
52388 VENDOR!$VENDOR$ac_delim
52389 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
52390 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
52391 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
52392 WXUNIV!$WXUNIV$ac_delim
52393 MONOLITHIC!$MONOLITHIC$ac_delim
52394 USE_PLUGINS!$USE_PLUGINS$ac_delim
52395 EXTRALIBS!$EXTRALIBS$ac_delim
52396 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
52397 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
52398 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
52399 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
52400 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
52401 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
52402 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
52403 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
52404 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
52405 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
52406 UNICODE!$UNICODE$ac_delim
52407 BUILD!$BUILD$ac_delim
52408 DEBUG_INFO!$DEBUG_INFO$ac_delim
52409 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
52410 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
52411 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
52412 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
52413 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
52414 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
52415 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
52416 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
52417 SET_MAKE!$SET_MAKE$ac_delim
52418 MAKE_SET!$MAKE_SET$ac_delim
52419 AROPTIONS!$AROPTIONS$ac_delim
52420 NM!$NM$ac_delim
52421 INSTALL_DIR!$INSTALL_DIR$ac_delim
52422 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
52423 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
52424 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
52425 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
52426 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
52427 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
52428 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
52429 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
52430 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
52431 SO_SUFFIX!$SO_SUFFIX$ac_delim
52432 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52433 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52434 LIBPREFIX!$LIBPREFIX$ac_delim
52435 LIBEXT!$LIBEXT$ac_delim
52436 DLLPREFIX!$DLLPREFIX$ac_delim
52437 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52438 dlldir!$dlldir$ac_delim
52439 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52440 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52441 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52442 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52443 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52444 PIC_FLAG!$PIC_FLAG$ac_delim
52445 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52446 USE_SOVERSION!$USE_SOVERSION$ac_delim
52447 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52448 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52449 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52450 USE_MACVERSION!$USE_MACVERSION$ac_delim
52451 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
52452 SONAME_FLAG!$SONAME_FLAG$ac_delim
52453 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52454 BK_DEPS!$BK_DEPS$ac_delim
52455 GCC_PCH!$GCC_PCH$ac_delim
52456 ICC_PCH!$ICC_PCH$ac_delim
52457 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52458 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52459 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52460 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52461 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52462 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52463 _ACEOF
52464
52465 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52466 break
52467 elif $ac_last_try; then
52468 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52469 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52470 { (exit 1); exit 1; }; }
52471 else
52472 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52473 fi
52474 done
52475
52476 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52477 if test -n "$ac_eof"; then
52478 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52479 ac_eof=`expr $ac_eof + 1`
52480 fi
52481
52482 cat >>$CONFIG_STATUS <<_ACEOF
52483 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52484 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52485 _ACEOF
52486 sed '
52487 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52488 s/^/s,@/; s/!/@,|#_!!_#|/
52489 :n
52490 t n
52491 s/'"$ac_delim"'$/,g/; t
52492 s/$/\\/; p
52493 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52494 ' >>$CONFIG_STATUS <conf$$subs.sed
52495 rm -f conf$$subs.sed
52496 cat >>$CONFIG_STATUS <<_ACEOF
52497 CEOF$ac_eof
52498 _ACEOF
52499
52500
52501 ac_delim='%!_!# '
52502 for ac_last_try in false false false false false :; do
52503 cat >conf$$subs.sed <<_ACEOF
52504 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52505 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52506 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52507 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52508 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52509 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52510 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52511 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52512 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52513 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52514 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52515 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52516 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52517 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52518 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52519 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52520 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52521 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
52522 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52523 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
52524 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52525 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52526 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52527 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52528 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52529 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52530 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52531 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
52532 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52533 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
52534 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52535 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52536 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52537 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
52538 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52539 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52540 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52541 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52542 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52543 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52544 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52545 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52546 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
52547 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
52548 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
52549 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
52550 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
52551 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
52552 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
52553 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52554 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52555 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52556 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52557 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52558 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52559 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52560 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52561 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52562 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52563 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52564 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52565 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52566 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52567 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52568 COND_SHARED_0!$COND_SHARED_0$ac_delim
52569 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52570 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52571 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52572 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52573 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52574 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52575 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52576 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
52577 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
52578 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
52579 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
52580 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
52581 COND_SHARED_1!$COND_SHARED_1$ac_delim
52582 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52583 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
52584 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52585 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52586 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52587 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52588 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52589 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52590 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52591 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52592 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52593 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52594 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52595 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52596 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52597 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52598 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52599 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
52600 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
52601 _ACEOF
52602
52603 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52604 break
52605 elif $ac_last_try; then
52606 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52607 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52608 { (exit 1); exit 1; }; }
52609 else
52610 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52611 fi
52612 done
52613
52614 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52615 if test -n "$ac_eof"; then
52616 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52617 ac_eof=`expr $ac_eof + 1`
52618 fi
52619
52620 cat >>$CONFIG_STATUS <<_ACEOF
52621 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52622 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52623 _ACEOF
52624 sed '
52625 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52626 s/^/s,@/; s/!/@,|#_!!_#|/
52627 :n
52628 t n
52629 s/'"$ac_delim"'$/,g/; t
52630 s/$/\\/; p
52631 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52632 ' >>$CONFIG_STATUS <conf$$subs.sed
52633 rm -f conf$$subs.sed
52634 cat >>$CONFIG_STATUS <<_ACEOF
52635 CEOF$ac_eof
52636 _ACEOF
52637
52638
52639 ac_delim='%!_!# '
52640 for ac_last_try in false false false false false :; do
52641 cat >conf$$subs.sed <<_ACEOF
52642 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52643 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52644 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52645 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52646 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52647 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52648 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52649 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52650 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52651 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52652 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52653 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52654 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52655 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52656 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52657 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52658 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52659 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52660 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52661 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52662 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52663 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52664 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52665 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52666 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52667 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52668 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52669 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52670 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
52671 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52672 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52673 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52674 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52675 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52676 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52677 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52678 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52679 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52680 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52681 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52682 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52683 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52684 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52685 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52686 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52687 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52688 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52689 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52690 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52691 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52692 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
52693 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52694 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52695 SHARED!$SHARED$ac_delim
52696 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52697 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52698 USE_GUI!$USE_GUI$ac_delim
52699 AFMINSTALL!$AFMINSTALL$ac_delim
52700 WIN32INSTALL!$WIN32INSTALL$ac_delim
52701 TOOLKIT!$TOOLKIT$ac_delim
52702 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52703 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52704 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52705 cross_compiling!$cross_compiling$ac_delim
52706 WIDGET_SET!$WIDGET_SET$ac_delim
52707 WX_RELEASE!$WX_RELEASE$ac_delim
52708 WX_VERSION!$WX_VERSION$ac_delim
52709 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52710 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52711 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
52712 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52713 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52714 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52715 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52716 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52717 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52718 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52719 EXE_LINKER!$EXE_LINKER$ac_delim
52720 GUIDIST!$GUIDIST$ac_delim
52721 DISTDIR!$DISTDIR$ac_delim
52722 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52723 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52724 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52725 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52726 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52727 RESCOMP!$RESCOMP$ac_delim
52728 RESFLAGS!$RESFLAGS$ac_delim
52729 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52730 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52731 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52732 LIBWXMACRES!$LIBWXMACRES$ac_delim
52733 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52734 MACSETFILE!$MACSETFILE$ac_delim
52735 GCC!$GCC$ac_delim
52736 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52737 LIBOBJS!$LIBOBJS$ac_delim
52738 LTLIBOBJS!$LTLIBOBJS$ac_delim
52739 _ACEOF
52740
52741 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52742 break
52743 elif $ac_last_try; then
52744 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52745 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52746 { (exit 1); exit 1; }; }
52747 else
52748 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52749 fi
52750 done
52751
52752 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52753 if test -n "$ac_eof"; then
52754 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52755 ac_eof=`expr $ac_eof + 1`
52756 fi
52757
52758 cat >>$CONFIG_STATUS <<_ACEOF
52759 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52760 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52761 _ACEOF
52762 sed '
52763 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52764 s/^/s,@/; s/!/@,|#_!!_#|/
52765 :n
52766 t n
52767 s/'"$ac_delim"'$/,g/; t
52768 s/$/\\/; p
52769 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52770 ' >>$CONFIG_STATUS <conf$$subs.sed
52771 rm -f conf$$subs.sed
52772 cat >>$CONFIG_STATUS <<_ACEOF
52773 CEOF$ac_eof
52774 _ACEOF
52775
52776
52777 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52778 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52779 # trailing colons and then remove the whole line if VPATH becomes empty
52780 # (actually we leave an empty line to preserve line numbers).
52781 if test "x$srcdir" = x.; then
52782 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52783 s/:*\$(srcdir):*/:/
52784 s/:*\${srcdir}:*/:/
52785 s/:*@srcdir@:*/:/
52786 s/^\([^=]*=[ ]*\):*/\1/
52787 s/:*$//
52788 s/^[^=]*=[ ]*$//
52789 }'
52790 fi
52791
52792 cat >>$CONFIG_STATUS <<\_ACEOF
52793 fi # test -n "$CONFIG_FILES"
52794
52795
52796 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
52797 do
52798 case $ac_tag in
52799 :[FHLC]) ac_mode=$ac_tag; continue;;
52800 esac
52801 case $ac_mode$ac_tag in
52802 :[FHL]*:*);;
52803 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52804 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52805 { (exit 1); exit 1; }; };;
52806 :[FH]-) ac_tag=-:-;;
52807 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52808 esac
52809 ac_save_IFS=$IFS
52810 IFS=:
52811 set x $ac_tag
52812 IFS=$ac_save_IFS
52813 shift
52814 ac_file=$1
52815 shift
52816
52817 case $ac_mode in
52818 :L) ac_source=$1;;
52819 :[FH])
52820 ac_file_inputs=
52821 for ac_f
52822 do
52823 case $ac_f in
52824 -) ac_f="$tmp/stdin";;
52825 *) # Look for the file first in the build tree, then in the source tree
52826 # (if the path is not absolute). The absolute path cannot be DOS-style,
52827 # because $ac_f cannot contain `:'.
52828 test -f "$ac_f" ||
52829 case $ac_f in
52830 [\\/$]*) false;;
52831 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52832 esac ||
52833 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52834 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52835 { (exit 1); exit 1; }; };;
52836 esac
52837 ac_file_inputs="$ac_file_inputs $ac_f"
52838 done
52839
52840 # Let's still pretend it is `configure' which instantiates (i.e., don't
52841 # use $as_me), people would be surprised to read:
52842 # /* config.h. Generated by config.status. */
52843 configure_input="Generated from "`IFS=:
52844 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52845 if test x"$ac_file" != x-; then
52846 configure_input="$ac_file. $configure_input"
52847 { echo "$as_me:$LINENO: creating $ac_file" >&5
52848 echo "$as_me: creating $ac_file" >&6;}
52849 fi
52850
52851 case $ac_tag in
52852 *:-:* | *:-) cat >"$tmp/stdin";;
52853 esac
52854 ;;
52855 esac
52856
52857 ac_dir=`$as_dirname -- "$ac_file" ||
52858 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52859 X"$ac_file" : 'X\(//\)[^/]' \| \
52860 X"$ac_file" : 'X\(//\)$' \| \
52861 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52862 echo X"$ac_file" |
52863 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52864 s//\1/
52865 q
52866 }
52867 /^X\(\/\/\)[^/].*/{
52868 s//\1/
52869 q
52870 }
52871 /^X\(\/\/\)$/{
52872 s//\1/
52873 q
52874 }
52875 /^X\(\/\).*/{
52876 s//\1/
52877 q
52878 }
52879 s/.*/./; q'`
52880 { as_dir="$ac_dir"
52881 case $as_dir in #(
52882 -*) as_dir=./$as_dir;;
52883 esac
52884 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52885 as_dirs=
52886 while :; do
52887 case $as_dir in #(
52888 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52889 *) as_qdir=$as_dir;;
52890 esac
52891 as_dirs="'$as_qdir' $as_dirs"
52892 as_dir=`$as_dirname -- "$as_dir" ||
52893 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52894 X"$as_dir" : 'X\(//\)[^/]' \| \
52895 X"$as_dir" : 'X\(//\)$' \| \
52896 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52897 echo X"$as_dir" |
52898 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52899 s//\1/
52900 q
52901 }
52902 /^X\(\/\/\)[^/].*/{
52903 s//\1/
52904 q
52905 }
52906 /^X\(\/\/\)$/{
52907 s//\1/
52908 q
52909 }
52910 /^X\(\/\).*/{
52911 s//\1/
52912 q
52913 }
52914 s/.*/./; q'`
52915 test -d "$as_dir" && break
52916 done
52917 test -z "$as_dirs" || eval "mkdir $as_dirs"
52918 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52919 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52920 { (exit 1); exit 1; }; }; }
52921 ac_builddir=.
52922
52923 case "$ac_dir" in
52924 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52925 *)
52926 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52927 # A ".." for each directory in $ac_dir_suffix.
52928 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52929 case $ac_top_builddir_sub in
52930 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52931 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52932 esac ;;
52933 esac
52934 ac_abs_top_builddir=$ac_pwd
52935 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52936 # for backward compatibility:
52937 ac_top_builddir=$ac_top_build_prefix
52938
52939 case $srcdir in
52940 .) # We are building in place.
52941 ac_srcdir=.
52942 ac_top_srcdir=$ac_top_builddir_sub
52943 ac_abs_top_srcdir=$ac_pwd ;;
52944 [\\/]* | ?:[\\/]* ) # Absolute name.
52945 ac_srcdir=$srcdir$ac_dir_suffix;
52946 ac_top_srcdir=$srcdir
52947 ac_abs_top_srcdir=$srcdir ;;
52948 *) # Relative name.
52949 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52950 ac_top_srcdir=$ac_top_build_prefix$srcdir
52951 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52952 esac
52953 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52954
52955
52956 case $ac_mode in
52957 :F)
52958 #
52959 # CONFIG_FILE
52960 #
52961
52962 case $INSTALL in
52963 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52964 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52965 esac
52966 _ACEOF
52967
52968 cat >>$CONFIG_STATUS <<\_ACEOF
52969 # If the template does not know about datarootdir, expand it.
52970 # FIXME: This hack should be removed a few years after 2.60.
52971 ac_datarootdir_hack=; ac_datarootdir_seen=
52972
52973 case `sed -n '/datarootdir/ {
52974 p
52975 q
52976 }
52977 /@datadir@/p
52978 /@docdir@/p
52979 /@infodir@/p
52980 /@localedir@/p
52981 /@mandir@/p
52982 ' $ac_file_inputs` in
52983 *datarootdir*) ac_datarootdir_seen=yes;;
52984 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52985 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52986 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52987 _ACEOF
52988 cat >>$CONFIG_STATUS <<_ACEOF
52989 ac_datarootdir_hack='
52990 s&@datadir@&$datadir&g
52991 s&@docdir@&$docdir&g
52992 s&@infodir@&$infodir&g
52993 s&@localedir@&$localedir&g
52994 s&@mandir@&$mandir&g
52995 s&\\\${datarootdir}&$datarootdir&g' ;;
52996 esac
52997 _ACEOF
52998
52999 # Neutralize VPATH when `$srcdir' = `.'.
53000 # Shell code in configure.ac might set extrasub.
53001 # FIXME: do we really want to maintain this feature?
53002 cat >>$CONFIG_STATUS <<_ACEOF
53003 sed "$ac_vpsub
53004 $extrasub
53005 _ACEOF
53006 cat >>$CONFIG_STATUS <<\_ACEOF
53007 :t
53008 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53009 s&@configure_input@&$configure_input&;t t
53010 s&@top_builddir@&$ac_top_builddir_sub&;t t
53011 s&@srcdir@&$ac_srcdir&;t t
53012 s&@abs_srcdir@&$ac_abs_srcdir&;t t
53013 s&@top_srcdir@&$ac_top_srcdir&;t t
53014 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
53015 s&@builddir@&$ac_builddir&;t t
53016 s&@abs_builddir@&$ac_abs_builddir&;t t
53017 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
53018 s&@INSTALL@&$ac_INSTALL&;t t
53019 $ac_datarootdir_hack
53020 " $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 's/|#_!!_#|//g' >$tmp/out
53021
53022 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
53023 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
53024 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
53025 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
53026 which seems to be undefined. Please make sure it is defined." >&5
53027 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
53028 which seems to be undefined. Please make sure it is defined." >&2;}
53029
53030 rm -f "$tmp/stdin"
53031 case $ac_file in
53032 -) cat "$tmp/out"; rm -f "$tmp/out";;
53033 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
53034 esac
53035 ;;
53036 :H)
53037 #
53038 # CONFIG_HEADER
53039 #
53040 _ACEOF
53041
53042 # Transform confdefs.h into a sed script `conftest.defines', that
53043 # substitutes the proper values into config.h.in to produce config.h.
53044 rm -f conftest.defines conftest.tail
53045 # First, append a space to every undef/define line, to ease matching.
53046 echo 's/$/ /' >conftest.defines
53047 # Then, protect against being on the right side of a sed subst, or in
53048 # an unquoted here document, in config.status. If some macros were
53049 # called several times there might be several #defines for the same
53050 # symbol, which is useless. But do not sort them, since the last
53051 # AC_DEFINE must be honored.
53052 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
53053 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
53054 # NAME is the cpp macro being defined, VALUE is the value it is being given.
53055 # PARAMS is the parameter list in the macro definition--in most cases, it's
53056 # just an empty string.
53057 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
53058 ac_dB='\\)[ (].*,\\1define\\2'
53059 ac_dC=' '
53060 ac_dD=' ,'
53061
53062 uniq confdefs.h |
53063 sed -n '
53064 t rset
53065 :rset
53066 s/^[ ]*#[ ]*define[ ][ ]*//
53067 t ok
53068 d
53069 :ok
53070 s/[\\&,]/\\&/g
53071 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
53072 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
53073 ' >>conftest.defines
53074
53075 # Remove the space that was appended to ease matching.
53076 # Then replace #undef with comments. This is necessary, for
53077 # example, in the case of _POSIX_SOURCE, which is predefined and required
53078 # on some systems where configure will not decide to define it.
53079 # (The regexp can be short, since the line contains either #define or #undef.)
53080 echo 's/ $//
53081 s,^[ #]*u.*,/* & */,' >>conftest.defines
53082
53083 # Break up conftest.defines:
53084 ac_max_sed_lines=50
53085
53086 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
53087 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
53088 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
53089 # et cetera.
53090 ac_in='$ac_file_inputs'
53091 ac_out='"$tmp/out1"'
53092 ac_nxt='"$tmp/out2"'
53093
53094 while :
53095 do
53096 # Write a here document:
53097 cat >>$CONFIG_STATUS <<_ACEOF
53098 # First, check the format of the line:
53099 cat >"\$tmp/defines.sed" <<\\CEOF
53100 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
53101 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
53102 b
53103 :def
53104 _ACEOF
53105 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
53106 echo 'CEOF
53107 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
53108 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
53109 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
53110 grep . conftest.tail >/dev/null || break
53111 rm -f conftest.defines
53112 mv conftest.tail conftest.defines
53113 done
53114 rm -f conftest.defines conftest.tail
53115
53116 echo "ac_result=$ac_in" >>$CONFIG_STATUS
53117 cat >>$CONFIG_STATUS <<\_ACEOF
53118 if test x"$ac_file" != x-; then
53119 echo "/* $configure_input */" >"$tmp/config.h"
53120 cat "$ac_result" >>"$tmp/config.h"
53121 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
53122 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
53123 echo "$as_me: $ac_file is unchanged" >&6;}
53124 else
53125 rm -f $ac_file
53126 mv "$tmp/config.h" $ac_file
53127 fi
53128 else
53129 echo "/* $configure_input */"
53130 cat "$ac_result"
53131 fi
53132 rm -f "$tmp/out12"
53133 ;;
53134
53135 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
53136 echo "$as_me: executing $ac_file commands" >&6;}
53137 ;;
53138 esac
53139
53140
53141 case $ac_file$ac_mode in
53142 "rcdefs.h":C)
53143 mkdir -p $outdir &&
53144 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
53145 ;;
53146 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
53147 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
53148 "wx-config":C) rm -f wx-config
53149 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
53150 ;;
53151
53152 esac
53153 done # for ac_tag
53154
53155
53156 { (exit 0); exit 0; }
53157 _ACEOF
53158 chmod +x $CONFIG_STATUS
53159 ac_clean_files=$ac_clean_files_save
53160
53161
53162 # configure is writing to config.log, and then calls config.status.
53163 # config.status does its own redirection, appending to config.log.
53164 # Unfortunately, on DOS this fails, as config.log is still kept open
53165 # by configure, so config.status won't be able to write to it; its
53166 # output is simply discarded. So we exec the FD to /dev/null,
53167 # effectively closing config.log, so it can be properly (re)opened and
53168 # appended to by config.status. When coming back to configure, we
53169 # need to make the FD available again.
53170 if test "$no_create" != yes; then
53171 ac_cs_success=:
53172 ac_config_status_args=
53173 test "$silent" = yes &&
53174 ac_config_status_args="$ac_config_status_args --quiet"
53175 exec 5>/dev/null
53176 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
53177 exec 5>>config.log
53178 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
53179 # would make configure fail if this is the last instruction.
53180 $ac_cs_success || { (exit 1); exit 1; }
53181 fi
53182
53183 #
53184 # CONFIG_SUBDIRS section.
53185 #
53186 if test "$no_recursion" != yes; then
53187
53188 # Remove --cache-file and --srcdir arguments so they do not pile up.
53189 ac_sub_configure_args=
53190 ac_prev=
53191 eval "set x $ac_configure_args"
53192 shift
53193 for ac_arg
53194 do
53195 if test -n "$ac_prev"; then
53196 ac_prev=
53197 continue
53198 fi
53199 case $ac_arg in
53200 -cache-file | --cache-file | --cache-fil | --cache-fi \
53201 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
53202 ac_prev=cache_file ;;
53203 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
53204 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
53205 | --c=*)
53206 ;;
53207 --config-cache | -C)
53208 ;;
53209 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
53210 ac_prev=srcdir ;;
53211 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
53212 ;;
53213 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
53214 ac_prev=prefix ;;
53215 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
53216 ;;
53217 *)
53218 case $ac_arg in
53219 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53220 esac
53221 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
53222 esac
53223 done
53224
53225 # Always prepend --prefix to ensure using the same prefix
53226 # in subdir configurations.
53227 ac_arg="--prefix=$prefix"
53228 case $ac_arg in
53229 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53230 esac
53231 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
53232
53233 # Pass --silent
53234 if test "$silent" = yes; then
53235 ac_sub_configure_args="--silent $ac_sub_configure_args"
53236 fi
53237
53238 ac_popdir=`pwd`
53239 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
53240
53241 # Do not complain, so a configure script can configure whichever
53242 # parts of a large source tree are present.
53243 test -d "$srcdir/$ac_dir" || continue
53244
53245 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
53246 echo "$as_me:$LINENO: $ac_msg" >&5
53247 echo "$ac_msg" >&6
53248 { as_dir="$ac_dir"
53249 case $as_dir in #(
53250 -*) as_dir=./$as_dir;;
53251 esac
53252 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53253 as_dirs=
53254 while :; do
53255 case $as_dir in #(
53256 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53257 *) as_qdir=$as_dir;;
53258 esac
53259 as_dirs="'$as_qdir' $as_dirs"
53260 as_dir=`$as_dirname -- "$as_dir" ||
53261 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53262 X"$as_dir" : 'X\(//\)[^/]' \| \
53263 X"$as_dir" : 'X\(//\)$' \| \
53264 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53265 echo X"$as_dir" |
53266 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53267 s//\1/
53268 q
53269 }
53270 /^X\(\/\/\)[^/].*/{
53271 s//\1/
53272 q
53273 }
53274 /^X\(\/\/\)$/{
53275 s//\1/
53276 q
53277 }
53278 /^X\(\/\).*/{
53279 s//\1/
53280 q
53281 }
53282 s/.*/./; q'`
53283 test -d "$as_dir" && break
53284 done
53285 test -z "$as_dirs" || eval "mkdir $as_dirs"
53286 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53287 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53288 { (exit 1); exit 1; }; }; }
53289 ac_builddir=.
53290
53291 case "$ac_dir" in
53292 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
53293 *)
53294 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53295 # A ".." for each directory in $ac_dir_suffix.
53296 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53297 case $ac_top_builddir_sub in
53298 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
53299 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
53300 esac ;;
53301 esac
53302 ac_abs_top_builddir=$ac_pwd
53303 ac_abs_builddir=$ac_pwd$ac_dir_suffix
53304 # for backward compatibility:
53305 ac_top_builddir=$ac_top_build_prefix
53306
53307 case $srcdir in
53308 .) # We are building in place.
53309 ac_srcdir=.
53310 ac_top_srcdir=$ac_top_builddir_sub
53311 ac_abs_top_srcdir=$ac_pwd ;;
53312 [\\/]* | ?:[\\/]* ) # Absolute name.
53313 ac_srcdir=$srcdir$ac_dir_suffix;
53314 ac_top_srcdir=$srcdir
53315 ac_abs_top_srcdir=$srcdir ;;
53316 *) # Relative name.
53317 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
53318 ac_top_srcdir=$ac_top_build_prefix$srcdir
53319 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
53320 esac
53321 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
53322
53323
53324 cd "$ac_dir"
53325
53326 # Check for guested configure; otherwise get Cygnus style configure.
53327 if test -f "$ac_srcdir/configure.gnu"; then
53328 ac_sub_configure=$ac_srcdir/configure.gnu
53329 elif test -f "$ac_srcdir/configure"; then
53330 ac_sub_configure=$ac_srcdir/configure
53331 elif test -f "$ac_srcdir/configure.in"; then
53332 # This should be Cygnus configure.
53333 ac_sub_configure=$ac_aux_dir/configure
53334 else
53335 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53336 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53337 ac_sub_configure=
53338 fi
53339
53340 # The recursion is here.
53341 if test -n "$ac_sub_configure"; then
53342 # Make the cache file name correct relative to the subdirectory.
53343 case $cache_file in
53344 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
53345 *) # Relative name.
53346 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
53347 esac
53348
53349 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53350 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53351 # The eval makes quoting arguments work.
53352 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53353 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53354 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53355 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53356 { (exit 1); exit 1; }; }
53357 fi
53358
53359 cd "$ac_popdir"
53360 done
53361 fi
53362
53363
53364 echo
53365 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53366 echo ""
53367 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53368 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53369
53370 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
53371 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53372 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
53373
53374 echo " What level of wxWidgets compatibility should be enabled?"
53375 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53376 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53377
53378 echo " Which libraries should wxWidgets use?"
53379 echo " jpeg ${wxUSE_LIBJPEG-none}"
53380 echo " png ${wxUSE_LIBPNG-none}"
53381 echo " regex ${wxUSE_REGEX}"
53382 echo " tiff ${wxUSE_LIBTIFF-none}"
53383 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53384 echo " xpm ${wxUSE_LIBXPM-none}"
53385 fi
53386 echo " zlib ${wxUSE_ZLIB}"
53387 echo " odbc ${wxUSE_ODBC}"
53388 echo " expat ${wxUSE_EXPAT}"
53389 echo " libmspack ${wxUSE_LIBMSPACK}"
53390 echo " sdl ${wxUSE_LIBSDL}"
53391
53392 echo ""
53393