]> git.saurik.com Git - wxWidgets.git/blob - configure
removed gstreamer dependency from all libraries except for wxMedia, not only from...
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 50114 2007-11-20 22:03:01Z VZ .
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 AR
683 subdirs
684 PKG_CONFIG
685 GTK_CFLAGS
686 GTK_LIBS
687 GTK_CONFIG
688 DIRECTFB_CFLAGS
689 DIRECTFB_LIBS
690 XMKMF
691 X_CFLAGS
692 X_PRE_LIBS
693 X_LIBS
694 X_EXTRA_LIBS
695 PANGOX_CFLAGS
696 PANGOX_LIBS
697 PANGOFT2_CFLAGS
698 PANGOFT2_LIBS
699 PANGOXFT_CFLAGS
700 PANGOXFT_LIBS
701 CFLAGS_VISIBILITY
702 CXXFLAGS_VISIBILITY
703 LIBICONV
704 SDL_CONFIG
705 SDL_CFLAGS
706 SDL_LIBS
707 GTKPRINT_CFLAGS
708 GTKPRINT_LIBS
709 LIBGNOMEPRINTUI_CFLAGS
710 LIBGNOMEPRINTUI_LIBS
711 GNOMEVFS_CFLAGS
712 GNOMEVFS_LIBS
713 HILDON_CFLAGS
714 HILDON_LIBS
715 CAIRO_CFLAGS
716 CAIRO_LIBS
717 GST_CFLAGS
718 GST_LIBS
719 ALL_WX_LIBS
720 BUILT_WX_LIBS
721 STD_BASE_LIBS
722 STD_GUI_LIBS
723 wxUSE_ZLIB
724 wxUSE_REGEX
725 wxUSE_EXPAT
726 wxUSE_LIBJPEG
727 wxUSE_LIBPNG
728 wxUSE_LIBTIFF
729 VENDOR
730 OFFICIAL_BUILD
731 WX_FLAVOUR
732 WX_LIB_FLAVOUR
733 WXUNIV
734 MONOLITHIC
735 USE_PLUGINS
736 CXXWARNINGS
737 EXTRALIBS
738 EXTRALIBS_XML
739 EXTRALIBS_HTML
740 EXTRALIBS_MEDIA
741 EXTRALIBS_GUI
742 EXTRALIBS_OPENGL
743 EXTRALIBS_SDL
744 WITH_PLUGIN_SDL
745 EXTRALIBS_GTKPRINT
746 EXTRALIBS_GNOMEPRINT
747 EXTRALIBS_GNOMEVFS
748 EXTRALIBS_HILDON
749 UNICODE
750 BUILD
751 DEBUG_INFO
752 DEBUG_FLAG
753 TOOLKIT_LOWERCASE
754 TOOLKIT_VERSION
755 SAMPLES_RPATH_FLAG
756 SAMPLES_RPATH_POSTLINK
757 HOST_SUFFIX
758 CPPUNIT_CFLAGS
759 CPPUNIT_LIBS
760 RANLIB
761 INSTALL_PROGRAM
762 INSTALL_SCRIPT
763 INSTALL_DATA
764 LN_S
765 SET_MAKE
766 MAKE_SET
767 AROPTIONS
768 STRIP
769 NM
770 INSTALL_DIR
771 LDFLAGS_GUI
772 IF_GNU_MAKE
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 WINDRES
806 REZ
807 SETFILE
808 GCC_PCH
809 ICC_PCH
810 BK_MAKE_PCH
811 COND_BUILD_DEBUG
812 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
813 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
814 COND_BUILD_DEBUG_UNICODE_0
815 COND_BUILD_DEBUG_UNICODE_1
816 COND_BUILD_RELEASE
817 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
818 COND_BUILD_RELEASE_UNICODE_0
819 COND_BUILD_RELEASE_UNICODE_1
820 COND_DEBUG_FLAG_1
821 COND_DEBUG_INFO_0
822 COND_DEBUG_INFO_1
823 COND_DEPS_TRACKING_0
824 COND_DEPS_TRACKING_1
825 COND_GCC_PCH_1
826 COND_ICC_PCH_1
827 COND_MONOLITHIC_0
828 COND_MONOLITHIC_0_SHARED_0
829 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
834 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
835 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
837 COND_MONOLITHIC_0_SHARED_1
838 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
843 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
844 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
846 COND_MONOLITHIC_0_USE_AUI_1
847 COND_MONOLITHIC_0_USE_GUI_1
848 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
849 COND_MONOLITHIC_0_USE_HTML_1
850 COND_MONOLITHIC_0_USE_MEDIA_1
851 COND_MONOLITHIC_0_USE_QA_1
852 COND_MONOLITHIC_0_USE_RICHTEXT_1
853 COND_MONOLITHIC_0_USE_STC_1
854 COND_MONOLITHIC_0_USE_XRC_1
855 COND_MONOLITHIC_1
856 COND_MONOLITHIC_1_SHARED_0
857 COND_MONOLITHIC_1_SHARED_1
858 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
859 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
860 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
861 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
862 COND_PLATFORM_MACOSX_1
863 COND_PLATFORM_MACOSX_1_TOOLKIT_
864 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
865 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
866 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
867 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
869 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
870 COND_PLATFORM_MACOSX_1_USE_GUI_1
871 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
872 COND_PLATFORM_MACOS_1
873 COND_PLATFORM_MAC_1
874 COND_PLATFORM_MSDOS_1
875 COND_PLATFORM_OS2_1
876 COND_PLATFORM_UNIX_0
877 COND_PLATFORM_UNIX_1
878 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
879 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
880 COND_PLATFORM_UNIX_1_USE_GUI_1
881 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
882 COND_PLATFORM_WIN32_0
883 COND_PLATFORM_WIN32_1
884 COND_SHARED_0
885 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
886 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
887 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
888 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
889 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
890 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
891 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
892 COND_SHARED_0_USE_STC_1
893 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
894 COND_SHARED_0_WXUSE_REGEX_BUILTIN
895 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
896 COND_SHARED_1
897 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
898 COND_TOOLKIT_
899 COND_TOOLKIT_COCOA
900 COND_TOOLKIT_COCOA_USE_GUI_1
901 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
902 COND_TOOLKIT_DFB
903 COND_TOOLKIT_DFB_USE_GUI_1
904 COND_TOOLKIT_GTK
905 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
906 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
907 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
908 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
909 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
912 COND_TOOLKIT_GTK_USE_GUI_1
913 COND_TOOLKIT_MAC
914 COND_TOOLKIT_MAC_USE_GUI_1
915 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
916 COND_TOOLKIT_MGL
917 COND_TOOLKIT_MGL_USE_GUI_1
918 COND_TOOLKIT_MOTIF
919 COND_TOOLKIT_MOTIF_USE_GUI_1
920 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_MSW
922 COND_TOOLKIT_MSW_USE_GUI_1
923 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_MSW_WXUNIV_0
925 COND_TOOLKIT_PM
926 COND_TOOLKIT_PM_USE_GUI_1
927 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
928 COND_TOOLKIT_WINCE
929 COND_TOOLKIT_WINCE_USE_GUI_1
930 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_WINCE_WXUNIV_0
932 COND_TOOLKIT_X11
933 COND_TOOLKIT_X11_USE_GUI_1
934 COND_UNICODE_1
935 COND_USE_EXCEPTIONS_0
936 COND_USE_EXCEPTIONS_1
937 COND_USE_GUI_0
938 COND_USE_GUI_1
939 COND_USE_GUI_1_USE_OPENGL_1
940 COND_USE_GUI_1_WXUNIV_0
941 COND_USE_GUI_1_WXUNIV_1
942 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
943 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
944 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
945 COND_USE_PCH_1
946 COND_USE_PLUGINS_0
947 COND_USE_RTTI_0
948 COND_USE_RTTI_1
949 COND_USE_SOSYMLINKS_1
950 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
951 COND_USE_SOVERLINUX_1
952 COND_USE_SOVERSION_0
953 COND_USE_SOVERSOLARIS_1
954 COND_USE_STC_1
955 COND_USE_THREADS_0
956 COND_USE_THREADS_1
957 COND_USE_XRC_1
958 COND_WINDOWS_IMPLIB_1
959 COND_WITH_PLUGIN_SDL_1
960 COND_WXUNIV_0
961 COND_WXUNIV_1
962 COND_WXUSE_EXPAT_BUILTIN
963 COND_WXUSE_LIBJPEG_BUILTIN
964 COND_WXUSE_LIBPNG_BUILTIN
965 COND_WXUSE_LIBTIFF_BUILTIN
966 COND_WXUSE_REGEX_BUILTIN
967 COND_WXUSE_ZLIB_BUILTIN
968 DEREZ
969 SHARED
970 WX_LIBRARY_BASENAME_NOGUI
971 WX_LIBRARY_BASENAME_GUI
972 USE_GUI
973 AFMINSTALL
974 WIN32INSTALL
975 TOOLKIT
976 TOOLKIT_DIR
977 TOOLCHAIN_NAME
978 TOOLCHAIN_FULLNAME
979 cross_compiling
980 WIDGET_SET
981 WX_RELEASE
982 WX_VERSION
983 WX_SUBVERSION
984 WX_CHARTYPE
985 WX_DEBUGTYPE
986 WXCONFIG_CPPFLAGS
987 WXCONFIG_CFLAGS
988 WXCONFIG_CXXFLAGS
989 WXCONFIG_LIBS
990 WXCONFIG_RPATH
991 WXCONFIG_LDFLAGS_GUI
992 WXCONFIG_RESFLAGS
993 GUIDIST
994 DISTDIR
995 SAMPLES_SUBDIRS
996 LDFLAGS_GL
997 OPENGL_LIBS
998 DMALLOC_LIBS
999 WX_VERSION_TAG
1000 RESCOMP
1001 RESFLAGS
1002 RESPROGRAMOBJ
1003 WX_RESOURCES_MACOSX_ASCII
1004 WX_RESOURCES_MACOSX_DATA
1005 LIBWXMACRES
1006 POSTLINK_COMMAND
1007 MACSETFILE
1008 GCC
1009 DLLTOOL
1010 CPPUNIT_CONFIG
1011 LIBOBJS
1012 LTLIBOBJS'
1013 ac_subst_files=''
1014 ac_precious_vars='build_alias
1015 host_alias
1016 target_alias
1017 CC
1018 CFLAGS
1019 LDFLAGS
1020 LIBS
1021 CPPFLAGS
1022 CPP
1023 CXX
1024 CXXFLAGS
1025 CCC
1026 PKG_CONFIG
1027 DIRECTFB_CFLAGS
1028 DIRECTFB_LIBS
1029 XMKMF
1030 PANGOX_CFLAGS
1031 PANGOX_LIBS
1032 PANGOFT2_CFLAGS
1033 PANGOFT2_LIBS
1034 PANGOXFT_CFLAGS
1035 PANGOXFT_LIBS
1036 GTKPRINT_CFLAGS
1037 GTKPRINT_LIBS
1038 LIBGNOMEPRINTUI_CFLAGS
1039 LIBGNOMEPRINTUI_LIBS
1040 GNOMEVFS_CFLAGS
1041 GNOMEVFS_LIBS
1042 HILDON_CFLAGS
1043 HILDON_LIBS
1044 CAIRO_CFLAGS
1045 CAIRO_LIBS
1046 GST_CFLAGS
1047 GST_LIBS'
1048 ac_subdirs_all='src/tiff
1049 src/expat'
1050
1051 # Initialize some variables set by options.
1052 ac_init_help=
1053 ac_init_version=false
1054 # The variables have the same names as the options, with
1055 # dashes changed to underlines.
1056 cache_file=/dev/null
1057 exec_prefix=NONE
1058 no_create=
1059 no_recursion=
1060 prefix=NONE
1061 program_prefix=NONE
1062 program_suffix=NONE
1063 program_transform_name=s,x,x,
1064 silent=
1065 site=
1066 srcdir=
1067 verbose=
1068 x_includes=NONE
1069 x_libraries=NONE
1070
1071 # Installation directory options.
1072 # These are left unexpanded so users can "make install exec_prefix=/foo"
1073 # and all the variables that are supposed to be based on exec_prefix
1074 # by default will actually change.
1075 # Use braces instead of parens because sh, perl, etc. also accept them.
1076 # (The list follows the same order as the GNU Coding Standards.)
1077 bindir='${exec_prefix}/bin'
1078 sbindir='${exec_prefix}/sbin'
1079 libexecdir='${exec_prefix}/libexec'
1080 datarootdir='${prefix}/share'
1081 datadir='${datarootdir}'
1082 sysconfdir='${prefix}/etc'
1083 sharedstatedir='${prefix}/com'
1084 localstatedir='${prefix}/var'
1085 includedir='${prefix}/include'
1086 oldincludedir='/usr/include'
1087 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1088 infodir='${datarootdir}/info'
1089 htmldir='${docdir}'
1090 dvidir='${docdir}'
1091 pdfdir='${docdir}'
1092 psdir='${docdir}'
1093 libdir='${exec_prefix}/lib'
1094 localedir='${datarootdir}/locale'
1095 mandir='${datarootdir}/man'
1096
1097 ac_prev=
1098 ac_dashdash=
1099 for ac_option
1100 do
1101 # If the previous option needs an argument, assign it.
1102 if test -n "$ac_prev"; then
1103 eval $ac_prev=\$ac_option
1104 ac_prev=
1105 continue
1106 fi
1107
1108 case $ac_option in
1109 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1110 *) ac_optarg=yes ;;
1111 esac
1112
1113 # Accept the important Cygnus configure options, so we can diagnose typos.
1114
1115 case $ac_dashdash$ac_option in
1116 --)
1117 ac_dashdash=yes ;;
1118
1119 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1120 ac_prev=bindir ;;
1121 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1122 bindir=$ac_optarg ;;
1123
1124 -build | --build | --buil | --bui | --bu)
1125 ac_prev=build_alias ;;
1126 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1127 build_alias=$ac_optarg ;;
1128
1129 -cache-file | --cache-file | --cache-fil | --cache-fi \
1130 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1131 ac_prev=cache_file ;;
1132 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1133 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1134 cache_file=$ac_optarg ;;
1135
1136 --config-cache | -C)
1137 cache_file=config.cache ;;
1138
1139 -datadir | --datadir | --datadi | --datad)
1140 ac_prev=datadir ;;
1141 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1142 datadir=$ac_optarg ;;
1143
1144 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1145 | --dataroo | --dataro | --datar)
1146 ac_prev=datarootdir ;;
1147 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1148 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1149 datarootdir=$ac_optarg ;;
1150
1151 -disable-* | --disable-*)
1152 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1155 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1156 { (exit 1); exit 1; }; }
1157 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1158 eval enable_$ac_feature=no ;;
1159
1160 -docdir | --docdir | --docdi | --doc | --do)
1161 ac_prev=docdir ;;
1162 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1163 docdir=$ac_optarg ;;
1164
1165 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1166 ac_prev=dvidir ;;
1167 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1168 dvidir=$ac_optarg ;;
1169
1170 -enable-* | --enable-*)
1171 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1172 # Reject names that are not valid shell variable names.
1173 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1174 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1175 { (exit 1); exit 1; }; }
1176 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1177 eval enable_$ac_feature=\$ac_optarg ;;
1178
1179 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1180 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1181 | --exec | --exe | --ex)
1182 ac_prev=exec_prefix ;;
1183 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1184 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1185 | --exec=* | --exe=* | --ex=*)
1186 exec_prefix=$ac_optarg ;;
1187
1188 -gas | --gas | --ga | --g)
1189 # Obsolete; use --with-gas.
1190 with_gas=yes ;;
1191
1192 -help | --help | --hel | --he | -h)
1193 ac_init_help=long ;;
1194 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1195 ac_init_help=recursive ;;
1196 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1197 ac_init_help=short ;;
1198
1199 -host | --host | --hos | --ho)
1200 ac_prev=host_alias ;;
1201 -host=* | --host=* | --hos=* | --ho=*)
1202 host_alias=$ac_optarg ;;
1203
1204 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1205 ac_prev=htmldir ;;
1206 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1207 | --ht=*)
1208 htmldir=$ac_optarg ;;
1209
1210 -includedir | --includedir | --includedi | --included | --include \
1211 | --includ | --inclu | --incl | --inc)
1212 ac_prev=includedir ;;
1213 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1214 | --includ=* | --inclu=* | --incl=* | --inc=*)
1215 includedir=$ac_optarg ;;
1216
1217 -infodir | --infodir | --infodi | --infod | --info | --inf)
1218 ac_prev=infodir ;;
1219 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1220 infodir=$ac_optarg ;;
1221
1222 -libdir | --libdir | --libdi | --libd)
1223 ac_prev=libdir ;;
1224 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1225 libdir=$ac_optarg ;;
1226
1227 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1228 | --libexe | --libex | --libe)
1229 ac_prev=libexecdir ;;
1230 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1231 | --libexe=* | --libex=* | --libe=*)
1232 libexecdir=$ac_optarg ;;
1233
1234 -localedir | --localedir | --localedi | --localed | --locale)
1235 ac_prev=localedir ;;
1236 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1237 localedir=$ac_optarg ;;
1238
1239 -localstatedir | --localstatedir | --localstatedi | --localstated \
1240 | --localstate | --localstat | --localsta | --localst | --locals)
1241 ac_prev=localstatedir ;;
1242 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1243 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1244 localstatedir=$ac_optarg ;;
1245
1246 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1247 ac_prev=mandir ;;
1248 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1249 mandir=$ac_optarg ;;
1250
1251 -nfp | --nfp | --nf)
1252 # Obsolete; use --without-fp.
1253 with_fp=no ;;
1254
1255 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1256 | --no-cr | --no-c | -n)
1257 no_create=yes ;;
1258
1259 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1260 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1261 no_recursion=yes ;;
1262
1263 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1264 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1265 | --oldin | --oldi | --old | --ol | --o)
1266 ac_prev=oldincludedir ;;
1267 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1268 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1269 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1270 oldincludedir=$ac_optarg ;;
1271
1272 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1273 ac_prev=prefix ;;
1274 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1275 prefix=$ac_optarg ;;
1276
1277 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1278 | --program-pre | --program-pr | --program-p)
1279 ac_prev=program_prefix ;;
1280 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1281 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1282 program_prefix=$ac_optarg ;;
1283
1284 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1285 | --program-suf | --program-su | --program-s)
1286 ac_prev=program_suffix ;;
1287 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1288 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1289 program_suffix=$ac_optarg ;;
1290
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 ac_prev=program_transform_name ;;
1299 -program-transform-name=* | --program-transform-name=* \
1300 | --program-transform-nam=* | --program-transform-na=* \
1301 | --program-transform-n=* | --program-transform-=* \
1302 | --program-transform=* | --program-transfor=* \
1303 | --program-transfo=* | --program-transf=* \
1304 | --program-trans=* | --program-tran=* \
1305 | --progr-tra=* | --program-tr=* | --program-t=*)
1306 program_transform_name=$ac_optarg ;;
1307
1308 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1309 ac_prev=pdfdir ;;
1310 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1311 pdfdir=$ac_optarg ;;
1312
1313 -psdir | --psdir | --psdi | --psd | --ps)
1314 ac_prev=psdir ;;
1315 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1316 psdir=$ac_optarg ;;
1317
1318 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1319 | -silent | --silent | --silen | --sile | --sil)
1320 silent=yes ;;
1321
1322 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1323 ac_prev=sbindir ;;
1324 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1325 | --sbi=* | --sb=*)
1326 sbindir=$ac_optarg ;;
1327
1328 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1329 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1330 | --sharedst | --shareds | --shared | --share | --shar \
1331 | --sha | --sh)
1332 ac_prev=sharedstatedir ;;
1333 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1334 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1335 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1336 | --sha=* | --sh=*)
1337 sharedstatedir=$ac_optarg ;;
1338
1339 -site | --site | --sit)
1340 ac_prev=site ;;
1341 -site=* | --site=* | --sit=*)
1342 site=$ac_optarg ;;
1343
1344 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1345 ac_prev=srcdir ;;
1346 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1347 srcdir=$ac_optarg ;;
1348
1349 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1350 | --syscon | --sysco | --sysc | --sys | --sy)
1351 ac_prev=sysconfdir ;;
1352 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1353 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1354 sysconfdir=$ac_optarg ;;
1355
1356 -target | --target | --targe | --targ | --tar | --ta | --t)
1357 ac_prev=target_alias ;;
1358 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1359 target_alias=$ac_optarg ;;
1360
1361 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1362 verbose=yes ;;
1363
1364 -version | --version | --versio | --versi | --vers | -V)
1365 ac_init_version=: ;;
1366
1367 -with-* | --with-*)
1368 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1369 # Reject names that are not valid shell variable names.
1370 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1371 { echo "$as_me: error: invalid package name: $ac_package" >&2
1372 { (exit 1); exit 1; }; }
1373 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1374 eval with_$ac_package=\$ac_optarg ;;
1375
1376 -without-* | --without-*)
1377 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1378 # Reject names that are not valid shell variable names.
1379 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1380 { echo "$as_me: error: invalid package name: $ac_package" >&2
1381 { (exit 1); exit 1; }; }
1382 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1383 eval with_$ac_package=no ;;
1384
1385 --x)
1386 # Obsolete; use --with-x.
1387 with_x=yes ;;
1388
1389 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1390 | --x-incl | --x-inc | --x-in | --x-i)
1391 ac_prev=x_includes ;;
1392 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1393 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1394 x_includes=$ac_optarg ;;
1395
1396 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1397 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1398 ac_prev=x_libraries ;;
1399 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1400 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1401 x_libraries=$ac_optarg ;;
1402
1403 -*) { echo "$as_me: error: unrecognized option: $ac_option
1404 Try \`$0 --help' for more information." >&2
1405 { (exit 1); exit 1; }; }
1406 ;;
1407
1408 *=*)
1409 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1410 # Reject names that are not valid shell variable names.
1411 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1412 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1413 { (exit 1); exit 1; }; }
1414 eval $ac_envvar=\$ac_optarg
1415 export $ac_envvar ;;
1416
1417 *)
1418 # FIXME: should be removed in autoconf 3.0.
1419 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1420 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1421 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1422 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1423 ;;
1424
1425 esac
1426 done
1427
1428 if test -n "$ac_prev"; then
1429 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1430 { echo "$as_me: error: missing argument to $ac_option" >&2
1431 { (exit 1); exit 1; }; }
1432 fi
1433
1434 # Be sure to have absolute directory names.
1435 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1436 datadir sysconfdir sharedstatedir localstatedir includedir \
1437 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1438 libdir localedir mandir
1439 do
1440 eval ac_val=\$$ac_var
1441 case $ac_val in
1442 [\\/$]* | ?:[\\/]* ) continue;;
1443 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1444 esac
1445 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1446 { (exit 1); exit 1; }; }
1447 done
1448
1449 # There might be people who depend on the old broken behavior: `$host'
1450 # used to hold the argument of --host etc.
1451 # FIXME: To remove some day.
1452 build=$build_alias
1453 host=$host_alias
1454 target=$target_alias
1455
1456 # FIXME: To remove some day.
1457 if test "x$host_alias" != x; then
1458 if test "x$build_alias" = x; then
1459 cross_compiling=maybe
1460 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1461 If a cross compiler is detected then cross compile mode will be used." >&2
1462 elif test "x$build_alias" != "x$host_alias"; then
1463 cross_compiling=yes
1464 fi
1465 fi
1466
1467 ac_tool_prefix=
1468 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1469
1470 test "$silent" = yes && exec 6>/dev/null
1471
1472
1473 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1474 ac_ls_di=`ls -di .` &&
1475 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1476 { echo "$as_me: error: Working directory cannot be determined" >&2
1477 { (exit 1); exit 1; }; }
1478 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1479 { echo "$as_me: error: pwd does not report name of working directory" >&2
1480 { (exit 1); exit 1; }; }
1481
1482
1483 # Find the source files, if location was not specified.
1484 if test -z "$srcdir"; then
1485 ac_srcdir_defaulted=yes
1486 # Try the directory containing this script, then the parent directory.
1487 ac_confdir=`$as_dirname -- "$0" ||
1488 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1489 X"$0" : 'X\(//\)[^/]' \| \
1490 X"$0" : 'X\(//\)$' \| \
1491 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1492 echo X"$0" |
1493 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1494 s//\1/
1495 q
1496 }
1497 /^X\(\/\/\)[^/].*/{
1498 s//\1/
1499 q
1500 }
1501 /^X\(\/\/\)$/{
1502 s//\1/
1503 q
1504 }
1505 /^X\(\/\).*/{
1506 s//\1/
1507 q
1508 }
1509 s/.*/./; q'`
1510 srcdir=$ac_confdir
1511 if test ! -r "$srcdir/$ac_unique_file"; then
1512 srcdir=..
1513 fi
1514 else
1515 ac_srcdir_defaulted=no
1516 fi
1517 if test ! -r "$srcdir/$ac_unique_file"; then
1518 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1519 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1520 { (exit 1); exit 1; }; }
1521 fi
1522 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1523 ac_abs_confdir=`(
1524 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1525 { (exit 1); exit 1; }; }
1526 pwd)`
1527 # When building in place, set srcdir=.
1528 if test "$ac_abs_confdir" = "$ac_pwd"; then
1529 srcdir=.
1530 fi
1531 # Remove unnecessary trailing slashes from srcdir.
1532 # Double slashes in file names in object file debugging info
1533 # mess up M-x gdb in Emacs.
1534 case $srcdir in
1535 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1536 esac
1537 for ac_var in $ac_precious_vars; do
1538 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1539 eval ac_env_${ac_var}_value=\$${ac_var}
1540 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1541 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1542 done
1543
1544 #
1545 # Report the --help message.
1546 #
1547 if test "$ac_init_help" = "long"; then
1548 # Omit some internal or obsolete options to make the list less imposing.
1549 # This message is too long to be a string in the A/UX 3.1 sh.
1550 cat <<_ACEOF
1551 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1552
1553 Usage: $0 [OPTION]... [VAR=VALUE]...
1554
1555 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1556 VAR=VALUE. See below for descriptions of some of the useful variables.
1557
1558 Defaults for the options are specified in brackets.
1559
1560 Configuration:
1561 -h, --help display this help and exit
1562 --help=short display options specific to this package
1563 --help=recursive display the short help of all the included packages
1564 -V, --version display version information and exit
1565 -q, --quiet, --silent do not print \`checking...' messages
1566 --cache-file=FILE cache test results in FILE [disabled]
1567 -C, --config-cache alias for \`--cache-file=config.cache'
1568 -n, --no-create do not create output files
1569 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1570
1571 Installation directories:
1572 --prefix=PREFIX install architecture-independent files in PREFIX
1573 [$ac_default_prefix]
1574 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1575 [PREFIX]
1576
1577 By default, \`make install' will install all the files in
1578 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1579 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1580 for instance \`--prefix=\$HOME'.
1581
1582 For better control, use the options below.
1583
1584 Fine tuning of the installation directories:
1585 --bindir=DIR user executables [EPREFIX/bin]
1586 --sbindir=DIR system admin executables [EPREFIX/sbin]
1587 --libexecdir=DIR program executables [EPREFIX/libexec]
1588 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1589 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1590 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1591 --libdir=DIR object code libraries [EPREFIX/lib]
1592 --includedir=DIR C header files [PREFIX/include]
1593 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1594 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1595 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1596 --infodir=DIR info documentation [DATAROOTDIR/info]
1597 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1598 --mandir=DIR man documentation [DATAROOTDIR/man]
1599 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1600 --htmldir=DIR html documentation [DOCDIR]
1601 --dvidir=DIR dvi documentation [DOCDIR]
1602 --pdfdir=DIR pdf documentation [DOCDIR]
1603 --psdir=DIR ps documentation [DOCDIR]
1604 _ACEOF
1605
1606 cat <<\_ACEOF
1607
1608 X features:
1609 --x-includes=DIR X include files are in DIR
1610 --x-libraries=DIR X library files are in DIR
1611
1612 System types:
1613 --build=BUILD configure for building on BUILD [guessed]
1614 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1615 --target=TARGET configure for building compilers for TARGET [HOST]
1616 _ACEOF
1617 fi
1618
1619 if test -n "$ac_init_help"; then
1620 case $ac_init_help in
1621 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1622 esac
1623 cat <<\_ACEOF
1624
1625 Optional Features:
1626 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1627 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1628 --disable-gui don't build GUI parts of the library
1629 --enable-monolithic build wxWidgets as single library
1630 --enable-plugins build parts of wxWidgets as loadable components
1631 --enable-official_build official build of wxWidgets (win32 DLL only)
1632 --enable-vendor=VENDOR vendor name (win32 DLL only)
1633 --disable-all-features disable all optional features to build minimal library
1634 --enable-universal use wxWidgets GUI controls instead of native ones
1635 --enable-nanox use NanoX
1636 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1637 --enable-gpe use GNOME PDA Environment features if possible
1638 --disable-shared create static library instead of shared
1639 --disable-optimise create optimised code
1640 --enable-debug same as debug_flag and debug_info
1641 --enable-stl use STL for containers
1642 --enable-std_iostreams use standard C++ stream classes
1643 --enable-std_string use standard C++ string classes
1644 --disable-unicode compile without Unicode support
1645 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1646 --enable-utf8 use UTF-8 representation for strings (Unix only)
1647 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1648 --enable-extended_rtti use extended RTTI (XTI)
1649 --enable-omf use OMF object format
1650 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1651 --enable-debug_info create code with debugging information
1652 --enable-debug_gdb create code with extra GDB debugging information
1653 --enable-debug_cntxt use wxDebugContext
1654 --enable-mem_tracing create code with memory tracing
1655 --enable-profile create code with profiling information
1656 --enable-no_rtti create code without RTTI information
1657 --enable-no_exceptions create code without C++ exceptions handling
1658 --enable-permissive compile code disregarding strict ANSI
1659 --enable-no_deps create code without dependency information
1660 --disable-vararg_macros don't use vararg macros, even if they are supported
1661 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1662 --enable-compat26 enable wxWidgets 2.6 compatibility
1663 --disable-compat28 disable wxWidgets 2.8 compatibility
1664 --disable-rpath disable use of rpath for uninstalled builds
1665 --enable-objc_uniquifying enable Objective-C class name uniquifying
1666 --disable-visibility disable use of ELF symbols visibility even if supported
1667 --enable-intl use internationalization system
1668 --enable-config use wxConfig (and derived) classes
1669 --enable-protocols use wxProtocol and derived classes
1670 --enable-ftp use wxFTP (requires wxProtocol
1671 --enable-http use wxHTTP (requires wxProtocol
1672 --enable-fileproto use wxFileProto class (requires wxProtocol
1673 --enable-sockets use socket/network classes
1674 --enable-ipv6 enable IPv6 support in wxSocket
1675 --enable-ole use OLE classes (Win32 only)
1676 --enable-dataobj use data object classes
1677 --enable-ipc use interprocess communication (wxSocket etc.)
1678 --enable-baseevtloop use event loop in console programs too
1679 --enable-epollloop use wxEpollDispatcher class (Linux only)
1680 --enable-selectloop use wxSelectDispatcher class
1681 --enable-apple_ieee use the Apple IEEE codec
1682 --enable-arcstream use wxArchive streams
1683 --enable-base64 use base64 encoding/decoding functions
1684 --enable-backtrace use wxStackWalker class for getting backtraces
1685 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1686 --enable-cmdline use wxCmdLineParser class
1687 --enable-datetime use wxDateTime class
1688 --enable-debugreport use wxDebugReport class
1689 --enable-dialupman use dialup network classes
1690 --enable-dynlib use wxLibrary class for DLL loading
1691 --enable-dynamicloader use (new) wxDynamicLibrary class
1692 --enable-exceptions build exception-safe library
1693 --enable-ffile use wxFFile class
1694 --enable-file use wxFile class
1695 --enable-filesystem use virtual file systems classes
1696 --enable-fontenum use wxFontEnumerator class
1697 --enable-fontmap use font encodings conversion classes
1698 --enable-fs_archive use virtual archive filesystems
1699 --enable-fs_inet use virtual HTTP/FTP filesystems
1700 --enable-fs_zip now replaced by fs_archive
1701 --enable-geometry use geometry class
1702 --enable-log use logging system
1703 --enable-longlong use wxLongLong class
1704 --enable-mimetype use wxMimeTypesManager
1705 --enable-snglinst use wxSingleInstanceChecker class
1706 --enable-stdpaths use wxStandardPaths class
1707 --enable-stopwatch use wxStopWatch class
1708 --enable-streams use wxStream etc classes
1709 --enable-sysoptions use wxSystemOptions
1710 --enable-tarstream use wxTar streams
1711 --enable-textbuf use wxTextBuffer class
1712 --enable-textfile use wxTextFile class
1713 --enable-timer use wxTimer class
1714 --enable-sound use wxSound class
1715 --enable-mediactrl use wxMediaCtrl class
1716 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1717 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1718 --enable-zipstream use wxZip streams
1719 --enable-url use wxURL class
1720 --enable-variant use wxVariant class
1721 --enable-protocol use wxProtocol class
1722 --enable-protocol-http HTTP support in wxProtocol
1723 --enable-protocol-ftp FTP support in wxProtocol
1724 --enable-protocol-file FILE support in wxProtocol
1725 --enable-threads use threads
1726 --enable-iniconf use wxIniConfig (Win32 only)
1727 --enable-regkey use wxRegKey class (Win32 only)
1728 --enable-docview use document view architecture
1729 --enable-help use help subsystem
1730 --enable-mshtmlhelp use MS HTML Help (win32)
1731 --enable-html use wxHTML sub-library
1732 --enable-htmlhelp use wxHTML-based help
1733 --enable-xrc use XRC resources sub-library
1734 --enable-aui use AUI docking library
1735 --enable-stc use wxStyledTextCtrl library
1736 --enable-constraints use layout-constraints system
1737 --enable-printarch use printing architecture
1738 --enable-mdi use multiple document interface architecture
1739 --enable-mdidoc use docview architecture with MDI
1740 --enable-loggui use standard GUI logger
1741 --enable-logwin use wxLogWindow
1742 --enable-logdialog use wxLogDialog
1743 --enable-webkit use wxWebKitCtrl (Mac)
1744 --enable-richtext use wxRichTextCtrl
1745 --enable-graphics_ctx use graphics context 2D drawing API
1746 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1747 --enable-svg use wxSVGFileDC device context
1748 --enable-clipboard use wxClipboard class
1749 --enable-dnd use Drag'n'Drop classes
1750 --enable-metafile use win32 metafiles
1751 --disable-controls disable compilation of all standard controls
1752 --enable-accel use accelerators
1753 --enable-animatectrl use wxAnimationCtrl class
1754 --enable-button use wxButton class
1755 --enable-bmpbutton use wxBitmapButton class
1756 --enable-bmpcombobox use wxBitmapComboBox class
1757 --enable-calendar use wxCalendarCtrl class
1758 --enable-caret use wxCaret class
1759 --enable-checkbox use wxCheckBox class
1760 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1761 --enable-choice use wxChoice class
1762 --enable-choicebook use wxChoicebook class
1763 --enable-collpane use wxCollapsiblePane class
1764 --enable-colourpicker use wxColourPickerCtrl class
1765 --enable-combobox use wxComboBox class
1766 --enable-comboctrl use wxComboCtrl class
1767 --enable-datepick use wxDatePickerCtrl class
1768 --enable-dirpicker use wxDirPickerCtrl class
1769 --enable-display use wxDisplay class
1770 --enable-detect_sm use code to detect X11 session manager
1771 --enable-editablebox use wxEditableListBox class
1772 --enable-filepicker use wxFilePickerCtrl class
1773 --enable-filectrl use wxFileCtrl class
1774 --enable-fontpicker use wxFontPickerCtrl class
1775 --enable-gauge use wxGauge class
1776 --enable-grid use wxGrid class
1777 --enable-dataviewctrl use wxDataViewCtrl class
1778 --enable-hyperlink use wxHyperlinkCtrl class
1779 --enable-imaglist use wxImageList class
1780 --enable-listbook use wxListbook class
1781 --enable-listbox use wxListBox class
1782 --enable-listctrl use wxListCtrl class
1783 --enable-notebook use wxNotebook class
1784 --enable-odcombobox use wxOwnerDrawnComboBox class
1785 --enable-radiobox use wxRadioBox class
1786 --enable-radiobtn use wxRadioButton class
1787 --enable-sash use wxSashWindow class
1788 --enable-scrollbar use wxScrollBar class and scrollable windows
1789 --enable-searchctrl use wxSearchCtrl class
1790 --enable-slider use wxSlider class
1791 --enable-spinbtn use wxSpinButton class
1792 --enable-spinctrl use wxSpinCtrl class
1793 --enable-splitter use wxSplitterWindow class
1794 --enable-statbmp use wxStaticBitmap class
1795 --enable-statbox use wxStaticBox class
1796 --enable-statline use wxStaticLine class
1797 --enable-stattext use wxStaticText class
1798 --enable-statusbar use wxStatusBar class
1799 --enable-tabdialog use wxTabControl class
1800 --enable-taskbaricon use wxTaskBarIcon class
1801 --enable-textctrl use wxTextCtrl class
1802 --enable-togglebtn use wxToggleButton class
1803 --enable-toolbar use wxToolBar class
1804 --enable-tbarnative use native wxToolBar class
1805 --enable-treebook use wxTreebook class
1806 --enable-toolbook use wxToolbook class
1807 --enable-treectrl use wxTreeCtrl class
1808 --enable-tipwindow use wxTipWindow class
1809 --enable-popupwin use wxPopUpWindow class
1810 --enable-commondlg use all common dialogs
1811 --enable-aboutdlg use wxAboutBox
1812 --enable-choicedlg use wxChoiceDialog
1813 --enable-coldlg use wxColourDialog
1814 --enable-filedlg use wxFileDialog
1815 --enable-finddlg use wxFindReplaceDialog
1816 --enable-fontdlg use wxFontDialog
1817 --enable-dirdlg use wxDirDialog
1818 --enable-msgdlg use wxMessageDialog
1819 --enable-numberdlg use wxNumberEntryDialog
1820 --enable-splash use wxSplashScreen
1821 --enable-textdlg use wxTextDialog
1822 --enable-tipdlg use startup tips
1823 --enable-progressdlg use wxProgressDialog
1824 --enable-wizarddlg use wxWizard
1825 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1826 --enable-miniframe use wxMiniFrame class
1827 --enable-tooltips use wxToolTip class
1828 --enable-splines use spline drawing code
1829 --enable-mousewheel use mousewheel
1830 --enable-validators use wxValidator and derived classes
1831 --enable-busyinfo use wxBusyInfo
1832 --enable-joystick use wxJoystick
1833 --enable-metafiles use wxMetaFile (Win32 only)
1834 --enable-dragimage use wxDragImage
1835 --enable-accessibility enable accessibility support
1836 --enable-palette use wxPalette class
1837 --enable-image use wxImage class
1838 --enable-gif use gif images (GIF file format)
1839 --enable-pcx use pcx images (PCX file format)
1840 --enable-tga use tga images (TGA file format)
1841 --enable-iff use iff images (IFF file format)
1842 --enable-pnm use pnm images (PNM file format)
1843 --enable-xpm use xpm images (XPM file format)
1844 --enable-icocur use Windows ICO and CUR formats
1845 --enable-dccache cache temporary wxDC objects (Win32 only)
1846 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1847 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1848 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1849 --enable-wxdib use wxDIB class (Win32 only)
1850 --disable-largefile omit support for large files
1851 --disable-gtktest do not try to compile and run a test GTK+ program
1852 --disable-gtktest Do not try to compile and run a test GTK program
1853 --disable-sdltest Do not try to compile and run a test SDL program
1854 --enable-omf use OMF object format (OS/2)
1855 --disable-dependency-tracking
1856 don't use dependency tracking even if the compiler
1857 can
1858 --disable-precomp-headers
1859 don't use precompiled headers even if compiler can
1860
1861 Optional Packages:
1862 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1863 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1864 --without-subdirs don't generate makefiles for samples/demos/...
1865 --with-flavour=NAME specify a name to identify this build
1866 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1867 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1868 --with-motif use Motif/Lesstif
1869 --with-mac use Mac OS X
1870 --with-cocoa use Cocoa
1871 --with-wine use Wine
1872 --with-msw use MS-Windows
1873 --with-pm use OS/2 Presentation Manager
1874 --with-mgl use SciTech MGL
1875 --with-directfb use DirectFB
1876 --with-microwin use MicroWindows
1877 --with-x11 use X11
1878 --with-libpng use libpng (PNG image format)
1879 --with-libjpeg use libjpeg (JPEG file format)
1880 --with-libtiff use libtiff (TIFF file format)
1881 --with-libxpm use libxpm (XPM file format)
1882 --with-libmspack use libmspack (CHM help files loading)
1883 --without-gtkprint don't use GTK printing support
1884 --without-gnomeprint don't use GNOME printing libraries
1885 --with-gnomevfs use GNOME VFS for associating MIME types
1886 --with-hildon use Hildon framework for Nokia 770
1887 --with-opengl use OpenGL (or Mesa)
1888 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1889 --with-sdl use SDL for audio on Unix
1890 --with-regex enable support for wxRegEx class
1891 --with-zlib use zlib for LZW compression
1892 --with-expat enable XML support using expat parser
1893 --with-macosx-sdk=PATH use an OS X SDK at PATH
1894 --with-macosx-version-min=VER build binaries which require at least this OS X version
1895 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1896 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1897 --with-x use the X Window System
1898 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1899 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1900 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1901 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1902 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1903
1904 Some influential environment variables:
1905 CC C compiler command
1906 CFLAGS C compiler flags
1907 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1908 nonstandard directory <lib dir>
1909 LIBS libraries to pass to the linker, e.g. -l<library>
1910 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1911 you have headers in a nonstandard directory <include dir>
1912 CPP C preprocessor
1913 CXX C++ compiler command
1914 CXXFLAGS C++ compiler flags
1915 PKG_CONFIG path to pkg-config utility
1916 DIRECTFB_CFLAGS
1917 C compiler flags for DIRECTFB, overriding pkg-config
1918 DIRECTFB_LIBS
1919 linker flags for DIRECTFB, overriding pkg-config
1920 XMKMF Path to xmkmf, Makefile generator for X Window System
1921 PANGOX_CFLAGS
1922 C compiler flags for PANGOX, overriding pkg-config
1923 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1924 PANGOFT2_CFLAGS
1925 C compiler flags for PANGOFT2, overriding pkg-config
1926 PANGOFT2_LIBS
1927 linker flags for PANGOFT2, overriding pkg-config
1928 PANGOXFT_CFLAGS
1929 C compiler flags for PANGOXFT, overriding pkg-config
1930 PANGOXFT_LIBS
1931 linker flags for PANGOXFT, overriding pkg-config
1932 GTKPRINT_CFLAGS
1933 C compiler flags for GTKPRINT, overriding pkg-config
1934 GTKPRINT_LIBS
1935 linker flags for GTKPRINT, overriding pkg-config
1936 LIBGNOMEPRINTUI_CFLAGS
1937 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1938 LIBGNOMEPRINTUI_LIBS
1939 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1940 GNOMEVFS_CFLAGS
1941 C compiler flags for GNOMEVFS, overriding pkg-config
1942 GNOMEVFS_LIBS
1943 linker flags for GNOMEVFS, overriding pkg-config
1944 HILDON_CFLAGS
1945 C compiler flags for HILDON, overriding pkg-config
1946 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1947 CAIRO_CFLAGS
1948 C compiler flags for CAIRO, overriding pkg-config
1949 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1950 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1951 GST_LIBS linker flags for GST, overriding pkg-config
1952
1953 Use these variables to override the choices made by `configure' or to help
1954 it to find libraries and programs with nonstandard names/locations.
1955
1956 Report bugs to <wx-dev@lists.wxwidgets.org>.
1957 _ACEOF
1958 ac_status=$?
1959 fi
1960
1961 if test "$ac_init_help" = "recursive"; then
1962 # If there are subdirs, report their specific --help.
1963 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1964 test -d "$ac_dir" || continue
1965 ac_builddir=.
1966
1967 case "$ac_dir" in
1968 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1969 *)
1970 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1971 # A ".." for each directory in $ac_dir_suffix.
1972 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1973 case $ac_top_builddir_sub in
1974 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1975 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1976 esac ;;
1977 esac
1978 ac_abs_top_builddir=$ac_pwd
1979 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1980 # for backward compatibility:
1981 ac_top_builddir=$ac_top_build_prefix
1982
1983 case $srcdir in
1984 .) # We are building in place.
1985 ac_srcdir=.
1986 ac_top_srcdir=$ac_top_builddir_sub
1987 ac_abs_top_srcdir=$ac_pwd ;;
1988 [\\/]* | ?:[\\/]* ) # Absolute name.
1989 ac_srcdir=$srcdir$ac_dir_suffix;
1990 ac_top_srcdir=$srcdir
1991 ac_abs_top_srcdir=$srcdir ;;
1992 *) # Relative name.
1993 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1994 ac_top_srcdir=$ac_top_build_prefix$srcdir
1995 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1996 esac
1997 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1998
1999 cd "$ac_dir" || { ac_status=$?; continue; }
2000 # Check for guested configure.
2001 if test -f "$ac_srcdir/configure.gnu"; then
2002 echo &&
2003 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2004 elif test -f "$ac_srcdir/configure"; then
2005 echo &&
2006 $SHELL "$ac_srcdir/configure" --help=recursive
2007 else
2008 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2009 fi || ac_status=$?
2010 cd "$ac_pwd" || { ac_status=$?; break; }
2011 done
2012 fi
2013
2014 test -n "$ac_init_help" && exit $ac_status
2015 if $ac_init_version; then
2016 cat <<\_ACEOF
2017 wxWidgets configure 2.9.0
2018 generated by GNU Autoconf 2.61
2019
2020 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2021 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2022 This configure script is free software; the Free Software Foundation
2023 gives unlimited permission to copy, distribute and modify it.
2024 _ACEOF
2025 exit
2026 fi
2027 cat >config.log <<_ACEOF
2028 This file contains any messages produced by compilers while
2029 running configure, to aid debugging if configure makes a mistake.
2030
2031 It was created by wxWidgets $as_me 2.9.0, which was
2032 generated by GNU Autoconf 2.61. Invocation command line was
2033
2034 $ $0 $@
2035
2036 _ACEOF
2037 exec 5>>config.log
2038 {
2039 cat <<_ASUNAME
2040 ## --------- ##
2041 ## Platform. ##
2042 ## --------- ##
2043
2044 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2045 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2046 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2047 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2048 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2049
2050 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2051 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2052
2053 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2054 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2055 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2056 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2057 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2058 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2059 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2060
2061 _ASUNAME
2062
2063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2064 for as_dir in $PATH
2065 do
2066 IFS=$as_save_IFS
2067 test -z "$as_dir" && as_dir=.
2068 echo "PATH: $as_dir"
2069 done
2070 IFS=$as_save_IFS
2071
2072 } >&5
2073
2074 cat >&5 <<_ACEOF
2075
2076
2077 ## ----------- ##
2078 ## Core tests. ##
2079 ## ----------- ##
2080
2081 _ACEOF
2082
2083
2084 # Keep a trace of the command line.
2085 # Strip out --no-create and --no-recursion so they do not pile up.
2086 # Strip out --silent because we don't want to record it for future runs.
2087 # Also quote any args containing shell meta-characters.
2088 # Make two passes to allow for proper duplicate-argument suppression.
2089 ac_configure_args=
2090 ac_configure_args0=
2091 ac_configure_args1=
2092 ac_must_keep_next=false
2093 for ac_pass in 1 2
2094 do
2095 for ac_arg
2096 do
2097 case $ac_arg in
2098 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2099 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2100 | -silent | --silent | --silen | --sile | --sil)
2101 continue ;;
2102 *\'*)
2103 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2104 esac
2105 case $ac_pass in
2106 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2107 2)
2108 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2109 if test $ac_must_keep_next = true; then
2110 ac_must_keep_next=false # Got value, back to normal.
2111 else
2112 case $ac_arg in
2113 *=* | --config-cache | -C | -disable-* | --disable-* \
2114 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2115 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2116 | -with-* | --with-* | -without-* | --without-* | --x)
2117 case "$ac_configure_args0 " in
2118 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2119 esac
2120 ;;
2121 -* ) ac_must_keep_next=true ;;
2122 esac
2123 fi
2124 ac_configure_args="$ac_configure_args '$ac_arg'"
2125 ;;
2126 esac
2127 done
2128 done
2129 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2130 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2131
2132 # When interrupted or exit'd, cleanup temporary files, and complete
2133 # config.log. We remove comments because anyway the quotes in there
2134 # would cause problems or look ugly.
2135 # WARNING: Use '\'' to represent an apostrophe within the trap.
2136 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2137 trap 'exit_status=$?
2138 # Save into config.log some information that might help in debugging.
2139 {
2140 echo
2141
2142 cat <<\_ASBOX
2143 ## ---------------- ##
2144 ## Cache variables. ##
2145 ## ---------------- ##
2146 _ASBOX
2147 echo
2148 # The following way of writing the cache mishandles newlines in values,
2149 (
2150 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2151 eval ac_val=\$$ac_var
2152 case $ac_val in #(
2153 *${as_nl}*)
2154 case $ac_var in #(
2155 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2156 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2157 esac
2158 case $ac_var in #(
2159 _ | IFS | as_nl) ;; #(
2160 *) $as_unset $ac_var ;;
2161 esac ;;
2162 esac
2163 done
2164 (set) 2>&1 |
2165 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2166 *${as_nl}ac_space=\ *)
2167 sed -n \
2168 "s/'\''/'\''\\\\'\'''\''/g;
2169 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2170 ;; #(
2171 *)
2172 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2173 ;;
2174 esac |
2175 sort
2176 )
2177 echo
2178
2179 cat <<\_ASBOX
2180 ## ----------------- ##
2181 ## Output variables. ##
2182 ## ----------------- ##
2183 _ASBOX
2184 echo
2185 for ac_var in $ac_subst_vars
2186 do
2187 eval ac_val=\$$ac_var
2188 case $ac_val in
2189 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2190 esac
2191 echo "$ac_var='\''$ac_val'\''"
2192 done | sort
2193 echo
2194
2195 if test -n "$ac_subst_files"; then
2196 cat <<\_ASBOX
2197 ## ------------------- ##
2198 ## File substitutions. ##
2199 ## ------------------- ##
2200 _ASBOX
2201 echo
2202 for ac_var in $ac_subst_files
2203 do
2204 eval ac_val=\$$ac_var
2205 case $ac_val in
2206 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2207 esac
2208 echo "$ac_var='\''$ac_val'\''"
2209 done | sort
2210 echo
2211 fi
2212
2213 if test -s confdefs.h; then
2214 cat <<\_ASBOX
2215 ## ----------- ##
2216 ## confdefs.h. ##
2217 ## ----------- ##
2218 _ASBOX
2219 echo
2220 cat confdefs.h
2221 echo
2222 fi
2223 test "$ac_signal" != 0 &&
2224 echo "$as_me: caught signal $ac_signal"
2225 echo "$as_me: exit $exit_status"
2226 } >&5
2227 rm -f core *.core core.conftest.* &&
2228 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2229 exit $exit_status
2230 ' 0
2231 for ac_signal in 1 2 13 15; do
2232 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2233 done
2234 ac_signal=0
2235
2236 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2237 rm -f -r conftest* confdefs.h
2238
2239 # Predefined preprocessor variables.
2240
2241 cat >>confdefs.h <<_ACEOF
2242 #define PACKAGE_NAME "$PACKAGE_NAME"
2243 _ACEOF
2244
2245
2246 cat >>confdefs.h <<_ACEOF
2247 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2248 _ACEOF
2249
2250
2251 cat >>confdefs.h <<_ACEOF
2252 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2253 _ACEOF
2254
2255
2256 cat >>confdefs.h <<_ACEOF
2257 #define PACKAGE_STRING "$PACKAGE_STRING"
2258 _ACEOF
2259
2260
2261 cat >>confdefs.h <<_ACEOF
2262 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2263 _ACEOF
2264
2265
2266 # Let the site file select an alternate cache file if it wants to.
2267 # Prefer explicitly selected file to automatically selected ones.
2268 if test -n "$CONFIG_SITE"; then
2269 set x "$CONFIG_SITE"
2270 elif test "x$prefix" != xNONE; then
2271 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2272 else
2273 set x "$ac_default_prefix/share/config.site" \
2274 "$ac_default_prefix/etc/config.site"
2275 fi
2276 shift
2277 for ac_site_file
2278 do
2279 if test -r "$ac_site_file"; then
2280 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2281 echo "$as_me: loading site script $ac_site_file" >&6;}
2282 sed 's/^/| /' "$ac_site_file" >&5
2283 . "$ac_site_file"
2284 fi
2285 done
2286
2287 if test -r "$cache_file"; then
2288 # Some versions of bash will fail to source /dev/null (special
2289 # files actually), so we avoid doing that.
2290 if test -f "$cache_file"; then
2291 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2292 echo "$as_me: loading cache $cache_file" >&6;}
2293 case $cache_file in
2294 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2295 *) . "./$cache_file";;
2296 esac
2297 fi
2298 else
2299 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2300 echo "$as_me: creating cache $cache_file" >&6;}
2301 >$cache_file
2302 fi
2303
2304 # Check that the precious variables saved in the cache have kept the same
2305 # value.
2306 ac_cache_corrupted=false
2307 for ac_var in $ac_precious_vars; do
2308 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2309 eval ac_new_set=\$ac_env_${ac_var}_set
2310 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2311 eval ac_new_val=\$ac_env_${ac_var}_value
2312 case $ac_old_set,$ac_new_set in
2313 set,)
2314 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2315 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2316 ac_cache_corrupted=: ;;
2317 ,set)
2318 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2319 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2320 ac_cache_corrupted=: ;;
2321 ,);;
2322 *)
2323 if test "x$ac_old_val" != "x$ac_new_val"; then
2324 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2325 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2326 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2327 echo "$as_me: former value: $ac_old_val" >&2;}
2328 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2329 echo "$as_me: current value: $ac_new_val" >&2;}
2330 ac_cache_corrupted=:
2331 fi;;
2332 esac
2333 # Pass precious variables to config.status.
2334 if test "$ac_new_set" = set; then
2335 case $ac_new_val in
2336 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2337 *) ac_arg=$ac_var=$ac_new_val ;;
2338 esac
2339 case " $ac_configure_args " in
2340 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2341 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2342 esac
2343 fi
2344 done
2345 if $ac_cache_corrupted; then
2346 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2347 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2348 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2349 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2350 { (exit 1); exit 1; }; }
2351 fi
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377 ac_ext=c
2378 ac_cpp='$CPP $CPPFLAGS'
2379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2382
2383
2384
2385
2386
2387 ac_aux_dir=
2388 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2389 if test -f "$ac_dir/install-sh"; then
2390 ac_aux_dir=$ac_dir
2391 ac_install_sh="$ac_aux_dir/install-sh -c"
2392 break
2393 elif test -f "$ac_dir/install.sh"; then
2394 ac_aux_dir=$ac_dir
2395 ac_install_sh="$ac_aux_dir/install.sh -c"
2396 break
2397 elif test -f "$ac_dir/shtool"; then
2398 ac_aux_dir=$ac_dir
2399 ac_install_sh="$ac_aux_dir/shtool install -c"
2400 break
2401 fi
2402 done
2403 if test -z "$ac_aux_dir"; then
2404 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2405 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2406 { (exit 1); exit 1; }; }
2407 fi
2408
2409 # These three variables are undocumented and unsupported,
2410 # and are intended to be withdrawn in a future Autoconf release.
2411 # They can cause serious problems if a builder's source tree is in a directory
2412 # whose full name contains unusual characters.
2413 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2414 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2415 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2416
2417
2418 # Make sure we can run config.sub.
2419 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2420 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2421 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2422 { (exit 1); exit 1; }; }
2423
2424 { echo "$as_me:$LINENO: checking build system type" >&5
2425 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2426 if test "${ac_cv_build+set}" = set; then
2427 echo $ECHO_N "(cached) $ECHO_C" >&6
2428 else
2429 ac_build_alias=$build_alias
2430 test "x$ac_build_alias" = x &&
2431 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2432 test "x$ac_build_alias" = x &&
2433 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2434 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2435 { (exit 1); exit 1; }; }
2436 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2437 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2438 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2439 { (exit 1); exit 1; }; }
2440
2441 fi
2442 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2443 echo "${ECHO_T}$ac_cv_build" >&6; }
2444 case $ac_cv_build in
2445 *-*-*) ;;
2446 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2447 echo "$as_me: error: invalid value of canonical build" >&2;}
2448 { (exit 1); exit 1; }; };;
2449 esac
2450 build=$ac_cv_build
2451 ac_save_IFS=$IFS; IFS='-'
2452 set x $ac_cv_build
2453 shift
2454 build_cpu=$1
2455 build_vendor=$2
2456 shift; shift
2457 # Remember, the first character of IFS is used to create $*,
2458 # except with old shells:
2459 build_os=$*
2460 IFS=$ac_save_IFS
2461 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2462
2463
2464 { echo "$as_me:$LINENO: checking host system type" >&5
2465 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2466 if test "${ac_cv_host+set}" = set; then
2467 echo $ECHO_N "(cached) $ECHO_C" >&6
2468 else
2469 if test "x$host_alias" = x; then
2470 ac_cv_host=$ac_cv_build
2471 else
2472 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2473 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2474 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2475 { (exit 1); exit 1; }; }
2476 fi
2477
2478 fi
2479 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2480 echo "${ECHO_T}$ac_cv_host" >&6; }
2481 case $ac_cv_host in
2482 *-*-*) ;;
2483 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2484 echo "$as_me: error: invalid value of canonical host" >&2;}
2485 { (exit 1); exit 1; }; };;
2486 esac
2487 host=$ac_cv_host
2488 ac_save_IFS=$IFS; IFS='-'
2489 set x $ac_cv_host
2490 shift
2491 host_cpu=$1
2492 host_vendor=$2
2493 shift; shift
2494 # Remember, the first character of IFS is used to create $*,
2495 # except with old shells:
2496 host_os=$*
2497 IFS=$ac_save_IFS
2498 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2499
2500
2501 { echo "$as_me:$LINENO: checking target system type" >&5
2502 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2503 if test "${ac_cv_target+set}" = set; then
2504 echo $ECHO_N "(cached) $ECHO_C" >&6
2505 else
2506 if test "x$target_alias" = x; then
2507 ac_cv_target=$ac_cv_host
2508 else
2509 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2510 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2511 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2512 { (exit 1); exit 1; }; }
2513 fi
2514
2515 fi
2516 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2517 echo "${ECHO_T}$ac_cv_target" >&6; }
2518 case $ac_cv_target in
2519 *-*-*) ;;
2520 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2521 echo "$as_me: error: invalid value of canonical target" >&2;}
2522 { (exit 1); exit 1; }; };;
2523 esac
2524 target=$ac_cv_target
2525 ac_save_IFS=$IFS; IFS='-'
2526 set x $ac_cv_target
2527 shift
2528 target_cpu=$1
2529 target_vendor=$2
2530 shift; shift
2531 # Remember, the first character of IFS is used to create $*,
2532 # except with old shells:
2533 target_os=$*
2534 IFS=$ac_save_IFS
2535 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2536
2537
2538 # The aliases save the names the user supplied, while $host etc.
2539 # will get canonicalized.
2540 test -n "$target_alias" &&
2541 test "$program_prefix$program_suffix$program_transform_name" = \
2542 NONENONEs,x,x, &&
2543 program_prefix=${target_alias}-
2544
2545
2546
2547 wx_major_version_number=2
2548 wx_minor_version_number=9
2549 wx_release_number=0
2550 wx_subrelease_number=0
2551
2552 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2553 WX_VERSION=$WX_RELEASE.$wx_release_number
2554 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2555
2556 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2557
2558
2559 wx_top_builddir="`pwd`"
2560
2561
2562
2563
2564 USE_UNIX=1
2565 USE_OS2=0
2566 USE_WIN32=0
2567 USE_DOS=0
2568 USE_BEOS=0
2569 USE_MAC=0
2570
2571 USE_AIX=
2572 USE_BSD= USE_DARWIN= USE_FREEBSD=
2573 USE_GNU= USE_HPUX=
2574 USE_LINUX=
2575 USE_NETBSD=
2576 USE_OPENBSD=
2577 USE_OSF= USE_SGI=
2578 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2579 USE_ULTRIX=
2580 USE_UNIXWARE=
2581
2582 USE_ALPHA=
2583
2584 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2585
2586 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2587
2588 DEFAULT_wxUSE_COCOA=0
2589 DEFAULT_wxUSE_GTK=0
2590 DEFAULT_wxUSE_MAC=0
2591 DEFAULT_wxUSE_MGL=0
2592 DEFAULT_wxUSE_MICROWIN=0
2593 DEFAULT_wxUSE_MOTIF=0
2594 DEFAULT_wxUSE_MSW=0
2595 DEFAULT_wxUSE_PM=0
2596 DEFAULT_wxUSE_X11=0
2597 DEFAULT_wxUSE_DFB=0
2598
2599 DEFAULT_DEFAULT_wxUSE_COCOA=0
2600 DEFAULT_DEFAULT_wxUSE_GTK=0
2601 DEFAULT_DEFAULT_wxUSE_MAC=0
2602 DEFAULT_DEFAULT_wxUSE_MGL=0
2603 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2604 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2605 DEFAULT_DEFAULT_wxUSE_MSW=0
2606 DEFAULT_DEFAULT_wxUSE_PM=0
2607 DEFAULT_DEFAULT_wxUSE_X11=0
2608 DEFAULT_DEFAULT_wxUSE_DFB=0
2609
2610 PROGRAM_EXT=
2611 SO_SUFFIX=so
2612 SAMPLES_RPATH_FLAG=
2613 SAMPLES_RPATH_POSTLINK=
2614
2615 DEFAULT_STD_FLAG=yes
2616
2617 case "${host}" in
2618 *-hp-hpux* )
2619 USE_HPUX=1
2620 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2621 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2622 SO_SUFFIX=sl
2623 cat >>confdefs.h <<\_ACEOF
2624 #define __HPUX__ 1
2625 _ACEOF
2626
2627
2628 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2629 ;;
2630 *-*-linux* )
2631 USE_LINUX=1
2632 cat >>confdefs.h <<\_ACEOF
2633 #define __LINUX__ 1
2634 _ACEOF
2635
2636 TMP=`uname -m`
2637 if test "x$TMP" = "xalpha"; then
2638 USE_ALPHA=1
2639 cat >>confdefs.h <<\_ACEOF
2640 #define __ALPHA__ 1
2641 _ACEOF
2642
2643 fi
2644 DEFAULT_DEFAULT_wxUSE_GTK=1
2645 ;;
2646 *-*-gnu* | *-*-k*bsd*-gnu )
2647 USE_GNU=1
2648 TMP=`uname -m`
2649 if test "x$TMP" = "xalpha"; then
2650 USE_ALPHA=1
2651 cat >>confdefs.h <<\_ACEOF
2652 #define __ALPHA__ 1
2653 _ACEOF
2654
2655 fi
2656 DEFAULT_DEFAULT_wxUSE_GTK=1
2657 ;;
2658 *-*-irix5* | *-*-irix6* )
2659 USE_SGI=1
2660 USE_SVR4=1
2661 cat >>confdefs.h <<\_ACEOF
2662 #define __SGI__ 1
2663 _ACEOF
2664
2665 cat >>confdefs.h <<\_ACEOF
2666 #define __SVR4__ 1
2667 _ACEOF
2668
2669 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2670 ;;
2671 *-*-solaris2* )
2672 USE_SUN=1
2673 USE_SOLARIS=1
2674 USE_SVR4=1
2675 cat >>confdefs.h <<\_ACEOF
2676 #define __SUN__ 1
2677 _ACEOF
2678
2679 cat >>confdefs.h <<\_ACEOF
2680 #define __SOLARIS__ 1
2681 _ACEOF
2682
2683 cat >>confdefs.h <<\_ACEOF
2684 #define __SVR4__ 1
2685 _ACEOF
2686
2687 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2688 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2689 ;;
2690 *-*-sunos4* )
2691 USE_SUN=1
2692 USE_SUNOS=1
2693 USE_BSD=1
2694 cat >>confdefs.h <<\_ACEOF
2695 #define __SUN__ 1
2696 _ACEOF
2697
2698 cat >>confdefs.h <<\_ACEOF
2699 #define __SUNOS__ 1
2700 _ACEOF
2701
2702 cat >>confdefs.h <<\_ACEOF
2703 #define __BSD__ 1
2704 _ACEOF
2705
2706 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2707 ;;
2708 *-*-freebsd*)
2709 USE_BSD=1
2710 USE_FREEBSD=1
2711 cat >>confdefs.h <<\_ACEOF
2712 #define __FREEBSD__ 1
2713 _ACEOF
2714
2715 cat >>confdefs.h <<\_ACEOF
2716 #define __BSD__ 1
2717 _ACEOF
2718
2719 DEFAULT_DEFAULT_wxUSE_GTK=1
2720 ;;
2721 *-*-openbsd*|*-*-mirbsd*)
2722 USE_BSD=1
2723 USE_OPENBSD=1
2724 cat >>confdefs.h <<\_ACEOF
2725 #define __OPENBSD__ 1
2726 _ACEOF
2727
2728 cat >>confdefs.h <<\_ACEOF
2729 #define __BSD__ 1
2730 _ACEOF
2731
2732 DEFAULT_DEFAULT_wxUSE_GTK=1
2733 ;;
2734 *-*-netbsd*)
2735 USE_BSD=1
2736 USE_NETBSD=1
2737 cat >>confdefs.h <<\_ACEOF
2738 #define __NETBSD__ 1
2739 _ACEOF
2740
2741 cat >>confdefs.h <<\_ACEOF
2742 #define __BSD__ 1
2743 _ACEOF
2744
2745 DEFAULT_DEFAULT_wxUSE_GTK=1
2746 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2747
2748 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2749 ;;
2750 *-*-osf* )
2751 USE_ALPHA=1
2752 USE_OSF=1
2753 cat >>confdefs.h <<\_ACEOF
2754 #define __ALPHA__ 1
2755 _ACEOF
2756
2757 cat >>confdefs.h <<\_ACEOF
2758 #define __OSF__ 1
2759 _ACEOF
2760
2761 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2762 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2763 ;;
2764 *-*-dgux5* )
2765 USE_ALPHA=1
2766 USE_SVR4=1
2767 cat >>confdefs.h <<\_ACEOF
2768 #define __ALPHA__ 1
2769 _ACEOF
2770
2771 cat >>confdefs.h <<\_ACEOF
2772 #define __SVR4__ 1
2773 _ACEOF
2774
2775 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2776 ;;
2777 *-*-sysv5* )
2778 USE_SYSV=1
2779 USE_SVR4=1
2780 cat >>confdefs.h <<\_ACEOF
2781 #define __SYSV__ 1
2782 _ACEOF
2783
2784 cat >>confdefs.h <<\_ACEOF
2785 #define __SVR4__ 1
2786 _ACEOF
2787
2788 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2789 ;;
2790 *-*-aix* )
2791 USE_AIX=1
2792 USE_SYSV=1
2793 USE_SVR4=1
2794 SO_SUFFIX=a
2795 cat >>confdefs.h <<\_ACEOF
2796 #define __AIX__ 1
2797 _ACEOF
2798
2799 cat >>confdefs.h <<\_ACEOF
2800 #define __SYSV__ 1
2801 _ACEOF
2802
2803 cat >>confdefs.h <<\_ACEOF
2804 #define __SVR4__ 1
2805 _ACEOF
2806
2807 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2808 ;;
2809
2810 *-*-*UnixWare*)
2811 USE_SYSV=1
2812 USE_SVR4=1
2813 USE_UNIXWARE=1
2814 cat >>confdefs.h <<\_ACEOF
2815 #define __UNIXWARE__ 1
2816 _ACEOF
2817
2818 ;;
2819
2820 *-*-cygwin* | *-*-mingw32* )
2821 SO_SUFFIX=dll
2822 PROGRAM_EXT=".exe"
2823 DEFAULT_DEFAULT_wxUSE_MSW=1
2824 ;;
2825
2826 *-pc-msdosdjgpp )
2827 USE_UNIX=0
2828 USE_DOS=1
2829 cat >>confdefs.h <<\_ACEOF
2830 #define __DOS__ 1
2831 _ACEOF
2832
2833 PROGRAM_EXT=".exe"
2834 DEFAULT_DEFAULT_wxUSE_MGL=1
2835 ;;
2836
2837 *-pc-os2_emx | *-pc-os2-emx )
2838 cat >>confdefs.h <<\_ACEOF
2839 #define __EMX__ 1
2840 _ACEOF
2841
2842 USE_OS2=1
2843 cat >>confdefs.h <<\_ACEOF
2844 #define __OS2__ 1
2845 _ACEOF
2846
2847 PROGRAM_EXT=".exe"
2848 DEFAULT_DEFAULT_wxUSE_PM=1
2849 CXX=gcc
2850 LDFLAGS="$LDFLAGS -Zcrtdll"
2851 ac_executable_extensions=".exe"
2852 export ac_executable_extensions
2853 ac_save_IFS="$IFS"
2854 IFS='\\'
2855 ac_TEMP_PATH=
2856 for ac_dir in $PATH; do
2857 IFS=$ac_save_IFS
2858 if test -z "$ac_TEMP_PATH"; then
2859 ac_TEMP_PATH="$ac_dir"
2860 else
2861 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2862 fi
2863 done
2864 export PATH="$ac_TEMP_PATH"
2865 unset ac_TEMP_PATH
2866 DEFAULT_STD_FLAG=no
2867 ;;
2868
2869 *-*-darwin* )
2870 USE_BSD=1
2871 USE_DARWIN=1
2872 SO_SUFFIX=dylib
2873 cat >>confdefs.h <<\_ACEOF
2874 #define __BSD__ 1
2875 _ACEOF
2876
2877 cat >>confdefs.h <<\_ACEOF
2878 #define __DARWIN__ 1
2879 _ACEOF
2880
2881 cat >>confdefs.h <<\_ACEOF
2882 #define TARGET_CARBON 1
2883 _ACEOF
2884
2885 DEFAULT_DEFAULT_wxUSE_MAC=1
2886 DEFAULT_STD_FLAG=no
2887 ;;
2888 powerpc-apple-macos* )
2889 USE_UNIX=0
2890 ac_cv_c_bigendian=yes
2891 SO_SUFFIX=shlib
2892 DEFAULT_DEFAULT_wxUSE_MAC=1
2893 DEFAULT_STD_FLAG=no
2894 ;;
2895
2896 *-*-beos* )
2897 USE_BEOS=1
2898 cat >>confdefs.h <<\_ACEOF
2899 #define __BEOS__ 1
2900 _ACEOF
2901
2902 ;;
2903
2904 *)
2905 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2906 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2907 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2908 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2909
2910 DEFAULT_DEFAULT_wxUSE_X11=1
2911 DEFAULT_wxUSE_SHARED=no
2912 esac
2913
2914
2915
2916 DEFAULT_wxUSE_ALL_FEATURES=yes
2917
2918 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2919 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2920
2921 DEFAULT_wxUSE_DMALLOC=no
2922 DEFAULT_wxUSE_LIBGNOMEVFS=no
2923 DEFAULT_wxUSE_LIBHILDON=no
2924 DEFAULT_wxUSE_LIBMSPACK=no
2925 DEFAULT_wxUSE_LIBSDL=no
2926 DEFAULT_wxUSE_OPENGL=no
2927
2928 DEFAULT_wxUSE_ACCESSIBILITY=no
2929 DEFAULT_wxUSE_DATAVIEWCTRL=no
2930 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2931 DEFAULT_wxUSE_IPV6=no
2932 DEFAULT_wxUSE_MEDIACTRL=no
2933 DEFAULT_wxUSE_TAB_DIALOG=no
2934 DEFAULT_wxUSE_GSTREAMER8=no
2935
2936 DEFAULT_wxUSE_UNICODE_UTF8=auto
2937 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2938
2939 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2940
2941 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2942
2943 DEFAULT_wxUSE_GTK2=yes
2944
2945 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2946
2947
2948
2949
2950
2951 enablestring=disable
2952 defaultval=
2953 if test -z "$defaultval"; then
2954 if test x"$enablestring" = xdisable; then
2955 defaultval=yes
2956 else
2957 defaultval=no
2958 fi
2959 fi
2960
2961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2962 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2963 # Check whether --enable-gui was given.
2964 if test "${enable_gui+set}" = set; then
2965 enableval=$enable_gui;
2966 if test "$enableval" = yes; then
2967 wx_cv_use_gui='wxUSE_GUI=yes'
2968 else
2969 wx_cv_use_gui='wxUSE_GUI=no'
2970 fi
2971 cache=yes
2972
2973 else
2974
2975 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2976 if test "x$LINE" != x ; then
2977 eval "DEFAULT_$LINE"
2978 cache=yes
2979 else
2980 cache=no
2981 fi
2982
2983 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2984
2985 fi
2986
2987
2988 eval "$wx_cv_use_gui"
2989 if test "x$cache" = xyes; then
2990 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
2991 fi
2992
2993 if test x"$enablestring" = xdisable; then
2994 if test $wxUSE_GUI = yes; then
2995 result=no
2996 else
2997 result=yes
2998 fi
2999 else
3000 result=$wxUSE_GUI
3001 fi
3002
3003 { echo "$as_me:$LINENO: result: $result" >&5
3004 echo "${ECHO_T}$result" >&6; }
3005
3006
3007 enablestring=
3008 defaultval=
3009 if test -z "$defaultval"; then
3010 if test x"$enablestring" = xdisable; then
3011 defaultval=yes
3012 else
3013 defaultval=no
3014 fi
3015 fi
3016
3017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3018 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3019 # Check whether --enable-monolithic was given.
3020 if test "${enable_monolithic+set}" = set; then
3021 enableval=$enable_monolithic;
3022 if test "$enableval" = yes; then
3023 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3024 else
3025 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3026 fi
3027 cache=yes
3028
3029 else
3030
3031 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3032 if test "x$LINE" != x ; then
3033 eval "DEFAULT_$LINE"
3034 cache=yes
3035 else
3036 cache=no
3037 fi
3038
3039 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3040
3041 fi
3042
3043
3044 eval "$wx_cv_use_monolithic"
3045 if test "x$cache" = xyes; then
3046 echo "wxUSE_MONOLITHIC=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3047 fi
3048
3049 if test x"$enablestring" = xdisable; then
3050 if test $wxUSE_MONOLITHIC = yes; then
3051 result=no
3052 else
3053 result=yes
3054 fi
3055 else
3056 result=$wxUSE_MONOLITHIC
3057 fi
3058
3059 { echo "$as_me:$LINENO: result: $result" >&5
3060 echo "${ECHO_T}$result" >&6; }
3061
3062
3063 enablestring=
3064 defaultval=
3065 if test -z "$defaultval"; then
3066 if test x"$enablestring" = xdisable; then
3067 defaultval=yes
3068 else
3069 defaultval=no
3070 fi
3071 fi
3072
3073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3074 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3075 # Check whether --enable-plugins was given.
3076 if test "${enable_plugins+set}" = set; then
3077 enableval=$enable_plugins;
3078 if test "$enableval" = yes; then
3079 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3080 else
3081 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3082 fi
3083 cache=yes
3084
3085 else
3086
3087 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3088 if test "x$LINE" != x ; then
3089 eval "DEFAULT_$LINE"
3090 cache=yes
3091 else
3092 cache=no
3093 fi
3094
3095 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3096
3097 fi
3098
3099
3100 eval "$wx_cv_use_plugins"
3101 if test "x$cache" = xyes; then
3102 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3103 fi
3104
3105 if test x"$enablestring" = xdisable; then
3106 if test $wxUSE_PLUGINS = yes; then
3107 result=no
3108 else
3109 result=yes
3110 fi
3111 else
3112 result=$wxUSE_PLUGINS
3113 fi
3114
3115 { echo "$as_me:$LINENO: result: $result" >&5
3116 echo "${ECHO_T}$result" >&6; }
3117
3118
3119 withstring=without
3120 defaultval=$wxUSE_ALL_FEATURES
3121 if test -z "$defaultval"; then
3122 if test x"$withstring" = xwithout; then
3123 defaultval=yes
3124 else
3125 defaultval=no
3126 fi
3127 fi
3128 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3129 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3130
3131 # Check whether --with-subdirs was given.
3132 if test "${with_subdirs+set}" = set; then
3133 withval=$with_subdirs;
3134 if test "$withval" = yes; then
3135 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3136 else
3137 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3138 fi
3139 cache=yes
3140
3141 else
3142
3143 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3144 if test "x$LINE" != x ; then
3145 eval "DEFAULT_$LINE"
3146 cache=yes
3147 else
3148 cache=no
3149 fi
3150
3151 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3152
3153 fi
3154
3155
3156 eval "$wx_cv_use_subdirs"
3157 if test "x$cache" = xyes; then
3158 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3159 fi
3160
3161 if test x"$withstring" = xwithout; then
3162 if test $wxWITH_SUBDIRS = yes; then
3163 result=no
3164 else
3165 result=yes
3166 fi
3167 else
3168 result=$wxWITH_SUBDIRS
3169 fi
3170
3171 { echo "$as_me:$LINENO: result: $result" >&5
3172 echo "${ECHO_T}$result" >&6; }
3173
3174
3175 # Check whether --with-flavour was given.
3176 if test "${with_flavour+set}" = set; then
3177 withval=$with_flavour; WX_FLAVOUR="$withval"
3178 fi
3179
3180
3181 enablestring=
3182 defaultval=
3183 if test -z "$defaultval"; then
3184 if test x"$enablestring" = xdisable; then
3185 defaultval=yes
3186 else
3187 defaultval=no
3188 fi
3189 fi
3190
3191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3192 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3193 # Check whether --enable-official_build was given.
3194 if test "${enable_official_build+set}" = set; then
3195 enableval=$enable_official_build;
3196 if test "$enableval" = yes; then
3197 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3198 else
3199 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3200 fi
3201 cache=yes
3202
3203 else
3204
3205 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3206 if test "x$LINE" != x ; then
3207 eval "DEFAULT_$LINE"
3208 cache=yes
3209 else
3210 cache=no
3211 fi
3212
3213 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3214
3215 fi
3216
3217
3218 eval "$wx_cv_use_official_build"
3219 if test "x$cache" = xyes; then
3220 echo "wxUSE_OFFICIAL_BUILD=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3221 fi
3222
3223 if test x"$enablestring" = xdisable; then
3224 if test $wxUSE_OFFICIAL_BUILD = yes; then
3225 result=no
3226 else
3227 result=yes
3228 fi
3229 else
3230 result=$wxUSE_OFFICIAL_BUILD
3231 fi
3232
3233 { echo "$as_me:$LINENO: result: $result" >&5
3234 echo "${ECHO_T}$result" >&6; }
3235
3236 # Check whether --enable-vendor was given.
3237 if test "${enable_vendor+set}" = set; then
3238 enableval=$enable_vendor; VENDOR="$enableval"
3239 fi
3240
3241 if test "x$VENDOR" = "x"; then
3242 VENDOR="custom"
3243 fi
3244
3245
3246 enablestring=disable
3247 defaultval=
3248 if test -z "$defaultval"; then
3249 if test x"$enablestring" = xdisable; then
3250 defaultval=yes
3251 else
3252 defaultval=no
3253 fi
3254 fi
3255
3256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3257 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3258 # Check whether --enable-all-features was given.
3259 if test "${enable_all_features+set}" = set; then
3260 enableval=$enable_all_features;
3261 if test "$enableval" = yes; then
3262 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3263 else
3264 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3265 fi
3266 cache=yes
3267
3268 else
3269
3270 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3271 if test "x$LINE" != x ; then
3272 eval "DEFAULT_$LINE"
3273 cache=yes
3274 else
3275 cache=no
3276 fi
3277
3278 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3279
3280 fi
3281
3282
3283 eval "$wx_cv_use_all_features"
3284 if test "x$cache" = xyes; then
3285 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3286 fi
3287
3288 if test x"$enablestring" = xdisable; then
3289 if test $wxUSE_ALL_FEATURES = yes; then
3290 result=no
3291 else
3292 result=yes
3293 fi
3294 else
3295 result=$wxUSE_ALL_FEATURES
3296 fi
3297
3298 { echo "$as_me:$LINENO: result: $result" >&5
3299 echo "${ECHO_T}$result" >&6; }
3300
3301
3302
3303 if test "$wxUSE_GUI" = "yes"; then
3304
3305
3306 enablestring=
3307 defaultval=
3308 if test -z "$defaultval"; then
3309 if test x"$enablestring" = xdisable; then
3310 defaultval=yes
3311 else
3312 defaultval=no
3313 fi
3314 fi
3315
3316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3317 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3318 # Check whether --enable-universal was given.
3319 if test "${enable_universal+set}" = set; then
3320 enableval=$enable_universal;
3321 if test "$enableval" = yes; then
3322 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3323 else
3324 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3325 fi
3326 cache=yes
3327
3328 else
3329
3330 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3331 if test "x$LINE" != x ; then
3332 eval "DEFAULT_$LINE"
3333 cache=yes
3334 else
3335 cache=no
3336 fi
3337
3338 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3339
3340 fi
3341
3342
3343 eval "$wx_cv_use_universal"
3344 if test "x$cache" = xyes; then
3345 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3346 fi
3347
3348 if test x"$enablestring" = xdisable; then
3349 if test $wxUSE_UNIVERSAL = yes; then
3350 result=no
3351 else
3352 result=yes
3353 fi
3354 else
3355 result=$wxUSE_UNIVERSAL
3356 fi
3357
3358 { echo "$as_me:$LINENO: result: $result" >&5
3359 echo "${ECHO_T}$result" >&6; }
3360
3361 if test "$wxUSE_UNIVERSAL" = "yes"; then
3362
3363 # Check whether --with-themes was given.
3364 if test "${with_themes+set}" = set; then
3365 withval=$with_themes; wxUNIV_THEMES="$withval"
3366 fi
3367
3368 fi
3369
3370
3371 # Check whether --with-gtk was given.
3372 if test "${with_gtk+set}" = set; then
3373 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3374 fi
3375
3376
3377 # Check whether --with-motif was given.
3378 if test "${with_motif+set}" = set; then
3379 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3380 fi
3381
3382
3383 # Check whether --with-mac was given.
3384 if test "${with_mac+set}" = set; then
3385 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3386 fi
3387
3388
3389 # Check whether --with-cocoa was given.
3390 if test "${with_cocoa+set}" = set; then
3391 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3392 fi
3393
3394
3395 # Check whether --with-wine was given.
3396 if test "${with_wine+set}" = set; then
3397 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3398 fi
3399
3400
3401 # Check whether --with-msw was given.
3402 if test "${with_msw+set}" = set; then
3403 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3404 fi
3405
3406
3407 # Check whether --with-pm was given.
3408 if test "${with_pm+set}" = set; then
3409 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3410 fi
3411
3412
3413 # Check whether --with-mgl was given.
3414 if test "${with_mgl+set}" = set; then
3415 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3416 fi
3417
3418
3419 # Check whether --with-directfb was given.
3420 if test "${with_directfb+set}" = set; then
3421 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3422 fi
3423
3424
3425 # Check whether --with-microwin was given.
3426 if test "${with_microwin+set}" = set; then
3427 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3428 fi
3429
3430
3431 # Check whether --with-x11 was given.
3432 if test "${with_x11+set}" = set; then
3433 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3434 fi
3435
3436
3437 enablestring=
3438 defaultval=
3439 if test -z "$defaultval"; then
3440 if test x"$enablestring" = xdisable; then
3441 defaultval=yes
3442 else
3443 defaultval=no
3444 fi
3445 fi
3446
3447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3448 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3449 # Check whether --enable-nanox was given.
3450 if test "${enable_nanox+set}" = set; then
3451 enableval=$enable_nanox;
3452 if test "$enableval" = yes; then
3453 wx_cv_use_nanox='wxUSE_NANOX=yes'
3454 else
3455 wx_cv_use_nanox='wxUSE_NANOX=no'
3456 fi
3457 cache=yes
3458
3459 else
3460
3461 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3462 if test "x$LINE" != x ; then
3463 eval "DEFAULT_$LINE"
3464 cache=yes
3465 else
3466 cache=no
3467 fi
3468
3469 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3470
3471 fi
3472
3473
3474 eval "$wx_cv_use_nanox"
3475 if test "x$cache" = xyes; then
3476 echo "wxUSE_NANOX=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3477 fi
3478
3479 if test x"$enablestring" = xdisable; then
3480 if test $wxUSE_NANOX = yes; then
3481 result=no
3482 else
3483 result=yes
3484 fi
3485 else
3486 result=$wxUSE_NANOX
3487 fi
3488
3489 { echo "$as_me:$LINENO: result: $result" >&5
3490 echo "${ECHO_T}$result" >&6; }
3491
3492
3493 # Check whether --enable-gtk2 was given.
3494 if test "${enable_gtk2+set}" = set; then
3495 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3496 fi
3497
3498
3499 enablestring=
3500 defaultval=
3501 if test -z "$defaultval"; then
3502 if test x"$enablestring" = xdisable; then
3503 defaultval=yes
3504 else
3505 defaultval=no
3506 fi
3507 fi
3508
3509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3510 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3511 # Check whether --enable-gpe was given.
3512 if test "${enable_gpe+set}" = set; then
3513 enableval=$enable_gpe;
3514 if test "$enableval" = yes; then
3515 wx_cv_use_gpe='wxUSE_GPE=yes'
3516 else
3517 wx_cv_use_gpe='wxUSE_GPE=no'
3518 fi
3519 cache=yes
3520
3521 else
3522
3523 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3524 if test "x$LINE" != x ; then
3525 eval "DEFAULT_$LINE"
3526 cache=yes
3527 else
3528 cache=no
3529 fi
3530
3531 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3532
3533 fi
3534
3535
3536 eval "$wx_cv_use_gpe"
3537 if test "x$cache" = xyes; then
3538 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3539 fi
3540
3541 if test x"$enablestring" = xdisable; then
3542 if test $wxUSE_GPE = yes; then
3543 result=no
3544 else
3545 result=yes
3546 fi
3547 else
3548 result=$wxUSE_GPE
3549 fi
3550
3551 { echo "$as_me:$LINENO: result: $result" >&5
3552 echo "${ECHO_T}$result" >&6; }
3553
3554
3555
3556
3557 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3558 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3559
3560 # Check whether --with-libpng was given.
3561 if test "${with_libpng+set}" = set; then
3562 withval=$with_libpng;
3563 if test "$withval" = yes; then
3564 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3565 elif test "$withval" = no; then
3566 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3567 elif test "$withval" = sys; then
3568 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3569 elif test "$withval" = builtin; then
3570 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3571 else
3572 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3573 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3574 { (exit 1); exit 1; }; }
3575 fi
3576 cache=yes
3577
3578 else
3579
3580 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3581 if test "x$LINE" != x ; then
3582 eval "DEFAULT_$LINE"
3583 cache=yes
3584 else
3585 cache=no
3586 fi
3587
3588 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3589
3590 fi
3591
3592
3593 eval "$wx_cv_use_libpng"
3594 if test "x$cache" = xyes; then
3595 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3596 fi
3597
3598 if test "$wxUSE_LIBPNG" = yes; then
3599 { echo "$as_me:$LINENO: result: yes" >&5
3600 echo "${ECHO_T}yes" >&6; }
3601 elif test "$wxUSE_LIBPNG" = no; then
3602 { echo "$as_me:$LINENO: result: no" >&5
3603 echo "${ECHO_T}no" >&6; }
3604 elif test "$wxUSE_LIBPNG" = sys; then
3605 { echo "$as_me:$LINENO: result: system version" >&5
3606 echo "${ECHO_T}system version" >&6; }
3607 elif test "$wxUSE_LIBPNG" = builtin; then
3608 { echo "$as_me:$LINENO: result: builtin version" >&5
3609 echo "${ECHO_T}builtin version" >&6; }
3610 else
3611 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3612 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3613 { (exit 1); exit 1; }; }
3614 fi
3615
3616
3617 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3618 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3619
3620 # Check whether --with-libjpeg was given.
3621 if test "${with_libjpeg+set}" = set; then
3622 withval=$with_libjpeg;
3623 if test "$withval" = yes; then
3624 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3625 elif test "$withval" = no; then
3626 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3627 elif test "$withval" = sys; then
3628 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3629 elif test "$withval" = builtin; then
3630 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3631 else
3632 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3633 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3634 { (exit 1); exit 1; }; }
3635 fi
3636 cache=yes
3637
3638 else
3639
3640 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3641 if test "x$LINE" != x ; then
3642 eval "DEFAULT_$LINE"
3643 cache=yes
3644 else
3645 cache=no
3646 fi
3647
3648 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3649
3650 fi
3651
3652
3653 eval "$wx_cv_use_libjpeg"
3654 if test "x$cache" = xyes; then
3655 echo "wxUSE_LIBJPEG=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3656 fi
3657
3658 if test "$wxUSE_LIBJPEG" = yes; then
3659 { echo "$as_me:$LINENO: result: yes" >&5
3660 echo "${ECHO_T}yes" >&6; }
3661 elif test "$wxUSE_LIBJPEG" = no; then
3662 { echo "$as_me:$LINENO: result: no" >&5
3663 echo "${ECHO_T}no" >&6; }
3664 elif test "$wxUSE_LIBJPEG" = sys; then
3665 { echo "$as_me:$LINENO: result: system version" >&5
3666 echo "${ECHO_T}system version" >&6; }
3667 elif test "$wxUSE_LIBJPEG" = builtin; then
3668 { echo "$as_me:$LINENO: result: builtin version" >&5
3669 echo "${ECHO_T}builtin version" >&6; }
3670 else
3671 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3672 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3673 { (exit 1); exit 1; }; }
3674 fi
3675
3676
3677 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3678 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3679
3680 # Check whether --with-libtiff was given.
3681 if test "${with_libtiff+set}" = set; then
3682 withval=$with_libtiff;
3683 if test "$withval" = yes; then
3684 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3685 elif test "$withval" = no; then
3686 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3687 elif test "$withval" = sys; then
3688 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3689 elif test "$withval" = builtin; then
3690 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3691 else
3692 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3693 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3694 { (exit 1); exit 1; }; }
3695 fi
3696 cache=yes
3697
3698 else
3699
3700 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3701 if test "x$LINE" != x ; then
3702 eval "DEFAULT_$LINE"
3703 cache=yes
3704 else
3705 cache=no
3706 fi
3707
3708 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3709
3710 fi
3711
3712
3713 eval "$wx_cv_use_libtiff"
3714 if test "x$cache" = xyes; then
3715 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3716 fi
3717
3718 if test "$wxUSE_LIBTIFF" = yes; then
3719 { echo "$as_me:$LINENO: result: yes" >&5
3720 echo "${ECHO_T}yes" >&6; }
3721 elif test "$wxUSE_LIBTIFF" = no; then
3722 { echo "$as_me:$LINENO: result: no" >&5
3723 echo "${ECHO_T}no" >&6; }
3724 elif test "$wxUSE_LIBTIFF" = sys; then
3725 { echo "$as_me:$LINENO: result: system version" >&5
3726 echo "${ECHO_T}system version" >&6; }
3727 elif test "$wxUSE_LIBTIFF" = builtin; then
3728 { echo "$as_me:$LINENO: result: builtin version" >&5
3729 echo "${ECHO_T}builtin version" >&6; }
3730 else
3731 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3732 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3733 { (exit 1); exit 1; }; }
3734 fi
3735
3736
3737 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3738 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3739
3740 # Check whether --with-libxpm was given.
3741 if test "${with_libxpm+set}" = set; then
3742 withval=$with_libxpm;
3743 if test "$withval" = yes; then
3744 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3745 elif test "$withval" = no; then
3746 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3747 elif test "$withval" = sys; then
3748 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3749 elif test "$withval" = builtin; then
3750 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3751 else
3752 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3753 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3754 { (exit 1); exit 1; }; }
3755 fi
3756 cache=yes
3757
3758 else
3759
3760 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3761 if test "x$LINE" != x ; then
3762 eval "DEFAULT_$LINE"
3763 cache=yes
3764 else
3765 cache=no
3766 fi
3767
3768 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3769
3770 fi
3771
3772
3773 eval "$wx_cv_use_libxpm"
3774 if test "x$cache" = xyes; then
3775 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3776 fi
3777
3778 if test "$wxUSE_LIBXPM" = yes; then
3779 { echo "$as_me:$LINENO: result: yes" >&5
3780 echo "${ECHO_T}yes" >&6; }
3781 elif test "$wxUSE_LIBXPM" = no; then
3782 { echo "$as_me:$LINENO: result: no" >&5
3783 echo "${ECHO_T}no" >&6; }
3784 elif test "$wxUSE_LIBXPM" = sys; then
3785 { echo "$as_me:$LINENO: result: system version" >&5
3786 echo "${ECHO_T}system version" >&6; }
3787 elif test "$wxUSE_LIBXPM" = builtin; then
3788 { echo "$as_me:$LINENO: result: builtin version" >&5
3789 echo "${ECHO_T}builtin version" >&6; }
3790 else
3791 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3792 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3793 { (exit 1); exit 1; }; }
3794 fi
3795
3796
3797 withstring=
3798 defaultval=$wxUSE_ALL_FEATURES
3799 if test -z "$defaultval"; then
3800 if test x"$withstring" = xwithout; then
3801 defaultval=yes
3802 else
3803 defaultval=no
3804 fi
3805 fi
3806 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3807 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3808
3809 # Check whether --with-libmspack was given.
3810 if test "${with_libmspack+set}" = set; then
3811 withval=$with_libmspack;
3812 if test "$withval" = yes; then
3813 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3814 else
3815 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3816 fi
3817 cache=yes
3818
3819 else
3820
3821 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3822 if test "x$LINE" != x ; then
3823 eval "DEFAULT_$LINE"
3824 cache=yes
3825 else
3826 cache=no
3827 fi
3828
3829 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3830
3831 fi
3832
3833
3834 eval "$wx_cv_use_libmspack"
3835 if test "x$cache" = xyes; then
3836 echo "wxUSE_LIBMSPACK=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3837 fi
3838
3839 if test x"$withstring" = xwithout; then
3840 if test $wxUSE_LIBMSPACK = yes; then
3841 result=no
3842 else
3843 result=yes
3844 fi
3845 else
3846 result=$wxUSE_LIBMSPACK
3847 fi
3848
3849 { echo "$as_me:$LINENO: result: $result" >&5
3850 echo "${ECHO_T}$result" >&6; }
3851
3852
3853 withstring=without
3854 defaultval=$wxUSE_ALL_FEATURES
3855 if test -z "$defaultval"; then
3856 if test x"$withstring" = xwithout; then
3857 defaultval=yes
3858 else
3859 defaultval=no
3860 fi
3861 fi
3862 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3863 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3864
3865 # Check whether --with-gtkprint was given.
3866 if test "${with_gtkprint+set}" = set; then
3867 withval=$with_gtkprint;
3868 if test "$withval" = yes; then
3869 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3870 else
3871 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3872 fi
3873 cache=yes
3874
3875 else
3876
3877 LINE=`grep "^wxUSE_GTKPRINT=" ${wx_arg_cache_file}`
3878 if test "x$LINE" != x ; then
3879 eval "DEFAULT_$LINE"
3880 cache=yes
3881 else
3882 cache=no
3883 fi
3884
3885 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3886
3887 fi
3888
3889
3890 eval "$wx_cv_use_gtkprint"
3891 if test "x$cache" = xyes; then
3892 echo "wxUSE_GTKPRINT=$wxUSE_GTKPRINT" >> ${wx_arg_cache_file}.tmp
3893 fi
3894
3895 if test x"$withstring" = xwithout; then
3896 if test $wxUSE_GTKPRINT = yes; then
3897 result=no
3898 else
3899 result=yes
3900 fi
3901 else
3902 result=$wxUSE_GTKPRINT
3903 fi
3904
3905 { echo "$as_me:$LINENO: result: $result" >&5
3906 echo "${ECHO_T}$result" >&6; }
3907
3908
3909 withstring=without
3910 defaultval=$wxUSE_ALL_FEATURES
3911 if test -z "$defaultval"; then
3912 if test x"$withstring" = xwithout; then
3913 defaultval=yes
3914 else
3915 defaultval=no
3916 fi
3917 fi
3918 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3919 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3920
3921 # Check whether --with-gnomeprint was given.
3922 if test "${with_gnomeprint+set}" = set; then
3923 withval=$with_gnomeprint;
3924 if test "$withval" = yes; then
3925 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3926 else
3927 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3928 fi
3929 cache=yes
3930
3931 else
3932
3933 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3934 if test "x$LINE" != x ; then
3935 eval "DEFAULT_$LINE"
3936 cache=yes
3937 else
3938 cache=no
3939 fi
3940
3941 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3942
3943 fi
3944
3945
3946 eval "$wx_cv_use_gnomeprint"
3947 if test "x$cache" = xyes; then
3948 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3949 fi
3950
3951 if test x"$withstring" = xwithout; then
3952 if test $wxUSE_LIBGNOMEPRINT = yes; then
3953 result=no
3954 else
3955 result=yes
3956 fi
3957 else
3958 result=$wxUSE_LIBGNOMEPRINT
3959 fi
3960
3961 { echo "$as_me:$LINENO: result: $result" >&5
3962 echo "${ECHO_T}$result" >&6; }
3963
3964
3965 withstring=
3966 defaultval=$wxUSE_ALL_FEATURES
3967 if test -z "$defaultval"; then
3968 if test x"$withstring" = xwithout; then
3969 defaultval=yes
3970 else
3971 defaultval=no
3972 fi
3973 fi
3974 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3975 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3976
3977 # Check whether --with-gnomevfs was given.
3978 if test "${with_gnomevfs+set}" = set; then
3979 withval=$with_gnomevfs;
3980 if test "$withval" = yes; then
3981 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3982 else
3983 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3984 fi
3985 cache=yes
3986
3987 else
3988
3989 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3990 if test "x$LINE" != x ; then
3991 eval "DEFAULT_$LINE"
3992 cache=yes
3993 else
3994 cache=no
3995 fi
3996
3997 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3998
3999 fi
4000
4001
4002 eval "$wx_cv_use_gnomevfs"
4003 if test "x$cache" = xyes; then
4004 echo "wxUSE_LIBGNOMEVFS=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
4005 fi
4006
4007 if test x"$withstring" = xwithout; then
4008 if test $wxUSE_LIBGNOMEVFS = yes; then
4009 result=no
4010 else
4011 result=yes
4012 fi
4013 else
4014 result=$wxUSE_LIBGNOMEVFS
4015 fi
4016
4017 { echo "$as_me:$LINENO: result: $result" >&5
4018 echo "${ECHO_T}$result" >&6; }
4019
4020
4021 withstring=
4022 defaultval=$wxUSE_ALL_FEATURES
4023 if test -z "$defaultval"; then
4024 if test x"$withstring" = xwithout; then
4025 defaultval=yes
4026 else
4027 defaultval=no
4028 fi
4029 fi
4030 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4031 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4032
4033 # Check whether --with-hildon was given.
4034 if test "${with_hildon+set}" = set; then
4035 withval=$with_hildon;
4036 if test "$withval" = yes; then
4037 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4038 else
4039 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4040 fi
4041 cache=yes
4042
4043 else
4044
4045 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
4046 if test "x$LINE" != x ; then
4047 eval "DEFAULT_$LINE"
4048 cache=yes
4049 else
4050 cache=no
4051 fi
4052
4053 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4054
4055 fi
4056
4057
4058 eval "$wx_cv_use_hildon"
4059 if test "x$cache" = xyes; then
4060 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
4061 fi
4062
4063 if test x"$withstring" = xwithout; then
4064 if test $wxUSE_LIBHILDON = yes; then
4065 result=no
4066 else
4067 result=yes
4068 fi
4069 else
4070 result=$wxUSE_LIBHILDON
4071 fi
4072
4073 { echo "$as_me:$LINENO: result: $result" >&5
4074 echo "${ECHO_T}$result" >&6; }
4075
4076
4077 withstring=
4078 defaultval=$wxUSE_ALL_FEATURES
4079 if test -z "$defaultval"; then
4080 if test x"$withstring" = xwithout; then
4081 defaultval=yes
4082 else
4083 defaultval=no
4084 fi
4085 fi
4086 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4087 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4088
4089 # Check whether --with-opengl was given.
4090 if test "${with_opengl+set}" = set; then
4091 withval=$with_opengl;
4092 if test "$withval" = yes; then
4093 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4094 else
4095 wx_cv_use_opengl='wxUSE_OPENGL=no'
4096 fi
4097 cache=yes
4098
4099 else
4100
4101 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4102 if test "x$LINE" != x ; then
4103 eval "DEFAULT_$LINE"
4104 cache=yes
4105 else
4106 cache=no
4107 fi
4108
4109 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4110
4111 fi
4112
4113
4114 eval "$wx_cv_use_opengl"
4115 if test "x$cache" = xyes; then
4116 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4117 fi
4118
4119 if test x"$withstring" = xwithout; then
4120 if test $wxUSE_OPENGL = yes; then
4121 result=no
4122 else
4123 result=yes
4124 fi
4125 else
4126 result=$wxUSE_OPENGL
4127 fi
4128
4129 { echo "$as_me:$LINENO: result: $result" >&5
4130 echo "${ECHO_T}$result" >&6; }
4131
4132
4133 fi
4134
4135
4136 withstring=
4137 defaultval=$wxUSE_ALL_FEATURES
4138 if test -z "$defaultval"; then
4139 if test x"$withstring" = xwithout; then
4140 defaultval=yes
4141 else
4142 defaultval=no
4143 fi
4144 fi
4145 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4146 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4147
4148 # Check whether --with-dmalloc was given.
4149 if test "${with_dmalloc+set}" = set; then
4150 withval=$with_dmalloc;
4151 if test "$withval" = yes; then
4152 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4153 else
4154 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4155 fi
4156 cache=yes
4157
4158 else
4159
4160 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4161 if test "x$LINE" != x ; then
4162 eval "DEFAULT_$LINE"
4163 cache=yes
4164 else
4165 cache=no
4166 fi
4167
4168 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4169
4170 fi
4171
4172
4173 eval "$wx_cv_use_dmalloc"
4174 if test "x$cache" = xyes; then
4175 echo "wxUSE_DMALLOC=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4176 fi
4177
4178 if test x"$withstring" = xwithout; then
4179 if test $wxUSE_DMALLOC = yes; then
4180 result=no
4181 else
4182 result=yes
4183 fi
4184 else
4185 result=$wxUSE_DMALLOC
4186 fi
4187
4188 { echo "$as_me:$LINENO: result: $result" >&5
4189 echo "${ECHO_T}$result" >&6; }
4190
4191
4192 withstring=
4193 defaultval=$wxUSE_ALL_FEATURES
4194 if test -z "$defaultval"; then
4195 if test x"$withstring" = xwithout; then
4196 defaultval=yes
4197 else
4198 defaultval=no
4199 fi
4200 fi
4201 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4202 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4203
4204 # Check whether --with-sdl was given.
4205 if test "${with_sdl+set}" = set; then
4206 withval=$with_sdl;
4207 if test "$withval" = yes; then
4208 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4209 else
4210 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4211 fi
4212 cache=yes
4213
4214 else
4215
4216 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4217 if test "x$LINE" != x ; then
4218 eval "DEFAULT_$LINE"
4219 cache=yes
4220 else
4221 cache=no
4222 fi
4223
4224 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4225
4226 fi
4227
4228
4229 eval "$wx_cv_use_sdl"
4230 if test "x$cache" = xyes; then
4231 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4232 fi
4233
4234 if test x"$withstring" = xwithout; then
4235 if test $wxUSE_LIBSDL = yes; then
4236 result=no
4237 else
4238 result=yes
4239 fi
4240 else
4241 result=$wxUSE_LIBSDL
4242 fi
4243
4244 { echo "$as_me:$LINENO: result: $result" >&5
4245 echo "${ECHO_T}$result" >&6; }
4246
4247
4248 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4249 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4250
4251 # Check whether --with-regex was given.
4252 if test "${with_regex+set}" = set; then
4253 withval=$with_regex;
4254 if test "$withval" = yes; then
4255 wx_cv_use_regex='wxUSE_REGEX=yes'
4256 elif test "$withval" = no; then
4257 wx_cv_use_regex='wxUSE_REGEX=no'
4258 elif test "$withval" = sys; then
4259 wx_cv_use_regex='wxUSE_REGEX=sys'
4260 elif test "$withval" = builtin; then
4261 wx_cv_use_regex='wxUSE_REGEX=builtin'
4262 else
4263 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4264 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4265 { (exit 1); exit 1; }; }
4266 fi
4267 cache=yes
4268
4269 else
4270
4271 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4272 if test "x$LINE" != x ; then
4273 eval "DEFAULT_$LINE"
4274 cache=yes
4275 else
4276 cache=no
4277 fi
4278
4279 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4280
4281 fi
4282
4283
4284 eval "$wx_cv_use_regex"
4285 if test "x$cache" = xyes; then
4286 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4287 fi
4288
4289 if test "$wxUSE_REGEX" = yes; then
4290 { echo "$as_me:$LINENO: result: yes" >&5
4291 echo "${ECHO_T}yes" >&6; }
4292 elif test "$wxUSE_REGEX" = no; then
4293 { echo "$as_me:$LINENO: result: no" >&5
4294 echo "${ECHO_T}no" >&6; }
4295 elif test "$wxUSE_REGEX" = sys; then
4296 { echo "$as_me:$LINENO: result: system version" >&5
4297 echo "${ECHO_T}system version" >&6; }
4298 elif test "$wxUSE_REGEX" = builtin; then
4299 { echo "$as_me:$LINENO: result: builtin version" >&5
4300 echo "${ECHO_T}builtin version" >&6; }
4301 else
4302 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4303 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4304 { (exit 1); exit 1; }; }
4305 fi
4306
4307
4308 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4309 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4310
4311 # Check whether --with-zlib was given.
4312 if test "${with_zlib+set}" = set; then
4313 withval=$with_zlib;
4314 if test "$withval" = yes; then
4315 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4316 elif test "$withval" = no; then
4317 wx_cv_use_zlib='wxUSE_ZLIB=no'
4318 elif test "$withval" = sys; then
4319 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4320 elif test "$withval" = builtin; then
4321 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4322 else
4323 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4324 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4325 { (exit 1); exit 1; }; }
4326 fi
4327 cache=yes
4328
4329 else
4330
4331 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4332 if test "x$LINE" != x ; then
4333 eval "DEFAULT_$LINE"
4334 cache=yes
4335 else
4336 cache=no
4337 fi
4338
4339 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4340
4341 fi
4342
4343
4344 eval "$wx_cv_use_zlib"
4345 if test "x$cache" = xyes; then
4346 echo "wxUSE_ZLIB=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4347 fi
4348
4349 if test "$wxUSE_ZLIB" = yes; then
4350 { echo "$as_me:$LINENO: result: yes" >&5
4351 echo "${ECHO_T}yes" >&6; }
4352 elif test "$wxUSE_ZLIB" = no; then
4353 { echo "$as_me:$LINENO: result: no" >&5
4354 echo "${ECHO_T}no" >&6; }
4355 elif test "$wxUSE_ZLIB" = sys; then
4356 { echo "$as_me:$LINENO: result: system version" >&5
4357 echo "${ECHO_T}system version" >&6; }
4358 elif test "$wxUSE_ZLIB" = builtin; then
4359 { echo "$as_me:$LINENO: result: builtin version" >&5
4360 echo "${ECHO_T}builtin version" >&6; }
4361 else
4362 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4363 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4364 { (exit 1); exit 1; }; }
4365 fi
4366
4367
4368 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4369 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4370
4371 # Check whether --with-expat was given.
4372 if test "${with_expat+set}" = set; then
4373 withval=$with_expat;
4374 if test "$withval" = yes; then
4375 wx_cv_use_expat='wxUSE_EXPAT=yes'
4376 elif test "$withval" = no; then
4377 wx_cv_use_expat='wxUSE_EXPAT=no'
4378 elif test "$withval" = sys; then
4379 wx_cv_use_expat='wxUSE_EXPAT=sys'
4380 elif test "$withval" = builtin; then
4381 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4382 else
4383 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4384 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4385 { (exit 1); exit 1; }; }
4386 fi
4387 cache=yes
4388
4389 else
4390
4391 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4392 if test "x$LINE" != x ; then
4393 eval "DEFAULT_$LINE"
4394 cache=yes
4395 else
4396 cache=no
4397 fi
4398
4399 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4400
4401 fi
4402
4403
4404 eval "$wx_cv_use_expat"
4405 if test "x$cache" = xyes; then
4406 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4407 fi
4408
4409 if test "$wxUSE_EXPAT" = yes; then
4410 { echo "$as_me:$LINENO: result: yes" >&5
4411 echo "${ECHO_T}yes" >&6; }
4412 elif test "$wxUSE_EXPAT" = no; then
4413 { echo "$as_me:$LINENO: result: no" >&5
4414 echo "${ECHO_T}no" >&6; }
4415 elif test "$wxUSE_EXPAT" = sys; then
4416 { echo "$as_me:$LINENO: result: system version" >&5
4417 echo "${ECHO_T}system version" >&6; }
4418 elif test "$wxUSE_EXPAT" = builtin; then
4419 { echo "$as_me:$LINENO: result: builtin version" >&5
4420 echo "${ECHO_T}builtin version" >&6; }
4421 else
4422 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4423 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4424 { (exit 1); exit 1; }; }
4425 fi
4426
4427
4428 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4429 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4430
4431 # Check whether --with-macosx-sdk was given.
4432 if test "${with_macosx_sdk+set}" = set; then
4433 withval=$with_macosx_sdk;
4434 wxUSE_MACOSX_SDK=$withval
4435 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4436
4437 fi
4438
4439 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4440 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4441
4442 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4443 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4444
4445 # Check whether --with-macosx-version-min was given.
4446 if test "${with_macosx_version_min+set}" = set; then
4447 withval=$with_macosx_version_min;
4448 wxUSE_MACOSX_VERSION_MIN=$withval
4449 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4450
4451 fi
4452
4453 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4454 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4455
4456
4457
4458 enablestring=disable
4459 defaultval=
4460 if test -z "$defaultval"; then
4461 if test x"$enablestring" = xdisable; then
4462 defaultval=yes
4463 else
4464 defaultval=no
4465 fi
4466 fi
4467
4468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4469 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4470 # Check whether --enable-shared was given.
4471 if test "${enable_shared+set}" = set; then
4472 enableval=$enable_shared;
4473 if test "$enableval" = yes; then
4474 wx_cv_use_shared='wxUSE_SHARED=yes'
4475 else
4476 wx_cv_use_shared='wxUSE_SHARED=no'
4477 fi
4478 cache=yes
4479
4480 else
4481
4482 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4483 if test "x$LINE" != x ; then
4484 eval "DEFAULT_$LINE"
4485 cache=yes
4486 else
4487 cache=no
4488 fi
4489
4490 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4491
4492 fi
4493
4494
4495 eval "$wx_cv_use_shared"
4496 if test "x$cache" = xyes; then
4497 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4498 fi
4499
4500 if test x"$enablestring" = xdisable; then
4501 if test $wxUSE_SHARED = yes; then
4502 result=no
4503 else
4504 result=yes
4505 fi
4506 else
4507 result=$wxUSE_SHARED
4508 fi
4509
4510 { echo "$as_me:$LINENO: result: $result" >&5
4511 echo "${ECHO_T}$result" >&6; }
4512
4513
4514 enablestring=disable
4515 defaultval=
4516 if test -z "$defaultval"; then
4517 if test x"$enablestring" = xdisable; then
4518 defaultval=yes
4519 else
4520 defaultval=no
4521 fi
4522 fi
4523
4524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4525 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4526 # Check whether --enable-optimise was given.
4527 if test "${enable_optimise+set}" = set; then
4528 enableval=$enable_optimise;
4529 if test "$enableval" = yes; then
4530 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4531 else
4532 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4533 fi
4534 cache=yes
4535
4536 else
4537
4538 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4539 if test "x$LINE" != x ; then
4540 eval "DEFAULT_$LINE"
4541 cache=yes
4542 else
4543 cache=no
4544 fi
4545
4546 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4547
4548 fi
4549
4550
4551 eval "$wx_cv_use_optimise"
4552 if test "x$cache" = xyes; then
4553 echo "wxUSE_OPTIMISE=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4554 fi
4555
4556 if test x"$enablestring" = xdisable; then
4557 if test $wxUSE_OPTIMISE = yes; then
4558 result=no
4559 else
4560 result=yes
4561 fi
4562 else
4563 result=$wxUSE_OPTIMISE
4564 fi
4565
4566 { echo "$as_me:$LINENO: result: $result" >&5
4567 echo "${ECHO_T}$result" >&6; }
4568
4569
4570 enablestring=
4571 defaultval=
4572 if test -z "$defaultval"; then
4573 if test x"$enablestring" = xdisable; then
4574 defaultval=yes
4575 else
4576 defaultval=no
4577 fi
4578 fi
4579
4580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4581 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4582 # Check whether --enable-debug was given.
4583 if test "${enable_debug+set}" = set; then
4584 enableval=$enable_debug;
4585 if test "$enableval" = yes; then
4586 wx_cv_use_debug='wxUSE_DEBUG=yes'
4587 else
4588 wx_cv_use_debug='wxUSE_DEBUG=no'
4589 fi
4590 cache=yes
4591
4592 else
4593
4594 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4595 if test "x$LINE" != x ; then
4596 eval "DEFAULT_$LINE"
4597 cache=yes
4598 else
4599 cache=no
4600 fi
4601
4602 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4603
4604 fi
4605
4606
4607 eval "$wx_cv_use_debug"
4608 if test "x$cache" = xyes; then
4609 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4610 fi
4611
4612 if test x"$enablestring" = xdisable; then
4613 if test $wxUSE_DEBUG = yes; then
4614 result=no
4615 else
4616 result=yes
4617 fi
4618 else
4619 result=$wxUSE_DEBUG
4620 fi
4621
4622 { echo "$as_me:$LINENO: result: $result" >&5
4623 echo "${ECHO_T}$result" >&6; }
4624
4625
4626 enablestring=
4627 defaultval=
4628 if test -z "$defaultval"; then
4629 if test x"$enablestring" = xdisable; then
4630 defaultval=yes
4631 else
4632 defaultval=no
4633 fi
4634 fi
4635
4636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4637 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4638 # Check whether --enable-stl was given.
4639 if test "${enable_stl+set}" = set; then
4640 enableval=$enable_stl;
4641 if test "$enableval" = yes; then
4642 wx_cv_use_stl='wxUSE_STL=yes'
4643 else
4644 wx_cv_use_stl='wxUSE_STL=no'
4645 fi
4646 cache=yes
4647
4648 else
4649
4650 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4651 if test "x$LINE" != x ; then
4652 eval "DEFAULT_$LINE"
4653 cache=yes
4654 else
4655 cache=no
4656 fi
4657
4658 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4659
4660 fi
4661
4662
4663 eval "$wx_cv_use_stl"
4664 if test "x$cache" = xyes; then
4665 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4666 fi
4667
4668 if test x"$enablestring" = xdisable; then
4669 if test $wxUSE_STL = yes; then
4670 result=no
4671 else
4672 result=yes
4673 fi
4674 else
4675 result=$wxUSE_STL
4676 fi
4677
4678 { echo "$as_me:$LINENO: result: $result" >&5
4679 echo "${ECHO_T}$result" >&6; }
4680
4681
4682 enablestring=
4683 defaultval=
4684 if test -z "$defaultval"; then
4685 if test x"$enablestring" = xdisable; then
4686 defaultval=yes
4687 else
4688 defaultval=no
4689 fi
4690 fi
4691
4692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4693 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4694 # Check whether --enable-std_iostreams was given.
4695 if test "${enable_std_iostreams+set}" = set; then
4696 enableval=$enable_std_iostreams;
4697 if test "$enableval" = yes; then
4698 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4699 else
4700 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4701 fi
4702 cache=yes
4703
4704 else
4705
4706 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4707 if test "x$LINE" != x ; then
4708 eval "DEFAULT_$LINE"
4709 cache=yes
4710 else
4711 cache=no
4712 fi
4713
4714 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4715
4716 fi
4717
4718
4719 eval "$wx_cv_use_std_iostreams"
4720 if test "x$cache" = xyes; then
4721 echo "wxUSE_STD_IOSTREAM=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4722 fi
4723
4724 if test x"$enablestring" = xdisable; then
4725 if test $wxUSE_STD_IOSTREAM = yes; then
4726 result=no
4727 else
4728 result=yes
4729 fi
4730 else
4731 result=$wxUSE_STD_IOSTREAM
4732 fi
4733
4734 { echo "$as_me:$LINENO: result: $result" >&5
4735 echo "${ECHO_T}$result" >&6; }
4736
4737
4738 enablestring=
4739 defaultval=
4740 if test -z "$defaultval"; then
4741 if test x"$enablestring" = xdisable; then
4742 defaultval=yes
4743 else
4744 defaultval=no
4745 fi
4746 fi
4747
4748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4749 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4750 # Check whether --enable-std_string was given.
4751 if test "${enable_std_string+set}" = set; then
4752 enableval=$enable_std_string;
4753 if test "$enableval" = yes; then
4754 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4755 else
4756 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4757 fi
4758 cache=yes
4759
4760 else
4761
4762 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4763 if test "x$LINE" != x ; then
4764 eval "DEFAULT_$LINE"
4765 cache=yes
4766 else
4767 cache=no
4768 fi
4769
4770 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4771
4772 fi
4773
4774
4775 eval "$wx_cv_use_std_string"
4776 if test "x$cache" = xyes; then
4777 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4778 fi
4779
4780 if test x"$enablestring" = xdisable; then
4781 if test $wxUSE_STD_STRING = yes; then
4782 result=no
4783 else
4784 result=yes
4785 fi
4786 else
4787 result=$wxUSE_STD_STRING
4788 fi
4789
4790 { echo "$as_me:$LINENO: result: $result" >&5
4791 echo "${ECHO_T}$result" >&6; }
4792
4793
4794 enablestring=disable
4795 defaultval=
4796 if test -z "$defaultval"; then
4797 if test x"$enablestring" = xdisable; then
4798 defaultval=yes
4799 else
4800 defaultval=no
4801 fi
4802 fi
4803
4804 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4805 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4806 # Check whether --enable-unicode was given.
4807 if test "${enable_unicode+set}" = set; then
4808 enableval=$enable_unicode;
4809 if test "$enableval" = yes; then
4810 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4811 else
4812 wx_cv_use_unicode='wxUSE_UNICODE=no'
4813 fi
4814 cache=yes
4815
4816 else
4817
4818 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4819 if test "x$LINE" != x ; then
4820 eval "DEFAULT_$LINE"
4821 cache=yes
4822 else
4823 cache=no
4824 fi
4825
4826 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4827
4828 fi
4829
4830
4831 eval "$wx_cv_use_unicode"
4832 if test "x$cache" = xyes; then
4833 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4834 fi
4835
4836 if test x"$enablestring" = xdisable; then
4837 if test $wxUSE_UNICODE = yes; then
4838 result=no
4839 else
4840 result=yes
4841 fi
4842 else
4843 result=$wxUSE_UNICODE
4844 fi
4845
4846 { echo "$as_me:$LINENO: result: $result" >&5
4847 echo "${ECHO_T}$result" >&6; }
4848
4849
4850 enablestring=
4851 defaultval=
4852 if test -z "$defaultval"; then
4853 if test x"$enablestring" = xdisable; then
4854 defaultval=yes
4855 else
4856 defaultval=no
4857 fi
4858 fi
4859
4860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4861 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4862 # Check whether --enable-mslu was given.
4863 if test "${enable_mslu+set}" = set; then
4864 enableval=$enable_mslu;
4865 if test "$enableval" = yes; then
4866 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4867 else
4868 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4869 fi
4870 cache=yes
4871
4872 else
4873
4874 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4875 if test "x$LINE" != x ; then
4876 eval "DEFAULT_$LINE"
4877 cache=yes
4878 else
4879 cache=no
4880 fi
4881
4882 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4883
4884 fi
4885
4886
4887 eval "$wx_cv_use_mslu"
4888 if test "x$cache" = xyes; then
4889 echo "wxUSE_UNICODE_MSLU=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
4890 fi
4891
4892 if test x"$enablestring" = xdisable; then
4893 if test $wxUSE_UNICODE_MSLU = yes; then
4894 result=no
4895 else
4896 result=yes
4897 fi
4898 else
4899 result=$wxUSE_UNICODE_MSLU
4900 fi
4901
4902 { echo "$as_me:$LINENO: result: $result" >&5
4903 echo "${ECHO_T}$result" >&6; }
4904
4905
4906 enablestring=
4907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4908 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4909 # Check whether --enable-utf8 was given.
4910 if test "${enable_utf8+set}" = set; then
4911 enableval=$enable_utf8;
4912 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4913 cache=yes
4914
4915 else
4916
4917 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4918 if test "x$LINE" != x ; then
4919 eval "DEFAULT_$LINE"
4920 cache=yes
4921 else
4922 cache=no
4923 fi
4924
4925 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4926
4927 fi
4928
4929
4930 eval "$wx_cv_use_utf8"
4931 if test "x$cache" = xyes; then
4932 echo "wxUSE_UNICODE_UTF8=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
4933 fi
4934
4935 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4936 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4937
4938
4939 enablestring=
4940 defaultval=
4941 if test -z "$defaultval"; then
4942 if test x"$enablestring" = xdisable; then
4943 defaultval=yes
4944 else
4945 defaultval=no
4946 fi
4947 fi
4948
4949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4950 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4951 # Check whether --enable-utf8only was given.
4952 if test "${enable_utf8only+set}" = set; then
4953 enableval=$enable_utf8only;
4954 if test "$enableval" = yes; then
4955 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4956 else
4957 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4958 fi
4959 cache=yes
4960
4961 else
4962
4963 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
4964 if test "x$LINE" != x ; then
4965 eval "DEFAULT_$LINE"
4966 cache=yes
4967 else
4968 cache=no
4969 fi
4970
4971 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4972
4973 fi
4974
4975
4976 eval "$wx_cv_use_utf8only"
4977 if test "x$cache" = xyes; then
4978 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
4979 fi
4980
4981 if test x"$enablestring" = xdisable; then
4982 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4983 result=no
4984 else
4985 result=yes
4986 fi
4987 else
4988 result=$wxUSE_UNICODE_UTF8_LOCALE
4989 fi
4990
4991 { echo "$as_me:$LINENO: result: $result" >&5
4992 echo "${ECHO_T}$result" >&6; }
4993
4994
4995 enablestring=
4996 defaultval=
4997 if test -z "$defaultval"; then
4998 if test x"$enablestring" = xdisable; then
4999 defaultval=yes
5000 else
5001 defaultval=no
5002 fi
5003 fi
5004
5005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5006 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5007 # Check whether --enable-extended_rtti was given.
5008 if test "${enable_extended_rtti+set}" = set; then
5009 enableval=$enable_extended_rtti;
5010 if test "$enableval" = yes; then
5011 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5012 else
5013 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5014 fi
5015 cache=yes
5016
5017 else
5018
5019 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
5020 if test "x$LINE" != x ; then
5021 eval "DEFAULT_$LINE"
5022 cache=yes
5023 else
5024 cache=no
5025 fi
5026
5027 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5028
5029 fi
5030
5031
5032 eval "$wx_cv_use_extended_rtti"
5033 if test "x$cache" = xyes; then
5034 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
5035 fi
5036
5037 if test x"$enablestring" = xdisable; then
5038 if test $wxUSE_EXTENDED_RTTI = yes; then
5039 result=no
5040 else
5041 result=yes
5042 fi
5043 else
5044 result=$wxUSE_EXTENDED_RTTI
5045 fi
5046
5047 { echo "$as_me:$LINENO: result: $result" >&5
5048 echo "${ECHO_T}$result" >&6; }
5049
5050 if test "$USE_OS2" = 1; then
5051 DEFAULT_wxUSE_OMF=no
5052
5053 enablestring=
5054 defaultval=
5055 if test -z "$defaultval"; then
5056 if test x"$enablestring" = xdisable; then
5057 defaultval=yes
5058 else
5059 defaultval=no
5060 fi
5061 fi
5062
5063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5064 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5065 # Check whether --enable-omf was given.
5066 if test "${enable_omf+set}" = set; then
5067 enableval=$enable_omf;
5068 if test "$enableval" = yes; then
5069 wx_cv_use_omf='wxUSE_OMF=yes'
5070 else
5071 wx_cv_use_omf='wxUSE_OMF=no'
5072 fi
5073 cache=yes
5074
5075 else
5076
5077 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5078 if test "x$LINE" != x ; then
5079 eval "DEFAULT_$LINE"
5080 cache=yes
5081 else
5082 cache=no
5083 fi
5084
5085 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5086
5087 fi
5088
5089
5090 eval "$wx_cv_use_omf"
5091 if test "x$cache" = xyes; then
5092 echo "wxUSE_OMF=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
5093 fi
5094
5095 if test x"$enablestring" = xdisable; then
5096 if test $wxUSE_OMF = yes; then
5097 result=no
5098 else
5099 result=yes
5100 fi
5101 else
5102 result=$wxUSE_OMF
5103 fi
5104
5105 { echo "$as_me:$LINENO: result: $result" >&5
5106 echo "${ECHO_T}$result" >&6; }
5107
5108 fi
5109
5110 if test "$wxUSE_DEBUG" = "yes"; then
5111 DEFAULT_wxUSE_DEBUG_FLAG=yes
5112 DEFAULT_wxUSE_DEBUG_INFO=yes
5113 BUILD=debug
5114 elif test "$wxUSE_DEBUG" = "no"; then
5115 DEFAULT_wxUSE_DEBUG_FLAG=no
5116 DEFAULT_wxUSE_DEBUG_INFO=no
5117 BUILD=release
5118 fi
5119
5120
5121 enablestring=
5122 defaultval=
5123 if test -z "$defaultval"; then
5124 if test x"$enablestring" = xdisable; then
5125 defaultval=yes
5126 else
5127 defaultval=no
5128 fi
5129 fi
5130
5131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5132 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5133 # Check whether --enable-debug_flag was given.
5134 if test "${enable_debug_flag+set}" = set; then
5135 enableval=$enable_debug_flag;
5136 if test "$enableval" = yes; then
5137 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5138 else
5139 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5140 fi
5141 cache=yes
5142
5143 else
5144
5145 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5146 if test "x$LINE" != x ; then
5147 eval "DEFAULT_$LINE"
5148 cache=yes
5149 else
5150 cache=no
5151 fi
5152
5153 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5154
5155 fi
5156
5157
5158 eval "$wx_cv_use_debug_flag"
5159 if test "x$cache" = xyes; then
5160 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5161 fi
5162
5163 if test x"$enablestring" = xdisable; then
5164 if test $wxUSE_DEBUG_FLAG = yes; then
5165 result=no
5166 else
5167 result=yes
5168 fi
5169 else
5170 result=$wxUSE_DEBUG_FLAG
5171 fi
5172
5173 { echo "$as_me:$LINENO: result: $result" >&5
5174 echo "${ECHO_T}$result" >&6; }
5175
5176
5177 enablestring=
5178 defaultval=
5179 if test -z "$defaultval"; then
5180 if test x"$enablestring" = xdisable; then
5181 defaultval=yes
5182 else
5183 defaultval=no
5184 fi
5185 fi
5186
5187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5188 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5189 # Check whether --enable-debug_info was given.
5190 if test "${enable_debug_info+set}" = set; then
5191 enableval=$enable_debug_info;
5192 if test "$enableval" = yes; then
5193 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5194 else
5195 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5196 fi
5197 cache=yes
5198
5199 else
5200
5201 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5202 if test "x$LINE" != x ; then
5203 eval "DEFAULT_$LINE"
5204 cache=yes
5205 else
5206 cache=no
5207 fi
5208
5209 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5210
5211 fi
5212
5213
5214 eval "$wx_cv_use_debug_info"
5215 if test "x$cache" = xyes; then
5216 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5217 fi
5218
5219 if test x"$enablestring" = xdisable; then
5220 if test $wxUSE_DEBUG_INFO = yes; then
5221 result=no
5222 else
5223 result=yes
5224 fi
5225 else
5226 result=$wxUSE_DEBUG_INFO
5227 fi
5228
5229 { echo "$as_me:$LINENO: result: $result" >&5
5230 echo "${ECHO_T}$result" >&6; }
5231
5232
5233 enablestring=
5234 defaultval=
5235 if test -z "$defaultval"; then
5236 if test x"$enablestring" = xdisable; then
5237 defaultval=yes
5238 else
5239 defaultval=no
5240 fi
5241 fi
5242
5243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5244 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5245 # Check whether --enable-debug_gdb was given.
5246 if test "${enable_debug_gdb+set}" = set; then
5247 enableval=$enable_debug_gdb;
5248 if test "$enableval" = yes; then
5249 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5250 else
5251 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5252 fi
5253 cache=yes
5254
5255 else
5256
5257 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5258 if test "x$LINE" != x ; then
5259 eval "DEFAULT_$LINE"
5260 cache=yes
5261 else
5262 cache=no
5263 fi
5264
5265 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5266
5267 fi
5268
5269
5270 eval "$wx_cv_use_debug_gdb"
5271 if test "x$cache" = xyes; then
5272 echo "wxUSE_DEBUG_GDB=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5273 fi
5274
5275 if test x"$enablestring" = xdisable; then
5276 if test $wxUSE_DEBUG_GDB = yes; then
5277 result=no
5278 else
5279 result=yes
5280 fi
5281 else
5282 result=$wxUSE_DEBUG_GDB
5283 fi
5284
5285 { echo "$as_me:$LINENO: result: $result" >&5
5286 echo "${ECHO_T}$result" >&6; }
5287
5288
5289 enablestring=
5290 defaultval=
5291 if test -z "$defaultval"; then
5292 if test x"$enablestring" = xdisable; then
5293 defaultval=yes
5294 else
5295 defaultval=no
5296 fi
5297 fi
5298
5299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5300 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5301 # Check whether --enable-debug_cntxt was given.
5302 if test "${enable_debug_cntxt+set}" = set; then
5303 enableval=$enable_debug_cntxt;
5304 if test "$enableval" = yes; then
5305 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5306 else
5307 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5308 fi
5309 cache=yes
5310
5311 else
5312
5313 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5314 if test "x$LINE" != x ; then
5315 eval "DEFAULT_$LINE"
5316 cache=yes
5317 else
5318 cache=no
5319 fi
5320
5321 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5322
5323 fi
5324
5325
5326 eval "$wx_cv_use_debug_cntxt"
5327 if test "x$cache" = xyes; then
5328 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5329 fi
5330
5331 if test x"$enablestring" = xdisable; then
5332 if test $wxUSE_DEBUG_CONTEXT = yes; then
5333 result=no
5334 else
5335 result=yes
5336 fi
5337 else
5338 result=$wxUSE_DEBUG_CONTEXT
5339 fi
5340
5341 { echo "$as_me:$LINENO: result: $result" >&5
5342 echo "${ECHO_T}$result" >&6; }
5343
5344
5345 enablestring=
5346 defaultval=
5347 if test -z "$defaultval"; then
5348 if test x"$enablestring" = xdisable; then
5349 defaultval=yes
5350 else
5351 defaultval=no
5352 fi
5353 fi
5354
5355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5356 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5357 # Check whether --enable-mem_tracing was given.
5358 if test "${enable_mem_tracing+set}" = set; then
5359 enableval=$enable_mem_tracing;
5360 if test "$enableval" = yes; then
5361 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5362 else
5363 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5364 fi
5365 cache=yes
5366
5367 else
5368
5369 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5370 if test "x$LINE" != x ; then
5371 eval "DEFAULT_$LINE"
5372 cache=yes
5373 else
5374 cache=no
5375 fi
5376
5377 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5378
5379 fi
5380
5381
5382 eval "$wx_cv_use_mem_tracing"
5383 if test "x$cache" = xyes; then
5384 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5385 fi
5386
5387 if test x"$enablestring" = xdisable; then
5388 if test $wxUSE_MEM_TRACING = yes; then
5389 result=no
5390 else
5391 result=yes
5392 fi
5393 else
5394 result=$wxUSE_MEM_TRACING
5395 fi
5396
5397 { echo "$as_me:$LINENO: result: $result" >&5
5398 echo "${ECHO_T}$result" >&6; }
5399
5400
5401 enablestring=
5402 defaultval=
5403 if test -z "$defaultval"; then
5404 if test x"$enablestring" = xdisable; then
5405 defaultval=yes
5406 else
5407 defaultval=no
5408 fi
5409 fi
5410
5411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5412 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5413 # Check whether --enable-profile was given.
5414 if test "${enable_profile+set}" = set; then
5415 enableval=$enable_profile;
5416 if test "$enableval" = yes; then
5417 wx_cv_use_profile='wxUSE_PROFILE=yes'
5418 else
5419 wx_cv_use_profile='wxUSE_PROFILE=no'
5420 fi
5421 cache=yes
5422
5423 else
5424
5425 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5426 if test "x$LINE" != x ; then
5427 eval "DEFAULT_$LINE"
5428 cache=yes
5429 else
5430 cache=no
5431 fi
5432
5433 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5434
5435 fi
5436
5437
5438 eval "$wx_cv_use_profile"
5439 if test "x$cache" = xyes; then
5440 echo "wxUSE_PROFILE=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5441 fi
5442
5443 if test x"$enablestring" = xdisable; then
5444 if test $wxUSE_PROFILE = yes; then
5445 result=no
5446 else
5447 result=yes
5448 fi
5449 else
5450 result=$wxUSE_PROFILE
5451 fi
5452
5453 { echo "$as_me:$LINENO: result: $result" >&5
5454 echo "${ECHO_T}$result" >&6; }
5455
5456
5457 enablestring=
5458 defaultval=
5459 if test -z "$defaultval"; then
5460 if test x"$enablestring" = xdisable; then
5461 defaultval=yes
5462 else
5463 defaultval=no
5464 fi
5465 fi
5466
5467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5468 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5469 # Check whether --enable-no_rtti was given.
5470 if test "${enable_no_rtti+set}" = set; then
5471 enableval=$enable_no_rtti;
5472 if test "$enableval" = yes; then
5473 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5474 else
5475 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5476 fi
5477 cache=yes
5478
5479 else
5480
5481 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5482 if test "x$LINE" != x ; then
5483 eval "DEFAULT_$LINE"
5484 cache=yes
5485 else
5486 cache=no
5487 fi
5488
5489 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5490
5491 fi
5492
5493
5494 eval "$wx_cv_use_no_rtti"
5495 if test "x$cache" = xyes; then
5496 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5497 fi
5498
5499 if test x"$enablestring" = xdisable; then
5500 if test $wxUSE_NO_RTTI = yes; then
5501 result=no
5502 else
5503 result=yes
5504 fi
5505 else
5506 result=$wxUSE_NO_RTTI
5507 fi
5508
5509 { echo "$as_me:$LINENO: result: $result" >&5
5510 echo "${ECHO_T}$result" >&6; }
5511
5512
5513 enablestring=
5514 defaultval=
5515 if test -z "$defaultval"; then
5516 if test x"$enablestring" = xdisable; then
5517 defaultval=yes
5518 else
5519 defaultval=no
5520 fi
5521 fi
5522
5523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5524 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5525 # Check whether --enable-no_exceptions was given.
5526 if test "${enable_no_exceptions+set}" = set; then
5527 enableval=$enable_no_exceptions;
5528 if test "$enableval" = yes; then
5529 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5530 else
5531 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5532 fi
5533 cache=yes
5534
5535 else
5536
5537 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5538 if test "x$LINE" != x ; then
5539 eval "DEFAULT_$LINE"
5540 cache=yes
5541 else
5542 cache=no
5543 fi
5544
5545 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5546
5547 fi
5548
5549
5550 eval "$wx_cv_use_no_exceptions"
5551 if test "x$cache" = xyes; then
5552 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5553 fi
5554
5555 if test x"$enablestring" = xdisable; then
5556 if test $wxUSE_NO_EXCEPTIONS = yes; then
5557 result=no
5558 else
5559 result=yes
5560 fi
5561 else
5562 result=$wxUSE_NO_EXCEPTIONS
5563 fi
5564
5565 { echo "$as_me:$LINENO: result: $result" >&5
5566 echo "${ECHO_T}$result" >&6; }
5567
5568
5569 enablestring=
5570 defaultval=
5571 if test -z "$defaultval"; then
5572 if test x"$enablestring" = xdisable; then
5573 defaultval=yes
5574 else
5575 defaultval=no
5576 fi
5577 fi
5578
5579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5580 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5581 # Check whether --enable-permissive was given.
5582 if test "${enable_permissive+set}" = set; then
5583 enableval=$enable_permissive;
5584 if test "$enableval" = yes; then
5585 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5586 else
5587 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5588 fi
5589 cache=yes
5590
5591 else
5592
5593 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5594 if test "x$LINE" != x ; then
5595 eval "DEFAULT_$LINE"
5596 cache=yes
5597 else
5598 cache=no
5599 fi
5600
5601 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5602
5603 fi
5604
5605
5606 eval "$wx_cv_use_permissive"
5607 if test "x$cache" = xyes; then
5608 echo "wxUSE_PERMISSIVE=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5609 fi
5610
5611 if test x"$enablestring" = xdisable; then
5612 if test $wxUSE_PERMISSIVE = yes; then
5613 result=no
5614 else
5615 result=yes
5616 fi
5617 else
5618 result=$wxUSE_PERMISSIVE
5619 fi
5620
5621 { echo "$as_me:$LINENO: result: $result" >&5
5622 echo "${ECHO_T}$result" >&6; }
5623
5624
5625 enablestring=
5626 defaultval=
5627 if test -z "$defaultval"; then
5628 if test x"$enablestring" = xdisable; then
5629 defaultval=yes
5630 else
5631 defaultval=no
5632 fi
5633 fi
5634
5635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5636 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5637 # Check whether --enable-no_deps was given.
5638 if test "${enable_no_deps+set}" = set; then
5639 enableval=$enable_no_deps;
5640 if test "$enableval" = yes; then
5641 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5642 else
5643 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5644 fi
5645 cache=yes
5646
5647 else
5648
5649 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5650 if test "x$LINE" != x ; then
5651 eval "DEFAULT_$LINE"
5652 cache=yes
5653 else
5654 cache=no
5655 fi
5656
5657 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5658
5659 fi
5660
5661
5662 eval "$wx_cv_use_no_deps"
5663 if test "x$cache" = xyes; then
5664 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5665 fi
5666
5667 if test x"$enablestring" = xdisable; then
5668 if test $wxUSE_NO_DEPS = yes; then
5669 result=no
5670 else
5671 result=yes
5672 fi
5673 else
5674 result=$wxUSE_NO_DEPS
5675 fi
5676
5677 { echo "$as_me:$LINENO: result: $result" >&5
5678 echo "${ECHO_T}$result" >&6; }
5679
5680
5681 enablestring=disable
5682 defaultval=
5683 if test -z "$defaultval"; then
5684 if test x"$enablestring" = xdisable; then
5685 defaultval=yes
5686 else
5687 defaultval=no
5688 fi
5689 fi
5690
5691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5692 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5693 # Check whether --enable-vararg_macros was given.
5694 if test "${enable_vararg_macros+set}" = set; then
5695 enableval=$enable_vararg_macros;
5696 if test "$enableval" = yes; then
5697 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5698 else
5699 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5700 fi
5701 cache=yes
5702
5703 else
5704
5705 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5706 if test "x$LINE" != x ; then
5707 eval "DEFAULT_$LINE"
5708 cache=yes
5709 else
5710 cache=no
5711 fi
5712
5713 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5714
5715 fi
5716
5717
5718 eval "$wx_cv_use_vararg_macros"
5719 if test "x$cache" = xyes; then
5720 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5721 fi
5722
5723 if test x"$enablestring" = xdisable; then
5724 if test $wxUSE_VARARG_MACROS = yes; then
5725 result=no
5726 else
5727 result=yes
5728 fi
5729 else
5730 result=$wxUSE_VARARG_MACROS
5731 fi
5732
5733 { echo "$as_me:$LINENO: result: $result" >&5
5734 echo "${ECHO_T}$result" >&6; }
5735
5736
5737 enablestring=
5738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5739 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5740 # Check whether --enable-universal_binary was given.
5741 if test "${enable_universal_binary+set}" = set; then
5742 enableval=$enable_universal_binary;
5743 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5744 cache=yes
5745
5746 else
5747
5748 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5749 if test "x$LINE" != x ; then
5750 eval "DEFAULT_$LINE"
5751 cache=yes
5752 else
5753 cache=no
5754 fi
5755
5756 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5757
5758 fi
5759
5760
5761 eval "$wx_cv_use_universal_binary"
5762 if test "x$cache" = xyes; then
5763 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5764 fi
5765
5766 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5767 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5768
5769
5770
5771 enablestring=
5772 defaultval=
5773 if test -z "$defaultval"; then
5774 if test x"$enablestring" = xdisable; then
5775 defaultval=yes
5776 else
5777 defaultval=no
5778 fi
5779 fi
5780
5781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5782 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5783 # Check whether --enable-compat26 was given.
5784 if test "${enable_compat26+set}" = set; then
5785 enableval=$enable_compat26;
5786 if test "$enableval" = yes; then
5787 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5788 else
5789 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5790 fi
5791 cache=yes
5792
5793 else
5794
5795 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5796 if test "x$LINE" != x ; then
5797 eval "DEFAULT_$LINE"
5798 cache=yes
5799 else
5800 cache=no
5801 fi
5802
5803 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5804
5805 fi
5806
5807
5808 eval "$wx_cv_use_compat26"
5809 if test "x$cache" = xyes; then
5810 echo "WXWIN_COMPATIBILITY_2_6=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5811 fi
5812
5813 if test x"$enablestring" = xdisable; then
5814 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5815 result=no
5816 else
5817 result=yes
5818 fi
5819 else
5820 result=$WXWIN_COMPATIBILITY_2_6
5821 fi
5822
5823 { echo "$as_me:$LINENO: result: $result" >&5
5824 echo "${ECHO_T}$result" >&6; }
5825
5826
5827 enablestring=disable
5828 defaultval=
5829 if test -z "$defaultval"; then
5830 if test x"$enablestring" = xdisable; then
5831 defaultval=yes
5832 else
5833 defaultval=no
5834 fi
5835 fi
5836
5837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5838 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5839 # Check whether --enable-compat28 was given.
5840 if test "${enable_compat28+set}" = set; then
5841 enableval=$enable_compat28;
5842 if test "$enableval" = yes; then
5843 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5844 else
5845 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5846 fi
5847 cache=yes
5848
5849 else
5850
5851 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5852 if test "x$LINE" != x ; then
5853 eval "DEFAULT_$LINE"
5854 cache=yes
5855 else
5856 cache=no
5857 fi
5858
5859 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5860
5861 fi
5862
5863
5864 eval "$wx_cv_use_compat28"
5865 if test "x$cache" = xyes; then
5866 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5867 fi
5868
5869 if test x"$enablestring" = xdisable; then
5870 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5871 result=no
5872 else
5873 result=yes
5874 fi
5875 else
5876 result=$WXWIN_COMPATIBILITY_2_8
5877 fi
5878
5879 { echo "$as_me:$LINENO: result: $result" >&5
5880 echo "${ECHO_T}$result" >&6; }
5881
5882
5883
5884 enablestring=disable
5885 defaultval=
5886 if test -z "$defaultval"; then
5887 if test x"$enablestring" = xdisable; then
5888 defaultval=yes
5889 else
5890 defaultval=no
5891 fi
5892 fi
5893
5894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5895 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5896 # Check whether --enable-rpath was given.
5897 if test "${enable_rpath+set}" = set; then
5898 enableval=$enable_rpath;
5899 if test "$enableval" = yes; then
5900 wx_cv_use_rpath='wxUSE_RPATH=yes'
5901 else
5902 wx_cv_use_rpath='wxUSE_RPATH=no'
5903 fi
5904 cache=yes
5905
5906 else
5907
5908 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5909 if test "x$LINE" != x ; then
5910 eval "DEFAULT_$LINE"
5911 cache=yes
5912 else
5913 cache=no
5914 fi
5915
5916 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5917
5918 fi
5919
5920
5921 eval "$wx_cv_use_rpath"
5922 if test "x$cache" = xyes; then
5923 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
5924 fi
5925
5926 if test x"$enablestring" = xdisable; then
5927 if test $wxUSE_RPATH = yes; then
5928 result=no
5929 else
5930 result=yes
5931 fi
5932 else
5933 result=$wxUSE_RPATH
5934 fi
5935
5936 { echo "$as_me:$LINENO: result: $result" >&5
5937 echo "${ECHO_T}$result" >&6; }
5938
5939
5940
5941 enablestring=
5942 defaultval=
5943 if test -z "$defaultval"; then
5944 if test x"$enablestring" = xdisable; then
5945 defaultval=yes
5946 else
5947 defaultval=no
5948 fi
5949 fi
5950
5951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5952 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5953 # Check whether --enable-objc_uniquifying was given.
5954 if test "${enable_objc_uniquifying+set}" = set; then
5955 enableval=$enable_objc_uniquifying;
5956 if test "$enableval" = yes; then
5957 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5958 else
5959 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5960 fi
5961 cache=yes
5962
5963 else
5964
5965 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5966 if test "x$LINE" != x ; then
5967 eval "DEFAULT_$LINE"
5968 cache=yes
5969 else
5970 cache=no
5971 fi
5972
5973 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5974
5975 fi
5976
5977
5978 eval "$wx_cv_use_objc_uniquifying"
5979 if test "x$cache" = xyes; then
5980 echo "wxUSE_OBJC_UNIQUIFYING=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
5981 fi
5982
5983 if test x"$enablestring" = xdisable; then
5984 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5985 result=no
5986 else
5987 result=yes
5988 fi
5989 else
5990 result=$wxUSE_OBJC_UNIQUIFYING
5991 fi
5992
5993 { echo "$as_me:$LINENO: result: $result" >&5
5994 echo "${ECHO_T}$result" >&6; }
5995
5996
5997
5998 enablestring=disable
5999 defaultval=
6000 if test -z "$defaultval"; then
6001 if test x"$enablestring" = xdisable; then
6002 defaultval=yes
6003 else
6004 defaultval=no
6005 fi
6006 fi
6007
6008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
6009 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
6010 # Check whether --enable-visibility was given.
6011 if test "${enable_visibility+set}" = set; then
6012 enableval=$enable_visibility;
6013 if test "$enableval" = yes; then
6014 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6015 else
6016 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6017 fi
6018 cache=yes
6019
6020 else
6021
6022 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
6023 if test "x$LINE" != x ; then
6024 eval "DEFAULT_$LINE"
6025 cache=yes
6026 else
6027 cache=no
6028 fi
6029
6030 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6031
6032 fi
6033
6034
6035 eval "$wx_cv_use_visibility"
6036 if test "x$cache" = xyes; then
6037 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
6038 fi
6039
6040 if test x"$enablestring" = xdisable; then
6041 if test $wxUSE_VISIBILITY = yes; then
6042 result=no
6043 else
6044 result=yes
6045 fi
6046 else
6047 result=$wxUSE_VISIBILITY
6048 fi
6049
6050 { echo "$as_me:$LINENO: result: $result" >&5
6051 echo "${ECHO_T}$result" >&6; }
6052
6053
6054
6055
6056 enablestring=
6057 defaultval=$wxUSE_ALL_FEATURES
6058 if test -z "$defaultval"; then
6059 if test x"$enablestring" = xdisable; then
6060 defaultval=yes
6061 else
6062 defaultval=no
6063 fi
6064 fi
6065
6066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
6067 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
6068 # Check whether --enable-intl was given.
6069 if test "${enable_intl+set}" = set; then
6070 enableval=$enable_intl;
6071 if test "$enableval" = yes; then
6072 wx_cv_use_intl='wxUSE_INTL=yes'
6073 else
6074 wx_cv_use_intl='wxUSE_INTL=no'
6075 fi
6076 cache=yes
6077
6078 else
6079
6080 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
6081 if test "x$LINE" != x ; then
6082 eval "DEFAULT_$LINE"
6083 cache=yes
6084 else
6085 cache=no
6086 fi
6087
6088 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6089
6090 fi
6091
6092
6093 eval "$wx_cv_use_intl"
6094 if test "x$cache" = xyes; then
6095 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
6096 fi
6097
6098 if test x"$enablestring" = xdisable; then
6099 if test $wxUSE_INTL = yes; then
6100 result=no
6101 else
6102 result=yes
6103 fi
6104 else
6105 result=$wxUSE_INTL
6106 fi
6107
6108 { echo "$as_me:$LINENO: result: $result" >&5
6109 echo "${ECHO_T}$result" >&6; }
6110
6111
6112 enablestring=
6113 defaultval=$wxUSE_ALL_FEATURES
6114 if test -z "$defaultval"; then
6115 if test x"$enablestring" = xdisable; then
6116 defaultval=yes
6117 else
6118 defaultval=no
6119 fi
6120 fi
6121
6122 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6123 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6124 # Check whether --enable-config was given.
6125 if test "${enable_config+set}" = set; then
6126 enableval=$enable_config;
6127 if test "$enableval" = yes; then
6128 wx_cv_use_config='wxUSE_CONFIG=yes'
6129 else
6130 wx_cv_use_config='wxUSE_CONFIG=no'
6131 fi
6132 cache=yes
6133
6134 else
6135
6136 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6137 if test "x$LINE" != x ; then
6138 eval "DEFAULT_$LINE"
6139 cache=yes
6140 else
6141 cache=no
6142 fi
6143
6144 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6145
6146 fi
6147
6148
6149 eval "$wx_cv_use_config"
6150 if test "x$cache" = xyes; then
6151 echo "wxUSE_CONFIG=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
6152 fi
6153
6154 if test x"$enablestring" = xdisable; then
6155 if test $wxUSE_CONFIG = yes; then
6156 result=no
6157 else
6158 result=yes
6159 fi
6160 else
6161 result=$wxUSE_CONFIG
6162 fi
6163
6164 { echo "$as_me:$LINENO: result: $result" >&5
6165 echo "${ECHO_T}$result" >&6; }
6166
6167
6168
6169 enablestring=
6170 defaultval=$wxUSE_ALL_FEATURES
6171 if test -z "$defaultval"; then
6172 if test x"$enablestring" = xdisable; then
6173 defaultval=yes
6174 else
6175 defaultval=no
6176 fi
6177 fi
6178
6179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6180 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6181 # Check whether --enable-protocols was given.
6182 if test "${enable_protocols+set}" = set; then
6183 enableval=$enable_protocols;
6184 if test "$enableval" = yes; then
6185 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6186 else
6187 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6188 fi
6189 cache=yes
6190
6191 else
6192
6193 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6194 if test "x$LINE" != x ; then
6195 eval "DEFAULT_$LINE"
6196 cache=yes
6197 else
6198 cache=no
6199 fi
6200
6201 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6202
6203 fi
6204
6205
6206 eval "$wx_cv_use_protocols"
6207 if test "x$cache" = xyes; then
6208 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6209 fi
6210
6211 if test x"$enablestring" = xdisable; then
6212 if test $wxUSE_PROTOCOL = yes; then
6213 result=no
6214 else
6215 result=yes
6216 fi
6217 else
6218 result=$wxUSE_PROTOCOL
6219 fi
6220
6221 { echo "$as_me:$LINENO: result: $result" >&5
6222 echo "${ECHO_T}$result" >&6; }
6223
6224
6225 enablestring=
6226 defaultval=$wxUSE_ALL_FEATURES
6227 if test -z "$defaultval"; then
6228 if test x"$enablestring" = xdisable; then
6229 defaultval=yes
6230 else
6231 defaultval=no
6232 fi
6233 fi
6234
6235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6236 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6237 # Check whether --enable-ftp was given.
6238 if test "${enable_ftp+set}" = set; then
6239 enableval=$enable_ftp;
6240 if test "$enableval" = yes; then
6241 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6242 else
6243 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6244 fi
6245 cache=yes
6246
6247 else
6248
6249 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6250 if test "x$LINE" != x ; then
6251 eval "DEFAULT_$LINE"
6252 cache=yes
6253 else
6254 cache=no
6255 fi
6256
6257 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6258
6259 fi
6260
6261
6262 eval "$wx_cv_use_ftp"
6263 if test "x$cache" = xyes; then
6264 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6265 fi
6266
6267 if test x"$enablestring" = xdisable; then
6268 if test $wxUSE_PROTOCOL_FTP = yes; then
6269 result=no
6270 else
6271 result=yes
6272 fi
6273 else
6274 result=$wxUSE_PROTOCOL_FTP
6275 fi
6276
6277 { echo "$as_me:$LINENO: result: $result" >&5
6278 echo "${ECHO_T}$result" >&6; }
6279
6280
6281 enablestring=
6282 defaultval=$wxUSE_ALL_FEATURES
6283 if test -z "$defaultval"; then
6284 if test x"$enablestring" = xdisable; then
6285 defaultval=yes
6286 else
6287 defaultval=no
6288 fi
6289 fi
6290
6291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6292 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6293 # Check whether --enable-http was given.
6294 if test "${enable_http+set}" = set; then
6295 enableval=$enable_http;
6296 if test "$enableval" = yes; then
6297 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6298 else
6299 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6300 fi
6301 cache=yes
6302
6303 else
6304
6305 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6306 if test "x$LINE" != x ; then
6307 eval "DEFAULT_$LINE"
6308 cache=yes
6309 else
6310 cache=no
6311 fi
6312
6313 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6314
6315 fi
6316
6317
6318 eval "$wx_cv_use_http"
6319 if test "x$cache" = xyes; then
6320 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6321 fi
6322
6323 if test x"$enablestring" = xdisable; then
6324 if test $wxUSE_PROTOCOL_HTTP = yes; then
6325 result=no
6326 else
6327 result=yes
6328 fi
6329 else
6330 result=$wxUSE_PROTOCOL_HTTP
6331 fi
6332
6333 { echo "$as_me:$LINENO: result: $result" >&5
6334 echo "${ECHO_T}$result" >&6; }
6335
6336
6337 enablestring=
6338 defaultval=$wxUSE_ALL_FEATURES
6339 if test -z "$defaultval"; then
6340 if test x"$enablestring" = xdisable; then
6341 defaultval=yes
6342 else
6343 defaultval=no
6344 fi
6345 fi
6346
6347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6348 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6349 # Check whether --enable-fileproto was given.
6350 if test "${enable_fileproto+set}" = set; then
6351 enableval=$enable_fileproto;
6352 if test "$enableval" = yes; then
6353 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6354 else
6355 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6356 fi
6357 cache=yes
6358
6359 else
6360
6361 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6362 if test "x$LINE" != x ; then
6363 eval "DEFAULT_$LINE"
6364 cache=yes
6365 else
6366 cache=no
6367 fi
6368
6369 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6370
6371 fi
6372
6373
6374 eval "$wx_cv_use_fileproto"
6375 if test "x$cache" = xyes; then
6376 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6377 fi
6378
6379 if test x"$enablestring" = xdisable; then
6380 if test $wxUSE_PROTOCOL_FILE = yes; then
6381 result=no
6382 else
6383 result=yes
6384 fi
6385 else
6386 result=$wxUSE_PROTOCOL_FILE
6387 fi
6388
6389 { echo "$as_me:$LINENO: result: $result" >&5
6390 echo "${ECHO_T}$result" >&6; }
6391
6392
6393 enablestring=
6394 defaultval=$wxUSE_ALL_FEATURES
6395 if test -z "$defaultval"; then
6396 if test x"$enablestring" = xdisable; then
6397 defaultval=yes
6398 else
6399 defaultval=no
6400 fi
6401 fi
6402
6403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6404 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6405 # Check whether --enable-sockets was given.
6406 if test "${enable_sockets+set}" = set; then
6407 enableval=$enable_sockets;
6408 if test "$enableval" = yes; then
6409 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6410 else
6411 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6412 fi
6413 cache=yes
6414
6415 else
6416
6417 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6418 if test "x$LINE" != x ; then
6419 eval "DEFAULT_$LINE"
6420 cache=yes
6421 else
6422 cache=no
6423 fi
6424
6425 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6426
6427 fi
6428
6429
6430 eval "$wx_cv_use_sockets"
6431 if test "x$cache" = xyes; then
6432 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6433 fi
6434
6435 if test x"$enablestring" = xdisable; then
6436 if test $wxUSE_SOCKETS = yes; then
6437 result=no
6438 else
6439 result=yes
6440 fi
6441 else
6442 result=$wxUSE_SOCKETS
6443 fi
6444
6445 { echo "$as_me:$LINENO: result: $result" >&5
6446 echo "${ECHO_T}$result" >&6; }
6447
6448
6449 enablestring=
6450 defaultval=$wxUSE_ALL_FEATURES
6451 if test -z "$defaultval"; then
6452 if test x"$enablestring" = xdisable; then
6453 defaultval=yes
6454 else
6455 defaultval=no
6456 fi
6457 fi
6458
6459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6460 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6461 # Check whether --enable-ipv6 was given.
6462 if test "${enable_ipv6+set}" = set; then
6463 enableval=$enable_ipv6;
6464 if test "$enableval" = yes; then
6465 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6466 else
6467 wx_cv_use_ipv6='wxUSE_IPV6=no'
6468 fi
6469 cache=yes
6470
6471 else
6472
6473 LINE=`grep "^wxUSE_IPV6=" ${wx_arg_cache_file}`
6474 if test "x$LINE" != x ; then
6475 eval "DEFAULT_$LINE"
6476 cache=yes
6477 else
6478 cache=no
6479 fi
6480
6481 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6482
6483 fi
6484
6485
6486 eval "$wx_cv_use_ipv6"
6487 if test "x$cache" = xyes; then
6488 echo "wxUSE_IPV6=$wxUSE_IPV6" >> ${wx_arg_cache_file}.tmp
6489 fi
6490
6491 if test x"$enablestring" = xdisable; then
6492 if test $wxUSE_IPV6 = yes; then
6493 result=no
6494 else
6495 result=yes
6496 fi
6497 else
6498 result=$wxUSE_IPV6
6499 fi
6500
6501 { echo "$as_me:$LINENO: result: $result" >&5
6502 echo "${ECHO_T}$result" >&6; }
6503
6504
6505 enablestring=
6506 defaultval=$wxUSE_ALL_FEATURES
6507 if test -z "$defaultval"; then
6508 if test x"$enablestring" = xdisable; then
6509 defaultval=yes
6510 else
6511 defaultval=no
6512 fi
6513 fi
6514
6515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6516 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6517 # Check whether --enable-ole was given.
6518 if test "${enable_ole+set}" = set; then
6519 enableval=$enable_ole;
6520 if test "$enableval" = yes; then
6521 wx_cv_use_ole='wxUSE_OLE=yes'
6522 else
6523 wx_cv_use_ole='wxUSE_OLE=no'
6524 fi
6525 cache=yes
6526
6527 else
6528
6529 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6530 if test "x$LINE" != x ; then
6531 eval "DEFAULT_$LINE"
6532 cache=yes
6533 else
6534 cache=no
6535 fi
6536
6537 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6538
6539 fi
6540
6541
6542 eval "$wx_cv_use_ole"
6543 if test "x$cache" = xyes; then
6544 echo "wxUSE_OLE=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6545 fi
6546
6547 if test x"$enablestring" = xdisable; then
6548 if test $wxUSE_OLE = yes; then
6549 result=no
6550 else
6551 result=yes
6552 fi
6553 else
6554 result=$wxUSE_OLE
6555 fi
6556
6557 { echo "$as_me:$LINENO: result: $result" >&5
6558 echo "${ECHO_T}$result" >&6; }
6559
6560
6561 enablestring=
6562 defaultval=$wxUSE_ALL_FEATURES
6563 if test -z "$defaultval"; then
6564 if test x"$enablestring" = xdisable; then
6565 defaultval=yes
6566 else
6567 defaultval=no
6568 fi
6569 fi
6570
6571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6572 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6573 # Check whether --enable-dataobj was given.
6574 if test "${enable_dataobj+set}" = set; then
6575 enableval=$enable_dataobj;
6576 if test "$enableval" = yes; then
6577 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6578 else
6579 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6580 fi
6581 cache=yes
6582
6583 else
6584
6585 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6586 if test "x$LINE" != x ; then
6587 eval "DEFAULT_$LINE"
6588 cache=yes
6589 else
6590 cache=no
6591 fi
6592
6593 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6594
6595 fi
6596
6597
6598 eval "$wx_cv_use_dataobj"
6599 if test "x$cache" = xyes; then
6600 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6601 fi
6602
6603 if test x"$enablestring" = xdisable; then
6604 if test $wxUSE_DATAOBJ = yes; then
6605 result=no
6606 else
6607 result=yes
6608 fi
6609 else
6610 result=$wxUSE_DATAOBJ
6611 fi
6612
6613 { echo "$as_me:$LINENO: result: $result" >&5
6614 echo "${ECHO_T}$result" >&6; }
6615
6616
6617
6618 enablestring=
6619 defaultval=$wxUSE_ALL_FEATURES
6620 if test -z "$defaultval"; then
6621 if test x"$enablestring" = xdisable; then
6622 defaultval=yes
6623 else
6624 defaultval=no
6625 fi
6626 fi
6627
6628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6629 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6630 # Check whether --enable-ipc was given.
6631 if test "${enable_ipc+set}" = set; then
6632 enableval=$enable_ipc;
6633 if test "$enableval" = yes; then
6634 wx_cv_use_ipc='wxUSE_IPC=yes'
6635 else
6636 wx_cv_use_ipc='wxUSE_IPC=no'
6637 fi
6638 cache=yes
6639
6640 else
6641
6642 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6643 if test "x$LINE" != x ; then
6644 eval "DEFAULT_$LINE"
6645 cache=yes
6646 else
6647 cache=no
6648 fi
6649
6650 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6651
6652 fi
6653
6654
6655 eval "$wx_cv_use_ipc"
6656 if test "x$cache" = xyes; then
6657 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6658 fi
6659
6660 if test x"$enablestring" = xdisable; then
6661 if test $wxUSE_IPC = yes; then
6662 result=no
6663 else
6664 result=yes
6665 fi
6666 else
6667 result=$wxUSE_IPC
6668 fi
6669
6670 { echo "$as_me:$LINENO: result: $result" >&5
6671 echo "${ECHO_T}$result" >&6; }
6672
6673
6674
6675 enablestring=
6676 defaultval=$wxUSE_ALL_FEATURES
6677 if test -z "$defaultval"; then
6678 if test x"$enablestring" = xdisable; then
6679 defaultval=yes
6680 else
6681 defaultval=no
6682 fi
6683 fi
6684
6685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6686 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6687 # Check whether --enable-baseevtloop was given.
6688 if test "${enable_baseevtloop+set}" = set; then
6689 enableval=$enable_baseevtloop;
6690 if test "$enableval" = yes; then
6691 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6692 else
6693 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6694 fi
6695 cache=yes
6696
6697 else
6698
6699 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6700 if test "x$LINE" != x ; then
6701 eval "DEFAULT_$LINE"
6702 cache=yes
6703 else
6704 cache=no
6705 fi
6706
6707 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6708
6709 fi
6710
6711
6712 eval "$wx_cv_use_baseevtloop"
6713 if test "x$cache" = xyes; then
6714 echo "wxUSE_CONSOLE_EVENTLOOP=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6715 fi
6716
6717 if test x"$enablestring" = xdisable; then
6718 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6719 result=no
6720 else
6721 result=yes
6722 fi
6723 else
6724 result=$wxUSE_CONSOLE_EVENTLOOP
6725 fi
6726
6727 { echo "$as_me:$LINENO: result: $result" >&5
6728 echo "${ECHO_T}$result" >&6; }
6729
6730
6731 enablestring=
6732 defaultval=$wxUSE_ALL_FEATURES
6733 if test -z "$defaultval"; then
6734 if test x"$enablestring" = xdisable; then
6735 defaultval=yes
6736 else
6737 defaultval=no
6738 fi
6739 fi
6740
6741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6742 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6743 # Check whether --enable-epollloop was given.
6744 if test "${enable_epollloop+set}" = set; then
6745 enableval=$enable_epollloop;
6746 if test "$enableval" = yes; then
6747 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6748 else
6749 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6750 fi
6751 cache=yes
6752
6753 else
6754
6755 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6756 if test "x$LINE" != x ; then
6757 eval "DEFAULT_$LINE"
6758 cache=yes
6759 else
6760 cache=no
6761 fi
6762
6763 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6764
6765 fi
6766
6767
6768 eval "$wx_cv_use_epollloop"
6769 if test "x$cache" = xyes; then
6770 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6771 fi
6772
6773 if test x"$enablestring" = xdisable; then
6774 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6775 result=no
6776 else
6777 result=yes
6778 fi
6779 else
6780 result=$wxUSE_EPOLL_DISPATCHER
6781 fi
6782
6783 { echo "$as_me:$LINENO: result: $result" >&5
6784 echo "${ECHO_T}$result" >&6; }
6785
6786
6787 enablestring=
6788 defaultval=$wxUSE_ALL_FEATURES
6789 if test -z "$defaultval"; then
6790 if test x"$enablestring" = xdisable; then
6791 defaultval=yes
6792 else
6793 defaultval=no
6794 fi
6795 fi
6796
6797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6798 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6799 # Check whether --enable-selectloop was given.
6800 if test "${enable_selectloop+set}" = set; then
6801 enableval=$enable_selectloop;
6802 if test "$enableval" = yes; then
6803 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6804 else
6805 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6806 fi
6807 cache=yes
6808
6809 else
6810
6811 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6812 if test "x$LINE" != x ; then
6813 eval "DEFAULT_$LINE"
6814 cache=yes
6815 else
6816 cache=no
6817 fi
6818
6819 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6820
6821 fi
6822
6823
6824 eval "$wx_cv_use_selectloop"
6825 if test "x$cache" = xyes; then
6826 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6827 fi
6828
6829 if test x"$enablestring" = xdisable; then
6830 if test $wxUSE_SELECT_DISPATCHER = yes; then
6831 result=no
6832 else
6833 result=yes
6834 fi
6835 else
6836 result=$wxUSE_SELECT_DISPATCHER
6837 fi
6838
6839 { echo "$as_me:$LINENO: result: $result" >&5
6840 echo "${ECHO_T}$result" >&6; }
6841
6842
6843
6844 enablestring=
6845 defaultval=$wxUSE_ALL_FEATURES
6846 if test -z "$defaultval"; then
6847 if test x"$enablestring" = xdisable; then
6848 defaultval=yes
6849 else
6850 defaultval=no
6851 fi
6852 fi
6853
6854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6855 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6856 # Check whether --enable-apple_ieee was given.
6857 if test "${enable_apple_ieee+set}" = set; then
6858 enableval=$enable_apple_ieee;
6859 if test "$enableval" = yes; then
6860 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6861 else
6862 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6863 fi
6864 cache=yes
6865
6866 else
6867
6868 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6869 if test "x$LINE" != x ; then
6870 eval "DEFAULT_$LINE"
6871 cache=yes
6872 else
6873 cache=no
6874 fi
6875
6876 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6877
6878 fi
6879
6880
6881 eval "$wx_cv_use_apple_ieee"
6882 if test "x$cache" = xyes; then
6883 echo "wxUSE_APPLE_IEEE=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6884 fi
6885
6886 if test x"$enablestring" = xdisable; then
6887 if test $wxUSE_APPLE_IEEE = yes; then
6888 result=no
6889 else
6890 result=yes
6891 fi
6892 else
6893 result=$wxUSE_APPLE_IEEE
6894 fi
6895
6896 { echo "$as_me:$LINENO: result: $result" >&5
6897 echo "${ECHO_T}$result" >&6; }
6898
6899
6900 enablestring=
6901 defaultval=$wxUSE_ALL_FEATURES
6902 if test -z "$defaultval"; then
6903 if test x"$enablestring" = xdisable; then
6904 defaultval=yes
6905 else
6906 defaultval=no
6907 fi
6908 fi
6909
6910 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6911 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6912 # Check whether --enable-arcstream was given.
6913 if test "${enable_arcstream+set}" = set; then
6914 enableval=$enable_arcstream;
6915 if test "$enableval" = yes; then
6916 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6917 else
6918 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6919 fi
6920 cache=yes
6921
6922 else
6923
6924 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6925 if test "x$LINE" != x ; then
6926 eval "DEFAULT_$LINE"
6927 cache=yes
6928 else
6929 cache=no
6930 fi
6931
6932 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6933
6934 fi
6935
6936
6937 eval "$wx_cv_use_arcstream"
6938 if test "x$cache" = xyes; then
6939 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
6940 fi
6941
6942 if test x"$enablestring" = xdisable; then
6943 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6944 result=no
6945 else
6946 result=yes
6947 fi
6948 else
6949 result=$wxUSE_ARCHIVE_STREAMS
6950 fi
6951
6952 { echo "$as_me:$LINENO: result: $result" >&5
6953 echo "${ECHO_T}$result" >&6; }
6954
6955
6956 enablestring=
6957 defaultval=$wxUSE_ALL_FEATURES
6958 if test -z "$defaultval"; then
6959 if test x"$enablestring" = xdisable; then
6960 defaultval=yes
6961 else
6962 defaultval=no
6963 fi
6964 fi
6965
6966 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6967 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6968 # Check whether --enable-base64 was given.
6969 if test "${enable_base64+set}" = set; then
6970 enableval=$enable_base64;
6971 if test "$enableval" = yes; then
6972 wx_cv_use_base64='wxUSE_BASE64=yes'
6973 else
6974 wx_cv_use_base64='wxUSE_BASE64=no'
6975 fi
6976 cache=yes
6977
6978 else
6979
6980 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6981 if test "x$LINE" != x ; then
6982 eval "DEFAULT_$LINE"
6983 cache=yes
6984 else
6985 cache=no
6986 fi
6987
6988 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6989
6990 fi
6991
6992
6993 eval "$wx_cv_use_base64"
6994 if test "x$cache" = xyes; then
6995 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
6996 fi
6997
6998 if test x"$enablestring" = xdisable; then
6999 if test $wxUSE_BASE64 = yes; then
7000 result=no
7001 else
7002 result=yes
7003 fi
7004 else
7005 result=$wxUSE_BASE64
7006 fi
7007
7008 { echo "$as_me:$LINENO: result: $result" >&5
7009 echo "${ECHO_T}$result" >&6; }
7010
7011
7012 enablestring=
7013 defaultval=$wxUSE_ALL_FEATURES
7014 if test -z "$defaultval"; then
7015 if test x"$enablestring" = xdisable; then
7016 defaultval=yes
7017 else
7018 defaultval=no
7019 fi
7020 fi
7021
7022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
7023 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
7024 # Check whether --enable-backtrace was given.
7025 if test "${enable_backtrace+set}" = set; then
7026 enableval=$enable_backtrace;
7027 if test "$enableval" = yes; then
7028 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7029 else
7030 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7031 fi
7032 cache=yes
7033
7034 else
7035
7036 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
7037 if test "x$LINE" != x ; then
7038 eval "DEFAULT_$LINE"
7039 cache=yes
7040 else
7041 cache=no
7042 fi
7043
7044 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7045
7046 fi
7047
7048
7049 eval "$wx_cv_use_backtrace"
7050 if test "x$cache" = xyes; then
7051 echo "wxUSE_STACKWALKER=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
7052 fi
7053
7054 if test x"$enablestring" = xdisable; then
7055 if test $wxUSE_STACKWALKER = yes; then
7056 result=no
7057 else
7058 result=yes
7059 fi
7060 else
7061 result=$wxUSE_STACKWALKER
7062 fi
7063
7064 { echo "$as_me:$LINENO: result: $result" >&5
7065 echo "${ECHO_T}$result" >&6; }
7066
7067
7068 enablestring=
7069 defaultval=$wxUSE_ALL_FEATURES
7070 if test -z "$defaultval"; then
7071 if test x"$enablestring" = xdisable; then
7072 defaultval=yes
7073 else
7074 defaultval=no
7075 fi
7076 fi
7077
7078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
7079 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
7080 # Check whether --enable-catch_segvs was given.
7081 if test "${enable_catch_segvs+set}" = set; then
7082 enableval=$enable_catch_segvs;
7083 if test "$enableval" = yes; then
7084 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7085 else
7086 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7087 fi
7088 cache=yes
7089
7090 else
7091
7092 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
7093 if test "x$LINE" != x ; then
7094 eval "DEFAULT_$LINE"
7095 cache=yes
7096 else
7097 cache=no
7098 fi
7099
7100 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7101
7102 fi
7103
7104
7105 eval "$wx_cv_use_catch_segvs"
7106 if test "x$cache" = xyes; then
7107 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
7108 fi
7109
7110 if test x"$enablestring" = xdisable; then
7111 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
7112 result=no
7113 else
7114 result=yes
7115 fi
7116 else
7117 result=$wxUSE_ON_FATAL_EXCEPTION
7118 fi
7119
7120 { echo "$as_me:$LINENO: result: $result" >&5
7121 echo "${ECHO_T}$result" >&6; }
7122
7123
7124 enablestring=
7125 defaultval=$wxUSE_ALL_FEATURES
7126 if test -z "$defaultval"; then
7127 if test x"$enablestring" = xdisable; then
7128 defaultval=yes
7129 else
7130 defaultval=no
7131 fi
7132 fi
7133
7134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
7135 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
7136 # Check whether --enable-cmdline was given.
7137 if test "${enable_cmdline+set}" = set; then
7138 enableval=$enable_cmdline;
7139 if test "$enableval" = yes; then
7140 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7141 else
7142 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7143 fi
7144 cache=yes
7145
7146 else
7147
7148 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
7149 if test "x$LINE" != x ; then
7150 eval "DEFAULT_$LINE"
7151 cache=yes
7152 else
7153 cache=no
7154 fi
7155
7156 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7157
7158 fi
7159
7160
7161 eval "$wx_cv_use_cmdline"
7162 if test "x$cache" = xyes; then
7163 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
7164 fi
7165
7166 if test x"$enablestring" = xdisable; then
7167 if test $wxUSE_CMDLINE_PARSER = yes; then
7168 result=no
7169 else
7170 result=yes
7171 fi
7172 else
7173 result=$wxUSE_CMDLINE_PARSER
7174 fi
7175
7176 { echo "$as_me:$LINENO: result: $result" >&5
7177 echo "${ECHO_T}$result" >&6; }
7178
7179
7180 enablestring=
7181 defaultval=$wxUSE_ALL_FEATURES
7182 if test -z "$defaultval"; then
7183 if test x"$enablestring" = xdisable; then
7184 defaultval=yes
7185 else
7186 defaultval=no
7187 fi
7188 fi
7189
7190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
7191 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
7192 # Check whether --enable-datetime was given.
7193 if test "${enable_datetime+set}" = set; then
7194 enableval=$enable_datetime;
7195 if test "$enableval" = yes; then
7196 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7197 else
7198 wx_cv_use_datetime='wxUSE_DATETIME=no'
7199 fi
7200 cache=yes
7201
7202 else
7203
7204 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7205 if test "x$LINE" != x ; then
7206 eval "DEFAULT_$LINE"
7207 cache=yes
7208 else
7209 cache=no
7210 fi
7211
7212 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7213
7214 fi
7215
7216
7217 eval "$wx_cv_use_datetime"
7218 if test "x$cache" = xyes; then
7219 echo "wxUSE_DATETIME=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
7220 fi
7221
7222 if test x"$enablestring" = xdisable; then
7223 if test $wxUSE_DATETIME = yes; then
7224 result=no
7225 else
7226 result=yes
7227 fi
7228 else
7229 result=$wxUSE_DATETIME
7230 fi
7231
7232 { echo "$as_me:$LINENO: result: $result" >&5
7233 echo "${ECHO_T}$result" >&6; }
7234
7235
7236 enablestring=
7237 defaultval=$wxUSE_ALL_FEATURES
7238 if test -z "$defaultval"; then
7239 if test x"$enablestring" = xdisable; then
7240 defaultval=yes
7241 else
7242 defaultval=no
7243 fi
7244 fi
7245
7246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
7247 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
7248 # Check whether --enable-debugreport was given.
7249 if test "${enable_debugreport+set}" = set; then
7250 enableval=$enable_debugreport;
7251 if test "$enableval" = yes; then
7252 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7253 else
7254 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7255 fi
7256 cache=yes
7257
7258 else
7259
7260 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
7261 if test "x$LINE" != x ; then
7262 eval "DEFAULT_$LINE"
7263 cache=yes
7264 else
7265 cache=no
7266 fi
7267
7268 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7269
7270 fi
7271
7272
7273 eval "$wx_cv_use_debugreport"
7274 if test "x$cache" = xyes; then
7275 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
7276 fi
7277
7278 if test x"$enablestring" = xdisable; then
7279 if test $wxUSE_DEBUGREPORT = yes; then
7280 result=no
7281 else
7282 result=yes
7283 fi
7284 else
7285 result=$wxUSE_DEBUGREPORT
7286 fi
7287
7288 { echo "$as_me:$LINENO: result: $result" >&5
7289 echo "${ECHO_T}$result" >&6; }
7290
7291
7292 enablestring=
7293 defaultval=$wxUSE_ALL_FEATURES
7294 if test -z "$defaultval"; then
7295 if test x"$enablestring" = xdisable; then
7296 defaultval=yes
7297 else
7298 defaultval=no
7299 fi
7300 fi
7301
7302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7303 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7304 # Check whether --enable-dialupman was given.
7305 if test "${enable_dialupman+set}" = set; then
7306 enableval=$enable_dialupman;
7307 if test "$enableval" = yes; then
7308 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7309 else
7310 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7311 fi
7312 cache=yes
7313
7314 else
7315
7316 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7317 if test "x$LINE" != x ; then
7318 eval "DEFAULT_$LINE"
7319 cache=yes
7320 else
7321 cache=no
7322 fi
7323
7324 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7325
7326 fi
7327
7328
7329 eval "$wx_cv_use_dialupman"
7330 if test "x$cache" = xyes; then
7331 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7332 fi
7333
7334 if test x"$enablestring" = xdisable; then
7335 if test $wxUSE_DIALUP_MANAGER = yes; then
7336 result=no
7337 else
7338 result=yes
7339 fi
7340 else
7341 result=$wxUSE_DIALUP_MANAGER
7342 fi
7343
7344 { echo "$as_me:$LINENO: result: $result" >&5
7345 echo "${ECHO_T}$result" >&6; }
7346
7347
7348 enablestring=
7349 defaultval=$wxUSE_ALL_FEATURES
7350 if test -z "$defaultval"; then
7351 if test x"$enablestring" = xdisable; then
7352 defaultval=yes
7353 else
7354 defaultval=no
7355 fi
7356 fi
7357
7358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7359 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7360 # Check whether --enable-dynlib was given.
7361 if test "${enable_dynlib+set}" = set; then
7362 enableval=$enable_dynlib;
7363 if test "$enableval" = yes; then
7364 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7365 else
7366 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7367 fi
7368 cache=yes
7369
7370 else
7371
7372 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7373 if test "x$LINE" != x ; then
7374 eval "DEFAULT_$LINE"
7375 cache=yes
7376 else
7377 cache=no
7378 fi
7379
7380 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7381
7382 fi
7383
7384
7385 eval "$wx_cv_use_dynlib"
7386 if test "x$cache" = xyes; then
7387 echo "wxUSE_DYNLIB_CLASS=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7388 fi
7389
7390 if test x"$enablestring" = xdisable; then
7391 if test $wxUSE_DYNLIB_CLASS = yes; then
7392 result=no
7393 else
7394 result=yes
7395 fi
7396 else
7397 result=$wxUSE_DYNLIB_CLASS
7398 fi
7399
7400 { echo "$as_me:$LINENO: result: $result" >&5
7401 echo "${ECHO_T}$result" >&6; }
7402
7403
7404 enablestring=
7405 defaultval=$wxUSE_ALL_FEATURES
7406 if test -z "$defaultval"; then
7407 if test x"$enablestring" = xdisable; then
7408 defaultval=yes
7409 else
7410 defaultval=no
7411 fi
7412 fi
7413
7414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7415 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7416 # Check whether --enable-dynamicloader was given.
7417 if test "${enable_dynamicloader+set}" = set; then
7418 enableval=$enable_dynamicloader;
7419 if test "$enableval" = yes; then
7420 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7421 else
7422 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7423 fi
7424 cache=yes
7425
7426 else
7427
7428 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7429 if test "x$LINE" != x ; then
7430 eval "DEFAULT_$LINE"
7431 cache=yes
7432 else
7433 cache=no
7434 fi
7435
7436 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7437
7438 fi
7439
7440
7441 eval "$wx_cv_use_dynamicloader"
7442 if test "x$cache" = xyes; then
7443 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7444 fi
7445
7446 if test x"$enablestring" = xdisable; then
7447 if test $wxUSE_DYNAMIC_LOADER = yes; then
7448 result=no
7449 else
7450 result=yes
7451 fi
7452 else
7453 result=$wxUSE_DYNAMIC_LOADER
7454 fi
7455
7456 { echo "$as_me:$LINENO: result: $result" >&5
7457 echo "${ECHO_T}$result" >&6; }
7458
7459
7460 enablestring=
7461 defaultval=$wxUSE_ALL_FEATURES
7462 if test -z "$defaultval"; then
7463 if test x"$enablestring" = xdisable; then
7464 defaultval=yes
7465 else
7466 defaultval=no
7467 fi
7468 fi
7469
7470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7471 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7472 # Check whether --enable-exceptions was given.
7473 if test "${enable_exceptions+set}" = set; then
7474 enableval=$enable_exceptions;
7475 if test "$enableval" = yes; then
7476 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7477 else
7478 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7479 fi
7480 cache=yes
7481
7482 else
7483
7484 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7485 if test "x$LINE" != x ; then
7486 eval "DEFAULT_$LINE"
7487 cache=yes
7488 else
7489 cache=no
7490 fi
7491
7492 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7493
7494 fi
7495
7496
7497 eval "$wx_cv_use_exceptions"
7498 if test "x$cache" = xyes; then
7499 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7500 fi
7501
7502 if test x"$enablestring" = xdisable; then
7503 if test $wxUSE_EXCEPTIONS = yes; then
7504 result=no
7505 else
7506 result=yes
7507 fi
7508 else
7509 result=$wxUSE_EXCEPTIONS
7510 fi
7511
7512 { echo "$as_me:$LINENO: result: $result" >&5
7513 echo "${ECHO_T}$result" >&6; }
7514
7515
7516 enablestring=
7517 defaultval=$wxUSE_ALL_FEATURES
7518 if test -z "$defaultval"; then
7519 if test x"$enablestring" = xdisable; then
7520 defaultval=yes
7521 else
7522 defaultval=no
7523 fi
7524 fi
7525
7526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7527 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7528 # Check whether --enable-ffile was given.
7529 if test "${enable_ffile+set}" = set; then
7530 enableval=$enable_ffile;
7531 if test "$enableval" = yes; then
7532 wx_cv_use_ffile='wxUSE_FFILE=yes'
7533 else
7534 wx_cv_use_ffile='wxUSE_FFILE=no'
7535 fi
7536 cache=yes
7537
7538 else
7539
7540 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7541 if test "x$LINE" != x ; then
7542 eval "DEFAULT_$LINE"
7543 cache=yes
7544 else
7545 cache=no
7546 fi
7547
7548 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7549
7550 fi
7551
7552
7553 eval "$wx_cv_use_ffile"
7554 if test "x$cache" = xyes; then
7555 echo "wxUSE_FFILE=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7556 fi
7557
7558 if test x"$enablestring" = xdisable; then
7559 if test $wxUSE_FFILE = yes; then
7560 result=no
7561 else
7562 result=yes
7563 fi
7564 else
7565 result=$wxUSE_FFILE
7566 fi
7567
7568 { echo "$as_me:$LINENO: result: $result" >&5
7569 echo "${ECHO_T}$result" >&6; }
7570
7571
7572 enablestring=
7573 defaultval=$wxUSE_ALL_FEATURES
7574 if test -z "$defaultval"; then
7575 if test x"$enablestring" = xdisable; then
7576 defaultval=yes
7577 else
7578 defaultval=no
7579 fi
7580 fi
7581
7582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7583 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7584 # Check whether --enable-file was given.
7585 if test "${enable_file+set}" = set; then
7586 enableval=$enable_file;
7587 if test "$enableval" = yes; then
7588 wx_cv_use_file='wxUSE_FILE=yes'
7589 else
7590 wx_cv_use_file='wxUSE_FILE=no'
7591 fi
7592 cache=yes
7593
7594 else
7595
7596 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7597 if test "x$LINE" != x ; then
7598 eval "DEFAULT_$LINE"
7599 cache=yes
7600 else
7601 cache=no
7602 fi
7603
7604 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7605
7606 fi
7607
7608
7609 eval "$wx_cv_use_file"
7610 if test "x$cache" = xyes; then
7611 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7612 fi
7613
7614 if test x"$enablestring" = xdisable; then
7615 if test $wxUSE_FILE = yes; then
7616 result=no
7617 else
7618 result=yes
7619 fi
7620 else
7621 result=$wxUSE_FILE
7622 fi
7623
7624 { echo "$as_me:$LINENO: result: $result" >&5
7625 echo "${ECHO_T}$result" >&6; }
7626
7627
7628 enablestring=
7629 defaultval=$wxUSE_ALL_FEATURES
7630 if test -z "$defaultval"; then
7631 if test x"$enablestring" = xdisable; then
7632 defaultval=yes
7633 else
7634 defaultval=no
7635 fi
7636 fi
7637
7638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7639 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7640 # Check whether --enable-filesystem was given.
7641 if test "${enable_filesystem+set}" = set; then
7642 enableval=$enable_filesystem;
7643 if test "$enableval" = yes; then
7644 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7645 else
7646 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7647 fi
7648 cache=yes
7649
7650 else
7651
7652 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7653 if test "x$LINE" != x ; then
7654 eval "DEFAULT_$LINE"
7655 cache=yes
7656 else
7657 cache=no
7658 fi
7659
7660 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7661
7662 fi
7663
7664
7665 eval "$wx_cv_use_filesystem"
7666 if test "x$cache" = xyes; then
7667 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7668 fi
7669
7670 if test x"$enablestring" = xdisable; then
7671 if test $wxUSE_FILESYSTEM = yes; then
7672 result=no
7673 else
7674 result=yes
7675 fi
7676 else
7677 result=$wxUSE_FILESYSTEM
7678 fi
7679
7680 { echo "$as_me:$LINENO: result: $result" >&5
7681 echo "${ECHO_T}$result" >&6; }
7682
7683
7684 enablestring=
7685 defaultval=$wxUSE_ALL_FEATURES
7686 if test -z "$defaultval"; then
7687 if test x"$enablestring" = xdisable; then
7688 defaultval=yes
7689 else
7690 defaultval=no
7691 fi
7692 fi
7693
7694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7695 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7696 # Check whether --enable-fontenum was given.
7697 if test "${enable_fontenum+set}" = set; then
7698 enableval=$enable_fontenum;
7699 if test "$enableval" = yes; then
7700 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7701 else
7702 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7703 fi
7704 cache=yes
7705
7706 else
7707
7708 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7709 if test "x$LINE" != x ; then
7710 eval "DEFAULT_$LINE"
7711 cache=yes
7712 else
7713 cache=no
7714 fi
7715
7716 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7717
7718 fi
7719
7720
7721 eval "$wx_cv_use_fontenum"
7722 if test "x$cache" = xyes; then
7723 echo "wxUSE_FONTENUM=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7724 fi
7725
7726 if test x"$enablestring" = xdisable; then
7727 if test $wxUSE_FONTENUM = yes; then
7728 result=no
7729 else
7730 result=yes
7731 fi
7732 else
7733 result=$wxUSE_FONTENUM
7734 fi
7735
7736 { echo "$as_me:$LINENO: result: $result" >&5
7737 echo "${ECHO_T}$result" >&6; }
7738
7739
7740 enablestring=
7741 defaultval=$wxUSE_ALL_FEATURES
7742 if test -z "$defaultval"; then
7743 if test x"$enablestring" = xdisable; then
7744 defaultval=yes
7745 else
7746 defaultval=no
7747 fi
7748 fi
7749
7750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7751 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7752 # Check whether --enable-fontmap was given.
7753 if test "${enable_fontmap+set}" = set; then
7754 enableval=$enable_fontmap;
7755 if test "$enableval" = yes; then
7756 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7757 else
7758 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7759 fi
7760 cache=yes
7761
7762 else
7763
7764 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7765 if test "x$LINE" != x ; then
7766 eval "DEFAULT_$LINE"
7767 cache=yes
7768 else
7769 cache=no
7770 fi
7771
7772 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7773
7774 fi
7775
7776
7777 eval "$wx_cv_use_fontmap"
7778 if test "x$cache" = xyes; then
7779 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7780 fi
7781
7782 if test x"$enablestring" = xdisable; then
7783 if test $wxUSE_FONTMAP = yes; then
7784 result=no
7785 else
7786 result=yes
7787 fi
7788 else
7789 result=$wxUSE_FONTMAP
7790 fi
7791
7792 { echo "$as_me:$LINENO: result: $result" >&5
7793 echo "${ECHO_T}$result" >&6; }
7794
7795
7796 enablestring=
7797 defaultval=$wxUSE_ALL_FEATURES
7798 if test -z "$defaultval"; then
7799 if test x"$enablestring" = xdisable; then
7800 defaultval=yes
7801 else
7802 defaultval=no
7803 fi
7804 fi
7805
7806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7807 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7808 # Check whether --enable-fs_archive was given.
7809 if test "${enable_fs_archive+set}" = set; then
7810 enableval=$enable_fs_archive;
7811 if test "$enableval" = yes; then
7812 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7813 else
7814 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7815 fi
7816 cache=yes
7817
7818 else
7819
7820 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7821 if test "x$LINE" != x ; then
7822 eval "DEFAULT_$LINE"
7823 cache=yes
7824 else
7825 cache=no
7826 fi
7827
7828 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7829
7830 fi
7831
7832
7833 eval "$wx_cv_use_fs_archive"
7834 if test "x$cache" = xyes; then
7835 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7836 fi
7837
7838 if test x"$enablestring" = xdisable; then
7839 if test $wxUSE_FS_ARCHIVE = yes; then
7840 result=no
7841 else
7842 result=yes
7843 fi
7844 else
7845 result=$wxUSE_FS_ARCHIVE
7846 fi
7847
7848 { echo "$as_me:$LINENO: result: $result" >&5
7849 echo "${ECHO_T}$result" >&6; }
7850
7851
7852 enablestring=
7853 defaultval=$wxUSE_ALL_FEATURES
7854 if test -z "$defaultval"; then
7855 if test x"$enablestring" = xdisable; then
7856 defaultval=yes
7857 else
7858 defaultval=no
7859 fi
7860 fi
7861
7862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7863 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7864 # Check whether --enable-fs_inet was given.
7865 if test "${enable_fs_inet+set}" = set; then
7866 enableval=$enable_fs_inet;
7867 if test "$enableval" = yes; then
7868 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7869 else
7870 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7871 fi
7872 cache=yes
7873
7874 else
7875
7876 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7877 if test "x$LINE" != x ; then
7878 eval "DEFAULT_$LINE"
7879 cache=yes
7880 else
7881 cache=no
7882 fi
7883
7884 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7885
7886 fi
7887
7888
7889 eval "$wx_cv_use_fs_inet"
7890 if test "x$cache" = xyes; then
7891 echo "wxUSE_FS_INET=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7892 fi
7893
7894 if test x"$enablestring" = xdisable; then
7895 if test $wxUSE_FS_INET = yes; then
7896 result=no
7897 else
7898 result=yes
7899 fi
7900 else
7901 result=$wxUSE_FS_INET
7902 fi
7903
7904 { echo "$as_me:$LINENO: result: $result" >&5
7905 echo "${ECHO_T}$result" >&6; }
7906
7907
7908 enablestring=
7909 defaultval=$wxUSE_ALL_FEATURES
7910 if test -z "$defaultval"; then
7911 if test x"$enablestring" = xdisable; then
7912 defaultval=yes
7913 else
7914 defaultval=no
7915 fi
7916 fi
7917
7918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7919 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7920 # Check whether --enable-fs_zip was given.
7921 if test "${enable_fs_zip+set}" = set; then
7922 enableval=$enable_fs_zip;
7923 if test "$enableval" = yes; then
7924 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7925 else
7926 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7927 fi
7928 cache=yes
7929
7930 else
7931
7932 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7933 if test "x$LINE" != x ; then
7934 eval "DEFAULT_$LINE"
7935 cache=yes
7936 else
7937 cache=no
7938 fi
7939
7940 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7941
7942 fi
7943
7944
7945 eval "$wx_cv_use_fs_zip"
7946 if test "x$cache" = xyes; then
7947 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
7948 fi
7949
7950 if test x"$enablestring" = xdisable; then
7951 if test $wxUSE_FS_ZIP = yes; then
7952 result=no
7953 else
7954 result=yes
7955 fi
7956 else
7957 result=$wxUSE_FS_ZIP
7958 fi
7959
7960 { echo "$as_me:$LINENO: result: $result" >&5
7961 echo "${ECHO_T}$result" >&6; }
7962
7963
7964 enablestring=
7965 defaultval=$wxUSE_ALL_FEATURES
7966 if test -z "$defaultval"; then
7967 if test x"$enablestring" = xdisable; then
7968 defaultval=yes
7969 else
7970 defaultval=no
7971 fi
7972 fi
7973
7974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7975 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7976 # Check whether --enable-geometry was given.
7977 if test "${enable_geometry+set}" = set; then
7978 enableval=$enable_geometry;
7979 if test "$enableval" = yes; then
7980 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7981 else
7982 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7983 fi
7984 cache=yes
7985
7986 else
7987
7988 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7989 if test "x$LINE" != x ; then
7990 eval "DEFAULT_$LINE"
7991 cache=yes
7992 else
7993 cache=no
7994 fi
7995
7996 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7997
7998 fi
7999
8000
8001 eval "$wx_cv_use_geometry"
8002 if test "x$cache" = xyes; then
8003 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
8004 fi
8005
8006 if test x"$enablestring" = xdisable; then
8007 if test $wxUSE_GEOMETRY = yes; then
8008 result=no
8009 else
8010 result=yes
8011 fi
8012 else
8013 result=$wxUSE_GEOMETRY
8014 fi
8015
8016 { echo "$as_me:$LINENO: result: $result" >&5
8017 echo "${ECHO_T}$result" >&6; }
8018
8019
8020 enablestring=
8021 defaultval=$wxUSE_ALL_FEATURES
8022 if test -z "$defaultval"; then
8023 if test x"$enablestring" = xdisable; then
8024 defaultval=yes
8025 else
8026 defaultval=no
8027 fi
8028 fi
8029
8030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
8031 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
8032 # Check whether --enable-log was given.
8033 if test "${enable_log+set}" = set; then
8034 enableval=$enable_log;
8035 if test "$enableval" = yes; then
8036 wx_cv_use_log='wxUSE_LOG=yes'
8037 else
8038 wx_cv_use_log='wxUSE_LOG=no'
8039 fi
8040 cache=yes
8041
8042 else
8043
8044 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
8045 if test "x$LINE" != x ; then
8046 eval "DEFAULT_$LINE"
8047 cache=yes
8048 else
8049 cache=no
8050 fi
8051
8052 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8053
8054 fi
8055
8056
8057 eval "$wx_cv_use_log"
8058 if test "x$cache" = xyes; then
8059 echo "wxUSE_LOG=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
8060 fi
8061
8062 if test x"$enablestring" = xdisable; then
8063 if test $wxUSE_LOG = yes; then
8064 result=no
8065 else
8066 result=yes
8067 fi
8068 else
8069 result=$wxUSE_LOG
8070 fi
8071
8072 { echo "$as_me:$LINENO: result: $result" >&5
8073 echo "${ECHO_T}$result" >&6; }
8074
8075
8076 enablestring=
8077 defaultval=$wxUSE_ALL_FEATURES
8078 if test -z "$defaultval"; then
8079 if test x"$enablestring" = xdisable; then
8080 defaultval=yes
8081 else
8082 defaultval=no
8083 fi
8084 fi
8085
8086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
8087 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
8088 # Check whether --enable-longlong was given.
8089 if test "${enable_longlong+set}" = set; then
8090 enableval=$enable_longlong;
8091 if test "$enableval" = yes; then
8092 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8093 else
8094 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8095 fi
8096 cache=yes
8097
8098 else
8099
8100 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
8101 if test "x$LINE" != x ; then
8102 eval "DEFAULT_$LINE"
8103 cache=yes
8104 else
8105 cache=no
8106 fi
8107
8108 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8109
8110 fi
8111
8112
8113 eval "$wx_cv_use_longlong"
8114 if test "x$cache" = xyes; then
8115 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
8116 fi
8117
8118 if test x"$enablestring" = xdisable; then
8119 if test $wxUSE_LONGLONG = yes; then
8120 result=no
8121 else
8122 result=yes
8123 fi
8124 else
8125 result=$wxUSE_LONGLONG
8126 fi
8127
8128 { echo "$as_me:$LINENO: result: $result" >&5
8129 echo "${ECHO_T}$result" >&6; }
8130
8131
8132 enablestring=
8133 defaultval=$wxUSE_ALL_FEATURES
8134 if test -z "$defaultval"; then
8135 if test x"$enablestring" = xdisable; then
8136 defaultval=yes
8137 else
8138 defaultval=no
8139 fi
8140 fi
8141
8142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
8143 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
8144 # Check whether --enable-mimetype was given.
8145 if test "${enable_mimetype+set}" = set; then
8146 enableval=$enable_mimetype;
8147 if test "$enableval" = yes; then
8148 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8149 else
8150 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8151 fi
8152 cache=yes
8153
8154 else
8155
8156 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
8157 if test "x$LINE" != x ; then
8158 eval "DEFAULT_$LINE"
8159 cache=yes
8160 else
8161 cache=no
8162 fi
8163
8164 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8165
8166 fi
8167
8168
8169 eval "$wx_cv_use_mimetype"
8170 if test "x$cache" = xyes; then
8171 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
8172 fi
8173
8174 if test x"$enablestring" = xdisable; then
8175 if test $wxUSE_MIMETYPE = yes; then
8176 result=no
8177 else
8178 result=yes
8179 fi
8180 else
8181 result=$wxUSE_MIMETYPE
8182 fi
8183
8184 { echo "$as_me:$LINENO: result: $result" >&5
8185 echo "${ECHO_T}$result" >&6; }
8186
8187
8188 enablestring=
8189 defaultval=$wxUSE_ALL_FEATURES
8190 if test -z "$defaultval"; then
8191 if test x"$enablestring" = xdisable; then
8192 defaultval=yes
8193 else
8194 defaultval=no
8195 fi
8196 fi
8197
8198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
8199 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
8200 # Check whether --enable-snglinst was given.
8201 if test "${enable_snglinst+set}" = set; then
8202 enableval=$enable_snglinst;
8203 if test "$enableval" = yes; then
8204 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8205 else
8206 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8207 fi
8208 cache=yes
8209
8210 else
8211
8212 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
8213 if test "x$LINE" != x ; then
8214 eval "DEFAULT_$LINE"
8215 cache=yes
8216 else
8217 cache=no
8218 fi
8219
8220 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8221
8222 fi
8223
8224
8225 eval "$wx_cv_use_snglinst"
8226 if test "x$cache" = xyes; then
8227 echo "wxUSE_SNGLINST_CHECKER=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
8228 fi
8229
8230 if test x"$enablestring" = xdisable; then
8231 if test $wxUSE_SNGLINST_CHECKER = yes; then
8232 result=no
8233 else
8234 result=yes
8235 fi
8236 else
8237 result=$wxUSE_SNGLINST_CHECKER
8238 fi
8239
8240 { echo "$as_me:$LINENO: result: $result" >&5
8241 echo "${ECHO_T}$result" >&6; }
8242
8243
8244 enablestring=
8245 defaultval=$wxUSE_ALL_FEATURES
8246 if test -z "$defaultval"; then
8247 if test x"$enablestring" = xdisable; then
8248 defaultval=yes
8249 else
8250 defaultval=no
8251 fi
8252 fi
8253
8254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
8255 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
8256 # Check whether --enable-stdpaths was given.
8257 if test "${enable_stdpaths+set}" = set; then
8258 enableval=$enable_stdpaths;
8259 if test "$enableval" = yes; then
8260 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8261 else
8262 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8263 fi
8264 cache=yes
8265
8266 else
8267
8268 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
8269 if test "x$LINE" != x ; then
8270 eval "DEFAULT_$LINE"
8271 cache=yes
8272 else
8273 cache=no
8274 fi
8275
8276 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8277
8278 fi
8279
8280
8281 eval "$wx_cv_use_stdpaths"
8282 if test "x$cache" = xyes; then
8283 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
8284 fi
8285
8286 if test x"$enablestring" = xdisable; then
8287 if test $wxUSE_STDPATHS = yes; then
8288 result=no
8289 else
8290 result=yes
8291 fi
8292 else
8293 result=$wxUSE_STDPATHS
8294 fi
8295
8296 { echo "$as_me:$LINENO: result: $result" >&5
8297 echo "${ECHO_T}$result" >&6; }
8298
8299
8300 enablestring=
8301 defaultval=$wxUSE_ALL_FEATURES
8302 if test -z "$defaultval"; then
8303 if test x"$enablestring" = xdisable; then
8304 defaultval=yes
8305 else
8306 defaultval=no
8307 fi
8308 fi
8309
8310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8311 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8312 # Check whether --enable-stopwatch was given.
8313 if test "${enable_stopwatch+set}" = set; then
8314 enableval=$enable_stopwatch;
8315 if test "$enableval" = yes; then
8316 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8317 else
8318 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8319 fi
8320 cache=yes
8321
8322 else
8323
8324 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8325 if test "x$LINE" != x ; then
8326 eval "DEFAULT_$LINE"
8327 cache=yes
8328 else
8329 cache=no
8330 fi
8331
8332 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8333
8334 fi
8335
8336
8337 eval "$wx_cv_use_stopwatch"
8338 if test "x$cache" = xyes; then
8339 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
8340 fi
8341
8342 if test x"$enablestring" = xdisable; then
8343 if test $wxUSE_STOPWATCH = yes; then
8344 result=no
8345 else
8346 result=yes
8347 fi
8348 else
8349 result=$wxUSE_STOPWATCH
8350 fi
8351
8352 { echo "$as_me:$LINENO: result: $result" >&5
8353 echo "${ECHO_T}$result" >&6; }
8354
8355
8356 enablestring=
8357 defaultval=$wxUSE_ALL_FEATURES
8358 if test -z "$defaultval"; then
8359 if test x"$enablestring" = xdisable; then
8360 defaultval=yes
8361 else
8362 defaultval=no
8363 fi
8364 fi
8365
8366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8367 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8368 # Check whether --enable-streams was given.
8369 if test "${enable_streams+set}" = set; then
8370 enableval=$enable_streams;
8371 if test "$enableval" = yes; then
8372 wx_cv_use_streams='wxUSE_STREAMS=yes'
8373 else
8374 wx_cv_use_streams='wxUSE_STREAMS=no'
8375 fi
8376 cache=yes
8377
8378 else
8379
8380 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8381 if test "x$LINE" != x ; then
8382 eval "DEFAULT_$LINE"
8383 cache=yes
8384 else
8385 cache=no
8386 fi
8387
8388 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8389
8390 fi
8391
8392
8393 eval "$wx_cv_use_streams"
8394 if test "x$cache" = xyes; then
8395 echo "wxUSE_STREAMS=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8396 fi
8397
8398 if test x"$enablestring" = xdisable; then
8399 if test $wxUSE_STREAMS = yes; then
8400 result=no
8401 else
8402 result=yes
8403 fi
8404 else
8405 result=$wxUSE_STREAMS
8406 fi
8407
8408 { echo "$as_me:$LINENO: result: $result" >&5
8409 echo "${ECHO_T}$result" >&6; }
8410
8411
8412 enablestring=
8413 defaultval=$wxUSE_ALL_FEATURES
8414 if test -z "$defaultval"; then
8415 if test x"$enablestring" = xdisable; then
8416 defaultval=yes
8417 else
8418 defaultval=no
8419 fi
8420 fi
8421
8422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8423 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8424 # Check whether --enable-system_options was given.
8425 if test "${enable_system_options+set}" = set; then
8426 enableval=$enable_system_options;
8427 if test "$enableval" = yes; then
8428 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8429 else
8430 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8431 fi
8432 cache=yes
8433
8434 else
8435
8436 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8437 if test "x$LINE" != x ; then
8438 eval "DEFAULT_$LINE"
8439 cache=yes
8440 else
8441 cache=no
8442 fi
8443
8444 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8445
8446 fi
8447
8448
8449 eval "$wx_cv_use_system_options"
8450 if test "x$cache" = xyes; then
8451 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8452 fi
8453
8454 if test x"$enablestring" = xdisable; then
8455 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8456 result=no
8457 else
8458 result=yes
8459 fi
8460 else
8461 result=$wxUSE_SYSTEM_OPTIONS
8462 fi
8463
8464 { echo "$as_me:$LINENO: result: $result" >&5
8465 echo "${ECHO_T}$result" >&6; }
8466
8467
8468 enablestring=
8469 defaultval=$wxUSE_ALL_FEATURES
8470 if test -z "$defaultval"; then
8471 if test x"$enablestring" = xdisable; then
8472 defaultval=yes
8473 else
8474 defaultval=no
8475 fi
8476 fi
8477
8478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8479 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8480 # Check whether --enable-tarstream was given.
8481 if test "${enable_tarstream+set}" = set; then
8482 enableval=$enable_tarstream;
8483 if test "$enableval" = yes; then
8484 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8485 else
8486 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8487 fi
8488 cache=yes
8489
8490 else
8491
8492 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8493 if test "x$LINE" != x ; then
8494 eval "DEFAULT_$LINE"
8495 cache=yes
8496 else
8497 cache=no
8498 fi
8499
8500 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8501
8502 fi
8503
8504
8505 eval "$wx_cv_use_tarstream"
8506 if test "x$cache" = xyes; then
8507 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8508 fi
8509
8510 if test x"$enablestring" = xdisable; then
8511 if test $wxUSE_TARSTREAM = yes; then
8512 result=no
8513 else
8514 result=yes
8515 fi
8516 else
8517 result=$wxUSE_TARSTREAM
8518 fi
8519
8520 { echo "$as_me:$LINENO: result: $result" >&5
8521 echo "${ECHO_T}$result" >&6; }
8522
8523
8524 enablestring=
8525 defaultval=$wxUSE_ALL_FEATURES
8526 if test -z "$defaultval"; then
8527 if test x"$enablestring" = xdisable; then
8528 defaultval=yes
8529 else
8530 defaultval=no
8531 fi
8532 fi
8533
8534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8535 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8536 # Check whether --enable-textbuf was given.
8537 if test "${enable_textbuf+set}" = set; then
8538 enableval=$enable_textbuf;
8539 if test "$enableval" = yes; then
8540 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8541 else
8542 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8543 fi
8544 cache=yes
8545
8546 else
8547
8548 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8549 if test "x$LINE" != x ; then
8550 eval "DEFAULT_$LINE"
8551 cache=yes
8552 else
8553 cache=no
8554 fi
8555
8556 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8557
8558 fi
8559
8560
8561 eval "$wx_cv_use_textbuf"
8562 if test "x$cache" = xyes; then
8563 echo "wxUSE_TEXTBUFFER=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8564 fi
8565
8566 if test x"$enablestring" = xdisable; then
8567 if test $wxUSE_TEXTBUFFER = yes; then
8568 result=no
8569 else
8570 result=yes
8571 fi
8572 else
8573 result=$wxUSE_TEXTBUFFER
8574 fi
8575
8576 { echo "$as_me:$LINENO: result: $result" >&5
8577 echo "${ECHO_T}$result" >&6; }
8578
8579
8580 enablestring=
8581 defaultval=$wxUSE_ALL_FEATURES
8582 if test -z "$defaultval"; then
8583 if test x"$enablestring" = xdisable; then
8584 defaultval=yes
8585 else
8586 defaultval=no
8587 fi
8588 fi
8589
8590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8591 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8592 # Check whether --enable-textfile was given.
8593 if test "${enable_textfile+set}" = set; then
8594 enableval=$enable_textfile;
8595 if test "$enableval" = yes; then
8596 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8597 else
8598 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8599 fi
8600 cache=yes
8601
8602 else
8603
8604 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8605 if test "x$LINE" != x ; then
8606 eval "DEFAULT_$LINE"
8607 cache=yes
8608 else
8609 cache=no
8610 fi
8611
8612 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8613
8614 fi
8615
8616
8617 eval "$wx_cv_use_textfile"
8618 if test "x$cache" = xyes; then
8619 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8620 fi
8621
8622 if test x"$enablestring" = xdisable; then
8623 if test $wxUSE_TEXTFILE = yes; then
8624 result=no
8625 else
8626 result=yes
8627 fi
8628 else
8629 result=$wxUSE_TEXTFILE
8630 fi
8631
8632 { echo "$as_me:$LINENO: result: $result" >&5
8633 echo "${ECHO_T}$result" >&6; }
8634
8635
8636 enablestring=
8637 defaultval=$wxUSE_ALL_FEATURES
8638 if test -z "$defaultval"; then
8639 if test x"$enablestring" = xdisable; then
8640 defaultval=yes
8641 else
8642 defaultval=no
8643 fi
8644 fi
8645
8646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8647 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8648 # Check whether --enable-timer was given.
8649 if test "${enable_timer+set}" = set; then
8650 enableval=$enable_timer;
8651 if test "$enableval" = yes; then
8652 wx_cv_use_timer='wxUSE_TIMER=yes'
8653 else
8654 wx_cv_use_timer='wxUSE_TIMER=no'
8655 fi
8656 cache=yes
8657
8658 else
8659
8660 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8661 if test "x$LINE" != x ; then
8662 eval "DEFAULT_$LINE"
8663 cache=yes
8664 else
8665 cache=no
8666 fi
8667
8668 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8669
8670 fi
8671
8672
8673 eval "$wx_cv_use_timer"
8674 if test "x$cache" = xyes; then
8675 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8676 fi
8677
8678 if test x"$enablestring" = xdisable; then
8679 if test $wxUSE_TIMER = yes; then
8680 result=no
8681 else
8682 result=yes
8683 fi
8684 else
8685 result=$wxUSE_TIMER
8686 fi
8687
8688 { echo "$as_me:$LINENO: result: $result" >&5
8689 echo "${ECHO_T}$result" >&6; }
8690
8691
8692 enablestring=
8693 defaultval=$wxUSE_ALL_FEATURES
8694 if test -z "$defaultval"; then
8695 if test x"$enablestring" = xdisable; then
8696 defaultval=yes
8697 else
8698 defaultval=no
8699 fi
8700 fi
8701
8702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8703 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8704 # Check whether --enable-sound was given.
8705 if test "${enable_sound+set}" = set; then
8706 enableval=$enable_sound;
8707 if test "$enableval" = yes; then
8708 wx_cv_use_sound='wxUSE_SOUND=yes'
8709 else
8710 wx_cv_use_sound='wxUSE_SOUND=no'
8711 fi
8712 cache=yes
8713
8714 else
8715
8716 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8717 if test "x$LINE" != x ; then
8718 eval "DEFAULT_$LINE"
8719 cache=yes
8720 else
8721 cache=no
8722 fi
8723
8724 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8725
8726 fi
8727
8728
8729 eval "$wx_cv_use_sound"
8730 if test "x$cache" = xyes; then
8731 echo "wxUSE_SOUND=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8732 fi
8733
8734 if test x"$enablestring" = xdisable; then
8735 if test $wxUSE_SOUND = yes; then
8736 result=no
8737 else
8738 result=yes
8739 fi
8740 else
8741 result=$wxUSE_SOUND
8742 fi
8743
8744 { echo "$as_me:$LINENO: result: $result" >&5
8745 echo "${ECHO_T}$result" >&6; }
8746
8747
8748 enablestring=
8749 defaultval=$wxUSE_ALL_FEATURES
8750 if test -z "$defaultval"; then
8751 if test x"$enablestring" = xdisable; then
8752 defaultval=yes
8753 else
8754 defaultval=no
8755 fi
8756 fi
8757
8758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8759 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8760 # Check whether --enable-mediactrl was given.
8761 if test "${enable_mediactrl+set}" = set; then
8762 enableval=$enable_mediactrl;
8763 if test "$enableval" = yes; then
8764 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8765 else
8766 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8767 fi
8768 cache=yes
8769
8770 else
8771
8772 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8773 if test "x$LINE" != x ; then
8774 eval "DEFAULT_$LINE"
8775 cache=yes
8776 else
8777 cache=no
8778 fi
8779
8780 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8781
8782 fi
8783
8784
8785 eval "$wx_cv_use_mediactrl"
8786 if test "x$cache" = xyes; then
8787 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8788 fi
8789
8790 if test x"$enablestring" = xdisable; then
8791 if test $wxUSE_MEDIACTRL = yes; then
8792 result=no
8793 else
8794 result=yes
8795 fi
8796 else
8797 result=$wxUSE_MEDIACTRL
8798 fi
8799
8800 { echo "$as_me:$LINENO: result: $result" >&5
8801 echo "${ECHO_T}$result" >&6; }
8802
8803
8804 enablestring=
8805 defaultval=$wxUSE_ALL_FEATURES
8806 if test -z "$defaultval"; then
8807 if test x"$enablestring" = xdisable; then
8808 defaultval=yes
8809 else
8810 defaultval=no
8811 fi
8812 fi
8813
8814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8815 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8816 # Check whether --enable-gstreamer8 was given.
8817 if test "${enable_gstreamer8+set}" = set; then
8818 enableval=$enable_gstreamer8;
8819 if test "$enableval" = yes; then
8820 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8821 else
8822 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8823 fi
8824 cache=yes
8825
8826 else
8827
8828 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8829 if test "x$LINE" != x ; then
8830 eval "DEFAULT_$LINE"
8831 cache=yes
8832 else
8833 cache=no
8834 fi
8835
8836 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8837
8838 fi
8839
8840
8841 eval "$wx_cv_use_gstreamer8"
8842 if test "x$cache" = xyes; then
8843 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8844 fi
8845
8846 if test x"$enablestring" = xdisable; then
8847 if test $wxUSE_GSTREAMER8 = yes; then
8848 result=no
8849 else
8850 result=yes
8851 fi
8852 else
8853 result=$wxUSE_GSTREAMER8
8854 fi
8855
8856 { echo "$as_me:$LINENO: result: $result" >&5
8857 echo "${ECHO_T}$result" >&6; }
8858
8859
8860 enablestring=
8861 defaultval=$wxUSE_ALL_FEATURES
8862 if test -z "$defaultval"; then
8863 if test x"$enablestring" = xdisable; then
8864 defaultval=yes
8865 else
8866 defaultval=no
8867 fi
8868 fi
8869
8870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8871 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8872 # Check whether --enable-printfposparam was given.
8873 if test "${enable_printfposparam+set}" = set; then
8874 enableval=$enable_printfposparam;
8875 if test "$enableval" = yes; then
8876 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8877 else
8878 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8879 fi
8880 cache=yes
8881
8882 else
8883
8884 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8885 if test "x$LINE" != x ; then
8886 eval "DEFAULT_$LINE"
8887 cache=yes
8888 else
8889 cache=no
8890 fi
8891
8892 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8893
8894 fi
8895
8896
8897 eval "$wx_cv_use_printfposparam"
8898 if test "x$cache" = xyes; then
8899 echo "wxUSE_PRINTF_POS_PARAMS=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8900 fi
8901
8902 if test x"$enablestring" = xdisable; then
8903 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8904 result=no
8905 else
8906 result=yes
8907 fi
8908 else
8909 result=$wxUSE_PRINTF_POS_PARAMS
8910 fi
8911
8912 { echo "$as_me:$LINENO: result: $result" >&5
8913 echo "${ECHO_T}$result" >&6; }
8914
8915
8916 enablestring=
8917 defaultval=$wxUSE_ALL_FEATURES
8918 if test -z "$defaultval"; then
8919 if test x"$enablestring" = xdisable; then
8920 defaultval=yes
8921 else
8922 defaultval=no
8923 fi
8924 fi
8925
8926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8927 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8928 # Check whether --enable-zipstream was given.
8929 if test "${enable_zipstream+set}" = set; then
8930 enableval=$enable_zipstream;
8931 if test "$enableval" = yes; then
8932 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8933 else
8934 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8935 fi
8936 cache=yes
8937
8938 else
8939
8940 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8941 if test "x$LINE" != x ; then
8942 eval "DEFAULT_$LINE"
8943 cache=yes
8944 else
8945 cache=no
8946 fi
8947
8948 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8949
8950 fi
8951
8952
8953 eval "$wx_cv_use_zipstream"
8954 if test "x$cache" = xyes; then
8955 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
8956 fi
8957
8958 if test x"$enablestring" = xdisable; then
8959 if test $wxUSE_ZIPSTREAM = yes; then
8960 result=no
8961 else
8962 result=yes
8963 fi
8964 else
8965 result=$wxUSE_ZIPSTREAM
8966 fi
8967
8968 { echo "$as_me:$LINENO: result: $result" >&5
8969 echo "${ECHO_T}$result" >&6; }
8970
8971
8972
8973 enablestring=
8974 defaultval=$wxUSE_ALL_FEATURES
8975 if test -z "$defaultval"; then
8976 if test x"$enablestring" = xdisable; then
8977 defaultval=yes
8978 else
8979 defaultval=no
8980 fi
8981 fi
8982
8983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8984 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8985 # Check whether --enable-url was given.
8986 if test "${enable_url+set}" = set; then
8987 enableval=$enable_url;
8988 if test "$enableval" = yes; then
8989 wx_cv_use_url='wxUSE_URL=yes'
8990 else
8991 wx_cv_use_url='wxUSE_URL=no'
8992 fi
8993 cache=yes
8994
8995 else
8996
8997 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8998 if test "x$LINE" != x ; then
8999 eval "DEFAULT_$LINE"
9000 cache=yes
9001 else
9002 cache=no
9003 fi
9004
9005 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9006
9007 fi
9008
9009
9010 eval "$wx_cv_use_url"
9011 if test "x$cache" = xyes; then
9012 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
9013 fi
9014
9015 if test x"$enablestring" = xdisable; then
9016 if test $wxUSE_URL = yes; then
9017 result=no
9018 else
9019 result=yes
9020 fi
9021 else
9022 result=$wxUSE_URL
9023 fi
9024
9025 { echo "$as_me:$LINENO: result: $result" >&5
9026 echo "${ECHO_T}$result" >&6; }
9027
9028
9029 enablestring=
9030 defaultval=$wxUSE_ALL_FEATURES
9031 if test -z "$defaultval"; then
9032 if test x"$enablestring" = xdisable; then
9033 defaultval=yes
9034 else
9035 defaultval=no
9036 fi
9037 fi
9038
9039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
9040 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
9041 # Check whether --enable-variant was given.
9042 if test "${enable_variant+set}" = set; then
9043 enableval=$enable_variant;
9044 if test "$enableval" = yes; then
9045 wx_cv_use_variant='wxUSE_VARIANT=yes'
9046 else
9047 wx_cv_use_variant='wxUSE_VARIANT=no'
9048 fi
9049 cache=yes
9050
9051 else
9052
9053 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
9054 if test "x$LINE" != x ; then
9055 eval "DEFAULT_$LINE"
9056 cache=yes
9057 else
9058 cache=no
9059 fi
9060
9061 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9062
9063 fi
9064
9065
9066 eval "$wx_cv_use_variant"
9067 if test "x$cache" = xyes; then
9068 echo "wxUSE_VARIANT=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
9069 fi
9070
9071 if test x"$enablestring" = xdisable; then
9072 if test $wxUSE_VARIANT = yes; then
9073 result=no
9074 else
9075 result=yes
9076 fi
9077 else
9078 result=$wxUSE_VARIANT
9079 fi
9080
9081 { echo "$as_me:$LINENO: result: $result" >&5
9082 echo "${ECHO_T}$result" >&6; }
9083
9084
9085 enablestring=
9086 defaultval=$wxUSE_ALL_FEATURES
9087 if test -z "$defaultval"; then
9088 if test x"$enablestring" = xdisable; then
9089 defaultval=yes
9090 else
9091 defaultval=no
9092 fi
9093 fi
9094
9095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
9096 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
9097 # Check whether --enable-protocol was given.
9098 if test "${enable_protocol+set}" = set; then
9099 enableval=$enable_protocol;
9100 if test "$enableval" = yes; then
9101 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9102 else
9103 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9104 fi
9105 cache=yes
9106
9107 else
9108
9109 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
9110 if test "x$LINE" != x ; then
9111 eval "DEFAULT_$LINE"
9112 cache=yes
9113 else
9114 cache=no
9115 fi
9116
9117 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9118
9119 fi
9120
9121
9122 eval "$wx_cv_use_protocol"
9123 if test "x$cache" = xyes; then
9124 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
9125 fi
9126
9127 if test x"$enablestring" = xdisable; then
9128 if test $wxUSE_PROTOCOL = yes; then
9129 result=no
9130 else
9131 result=yes
9132 fi
9133 else
9134 result=$wxUSE_PROTOCOL
9135 fi
9136
9137 { echo "$as_me:$LINENO: result: $result" >&5
9138 echo "${ECHO_T}$result" >&6; }
9139
9140
9141 enablestring=
9142 defaultval=$wxUSE_ALL_FEATURES
9143 if test -z "$defaultval"; then
9144 if test x"$enablestring" = xdisable; then
9145 defaultval=yes
9146 else
9147 defaultval=no
9148 fi
9149 fi
9150
9151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
9152 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
9153 # Check whether --enable-protocol_http was given.
9154 if test "${enable_protocol_http+set}" = set; then
9155 enableval=$enable_protocol_http;
9156 if test "$enableval" = yes; then
9157 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9158 else
9159 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9160 fi
9161 cache=yes
9162
9163 else
9164
9165 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
9166 if test "x$LINE" != x ; then
9167 eval "DEFAULT_$LINE"
9168 cache=yes
9169 else
9170 cache=no
9171 fi
9172
9173 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9174
9175 fi
9176
9177
9178 eval "$wx_cv_use_protocol_http"
9179 if test "x$cache" = xyes; then
9180 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
9181 fi
9182
9183 if test x"$enablestring" = xdisable; then
9184 if test $wxUSE_PROTOCOL_HTTP = yes; then
9185 result=no
9186 else
9187 result=yes
9188 fi
9189 else
9190 result=$wxUSE_PROTOCOL_HTTP
9191 fi
9192
9193 { echo "$as_me:$LINENO: result: $result" >&5
9194 echo "${ECHO_T}$result" >&6; }
9195
9196
9197 enablestring=
9198 defaultval=$wxUSE_ALL_FEATURES
9199 if test -z "$defaultval"; then
9200 if test x"$enablestring" = xdisable; then
9201 defaultval=yes
9202 else
9203 defaultval=no
9204 fi
9205 fi
9206
9207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
9208 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
9209 # Check whether --enable-protocol_ftp was given.
9210 if test "${enable_protocol_ftp+set}" = set; then
9211 enableval=$enable_protocol_ftp;
9212 if test "$enableval" = yes; then
9213 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9214 else
9215 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9216 fi
9217 cache=yes
9218
9219 else
9220
9221 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
9222 if test "x$LINE" != x ; then
9223 eval "DEFAULT_$LINE"
9224 cache=yes
9225 else
9226 cache=no
9227 fi
9228
9229 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9230
9231 fi
9232
9233
9234 eval "$wx_cv_use_protocol_ftp"
9235 if test "x$cache" = xyes; then
9236 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
9237 fi
9238
9239 if test x"$enablestring" = xdisable; then
9240 if test $wxUSE_PROTOCOL_FTP = yes; then
9241 result=no
9242 else
9243 result=yes
9244 fi
9245 else
9246 result=$wxUSE_PROTOCOL_FTP
9247 fi
9248
9249 { echo "$as_me:$LINENO: result: $result" >&5
9250 echo "${ECHO_T}$result" >&6; }
9251
9252
9253 enablestring=
9254 defaultval=$wxUSE_ALL_FEATURES
9255 if test -z "$defaultval"; then
9256 if test x"$enablestring" = xdisable; then
9257 defaultval=yes
9258 else
9259 defaultval=no
9260 fi
9261 fi
9262
9263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
9264 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
9265 # Check whether --enable-protocol_file was given.
9266 if test "${enable_protocol_file+set}" = set; then
9267 enableval=$enable_protocol_file;
9268 if test "$enableval" = yes; then
9269 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9270 else
9271 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9272 fi
9273 cache=yes
9274
9275 else
9276
9277 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
9278 if test "x$LINE" != x ; then
9279 eval "DEFAULT_$LINE"
9280 cache=yes
9281 else
9282 cache=no
9283 fi
9284
9285 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9286
9287 fi
9288
9289
9290 eval "$wx_cv_use_protocol_file"
9291 if test "x$cache" = xyes; then
9292 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
9293 fi
9294
9295 if test x"$enablestring" = xdisable; then
9296 if test $wxUSE_PROTOCOL_FILE = yes; then
9297 result=no
9298 else
9299 result=yes
9300 fi
9301 else
9302 result=$wxUSE_PROTOCOL_FILE
9303 fi
9304
9305 { echo "$as_me:$LINENO: result: $result" >&5
9306 echo "${ECHO_T}$result" >&6; }
9307
9308
9309
9310 enablestring=
9311 defaultval=$wxUSE_ALL_FEATURES
9312 if test -z "$defaultval"; then
9313 if test x"$enablestring" = xdisable; then
9314 defaultval=yes
9315 else
9316 defaultval=no
9317 fi
9318 fi
9319
9320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9321 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9322 # Check whether --enable-threads was given.
9323 if test "${enable_threads+set}" = set; then
9324 enableval=$enable_threads;
9325 if test "$enableval" = yes; then
9326 wx_cv_use_threads='wxUSE_THREADS=yes'
9327 else
9328 wx_cv_use_threads='wxUSE_THREADS=no'
9329 fi
9330 cache=yes
9331
9332 else
9333
9334 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9335 if test "x$LINE" != x ; then
9336 eval "DEFAULT_$LINE"
9337 cache=yes
9338 else
9339 cache=no
9340 fi
9341
9342 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9343
9344 fi
9345
9346
9347 eval "$wx_cv_use_threads"
9348 if test "x$cache" = xyes; then
9349 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
9350 fi
9351
9352 if test x"$enablestring" = xdisable; then
9353 if test $wxUSE_THREADS = yes; then
9354 result=no
9355 else
9356 result=yes
9357 fi
9358 else
9359 result=$wxUSE_THREADS
9360 fi
9361
9362 { echo "$as_me:$LINENO: result: $result" >&5
9363 echo "${ECHO_T}$result" >&6; }
9364
9365
9366
9367 enablestring=
9368 defaultval=
9369 if test -z "$defaultval"; then
9370 if test x"$enablestring" = xdisable; then
9371 defaultval=yes
9372 else
9373 defaultval=no
9374 fi
9375 fi
9376
9377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
9378 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
9379 # Check whether --enable-iniconf was given.
9380 if test "${enable_iniconf+set}" = set; then
9381 enableval=$enable_iniconf;
9382 if test "$enableval" = yes; then
9383 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9384 else
9385 wx_cv_use_iniconf='wxUSE_INICONF=no'
9386 fi
9387 cache=yes
9388
9389 else
9390
9391 LINE=`grep "^wxUSE_INICONF=" ${wx_arg_cache_file}`
9392 if test "x$LINE" != x ; then
9393 eval "DEFAULT_$LINE"
9394 cache=yes
9395 else
9396 cache=no
9397 fi
9398
9399 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9400
9401 fi
9402
9403
9404 eval "$wx_cv_use_iniconf"
9405 if test "x$cache" = xyes; then
9406 echo "wxUSE_INICONF=$wxUSE_INICONF" >> ${wx_arg_cache_file}.tmp
9407 fi
9408
9409 if test x"$enablestring" = xdisable; then
9410 if test $wxUSE_INICONF = yes; then
9411 result=no
9412 else
9413 result=yes
9414 fi
9415 else
9416 result=$wxUSE_INICONF
9417 fi
9418
9419 { echo "$as_me:$LINENO: result: $result" >&5
9420 echo "${ECHO_T}$result" >&6; }
9421
9422
9423 enablestring=
9424 defaultval=$wxUSE_ALL_FEATURES
9425 if test -z "$defaultval"; then
9426 if test x"$enablestring" = xdisable; then
9427 defaultval=yes
9428 else
9429 defaultval=no
9430 fi
9431 fi
9432
9433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
9434 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
9435 # Check whether --enable-regkey was given.
9436 if test "${enable_regkey+set}" = set; then
9437 enableval=$enable_regkey;
9438 if test "$enableval" = yes; then
9439 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9440 else
9441 wx_cv_use_regkey='wxUSE_REGKEY=no'
9442 fi
9443 cache=yes
9444
9445 else
9446
9447 LINE=`grep "^wxUSE_REGKEY=" ${wx_arg_cache_file}`
9448 if test "x$LINE" != x ; then
9449 eval "DEFAULT_$LINE"
9450 cache=yes
9451 else
9452 cache=no
9453 fi
9454
9455 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9456
9457 fi
9458
9459
9460 eval "$wx_cv_use_regkey"
9461 if test "x$cache" = xyes; then
9462 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
9463 fi
9464
9465 if test x"$enablestring" = xdisable; then
9466 if test $wxUSE_REGKEY = yes; then
9467 result=no
9468 else
9469 result=yes
9470 fi
9471 else
9472 result=$wxUSE_REGKEY
9473 fi
9474
9475 { echo "$as_me:$LINENO: result: $result" >&5
9476 echo "${ECHO_T}$result" >&6; }
9477
9478
9479 if test "$wxUSE_GUI" = "yes"; then
9480
9481
9482
9483 enablestring=
9484 defaultval=$wxUSE_ALL_FEATURES
9485 if test -z "$defaultval"; then
9486 if test x"$enablestring" = xdisable; then
9487 defaultval=yes
9488 else
9489 defaultval=no
9490 fi
9491 fi
9492
9493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9494 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9495 # Check whether --enable-docview was given.
9496 if test "${enable_docview+set}" = set; then
9497 enableval=$enable_docview;
9498 if test "$enableval" = yes; then
9499 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9500 else
9501 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9502 fi
9503 cache=yes
9504
9505 else
9506
9507 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9508 if test "x$LINE" != x ; then
9509 eval "DEFAULT_$LINE"
9510 cache=yes
9511 else
9512 cache=no
9513 fi
9514
9515 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9516
9517 fi
9518
9519
9520 eval "$wx_cv_use_docview"
9521 if test "x$cache" = xyes; then
9522 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9523 fi
9524
9525 if test x"$enablestring" = xdisable; then
9526 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9527 result=no
9528 else
9529 result=yes
9530 fi
9531 else
9532 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9533 fi
9534
9535 { echo "$as_me:$LINENO: result: $result" >&5
9536 echo "${ECHO_T}$result" >&6; }
9537
9538
9539 enablestring=
9540 defaultval=$wxUSE_ALL_FEATURES
9541 if test -z "$defaultval"; then
9542 if test x"$enablestring" = xdisable; then
9543 defaultval=yes
9544 else
9545 defaultval=no
9546 fi
9547 fi
9548
9549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9550 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9551 # Check whether --enable-help was given.
9552 if test "${enable_help+set}" = set; then
9553 enableval=$enable_help;
9554 if test "$enableval" = yes; then
9555 wx_cv_use_help='wxUSE_HELP=yes'
9556 else
9557 wx_cv_use_help='wxUSE_HELP=no'
9558 fi
9559 cache=yes
9560
9561 else
9562
9563 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9564 if test "x$LINE" != x ; then
9565 eval "DEFAULT_$LINE"
9566 cache=yes
9567 else
9568 cache=no
9569 fi
9570
9571 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9572
9573 fi
9574
9575
9576 eval "$wx_cv_use_help"
9577 if test "x$cache" = xyes; then
9578 echo "wxUSE_HELP=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9579 fi
9580
9581 if test x"$enablestring" = xdisable; then
9582 if test $wxUSE_HELP = yes; then
9583 result=no
9584 else
9585 result=yes
9586 fi
9587 else
9588 result=$wxUSE_HELP
9589 fi
9590
9591 { echo "$as_me:$LINENO: result: $result" >&5
9592 echo "${ECHO_T}$result" >&6; }
9593
9594
9595 enablestring=
9596 defaultval=$wxUSE_ALL_FEATURES
9597 if test -z "$defaultval"; then
9598 if test x"$enablestring" = xdisable; then
9599 defaultval=yes
9600 else
9601 defaultval=no
9602 fi
9603 fi
9604
9605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9606 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9607 # Check whether --enable-mshtmlhelp was given.
9608 if test "${enable_mshtmlhelp+set}" = set; then
9609 enableval=$enable_mshtmlhelp;
9610 if test "$enableval" = yes; then
9611 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9612 else
9613 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9614 fi
9615 cache=yes
9616
9617 else
9618
9619 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9620 if test "x$LINE" != x ; then
9621 eval "DEFAULT_$LINE"
9622 cache=yes
9623 else
9624 cache=no
9625 fi
9626
9627 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9628
9629 fi
9630
9631
9632 eval "$wx_cv_use_mshtmlhelp"
9633 if test "x$cache" = xyes; then
9634 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9635 fi
9636
9637 if test x"$enablestring" = xdisable; then
9638 if test $wxUSE_MS_HTML_HELP = yes; then
9639 result=no
9640 else
9641 result=yes
9642 fi
9643 else
9644 result=$wxUSE_MS_HTML_HELP
9645 fi
9646
9647 { echo "$as_me:$LINENO: result: $result" >&5
9648 echo "${ECHO_T}$result" >&6; }
9649
9650
9651 enablestring=
9652 defaultval=$wxUSE_ALL_FEATURES
9653 if test -z "$defaultval"; then
9654 if test x"$enablestring" = xdisable; then
9655 defaultval=yes
9656 else
9657 defaultval=no
9658 fi
9659 fi
9660
9661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9662 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9663 # Check whether --enable-html was given.
9664 if test "${enable_html+set}" = set; then
9665 enableval=$enable_html;
9666 if test "$enableval" = yes; then
9667 wx_cv_use_html='wxUSE_HTML=yes'
9668 else
9669 wx_cv_use_html='wxUSE_HTML=no'
9670 fi
9671 cache=yes
9672
9673 else
9674
9675 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9676 if test "x$LINE" != x ; then
9677 eval "DEFAULT_$LINE"
9678 cache=yes
9679 else
9680 cache=no
9681 fi
9682
9683 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9684
9685 fi
9686
9687
9688 eval "$wx_cv_use_html"
9689 if test "x$cache" = xyes; then
9690 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9691 fi
9692
9693 if test x"$enablestring" = xdisable; then
9694 if test $wxUSE_HTML = yes; then
9695 result=no
9696 else
9697 result=yes
9698 fi
9699 else
9700 result=$wxUSE_HTML
9701 fi
9702
9703 { echo "$as_me:$LINENO: result: $result" >&5
9704 echo "${ECHO_T}$result" >&6; }
9705
9706
9707 enablestring=
9708 defaultval=$wxUSE_ALL_FEATURES
9709 if test -z "$defaultval"; then
9710 if test x"$enablestring" = xdisable; then
9711 defaultval=yes
9712 else
9713 defaultval=no
9714 fi
9715 fi
9716
9717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9718 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9719 # Check whether --enable-htmlhelp was given.
9720 if test "${enable_htmlhelp+set}" = set; then
9721 enableval=$enable_htmlhelp;
9722 if test "$enableval" = yes; then
9723 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9724 else
9725 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9726 fi
9727 cache=yes
9728
9729 else
9730
9731 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9732 if test "x$LINE" != x ; then
9733 eval "DEFAULT_$LINE"
9734 cache=yes
9735 else
9736 cache=no
9737 fi
9738
9739 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9740
9741 fi
9742
9743
9744 eval "$wx_cv_use_htmlhelp"
9745 if test "x$cache" = xyes; then
9746 echo "wxUSE_WXHTML_HELP=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9747 fi
9748
9749 if test x"$enablestring" = xdisable; then
9750 if test $wxUSE_WXHTML_HELP = yes; then
9751 result=no
9752 else
9753 result=yes
9754 fi
9755 else
9756 result=$wxUSE_WXHTML_HELP
9757 fi
9758
9759 { echo "$as_me:$LINENO: result: $result" >&5
9760 echo "${ECHO_T}$result" >&6; }
9761
9762
9763 enablestring=
9764 defaultval=$wxUSE_ALL_FEATURES
9765 if test -z "$defaultval"; then
9766 if test x"$enablestring" = xdisable; then
9767 defaultval=yes
9768 else
9769 defaultval=no
9770 fi
9771 fi
9772
9773 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9774 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9775 # Check whether --enable-xrc was given.
9776 if test "${enable_xrc+set}" = set; then
9777 enableval=$enable_xrc;
9778 if test "$enableval" = yes; then
9779 wx_cv_use_xrc='wxUSE_XRC=yes'
9780 else
9781 wx_cv_use_xrc='wxUSE_XRC=no'
9782 fi
9783 cache=yes
9784
9785 else
9786
9787 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9788 if test "x$LINE" != x ; then
9789 eval "DEFAULT_$LINE"
9790 cache=yes
9791 else
9792 cache=no
9793 fi
9794
9795 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9796
9797 fi
9798
9799
9800 eval "$wx_cv_use_xrc"
9801 if test "x$cache" = xyes; then
9802 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9803 fi
9804
9805 if test x"$enablestring" = xdisable; then
9806 if test $wxUSE_XRC = yes; then
9807 result=no
9808 else
9809 result=yes
9810 fi
9811 else
9812 result=$wxUSE_XRC
9813 fi
9814
9815 { echo "$as_me:$LINENO: result: $result" >&5
9816 echo "${ECHO_T}$result" >&6; }
9817
9818
9819 enablestring=
9820 defaultval=$wxUSE_ALL_FEATURES
9821 if test -z "$defaultval"; then
9822 if test x"$enablestring" = xdisable; then
9823 defaultval=yes
9824 else
9825 defaultval=no
9826 fi
9827 fi
9828
9829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9830 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9831 # Check whether --enable-aui was given.
9832 if test "${enable_aui+set}" = set; then
9833 enableval=$enable_aui;
9834 if test "$enableval" = yes; then
9835 wx_cv_use_aui='wxUSE_AUI=yes'
9836 else
9837 wx_cv_use_aui='wxUSE_AUI=no'
9838 fi
9839 cache=yes
9840
9841 else
9842
9843 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9844 if test "x$LINE" != x ; then
9845 eval "DEFAULT_$LINE"
9846 cache=yes
9847 else
9848 cache=no
9849 fi
9850
9851 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9852
9853 fi
9854
9855
9856 eval "$wx_cv_use_aui"
9857 if test "x$cache" = xyes; then
9858 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9859 fi
9860
9861 if test x"$enablestring" = xdisable; then
9862 if test $wxUSE_AUI = yes; then
9863 result=no
9864 else
9865 result=yes
9866 fi
9867 else
9868 result=$wxUSE_AUI
9869 fi
9870
9871 { echo "$as_me:$LINENO: result: $result" >&5
9872 echo "${ECHO_T}$result" >&6; }
9873
9874
9875 enablestring=
9876 defaultval=$wxUSE_ALL_FEATURES
9877 if test -z "$defaultval"; then
9878 if test x"$enablestring" = xdisable; then
9879 defaultval=yes
9880 else
9881 defaultval=no
9882 fi
9883 fi
9884
9885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9886 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9887 # Check whether --enable-stc was given.
9888 if test "${enable_stc+set}" = set; then
9889 enableval=$enable_stc;
9890 if test "$enableval" = yes; then
9891 wx_cv_use_stc='wxUSE_STC=yes'
9892 else
9893 wx_cv_use_stc='wxUSE_STC=no'
9894 fi
9895 cache=yes
9896
9897 else
9898
9899 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9900 if test "x$LINE" != x ; then
9901 eval "DEFAULT_$LINE"
9902 cache=yes
9903 else
9904 cache=no
9905 fi
9906
9907 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9908
9909 fi
9910
9911
9912 eval "$wx_cv_use_stc"
9913 if test "x$cache" = xyes; then
9914 echo "wxUSE_STC=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9915 fi
9916
9917 if test x"$enablestring" = xdisable; then
9918 if test $wxUSE_STC = yes; then
9919 result=no
9920 else
9921 result=yes
9922 fi
9923 else
9924 result=$wxUSE_STC
9925 fi
9926
9927 { echo "$as_me:$LINENO: result: $result" >&5
9928 echo "${ECHO_T}$result" >&6; }
9929
9930
9931 enablestring=
9932 defaultval=$wxUSE_ALL_FEATURES
9933 if test -z "$defaultval"; then
9934 if test x"$enablestring" = xdisable; then
9935 defaultval=yes
9936 else
9937 defaultval=no
9938 fi
9939 fi
9940
9941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9942 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9943 # Check whether --enable-constraints was given.
9944 if test "${enable_constraints+set}" = set; then
9945 enableval=$enable_constraints;
9946 if test "$enableval" = yes; then
9947 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9948 else
9949 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9950 fi
9951 cache=yes
9952
9953 else
9954
9955 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9956 if test "x$LINE" != x ; then
9957 eval "DEFAULT_$LINE"
9958 cache=yes
9959 else
9960 cache=no
9961 fi
9962
9963 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9964
9965 fi
9966
9967
9968 eval "$wx_cv_use_constraints"
9969 if test "x$cache" = xyes; then
9970 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
9971 fi
9972
9973 if test x"$enablestring" = xdisable; then
9974 if test $wxUSE_CONSTRAINTS = yes; then
9975 result=no
9976 else
9977 result=yes
9978 fi
9979 else
9980 result=$wxUSE_CONSTRAINTS
9981 fi
9982
9983 { echo "$as_me:$LINENO: result: $result" >&5
9984 echo "${ECHO_T}$result" >&6; }
9985
9986
9987 enablestring=
9988 defaultval=$wxUSE_ALL_FEATURES
9989 if test -z "$defaultval"; then
9990 if test x"$enablestring" = xdisable; then
9991 defaultval=yes
9992 else
9993 defaultval=no
9994 fi
9995 fi
9996
9997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9998 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9999 # Check whether --enable-printarch was given.
10000 if test "${enable_printarch+set}" = set; then
10001 enableval=$enable_printarch;
10002 if test "$enableval" = yes; then
10003 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10004 else
10005 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10006 fi
10007 cache=yes
10008
10009 else
10010
10011 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
10012 if test "x$LINE" != x ; then
10013 eval "DEFAULT_$LINE"
10014 cache=yes
10015 else
10016 cache=no
10017 fi
10018
10019 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10020
10021 fi
10022
10023
10024 eval "$wx_cv_use_printarch"
10025 if test "x$cache" = xyes; then
10026 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10027 fi
10028
10029 if test x"$enablestring" = xdisable; then
10030 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
10031 result=no
10032 else
10033 result=yes
10034 fi
10035 else
10036 result=$wxUSE_PRINTING_ARCHITECTURE
10037 fi
10038
10039 { echo "$as_me:$LINENO: result: $result" >&5
10040 echo "${ECHO_T}$result" >&6; }
10041
10042
10043 enablestring=
10044 defaultval=$wxUSE_ALL_FEATURES
10045 if test -z "$defaultval"; then
10046 if test x"$enablestring" = xdisable; then
10047 defaultval=yes
10048 else
10049 defaultval=no
10050 fi
10051 fi
10052
10053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
10054 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
10055 # Check whether --enable-mdi was given.
10056 if test "${enable_mdi+set}" = set; then
10057 enableval=$enable_mdi;
10058 if test "$enableval" = yes; then
10059 wx_cv_use_mdi='wxUSE_MDI=yes'
10060 else
10061 wx_cv_use_mdi='wxUSE_MDI=no'
10062 fi
10063 cache=yes
10064
10065 else
10066
10067 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
10068 if test "x$LINE" != x ; then
10069 eval "DEFAULT_$LINE"
10070 cache=yes
10071 else
10072 cache=no
10073 fi
10074
10075 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10076
10077 fi
10078
10079
10080 eval "$wx_cv_use_mdi"
10081 if test "x$cache" = xyes; then
10082 echo "wxUSE_MDI=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
10083 fi
10084
10085 if test x"$enablestring" = xdisable; then
10086 if test $wxUSE_MDI = yes; then
10087 result=no
10088 else
10089 result=yes
10090 fi
10091 else
10092 result=$wxUSE_MDI
10093 fi
10094
10095 { echo "$as_me:$LINENO: result: $result" >&5
10096 echo "${ECHO_T}$result" >&6; }
10097
10098
10099 enablestring=
10100 defaultval=$wxUSE_ALL_FEATURES
10101 if test -z "$defaultval"; then
10102 if test x"$enablestring" = xdisable; then
10103 defaultval=yes
10104 else
10105 defaultval=no
10106 fi
10107 fi
10108
10109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
10110 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
10111 # Check whether --enable-mdidoc was given.
10112 if test "${enable_mdidoc+set}" = set; then
10113 enableval=$enable_mdidoc;
10114 if test "$enableval" = yes; then
10115 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10116 else
10117 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10118 fi
10119 cache=yes
10120
10121 else
10122
10123 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
10124 if test "x$LINE" != x ; then
10125 eval "DEFAULT_$LINE"
10126 cache=yes
10127 else
10128 cache=no
10129 fi
10130
10131 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10132
10133 fi
10134
10135
10136 eval "$wx_cv_use_mdidoc"
10137 if test "x$cache" = xyes; then
10138 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
10139 fi
10140
10141 if test x"$enablestring" = xdisable; then
10142 if test $wxUSE_MDI_ARCHITECTURE = yes; then
10143 result=no
10144 else
10145 result=yes
10146 fi
10147 else
10148 result=$wxUSE_MDI_ARCHITECTURE
10149 fi
10150
10151 { echo "$as_me:$LINENO: result: $result" >&5
10152 echo "${ECHO_T}$result" >&6; }
10153
10154
10155 enablestring=
10156 defaultval=$wxUSE_ALL_FEATURES
10157 if test -z "$defaultval"; then
10158 if test x"$enablestring" = xdisable; then
10159 defaultval=yes
10160 else
10161 defaultval=no
10162 fi
10163 fi
10164
10165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
10166 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
10167 # Check whether --enable-loggui was given.
10168 if test "${enable_loggui+set}" = set; then
10169 enableval=$enable_loggui;
10170 if test "$enableval" = yes; then
10171 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10172 else
10173 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10174 fi
10175 cache=yes
10176
10177 else
10178
10179 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
10180 if test "x$LINE" != x ; then
10181 eval "DEFAULT_$LINE"
10182 cache=yes
10183 else
10184 cache=no
10185 fi
10186
10187 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10188
10189 fi
10190
10191
10192 eval "$wx_cv_use_loggui"
10193 if test "x$cache" = xyes; then
10194 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
10195 fi
10196
10197 if test x"$enablestring" = xdisable; then
10198 if test $wxUSE_LOGGUI = yes; then
10199 result=no
10200 else
10201 result=yes
10202 fi
10203 else
10204 result=$wxUSE_LOGGUI
10205 fi
10206
10207 { echo "$as_me:$LINENO: result: $result" >&5
10208 echo "${ECHO_T}$result" >&6; }
10209
10210
10211 enablestring=
10212 defaultval=$wxUSE_ALL_FEATURES
10213 if test -z "$defaultval"; then
10214 if test x"$enablestring" = xdisable; then
10215 defaultval=yes
10216 else
10217 defaultval=no
10218 fi
10219 fi
10220
10221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
10222 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
10223 # Check whether --enable-logwin was given.
10224 if test "${enable_logwin+set}" = set; then
10225 enableval=$enable_logwin;
10226 if test "$enableval" = yes; then
10227 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10228 else
10229 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10230 fi
10231 cache=yes
10232
10233 else
10234
10235 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
10236 if test "x$LINE" != x ; then
10237 eval "DEFAULT_$LINE"
10238 cache=yes
10239 else
10240 cache=no
10241 fi
10242
10243 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10244
10245 fi
10246
10247
10248 eval "$wx_cv_use_logwin"
10249 if test "x$cache" = xyes; then
10250 echo "wxUSE_LOGWINDOW=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
10251 fi
10252
10253 if test x"$enablestring" = xdisable; then
10254 if test $wxUSE_LOGWINDOW = yes; then
10255 result=no
10256 else
10257 result=yes
10258 fi
10259 else
10260 result=$wxUSE_LOGWINDOW
10261 fi
10262
10263 { echo "$as_me:$LINENO: result: $result" >&5
10264 echo "${ECHO_T}$result" >&6; }
10265
10266
10267 enablestring=
10268 defaultval=$wxUSE_ALL_FEATURES
10269 if test -z "$defaultval"; then
10270 if test x"$enablestring" = xdisable; then
10271 defaultval=yes
10272 else
10273 defaultval=no
10274 fi
10275 fi
10276
10277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
10278 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
10279 # Check whether --enable-logdialog was given.
10280 if test "${enable_logdialog+set}" = set; then
10281 enableval=$enable_logdialog;
10282 if test "$enableval" = yes; then
10283 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10284 else
10285 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10286 fi
10287 cache=yes
10288
10289 else
10290
10291 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
10292 if test "x$LINE" != x ; then
10293 eval "DEFAULT_$LINE"
10294 cache=yes
10295 else
10296 cache=no
10297 fi
10298
10299 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10300
10301 fi
10302
10303
10304 eval "$wx_cv_use_logdialog"
10305 if test "x$cache" = xyes; then
10306 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
10307 fi
10308
10309 if test x"$enablestring" = xdisable; then
10310 if test $wxUSE_LOGDIALOG = yes; then
10311 result=no
10312 else
10313 result=yes
10314 fi
10315 else
10316 result=$wxUSE_LOGDIALOG
10317 fi
10318
10319 { echo "$as_me:$LINENO: result: $result" >&5
10320 echo "${ECHO_T}$result" >&6; }
10321
10322
10323 enablestring=
10324 defaultval=$wxUSE_ALL_FEATURES
10325 if test -z "$defaultval"; then
10326 if test x"$enablestring" = xdisable; then
10327 defaultval=yes
10328 else
10329 defaultval=no
10330 fi
10331 fi
10332
10333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
10334 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
10335 # Check whether --enable-webkit was given.
10336 if test "${enable_webkit+set}" = set; then
10337 enableval=$enable_webkit;
10338 if test "$enableval" = yes; then
10339 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10340 else
10341 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10342 fi
10343 cache=yes
10344
10345 else
10346
10347 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
10348 if test "x$LINE" != x ; then
10349 eval "DEFAULT_$LINE"
10350 cache=yes
10351 else
10352 cache=no
10353 fi
10354
10355 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10356
10357 fi
10358
10359
10360 eval "$wx_cv_use_webkit"
10361 if test "x$cache" = xyes; then
10362 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
10363 fi
10364
10365 if test x"$enablestring" = xdisable; then
10366 if test $wxUSE_WEBKIT = yes; then
10367 result=no
10368 else
10369 result=yes
10370 fi
10371 else
10372 result=$wxUSE_WEBKIT
10373 fi
10374
10375 { echo "$as_me:$LINENO: result: $result" >&5
10376 echo "${ECHO_T}$result" >&6; }
10377
10378
10379 enablestring=
10380 defaultval=$wxUSE_ALL_FEATURES
10381 if test -z "$defaultval"; then
10382 if test x"$enablestring" = xdisable; then
10383 defaultval=yes
10384 else
10385 defaultval=no
10386 fi
10387 fi
10388
10389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
10390 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
10391 # Check whether --enable-richtext was given.
10392 if test "${enable_richtext+set}" = set; then
10393 enableval=$enable_richtext;
10394 if test "$enableval" = yes; then
10395 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10396 else
10397 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10398 fi
10399 cache=yes
10400
10401 else
10402
10403 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
10404 if test "x$LINE" != x ; then
10405 eval "DEFAULT_$LINE"
10406 cache=yes
10407 else
10408 cache=no
10409 fi
10410
10411 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10412
10413 fi
10414
10415
10416 eval "$wx_cv_use_richtext"
10417 if test "x$cache" = xyes; then
10418 echo "wxUSE_RICHTEXT=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
10419 fi
10420
10421 if test x"$enablestring" = xdisable; then
10422 if test $wxUSE_RICHTEXT = yes; then
10423 result=no
10424 else
10425 result=yes
10426 fi
10427 else
10428 result=$wxUSE_RICHTEXT
10429 fi
10430
10431 { echo "$as_me:$LINENO: result: $result" >&5
10432 echo "${ECHO_T}$result" >&6; }
10433
10434
10435 enablestring=
10436 defaultval=$wxUSE_ALL_FEATURES
10437 if test -z "$defaultval"; then
10438 if test x"$enablestring" = xdisable; then
10439 defaultval=yes
10440 else
10441 defaultval=no
10442 fi
10443 fi
10444
10445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
10446 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
10447 # Check whether --enable-graphics_ctx was given.
10448 if test "${enable_graphics_ctx+set}" = set; then
10449 enableval=$enable_graphics_ctx;
10450 if test "$enableval" = yes; then
10451 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10452 else
10453 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10454 fi
10455 cache=yes
10456
10457 else
10458
10459 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
10460 if test "x$LINE" != x ; then
10461 eval "DEFAULT_$LINE"
10462 cache=yes
10463 else
10464 cache=no
10465 fi
10466
10467 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10468
10469 fi
10470
10471
10472 eval "$wx_cv_use_graphics_ctx"
10473 if test "x$cache" = xyes; then
10474 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
10475 fi
10476
10477 if test x"$enablestring" = xdisable; then
10478 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10479 result=no
10480 else
10481 result=yes
10482 fi
10483 else
10484 result=$wxUSE_GRAPHICS_CONTEXT
10485 fi
10486
10487 { echo "$as_me:$LINENO: result: $result" >&5
10488 echo "${ECHO_T}$result" >&6; }
10489
10490
10491 enablestring=
10492 defaultval=$wxUSE_ALL_FEATURES
10493 if test -z "$defaultval"; then
10494 if test x"$enablestring" = xdisable; then
10495 defaultval=yes
10496 else
10497 defaultval=no
10498 fi
10499 fi
10500
10501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10502 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10503 # Check whether --enable-postscript was given.
10504 if test "${enable_postscript+set}" = set; then
10505 enableval=$enable_postscript;
10506 if test "$enableval" = yes; then
10507 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10508 else
10509 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10510 fi
10511 cache=yes
10512
10513 else
10514
10515 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10516 if test "x$LINE" != x ; then
10517 eval "DEFAULT_$LINE"
10518 cache=yes
10519 else
10520 cache=no
10521 fi
10522
10523 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10524
10525 fi
10526
10527
10528 eval "$wx_cv_use_postscript"
10529 if test "x$cache" = xyes; then
10530 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
10531 fi
10532
10533 if test x"$enablestring" = xdisable; then
10534 if test $wxUSE_POSTSCRIPT = yes; then
10535 result=no
10536 else
10537 result=yes
10538 fi
10539 else
10540 result=$wxUSE_POSTSCRIPT
10541 fi
10542
10543 { echo "$as_me:$LINENO: result: $result" >&5
10544 echo "${ECHO_T}$result" >&6; }
10545
10546
10547 enablestring=
10548 defaultval=$wxUSE_ALL_FEATURES
10549 if test -z "$defaultval"; then
10550 if test x"$enablestring" = xdisable; then
10551 defaultval=yes
10552 else
10553 defaultval=no
10554 fi
10555 fi
10556
10557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10558 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10559 # Check whether --enable-svg was given.
10560 if test "${enable_svg+set}" = set; then
10561 enableval=$enable_svg;
10562 if test "$enableval" = yes; then
10563 wx_cv_use_svg='wxUSE_SVG=yes'
10564 else
10565 wx_cv_use_svg='wxUSE_SVG=no'
10566 fi
10567 cache=yes
10568
10569 else
10570
10571 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10572 if test "x$LINE" != x ; then
10573 eval "DEFAULT_$LINE"
10574 cache=yes
10575 else
10576 cache=no
10577 fi
10578
10579 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10580
10581 fi
10582
10583
10584 eval "$wx_cv_use_svg"
10585 if test "x$cache" = xyes; then
10586 echo "wxUSE_SVG=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10587 fi
10588
10589 if test x"$enablestring" = xdisable; then
10590 if test $wxUSE_SVG = yes; then
10591 result=no
10592 else
10593 result=yes
10594 fi
10595 else
10596 result=$wxUSE_SVG
10597 fi
10598
10599 { echo "$as_me:$LINENO: result: $result" >&5
10600 echo "${ECHO_T}$result" >&6; }
10601
10602
10603
10604
10605 enablestring=
10606 defaultval=$wxUSE_ALL_FEATURES
10607 if test -z "$defaultval"; then
10608 if test x"$enablestring" = xdisable; then
10609 defaultval=yes
10610 else
10611 defaultval=no
10612 fi
10613 fi
10614
10615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10616 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10617 # Check whether --enable-clipboard was given.
10618 if test "${enable_clipboard+set}" = set; then
10619 enableval=$enable_clipboard;
10620 if test "$enableval" = yes; then
10621 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10622 else
10623 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10624 fi
10625 cache=yes
10626
10627 else
10628
10629 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10630 if test "x$LINE" != x ; then
10631 eval "DEFAULT_$LINE"
10632 cache=yes
10633 else
10634 cache=no
10635 fi
10636
10637 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10638
10639 fi
10640
10641
10642 eval "$wx_cv_use_clipboard"
10643 if test "x$cache" = xyes; then
10644 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10645 fi
10646
10647 if test x"$enablestring" = xdisable; then
10648 if test $wxUSE_CLIPBOARD = yes; then
10649 result=no
10650 else
10651 result=yes
10652 fi
10653 else
10654 result=$wxUSE_CLIPBOARD
10655 fi
10656
10657 { echo "$as_me:$LINENO: result: $result" >&5
10658 echo "${ECHO_T}$result" >&6; }
10659
10660
10661 enablestring=
10662 defaultval=$wxUSE_ALL_FEATURES
10663 if test -z "$defaultval"; then
10664 if test x"$enablestring" = xdisable; then
10665 defaultval=yes
10666 else
10667 defaultval=no
10668 fi
10669 fi
10670
10671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10672 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10673 # Check whether --enable-dnd was given.
10674 if test "${enable_dnd+set}" = set; then
10675 enableval=$enable_dnd;
10676 if test "$enableval" = yes; then
10677 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10678 else
10679 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10680 fi
10681 cache=yes
10682
10683 else
10684
10685 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10686 if test "x$LINE" != x ; then
10687 eval "DEFAULT_$LINE"
10688 cache=yes
10689 else
10690 cache=no
10691 fi
10692
10693 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10694
10695 fi
10696
10697
10698 eval "$wx_cv_use_dnd"
10699 if test "x$cache" = xyes; then
10700 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10701 fi
10702
10703 if test x"$enablestring" = xdisable; then
10704 if test $wxUSE_DRAG_AND_DROP = yes; then
10705 result=no
10706 else
10707 result=yes
10708 fi
10709 else
10710 result=$wxUSE_DRAG_AND_DROP
10711 fi
10712
10713 { echo "$as_me:$LINENO: result: $result" >&5
10714 echo "${ECHO_T}$result" >&6; }
10715
10716
10717 enablestring=
10718 defaultval=$wxUSE_ALL_FEATURES
10719 if test -z "$defaultval"; then
10720 if test x"$enablestring" = xdisable; then
10721 defaultval=yes
10722 else
10723 defaultval=no
10724 fi
10725 fi
10726
10727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10728 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10729 # Check whether --enable-metafile was given.
10730 if test "${enable_metafile+set}" = set; then
10731 enableval=$enable_metafile;
10732 if test "$enableval" = yes; then
10733 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10734 else
10735 wx_cv_use_metafile='wxUSE_METAFILE=no'
10736 fi
10737 cache=yes
10738
10739 else
10740
10741 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10742 if test "x$LINE" != x ; then
10743 eval "DEFAULT_$LINE"
10744 cache=yes
10745 else
10746 cache=no
10747 fi
10748
10749 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10750
10751 fi
10752
10753
10754 eval "$wx_cv_use_metafile"
10755 if test "x$cache" = xyes; then
10756 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10757 fi
10758
10759 if test x"$enablestring" = xdisable; then
10760 if test $wxUSE_METAFILE = yes; then
10761 result=no
10762 else
10763 result=yes
10764 fi
10765 else
10766 result=$wxUSE_METAFILE
10767 fi
10768
10769 { echo "$as_me:$LINENO: result: $result" >&5
10770 echo "${ECHO_T}$result" >&6; }
10771
10772
10773
10774 DEFAULT_wxUSE_CONTROLS=none
10775
10776 enablestring=disable
10777 defaultval=
10778 if test -z "$defaultval"; then
10779 if test x"$enablestring" = xdisable; then
10780 defaultval=yes
10781 else
10782 defaultval=no
10783 fi
10784 fi
10785
10786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10787 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10788 # Check whether --enable-controls was given.
10789 if test "${enable_controls+set}" = set; then
10790 enableval=$enable_controls;
10791 if test "$enableval" = yes; then
10792 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10793 else
10794 wx_cv_use_controls='wxUSE_CONTROLS=no'
10795 fi
10796 cache=yes
10797
10798 else
10799
10800 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10801 if test "x$LINE" != x ; then
10802 eval "DEFAULT_$LINE"
10803 cache=yes
10804 else
10805 cache=no
10806 fi
10807
10808 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10809
10810 fi
10811
10812
10813 eval "$wx_cv_use_controls"
10814 if test "x$cache" = xyes; then
10815 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10816 fi
10817
10818 if test x"$enablestring" = xdisable; then
10819 if test $wxUSE_CONTROLS = yes; then
10820 result=no
10821 else
10822 result=yes
10823 fi
10824 else
10825 result=$wxUSE_CONTROLS
10826 fi
10827
10828 { echo "$as_me:$LINENO: result: $result" >&5
10829 echo "${ECHO_T}$result" >&6; }
10830
10831
10832 if test "$wxUSE_CONTROLS" = "yes"; then
10833 DEFAULT_wxUSE_ACCEL=yes
10834 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10835 DEFAULT_wxUSE_BMPBUTTON=yes
10836 DEFAULT_wxUSE_BUTTON=yes
10837 DEFAULT_wxUSE_CALCTRL=yes
10838 DEFAULT_wxUSE_CARET=yes
10839 DEFAULT_wxUSE_COMBOBOX=yes
10840 DEFAULT_wxUSE_CHECKBOX=yes
10841 DEFAULT_wxUSE_CHECKLISTBOX=yes
10842 DEFAULT_wxUSE_CHOICE=yes
10843 DEFAULT_wxUSE_CHOICEBOOK=yes
10844 DEFAULT_wxUSE_COLLPANE=yes
10845 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10846 DEFAULT_wxUSE_COMBOBOX=yes
10847 DEFAULT_wxUSE_DATEPICKCTRL=yes
10848 DEFAULT_wxUSE_DISPLAY=yes
10849 DEFAULT_wxUSE_DETECT_SM=yes
10850 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10851 DEFAULT_wxUSE_FILECTRL=yes
10852 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10853 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10854 DEFAULT_wxUSE_GAUGE=yes
10855 DEFAULT_wxUSE_GRID=yes
10856 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10857 DEFAULT_wxUSE_DATAVIEWCTRL=no
10858 DEFAULT_wxUSE_IMAGLIST=yes
10859 DEFAULT_wxUSE_LISTBOOK=yes
10860 DEFAULT_wxUSE_LISTBOX=yes
10861 DEFAULT_wxUSE_LISTCTRL=yes
10862 DEFAULT_wxUSE_NOTEBOOK=yes
10863 DEFAULT_wxUSE_RADIOBOX=yes
10864 DEFAULT_wxUSE_RADIOBTN=yes
10865 DEFAULT_wxUSE_SASH=yes
10866 DEFAULT_wxUSE_SCROLLBAR=yes
10867 DEFAULT_wxUSE_SEARCHCTRL=yes
10868 DEFAULT_wxUSE_SLIDER=yes
10869 DEFAULT_wxUSE_SPINBTN=yes
10870 DEFAULT_wxUSE_SPINCTRL=yes
10871 DEFAULT_wxUSE_SPLITTER=yes
10872 DEFAULT_wxUSE_STATBMP=yes
10873 DEFAULT_wxUSE_STATBOX=yes
10874 DEFAULT_wxUSE_STATLINE=yes
10875 DEFAULT_wxUSE_STATUSBAR=yes
10876 DEFAULT_wxUSE_TAB_DIALOG=yes
10877 DEFAULT_wxUSE_TOGGLEBTN=yes
10878 DEFAULT_wxUSE_TOOLBAR=yes
10879 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10880 DEFAULT_wxUSE_TOOLTIPS=yes
10881 DEFAULT_wxUSE_TREEBOOK=yes
10882 DEFAULT_wxUSE_TOOLBOOK=yes
10883 DEFAULT_wxUSE_TREECTRL=yes
10884 DEFAULT_wxUSE_POPUPWIN=yes
10885 DEFAULT_wxUSE_TIPWINDOW=yes
10886 elif test "$wxUSE_CONTROLS" = "no"; then
10887 DEFAULT_wxUSE_ACCEL=no
10888 DEFAULT_wxUSE_ANIMATIONCTRL=no
10889 DEFAULT_wxUSE_BMPBUTTON=no
10890 DEFAULT_wxUSE_BUTTON=no
10891 DEFAULT_wxUSE_CALCTRL=no
10892 DEFAULT_wxUSE_CARET=no
10893 DEFAULT_wxUSE_COLLPANE=no
10894 DEFAULT_wxUSE_COMBOBOX=no
10895 DEFAULT_wxUSE_CHECKBOX=no
10896 DEFAULT_wxUSE_CHECKLISTBOX=no
10897 DEFAULT_wxUSE_CHOICE=no
10898 DEFAULT_wxUSE_CHOICEBOOK=no
10899 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10900 DEFAULT_wxUSE_COMBOBOX=no
10901 DEFAULT_wxUSE_DATEPICKCTRL=no
10902 DEFAULT_wxUSE_DISPLAY=no
10903 DEFAULT_wxUSE_DETECT_SM=no
10904 DEFAULT_wxUSE_DIRPICKERCTRL=no
10905 DEFAULT_wxUSE_FILECTRL=no
10906 DEFAULT_wxUSE_FILEPICKERCTRL=no
10907 DEFAULT_wxUSE_FONTPICKERCTRL=no
10908 DEFAULT_wxUSE_GAUGE=no
10909 DEFAULT_wxUSE_GRID=no
10910 DEFAULT_wxUSE_HYPERLINKCTRL=no
10911 DEFAULT_wxUSE_DATAVIEWCTRL=no
10912 DEFAULT_wxUSE_IMAGLIST=no
10913 DEFAULT_wxUSE_LISTBOOK=no
10914 DEFAULT_wxUSE_LISTBOX=no
10915 DEFAULT_wxUSE_LISTCTRL=no
10916 DEFAULT_wxUSE_NOTEBOOK=no
10917 DEFAULT_wxUSE_RADIOBOX=no
10918 DEFAULT_wxUSE_RADIOBTN=no
10919 DEFAULT_wxUSE_SASH=no
10920 DEFAULT_wxUSE_SCROLLBAR=no
10921 DEFAULT_wxUSE_SEARCHCTRL=no
10922 DEFAULT_wxUSE_SLIDER=no
10923 DEFAULT_wxUSE_SPINBTN=no
10924 DEFAULT_wxUSE_SPINCTRL=no
10925 DEFAULT_wxUSE_SPLITTER=no
10926 DEFAULT_wxUSE_STATBMP=no
10927 DEFAULT_wxUSE_STATBOX=no
10928 DEFAULT_wxUSE_STATLINE=no
10929 DEFAULT_wxUSE_STATUSBAR=no
10930 DEFAULT_wxUSE_TAB_DIALOG=no
10931 DEFAULT_wxUSE_TOGGLEBTN=no
10932 DEFAULT_wxUSE_TOOLBAR=no
10933 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10934 DEFAULT_wxUSE_TOOLTIPS=no
10935 DEFAULT_wxUSE_TREEBOOK=no
10936 DEFAULT_wxUSE_TOOLBOOK=no
10937 DEFAULT_wxUSE_TREECTRL=no
10938 DEFAULT_wxUSE_POPUPWIN=no
10939 DEFAULT_wxUSE_TIPWINDOW=no
10940 fi
10941
10942
10943 enablestring=
10944 defaultval=$wxUSE_ALL_FEATURES
10945 if test -z "$defaultval"; then
10946 if test x"$enablestring" = xdisable; then
10947 defaultval=yes
10948 else
10949 defaultval=no
10950 fi
10951 fi
10952
10953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10954 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10955 # Check whether --enable-accel was given.
10956 if test "${enable_accel+set}" = set; then
10957 enableval=$enable_accel;
10958 if test "$enableval" = yes; then
10959 wx_cv_use_accel='wxUSE_ACCEL=yes'
10960 else
10961 wx_cv_use_accel='wxUSE_ACCEL=no'
10962 fi
10963 cache=yes
10964
10965 else
10966
10967 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10968 if test "x$LINE" != x ; then
10969 eval "DEFAULT_$LINE"
10970 cache=yes
10971 else
10972 cache=no
10973 fi
10974
10975 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10976
10977 fi
10978
10979
10980 eval "$wx_cv_use_accel"
10981 if test "x$cache" = xyes; then
10982 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
10983 fi
10984
10985 if test x"$enablestring" = xdisable; then
10986 if test $wxUSE_ACCEL = yes; then
10987 result=no
10988 else
10989 result=yes
10990 fi
10991 else
10992 result=$wxUSE_ACCEL
10993 fi
10994
10995 { echo "$as_me:$LINENO: result: $result" >&5
10996 echo "${ECHO_T}$result" >&6; }
10997
10998
10999 enablestring=
11000 defaultval=$wxUSE_ALL_FEATURES
11001 if test -z "$defaultval"; then
11002 if test x"$enablestring" = xdisable; then
11003 defaultval=yes
11004 else
11005 defaultval=no
11006 fi
11007 fi
11008
11009 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
11010 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
11011 # Check whether --enable-animatectrl was given.
11012 if test "${enable_animatectrl+set}" = set; then
11013 enableval=$enable_animatectrl;
11014 if test "$enableval" = yes; then
11015 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11016 else
11017 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11018 fi
11019 cache=yes
11020
11021 else
11022
11023 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
11024 if test "x$LINE" != x ; then
11025 eval "DEFAULT_$LINE"
11026 cache=yes
11027 else
11028 cache=no
11029 fi
11030
11031 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11032
11033 fi
11034
11035
11036 eval "$wx_cv_use_animatectrl"
11037 if test "x$cache" = xyes; then
11038 echo "wxUSE_ANIMATIONCTRL=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
11039 fi
11040
11041 if test x"$enablestring" = xdisable; then
11042 if test $wxUSE_ANIMATIONCTRL = yes; then
11043 result=no
11044 else
11045 result=yes
11046 fi
11047 else
11048 result=$wxUSE_ANIMATIONCTRL
11049 fi
11050
11051 { echo "$as_me:$LINENO: result: $result" >&5
11052 echo "${ECHO_T}$result" >&6; }
11053
11054
11055 enablestring=
11056 defaultval=$wxUSE_ALL_FEATURES
11057 if test -z "$defaultval"; then
11058 if test x"$enablestring" = xdisable; then
11059 defaultval=yes
11060 else
11061 defaultval=no
11062 fi
11063 fi
11064
11065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
11066 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
11067 # Check whether --enable-button was given.
11068 if test "${enable_button+set}" = set; then
11069 enableval=$enable_button;
11070 if test "$enableval" = yes; then
11071 wx_cv_use_button='wxUSE_BUTTON=yes'
11072 else
11073 wx_cv_use_button='wxUSE_BUTTON=no'
11074 fi
11075 cache=yes
11076
11077 else
11078
11079 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
11080 if test "x$LINE" != x ; then
11081 eval "DEFAULT_$LINE"
11082 cache=yes
11083 else
11084 cache=no
11085 fi
11086
11087 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11088
11089 fi
11090
11091
11092 eval "$wx_cv_use_button"
11093 if test "x$cache" = xyes; then
11094 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
11095 fi
11096
11097 if test x"$enablestring" = xdisable; then
11098 if test $wxUSE_BUTTON = yes; then
11099 result=no
11100 else
11101 result=yes
11102 fi
11103 else
11104 result=$wxUSE_BUTTON
11105 fi
11106
11107 { echo "$as_me:$LINENO: result: $result" >&5
11108 echo "${ECHO_T}$result" >&6; }
11109
11110
11111 enablestring=
11112 defaultval=$wxUSE_ALL_FEATURES
11113 if test -z "$defaultval"; then
11114 if test x"$enablestring" = xdisable; then
11115 defaultval=yes
11116 else
11117 defaultval=no
11118 fi
11119 fi
11120
11121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
11122 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
11123 # Check whether --enable-bmpbutton was given.
11124 if test "${enable_bmpbutton+set}" = set; then
11125 enableval=$enable_bmpbutton;
11126 if test "$enableval" = yes; then
11127 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11128 else
11129 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11130 fi
11131 cache=yes
11132
11133 else
11134
11135 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
11136 if test "x$LINE" != x ; then
11137 eval "DEFAULT_$LINE"
11138 cache=yes
11139 else
11140 cache=no
11141 fi
11142
11143 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11144
11145 fi
11146
11147
11148 eval "$wx_cv_use_bmpbutton"
11149 if test "x$cache" = xyes; then
11150 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
11151 fi
11152
11153 if test x"$enablestring" = xdisable; then
11154 if test $wxUSE_BMPBUTTON = yes; then
11155 result=no
11156 else
11157 result=yes
11158 fi
11159 else
11160 result=$wxUSE_BMPBUTTON
11161 fi
11162
11163 { echo "$as_me:$LINENO: result: $result" >&5
11164 echo "${ECHO_T}$result" >&6; }
11165
11166
11167 enablestring=
11168 defaultval=$wxUSE_ALL_FEATURES
11169 if test -z "$defaultval"; then
11170 if test x"$enablestring" = xdisable; then
11171 defaultval=yes
11172 else
11173 defaultval=no
11174 fi
11175 fi
11176
11177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
11178 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
11179 # Check whether --enable-bmpcombobox was given.
11180 if test "${enable_bmpcombobox+set}" = set; then
11181 enableval=$enable_bmpcombobox;
11182 if test "$enableval" = yes; then
11183 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11184 else
11185 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11186 fi
11187 cache=yes
11188
11189 else
11190
11191 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
11192 if test "x$LINE" != x ; then
11193 eval "DEFAULT_$LINE"
11194 cache=yes
11195 else
11196 cache=no
11197 fi
11198
11199 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11200
11201 fi
11202
11203
11204 eval "$wx_cv_use_bmpcombobox"
11205 if test "x$cache" = xyes; then
11206 echo "wxUSE_BITMAPCOMBOBOX=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
11207 fi
11208
11209 if test x"$enablestring" = xdisable; then
11210 if test $wxUSE_BITMAPCOMBOBOX = yes; then
11211 result=no
11212 else
11213 result=yes
11214 fi
11215 else
11216 result=$wxUSE_BITMAPCOMBOBOX
11217 fi
11218
11219 { echo "$as_me:$LINENO: result: $result" >&5
11220 echo "${ECHO_T}$result" >&6; }
11221
11222
11223 enablestring=
11224 defaultval=$wxUSE_ALL_FEATURES
11225 if test -z "$defaultval"; then
11226 if test x"$enablestring" = xdisable; then
11227 defaultval=yes
11228 else
11229 defaultval=no
11230 fi
11231 fi
11232
11233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
11234 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
11235 # Check whether --enable-calendar was given.
11236 if test "${enable_calendar+set}" = set; then
11237 enableval=$enable_calendar;
11238 if test "$enableval" = yes; then
11239 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11240 else
11241 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11242 fi
11243 cache=yes
11244
11245 else
11246
11247 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
11248 if test "x$LINE" != x ; then
11249 eval "DEFAULT_$LINE"
11250 cache=yes
11251 else
11252 cache=no
11253 fi
11254
11255 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11256
11257 fi
11258
11259
11260 eval "$wx_cv_use_calendar"
11261 if test "x$cache" = xyes; then
11262 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
11263 fi
11264
11265 if test x"$enablestring" = xdisable; then
11266 if test $wxUSE_CALCTRL = yes; then
11267 result=no
11268 else
11269 result=yes
11270 fi
11271 else
11272 result=$wxUSE_CALCTRL
11273 fi
11274
11275 { echo "$as_me:$LINENO: result: $result" >&5
11276 echo "${ECHO_T}$result" >&6; }
11277
11278
11279 enablestring=
11280 defaultval=$wxUSE_ALL_FEATURES
11281 if test -z "$defaultval"; then
11282 if test x"$enablestring" = xdisable; then
11283 defaultval=yes
11284 else
11285 defaultval=no
11286 fi
11287 fi
11288
11289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
11290 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
11291 # Check whether --enable-caret was given.
11292 if test "${enable_caret+set}" = set; then
11293 enableval=$enable_caret;
11294 if test "$enableval" = yes; then
11295 wx_cv_use_caret='wxUSE_CARET=yes'
11296 else
11297 wx_cv_use_caret='wxUSE_CARET=no'
11298 fi
11299 cache=yes
11300
11301 else
11302
11303 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
11304 if test "x$LINE" != x ; then
11305 eval "DEFAULT_$LINE"
11306 cache=yes
11307 else
11308 cache=no
11309 fi
11310
11311 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11312
11313 fi
11314
11315
11316 eval "$wx_cv_use_caret"
11317 if test "x$cache" = xyes; then
11318 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
11319 fi
11320
11321 if test x"$enablestring" = xdisable; then
11322 if test $wxUSE_CARET = yes; then
11323 result=no
11324 else
11325 result=yes
11326 fi
11327 else
11328 result=$wxUSE_CARET
11329 fi
11330
11331 { echo "$as_me:$LINENO: result: $result" >&5
11332 echo "${ECHO_T}$result" >&6; }
11333
11334
11335 enablestring=
11336 defaultval=$wxUSE_ALL_FEATURES
11337 if test -z "$defaultval"; then
11338 if test x"$enablestring" = xdisable; then
11339 defaultval=yes
11340 else
11341 defaultval=no
11342 fi
11343 fi
11344
11345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
11346 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
11347 # Check whether --enable-checkbox was given.
11348 if test "${enable_checkbox+set}" = set; then
11349 enableval=$enable_checkbox;
11350 if test "$enableval" = yes; then
11351 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11352 else
11353 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11354 fi
11355 cache=yes
11356
11357 else
11358
11359 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
11360 if test "x$LINE" != x ; then
11361 eval "DEFAULT_$LINE"
11362 cache=yes
11363 else
11364 cache=no
11365 fi
11366
11367 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11368
11369 fi
11370
11371
11372 eval "$wx_cv_use_checkbox"
11373 if test "x$cache" = xyes; then
11374 echo "wxUSE_CHECKBOX=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
11375 fi
11376
11377 if test x"$enablestring" = xdisable; then
11378 if test $wxUSE_CHECKBOX = yes; then
11379 result=no
11380 else
11381 result=yes
11382 fi
11383 else
11384 result=$wxUSE_CHECKBOX
11385 fi
11386
11387 { echo "$as_me:$LINENO: result: $result" >&5
11388 echo "${ECHO_T}$result" >&6; }
11389
11390
11391 enablestring=
11392 defaultval=$wxUSE_ALL_FEATURES
11393 if test -z "$defaultval"; then
11394 if test x"$enablestring" = xdisable; then
11395 defaultval=yes
11396 else
11397 defaultval=no
11398 fi
11399 fi
11400
11401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
11402 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
11403 # Check whether --enable-checklst was given.
11404 if test "${enable_checklst+set}" = set; then
11405 enableval=$enable_checklst;
11406 if test "$enableval" = yes; then
11407 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11408 else
11409 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11410 fi
11411 cache=yes
11412
11413 else
11414
11415 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
11416 if test "x$LINE" != x ; then
11417 eval "DEFAULT_$LINE"
11418 cache=yes
11419 else
11420 cache=no
11421 fi
11422
11423 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11424
11425 fi
11426
11427
11428 eval "$wx_cv_use_checklst"
11429 if test "x$cache" = xyes; then
11430 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
11431 fi
11432
11433 if test x"$enablestring" = xdisable; then
11434 if test $wxUSE_CHECKLST = yes; then
11435 result=no
11436 else
11437 result=yes
11438 fi
11439 else
11440 result=$wxUSE_CHECKLST
11441 fi
11442
11443 { echo "$as_me:$LINENO: result: $result" >&5
11444 echo "${ECHO_T}$result" >&6; }
11445
11446
11447 enablestring=
11448 defaultval=$wxUSE_ALL_FEATURES
11449 if test -z "$defaultval"; then
11450 if test x"$enablestring" = xdisable; then
11451 defaultval=yes
11452 else
11453 defaultval=no
11454 fi
11455 fi
11456
11457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
11458 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11459 # Check whether --enable-choice was given.
11460 if test "${enable_choice+set}" = set; then
11461 enableval=$enable_choice;
11462 if test "$enableval" = yes; then
11463 wx_cv_use_choice='wxUSE_CHOICE=yes'
11464 else
11465 wx_cv_use_choice='wxUSE_CHOICE=no'
11466 fi
11467 cache=yes
11468
11469 else
11470
11471 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11472 if test "x$LINE" != x ; then
11473 eval "DEFAULT_$LINE"
11474 cache=yes
11475 else
11476 cache=no
11477 fi
11478
11479 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11480
11481 fi
11482
11483
11484 eval "$wx_cv_use_choice"
11485 if test "x$cache" = xyes; then
11486 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
11487 fi
11488
11489 if test x"$enablestring" = xdisable; then
11490 if test $wxUSE_CHOICE = yes; then
11491 result=no
11492 else
11493 result=yes
11494 fi
11495 else
11496 result=$wxUSE_CHOICE
11497 fi
11498
11499 { echo "$as_me:$LINENO: result: $result" >&5
11500 echo "${ECHO_T}$result" >&6; }
11501
11502
11503 enablestring=
11504 defaultval=$wxUSE_ALL_FEATURES
11505 if test -z "$defaultval"; then
11506 if test x"$enablestring" = xdisable; then
11507 defaultval=yes
11508 else
11509 defaultval=no
11510 fi
11511 fi
11512
11513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11514 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11515 # Check whether --enable-choicebook was given.
11516 if test "${enable_choicebook+set}" = set; then
11517 enableval=$enable_choicebook;
11518 if test "$enableval" = yes; then
11519 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11520 else
11521 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11522 fi
11523 cache=yes
11524
11525 else
11526
11527 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11528 if test "x$LINE" != x ; then
11529 eval "DEFAULT_$LINE"
11530 cache=yes
11531 else
11532 cache=no
11533 fi
11534
11535 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11536
11537 fi
11538
11539
11540 eval "$wx_cv_use_choicebook"
11541 if test "x$cache" = xyes; then
11542 echo "wxUSE_CHOICEBOOK=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
11543 fi
11544
11545 if test x"$enablestring" = xdisable; then
11546 if test $wxUSE_CHOICEBOOK = yes; then
11547 result=no
11548 else
11549 result=yes
11550 fi
11551 else
11552 result=$wxUSE_CHOICEBOOK
11553 fi
11554
11555 { echo "$as_me:$LINENO: result: $result" >&5
11556 echo "${ECHO_T}$result" >&6; }
11557
11558
11559 enablestring=
11560 defaultval=$wxUSE_ALL_FEATURES
11561 if test -z "$defaultval"; then
11562 if test x"$enablestring" = xdisable; then
11563 defaultval=yes
11564 else
11565 defaultval=no
11566 fi
11567 fi
11568
11569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
11570 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
11571 # Check whether --enable-collpane was given.
11572 if test "${enable_collpane+set}" = set; then
11573 enableval=$enable_collpane;
11574 if test "$enableval" = yes; then
11575 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11576 else
11577 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11578 fi
11579 cache=yes
11580
11581 else
11582
11583 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
11584 if test "x$LINE" != x ; then
11585 eval "DEFAULT_$LINE"
11586 cache=yes
11587 else
11588 cache=no
11589 fi
11590
11591 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11592
11593 fi
11594
11595
11596 eval "$wx_cv_use_collpane"
11597 if test "x$cache" = xyes; then
11598 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
11599 fi
11600
11601 if test x"$enablestring" = xdisable; then
11602 if test $wxUSE_COLLPANE = yes; then
11603 result=no
11604 else
11605 result=yes
11606 fi
11607 else
11608 result=$wxUSE_COLLPANE
11609 fi
11610
11611 { echo "$as_me:$LINENO: result: $result" >&5
11612 echo "${ECHO_T}$result" >&6; }
11613
11614
11615 enablestring=
11616 defaultval=$wxUSE_ALL_FEATURES
11617 if test -z "$defaultval"; then
11618 if test x"$enablestring" = xdisable; then
11619 defaultval=yes
11620 else
11621 defaultval=no
11622 fi
11623 fi
11624
11625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11626 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11627 # Check whether --enable-colourpicker was given.
11628 if test "${enable_colourpicker+set}" = set; then
11629 enableval=$enable_colourpicker;
11630 if test "$enableval" = yes; then
11631 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11632 else
11633 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11634 fi
11635 cache=yes
11636
11637 else
11638
11639 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11640 if test "x$LINE" != x ; then
11641 eval "DEFAULT_$LINE"
11642 cache=yes
11643 else
11644 cache=no
11645 fi
11646
11647 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11648
11649 fi
11650
11651
11652 eval "$wx_cv_use_colourpicker"
11653 if test "x$cache" = xyes; then
11654 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11655 fi
11656
11657 if test x"$enablestring" = xdisable; then
11658 if test $wxUSE_COLOURPICKERCTRL = yes; then
11659 result=no
11660 else
11661 result=yes
11662 fi
11663 else
11664 result=$wxUSE_COLOURPICKERCTRL
11665 fi
11666
11667 { echo "$as_me:$LINENO: result: $result" >&5
11668 echo "${ECHO_T}$result" >&6; }
11669
11670
11671 enablestring=
11672 defaultval=$wxUSE_ALL_FEATURES
11673 if test -z "$defaultval"; then
11674 if test x"$enablestring" = xdisable; then
11675 defaultval=yes
11676 else
11677 defaultval=no
11678 fi
11679 fi
11680
11681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11682 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11683 # Check whether --enable-combobox was given.
11684 if test "${enable_combobox+set}" = set; then
11685 enableval=$enable_combobox;
11686 if test "$enableval" = yes; then
11687 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11688 else
11689 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11690 fi
11691 cache=yes
11692
11693 else
11694
11695 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11696 if test "x$LINE" != x ; then
11697 eval "DEFAULT_$LINE"
11698 cache=yes
11699 else
11700 cache=no
11701 fi
11702
11703 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11704
11705 fi
11706
11707
11708 eval "$wx_cv_use_combobox"
11709 if test "x$cache" = xyes; then
11710 echo "wxUSE_COMBOBOX=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11711 fi
11712
11713 if test x"$enablestring" = xdisable; then
11714 if test $wxUSE_COMBOBOX = yes; then
11715 result=no
11716 else
11717 result=yes
11718 fi
11719 else
11720 result=$wxUSE_COMBOBOX
11721 fi
11722
11723 { echo "$as_me:$LINENO: result: $result" >&5
11724 echo "${ECHO_T}$result" >&6; }
11725
11726
11727 enablestring=
11728 defaultval=$wxUSE_ALL_FEATURES
11729 if test -z "$defaultval"; then
11730 if test x"$enablestring" = xdisable; then
11731 defaultval=yes
11732 else
11733 defaultval=no
11734 fi
11735 fi
11736
11737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11738 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11739 # Check whether --enable-comboctrl was given.
11740 if test "${enable_comboctrl+set}" = set; then
11741 enableval=$enable_comboctrl;
11742 if test "$enableval" = yes; then
11743 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11744 else
11745 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11746 fi
11747 cache=yes
11748
11749 else
11750
11751 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11752 if test "x$LINE" != x ; then
11753 eval "DEFAULT_$LINE"
11754 cache=yes
11755 else
11756 cache=no
11757 fi
11758
11759 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11760
11761 fi
11762
11763
11764 eval "$wx_cv_use_comboctrl"
11765 if test "x$cache" = xyes; then
11766 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11767 fi
11768
11769 if test x"$enablestring" = xdisable; then
11770 if test $wxUSE_COMBOCTRL = yes; then
11771 result=no
11772 else
11773 result=yes
11774 fi
11775 else
11776 result=$wxUSE_COMBOCTRL
11777 fi
11778
11779 { echo "$as_me:$LINENO: result: $result" >&5
11780 echo "${ECHO_T}$result" >&6; }
11781
11782
11783 enablestring=
11784 defaultval=$wxUSE_ALL_FEATURES
11785 if test -z "$defaultval"; then
11786 if test x"$enablestring" = xdisable; then
11787 defaultval=yes
11788 else
11789 defaultval=no
11790 fi
11791 fi
11792
11793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11794 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11795 # Check whether --enable-datepick was given.
11796 if test "${enable_datepick+set}" = set; then
11797 enableval=$enable_datepick;
11798 if test "$enableval" = yes; then
11799 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11800 else
11801 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11802 fi
11803 cache=yes
11804
11805 else
11806
11807 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11808 if test "x$LINE" != x ; then
11809 eval "DEFAULT_$LINE"
11810 cache=yes
11811 else
11812 cache=no
11813 fi
11814
11815 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11816
11817 fi
11818
11819
11820 eval "$wx_cv_use_datepick"
11821 if test "x$cache" = xyes; then
11822 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11823 fi
11824
11825 if test x"$enablestring" = xdisable; then
11826 if test $wxUSE_DATEPICKCTRL = yes; then
11827 result=no
11828 else
11829 result=yes
11830 fi
11831 else
11832 result=$wxUSE_DATEPICKCTRL
11833 fi
11834
11835 { echo "$as_me:$LINENO: result: $result" >&5
11836 echo "${ECHO_T}$result" >&6; }
11837
11838
11839 enablestring=
11840 defaultval=$wxUSE_ALL_FEATURES
11841 if test -z "$defaultval"; then
11842 if test x"$enablestring" = xdisable; then
11843 defaultval=yes
11844 else
11845 defaultval=no
11846 fi
11847 fi
11848
11849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11850 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11851 # Check whether --enable-dirpicker was given.
11852 if test "${enable_dirpicker+set}" = set; then
11853 enableval=$enable_dirpicker;
11854 if test "$enableval" = yes; then
11855 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11856 else
11857 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11858 fi
11859 cache=yes
11860
11861 else
11862
11863 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11864 if test "x$LINE" != x ; then
11865 eval "DEFAULT_$LINE"
11866 cache=yes
11867 else
11868 cache=no
11869 fi
11870
11871 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11872
11873 fi
11874
11875
11876 eval "$wx_cv_use_dirpicker"
11877 if test "x$cache" = xyes; then
11878 echo "wxUSE_DIRPICKERCTRL=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11879 fi
11880
11881 if test x"$enablestring" = xdisable; then
11882 if test $wxUSE_DIRPICKERCTRL = yes; then
11883 result=no
11884 else
11885 result=yes
11886 fi
11887 else
11888 result=$wxUSE_DIRPICKERCTRL
11889 fi
11890
11891 { echo "$as_me:$LINENO: result: $result" >&5
11892 echo "${ECHO_T}$result" >&6; }
11893
11894
11895 enablestring=
11896 defaultval=$wxUSE_ALL_FEATURES
11897 if test -z "$defaultval"; then
11898 if test x"$enablestring" = xdisable; then
11899 defaultval=yes
11900 else
11901 defaultval=no
11902 fi
11903 fi
11904
11905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11906 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11907 # Check whether --enable-display was given.
11908 if test "${enable_display+set}" = set; then
11909 enableval=$enable_display;
11910 if test "$enableval" = yes; then
11911 wx_cv_use_display='wxUSE_DISPLAY=yes'
11912 else
11913 wx_cv_use_display='wxUSE_DISPLAY=no'
11914 fi
11915 cache=yes
11916
11917 else
11918
11919 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11920 if test "x$LINE" != x ; then
11921 eval "DEFAULT_$LINE"
11922 cache=yes
11923 else
11924 cache=no
11925 fi
11926
11927 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11928
11929 fi
11930
11931
11932 eval "$wx_cv_use_display"
11933 if test "x$cache" = xyes; then
11934 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11935 fi
11936
11937 if test x"$enablestring" = xdisable; then
11938 if test $wxUSE_DISPLAY = yes; then
11939 result=no
11940 else
11941 result=yes
11942 fi
11943 else
11944 result=$wxUSE_DISPLAY
11945 fi
11946
11947 { echo "$as_me:$LINENO: result: $result" >&5
11948 echo "${ECHO_T}$result" >&6; }
11949
11950
11951 enablestring=
11952 defaultval=$wxUSE_ALL_FEATURES
11953 if test -z "$defaultval"; then
11954 if test x"$enablestring" = xdisable; then
11955 defaultval=yes
11956 else
11957 defaultval=no
11958 fi
11959 fi
11960
11961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11962 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11963 # Check whether --enable-detect_sm was given.
11964 if test "${enable_detect_sm+set}" = set; then
11965 enableval=$enable_detect_sm;
11966 if test "$enableval" = yes; then
11967 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11968 else
11969 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11970 fi
11971 cache=yes
11972
11973 else
11974
11975 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11976 if test "x$LINE" != x ; then
11977 eval "DEFAULT_$LINE"
11978 cache=yes
11979 else
11980 cache=no
11981 fi
11982
11983 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11984
11985 fi
11986
11987
11988 eval "$wx_cv_use_detect_sm"
11989 if test "x$cache" = xyes; then
11990 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
11991 fi
11992
11993 if test x"$enablestring" = xdisable; then
11994 if test $wxUSE_DETECT_SM = yes; then
11995 result=no
11996 else
11997 result=yes
11998 fi
11999 else
12000 result=$wxUSE_DETECT_SM
12001 fi
12002
12003 { echo "$as_me:$LINENO: result: $result" >&5
12004 echo "${ECHO_T}$result" >&6; }
12005
12006
12007 enablestring=
12008 defaultval=$wxUSE_ALL_FEATURES
12009 if test -z "$defaultval"; then
12010 if test x"$enablestring" = xdisable; then
12011 defaultval=yes
12012 else
12013 defaultval=no
12014 fi
12015 fi
12016
12017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
12018 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
12019 # Check whether --enable-editablebox was given.
12020 if test "${enable_editablebox+set}" = set; then
12021 enableval=$enable_editablebox;
12022 if test "$enableval" = yes; then
12023 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12024 else
12025 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12026 fi
12027 cache=yes
12028
12029 else
12030
12031 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
12032 if test "x$LINE" != x ; then
12033 eval "DEFAULT_$LINE"
12034 cache=yes
12035 else
12036 cache=no
12037 fi
12038
12039 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12040
12041 fi
12042
12043
12044 eval "$wx_cv_use_editablebox"
12045 if test "x$cache" = xyes; then
12046 echo "wxUSE_EDITABLELISTBOX=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
12047 fi
12048
12049 if test x"$enablestring" = xdisable; then
12050 if test $wxUSE_EDITABLELISTBOX = yes; then
12051 result=no
12052 else
12053 result=yes
12054 fi
12055 else
12056 result=$wxUSE_EDITABLELISTBOX
12057 fi
12058
12059 { echo "$as_me:$LINENO: result: $result" >&5
12060 echo "${ECHO_T}$result" >&6; }
12061
12062
12063 enablestring=
12064 defaultval=$wxUSE_ALL_FEATURES
12065 if test -z "$defaultval"; then
12066 if test x"$enablestring" = xdisable; then
12067 defaultval=yes
12068 else
12069 defaultval=no
12070 fi
12071 fi
12072
12073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
12074 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
12075 # Check whether --enable-filepicker was given.
12076 if test "${enable_filepicker+set}" = set; then
12077 enableval=$enable_filepicker;
12078 if test "$enableval" = yes; then
12079 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12080 else
12081 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12082 fi
12083 cache=yes
12084
12085 else
12086
12087 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
12088 if test "x$LINE" != x ; then
12089 eval "DEFAULT_$LINE"
12090 cache=yes
12091 else
12092 cache=no
12093 fi
12094
12095 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12096
12097 fi
12098
12099
12100 eval "$wx_cv_use_filepicker"
12101 if test "x$cache" = xyes; then
12102 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12103 fi
12104
12105 if test x"$enablestring" = xdisable; then
12106 if test $wxUSE_FILEPICKERCTRL = yes; then
12107 result=no
12108 else
12109 result=yes
12110 fi
12111 else
12112 result=$wxUSE_FILEPICKERCTRL
12113 fi
12114
12115 { echo "$as_me:$LINENO: result: $result" >&5
12116 echo "${ECHO_T}$result" >&6; }
12117
12118
12119 enablestring=
12120 defaultval=$wxUSE_ALL_FEATURES
12121 if test -z "$defaultval"; then
12122 if test x"$enablestring" = xdisable; then
12123 defaultval=yes
12124 else
12125 defaultval=no
12126 fi
12127 fi
12128
12129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
12130 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
12131 # Check whether --enable-filectrl was given.
12132 if test "${enable_filectrl+set}" = set; then
12133 enableval=$enable_filectrl;
12134 if test "$enableval" = yes; then
12135 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
12136 else
12137 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
12138 fi
12139 cache=yes
12140
12141 else
12142
12143 LINE=`grep "^wxUSE_FILECTRL=" ${wx_arg_cache_file}`
12144 if test "x$LINE" != x ; then
12145 eval "DEFAULT_$LINE"
12146 cache=yes
12147 else
12148 cache=no
12149 fi
12150
12151 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12152
12153 fi
12154
12155
12156 eval "$wx_cv_use_filectrl"
12157 if test "x$cache" = xyes; then
12158 echo "wxUSE_FILECTRL=$wxUSE_FILECTRL" >> ${wx_arg_cache_file}.tmp
12159 fi
12160
12161 if test x"$enablestring" = xdisable; then
12162 if test $wxUSE_FILECTRL = yes; then
12163 result=no
12164 else
12165 result=yes
12166 fi
12167 else
12168 result=$wxUSE_FILECTRL
12169 fi
12170
12171 { echo "$as_me:$LINENO: result: $result" >&5
12172 echo "${ECHO_T}$result" >&6; }
12173
12174
12175 enablestring=
12176 defaultval=$wxUSE_ALL_FEATURES
12177 if test -z "$defaultval"; then
12178 if test x"$enablestring" = xdisable; then
12179 defaultval=yes
12180 else
12181 defaultval=no
12182 fi
12183 fi
12184
12185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
12186 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
12187 # Check whether --enable-fontpicker was given.
12188 if test "${enable_fontpicker+set}" = set; then
12189 enableval=$enable_fontpicker;
12190 if test "$enableval" = yes; then
12191 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12192 else
12193 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12194 fi
12195 cache=yes
12196
12197 else
12198
12199 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
12200 if test "x$LINE" != x ; then
12201 eval "DEFAULT_$LINE"
12202 cache=yes
12203 else
12204 cache=no
12205 fi
12206
12207 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12208
12209 fi
12210
12211
12212 eval "$wx_cv_use_fontpicker"
12213 if test "x$cache" = xyes; then
12214 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
12215 fi
12216
12217 if test x"$enablestring" = xdisable; then
12218 if test $wxUSE_FONTPICKERCTRL = yes; then
12219 result=no
12220 else
12221 result=yes
12222 fi
12223 else
12224 result=$wxUSE_FONTPICKERCTRL
12225 fi
12226
12227 { echo "$as_me:$LINENO: result: $result" >&5
12228 echo "${ECHO_T}$result" >&6; }
12229
12230
12231 enablestring=
12232 defaultval=$wxUSE_ALL_FEATURES
12233 if test -z "$defaultval"; then
12234 if test x"$enablestring" = xdisable; then
12235 defaultval=yes
12236 else
12237 defaultval=no
12238 fi
12239 fi
12240
12241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
12242 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
12243 # Check whether --enable-gauge was given.
12244 if test "${enable_gauge+set}" = set; then
12245 enableval=$enable_gauge;
12246 if test "$enableval" = yes; then
12247 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12248 else
12249 wx_cv_use_gauge='wxUSE_GAUGE=no'
12250 fi
12251 cache=yes
12252
12253 else
12254
12255 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
12256 if test "x$LINE" != x ; then
12257 eval "DEFAULT_$LINE"
12258 cache=yes
12259 else
12260 cache=no
12261 fi
12262
12263 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12264
12265 fi
12266
12267
12268 eval "$wx_cv_use_gauge"
12269 if test "x$cache" = xyes; then
12270 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
12271 fi
12272
12273 if test x"$enablestring" = xdisable; then
12274 if test $wxUSE_GAUGE = yes; then
12275 result=no
12276 else
12277 result=yes
12278 fi
12279 else
12280 result=$wxUSE_GAUGE
12281 fi
12282
12283 { echo "$as_me:$LINENO: result: $result" >&5
12284 echo "${ECHO_T}$result" >&6; }
12285
12286
12287 enablestring=
12288 defaultval=$wxUSE_ALL_FEATURES
12289 if test -z "$defaultval"; then
12290 if test x"$enablestring" = xdisable; then
12291 defaultval=yes
12292 else
12293 defaultval=no
12294 fi
12295 fi
12296
12297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
12298 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
12299 # Check whether --enable-grid was given.
12300 if test "${enable_grid+set}" = set; then
12301 enableval=$enable_grid;
12302 if test "$enableval" = yes; then
12303 wx_cv_use_grid='wxUSE_GRID=yes'
12304 else
12305 wx_cv_use_grid='wxUSE_GRID=no'
12306 fi
12307 cache=yes
12308
12309 else
12310
12311 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
12312 if test "x$LINE" != x ; then
12313 eval "DEFAULT_$LINE"
12314 cache=yes
12315 else
12316 cache=no
12317 fi
12318
12319 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12320
12321 fi
12322
12323
12324 eval "$wx_cv_use_grid"
12325 if test "x$cache" = xyes; then
12326 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
12327 fi
12328
12329 if test x"$enablestring" = xdisable; then
12330 if test $wxUSE_GRID = yes; then
12331 result=no
12332 else
12333 result=yes
12334 fi
12335 else
12336 result=$wxUSE_GRID
12337 fi
12338
12339 { echo "$as_me:$LINENO: result: $result" >&5
12340 echo "${ECHO_T}$result" >&6; }
12341
12342
12343 enablestring=
12344 defaultval=$wxUSE_ALL_FEATURES
12345 if test -z "$defaultval"; then
12346 if test x"$enablestring" = xdisable; then
12347 defaultval=yes
12348 else
12349 defaultval=no
12350 fi
12351 fi
12352
12353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
12354 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
12355 # Check whether --enable-dataviewctrl was given.
12356 if test "${enable_dataviewctrl+set}" = set; then
12357 enableval=$enable_dataviewctrl;
12358 if test "$enableval" = yes; then
12359 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
12360 else
12361 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
12362 fi
12363 cache=yes
12364
12365 else
12366
12367 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
12368 if test "x$LINE" != x ; then
12369 eval "DEFAULT_$LINE"
12370 cache=yes
12371 else
12372 cache=no
12373 fi
12374
12375 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12376
12377 fi
12378
12379
12380 eval "$wx_cv_use_dataviewctrl"
12381 if test "x$cache" = xyes; then
12382 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
12383 fi
12384
12385 if test x"$enablestring" = xdisable; then
12386 if test $wxUSE_DATAVIEWCTRL = yes; then
12387 result=no
12388 else
12389 result=yes
12390 fi
12391 else
12392 result=$wxUSE_DATAVIEWCTRL
12393 fi
12394
12395 { echo "$as_me:$LINENO: result: $result" >&5
12396 echo "${ECHO_T}$result" >&6; }
12397
12398
12399 enablestring=
12400 defaultval=$wxUSE_ALL_FEATURES
12401 if test -z "$defaultval"; then
12402 if test x"$enablestring" = xdisable; then
12403 defaultval=yes
12404 else
12405 defaultval=no
12406 fi
12407 fi
12408
12409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
12410 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
12411 # Check whether --enable-hyperlink was given.
12412 if test "${enable_hyperlink+set}" = set; then
12413 enableval=$enable_hyperlink;
12414 if test "$enableval" = yes; then
12415 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12416 else
12417 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12418 fi
12419 cache=yes
12420
12421 else
12422
12423 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
12424 if test "x$LINE" != x ; then
12425 eval "DEFAULT_$LINE"
12426 cache=yes
12427 else
12428 cache=no
12429 fi
12430
12431 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12432
12433 fi
12434
12435
12436 eval "$wx_cv_use_hyperlink"
12437 if test "x$cache" = xyes; then
12438 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
12439 fi
12440
12441 if test x"$enablestring" = xdisable; then
12442 if test $wxUSE_HYPERLINKCTRL = yes; then
12443 result=no
12444 else
12445 result=yes
12446 fi
12447 else
12448 result=$wxUSE_HYPERLINKCTRL
12449 fi
12450
12451 { echo "$as_me:$LINENO: result: $result" >&5
12452 echo "${ECHO_T}$result" >&6; }
12453
12454
12455 enablestring=
12456 defaultval=$wxUSE_ALL_FEATURES
12457 if test -z "$defaultval"; then
12458 if test x"$enablestring" = xdisable; then
12459 defaultval=yes
12460 else
12461 defaultval=no
12462 fi
12463 fi
12464
12465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
12466 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
12467 # Check whether --enable-imaglist was given.
12468 if test "${enable_imaglist+set}" = set; then
12469 enableval=$enable_imaglist;
12470 if test "$enableval" = yes; then
12471 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12472 else
12473 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12474 fi
12475 cache=yes
12476
12477 else
12478
12479 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
12480 if test "x$LINE" != x ; then
12481 eval "DEFAULT_$LINE"
12482 cache=yes
12483 else
12484 cache=no
12485 fi
12486
12487 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12488
12489 fi
12490
12491
12492 eval "$wx_cv_use_imaglist"
12493 if test "x$cache" = xyes; then
12494 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
12495 fi
12496
12497 if test x"$enablestring" = xdisable; then
12498 if test $wxUSE_IMAGLIST = yes; then
12499 result=no
12500 else
12501 result=yes
12502 fi
12503 else
12504 result=$wxUSE_IMAGLIST
12505 fi
12506
12507 { echo "$as_me:$LINENO: result: $result" >&5
12508 echo "${ECHO_T}$result" >&6; }
12509
12510
12511 enablestring=
12512 defaultval=$wxUSE_ALL_FEATURES
12513 if test -z "$defaultval"; then
12514 if test x"$enablestring" = xdisable; then
12515 defaultval=yes
12516 else
12517 defaultval=no
12518 fi
12519 fi
12520
12521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
12522 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
12523 # Check whether --enable-listbook was given.
12524 if test "${enable_listbook+set}" = set; then
12525 enableval=$enable_listbook;
12526 if test "$enableval" = yes; then
12527 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12528 else
12529 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12530 fi
12531 cache=yes
12532
12533 else
12534
12535 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
12536 if test "x$LINE" != x ; then
12537 eval "DEFAULT_$LINE"
12538 cache=yes
12539 else
12540 cache=no
12541 fi
12542
12543 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12544
12545 fi
12546
12547
12548 eval "$wx_cv_use_listbook"
12549 if test "x$cache" = xyes; then
12550 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
12551 fi
12552
12553 if test x"$enablestring" = xdisable; then
12554 if test $wxUSE_LISTBOOK = yes; then
12555 result=no
12556 else
12557 result=yes
12558 fi
12559 else
12560 result=$wxUSE_LISTBOOK
12561 fi
12562
12563 { echo "$as_me:$LINENO: result: $result" >&5
12564 echo "${ECHO_T}$result" >&6; }
12565
12566
12567 enablestring=
12568 defaultval=$wxUSE_ALL_FEATURES
12569 if test -z "$defaultval"; then
12570 if test x"$enablestring" = xdisable; then
12571 defaultval=yes
12572 else
12573 defaultval=no
12574 fi
12575 fi
12576
12577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
12578 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
12579 # Check whether --enable-listbox was given.
12580 if test "${enable_listbox+set}" = set; then
12581 enableval=$enable_listbox;
12582 if test "$enableval" = yes; then
12583 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12584 else
12585 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12586 fi
12587 cache=yes
12588
12589 else
12590
12591 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
12592 if test "x$LINE" != x ; then
12593 eval "DEFAULT_$LINE"
12594 cache=yes
12595 else
12596 cache=no
12597 fi
12598
12599 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12600
12601 fi
12602
12603
12604 eval "$wx_cv_use_listbox"
12605 if test "x$cache" = xyes; then
12606 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
12607 fi
12608
12609 if test x"$enablestring" = xdisable; then
12610 if test $wxUSE_LISTBOX = yes; then
12611 result=no
12612 else
12613 result=yes
12614 fi
12615 else
12616 result=$wxUSE_LISTBOX
12617 fi
12618
12619 { echo "$as_me:$LINENO: result: $result" >&5
12620 echo "${ECHO_T}$result" >&6; }
12621
12622
12623 enablestring=
12624 defaultval=$wxUSE_ALL_FEATURES
12625 if test -z "$defaultval"; then
12626 if test x"$enablestring" = xdisable; then
12627 defaultval=yes
12628 else
12629 defaultval=no
12630 fi
12631 fi
12632
12633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12634 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12635 # Check whether --enable-listctrl was given.
12636 if test "${enable_listctrl+set}" = set; then
12637 enableval=$enable_listctrl;
12638 if test "$enableval" = yes; then
12639 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12640 else
12641 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12642 fi
12643 cache=yes
12644
12645 else
12646
12647 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12648 if test "x$LINE" != x ; then
12649 eval "DEFAULT_$LINE"
12650 cache=yes
12651 else
12652 cache=no
12653 fi
12654
12655 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12656
12657 fi
12658
12659
12660 eval "$wx_cv_use_listctrl"
12661 if test "x$cache" = xyes; then
12662 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
12663 fi
12664
12665 if test x"$enablestring" = xdisable; then
12666 if test $wxUSE_LISTCTRL = yes; then
12667 result=no
12668 else
12669 result=yes
12670 fi
12671 else
12672 result=$wxUSE_LISTCTRL
12673 fi
12674
12675 { echo "$as_me:$LINENO: result: $result" >&5
12676 echo "${ECHO_T}$result" >&6; }
12677
12678
12679 enablestring=
12680 defaultval=$wxUSE_ALL_FEATURES
12681 if test -z "$defaultval"; then
12682 if test x"$enablestring" = xdisable; then
12683 defaultval=yes
12684 else
12685 defaultval=no
12686 fi
12687 fi
12688
12689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12690 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12691 # Check whether --enable-notebook was given.
12692 if test "${enable_notebook+set}" = set; then
12693 enableval=$enable_notebook;
12694 if test "$enableval" = yes; then
12695 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12696 else
12697 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12698 fi
12699 cache=yes
12700
12701 else
12702
12703 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12704 if test "x$LINE" != x ; then
12705 eval "DEFAULT_$LINE"
12706 cache=yes
12707 else
12708 cache=no
12709 fi
12710
12711 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12712
12713 fi
12714
12715
12716 eval "$wx_cv_use_notebook"
12717 if test "x$cache" = xyes; then
12718 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
12719 fi
12720
12721 if test x"$enablestring" = xdisable; then
12722 if test $wxUSE_NOTEBOOK = yes; then
12723 result=no
12724 else
12725 result=yes
12726 fi
12727 else
12728 result=$wxUSE_NOTEBOOK
12729 fi
12730
12731 { echo "$as_me:$LINENO: result: $result" >&5
12732 echo "${ECHO_T}$result" >&6; }
12733
12734
12735 enablestring=
12736 defaultval=$wxUSE_ALL_FEATURES
12737 if test -z "$defaultval"; then
12738 if test x"$enablestring" = xdisable; then
12739 defaultval=yes
12740 else
12741 defaultval=no
12742 fi
12743 fi
12744
12745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12746 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12747 # Check whether --enable-odcombobox was given.
12748 if test "${enable_odcombobox+set}" = set; then
12749 enableval=$enable_odcombobox;
12750 if test "$enableval" = yes; then
12751 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12752 else
12753 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12754 fi
12755 cache=yes
12756
12757 else
12758
12759 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12760 if test "x$LINE" != x ; then
12761 eval "DEFAULT_$LINE"
12762 cache=yes
12763 else
12764 cache=no
12765 fi
12766
12767 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12768
12769 fi
12770
12771
12772 eval "$wx_cv_use_odcombobox"
12773 if test "x$cache" = xyes; then
12774 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12775 fi
12776
12777 if test x"$enablestring" = xdisable; then
12778 if test $wxUSE_ODCOMBOBOX = yes; then
12779 result=no
12780 else
12781 result=yes
12782 fi
12783 else
12784 result=$wxUSE_ODCOMBOBOX
12785 fi
12786
12787 { echo "$as_me:$LINENO: result: $result" >&5
12788 echo "${ECHO_T}$result" >&6; }
12789
12790
12791 enablestring=
12792 defaultval=$wxUSE_ALL_FEATURES
12793 if test -z "$defaultval"; then
12794 if test x"$enablestring" = xdisable; then
12795 defaultval=yes
12796 else
12797 defaultval=no
12798 fi
12799 fi
12800
12801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12802 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12803 # Check whether --enable-radiobox was given.
12804 if test "${enable_radiobox+set}" = set; then
12805 enableval=$enable_radiobox;
12806 if test "$enableval" = yes; then
12807 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12808 else
12809 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12810 fi
12811 cache=yes
12812
12813 else
12814
12815 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12816 if test "x$LINE" != x ; then
12817 eval "DEFAULT_$LINE"
12818 cache=yes
12819 else
12820 cache=no
12821 fi
12822
12823 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12824
12825 fi
12826
12827
12828 eval "$wx_cv_use_radiobox"
12829 if test "x$cache" = xyes; then
12830 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12831 fi
12832
12833 if test x"$enablestring" = xdisable; then
12834 if test $wxUSE_RADIOBOX = yes; then
12835 result=no
12836 else
12837 result=yes
12838 fi
12839 else
12840 result=$wxUSE_RADIOBOX
12841 fi
12842
12843 { echo "$as_me:$LINENO: result: $result" >&5
12844 echo "${ECHO_T}$result" >&6; }
12845
12846
12847 enablestring=
12848 defaultval=$wxUSE_ALL_FEATURES
12849 if test -z "$defaultval"; then
12850 if test x"$enablestring" = xdisable; then
12851 defaultval=yes
12852 else
12853 defaultval=no
12854 fi
12855 fi
12856
12857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12858 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12859 # Check whether --enable-radiobtn was given.
12860 if test "${enable_radiobtn+set}" = set; then
12861 enableval=$enable_radiobtn;
12862 if test "$enableval" = yes; then
12863 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12864 else
12865 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12866 fi
12867 cache=yes
12868
12869 else
12870
12871 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12872 if test "x$LINE" != x ; then
12873 eval "DEFAULT_$LINE"
12874 cache=yes
12875 else
12876 cache=no
12877 fi
12878
12879 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12880
12881 fi
12882
12883
12884 eval "$wx_cv_use_radiobtn"
12885 if test "x$cache" = xyes; then
12886 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12887 fi
12888
12889 if test x"$enablestring" = xdisable; then
12890 if test $wxUSE_RADIOBTN = yes; then
12891 result=no
12892 else
12893 result=yes
12894 fi
12895 else
12896 result=$wxUSE_RADIOBTN
12897 fi
12898
12899 { echo "$as_me:$LINENO: result: $result" >&5
12900 echo "${ECHO_T}$result" >&6; }
12901
12902
12903 enablestring=
12904 defaultval=$wxUSE_ALL_FEATURES
12905 if test -z "$defaultval"; then
12906 if test x"$enablestring" = xdisable; then
12907 defaultval=yes
12908 else
12909 defaultval=no
12910 fi
12911 fi
12912
12913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12914 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12915 # Check whether --enable-sash was given.
12916 if test "${enable_sash+set}" = set; then
12917 enableval=$enable_sash;
12918 if test "$enableval" = yes; then
12919 wx_cv_use_sash='wxUSE_SASH=yes'
12920 else
12921 wx_cv_use_sash='wxUSE_SASH=no'
12922 fi
12923 cache=yes
12924
12925 else
12926
12927 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12928 if test "x$LINE" != x ; then
12929 eval "DEFAULT_$LINE"
12930 cache=yes
12931 else
12932 cache=no
12933 fi
12934
12935 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12936
12937 fi
12938
12939
12940 eval "$wx_cv_use_sash"
12941 if test "x$cache" = xyes; then
12942 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12943 fi
12944
12945 if test x"$enablestring" = xdisable; then
12946 if test $wxUSE_SASH = yes; then
12947 result=no
12948 else
12949 result=yes
12950 fi
12951 else
12952 result=$wxUSE_SASH
12953 fi
12954
12955 { echo "$as_me:$LINENO: result: $result" >&5
12956 echo "${ECHO_T}$result" >&6; }
12957
12958
12959 enablestring=
12960 defaultval=$wxUSE_ALL_FEATURES
12961 if test -z "$defaultval"; then
12962 if test x"$enablestring" = xdisable; then
12963 defaultval=yes
12964 else
12965 defaultval=no
12966 fi
12967 fi
12968
12969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12970 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12971 # Check whether --enable-scrollbar was given.
12972 if test "${enable_scrollbar+set}" = set; then
12973 enableval=$enable_scrollbar;
12974 if test "$enableval" = yes; then
12975 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12976 else
12977 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12978 fi
12979 cache=yes
12980
12981 else
12982
12983 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12984 if test "x$LINE" != x ; then
12985 eval "DEFAULT_$LINE"
12986 cache=yes
12987 else
12988 cache=no
12989 fi
12990
12991 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12992
12993 fi
12994
12995
12996 eval "$wx_cv_use_scrollbar"
12997 if test "x$cache" = xyes; then
12998 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
12999 fi
13000
13001 if test x"$enablestring" = xdisable; then
13002 if test $wxUSE_SCROLLBAR = yes; then
13003 result=no
13004 else
13005 result=yes
13006 fi
13007 else
13008 result=$wxUSE_SCROLLBAR
13009 fi
13010
13011 { echo "$as_me:$LINENO: result: $result" >&5
13012 echo "${ECHO_T}$result" >&6; }
13013
13014
13015 enablestring=
13016 defaultval=$wxUSE_ALL_FEATURES
13017 if test -z "$defaultval"; then
13018 if test x"$enablestring" = xdisable; then
13019 defaultval=yes
13020 else
13021 defaultval=no
13022 fi
13023 fi
13024
13025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
13026 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
13027 # Check whether --enable-searchctrl was given.
13028 if test "${enable_searchctrl+set}" = set; then
13029 enableval=$enable_searchctrl;
13030 if test "$enableval" = yes; then
13031 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13032 else
13033 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13034 fi
13035 cache=yes
13036
13037 else
13038
13039 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
13040 if test "x$LINE" != x ; then
13041 eval "DEFAULT_$LINE"
13042 cache=yes
13043 else
13044 cache=no
13045 fi
13046
13047 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13048
13049 fi
13050
13051
13052 eval "$wx_cv_use_searchctrl"
13053 if test "x$cache" = xyes; then
13054 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
13055 fi
13056
13057 if test x"$enablestring" = xdisable; then
13058 if test $wxUSE_SEARCHCTRL = yes; then
13059 result=no
13060 else
13061 result=yes
13062 fi
13063 else
13064 result=$wxUSE_SEARCHCTRL
13065 fi
13066
13067 { echo "$as_me:$LINENO: result: $result" >&5
13068 echo "${ECHO_T}$result" >&6; }
13069
13070
13071 enablestring=
13072 defaultval=$wxUSE_ALL_FEATURES
13073 if test -z "$defaultval"; then
13074 if test x"$enablestring" = xdisable; then
13075 defaultval=yes
13076 else
13077 defaultval=no
13078 fi
13079 fi
13080
13081 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
13082 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
13083 # Check whether --enable-slider was given.
13084 if test "${enable_slider+set}" = set; then
13085 enableval=$enable_slider;
13086 if test "$enableval" = yes; then
13087 wx_cv_use_slider='wxUSE_SLIDER=yes'
13088 else
13089 wx_cv_use_slider='wxUSE_SLIDER=no'
13090 fi
13091 cache=yes
13092
13093 else
13094
13095 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
13096 if test "x$LINE" != x ; then
13097 eval "DEFAULT_$LINE"
13098 cache=yes
13099 else
13100 cache=no
13101 fi
13102
13103 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13104
13105 fi
13106
13107
13108 eval "$wx_cv_use_slider"
13109 if test "x$cache" = xyes; then
13110 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
13111 fi
13112
13113 if test x"$enablestring" = xdisable; then
13114 if test $wxUSE_SLIDER = yes; then
13115 result=no
13116 else
13117 result=yes
13118 fi
13119 else
13120 result=$wxUSE_SLIDER
13121 fi
13122
13123 { echo "$as_me:$LINENO: result: $result" >&5
13124 echo "${ECHO_T}$result" >&6; }
13125
13126
13127 enablestring=
13128 defaultval=$wxUSE_ALL_FEATURES
13129 if test -z "$defaultval"; then
13130 if test x"$enablestring" = xdisable; then
13131 defaultval=yes
13132 else
13133 defaultval=no
13134 fi
13135 fi
13136
13137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
13138 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
13139 # Check whether --enable-spinbtn was given.
13140 if test "${enable_spinbtn+set}" = set; then
13141 enableval=$enable_spinbtn;
13142 if test "$enableval" = yes; then
13143 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13144 else
13145 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13146 fi
13147 cache=yes
13148
13149 else
13150
13151 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
13152 if test "x$LINE" != x ; then
13153 eval "DEFAULT_$LINE"
13154 cache=yes
13155 else
13156 cache=no
13157 fi
13158
13159 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13160
13161 fi
13162
13163
13164 eval "$wx_cv_use_spinbtn"
13165 if test "x$cache" = xyes; then
13166 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
13167 fi
13168
13169 if test x"$enablestring" = xdisable; then
13170 if test $wxUSE_SPINBTN = yes; then
13171 result=no
13172 else
13173 result=yes
13174 fi
13175 else
13176 result=$wxUSE_SPINBTN
13177 fi
13178
13179 { echo "$as_me:$LINENO: result: $result" >&5
13180 echo "${ECHO_T}$result" >&6; }
13181
13182
13183 enablestring=
13184 defaultval=$wxUSE_ALL_FEATURES
13185 if test -z "$defaultval"; then
13186 if test x"$enablestring" = xdisable; then
13187 defaultval=yes
13188 else
13189 defaultval=no
13190 fi
13191 fi
13192
13193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
13194 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
13195 # Check whether --enable-spinctrl was given.
13196 if test "${enable_spinctrl+set}" = set; then
13197 enableval=$enable_spinctrl;
13198 if test "$enableval" = yes; then
13199 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13200 else
13201 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13202 fi
13203 cache=yes
13204
13205 else
13206
13207 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
13208 if test "x$LINE" != x ; then
13209 eval "DEFAULT_$LINE"
13210 cache=yes
13211 else
13212 cache=no
13213 fi
13214
13215 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13216
13217 fi
13218
13219
13220 eval "$wx_cv_use_spinctrl"
13221 if test "x$cache" = xyes; then
13222 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
13223 fi
13224
13225 if test x"$enablestring" = xdisable; then
13226 if test $wxUSE_SPINCTRL = yes; then
13227 result=no
13228 else
13229 result=yes
13230 fi
13231 else
13232 result=$wxUSE_SPINCTRL
13233 fi
13234
13235 { echo "$as_me:$LINENO: result: $result" >&5
13236 echo "${ECHO_T}$result" >&6; }
13237
13238
13239 enablestring=
13240 defaultval=$wxUSE_ALL_FEATURES
13241 if test -z "$defaultval"; then
13242 if test x"$enablestring" = xdisable; then
13243 defaultval=yes
13244 else
13245 defaultval=no
13246 fi
13247 fi
13248
13249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
13250 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
13251 # Check whether --enable-splitter was given.
13252 if test "${enable_splitter+set}" = set; then
13253 enableval=$enable_splitter;
13254 if test "$enableval" = yes; then
13255 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13256 else
13257 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13258 fi
13259 cache=yes
13260
13261 else
13262
13263 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
13264 if test "x$LINE" != x ; then
13265 eval "DEFAULT_$LINE"
13266 cache=yes
13267 else
13268 cache=no
13269 fi
13270
13271 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13272
13273 fi
13274
13275
13276 eval "$wx_cv_use_splitter"
13277 if test "x$cache" = xyes; then
13278 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
13279 fi
13280
13281 if test x"$enablestring" = xdisable; then
13282 if test $wxUSE_SPLITTER = yes; then
13283 result=no
13284 else
13285 result=yes
13286 fi
13287 else
13288 result=$wxUSE_SPLITTER
13289 fi
13290
13291 { echo "$as_me:$LINENO: result: $result" >&5
13292 echo "${ECHO_T}$result" >&6; }
13293
13294
13295 enablestring=
13296 defaultval=$wxUSE_ALL_FEATURES
13297 if test -z "$defaultval"; then
13298 if test x"$enablestring" = xdisable; then
13299 defaultval=yes
13300 else
13301 defaultval=no
13302 fi
13303 fi
13304
13305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
13306 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
13307 # Check whether --enable-statbmp was given.
13308 if test "${enable_statbmp+set}" = set; then
13309 enableval=$enable_statbmp;
13310 if test "$enableval" = yes; then
13311 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13312 else
13313 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13314 fi
13315 cache=yes
13316
13317 else
13318
13319 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
13320 if test "x$LINE" != x ; then
13321 eval "DEFAULT_$LINE"
13322 cache=yes
13323 else
13324 cache=no
13325 fi
13326
13327 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13328
13329 fi
13330
13331
13332 eval "$wx_cv_use_statbmp"
13333 if test "x$cache" = xyes; then
13334 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
13335 fi
13336
13337 if test x"$enablestring" = xdisable; then
13338 if test $wxUSE_STATBMP = yes; then
13339 result=no
13340 else
13341 result=yes
13342 fi
13343 else
13344 result=$wxUSE_STATBMP
13345 fi
13346
13347 { echo "$as_me:$LINENO: result: $result" >&5
13348 echo "${ECHO_T}$result" >&6; }
13349
13350
13351 enablestring=
13352 defaultval=$wxUSE_ALL_FEATURES
13353 if test -z "$defaultval"; then
13354 if test x"$enablestring" = xdisable; then
13355 defaultval=yes
13356 else
13357 defaultval=no
13358 fi
13359 fi
13360
13361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
13362 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
13363 # Check whether --enable-statbox was given.
13364 if test "${enable_statbox+set}" = set; then
13365 enableval=$enable_statbox;
13366 if test "$enableval" = yes; then
13367 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13368 else
13369 wx_cv_use_statbox='wxUSE_STATBOX=no'
13370 fi
13371 cache=yes
13372
13373 else
13374
13375 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
13376 if test "x$LINE" != x ; then
13377 eval "DEFAULT_$LINE"
13378 cache=yes
13379 else
13380 cache=no
13381 fi
13382
13383 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13384
13385 fi
13386
13387
13388 eval "$wx_cv_use_statbox"
13389 if test "x$cache" = xyes; then
13390 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
13391 fi
13392
13393 if test x"$enablestring" = xdisable; then
13394 if test $wxUSE_STATBOX = yes; then
13395 result=no
13396 else
13397 result=yes
13398 fi
13399 else
13400 result=$wxUSE_STATBOX
13401 fi
13402
13403 { echo "$as_me:$LINENO: result: $result" >&5
13404 echo "${ECHO_T}$result" >&6; }
13405
13406
13407 enablestring=
13408 defaultval=$wxUSE_ALL_FEATURES
13409 if test -z "$defaultval"; then
13410 if test x"$enablestring" = xdisable; then
13411 defaultval=yes
13412 else
13413 defaultval=no
13414 fi
13415 fi
13416
13417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
13418 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
13419 # Check whether --enable-statline was given.
13420 if test "${enable_statline+set}" = set; then
13421 enableval=$enable_statline;
13422 if test "$enableval" = yes; then
13423 wx_cv_use_statline='wxUSE_STATLINE=yes'
13424 else
13425 wx_cv_use_statline='wxUSE_STATLINE=no'
13426 fi
13427 cache=yes
13428
13429 else
13430
13431 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
13432 if test "x$LINE" != x ; then
13433 eval "DEFAULT_$LINE"
13434 cache=yes
13435 else
13436 cache=no
13437 fi
13438
13439 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13440
13441 fi
13442
13443
13444 eval "$wx_cv_use_statline"
13445 if test "x$cache" = xyes; then
13446 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
13447 fi
13448
13449 if test x"$enablestring" = xdisable; then
13450 if test $wxUSE_STATLINE = yes; then
13451 result=no
13452 else
13453 result=yes
13454 fi
13455 else
13456 result=$wxUSE_STATLINE
13457 fi
13458
13459 { echo "$as_me:$LINENO: result: $result" >&5
13460 echo "${ECHO_T}$result" >&6; }
13461
13462
13463 enablestring=
13464 defaultval=$wxUSE_ALL_FEATURES
13465 if test -z "$defaultval"; then
13466 if test x"$enablestring" = xdisable; then
13467 defaultval=yes
13468 else
13469 defaultval=no
13470 fi
13471 fi
13472
13473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
13474 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
13475 # Check whether --enable-stattext was given.
13476 if test "${enable_stattext+set}" = set; then
13477 enableval=$enable_stattext;
13478 if test "$enableval" = yes; then
13479 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13480 else
13481 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13482 fi
13483 cache=yes
13484
13485 else
13486
13487 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
13488 if test "x$LINE" != x ; then
13489 eval "DEFAULT_$LINE"
13490 cache=yes
13491 else
13492 cache=no
13493 fi
13494
13495 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13496
13497 fi
13498
13499
13500 eval "$wx_cv_use_stattext"
13501 if test "x$cache" = xyes; then
13502 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
13503 fi
13504
13505 if test x"$enablestring" = xdisable; then
13506 if test $wxUSE_STATTEXT = yes; then
13507 result=no
13508 else
13509 result=yes
13510 fi
13511 else
13512 result=$wxUSE_STATTEXT
13513 fi
13514
13515 { echo "$as_me:$LINENO: result: $result" >&5
13516 echo "${ECHO_T}$result" >&6; }
13517
13518
13519 enablestring=
13520 defaultval=$wxUSE_ALL_FEATURES
13521 if test -z "$defaultval"; then
13522 if test x"$enablestring" = xdisable; then
13523 defaultval=yes
13524 else
13525 defaultval=no
13526 fi
13527 fi
13528
13529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
13530 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
13531 # Check whether --enable-statusbar was given.
13532 if test "${enable_statusbar+set}" = set; then
13533 enableval=$enable_statusbar;
13534 if test "$enableval" = yes; then
13535 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13536 else
13537 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13538 fi
13539 cache=yes
13540
13541 else
13542
13543 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
13544 if test "x$LINE" != x ; then
13545 eval "DEFAULT_$LINE"
13546 cache=yes
13547 else
13548 cache=no
13549 fi
13550
13551 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13552
13553 fi
13554
13555
13556 eval "$wx_cv_use_statusbar"
13557 if test "x$cache" = xyes; then
13558 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
13559 fi
13560
13561 if test x"$enablestring" = xdisable; then
13562 if test $wxUSE_STATUSBAR = yes; then
13563 result=no
13564 else
13565 result=yes
13566 fi
13567 else
13568 result=$wxUSE_STATUSBAR
13569 fi
13570
13571 { echo "$as_me:$LINENO: result: $result" >&5
13572 echo "${ECHO_T}$result" >&6; }
13573
13574
13575 enablestring=
13576 defaultval=$wxUSE_ALL_FEATURES
13577 if test -z "$defaultval"; then
13578 if test x"$enablestring" = xdisable; then
13579 defaultval=yes
13580 else
13581 defaultval=no
13582 fi
13583 fi
13584
13585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
13586 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
13587 # Check whether --enable-tabdialog was given.
13588 if test "${enable_tabdialog+set}" = set; then
13589 enableval=$enable_tabdialog;
13590 if test "$enableval" = yes; then
13591 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13592 else
13593 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13594 fi
13595 cache=yes
13596
13597 else
13598
13599 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
13600 if test "x$LINE" != x ; then
13601 eval "DEFAULT_$LINE"
13602 cache=yes
13603 else
13604 cache=no
13605 fi
13606
13607 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13608
13609 fi
13610
13611
13612 eval "$wx_cv_use_tabdialog"
13613 if test "x$cache" = xyes; then
13614 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
13615 fi
13616
13617 if test x"$enablestring" = xdisable; then
13618 if test $wxUSE_TAB_DIALOG = yes; then
13619 result=no
13620 else
13621 result=yes
13622 fi
13623 else
13624 result=$wxUSE_TAB_DIALOG
13625 fi
13626
13627 { echo "$as_me:$LINENO: result: $result" >&5
13628 echo "${ECHO_T}$result" >&6; }
13629
13630
13631 enablestring=
13632 defaultval=$wxUSE_ALL_FEATURES
13633 if test -z "$defaultval"; then
13634 if test x"$enablestring" = xdisable; then
13635 defaultval=yes
13636 else
13637 defaultval=no
13638 fi
13639 fi
13640
13641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13642 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13643 # Check whether --enable-taskbaricon was given.
13644 if test "${enable_taskbaricon+set}" = set; then
13645 enableval=$enable_taskbaricon;
13646 if test "$enableval" = yes; then
13647 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13648 else
13649 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13650 fi
13651 cache=yes
13652
13653 else
13654
13655 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13656 if test "x$LINE" != x ; then
13657 eval "DEFAULT_$LINE"
13658 cache=yes
13659 else
13660 cache=no
13661 fi
13662
13663 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13664
13665 fi
13666
13667
13668 eval "$wx_cv_use_taskbaricon"
13669 if test "x$cache" = xyes; then
13670 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
13671 fi
13672
13673 if test x"$enablestring" = xdisable; then
13674 if test $wxUSE_TASKBARICON = yes; then
13675 result=no
13676 else
13677 result=yes
13678 fi
13679 else
13680 result=$wxUSE_TASKBARICON
13681 fi
13682
13683 { echo "$as_me:$LINENO: result: $result" >&5
13684 echo "${ECHO_T}$result" >&6; }
13685
13686
13687 enablestring=
13688 defaultval=$wxUSE_ALL_FEATURES
13689 if test -z "$defaultval"; then
13690 if test x"$enablestring" = xdisable; then
13691 defaultval=yes
13692 else
13693 defaultval=no
13694 fi
13695 fi
13696
13697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13698 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13699 # Check whether --enable-textctrl was given.
13700 if test "${enable_textctrl+set}" = set; then
13701 enableval=$enable_textctrl;
13702 if test "$enableval" = yes; then
13703 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13704 else
13705 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13706 fi
13707 cache=yes
13708
13709 else
13710
13711 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13712 if test "x$LINE" != x ; then
13713 eval "DEFAULT_$LINE"
13714 cache=yes
13715 else
13716 cache=no
13717 fi
13718
13719 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13720
13721 fi
13722
13723
13724 eval "$wx_cv_use_textctrl"
13725 if test "x$cache" = xyes; then
13726 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
13727 fi
13728
13729 if test x"$enablestring" = xdisable; then
13730 if test $wxUSE_TEXTCTRL = yes; then
13731 result=no
13732 else
13733 result=yes
13734 fi
13735 else
13736 result=$wxUSE_TEXTCTRL
13737 fi
13738
13739 { echo "$as_me:$LINENO: result: $result" >&5
13740 echo "${ECHO_T}$result" >&6; }
13741
13742
13743 enablestring=
13744 defaultval=$wxUSE_ALL_FEATURES
13745 if test -z "$defaultval"; then
13746 if test x"$enablestring" = xdisable; then
13747 defaultval=yes
13748 else
13749 defaultval=no
13750 fi
13751 fi
13752
13753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13754 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
13755 # Check whether --enable-togglebtn was given.
13756 if test "${enable_togglebtn+set}" = set; then
13757 enableval=$enable_togglebtn;
13758 if test "$enableval" = yes; then
13759 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13760 else
13761 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13762 fi
13763 cache=yes
13764
13765 else
13766
13767 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13768 if test "x$LINE" != x ; then
13769 eval "DEFAULT_$LINE"
13770 cache=yes
13771 else
13772 cache=no
13773 fi
13774
13775 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13776
13777 fi
13778
13779
13780 eval "$wx_cv_use_togglebtn"
13781 if test "x$cache" = xyes; then
13782 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
13783 fi
13784
13785 if test x"$enablestring" = xdisable; then
13786 if test $wxUSE_TOGGLEBTN = yes; then
13787 result=no
13788 else
13789 result=yes
13790 fi
13791 else
13792 result=$wxUSE_TOGGLEBTN
13793 fi
13794
13795 { echo "$as_me:$LINENO: result: $result" >&5
13796 echo "${ECHO_T}$result" >&6; }
13797
13798
13799 enablestring=
13800 defaultval=$wxUSE_ALL_FEATURES
13801 if test -z "$defaultval"; then
13802 if test x"$enablestring" = xdisable; then
13803 defaultval=yes
13804 else
13805 defaultval=no
13806 fi
13807 fi
13808
13809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13810 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13811 # Check whether --enable-toolbar was given.
13812 if test "${enable_toolbar+set}" = set; then
13813 enableval=$enable_toolbar;
13814 if test "$enableval" = yes; then
13815 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13816 else
13817 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13818 fi
13819 cache=yes
13820
13821 else
13822
13823 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13824 if test "x$LINE" != x ; then
13825 eval "DEFAULT_$LINE"
13826 cache=yes
13827 else
13828 cache=no
13829 fi
13830
13831 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13832
13833 fi
13834
13835
13836 eval "$wx_cv_use_toolbar"
13837 if test "x$cache" = xyes; then
13838 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13839 fi
13840
13841 if test x"$enablestring" = xdisable; then
13842 if test $wxUSE_TOOLBAR = yes; then
13843 result=no
13844 else
13845 result=yes
13846 fi
13847 else
13848 result=$wxUSE_TOOLBAR
13849 fi
13850
13851 { echo "$as_me:$LINENO: result: $result" >&5
13852 echo "${ECHO_T}$result" >&6; }
13853
13854
13855 enablestring=
13856 defaultval=$wxUSE_ALL_FEATURES
13857 if test -z "$defaultval"; then
13858 if test x"$enablestring" = xdisable; then
13859 defaultval=yes
13860 else
13861 defaultval=no
13862 fi
13863 fi
13864
13865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13866 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13867 # Check whether --enable-tbarnative was given.
13868 if test "${enable_tbarnative+set}" = set; then
13869 enableval=$enable_tbarnative;
13870 if test "$enableval" = yes; then
13871 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13872 else
13873 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13874 fi
13875 cache=yes
13876
13877 else
13878
13879 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13880 if test "x$LINE" != x ; then
13881 eval "DEFAULT_$LINE"
13882 cache=yes
13883 else
13884 cache=no
13885 fi
13886
13887 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13888
13889 fi
13890
13891
13892 eval "$wx_cv_use_tbarnative"
13893 if test "x$cache" = xyes; then
13894 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13895 fi
13896
13897 if test x"$enablestring" = xdisable; then
13898 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13899 result=no
13900 else
13901 result=yes
13902 fi
13903 else
13904 result=$wxUSE_TOOLBAR_NATIVE
13905 fi
13906
13907 { echo "$as_me:$LINENO: result: $result" >&5
13908 echo "${ECHO_T}$result" >&6; }
13909
13910
13911 enablestring=
13912 defaultval=$wxUSE_ALL_FEATURES
13913 if test -z "$defaultval"; then
13914 if test x"$enablestring" = xdisable; then
13915 defaultval=yes
13916 else
13917 defaultval=no
13918 fi
13919 fi
13920
13921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13922 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13923 # Check whether --enable-treebook was given.
13924 if test "${enable_treebook+set}" = set; then
13925 enableval=$enable_treebook;
13926 if test "$enableval" = yes; then
13927 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13928 else
13929 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13930 fi
13931 cache=yes
13932
13933 else
13934
13935 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13936 if test "x$LINE" != x ; then
13937 eval "DEFAULT_$LINE"
13938 cache=yes
13939 else
13940 cache=no
13941 fi
13942
13943 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13944
13945 fi
13946
13947
13948 eval "$wx_cv_use_treebook"
13949 if test "x$cache" = xyes; then
13950 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13951 fi
13952
13953 if test x"$enablestring" = xdisable; then
13954 if test $wxUSE_TREEBOOK = yes; then
13955 result=no
13956 else
13957 result=yes
13958 fi
13959 else
13960 result=$wxUSE_TREEBOOK
13961 fi
13962
13963 { echo "$as_me:$LINENO: result: $result" >&5
13964 echo "${ECHO_T}$result" >&6; }
13965
13966
13967 enablestring=
13968 defaultval=$wxUSE_ALL_FEATURES
13969 if test -z "$defaultval"; then
13970 if test x"$enablestring" = xdisable; then
13971 defaultval=yes
13972 else
13973 defaultval=no
13974 fi
13975 fi
13976
13977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13978 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13979 # Check whether --enable-toolbook was given.
13980 if test "${enable_toolbook+set}" = set; then
13981 enableval=$enable_toolbook;
13982 if test "$enableval" = yes; then
13983 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13984 else
13985 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13986 fi
13987 cache=yes
13988
13989 else
13990
13991 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13992 if test "x$LINE" != x ; then
13993 eval "DEFAULT_$LINE"
13994 cache=yes
13995 else
13996 cache=no
13997 fi
13998
13999 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14000
14001 fi
14002
14003
14004 eval "$wx_cv_use_toolbook"
14005 if test "x$cache" = xyes; then
14006 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
14007 fi
14008
14009 if test x"$enablestring" = xdisable; then
14010 if test $wxUSE_TOOLBOOK = yes; then
14011 result=no
14012 else
14013 result=yes
14014 fi
14015 else
14016 result=$wxUSE_TOOLBOOK
14017 fi
14018
14019 { echo "$as_me:$LINENO: result: $result" >&5
14020 echo "${ECHO_T}$result" >&6; }
14021
14022
14023 enablestring=
14024 defaultval=$wxUSE_ALL_FEATURES
14025 if test -z "$defaultval"; then
14026 if test x"$enablestring" = xdisable; then
14027 defaultval=yes
14028 else
14029 defaultval=no
14030 fi
14031 fi
14032
14033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
14034 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
14035 # Check whether --enable-treectrl was given.
14036 if test "${enable_treectrl+set}" = set; then
14037 enableval=$enable_treectrl;
14038 if test "$enableval" = yes; then
14039 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14040 else
14041 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14042 fi
14043 cache=yes
14044
14045 else
14046
14047 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
14048 if test "x$LINE" != x ; then
14049 eval "DEFAULT_$LINE"
14050 cache=yes
14051 else
14052 cache=no
14053 fi
14054
14055 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14056
14057 fi
14058
14059
14060 eval "$wx_cv_use_treectrl"
14061 if test "x$cache" = xyes; then
14062 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
14063 fi
14064
14065 if test x"$enablestring" = xdisable; then
14066 if test $wxUSE_TREECTRL = yes; then
14067 result=no
14068 else
14069 result=yes
14070 fi
14071 else
14072 result=$wxUSE_TREECTRL
14073 fi
14074
14075 { echo "$as_me:$LINENO: result: $result" >&5
14076 echo "${ECHO_T}$result" >&6; }
14077
14078
14079 enablestring=
14080 defaultval=$wxUSE_ALL_FEATURES
14081 if test -z "$defaultval"; then
14082 if test x"$enablestring" = xdisable; then
14083 defaultval=yes
14084 else
14085 defaultval=no
14086 fi
14087 fi
14088
14089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
14090 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
14091 # Check whether --enable-tipwindow was given.
14092 if test "${enable_tipwindow+set}" = set; then
14093 enableval=$enable_tipwindow;
14094 if test "$enableval" = yes; then
14095 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
14096 else
14097 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
14098 fi
14099 cache=yes
14100
14101 else
14102
14103 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
14104 if test "x$LINE" != x ; then
14105 eval "DEFAULT_$LINE"
14106 cache=yes
14107 else
14108 cache=no
14109 fi
14110
14111 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
14112
14113 fi
14114
14115
14116 eval "$wx_cv_use_tipwindow"
14117 if test "x$cache" = xyes; then
14118 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
14119 fi
14120
14121 if test x"$enablestring" = xdisable; then
14122 if test $wxUSE_TIPWINDOW = yes; then
14123 result=no
14124 else
14125 result=yes
14126 fi
14127 else
14128 result=$wxUSE_TIPWINDOW
14129 fi
14130
14131 { echo "$as_me:$LINENO: result: $result" >&5
14132 echo "${ECHO_T}$result" >&6; }
14133
14134
14135 enablestring=
14136 defaultval=$wxUSE_ALL_FEATURES
14137 if test -z "$defaultval"; then
14138 if test x"$enablestring" = xdisable; then
14139 defaultval=yes
14140 else
14141 defaultval=no
14142 fi
14143 fi
14144
14145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
14146 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
14147 # Check whether --enable-popupwin was given.
14148 if test "${enable_popupwin+set}" = set; then
14149 enableval=$enable_popupwin;
14150 if test "$enableval" = yes; then
14151 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
14152 else
14153 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
14154 fi
14155 cache=yes
14156
14157 else
14158
14159 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
14160 if test "x$LINE" != x ; then
14161 eval "DEFAULT_$LINE"
14162 cache=yes
14163 else
14164 cache=no
14165 fi
14166
14167 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
14168
14169 fi
14170
14171
14172 eval "$wx_cv_use_popupwin"
14173 if test "x$cache" = xyes; then
14174 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
14175 fi
14176
14177 if test x"$enablestring" = xdisable; then
14178 if test $wxUSE_POPUPWIN = yes; then
14179 result=no
14180 else
14181 result=yes
14182 fi
14183 else
14184 result=$wxUSE_POPUPWIN
14185 fi
14186
14187 { echo "$as_me:$LINENO: result: $result" >&5
14188 echo "${ECHO_T}$result" >&6; }
14189
14190
14191
14192
14193 enablestring=
14194 defaultval=$wxUSE_ALL_FEATURES
14195 if test -z "$defaultval"; then
14196 if test x"$enablestring" = xdisable; then
14197 defaultval=yes
14198 else
14199 defaultval=no
14200 fi
14201 fi
14202
14203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
14204 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
14205 # Check whether --enable-commondlg was given.
14206 if test "${enable_commondlg+set}" = set; then
14207 enableval=$enable_commondlg;
14208 if test "$enableval" = yes; then
14209 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14210 else
14211 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14212 fi
14213 cache=yes
14214
14215 else
14216
14217 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
14218 if test "x$LINE" != x ; then
14219 eval "DEFAULT_$LINE"
14220 cache=yes
14221 else
14222 cache=no
14223 fi
14224
14225 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14226
14227 fi
14228
14229
14230 eval "$wx_cv_use_commondlg"
14231 if test "x$cache" = xyes; then
14232 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
14233 fi
14234
14235 if test x"$enablestring" = xdisable; then
14236 if test $wxUSE_COMMONDLGS = yes; then
14237 result=no
14238 else
14239 result=yes
14240 fi
14241 else
14242 result=$wxUSE_COMMONDLGS
14243 fi
14244
14245 { echo "$as_me:$LINENO: result: $result" >&5
14246 echo "${ECHO_T}$result" >&6; }
14247
14248
14249 enablestring=
14250 defaultval=$wxUSE_ALL_FEATURES
14251 if test -z "$defaultval"; then
14252 if test x"$enablestring" = xdisable; then
14253 defaultval=yes
14254 else
14255 defaultval=no
14256 fi
14257 fi
14258
14259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
14260 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
14261 # Check whether --enable-aboutdlg was given.
14262 if test "${enable_aboutdlg+set}" = set; then
14263 enableval=$enable_aboutdlg;
14264 if test "$enableval" = yes; then
14265 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14266 else
14267 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14268 fi
14269 cache=yes
14270
14271 else
14272
14273 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
14274 if test "x$LINE" != x ; then
14275 eval "DEFAULT_$LINE"
14276 cache=yes
14277 else
14278 cache=no
14279 fi
14280
14281 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14282
14283 fi
14284
14285
14286 eval "$wx_cv_use_aboutdlg"
14287 if test "x$cache" = xyes; then
14288 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
14289 fi
14290
14291 if test x"$enablestring" = xdisable; then
14292 if test $wxUSE_ABOUTDLG = yes; then
14293 result=no
14294 else
14295 result=yes
14296 fi
14297 else
14298 result=$wxUSE_ABOUTDLG
14299 fi
14300
14301 { echo "$as_me:$LINENO: result: $result" >&5
14302 echo "${ECHO_T}$result" >&6; }
14303
14304
14305 enablestring=
14306 defaultval=$wxUSE_ALL_FEATURES
14307 if test -z "$defaultval"; then
14308 if test x"$enablestring" = xdisable; then
14309 defaultval=yes
14310 else
14311 defaultval=no
14312 fi
14313 fi
14314
14315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
14316 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
14317 # Check whether --enable-choicedlg was given.
14318 if test "${enable_choicedlg+set}" = set; then
14319 enableval=$enable_choicedlg;
14320 if test "$enableval" = yes; then
14321 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14322 else
14323 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14324 fi
14325 cache=yes
14326
14327 else
14328
14329 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
14330 if test "x$LINE" != x ; then
14331 eval "DEFAULT_$LINE"
14332 cache=yes
14333 else
14334 cache=no
14335 fi
14336
14337 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14338
14339 fi
14340
14341
14342 eval "$wx_cv_use_choicedlg"
14343 if test "x$cache" = xyes; then
14344 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
14345 fi
14346
14347 if test x"$enablestring" = xdisable; then
14348 if test $wxUSE_CHOICEDLG = yes; then
14349 result=no
14350 else
14351 result=yes
14352 fi
14353 else
14354 result=$wxUSE_CHOICEDLG
14355 fi
14356
14357 { echo "$as_me:$LINENO: result: $result" >&5
14358 echo "${ECHO_T}$result" >&6; }
14359
14360
14361 enablestring=
14362 defaultval=$wxUSE_ALL_FEATURES
14363 if test -z "$defaultval"; then
14364 if test x"$enablestring" = xdisable; then
14365 defaultval=yes
14366 else
14367 defaultval=no
14368 fi
14369 fi
14370
14371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
14372 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
14373 # Check whether --enable-coldlg was given.
14374 if test "${enable_coldlg+set}" = set; then
14375 enableval=$enable_coldlg;
14376 if test "$enableval" = yes; then
14377 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14378 else
14379 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14380 fi
14381 cache=yes
14382
14383 else
14384
14385 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
14386 if test "x$LINE" != x ; then
14387 eval "DEFAULT_$LINE"
14388 cache=yes
14389 else
14390 cache=no
14391 fi
14392
14393 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14394
14395 fi
14396
14397
14398 eval "$wx_cv_use_coldlg"
14399 if test "x$cache" = xyes; then
14400 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
14401 fi
14402
14403 if test x"$enablestring" = xdisable; then
14404 if test $wxUSE_COLOURDLG = yes; then
14405 result=no
14406 else
14407 result=yes
14408 fi
14409 else
14410 result=$wxUSE_COLOURDLG
14411 fi
14412
14413 { echo "$as_me:$LINENO: result: $result" >&5
14414 echo "${ECHO_T}$result" >&6; }
14415
14416
14417 enablestring=
14418 defaultval=$wxUSE_ALL_FEATURES
14419 if test -z "$defaultval"; then
14420 if test x"$enablestring" = xdisable; then
14421 defaultval=yes
14422 else
14423 defaultval=no
14424 fi
14425 fi
14426
14427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
14428 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
14429 # Check whether --enable-filedlg was given.
14430 if test "${enable_filedlg+set}" = set; then
14431 enableval=$enable_filedlg;
14432 if test "$enableval" = yes; then
14433 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14434 else
14435 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14436 fi
14437 cache=yes
14438
14439 else
14440
14441 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
14442 if test "x$LINE" != x ; then
14443 eval "DEFAULT_$LINE"
14444 cache=yes
14445 else
14446 cache=no
14447 fi
14448
14449 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14450
14451 fi
14452
14453
14454 eval "$wx_cv_use_filedlg"
14455 if test "x$cache" = xyes; then
14456 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
14457 fi
14458
14459 if test x"$enablestring" = xdisable; then
14460 if test $wxUSE_FILEDLG = yes; then
14461 result=no
14462 else
14463 result=yes
14464 fi
14465 else
14466 result=$wxUSE_FILEDLG
14467 fi
14468
14469 { echo "$as_me:$LINENO: result: $result" >&5
14470 echo "${ECHO_T}$result" >&6; }
14471
14472
14473 enablestring=
14474 defaultval=$wxUSE_ALL_FEATURES
14475 if test -z "$defaultval"; then
14476 if test x"$enablestring" = xdisable; then
14477 defaultval=yes
14478 else
14479 defaultval=no
14480 fi
14481 fi
14482
14483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
14484 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
14485 # Check whether --enable-finddlg was given.
14486 if test "${enable_finddlg+set}" = set; then
14487 enableval=$enable_finddlg;
14488 if test "$enableval" = yes; then
14489 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14490 else
14491 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14492 fi
14493 cache=yes
14494
14495 else
14496
14497 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
14498 if test "x$LINE" != x ; then
14499 eval "DEFAULT_$LINE"
14500 cache=yes
14501 else
14502 cache=no
14503 fi
14504
14505 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14506
14507 fi
14508
14509
14510 eval "$wx_cv_use_finddlg"
14511 if test "x$cache" = xyes; then
14512 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
14513 fi
14514
14515 if test x"$enablestring" = xdisable; then
14516 if test $wxUSE_FINDREPLDLG = yes; then
14517 result=no
14518 else
14519 result=yes
14520 fi
14521 else
14522 result=$wxUSE_FINDREPLDLG
14523 fi
14524
14525 { echo "$as_me:$LINENO: result: $result" >&5
14526 echo "${ECHO_T}$result" >&6; }
14527
14528
14529 enablestring=
14530 defaultval=$wxUSE_ALL_FEATURES
14531 if test -z "$defaultval"; then
14532 if test x"$enablestring" = xdisable; then
14533 defaultval=yes
14534 else
14535 defaultval=no
14536 fi
14537 fi
14538
14539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
14540 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
14541 # Check whether --enable-fontdlg was given.
14542 if test "${enable_fontdlg+set}" = set; then
14543 enableval=$enable_fontdlg;
14544 if test "$enableval" = yes; then
14545 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14546 else
14547 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14548 fi
14549 cache=yes
14550
14551 else
14552
14553 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
14554 if test "x$LINE" != x ; then
14555 eval "DEFAULT_$LINE"
14556 cache=yes
14557 else
14558 cache=no
14559 fi
14560
14561 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14562
14563 fi
14564
14565
14566 eval "$wx_cv_use_fontdlg"
14567 if test "x$cache" = xyes; then
14568 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
14569 fi
14570
14571 if test x"$enablestring" = xdisable; then
14572 if test $wxUSE_FONTDLG = yes; then
14573 result=no
14574 else
14575 result=yes
14576 fi
14577 else
14578 result=$wxUSE_FONTDLG
14579 fi
14580
14581 { echo "$as_me:$LINENO: result: $result" >&5
14582 echo "${ECHO_T}$result" >&6; }
14583
14584
14585 enablestring=
14586 defaultval=$wxUSE_ALL_FEATURES
14587 if test -z "$defaultval"; then
14588 if test x"$enablestring" = xdisable; then
14589 defaultval=yes
14590 else
14591 defaultval=no
14592 fi
14593 fi
14594
14595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
14596 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
14597 # Check whether --enable-dirdlg was given.
14598 if test "${enable_dirdlg+set}" = set; then
14599 enableval=$enable_dirdlg;
14600 if test "$enableval" = yes; then
14601 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14602 else
14603 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14604 fi
14605 cache=yes
14606
14607 else
14608
14609 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
14610 if test "x$LINE" != x ; then
14611 eval "DEFAULT_$LINE"
14612 cache=yes
14613 else
14614 cache=no
14615 fi
14616
14617 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14618
14619 fi
14620
14621
14622 eval "$wx_cv_use_dirdlg"
14623 if test "x$cache" = xyes; then
14624 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
14625 fi
14626
14627 if test x"$enablestring" = xdisable; then
14628 if test $wxUSE_DIRDLG = yes; then
14629 result=no
14630 else
14631 result=yes
14632 fi
14633 else
14634 result=$wxUSE_DIRDLG
14635 fi
14636
14637 { echo "$as_me:$LINENO: result: $result" >&5
14638 echo "${ECHO_T}$result" >&6; }
14639
14640
14641 enablestring=
14642 defaultval=$wxUSE_ALL_FEATURES
14643 if test -z "$defaultval"; then
14644 if test x"$enablestring" = xdisable; then
14645 defaultval=yes
14646 else
14647 defaultval=no
14648 fi
14649 fi
14650
14651 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14652 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14653 # Check whether --enable-msgdlg was given.
14654 if test "${enable_msgdlg+set}" = set; then
14655 enableval=$enable_msgdlg;
14656 if test "$enableval" = yes; then
14657 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14658 else
14659 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14660 fi
14661 cache=yes
14662
14663 else
14664
14665 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14666 if test "x$LINE" != x ; then
14667 eval "DEFAULT_$LINE"
14668 cache=yes
14669 else
14670 cache=no
14671 fi
14672
14673 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14674
14675 fi
14676
14677
14678 eval "$wx_cv_use_msgdlg"
14679 if test "x$cache" = xyes; then
14680 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
14681 fi
14682
14683 if test x"$enablestring" = xdisable; then
14684 if test $wxUSE_MSGDLG = yes; then
14685 result=no
14686 else
14687 result=yes
14688 fi
14689 else
14690 result=$wxUSE_MSGDLG
14691 fi
14692
14693 { echo "$as_me:$LINENO: result: $result" >&5
14694 echo "${ECHO_T}$result" >&6; }
14695
14696
14697 enablestring=
14698 defaultval=$wxUSE_ALL_FEATURES
14699 if test -z "$defaultval"; then
14700 if test x"$enablestring" = xdisable; then
14701 defaultval=yes
14702 else
14703 defaultval=no
14704 fi
14705 fi
14706
14707 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14708 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14709 # Check whether --enable-numberdlg was given.
14710 if test "${enable_numberdlg+set}" = set; then
14711 enableval=$enable_numberdlg;
14712 if test "$enableval" = yes; then
14713 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14714 else
14715 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14716 fi
14717 cache=yes
14718
14719 else
14720
14721 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14722 if test "x$LINE" != x ; then
14723 eval "DEFAULT_$LINE"
14724 cache=yes
14725 else
14726 cache=no
14727 fi
14728
14729 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14730
14731 fi
14732
14733
14734 eval "$wx_cv_use_numberdlg"
14735 if test "x$cache" = xyes; then
14736 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
14737 fi
14738
14739 if test x"$enablestring" = xdisable; then
14740 if test $wxUSE_NUMBERDLG = yes; then
14741 result=no
14742 else
14743 result=yes
14744 fi
14745 else
14746 result=$wxUSE_NUMBERDLG
14747 fi
14748
14749 { echo "$as_me:$LINENO: result: $result" >&5
14750 echo "${ECHO_T}$result" >&6; }
14751
14752
14753 enablestring=
14754 defaultval=$wxUSE_ALL_FEATURES
14755 if test -z "$defaultval"; then
14756 if test x"$enablestring" = xdisable; then
14757 defaultval=yes
14758 else
14759 defaultval=no
14760 fi
14761 fi
14762
14763 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
14764 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
14765 # Check whether --enable-splash was given.
14766 if test "${enable_splash+set}" = set; then
14767 enableval=$enable_splash;
14768 if test "$enableval" = yes; then
14769 wx_cv_use_splash='wxUSE_SPLASH=yes'
14770 else
14771 wx_cv_use_splash='wxUSE_SPLASH=no'
14772 fi
14773 cache=yes
14774
14775 else
14776
14777 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14778 if test "x$LINE" != x ; then
14779 eval "DEFAULT_$LINE"
14780 cache=yes
14781 else
14782 cache=no
14783 fi
14784
14785 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14786
14787 fi
14788
14789
14790 eval "$wx_cv_use_splash"
14791 if test "x$cache" = xyes; then
14792 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
14793 fi
14794
14795 if test x"$enablestring" = xdisable; then
14796 if test $wxUSE_SPLASH = yes; then
14797 result=no
14798 else
14799 result=yes
14800 fi
14801 else
14802 result=$wxUSE_SPLASH
14803 fi
14804
14805 { echo "$as_me:$LINENO: result: $result" >&5
14806 echo "${ECHO_T}$result" >&6; }
14807
14808
14809 enablestring=
14810 defaultval=$wxUSE_ALL_FEATURES
14811 if test -z "$defaultval"; then
14812 if test x"$enablestring" = xdisable; then
14813 defaultval=yes
14814 else
14815 defaultval=no
14816 fi
14817 fi
14818
14819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14820 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14821 # Check whether --enable-textdlg was given.
14822 if test "${enable_textdlg+set}" = set; then
14823 enableval=$enable_textdlg;
14824 if test "$enableval" = yes; then
14825 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14826 else
14827 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14828 fi
14829 cache=yes
14830
14831 else
14832
14833 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14834 if test "x$LINE" != x ; then
14835 eval "DEFAULT_$LINE"
14836 cache=yes
14837 else
14838 cache=no
14839 fi
14840
14841 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14842
14843 fi
14844
14845
14846 eval "$wx_cv_use_textdlg"
14847 if test "x$cache" = xyes; then
14848 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14849 fi
14850
14851 if test x"$enablestring" = xdisable; then
14852 if test $wxUSE_TEXTDLG = yes; then
14853 result=no
14854 else
14855 result=yes
14856 fi
14857 else
14858 result=$wxUSE_TEXTDLG
14859 fi
14860
14861 { echo "$as_me:$LINENO: result: $result" >&5
14862 echo "${ECHO_T}$result" >&6; }
14863
14864
14865 enablestring=
14866 defaultval=$wxUSE_ALL_FEATURES
14867 if test -z "$defaultval"; then
14868 if test x"$enablestring" = xdisable; then
14869 defaultval=yes
14870 else
14871 defaultval=no
14872 fi
14873 fi
14874
14875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14876 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14877 # Check whether --enable-tipdlg was given.
14878 if test "${enable_tipdlg+set}" = set; then
14879 enableval=$enable_tipdlg;
14880 if test "$enableval" = yes; then
14881 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14882 else
14883 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14884 fi
14885 cache=yes
14886
14887 else
14888
14889 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14890 if test "x$LINE" != x ; then
14891 eval "DEFAULT_$LINE"
14892 cache=yes
14893 else
14894 cache=no
14895 fi
14896
14897 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14898
14899 fi
14900
14901
14902 eval "$wx_cv_use_tipdlg"
14903 if test "x$cache" = xyes; then
14904 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14905 fi
14906
14907 if test x"$enablestring" = xdisable; then
14908 if test $wxUSE_STARTUP_TIPS = yes; then
14909 result=no
14910 else
14911 result=yes
14912 fi
14913 else
14914 result=$wxUSE_STARTUP_TIPS
14915 fi
14916
14917 { echo "$as_me:$LINENO: result: $result" >&5
14918 echo "${ECHO_T}$result" >&6; }
14919
14920
14921 enablestring=
14922 defaultval=$wxUSE_ALL_FEATURES
14923 if test -z "$defaultval"; then
14924 if test x"$enablestring" = xdisable; then
14925 defaultval=yes
14926 else
14927 defaultval=no
14928 fi
14929 fi
14930
14931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14932 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14933 # Check whether --enable-progressdlg was given.
14934 if test "${enable_progressdlg+set}" = set; then
14935 enableval=$enable_progressdlg;
14936 if test "$enableval" = yes; then
14937 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14938 else
14939 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14940 fi
14941 cache=yes
14942
14943 else
14944
14945 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14946 if test "x$LINE" != x ; then
14947 eval "DEFAULT_$LINE"
14948 cache=yes
14949 else
14950 cache=no
14951 fi
14952
14953 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14954
14955 fi
14956
14957
14958 eval "$wx_cv_use_progressdlg"
14959 if test "x$cache" = xyes; then
14960 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
14961 fi
14962
14963 if test x"$enablestring" = xdisable; then
14964 if test $wxUSE_PROGRESSDLG = yes; then
14965 result=no
14966 else
14967 result=yes
14968 fi
14969 else
14970 result=$wxUSE_PROGRESSDLG
14971 fi
14972
14973 { echo "$as_me:$LINENO: result: $result" >&5
14974 echo "${ECHO_T}$result" >&6; }
14975
14976
14977 enablestring=
14978 defaultval=$wxUSE_ALL_FEATURES
14979 if test -z "$defaultval"; then
14980 if test x"$enablestring" = xdisable; then
14981 defaultval=yes
14982 else
14983 defaultval=no
14984 fi
14985 fi
14986
14987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14988 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14989 # Check whether --enable-wizarddlg was given.
14990 if test "${enable_wizarddlg+set}" = set; then
14991 enableval=$enable_wizarddlg;
14992 if test "$enableval" = yes; then
14993 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14994 else
14995 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14996 fi
14997 cache=yes
14998
14999 else
15000
15001 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
15002 if test "x$LINE" != x ; then
15003 eval "DEFAULT_$LINE"
15004 cache=yes
15005 else
15006 cache=no
15007 fi
15008
15009 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
15010
15011 fi
15012
15013
15014 eval "$wx_cv_use_wizarddlg"
15015 if test "x$cache" = xyes; then
15016 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
15017 fi
15018
15019 if test x"$enablestring" = xdisable; then
15020 if test $wxUSE_WIZARDDLG = yes; then
15021 result=no
15022 else
15023 result=yes
15024 fi
15025 else
15026 result=$wxUSE_WIZARDDLG
15027 fi
15028
15029 { echo "$as_me:$LINENO: result: $result" >&5
15030 echo "${ECHO_T}$result" >&6; }
15031
15032
15033
15034
15035 enablestring=
15036 defaultval=$wxUSE_ALL_FEATURES
15037 if test -z "$defaultval"; then
15038 if test x"$enablestring" = xdisable; then
15039 defaultval=yes
15040 else
15041 defaultval=no
15042 fi
15043 fi
15044
15045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
15046 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
15047 # Check whether --enable-menus was given.
15048 if test "${enable_menus+set}" = set; then
15049 enableval=$enable_menus;
15050 if test "$enableval" = yes; then
15051 wx_cv_use_menus='wxUSE_MENUS=yes'
15052 else
15053 wx_cv_use_menus='wxUSE_MENUS=no'
15054 fi
15055 cache=yes
15056
15057 else
15058
15059 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
15060 if test "x$LINE" != x ; then
15061 eval "DEFAULT_$LINE"
15062 cache=yes
15063 else
15064 cache=no
15065 fi
15066
15067 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
15068
15069 fi
15070
15071
15072 eval "$wx_cv_use_menus"
15073 if test "x$cache" = xyes; then
15074 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
15075 fi
15076
15077 if test x"$enablestring" = xdisable; then
15078 if test $wxUSE_MENUS = yes; then
15079 result=no
15080 else
15081 result=yes
15082 fi
15083 else
15084 result=$wxUSE_MENUS
15085 fi
15086
15087 { echo "$as_me:$LINENO: result: $result" >&5
15088 echo "${ECHO_T}$result" >&6; }
15089
15090
15091 enablestring=
15092 defaultval=$wxUSE_ALL_FEATURES
15093 if test -z "$defaultval"; then
15094 if test x"$enablestring" = xdisable; then
15095 defaultval=yes
15096 else
15097 defaultval=no
15098 fi
15099 fi
15100
15101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
15102 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
15103 # Check whether --enable-miniframe was given.
15104 if test "${enable_miniframe+set}" = set; then
15105 enableval=$enable_miniframe;
15106 if test "$enableval" = yes; then
15107 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
15108 else
15109 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
15110 fi
15111 cache=yes
15112
15113 else
15114
15115 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
15116 if test "x$LINE" != x ; then
15117 eval "DEFAULT_$LINE"
15118 cache=yes
15119 else
15120 cache=no
15121 fi
15122
15123 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
15124
15125 fi
15126
15127
15128 eval "$wx_cv_use_miniframe"
15129 if test "x$cache" = xyes; then
15130 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
15131 fi
15132
15133 if test x"$enablestring" = xdisable; then
15134 if test $wxUSE_MINIFRAME = yes; then
15135 result=no
15136 else
15137 result=yes
15138 fi
15139 else
15140 result=$wxUSE_MINIFRAME
15141 fi
15142
15143 { echo "$as_me:$LINENO: result: $result" >&5
15144 echo "${ECHO_T}$result" >&6; }
15145
15146
15147 enablestring=
15148 defaultval=$wxUSE_ALL_FEATURES
15149 if test -z "$defaultval"; then
15150 if test x"$enablestring" = xdisable; then
15151 defaultval=yes
15152 else
15153 defaultval=no
15154 fi
15155 fi
15156
15157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
15158 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
15159 # Check whether --enable-tooltips was given.
15160 if test "${enable_tooltips+set}" = set; then
15161 enableval=$enable_tooltips;
15162 if test "$enableval" = yes; then
15163 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
15164 else
15165 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
15166 fi
15167 cache=yes
15168
15169 else
15170
15171 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
15172 if test "x$LINE" != x ; then
15173 eval "DEFAULT_$LINE"
15174 cache=yes
15175 else
15176 cache=no
15177 fi
15178
15179 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15180
15181 fi
15182
15183
15184 eval "$wx_cv_use_tooltips"
15185 if test "x$cache" = xyes; then
15186 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
15187 fi
15188
15189 if test x"$enablestring" = xdisable; then
15190 if test $wxUSE_TOOLTIPS = yes; then
15191 result=no
15192 else
15193 result=yes
15194 fi
15195 else
15196 result=$wxUSE_TOOLTIPS
15197 fi
15198
15199 { echo "$as_me:$LINENO: result: $result" >&5
15200 echo "${ECHO_T}$result" >&6; }
15201
15202
15203 enablestring=
15204 defaultval=$wxUSE_ALL_FEATURES
15205 if test -z "$defaultval"; then
15206 if test x"$enablestring" = xdisable; then
15207 defaultval=yes
15208 else
15209 defaultval=no
15210 fi
15211 fi
15212
15213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
15214 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
15215 # Check whether --enable-splines was given.
15216 if test "${enable_splines+set}" = set; then
15217 enableval=$enable_splines;
15218 if test "$enableval" = yes; then
15219 wx_cv_use_splines='wxUSE_SPLINES=yes'
15220 else
15221 wx_cv_use_splines='wxUSE_SPLINES=no'
15222 fi
15223 cache=yes
15224
15225 else
15226
15227 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
15228 if test "x$LINE" != x ; then
15229 eval "DEFAULT_$LINE"
15230 cache=yes
15231 else
15232 cache=no
15233 fi
15234
15235 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15236
15237 fi
15238
15239
15240 eval "$wx_cv_use_splines"
15241 if test "x$cache" = xyes; then
15242 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
15243 fi
15244
15245 if test x"$enablestring" = xdisable; then
15246 if test $wxUSE_SPLINES = yes; then
15247 result=no
15248 else
15249 result=yes
15250 fi
15251 else
15252 result=$wxUSE_SPLINES
15253 fi
15254
15255 { echo "$as_me:$LINENO: result: $result" >&5
15256 echo "${ECHO_T}$result" >&6; }
15257
15258
15259 enablestring=
15260 defaultval=$wxUSE_ALL_FEATURES
15261 if test -z "$defaultval"; then
15262 if test x"$enablestring" = xdisable; then
15263 defaultval=yes
15264 else
15265 defaultval=no
15266 fi
15267 fi
15268
15269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
15270 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
15271 # Check whether --enable-mousewheel was given.
15272 if test "${enable_mousewheel+set}" = set; then
15273 enableval=$enable_mousewheel;
15274 if test "$enableval" = yes; then
15275 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15276 else
15277 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15278 fi
15279 cache=yes
15280
15281 else
15282
15283 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
15284 if test "x$LINE" != x ; then
15285 eval "DEFAULT_$LINE"
15286 cache=yes
15287 else
15288 cache=no
15289 fi
15290
15291 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15292
15293 fi
15294
15295
15296 eval "$wx_cv_use_mousewheel"
15297 if test "x$cache" = xyes; then
15298 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
15299 fi
15300
15301 if test x"$enablestring" = xdisable; then
15302 if test $wxUSE_MOUSEWHEEL = yes; then
15303 result=no
15304 else
15305 result=yes
15306 fi
15307 else
15308 result=$wxUSE_MOUSEWHEEL
15309 fi
15310
15311 { echo "$as_me:$LINENO: result: $result" >&5
15312 echo "${ECHO_T}$result" >&6; }
15313
15314
15315 enablestring=
15316 defaultval=$wxUSE_ALL_FEATURES
15317 if test -z "$defaultval"; then
15318 if test x"$enablestring" = xdisable; then
15319 defaultval=yes
15320 else
15321 defaultval=no
15322 fi
15323 fi
15324
15325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
15326 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
15327 # Check whether --enable-validators was given.
15328 if test "${enable_validators+set}" = set; then
15329 enableval=$enable_validators;
15330 if test "$enableval" = yes; then
15331 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15332 else
15333 wx_cv_use_validators='wxUSE_VALIDATORS=no'
15334 fi
15335 cache=yes
15336
15337 else
15338
15339 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
15340 if test "x$LINE" != x ; then
15341 eval "DEFAULT_$LINE"
15342 cache=yes
15343 else
15344 cache=no
15345 fi
15346
15347 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15348
15349 fi
15350
15351
15352 eval "$wx_cv_use_validators"
15353 if test "x$cache" = xyes; then
15354 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
15355 fi
15356
15357 if test x"$enablestring" = xdisable; then
15358 if test $wxUSE_VALIDATORS = yes; then
15359 result=no
15360 else
15361 result=yes
15362 fi
15363 else
15364 result=$wxUSE_VALIDATORS
15365 fi
15366
15367 { echo "$as_me:$LINENO: result: $result" >&5
15368 echo "${ECHO_T}$result" >&6; }
15369
15370
15371 enablestring=
15372 defaultval=$wxUSE_ALL_FEATURES
15373 if test -z "$defaultval"; then
15374 if test x"$enablestring" = xdisable; then
15375 defaultval=yes
15376 else
15377 defaultval=no
15378 fi
15379 fi
15380
15381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
15382 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
15383 # Check whether --enable-busyinfo was given.
15384 if test "${enable_busyinfo+set}" = set; then
15385 enableval=$enable_busyinfo;
15386 if test "$enableval" = yes; then
15387 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15388 else
15389 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15390 fi
15391 cache=yes
15392
15393 else
15394
15395 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
15396 if test "x$LINE" != x ; then
15397 eval "DEFAULT_$LINE"
15398 cache=yes
15399 else
15400 cache=no
15401 fi
15402
15403 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15404
15405 fi
15406
15407
15408 eval "$wx_cv_use_busyinfo"
15409 if test "x$cache" = xyes; then
15410 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
15411 fi
15412
15413 if test x"$enablestring" = xdisable; then
15414 if test $wxUSE_BUSYINFO = yes; then
15415 result=no
15416 else
15417 result=yes
15418 fi
15419 else
15420 result=$wxUSE_BUSYINFO
15421 fi
15422
15423 { echo "$as_me:$LINENO: result: $result" >&5
15424 echo "${ECHO_T}$result" >&6; }
15425
15426
15427 enablestring=
15428 defaultval=$wxUSE_ALL_FEATURES
15429 if test -z "$defaultval"; then
15430 if test x"$enablestring" = xdisable; then
15431 defaultval=yes
15432 else
15433 defaultval=no
15434 fi
15435 fi
15436
15437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
15438 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
15439 # Check whether --enable-joystick was given.
15440 if test "${enable_joystick+set}" = set; then
15441 enableval=$enable_joystick;
15442 if test "$enableval" = yes; then
15443 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15444 else
15445 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15446 fi
15447 cache=yes
15448
15449 else
15450
15451 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
15452 if test "x$LINE" != x ; then
15453 eval "DEFAULT_$LINE"
15454 cache=yes
15455 else
15456 cache=no
15457 fi
15458
15459 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15460
15461 fi
15462
15463
15464 eval "$wx_cv_use_joystick"
15465 if test "x$cache" = xyes; then
15466 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
15467 fi
15468
15469 if test x"$enablestring" = xdisable; then
15470 if test $wxUSE_JOYSTICK = yes; then
15471 result=no
15472 else
15473 result=yes
15474 fi
15475 else
15476 result=$wxUSE_JOYSTICK
15477 fi
15478
15479 { echo "$as_me:$LINENO: result: $result" >&5
15480 echo "${ECHO_T}$result" >&6; }
15481
15482
15483 enablestring=
15484 defaultval=$wxUSE_ALL_FEATURES
15485 if test -z "$defaultval"; then
15486 if test x"$enablestring" = xdisable; then
15487 defaultval=yes
15488 else
15489 defaultval=no
15490 fi
15491 fi
15492
15493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
15494 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
15495 # Check whether --enable-metafile was given.
15496 if test "${enable_metafile+set}" = set; then
15497 enableval=$enable_metafile;
15498 if test "$enableval" = yes; then
15499 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15500 else
15501 wx_cv_use_metafile='wxUSE_METAFILE=no'
15502 fi
15503 cache=yes
15504
15505 else
15506
15507 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
15508 if test "x$LINE" != x ; then
15509 eval "DEFAULT_$LINE"
15510 cache=yes
15511 else
15512 cache=no
15513 fi
15514
15515 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15516
15517 fi
15518
15519
15520 eval "$wx_cv_use_metafile"
15521 if test "x$cache" = xyes; then
15522 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
15523 fi
15524
15525 if test x"$enablestring" = xdisable; then
15526 if test $wxUSE_METAFILE = yes; then
15527 result=no
15528 else
15529 result=yes
15530 fi
15531 else
15532 result=$wxUSE_METAFILE
15533 fi
15534
15535 { echo "$as_me:$LINENO: result: $result" >&5
15536 echo "${ECHO_T}$result" >&6; }
15537
15538
15539 enablestring=
15540 defaultval=$wxUSE_ALL_FEATURES
15541 if test -z "$defaultval"; then
15542 if test x"$enablestring" = xdisable; then
15543 defaultval=yes
15544 else
15545 defaultval=no
15546 fi
15547 fi
15548
15549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
15550 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
15551 # Check whether --enable-dragimage was given.
15552 if test "${enable_dragimage+set}" = set; then
15553 enableval=$enable_dragimage;
15554 if test "$enableval" = yes; then
15555 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15556 else
15557 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15558 fi
15559 cache=yes
15560
15561 else
15562
15563 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
15564 if test "x$LINE" != x ; then
15565 eval "DEFAULT_$LINE"
15566 cache=yes
15567 else
15568 cache=no
15569 fi
15570
15571 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15572
15573 fi
15574
15575
15576 eval "$wx_cv_use_dragimage"
15577 if test "x$cache" = xyes; then
15578 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
15579 fi
15580
15581 if test x"$enablestring" = xdisable; then
15582 if test $wxUSE_DRAGIMAGE = yes; then
15583 result=no
15584 else
15585 result=yes
15586 fi
15587 else
15588 result=$wxUSE_DRAGIMAGE
15589 fi
15590
15591 { echo "$as_me:$LINENO: result: $result" >&5
15592 echo "${ECHO_T}$result" >&6; }
15593
15594
15595 enablestring=
15596 defaultval=$wxUSE_ALL_FEATURES
15597 if test -z "$defaultval"; then
15598 if test x"$enablestring" = xdisable; then
15599 defaultval=yes
15600 else
15601 defaultval=no
15602 fi
15603 fi
15604
15605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
15606 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
15607 # Check whether --enable-accessibility was given.
15608 if test "${enable_accessibility+set}" = set; then
15609 enableval=$enable_accessibility;
15610 if test "$enableval" = yes; then
15611 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15612 else
15613 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15614 fi
15615 cache=yes
15616
15617 else
15618
15619 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
15620 if test "x$LINE" != x ; then
15621 eval "DEFAULT_$LINE"
15622 cache=yes
15623 else
15624 cache=no
15625 fi
15626
15627 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15628
15629 fi
15630
15631
15632 eval "$wx_cv_use_accessibility"
15633 if test "x$cache" = xyes; then
15634 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
15635 fi
15636
15637 if test x"$enablestring" = xdisable; then
15638 if test $wxUSE_ACCESSIBILITY = yes; then
15639 result=no
15640 else
15641 result=yes
15642 fi
15643 else
15644 result=$wxUSE_ACCESSIBILITY
15645 fi
15646
15647 { echo "$as_me:$LINENO: result: $result" >&5
15648 echo "${ECHO_T}$result" >&6; }
15649
15650
15651
15652
15653 enablestring=
15654 defaultval=$wxUSE_ALL_FEATURES
15655 if test -z "$defaultval"; then
15656 if test x"$enablestring" = xdisable; then
15657 defaultval=yes
15658 else
15659 defaultval=no
15660 fi
15661 fi
15662
15663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
15664 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
15665 # Check whether --enable-palette was given.
15666 if test "${enable_palette+set}" = set; then
15667 enableval=$enable_palette;
15668 if test "$enableval" = yes; then
15669 wx_cv_use_palette='wxUSE_PALETTE=yes'
15670 else
15671 wx_cv_use_palette='wxUSE_PALETTE=no'
15672 fi
15673 cache=yes
15674
15675 else
15676
15677 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15678 if test "x$LINE" != x ; then
15679 eval "DEFAULT_$LINE"
15680 cache=yes
15681 else
15682 cache=no
15683 fi
15684
15685 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15686
15687 fi
15688
15689
15690 eval "$wx_cv_use_palette"
15691 if test "x$cache" = xyes; then
15692 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
15693 fi
15694
15695 if test x"$enablestring" = xdisable; then
15696 if test $wxUSE_PALETTE = yes; then
15697 result=no
15698 else
15699 result=yes
15700 fi
15701 else
15702 result=$wxUSE_PALETTE
15703 fi
15704
15705 { echo "$as_me:$LINENO: result: $result" >&5
15706 echo "${ECHO_T}$result" >&6; }
15707
15708
15709 enablestring=
15710 defaultval=$wxUSE_ALL_FEATURES
15711 if test -z "$defaultval"; then
15712 if test x"$enablestring" = xdisable; then
15713 defaultval=yes
15714 else
15715 defaultval=no
15716 fi
15717 fi
15718
15719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15720 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15721 # Check whether --enable-image was given.
15722 if test "${enable_image+set}" = set; then
15723 enableval=$enable_image;
15724 if test "$enableval" = yes; then
15725 wx_cv_use_image='wxUSE_IMAGE=yes'
15726 else
15727 wx_cv_use_image='wxUSE_IMAGE=no'
15728 fi
15729 cache=yes
15730
15731 else
15732
15733 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15734 if test "x$LINE" != x ; then
15735 eval "DEFAULT_$LINE"
15736 cache=yes
15737 else
15738 cache=no
15739 fi
15740
15741 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15742
15743 fi
15744
15745
15746 eval "$wx_cv_use_image"
15747 if test "x$cache" = xyes; then
15748 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
15749 fi
15750
15751 if test x"$enablestring" = xdisable; then
15752 if test $wxUSE_IMAGE = yes; then
15753 result=no
15754 else
15755 result=yes
15756 fi
15757 else
15758 result=$wxUSE_IMAGE
15759 fi
15760
15761 { echo "$as_me:$LINENO: result: $result" >&5
15762 echo "${ECHO_T}$result" >&6; }
15763
15764
15765 enablestring=
15766 defaultval=$wxUSE_ALL_FEATURES
15767 if test -z "$defaultval"; then
15768 if test x"$enablestring" = xdisable; then
15769 defaultval=yes
15770 else
15771 defaultval=no
15772 fi
15773 fi
15774
15775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15776 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15777 # Check whether --enable-gif was given.
15778 if test "${enable_gif+set}" = set; then
15779 enableval=$enable_gif;
15780 if test "$enableval" = yes; then
15781 wx_cv_use_gif='wxUSE_GIF=yes'
15782 else
15783 wx_cv_use_gif='wxUSE_GIF=no'
15784 fi
15785 cache=yes
15786
15787 else
15788
15789 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15790 if test "x$LINE" != x ; then
15791 eval "DEFAULT_$LINE"
15792 cache=yes
15793 else
15794 cache=no
15795 fi
15796
15797 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15798
15799 fi
15800
15801
15802 eval "$wx_cv_use_gif"
15803 if test "x$cache" = xyes; then
15804 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
15805 fi
15806
15807 if test x"$enablestring" = xdisable; then
15808 if test $wxUSE_GIF = yes; then
15809 result=no
15810 else
15811 result=yes
15812 fi
15813 else
15814 result=$wxUSE_GIF
15815 fi
15816
15817 { echo "$as_me:$LINENO: result: $result" >&5
15818 echo "${ECHO_T}$result" >&6; }
15819
15820
15821 enablestring=
15822 defaultval=$wxUSE_ALL_FEATURES
15823 if test -z "$defaultval"; then
15824 if test x"$enablestring" = xdisable; then
15825 defaultval=yes
15826 else
15827 defaultval=no
15828 fi
15829 fi
15830
15831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15832 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15833 # Check whether --enable-pcx was given.
15834 if test "${enable_pcx+set}" = set; then
15835 enableval=$enable_pcx;
15836 if test "$enableval" = yes; then
15837 wx_cv_use_pcx='wxUSE_PCX=yes'
15838 else
15839 wx_cv_use_pcx='wxUSE_PCX=no'
15840 fi
15841 cache=yes
15842
15843 else
15844
15845 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15846 if test "x$LINE" != x ; then
15847 eval "DEFAULT_$LINE"
15848 cache=yes
15849 else
15850 cache=no
15851 fi
15852
15853 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15854
15855 fi
15856
15857
15858 eval "$wx_cv_use_pcx"
15859 if test "x$cache" = xyes; then
15860 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
15861 fi
15862
15863 if test x"$enablestring" = xdisable; then
15864 if test $wxUSE_PCX = yes; then
15865 result=no
15866 else
15867 result=yes
15868 fi
15869 else
15870 result=$wxUSE_PCX
15871 fi
15872
15873 { echo "$as_me:$LINENO: result: $result" >&5
15874 echo "${ECHO_T}$result" >&6; }
15875
15876
15877 enablestring=
15878 defaultval=$wxUSE_ALL_FEATURES
15879 if test -z "$defaultval"; then
15880 if test x"$enablestring" = xdisable; then
15881 defaultval=yes
15882 else
15883 defaultval=no
15884 fi
15885 fi
15886
15887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15888 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15889 # Check whether --enable-tga was given.
15890 if test "${enable_tga+set}" = set; then
15891 enableval=$enable_tga;
15892 if test "$enableval" = yes; then
15893 wx_cv_use_tga='wxUSE_TGA=yes'
15894 else
15895 wx_cv_use_tga='wxUSE_TGA=no'
15896 fi
15897 cache=yes
15898
15899 else
15900
15901 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15902 if test "x$LINE" != x ; then
15903 eval "DEFAULT_$LINE"
15904 cache=yes
15905 else
15906 cache=no
15907 fi
15908
15909 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15910
15911 fi
15912
15913
15914 eval "$wx_cv_use_tga"
15915 if test "x$cache" = xyes; then
15916 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15917 fi
15918
15919 if test x"$enablestring" = xdisable; then
15920 if test $wxUSE_TGA = yes; then
15921 result=no
15922 else
15923 result=yes
15924 fi
15925 else
15926 result=$wxUSE_TGA
15927 fi
15928
15929 { echo "$as_me:$LINENO: result: $result" >&5
15930 echo "${ECHO_T}$result" >&6; }
15931
15932
15933 enablestring=
15934 defaultval=$wxUSE_ALL_FEATURES
15935 if test -z "$defaultval"; then
15936 if test x"$enablestring" = xdisable; then
15937 defaultval=yes
15938 else
15939 defaultval=no
15940 fi
15941 fi
15942
15943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15944 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15945 # Check whether --enable-iff was given.
15946 if test "${enable_iff+set}" = set; then
15947 enableval=$enable_iff;
15948 if test "$enableval" = yes; then
15949 wx_cv_use_iff='wxUSE_IFF=yes'
15950 else
15951 wx_cv_use_iff='wxUSE_IFF=no'
15952 fi
15953 cache=yes
15954
15955 else
15956
15957 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15958 if test "x$LINE" != x ; then
15959 eval "DEFAULT_$LINE"
15960 cache=yes
15961 else
15962 cache=no
15963 fi
15964
15965 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15966
15967 fi
15968
15969
15970 eval "$wx_cv_use_iff"
15971 if test "x$cache" = xyes; then
15972 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
15973 fi
15974
15975 if test x"$enablestring" = xdisable; then
15976 if test $wxUSE_IFF = yes; then
15977 result=no
15978 else
15979 result=yes
15980 fi
15981 else
15982 result=$wxUSE_IFF
15983 fi
15984
15985 { echo "$as_me:$LINENO: result: $result" >&5
15986 echo "${ECHO_T}$result" >&6; }
15987
15988
15989 enablestring=
15990 defaultval=$wxUSE_ALL_FEATURES
15991 if test -z "$defaultval"; then
15992 if test x"$enablestring" = xdisable; then
15993 defaultval=yes
15994 else
15995 defaultval=no
15996 fi
15997 fi
15998
15999 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
16000 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
16001 # Check whether --enable-pnm was given.
16002 if test "${enable_pnm+set}" = set; then
16003 enableval=$enable_pnm;
16004 if test "$enableval" = yes; then
16005 wx_cv_use_pnm='wxUSE_PNM=yes'
16006 else
16007 wx_cv_use_pnm='wxUSE_PNM=no'
16008 fi
16009 cache=yes
16010
16011 else
16012
16013 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
16014 if test "x$LINE" != x ; then
16015 eval "DEFAULT_$LINE"
16016 cache=yes
16017 else
16018 cache=no
16019 fi
16020
16021 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
16022
16023 fi
16024
16025
16026 eval "$wx_cv_use_pnm"
16027 if test "x$cache" = xyes; then
16028 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
16029 fi
16030
16031 if test x"$enablestring" = xdisable; then
16032 if test $wxUSE_PNM = yes; then
16033 result=no
16034 else
16035 result=yes
16036 fi
16037 else
16038 result=$wxUSE_PNM
16039 fi
16040
16041 { echo "$as_me:$LINENO: result: $result" >&5
16042 echo "${ECHO_T}$result" >&6; }
16043
16044
16045 enablestring=
16046 defaultval=$wxUSE_ALL_FEATURES
16047 if test -z "$defaultval"; then
16048 if test x"$enablestring" = xdisable; then
16049 defaultval=yes
16050 else
16051 defaultval=no
16052 fi
16053 fi
16054
16055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
16056 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
16057 # Check whether --enable-xpm was given.
16058 if test "${enable_xpm+set}" = set; then
16059 enableval=$enable_xpm;
16060 if test "$enableval" = yes; then
16061 wx_cv_use_xpm='wxUSE_XPM=yes'
16062 else
16063 wx_cv_use_xpm='wxUSE_XPM=no'
16064 fi
16065 cache=yes
16066
16067 else
16068
16069 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
16070 if test "x$LINE" != x ; then
16071 eval "DEFAULT_$LINE"
16072 cache=yes
16073 else
16074 cache=no
16075 fi
16076
16077 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
16078
16079 fi
16080
16081
16082 eval "$wx_cv_use_xpm"
16083 if test "x$cache" = xyes; then
16084 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
16085 fi
16086
16087 if test x"$enablestring" = xdisable; then
16088 if test $wxUSE_XPM = yes; then
16089 result=no
16090 else
16091 result=yes
16092 fi
16093 else
16094 result=$wxUSE_XPM
16095 fi
16096
16097 { echo "$as_me:$LINENO: result: $result" >&5
16098 echo "${ECHO_T}$result" >&6; }
16099
16100
16101 enablestring=
16102 defaultval=$wxUSE_ALL_FEATURES
16103 if test -z "$defaultval"; then
16104 if test x"$enablestring" = xdisable; then
16105 defaultval=yes
16106 else
16107 defaultval=no
16108 fi
16109 fi
16110
16111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
16112 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
16113 # Check whether --enable-ico_cur was given.
16114 if test "${enable_ico_cur+set}" = set; then
16115 enableval=$enable_ico_cur;
16116 if test "$enableval" = yes; then
16117 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
16118 else
16119 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
16120 fi
16121 cache=yes
16122
16123 else
16124
16125 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
16126 if test "x$LINE" != x ; then
16127 eval "DEFAULT_$LINE"
16128 cache=yes
16129 else
16130 cache=no
16131 fi
16132
16133 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
16134
16135 fi
16136
16137
16138 eval "$wx_cv_use_ico_cur"
16139 if test "x$cache" = xyes; then
16140 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
16141 fi
16142
16143 if test x"$enablestring" = xdisable; then
16144 if test $wxUSE_ICO_CUR = yes; then
16145 result=no
16146 else
16147 result=yes
16148 fi
16149 else
16150 result=$wxUSE_ICO_CUR
16151 fi
16152
16153 { echo "$as_me:$LINENO: result: $result" >&5
16154 echo "${ECHO_T}$result" >&6; }
16155
16156
16157
16158
16159 enablestring=
16160 defaultval=$wxUSE_ALL_FEATURES
16161 if test -z "$defaultval"; then
16162 if test x"$enablestring" = xdisable; then
16163 defaultval=yes
16164 else
16165 defaultval=no
16166 fi
16167 fi
16168
16169 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
16170 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
16171 # Check whether --enable-dccache was given.
16172 if test "${enable_dccache+set}" = set; then
16173 enableval=$enable_dccache;
16174 if test "$enableval" = yes; then
16175 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
16176 else
16177 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
16178 fi
16179 cache=yes
16180
16181 else
16182
16183 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
16184 if test "x$LINE" != x ; then
16185 eval "DEFAULT_$LINE"
16186 cache=yes
16187 else
16188 cache=no
16189 fi
16190
16191 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16192
16193 fi
16194
16195
16196 eval "$wx_cv_use_dccache"
16197 if test "x$cache" = xyes; then
16198 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
16199 fi
16200
16201 if test x"$enablestring" = xdisable; then
16202 if test $wxUSE_DC_CACHEING = yes; then
16203 result=no
16204 else
16205 result=yes
16206 fi
16207 else
16208 result=$wxUSE_DC_CACHEING
16209 fi
16210
16211 { echo "$as_me:$LINENO: result: $result" >&5
16212 echo "${ECHO_T}$result" >&6; }
16213
16214
16215 enablestring=
16216 defaultval=$wxUSE_ALL_FEATURES
16217 if test -z "$defaultval"; then
16218 if test x"$enablestring" = xdisable; then
16219 defaultval=yes
16220 else
16221 defaultval=no
16222 fi
16223 fi
16224
16225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
16226 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
16227 # Check whether --enable-ps-in-msw was given.
16228 if test "${enable_ps_in_msw+set}" = set; then
16229 enableval=$enable_ps_in_msw;
16230 if test "$enableval" = yes; then
16231 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
16232 else
16233 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
16234 fi
16235 cache=yes
16236
16237 else
16238
16239 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
16240 if test "x$LINE" != x ; then
16241 eval "DEFAULT_$LINE"
16242 cache=yes
16243 else
16244 cache=no
16245 fi
16246
16247 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16248
16249 fi
16250
16251
16252 eval "$wx_cv_use_ps_in_msw"
16253 if test "x$cache" = xyes; then
16254 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
16255 fi
16256
16257 if test x"$enablestring" = xdisable; then
16258 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
16259 result=no
16260 else
16261 result=yes
16262 fi
16263 else
16264 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16265 fi
16266
16267 { echo "$as_me:$LINENO: result: $result" >&5
16268 echo "${ECHO_T}$result" >&6; }
16269
16270
16271 enablestring=
16272 defaultval=$wxUSE_ALL_FEATURES
16273 if test -z "$defaultval"; then
16274 if test x"$enablestring" = xdisable; then
16275 defaultval=yes
16276 else
16277 defaultval=no
16278 fi
16279 fi
16280
16281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
16282 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
16283 # Check whether --enable-ownerdrawn was given.
16284 if test "${enable_ownerdrawn+set}" = set; then
16285 enableval=$enable_ownerdrawn;
16286 if test "$enableval" = yes; then
16287 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16288 else
16289 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16290 fi
16291 cache=yes
16292
16293 else
16294
16295 LINE=`grep "^wxUSE_OWNER_DRAWN=" ${wx_arg_cache_file}`
16296 if test "x$LINE" != x ; then
16297 eval "DEFAULT_$LINE"
16298 cache=yes
16299 else
16300 cache=no
16301 fi
16302
16303 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16304
16305 fi
16306
16307
16308 eval "$wx_cv_use_ownerdrawn"
16309 if test "x$cache" = xyes; then
16310 echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
16311 fi
16312
16313 if test x"$enablestring" = xdisable; then
16314 if test $wxUSE_OWNER_DRAWN = yes; then
16315 result=no
16316 else
16317 result=yes
16318 fi
16319 else
16320 result=$wxUSE_OWNER_DRAWN
16321 fi
16322
16323 { echo "$as_me:$LINENO: result: $result" >&5
16324 echo "${ECHO_T}$result" >&6; }
16325
16326
16327 enablestring=
16328 defaultval=$wxUSE_ALL_FEATURES
16329 if test -z "$defaultval"; then
16330 if test x"$enablestring" = xdisable; then
16331 defaultval=yes
16332 else
16333 defaultval=no
16334 fi
16335 fi
16336
16337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
16338 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
16339 # Check whether --enable-uxtheme was given.
16340 if test "${enable_uxtheme+set}" = set; then
16341 enableval=$enable_uxtheme;
16342 if test "$enableval" = yes; then
16343 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
16344 else
16345 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
16346 fi
16347 cache=yes
16348
16349 else
16350
16351 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
16352 if test "x$LINE" != x ; then
16353 eval "DEFAULT_$LINE"
16354 cache=yes
16355 else
16356 cache=no
16357 fi
16358
16359 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16360
16361 fi
16362
16363
16364 eval "$wx_cv_use_uxtheme"
16365 if test "x$cache" = xyes; then
16366 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
16367 fi
16368
16369 if test x"$enablestring" = xdisable; then
16370 if test $wxUSE_UXTHEME = yes; then
16371 result=no
16372 else
16373 result=yes
16374 fi
16375 else
16376 result=$wxUSE_UXTHEME
16377 fi
16378
16379 { echo "$as_me:$LINENO: result: $result" >&5
16380 echo "${ECHO_T}$result" >&6; }
16381
16382
16383 enablestring=
16384 defaultval=$wxUSE_ALL_FEATURES
16385 if test -z "$defaultval"; then
16386 if test x"$enablestring" = xdisable; then
16387 defaultval=yes
16388 else
16389 defaultval=no
16390 fi
16391 fi
16392
16393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
16394 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
16395 # Check whether --enable-wxdib was given.
16396 if test "${enable_wxdib+set}" = set; then
16397 enableval=$enable_wxdib;
16398 if test "$enableval" = yes; then
16399 wx_cv_use_wxdib='wxUSE_DIB=yes'
16400 else
16401 wx_cv_use_wxdib='wxUSE_DIB=no'
16402 fi
16403 cache=yes
16404
16405 else
16406
16407 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
16408 if test "x$LINE" != x ; then
16409 eval "DEFAULT_$LINE"
16410 cache=yes
16411 else
16412 cache=no
16413 fi
16414
16415 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16416
16417 fi
16418
16419
16420 eval "$wx_cv_use_wxdib"
16421 if test "x$cache" = xyes; then
16422 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
16423 fi
16424
16425 if test x"$enablestring" = xdisable; then
16426 if test $wxUSE_DIB = yes; then
16427 result=no
16428 else
16429 result=yes
16430 fi
16431 else
16432 result=$wxUSE_DIB
16433 fi
16434
16435 { echo "$as_me:$LINENO: result: $result" >&5
16436 echo "${ECHO_T}$result" >&6; }
16437
16438
16439 fi
16440
16441
16442 { echo "$as_me:$LINENO: checking for toolkit" >&5
16443 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
16444
16445 # In Wine, we need to default to MSW, not GTK or MOTIF
16446 if test "$wxUSE_WINE" = "yes"; then
16447 DEFAULT_DEFAULT_wxUSE_GTK=0
16448 DEFAULT_DEFAULT_wxUSE_MOTIF=0
16449 DEFAULT_DEFAULT_wxUSE_MSW=1
16450 wxUSE_SHARED=no
16451 CC=${CC:-winegcc}
16452 CXX=${CXX:-wineg++}
16453 fi
16454
16455
16456 if test "$wxUSE_GUI" = "yes"; then
16457
16458 if test "$USE_BEOS" = 1; then
16459 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
16460 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
16461 { (exit 1); exit 1; }; }
16462 fi
16463
16464 if test "$TOOLKIT_GIVEN" = 1; then
16465 for toolkit in $ALL_TOOLKITS; do
16466 var=wxUSE_$toolkit
16467 eval "value=\$${var}"
16468 if test "x$value" = "xno"; then
16469 eval "$var=0"
16470 elif test "x$value" != "x"; then
16471 eval "$var=1"
16472 fi
16473
16474 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
16475 eval "wx${toolkit}_VERSION=$value"
16476 fi
16477 done
16478 else
16479 for toolkit in $ALL_TOOLKITS; do
16480 var=DEFAULT_DEFAULT_wxUSE_$toolkit
16481 eval "wxUSE_$toolkit=\$${var}"
16482 done
16483 fi
16484
16485 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
16486 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
16487 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
16488
16489 case "${host}" in
16490 *-pc-os2_emx | *-pc-os2-emx )
16491 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
16492 esac
16493
16494 case "$NUM_TOOLKITS" in
16495 1)
16496 ;;
16497 0)
16498 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
16499 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
16500 { (exit 1); exit 1; }; }
16501 ;;
16502 *)
16503 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
16504 echo "$as_me: error: Please specify at most one toolkit" >&2;}
16505 { (exit 1); exit 1; }; }
16506 esac
16507
16508 # to be removed when --disable-gtk2 isn't needed
16509 if test "x$wxUSE_GTK2" = "xyes"; then
16510 wxGTK_VERSION=2
16511 elif test "x$wxUSE_GTK2" = "xno"; then
16512 wxGTK_VERSION=1
16513 fi
16514
16515 for toolkit in $ALL_TOOLKITS; do
16516 var=wxUSE_$toolkit
16517 eval "value=\$${var}"
16518 if test "$value" = 1; then
16519 toolkit_echo=`echo $toolkit | tr A-Z a-z`
16520 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
16521 echo "${ECHO_T}$toolkit_echo" >&6; }
16522 fi
16523 done
16524 else
16525 if test "x$host_alias" != "x"; then
16526 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
16527 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
16528 else
16529 { echo "$as_me:$LINENO: result: base only" >&5
16530 echo "${ECHO_T}base only" >&6; }
16531 fi
16532 fi
16533
16534
16535 cat >confcache <<\_ACEOF
16536 # This file is a shell script that caches the results of configure
16537 # tests run on this system so they can be shared between configure
16538 # scripts and configure runs, see configure's option --config-cache.
16539 # It is not useful on other systems. If it contains results you don't
16540 # want to keep, you may remove or edit it.
16541 #
16542 # config.status only pays attention to the cache file if you give it
16543 # the --recheck option to rerun configure.
16544 #
16545 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16546 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16547 # following values.
16548
16549 _ACEOF
16550
16551 # The following way of writing the cache mishandles newlines in values,
16552 # but we know of no workaround that is simple, portable, and efficient.
16553 # So, we kill variables containing newlines.
16554 # Ultrix sh set writes to stderr and can't be redirected directly,
16555 # and sets the high bit in the cache file unless we assign to the vars.
16556 (
16557 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16558 eval ac_val=\$$ac_var
16559 case $ac_val in #(
16560 *${as_nl}*)
16561 case $ac_var in #(
16562 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
16563 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
16564 esac
16565 case $ac_var in #(
16566 _ | IFS | as_nl) ;; #(
16567 *) $as_unset $ac_var ;;
16568 esac ;;
16569 esac
16570 done
16571
16572 (set) 2>&1 |
16573 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16574 *${as_nl}ac_space=\ *)
16575 # `set' does not quote correctly, so add quotes (double-quote
16576 # substitution turns \\\\ into \\, and sed turns \\ into \).
16577 sed -n \
16578 "s/'/'\\\\''/g;
16579 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16580 ;; #(
16581 *)
16582 # `set' quotes correctly as required by POSIX, so do not add quotes.
16583 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16584 ;;
16585 esac |
16586 sort
16587 ) |
16588 sed '
16589 /^ac_cv_env_/b end
16590 t clear
16591 :clear
16592 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16593 t end
16594 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16595 :end' >>confcache
16596 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16597 if test -w "$cache_file"; then
16598 test "x$cache_file" != "x/dev/null" &&
16599 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
16600 echo "$as_me: updating cache $cache_file" >&6;}
16601 cat confcache >$cache_file
16602 else
16603 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
16604 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16605 fi
16606 fi
16607 rm -f confcache
16608
16609 CFLAGS=${CFLAGS:=}
16610
16611
16612
16613 ac_ext=c
16614 ac_cpp='$CPP $CPPFLAGS'
16615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16618 if test -n "$ac_tool_prefix"; then
16619 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16620 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16621 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16623 if test "${ac_cv_prog_CC+set}" = set; then
16624 echo $ECHO_N "(cached) $ECHO_C" >&6
16625 else
16626 if test -n "$CC"; then
16627 ac_cv_prog_CC="$CC" # Let the user override the test.
16628 else
16629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16630 for as_dir in $PATH
16631 do
16632 IFS=$as_save_IFS
16633 test -z "$as_dir" && as_dir=.
16634 for ac_exec_ext in '' $ac_executable_extensions; do
16635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16636 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16638 break 2
16639 fi
16640 done
16641 done
16642 IFS=$as_save_IFS
16643
16644 fi
16645 fi
16646 CC=$ac_cv_prog_CC
16647 if test -n "$CC"; then
16648 { echo "$as_me:$LINENO: result: $CC" >&5
16649 echo "${ECHO_T}$CC" >&6; }
16650 else
16651 { echo "$as_me:$LINENO: result: no" >&5
16652 echo "${ECHO_T}no" >&6; }
16653 fi
16654
16655
16656 fi
16657 if test -z "$ac_cv_prog_CC"; then
16658 ac_ct_CC=$CC
16659 # Extract the first word of "gcc", so it can be a program name with args.
16660 set dummy gcc; ac_word=$2
16661 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16663 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16664 echo $ECHO_N "(cached) $ECHO_C" >&6
16665 else
16666 if test -n "$ac_ct_CC"; then
16667 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16668 else
16669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16670 for as_dir in $PATH
16671 do
16672 IFS=$as_save_IFS
16673 test -z "$as_dir" && as_dir=.
16674 for ac_exec_ext in '' $ac_executable_extensions; do
16675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16676 ac_cv_prog_ac_ct_CC="gcc"
16677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16678 break 2
16679 fi
16680 done
16681 done
16682 IFS=$as_save_IFS
16683
16684 fi
16685 fi
16686 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16687 if test -n "$ac_ct_CC"; then
16688 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16689 echo "${ECHO_T}$ac_ct_CC" >&6; }
16690 else
16691 { echo "$as_me:$LINENO: result: no" >&5
16692 echo "${ECHO_T}no" >&6; }
16693 fi
16694
16695 if test "x$ac_ct_CC" = x; then
16696 CC=""
16697 else
16698 case $cross_compiling:$ac_tool_warned in
16699 yes:)
16700 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16701 whose name does not start with the host triplet. If you think this
16702 configuration is useful to you, please write to autoconf@gnu.org." >&5
16703 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16704 whose name does not start with the host triplet. If you think this
16705 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16706 ac_tool_warned=yes ;;
16707 esac
16708 CC=$ac_ct_CC
16709 fi
16710 else
16711 CC="$ac_cv_prog_CC"
16712 fi
16713
16714 if test -z "$CC"; then
16715 if test -n "$ac_tool_prefix"; then
16716 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16717 set dummy ${ac_tool_prefix}cc; ac_word=$2
16718 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16720 if test "${ac_cv_prog_CC+set}" = set; then
16721 echo $ECHO_N "(cached) $ECHO_C" >&6
16722 else
16723 if test -n "$CC"; then
16724 ac_cv_prog_CC="$CC" # Let the user override the test.
16725 else
16726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16727 for as_dir in $PATH
16728 do
16729 IFS=$as_save_IFS
16730 test -z "$as_dir" && as_dir=.
16731 for ac_exec_ext in '' $ac_executable_extensions; do
16732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16733 ac_cv_prog_CC="${ac_tool_prefix}cc"
16734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16735 break 2
16736 fi
16737 done
16738 done
16739 IFS=$as_save_IFS
16740
16741 fi
16742 fi
16743 CC=$ac_cv_prog_CC
16744 if test -n "$CC"; then
16745 { echo "$as_me:$LINENO: result: $CC" >&5
16746 echo "${ECHO_T}$CC" >&6; }
16747 else
16748 { echo "$as_me:$LINENO: result: no" >&5
16749 echo "${ECHO_T}no" >&6; }
16750 fi
16751
16752
16753 fi
16754 fi
16755 if test -z "$CC"; then
16756 # Extract the first word of "cc", so it can be a program name with args.
16757 set dummy cc; ac_word=$2
16758 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16760 if test "${ac_cv_prog_CC+set}" = set; then
16761 echo $ECHO_N "(cached) $ECHO_C" >&6
16762 else
16763 if test -n "$CC"; then
16764 ac_cv_prog_CC="$CC" # Let the user override the test.
16765 else
16766 ac_prog_rejected=no
16767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16768 for as_dir in $PATH
16769 do
16770 IFS=$as_save_IFS
16771 test -z "$as_dir" && as_dir=.
16772 for ac_exec_ext in '' $ac_executable_extensions; do
16773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16774 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16775 ac_prog_rejected=yes
16776 continue
16777 fi
16778 ac_cv_prog_CC="cc"
16779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16780 break 2
16781 fi
16782 done
16783 done
16784 IFS=$as_save_IFS
16785
16786 if test $ac_prog_rejected = yes; then
16787 # We found a bogon in the path, so make sure we never use it.
16788 set dummy $ac_cv_prog_CC
16789 shift
16790 if test $# != 0; then
16791 # We chose a different compiler from the bogus one.
16792 # However, it has the same basename, so the bogon will be chosen
16793 # first if we set CC to just the basename; use the full file name.
16794 shift
16795 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16796 fi
16797 fi
16798 fi
16799 fi
16800 CC=$ac_cv_prog_CC
16801 if test -n "$CC"; then
16802 { echo "$as_me:$LINENO: result: $CC" >&5
16803 echo "${ECHO_T}$CC" >&6; }
16804 else
16805 { echo "$as_me:$LINENO: result: no" >&5
16806 echo "${ECHO_T}no" >&6; }
16807 fi
16808
16809
16810 fi
16811 if test -z "$CC"; then
16812 if test -n "$ac_tool_prefix"; then
16813 for ac_prog in cl.exe
16814 do
16815 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16816 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16817 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16819 if test "${ac_cv_prog_CC+set}" = set; then
16820 echo $ECHO_N "(cached) $ECHO_C" >&6
16821 else
16822 if test -n "$CC"; then
16823 ac_cv_prog_CC="$CC" # Let the user override the test.
16824 else
16825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16826 for as_dir in $PATH
16827 do
16828 IFS=$as_save_IFS
16829 test -z "$as_dir" && as_dir=.
16830 for ac_exec_ext in '' $ac_executable_extensions; do
16831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16832 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16834 break 2
16835 fi
16836 done
16837 done
16838 IFS=$as_save_IFS
16839
16840 fi
16841 fi
16842 CC=$ac_cv_prog_CC
16843 if test -n "$CC"; then
16844 { echo "$as_me:$LINENO: result: $CC" >&5
16845 echo "${ECHO_T}$CC" >&6; }
16846 else
16847 { echo "$as_me:$LINENO: result: no" >&5
16848 echo "${ECHO_T}no" >&6; }
16849 fi
16850
16851
16852 test -n "$CC" && break
16853 done
16854 fi
16855 if test -z "$CC"; then
16856 ac_ct_CC=$CC
16857 for ac_prog in cl.exe
16858 do
16859 # Extract the first word of "$ac_prog", so it can be a program name with args.
16860 set dummy $ac_prog; ac_word=$2
16861 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16863 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16864 echo $ECHO_N "(cached) $ECHO_C" >&6
16865 else
16866 if test -n "$ac_ct_CC"; then
16867 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16868 else
16869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16870 for as_dir in $PATH
16871 do
16872 IFS=$as_save_IFS
16873 test -z "$as_dir" && as_dir=.
16874 for ac_exec_ext in '' $ac_executable_extensions; do
16875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16876 ac_cv_prog_ac_ct_CC="$ac_prog"
16877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16878 break 2
16879 fi
16880 done
16881 done
16882 IFS=$as_save_IFS
16883
16884 fi
16885 fi
16886 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16887 if test -n "$ac_ct_CC"; then
16888 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16889 echo "${ECHO_T}$ac_ct_CC" >&6; }
16890 else
16891 { echo "$as_me:$LINENO: result: no" >&5
16892 echo "${ECHO_T}no" >&6; }
16893 fi
16894
16895
16896 test -n "$ac_ct_CC" && break
16897 done
16898
16899 if test "x$ac_ct_CC" = x; then
16900 CC=""
16901 else
16902 case $cross_compiling:$ac_tool_warned in
16903 yes:)
16904 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16905 whose name does not start with the host triplet. If you think this
16906 configuration is useful to you, please write to autoconf@gnu.org." >&5
16907 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16908 whose name does not start with the host triplet. If you think this
16909 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16910 ac_tool_warned=yes ;;
16911 esac
16912 CC=$ac_ct_CC
16913 fi
16914 fi
16915
16916 fi
16917
16918
16919 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16920 See \`config.log' for more details." >&5
16921 echo "$as_me: error: no acceptable C compiler found in \$PATH
16922 See \`config.log' for more details." >&2;}
16923 { (exit 1); exit 1; }; }
16924
16925 # Provide some information about the compiler.
16926 echo "$as_me:$LINENO: checking for C compiler version" >&5
16927 ac_compiler=`set X $ac_compile; echo $2`
16928 { (ac_try="$ac_compiler --version >&5"
16929 case "(($ac_try" in
16930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16931 *) ac_try_echo=$ac_try;;
16932 esac
16933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16934 (eval "$ac_compiler --version >&5") 2>&5
16935 ac_status=$?
16936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16937 (exit $ac_status); }
16938 { (ac_try="$ac_compiler -v >&5"
16939 case "(($ac_try" in
16940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16941 *) ac_try_echo=$ac_try;;
16942 esac
16943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16944 (eval "$ac_compiler -v >&5") 2>&5
16945 ac_status=$?
16946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947 (exit $ac_status); }
16948 { (ac_try="$ac_compiler -V >&5"
16949 case "(($ac_try" in
16950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16951 *) ac_try_echo=$ac_try;;
16952 esac
16953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16954 (eval "$ac_compiler -V >&5") 2>&5
16955 ac_status=$?
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); }
16958
16959 cat >conftest.$ac_ext <<_ACEOF
16960 /* confdefs.h. */
16961 _ACEOF
16962 cat confdefs.h >>conftest.$ac_ext
16963 cat >>conftest.$ac_ext <<_ACEOF
16964 /* end confdefs.h. */
16965
16966 int
16967 main ()
16968 {
16969
16970 ;
16971 return 0;
16972 }
16973 _ACEOF
16974 ac_clean_files_save=$ac_clean_files
16975 ac_clean_files="$ac_clean_files a.out a.exe b.out"
16976 # Try to create an executable without -o first, disregard a.out.
16977 # It will help us diagnose broken compilers, and finding out an intuition
16978 # of exeext.
16979 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
16980 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
16981 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16982 #
16983 # List of possible output files, starting from the most likely.
16984 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
16985 # only as a last resort. b.out is created by i960 compilers.
16986 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
16987 #
16988 # The IRIX 6 linker writes into existing files which may not be
16989 # executable, retaining their permissions. Remove them first so a
16990 # subsequent execution test works.
16991 ac_rmfiles=
16992 for ac_file in $ac_files
16993 do
16994 case $ac_file in
16995 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16996 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16997 esac
16998 done
16999 rm -f $ac_rmfiles
17000
17001 if { (ac_try="$ac_link_default"
17002 case "(($ac_try" in
17003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17004 *) ac_try_echo=$ac_try;;
17005 esac
17006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17007 (eval "$ac_link_default") 2>&5
17008 ac_status=$?
17009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17010 (exit $ac_status); }; then
17011 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
17012 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
17013 # in a Makefile. We should not override ac_cv_exeext if it was cached,
17014 # so that the user can short-circuit this test for compilers unknown to
17015 # Autoconf.
17016 for ac_file in $ac_files ''
17017 do
17018 test -f "$ac_file" || continue
17019 case $ac_file in
17020 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
17021 ;;
17022 [ab].out )
17023 # We found the default executable, but exeext='' is most
17024 # certainly right.
17025 break;;
17026 *.* )
17027 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
17028 then :; else
17029 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17030 fi
17031 # We set ac_cv_exeext here because the later test for it is not
17032 # safe: cross compilers may not add the suffix if given an `-o'
17033 # argument, so we may need to know it at that point already.
17034 # Even if this section looks crufty: it has the advantage of
17035 # actually working.
17036 break;;
17037 * )
17038 break;;
17039 esac
17040 done
17041 test "$ac_cv_exeext" = no && ac_cv_exeext=
17042
17043 else
17044 ac_file=''
17045 fi
17046
17047 { echo "$as_me:$LINENO: result: $ac_file" >&5
17048 echo "${ECHO_T}$ac_file" >&6; }
17049 if test -z "$ac_file"; then
17050 echo "$as_me: failed program was:" >&5
17051 sed 's/^/| /' conftest.$ac_ext >&5
17052
17053 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
17054 See \`config.log' for more details." >&5
17055 echo "$as_me: error: C compiler cannot create executables
17056 See \`config.log' for more details." >&2;}
17057 { (exit 77); exit 77; }; }
17058 fi
17059
17060 ac_exeext=$ac_cv_exeext
17061
17062 # Check that the compiler produces executables we can run. If not, either
17063 # the compiler is broken, or we cross compile.
17064 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
17065 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
17066 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
17067 # If not cross compiling, check that we can run a simple program.
17068 if test "$cross_compiling" != yes; then
17069 if { ac_try='./$ac_file'
17070 { (case "(($ac_try" in
17071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17072 *) ac_try_echo=$ac_try;;
17073 esac
17074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17075 (eval "$ac_try") 2>&5
17076 ac_status=$?
17077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17078 (exit $ac_status); }; }; then
17079 cross_compiling=no
17080 else
17081 if test "$cross_compiling" = maybe; then
17082 cross_compiling=yes
17083 else
17084 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
17085 If you meant to cross compile, use \`--host'.
17086 See \`config.log' for more details." >&5
17087 echo "$as_me: error: cannot run C compiled programs.
17088 If you meant to cross compile, use \`--host'.
17089 See \`config.log' for more details." >&2;}
17090 { (exit 1); exit 1; }; }
17091 fi
17092 fi
17093 fi
17094 { echo "$as_me:$LINENO: result: yes" >&5
17095 echo "${ECHO_T}yes" >&6; }
17096
17097 rm -f a.out a.exe conftest$ac_cv_exeext b.out
17098 ac_clean_files=$ac_clean_files_save
17099 # Check that the compiler produces executables we can run. If not, either
17100 # the compiler is broken, or we cross compile.
17101 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
17102 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
17103 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
17104 echo "${ECHO_T}$cross_compiling" >&6; }
17105
17106 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
17107 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
17108 if { (ac_try="$ac_link"
17109 case "(($ac_try" in
17110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17111 *) ac_try_echo=$ac_try;;
17112 esac
17113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17114 (eval "$ac_link") 2>&5
17115 ac_status=$?
17116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17117 (exit $ac_status); }; then
17118 # If both `conftest.exe' and `conftest' are `present' (well, observable)
17119 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
17120 # work properly (i.e., refer to `conftest.exe'), while it won't with
17121 # `rm'.
17122 for ac_file in conftest.exe conftest conftest.*; do
17123 test -f "$ac_file" || continue
17124 case $ac_file in
17125 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
17126 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
17127 break;;
17128 * ) break;;
17129 esac
17130 done
17131 else
17132 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
17133 See \`config.log' for more details." >&5
17134 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
17135 See \`config.log' for more details." >&2;}
17136 { (exit 1); exit 1; }; }
17137 fi
17138
17139 rm -f conftest$ac_cv_exeext
17140 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
17141 echo "${ECHO_T}$ac_cv_exeext" >&6; }
17142
17143 rm -f conftest.$ac_ext
17144 EXEEXT=$ac_cv_exeext
17145 ac_exeext=$EXEEXT
17146 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
17147 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
17148 if test "${ac_cv_objext+set}" = set; then
17149 echo $ECHO_N "(cached) $ECHO_C" >&6
17150 else
17151 cat >conftest.$ac_ext <<_ACEOF
17152 /* confdefs.h. */
17153 _ACEOF
17154 cat confdefs.h >>conftest.$ac_ext
17155 cat >>conftest.$ac_ext <<_ACEOF
17156 /* end confdefs.h. */
17157
17158 int
17159 main ()
17160 {
17161
17162 ;
17163 return 0;
17164 }
17165 _ACEOF
17166 rm -f conftest.o conftest.obj
17167 if { (ac_try="$ac_compile"
17168 case "(($ac_try" in
17169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17170 *) ac_try_echo=$ac_try;;
17171 esac
17172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17173 (eval "$ac_compile") 2>&5
17174 ac_status=$?
17175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17176 (exit $ac_status); }; then
17177 for ac_file in conftest.o conftest.obj conftest.*; do
17178 test -f "$ac_file" || continue;
17179 case $ac_file in
17180 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
17181 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
17182 break;;
17183 esac
17184 done
17185 else
17186 echo "$as_me: failed program was:" >&5
17187 sed 's/^/| /' conftest.$ac_ext >&5
17188
17189 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
17190 See \`config.log' for more details." >&5
17191 echo "$as_me: error: cannot compute suffix of object files: cannot compile
17192 See \`config.log' for more details." >&2;}
17193 { (exit 1); exit 1; }; }
17194 fi
17195
17196 rm -f conftest.$ac_cv_objext conftest.$ac_ext
17197 fi
17198 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
17199 echo "${ECHO_T}$ac_cv_objext" >&6; }
17200 OBJEXT=$ac_cv_objext
17201 ac_objext=$OBJEXT
17202 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
17203 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
17204 if test "${ac_cv_c_compiler_gnu+set}" = set; then
17205 echo $ECHO_N "(cached) $ECHO_C" >&6
17206 else
17207 cat >conftest.$ac_ext <<_ACEOF
17208 /* confdefs.h. */
17209 _ACEOF
17210 cat confdefs.h >>conftest.$ac_ext
17211 cat >>conftest.$ac_ext <<_ACEOF
17212 /* end confdefs.h. */
17213
17214 int
17215 main ()
17216 {
17217 #ifndef __GNUC__
17218 choke me
17219 #endif
17220
17221 ;
17222 return 0;
17223 }
17224 _ACEOF
17225 rm -f conftest.$ac_objext
17226 if { (ac_try="$ac_compile"
17227 case "(($ac_try" in
17228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17229 *) ac_try_echo=$ac_try;;
17230 esac
17231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17232 (eval "$ac_compile") 2>conftest.er1
17233 ac_status=$?
17234 grep -v '^ *+' conftest.er1 >conftest.err
17235 rm -f conftest.er1
17236 cat conftest.err >&5
17237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17238 (exit $ac_status); } && {
17239 test -z "$ac_c_werror_flag" ||
17240 test ! -s conftest.err
17241 } && test -s conftest.$ac_objext; then
17242 ac_compiler_gnu=yes
17243 else
17244 echo "$as_me: failed program was:" >&5
17245 sed 's/^/| /' conftest.$ac_ext >&5
17246
17247 ac_compiler_gnu=no
17248 fi
17249
17250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17251 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17252
17253 fi
17254 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
17255 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
17256 GCC=`test $ac_compiler_gnu = yes && echo yes`
17257 ac_test_CFLAGS=${CFLAGS+set}
17258 ac_save_CFLAGS=$CFLAGS
17259 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17260 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17261 if test "${ac_cv_prog_cc_g+set}" = set; then
17262 echo $ECHO_N "(cached) $ECHO_C" >&6
17263 else
17264 ac_save_c_werror_flag=$ac_c_werror_flag
17265 ac_c_werror_flag=yes
17266 ac_cv_prog_cc_g=no
17267 CFLAGS="-g"
17268 cat >conftest.$ac_ext <<_ACEOF
17269 /* confdefs.h. */
17270 _ACEOF
17271 cat confdefs.h >>conftest.$ac_ext
17272 cat >>conftest.$ac_ext <<_ACEOF
17273 /* end confdefs.h. */
17274
17275 int
17276 main ()
17277 {
17278
17279 ;
17280 return 0;
17281 }
17282 _ACEOF
17283 rm -f conftest.$ac_objext
17284 if { (ac_try="$ac_compile"
17285 case "(($ac_try" in
17286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17287 *) ac_try_echo=$ac_try;;
17288 esac
17289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17290 (eval "$ac_compile") 2>conftest.er1
17291 ac_status=$?
17292 grep -v '^ *+' conftest.er1 >conftest.err
17293 rm -f conftest.er1
17294 cat conftest.err >&5
17295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17296 (exit $ac_status); } && {
17297 test -z "$ac_c_werror_flag" ||
17298 test ! -s conftest.err
17299 } && test -s conftest.$ac_objext; then
17300 ac_cv_prog_cc_g=yes
17301 else
17302 echo "$as_me: failed program was:" >&5
17303 sed 's/^/| /' conftest.$ac_ext >&5
17304
17305 CFLAGS=""
17306 cat >conftest.$ac_ext <<_ACEOF
17307 /* confdefs.h. */
17308 _ACEOF
17309 cat confdefs.h >>conftest.$ac_ext
17310 cat >>conftest.$ac_ext <<_ACEOF
17311 /* end confdefs.h. */
17312
17313 int
17314 main ()
17315 {
17316
17317 ;
17318 return 0;
17319 }
17320 _ACEOF
17321 rm -f conftest.$ac_objext
17322 if { (ac_try="$ac_compile"
17323 case "(($ac_try" in
17324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17325 *) ac_try_echo=$ac_try;;
17326 esac
17327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17328 (eval "$ac_compile") 2>conftest.er1
17329 ac_status=$?
17330 grep -v '^ *+' conftest.er1 >conftest.err
17331 rm -f conftest.er1
17332 cat conftest.err >&5
17333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17334 (exit $ac_status); } && {
17335 test -z "$ac_c_werror_flag" ||
17336 test ! -s conftest.err
17337 } && test -s conftest.$ac_objext; then
17338 :
17339 else
17340 echo "$as_me: failed program was:" >&5
17341 sed 's/^/| /' conftest.$ac_ext >&5
17342
17343 ac_c_werror_flag=$ac_save_c_werror_flag
17344 CFLAGS="-g"
17345 cat >conftest.$ac_ext <<_ACEOF
17346 /* confdefs.h. */
17347 _ACEOF
17348 cat confdefs.h >>conftest.$ac_ext
17349 cat >>conftest.$ac_ext <<_ACEOF
17350 /* end confdefs.h. */
17351
17352 int
17353 main ()
17354 {
17355
17356 ;
17357 return 0;
17358 }
17359 _ACEOF
17360 rm -f conftest.$ac_objext
17361 if { (ac_try="$ac_compile"
17362 case "(($ac_try" in
17363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17364 *) ac_try_echo=$ac_try;;
17365 esac
17366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17367 (eval "$ac_compile") 2>conftest.er1
17368 ac_status=$?
17369 grep -v '^ *+' conftest.er1 >conftest.err
17370 rm -f conftest.er1
17371 cat conftest.err >&5
17372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17373 (exit $ac_status); } && {
17374 test -z "$ac_c_werror_flag" ||
17375 test ! -s conftest.err
17376 } && test -s conftest.$ac_objext; then
17377 ac_cv_prog_cc_g=yes
17378 else
17379 echo "$as_me: failed program was:" >&5
17380 sed 's/^/| /' conftest.$ac_ext >&5
17381
17382
17383 fi
17384
17385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17386 fi
17387
17388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17389 fi
17390
17391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17392 ac_c_werror_flag=$ac_save_c_werror_flag
17393 fi
17394 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17395 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17396 if test "$ac_test_CFLAGS" = set; then
17397 CFLAGS=$ac_save_CFLAGS
17398 elif test $ac_cv_prog_cc_g = yes; then
17399 if test "$GCC" = yes; then
17400 CFLAGS="-g -O2"
17401 else
17402 CFLAGS="-g"
17403 fi
17404 else
17405 if test "$GCC" = yes; then
17406 CFLAGS="-O2"
17407 else
17408 CFLAGS=
17409 fi
17410 fi
17411 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
17412 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
17413 if test "${ac_cv_prog_cc_c89+set}" = set; then
17414 echo $ECHO_N "(cached) $ECHO_C" >&6
17415 else
17416 ac_cv_prog_cc_c89=no
17417 ac_save_CC=$CC
17418 cat >conftest.$ac_ext <<_ACEOF
17419 /* confdefs.h. */
17420 _ACEOF
17421 cat confdefs.h >>conftest.$ac_ext
17422 cat >>conftest.$ac_ext <<_ACEOF
17423 /* end confdefs.h. */
17424 #include <stdarg.h>
17425 #include <stdio.h>
17426 #include <sys/types.h>
17427 #include <sys/stat.h>
17428 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17429 struct buf { int x; };
17430 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17431 static char *e (p, i)
17432 char **p;
17433 int i;
17434 {
17435 return p[i];
17436 }
17437 static char *f (char * (*g) (char **, int), char **p, ...)
17438 {
17439 char *s;
17440 va_list v;
17441 va_start (v,p);
17442 s = g (p, va_arg (v,int));
17443 va_end (v);
17444 return s;
17445 }
17446
17447 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17448 function prototypes and stuff, but not '\xHH' hex character constants.
17449 These don't provoke an error unfortunately, instead are silently treated
17450 as 'x'. The following induces an error, until -std is added to get
17451 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17452 array size at least. It's necessary to write '\x00'==0 to get something
17453 that's true only with -std. */
17454 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17455
17456 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17457 inside strings and character constants. */
17458 #define FOO(x) 'x'
17459 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17460
17461 int test (int i, double x);
17462 struct s1 {int (*f) (int a);};
17463 struct s2 {int (*f) (double a);};
17464 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17465 int argc;
17466 char **argv;
17467 int
17468 main ()
17469 {
17470 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17471 ;
17472 return 0;
17473 }
17474 _ACEOF
17475 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17476 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17477 do
17478 CC="$ac_save_CC $ac_arg"
17479 rm -f conftest.$ac_objext
17480 if { (ac_try="$ac_compile"
17481 case "(($ac_try" in
17482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17483 *) ac_try_echo=$ac_try;;
17484 esac
17485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17486 (eval "$ac_compile") 2>conftest.er1
17487 ac_status=$?
17488 grep -v '^ *+' conftest.er1 >conftest.err
17489 rm -f conftest.er1
17490 cat conftest.err >&5
17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492 (exit $ac_status); } && {
17493 test -z "$ac_c_werror_flag" ||
17494 test ! -s conftest.err
17495 } && test -s conftest.$ac_objext; then
17496 ac_cv_prog_cc_c89=$ac_arg
17497 else
17498 echo "$as_me: failed program was:" >&5
17499 sed 's/^/| /' conftest.$ac_ext >&5
17500
17501
17502 fi
17503
17504 rm -f core conftest.err conftest.$ac_objext
17505 test "x$ac_cv_prog_cc_c89" != "xno" && break
17506 done
17507 rm -f conftest.$ac_ext
17508 CC=$ac_save_CC
17509
17510 fi
17511 # AC_CACHE_VAL
17512 case "x$ac_cv_prog_cc_c89" in
17513 x)
17514 { echo "$as_me:$LINENO: result: none needed" >&5
17515 echo "${ECHO_T}none needed" >&6; } ;;
17516 xno)
17517 { echo "$as_me:$LINENO: result: unsupported" >&5
17518 echo "${ECHO_T}unsupported" >&6; } ;;
17519 *)
17520 CC="$CC $ac_cv_prog_cc_c89"
17521 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
17522 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
17523 esac
17524
17525
17526 ac_ext=c
17527 ac_cpp='$CPP $CPPFLAGS'
17528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17531
17532
17533
17534
17535 ac_ext=c
17536 ac_cpp='$CPP $CPPFLAGS'
17537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17540
17541 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
17542 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
17543 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
17544 echo $ECHO_N "(cached) $ECHO_C" >&6
17545 else
17546 cat >conftest.$ac_ext <<_ACEOF
17547 /* confdefs.h. */
17548 _ACEOF
17549 cat confdefs.h >>conftest.$ac_ext
17550 cat >>conftest.$ac_ext <<_ACEOF
17551 /* end confdefs.h. */
17552
17553 int
17554 main ()
17555 {
17556
17557 #ifndef __INTEL_COMPILER
17558 choke me
17559 #endif
17560
17561 ;
17562 return 0;
17563 }
17564 _ACEOF
17565 rm -f conftest.$ac_objext
17566 if { (ac_try="$ac_compile"
17567 case "(($ac_try" in
17568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17569 *) ac_try_echo=$ac_try;;
17570 esac
17571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17572 (eval "$ac_compile") 2>conftest.er1
17573 ac_status=$?
17574 grep -v '^ *+' conftest.er1 >conftest.err
17575 rm -f conftest.er1
17576 cat conftest.err >&5
17577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17578 (exit $ac_status); } && {
17579 test -z "$ac_c_werror_flag" ||
17580 test ! -s conftest.err
17581 } && test -s conftest.$ac_objext; then
17582 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17583 else
17584 echo "$as_me: failed program was:" >&5
17585 sed 's/^/| /' conftest.$ac_ext >&5
17586
17587 bakefile_cv_c_compiler___INTEL_COMPILER=no
17588
17589 fi
17590
17591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17592
17593
17594 fi
17595 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17596 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17597 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17598 :; INTELCC=yes
17599 else
17600 :;
17601 fi
17602 ac_ext=c
17603 ac_cpp='$CPP $CPPFLAGS'
17604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17607
17608
17609
17610
17611 if test "x$GCC" != "xyes"; then
17612 if test "xCC" = "xC"; then
17613 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17614 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17615 if test "${bakefile_cv_c_exto+set}" = set; then
17616 echo $ECHO_N "(cached) $ECHO_C" >&6
17617 else
17618 cat >conftest.$ac_ext <<_ACEOF
17619 /* confdefs.h. */
17620 _ACEOF
17621 cat confdefs.h >>conftest.$ac_ext
17622 cat >>conftest.$ac_ext <<_ACEOF
17623 /* end confdefs.h. */
17624
17625 int
17626 main ()
17627 {
17628
17629 ;
17630 return 0;
17631 }
17632 _ACEOF
17633 rm -f conftest.$ac_objext conftest.$ac_ext.o
17634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17635 (eval $ac_compile) 2>&5
17636 ac_status=$?
17637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17638 (exit $ac_status); }; then
17639 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17640 case $ac_file in
17641 conftest.$ac_ext.o)
17642 bakefile_cv_c_exto="-ext o"
17643 ;;
17644 *)
17645 ;;
17646 esac
17647 done
17648 else
17649 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17650 See \`config.log' for more details." >&5
17651 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17652 See \`config.log' for more details." >&2;}
17653 { (exit 1); exit 1; }; }
17654
17655 fi
17656
17657 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17658
17659 fi
17660 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17661 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17662 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17663 if test "c" = "c"; then
17664 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17665 fi
17666 if test "c" = "cxx"; then
17667 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17668 fi
17669 fi
17670
17671 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17672 unset ac_cv_prog_cc_g
17673 ac_test_CFLAGS=${CFLAGS+set}
17674 ac_save_CFLAGS=$CFLAGS
17675 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17676 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17677 if test "${ac_cv_prog_cc_g+set}" = set; then
17678 echo $ECHO_N "(cached) $ECHO_C" >&6
17679 else
17680 ac_save_c_werror_flag=$ac_c_werror_flag
17681 ac_c_werror_flag=yes
17682 ac_cv_prog_cc_g=no
17683 CFLAGS="-g"
17684 cat >conftest.$ac_ext <<_ACEOF
17685 /* confdefs.h. */
17686 _ACEOF
17687 cat confdefs.h >>conftest.$ac_ext
17688 cat >>conftest.$ac_ext <<_ACEOF
17689 /* end confdefs.h. */
17690
17691 int
17692 main ()
17693 {
17694
17695 ;
17696 return 0;
17697 }
17698 _ACEOF
17699 rm -f conftest.$ac_objext
17700 if { (ac_try="$ac_compile"
17701 case "(($ac_try" in
17702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17703 *) ac_try_echo=$ac_try;;
17704 esac
17705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17706 (eval "$ac_compile") 2>conftest.er1
17707 ac_status=$?
17708 grep -v '^ *+' conftest.er1 >conftest.err
17709 rm -f conftest.er1
17710 cat conftest.err >&5
17711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17712 (exit $ac_status); } && {
17713 test -z "$ac_c_werror_flag" ||
17714 test ! -s conftest.err
17715 } && test -s conftest.$ac_objext; then
17716 ac_cv_prog_cc_g=yes
17717 else
17718 echo "$as_me: failed program was:" >&5
17719 sed 's/^/| /' conftest.$ac_ext >&5
17720
17721 CFLAGS=""
17722 cat >conftest.$ac_ext <<_ACEOF
17723 /* confdefs.h. */
17724 _ACEOF
17725 cat confdefs.h >>conftest.$ac_ext
17726 cat >>conftest.$ac_ext <<_ACEOF
17727 /* end confdefs.h. */
17728
17729 int
17730 main ()
17731 {
17732
17733 ;
17734 return 0;
17735 }
17736 _ACEOF
17737 rm -f conftest.$ac_objext
17738 if { (ac_try="$ac_compile"
17739 case "(($ac_try" in
17740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17741 *) ac_try_echo=$ac_try;;
17742 esac
17743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17744 (eval "$ac_compile") 2>conftest.er1
17745 ac_status=$?
17746 grep -v '^ *+' conftest.er1 >conftest.err
17747 rm -f conftest.er1
17748 cat conftest.err >&5
17749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750 (exit $ac_status); } && {
17751 test -z "$ac_c_werror_flag" ||
17752 test ! -s conftest.err
17753 } && test -s conftest.$ac_objext; then
17754 :
17755 else
17756 echo "$as_me: failed program was:" >&5
17757 sed 's/^/| /' conftest.$ac_ext >&5
17758
17759 ac_c_werror_flag=$ac_save_c_werror_flag
17760 CFLAGS="-g"
17761 cat >conftest.$ac_ext <<_ACEOF
17762 /* confdefs.h. */
17763 _ACEOF
17764 cat confdefs.h >>conftest.$ac_ext
17765 cat >>conftest.$ac_ext <<_ACEOF
17766 /* end confdefs.h. */
17767
17768 int
17769 main ()
17770 {
17771
17772 ;
17773 return 0;
17774 }
17775 _ACEOF
17776 rm -f conftest.$ac_objext
17777 if { (ac_try="$ac_compile"
17778 case "(($ac_try" in
17779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17780 *) ac_try_echo=$ac_try;;
17781 esac
17782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17783 (eval "$ac_compile") 2>conftest.er1
17784 ac_status=$?
17785 grep -v '^ *+' conftest.er1 >conftest.err
17786 rm -f conftest.er1
17787 cat conftest.err >&5
17788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17789 (exit $ac_status); } && {
17790 test -z "$ac_c_werror_flag" ||
17791 test ! -s conftest.err
17792 } && test -s conftest.$ac_objext; then
17793 ac_cv_prog_cc_g=yes
17794 else
17795 echo "$as_me: failed program was:" >&5
17796 sed 's/^/| /' conftest.$ac_ext >&5
17797
17798
17799 fi
17800
17801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17802 fi
17803
17804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17805 fi
17806
17807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17808 ac_c_werror_flag=$ac_save_c_werror_flag
17809 fi
17810 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17811 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17812 if test "$ac_test_CFLAGS" = set; then
17813 CFLAGS=$ac_save_CFLAGS
17814 elif test $ac_cv_prog_cc_g = yes; then
17815 if test "$GCC" = yes; then
17816 CFLAGS="-g -O2"
17817 else
17818 CFLAGS="-g"
17819 fi
17820 else
17821 if test "$GCC" = yes; then
17822 CFLAGS="-O2"
17823 else
17824 CFLAGS=
17825 fi
17826 fi
17827 fi
17828 fi
17829
17830 case `uname -s` in
17831 AIX*)
17832
17833
17834 ac_ext=c
17835 ac_cpp='$CPP $CPPFLAGS'
17836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17839
17840 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17841 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17842 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17843 echo $ECHO_N "(cached) $ECHO_C" >&6
17844 else
17845 cat >conftest.$ac_ext <<_ACEOF
17846 /* confdefs.h. */
17847 _ACEOF
17848 cat confdefs.h >>conftest.$ac_ext
17849 cat >>conftest.$ac_ext <<_ACEOF
17850 /* end confdefs.h. */
17851
17852 int
17853 main ()
17854 {
17855
17856 #ifndef __xlC__
17857 choke me
17858 #endif
17859
17860 ;
17861 return 0;
17862 }
17863 _ACEOF
17864 rm -f conftest.$ac_objext
17865 if { (ac_try="$ac_compile"
17866 case "(($ac_try" in
17867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17868 *) ac_try_echo=$ac_try;;
17869 esac
17870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17871 (eval "$ac_compile") 2>conftest.er1
17872 ac_status=$?
17873 grep -v '^ *+' conftest.er1 >conftest.err
17874 rm -f conftest.er1
17875 cat conftest.err >&5
17876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17877 (exit $ac_status); } && {
17878 test -z "$ac_c_werror_flag" ||
17879 test ! -s conftest.err
17880 } && test -s conftest.$ac_objext; then
17881 bakefile_cv_c_compiler___xlC__=yes
17882 else
17883 echo "$as_me: failed program was:" >&5
17884 sed 's/^/| /' conftest.$ac_ext >&5
17885
17886 bakefile_cv_c_compiler___xlC__=no
17887
17888 fi
17889
17890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17891
17892
17893 fi
17894 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17895 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17896 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17897 :; XLCC=yes
17898 else
17899 :;
17900 fi
17901 ac_ext=c
17902 ac_cpp='$CPP $CPPFLAGS'
17903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17906
17907
17908
17909 ;;
17910
17911 Darwin)
17912
17913
17914 ac_ext=c
17915 ac_cpp='$CPP $CPPFLAGS'
17916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17919
17920 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17921 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17922 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17923 echo $ECHO_N "(cached) $ECHO_C" >&6
17924 else
17925 cat >conftest.$ac_ext <<_ACEOF
17926 /* confdefs.h. */
17927 _ACEOF
17928 cat confdefs.h >>conftest.$ac_ext
17929 cat >>conftest.$ac_ext <<_ACEOF
17930 /* end confdefs.h. */
17931
17932 int
17933 main ()
17934 {
17935
17936 #ifndef __MWERKS__
17937 choke me
17938 #endif
17939
17940 ;
17941 return 0;
17942 }
17943 _ACEOF
17944 rm -f conftest.$ac_objext
17945 if { (ac_try="$ac_compile"
17946 case "(($ac_try" in
17947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17948 *) ac_try_echo=$ac_try;;
17949 esac
17950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17951 (eval "$ac_compile") 2>conftest.er1
17952 ac_status=$?
17953 grep -v '^ *+' conftest.er1 >conftest.err
17954 rm -f conftest.er1
17955 cat conftest.err >&5
17956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17957 (exit $ac_status); } && {
17958 test -z "$ac_c_werror_flag" ||
17959 test ! -s conftest.err
17960 } && test -s conftest.$ac_objext; then
17961 bakefile_cv_c_compiler___MWERKS__=yes
17962 else
17963 echo "$as_me: failed program was:" >&5
17964 sed 's/^/| /' conftest.$ac_ext >&5
17965
17966 bakefile_cv_c_compiler___MWERKS__=no
17967
17968 fi
17969
17970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17971
17972
17973 fi
17974 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17975 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
17976 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17977 :; MWCC=yes
17978 else
17979 :;
17980 fi
17981 ac_ext=c
17982 ac_cpp='$CPP $CPPFLAGS'
17983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17986
17987
17988
17989
17990
17991 ac_ext=c
17992 ac_cpp='$CPP $CPPFLAGS'
17993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17996
17997 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17998 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17999 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
18000 echo $ECHO_N "(cached) $ECHO_C" >&6
18001 else
18002 cat >conftest.$ac_ext <<_ACEOF
18003 /* confdefs.h. */
18004 _ACEOF
18005 cat confdefs.h >>conftest.$ac_ext
18006 cat >>conftest.$ac_ext <<_ACEOF
18007 /* end confdefs.h. */
18008
18009 int
18010 main ()
18011 {
18012
18013 #ifndef __xlC__
18014 choke me
18015 #endif
18016
18017 ;
18018 return 0;
18019 }
18020 _ACEOF
18021 rm -f conftest.$ac_objext
18022 if { (ac_try="$ac_compile"
18023 case "(($ac_try" in
18024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18025 *) ac_try_echo=$ac_try;;
18026 esac
18027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18028 (eval "$ac_compile") 2>conftest.er1
18029 ac_status=$?
18030 grep -v '^ *+' conftest.er1 >conftest.err
18031 rm -f conftest.er1
18032 cat conftest.err >&5
18033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18034 (exit $ac_status); } && {
18035 test -z "$ac_c_werror_flag" ||
18036 test ! -s conftest.err
18037 } && test -s conftest.$ac_objext; then
18038 bakefile_cv_c_compiler___xlC__=yes
18039 else
18040 echo "$as_me: failed program was:" >&5
18041 sed 's/^/| /' conftest.$ac_ext >&5
18042
18043 bakefile_cv_c_compiler___xlC__=no
18044
18045 fi
18046
18047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18048
18049
18050 fi
18051 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
18052 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
18053 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
18054 :; XLCC=yes
18055 else
18056 :;
18057 fi
18058 ac_ext=c
18059 ac_cpp='$CPP $CPPFLAGS'
18060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18063
18064
18065
18066 ;;
18067
18068 IRIX*)
18069
18070
18071 ac_ext=c
18072 ac_cpp='$CPP $CPPFLAGS'
18073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18076
18077 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
18078 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
18079 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
18080 echo $ECHO_N "(cached) $ECHO_C" >&6
18081 else
18082 cat >conftest.$ac_ext <<_ACEOF
18083 /* confdefs.h. */
18084 _ACEOF
18085 cat confdefs.h >>conftest.$ac_ext
18086 cat >>conftest.$ac_ext <<_ACEOF
18087 /* end confdefs.h. */
18088
18089 int
18090 main ()
18091 {
18092
18093 #ifndef _SGI_COMPILER_VERSION
18094 choke me
18095 #endif
18096
18097 ;
18098 return 0;
18099 }
18100 _ACEOF
18101 rm -f conftest.$ac_objext
18102 if { (ac_try="$ac_compile"
18103 case "(($ac_try" in
18104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18105 *) ac_try_echo=$ac_try;;
18106 esac
18107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18108 (eval "$ac_compile") 2>conftest.er1
18109 ac_status=$?
18110 grep -v '^ *+' conftest.er1 >conftest.err
18111 rm -f conftest.er1
18112 cat conftest.err >&5
18113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18114 (exit $ac_status); } && {
18115 test -z "$ac_c_werror_flag" ||
18116 test ! -s conftest.err
18117 } && test -s conftest.$ac_objext; then
18118 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
18119 else
18120 echo "$as_me: failed program was:" >&5
18121 sed 's/^/| /' conftest.$ac_ext >&5
18122
18123 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
18124
18125 fi
18126
18127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18128
18129
18130 fi
18131 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
18132 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
18133 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18134 :; SGICC=yes
18135 else
18136 :;
18137 fi
18138 ac_ext=c
18139 ac_cpp='$CPP $CPPFLAGS'
18140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18143
18144
18145
18146 ;;
18147
18148 Linux*)
18149
18150
18151 ac_ext=c
18152 ac_cpp='$CPP $CPPFLAGS'
18153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18156
18157 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18158 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18159 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18160 echo $ECHO_N "(cached) $ECHO_C" >&6
18161 else
18162 cat >conftest.$ac_ext <<_ACEOF
18163 /* confdefs.h. */
18164 _ACEOF
18165 cat confdefs.h >>conftest.$ac_ext
18166 cat >>conftest.$ac_ext <<_ACEOF
18167 /* end confdefs.h. */
18168
18169 int
18170 main ()
18171 {
18172
18173 #ifndef __SUNPRO_C
18174 choke me
18175 #endif
18176
18177 ;
18178 return 0;
18179 }
18180 _ACEOF
18181 rm -f conftest.$ac_objext
18182 if { (ac_try="$ac_compile"
18183 case "(($ac_try" in
18184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18185 *) ac_try_echo=$ac_try;;
18186 esac
18187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18188 (eval "$ac_compile") 2>conftest.er1
18189 ac_status=$?
18190 grep -v '^ *+' conftest.er1 >conftest.err
18191 rm -f conftest.er1
18192 cat conftest.err >&5
18193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18194 (exit $ac_status); } && {
18195 test -z "$ac_c_werror_flag" ||
18196 test ! -s conftest.err
18197 } && test -s conftest.$ac_objext; then
18198 bakefile_cv_c_compiler___SUNPRO_C=yes
18199 else
18200 echo "$as_me: failed program was:" >&5
18201 sed 's/^/| /' conftest.$ac_ext >&5
18202
18203 bakefile_cv_c_compiler___SUNPRO_C=no
18204
18205 fi
18206
18207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18208
18209
18210 fi
18211 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18212 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18213 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18214 :; SUNCC=yes
18215 else
18216 :;
18217 fi
18218 ac_ext=c
18219 ac_cpp='$CPP $CPPFLAGS'
18220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18223
18224
18225
18226 ;;
18227
18228 HP-UX*)
18229
18230
18231 ac_ext=c
18232 ac_cpp='$CPP $CPPFLAGS'
18233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18236
18237 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
18238 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
18239 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
18240 echo $ECHO_N "(cached) $ECHO_C" >&6
18241 else
18242 cat >conftest.$ac_ext <<_ACEOF
18243 /* confdefs.h. */
18244 _ACEOF
18245 cat confdefs.h >>conftest.$ac_ext
18246 cat >>conftest.$ac_ext <<_ACEOF
18247 /* end confdefs.h. */
18248
18249 int
18250 main ()
18251 {
18252
18253 #ifndef __HP_cc
18254 choke me
18255 #endif
18256
18257 ;
18258 return 0;
18259 }
18260 _ACEOF
18261 rm -f conftest.$ac_objext
18262 if { (ac_try="$ac_compile"
18263 case "(($ac_try" in
18264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18265 *) ac_try_echo=$ac_try;;
18266 esac
18267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18268 (eval "$ac_compile") 2>conftest.er1
18269 ac_status=$?
18270 grep -v '^ *+' conftest.er1 >conftest.err
18271 rm -f conftest.er1
18272 cat conftest.err >&5
18273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18274 (exit $ac_status); } && {
18275 test -z "$ac_c_werror_flag" ||
18276 test ! -s conftest.err
18277 } && test -s conftest.$ac_objext; then
18278 bakefile_cv_c_compiler___HP_cc=yes
18279 else
18280 echo "$as_me: failed program was:" >&5
18281 sed 's/^/| /' conftest.$ac_ext >&5
18282
18283 bakefile_cv_c_compiler___HP_cc=no
18284
18285 fi
18286
18287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18288
18289
18290 fi
18291 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
18292 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
18293 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
18294 :; HPCC=yes
18295 else
18296 :;
18297 fi
18298 ac_ext=c
18299 ac_cpp='$CPP $CPPFLAGS'
18300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18303
18304
18305
18306 ;;
18307
18308 OSF1)
18309
18310
18311 ac_ext=c
18312 ac_cpp='$CPP $CPPFLAGS'
18313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18316
18317 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
18318 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
18319 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
18320 echo $ECHO_N "(cached) $ECHO_C" >&6
18321 else
18322 cat >conftest.$ac_ext <<_ACEOF
18323 /* confdefs.h. */
18324 _ACEOF
18325 cat confdefs.h >>conftest.$ac_ext
18326 cat >>conftest.$ac_ext <<_ACEOF
18327 /* end confdefs.h. */
18328
18329 int
18330 main ()
18331 {
18332
18333 #ifndef __DECC
18334 choke me
18335 #endif
18336
18337 ;
18338 return 0;
18339 }
18340 _ACEOF
18341 rm -f conftest.$ac_objext
18342 if { (ac_try="$ac_compile"
18343 case "(($ac_try" in
18344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18345 *) ac_try_echo=$ac_try;;
18346 esac
18347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18348 (eval "$ac_compile") 2>conftest.er1
18349 ac_status=$?
18350 grep -v '^ *+' conftest.er1 >conftest.err
18351 rm -f conftest.er1
18352 cat conftest.err >&5
18353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354 (exit $ac_status); } && {
18355 test -z "$ac_c_werror_flag" ||
18356 test ! -s conftest.err
18357 } && test -s conftest.$ac_objext; then
18358 bakefile_cv_c_compiler___DECC=yes
18359 else
18360 echo "$as_me: failed program was:" >&5
18361 sed 's/^/| /' conftest.$ac_ext >&5
18362
18363 bakefile_cv_c_compiler___DECC=no
18364
18365 fi
18366
18367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18368
18369
18370 fi
18371 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
18372 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
18373 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
18374 :; COMPAQCC=yes
18375 else
18376 :;
18377 fi
18378 ac_ext=c
18379 ac_cpp='$CPP $CPPFLAGS'
18380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18383
18384
18385
18386 ;;
18387
18388 SunOS)
18389
18390
18391 ac_ext=c
18392 ac_cpp='$CPP $CPPFLAGS'
18393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18396
18397 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
18398 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
18399 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
18400 echo $ECHO_N "(cached) $ECHO_C" >&6
18401 else
18402 cat >conftest.$ac_ext <<_ACEOF
18403 /* confdefs.h. */
18404 _ACEOF
18405 cat confdefs.h >>conftest.$ac_ext
18406 cat >>conftest.$ac_ext <<_ACEOF
18407 /* end confdefs.h. */
18408
18409 int
18410 main ()
18411 {
18412
18413 #ifndef __SUNPRO_C
18414 choke me
18415 #endif
18416
18417 ;
18418 return 0;
18419 }
18420 _ACEOF
18421 rm -f conftest.$ac_objext
18422 if { (ac_try="$ac_compile"
18423 case "(($ac_try" in
18424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18425 *) ac_try_echo=$ac_try;;
18426 esac
18427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18428 (eval "$ac_compile") 2>conftest.er1
18429 ac_status=$?
18430 grep -v '^ *+' conftest.er1 >conftest.err
18431 rm -f conftest.er1
18432 cat conftest.err >&5
18433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18434 (exit $ac_status); } && {
18435 test -z "$ac_c_werror_flag" ||
18436 test ! -s conftest.err
18437 } && test -s conftest.$ac_objext; then
18438 bakefile_cv_c_compiler___SUNPRO_C=yes
18439 else
18440 echo "$as_me: failed program was:" >&5
18441 sed 's/^/| /' conftest.$ac_ext >&5
18442
18443 bakefile_cv_c_compiler___SUNPRO_C=no
18444
18445 fi
18446
18447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18448
18449
18450 fi
18451 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
18452 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
18453 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
18454 :; SUNCC=yes
18455 else
18456 :;
18457 fi
18458 ac_ext=c
18459 ac_cpp='$CPP $CPPFLAGS'
18460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18463
18464
18465
18466 ;;
18467 esac
18468 fi
18469
18470
18471
18472 ac_ext=c
18473 ac_cpp='$CPP $CPPFLAGS'
18474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18477 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
18478 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
18479 # On Suns, sometimes $CPP names a directory.
18480 if test -n "$CPP" && test -d "$CPP"; then
18481 CPP=
18482 fi
18483 if test -z "$CPP"; then
18484 if test "${ac_cv_prog_CPP+set}" = set; then
18485 echo $ECHO_N "(cached) $ECHO_C" >&6
18486 else
18487 # Double quotes because CPP needs to be expanded
18488 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18489 do
18490 ac_preproc_ok=false
18491 for ac_c_preproc_warn_flag in '' yes
18492 do
18493 # Use a header file that comes with gcc, so configuring glibc
18494 # with a fresh cross-compiler works.
18495 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18496 # <limits.h> exists even on freestanding compilers.
18497 # On the NeXT, cc -E runs the code through the compiler's parser,
18498 # not just through cpp. "Syntax error" is here to catch this case.
18499 cat >conftest.$ac_ext <<_ACEOF
18500 /* confdefs.h. */
18501 _ACEOF
18502 cat confdefs.h >>conftest.$ac_ext
18503 cat >>conftest.$ac_ext <<_ACEOF
18504 /* end confdefs.h. */
18505 #ifdef __STDC__
18506 # include <limits.h>
18507 #else
18508 # include <assert.h>
18509 #endif
18510 Syntax error
18511 _ACEOF
18512 if { (ac_try="$ac_cpp conftest.$ac_ext"
18513 case "(($ac_try" in
18514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18515 *) ac_try_echo=$ac_try;;
18516 esac
18517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18518 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18519 ac_status=$?
18520 grep -v '^ *+' conftest.er1 >conftest.err
18521 rm -f conftest.er1
18522 cat conftest.err >&5
18523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18524 (exit $ac_status); } >/dev/null && {
18525 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18526 test ! -s conftest.err
18527 }; then
18528 :
18529 else
18530 echo "$as_me: failed program was:" >&5
18531 sed 's/^/| /' conftest.$ac_ext >&5
18532
18533 # Broken: fails on valid input.
18534 continue
18535 fi
18536
18537 rm -f conftest.err conftest.$ac_ext
18538
18539 # OK, works on sane cases. Now check whether nonexistent headers
18540 # can be detected and how.
18541 cat >conftest.$ac_ext <<_ACEOF
18542 /* confdefs.h. */
18543 _ACEOF
18544 cat confdefs.h >>conftest.$ac_ext
18545 cat >>conftest.$ac_ext <<_ACEOF
18546 /* end confdefs.h. */
18547 #include <ac_nonexistent.h>
18548 _ACEOF
18549 if { (ac_try="$ac_cpp conftest.$ac_ext"
18550 case "(($ac_try" in
18551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18552 *) ac_try_echo=$ac_try;;
18553 esac
18554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18555 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18556 ac_status=$?
18557 grep -v '^ *+' conftest.er1 >conftest.err
18558 rm -f conftest.er1
18559 cat conftest.err >&5
18560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18561 (exit $ac_status); } >/dev/null && {
18562 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18563 test ! -s conftest.err
18564 }; then
18565 # Broken: success on invalid input.
18566 continue
18567 else
18568 echo "$as_me: failed program was:" >&5
18569 sed 's/^/| /' conftest.$ac_ext >&5
18570
18571 # Passes both tests.
18572 ac_preproc_ok=:
18573 break
18574 fi
18575
18576 rm -f conftest.err conftest.$ac_ext
18577
18578 done
18579 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18580 rm -f conftest.err conftest.$ac_ext
18581 if $ac_preproc_ok; then
18582 break
18583 fi
18584
18585 done
18586 ac_cv_prog_CPP=$CPP
18587
18588 fi
18589 CPP=$ac_cv_prog_CPP
18590 else
18591 ac_cv_prog_CPP=$CPP
18592 fi
18593 { echo "$as_me:$LINENO: result: $CPP" >&5
18594 echo "${ECHO_T}$CPP" >&6; }
18595 ac_preproc_ok=false
18596 for ac_c_preproc_warn_flag in '' yes
18597 do
18598 # Use a header file that comes with gcc, so configuring glibc
18599 # with a fresh cross-compiler works.
18600 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18601 # <limits.h> exists even on freestanding compilers.
18602 # On the NeXT, cc -E runs the code through the compiler's parser,
18603 # not just through cpp. "Syntax error" is here to catch this case.
18604 cat >conftest.$ac_ext <<_ACEOF
18605 /* confdefs.h. */
18606 _ACEOF
18607 cat confdefs.h >>conftest.$ac_ext
18608 cat >>conftest.$ac_ext <<_ACEOF
18609 /* end confdefs.h. */
18610 #ifdef __STDC__
18611 # include <limits.h>
18612 #else
18613 # include <assert.h>
18614 #endif
18615 Syntax error
18616 _ACEOF
18617 if { (ac_try="$ac_cpp conftest.$ac_ext"
18618 case "(($ac_try" in
18619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18620 *) ac_try_echo=$ac_try;;
18621 esac
18622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18623 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18624 ac_status=$?
18625 grep -v '^ *+' conftest.er1 >conftest.err
18626 rm -f conftest.er1
18627 cat conftest.err >&5
18628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18629 (exit $ac_status); } >/dev/null && {
18630 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18631 test ! -s conftest.err
18632 }; then
18633 :
18634 else
18635 echo "$as_me: failed program was:" >&5
18636 sed 's/^/| /' conftest.$ac_ext >&5
18637
18638 # Broken: fails on valid input.
18639 continue
18640 fi
18641
18642 rm -f conftest.err conftest.$ac_ext
18643
18644 # OK, works on sane cases. Now check whether nonexistent headers
18645 # can be detected and how.
18646 cat >conftest.$ac_ext <<_ACEOF
18647 /* confdefs.h. */
18648 _ACEOF
18649 cat confdefs.h >>conftest.$ac_ext
18650 cat >>conftest.$ac_ext <<_ACEOF
18651 /* end confdefs.h. */
18652 #include <ac_nonexistent.h>
18653 _ACEOF
18654 if { (ac_try="$ac_cpp conftest.$ac_ext"
18655 case "(($ac_try" in
18656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18657 *) ac_try_echo=$ac_try;;
18658 esac
18659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18660 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18661 ac_status=$?
18662 grep -v '^ *+' conftest.er1 >conftest.err
18663 rm -f conftest.er1
18664 cat conftest.err >&5
18665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18666 (exit $ac_status); } >/dev/null && {
18667 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18668 test ! -s conftest.err
18669 }; then
18670 # Broken: success on invalid input.
18671 continue
18672 else
18673 echo "$as_me: failed program was:" >&5
18674 sed 's/^/| /' conftest.$ac_ext >&5
18675
18676 # Passes both tests.
18677 ac_preproc_ok=:
18678 break
18679 fi
18680
18681 rm -f conftest.err conftest.$ac_ext
18682
18683 done
18684 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18685 rm -f conftest.err conftest.$ac_ext
18686 if $ac_preproc_ok; then
18687 :
18688 else
18689 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18690 See \`config.log' for more details." >&5
18691 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18692 See \`config.log' for more details." >&2;}
18693 { (exit 1); exit 1; }; }
18694 fi
18695
18696 ac_ext=c
18697 ac_cpp='$CPP $CPPFLAGS'
18698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18701
18702
18703 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
18704 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
18705 if test "${ac_cv_path_GREP+set}" = set; then
18706 echo $ECHO_N "(cached) $ECHO_C" >&6
18707 else
18708 # Extract the first word of "grep ggrep" to use in msg output
18709 if test -z "$GREP"; then
18710 set dummy grep ggrep; ac_prog_name=$2
18711 if test "${ac_cv_path_GREP+set}" = set; then
18712 echo $ECHO_N "(cached) $ECHO_C" >&6
18713 else
18714 ac_path_GREP_found=false
18715 # Loop through the user's path and test for each of PROGNAME-LIST
18716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18717 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18718 do
18719 IFS=$as_save_IFS
18720 test -z "$as_dir" && as_dir=.
18721 for ac_prog in grep ggrep; do
18722 for ac_exec_ext in '' $ac_executable_extensions; do
18723 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
18724 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18725 # Check for GNU ac_path_GREP and select it if it is found.
18726 # Check for GNU $ac_path_GREP
18727 case `"$ac_path_GREP" --version 2>&1` in
18728 *GNU*)
18729 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
18730 *)
18731 ac_count=0
18732 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18733 while :
18734 do
18735 cat "conftest.in" "conftest.in" >"conftest.tmp"
18736 mv "conftest.tmp" "conftest.in"
18737 cp "conftest.in" "conftest.nl"
18738 echo 'GREP' >> "conftest.nl"
18739 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18740 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18741 ac_count=`expr $ac_count + 1`
18742 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18743 # Best one so far, save it but keep looking for a better one
18744 ac_cv_path_GREP="$ac_path_GREP"
18745 ac_path_GREP_max=$ac_count
18746 fi
18747 # 10*(2^10) chars as input seems more than enough
18748 test $ac_count -gt 10 && break
18749 done
18750 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18751 esac
18752
18753
18754 $ac_path_GREP_found && break 3
18755 done
18756 done
18757
18758 done
18759 IFS=$as_save_IFS
18760
18761
18762 fi
18763
18764 GREP="$ac_cv_path_GREP"
18765 if test -z "$GREP"; then
18766 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18767 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18768 { (exit 1); exit 1; }; }
18769 fi
18770
18771 else
18772 ac_cv_path_GREP=$GREP
18773 fi
18774
18775
18776 fi
18777 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18778 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18779 GREP="$ac_cv_path_GREP"
18780
18781
18782 { echo "$as_me:$LINENO: checking for egrep" >&5
18783 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18784 if test "${ac_cv_path_EGREP+set}" = set; then
18785 echo $ECHO_N "(cached) $ECHO_C" >&6
18786 else
18787 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18788 then ac_cv_path_EGREP="$GREP -E"
18789 else
18790 # Extract the first word of "egrep" to use in msg output
18791 if test -z "$EGREP"; then
18792 set dummy egrep; ac_prog_name=$2
18793 if test "${ac_cv_path_EGREP+set}" = set; then
18794 echo $ECHO_N "(cached) $ECHO_C" >&6
18795 else
18796 ac_path_EGREP_found=false
18797 # Loop through the user's path and test for each of PROGNAME-LIST
18798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18799 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18800 do
18801 IFS=$as_save_IFS
18802 test -z "$as_dir" && as_dir=.
18803 for ac_prog in egrep; do
18804 for ac_exec_ext in '' $ac_executable_extensions; do
18805 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18806 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18807 # Check for GNU ac_path_EGREP and select it if it is found.
18808 # Check for GNU $ac_path_EGREP
18809 case `"$ac_path_EGREP" --version 2>&1` in
18810 *GNU*)
18811 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18812 *)
18813 ac_count=0
18814 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18815 while :
18816 do
18817 cat "conftest.in" "conftest.in" >"conftest.tmp"
18818 mv "conftest.tmp" "conftest.in"
18819 cp "conftest.in" "conftest.nl"
18820 echo 'EGREP' >> "conftest.nl"
18821 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18822 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18823 ac_count=`expr $ac_count + 1`
18824 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18825 # Best one so far, save it but keep looking for a better one
18826 ac_cv_path_EGREP="$ac_path_EGREP"
18827 ac_path_EGREP_max=$ac_count
18828 fi
18829 # 10*(2^10) chars as input seems more than enough
18830 test $ac_count -gt 10 && break
18831 done
18832 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18833 esac
18834
18835
18836 $ac_path_EGREP_found && break 3
18837 done
18838 done
18839
18840 done
18841 IFS=$as_save_IFS
18842
18843
18844 fi
18845
18846 EGREP="$ac_cv_path_EGREP"
18847 if test -z "$EGREP"; then
18848 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18849 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18850 { (exit 1); exit 1; }; }
18851 fi
18852
18853 else
18854 ac_cv_path_EGREP=$EGREP
18855 fi
18856
18857
18858 fi
18859 fi
18860 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18861 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18862 EGREP="$ac_cv_path_EGREP"
18863
18864
18865 if test $ac_cv_c_compiler_gnu = yes; then
18866 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18867 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18868 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18869 echo $ECHO_N "(cached) $ECHO_C" >&6
18870 else
18871 ac_pattern="Autoconf.*'x'"
18872 cat >conftest.$ac_ext <<_ACEOF
18873 /* confdefs.h. */
18874 _ACEOF
18875 cat confdefs.h >>conftest.$ac_ext
18876 cat >>conftest.$ac_ext <<_ACEOF
18877 /* end confdefs.h. */
18878 #include <sgtty.h>
18879 Autoconf TIOCGETP
18880 _ACEOF
18881 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18882 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18883 ac_cv_prog_gcc_traditional=yes
18884 else
18885 ac_cv_prog_gcc_traditional=no
18886 fi
18887 rm -f conftest*
18888
18889
18890 if test $ac_cv_prog_gcc_traditional = no; then
18891 cat >conftest.$ac_ext <<_ACEOF
18892 /* confdefs.h. */
18893 _ACEOF
18894 cat confdefs.h >>conftest.$ac_ext
18895 cat >>conftest.$ac_ext <<_ACEOF
18896 /* end confdefs.h. */
18897 #include <termio.h>
18898 Autoconf TCGETA
18899 _ACEOF
18900 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18901 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18902 ac_cv_prog_gcc_traditional=yes
18903 fi
18904 rm -f conftest*
18905
18906 fi
18907 fi
18908 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18909 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18910 if test $ac_cv_prog_gcc_traditional = yes; then
18911 CC="$CC -traditional"
18912 fi
18913 fi
18914
18915
18916 CXXFLAGS=${CXXFLAGS:=}
18917
18918
18919
18920 ac_ext=cpp
18921 ac_cpp='$CXXCPP $CPPFLAGS'
18922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18925 if test -z "$CXX"; then
18926 if test -n "$CCC"; then
18927 CXX=$CCC
18928 else
18929 if test -n "$ac_tool_prefix"; then
18930 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18931 do
18932 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18933 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18934 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18936 if test "${ac_cv_prog_CXX+set}" = set; then
18937 echo $ECHO_N "(cached) $ECHO_C" >&6
18938 else
18939 if test -n "$CXX"; then
18940 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18941 else
18942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18943 for as_dir in $PATH
18944 do
18945 IFS=$as_save_IFS
18946 test -z "$as_dir" && as_dir=.
18947 for ac_exec_ext in '' $ac_executable_extensions; do
18948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18949 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18951 break 2
18952 fi
18953 done
18954 done
18955 IFS=$as_save_IFS
18956
18957 fi
18958 fi
18959 CXX=$ac_cv_prog_CXX
18960 if test -n "$CXX"; then
18961 { echo "$as_me:$LINENO: result: $CXX" >&5
18962 echo "${ECHO_T}$CXX" >&6; }
18963 else
18964 { echo "$as_me:$LINENO: result: no" >&5
18965 echo "${ECHO_T}no" >&6; }
18966 fi
18967
18968
18969 test -n "$CXX" && break
18970 done
18971 fi
18972 if test -z "$CXX"; then
18973 ac_ct_CXX=$CXX
18974 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18975 do
18976 # Extract the first word of "$ac_prog", so it can be a program name with args.
18977 set dummy $ac_prog; ac_word=$2
18978 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18980 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
18981 echo $ECHO_N "(cached) $ECHO_C" >&6
18982 else
18983 if test -n "$ac_ct_CXX"; then
18984 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18985 else
18986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18987 for as_dir in $PATH
18988 do
18989 IFS=$as_save_IFS
18990 test -z "$as_dir" && as_dir=.
18991 for ac_exec_ext in '' $ac_executable_extensions; do
18992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18993 ac_cv_prog_ac_ct_CXX="$ac_prog"
18994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18995 break 2
18996 fi
18997 done
18998 done
18999 IFS=$as_save_IFS
19000
19001 fi
19002 fi
19003 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
19004 if test -n "$ac_ct_CXX"; then
19005 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
19006 echo "${ECHO_T}$ac_ct_CXX" >&6; }
19007 else
19008 { echo "$as_me:$LINENO: result: no" >&5
19009 echo "${ECHO_T}no" >&6; }
19010 fi
19011
19012
19013 test -n "$ac_ct_CXX" && break
19014 done
19015
19016 if test "x$ac_ct_CXX" = x; then
19017 CXX="g++"
19018 else
19019 case $cross_compiling:$ac_tool_warned in
19020 yes:)
19021 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19022 whose name does not start with the host triplet. If you think this
19023 configuration is useful to you, please write to autoconf@gnu.org." >&5
19024 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19025 whose name does not start with the host triplet. If you think this
19026 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19027 ac_tool_warned=yes ;;
19028 esac
19029 CXX=$ac_ct_CXX
19030 fi
19031 fi
19032
19033 fi
19034 fi
19035 # Provide some information about the compiler.
19036 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
19037 ac_compiler=`set X $ac_compile; echo $2`
19038 { (ac_try="$ac_compiler --version >&5"
19039 case "(($ac_try" in
19040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19041 *) ac_try_echo=$ac_try;;
19042 esac
19043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19044 (eval "$ac_compiler --version >&5") 2>&5
19045 ac_status=$?
19046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19047 (exit $ac_status); }
19048 { (ac_try="$ac_compiler -v >&5"
19049 case "(($ac_try" in
19050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19051 *) ac_try_echo=$ac_try;;
19052 esac
19053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19054 (eval "$ac_compiler -v >&5") 2>&5
19055 ac_status=$?
19056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19057 (exit $ac_status); }
19058 { (ac_try="$ac_compiler -V >&5"
19059 case "(($ac_try" in
19060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19061 *) ac_try_echo=$ac_try;;
19062 esac
19063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19064 (eval "$ac_compiler -V >&5") 2>&5
19065 ac_status=$?
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); }
19068
19069 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
19070 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
19071 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
19072 echo $ECHO_N "(cached) $ECHO_C" >&6
19073 else
19074 cat >conftest.$ac_ext <<_ACEOF
19075 /* confdefs.h. */
19076 _ACEOF
19077 cat confdefs.h >>conftest.$ac_ext
19078 cat >>conftest.$ac_ext <<_ACEOF
19079 /* end confdefs.h. */
19080
19081 int
19082 main ()
19083 {
19084 #ifndef __GNUC__
19085 choke me
19086 #endif
19087
19088 ;
19089 return 0;
19090 }
19091 _ACEOF
19092 rm -f conftest.$ac_objext
19093 if { (ac_try="$ac_compile"
19094 case "(($ac_try" in
19095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19096 *) ac_try_echo=$ac_try;;
19097 esac
19098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19099 (eval "$ac_compile") 2>conftest.er1
19100 ac_status=$?
19101 grep -v '^ *+' conftest.er1 >conftest.err
19102 rm -f conftest.er1
19103 cat conftest.err >&5
19104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19105 (exit $ac_status); } && {
19106 test -z "$ac_cxx_werror_flag" ||
19107 test ! -s conftest.err
19108 } && test -s conftest.$ac_objext; then
19109 ac_compiler_gnu=yes
19110 else
19111 echo "$as_me: failed program was:" >&5
19112 sed 's/^/| /' conftest.$ac_ext >&5
19113
19114 ac_compiler_gnu=no
19115 fi
19116
19117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19118 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
19119
19120 fi
19121 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19122 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
19123 GXX=`test $ac_compiler_gnu = yes && echo yes`
19124 ac_test_CXXFLAGS=${CXXFLAGS+set}
19125 ac_save_CXXFLAGS=$CXXFLAGS
19126 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19127 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
19128 if test "${ac_cv_prog_cxx_g+set}" = set; then
19129 echo $ECHO_N "(cached) $ECHO_C" >&6
19130 else
19131 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
19132 ac_cxx_werror_flag=yes
19133 ac_cv_prog_cxx_g=no
19134 CXXFLAGS="-g"
19135 cat >conftest.$ac_ext <<_ACEOF
19136 /* confdefs.h. */
19137 _ACEOF
19138 cat confdefs.h >>conftest.$ac_ext
19139 cat >>conftest.$ac_ext <<_ACEOF
19140 /* end confdefs.h. */
19141
19142 int
19143 main ()
19144 {
19145
19146 ;
19147 return 0;
19148 }
19149 _ACEOF
19150 rm -f conftest.$ac_objext
19151 if { (ac_try="$ac_compile"
19152 case "(($ac_try" in
19153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19154 *) ac_try_echo=$ac_try;;
19155 esac
19156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19157 (eval "$ac_compile") 2>conftest.er1
19158 ac_status=$?
19159 grep -v '^ *+' conftest.er1 >conftest.err
19160 rm -f conftest.er1
19161 cat conftest.err >&5
19162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19163 (exit $ac_status); } && {
19164 test -z "$ac_cxx_werror_flag" ||
19165 test ! -s conftest.err
19166 } && test -s conftest.$ac_objext; then
19167 ac_cv_prog_cxx_g=yes
19168 else
19169 echo "$as_me: failed program was:" >&5
19170 sed 's/^/| /' conftest.$ac_ext >&5
19171
19172 CXXFLAGS=""
19173 cat >conftest.$ac_ext <<_ACEOF
19174 /* confdefs.h. */
19175 _ACEOF
19176 cat confdefs.h >>conftest.$ac_ext
19177 cat >>conftest.$ac_ext <<_ACEOF
19178 /* end confdefs.h. */
19179
19180 int
19181 main ()
19182 {
19183
19184 ;
19185 return 0;
19186 }
19187 _ACEOF
19188 rm -f conftest.$ac_objext
19189 if { (ac_try="$ac_compile"
19190 case "(($ac_try" in
19191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19192 *) ac_try_echo=$ac_try;;
19193 esac
19194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19195 (eval "$ac_compile") 2>conftest.er1
19196 ac_status=$?
19197 grep -v '^ *+' conftest.er1 >conftest.err
19198 rm -f conftest.er1
19199 cat conftest.err >&5
19200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19201 (exit $ac_status); } && {
19202 test -z "$ac_cxx_werror_flag" ||
19203 test ! -s conftest.err
19204 } && test -s conftest.$ac_objext; then
19205 :
19206 else
19207 echo "$as_me: failed program was:" >&5
19208 sed 's/^/| /' conftest.$ac_ext >&5
19209
19210 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19211 CXXFLAGS="-g"
19212 cat >conftest.$ac_ext <<_ACEOF
19213 /* confdefs.h. */
19214 _ACEOF
19215 cat confdefs.h >>conftest.$ac_ext
19216 cat >>conftest.$ac_ext <<_ACEOF
19217 /* end confdefs.h. */
19218
19219 int
19220 main ()
19221 {
19222
19223 ;
19224 return 0;
19225 }
19226 _ACEOF
19227 rm -f conftest.$ac_objext
19228 if { (ac_try="$ac_compile"
19229 case "(($ac_try" in
19230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19231 *) ac_try_echo=$ac_try;;
19232 esac
19233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19234 (eval "$ac_compile") 2>conftest.er1
19235 ac_status=$?
19236 grep -v '^ *+' conftest.er1 >conftest.err
19237 rm -f conftest.er1
19238 cat conftest.err >&5
19239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19240 (exit $ac_status); } && {
19241 test -z "$ac_cxx_werror_flag" ||
19242 test ! -s conftest.err
19243 } && test -s conftest.$ac_objext; then
19244 ac_cv_prog_cxx_g=yes
19245 else
19246 echo "$as_me: failed program was:" >&5
19247 sed 's/^/| /' conftest.$ac_ext >&5
19248
19249
19250 fi
19251
19252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19253 fi
19254
19255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19256 fi
19257
19258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19259 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
19260 fi
19261 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19262 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
19263 if test "$ac_test_CXXFLAGS" = set; then
19264 CXXFLAGS=$ac_save_CXXFLAGS
19265 elif test $ac_cv_prog_cxx_g = yes; then
19266 if test "$GXX" = yes; then
19267 CXXFLAGS="-g -O2"
19268 else
19269 CXXFLAGS="-g"
19270 fi
19271 else
19272 if test "$GXX" = yes; then
19273 CXXFLAGS="-O2"
19274 else
19275 CXXFLAGS=
19276 fi
19277 fi
19278 ac_ext=c
19279 ac_cpp='$CPP $CPPFLAGS'
19280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19283
19284
19285
19286
19287 ac_ext=cpp
19288 ac_cpp='$CXXCPP $CPPFLAGS'
19289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19292
19293 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
19294 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
19295 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
19296 echo $ECHO_N "(cached) $ECHO_C" >&6
19297 else
19298 cat >conftest.$ac_ext <<_ACEOF
19299 /* confdefs.h. */
19300 _ACEOF
19301 cat confdefs.h >>conftest.$ac_ext
19302 cat >>conftest.$ac_ext <<_ACEOF
19303 /* end confdefs.h. */
19304
19305 int
19306 main ()
19307 {
19308
19309 #ifndef __INTEL_COMPILER
19310 choke me
19311 #endif
19312
19313 ;
19314 return 0;
19315 }
19316 _ACEOF
19317 rm -f conftest.$ac_objext
19318 if { (ac_try="$ac_compile"
19319 case "(($ac_try" in
19320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19321 *) ac_try_echo=$ac_try;;
19322 esac
19323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19324 (eval "$ac_compile") 2>conftest.er1
19325 ac_status=$?
19326 grep -v '^ *+' conftest.er1 >conftest.err
19327 rm -f conftest.er1
19328 cat conftest.err >&5
19329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19330 (exit $ac_status); } && {
19331 test -z "$ac_cxx_werror_flag" ||
19332 test ! -s conftest.err
19333 } && test -s conftest.$ac_objext; then
19334 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
19335 else
19336 echo "$as_me: failed program was:" >&5
19337 sed 's/^/| /' conftest.$ac_ext >&5
19338
19339 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
19340
19341 fi
19342
19343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19344
19345
19346 fi
19347 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
19348 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
19349 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
19350 :; INTELCXX=yes
19351 else
19352 :;
19353 fi
19354 ac_ext=c
19355 ac_cpp='$CPP $CPPFLAGS'
19356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19359
19360
19361
19362
19363 if test "x$GCXX" != "xyes"; then
19364 if test "xCXX" = "xC"; then
19365 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
19366 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
19367 if test "${bakefile_cv_c_exto+set}" = set; then
19368 echo $ECHO_N "(cached) $ECHO_C" >&6
19369 else
19370 cat >conftest.$ac_ext <<_ACEOF
19371 /* confdefs.h. */
19372 _ACEOF
19373 cat confdefs.h >>conftest.$ac_ext
19374 cat >>conftest.$ac_ext <<_ACEOF
19375 /* end confdefs.h. */
19376
19377 int
19378 main ()
19379 {
19380
19381 ;
19382 return 0;
19383 }
19384 _ACEOF
19385 rm -f conftest.$ac_objext conftest.$ac_ext.o
19386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19387 (eval $ac_compile) 2>&5
19388 ac_status=$?
19389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19390 (exit $ac_status); }; then
19391 for ac_file in `(ls conftest.* 2>/dev/null)`; do
19392 case $ac_file in
19393 conftest.$ac_ext.o)
19394 bakefile_cv_c_exto="-ext o"
19395 ;;
19396 *)
19397 ;;
19398 esac
19399 done
19400 else
19401 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
19402 See \`config.log' for more details." >&5
19403 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
19404 See \`config.log' for more details." >&2;}
19405 { (exit 1); exit 1; }; }
19406
19407 fi
19408
19409 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
19410
19411 fi
19412 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
19413 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
19414 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19415 if test "c" = "c"; then
19416 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
19417 fi
19418 if test "c" = "cxx"; then
19419 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
19420 fi
19421 fi
19422
19423 if test "x$bakefile_cv_c_exto" '!=' "x"; then
19424 unset ac_cv_prog_cc_g
19425 ac_test_CFLAGS=${CFLAGS+set}
19426 ac_save_CFLAGS=$CFLAGS
19427 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
19428 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
19429 if test "${ac_cv_prog_cc_g+set}" = set; then
19430 echo $ECHO_N "(cached) $ECHO_C" >&6
19431 else
19432 ac_save_c_werror_flag=$ac_c_werror_flag
19433 ac_c_werror_flag=yes
19434 ac_cv_prog_cc_g=no
19435 CFLAGS="-g"
19436 cat >conftest.$ac_ext <<_ACEOF
19437 /* confdefs.h. */
19438 _ACEOF
19439 cat confdefs.h >>conftest.$ac_ext
19440 cat >>conftest.$ac_ext <<_ACEOF
19441 /* end confdefs.h. */
19442
19443 int
19444 main ()
19445 {
19446
19447 ;
19448 return 0;
19449 }
19450 _ACEOF
19451 rm -f conftest.$ac_objext
19452 if { (ac_try="$ac_compile"
19453 case "(($ac_try" in
19454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19455 *) ac_try_echo=$ac_try;;
19456 esac
19457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19458 (eval "$ac_compile") 2>conftest.er1
19459 ac_status=$?
19460 grep -v '^ *+' conftest.er1 >conftest.err
19461 rm -f conftest.er1
19462 cat conftest.err >&5
19463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19464 (exit $ac_status); } && {
19465 test -z "$ac_c_werror_flag" ||
19466 test ! -s conftest.err
19467 } && test -s conftest.$ac_objext; then
19468 ac_cv_prog_cc_g=yes
19469 else
19470 echo "$as_me: failed program was:" >&5
19471 sed 's/^/| /' conftest.$ac_ext >&5
19472
19473 CFLAGS=""
19474 cat >conftest.$ac_ext <<_ACEOF
19475 /* confdefs.h. */
19476 _ACEOF
19477 cat confdefs.h >>conftest.$ac_ext
19478 cat >>conftest.$ac_ext <<_ACEOF
19479 /* end confdefs.h. */
19480
19481 int
19482 main ()
19483 {
19484
19485 ;
19486 return 0;
19487 }
19488 _ACEOF
19489 rm -f conftest.$ac_objext
19490 if { (ac_try="$ac_compile"
19491 case "(($ac_try" in
19492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19493 *) ac_try_echo=$ac_try;;
19494 esac
19495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19496 (eval "$ac_compile") 2>conftest.er1
19497 ac_status=$?
19498 grep -v '^ *+' conftest.er1 >conftest.err
19499 rm -f conftest.er1
19500 cat conftest.err >&5
19501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19502 (exit $ac_status); } && {
19503 test -z "$ac_c_werror_flag" ||
19504 test ! -s conftest.err
19505 } && test -s conftest.$ac_objext; then
19506 :
19507 else
19508 echo "$as_me: failed program was:" >&5
19509 sed 's/^/| /' conftest.$ac_ext >&5
19510
19511 ac_c_werror_flag=$ac_save_c_werror_flag
19512 CFLAGS="-g"
19513 cat >conftest.$ac_ext <<_ACEOF
19514 /* confdefs.h. */
19515 _ACEOF
19516 cat confdefs.h >>conftest.$ac_ext
19517 cat >>conftest.$ac_ext <<_ACEOF
19518 /* end confdefs.h. */
19519
19520 int
19521 main ()
19522 {
19523
19524 ;
19525 return 0;
19526 }
19527 _ACEOF
19528 rm -f conftest.$ac_objext
19529 if { (ac_try="$ac_compile"
19530 case "(($ac_try" in
19531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19532 *) ac_try_echo=$ac_try;;
19533 esac
19534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19535 (eval "$ac_compile") 2>conftest.er1
19536 ac_status=$?
19537 grep -v '^ *+' conftest.er1 >conftest.err
19538 rm -f conftest.er1
19539 cat conftest.err >&5
19540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19541 (exit $ac_status); } && {
19542 test -z "$ac_c_werror_flag" ||
19543 test ! -s conftest.err
19544 } && test -s conftest.$ac_objext; then
19545 ac_cv_prog_cc_g=yes
19546 else
19547 echo "$as_me: failed program was:" >&5
19548 sed 's/^/| /' conftest.$ac_ext >&5
19549
19550
19551 fi
19552
19553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19554 fi
19555
19556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19557 fi
19558
19559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19560 ac_c_werror_flag=$ac_save_c_werror_flag
19561 fi
19562 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19563 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
19564 if test "$ac_test_CFLAGS" = set; then
19565 CFLAGS=$ac_save_CFLAGS
19566 elif test $ac_cv_prog_cc_g = yes; then
19567 if test "$GCC" = yes; then
19568 CFLAGS="-g -O2"
19569 else
19570 CFLAGS="-g"
19571 fi
19572 else
19573 if test "$GCC" = yes; then
19574 CFLAGS="-O2"
19575 else
19576 CFLAGS=
19577 fi
19578 fi
19579 fi
19580 fi
19581
19582 case `uname -s` in
19583 AIX*)
19584
19585
19586 ac_ext=cpp
19587 ac_cpp='$CXXCPP $CPPFLAGS'
19588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19591
19592 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19593 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19594 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19595 echo $ECHO_N "(cached) $ECHO_C" >&6
19596 else
19597 cat >conftest.$ac_ext <<_ACEOF
19598 /* confdefs.h. */
19599 _ACEOF
19600 cat confdefs.h >>conftest.$ac_ext
19601 cat >>conftest.$ac_ext <<_ACEOF
19602 /* end confdefs.h. */
19603
19604 int
19605 main ()
19606 {
19607
19608 #ifndef __xlC__
19609 choke me
19610 #endif
19611
19612 ;
19613 return 0;
19614 }
19615 _ACEOF
19616 rm -f conftest.$ac_objext
19617 if { (ac_try="$ac_compile"
19618 case "(($ac_try" in
19619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19620 *) ac_try_echo=$ac_try;;
19621 esac
19622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19623 (eval "$ac_compile") 2>conftest.er1
19624 ac_status=$?
19625 grep -v '^ *+' conftest.er1 >conftest.err
19626 rm -f conftest.er1
19627 cat conftest.err >&5
19628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19629 (exit $ac_status); } && {
19630 test -z "$ac_cxx_werror_flag" ||
19631 test ! -s conftest.err
19632 } && test -s conftest.$ac_objext; then
19633 bakefile_cv_cxx_compiler___xlC__=yes
19634 else
19635 echo "$as_me: failed program was:" >&5
19636 sed 's/^/| /' conftest.$ac_ext >&5
19637
19638 bakefile_cv_cxx_compiler___xlC__=no
19639
19640 fi
19641
19642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19643
19644
19645 fi
19646 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19647 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19648 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19649 :; XLCXX=yes
19650 else
19651 :;
19652 fi
19653 ac_ext=c
19654 ac_cpp='$CPP $CPPFLAGS'
19655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19658
19659
19660
19661 ;;
19662
19663 Darwin)
19664
19665
19666 ac_ext=cpp
19667 ac_cpp='$CXXCPP $CPPFLAGS'
19668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19671
19672 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
19673 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
19674 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
19675 echo $ECHO_N "(cached) $ECHO_C" >&6
19676 else
19677 cat >conftest.$ac_ext <<_ACEOF
19678 /* confdefs.h. */
19679 _ACEOF
19680 cat confdefs.h >>conftest.$ac_ext
19681 cat >>conftest.$ac_ext <<_ACEOF
19682 /* end confdefs.h. */
19683
19684 int
19685 main ()
19686 {
19687
19688 #ifndef __MWERKS__
19689 choke me
19690 #endif
19691
19692 ;
19693 return 0;
19694 }
19695 _ACEOF
19696 rm -f conftest.$ac_objext
19697 if { (ac_try="$ac_compile"
19698 case "(($ac_try" in
19699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19700 *) ac_try_echo=$ac_try;;
19701 esac
19702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19703 (eval "$ac_compile") 2>conftest.er1
19704 ac_status=$?
19705 grep -v '^ *+' conftest.er1 >conftest.err
19706 rm -f conftest.er1
19707 cat conftest.err >&5
19708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19709 (exit $ac_status); } && {
19710 test -z "$ac_cxx_werror_flag" ||
19711 test ! -s conftest.err
19712 } && test -s conftest.$ac_objext; then
19713 bakefile_cv_cxx_compiler___MWERKS__=yes
19714 else
19715 echo "$as_me: failed program was:" >&5
19716 sed 's/^/| /' conftest.$ac_ext >&5
19717
19718 bakefile_cv_cxx_compiler___MWERKS__=no
19719
19720 fi
19721
19722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19723
19724
19725 fi
19726 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19727 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19728 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19729 :; MWCXX=yes
19730 else
19731 :;
19732 fi
19733 ac_ext=c
19734 ac_cpp='$CPP $CPPFLAGS'
19735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19738
19739
19740
19741
19742
19743 ac_ext=cpp
19744 ac_cpp='$CXXCPP $CPPFLAGS'
19745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19748
19749 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19750 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19751 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19752 echo $ECHO_N "(cached) $ECHO_C" >&6
19753 else
19754 cat >conftest.$ac_ext <<_ACEOF
19755 /* confdefs.h. */
19756 _ACEOF
19757 cat confdefs.h >>conftest.$ac_ext
19758 cat >>conftest.$ac_ext <<_ACEOF
19759 /* end confdefs.h. */
19760
19761 int
19762 main ()
19763 {
19764
19765 #ifndef __xlC__
19766 choke me
19767 #endif
19768
19769 ;
19770 return 0;
19771 }
19772 _ACEOF
19773 rm -f conftest.$ac_objext
19774 if { (ac_try="$ac_compile"
19775 case "(($ac_try" in
19776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19777 *) ac_try_echo=$ac_try;;
19778 esac
19779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19780 (eval "$ac_compile") 2>conftest.er1
19781 ac_status=$?
19782 grep -v '^ *+' conftest.er1 >conftest.err
19783 rm -f conftest.er1
19784 cat conftest.err >&5
19785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19786 (exit $ac_status); } && {
19787 test -z "$ac_cxx_werror_flag" ||
19788 test ! -s conftest.err
19789 } && test -s conftest.$ac_objext; then
19790 bakefile_cv_cxx_compiler___xlC__=yes
19791 else
19792 echo "$as_me: failed program was:" >&5
19793 sed 's/^/| /' conftest.$ac_ext >&5
19794
19795 bakefile_cv_cxx_compiler___xlC__=no
19796
19797 fi
19798
19799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19800
19801
19802 fi
19803 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19804 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19805 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19806 :; XLCXX=yes
19807 else
19808 :;
19809 fi
19810 ac_ext=c
19811 ac_cpp='$CPP $CPPFLAGS'
19812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19815
19816
19817
19818 ;;
19819
19820 IRIX*)
19821
19822
19823 ac_ext=cpp
19824 ac_cpp='$CXXCPP $CPPFLAGS'
19825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19828
19829 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19830 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19831 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19832 echo $ECHO_N "(cached) $ECHO_C" >&6
19833 else
19834 cat >conftest.$ac_ext <<_ACEOF
19835 /* confdefs.h. */
19836 _ACEOF
19837 cat confdefs.h >>conftest.$ac_ext
19838 cat >>conftest.$ac_ext <<_ACEOF
19839 /* end confdefs.h. */
19840
19841 int
19842 main ()
19843 {
19844
19845 #ifndef _SGI_COMPILER_VERSION
19846 choke me
19847 #endif
19848
19849 ;
19850 return 0;
19851 }
19852 _ACEOF
19853 rm -f conftest.$ac_objext
19854 if { (ac_try="$ac_compile"
19855 case "(($ac_try" in
19856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19857 *) ac_try_echo=$ac_try;;
19858 esac
19859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19860 (eval "$ac_compile") 2>conftest.er1
19861 ac_status=$?
19862 grep -v '^ *+' conftest.er1 >conftest.err
19863 rm -f conftest.er1
19864 cat conftest.err >&5
19865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866 (exit $ac_status); } && {
19867 test -z "$ac_cxx_werror_flag" ||
19868 test ! -s conftest.err
19869 } && test -s conftest.$ac_objext; then
19870 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19871 else
19872 echo "$as_me: failed program was:" >&5
19873 sed 's/^/| /' conftest.$ac_ext >&5
19874
19875 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19876
19877 fi
19878
19879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19880
19881
19882 fi
19883 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19884 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19885 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19886 :; SGICXX=yes
19887 else
19888 :;
19889 fi
19890 ac_ext=c
19891 ac_cpp='$CPP $CPPFLAGS'
19892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19895
19896
19897
19898 ;;
19899
19900 Linux*)
19901
19902
19903 ac_ext=cpp
19904 ac_cpp='$CXXCPP $CPPFLAGS'
19905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19908
19909 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19910 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19911 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19912 echo $ECHO_N "(cached) $ECHO_C" >&6
19913 else
19914 cat >conftest.$ac_ext <<_ACEOF
19915 /* confdefs.h. */
19916 _ACEOF
19917 cat confdefs.h >>conftest.$ac_ext
19918 cat >>conftest.$ac_ext <<_ACEOF
19919 /* end confdefs.h. */
19920
19921 int
19922 main ()
19923 {
19924
19925 #ifndef __SUNPRO_CC
19926 choke me
19927 #endif
19928
19929 ;
19930 return 0;
19931 }
19932 _ACEOF
19933 rm -f conftest.$ac_objext
19934 if { (ac_try="$ac_compile"
19935 case "(($ac_try" in
19936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19937 *) ac_try_echo=$ac_try;;
19938 esac
19939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19940 (eval "$ac_compile") 2>conftest.er1
19941 ac_status=$?
19942 grep -v '^ *+' conftest.er1 >conftest.err
19943 rm -f conftest.er1
19944 cat conftest.err >&5
19945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19946 (exit $ac_status); } && {
19947 test -z "$ac_cxx_werror_flag" ||
19948 test ! -s conftest.err
19949 } && test -s conftest.$ac_objext; then
19950 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19951 else
19952 echo "$as_me: failed program was:" >&5
19953 sed 's/^/| /' conftest.$ac_ext >&5
19954
19955 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19956
19957 fi
19958
19959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19960
19961
19962 fi
19963 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19964 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19965 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19966 :; SUNCXX=yes
19967 else
19968 :;
19969 fi
19970 ac_ext=c
19971 ac_cpp='$CPP $CPPFLAGS'
19972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19975
19976
19977
19978 ;;
19979
19980 HP-UX*)
19981
19982
19983 ac_ext=cpp
19984 ac_cpp='$CXXCPP $CPPFLAGS'
19985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19988
19989 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
19990 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
19991 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
19992 echo $ECHO_N "(cached) $ECHO_C" >&6
19993 else
19994 cat >conftest.$ac_ext <<_ACEOF
19995 /* confdefs.h. */
19996 _ACEOF
19997 cat confdefs.h >>conftest.$ac_ext
19998 cat >>conftest.$ac_ext <<_ACEOF
19999 /* end confdefs.h. */
20000
20001 int
20002 main ()
20003 {
20004
20005 #ifndef __HP_aCC
20006 choke me
20007 #endif
20008
20009 ;
20010 return 0;
20011 }
20012 _ACEOF
20013 rm -f conftest.$ac_objext
20014 if { (ac_try="$ac_compile"
20015 case "(($ac_try" in
20016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20017 *) ac_try_echo=$ac_try;;
20018 esac
20019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20020 (eval "$ac_compile") 2>conftest.er1
20021 ac_status=$?
20022 grep -v '^ *+' conftest.er1 >conftest.err
20023 rm -f conftest.er1
20024 cat conftest.err >&5
20025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20026 (exit $ac_status); } && {
20027 test -z "$ac_cxx_werror_flag" ||
20028 test ! -s conftest.err
20029 } && test -s conftest.$ac_objext; then
20030 bakefile_cv_cxx_compiler___HP_aCC=yes
20031 else
20032 echo "$as_me: failed program was:" >&5
20033 sed 's/^/| /' conftest.$ac_ext >&5
20034
20035 bakefile_cv_cxx_compiler___HP_aCC=no
20036
20037 fi
20038
20039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20040
20041
20042 fi
20043 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
20044 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
20045 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
20046 :; HPCXX=yes
20047 else
20048 :;
20049 fi
20050 ac_ext=c
20051 ac_cpp='$CPP $CPPFLAGS'
20052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20055
20056
20057
20058 ;;
20059
20060 OSF1)
20061
20062
20063 ac_ext=cpp
20064 ac_cpp='$CXXCPP $CPPFLAGS'
20065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20068
20069 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
20070 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
20071 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
20072 echo $ECHO_N "(cached) $ECHO_C" >&6
20073 else
20074 cat >conftest.$ac_ext <<_ACEOF
20075 /* confdefs.h. */
20076 _ACEOF
20077 cat confdefs.h >>conftest.$ac_ext
20078 cat >>conftest.$ac_ext <<_ACEOF
20079 /* end confdefs.h. */
20080
20081 int
20082 main ()
20083 {
20084
20085 #ifndef __DECCXX
20086 choke me
20087 #endif
20088
20089 ;
20090 return 0;
20091 }
20092 _ACEOF
20093 rm -f conftest.$ac_objext
20094 if { (ac_try="$ac_compile"
20095 case "(($ac_try" in
20096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20097 *) ac_try_echo=$ac_try;;
20098 esac
20099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20100 (eval "$ac_compile") 2>conftest.er1
20101 ac_status=$?
20102 grep -v '^ *+' conftest.er1 >conftest.err
20103 rm -f conftest.er1
20104 cat conftest.err >&5
20105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20106 (exit $ac_status); } && {
20107 test -z "$ac_cxx_werror_flag" ||
20108 test ! -s conftest.err
20109 } && test -s conftest.$ac_objext; then
20110 bakefile_cv_cxx_compiler___DECCXX=yes
20111 else
20112 echo "$as_me: failed program was:" >&5
20113 sed 's/^/| /' conftest.$ac_ext >&5
20114
20115 bakefile_cv_cxx_compiler___DECCXX=no
20116
20117 fi
20118
20119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20120
20121
20122 fi
20123 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
20124 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
20125 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
20126 :; COMPAQCXX=yes
20127 else
20128 :;
20129 fi
20130 ac_ext=c
20131 ac_cpp='$CPP $CPPFLAGS'
20132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20135
20136
20137
20138 ;;
20139
20140 SunOS)
20141
20142
20143 ac_ext=cpp
20144 ac_cpp='$CXXCPP $CPPFLAGS'
20145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20148
20149 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
20150 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
20151 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
20152 echo $ECHO_N "(cached) $ECHO_C" >&6
20153 else
20154 cat >conftest.$ac_ext <<_ACEOF
20155 /* confdefs.h. */
20156 _ACEOF
20157 cat confdefs.h >>conftest.$ac_ext
20158 cat >>conftest.$ac_ext <<_ACEOF
20159 /* end confdefs.h. */
20160
20161 int
20162 main ()
20163 {
20164
20165 #ifndef __SUNPRO_CC
20166 choke me
20167 #endif
20168
20169 ;
20170 return 0;
20171 }
20172 _ACEOF
20173 rm -f conftest.$ac_objext
20174 if { (ac_try="$ac_compile"
20175 case "(($ac_try" in
20176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20177 *) ac_try_echo=$ac_try;;
20178 esac
20179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20180 (eval "$ac_compile") 2>conftest.er1
20181 ac_status=$?
20182 grep -v '^ *+' conftest.er1 >conftest.err
20183 rm -f conftest.er1
20184 cat conftest.err >&5
20185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20186 (exit $ac_status); } && {
20187 test -z "$ac_cxx_werror_flag" ||
20188 test ! -s conftest.err
20189 } && test -s conftest.$ac_objext; then
20190 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
20191 else
20192 echo "$as_me: failed program was:" >&5
20193 sed 's/^/| /' conftest.$ac_ext >&5
20194
20195 bakefile_cv_cxx_compiler___SUNPRO_CC=no
20196
20197 fi
20198
20199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20200
20201
20202 fi
20203 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
20204 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
20205 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
20206 :; SUNCXX=yes
20207 else
20208 :;
20209 fi
20210 ac_ext=c
20211 ac_cpp='$CPP $CPPFLAGS'
20212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20215
20216
20217
20218 ;;
20219 esac
20220 fi
20221
20222
20223
20224 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
20225 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
20226 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
20227 { (exit 1); exit 1; }; }
20228 fi
20229
20230 if test "x$SUNCXX" != xyes; then
20231 if test -n "$ac_tool_prefix"; then
20232 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
20233 set dummy ${ac_tool_prefix}ar; ac_word=$2
20234 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20236 if test "${ac_cv_prog_AR+set}" = set; then
20237 echo $ECHO_N "(cached) $ECHO_C" >&6
20238 else
20239 if test -n "$AR"; then
20240 ac_cv_prog_AR="$AR" # Let the user override the test.
20241 else
20242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20243 for as_dir in $PATH
20244 do
20245 IFS=$as_save_IFS
20246 test -z "$as_dir" && as_dir=.
20247 for ac_exec_ext in '' $ac_executable_extensions; do
20248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20249 ac_cv_prog_AR="${ac_tool_prefix}ar"
20250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20251 break 2
20252 fi
20253 done
20254 done
20255 IFS=$as_save_IFS
20256
20257 fi
20258 fi
20259 AR=$ac_cv_prog_AR
20260 if test -n "$AR"; then
20261 { echo "$as_me:$LINENO: result: $AR" >&5
20262 echo "${ECHO_T}$AR" >&6; }
20263 else
20264 { echo "$as_me:$LINENO: result: no" >&5
20265 echo "${ECHO_T}no" >&6; }
20266 fi
20267
20268
20269 fi
20270 if test -z "$ac_cv_prog_AR"; then
20271 ac_ct_AR=$AR
20272 # Extract the first word of "ar", so it can be a program name with args.
20273 set dummy ar; ac_word=$2
20274 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20276 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
20277 echo $ECHO_N "(cached) $ECHO_C" >&6
20278 else
20279 if test -n "$ac_ct_AR"; then
20280 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
20281 else
20282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20283 for as_dir in $PATH
20284 do
20285 IFS=$as_save_IFS
20286 test -z "$as_dir" && as_dir=.
20287 for ac_exec_ext in '' $ac_executable_extensions; do
20288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20289 ac_cv_prog_ac_ct_AR="ar"
20290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20291 break 2
20292 fi
20293 done
20294 done
20295 IFS=$as_save_IFS
20296
20297 fi
20298 fi
20299 ac_ct_AR=$ac_cv_prog_ac_ct_AR
20300 if test -n "$ac_ct_AR"; then
20301 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
20302 echo "${ECHO_T}$ac_ct_AR" >&6; }
20303 else
20304 { echo "$as_me:$LINENO: result: no" >&5
20305 echo "${ECHO_T}no" >&6; }
20306 fi
20307
20308 if test "x$ac_ct_AR" = x; then
20309 AR=""
20310 else
20311 case $cross_compiling:$ac_tool_warned in
20312 yes:)
20313 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20314 whose name does not start with the host triplet. If you think this
20315 configuration is useful to you, please write to autoconf@gnu.org." >&5
20316 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20317 whose name does not start with the host triplet. If you think this
20318 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20319 ac_tool_warned=yes ;;
20320 esac
20321 AR=$ac_ct_AR
20322 fi
20323 else
20324 AR="$ac_cv_prog_AR"
20325 fi
20326
20327 if test "x$AR" = "x" ; then
20328 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
20329 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
20330 { (exit 1); exit 1; }; }
20331 fi
20332 fi
20333
20334 retest_macosx_linking=no
20335
20336 #if test "$wxUSE_MAC" = 1; then
20337 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
20338 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
20339 # Implicitly turn on the new --with-macosx-sdk using the default
20340 # SDK which provides the behavior this option has always had.
20341 if test "x$wxUSE_MACOSX_SDK" = "x"; then
20342 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
20343 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
20344 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
20345 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
20346 wxUSE_MACOSX_SDK=yes
20347 fi
20348 else
20349 # Complain to user if he specified an argument to --enable-universal_binary
20350 # and also 1) specified --with-macosx-sdk using the default (yes) or
20351 # 2) specified --with-macosx-sdk using a path or 3) specified
20352 # --without-macosx-sdk (no).
20353 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
20354 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20355 See \`config.log' for more details." >&5
20356 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
20357 See \`config.log' for more details." >&2;}
20358 { (exit 1); exit 1; }; }
20359 else
20360 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
20361 # special-case the empty string because the below test simply
20362 # converts "no" to the empty string anyway.
20363 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
20364 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
20365 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
20366 fi
20367 fi
20368 OSX_UNIV_OPTS="-arch ppc -arch i386"
20369 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
20370 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
20371 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
20372 retest_macosx_linking=yes
20373
20374 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
20375 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
20376 bk_use_pch=no
20377 fi
20378 #fi
20379
20380 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
20381 wxUSE_MACOSX_SDK=
20382 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
20383 # TODO: Search for most recent SDK and use it.
20384 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
20385 fi
20386
20387
20388 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20389 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
20390 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
20391 if ! test -d "$wxUSE_MACOSX_SDK"; then
20392 { { echo "$as_me:$LINENO: error: not found
20393 See \`config.log' for more details." >&5
20394 echo "$as_me: error: not found
20395 See \`config.log' for more details." >&2;}
20396 { (exit 1); exit 1; }; }
20397 else
20398 { echo "$as_me:$LINENO: result: exists" >&5
20399 echo "${ECHO_T}exists" >&6; }
20400 fi
20401 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
20402 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
20403 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
20404 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
20405 retest_macosx_linking=yes
20406 fi
20407
20408 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
20409 wxUSE_MACOSX_VERSION_MIN=
20410 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
20411 if test "x$wxUSE_MACOSX_SDK" != "x"; then
20412 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
20413 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
20414
20415 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" buildSettings | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
20416
20417 # If that failed, try again with the new key
20418 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
20419
20420 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" DefaultProperties | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
20421
20422 fi
20423
20424 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
20425 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
20426 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
20427 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
20428 else
20429 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
20430 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
20431 wxUSE_MACOSX_VERSION_MIN=
20432 fi
20433 else
20434 wxUSE_MACOSX_VERSION_MIN=
20435 fi
20436 fi
20437
20438 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
20439 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
20440 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
20441 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
20442 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
20443 retest_macosx_linking=yes
20444 fi
20445
20446 if test "x$retest_macosx_linking" = "xyes"; then
20447 ac_ext=c
20448 ac_cpp='$CPP $CPPFLAGS'
20449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20452
20453 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
20454 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
20455 cat >conftest.$ac_ext <<_ACEOF
20456 /* confdefs.h. */
20457 _ACEOF
20458 cat confdefs.h >>conftest.$ac_ext
20459 cat >>conftest.$ac_ext <<_ACEOF
20460 /* end confdefs.h. */
20461
20462 int
20463 main ()
20464 {
20465
20466 ;
20467 return 0;
20468 }
20469 _ACEOF
20470 rm -f conftest.$ac_objext conftest$ac_exeext
20471 if { (ac_try="$ac_link"
20472 case "(($ac_try" in
20473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20474 *) ac_try_echo=$ac_try;;
20475 esac
20476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20477 (eval "$ac_link") 2>conftest.er1
20478 ac_status=$?
20479 grep -v '^ *+' conftest.er1 >conftest.err
20480 rm -f conftest.er1
20481 cat conftest.err >&5
20482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20483 (exit $ac_status); } && {
20484 test -z "$ac_c_werror_flag" ||
20485 test ! -s conftest.err
20486 } && test -s conftest$ac_exeext &&
20487 $as_test_x conftest$ac_exeext; then
20488 { echo "$as_me:$LINENO: result: yes" >&5
20489 echo "${ECHO_T}yes" >&6; }
20490 else
20491 echo "$as_me: failed program was:" >&5
20492 sed 's/^/| /' conftest.$ac_ext >&5
20493
20494 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20495 See \`config.log' for more details." >&5
20496 echo "$as_me: error: no. Try a different SDK
20497 See \`config.log' for more details." >&2;}
20498 { (exit 1); exit 1; }; }; exit 1
20499 fi
20500
20501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20502 conftest$ac_exeext conftest.$ac_ext
20503 ac_ext=c
20504 ac_cpp='$CPP $CPPFLAGS'
20505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20508
20509
20510 ac_ext=cpp
20511 ac_cpp='$CXXCPP $CPPFLAGS'
20512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20515
20516 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
20517 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
20518 cat >conftest.$ac_ext <<_ACEOF
20519 /* confdefs.h. */
20520 _ACEOF
20521 cat confdefs.h >>conftest.$ac_ext
20522 cat >>conftest.$ac_ext <<_ACEOF
20523 /* end confdefs.h. */
20524
20525 int
20526 main ()
20527 {
20528
20529 ;
20530 return 0;
20531 }
20532 _ACEOF
20533 rm -f conftest.$ac_objext conftest$ac_exeext
20534 if { (ac_try="$ac_link"
20535 case "(($ac_try" in
20536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20537 *) ac_try_echo=$ac_try;;
20538 esac
20539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20540 (eval "$ac_link") 2>conftest.er1
20541 ac_status=$?
20542 grep -v '^ *+' conftest.er1 >conftest.err
20543 rm -f conftest.er1
20544 cat conftest.err >&5
20545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20546 (exit $ac_status); } && {
20547 test -z "$ac_cxx_werror_flag" ||
20548 test ! -s conftest.err
20549 } && test -s conftest$ac_exeext &&
20550 $as_test_x conftest$ac_exeext; then
20551 { echo "$as_me:$LINENO: result: yes" >&5
20552 echo "${ECHO_T}yes" >&6; }
20553 else
20554 echo "$as_me: failed program was:" >&5
20555 sed 's/^/| /' conftest.$ac_ext >&5
20556
20557 { { echo "$as_me:$LINENO: error: no. Try a different SDK
20558 See \`config.log' for more details." >&5
20559 echo "$as_me: error: no. Try a different SDK
20560 See \`config.log' for more details." >&2;}
20561 { (exit 1); exit 1; }; }; exit 1
20562 fi
20563
20564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20565 conftest$ac_exeext conftest.$ac_ext
20566 ac_ext=c
20567 ac_cpp='$CPP $CPPFLAGS'
20568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20571
20572 fi
20573
20574
20575 case "${host}" in
20576
20577 *-*-darwin* )
20578 INSTALL_PROGRAM="cp -fp"
20579 INSTALL_DATA="cp -fp"
20580 ;;
20581 *)
20582 ;;
20583 esac
20584
20585
20586 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20587 CXXFLAGS="-qunique $CXXFLAGS"
20588 fi
20589
20590 case "${host}" in
20591 powerpc-*-darwin* )
20592 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20593 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20594 cat >conftest.$ac_ext <<_ACEOF
20595 /* confdefs.h. */
20596 _ACEOF
20597 cat confdefs.h >>conftest.$ac_ext
20598 cat >>conftest.$ac_ext <<_ACEOF
20599 /* end confdefs.h. */
20600
20601 int
20602 main ()
20603 {
20604 #ifndef __POWERPC__
20605 choke me for lack of PowerPC
20606 #endif
20607
20608 ;
20609 return 0;
20610 }
20611 _ACEOF
20612 rm -f conftest.$ac_objext
20613 if { (ac_try="$ac_compile"
20614 case "(($ac_try" in
20615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20616 *) ac_try_echo=$ac_try;;
20617 esac
20618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20619 (eval "$ac_compile") 2>conftest.er1
20620 ac_status=$?
20621 grep -v '^ *+' conftest.er1 >conftest.err
20622 rm -f conftest.er1
20623 cat conftest.err >&5
20624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20625 (exit $ac_status); } && {
20626 test -z "$ac_c_werror_flag" ||
20627 test ! -s conftest.err
20628 } && test -s conftest.$ac_objext; then
20629 { echo "$as_me:$LINENO: result: yes" >&5
20630 echo "${ECHO_T}yes" >&6; }
20631 else
20632 echo "$as_me: failed program was:" >&5
20633 sed 's/^/| /' conftest.$ac_ext >&5
20634
20635 { echo "$as_me:$LINENO: result: no" >&5
20636 echo "${ECHO_T}no" >&6; }
20637 cat >>confdefs.h <<\_ACEOF
20638 #define __POWERPC__ 1
20639 _ACEOF
20640
20641
20642 fi
20643
20644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20645 ;;
20646 esac
20647
20648 case "${host}" in
20649 *-*-darwin* )
20650 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20651 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20652 cat >conftest.$ac_ext <<_ACEOF
20653 /* confdefs.h. */
20654 _ACEOF
20655 cat confdefs.h >>conftest.$ac_ext
20656 cat >>conftest.$ac_ext <<_ACEOF
20657 /* end confdefs.h. */
20658 #include <CoreFoundation/CFBase.h>
20659
20660 int
20661 main ()
20662 {
20663
20664 ;
20665 return 0;
20666 }
20667 _ACEOF
20668 rm -f conftest.$ac_objext
20669 if { (ac_try="$ac_compile"
20670 case "(($ac_try" in
20671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20672 *) ac_try_echo=$ac_try;;
20673 esac
20674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20675 (eval "$ac_compile") 2>conftest.er1
20676 ac_status=$?
20677 grep -v '^ *+' conftest.er1 >conftest.err
20678 rm -f conftest.er1
20679 cat conftest.err >&5
20680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20681 (exit $ac_status); } && {
20682 test -z "$ac_c_werror_flag" ||
20683 test ! -s conftest.err
20684 } && test -s conftest.$ac_objext; then
20685 { echo "$as_me:$LINENO: result: yes" >&5
20686 echo "${ECHO_T}yes" >&6; }
20687 else
20688 echo "$as_me: failed program was:" >&5
20689 sed 's/^/| /' conftest.$ac_ext >&5
20690
20691 { echo "$as_me:$LINENO: result: no" >&5
20692 echo "${ECHO_T}no" >&6; }
20693 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20694 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20695 cat >conftest.$ac_ext <<_ACEOF
20696 /* confdefs.h. */
20697 _ACEOF
20698 cat confdefs.h >>conftest.$ac_ext
20699 cat >>conftest.$ac_ext <<_ACEOF
20700 /* end confdefs.h. */
20701 #define __CF_USE_FRAMEWORK_INCLUDES__
20702 #include <CoreFoundation/CFBase.h>
20703
20704 int
20705 main ()
20706 {
20707
20708 ;
20709 return 0;
20710 }
20711 _ACEOF
20712 rm -f conftest.$ac_objext
20713 if { (ac_try="$ac_compile"
20714 case "(($ac_try" in
20715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20716 *) ac_try_echo=$ac_try;;
20717 esac
20718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20719 (eval "$ac_compile") 2>conftest.er1
20720 ac_status=$?
20721 grep -v '^ *+' conftest.er1 >conftest.err
20722 rm -f conftest.er1
20723 cat conftest.err >&5
20724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20725 (exit $ac_status); } && {
20726 test -z "$ac_c_werror_flag" ||
20727 test ! -s conftest.err
20728 } && test -s conftest.$ac_objext; then
20729 { echo "$as_me:$LINENO: result: yes" >&5
20730 echo "${ECHO_T}yes" >&6; }
20731 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20732 else
20733 echo "$as_me: failed program was:" >&5
20734 sed 's/^/| /' conftest.$ac_ext >&5
20735
20736 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20737 See \`config.log' for more details." >&5
20738 echo "$as_me: error: no. CoreFoundation not available.
20739 See \`config.log' for more details." >&2;}
20740 { (exit 1); exit 1; }; }
20741
20742 fi
20743
20744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20745
20746
20747 fi
20748
20749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20750 ;;
20751 esac
20752
20753 wants_win32=0
20754 doesnt_want_win32=0
20755 case "${host}" in
20756 *-*-cygwin*)
20757 if test "$wxUSE_MSW" = 1 ; then
20758 wants_win32=1
20759 else
20760 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20761 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20762 if test "${wx_cv_nocygwin+set}" = set; then
20763 echo $ECHO_N "(cached) $ECHO_C" >&6
20764 else
20765
20766 cat >conftest.$ac_ext <<_ACEOF
20767 /* confdefs.h. */
20768 _ACEOF
20769 cat confdefs.h >>conftest.$ac_ext
20770 cat >>conftest.$ac_ext <<_ACEOF
20771 /* end confdefs.h. */
20772
20773 int
20774 main ()
20775 {
20776
20777 #ifdef __MINGW32__
20778 choke me
20779 #endif
20780
20781 ;
20782 return 0;
20783 }
20784 _ACEOF
20785 rm -f conftest.$ac_objext
20786 if { (ac_try="$ac_compile"
20787 case "(($ac_try" in
20788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20789 *) ac_try_echo=$ac_try;;
20790 esac
20791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20792 (eval "$ac_compile") 2>conftest.er1
20793 ac_status=$?
20794 grep -v '^ *+' conftest.er1 >conftest.err
20795 rm -f conftest.er1
20796 cat conftest.err >&5
20797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20798 (exit $ac_status); } && {
20799 test -z "$ac_c_werror_flag" ||
20800 test ! -s conftest.err
20801 } && test -s conftest.$ac_objext; then
20802 wx_cv_nocygwin=no
20803 else
20804 echo "$as_me: failed program was:" >&5
20805 sed 's/^/| /' conftest.$ac_ext >&5
20806
20807 wx_cv_nocygwin=yes
20808
20809 fi
20810
20811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20812
20813
20814 fi
20815 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20816 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20817
20818 if test "$wx_cv_nocygwin" = "yes"; then
20819 wants_win32=1
20820 else
20821 doesnt_want_win32=1
20822 fi
20823 fi
20824 if test "$wants_win32" = 1 ; then
20825 BAKEFILE_FORCE_PLATFORM=win32
20826 fi
20827 ;;
20828 *-*-mingw*)
20829 wants_win32=1
20830 ;;
20831 esac
20832
20833 if test "$wxUSE_WINE" = "yes"; then
20834 wants_win32=1
20835 LDFLAGS_GUI="-mwindows"
20836 fi
20837
20838 if test "$wants_win32" = 1 ; then
20839 USE_UNIX=0
20840 USE_WIN32=1
20841 cat >>confdefs.h <<\_ACEOF
20842 #define __WIN32__ 1
20843 _ACEOF
20844
20845 cat >>confdefs.h <<\_ACEOF
20846 #define __WIN95__ 1
20847 _ACEOF
20848
20849 cat >>confdefs.h <<\_ACEOF
20850 #define __WINDOWS__ 1
20851 _ACEOF
20852
20853 cat >>confdefs.h <<\_ACEOF
20854 #define __GNUWIN32__ 1
20855 _ACEOF
20856
20857 cat >>confdefs.h <<\_ACEOF
20858 #define STRICT 1
20859 _ACEOF
20860
20861 fi
20862 if test "$doesnt_want_win32" = 1 ; then
20863 USE_UNIX=1
20864 USE_WIN32=0
20865 fi
20866
20867 if test "$USE_UNIX" = 1 ; then
20868 wxUSE_UNIX=yes
20869 cat >>confdefs.h <<\_ACEOF
20870 #define __UNIX__ 1
20871 _ACEOF
20872
20873 fi
20874
20875 case "${host}" in
20876 *-pc-os2_emx | *-pc-os2-emx )
20877 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20878 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20879 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20880 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20881 echo $ECHO_N "(cached) $ECHO_C" >&6
20882 else
20883 ac_check_lib_save_LIBS=$LIBS
20884 LIBS="-lcExt $LIBS"
20885 cat >conftest.$ac_ext <<_ACEOF
20886 /* confdefs.h. */
20887 _ACEOF
20888 cat confdefs.h >>conftest.$ac_ext
20889 cat >>conftest.$ac_ext <<_ACEOF
20890 /* end confdefs.h. */
20891
20892 /* Override any GCC internal prototype to avoid an error.
20893 Use char because int might match the return type of a GCC
20894 builtin and then its argument prototype would still apply. */
20895 #ifdef __cplusplus
20896 extern "C"
20897 #endif
20898 char drand48 ();
20899 int
20900 main ()
20901 {
20902 return drand48 ();
20903 ;
20904 return 0;
20905 }
20906 _ACEOF
20907 rm -f conftest.$ac_objext conftest$ac_exeext
20908 if { (ac_try="$ac_link"
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_link") 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_exeext &&
20924 $as_test_x conftest$ac_exeext; then
20925 ac_cv_lib_cExt_drand48=yes
20926 else
20927 echo "$as_me: failed program was:" >&5
20928 sed 's/^/| /' conftest.$ac_ext >&5
20929
20930 ac_cv_lib_cExt_drand48=no
20931 fi
20932
20933 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20934 conftest$ac_exeext conftest.$ac_ext
20935 LIBS=$ac_check_lib_save_LIBS
20936 fi
20937 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
20938 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20939 if test $ac_cv_lib_cExt_drand48 = yes; then
20940 LIBS="$LIBS -lcExt"
20941 fi
20942
20943 else
20944 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
20945 fi
20946 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20947 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
20948 if test "${wx_cv_gccversion+set}" = set; then
20949 echo $ECHO_N "(cached) $ECHO_C" >&6
20950 else
20951
20952 if test "$cross_compiling" = yes; then
20953 wx_cv_gccversion="EMX2"
20954
20955 else
20956 cat >conftest.$ac_ext <<_ACEOF
20957 /* confdefs.h. */
20958 _ACEOF
20959 cat confdefs.h >>conftest.$ac_ext
20960 cat >>conftest.$ac_ext <<_ACEOF
20961 /* end confdefs.h. */
20962
20963 #include <stdio.h>
20964
20965 int main()
20966 {
20967 FILE *f=fopen("conftestval", "w");
20968 if (!f) exit(1);
20969 fprintf(f,
20970 #if (__GNUC__ < 3)
20971 "EMX2"
20972 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20973 "EMX3"
20974 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20975 "Innotek5"
20976 #else
20977 "Innotek6"
20978 #endif
20979 );
20980 exit(0);
20981 }
20982
20983 _ACEOF
20984 rm -f conftest$ac_exeext
20985 if { (ac_try="$ac_link"
20986 case "(($ac_try" in
20987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20988 *) ac_try_echo=$ac_try;;
20989 esac
20990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20991 (eval "$ac_link") 2>&5
20992 ac_status=$?
20993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20994 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20995 { (case "(($ac_try" in
20996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20997 *) ac_try_echo=$ac_try;;
20998 esac
20999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21000 (eval "$ac_try") 2>&5
21001 ac_status=$?
21002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21003 (exit $ac_status); }; }; then
21004 wx_cv_gccversion=`cat conftestval`
21005 else
21006 echo "$as_me: program exited with status $ac_status" >&5
21007 echo "$as_me: failed program was:" >&5
21008 sed 's/^/| /' conftest.$ac_ext >&5
21009
21010 ( exit $ac_status )
21011 wx_cv_gccversion="EMX2"
21012 fi
21013 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21014 fi
21015
21016
21017
21018 fi
21019 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
21020 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
21021 if test "$wx_cv_gccversion" = "EMX2"; then
21022 LIBS="$LIBS -lstdcpp"
21023 LDFLAGS="$LDFLAGS -Zsysv-signals"
21024 else
21025 if test "$wx_cv_gccversion" = "EMX3"; then
21026 LIBS="$LIBS -lstdcxx -lgcc"
21027 LDFLAGS="$LDFLAGS -Zsysv-signals"
21028 else
21029 LIBS="$LIBS -lstdc++"
21030 fi
21031 fi
21032 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
21033 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
21034 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
21035 wxUSE_OMF=yes
21036 enable_omf=yes
21037 fi
21038 ;;
21039 *)
21040
21041 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
21042 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
21043 if test "${ac_cv_string_strcasecmp+set}" = set; then
21044 echo $ECHO_N "(cached) $ECHO_C" >&6
21045 else
21046
21047 cat >conftest.$ac_ext <<_ACEOF
21048 /* confdefs.h. */
21049 _ACEOF
21050 cat confdefs.h >>conftest.$ac_ext
21051 cat >>conftest.$ac_ext <<_ACEOF
21052 /* end confdefs.h. */
21053
21054 #include <string.h>
21055
21056 int
21057 main ()
21058 {
21059
21060 strcasecmp("foo", "bar");
21061
21062 ;
21063 return 0;
21064 }
21065 _ACEOF
21066 rm -f conftest.$ac_objext conftest$ac_exeext
21067 if { (ac_try="$ac_link"
21068 case "(($ac_try" in
21069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21070 *) ac_try_echo=$ac_try;;
21071 esac
21072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21073 (eval "$ac_link") 2>conftest.er1
21074 ac_status=$?
21075 grep -v '^ *+' conftest.er1 >conftest.err
21076 rm -f conftest.er1
21077 cat conftest.err >&5
21078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21079 (exit $ac_status); } && {
21080 test -z "$ac_c_werror_flag" ||
21081 test ! -s conftest.err
21082 } && test -s conftest$ac_exeext &&
21083 $as_test_x conftest$ac_exeext; then
21084 ac_cv_string_strcasecmp=yes
21085 else
21086 echo "$as_me: failed program was:" >&5
21087 sed 's/^/| /' conftest.$ac_ext >&5
21088
21089 ac_cv_string_strcasecmp=no
21090
21091 fi
21092
21093 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21094 conftest$ac_exeext conftest.$ac_ext
21095
21096 fi
21097 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
21098 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
21099
21100 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
21101 cat >>confdefs.h <<\_ACEOF
21102 #define HAVE_STRCASECMP_IN_STRING_H 1
21103 _ACEOF
21104
21105 else
21106 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
21107 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
21108 if test "${ac_cv_strings_strcasecmp+set}" = set; then
21109 echo $ECHO_N "(cached) $ECHO_C" >&6
21110 else
21111
21112 cat >conftest.$ac_ext <<_ACEOF
21113 /* confdefs.h. */
21114 _ACEOF
21115 cat confdefs.h >>conftest.$ac_ext
21116 cat >>conftest.$ac_ext <<_ACEOF
21117 /* end confdefs.h. */
21118
21119 #include <strings.h>
21120
21121 int
21122 main ()
21123 {
21124
21125 strcasecmp("foo", "bar");
21126
21127 ;
21128 return 0;
21129 }
21130 _ACEOF
21131 rm -f conftest.$ac_objext conftest$ac_exeext
21132 if { (ac_try="$ac_link"
21133 case "(($ac_try" in
21134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21135 *) ac_try_echo=$ac_try;;
21136 esac
21137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21138 (eval "$ac_link") 2>conftest.er1
21139 ac_status=$?
21140 grep -v '^ *+' conftest.er1 >conftest.err
21141 rm -f conftest.er1
21142 cat conftest.err >&5
21143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21144 (exit $ac_status); } && {
21145 test -z "$ac_c_werror_flag" ||
21146 test ! -s conftest.err
21147 } && test -s conftest$ac_exeext &&
21148 $as_test_x conftest$ac_exeext; then
21149 ac_cv_strings_strcasecmp=yes
21150 else
21151 echo "$as_me: failed program was:" >&5
21152 sed 's/^/| /' conftest.$ac_ext >&5
21153
21154 ac_cv_strings_strcasecmp=no
21155
21156 fi
21157
21158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21159 conftest$ac_exeext conftest.$ac_ext
21160
21161 fi
21162 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
21163 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
21164
21165 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
21166 cat >>confdefs.h <<\_ACEOF
21167 #define HAVE_STRCASECMP_IN_STRINGS_H 1
21168 _ACEOF
21169
21170 else
21171 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
21172 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
21173 { (exit 1); exit 1; }; }
21174 fi
21175 fi
21176
21177 ;;
21178 esac
21179
21180
21181 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21182 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21183 if test "${ac_cv_header_stdc+set}" = set; then
21184 echo $ECHO_N "(cached) $ECHO_C" >&6
21185 else
21186 cat >conftest.$ac_ext <<_ACEOF
21187 /* confdefs.h. */
21188 _ACEOF
21189 cat confdefs.h >>conftest.$ac_ext
21190 cat >>conftest.$ac_ext <<_ACEOF
21191 /* end confdefs.h. */
21192 #include <stdlib.h>
21193 #include <stdarg.h>
21194 #include <string.h>
21195 #include <float.h>
21196
21197 int
21198 main ()
21199 {
21200
21201 ;
21202 return 0;
21203 }
21204 _ACEOF
21205 rm -f conftest.$ac_objext
21206 if { (ac_try="$ac_compile"
21207 case "(($ac_try" in
21208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21209 *) ac_try_echo=$ac_try;;
21210 esac
21211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21212 (eval "$ac_compile") 2>conftest.er1
21213 ac_status=$?
21214 grep -v '^ *+' conftest.er1 >conftest.err
21215 rm -f conftest.er1
21216 cat conftest.err >&5
21217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21218 (exit $ac_status); } && {
21219 test -z "$ac_c_werror_flag" ||
21220 test ! -s conftest.err
21221 } && test -s conftest.$ac_objext; then
21222 ac_cv_header_stdc=yes
21223 else
21224 echo "$as_me: failed program was:" >&5
21225 sed 's/^/| /' conftest.$ac_ext >&5
21226
21227 ac_cv_header_stdc=no
21228 fi
21229
21230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21231
21232 if test $ac_cv_header_stdc = yes; then
21233 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21234 cat >conftest.$ac_ext <<_ACEOF
21235 /* confdefs.h. */
21236 _ACEOF
21237 cat confdefs.h >>conftest.$ac_ext
21238 cat >>conftest.$ac_ext <<_ACEOF
21239 /* end confdefs.h. */
21240 #include <string.h>
21241
21242 _ACEOF
21243 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21244 $EGREP "memchr" >/dev/null 2>&1; then
21245 :
21246 else
21247 ac_cv_header_stdc=no
21248 fi
21249 rm -f conftest*
21250
21251 fi
21252
21253 if test $ac_cv_header_stdc = yes; then
21254 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21255 cat >conftest.$ac_ext <<_ACEOF
21256 /* confdefs.h. */
21257 _ACEOF
21258 cat confdefs.h >>conftest.$ac_ext
21259 cat >>conftest.$ac_ext <<_ACEOF
21260 /* end confdefs.h. */
21261 #include <stdlib.h>
21262
21263 _ACEOF
21264 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21265 $EGREP "free" >/dev/null 2>&1; then
21266 :
21267 else
21268 ac_cv_header_stdc=no
21269 fi
21270 rm -f conftest*
21271
21272 fi
21273
21274 if test $ac_cv_header_stdc = yes; then
21275 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21276 if test "$cross_compiling" = yes; then
21277 :
21278 else
21279 cat >conftest.$ac_ext <<_ACEOF
21280 /* confdefs.h. */
21281 _ACEOF
21282 cat confdefs.h >>conftest.$ac_ext
21283 cat >>conftest.$ac_ext <<_ACEOF
21284 /* end confdefs.h. */
21285 #include <ctype.h>
21286 #include <stdlib.h>
21287 #if ((' ' & 0x0FF) == 0x020)
21288 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21289 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21290 #else
21291 # define ISLOWER(c) \
21292 (('a' <= (c) && (c) <= 'i') \
21293 || ('j' <= (c) && (c) <= 'r') \
21294 || ('s' <= (c) && (c) <= 'z'))
21295 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21296 #endif
21297
21298 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21299 int
21300 main ()
21301 {
21302 int i;
21303 for (i = 0; i < 256; i++)
21304 if (XOR (islower (i), ISLOWER (i))
21305 || toupper (i) != TOUPPER (i))
21306 return 2;
21307 return 0;
21308 }
21309 _ACEOF
21310 rm -f conftest$ac_exeext
21311 if { (ac_try="$ac_link"
21312 case "(($ac_try" in
21313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21314 *) ac_try_echo=$ac_try;;
21315 esac
21316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21317 (eval "$ac_link") 2>&5
21318 ac_status=$?
21319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21320 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21321 { (case "(($ac_try" in
21322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21323 *) ac_try_echo=$ac_try;;
21324 esac
21325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21326 (eval "$ac_try") 2>&5
21327 ac_status=$?
21328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21329 (exit $ac_status); }; }; then
21330 :
21331 else
21332 echo "$as_me: program exited with status $ac_status" >&5
21333 echo "$as_me: failed program was:" >&5
21334 sed 's/^/| /' conftest.$ac_ext >&5
21335
21336 ( exit $ac_status )
21337 ac_cv_header_stdc=no
21338 fi
21339 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21340 fi
21341
21342
21343 fi
21344 fi
21345 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21346 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21347 if test $ac_cv_header_stdc = yes; then
21348
21349 cat >>confdefs.h <<\_ACEOF
21350 #define STDC_HEADERS 1
21351 _ACEOF
21352
21353 fi
21354
21355 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21356
21357
21358
21359
21360
21361
21362
21363
21364
21365 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21366 inttypes.h stdint.h unistd.h
21367 do
21368 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21369 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21371 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21372 echo $ECHO_N "(cached) $ECHO_C" >&6
21373 else
21374 cat >conftest.$ac_ext <<_ACEOF
21375 /* confdefs.h. */
21376 _ACEOF
21377 cat confdefs.h >>conftest.$ac_ext
21378 cat >>conftest.$ac_ext <<_ACEOF
21379 /* end confdefs.h. */
21380 $ac_includes_default
21381
21382 #include <$ac_header>
21383 _ACEOF
21384 rm -f conftest.$ac_objext
21385 if { (ac_try="$ac_compile"
21386 case "(($ac_try" in
21387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21388 *) ac_try_echo=$ac_try;;
21389 esac
21390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21391 (eval "$ac_compile") 2>conftest.er1
21392 ac_status=$?
21393 grep -v '^ *+' conftest.er1 >conftest.err
21394 rm -f conftest.er1
21395 cat conftest.err >&5
21396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21397 (exit $ac_status); } && {
21398 test -z "$ac_c_werror_flag" ||
21399 test ! -s conftest.err
21400 } && test -s conftest.$ac_objext; then
21401 eval "$as_ac_Header=yes"
21402 else
21403 echo "$as_me: failed program was:" >&5
21404 sed 's/^/| /' conftest.$ac_ext >&5
21405
21406 eval "$as_ac_Header=no"
21407 fi
21408
21409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21410 fi
21411 ac_res=`eval echo '${'$as_ac_Header'}'`
21412 { echo "$as_me:$LINENO: result: $ac_res" >&5
21413 echo "${ECHO_T}$ac_res" >&6; }
21414 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21415 cat >>confdefs.h <<_ACEOF
21416 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21417 _ACEOF
21418
21419 fi
21420
21421 done
21422
21423
21424
21425
21426 for ac_header in langinfo.h wchar.h
21427 do
21428 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21429 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21430 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21431 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21432 echo $ECHO_N "(cached) $ECHO_C" >&6
21433 else
21434 cat >conftest.$ac_ext <<_ACEOF
21435 /* confdefs.h. */
21436 _ACEOF
21437 cat confdefs.h >>conftest.$ac_ext
21438 cat >>conftest.$ac_ext <<_ACEOF
21439 /* end confdefs.h. */
21440 $ac_includes_default
21441
21442 #include <$ac_header>
21443 _ACEOF
21444 rm -f conftest.$ac_objext
21445 if { (ac_try="$ac_compile"
21446 case "(($ac_try" in
21447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21448 *) ac_try_echo=$ac_try;;
21449 esac
21450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21451 (eval "$ac_compile") 2>conftest.er1
21452 ac_status=$?
21453 grep -v '^ *+' conftest.er1 >conftest.err
21454 rm -f conftest.er1
21455 cat conftest.err >&5
21456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21457 (exit $ac_status); } && {
21458 test -z "$ac_c_werror_flag" ||
21459 test ! -s conftest.err
21460 } && test -s conftest.$ac_objext; then
21461 eval "$as_ac_Header=yes"
21462 else
21463 echo "$as_me: failed program was:" >&5
21464 sed 's/^/| /' conftest.$ac_ext >&5
21465
21466 eval "$as_ac_Header=no"
21467 fi
21468
21469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21470 fi
21471 ac_res=`eval echo '${'$as_ac_Header'}'`
21472 { echo "$as_me:$LINENO: result: $ac_res" >&5
21473 echo "${ECHO_T}$ac_res" >&6; }
21474 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21475 cat >>confdefs.h <<_ACEOF
21476 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21477 _ACEOF
21478
21479 fi
21480
21481 done
21482
21483
21484 if test "$ac_cv_header_wchar_h" != "yes"; then
21485
21486 for ac_header in wcstr.h
21487 do
21488 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21489 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21491 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21492 echo $ECHO_N "(cached) $ECHO_C" >&6
21493 else
21494 cat >conftest.$ac_ext <<_ACEOF
21495 /* confdefs.h. */
21496 _ACEOF
21497 cat confdefs.h >>conftest.$ac_ext
21498 cat >>conftest.$ac_ext <<_ACEOF
21499 /* end confdefs.h. */
21500 $ac_includes_default
21501
21502 #include <$ac_header>
21503 _ACEOF
21504 rm -f conftest.$ac_objext
21505 if { (ac_try="$ac_compile"
21506 case "(($ac_try" in
21507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21508 *) ac_try_echo=$ac_try;;
21509 esac
21510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21511 (eval "$ac_compile") 2>conftest.er1
21512 ac_status=$?
21513 grep -v '^ *+' conftest.er1 >conftest.err
21514 rm -f conftest.er1
21515 cat conftest.err >&5
21516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21517 (exit $ac_status); } && {
21518 test -z "$ac_c_werror_flag" ||
21519 test ! -s conftest.err
21520 } && test -s conftest.$ac_objext; then
21521 eval "$as_ac_Header=yes"
21522 else
21523 echo "$as_me: failed program was:" >&5
21524 sed 's/^/| /' conftest.$ac_ext >&5
21525
21526 eval "$as_ac_Header=no"
21527 fi
21528
21529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21530 fi
21531 ac_res=`eval echo '${'$as_ac_Header'}'`
21532 { echo "$as_me:$LINENO: result: $ac_res" >&5
21533 echo "${ECHO_T}$ac_res" >&6; }
21534 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21535 cat >>confdefs.h <<_ACEOF
21536 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21537 _ACEOF
21538
21539 fi
21540
21541 done
21542
21543 fi
21544
21545 case "${host}" in
21546 *-pc-os2_emx | *-pc-os2-emx )
21547 if test $ac_cv_header_langinfo_h = "yes" \
21548 -a \( "$wx_cv_gccversion" = "EMX2" \
21549 -o "$wx_cv_gccversion" = "EMX3" \
21550 -o "$wx_cv_gccversion" = "Innotek5" \); then
21551 LIBS="$LIBS -lintl"
21552 fi
21553 ;;
21554 esac
21555
21556 if test "$USE_UNIX" = 1 ; then
21557
21558 for ac_header in sys/select.h
21559 do
21560 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21561 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21563 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21564 echo $ECHO_N "(cached) $ECHO_C" >&6
21565 else
21566 cat >conftest.$ac_ext <<_ACEOF
21567 /* confdefs.h. */
21568 _ACEOF
21569 cat confdefs.h >>conftest.$ac_ext
21570 cat >>conftest.$ac_ext <<_ACEOF
21571 /* end confdefs.h. */
21572 $ac_includes_default
21573
21574 #include <$ac_header>
21575 _ACEOF
21576 rm -f conftest.$ac_objext
21577 if { (ac_try="$ac_compile"
21578 case "(($ac_try" in
21579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21580 *) ac_try_echo=$ac_try;;
21581 esac
21582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21583 (eval "$ac_compile") 2>conftest.er1
21584 ac_status=$?
21585 grep -v '^ *+' conftest.er1 >conftest.err
21586 rm -f conftest.er1
21587 cat conftest.err >&5
21588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21589 (exit $ac_status); } && {
21590 test -z "$ac_c_werror_flag" ||
21591 test ! -s conftest.err
21592 } && test -s conftest.$ac_objext; then
21593 eval "$as_ac_Header=yes"
21594 else
21595 echo "$as_me: failed program was:" >&5
21596 sed 's/^/| /' conftest.$ac_ext >&5
21597
21598 eval "$as_ac_Header=no"
21599 fi
21600
21601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21602 fi
21603 ac_res=`eval echo '${'$as_ac_Header'}'`
21604 { echo "$as_me:$LINENO: result: $ac_res" >&5
21605 echo "${ECHO_T}$ac_res" >&6; }
21606 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21607 cat >>confdefs.h <<_ACEOF
21608 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21609 _ACEOF
21610
21611 fi
21612
21613 done
21614
21615 fi
21616
21617
21618 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21619 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21620 if test "${ac_cv_c_const+set}" = set; then
21621 echo $ECHO_N "(cached) $ECHO_C" >&6
21622 else
21623 cat >conftest.$ac_ext <<_ACEOF
21624 /* confdefs.h. */
21625 _ACEOF
21626 cat confdefs.h >>conftest.$ac_ext
21627 cat >>conftest.$ac_ext <<_ACEOF
21628 /* end confdefs.h. */
21629
21630 int
21631 main ()
21632 {
21633 /* FIXME: Include the comments suggested by Paul. */
21634 #ifndef __cplusplus
21635 /* Ultrix mips cc rejects this. */
21636 typedef int charset[2];
21637 const charset cs;
21638 /* SunOS 4.1.1 cc rejects this. */
21639 char const *const *pcpcc;
21640 char **ppc;
21641 /* NEC SVR4.0.2 mips cc rejects this. */
21642 struct point {int x, y;};
21643 static struct point const zero = {0,0};
21644 /* AIX XL C 1.02.0.0 rejects this.
21645 It does not let you subtract one const X* pointer from another in
21646 an arm of an if-expression whose if-part is not a constant
21647 expression */
21648 const char *g = "string";
21649 pcpcc = &g + (g ? g-g : 0);
21650 /* HPUX 7.0 cc rejects these. */
21651 ++pcpcc;
21652 ppc = (char**) pcpcc;
21653 pcpcc = (char const *const *) ppc;
21654 { /* SCO 3.2v4 cc rejects this. */
21655 char *t;
21656 char const *s = 0 ? (char *) 0 : (char const *) 0;
21657
21658 *t++ = 0;
21659 if (s) return 0;
21660 }
21661 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21662 int x[] = {25, 17};
21663 const int *foo = &x[0];
21664 ++foo;
21665 }
21666 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21667 typedef const int *iptr;
21668 iptr p = 0;
21669 ++p;
21670 }
21671 { /* AIX XL C 1.02.0.0 rejects this saying
21672 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21673 struct s { int j; const int *ap[3]; };
21674 struct s *b; b->j = 5;
21675 }
21676 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21677 const int foo = 10;
21678 if (!foo) return 0;
21679 }
21680 return !cs[0] && !zero.x;
21681 #endif
21682
21683 ;
21684 return 0;
21685 }
21686 _ACEOF
21687 rm -f conftest.$ac_objext
21688 if { (ac_try="$ac_compile"
21689 case "(($ac_try" in
21690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21691 *) ac_try_echo=$ac_try;;
21692 esac
21693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21694 (eval "$ac_compile") 2>conftest.er1
21695 ac_status=$?
21696 grep -v '^ *+' conftest.er1 >conftest.err
21697 rm -f conftest.er1
21698 cat conftest.err >&5
21699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21700 (exit $ac_status); } && {
21701 test -z "$ac_c_werror_flag" ||
21702 test ! -s conftest.err
21703 } && test -s conftest.$ac_objext; then
21704 ac_cv_c_const=yes
21705 else
21706 echo "$as_me: failed program was:" >&5
21707 sed 's/^/| /' conftest.$ac_ext >&5
21708
21709 ac_cv_c_const=no
21710 fi
21711
21712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21713 fi
21714 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21715 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21716 if test $ac_cv_c_const = no; then
21717
21718 cat >>confdefs.h <<\_ACEOF
21719 #define const
21720 _ACEOF
21721
21722 fi
21723
21724 { echo "$as_me:$LINENO: checking for inline" >&5
21725 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21726 if test "${ac_cv_c_inline+set}" = set; then
21727 echo $ECHO_N "(cached) $ECHO_C" >&6
21728 else
21729 ac_cv_c_inline=no
21730 for ac_kw in inline __inline__ __inline; do
21731 cat >conftest.$ac_ext <<_ACEOF
21732 /* confdefs.h. */
21733 _ACEOF
21734 cat confdefs.h >>conftest.$ac_ext
21735 cat >>conftest.$ac_ext <<_ACEOF
21736 /* end confdefs.h. */
21737 #ifndef __cplusplus
21738 typedef int foo_t;
21739 static $ac_kw foo_t static_foo () {return 0; }
21740 $ac_kw foo_t foo () {return 0; }
21741 #endif
21742
21743 _ACEOF
21744 rm -f conftest.$ac_objext
21745 if { (ac_try="$ac_compile"
21746 case "(($ac_try" in
21747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21748 *) ac_try_echo=$ac_try;;
21749 esac
21750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21751 (eval "$ac_compile") 2>conftest.er1
21752 ac_status=$?
21753 grep -v '^ *+' conftest.er1 >conftest.err
21754 rm -f conftest.er1
21755 cat conftest.err >&5
21756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21757 (exit $ac_status); } && {
21758 test -z "$ac_c_werror_flag" ||
21759 test ! -s conftest.err
21760 } && test -s conftest.$ac_objext; then
21761 ac_cv_c_inline=$ac_kw
21762 else
21763 echo "$as_me: failed program was:" >&5
21764 sed 's/^/| /' conftest.$ac_ext >&5
21765
21766
21767 fi
21768
21769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21770 test "$ac_cv_c_inline" != no && break
21771 done
21772
21773 fi
21774 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21775 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21776
21777
21778 case $ac_cv_c_inline in
21779 inline | yes) ;;
21780 *)
21781 case $ac_cv_c_inline in
21782 no) ac_val=;;
21783 *) ac_val=$ac_cv_c_inline;;
21784 esac
21785 cat >>confdefs.h <<_ACEOF
21786 #ifndef __cplusplus
21787 #define inline $ac_val
21788 #endif
21789 _ACEOF
21790 ;;
21791 esac
21792
21793
21794 { echo "$as_me:$LINENO: checking for short" >&5
21795 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21796 if test "${ac_cv_type_short+set}" = set; then
21797 echo $ECHO_N "(cached) $ECHO_C" >&6
21798 else
21799 cat >conftest.$ac_ext <<_ACEOF
21800 /* confdefs.h. */
21801 _ACEOF
21802 cat confdefs.h >>conftest.$ac_ext
21803 cat >>conftest.$ac_ext <<_ACEOF
21804 /* end confdefs.h. */
21805 $ac_includes_default
21806 typedef short ac__type_new_;
21807 int
21808 main ()
21809 {
21810 if ((ac__type_new_ *) 0)
21811 return 0;
21812 if (sizeof (ac__type_new_))
21813 return 0;
21814 ;
21815 return 0;
21816 }
21817 _ACEOF
21818 rm -f conftest.$ac_objext
21819 if { (ac_try="$ac_compile"
21820 case "(($ac_try" in
21821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21822 *) ac_try_echo=$ac_try;;
21823 esac
21824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21825 (eval "$ac_compile") 2>conftest.er1
21826 ac_status=$?
21827 grep -v '^ *+' conftest.er1 >conftest.err
21828 rm -f conftest.er1
21829 cat conftest.err >&5
21830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21831 (exit $ac_status); } && {
21832 test -z "$ac_c_werror_flag" ||
21833 test ! -s conftest.err
21834 } && test -s conftest.$ac_objext; then
21835 ac_cv_type_short=yes
21836 else
21837 echo "$as_me: failed program was:" >&5
21838 sed 's/^/| /' conftest.$ac_ext >&5
21839
21840 ac_cv_type_short=no
21841 fi
21842
21843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21844 fi
21845 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21846 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21847
21848 # The cast to long int works around a bug in the HP C Compiler
21849 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21850 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21851 # This bug is HP SR number 8606223364.
21852 { echo "$as_me:$LINENO: checking size of short" >&5
21853 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21854 if test "${ac_cv_sizeof_short+set}" = set; then
21855 echo $ECHO_N "(cached) $ECHO_C" >&6
21856 else
21857 if test "$cross_compiling" = yes; then
21858 # Depending upon the size, compute the lo and hi bounds.
21859 cat >conftest.$ac_ext <<_ACEOF
21860 /* confdefs.h. */
21861 _ACEOF
21862 cat confdefs.h >>conftest.$ac_ext
21863 cat >>conftest.$ac_ext <<_ACEOF
21864 /* end confdefs.h. */
21865 $ac_includes_default
21866 typedef short ac__type_sizeof_;
21867 int
21868 main ()
21869 {
21870 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21871 test_array [0] = 0
21872
21873 ;
21874 return 0;
21875 }
21876 _ACEOF
21877 rm -f conftest.$ac_objext
21878 if { (ac_try="$ac_compile"
21879 case "(($ac_try" in
21880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21881 *) ac_try_echo=$ac_try;;
21882 esac
21883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21884 (eval "$ac_compile") 2>conftest.er1
21885 ac_status=$?
21886 grep -v '^ *+' conftest.er1 >conftest.err
21887 rm -f conftest.er1
21888 cat conftest.err >&5
21889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21890 (exit $ac_status); } && {
21891 test -z "$ac_c_werror_flag" ||
21892 test ! -s conftest.err
21893 } && test -s conftest.$ac_objext; then
21894 ac_lo=0 ac_mid=0
21895 while :; do
21896 cat >conftest.$ac_ext <<_ACEOF
21897 /* confdefs.h. */
21898 _ACEOF
21899 cat confdefs.h >>conftest.$ac_ext
21900 cat >>conftest.$ac_ext <<_ACEOF
21901 /* end confdefs.h. */
21902 $ac_includes_default
21903 typedef short ac__type_sizeof_;
21904 int
21905 main ()
21906 {
21907 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21908 test_array [0] = 0
21909
21910 ;
21911 return 0;
21912 }
21913 _ACEOF
21914 rm -f conftest.$ac_objext
21915 if { (ac_try="$ac_compile"
21916 case "(($ac_try" in
21917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21918 *) ac_try_echo=$ac_try;;
21919 esac
21920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21921 (eval "$ac_compile") 2>conftest.er1
21922 ac_status=$?
21923 grep -v '^ *+' conftest.er1 >conftest.err
21924 rm -f conftest.er1
21925 cat conftest.err >&5
21926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21927 (exit $ac_status); } && {
21928 test -z "$ac_c_werror_flag" ||
21929 test ! -s conftest.err
21930 } && test -s conftest.$ac_objext; then
21931 ac_hi=$ac_mid; break
21932 else
21933 echo "$as_me: failed program was:" >&5
21934 sed 's/^/| /' conftest.$ac_ext >&5
21935
21936 ac_lo=`expr $ac_mid + 1`
21937 if test $ac_lo -le $ac_mid; then
21938 ac_lo= ac_hi=
21939 break
21940 fi
21941 ac_mid=`expr 2 '*' $ac_mid + 1`
21942 fi
21943
21944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21945 done
21946 else
21947 echo "$as_me: failed program was:" >&5
21948 sed 's/^/| /' conftest.$ac_ext >&5
21949
21950 cat >conftest.$ac_ext <<_ACEOF
21951 /* confdefs.h. */
21952 _ACEOF
21953 cat confdefs.h >>conftest.$ac_ext
21954 cat >>conftest.$ac_ext <<_ACEOF
21955 /* end confdefs.h. */
21956 $ac_includes_default
21957 typedef short ac__type_sizeof_;
21958 int
21959 main ()
21960 {
21961 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21962 test_array [0] = 0
21963
21964 ;
21965 return 0;
21966 }
21967 _ACEOF
21968 rm -f conftest.$ac_objext
21969 if { (ac_try="$ac_compile"
21970 case "(($ac_try" in
21971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21972 *) ac_try_echo=$ac_try;;
21973 esac
21974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21975 (eval "$ac_compile") 2>conftest.er1
21976 ac_status=$?
21977 grep -v '^ *+' conftest.er1 >conftest.err
21978 rm -f conftest.er1
21979 cat conftest.err >&5
21980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21981 (exit $ac_status); } && {
21982 test -z "$ac_c_werror_flag" ||
21983 test ! -s conftest.err
21984 } && test -s conftest.$ac_objext; then
21985 ac_hi=-1 ac_mid=-1
21986 while :; do
21987 cat >conftest.$ac_ext <<_ACEOF
21988 /* confdefs.h. */
21989 _ACEOF
21990 cat confdefs.h >>conftest.$ac_ext
21991 cat >>conftest.$ac_ext <<_ACEOF
21992 /* end confdefs.h. */
21993 $ac_includes_default
21994 typedef short ac__type_sizeof_;
21995 int
21996 main ()
21997 {
21998 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21999 test_array [0] = 0
22000
22001 ;
22002 return 0;
22003 }
22004 _ACEOF
22005 rm -f conftest.$ac_objext
22006 if { (ac_try="$ac_compile"
22007 case "(($ac_try" in
22008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22009 *) ac_try_echo=$ac_try;;
22010 esac
22011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22012 (eval "$ac_compile") 2>conftest.er1
22013 ac_status=$?
22014 grep -v '^ *+' conftest.er1 >conftest.err
22015 rm -f conftest.er1
22016 cat conftest.err >&5
22017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22018 (exit $ac_status); } && {
22019 test -z "$ac_c_werror_flag" ||
22020 test ! -s conftest.err
22021 } && test -s conftest.$ac_objext; then
22022 ac_lo=$ac_mid; break
22023 else
22024 echo "$as_me: failed program was:" >&5
22025 sed 's/^/| /' conftest.$ac_ext >&5
22026
22027 ac_hi=`expr '(' $ac_mid ')' - 1`
22028 if test $ac_mid -le $ac_hi; then
22029 ac_lo= ac_hi=
22030 break
22031 fi
22032 ac_mid=`expr 2 '*' $ac_mid`
22033 fi
22034
22035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22036 done
22037 else
22038 echo "$as_me: failed program was:" >&5
22039 sed 's/^/| /' conftest.$ac_ext >&5
22040
22041 ac_lo= ac_hi=
22042 fi
22043
22044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22045 fi
22046
22047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22048 # Binary search between lo and hi bounds.
22049 while test "x$ac_lo" != "x$ac_hi"; do
22050 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22051 cat >conftest.$ac_ext <<_ACEOF
22052 /* confdefs.h. */
22053 _ACEOF
22054 cat confdefs.h >>conftest.$ac_ext
22055 cat >>conftest.$ac_ext <<_ACEOF
22056 /* end confdefs.h. */
22057 $ac_includes_default
22058 typedef short ac__type_sizeof_;
22059 int
22060 main ()
22061 {
22062 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22063 test_array [0] = 0
22064
22065 ;
22066 return 0;
22067 }
22068 _ACEOF
22069 rm -f conftest.$ac_objext
22070 if { (ac_try="$ac_compile"
22071 case "(($ac_try" in
22072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22073 *) ac_try_echo=$ac_try;;
22074 esac
22075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22076 (eval "$ac_compile") 2>conftest.er1
22077 ac_status=$?
22078 grep -v '^ *+' conftest.er1 >conftest.err
22079 rm -f conftest.er1
22080 cat conftest.err >&5
22081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22082 (exit $ac_status); } && {
22083 test -z "$ac_c_werror_flag" ||
22084 test ! -s conftest.err
22085 } && test -s conftest.$ac_objext; then
22086 ac_hi=$ac_mid
22087 else
22088 echo "$as_me: failed program was:" >&5
22089 sed 's/^/| /' conftest.$ac_ext >&5
22090
22091 ac_lo=`expr '(' $ac_mid ')' + 1`
22092 fi
22093
22094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22095 done
22096 case $ac_lo in
22097 ?*) ac_cv_sizeof_short=$ac_lo;;
22098 '') if test "$ac_cv_type_short" = yes; then
22099 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22100 See \`config.log' for more details." >&5
22101 echo "$as_me: error: cannot compute sizeof (short)
22102 See \`config.log' for more details." >&2;}
22103 { (exit 77); exit 77; }; }
22104 else
22105 ac_cv_sizeof_short=0
22106 fi ;;
22107 esac
22108 else
22109 cat >conftest.$ac_ext <<_ACEOF
22110 /* confdefs.h. */
22111 _ACEOF
22112 cat confdefs.h >>conftest.$ac_ext
22113 cat >>conftest.$ac_ext <<_ACEOF
22114 /* end confdefs.h. */
22115 $ac_includes_default
22116 typedef short ac__type_sizeof_;
22117 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22118 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22119 #include <stdio.h>
22120 #include <stdlib.h>
22121 int
22122 main ()
22123 {
22124
22125 FILE *f = fopen ("conftest.val", "w");
22126 if (! f)
22127 return 1;
22128 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22129 {
22130 long int i = longval ();
22131 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22132 return 1;
22133 fprintf (f, "%ld\n", i);
22134 }
22135 else
22136 {
22137 unsigned long int i = ulongval ();
22138 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22139 return 1;
22140 fprintf (f, "%lu\n", i);
22141 }
22142 return ferror (f) || fclose (f) != 0;
22143
22144 ;
22145 return 0;
22146 }
22147 _ACEOF
22148 rm -f conftest$ac_exeext
22149 if { (ac_try="$ac_link"
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_link") 2>&5
22156 ac_status=$?
22157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22158 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22159 { (case "(($ac_try" in
22160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22161 *) ac_try_echo=$ac_try;;
22162 esac
22163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22164 (eval "$ac_try") 2>&5
22165 ac_status=$?
22166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22167 (exit $ac_status); }; }; then
22168 ac_cv_sizeof_short=`cat conftest.val`
22169 else
22170 echo "$as_me: program exited with status $ac_status" >&5
22171 echo "$as_me: failed program was:" >&5
22172 sed 's/^/| /' conftest.$ac_ext >&5
22173
22174 ( exit $ac_status )
22175 if test "$ac_cv_type_short" = yes; then
22176 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22177 See \`config.log' for more details." >&5
22178 echo "$as_me: error: cannot compute sizeof (short)
22179 See \`config.log' for more details." >&2;}
22180 { (exit 77); exit 77; }; }
22181 else
22182 ac_cv_sizeof_short=0
22183 fi
22184 fi
22185 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22186 fi
22187 rm -f conftest.val
22188 fi
22189 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22190 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
22191
22192
22193
22194 cat >>confdefs.h <<_ACEOF
22195 #define SIZEOF_SHORT $ac_cv_sizeof_short
22196 _ACEOF
22197
22198
22199 { echo "$as_me:$LINENO: checking for void *" >&5
22200 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
22201 if test "${ac_cv_type_void_p+set}" = set; then
22202 echo $ECHO_N "(cached) $ECHO_C" >&6
22203 else
22204 cat >conftest.$ac_ext <<_ACEOF
22205 /* confdefs.h. */
22206 _ACEOF
22207 cat confdefs.h >>conftest.$ac_ext
22208 cat >>conftest.$ac_ext <<_ACEOF
22209 /* end confdefs.h. */
22210 $ac_includes_default
22211 typedef void * ac__type_new_;
22212 int
22213 main ()
22214 {
22215 if ((ac__type_new_ *) 0)
22216 return 0;
22217 if (sizeof (ac__type_new_))
22218 return 0;
22219 ;
22220 return 0;
22221 }
22222 _ACEOF
22223 rm -f conftest.$ac_objext
22224 if { (ac_try="$ac_compile"
22225 case "(($ac_try" in
22226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22227 *) ac_try_echo=$ac_try;;
22228 esac
22229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22230 (eval "$ac_compile") 2>conftest.er1
22231 ac_status=$?
22232 grep -v '^ *+' conftest.er1 >conftest.err
22233 rm -f conftest.er1
22234 cat conftest.err >&5
22235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22236 (exit $ac_status); } && {
22237 test -z "$ac_c_werror_flag" ||
22238 test ! -s conftest.err
22239 } && test -s conftest.$ac_objext; then
22240 ac_cv_type_void_p=yes
22241 else
22242 echo "$as_me: failed program was:" >&5
22243 sed 's/^/| /' conftest.$ac_ext >&5
22244
22245 ac_cv_type_void_p=no
22246 fi
22247
22248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22249 fi
22250 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
22251 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
22252
22253 # The cast to long int works around a bug in the HP C Compiler
22254 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22255 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22256 # This bug is HP SR number 8606223364.
22257 { echo "$as_me:$LINENO: checking size of void *" >&5
22258 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22259 if test "${ac_cv_sizeof_void_p+set}" = set; then
22260 echo $ECHO_N "(cached) $ECHO_C" >&6
22261 else
22262 if test "$cross_compiling" = yes; then
22263 # Depending upon the size, compute the lo and hi bounds.
22264 cat >conftest.$ac_ext <<_ACEOF
22265 /* confdefs.h. */
22266 _ACEOF
22267 cat confdefs.h >>conftest.$ac_ext
22268 cat >>conftest.$ac_ext <<_ACEOF
22269 /* end confdefs.h. */
22270 $ac_includes_default
22271 typedef void * ac__type_sizeof_;
22272 int
22273 main ()
22274 {
22275 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22276 test_array [0] = 0
22277
22278 ;
22279 return 0;
22280 }
22281 _ACEOF
22282 rm -f conftest.$ac_objext
22283 if { (ac_try="$ac_compile"
22284 case "(($ac_try" in
22285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22286 *) ac_try_echo=$ac_try;;
22287 esac
22288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22289 (eval "$ac_compile") 2>conftest.er1
22290 ac_status=$?
22291 grep -v '^ *+' conftest.er1 >conftest.err
22292 rm -f conftest.er1
22293 cat conftest.err >&5
22294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22295 (exit $ac_status); } && {
22296 test -z "$ac_c_werror_flag" ||
22297 test ! -s conftest.err
22298 } && test -s conftest.$ac_objext; then
22299 ac_lo=0 ac_mid=0
22300 while :; do
22301 cat >conftest.$ac_ext <<_ACEOF
22302 /* confdefs.h. */
22303 _ACEOF
22304 cat confdefs.h >>conftest.$ac_ext
22305 cat >>conftest.$ac_ext <<_ACEOF
22306 /* end confdefs.h. */
22307 $ac_includes_default
22308 typedef void * ac__type_sizeof_;
22309 int
22310 main ()
22311 {
22312 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22313 test_array [0] = 0
22314
22315 ;
22316 return 0;
22317 }
22318 _ACEOF
22319 rm -f conftest.$ac_objext
22320 if { (ac_try="$ac_compile"
22321 case "(($ac_try" in
22322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22323 *) ac_try_echo=$ac_try;;
22324 esac
22325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22326 (eval "$ac_compile") 2>conftest.er1
22327 ac_status=$?
22328 grep -v '^ *+' conftest.er1 >conftest.err
22329 rm -f conftest.er1
22330 cat conftest.err >&5
22331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22332 (exit $ac_status); } && {
22333 test -z "$ac_c_werror_flag" ||
22334 test ! -s conftest.err
22335 } && test -s conftest.$ac_objext; then
22336 ac_hi=$ac_mid; break
22337 else
22338 echo "$as_me: failed program was:" >&5
22339 sed 's/^/| /' conftest.$ac_ext >&5
22340
22341 ac_lo=`expr $ac_mid + 1`
22342 if test $ac_lo -le $ac_mid; then
22343 ac_lo= ac_hi=
22344 break
22345 fi
22346 ac_mid=`expr 2 '*' $ac_mid + 1`
22347 fi
22348
22349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22350 done
22351 else
22352 echo "$as_me: failed program was:" >&5
22353 sed 's/^/| /' conftest.$ac_ext >&5
22354
22355 cat >conftest.$ac_ext <<_ACEOF
22356 /* confdefs.h. */
22357 _ACEOF
22358 cat confdefs.h >>conftest.$ac_ext
22359 cat >>conftest.$ac_ext <<_ACEOF
22360 /* end confdefs.h. */
22361 $ac_includes_default
22362 typedef void * ac__type_sizeof_;
22363 int
22364 main ()
22365 {
22366 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22367 test_array [0] = 0
22368
22369 ;
22370 return 0;
22371 }
22372 _ACEOF
22373 rm -f conftest.$ac_objext
22374 if { (ac_try="$ac_compile"
22375 case "(($ac_try" in
22376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22377 *) ac_try_echo=$ac_try;;
22378 esac
22379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22380 (eval "$ac_compile") 2>conftest.er1
22381 ac_status=$?
22382 grep -v '^ *+' conftest.er1 >conftest.err
22383 rm -f conftest.er1
22384 cat conftest.err >&5
22385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22386 (exit $ac_status); } && {
22387 test -z "$ac_c_werror_flag" ||
22388 test ! -s conftest.err
22389 } && test -s conftest.$ac_objext; then
22390 ac_hi=-1 ac_mid=-1
22391 while :; do
22392 cat >conftest.$ac_ext <<_ACEOF
22393 /* confdefs.h. */
22394 _ACEOF
22395 cat confdefs.h >>conftest.$ac_ext
22396 cat >>conftest.$ac_ext <<_ACEOF
22397 /* end confdefs.h. */
22398 $ac_includes_default
22399 typedef void * ac__type_sizeof_;
22400 int
22401 main ()
22402 {
22403 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22404 test_array [0] = 0
22405
22406 ;
22407 return 0;
22408 }
22409 _ACEOF
22410 rm -f conftest.$ac_objext
22411 if { (ac_try="$ac_compile"
22412 case "(($ac_try" in
22413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22414 *) ac_try_echo=$ac_try;;
22415 esac
22416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22417 (eval "$ac_compile") 2>conftest.er1
22418 ac_status=$?
22419 grep -v '^ *+' conftest.er1 >conftest.err
22420 rm -f conftest.er1
22421 cat conftest.err >&5
22422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22423 (exit $ac_status); } && {
22424 test -z "$ac_c_werror_flag" ||
22425 test ! -s conftest.err
22426 } && test -s conftest.$ac_objext; then
22427 ac_lo=$ac_mid; break
22428 else
22429 echo "$as_me: failed program was:" >&5
22430 sed 's/^/| /' conftest.$ac_ext >&5
22431
22432 ac_hi=`expr '(' $ac_mid ')' - 1`
22433 if test $ac_mid -le $ac_hi; then
22434 ac_lo= ac_hi=
22435 break
22436 fi
22437 ac_mid=`expr 2 '*' $ac_mid`
22438 fi
22439
22440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22441 done
22442 else
22443 echo "$as_me: failed program was:" >&5
22444 sed 's/^/| /' conftest.$ac_ext >&5
22445
22446 ac_lo= ac_hi=
22447 fi
22448
22449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22450 fi
22451
22452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22453 # Binary search between lo and hi bounds.
22454 while test "x$ac_lo" != "x$ac_hi"; do
22455 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22456 cat >conftest.$ac_ext <<_ACEOF
22457 /* confdefs.h. */
22458 _ACEOF
22459 cat confdefs.h >>conftest.$ac_ext
22460 cat >>conftest.$ac_ext <<_ACEOF
22461 /* end confdefs.h. */
22462 $ac_includes_default
22463 typedef void * ac__type_sizeof_;
22464 int
22465 main ()
22466 {
22467 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22468 test_array [0] = 0
22469
22470 ;
22471 return 0;
22472 }
22473 _ACEOF
22474 rm -f conftest.$ac_objext
22475 if { (ac_try="$ac_compile"
22476 case "(($ac_try" in
22477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22478 *) ac_try_echo=$ac_try;;
22479 esac
22480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22481 (eval "$ac_compile") 2>conftest.er1
22482 ac_status=$?
22483 grep -v '^ *+' conftest.er1 >conftest.err
22484 rm -f conftest.er1
22485 cat conftest.err >&5
22486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22487 (exit $ac_status); } && {
22488 test -z "$ac_c_werror_flag" ||
22489 test ! -s conftest.err
22490 } && test -s conftest.$ac_objext; then
22491 ac_hi=$ac_mid
22492 else
22493 echo "$as_me: failed program was:" >&5
22494 sed 's/^/| /' conftest.$ac_ext >&5
22495
22496 ac_lo=`expr '(' $ac_mid ')' + 1`
22497 fi
22498
22499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22500 done
22501 case $ac_lo in
22502 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22503 '') if test "$ac_cv_type_void_p" = yes; then
22504 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22505 See \`config.log' for more details." >&5
22506 echo "$as_me: error: cannot compute sizeof (void *)
22507 See \`config.log' for more details." >&2;}
22508 { (exit 77); exit 77; }; }
22509 else
22510 ac_cv_sizeof_void_p=0
22511 fi ;;
22512 esac
22513 else
22514 cat >conftest.$ac_ext <<_ACEOF
22515 /* confdefs.h. */
22516 _ACEOF
22517 cat confdefs.h >>conftest.$ac_ext
22518 cat >>conftest.$ac_ext <<_ACEOF
22519 /* end confdefs.h. */
22520 $ac_includes_default
22521 typedef void * ac__type_sizeof_;
22522 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22523 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22524 #include <stdio.h>
22525 #include <stdlib.h>
22526 int
22527 main ()
22528 {
22529
22530 FILE *f = fopen ("conftest.val", "w");
22531 if (! f)
22532 return 1;
22533 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22534 {
22535 long int i = longval ();
22536 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22537 return 1;
22538 fprintf (f, "%ld\n", i);
22539 }
22540 else
22541 {
22542 unsigned long int i = ulongval ();
22543 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22544 return 1;
22545 fprintf (f, "%lu\n", i);
22546 }
22547 return ferror (f) || fclose (f) != 0;
22548
22549 ;
22550 return 0;
22551 }
22552 _ACEOF
22553 rm -f conftest$ac_exeext
22554 if { (ac_try="$ac_link"
22555 case "(($ac_try" in
22556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22557 *) ac_try_echo=$ac_try;;
22558 esac
22559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22560 (eval "$ac_link") 2>&5
22561 ac_status=$?
22562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22563 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22564 { (case "(($ac_try" in
22565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22566 *) ac_try_echo=$ac_try;;
22567 esac
22568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22569 (eval "$ac_try") 2>&5
22570 ac_status=$?
22571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22572 (exit $ac_status); }; }; then
22573 ac_cv_sizeof_void_p=`cat conftest.val`
22574 else
22575 echo "$as_me: program exited with status $ac_status" >&5
22576 echo "$as_me: failed program was:" >&5
22577 sed 's/^/| /' conftest.$ac_ext >&5
22578
22579 ( exit $ac_status )
22580 if test "$ac_cv_type_void_p" = yes; then
22581 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22582 See \`config.log' for more details." >&5
22583 echo "$as_me: error: cannot compute sizeof (void *)
22584 See \`config.log' for more details." >&2;}
22585 { (exit 77); exit 77; }; }
22586 else
22587 ac_cv_sizeof_void_p=0
22588 fi
22589 fi
22590 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22591 fi
22592 rm -f conftest.val
22593 fi
22594 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22595 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22596
22597
22598
22599 cat >>confdefs.h <<_ACEOF
22600 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22601 _ACEOF
22602
22603
22604 { echo "$as_me:$LINENO: checking for int" >&5
22605 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22606 if test "${ac_cv_type_int+set}" = set; then
22607 echo $ECHO_N "(cached) $ECHO_C" >&6
22608 else
22609 cat >conftest.$ac_ext <<_ACEOF
22610 /* confdefs.h. */
22611 _ACEOF
22612 cat confdefs.h >>conftest.$ac_ext
22613 cat >>conftest.$ac_ext <<_ACEOF
22614 /* end confdefs.h. */
22615 $ac_includes_default
22616 typedef int ac__type_new_;
22617 int
22618 main ()
22619 {
22620 if ((ac__type_new_ *) 0)
22621 return 0;
22622 if (sizeof (ac__type_new_))
22623 return 0;
22624 ;
22625 return 0;
22626 }
22627 _ACEOF
22628 rm -f conftest.$ac_objext
22629 if { (ac_try="$ac_compile"
22630 case "(($ac_try" in
22631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22632 *) ac_try_echo=$ac_try;;
22633 esac
22634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22635 (eval "$ac_compile") 2>conftest.er1
22636 ac_status=$?
22637 grep -v '^ *+' conftest.er1 >conftest.err
22638 rm -f conftest.er1
22639 cat conftest.err >&5
22640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22641 (exit $ac_status); } && {
22642 test -z "$ac_c_werror_flag" ||
22643 test ! -s conftest.err
22644 } && test -s conftest.$ac_objext; then
22645 ac_cv_type_int=yes
22646 else
22647 echo "$as_me: failed program was:" >&5
22648 sed 's/^/| /' conftest.$ac_ext >&5
22649
22650 ac_cv_type_int=no
22651 fi
22652
22653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22654 fi
22655 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22656 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22657
22658 # The cast to long int works around a bug in the HP C Compiler
22659 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22660 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22661 # This bug is HP SR number 8606223364.
22662 { echo "$as_me:$LINENO: checking size of int" >&5
22663 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22664 if test "${ac_cv_sizeof_int+set}" = set; then
22665 echo $ECHO_N "(cached) $ECHO_C" >&6
22666 else
22667 if test "$cross_compiling" = yes; then
22668 # Depending upon the size, compute the lo and hi bounds.
22669 cat >conftest.$ac_ext <<_ACEOF
22670 /* confdefs.h. */
22671 _ACEOF
22672 cat confdefs.h >>conftest.$ac_ext
22673 cat >>conftest.$ac_ext <<_ACEOF
22674 /* end confdefs.h. */
22675 $ac_includes_default
22676 typedef int ac__type_sizeof_;
22677 int
22678 main ()
22679 {
22680 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22681 test_array [0] = 0
22682
22683 ;
22684 return 0;
22685 }
22686 _ACEOF
22687 rm -f conftest.$ac_objext
22688 if { (ac_try="$ac_compile"
22689 case "(($ac_try" in
22690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22691 *) ac_try_echo=$ac_try;;
22692 esac
22693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22694 (eval "$ac_compile") 2>conftest.er1
22695 ac_status=$?
22696 grep -v '^ *+' conftest.er1 >conftest.err
22697 rm -f conftest.er1
22698 cat conftest.err >&5
22699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22700 (exit $ac_status); } && {
22701 test -z "$ac_c_werror_flag" ||
22702 test ! -s conftest.err
22703 } && test -s conftest.$ac_objext; then
22704 ac_lo=0 ac_mid=0
22705 while :; do
22706 cat >conftest.$ac_ext <<_ACEOF
22707 /* confdefs.h. */
22708 _ACEOF
22709 cat confdefs.h >>conftest.$ac_ext
22710 cat >>conftest.$ac_ext <<_ACEOF
22711 /* end confdefs.h. */
22712 $ac_includes_default
22713 typedef int ac__type_sizeof_;
22714 int
22715 main ()
22716 {
22717 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22718 test_array [0] = 0
22719
22720 ;
22721 return 0;
22722 }
22723 _ACEOF
22724 rm -f conftest.$ac_objext
22725 if { (ac_try="$ac_compile"
22726 case "(($ac_try" in
22727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22728 *) ac_try_echo=$ac_try;;
22729 esac
22730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22731 (eval "$ac_compile") 2>conftest.er1
22732 ac_status=$?
22733 grep -v '^ *+' conftest.er1 >conftest.err
22734 rm -f conftest.er1
22735 cat conftest.err >&5
22736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22737 (exit $ac_status); } && {
22738 test -z "$ac_c_werror_flag" ||
22739 test ! -s conftest.err
22740 } && test -s conftest.$ac_objext; then
22741 ac_hi=$ac_mid; break
22742 else
22743 echo "$as_me: failed program was:" >&5
22744 sed 's/^/| /' conftest.$ac_ext >&5
22745
22746 ac_lo=`expr $ac_mid + 1`
22747 if test $ac_lo -le $ac_mid; then
22748 ac_lo= ac_hi=
22749 break
22750 fi
22751 ac_mid=`expr 2 '*' $ac_mid + 1`
22752 fi
22753
22754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22755 done
22756 else
22757 echo "$as_me: failed program was:" >&5
22758 sed 's/^/| /' conftest.$ac_ext >&5
22759
22760 cat >conftest.$ac_ext <<_ACEOF
22761 /* confdefs.h. */
22762 _ACEOF
22763 cat confdefs.h >>conftest.$ac_ext
22764 cat >>conftest.$ac_ext <<_ACEOF
22765 /* end confdefs.h. */
22766 $ac_includes_default
22767 typedef int ac__type_sizeof_;
22768 int
22769 main ()
22770 {
22771 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22772 test_array [0] = 0
22773
22774 ;
22775 return 0;
22776 }
22777 _ACEOF
22778 rm -f conftest.$ac_objext
22779 if { (ac_try="$ac_compile"
22780 case "(($ac_try" in
22781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22782 *) ac_try_echo=$ac_try;;
22783 esac
22784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22785 (eval "$ac_compile") 2>conftest.er1
22786 ac_status=$?
22787 grep -v '^ *+' conftest.er1 >conftest.err
22788 rm -f conftest.er1
22789 cat conftest.err >&5
22790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22791 (exit $ac_status); } && {
22792 test -z "$ac_c_werror_flag" ||
22793 test ! -s conftest.err
22794 } && test -s conftest.$ac_objext; then
22795 ac_hi=-1 ac_mid=-1
22796 while :; do
22797 cat >conftest.$ac_ext <<_ACEOF
22798 /* confdefs.h. */
22799 _ACEOF
22800 cat confdefs.h >>conftest.$ac_ext
22801 cat >>conftest.$ac_ext <<_ACEOF
22802 /* end confdefs.h. */
22803 $ac_includes_default
22804 typedef int ac__type_sizeof_;
22805 int
22806 main ()
22807 {
22808 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22809 test_array [0] = 0
22810
22811 ;
22812 return 0;
22813 }
22814 _ACEOF
22815 rm -f conftest.$ac_objext
22816 if { (ac_try="$ac_compile"
22817 case "(($ac_try" in
22818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22819 *) ac_try_echo=$ac_try;;
22820 esac
22821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22822 (eval "$ac_compile") 2>conftest.er1
22823 ac_status=$?
22824 grep -v '^ *+' conftest.er1 >conftest.err
22825 rm -f conftest.er1
22826 cat conftest.err >&5
22827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22828 (exit $ac_status); } && {
22829 test -z "$ac_c_werror_flag" ||
22830 test ! -s conftest.err
22831 } && test -s conftest.$ac_objext; then
22832 ac_lo=$ac_mid; break
22833 else
22834 echo "$as_me: failed program was:" >&5
22835 sed 's/^/| /' conftest.$ac_ext >&5
22836
22837 ac_hi=`expr '(' $ac_mid ')' - 1`
22838 if test $ac_mid -le $ac_hi; then
22839 ac_lo= ac_hi=
22840 break
22841 fi
22842 ac_mid=`expr 2 '*' $ac_mid`
22843 fi
22844
22845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22846 done
22847 else
22848 echo "$as_me: failed program was:" >&5
22849 sed 's/^/| /' conftest.$ac_ext >&5
22850
22851 ac_lo= ac_hi=
22852 fi
22853
22854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22855 fi
22856
22857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22858 # Binary search between lo and hi bounds.
22859 while test "x$ac_lo" != "x$ac_hi"; do
22860 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22861 cat >conftest.$ac_ext <<_ACEOF
22862 /* confdefs.h. */
22863 _ACEOF
22864 cat confdefs.h >>conftest.$ac_ext
22865 cat >>conftest.$ac_ext <<_ACEOF
22866 /* end confdefs.h. */
22867 $ac_includes_default
22868 typedef int ac__type_sizeof_;
22869 int
22870 main ()
22871 {
22872 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22873 test_array [0] = 0
22874
22875 ;
22876 return 0;
22877 }
22878 _ACEOF
22879 rm -f conftest.$ac_objext
22880 if { (ac_try="$ac_compile"
22881 case "(($ac_try" in
22882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22883 *) ac_try_echo=$ac_try;;
22884 esac
22885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22886 (eval "$ac_compile") 2>conftest.er1
22887 ac_status=$?
22888 grep -v '^ *+' conftest.er1 >conftest.err
22889 rm -f conftest.er1
22890 cat conftest.err >&5
22891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22892 (exit $ac_status); } && {
22893 test -z "$ac_c_werror_flag" ||
22894 test ! -s conftest.err
22895 } && test -s conftest.$ac_objext; then
22896 ac_hi=$ac_mid
22897 else
22898 echo "$as_me: failed program was:" >&5
22899 sed 's/^/| /' conftest.$ac_ext >&5
22900
22901 ac_lo=`expr '(' $ac_mid ')' + 1`
22902 fi
22903
22904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22905 done
22906 case $ac_lo in
22907 ?*) ac_cv_sizeof_int=$ac_lo;;
22908 '') if test "$ac_cv_type_int" = yes; then
22909 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22910 See \`config.log' for more details." >&5
22911 echo "$as_me: error: cannot compute sizeof (int)
22912 See \`config.log' for more details." >&2;}
22913 { (exit 77); exit 77; }; }
22914 else
22915 ac_cv_sizeof_int=0
22916 fi ;;
22917 esac
22918 else
22919 cat >conftest.$ac_ext <<_ACEOF
22920 /* confdefs.h. */
22921 _ACEOF
22922 cat confdefs.h >>conftest.$ac_ext
22923 cat >>conftest.$ac_ext <<_ACEOF
22924 /* end confdefs.h. */
22925 $ac_includes_default
22926 typedef int ac__type_sizeof_;
22927 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22928 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22929 #include <stdio.h>
22930 #include <stdlib.h>
22931 int
22932 main ()
22933 {
22934
22935 FILE *f = fopen ("conftest.val", "w");
22936 if (! f)
22937 return 1;
22938 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22939 {
22940 long int i = longval ();
22941 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22942 return 1;
22943 fprintf (f, "%ld\n", i);
22944 }
22945 else
22946 {
22947 unsigned long int i = ulongval ();
22948 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22949 return 1;
22950 fprintf (f, "%lu\n", i);
22951 }
22952 return ferror (f) || fclose (f) != 0;
22953
22954 ;
22955 return 0;
22956 }
22957 _ACEOF
22958 rm -f conftest$ac_exeext
22959 if { (ac_try="$ac_link"
22960 case "(($ac_try" in
22961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22962 *) ac_try_echo=$ac_try;;
22963 esac
22964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22965 (eval "$ac_link") 2>&5
22966 ac_status=$?
22967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22968 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22969 { (case "(($ac_try" in
22970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22971 *) ac_try_echo=$ac_try;;
22972 esac
22973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22974 (eval "$ac_try") 2>&5
22975 ac_status=$?
22976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22977 (exit $ac_status); }; }; then
22978 ac_cv_sizeof_int=`cat conftest.val`
22979 else
22980 echo "$as_me: program exited with status $ac_status" >&5
22981 echo "$as_me: failed program was:" >&5
22982 sed 's/^/| /' conftest.$ac_ext >&5
22983
22984 ( exit $ac_status )
22985 if test "$ac_cv_type_int" = yes; then
22986 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22987 See \`config.log' for more details." >&5
22988 echo "$as_me: error: cannot compute sizeof (int)
22989 See \`config.log' for more details." >&2;}
22990 { (exit 77); exit 77; }; }
22991 else
22992 ac_cv_sizeof_int=0
22993 fi
22994 fi
22995 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22996 fi
22997 rm -f conftest.val
22998 fi
22999 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
23000 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
23001
23002
23003
23004 cat >>confdefs.h <<_ACEOF
23005 #define SIZEOF_INT $ac_cv_sizeof_int
23006 _ACEOF
23007
23008
23009 { echo "$as_me:$LINENO: checking for long" >&5
23010 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
23011 if test "${ac_cv_type_long+set}" = set; then
23012 echo $ECHO_N "(cached) $ECHO_C" >&6
23013 else
23014 cat >conftest.$ac_ext <<_ACEOF
23015 /* confdefs.h. */
23016 _ACEOF
23017 cat confdefs.h >>conftest.$ac_ext
23018 cat >>conftest.$ac_ext <<_ACEOF
23019 /* end confdefs.h. */
23020 $ac_includes_default
23021 typedef long ac__type_new_;
23022 int
23023 main ()
23024 {
23025 if ((ac__type_new_ *) 0)
23026 return 0;
23027 if (sizeof (ac__type_new_))
23028 return 0;
23029 ;
23030 return 0;
23031 }
23032 _ACEOF
23033 rm -f conftest.$ac_objext
23034 if { (ac_try="$ac_compile"
23035 case "(($ac_try" in
23036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23037 *) ac_try_echo=$ac_try;;
23038 esac
23039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23040 (eval "$ac_compile") 2>conftest.er1
23041 ac_status=$?
23042 grep -v '^ *+' conftest.er1 >conftest.err
23043 rm -f conftest.er1
23044 cat conftest.err >&5
23045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23046 (exit $ac_status); } && {
23047 test -z "$ac_c_werror_flag" ||
23048 test ! -s conftest.err
23049 } && test -s conftest.$ac_objext; then
23050 ac_cv_type_long=yes
23051 else
23052 echo "$as_me: failed program was:" >&5
23053 sed 's/^/| /' conftest.$ac_ext >&5
23054
23055 ac_cv_type_long=no
23056 fi
23057
23058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23059 fi
23060 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
23061 echo "${ECHO_T}$ac_cv_type_long" >&6; }
23062
23063 # The cast to long int works around a bug in the HP C Compiler
23064 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23065 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23066 # This bug is HP SR number 8606223364.
23067 { echo "$as_me:$LINENO: checking size of long" >&5
23068 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
23069 if test "${ac_cv_sizeof_long+set}" = set; then
23070 echo $ECHO_N "(cached) $ECHO_C" >&6
23071 else
23072 if test "$cross_compiling" = yes; then
23073 # Depending upon the size, compute the lo and hi bounds.
23074 cat >conftest.$ac_ext <<_ACEOF
23075 /* confdefs.h. */
23076 _ACEOF
23077 cat confdefs.h >>conftest.$ac_ext
23078 cat >>conftest.$ac_ext <<_ACEOF
23079 /* end confdefs.h. */
23080 $ac_includes_default
23081 typedef long ac__type_sizeof_;
23082 int
23083 main ()
23084 {
23085 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23086 test_array [0] = 0
23087
23088 ;
23089 return 0;
23090 }
23091 _ACEOF
23092 rm -f conftest.$ac_objext
23093 if { (ac_try="$ac_compile"
23094 case "(($ac_try" in
23095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23096 *) ac_try_echo=$ac_try;;
23097 esac
23098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23099 (eval "$ac_compile") 2>conftest.er1
23100 ac_status=$?
23101 grep -v '^ *+' conftest.er1 >conftest.err
23102 rm -f conftest.er1
23103 cat conftest.err >&5
23104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23105 (exit $ac_status); } && {
23106 test -z "$ac_c_werror_flag" ||
23107 test ! -s conftest.err
23108 } && test -s conftest.$ac_objext; then
23109 ac_lo=0 ac_mid=0
23110 while :; do
23111 cat >conftest.$ac_ext <<_ACEOF
23112 /* confdefs.h. */
23113 _ACEOF
23114 cat confdefs.h >>conftest.$ac_ext
23115 cat >>conftest.$ac_ext <<_ACEOF
23116 /* end confdefs.h. */
23117 $ac_includes_default
23118 typedef long ac__type_sizeof_;
23119 int
23120 main ()
23121 {
23122 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23123 test_array [0] = 0
23124
23125 ;
23126 return 0;
23127 }
23128 _ACEOF
23129 rm -f conftest.$ac_objext
23130 if { (ac_try="$ac_compile"
23131 case "(($ac_try" in
23132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23133 *) ac_try_echo=$ac_try;;
23134 esac
23135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23136 (eval "$ac_compile") 2>conftest.er1
23137 ac_status=$?
23138 grep -v '^ *+' conftest.er1 >conftest.err
23139 rm -f conftest.er1
23140 cat conftest.err >&5
23141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23142 (exit $ac_status); } && {
23143 test -z "$ac_c_werror_flag" ||
23144 test ! -s conftest.err
23145 } && test -s conftest.$ac_objext; then
23146 ac_hi=$ac_mid; break
23147 else
23148 echo "$as_me: failed program was:" >&5
23149 sed 's/^/| /' conftest.$ac_ext >&5
23150
23151 ac_lo=`expr $ac_mid + 1`
23152 if test $ac_lo -le $ac_mid; then
23153 ac_lo= ac_hi=
23154 break
23155 fi
23156 ac_mid=`expr 2 '*' $ac_mid + 1`
23157 fi
23158
23159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23160 done
23161 else
23162 echo "$as_me: failed program was:" >&5
23163 sed 's/^/| /' conftest.$ac_ext >&5
23164
23165 cat >conftest.$ac_ext <<_ACEOF
23166 /* confdefs.h. */
23167 _ACEOF
23168 cat confdefs.h >>conftest.$ac_ext
23169 cat >>conftest.$ac_ext <<_ACEOF
23170 /* end confdefs.h. */
23171 $ac_includes_default
23172 typedef long ac__type_sizeof_;
23173 int
23174 main ()
23175 {
23176 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23177 test_array [0] = 0
23178
23179 ;
23180 return 0;
23181 }
23182 _ACEOF
23183 rm -f conftest.$ac_objext
23184 if { (ac_try="$ac_compile"
23185 case "(($ac_try" in
23186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23187 *) ac_try_echo=$ac_try;;
23188 esac
23189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23190 (eval "$ac_compile") 2>conftest.er1
23191 ac_status=$?
23192 grep -v '^ *+' conftest.er1 >conftest.err
23193 rm -f conftest.er1
23194 cat conftest.err >&5
23195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23196 (exit $ac_status); } && {
23197 test -z "$ac_c_werror_flag" ||
23198 test ! -s conftest.err
23199 } && test -s conftest.$ac_objext; then
23200 ac_hi=-1 ac_mid=-1
23201 while :; do
23202 cat >conftest.$ac_ext <<_ACEOF
23203 /* confdefs.h. */
23204 _ACEOF
23205 cat confdefs.h >>conftest.$ac_ext
23206 cat >>conftest.$ac_ext <<_ACEOF
23207 /* end confdefs.h. */
23208 $ac_includes_default
23209 typedef long ac__type_sizeof_;
23210 int
23211 main ()
23212 {
23213 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23214 test_array [0] = 0
23215
23216 ;
23217 return 0;
23218 }
23219 _ACEOF
23220 rm -f conftest.$ac_objext
23221 if { (ac_try="$ac_compile"
23222 case "(($ac_try" in
23223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23224 *) ac_try_echo=$ac_try;;
23225 esac
23226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23227 (eval "$ac_compile") 2>conftest.er1
23228 ac_status=$?
23229 grep -v '^ *+' conftest.er1 >conftest.err
23230 rm -f conftest.er1
23231 cat conftest.err >&5
23232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23233 (exit $ac_status); } && {
23234 test -z "$ac_c_werror_flag" ||
23235 test ! -s conftest.err
23236 } && test -s conftest.$ac_objext; then
23237 ac_lo=$ac_mid; break
23238 else
23239 echo "$as_me: failed program was:" >&5
23240 sed 's/^/| /' conftest.$ac_ext >&5
23241
23242 ac_hi=`expr '(' $ac_mid ')' - 1`
23243 if test $ac_mid -le $ac_hi; then
23244 ac_lo= ac_hi=
23245 break
23246 fi
23247 ac_mid=`expr 2 '*' $ac_mid`
23248 fi
23249
23250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23251 done
23252 else
23253 echo "$as_me: failed program was:" >&5
23254 sed 's/^/| /' conftest.$ac_ext >&5
23255
23256 ac_lo= ac_hi=
23257 fi
23258
23259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23260 fi
23261
23262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23263 # Binary search between lo and hi bounds.
23264 while test "x$ac_lo" != "x$ac_hi"; do
23265 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23266 cat >conftest.$ac_ext <<_ACEOF
23267 /* confdefs.h. */
23268 _ACEOF
23269 cat confdefs.h >>conftest.$ac_ext
23270 cat >>conftest.$ac_ext <<_ACEOF
23271 /* end confdefs.h. */
23272 $ac_includes_default
23273 typedef long ac__type_sizeof_;
23274 int
23275 main ()
23276 {
23277 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23278 test_array [0] = 0
23279
23280 ;
23281 return 0;
23282 }
23283 _ACEOF
23284 rm -f conftest.$ac_objext
23285 if { (ac_try="$ac_compile"
23286 case "(($ac_try" in
23287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23288 *) ac_try_echo=$ac_try;;
23289 esac
23290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23291 (eval "$ac_compile") 2>conftest.er1
23292 ac_status=$?
23293 grep -v '^ *+' conftest.er1 >conftest.err
23294 rm -f conftest.er1
23295 cat conftest.err >&5
23296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23297 (exit $ac_status); } && {
23298 test -z "$ac_c_werror_flag" ||
23299 test ! -s conftest.err
23300 } && test -s conftest.$ac_objext; then
23301 ac_hi=$ac_mid
23302 else
23303 echo "$as_me: failed program was:" >&5
23304 sed 's/^/| /' conftest.$ac_ext >&5
23305
23306 ac_lo=`expr '(' $ac_mid ')' + 1`
23307 fi
23308
23309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23310 done
23311 case $ac_lo in
23312 ?*) ac_cv_sizeof_long=$ac_lo;;
23313 '') if test "$ac_cv_type_long" = yes; then
23314 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23315 See \`config.log' for more details." >&5
23316 echo "$as_me: error: cannot compute sizeof (long)
23317 See \`config.log' for more details." >&2;}
23318 { (exit 77); exit 77; }; }
23319 else
23320 ac_cv_sizeof_long=0
23321 fi ;;
23322 esac
23323 else
23324 cat >conftest.$ac_ext <<_ACEOF
23325 /* confdefs.h. */
23326 _ACEOF
23327 cat confdefs.h >>conftest.$ac_ext
23328 cat >>conftest.$ac_ext <<_ACEOF
23329 /* end confdefs.h. */
23330 $ac_includes_default
23331 typedef long ac__type_sizeof_;
23332 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23333 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23334 #include <stdio.h>
23335 #include <stdlib.h>
23336 int
23337 main ()
23338 {
23339
23340 FILE *f = fopen ("conftest.val", "w");
23341 if (! f)
23342 return 1;
23343 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23344 {
23345 long int i = longval ();
23346 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23347 return 1;
23348 fprintf (f, "%ld\n", i);
23349 }
23350 else
23351 {
23352 unsigned long int i = ulongval ();
23353 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23354 return 1;
23355 fprintf (f, "%lu\n", i);
23356 }
23357 return ferror (f) || fclose (f) != 0;
23358
23359 ;
23360 return 0;
23361 }
23362 _ACEOF
23363 rm -f conftest$ac_exeext
23364 if { (ac_try="$ac_link"
23365 case "(($ac_try" in
23366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23367 *) ac_try_echo=$ac_try;;
23368 esac
23369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23370 (eval "$ac_link") 2>&5
23371 ac_status=$?
23372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23373 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23374 { (case "(($ac_try" in
23375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23376 *) ac_try_echo=$ac_try;;
23377 esac
23378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23379 (eval "$ac_try") 2>&5
23380 ac_status=$?
23381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23382 (exit $ac_status); }; }; then
23383 ac_cv_sizeof_long=`cat conftest.val`
23384 else
23385 echo "$as_me: program exited with status $ac_status" >&5
23386 echo "$as_me: failed program was:" >&5
23387 sed 's/^/| /' conftest.$ac_ext >&5
23388
23389 ( exit $ac_status )
23390 if test "$ac_cv_type_long" = yes; then
23391 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23392 See \`config.log' for more details." >&5
23393 echo "$as_me: error: cannot compute sizeof (long)
23394 See \`config.log' for more details." >&2;}
23395 { (exit 77); exit 77; }; }
23396 else
23397 ac_cv_sizeof_long=0
23398 fi
23399 fi
23400 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23401 fi
23402 rm -f conftest.val
23403 fi
23404 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23405 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23406
23407
23408
23409 cat >>confdefs.h <<_ACEOF
23410 #define SIZEOF_LONG $ac_cv_sizeof_long
23411 _ACEOF
23412
23413
23414 { echo "$as_me:$LINENO: checking for size_t" >&5
23415 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23416 if test "${ac_cv_type_size_t+set}" = set; then
23417 echo $ECHO_N "(cached) $ECHO_C" >&6
23418 else
23419 cat >conftest.$ac_ext <<_ACEOF
23420 /* confdefs.h. */
23421 _ACEOF
23422 cat confdefs.h >>conftest.$ac_ext
23423 cat >>conftest.$ac_ext <<_ACEOF
23424 /* end confdefs.h. */
23425 $ac_includes_default
23426 typedef size_t ac__type_new_;
23427 int
23428 main ()
23429 {
23430 if ((ac__type_new_ *) 0)
23431 return 0;
23432 if (sizeof (ac__type_new_))
23433 return 0;
23434 ;
23435 return 0;
23436 }
23437 _ACEOF
23438 rm -f conftest.$ac_objext
23439 if { (ac_try="$ac_compile"
23440 case "(($ac_try" in
23441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23442 *) ac_try_echo=$ac_try;;
23443 esac
23444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23445 (eval "$ac_compile") 2>conftest.er1
23446 ac_status=$?
23447 grep -v '^ *+' conftest.er1 >conftest.err
23448 rm -f conftest.er1
23449 cat conftest.err >&5
23450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23451 (exit $ac_status); } && {
23452 test -z "$ac_c_werror_flag" ||
23453 test ! -s conftest.err
23454 } && test -s conftest.$ac_objext; then
23455 ac_cv_type_size_t=yes
23456 else
23457 echo "$as_me: failed program was:" >&5
23458 sed 's/^/| /' conftest.$ac_ext >&5
23459
23460 ac_cv_type_size_t=no
23461 fi
23462
23463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23464 fi
23465 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23466 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23467
23468 # The cast to long int works around a bug in the HP C Compiler
23469 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23470 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23471 # This bug is HP SR number 8606223364.
23472 { echo "$as_me:$LINENO: checking size of size_t" >&5
23473 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23474 if test "${ac_cv_sizeof_size_t+set}" = set; then
23475 echo $ECHO_N "(cached) $ECHO_C" >&6
23476 else
23477 if test "$cross_compiling" = yes; then
23478 # Depending upon the size, compute the lo and hi bounds.
23479 cat >conftest.$ac_ext <<_ACEOF
23480 /* confdefs.h. */
23481 _ACEOF
23482 cat confdefs.h >>conftest.$ac_ext
23483 cat >>conftest.$ac_ext <<_ACEOF
23484 /* end confdefs.h. */
23485 $ac_includes_default
23486 typedef size_t ac__type_sizeof_;
23487 int
23488 main ()
23489 {
23490 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23491 test_array [0] = 0
23492
23493 ;
23494 return 0;
23495 }
23496 _ACEOF
23497 rm -f conftest.$ac_objext
23498 if { (ac_try="$ac_compile"
23499 case "(($ac_try" in
23500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23501 *) ac_try_echo=$ac_try;;
23502 esac
23503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23504 (eval "$ac_compile") 2>conftest.er1
23505 ac_status=$?
23506 grep -v '^ *+' conftest.er1 >conftest.err
23507 rm -f conftest.er1
23508 cat conftest.err >&5
23509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23510 (exit $ac_status); } && {
23511 test -z "$ac_c_werror_flag" ||
23512 test ! -s conftest.err
23513 } && test -s conftest.$ac_objext; then
23514 ac_lo=0 ac_mid=0
23515 while :; do
23516 cat >conftest.$ac_ext <<_ACEOF
23517 /* confdefs.h. */
23518 _ACEOF
23519 cat confdefs.h >>conftest.$ac_ext
23520 cat >>conftest.$ac_ext <<_ACEOF
23521 /* end confdefs.h. */
23522 $ac_includes_default
23523 typedef size_t ac__type_sizeof_;
23524 int
23525 main ()
23526 {
23527 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23528 test_array [0] = 0
23529
23530 ;
23531 return 0;
23532 }
23533 _ACEOF
23534 rm -f conftest.$ac_objext
23535 if { (ac_try="$ac_compile"
23536 case "(($ac_try" in
23537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23538 *) ac_try_echo=$ac_try;;
23539 esac
23540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23541 (eval "$ac_compile") 2>conftest.er1
23542 ac_status=$?
23543 grep -v '^ *+' conftest.er1 >conftest.err
23544 rm -f conftest.er1
23545 cat conftest.err >&5
23546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23547 (exit $ac_status); } && {
23548 test -z "$ac_c_werror_flag" ||
23549 test ! -s conftest.err
23550 } && test -s conftest.$ac_objext; then
23551 ac_hi=$ac_mid; break
23552 else
23553 echo "$as_me: failed program was:" >&5
23554 sed 's/^/| /' conftest.$ac_ext >&5
23555
23556 ac_lo=`expr $ac_mid + 1`
23557 if test $ac_lo -le $ac_mid; then
23558 ac_lo= ac_hi=
23559 break
23560 fi
23561 ac_mid=`expr 2 '*' $ac_mid + 1`
23562 fi
23563
23564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23565 done
23566 else
23567 echo "$as_me: failed program was:" >&5
23568 sed 's/^/| /' conftest.$ac_ext >&5
23569
23570 cat >conftest.$ac_ext <<_ACEOF
23571 /* confdefs.h. */
23572 _ACEOF
23573 cat confdefs.h >>conftest.$ac_ext
23574 cat >>conftest.$ac_ext <<_ACEOF
23575 /* end confdefs.h. */
23576 $ac_includes_default
23577 typedef size_t ac__type_sizeof_;
23578 int
23579 main ()
23580 {
23581 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23582 test_array [0] = 0
23583
23584 ;
23585 return 0;
23586 }
23587 _ACEOF
23588 rm -f conftest.$ac_objext
23589 if { (ac_try="$ac_compile"
23590 case "(($ac_try" in
23591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23592 *) ac_try_echo=$ac_try;;
23593 esac
23594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23595 (eval "$ac_compile") 2>conftest.er1
23596 ac_status=$?
23597 grep -v '^ *+' conftest.er1 >conftest.err
23598 rm -f conftest.er1
23599 cat conftest.err >&5
23600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23601 (exit $ac_status); } && {
23602 test -z "$ac_c_werror_flag" ||
23603 test ! -s conftest.err
23604 } && test -s conftest.$ac_objext; then
23605 ac_hi=-1 ac_mid=-1
23606 while :; do
23607 cat >conftest.$ac_ext <<_ACEOF
23608 /* confdefs.h. */
23609 _ACEOF
23610 cat confdefs.h >>conftest.$ac_ext
23611 cat >>conftest.$ac_ext <<_ACEOF
23612 /* end confdefs.h. */
23613 $ac_includes_default
23614 typedef size_t ac__type_sizeof_;
23615 int
23616 main ()
23617 {
23618 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23619 test_array [0] = 0
23620
23621 ;
23622 return 0;
23623 }
23624 _ACEOF
23625 rm -f conftest.$ac_objext
23626 if { (ac_try="$ac_compile"
23627 case "(($ac_try" in
23628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23629 *) ac_try_echo=$ac_try;;
23630 esac
23631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23632 (eval "$ac_compile") 2>conftest.er1
23633 ac_status=$?
23634 grep -v '^ *+' conftest.er1 >conftest.err
23635 rm -f conftest.er1
23636 cat conftest.err >&5
23637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23638 (exit $ac_status); } && {
23639 test -z "$ac_c_werror_flag" ||
23640 test ! -s conftest.err
23641 } && test -s conftest.$ac_objext; then
23642 ac_lo=$ac_mid; break
23643 else
23644 echo "$as_me: failed program was:" >&5
23645 sed 's/^/| /' conftest.$ac_ext >&5
23646
23647 ac_hi=`expr '(' $ac_mid ')' - 1`
23648 if test $ac_mid -le $ac_hi; then
23649 ac_lo= ac_hi=
23650 break
23651 fi
23652 ac_mid=`expr 2 '*' $ac_mid`
23653 fi
23654
23655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23656 done
23657 else
23658 echo "$as_me: failed program was:" >&5
23659 sed 's/^/| /' conftest.$ac_ext >&5
23660
23661 ac_lo= ac_hi=
23662 fi
23663
23664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23665 fi
23666
23667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23668 # Binary search between lo and hi bounds.
23669 while test "x$ac_lo" != "x$ac_hi"; do
23670 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23671 cat >conftest.$ac_ext <<_ACEOF
23672 /* confdefs.h. */
23673 _ACEOF
23674 cat confdefs.h >>conftest.$ac_ext
23675 cat >>conftest.$ac_ext <<_ACEOF
23676 /* end confdefs.h. */
23677 $ac_includes_default
23678 typedef size_t ac__type_sizeof_;
23679 int
23680 main ()
23681 {
23682 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23683 test_array [0] = 0
23684
23685 ;
23686 return 0;
23687 }
23688 _ACEOF
23689 rm -f conftest.$ac_objext
23690 if { (ac_try="$ac_compile"
23691 case "(($ac_try" in
23692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23693 *) ac_try_echo=$ac_try;;
23694 esac
23695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23696 (eval "$ac_compile") 2>conftest.er1
23697 ac_status=$?
23698 grep -v '^ *+' conftest.er1 >conftest.err
23699 rm -f conftest.er1
23700 cat conftest.err >&5
23701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23702 (exit $ac_status); } && {
23703 test -z "$ac_c_werror_flag" ||
23704 test ! -s conftest.err
23705 } && test -s conftest.$ac_objext; then
23706 ac_hi=$ac_mid
23707 else
23708 echo "$as_me: failed program was:" >&5
23709 sed 's/^/| /' conftest.$ac_ext >&5
23710
23711 ac_lo=`expr '(' $ac_mid ')' + 1`
23712 fi
23713
23714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23715 done
23716 case $ac_lo in
23717 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23718 '') if test "$ac_cv_type_size_t" = yes; then
23719 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23720 See \`config.log' for more details." >&5
23721 echo "$as_me: error: cannot compute sizeof (size_t)
23722 See \`config.log' for more details." >&2;}
23723 { (exit 77); exit 77; }; }
23724 else
23725 ac_cv_sizeof_size_t=0
23726 fi ;;
23727 esac
23728 else
23729 cat >conftest.$ac_ext <<_ACEOF
23730 /* confdefs.h. */
23731 _ACEOF
23732 cat confdefs.h >>conftest.$ac_ext
23733 cat >>conftest.$ac_ext <<_ACEOF
23734 /* end confdefs.h. */
23735 $ac_includes_default
23736 typedef size_t ac__type_sizeof_;
23737 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23738 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23739 #include <stdio.h>
23740 #include <stdlib.h>
23741 int
23742 main ()
23743 {
23744
23745 FILE *f = fopen ("conftest.val", "w");
23746 if (! f)
23747 return 1;
23748 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23749 {
23750 long int i = longval ();
23751 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23752 return 1;
23753 fprintf (f, "%ld\n", i);
23754 }
23755 else
23756 {
23757 unsigned long int i = ulongval ();
23758 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23759 return 1;
23760 fprintf (f, "%lu\n", i);
23761 }
23762 return ferror (f) || fclose (f) != 0;
23763
23764 ;
23765 return 0;
23766 }
23767 _ACEOF
23768 rm -f conftest$ac_exeext
23769 if { (ac_try="$ac_link"
23770 case "(($ac_try" in
23771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23772 *) ac_try_echo=$ac_try;;
23773 esac
23774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23775 (eval "$ac_link") 2>&5
23776 ac_status=$?
23777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23778 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23779 { (case "(($ac_try" in
23780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23781 *) ac_try_echo=$ac_try;;
23782 esac
23783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23784 (eval "$ac_try") 2>&5
23785 ac_status=$?
23786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23787 (exit $ac_status); }; }; then
23788 ac_cv_sizeof_size_t=`cat conftest.val`
23789 else
23790 echo "$as_me: program exited with status $ac_status" >&5
23791 echo "$as_me: failed program was:" >&5
23792 sed 's/^/| /' conftest.$ac_ext >&5
23793
23794 ( exit $ac_status )
23795 if test "$ac_cv_type_size_t" = yes; then
23796 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23797 See \`config.log' for more details." >&5
23798 echo "$as_me: error: cannot compute sizeof (size_t)
23799 See \`config.log' for more details." >&2;}
23800 { (exit 77); exit 77; }; }
23801 else
23802 ac_cv_sizeof_size_t=0
23803 fi
23804 fi
23805 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23806 fi
23807 rm -f conftest.val
23808 fi
23809 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23810 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23811
23812
23813
23814 cat >>confdefs.h <<_ACEOF
23815 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23816 _ACEOF
23817
23818
23819
23820 case "${host}" in
23821 arm-*-linux* )
23822 { echo "$as_me:$LINENO: checking for long long" >&5
23823 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23824 if test "${ac_cv_type_long_long+set}" = set; then
23825 echo $ECHO_N "(cached) $ECHO_C" >&6
23826 else
23827 cat >conftest.$ac_ext <<_ACEOF
23828 /* confdefs.h. */
23829 _ACEOF
23830 cat confdefs.h >>conftest.$ac_ext
23831 cat >>conftest.$ac_ext <<_ACEOF
23832 /* end confdefs.h. */
23833 $ac_includes_default
23834 typedef long long ac__type_new_;
23835 int
23836 main ()
23837 {
23838 if ((ac__type_new_ *) 0)
23839 return 0;
23840 if (sizeof (ac__type_new_))
23841 return 0;
23842 ;
23843 return 0;
23844 }
23845 _ACEOF
23846 rm -f conftest.$ac_objext
23847 if { (ac_try="$ac_compile"
23848 case "(($ac_try" in
23849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23850 *) ac_try_echo=$ac_try;;
23851 esac
23852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23853 (eval "$ac_compile") 2>conftest.er1
23854 ac_status=$?
23855 grep -v '^ *+' conftest.er1 >conftest.err
23856 rm -f conftest.er1
23857 cat conftest.err >&5
23858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23859 (exit $ac_status); } && {
23860 test -z "$ac_c_werror_flag" ||
23861 test ! -s conftest.err
23862 } && test -s conftest.$ac_objext; then
23863 ac_cv_type_long_long=yes
23864 else
23865 echo "$as_me: failed program was:" >&5
23866 sed 's/^/| /' conftest.$ac_ext >&5
23867
23868 ac_cv_type_long_long=no
23869 fi
23870
23871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23872 fi
23873 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23874 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23875
23876 # The cast to long int works around a bug in the HP C Compiler
23877 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23878 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23879 # This bug is HP SR number 8606223364.
23880 { echo "$as_me:$LINENO: checking size of long long" >&5
23881 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23882 if test "${ac_cv_sizeof_long_long+set}" = set; then
23883 echo $ECHO_N "(cached) $ECHO_C" >&6
23884 else
23885 if test "$cross_compiling" = yes; then
23886 # Depending upon the size, compute the lo and hi bounds.
23887 cat >conftest.$ac_ext <<_ACEOF
23888 /* confdefs.h. */
23889 _ACEOF
23890 cat confdefs.h >>conftest.$ac_ext
23891 cat >>conftest.$ac_ext <<_ACEOF
23892 /* end confdefs.h. */
23893 $ac_includes_default
23894 typedef long long ac__type_sizeof_;
23895 int
23896 main ()
23897 {
23898 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23899 test_array [0] = 0
23900
23901 ;
23902 return 0;
23903 }
23904 _ACEOF
23905 rm -f conftest.$ac_objext
23906 if { (ac_try="$ac_compile"
23907 case "(($ac_try" in
23908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23909 *) ac_try_echo=$ac_try;;
23910 esac
23911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23912 (eval "$ac_compile") 2>conftest.er1
23913 ac_status=$?
23914 grep -v '^ *+' conftest.er1 >conftest.err
23915 rm -f conftest.er1
23916 cat conftest.err >&5
23917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23918 (exit $ac_status); } && {
23919 test -z "$ac_c_werror_flag" ||
23920 test ! -s conftest.err
23921 } && test -s conftest.$ac_objext; then
23922 ac_lo=0 ac_mid=0
23923 while :; do
23924 cat >conftest.$ac_ext <<_ACEOF
23925 /* confdefs.h. */
23926 _ACEOF
23927 cat confdefs.h >>conftest.$ac_ext
23928 cat >>conftest.$ac_ext <<_ACEOF
23929 /* end confdefs.h. */
23930 $ac_includes_default
23931 typedef long long ac__type_sizeof_;
23932 int
23933 main ()
23934 {
23935 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23936 test_array [0] = 0
23937
23938 ;
23939 return 0;
23940 }
23941 _ACEOF
23942 rm -f conftest.$ac_objext
23943 if { (ac_try="$ac_compile"
23944 case "(($ac_try" in
23945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23946 *) ac_try_echo=$ac_try;;
23947 esac
23948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23949 (eval "$ac_compile") 2>conftest.er1
23950 ac_status=$?
23951 grep -v '^ *+' conftest.er1 >conftest.err
23952 rm -f conftest.er1
23953 cat conftest.err >&5
23954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23955 (exit $ac_status); } && {
23956 test -z "$ac_c_werror_flag" ||
23957 test ! -s conftest.err
23958 } && test -s conftest.$ac_objext; then
23959 ac_hi=$ac_mid; break
23960 else
23961 echo "$as_me: failed program was:" >&5
23962 sed 's/^/| /' conftest.$ac_ext >&5
23963
23964 ac_lo=`expr $ac_mid + 1`
23965 if test $ac_lo -le $ac_mid; then
23966 ac_lo= ac_hi=
23967 break
23968 fi
23969 ac_mid=`expr 2 '*' $ac_mid + 1`
23970 fi
23971
23972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23973 done
23974 else
23975 echo "$as_me: failed program was:" >&5
23976 sed 's/^/| /' conftest.$ac_ext >&5
23977
23978 cat >conftest.$ac_ext <<_ACEOF
23979 /* confdefs.h. */
23980 _ACEOF
23981 cat confdefs.h >>conftest.$ac_ext
23982 cat >>conftest.$ac_ext <<_ACEOF
23983 /* end confdefs.h. */
23984 $ac_includes_default
23985 typedef long long ac__type_sizeof_;
23986 int
23987 main ()
23988 {
23989 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23990 test_array [0] = 0
23991
23992 ;
23993 return 0;
23994 }
23995 _ACEOF
23996 rm -f conftest.$ac_objext
23997 if { (ac_try="$ac_compile"
23998 case "(($ac_try" in
23999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24000 *) ac_try_echo=$ac_try;;
24001 esac
24002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24003 (eval "$ac_compile") 2>conftest.er1
24004 ac_status=$?
24005 grep -v '^ *+' conftest.er1 >conftest.err
24006 rm -f conftest.er1
24007 cat conftest.err >&5
24008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24009 (exit $ac_status); } && {
24010 test -z "$ac_c_werror_flag" ||
24011 test ! -s conftest.err
24012 } && test -s conftest.$ac_objext; then
24013 ac_hi=-1 ac_mid=-1
24014 while :; do
24015 cat >conftest.$ac_ext <<_ACEOF
24016 /* confdefs.h. */
24017 _ACEOF
24018 cat confdefs.h >>conftest.$ac_ext
24019 cat >>conftest.$ac_ext <<_ACEOF
24020 /* end confdefs.h. */
24021 $ac_includes_default
24022 typedef long long ac__type_sizeof_;
24023 int
24024 main ()
24025 {
24026 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24027 test_array [0] = 0
24028
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_c_werror_flag" ||
24048 test ! -s conftest.err
24049 } && test -s conftest.$ac_objext; then
24050 ac_lo=$ac_mid; break
24051 else
24052 echo "$as_me: failed program was:" >&5
24053 sed 's/^/| /' conftest.$ac_ext >&5
24054
24055 ac_hi=`expr '(' $ac_mid ')' - 1`
24056 if test $ac_mid -le $ac_hi; then
24057 ac_lo= ac_hi=
24058 break
24059 fi
24060 ac_mid=`expr 2 '*' $ac_mid`
24061 fi
24062
24063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24064 done
24065 else
24066 echo "$as_me: failed program was:" >&5
24067 sed 's/^/| /' conftest.$ac_ext >&5
24068
24069 ac_lo= ac_hi=
24070 fi
24071
24072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24073 fi
24074
24075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24076 # Binary search between lo and hi bounds.
24077 while test "x$ac_lo" != "x$ac_hi"; do
24078 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24079 cat >conftest.$ac_ext <<_ACEOF
24080 /* confdefs.h. */
24081 _ACEOF
24082 cat confdefs.h >>conftest.$ac_ext
24083 cat >>conftest.$ac_ext <<_ACEOF
24084 /* end confdefs.h. */
24085 $ac_includes_default
24086 typedef long long ac__type_sizeof_;
24087 int
24088 main ()
24089 {
24090 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24091 test_array [0] = 0
24092
24093 ;
24094 return 0;
24095 }
24096 _ACEOF
24097 rm -f conftest.$ac_objext
24098 if { (ac_try="$ac_compile"
24099 case "(($ac_try" in
24100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24101 *) ac_try_echo=$ac_try;;
24102 esac
24103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24104 (eval "$ac_compile") 2>conftest.er1
24105 ac_status=$?
24106 grep -v '^ *+' conftest.er1 >conftest.err
24107 rm -f conftest.er1
24108 cat conftest.err >&5
24109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24110 (exit $ac_status); } && {
24111 test -z "$ac_c_werror_flag" ||
24112 test ! -s conftest.err
24113 } && test -s conftest.$ac_objext; then
24114 ac_hi=$ac_mid
24115 else
24116 echo "$as_me: failed program was:" >&5
24117 sed 's/^/| /' conftest.$ac_ext >&5
24118
24119 ac_lo=`expr '(' $ac_mid ')' + 1`
24120 fi
24121
24122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24123 done
24124 case $ac_lo in
24125 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24126 '') if test "$ac_cv_type_long_long" = yes; then
24127 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24128 See \`config.log' for more details." >&5
24129 echo "$as_me: error: cannot compute sizeof (long long)
24130 See \`config.log' for more details." >&2;}
24131 { (exit 77); exit 77; }; }
24132 else
24133 ac_cv_sizeof_long_long=0
24134 fi ;;
24135 esac
24136 else
24137 cat >conftest.$ac_ext <<_ACEOF
24138 /* confdefs.h. */
24139 _ACEOF
24140 cat confdefs.h >>conftest.$ac_ext
24141 cat >>conftest.$ac_ext <<_ACEOF
24142 /* end confdefs.h. */
24143 $ac_includes_default
24144 typedef long long ac__type_sizeof_;
24145 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24146 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24147 #include <stdio.h>
24148 #include <stdlib.h>
24149 int
24150 main ()
24151 {
24152
24153 FILE *f = fopen ("conftest.val", "w");
24154 if (! f)
24155 return 1;
24156 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24157 {
24158 long int i = longval ();
24159 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24160 return 1;
24161 fprintf (f, "%ld\n", i);
24162 }
24163 else
24164 {
24165 unsigned long int i = ulongval ();
24166 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24167 return 1;
24168 fprintf (f, "%lu\n", i);
24169 }
24170 return ferror (f) || fclose (f) != 0;
24171
24172 ;
24173 return 0;
24174 }
24175 _ACEOF
24176 rm -f conftest$ac_exeext
24177 if { (ac_try="$ac_link"
24178 case "(($ac_try" in
24179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24180 *) ac_try_echo=$ac_try;;
24181 esac
24182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24183 (eval "$ac_link") 2>&5
24184 ac_status=$?
24185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24186 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24187 { (case "(($ac_try" in
24188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24189 *) ac_try_echo=$ac_try;;
24190 esac
24191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24192 (eval "$ac_try") 2>&5
24193 ac_status=$?
24194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24195 (exit $ac_status); }; }; then
24196 ac_cv_sizeof_long_long=`cat conftest.val`
24197 else
24198 echo "$as_me: program exited with status $ac_status" >&5
24199 echo "$as_me: failed program was:" >&5
24200 sed 's/^/| /' conftest.$ac_ext >&5
24201
24202 ( exit $ac_status )
24203 if test "$ac_cv_type_long_long" = yes; then
24204 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24205 See \`config.log' for more details." >&5
24206 echo "$as_me: error: cannot compute sizeof (long long)
24207 See \`config.log' for more details." >&2;}
24208 { (exit 77); exit 77; }; }
24209 else
24210 ac_cv_sizeof_long_long=0
24211 fi
24212 fi
24213 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24214 fi
24215 rm -f conftest.val
24216 fi
24217 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24218 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24219
24220
24221
24222 cat >>confdefs.h <<_ACEOF
24223 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24224 _ACEOF
24225
24226
24227 ;;
24228 *-hp-hpux* )
24229 { echo "$as_me:$LINENO: checking for long long" >&5
24230 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24231 if test "${ac_cv_type_long_long+set}" = set; then
24232 echo $ECHO_N "(cached) $ECHO_C" >&6
24233 else
24234 cat >conftest.$ac_ext <<_ACEOF
24235 /* confdefs.h. */
24236 _ACEOF
24237 cat confdefs.h >>conftest.$ac_ext
24238 cat >>conftest.$ac_ext <<_ACEOF
24239 /* end confdefs.h. */
24240 $ac_includes_default
24241 typedef long long ac__type_new_;
24242 int
24243 main ()
24244 {
24245 if ((ac__type_new_ *) 0)
24246 return 0;
24247 if (sizeof (ac__type_new_))
24248 return 0;
24249 ;
24250 return 0;
24251 }
24252 _ACEOF
24253 rm -f conftest.$ac_objext
24254 if { (ac_try="$ac_compile"
24255 case "(($ac_try" in
24256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24257 *) ac_try_echo=$ac_try;;
24258 esac
24259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24260 (eval "$ac_compile") 2>conftest.er1
24261 ac_status=$?
24262 grep -v '^ *+' conftest.er1 >conftest.err
24263 rm -f conftest.er1
24264 cat conftest.err >&5
24265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24266 (exit $ac_status); } && {
24267 test -z "$ac_c_werror_flag" ||
24268 test ! -s conftest.err
24269 } && test -s conftest.$ac_objext; then
24270 ac_cv_type_long_long=yes
24271 else
24272 echo "$as_me: failed program was:" >&5
24273 sed 's/^/| /' conftest.$ac_ext >&5
24274
24275 ac_cv_type_long_long=no
24276 fi
24277
24278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24279 fi
24280 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24281 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24282
24283 # The cast to long int works around a bug in the HP C Compiler
24284 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24285 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24286 # This bug is HP SR number 8606223364.
24287 { echo "$as_me:$LINENO: checking size of long long" >&5
24288 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24289 if test "${ac_cv_sizeof_long_long+set}" = set; then
24290 echo $ECHO_N "(cached) $ECHO_C" >&6
24291 else
24292 if test "$cross_compiling" = yes; then
24293 # Depending upon the size, compute the lo and hi bounds.
24294 cat >conftest.$ac_ext <<_ACEOF
24295 /* confdefs.h. */
24296 _ACEOF
24297 cat confdefs.h >>conftest.$ac_ext
24298 cat >>conftest.$ac_ext <<_ACEOF
24299 /* end confdefs.h. */
24300 $ac_includes_default
24301 typedef long long ac__type_sizeof_;
24302 int
24303 main ()
24304 {
24305 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24306 test_array [0] = 0
24307
24308 ;
24309 return 0;
24310 }
24311 _ACEOF
24312 rm -f conftest.$ac_objext
24313 if { (ac_try="$ac_compile"
24314 case "(($ac_try" in
24315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24316 *) ac_try_echo=$ac_try;;
24317 esac
24318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24319 (eval "$ac_compile") 2>conftest.er1
24320 ac_status=$?
24321 grep -v '^ *+' conftest.er1 >conftest.err
24322 rm -f conftest.er1
24323 cat conftest.err >&5
24324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24325 (exit $ac_status); } && {
24326 test -z "$ac_c_werror_flag" ||
24327 test ! -s conftest.err
24328 } && test -s conftest.$ac_objext; then
24329 ac_lo=0 ac_mid=0
24330 while :; do
24331 cat >conftest.$ac_ext <<_ACEOF
24332 /* confdefs.h. */
24333 _ACEOF
24334 cat confdefs.h >>conftest.$ac_ext
24335 cat >>conftest.$ac_ext <<_ACEOF
24336 /* end confdefs.h. */
24337 $ac_includes_default
24338 typedef long long ac__type_sizeof_;
24339 int
24340 main ()
24341 {
24342 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24343 test_array [0] = 0
24344
24345 ;
24346 return 0;
24347 }
24348 _ACEOF
24349 rm -f conftest.$ac_objext
24350 if { (ac_try="$ac_compile"
24351 case "(($ac_try" in
24352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24353 *) ac_try_echo=$ac_try;;
24354 esac
24355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24356 (eval "$ac_compile") 2>conftest.er1
24357 ac_status=$?
24358 grep -v '^ *+' conftest.er1 >conftest.err
24359 rm -f conftest.er1
24360 cat conftest.err >&5
24361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24362 (exit $ac_status); } && {
24363 test -z "$ac_c_werror_flag" ||
24364 test ! -s conftest.err
24365 } && test -s conftest.$ac_objext; then
24366 ac_hi=$ac_mid; break
24367 else
24368 echo "$as_me: failed program was:" >&5
24369 sed 's/^/| /' conftest.$ac_ext >&5
24370
24371 ac_lo=`expr $ac_mid + 1`
24372 if test $ac_lo -le $ac_mid; then
24373 ac_lo= ac_hi=
24374 break
24375 fi
24376 ac_mid=`expr 2 '*' $ac_mid + 1`
24377 fi
24378
24379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24380 done
24381 else
24382 echo "$as_me: failed program was:" >&5
24383 sed 's/^/| /' conftest.$ac_ext >&5
24384
24385 cat >conftest.$ac_ext <<_ACEOF
24386 /* confdefs.h. */
24387 _ACEOF
24388 cat confdefs.h >>conftest.$ac_ext
24389 cat >>conftest.$ac_ext <<_ACEOF
24390 /* end confdefs.h. */
24391 $ac_includes_default
24392 typedef long long ac__type_sizeof_;
24393 int
24394 main ()
24395 {
24396 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24397 test_array [0] = 0
24398
24399 ;
24400 return 0;
24401 }
24402 _ACEOF
24403 rm -f conftest.$ac_objext
24404 if { (ac_try="$ac_compile"
24405 case "(($ac_try" in
24406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24407 *) ac_try_echo=$ac_try;;
24408 esac
24409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24410 (eval "$ac_compile") 2>conftest.er1
24411 ac_status=$?
24412 grep -v '^ *+' conftest.er1 >conftest.err
24413 rm -f conftest.er1
24414 cat conftest.err >&5
24415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24416 (exit $ac_status); } && {
24417 test -z "$ac_c_werror_flag" ||
24418 test ! -s conftest.err
24419 } && test -s conftest.$ac_objext; then
24420 ac_hi=-1 ac_mid=-1
24421 while :; do
24422 cat >conftest.$ac_ext <<_ACEOF
24423 /* confdefs.h. */
24424 _ACEOF
24425 cat confdefs.h >>conftest.$ac_ext
24426 cat >>conftest.$ac_ext <<_ACEOF
24427 /* end confdefs.h. */
24428 $ac_includes_default
24429 typedef long long ac__type_sizeof_;
24430 int
24431 main ()
24432 {
24433 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24434 test_array [0] = 0
24435
24436 ;
24437 return 0;
24438 }
24439 _ACEOF
24440 rm -f conftest.$ac_objext
24441 if { (ac_try="$ac_compile"
24442 case "(($ac_try" in
24443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24444 *) ac_try_echo=$ac_try;;
24445 esac
24446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24447 (eval "$ac_compile") 2>conftest.er1
24448 ac_status=$?
24449 grep -v '^ *+' conftest.er1 >conftest.err
24450 rm -f conftest.er1
24451 cat conftest.err >&5
24452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24453 (exit $ac_status); } && {
24454 test -z "$ac_c_werror_flag" ||
24455 test ! -s conftest.err
24456 } && test -s conftest.$ac_objext; then
24457 ac_lo=$ac_mid; break
24458 else
24459 echo "$as_me: failed program was:" >&5
24460 sed 's/^/| /' conftest.$ac_ext >&5
24461
24462 ac_hi=`expr '(' $ac_mid ')' - 1`
24463 if test $ac_mid -le $ac_hi; then
24464 ac_lo= ac_hi=
24465 break
24466 fi
24467 ac_mid=`expr 2 '*' $ac_mid`
24468 fi
24469
24470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24471 done
24472 else
24473 echo "$as_me: failed program was:" >&5
24474 sed 's/^/| /' conftest.$ac_ext >&5
24475
24476 ac_lo= ac_hi=
24477 fi
24478
24479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24480 fi
24481
24482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24483 # Binary search between lo and hi bounds.
24484 while test "x$ac_lo" != "x$ac_hi"; do
24485 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24486 cat >conftest.$ac_ext <<_ACEOF
24487 /* confdefs.h. */
24488 _ACEOF
24489 cat confdefs.h >>conftest.$ac_ext
24490 cat >>conftest.$ac_ext <<_ACEOF
24491 /* end confdefs.h. */
24492 $ac_includes_default
24493 typedef long long ac__type_sizeof_;
24494 int
24495 main ()
24496 {
24497 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24498 test_array [0] = 0
24499
24500 ;
24501 return 0;
24502 }
24503 _ACEOF
24504 rm -f conftest.$ac_objext
24505 if { (ac_try="$ac_compile"
24506 case "(($ac_try" in
24507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24508 *) ac_try_echo=$ac_try;;
24509 esac
24510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24511 (eval "$ac_compile") 2>conftest.er1
24512 ac_status=$?
24513 grep -v '^ *+' conftest.er1 >conftest.err
24514 rm -f conftest.er1
24515 cat conftest.err >&5
24516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24517 (exit $ac_status); } && {
24518 test -z "$ac_c_werror_flag" ||
24519 test ! -s conftest.err
24520 } && test -s conftest.$ac_objext; then
24521 ac_hi=$ac_mid
24522 else
24523 echo "$as_me: failed program was:" >&5
24524 sed 's/^/| /' conftest.$ac_ext >&5
24525
24526 ac_lo=`expr '(' $ac_mid ')' + 1`
24527 fi
24528
24529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24530 done
24531 case $ac_lo in
24532 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24533 '') if test "$ac_cv_type_long_long" = yes; then
24534 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24535 See \`config.log' for more details." >&5
24536 echo "$as_me: error: cannot compute sizeof (long long)
24537 See \`config.log' for more details." >&2;}
24538 { (exit 77); exit 77; }; }
24539 else
24540 ac_cv_sizeof_long_long=0
24541 fi ;;
24542 esac
24543 else
24544 cat >conftest.$ac_ext <<_ACEOF
24545 /* confdefs.h. */
24546 _ACEOF
24547 cat confdefs.h >>conftest.$ac_ext
24548 cat >>conftest.$ac_ext <<_ACEOF
24549 /* end confdefs.h. */
24550 $ac_includes_default
24551 typedef long long ac__type_sizeof_;
24552 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24553 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24554 #include <stdio.h>
24555 #include <stdlib.h>
24556 int
24557 main ()
24558 {
24559
24560 FILE *f = fopen ("conftest.val", "w");
24561 if (! f)
24562 return 1;
24563 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24564 {
24565 long int i = longval ();
24566 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24567 return 1;
24568 fprintf (f, "%ld\n", i);
24569 }
24570 else
24571 {
24572 unsigned long int i = ulongval ();
24573 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24574 return 1;
24575 fprintf (f, "%lu\n", i);
24576 }
24577 return ferror (f) || fclose (f) != 0;
24578
24579 ;
24580 return 0;
24581 }
24582 _ACEOF
24583 rm -f conftest$ac_exeext
24584 if { (ac_try="$ac_link"
24585 case "(($ac_try" in
24586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24587 *) ac_try_echo=$ac_try;;
24588 esac
24589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24590 (eval "$ac_link") 2>&5
24591 ac_status=$?
24592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24593 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24594 { (case "(($ac_try" in
24595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24596 *) ac_try_echo=$ac_try;;
24597 esac
24598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24599 (eval "$ac_try") 2>&5
24600 ac_status=$?
24601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24602 (exit $ac_status); }; }; then
24603 ac_cv_sizeof_long_long=`cat conftest.val`
24604 else
24605 echo "$as_me: program exited with status $ac_status" >&5
24606 echo "$as_me: failed program was:" >&5
24607 sed 's/^/| /' conftest.$ac_ext >&5
24608
24609 ( exit $ac_status )
24610 if test "$ac_cv_type_long_long" = yes; then
24611 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24612 See \`config.log' for more details." >&5
24613 echo "$as_me: error: cannot compute sizeof (long long)
24614 See \`config.log' for more details." >&2;}
24615 { (exit 77); exit 77; }; }
24616 else
24617 ac_cv_sizeof_long_long=0
24618 fi
24619 fi
24620 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24621 fi
24622 rm -f conftest.val
24623 fi
24624 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24625 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24626
24627
24628
24629 cat >>confdefs.h <<_ACEOF
24630 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24631 _ACEOF
24632
24633
24634 if test "$ac_cv_sizeof_long_long" != 0; then
24635 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24636 fi
24637 ;;
24638 * )
24639 { echo "$as_me:$LINENO: checking for long long" >&5
24640 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24641 if test "${ac_cv_type_long_long+set}" = set; then
24642 echo $ECHO_N "(cached) $ECHO_C" >&6
24643 else
24644 cat >conftest.$ac_ext <<_ACEOF
24645 /* confdefs.h. */
24646 _ACEOF
24647 cat confdefs.h >>conftest.$ac_ext
24648 cat >>conftest.$ac_ext <<_ACEOF
24649 /* end confdefs.h. */
24650 $ac_includes_default
24651 typedef long long ac__type_new_;
24652 int
24653 main ()
24654 {
24655 if ((ac__type_new_ *) 0)
24656 return 0;
24657 if (sizeof (ac__type_new_))
24658 return 0;
24659 ;
24660 return 0;
24661 }
24662 _ACEOF
24663 rm -f conftest.$ac_objext
24664 if { (ac_try="$ac_compile"
24665 case "(($ac_try" in
24666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24667 *) ac_try_echo=$ac_try;;
24668 esac
24669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24670 (eval "$ac_compile") 2>conftest.er1
24671 ac_status=$?
24672 grep -v '^ *+' conftest.er1 >conftest.err
24673 rm -f conftest.er1
24674 cat conftest.err >&5
24675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24676 (exit $ac_status); } && {
24677 test -z "$ac_c_werror_flag" ||
24678 test ! -s conftest.err
24679 } && test -s conftest.$ac_objext; then
24680 ac_cv_type_long_long=yes
24681 else
24682 echo "$as_me: failed program was:" >&5
24683 sed 's/^/| /' conftest.$ac_ext >&5
24684
24685 ac_cv_type_long_long=no
24686 fi
24687
24688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24689 fi
24690 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24691 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24692
24693 # The cast to long int works around a bug in the HP C Compiler
24694 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24695 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24696 # This bug is HP SR number 8606223364.
24697 { echo "$as_me:$LINENO: checking size of long long" >&5
24698 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24699 if test "${ac_cv_sizeof_long_long+set}" = set; then
24700 echo $ECHO_N "(cached) $ECHO_C" >&6
24701 else
24702 if test "$cross_compiling" = yes; then
24703 # Depending upon the size, compute the lo and hi bounds.
24704 cat >conftest.$ac_ext <<_ACEOF
24705 /* confdefs.h. */
24706 _ACEOF
24707 cat confdefs.h >>conftest.$ac_ext
24708 cat >>conftest.$ac_ext <<_ACEOF
24709 /* end confdefs.h. */
24710 $ac_includes_default
24711 typedef long long ac__type_sizeof_;
24712 int
24713 main ()
24714 {
24715 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24716 test_array [0] = 0
24717
24718 ;
24719 return 0;
24720 }
24721 _ACEOF
24722 rm -f conftest.$ac_objext
24723 if { (ac_try="$ac_compile"
24724 case "(($ac_try" in
24725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24726 *) ac_try_echo=$ac_try;;
24727 esac
24728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24729 (eval "$ac_compile") 2>conftest.er1
24730 ac_status=$?
24731 grep -v '^ *+' conftest.er1 >conftest.err
24732 rm -f conftest.er1
24733 cat conftest.err >&5
24734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24735 (exit $ac_status); } && {
24736 test -z "$ac_c_werror_flag" ||
24737 test ! -s conftest.err
24738 } && test -s conftest.$ac_objext; then
24739 ac_lo=0 ac_mid=0
24740 while :; do
24741 cat >conftest.$ac_ext <<_ACEOF
24742 /* confdefs.h. */
24743 _ACEOF
24744 cat confdefs.h >>conftest.$ac_ext
24745 cat >>conftest.$ac_ext <<_ACEOF
24746 /* end confdefs.h. */
24747 $ac_includes_default
24748 typedef long long ac__type_sizeof_;
24749 int
24750 main ()
24751 {
24752 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24753 test_array [0] = 0
24754
24755 ;
24756 return 0;
24757 }
24758 _ACEOF
24759 rm -f conftest.$ac_objext
24760 if { (ac_try="$ac_compile"
24761 case "(($ac_try" in
24762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24763 *) ac_try_echo=$ac_try;;
24764 esac
24765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24766 (eval "$ac_compile") 2>conftest.er1
24767 ac_status=$?
24768 grep -v '^ *+' conftest.er1 >conftest.err
24769 rm -f conftest.er1
24770 cat conftest.err >&5
24771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24772 (exit $ac_status); } && {
24773 test -z "$ac_c_werror_flag" ||
24774 test ! -s conftest.err
24775 } && test -s conftest.$ac_objext; then
24776 ac_hi=$ac_mid; break
24777 else
24778 echo "$as_me: failed program was:" >&5
24779 sed 's/^/| /' conftest.$ac_ext >&5
24780
24781 ac_lo=`expr $ac_mid + 1`
24782 if test $ac_lo -le $ac_mid; then
24783 ac_lo= ac_hi=
24784 break
24785 fi
24786 ac_mid=`expr 2 '*' $ac_mid + 1`
24787 fi
24788
24789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24790 done
24791 else
24792 echo "$as_me: failed program was:" >&5
24793 sed 's/^/| /' conftest.$ac_ext >&5
24794
24795 cat >conftest.$ac_ext <<_ACEOF
24796 /* confdefs.h. */
24797 _ACEOF
24798 cat confdefs.h >>conftest.$ac_ext
24799 cat >>conftest.$ac_ext <<_ACEOF
24800 /* end confdefs.h. */
24801 $ac_includes_default
24802 typedef long long ac__type_sizeof_;
24803 int
24804 main ()
24805 {
24806 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24807 test_array [0] = 0
24808
24809 ;
24810 return 0;
24811 }
24812 _ACEOF
24813 rm -f conftest.$ac_objext
24814 if { (ac_try="$ac_compile"
24815 case "(($ac_try" in
24816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24817 *) ac_try_echo=$ac_try;;
24818 esac
24819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24820 (eval "$ac_compile") 2>conftest.er1
24821 ac_status=$?
24822 grep -v '^ *+' conftest.er1 >conftest.err
24823 rm -f conftest.er1
24824 cat conftest.err >&5
24825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24826 (exit $ac_status); } && {
24827 test -z "$ac_c_werror_flag" ||
24828 test ! -s conftest.err
24829 } && test -s conftest.$ac_objext; then
24830 ac_hi=-1 ac_mid=-1
24831 while :; do
24832 cat >conftest.$ac_ext <<_ACEOF
24833 /* confdefs.h. */
24834 _ACEOF
24835 cat confdefs.h >>conftest.$ac_ext
24836 cat >>conftest.$ac_ext <<_ACEOF
24837 /* end confdefs.h. */
24838 $ac_includes_default
24839 typedef long long ac__type_sizeof_;
24840 int
24841 main ()
24842 {
24843 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24844 test_array [0] = 0
24845
24846 ;
24847 return 0;
24848 }
24849 _ACEOF
24850 rm -f conftest.$ac_objext
24851 if { (ac_try="$ac_compile"
24852 case "(($ac_try" in
24853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24854 *) ac_try_echo=$ac_try;;
24855 esac
24856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24857 (eval "$ac_compile") 2>conftest.er1
24858 ac_status=$?
24859 grep -v '^ *+' conftest.er1 >conftest.err
24860 rm -f conftest.er1
24861 cat conftest.err >&5
24862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24863 (exit $ac_status); } && {
24864 test -z "$ac_c_werror_flag" ||
24865 test ! -s conftest.err
24866 } && test -s conftest.$ac_objext; then
24867 ac_lo=$ac_mid; break
24868 else
24869 echo "$as_me: failed program was:" >&5
24870 sed 's/^/| /' conftest.$ac_ext >&5
24871
24872 ac_hi=`expr '(' $ac_mid ')' - 1`
24873 if test $ac_mid -le $ac_hi; then
24874 ac_lo= ac_hi=
24875 break
24876 fi
24877 ac_mid=`expr 2 '*' $ac_mid`
24878 fi
24879
24880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24881 done
24882 else
24883 echo "$as_me: failed program was:" >&5
24884 sed 's/^/| /' conftest.$ac_ext >&5
24885
24886 ac_lo= ac_hi=
24887 fi
24888
24889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24890 fi
24891
24892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24893 # Binary search between lo and hi bounds.
24894 while test "x$ac_lo" != "x$ac_hi"; do
24895 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24896 cat >conftest.$ac_ext <<_ACEOF
24897 /* confdefs.h. */
24898 _ACEOF
24899 cat confdefs.h >>conftest.$ac_ext
24900 cat >>conftest.$ac_ext <<_ACEOF
24901 /* end confdefs.h. */
24902 $ac_includes_default
24903 typedef long long ac__type_sizeof_;
24904 int
24905 main ()
24906 {
24907 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24908 test_array [0] = 0
24909
24910 ;
24911 return 0;
24912 }
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_c_werror_flag" ||
24929 test ! -s conftest.err
24930 } && test -s conftest.$ac_objext; then
24931 ac_hi=$ac_mid
24932 else
24933 echo "$as_me: failed program was:" >&5
24934 sed 's/^/| /' conftest.$ac_ext >&5
24935
24936 ac_lo=`expr '(' $ac_mid ')' + 1`
24937 fi
24938
24939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24940 done
24941 case $ac_lo in
24942 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24943 '') if test "$ac_cv_type_long_long" = yes; then
24944 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24945 See \`config.log' for more details." >&5
24946 echo "$as_me: error: cannot compute sizeof (long long)
24947 See \`config.log' for more details." >&2;}
24948 { (exit 77); exit 77; }; }
24949 else
24950 ac_cv_sizeof_long_long=0
24951 fi ;;
24952 esac
24953 else
24954 cat >conftest.$ac_ext <<_ACEOF
24955 /* confdefs.h. */
24956 _ACEOF
24957 cat confdefs.h >>conftest.$ac_ext
24958 cat >>conftest.$ac_ext <<_ACEOF
24959 /* end confdefs.h. */
24960 $ac_includes_default
24961 typedef long long ac__type_sizeof_;
24962 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24963 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24964 #include <stdio.h>
24965 #include <stdlib.h>
24966 int
24967 main ()
24968 {
24969
24970 FILE *f = fopen ("conftest.val", "w");
24971 if (! f)
24972 return 1;
24973 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24974 {
24975 long int i = longval ();
24976 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24977 return 1;
24978 fprintf (f, "%ld\n", i);
24979 }
24980 else
24981 {
24982 unsigned long int i = ulongval ();
24983 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24984 return 1;
24985 fprintf (f, "%lu\n", i);
24986 }
24987 return ferror (f) || fclose (f) != 0;
24988
24989 ;
24990 return 0;
24991 }
24992 _ACEOF
24993 rm -f conftest$ac_exeext
24994 if { (ac_try="$ac_link"
24995 case "(($ac_try" in
24996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24997 *) ac_try_echo=$ac_try;;
24998 esac
24999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25000 (eval "$ac_link") 2>&5
25001 ac_status=$?
25002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25003 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25004 { (case "(($ac_try" in
25005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25006 *) ac_try_echo=$ac_try;;
25007 esac
25008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25009 (eval "$ac_try") 2>&5
25010 ac_status=$?
25011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25012 (exit $ac_status); }; }; then
25013 ac_cv_sizeof_long_long=`cat conftest.val`
25014 else
25015 echo "$as_me: program exited with status $ac_status" >&5
25016 echo "$as_me: failed program was:" >&5
25017 sed 's/^/| /' conftest.$ac_ext >&5
25018
25019 ( exit $ac_status )
25020 if test "$ac_cv_type_long_long" = yes; then
25021 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
25022 See \`config.log' for more details." >&5
25023 echo "$as_me: error: cannot compute sizeof (long long)
25024 See \`config.log' for more details." >&2;}
25025 { (exit 77); exit 77; }; }
25026 else
25027 ac_cv_sizeof_long_long=0
25028 fi
25029 fi
25030 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25031 fi
25032 rm -f conftest.val
25033 fi
25034 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
25035 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
25036
25037
25038
25039 cat >>confdefs.h <<_ACEOF
25040 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
25041 _ACEOF
25042
25043
25044 esac
25045
25046 { echo "$as_me:$LINENO: checking for wchar_t" >&5
25047 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
25048 if test "${ac_cv_type_wchar_t+set}" = set; then
25049 echo $ECHO_N "(cached) $ECHO_C" >&6
25050 else
25051 cat >conftest.$ac_ext <<_ACEOF
25052 /* confdefs.h. */
25053 _ACEOF
25054 cat confdefs.h >>conftest.$ac_ext
25055 cat >>conftest.$ac_ext <<_ACEOF
25056 /* end confdefs.h. */
25057
25058 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25059 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25060 # error "fake wchar_t"
25061 #endif
25062 #ifdef HAVE_WCHAR_H
25063 # ifdef __CYGWIN__
25064 # include <stddef.h>
25065 # endif
25066 # include <wchar.h>
25067 #endif
25068 #ifdef HAVE_STDLIB_H
25069 # include <stdlib.h>
25070 #endif
25071 #include <stdio.h>
25072
25073
25074
25075 typedef wchar_t ac__type_new_;
25076 int
25077 main ()
25078 {
25079 if ((ac__type_new_ *) 0)
25080 return 0;
25081 if (sizeof (ac__type_new_))
25082 return 0;
25083 ;
25084 return 0;
25085 }
25086 _ACEOF
25087 rm -f conftest.$ac_objext
25088 if { (ac_try="$ac_compile"
25089 case "(($ac_try" in
25090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25091 *) ac_try_echo=$ac_try;;
25092 esac
25093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25094 (eval "$ac_compile") 2>conftest.er1
25095 ac_status=$?
25096 grep -v '^ *+' conftest.er1 >conftest.err
25097 rm -f conftest.er1
25098 cat conftest.err >&5
25099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25100 (exit $ac_status); } && {
25101 test -z "$ac_c_werror_flag" ||
25102 test ! -s conftest.err
25103 } && test -s conftest.$ac_objext; then
25104 ac_cv_type_wchar_t=yes
25105 else
25106 echo "$as_me: failed program was:" >&5
25107 sed 's/^/| /' conftest.$ac_ext >&5
25108
25109 ac_cv_type_wchar_t=no
25110 fi
25111
25112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25113 fi
25114 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
25115 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
25116
25117 # The cast to long int works around a bug in the HP C Compiler
25118 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25119 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25120 # This bug is HP SR number 8606223364.
25121 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
25122 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
25123 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
25124 echo $ECHO_N "(cached) $ECHO_C" >&6
25125 else
25126 if test "$cross_compiling" = yes; then
25127 # Depending upon the size, compute the lo and hi bounds.
25128 cat >conftest.$ac_ext <<_ACEOF
25129 /* confdefs.h. */
25130 _ACEOF
25131 cat confdefs.h >>conftest.$ac_ext
25132 cat >>conftest.$ac_ext <<_ACEOF
25133 /* end confdefs.h. */
25134
25135 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25136 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25137 # error "fake wchar_t"
25138 #endif
25139 #ifdef HAVE_WCHAR_H
25140 # ifdef __CYGWIN__
25141 # include <stddef.h>
25142 # endif
25143 # include <wchar.h>
25144 #endif
25145 #ifdef HAVE_STDLIB_H
25146 # include <stdlib.h>
25147 #endif
25148 #include <stdio.h>
25149
25150
25151
25152 typedef wchar_t ac__type_sizeof_;
25153 int
25154 main ()
25155 {
25156 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25157 test_array [0] = 0
25158
25159 ;
25160 return 0;
25161 }
25162 _ACEOF
25163 rm -f conftest.$ac_objext
25164 if { (ac_try="$ac_compile"
25165 case "(($ac_try" in
25166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25167 *) ac_try_echo=$ac_try;;
25168 esac
25169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25170 (eval "$ac_compile") 2>conftest.er1
25171 ac_status=$?
25172 grep -v '^ *+' conftest.er1 >conftest.err
25173 rm -f conftest.er1
25174 cat conftest.err >&5
25175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25176 (exit $ac_status); } && {
25177 test -z "$ac_c_werror_flag" ||
25178 test ! -s conftest.err
25179 } && test -s conftest.$ac_objext; then
25180 ac_lo=0 ac_mid=0
25181 while :; do
25182 cat >conftest.$ac_ext <<_ACEOF
25183 /* confdefs.h. */
25184 _ACEOF
25185 cat confdefs.h >>conftest.$ac_ext
25186 cat >>conftest.$ac_ext <<_ACEOF
25187 /* end confdefs.h. */
25188
25189 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25190 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25191 # error "fake wchar_t"
25192 #endif
25193 #ifdef HAVE_WCHAR_H
25194 # ifdef __CYGWIN__
25195 # include <stddef.h>
25196 # endif
25197 # include <wchar.h>
25198 #endif
25199 #ifdef HAVE_STDLIB_H
25200 # include <stdlib.h>
25201 #endif
25202 #include <stdio.h>
25203
25204
25205
25206 typedef wchar_t ac__type_sizeof_;
25207 int
25208 main ()
25209 {
25210 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25211 test_array [0] = 0
25212
25213 ;
25214 return 0;
25215 }
25216 _ACEOF
25217 rm -f conftest.$ac_objext
25218 if { (ac_try="$ac_compile"
25219 case "(($ac_try" in
25220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25221 *) ac_try_echo=$ac_try;;
25222 esac
25223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25224 (eval "$ac_compile") 2>conftest.er1
25225 ac_status=$?
25226 grep -v '^ *+' conftest.er1 >conftest.err
25227 rm -f conftest.er1
25228 cat conftest.err >&5
25229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25230 (exit $ac_status); } && {
25231 test -z "$ac_c_werror_flag" ||
25232 test ! -s conftest.err
25233 } && test -s conftest.$ac_objext; then
25234 ac_hi=$ac_mid; break
25235 else
25236 echo "$as_me: failed program was:" >&5
25237 sed 's/^/| /' conftest.$ac_ext >&5
25238
25239 ac_lo=`expr $ac_mid + 1`
25240 if test $ac_lo -le $ac_mid; then
25241 ac_lo= ac_hi=
25242 break
25243 fi
25244 ac_mid=`expr 2 '*' $ac_mid + 1`
25245 fi
25246
25247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25248 done
25249 else
25250 echo "$as_me: failed program was:" >&5
25251 sed 's/^/| /' conftest.$ac_ext >&5
25252
25253 cat >conftest.$ac_ext <<_ACEOF
25254 /* confdefs.h. */
25255 _ACEOF
25256 cat confdefs.h >>conftest.$ac_ext
25257 cat >>conftest.$ac_ext <<_ACEOF
25258 /* end confdefs.h. */
25259
25260 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25261 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25262 # error "fake wchar_t"
25263 #endif
25264 #ifdef HAVE_WCHAR_H
25265 # ifdef __CYGWIN__
25266 # include <stddef.h>
25267 # endif
25268 # include <wchar.h>
25269 #endif
25270 #ifdef HAVE_STDLIB_H
25271 # include <stdlib.h>
25272 #endif
25273 #include <stdio.h>
25274
25275
25276
25277 typedef wchar_t ac__type_sizeof_;
25278 int
25279 main ()
25280 {
25281 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25282 test_array [0] = 0
25283
25284 ;
25285 return 0;
25286 }
25287 _ACEOF
25288 rm -f conftest.$ac_objext
25289 if { (ac_try="$ac_compile"
25290 case "(($ac_try" in
25291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25292 *) ac_try_echo=$ac_try;;
25293 esac
25294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25295 (eval "$ac_compile") 2>conftest.er1
25296 ac_status=$?
25297 grep -v '^ *+' conftest.er1 >conftest.err
25298 rm -f conftest.er1
25299 cat conftest.err >&5
25300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25301 (exit $ac_status); } && {
25302 test -z "$ac_c_werror_flag" ||
25303 test ! -s conftest.err
25304 } && test -s conftest.$ac_objext; then
25305 ac_hi=-1 ac_mid=-1
25306 while :; do
25307 cat >conftest.$ac_ext <<_ACEOF
25308 /* confdefs.h. */
25309 _ACEOF
25310 cat confdefs.h >>conftest.$ac_ext
25311 cat >>conftest.$ac_ext <<_ACEOF
25312 /* end confdefs.h. */
25313
25314 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25315 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25316 # error "fake wchar_t"
25317 #endif
25318 #ifdef HAVE_WCHAR_H
25319 # ifdef __CYGWIN__
25320 # include <stddef.h>
25321 # endif
25322 # include <wchar.h>
25323 #endif
25324 #ifdef HAVE_STDLIB_H
25325 # include <stdlib.h>
25326 #endif
25327 #include <stdio.h>
25328
25329
25330
25331 typedef wchar_t ac__type_sizeof_;
25332 int
25333 main ()
25334 {
25335 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25336 test_array [0] = 0
25337
25338 ;
25339 return 0;
25340 }
25341 _ACEOF
25342 rm -f conftest.$ac_objext
25343 if { (ac_try="$ac_compile"
25344 case "(($ac_try" in
25345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25346 *) ac_try_echo=$ac_try;;
25347 esac
25348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25349 (eval "$ac_compile") 2>conftest.er1
25350 ac_status=$?
25351 grep -v '^ *+' conftest.er1 >conftest.err
25352 rm -f conftest.er1
25353 cat conftest.err >&5
25354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25355 (exit $ac_status); } && {
25356 test -z "$ac_c_werror_flag" ||
25357 test ! -s conftest.err
25358 } && test -s conftest.$ac_objext; then
25359 ac_lo=$ac_mid; break
25360 else
25361 echo "$as_me: failed program was:" >&5
25362 sed 's/^/| /' conftest.$ac_ext >&5
25363
25364 ac_hi=`expr '(' $ac_mid ')' - 1`
25365 if test $ac_mid -le $ac_hi; then
25366 ac_lo= ac_hi=
25367 break
25368 fi
25369 ac_mid=`expr 2 '*' $ac_mid`
25370 fi
25371
25372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25373 done
25374 else
25375 echo "$as_me: failed program was:" >&5
25376 sed 's/^/| /' conftest.$ac_ext >&5
25377
25378 ac_lo= ac_hi=
25379 fi
25380
25381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25382 fi
25383
25384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25385 # Binary search between lo and hi bounds.
25386 while test "x$ac_lo" != "x$ac_hi"; do
25387 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25388 cat >conftest.$ac_ext <<_ACEOF
25389 /* confdefs.h. */
25390 _ACEOF
25391 cat confdefs.h >>conftest.$ac_ext
25392 cat >>conftest.$ac_ext <<_ACEOF
25393 /* end confdefs.h. */
25394
25395 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25396 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25397 # error "fake wchar_t"
25398 #endif
25399 #ifdef HAVE_WCHAR_H
25400 # ifdef __CYGWIN__
25401 # include <stddef.h>
25402 # endif
25403 # include <wchar.h>
25404 #endif
25405 #ifdef HAVE_STDLIB_H
25406 # include <stdlib.h>
25407 #endif
25408 #include <stdio.h>
25409
25410
25411
25412 typedef wchar_t ac__type_sizeof_;
25413 int
25414 main ()
25415 {
25416 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25417 test_array [0] = 0
25418
25419 ;
25420 return 0;
25421 }
25422 _ACEOF
25423 rm -f conftest.$ac_objext
25424 if { (ac_try="$ac_compile"
25425 case "(($ac_try" in
25426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25427 *) ac_try_echo=$ac_try;;
25428 esac
25429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25430 (eval "$ac_compile") 2>conftest.er1
25431 ac_status=$?
25432 grep -v '^ *+' conftest.er1 >conftest.err
25433 rm -f conftest.er1
25434 cat conftest.err >&5
25435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25436 (exit $ac_status); } && {
25437 test -z "$ac_c_werror_flag" ||
25438 test ! -s conftest.err
25439 } && test -s conftest.$ac_objext; then
25440 ac_hi=$ac_mid
25441 else
25442 echo "$as_me: failed program was:" >&5
25443 sed 's/^/| /' conftest.$ac_ext >&5
25444
25445 ac_lo=`expr '(' $ac_mid ')' + 1`
25446 fi
25447
25448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25449 done
25450 case $ac_lo in
25451 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25452 '') if test "$ac_cv_type_wchar_t" = yes; then
25453 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25454 See \`config.log' for more details." >&5
25455 echo "$as_me: error: cannot compute sizeof (wchar_t)
25456 See \`config.log' for more details." >&2;}
25457 { (exit 77); exit 77; }; }
25458 else
25459 ac_cv_sizeof_wchar_t=0
25460 fi ;;
25461 esac
25462 else
25463 cat >conftest.$ac_ext <<_ACEOF
25464 /* confdefs.h. */
25465 _ACEOF
25466 cat confdefs.h >>conftest.$ac_ext
25467 cat >>conftest.$ac_ext <<_ACEOF
25468 /* end confdefs.h. */
25469
25470 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25471 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25472 # error "fake wchar_t"
25473 #endif
25474 #ifdef HAVE_WCHAR_H
25475 # ifdef __CYGWIN__
25476 # include <stddef.h>
25477 # endif
25478 # include <wchar.h>
25479 #endif
25480 #ifdef HAVE_STDLIB_H
25481 # include <stdlib.h>
25482 #endif
25483 #include <stdio.h>
25484
25485
25486
25487 typedef wchar_t ac__type_sizeof_;
25488 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25489 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25490 #include <stdio.h>
25491 #include <stdlib.h>
25492 int
25493 main ()
25494 {
25495
25496 FILE *f = fopen ("conftest.val", "w");
25497 if (! f)
25498 return 1;
25499 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25500 {
25501 long int i = longval ();
25502 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25503 return 1;
25504 fprintf (f, "%ld\n", i);
25505 }
25506 else
25507 {
25508 unsigned long int i = ulongval ();
25509 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25510 return 1;
25511 fprintf (f, "%lu\n", i);
25512 }
25513 return ferror (f) || fclose (f) != 0;
25514
25515 ;
25516 return 0;
25517 }
25518 _ACEOF
25519 rm -f conftest$ac_exeext
25520 if { (ac_try="$ac_link"
25521 case "(($ac_try" in
25522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25523 *) ac_try_echo=$ac_try;;
25524 esac
25525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25526 (eval "$ac_link") 2>&5
25527 ac_status=$?
25528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25529 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25530 { (case "(($ac_try" in
25531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25532 *) ac_try_echo=$ac_try;;
25533 esac
25534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25535 (eval "$ac_try") 2>&5
25536 ac_status=$?
25537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25538 (exit $ac_status); }; }; then
25539 ac_cv_sizeof_wchar_t=`cat conftest.val`
25540 else
25541 echo "$as_me: program exited with status $ac_status" >&5
25542 echo "$as_me: failed program was:" >&5
25543 sed 's/^/| /' conftest.$ac_ext >&5
25544
25545 ( exit $ac_status )
25546 if test "$ac_cv_type_wchar_t" = yes; then
25547 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25548 See \`config.log' for more details." >&5
25549 echo "$as_me: error: cannot compute sizeof (wchar_t)
25550 See \`config.log' for more details." >&2;}
25551 { (exit 77); exit 77; }; }
25552 else
25553 ac_cv_sizeof_wchar_t=0
25554 fi
25555 fi
25556 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25557 fi
25558 rm -f conftest.val
25559 fi
25560 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25561 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25562
25563
25564
25565 cat >>confdefs.h <<_ACEOF
25566 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25567 _ACEOF
25568
25569
25570 if test "$ac_cv_sizeof_wchar_t" != 0; then
25571 wxUSE_WCHAR_T=yes
25572 else
25573 wxUSE_WCHAR_T=no
25574 fi
25575
25576 { echo "$as_me:$LINENO: checking for va_copy" >&5
25577 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25578 if test "${wx_cv_func_va_copy+set}" = set; then
25579 echo $ECHO_N "(cached) $ECHO_C" >&6
25580 else
25581
25582 ac_ext=cpp
25583 ac_cpp='$CXXCPP $CPPFLAGS'
25584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25587
25588 cat >conftest.$ac_ext <<_ACEOF
25589
25590 #include <stdarg.h>
25591 void foo(char *f, ...)
25592 {
25593 va_list ap1, ap2;
25594 va_start(ap1, f);
25595 va_copy(ap2, ap1);
25596 va_end(ap2);
25597 va_end(ap1);
25598 }
25599 int main()
25600 {
25601 foo("hi", 17);
25602 return 0;
25603 }
25604 _ACEOF
25605 rm -f conftest.$ac_objext conftest$ac_exeext
25606 if { (ac_try="$ac_link"
25607 case "(($ac_try" in
25608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25609 *) ac_try_echo=$ac_try;;
25610 esac
25611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25612 (eval "$ac_link") 2>conftest.er1
25613 ac_status=$?
25614 grep -v '^ *+' conftest.er1 >conftest.err
25615 rm -f conftest.er1
25616 cat conftest.err >&5
25617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25618 (exit $ac_status); } && {
25619 test -z "$ac_cxx_werror_flag" ||
25620 test ! -s conftest.err
25621 } && test -s conftest$ac_exeext &&
25622 $as_test_x conftest$ac_exeext; then
25623 wx_cv_func_va_copy=yes
25624 else
25625 echo "$as_me: failed program was:" >&5
25626 sed 's/^/| /' conftest.$ac_ext >&5
25627
25628 wx_cv_func_va_copy=no
25629
25630 fi
25631
25632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25633 conftest$ac_exeext conftest.$ac_ext
25634 ac_ext=c
25635 ac_cpp='$CPP $CPPFLAGS'
25636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25639
25640
25641
25642 fi
25643 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25644 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25645
25646 if test $wx_cv_func_va_copy = "yes"; then
25647 cat >>confdefs.h <<\_ACEOF
25648 #define HAVE_VA_COPY 1
25649 _ACEOF
25650
25651 else
25652 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25653 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25654 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25655 echo $ECHO_N "(cached) $ECHO_C" >&6
25656 else
25657
25658 if test "$cross_compiling" = yes; then
25659 wx_cv_type_va_list_lvalue=yes
25660
25661 else
25662 cat >conftest.$ac_ext <<_ACEOF
25663
25664 #include <stdarg.h>
25665 int foo(char *f, ...)
25666 {
25667 va_list ap1, ap2;
25668 va_start(ap1, f);
25669 ap2 = ap1;
25670 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25671 return 1;
25672 va_end(ap2);
25673 va_end(ap1);
25674 return 0;
25675 }
25676 int main()
25677 {
25678 return foo("hi", 17);
25679 }
25680 _ACEOF
25681 rm -f conftest$ac_exeext
25682 if { (ac_try="$ac_link"
25683 case "(($ac_try" in
25684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25685 *) ac_try_echo=$ac_try;;
25686 esac
25687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25688 (eval "$ac_link") 2>&5
25689 ac_status=$?
25690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25691 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25692 { (case "(($ac_try" in
25693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25694 *) ac_try_echo=$ac_try;;
25695 esac
25696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25697 (eval "$ac_try") 2>&5
25698 ac_status=$?
25699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25700 (exit $ac_status); }; }; then
25701 wx_cv_type_va_list_lvalue=yes
25702 else
25703 echo "$as_me: program exited with status $ac_status" >&5
25704 echo "$as_me: failed program was:" >&5
25705 sed 's/^/| /' conftest.$ac_ext >&5
25706
25707 ( exit $ac_status )
25708 wx_cv_type_va_list_lvalue=no
25709 fi
25710 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25711 fi
25712
25713
25714
25715
25716 fi
25717 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25718 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25719
25720 if test $wx_cv_type_va_list_lvalue != "yes"; then
25721 cat >>confdefs.h <<\_ACEOF
25722 #define VA_LIST_IS_ARRAY 1
25723 _ACEOF
25724
25725 fi
25726 fi
25727
25728 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25729
25730 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25731 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25732 if test "${wx_cv_have_variadic_macros+set}" = set; then
25733 echo $ECHO_N "(cached) $ECHO_C" >&6
25734 else
25735
25736 ac_ext=cpp
25737 ac_cpp='$CXXCPP $CPPFLAGS'
25738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25741
25742 cat >conftest.$ac_ext <<_ACEOF
25743 /* confdefs.h. */
25744 _ACEOF
25745 cat confdefs.h >>conftest.$ac_ext
25746 cat >>conftest.$ac_ext <<_ACEOF
25747 /* end confdefs.h. */
25748
25749 #include <stdio.h>
25750 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25751
25752 int
25753 main ()
25754 {
25755
25756 test("%s %d %p", "test", 1, 0);
25757
25758
25759 ;
25760 return 0;
25761 }
25762 _ACEOF
25763 rm -f conftest.$ac_objext
25764 if { (ac_try="$ac_compile"
25765 case "(($ac_try" in
25766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25767 *) ac_try_echo=$ac_try;;
25768 esac
25769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25770 (eval "$ac_compile") 2>conftest.er1
25771 ac_status=$?
25772 grep -v '^ *+' conftest.er1 >conftest.err
25773 rm -f conftest.er1
25774 cat conftest.err >&5
25775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25776 (exit $ac_status); } && {
25777 test -z "$ac_cxx_werror_flag" ||
25778 test ! -s conftest.err
25779 } && test -s conftest.$ac_objext; then
25780 wx_cv_have_variadic_macros=yes
25781 else
25782 echo "$as_me: failed program was:" >&5
25783 sed 's/^/| /' conftest.$ac_ext >&5
25784
25785 wx_cv_have_variadic_macros=no
25786
25787 fi
25788
25789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25790 ac_ext=c
25791 ac_cpp='$CPP $CPPFLAGS'
25792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25795
25796
25797
25798 fi
25799 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25800 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25801
25802 if test $wx_cv_have_variadic_macros = "yes"; then
25803 cat >>confdefs.h <<\_ACEOF
25804 #define HAVE_VARIADIC_MACROS 1
25805 _ACEOF
25806
25807 fi
25808
25809 fi
25810 # Check whether --enable-largefile was given.
25811 if test "${enable_largefile+set}" = set; then
25812 enableval=$enable_largefile;
25813 fi
25814
25815 if test "$enable_largefile" != no; then
25816 wx_largefile=no
25817
25818 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25819 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25820 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25821 echo $ECHO_N "(cached) $ECHO_C" >&6
25822 else
25823
25824 cat >conftest.$ac_ext <<_ACEOF
25825 /* confdefs.h. */
25826 _ACEOF
25827 cat confdefs.h >>conftest.$ac_ext
25828 cat >>conftest.$ac_ext <<_ACEOF
25829 /* end confdefs.h. */
25830 #define _FILE_OFFSET_BITS 64
25831 #include <sys/types.h>
25832 int
25833 main ()
25834 {
25835 typedef struct {
25836 unsigned int field: sizeof(off_t) == 8;
25837 } wxlf;
25838
25839 ;
25840 return 0;
25841 }
25842 _ACEOF
25843 rm -f conftest.$ac_objext
25844 if { (ac_try="$ac_compile"
25845 case "(($ac_try" in
25846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25847 *) ac_try_echo=$ac_try;;
25848 esac
25849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25850 (eval "$ac_compile") 2>conftest.er1
25851 ac_status=$?
25852 grep -v '^ *+' conftest.er1 >conftest.err
25853 rm -f conftest.er1
25854 cat conftest.err >&5
25855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25856 (exit $ac_status); } && {
25857 test -z "$ac_c_werror_flag" ||
25858 test ! -s conftest.err
25859 } && test -s conftest.$ac_objext; then
25860 ac_cv_sys_file_offset_bits=64
25861 else
25862 echo "$as_me: failed program was:" >&5
25863 sed 's/^/| /' conftest.$ac_ext >&5
25864
25865 ac_cv_sys_file_offset_bits=no
25866 fi
25867
25868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25869
25870
25871 fi
25872 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25873 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25874
25875 if test "$ac_cv_sys_file_offset_bits" != no; then
25876 wx_largefile=yes
25877 cat >>confdefs.h <<_ACEOF
25878 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25879 _ACEOF
25880
25881 fi
25882
25883 if test "x$wx_largefile" != "xyes"; then
25884
25885 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25886 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25887 if test "${ac_cv_sys_large_files+set}" = set; then
25888 echo $ECHO_N "(cached) $ECHO_C" >&6
25889 else
25890
25891 cat >conftest.$ac_ext <<_ACEOF
25892 /* confdefs.h. */
25893 _ACEOF
25894 cat confdefs.h >>conftest.$ac_ext
25895 cat >>conftest.$ac_ext <<_ACEOF
25896 /* end confdefs.h. */
25897 #define _LARGE_FILES 1
25898 #include <sys/types.h>
25899 int
25900 main ()
25901 {
25902 typedef struct {
25903 unsigned int field: sizeof(off_t) == 8;
25904 } wxlf;
25905
25906 ;
25907 return 0;
25908 }
25909 _ACEOF
25910 rm -f conftest.$ac_objext
25911 if { (ac_try="$ac_compile"
25912 case "(($ac_try" in
25913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25914 *) ac_try_echo=$ac_try;;
25915 esac
25916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25917 (eval "$ac_compile") 2>conftest.er1
25918 ac_status=$?
25919 grep -v '^ *+' conftest.er1 >conftest.err
25920 rm -f conftest.er1
25921 cat conftest.err >&5
25922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25923 (exit $ac_status); } && {
25924 test -z "$ac_c_werror_flag" ||
25925 test ! -s conftest.err
25926 } && test -s conftest.$ac_objext; then
25927 ac_cv_sys_large_files=1
25928 else
25929 echo "$as_me: failed program was:" >&5
25930 sed 's/^/| /' conftest.$ac_ext >&5
25931
25932 ac_cv_sys_large_files=no
25933 fi
25934
25935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25936
25937
25938 fi
25939 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25940 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25941
25942 if test "$ac_cv_sys_large_files" != no; then
25943 wx_largefile=yes
25944 cat >>confdefs.h <<_ACEOF
25945 #define _LARGE_FILES $ac_cv_sys_large_files
25946 _ACEOF
25947
25948 fi
25949
25950 fi
25951
25952 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25953 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25954 if test "x$wx_largefile" = "xyes"; then
25955 cat >>confdefs.h <<\_ACEOF
25956 #define HAVE_LARGEFILE_SUPPORT 1
25957 _ACEOF
25958
25959 fi
25960 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25961 echo "${ECHO_T}$wx_largefile" >&6; }
25962 fi
25963
25964
25965 if test "x$wx_largefile" = "xyes"; then
25966 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25967 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25968
25969 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25970 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25971 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25972 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25973 echo $ECHO_N "(cached) $ECHO_C" >&6
25974 else
25975
25976 ac_ext=cpp
25977 ac_cpp='$CXXCPP $CPPFLAGS'
25978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25981
25982 cat >conftest.$ac_ext <<_ACEOF
25983 /* confdefs.h. */
25984 _ACEOF
25985 cat confdefs.h >>conftest.$ac_ext
25986 cat >>conftest.$ac_ext <<_ACEOF
25987 /* end confdefs.h. */
25988
25989 int
25990 main ()
25991 {
25992
25993 #ifndef __STDC_EXT__
25994 choke me
25995 #endif
25996
25997 ;
25998 return 0;
25999 }
26000 _ACEOF
26001 rm -f conftest.$ac_objext
26002 if { (ac_try="$ac_compile"
26003 case "(($ac_try" in
26004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26005 *) ac_try_echo=$ac_try;;
26006 esac
26007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26008 (eval "$ac_compile") 2>conftest.er1
26009 ac_status=$?
26010 grep -v '^ *+' conftest.er1 >conftest.err
26011 rm -f conftest.er1
26012 cat conftest.err >&5
26013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26014 (exit $ac_status); } && {
26015 test -z "$ac_cxx_werror_flag" ||
26016 test ! -s conftest.err
26017 } && test -s conftest.$ac_objext; then
26018 wx_cv_STDC_EXT_required=no
26019 else
26020 echo "$as_me: failed program was:" >&5
26021 sed 's/^/| /' conftest.$ac_ext >&5
26022
26023 wx_cv_STDC_EXT_required=yes
26024
26025 fi
26026
26027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26028 ac_ext=c
26029 ac_cpp='$CPP $CPPFLAGS'
26030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26033
26034
26035
26036 fi
26037 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
26038 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
26039 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
26040 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
26041 fi
26042 fi
26043 else
26044 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
26045 fi
26046 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
26047 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
26048 if test "${ac_cv_sys_largefile_source+set}" = set; then
26049 echo $ECHO_N "(cached) $ECHO_C" >&6
26050 else
26051 while :; do
26052 cat >conftest.$ac_ext <<_ACEOF
26053 /* confdefs.h. */
26054 _ACEOF
26055 cat confdefs.h >>conftest.$ac_ext
26056 cat >>conftest.$ac_ext <<_ACEOF
26057 /* end confdefs.h. */
26058 #include <sys/types.h> /* for off_t */
26059 #include <stdio.h>
26060 int
26061 main ()
26062 {
26063 int (*fp) (FILE *, off_t, int) = fseeko;
26064 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26065 ;
26066 return 0;
26067 }
26068 _ACEOF
26069 rm -f conftest.$ac_objext conftest$ac_exeext
26070 if { (ac_try="$ac_link"
26071 case "(($ac_try" in
26072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26073 *) ac_try_echo=$ac_try;;
26074 esac
26075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26076 (eval "$ac_link") 2>conftest.er1
26077 ac_status=$?
26078 grep -v '^ *+' conftest.er1 >conftest.err
26079 rm -f conftest.er1
26080 cat conftest.err >&5
26081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26082 (exit $ac_status); } && {
26083 test -z "$ac_c_werror_flag" ||
26084 test ! -s conftest.err
26085 } && test -s conftest$ac_exeext &&
26086 $as_test_x conftest$ac_exeext; then
26087 ac_cv_sys_largefile_source=no; break
26088 else
26089 echo "$as_me: failed program was:" >&5
26090 sed 's/^/| /' conftest.$ac_ext >&5
26091
26092
26093 fi
26094
26095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26096 conftest$ac_exeext conftest.$ac_ext
26097 cat >conftest.$ac_ext <<_ACEOF
26098 /* confdefs.h. */
26099 _ACEOF
26100 cat confdefs.h >>conftest.$ac_ext
26101 cat >>conftest.$ac_ext <<_ACEOF
26102 /* end confdefs.h. */
26103 #define _LARGEFILE_SOURCE 1
26104 #include <sys/types.h> /* for off_t */
26105 #include <stdio.h>
26106 int
26107 main ()
26108 {
26109 int (*fp) (FILE *, off_t, int) = fseeko;
26110 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
26111 ;
26112 return 0;
26113 }
26114 _ACEOF
26115 rm -f conftest.$ac_objext conftest$ac_exeext
26116 if { (ac_try="$ac_link"
26117 case "(($ac_try" in
26118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26119 *) ac_try_echo=$ac_try;;
26120 esac
26121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26122 (eval "$ac_link") 2>conftest.er1
26123 ac_status=$?
26124 grep -v '^ *+' conftest.er1 >conftest.err
26125 rm -f conftest.er1
26126 cat conftest.err >&5
26127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26128 (exit $ac_status); } && {
26129 test -z "$ac_c_werror_flag" ||
26130 test ! -s conftest.err
26131 } && test -s conftest$ac_exeext &&
26132 $as_test_x conftest$ac_exeext; then
26133 ac_cv_sys_largefile_source=1; break
26134 else
26135 echo "$as_me: failed program was:" >&5
26136 sed 's/^/| /' conftest.$ac_ext >&5
26137
26138
26139 fi
26140
26141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26142 conftest$ac_exeext conftest.$ac_ext
26143 ac_cv_sys_largefile_source=unknown
26144 break
26145 done
26146 fi
26147 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
26148 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
26149 case $ac_cv_sys_largefile_source in #(
26150 no | unknown) ;;
26151 *)
26152 cat >>confdefs.h <<_ACEOF
26153 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
26154 _ACEOF
26155 ;;
26156 esac
26157 rm -f conftest*
26158
26159 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
26160 # in glibc 2.1.3, but that breaks too many other things.
26161 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
26162 if test $ac_cv_sys_largefile_source != unknown; then
26163
26164 cat >>confdefs.h <<\_ACEOF
26165 #define HAVE_FSEEKO 1
26166 _ACEOF
26167
26168 fi
26169
26170 if test "$ac_cv_sys_largefile_source" != no; then
26171 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
26172 fi
26173 fi
26174
26175 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
26176 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
26177 if test "${ac_cv_c_bigendian+set}" = set; then
26178 echo $ECHO_N "(cached) $ECHO_C" >&6
26179 else
26180 ac_cv_c_bigendian=unknown
26181 # See if sys/param.h defines the BYTE_ORDER macro.
26182 cat >conftest.$ac_ext <<_ACEOF
26183 /* confdefs.h. */
26184 _ACEOF
26185 cat confdefs.h >>conftest.$ac_ext
26186 cat >>conftest.$ac_ext <<_ACEOF
26187 /* end confdefs.h. */
26188 #include <sys/types.h>
26189 #include <sys/param.h>
26190 int
26191 main ()
26192 {
26193
26194 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26195 bogus endian macros
26196 #endif
26197 ;
26198 return 0;
26199 }
26200 _ACEOF
26201 rm -f conftest.$ac_objext
26202 if { (ac_try="$ac_compile"
26203 case "(($ac_try" in
26204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26205 *) ac_try_echo=$ac_try;;
26206 esac
26207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26208 (eval "$ac_compile") 2>conftest.er1
26209 ac_status=$?
26210 grep -v '^ *+' conftest.er1 >conftest.err
26211 rm -f conftest.er1
26212 cat conftest.err >&5
26213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26214 (exit $ac_status); } && {
26215 test -z "$ac_c_werror_flag" ||
26216 test ! -s conftest.err
26217 } && test -s conftest.$ac_objext; then
26218 # It does; now see whether it defined to BIG_ENDIAN or not.
26219 cat >conftest.$ac_ext <<_ACEOF
26220 /* confdefs.h. */
26221 _ACEOF
26222 cat confdefs.h >>conftest.$ac_ext
26223 cat >>conftest.$ac_ext <<_ACEOF
26224 /* end confdefs.h. */
26225 #include <sys/types.h>
26226 #include <sys/param.h>
26227 int
26228 main ()
26229 {
26230
26231 #if BYTE_ORDER != BIG_ENDIAN
26232 not big endian
26233 #endif
26234 ;
26235 return 0;
26236 }
26237 _ACEOF
26238 rm -f conftest.$ac_objext
26239 if { (ac_try="$ac_compile"
26240 case "(($ac_try" in
26241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26242 *) ac_try_echo=$ac_try;;
26243 esac
26244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26245 (eval "$ac_compile") 2>conftest.er1
26246 ac_status=$?
26247 grep -v '^ *+' conftest.er1 >conftest.err
26248 rm -f conftest.er1
26249 cat conftest.err >&5
26250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26251 (exit $ac_status); } && {
26252 test -z "$ac_c_werror_flag" ||
26253 test ! -s conftest.err
26254 } && test -s conftest.$ac_objext; then
26255 ac_cv_c_bigendian=yes
26256 else
26257 echo "$as_me: failed program was:" >&5
26258 sed 's/^/| /' conftest.$ac_ext >&5
26259
26260 ac_cv_c_bigendian=no
26261 fi
26262
26263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26264 else
26265 echo "$as_me: failed program was:" >&5
26266 sed 's/^/| /' conftest.$ac_ext >&5
26267
26268
26269 fi
26270
26271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26272 if test $ac_cv_c_bigendian = unknown; then
26273 if test "$cross_compiling" = yes; then
26274 ac_cv_c_bigendian=unknown
26275 else
26276 cat >conftest.$ac_ext <<_ACEOF
26277 /* confdefs.h. */
26278 _ACEOF
26279 cat confdefs.h >>conftest.$ac_ext
26280 cat >>conftest.$ac_ext <<_ACEOF
26281 /* end confdefs.h. */
26282 main () {
26283 /* Are we little or big endian? From Harbison&Steele. */
26284 union
26285 {
26286 long l;
26287 char c[sizeof (long)];
26288 } u;
26289 u.l = 1;
26290 exit (u.c[sizeof (long) - 1] == 1);
26291 }
26292 _ACEOF
26293 rm -f conftest$ac_exeext
26294 if { (ac_try="$ac_link"
26295 case "(($ac_try" in
26296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26297 *) ac_try_echo=$ac_try;;
26298 esac
26299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26300 (eval "$ac_link") 2>&5
26301 ac_status=$?
26302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26303 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26304 { (case "(($ac_try" in
26305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26306 *) ac_try_echo=$ac_try;;
26307 esac
26308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26309 (eval "$ac_try") 2>&5
26310 ac_status=$?
26311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26312 (exit $ac_status); }; }; then
26313 ac_cv_c_bigendian=no
26314 else
26315 echo "$as_me: program exited with status $ac_status" >&5
26316 echo "$as_me: failed program was:" >&5
26317 sed 's/^/| /' conftest.$ac_ext >&5
26318
26319 ( exit $ac_status )
26320 ac_cv_c_bigendian=yes
26321 fi
26322 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26323 fi
26324
26325
26326 fi
26327 fi
26328 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26329 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26330 if test $ac_cv_c_bigendian = unknown; then
26331 { 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
26332 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;}
26333 fi
26334 if test $ac_cv_c_bigendian = yes; then
26335 cat >>confdefs.h <<\_ACEOF
26336 #define WORDS_BIGENDIAN 1
26337 _ACEOF
26338
26339 fi
26340
26341
26342
26343
26344 ac_ext=cpp
26345 ac_cpp='$CXXCPP $CPPFLAGS'
26346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26349
26350
26351
26352 for ac_header in iostream
26353 do
26354 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26355 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26356 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26357 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26358 echo $ECHO_N "(cached) $ECHO_C" >&6
26359 else
26360 cat >conftest.$ac_ext <<_ACEOF
26361 /* confdefs.h. */
26362 _ACEOF
26363 cat confdefs.h >>conftest.$ac_ext
26364 cat >>conftest.$ac_ext <<_ACEOF
26365 /* end confdefs.h. */
26366
26367
26368 #include <$ac_header>
26369 _ACEOF
26370 rm -f conftest.$ac_objext
26371 if { (ac_try="$ac_compile"
26372 case "(($ac_try" in
26373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26374 *) ac_try_echo=$ac_try;;
26375 esac
26376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26377 (eval "$ac_compile") 2>conftest.er1
26378 ac_status=$?
26379 grep -v '^ *+' conftest.er1 >conftest.err
26380 rm -f conftest.er1
26381 cat conftest.err >&5
26382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26383 (exit $ac_status); } && {
26384 test -z "$ac_cxx_werror_flag" ||
26385 test ! -s conftest.err
26386 } && test -s conftest.$ac_objext; then
26387 eval "$as_ac_Header=yes"
26388 else
26389 echo "$as_me: failed program was:" >&5
26390 sed 's/^/| /' conftest.$ac_ext >&5
26391
26392 eval "$as_ac_Header=no"
26393 fi
26394
26395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26396 fi
26397 ac_res=`eval echo '${'$as_ac_Header'}'`
26398 { echo "$as_me:$LINENO: result: $ac_res" >&5
26399 echo "${ECHO_T}$ac_res" >&6; }
26400 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26401 cat >>confdefs.h <<_ACEOF
26402 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26403 _ACEOF
26404
26405 fi
26406
26407 done
26408
26409
26410 if test "$ac_cv_header_iostream" = "yes" ; then
26411 :
26412 else
26413 cat >>confdefs.h <<\_ACEOF
26414 #define wxUSE_IOSTREAMH 1
26415 _ACEOF
26416
26417 fi
26418
26419 ac_ext=c
26420 ac_cpp='$CPP $CPPFLAGS'
26421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26424
26425
26426
26427
26428 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26429 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26430 if test "${wx_cv_cpp_bool+set}" = set; then
26431 echo $ECHO_N "(cached) $ECHO_C" >&6
26432 else
26433
26434
26435 ac_ext=cpp
26436 ac_cpp='$CXXCPP $CPPFLAGS'
26437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26440
26441
26442 cat >conftest.$ac_ext <<_ACEOF
26443 /* confdefs.h. */
26444 _ACEOF
26445 cat confdefs.h >>conftest.$ac_ext
26446 cat >>conftest.$ac_ext <<_ACEOF
26447 /* end confdefs.h. */
26448
26449
26450 int
26451 main ()
26452 {
26453
26454 bool b = true;
26455
26456 return 0;
26457
26458 ;
26459 return 0;
26460 }
26461 _ACEOF
26462 rm -f conftest.$ac_objext
26463 if { (ac_try="$ac_compile"
26464 case "(($ac_try" in
26465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26466 *) ac_try_echo=$ac_try;;
26467 esac
26468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26469 (eval "$ac_compile") 2>conftest.er1
26470 ac_status=$?
26471 grep -v '^ *+' conftest.er1 >conftest.err
26472 rm -f conftest.er1
26473 cat conftest.err >&5
26474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26475 (exit $ac_status); } && {
26476 test -z "$ac_cxx_werror_flag" ||
26477 test ! -s conftest.err
26478 } && test -s conftest.$ac_objext; then
26479
26480 wx_cv_cpp_bool=yes
26481
26482 else
26483 echo "$as_me: failed program was:" >&5
26484 sed 's/^/| /' conftest.$ac_ext >&5
26485
26486
26487 wx_cv_cpp_bool=no
26488
26489
26490 fi
26491
26492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26493
26494 ac_ext=c
26495 ac_cpp='$CPP $CPPFLAGS'
26496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26499
26500
26501 fi
26502 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26503 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26504
26505 if test "$wx_cv_cpp_bool" = "yes"; then
26506 cat >>confdefs.h <<\_ACEOF
26507 #define HAVE_BOOL 1
26508 _ACEOF
26509
26510 fi
26511
26512
26513
26514 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26515 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26516 if test "${wx_cv_explicit+set}" = set; then
26517 echo $ECHO_N "(cached) $ECHO_C" >&6
26518 else
26519
26520
26521 ac_ext=cpp
26522 ac_cpp='$CXXCPP $CPPFLAGS'
26523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26526
26527
26528 cat >conftest.$ac_ext <<_ACEOF
26529 /* confdefs.h. */
26530 _ACEOF
26531 cat confdefs.h >>conftest.$ac_ext
26532 cat >>conftest.$ac_ext <<_ACEOF
26533 /* end confdefs.h. */
26534
26535 class Foo { public: explicit Foo(int) {} };
26536
26537 int
26538 main ()
26539 {
26540
26541 return 0;
26542
26543 ;
26544 return 0;
26545 }
26546 _ACEOF
26547 rm -f conftest.$ac_objext
26548 if { (ac_try="$ac_compile"
26549 case "(($ac_try" in
26550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26551 *) ac_try_echo=$ac_try;;
26552 esac
26553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26554 (eval "$ac_compile") 2>conftest.er1
26555 ac_status=$?
26556 grep -v '^ *+' conftest.er1 >conftest.err
26557 rm -f conftest.er1
26558 cat conftest.err >&5
26559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26560 (exit $ac_status); } && {
26561 test -z "$ac_cxx_werror_flag" ||
26562 test ! -s conftest.err
26563 } && test -s conftest.$ac_objext; then
26564
26565 cat >conftest.$ac_ext <<_ACEOF
26566 /* confdefs.h. */
26567 _ACEOF
26568 cat confdefs.h >>conftest.$ac_ext
26569 cat >>conftest.$ac_ext <<_ACEOF
26570 /* end confdefs.h. */
26571
26572 class Foo { public: explicit Foo(int) {} };
26573 static void TakeFoo(const Foo& foo) { }
26574
26575 int
26576 main ()
26577 {
26578
26579 TakeFoo(17);
26580 return 0;
26581
26582 ;
26583 return 0;
26584 }
26585 _ACEOF
26586 rm -f conftest.$ac_objext
26587 if { (ac_try="$ac_compile"
26588 case "(($ac_try" in
26589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26590 *) ac_try_echo=$ac_try;;
26591 esac
26592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26593 (eval "$ac_compile") 2>conftest.er1
26594 ac_status=$?
26595 grep -v '^ *+' conftest.er1 >conftest.err
26596 rm -f conftest.er1
26597 cat conftest.err >&5
26598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26599 (exit $ac_status); } && {
26600 test -z "$ac_cxx_werror_flag" ||
26601 test ! -s conftest.err
26602 } && test -s conftest.$ac_objext; then
26603 wx_cv_explicit=no
26604 else
26605 echo "$as_me: failed program was:" >&5
26606 sed 's/^/| /' conftest.$ac_ext >&5
26607
26608 wx_cv_explicit=yes
26609
26610 fi
26611
26612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26613
26614 else
26615 echo "$as_me: failed program was:" >&5
26616 sed 's/^/| /' conftest.$ac_ext >&5
26617
26618 wx_cv_explicit=no
26619
26620 fi
26621
26622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26623
26624 ac_ext=c
26625 ac_cpp='$CPP $CPPFLAGS'
26626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26629
26630
26631 fi
26632 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26633 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26634
26635 if test "$wx_cv_explicit" = "yes"; then
26636 cat >>confdefs.h <<\_ACEOF
26637 #define HAVE_EXPLICIT 1
26638 _ACEOF
26639
26640 fi
26641
26642
26643 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26644 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26645 if test "${ac_cv_cxx_const_cast+set}" = set; then
26646 echo $ECHO_N "(cached) $ECHO_C" >&6
26647 else
26648
26649 ac_ext=cpp
26650 ac_cpp='$CXXCPP $CPPFLAGS'
26651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26654
26655 cat >conftest.$ac_ext <<_ACEOF
26656 /* confdefs.h. */
26657 _ACEOF
26658 cat confdefs.h >>conftest.$ac_ext
26659 cat >>conftest.$ac_ext <<_ACEOF
26660 /* end confdefs.h. */
26661
26662 int
26663 main ()
26664 {
26665 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26666 ;
26667 return 0;
26668 }
26669 _ACEOF
26670 rm -f conftest.$ac_objext
26671 if { (ac_try="$ac_compile"
26672 case "(($ac_try" in
26673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26674 *) ac_try_echo=$ac_try;;
26675 esac
26676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26677 (eval "$ac_compile") 2>conftest.er1
26678 ac_status=$?
26679 grep -v '^ *+' conftest.er1 >conftest.err
26680 rm -f conftest.er1
26681 cat conftest.err >&5
26682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26683 (exit $ac_status); } && {
26684 test -z "$ac_cxx_werror_flag" ||
26685 test ! -s conftest.err
26686 } && test -s conftest.$ac_objext; then
26687 ac_cv_cxx_const_cast=yes
26688 else
26689 echo "$as_me: failed program was:" >&5
26690 sed 's/^/| /' conftest.$ac_ext >&5
26691
26692 ac_cv_cxx_const_cast=no
26693 fi
26694
26695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26696 ac_ext=c
26697 ac_cpp='$CPP $CPPFLAGS'
26698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26701
26702
26703 fi
26704 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26705 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26706 if test "$ac_cv_cxx_const_cast" = yes; then
26707
26708 cat >>confdefs.h <<\_ACEOF
26709 #define HAVE_CONST_CAST
26710 _ACEOF
26711
26712 fi
26713
26714 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26715 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26716 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26717 echo $ECHO_N "(cached) $ECHO_C" >&6
26718 else
26719
26720 ac_ext=cpp
26721 ac_cpp='$CXXCPP $CPPFLAGS'
26722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26725
26726 cat >conftest.$ac_ext <<_ACEOF
26727 /* confdefs.h. */
26728 _ACEOF
26729 cat confdefs.h >>conftest.$ac_ext
26730 cat >>conftest.$ac_ext <<_ACEOF
26731 /* end confdefs.h. */
26732 #include <typeinfo>
26733 class Base { public : Base () {} virtual void f () = 0;};
26734 class Derived : public Base { public : Derived () {} virtual void f () {} };
26735 class Unrelated { public : Unrelated () {} };
26736 int g (Unrelated&) { return 0; }
26737 int
26738 main ()
26739 {
26740
26741 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26742 ;
26743 return 0;
26744 }
26745 _ACEOF
26746 rm -f conftest.$ac_objext
26747 if { (ac_try="$ac_compile"
26748 case "(($ac_try" in
26749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26750 *) ac_try_echo=$ac_try;;
26751 esac
26752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26753 (eval "$ac_compile") 2>conftest.er1
26754 ac_status=$?
26755 grep -v '^ *+' conftest.er1 >conftest.err
26756 rm -f conftest.er1
26757 cat conftest.err >&5
26758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26759 (exit $ac_status); } && {
26760 test -z "$ac_cxx_werror_flag" ||
26761 test ! -s conftest.err
26762 } && test -s conftest.$ac_objext; then
26763 ac_cv_cxx_reinterpret_cast=yes
26764 else
26765 echo "$as_me: failed program was:" >&5
26766 sed 's/^/| /' conftest.$ac_ext >&5
26767
26768 ac_cv_cxx_reinterpret_cast=no
26769 fi
26770
26771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26772 ac_ext=c
26773 ac_cpp='$CPP $CPPFLAGS'
26774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26777
26778
26779 fi
26780 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26781 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26782 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26783
26784 cat >>confdefs.h <<\_ACEOF
26785 #define HAVE_REINTERPRET_CAST
26786 _ACEOF
26787
26788 fi
26789
26790 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26791 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26792 if test "${ac_cv_cxx_static_cast+set}" = set; then
26793 echo $ECHO_N "(cached) $ECHO_C" >&6
26794 else
26795
26796 ac_ext=cpp
26797 ac_cpp='$CXXCPP $CPPFLAGS'
26798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26801
26802 cat >conftest.$ac_ext <<_ACEOF
26803 /* confdefs.h. */
26804 _ACEOF
26805 cat confdefs.h >>conftest.$ac_ext
26806 cat >>conftest.$ac_ext <<_ACEOF
26807 /* end confdefs.h. */
26808 #include <typeinfo>
26809 class Base { public : Base () {} virtual void f () = 0; };
26810 class Derived : public Base { public : Derived () {} virtual void f () {} };
26811 int g (Derived&) { return 0; }
26812 int
26813 main ()
26814 {
26815
26816 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26817 ;
26818 return 0;
26819 }
26820 _ACEOF
26821 rm -f conftest.$ac_objext
26822 if { (ac_try="$ac_compile"
26823 case "(($ac_try" in
26824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26825 *) ac_try_echo=$ac_try;;
26826 esac
26827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26828 (eval "$ac_compile") 2>conftest.er1
26829 ac_status=$?
26830 grep -v '^ *+' conftest.er1 >conftest.err
26831 rm -f conftest.er1
26832 cat conftest.err >&5
26833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26834 (exit $ac_status); } && {
26835 test -z "$ac_cxx_werror_flag" ||
26836 test ! -s conftest.err
26837 } && test -s conftest.$ac_objext; then
26838 ac_cv_cxx_static_cast=yes
26839 else
26840 echo "$as_me: failed program was:" >&5
26841 sed 's/^/| /' conftest.$ac_ext >&5
26842
26843 ac_cv_cxx_static_cast=no
26844 fi
26845
26846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26847 ac_ext=c
26848 ac_cpp='$CPP $CPPFLAGS'
26849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26852
26853
26854 fi
26855 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26856 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26857 if test "$ac_cv_cxx_static_cast" = yes; then
26858
26859 cat >>confdefs.h <<\_ACEOF
26860 #define HAVE_STATIC_CAST
26861 _ACEOF
26862
26863 fi
26864
26865
26866 if test "x$SUNCXX" = xyes; then
26867 CXXFLAGS="-features=tmplife $CXXFLAGS"
26868 fi
26869
26870 if test "x$SUNCC" = xyes; then
26871 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26872 fi
26873
26874 if test "x$SGICC" = "xyes"; then
26875 CFLAGS="-woff 3970 $CFLAGS"
26876 fi
26877 if test "x$SGICXX" = "xyes"; then
26878 CXXFLAGS="-woff 3970 $CXXFLAGS"
26879 fi
26880
26881 if test "x$HPCC" = "xyes"; then
26882 CFLAGS="+W 2011,2450 $CFLAGS"
26883 fi
26884 if test "x$HPCXX" = "xyes"; then
26885 CXXFLAGS="+W 2340 $CXXFLAGS"
26886 fi
26887
26888 if test "x$COMPAQCXX" = "xyes"; then
26889 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26890 fi
26891
26892 ac_ext=cpp
26893 ac_cpp='$CXXCPP $CPPFLAGS'
26894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26897
26898
26899 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26900 if test "$wxUSE_UNICODE" = "yes"; then
26901 std_string="std::wstring"
26902 char_type="wchar_t"
26903 else
26904 std_string="std::string"
26905 char_type="char"
26906 fi
26907
26908 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26909 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26910 if test "${wx_cv_class_stdstring+set}" = set; then
26911 echo $ECHO_N "(cached) $ECHO_C" >&6
26912 else
26913
26914 cat >conftest.$ac_ext <<_ACEOF
26915 /* confdefs.h. */
26916 _ACEOF
26917 cat confdefs.h >>conftest.$ac_ext
26918 cat >>conftest.$ac_ext <<_ACEOF
26919 /* end confdefs.h. */
26920 #include <string>
26921 int
26922 main ()
26923 {
26924 $std_string foo;
26925 ;
26926 return 0;
26927 }
26928 _ACEOF
26929 rm -f conftest.$ac_objext
26930 if { (ac_try="$ac_compile"
26931 case "(($ac_try" in
26932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26933 *) ac_try_echo=$ac_try;;
26934 esac
26935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26936 (eval "$ac_compile") 2>conftest.er1
26937 ac_status=$?
26938 grep -v '^ *+' conftest.er1 >conftest.err
26939 rm -f conftest.er1
26940 cat conftest.err >&5
26941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26942 (exit $ac_status); } && {
26943 test -z "$ac_cxx_werror_flag" ||
26944 test ! -s conftest.err
26945 } && test -s conftest.$ac_objext; then
26946 wx_cv_class_stdstring=yes
26947 else
26948 echo "$as_me: failed program was:" >&5
26949 sed 's/^/| /' conftest.$ac_ext >&5
26950
26951 wx_cv_class_stdstring=no
26952
26953 fi
26954
26955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26956
26957
26958 fi
26959 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26960 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26961
26962 if test "$wx_cv_class_stdstring" = yes; then
26963 if test "$wxUSE_UNICODE" = "yes"; then
26964 cat >>confdefs.h <<\_ACEOF
26965 #define HAVE_STD_WSTRING 1
26966 _ACEOF
26967
26968 fi
26969 else
26970 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26971 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26972 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26973 echo $ECHO_N "(cached) $ECHO_C" >&6
26974 else
26975
26976 cat >conftest.$ac_ext <<_ACEOF
26977 /* confdefs.h. */
26978 _ACEOF
26979 cat confdefs.h >>conftest.$ac_ext
26980 cat >>conftest.$ac_ext <<_ACEOF
26981 /* end confdefs.h. */
26982
26983 #ifdef HAVE_WCHAR_H
26984 # ifdef __CYGWIN__
26985 # include <stddef.h>
26986 # endif
26987 # include <wchar.h>
26988 #endif
26989 #ifdef HAVE_STDLIB_H
26990 # include <stdlib.h>
26991 #endif
26992 #include <stdio.h>
26993 #include <string>
26994
26995 int
26996 main ()
26997 {
26998 std::basic_string<$char_type> foo;
26999 const $char_type* dummy = foo.c_str();
27000 ;
27001 return 0;
27002 }
27003 _ACEOF
27004 rm -f conftest.$ac_objext
27005 if { (ac_try="$ac_compile"
27006 case "(($ac_try" in
27007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27008 *) ac_try_echo=$ac_try;;
27009 esac
27010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27011 (eval "$ac_compile") 2>conftest.er1
27012 ac_status=$?
27013 grep -v '^ *+' conftest.er1 >conftest.err
27014 rm -f conftest.er1
27015 cat conftest.err >&5
27016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27017 (exit $ac_status); } && {
27018 test -z "$ac_cxx_werror_flag" ||
27019 test ! -s conftest.err
27020 } && test -s conftest.$ac_objext; then
27021 wx_cv_class_stdbasicstring=yes
27022 else
27023 echo "$as_me: failed program was:" >&5
27024 sed 's/^/| /' conftest.$ac_ext >&5
27025
27026 wx_cv_class_stdbasicstring=no
27027
27028 fi
27029
27030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27031
27032
27033 fi
27034 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
27035 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
27036
27037 if test "$wx_cv_class_stdbasicstring" != yes; then
27038 if test "$wxUSE_STL" = "yes"; then
27039 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
27040 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
27041 { (exit 1); exit 1; }; }
27042 elif test "$wxUSE_STD_STRING" = "yes"; then
27043 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
27044 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
27045 { (exit 1); exit 1; }; }
27046 else
27047 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
27048 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
27049 wxUSE_STD_STRING=no
27050 fi
27051 fi
27052 fi
27053 fi
27054
27055 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
27056 { echo "$as_me:$LINENO: checking for std::istream" >&5
27057 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
27058 if test "${ac_cv_type_std__istream+set}" = set; then
27059 echo $ECHO_N "(cached) $ECHO_C" >&6
27060 else
27061 cat >conftest.$ac_ext <<_ACEOF
27062 /* confdefs.h. */
27063 _ACEOF
27064 cat confdefs.h >>conftest.$ac_ext
27065 cat >>conftest.$ac_ext <<_ACEOF
27066 /* end confdefs.h. */
27067 #include <iostream>
27068
27069 typedef std::istream ac__type_new_;
27070 int
27071 main ()
27072 {
27073 if ((ac__type_new_ *) 0)
27074 return 0;
27075 if (sizeof (ac__type_new_))
27076 return 0;
27077 ;
27078 return 0;
27079 }
27080 _ACEOF
27081 rm -f conftest.$ac_objext
27082 if { (ac_try="$ac_compile"
27083 case "(($ac_try" in
27084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27085 *) ac_try_echo=$ac_try;;
27086 esac
27087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27088 (eval "$ac_compile") 2>conftest.er1
27089 ac_status=$?
27090 grep -v '^ *+' conftest.er1 >conftest.err
27091 rm -f conftest.er1
27092 cat conftest.err >&5
27093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27094 (exit $ac_status); } && {
27095 test -z "$ac_cxx_werror_flag" ||
27096 test ! -s conftest.err
27097 } && test -s conftest.$ac_objext; then
27098 ac_cv_type_std__istream=yes
27099 else
27100 echo "$as_me: failed program was:" >&5
27101 sed 's/^/| /' conftest.$ac_ext >&5
27102
27103 ac_cv_type_std__istream=no
27104 fi
27105
27106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27107 fi
27108 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
27109 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
27110 if test $ac_cv_type_std__istream = yes; then
27111
27112 cat >>confdefs.h <<_ACEOF
27113 #define HAVE_STD__ISTREAM 1
27114 _ACEOF
27115
27116
27117 else
27118 wxUSE_STD_IOSTREAM=no
27119 fi
27120 { echo "$as_me:$LINENO: checking for std::ostream" >&5
27121 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
27122 if test "${ac_cv_type_std__ostream+set}" = set; then
27123 echo $ECHO_N "(cached) $ECHO_C" >&6
27124 else
27125 cat >conftest.$ac_ext <<_ACEOF
27126 /* confdefs.h. */
27127 _ACEOF
27128 cat confdefs.h >>conftest.$ac_ext
27129 cat >>conftest.$ac_ext <<_ACEOF
27130 /* end confdefs.h. */
27131 #include <iostream>
27132
27133 typedef std::ostream ac__type_new_;
27134 int
27135 main ()
27136 {
27137 if ((ac__type_new_ *) 0)
27138 return 0;
27139 if (sizeof (ac__type_new_))
27140 return 0;
27141 ;
27142 return 0;
27143 }
27144 _ACEOF
27145 rm -f conftest.$ac_objext
27146 if { (ac_try="$ac_compile"
27147 case "(($ac_try" in
27148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27149 *) ac_try_echo=$ac_try;;
27150 esac
27151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27152 (eval "$ac_compile") 2>conftest.er1
27153 ac_status=$?
27154 grep -v '^ *+' conftest.er1 >conftest.err
27155 rm -f conftest.er1
27156 cat conftest.err >&5
27157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27158 (exit $ac_status); } && {
27159 test -z "$ac_cxx_werror_flag" ||
27160 test ! -s conftest.err
27161 } && test -s conftest.$ac_objext; then
27162 ac_cv_type_std__ostream=yes
27163 else
27164 echo "$as_me: failed program was:" >&5
27165 sed 's/^/| /' conftest.$ac_ext >&5
27166
27167 ac_cv_type_std__ostream=no
27168 fi
27169
27170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27171 fi
27172 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
27173 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
27174 if test $ac_cv_type_std__ostream = yes; then
27175
27176 cat >>confdefs.h <<_ACEOF
27177 #define HAVE_STD__OSTREAM 1
27178 _ACEOF
27179
27180
27181 else
27182 wxUSE_STD_IOSTREAM=no
27183 fi
27184
27185
27186 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
27187 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
27188 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
27189 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
27190 { (exit 1); exit 1; }; }
27191 else
27192 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
27193 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
27194 fi
27195 fi
27196 fi
27197
27198 if test "$wxUSE_STL" = "yes"; then
27199 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
27200 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
27201 if test "${wx_cv_lib_stl+set}" = set; then
27202 echo $ECHO_N "(cached) $ECHO_C" >&6
27203 else
27204 cat >conftest.$ac_ext <<_ACEOF
27205 /* confdefs.h. */
27206 _ACEOF
27207 cat confdefs.h >>conftest.$ac_ext
27208 cat >>conftest.$ac_ext <<_ACEOF
27209 /* end confdefs.h. */
27210 #include <string>
27211 #include <functional>
27212 #include <algorithm>
27213 #include <vector>
27214 #include <list>
27215 int
27216 main ()
27217 {
27218 std::vector<int> moo;
27219 std::list<int> foo;
27220 std::vector<int>::iterator it =
27221 std::find_if(moo.begin(), moo.end(),
27222 std::bind2nd(std::less<int>(), 3));
27223 ;
27224 return 0;
27225 }
27226 _ACEOF
27227 rm -f conftest.$ac_objext
27228 if { (ac_try="$ac_compile"
27229 case "(($ac_try" in
27230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27231 *) ac_try_echo=$ac_try;;
27232 esac
27233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27234 (eval "$ac_compile") 2>conftest.er1
27235 ac_status=$?
27236 grep -v '^ *+' conftest.er1 >conftest.err
27237 rm -f conftest.er1
27238 cat conftest.err >&5
27239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27240 (exit $ac_status); } && {
27241 test -z "$ac_cxx_werror_flag" ||
27242 test ! -s conftest.err
27243 } && test -s conftest.$ac_objext; then
27244 wx_cv_lib_stl=yes
27245 else
27246 echo "$as_me: failed program was:" >&5
27247 sed 's/^/| /' conftest.$ac_ext >&5
27248
27249 wx_cv_lib_stl=no
27250
27251 fi
27252
27253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27254
27255 fi
27256 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
27257 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
27258
27259 if test "$wx_cv_lib_stl" != yes; then
27260 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
27261 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
27262 { (exit 1); exit 1; }; }
27263 fi
27264
27265 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
27266 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
27267 if test "${wx_cv_func_stdstring_compare+set}" = set; then
27268 echo $ECHO_N "(cached) $ECHO_C" >&6
27269 else
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 #include <string>
27277 int
27278 main ()
27279 {
27280 std::string foo, bar;
27281 foo.compare(bar);
27282 foo.compare(1, 1, bar);
27283 foo.compare(1, 1, bar, 1, 1);
27284 foo.compare("");
27285 foo.compare(1, 1, "");
27286 foo.compare(1, 1, "", 2);
27287 ;
27288 return 0;
27289 }
27290 _ACEOF
27291 rm -f conftest.$ac_objext
27292 if { (ac_try="$ac_compile"
27293 case "(($ac_try" in
27294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27295 *) ac_try_echo=$ac_try;;
27296 esac
27297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27298 (eval "$ac_compile") 2>conftest.er1
27299 ac_status=$?
27300 grep -v '^ *+' conftest.er1 >conftest.err
27301 rm -f conftest.er1
27302 cat conftest.err >&5
27303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27304 (exit $ac_status); } && {
27305 test -z "$ac_cxx_werror_flag" ||
27306 test ! -s conftest.err
27307 } && test -s conftest.$ac_objext; then
27308 wx_cv_func_stdstring_compare=yes
27309 else
27310 echo "$as_me: failed program was:" >&5
27311 sed 's/^/| /' conftest.$ac_ext >&5
27312
27313 wx_cv_func_stdstring_compare=no
27314
27315 fi
27316
27317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27318
27319 fi
27320 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27321 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27322
27323 if test "$wx_cv_func_stdstring_compare" = yes; then
27324 cat >>confdefs.h <<\_ACEOF
27325 #define HAVE_STD_STRING_COMPARE 1
27326 _ACEOF
27327
27328 fi
27329
27330 { echo "$as_me:$LINENO: checking for hash_map" >&5
27331 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27332 if test "${ac_cv_header_hash_map+set}" = set; then
27333 echo $ECHO_N "(cached) $ECHO_C" >&6
27334 else
27335 cat >conftest.$ac_ext <<_ACEOF
27336 /* confdefs.h. */
27337 _ACEOF
27338 cat confdefs.h >>conftest.$ac_ext
27339 cat >>conftest.$ac_ext <<_ACEOF
27340 /* end confdefs.h. */
27341
27342
27343
27344 #include <hash_map>
27345 _ACEOF
27346 rm -f conftest.$ac_objext
27347 if { (ac_try="$ac_compile"
27348 case "(($ac_try" in
27349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27350 *) ac_try_echo=$ac_try;;
27351 esac
27352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27353 (eval "$ac_compile") 2>conftest.er1
27354 ac_status=$?
27355 grep -v '^ *+' conftest.er1 >conftest.err
27356 rm -f conftest.er1
27357 cat conftest.err >&5
27358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27359 (exit $ac_status); } && {
27360 test -z "$ac_cxx_werror_flag" ||
27361 test ! -s conftest.err
27362 } && test -s conftest.$ac_objext; then
27363 ac_cv_header_hash_map=yes
27364 else
27365 echo "$as_me: failed program was:" >&5
27366 sed 's/^/| /' conftest.$ac_ext >&5
27367
27368 ac_cv_header_hash_map=no
27369 fi
27370
27371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27372 fi
27373 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27374 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27375 if test $ac_cv_header_hash_map = yes; then
27376 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27377 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27378 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27379 echo $ECHO_N "(cached) $ECHO_C" >&6
27380 else
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 #include <hash_map>
27388 #include <hash_set>
27389 int
27390 main ()
27391 {
27392 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27393 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27394 ;
27395 return 0;
27396 }
27397 _ACEOF
27398 rm -f conftest.$ac_objext
27399 if { (ac_try="$ac_compile"
27400 case "(($ac_try" in
27401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27402 *) ac_try_echo=$ac_try;;
27403 esac
27404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27405 (eval "$ac_compile") 2>conftest.er1
27406 ac_status=$?
27407 grep -v '^ *+' conftest.er1 >conftest.err
27408 rm -f conftest.er1
27409 cat conftest.err >&5
27410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27411 (exit $ac_status); } && {
27412 test -z "$ac_cxx_werror_flag" ||
27413 test ! -s conftest.err
27414 } && test -s conftest.$ac_objext; then
27415 wx_cv_class_stdhashmapset=yes
27416 else
27417 echo "$as_me: failed program was:" >&5
27418 sed 's/^/| /' conftest.$ac_ext >&5
27419
27420 wx_cv_class_stdhashmapset=no
27421 fi
27422
27423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27424
27425
27426 fi
27427 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27428 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27429 fi
27430
27431
27432
27433 if test "$wx_cv_class_stdhashmapset" = yes; then
27434 cat >>confdefs.h <<\_ACEOF
27435 #define HAVE_HASH_MAP 1
27436 _ACEOF
27437
27438 cat >>confdefs.h <<\_ACEOF
27439 #define HAVE_STD_HASH_MAP 1
27440 _ACEOF
27441
27442 fi
27443
27444 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27445 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27446 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27447 echo $ECHO_N "(cached) $ECHO_C" >&6
27448 else
27449 cat >conftest.$ac_ext <<_ACEOF
27450 /* confdefs.h. */
27451 _ACEOF
27452 cat confdefs.h >>conftest.$ac_ext
27453 cat >>conftest.$ac_ext <<_ACEOF
27454 /* end confdefs.h. */
27455
27456
27457
27458 #include <ext/hash_map>
27459 _ACEOF
27460 rm -f conftest.$ac_objext
27461 if { (ac_try="$ac_compile"
27462 case "(($ac_try" in
27463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27464 *) ac_try_echo=$ac_try;;
27465 esac
27466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27467 (eval "$ac_compile") 2>conftest.er1
27468 ac_status=$?
27469 grep -v '^ *+' conftest.er1 >conftest.err
27470 rm -f conftest.er1
27471 cat conftest.err >&5
27472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27473 (exit $ac_status); } && {
27474 test -z "$ac_cxx_werror_flag" ||
27475 test ! -s conftest.err
27476 } && test -s conftest.$ac_objext; then
27477 ac_cv_header_ext_hash_map=yes
27478 else
27479 echo "$as_me: failed program was:" >&5
27480 sed 's/^/| /' conftest.$ac_ext >&5
27481
27482 ac_cv_header_ext_hash_map=no
27483 fi
27484
27485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27486 fi
27487 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27488 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27489 if test $ac_cv_header_ext_hash_map = yes; then
27490 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27491 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27492 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27493 echo $ECHO_N "(cached) $ECHO_C" >&6
27494 else
27495 cat >conftest.$ac_ext <<_ACEOF
27496 /* confdefs.h. */
27497 _ACEOF
27498 cat confdefs.h >>conftest.$ac_ext
27499 cat >>conftest.$ac_ext <<_ACEOF
27500 /* end confdefs.h. */
27501 #include <ext/hash_map>
27502 #include <ext/hash_set>
27503 int
27504 main ()
27505 {
27506 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27507 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27508 ;
27509 return 0;
27510 }
27511 _ACEOF
27512 rm -f conftest.$ac_objext
27513 if { (ac_try="$ac_compile"
27514 case "(($ac_try" in
27515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27516 *) ac_try_echo=$ac_try;;
27517 esac
27518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27519 (eval "$ac_compile") 2>conftest.er1
27520 ac_status=$?
27521 grep -v '^ *+' conftest.er1 >conftest.err
27522 rm -f conftest.er1
27523 cat conftest.err >&5
27524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27525 (exit $ac_status); } && {
27526 test -z "$ac_cxx_werror_flag" ||
27527 test ! -s conftest.err
27528 } && test -s conftest.$ac_objext; then
27529 wx_cv_class_gnuhashmapset=yes
27530 else
27531 echo "$as_me: failed program was:" >&5
27532 sed 's/^/| /' conftest.$ac_ext >&5
27533
27534 wx_cv_class_gnuhashmapset=no
27535 fi
27536
27537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27538
27539
27540 fi
27541 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27542 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27543 fi
27544
27545
27546
27547 if test "$wx_cv_class_gnuhashmapset" = yes; then
27548 cat >>confdefs.h <<\_ACEOF
27549 #define HAVE_EXT_HASH_MAP 1
27550 _ACEOF
27551
27552 cat >>confdefs.h <<\_ACEOF
27553 #define HAVE_GNU_CXX_HASH_MAP 1
27554 _ACEOF
27555
27556 fi
27557 fi
27558
27559
27560
27561 if test -n "$GCC"; then
27562 { echo "$as_me:$LINENO: checking for __sync_fetch_* builtins" >&5
27563 echo $ECHO_N "checking for __sync_fetch_* builtins... $ECHO_C" >&6; }
27564 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
27565 echo $ECHO_N "(cached) $ECHO_C" >&6
27566 else
27567
27568 cat >conftest.$ac_ext <<_ACEOF
27569 /* confdefs.h. */
27570 _ACEOF
27571 cat confdefs.h >>conftest.$ac_ext
27572 cat >>conftest.$ac_ext <<_ACEOF
27573 /* end confdefs.h. */
27574
27575 int
27576 main ()
27577 {
27578
27579 int value=0;
27580 __sync_fetch_and_add(&value, 1);
27581 __sync_sub_and_fetch(&value, 1);
27582
27583 ;
27584 return 0;
27585 }
27586 _ACEOF
27587 rm -f conftest.$ac_objext
27588 if { (ac_try="$ac_compile"
27589 case "(($ac_try" in
27590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27591 *) ac_try_echo=$ac_try;;
27592 esac
27593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27594 (eval "$ac_compile") 2>conftest.er1
27595 ac_status=$?
27596 grep -v '^ *+' conftest.er1 >conftest.err
27597 rm -f conftest.er1
27598 cat conftest.err >&5
27599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27600 (exit $ac_status); } && {
27601 test -z "$ac_cxx_werror_flag" ||
27602 test ! -s conftest.err
27603 } && test -s conftest.$ac_objext; then
27604 wx_cv_cc_gcc_atomic_builtins=yes
27605 else
27606 echo "$as_me: failed program was:" >&5
27607 sed 's/^/| /' conftest.$ac_ext >&5
27608
27609 wx_cv_cc_gcc_atomic_builtins=no
27610 fi
27611
27612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27613
27614 fi
27615
27616 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
27617 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
27618 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
27619 cat >>confdefs.h <<\_ACEOF
27620 #define HAVE_GCC_ATOMIC_BUILTINS 1
27621 _ACEOF
27622
27623 fi
27624 fi
27625
27626
27627 ac_ext=c
27628 ac_cpp='$CPP $CPPFLAGS'
27629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27632
27633
27634
27635 SEARCH_INCLUDE="\
27636 /usr/local/include \
27637 \
27638 /usr/Motif-2.1/include \
27639 /usr/Motif-1.2/include \
27640 /usr/include/Motif1.2 \
27641 \
27642 /usr/dt/include \
27643 /usr/openwin/include \
27644 \
27645 /usr/include/Xm \
27646 \
27647 /usr/X11R6/include \
27648 /usr/X11R6.4/include \
27649 /usr/X11R5/include \
27650 /usr/X11R4/include \
27651 \
27652 /usr/include/X11R6 \
27653 /usr/include/X11R5 \
27654 /usr/include/X11R4 \
27655 \
27656 /usr/local/X11R6/include \
27657 /usr/local/X11R5/include \
27658 /usr/local/X11R4/include \
27659 \
27660 /usr/local/include/X11R6 \
27661 /usr/local/include/X11R5 \
27662 /usr/local/include/X11R4 \
27663 \
27664 /usr/X11/include \
27665 /usr/include/X11 \
27666 /usr/local/X11/include \
27667 /usr/local/include/X11 \
27668 \
27669 /usr/XFree86/include/X11 \
27670 /usr/pkg/include \
27671 \
27672 /usr/openwin/share/include"
27673
27674 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27675 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27676
27677 case "${host}" in
27678 *-*-irix6* )
27679 if test "${wx_cv_std_libpath+set}" = set; then
27680 echo $ECHO_N "(cached) $ECHO_C" >&6
27681 else
27682
27683 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27684 for e in a so sl dylib dll.a; do
27685 libc="$d/libc.$e"
27686 if test -f $libc; then
27687 save_LIBS="$LIBS"
27688 LIBS="$libc"
27689 cat >conftest.$ac_ext <<_ACEOF
27690 int main() { return 0; }
27691 _ACEOF
27692 rm -f conftest.$ac_objext conftest$ac_exeext
27693 if { (ac_try="$ac_link"
27694 case "(($ac_try" in
27695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27696 *) ac_try_echo=$ac_try;;
27697 esac
27698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27699 (eval "$ac_link") 2>conftest.er1
27700 ac_status=$?
27701 grep -v '^ *+' conftest.er1 >conftest.err
27702 rm -f conftest.er1
27703 cat conftest.err >&5
27704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27705 (exit $ac_status); } && {
27706 test -z "$ac_c_werror_flag" ||
27707 test ! -s conftest.err
27708 } && test -s conftest$ac_exeext &&
27709 $as_test_x conftest$ac_exeext; then
27710 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27711 else
27712 echo "$as_me: failed program was:" >&5
27713 sed 's/^/| /' conftest.$ac_ext >&5
27714
27715
27716 fi
27717
27718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27719 conftest$ac_exeext conftest.$ac_ext
27720 LIBS="$save_LIBS"
27721 if test "x$wx_cv_std_libpath" != "x"; then
27722 break 2
27723 fi
27724 fi
27725 done
27726 done
27727 if test "x$wx_cv_std_libpath" = "x"; then
27728 wx_cv_std_libpath="lib"
27729 fi
27730
27731
27732 fi
27733
27734 ;;
27735
27736 *-*-solaris2* )
27737 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27738 wx_cv_std_libpath="lib/64"
27739 else
27740 wx_cv_std_libpath="lib"
27741 fi
27742 ;;
27743
27744 *-*-linux* )
27745 if test "$ac_cv_sizeof_void_p" = 8 -a \
27746 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27747 wx_cv_std_libpath="lib64"
27748 else
27749 wx_cv_std_libpath="lib"
27750 fi
27751 ;;
27752
27753 *)
27754 wx_cv_std_libpath="lib";
27755 ;;
27756 esac
27757
27758 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27759 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27760
27761 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27762
27763 if test "$build" != "$host" -a "$GCC" = yes; then
27764 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27765 cross_root=`dirname $cross_root`
27766 cross_root=`dirname $cross_root`
27767
27768 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27769 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27770 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27771
27772 if test -z "$PKG_CONFIG_PATH"; then
27773 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27774 export PKG_CONFIG_PATH
27775 fi
27776
27777 if test -z "$x_includes" -o "$x_includes" = NONE; then
27778
27779 ac_find_includes=
27780 for ac_dir in $SEARCH_INCLUDE /usr/include;
27781 do
27782 if test -f "$ac_dir/X11/Intrinsic.h"; then
27783 ac_find_includes=$ac_dir
27784 break
27785 fi
27786 done
27787
27788 x_includes=$ac_find_includes
27789 fi
27790 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27791
27792 ac_find_libraries=
27793 for ac_dir in $SEARCH_LIB;
27794 do
27795 for ac_extension in a so sl dylib dll.a; do
27796 if test -f "$ac_dir/libXt.$ac_extension"; then
27797 ac_find_libraries=$ac_dir
27798 break 2
27799 fi
27800 done
27801 done
27802
27803 x_libraries=$ac_find_libraries
27804 fi
27805 fi
27806 fi
27807
27808
27809 cat >confcache <<\_ACEOF
27810 # This file is a shell script that caches the results of configure
27811 # tests run on this system so they can be shared between configure
27812 # scripts and configure runs, see configure's option --config-cache.
27813 # It is not useful on other systems. If it contains results you don't
27814 # want to keep, you may remove or edit it.
27815 #
27816 # config.status only pays attention to the cache file if you give it
27817 # the --recheck option to rerun configure.
27818 #
27819 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27820 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27821 # following values.
27822
27823 _ACEOF
27824
27825 # The following way of writing the cache mishandles newlines in values,
27826 # but we know of no workaround that is simple, portable, and efficient.
27827 # So, we kill variables containing newlines.
27828 # Ultrix sh set writes to stderr and can't be redirected directly,
27829 # and sets the high bit in the cache file unless we assign to the vars.
27830 (
27831 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27832 eval ac_val=\$$ac_var
27833 case $ac_val in #(
27834 *${as_nl}*)
27835 case $ac_var in #(
27836 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27837 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27838 esac
27839 case $ac_var in #(
27840 _ | IFS | as_nl) ;; #(
27841 *) $as_unset $ac_var ;;
27842 esac ;;
27843 esac
27844 done
27845
27846 (set) 2>&1 |
27847 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27848 *${as_nl}ac_space=\ *)
27849 # `set' does not quote correctly, so add quotes (double-quote
27850 # substitution turns \\\\ into \\, and sed turns \\ into \).
27851 sed -n \
27852 "s/'/'\\\\''/g;
27853 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27854 ;; #(
27855 *)
27856 # `set' quotes correctly as required by POSIX, so do not add quotes.
27857 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27858 ;;
27859 esac |
27860 sort
27861 ) |
27862 sed '
27863 /^ac_cv_env_/b end
27864 t clear
27865 :clear
27866 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27867 t end
27868 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27869 :end' >>confcache
27870 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27871 if test -w "$cache_file"; then
27872 test "x$cache_file" != "x/dev/null" &&
27873 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27874 echo "$as_me: updating cache $cache_file" >&6;}
27875 cat confcache >$cache_file
27876 else
27877 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27878 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27879 fi
27880 fi
27881 rm -f confcache
27882
27883 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27884 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27885 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27886 if test "${wx_cv_lib_glibc21+set}" = set; then
27887 echo $ECHO_N "(cached) $ECHO_C" >&6
27888 else
27889
27890 cat >conftest.$ac_ext <<_ACEOF
27891 /* confdefs.h. */
27892 _ACEOF
27893 cat confdefs.h >>conftest.$ac_ext
27894 cat >>conftest.$ac_ext <<_ACEOF
27895 /* end confdefs.h. */
27896 #include <features.h>
27897 int
27898 main ()
27899 {
27900
27901 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27902 not glibc 2.1
27903 #endif
27904
27905 ;
27906 return 0;
27907 }
27908 _ACEOF
27909 rm -f conftest.$ac_objext
27910 if { (ac_try="$ac_compile"
27911 case "(($ac_try" in
27912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27913 *) ac_try_echo=$ac_try;;
27914 esac
27915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27916 (eval "$ac_compile") 2>conftest.er1
27917 ac_status=$?
27918 grep -v '^ *+' conftest.er1 >conftest.err
27919 rm -f conftest.er1
27920 cat conftest.err >&5
27921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27922 (exit $ac_status); } && {
27923 test -z "$ac_c_werror_flag" ||
27924 test ! -s conftest.err
27925 } && test -s conftest.$ac_objext; then
27926
27927 wx_cv_lib_glibc21=yes
27928
27929 else
27930 echo "$as_me: failed program was:" >&5
27931 sed 's/^/| /' conftest.$ac_ext >&5
27932
27933
27934 wx_cv_lib_glibc21=no
27935
27936
27937 fi
27938
27939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27940
27941 fi
27942 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27943 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27944 if test "$wx_cv_lib_glibc21" = "yes"; then
27945 cat >>confdefs.h <<\_ACEOF
27946 #define wxHAVE_GLIBC2 1
27947 _ACEOF
27948
27949 fi
27950 fi
27951
27952 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27953 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27954 cat >>confdefs.h <<\_ACEOF
27955 #define _GNU_SOURCE 1
27956 _ACEOF
27957
27958 fi
27959 fi
27960
27961 have_cos=0
27962 have_floor=0
27963
27964 for ac_func in cos
27965 do
27966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27967 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27969 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27970 echo $ECHO_N "(cached) $ECHO_C" >&6
27971 else
27972 cat >conftest.$ac_ext <<_ACEOF
27973 /* confdefs.h. */
27974 _ACEOF
27975 cat confdefs.h >>conftest.$ac_ext
27976 cat >>conftest.$ac_ext <<_ACEOF
27977 /* end confdefs.h. */
27978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27980 #define $ac_func innocuous_$ac_func
27981
27982 /* System header to define __stub macros and hopefully few prototypes,
27983 which can conflict with char $ac_func (); below.
27984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27985 <limits.h> exists even on freestanding compilers. */
27986
27987 #ifdef __STDC__
27988 # include <limits.h>
27989 #else
27990 # include <assert.h>
27991 #endif
27992
27993 #undef $ac_func
27994
27995 /* Override any GCC internal prototype to avoid an error.
27996 Use char because int might match the return type of a GCC
27997 builtin and then its argument prototype would still apply. */
27998 #ifdef __cplusplus
27999 extern "C"
28000 #endif
28001 char $ac_func ();
28002 /* The GNU C library defines this for functions which it implements
28003 to always fail with ENOSYS. Some functions are actually named
28004 something starting with __ and the normal name is an alias. */
28005 #if defined __stub_$ac_func || defined __stub___$ac_func
28006 choke me
28007 #endif
28008
28009 int
28010 main ()
28011 {
28012 return $ac_func ();
28013 ;
28014 return 0;
28015 }
28016 _ACEOF
28017 rm -f conftest.$ac_objext conftest$ac_exeext
28018 if { (ac_try="$ac_link"
28019 case "(($ac_try" in
28020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28021 *) ac_try_echo=$ac_try;;
28022 esac
28023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28024 (eval "$ac_link") 2>conftest.er1
28025 ac_status=$?
28026 grep -v '^ *+' conftest.er1 >conftest.err
28027 rm -f conftest.er1
28028 cat conftest.err >&5
28029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28030 (exit $ac_status); } && {
28031 test -z "$ac_c_werror_flag" ||
28032 test ! -s conftest.err
28033 } && test -s conftest$ac_exeext &&
28034 $as_test_x conftest$ac_exeext; then
28035 eval "$as_ac_var=yes"
28036 else
28037 echo "$as_me: failed program was:" >&5
28038 sed 's/^/| /' conftest.$ac_ext >&5
28039
28040 eval "$as_ac_var=no"
28041 fi
28042
28043 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28044 conftest$ac_exeext conftest.$ac_ext
28045 fi
28046 ac_res=`eval echo '${'$as_ac_var'}'`
28047 { echo "$as_me:$LINENO: result: $ac_res" >&5
28048 echo "${ECHO_T}$ac_res" >&6; }
28049 if test `eval echo '${'$as_ac_var'}'` = yes; then
28050 cat >>confdefs.h <<_ACEOF
28051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28052 _ACEOF
28053 have_cos=1
28054 fi
28055 done
28056
28057
28058 for ac_func in floor
28059 do
28060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28061 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28063 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28064 echo $ECHO_N "(cached) $ECHO_C" >&6
28065 else
28066 cat >conftest.$ac_ext <<_ACEOF
28067 /* confdefs.h. */
28068 _ACEOF
28069 cat confdefs.h >>conftest.$ac_ext
28070 cat >>conftest.$ac_ext <<_ACEOF
28071 /* end confdefs.h. */
28072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28074 #define $ac_func innocuous_$ac_func
28075
28076 /* System header to define __stub macros and hopefully few prototypes,
28077 which can conflict with char $ac_func (); below.
28078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28079 <limits.h> exists even on freestanding compilers. */
28080
28081 #ifdef __STDC__
28082 # include <limits.h>
28083 #else
28084 # include <assert.h>
28085 #endif
28086
28087 #undef $ac_func
28088
28089 /* Override any GCC internal prototype to avoid an error.
28090 Use char because int might match the return type of a GCC
28091 builtin and then its argument prototype would still apply. */
28092 #ifdef __cplusplus
28093 extern "C"
28094 #endif
28095 char $ac_func ();
28096 /* The GNU C library defines this for functions which it implements
28097 to always fail with ENOSYS. Some functions are actually named
28098 something starting with __ and the normal name is an alias. */
28099 #if defined __stub_$ac_func || defined __stub___$ac_func
28100 choke me
28101 #endif
28102
28103 int
28104 main ()
28105 {
28106 return $ac_func ();
28107 ;
28108 return 0;
28109 }
28110 _ACEOF
28111 rm -f conftest.$ac_objext conftest$ac_exeext
28112 if { (ac_try="$ac_link"
28113 case "(($ac_try" in
28114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28115 *) ac_try_echo=$ac_try;;
28116 esac
28117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28118 (eval "$ac_link") 2>conftest.er1
28119 ac_status=$?
28120 grep -v '^ *+' conftest.er1 >conftest.err
28121 rm -f conftest.er1
28122 cat conftest.err >&5
28123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28124 (exit $ac_status); } && {
28125 test -z "$ac_c_werror_flag" ||
28126 test ! -s conftest.err
28127 } && test -s conftest$ac_exeext &&
28128 $as_test_x conftest$ac_exeext; then
28129 eval "$as_ac_var=yes"
28130 else
28131 echo "$as_me: failed program was:" >&5
28132 sed 's/^/| /' conftest.$ac_ext >&5
28133
28134 eval "$as_ac_var=no"
28135 fi
28136
28137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28138 conftest$ac_exeext conftest.$ac_ext
28139 fi
28140 ac_res=`eval echo '${'$as_ac_var'}'`
28141 { echo "$as_me:$LINENO: result: $ac_res" >&5
28142 echo "${ECHO_T}$ac_res" >&6; }
28143 if test `eval echo '${'$as_ac_var'}'` = yes; then
28144 cat >>confdefs.h <<_ACEOF
28145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28146 _ACEOF
28147 have_floor=1
28148 fi
28149 done
28150
28151 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
28152 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
28153 if test "$have_cos" = 1 -a "$have_floor" = 1; then
28154 { echo "$as_me:$LINENO: result: yes" >&5
28155 echo "${ECHO_T}yes" >&6; }
28156 else
28157 { echo "$as_me:$LINENO: result: no" >&5
28158 echo "${ECHO_T}no" >&6; }
28159 LIBS="$LIBS -lm"
28160 # use different functions to avoid configure caching
28161 have_sin=0
28162 have_ceil=0
28163
28164 for ac_func in sin
28165 do
28166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28167 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28169 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28170 echo $ECHO_N "(cached) $ECHO_C" >&6
28171 else
28172 cat >conftest.$ac_ext <<_ACEOF
28173 /* confdefs.h. */
28174 _ACEOF
28175 cat confdefs.h >>conftest.$ac_ext
28176 cat >>conftest.$ac_ext <<_ACEOF
28177 /* end confdefs.h. */
28178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28180 #define $ac_func innocuous_$ac_func
28181
28182 /* System header to define __stub macros and hopefully few prototypes,
28183 which can conflict with char $ac_func (); below.
28184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28185 <limits.h> exists even on freestanding compilers. */
28186
28187 #ifdef __STDC__
28188 # include <limits.h>
28189 #else
28190 # include <assert.h>
28191 #endif
28192
28193 #undef $ac_func
28194
28195 /* Override any GCC internal prototype to avoid an error.
28196 Use char because int might match the return type of a GCC
28197 builtin and then its argument prototype would still apply. */
28198 #ifdef __cplusplus
28199 extern "C"
28200 #endif
28201 char $ac_func ();
28202 /* The GNU C library defines this for functions which it implements
28203 to always fail with ENOSYS. Some functions are actually named
28204 something starting with __ and the normal name is an alias. */
28205 #if defined __stub_$ac_func || defined __stub___$ac_func
28206 choke me
28207 #endif
28208
28209 int
28210 main ()
28211 {
28212 return $ac_func ();
28213 ;
28214 return 0;
28215 }
28216 _ACEOF
28217 rm -f conftest.$ac_objext conftest$ac_exeext
28218 if { (ac_try="$ac_link"
28219 case "(($ac_try" in
28220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28221 *) ac_try_echo=$ac_try;;
28222 esac
28223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28224 (eval "$ac_link") 2>conftest.er1
28225 ac_status=$?
28226 grep -v '^ *+' conftest.er1 >conftest.err
28227 rm -f conftest.er1
28228 cat conftest.err >&5
28229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28230 (exit $ac_status); } && {
28231 test -z "$ac_c_werror_flag" ||
28232 test ! -s conftest.err
28233 } && test -s conftest$ac_exeext &&
28234 $as_test_x conftest$ac_exeext; then
28235 eval "$as_ac_var=yes"
28236 else
28237 echo "$as_me: failed program was:" >&5
28238 sed 's/^/| /' conftest.$ac_ext >&5
28239
28240 eval "$as_ac_var=no"
28241 fi
28242
28243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28244 conftest$ac_exeext conftest.$ac_ext
28245 fi
28246 ac_res=`eval echo '${'$as_ac_var'}'`
28247 { echo "$as_me:$LINENO: result: $ac_res" >&5
28248 echo "${ECHO_T}$ac_res" >&6; }
28249 if test `eval echo '${'$as_ac_var'}'` = yes; then
28250 cat >>confdefs.h <<_ACEOF
28251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28252 _ACEOF
28253 have_sin=1
28254 fi
28255 done
28256
28257
28258 for ac_func in ceil
28259 do
28260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28261 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28263 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28264 echo $ECHO_N "(cached) $ECHO_C" >&6
28265 else
28266 cat >conftest.$ac_ext <<_ACEOF
28267 /* confdefs.h. */
28268 _ACEOF
28269 cat confdefs.h >>conftest.$ac_ext
28270 cat >>conftest.$ac_ext <<_ACEOF
28271 /* end confdefs.h. */
28272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28274 #define $ac_func innocuous_$ac_func
28275
28276 /* System header to define __stub macros and hopefully few prototypes,
28277 which can conflict with char $ac_func (); below.
28278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28279 <limits.h> exists even on freestanding compilers. */
28280
28281 #ifdef __STDC__
28282 # include <limits.h>
28283 #else
28284 # include <assert.h>
28285 #endif
28286
28287 #undef $ac_func
28288
28289 /* Override any GCC internal prototype to avoid an error.
28290 Use char because int might match the return type of a GCC
28291 builtin and then its argument prototype would still apply. */
28292 #ifdef __cplusplus
28293 extern "C"
28294 #endif
28295 char $ac_func ();
28296 /* The GNU C library defines this for functions which it implements
28297 to always fail with ENOSYS. Some functions are actually named
28298 something starting with __ and the normal name is an alias. */
28299 #if defined __stub_$ac_func || defined __stub___$ac_func
28300 choke me
28301 #endif
28302
28303 int
28304 main ()
28305 {
28306 return $ac_func ();
28307 ;
28308 return 0;
28309 }
28310 _ACEOF
28311 rm -f conftest.$ac_objext conftest$ac_exeext
28312 if { (ac_try="$ac_link"
28313 case "(($ac_try" in
28314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28315 *) ac_try_echo=$ac_try;;
28316 esac
28317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28318 (eval "$ac_link") 2>conftest.er1
28319 ac_status=$?
28320 grep -v '^ *+' conftest.er1 >conftest.err
28321 rm -f conftest.er1
28322 cat conftest.err >&5
28323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28324 (exit $ac_status); } && {
28325 test -z "$ac_c_werror_flag" ||
28326 test ! -s conftest.err
28327 } && test -s conftest$ac_exeext &&
28328 $as_test_x conftest$ac_exeext; then
28329 eval "$as_ac_var=yes"
28330 else
28331 echo "$as_me: failed program was:" >&5
28332 sed 's/^/| /' conftest.$ac_ext >&5
28333
28334 eval "$as_ac_var=no"
28335 fi
28336
28337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28338 conftest$ac_exeext conftest.$ac_ext
28339 fi
28340 ac_res=`eval echo '${'$as_ac_var'}'`
28341 { echo "$as_me:$LINENO: result: $ac_res" >&5
28342 echo "${ECHO_T}$ac_res" >&6; }
28343 if test `eval echo '${'$as_ac_var'}'` = yes; then
28344 cat >>confdefs.h <<_ACEOF
28345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28346 _ACEOF
28347 have_ceil=1
28348 fi
28349 done
28350
28351 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28352 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28353 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28354 { echo "$as_me:$LINENO: result: yes" >&5
28355 echo "${ECHO_T}yes" >&6; }
28356 else
28357 { echo "$as_me:$LINENO: result: no" >&5
28358 echo "${ECHO_T}no" >&6; }
28359 # not sure we should warn the user, crash, etc.
28360 fi
28361 fi
28362
28363 ac_ext=cpp
28364 ac_cpp='$CXXCPP $CPPFLAGS'
28365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28368
28369 if test "wxUSE_UNICODE" = "yes"; then
28370
28371 for wx_func in wcstoull
28372 do
28373 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28374 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28375 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28376 echo $ECHO_N "(cached) $ECHO_C" >&6
28377 else
28378
28379 cat >conftest.$ac_ext <<_ACEOF
28380
28381 /* confdefs.h. */
28382 _ACEOF
28383 cat confdefs.h >>conftest.$ac_ext
28384 cat >>conftest.$ac_ext <<_ACEOF
28385 /* end confdefs.h. */
28386
28387
28388 $ac_includes_default
28389
28390 int
28391 main ()
28392 {
28393
28394 #ifndef $wx_func
28395 &$wx_func;
28396 #endif
28397
28398
28399 ;
28400 return 0;
28401 }
28402
28403 _ACEOF
28404 rm -f conftest.$ac_objext conftest$ac_exeext
28405 if { (ac_try="$ac_link"
28406 case "(($ac_try" in
28407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28408 *) ac_try_echo=$ac_try;;
28409 esac
28410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28411 (eval "$ac_link") 2>conftest.er1
28412 ac_status=$?
28413 grep -v '^ *+' conftest.er1 >conftest.err
28414 rm -f conftest.er1
28415 cat conftest.err >&5
28416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28417 (exit $ac_status); } && {
28418 test -z "$ac_cxx_werror_flag" ||
28419 test ! -s conftest.err
28420 } && test -s conftest$ac_exeext &&
28421 $as_test_x conftest$ac_exeext; then
28422 eval wx_cv_func_$wx_func=yes
28423 else
28424 echo "$as_me: failed program was:" >&5
28425 sed 's/^/| /' conftest.$ac_ext >&5
28426
28427 eval wx_cv_func_$wx_func=no
28428 fi
28429
28430 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28431 conftest$ac_exeext conftest.$ac_ext
28432
28433 fi
28434 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28435 { echo "$as_me:$LINENO: result: $ac_res" >&5
28436 echo "${ECHO_T}$ac_res" >&6; }
28437
28438 if eval test \$wx_cv_func_$wx_func = yes
28439 then
28440 cat >>confdefs.h <<_ACEOF
28441 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
28442 _ACEOF
28443
28444
28445 else
28446 :
28447
28448 fi
28449 done
28450
28451 else
28452
28453 for wx_func in strtoull
28454 do
28455 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28456 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28457 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28458 echo $ECHO_N "(cached) $ECHO_C" >&6
28459 else
28460
28461 cat >conftest.$ac_ext <<_ACEOF
28462
28463 /* confdefs.h. */
28464 _ACEOF
28465 cat confdefs.h >>conftest.$ac_ext
28466 cat >>conftest.$ac_ext <<_ACEOF
28467 /* end confdefs.h. */
28468
28469
28470 $ac_includes_default
28471
28472 int
28473 main ()
28474 {
28475
28476 #ifndef $wx_func
28477 &$wx_func;
28478 #endif
28479
28480
28481 ;
28482 return 0;
28483 }
28484
28485 _ACEOF
28486 rm -f conftest.$ac_objext conftest$ac_exeext
28487 if { (ac_try="$ac_link"
28488 case "(($ac_try" in
28489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28490 *) ac_try_echo=$ac_try;;
28491 esac
28492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28493 (eval "$ac_link") 2>conftest.er1
28494 ac_status=$?
28495 grep -v '^ *+' conftest.er1 >conftest.err
28496 rm -f conftest.er1
28497 cat conftest.err >&5
28498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28499 (exit $ac_status); } && {
28500 test -z "$ac_cxx_werror_flag" ||
28501 test ! -s conftest.err
28502 } && test -s conftest$ac_exeext &&
28503 $as_test_x conftest$ac_exeext; then
28504 eval wx_cv_func_$wx_func=yes
28505 else
28506 echo "$as_me: failed program was:" >&5
28507 sed 's/^/| /' conftest.$ac_ext >&5
28508
28509 eval wx_cv_func_$wx_func=no
28510 fi
28511
28512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28513 conftest$ac_exeext conftest.$ac_ext
28514
28515 fi
28516 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28517 { echo "$as_me:$LINENO: result: $ac_res" >&5
28518 echo "${ECHO_T}$ac_res" >&6; }
28519
28520 if eval test \$wx_cv_func_$wx_func = yes
28521 then
28522 cat >>confdefs.h <<_ACEOF
28523 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
28524 _ACEOF
28525
28526
28527 else
28528 :
28529
28530 fi
28531 done
28532
28533 fi
28534 ac_ext=c
28535 ac_cpp='$CPP $CPPFLAGS'
28536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28539
28540
28541
28542
28543 if test "$wxUSE_REGEX" != "no"; then
28544 cat >>confdefs.h <<\_ACEOF
28545 #define wxUSE_REGEX 1
28546 _ACEOF
28547
28548
28549 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28550 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28551 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28552 wxUSE_REGEX=builtin
28553 fi
28554
28555 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28556 { echo "$as_me:$LINENO: checking for regex.h" >&5
28557 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28558 if test "${ac_cv_header_regex_h+set}" = set; then
28559 echo $ECHO_N "(cached) $ECHO_C" >&6
28560 else
28561 cat >conftest.$ac_ext <<_ACEOF
28562 /* confdefs.h. */
28563 _ACEOF
28564 cat confdefs.h >>conftest.$ac_ext
28565 cat >>conftest.$ac_ext <<_ACEOF
28566 /* end confdefs.h. */
28567
28568
28569 #include <regex.h>
28570 _ACEOF
28571 rm -f conftest.$ac_objext
28572 if { (ac_try="$ac_compile"
28573 case "(($ac_try" in
28574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28575 *) ac_try_echo=$ac_try;;
28576 esac
28577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28578 (eval "$ac_compile") 2>conftest.er1
28579 ac_status=$?
28580 grep -v '^ *+' conftest.er1 >conftest.err
28581 rm -f conftest.er1
28582 cat conftest.err >&5
28583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28584 (exit $ac_status); } && {
28585 test -z "$ac_c_werror_flag" ||
28586 test ! -s conftest.err
28587 } && test -s conftest.$ac_objext; then
28588 ac_cv_header_regex_h=yes
28589 else
28590 echo "$as_me: failed program was:" >&5
28591 sed 's/^/| /' conftest.$ac_ext >&5
28592
28593 ac_cv_header_regex_h=no
28594 fi
28595
28596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28597 fi
28598 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28599 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28600 if test $ac_cv_header_regex_h = yes; then
28601
28602
28603 for ac_func in regcomp re_search
28604 do
28605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28606 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28608 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28609 echo $ECHO_N "(cached) $ECHO_C" >&6
28610 else
28611 cat >conftest.$ac_ext <<_ACEOF
28612 /* confdefs.h. */
28613 _ACEOF
28614 cat confdefs.h >>conftest.$ac_ext
28615 cat >>conftest.$ac_ext <<_ACEOF
28616 /* end confdefs.h. */
28617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28619 #define $ac_func innocuous_$ac_func
28620
28621 /* System header to define __stub macros and hopefully few prototypes,
28622 which can conflict with char $ac_func (); below.
28623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28624 <limits.h> exists even on freestanding compilers. */
28625
28626 #ifdef __STDC__
28627 # include <limits.h>
28628 #else
28629 # include <assert.h>
28630 #endif
28631
28632 #undef $ac_func
28633
28634 /* Override any GCC internal prototype to avoid an error.
28635 Use char because int might match the return type of a GCC
28636 builtin and then its argument prototype would still apply. */
28637 #ifdef __cplusplus
28638 extern "C"
28639 #endif
28640 char $ac_func ();
28641 /* The GNU C library defines this for functions which it implements
28642 to always fail with ENOSYS. Some functions are actually named
28643 something starting with __ and the normal name is an alias. */
28644 #if defined __stub_$ac_func || defined __stub___$ac_func
28645 choke me
28646 #endif
28647
28648 int
28649 main ()
28650 {
28651 return $ac_func ();
28652 ;
28653 return 0;
28654 }
28655 _ACEOF
28656 rm -f conftest.$ac_objext conftest$ac_exeext
28657 if { (ac_try="$ac_link"
28658 case "(($ac_try" in
28659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28660 *) ac_try_echo=$ac_try;;
28661 esac
28662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28663 (eval "$ac_link") 2>conftest.er1
28664 ac_status=$?
28665 grep -v '^ *+' conftest.er1 >conftest.err
28666 rm -f conftest.er1
28667 cat conftest.err >&5
28668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28669 (exit $ac_status); } && {
28670 test -z "$ac_c_werror_flag" ||
28671 test ! -s conftest.err
28672 } && test -s conftest$ac_exeext &&
28673 $as_test_x conftest$ac_exeext; then
28674 eval "$as_ac_var=yes"
28675 else
28676 echo "$as_me: failed program was:" >&5
28677 sed 's/^/| /' conftest.$ac_ext >&5
28678
28679 eval "$as_ac_var=no"
28680 fi
28681
28682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28683 conftest$ac_exeext conftest.$ac_ext
28684 fi
28685 ac_res=`eval echo '${'$as_ac_var'}'`
28686 { echo "$as_me:$LINENO: result: $ac_res" >&5
28687 echo "${ECHO_T}$ac_res" >&6; }
28688 if test `eval echo '${'$as_ac_var'}'` = yes; then
28689 cat >>confdefs.h <<_ACEOF
28690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28691 _ACEOF
28692
28693 fi
28694 done
28695
28696 fi
28697
28698
28699
28700 if test "x$ac_cv_func_regcomp" != "xyes"; then
28701 if test "$wxUSE_REGEX" = "sys" ; then
28702 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28703 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28704 { (exit 1); exit 1; }; }
28705 else
28706 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28707 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28708 wxUSE_REGEX=builtin
28709 fi
28710 else
28711 wxUSE_REGEX=sys
28712 cat >>confdefs.h <<\_ACEOF
28713 #define WX_NO_REGEX_ADVANCED 1
28714 _ACEOF
28715
28716 fi
28717 fi
28718 fi
28719
28720
28721 ZLIB_LINK=
28722 if test "$wxUSE_ZLIB" != "no" ; then
28723 cat >>confdefs.h <<\_ACEOF
28724 #define wxUSE_ZLIB 1
28725 _ACEOF
28726
28727
28728 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28729 if test "$USE_DARWIN" = 1; then
28730 system_zlib_h_ok="yes"
28731 else
28732 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28733 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28734 if test "${ac_cv_header_zlib_h+set}" = set; then
28735 echo $ECHO_N "(cached) $ECHO_C" >&6
28736 else
28737 if test "$cross_compiling" = yes; then
28738 unset ac_cv_header_zlib_h
28739
28740 else
28741 cat >conftest.$ac_ext <<_ACEOF
28742 /* confdefs.h. */
28743 _ACEOF
28744 cat confdefs.h >>conftest.$ac_ext
28745 cat >>conftest.$ac_ext <<_ACEOF
28746 /* end confdefs.h. */
28747
28748 #include <zlib.h>
28749 #include <stdio.h>
28750
28751 int main()
28752 {
28753 FILE *f=fopen("conftestval", "w");
28754 if (!f) exit(1);
28755 fprintf(f, "%s",
28756 ZLIB_VERSION[0] == '1' &&
28757 (ZLIB_VERSION[2] > '1' ||
28758 (ZLIB_VERSION[2] == '1' &&
28759 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28760 exit(0);
28761 }
28762
28763 _ACEOF
28764 rm -f conftest$ac_exeext
28765 if { (ac_try="$ac_link"
28766 case "(($ac_try" in
28767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28768 *) ac_try_echo=$ac_try;;
28769 esac
28770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28771 (eval "$ac_link") 2>&5
28772 ac_status=$?
28773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28774 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28775 { (case "(($ac_try" in
28776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28777 *) ac_try_echo=$ac_try;;
28778 esac
28779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28780 (eval "$ac_try") 2>&5
28781 ac_status=$?
28782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28783 (exit $ac_status); }; }; then
28784 ac_cv_header_zlib_h=`cat conftestval`
28785 else
28786 echo "$as_me: program exited with status $ac_status" >&5
28787 echo "$as_me: failed program was:" >&5
28788 sed 's/^/| /' conftest.$ac_ext >&5
28789
28790 ( exit $ac_status )
28791 ac_cv_header_zlib_h=no
28792 fi
28793 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28794 fi
28795
28796
28797
28798 fi
28799 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28800 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28801 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28802 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28803 if test "${ac_cv_header_zlib_h+set}" = set; then
28804 echo $ECHO_N "(cached) $ECHO_C" >&6
28805 else
28806 cat >conftest.$ac_ext <<_ACEOF
28807 /* confdefs.h. */
28808 _ACEOF
28809 cat confdefs.h >>conftest.$ac_ext
28810 cat >>conftest.$ac_ext <<_ACEOF
28811 /* end confdefs.h. */
28812
28813
28814 #include <zlib.h>
28815 _ACEOF
28816 rm -f conftest.$ac_objext
28817 if { (ac_try="$ac_compile"
28818 case "(($ac_try" in
28819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28820 *) ac_try_echo=$ac_try;;
28821 esac
28822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28823 (eval "$ac_compile") 2>conftest.er1
28824 ac_status=$?
28825 grep -v '^ *+' conftest.er1 >conftest.err
28826 rm -f conftest.er1
28827 cat conftest.err >&5
28828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28829 (exit $ac_status); } && {
28830 test -z "$ac_c_werror_flag" ||
28831 test ! -s conftest.err
28832 } && test -s conftest.$ac_objext; then
28833 ac_cv_header_zlib_h=yes
28834 else
28835 echo "$as_me: failed program was:" >&5
28836 sed 's/^/| /' conftest.$ac_ext >&5
28837
28838 ac_cv_header_zlib_h=no
28839 fi
28840
28841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28842 fi
28843 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28844 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28845
28846
28847
28848 system_zlib_h_ok=$ac_cv_header_zlib_h
28849 fi
28850
28851 if test "$system_zlib_h_ok" = "yes"; then
28852 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28853 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28854 if test "${ac_cv_lib_z_deflate+set}" = set; then
28855 echo $ECHO_N "(cached) $ECHO_C" >&6
28856 else
28857 ac_check_lib_save_LIBS=$LIBS
28858 LIBS="-lz $LIBS"
28859 cat >conftest.$ac_ext <<_ACEOF
28860 /* confdefs.h. */
28861 _ACEOF
28862 cat confdefs.h >>conftest.$ac_ext
28863 cat >>conftest.$ac_ext <<_ACEOF
28864 /* end confdefs.h. */
28865
28866 /* Override any GCC internal prototype to avoid an error.
28867 Use char because int might match the return type of a GCC
28868 builtin and then its argument prototype would still apply. */
28869 #ifdef __cplusplus
28870 extern "C"
28871 #endif
28872 char deflate ();
28873 int
28874 main ()
28875 {
28876 return deflate ();
28877 ;
28878 return 0;
28879 }
28880 _ACEOF
28881 rm -f conftest.$ac_objext conftest$ac_exeext
28882 if { (ac_try="$ac_link"
28883 case "(($ac_try" in
28884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28885 *) ac_try_echo=$ac_try;;
28886 esac
28887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28888 (eval "$ac_link") 2>conftest.er1
28889 ac_status=$?
28890 grep -v '^ *+' conftest.er1 >conftest.err
28891 rm -f conftest.er1
28892 cat conftest.err >&5
28893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28894 (exit $ac_status); } && {
28895 test -z "$ac_c_werror_flag" ||
28896 test ! -s conftest.err
28897 } && test -s conftest$ac_exeext &&
28898 $as_test_x conftest$ac_exeext; then
28899 ac_cv_lib_z_deflate=yes
28900 else
28901 echo "$as_me: failed program was:" >&5
28902 sed 's/^/| /' conftest.$ac_ext >&5
28903
28904 ac_cv_lib_z_deflate=no
28905 fi
28906
28907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28908 conftest$ac_exeext conftest.$ac_ext
28909 LIBS=$ac_check_lib_save_LIBS
28910 fi
28911 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28912 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28913 if test $ac_cv_lib_z_deflate = yes; then
28914 ZLIB_LINK=" -lz"
28915 fi
28916
28917 fi
28918
28919 if test "x$ZLIB_LINK" = "x" ; then
28920 if test "$wxUSE_ZLIB" = "sys" ; then
28921 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28922 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28923 { (exit 1); exit 1; }; }
28924 else
28925 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28926 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28927 wxUSE_ZLIB=builtin
28928 fi
28929 else
28930 wxUSE_ZLIB=sys
28931 fi
28932 fi
28933 fi
28934
28935
28936 PNG_LINK=
28937 if test "$wxUSE_LIBPNG" != "no" ; then
28938 cat >>confdefs.h <<\_ACEOF
28939 #define wxUSE_LIBPNG 1
28940 _ACEOF
28941
28942
28943 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28944 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28945 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28946 wxUSE_LIBPNG=sys
28947 fi
28948
28949 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28950 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28951 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28952 wxUSE_LIBPNG=builtin
28953 fi
28954
28955 if test "$wxUSE_MGL" != 1 ; then
28956 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28957 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28958 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28959 if test "${ac_cv_header_png_h+set}" = set; then
28960 echo $ECHO_N "(cached) $ECHO_C" >&6
28961 else
28962 if test "$cross_compiling" = yes; then
28963 unset ac_cv_header_png_h
28964
28965 else
28966 cat >conftest.$ac_ext <<_ACEOF
28967 /* confdefs.h. */
28968 _ACEOF
28969 cat confdefs.h >>conftest.$ac_ext
28970 cat >>conftest.$ac_ext <<_ACEOF
28971 /* end confdefs.h. */
28972
28973 #include <png.h>
28974 #include <stdio.h>
28975
28976 int main()
28977 {
28978 FILE *f=fopen("conftestval", "w");
28979 if (!f) exit(1);
28980 fprintf(f, "%s",
28981 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28982 exit(0);
28983 }
28984
28985 _ACEOF
28986 rm -f conftest$ac_exeext
28987 if { (ac_try="$ac_link"
28988 case "(($ac_try" in
28989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28990 *) ac_try_echo=$ac_try;;
28991 esac
28992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28993 (eval "$ac_link") 2>&5
28994 ac_status=$?
28995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28996 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28997 { (case "(($ac_try" in
28998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28999 *) ac_try_echo=$ac_try;;
29000 esac
29001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29002 (eval "$ac_try") 2>&5
29003 ac_status=$?
29004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29005 (exit $ac_status); }; }; then
29006 ac_cv_header_png_h=`cat conftestval`
29007 else
29008 echo "$as_me: program exited with status $ac_status" >&5
29009 echo "$as_me: failed program was:" >&5
29010 sed 's/^/| /' conftest.$ac_ext >&5
29011
29012 ( exit $ac_status )
29013 ac_cv_header_png_h=no
29014 fi
29015 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29016 fi
29017
29018
29019
29020 fi
29021 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29022 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29023 { echo "$as_me:$LINENO: checking for png.h" >&5
29024 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
29025 if test "${ac_cv_header_png_h+set}" = set; then
29026 echo $ECHO_N "(cached) $ECHO_C" >&6
29027 else
29028 cat >conftest.$ac_ext <<_ACEOF
29029 /* confdefs.h. */
29030 _ACEOF
29031 cat confdefs.h >>conftest.$ac_ext
29032 cat >>conftest.$ac_ext <<_ACEOF
29033 /* end confdefs.h. */
29034
29035
29036 #include <png.h>
29037 _ACEOF
29038 rm -f conftest.$ac_objext
29039 if { (ac_try="$ac_compile"
29040 case "(($ac_try" in
29041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29042 *) ac_try_echo=$ac_try;;
29043 esac
29044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29045 (eval "$ac_compile") 2>conftest.er1
29046 ac_status=$?
29047 grep -v '^ *+' conftest.er1 >conftest.err
29048 rm -f conftest.er1
29049 cat conftest.err >&5
29050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29051 (exit $ac_status); } && {
29052 test -z "$ac_c_werror_flag" ||
29053 test ! -s conftest.err
29054 } && test -s conftest.$ac_objext; then
29055 ac_cv_header_png_h=yes
29056 else
29057 echo "$as_me: failed program was:" >&5
29058 sed 's/^/| /' conftest.$ac_ext >&5
29059
29060 ac_cv_header_png_h=no
29061 fi
29062
29063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29064 fi
29065 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
29066 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
29067
29068
29069
29070 if test "$ac_cv_header_png_h" = "yes"; then
29071 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
29072 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
29073 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
29074 echo $ECHO_N "(cached) $ECHO_C" >&6
29075 else
29076 ac_check_lib_save_LIBS=$LIBS
29077 LIBS="-lpng -lz -lm $LIBS"
29078 cat >conftest.$ac_ext <<_ACEOF
29079 /* confdefs.h. */
29080 _ACEOF
29081 cat confdefs.h >>conftest.$ac_ext
29082 cat >>conftest.$ac_ext <<_ACEOF
29083 /* end confdefs.h. */
29084
29085 /* Override any GCC internal prototype to avoid an error.
29086 Use char because int might match the return type of a GCC
29087 builtin and then its argument prototype would still apply. */
29088 #ifdef __cplusplus
29089 extern "C"
29090 #endif
29091 char png_check_sig ();
29092 int
29093 main ()
29094 {
29095 return png_check_sig ();
29096 ;
29097 return 0;
29098 }
29099 _ACEOF
29100 rm -f conftest.$ac_objext conftest$ac_exeext
29101 if { (ac_try="$ac_link"
29102 case "(($ac_try" in
29103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29104 *) ac_try_echo=$ac_try;;
29105 esac
29106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29107 (eval "$ac_link") 2>conftest.er1
29108 ac_status=$?
29109 grep -v '^ *+' conftest.er1 >conftest.err
29110 rm -f conftest.er1
29111 cat conftest.err >&5
29112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29113 (exit $ac_status); } && {
29114 test -z "$ac_c_werror_flag" ||
29115 test ! -s conftest.err
29116 } && test -s conftest$ac_exeext &&
29117 $as_test_x conftest$ac_exeext; then
29118 ac_cv_lib_png_png_check_sig=yes
29119 else
29120 echo "$as_me: failed program was:" >&5
29121 sed 's/^/| /' conftest.$ac_ext >&5
29122
29123 ac_cv_lib_png_png_check_sig=no
29124 fi
29125
29126 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29127 conftest$ac_exeext conftest.$ac_ext
29128 LIBS=$ac_check_lib_save_LIBS
29129 fi
29130 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
29131 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
29132 if test $ac_cv_lib_png_png_check_sig = yes; then
29133 PNG_LINK=" -lpng -lz"
29134 fi
29135
29136 fi
29137
29138 if test "x$PNG_LINK" = "x" ; then
29139 if test "$wxUSE_LIBPNG" = "sys" ; then
29140 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
29141 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
29142 { (exit 1); exit 1; }; }
29143 else
29144 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
29145 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
29146 wxUSE_LIBPNG=builtin
29147 fi
29148 else
29149 wxUSE_LIBPNG=sys
29150 fi
29151 fi
29152 fi
29153 fi
29154
29155
29156 JPEG_LINK=
29157 if test "$wxUSE_LIBJPEG" != "no" ; then
29158 cat >>confdefs.h <<\_ACEOF
29159 #define wxUSE_LIBJPEG 1
29160 _ACEOF
29161
29162
29163 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
29164 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
29165 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
29166 wxUSE_LIBJPEG=sys
29167 fi
29168
29169 if test "$wxUSE_MGL" != 1 ; then
29170 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
29171 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
29172 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
29173 if test "${ac_cv_header_jpeglib_h+set}" = set; then
29174 echo $ECHO_N "(cached) $ECHO_C" >&6
29175 else
29176 cat >conftest.$ac_ext <<_ACEOF
29177 /* confdefs.h. */
29178 _ACEOF
29179 cat confdefs.h >>conftest.$ac_ext
29180 cat >>conftest.$ac_ext <<_ACEOF
29181 /* end confdefs.h. */
29182
29183 #undef HAVE_STDLIB_H
29184 #include <stdio.h>
29185 #include <jpeglib.h>
29186
29187 int
29188 main ()
29189 {
29190
29191
29192 ;
29193 return 0;
29194 }
29195 _ACEOF
29196 rm -f conftest.$ac_objext
29197 if { (ac_try="$ac_compile"
29198 case "(($ac_try" in
29199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29200 *) ac_try_echo=$ac_try;;
29201 esac
29202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29203 (eval "$ac_compile") 2>conftest.er1
29204 ac_status=$?
29205 grep -v '^ *+' conftest.er1 >conftest.err
29206 rm -f conftest.er1
29207 cat conftest.err >&5
29208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29209 (exit $ac_status); } && {
29210 test -z "$ac_c_werror_flag" ||
29211 test ! -s conftest.err
29212 } && test -s conftest.$ac_objext; then
29213 ac_cv_header_jpeglib_h=yes
29214 else
29215 echo "$as_me: failed program was:" >&5
29216 sed 's/^/| /' conftest.$ac_ext >&5
29217
29218 ac_cv_header_jpeglib_h=no
29219
29220 fi
29221
29222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29223
29224 fi
29225
29226 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
29227 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
29228
29229 if test "$ac_cv_header_jpeglib_h" = "yes"; then
29230 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
29231 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
29232 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
29233 echo $ECHO_N "(cached) $ECHO_C" >&6
29234 else
29235 ac_check_lib_save_LIBS=$LIBS
29236 LIBS="-ljpeg $LIBS"
29237 cat >conftest.$ac_ext <<_ACEOF
29238 /* confdefs.h. */
29239 _ACEOF
29240 cat confdefs.h >>conftest.$ac_ext
29241 cat >>conftest.$ac_ext <<_ACEOF
29242 /* end confdefs.h. */
29243
29244 /* Override any GCC internal prototype to avoid an error.
29245 Use char because int might match the return type of a GCC
29246 builtin and then its argument prototype would still apply. */
29247 #ifdef __cplusplus
29248 extern "C"
29249 #endif
29250 char jpeg_read_header ();
29251 int
29252 main ()
29253 {
29254 return jpeg_read_header ();
29255 ;
29256 return 0;
29257 }
29258 _ACEOF
29259 rm -f conftest.$ac_objext conftest$ac_exeext
29260 if { (ac_try="$ac_link"
29261 case "(($ac_try" in
29262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29263 *) ac_try_echo=$ac_try;;
29264 esac
29265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29266 (eval "$ac_link") 2>conftest.er1
29267 ac_status=$?
29268 grep -v '^ *+' conftest.er1 >conftest.err
29269 rm -f conftest.er1
29270 cat conftest.err >&5
29271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29272 (exit $ac_status); } && {
29273 test -z "$ac_c_werror_flag" ||
29274 test ! -s conftest.err
29275 } && test -s conftest$ac_exeext &&
29276 $as_test_x conftest$ac_exeext; then
29277 ac_cv_lib_jpeg_jpeg_read_header=yes
29278 else
29279 echo "$as_me: failed program was:" >&5
29280 sed 's/^/| /' conftest.$ac_ext >&5
29281
29282 ac_cv_lib_jpeg_jpeg_read_header=no
29283 fi
29284
29285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29286 conftest$ac_exeext conftest.$ac_ext
29287 LIBS=$ac_check_lib_save_LIBS
29288 fi
29289 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29290 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29291 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29292 JPEG_LINK=" -ljpeg"
29293 fi
29294
29295 fi
29296
29297 if test "x$JPEG_LINK" = "x" ; then
29298 if test "$wxUSE_LIBJPEG" = "sys" ; then
29299 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29300 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29301 { (exit 1); exit 1; }; }
29302 else
29303 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29304 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29305 wxUSE_LIBJPEG=builtin
29306 fi
29307 else
29308 wxUSE_LIBJPEG=sys
29309
29310 if test "$wxUSE_MSW" = 1; then
29311 { echo "$as_me:$LINENO: checking for boolean" >&5
29312 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29313 if test "${ac_cv_type_boolean+set}" = set; then
29314 echo $ECHO_N "(cached) $ECHO_C" >&6
29315 else
29316 cat >conftest.$ac_ext <<_ACEOF
29317 /* confdefs.h. */
29318 _ACEOF
29319 cat confdefs.h >>conftest.$ac_ext
29320 cat >>conftest.$ac_ext <<_ACEOF
29321 /* end confdefs.h. */
29322 #include <windows.h>
29323
29324 typedef boolean ac__type_new_;
29325 int
29326 main ()
29327 {
29328 if ((ac__type_new_ *) 0)
29329 return 0;
29330 if (sizeof (ac__type_new_))
29331 return 0;
29332 ;
29333 return 0;
29334 }
29335 _ACEOF
29336 rm -f conftest.$ac_objext
29337 if { (ac_try="$ac_compile"
29338 case "(($ac_try" in
29339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29340 *) ac_try_echo=$ac_try;;
29341 esac
29342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29343 (eval "$ac_compile") 2>conftest.er1
29344 ac_status=$?
29345 grep -v '^ *+' conftest.er1 >conftest.err
29346 rm -f conftest.er1
29347 cat conftest.err >&5
29348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29349 (exit $ac_status); } && {
29350 test -z "$ac_c_werror_flag" ||
29351 test ! -s conftest.err
29352 } && test -s conftest.$ac_objext; then
29353 ac_cv_type_boolean=yes
29354 else
29355 echo "$as_me: failed program was:" >&5
29356 sed 's/^/| /' conftest.$ac_ext >&5
29357
29358 ac_cv_type_boolean=no
29359 fi
29360
29361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29362 fi
29363 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29364 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29365 if test $ac_cv_type_boolean = yes; then
29366
29367 cat >>confdefs.h <<_ACEOF
29368 #define HAVE_BOOLEAN 1
29369 _ACEOF
29370
29371
29372 { echo "$as_me:$LINENO: checking for boolean" >&5
29373 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29374 if test "${ac_cv_type_boolean+set}" = set; then
29375 echo $ECHO_N "(cached) $ECHO_C" >&6
29376 else
29377 cat >conftest.$ac_ext <<_ACEOF
29378 /* confdefs.h. */
29379 _ACEOF
29380 cat confdefs.h >>conftest.$ac_ext
29381 cat >>conftest.$ac_ext <<_ACEOF
29382 /* end confdefs.h. */
29383
29384 #undef HAVE_BOOLEAN
29385 #include <stdio.h>
29386 #include <jpeglib.h>
29387
29388
29389 typedef boolean ac__type_new_;
29390 int
29391 main ()
29392 {
29393 if ((ac__type_new_ *) 0)
29394 return 0;
29395 if (sizeof (ac__type_new_))
29396 return 0;
29397 ;
29398 return 0;
29399 }
29400 _ACEOF
29401 rm -f conftest.$ac_objext
29402 if { (ac_try="$ac_compile"
29403 case "(($ac_try" in
29404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29405 *) ac_try_echo=$ac_try;;
29406 esac
29407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29408 (eval "$ac_compile") 2>conftest.er1
29409 ac_status=$?
29410 grep -v '^ *+' conftest.er1 >conftest.err
29411 rm -f conftest.er1
29412 cat conftest.err >&5
29413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29414 (exit $ac_status); } && {
29415 test -z "$ac_c_werror_flag" ||
29416 test ! -s conftest.err
29417 } && test -s conftest.$ac_objext; then
29418 ac_cv_type_boolean=yes
29419 else
29420 echo "$as_me: failed program was:" >&5
29421 sed 's/^/| /' conftest.$ac_ext >&5
29422
29423 ac_cv_type_boolean=no
29424 fi
29425
29426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29427 fi
29428 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29429 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29430
29431 # The cast to long int works around a bug in the HP C Compiler
29432 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29433 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
29434 # This bug is HP SR number 8606223364.
29435 { echo "$as_me:$LINENO: checking size of boolean" >&5
29436 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29437 if test "${ac_cv_sizeof_boolean+set}" = set; then
29438 echo $ECHO_N "(cached) $ECHO_C" >&6
29439 else
29440 if test "$cross_compiling" = yes; then
29441 # Depending upon the size, compute the lo and hi bounds.
29442 cat >conftest.$ac_ext <<_ACEOF
29443 /* confdefs.h. */
29444 _ACEOF
29445 cat confdefs.h >>conftest.$ac_ext
29446 cat >>conftest.$ac_ext <<_ACEOF
29447 /* end confdefs.h. */
29448
29449 #undef HAVE_BOOLEAN
29450 #include <stdio.h>
29451 #include <jpeglib.h>
29452
29453
29454 typedef boolean ac__type_sizeof_;
29455 int
29456 main ()
29457 {
29458 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29459 test_array [0] = 0
29460
29461 ;
29462 return 0;
29463 }
29464 _ACEOF
29465 rm -f conftest.$ac_objext
29466 if { (ac_try="$ac_compile"
29467 case "(($ac_try" in
29468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29469 *) ac_try_echo=$ac_try;;
29470 esac
29471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29472 (eval "$ac_compile") 2>conftest.er1
29473 ac_status=$?
29474 grep -v '^ *+' conftest.er1 >conftest.err
29475 rm -f conftest.er1
29476 cat conftest.err >&5
29477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29478 (exit $ac_status); } && {
29479 test -z "$ac_c_werror_flag" ||
29480 test ! -s conftest.err
29481 } && test -s conftest.$ac_objext; then
29482 ac_lo=0 ac_mid=0
29483 while :; do
29484 cat >conftest.$ac_ext <<_ACEOF
29485 /* confdefs.h. */
29486 _ACEOF
29487 cat confdefs.h >>conftest.$ac_ext
29488 cat >>conftest.$ac_ext <<_ACEOF
29489 /* end confdefs.h. */
29490
29491 #undef HAVE_BOOLEAN
29492 #include <stdio.h>
29493 #include <jpeglib.h>
29494
29495
29496 typedef boolean ac__type_sizeof_;
29497 int
29498 main ()
29499 {
29500 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29501 test_array [0] = 0
29502
29503 ;
29504 return 0;
29505 }
29506 _ACEOF
29507 rm -f conftest.$ac_objext
29508 if { (ac_try="$ac_compile"
29509 case "(($ac_try" in
29510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29511 *) ac_try_echo=$ac_try;;
29512 esac
29513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29514 (eval "$ac_compile") 2>conftest.er1
29515 ac_status=$?
29516 grep -v '^ *+' conftest.er1 >conftest.err
29517 rm -f conftest.er1
29518 cat conftest.err >&5
29519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29520 (exit $ac_status); } && {
29521 test -z "$ac_c_werror_flag" ||
29522 test ! -s conftest.err
29523 } && test -s conftest.$ac_objext; then
29524 ac_hi=$ac_mid; break
29525 else
29526 echo "$as_me: failed program was:" >&5
29527 sed 's/^/| /' conftest.$ac_ext >&5
29528
29529 ac_lo=`expr $ac_mid + 1`
29530 if test $ac_lo -le $ac_mid; then
29531 ac_lo= ac_hi=
29532 break
29533 fi
29534 ac_mid=`expr 2 '*' $ac_mid + 1`
29535 fi
29536
29537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29538 done
29539 else
29540 echo "$as_me: failed program was:" >&5
29541 sed 's/^/| /' conftest.$ac_ext >&5
29542
29543 cat >conftest.$ac_ext <<_ACEOF
29544 /* confdefs.h. */
29545 _ACEOF
29546 cat confdefs.h >>conftest.$ac_ext
29547 cat >>conftest.$ac_ext <<_ACEOF
29548 /* end confdefs.h. */
29549
29550 #undef HAVE_BOOLEAN
29551 #include <stdio.h>
29552 #include <jpeglib.h>
29553
29554
29555 typedef boolean ac__type_sizeof_;
29556 int
29557 main ()
29558 {
29559 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29560 test_array [0] = 0
29561
29562 ;
29563 return 0;
29564 }
29565 _ACEOF
29566 rm -f conftest.$ac_objext
29567 if { (ac_try="$ac_compile"
29568 case "(($ac_try" in
29569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29570 *) ac_try_echo=$ac_try;;
29571 esac
29572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29573 (eval "$ac_compile") 2>conftest.er1
29574 ac_status=$?
29575 grep -v '^ *+' conftest.er1 >conftest.err
29576 rm -f conftest.er1
29577 cat conftest.err >&5
29578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29579 (exit $ac_status); } && {
29580 test -z "$ac_c_werror_flag" ||
29581 test ! -s conftest.err
29582 } && test -s conftest.$ac_objext; then
29583 ac_hi=-1 ac_mid=-1
29584 while :; do
29585 cat >conftest.$ac_ext <<_ACEOF
29586 /* confdefs.h. */
29587 _ACEOF
29588 cat confdefs.h >>conftest.$ac_ext
29589 cat >>conftest.$ac_ext <<_ACEOF
29590 /* end confdefs.h. */
29591
29592 #undef HAVE_BOOLEAN
29593 #include <stdio.h>
29594 #include <jpeglib.h>
29595
29596
29597 typedef boolean ac__type_sizeof_;
29598 int
29599 main ()
29600 {
29601 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29602 test_array [0] = 0
29603
29604 ;
29605 return 0;
29606 }
29607 _ACEOF
29608 rm -f conftest.$ac_objext
29609 if { (ac_try="$ac_compile"
29610 case "(($ac_try" in
29611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29612 *) ac_try_echo=$ac_try;;
29613 esac
29614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29615 (eval "$ac_compile") 2>conftest.er1
29616 ac_status=$?
29617 grep -v '^ *+' conftest.er1 >conftest.err
29618 rm -f conftest.er1
29619 cat conftest.err >&5
29620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29621 (exit $ac_status); } && {
29622 test -z "$ac_c_werror_flag" ||
29623 test ! -s conftest.err
29624 } && test -s conftest.$ac_objext; then
29625 ac_lo=$ac_mid; break
29626 else
29627 echo "$as_me: failed program was:" >&5
29628 sed 's/^/| /' conftest.$ac_ext >&5
29629
29630 ac_hi=`expr '(' $ac_mid ')' - 1`
29631 if test $ac_mid -le $ac_hi; then
29632 ac_lo= ac_hi=
29633 break
29634 fi
29635 ac_mid=`expr 2 '*' $ac_mid`
29636 fi
29637
29638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29639 done
29640 else
29641 echo "$as_me: failed program was:" >&5
29642 sed 's/^/| /' conftest.$ac_ext >&5
29643
29644 ac_lo= ac_hi=
29645 fi
29646
29647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29648 fi
29649
29650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29651 # Binary search between lo and hi bounds.
29652 while test "x$ac_lo" != "x$ac_hi"; do
29653 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29654 cat >conftest.$ac_ext <<_ACEOF
29655 /* confdefs.h. */
29656 _ACEOF
29657 cat confdefs.h >>conftest.$ac_ext
29658 cat >>conftest.$ac_ext <<_ACEOF
29659 /* end confdefs.h. */
29660
29661 #undef HAVE_BOOLEAN
29662 #include <stdio.h>
29663 #include <jpeglib.h>
29664
29665
29666 typedef boolean ac__type_sizeof_;
29667 int
29668 main ()
29669 {
29670 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29671 test_array [0] = 0
29672
29673 ;
29674 return 0;
29675 }
29676 _ACEOF
29677 rm -f conftest.$ac_objext
29678 if { (ac_try="$ac_compile"
29679 case "(($ac_try" in
29680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29681 *) ac_try_echo=$ac_try;;
29682 esac
29683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29684 (eval "$ac_compile") 2>conftest.er1
29685 ac_status=$?
29686 grep -v '^ *+' conftest.er1 >conftest.err
29687 rm -f conftest.er1
29688 cat conftest.err >&5
29689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29690 (exit $ac_status); } && {
29691 test -z "$ac_c_werror_flag" ||
29692 test ! -s conftest.err
29693 } && test -s conftest.$ac_objext; then
29694 ac_hi=$ac_mid
29695 else
29696 echo "$as_me: failed program was:" >&5
29697 sed 's/^/| /' conftest.$ac_ext >&5
29698
29699 ac_lo=`expr '(' $ac_mid ')' + 1`
29700 fi
29701
29702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29703 done
29704 case $ac_lo in
29705 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29706 '') if test "$ac_cv_type_boolean" = yes; then
29707 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29708 See \`config.log' for more details." >&5
29709 echo "$as_me: error: cannot compute sizeof (boolean)
29710 See \`config.log' for more details." >&2;}
29711 { (exit 77); exit 77; }; }
29712 else
29713 ac_cv_sizeof_boolean=0
29714 fi ;;
29715 esac
29716 else
29717 cat >conftest.$ac_ext <<_ACEOF
29718 /* confdefs.h. */
29719 _ACEOF
29720 cat confdefs.h >>conftest.$ac_ext
29721 cat >>conftest.$ac_ext <<_ACEOF
29722 /* end confdefs.h. */
29723
29724 #undef HAVE_BOOLEAN
29725 #include <stdio.h>
29726 #include <jpeglib.h>
29727
29728
29729 typedef boolean ac__type_sizeof_;
29730 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29731 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29732 #include <stdio.h>
29733 #include <stdlib.h>
29734 int
29735 main ()
29736 {
29737
29738 FILE *f = fopen ("conftest.val", "w");
29739 if (! f)
29740 return 1;
29741 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29742 {
29743 long int i = longval ();
29744 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29745 return 1;
29746 fprintf (f, "%ld\n", i);
29747 }
29748 else
29749 {
29750 unsigned long int i = ulongval ();
29751 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29752 return 1;
29753 fprintf (f, "%lu\n", i);
29754 }
29755 return ferror (f) || fclose (f) != 0;
29756
29757 ;
29758 return 0;
29759 }
29760 _ACEOF
29761 rm -f conftest$ac_exeext
29762 if { (ac_try="$ac_link"
29763 case "(($ac_try" in
29764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29765 *) ac_try_echo=$ac_try;;
29766 esac
29767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29768 (eval "$ac_link") 2>&5
29769 ac_status=$?
29770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29771 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29772 { (case "(($ac_try" in
29773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29774 *) ac_try_echo=$ac_try;;
29775 esac
29776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29777 (eval "$ac_try") 2>&5
29778 ac_status=$?
29779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29780 (exit $ac_status); }; }; then
29781 ac_cv_sizeof_boolean=`cat conftest.val`
29782 else
29783 echo "$as_me: program exited with status $ac_status" >&5
29784 echo "$as_me: failed program was:" >&5
29785 sed 's/^/| /' conftest.$ac_ext >&5
29786
29787 ( exit $ac_status )
29788 if test "$ac_cv_type_boolean" = yes; then
29789 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29790 See \`config.log' for more details." >&5
29791 echo "$as_me: error: cannot compute sizeof (boolean)
29792 See \`config.log' for more details." >&2;}
29793 { (exit 77); exit 77; }; }
29794 else
29795 ac_cv_sizeof_boolean=0
29796 fi
29797 fi
29798 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29799 fi
29800 rm -f conftest.val
29801 fi
29802 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29803 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29804
29805
29806
29807 cat >>confdefs.h <<_ACEOF
29808 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29809 _ACEOF
29810
29811
29812 cat >>confdefs.h <<_ACEOF
29813 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29814 _ACEOF
29815
29816
29817 fi
29818
29819 fi
29820 fi
29821 fi
29822 fi
29823 fi
29824
29825
29826 TIFF_LINK=
29827 TIFF_PREREQ_LINKS=-lm
29828 if test "$wxUSE_LIBTIFF" != "no" ; then
29829 cat >>confdefs.h <<\_ACEOF
29830 #define wxUSE_LIBTIFF 1
29831 _ACEOF
29832
29833
29834 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29835 if test "$wxUSE_LIBJPEG" = "sys"; then
29836 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29837 fi
29838 if test "$wxUSE_ZLIB" = "sys"; then
29839 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29840 fi
29841 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29842 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29843 if test "${ac_cv_header_tiffio_h+set}" = set; then
29844 echo $ECHO_N "(cached) $ECHO_C" >&6
29845 else
29846 cat >conftest.$ac_ext <<_ACEOF
29847 /* confdefs.h. */
29848 _ACEOF
29849 cat confdefs.h >>conftest.$ac_ext
29850 cat >>conftest.$ac_ext <<_ACEOF
29851 /* end confdefs.h. */
29852
29853
29854
29855 #include <tiffio.h>
29856 _ACEOF
29857 rm -f conftest.$ac_objext
29858 if { (ac_try="$ac_compile"
29859 case "(($ac_try" in
29860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29861 *) ac_try_echo=$ac_try;;
29862 esac
29863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29864 (eval "$ac_compile") 2>conftest.er1
29865 ac_status=$?
29866 grep -v '^ *+' conftest.er1 >conftest.err
29867 rm -f conftest.er1
29868 cat conftest.err >&5
29869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29870 (exit $ac_status); } && {
29871 test -z "$ac_c_werror_flag" ||
29872 test ! -s conftest.err
29873 } && test -s conftest.$ac_objext; then
29874 ac_cv_header_tiffio_h=yes
29875 else
29876 echo "$as_me: failed program was:" >&5
29877 sed 's/^/| /' conftest.$ac_ext >&5
29878
29879 ac_cv_header_tiffio_h=no
29880 fi
29881
29882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29883 fi
29884 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29885 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29886 if test $ac_cv_header_tiffio_h = yes; then
29887
29888 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29889 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29890 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29891 echo $ECHO_N "(cached) $ECHO_C" >&6
29892 else
29893 ac_check_lib_save_LIBS=$LIBS
29894 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29895 cat >conftest.$ac_ext <<_ACEOF
29896 /* confdefs.h. */
29897 _ACEOF
29898 cat confdefs.h >>conftest.$ac_ext
29899 cat >>conftest.$ac_ext <<_ACEOF
29900 /* end confdefs.h. */
29901
29902 /* Override any GCC internal prototype to avoid an error.
29903 Use char because int might match the return type of a GCC
29904 builtin and then its argument prototype would still apply. */
29905 #ifdef __cplusplus
29906 extern "C"
29907 #endif
29908 char TIFFError ();
29909 int
29910 main ()
29911 {
29912 return TIFFError ();
29913 ;
29914 return 0;
29915 }
29916 _ACEOF
29917 rm -f conftest.$ac_objext conftest$ac_exeext
29918 if { (ac_try="$ac_link"
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_link") 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_exeext &&
29934 $as_test_x conftest$ac_exeext; then
29935 ac_cv_lib_tiff_TIFFError=yes
29936 else
29937 echo "$as_me: failed program was:" >&5
29938 sed 's/^/| /' conftest.$ac_ext >&5
29939
29940 ac_cv_lib_tiff_TIFFError=no
29941 fi
29942
29943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29944 conftest$ac_exeext conftest.$ac_ext
29945 LIBS=$ac_check_lib_save_LIBS
29946 fi
29947 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29948 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29949 if test $ac_cv_lib_tiff_TIFFError = yes; then
29950 TIFF_LINK=" -ltiff"
29951 fi
29952
29953
29954 fi
29955
29956
29957
29958 if test "x$TIFF_LINK" = "x" ; then
29959 if test "$wxUSE_LIBTIFF" = "sys" ; then
29960 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29961 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29962 { (exit 1); exit 1; }; }
29963 else
29964 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29965 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29966 wxUSE_LIBTIFF=builtin
29967 fi
29968 else
29969 wxUSE_LIBTIFF=sys
29970 fi
29971 fi
29972 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29973 if test "$wxUSE_LIBJPEG" = "no"; then
29974 ac_configure_args="$ac_configure_args --disable-jpeg"
29975 fi
29976 subdirs="$subdirs src/tiff"
29977
29978 fi
29979 fi
29980
29981
29982 if test "$wxUSE_WCHAR_T" != "yes"; then
29983 if test "$wxUSE_EXPAT" != "no"; then
29984 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
29985 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
29986 wxUSE_EXPAT=no
29987 fi
29988 if test "$wxUSE_XML" != "no"; then
29989 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
29990 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
29991 wxUSE_XML=no
29992 fi
29993 fi
29994
29995 if test "$wxUSE_EXPAT" != "no"; then
29996 wxUSE_XML=yes
29997 cat >>confdefs.h <<\_ACEOF
29998 #define wxUSE_EXPAT 1
29999 _ACEOF
30000
30001 cat >>confdefs.h <<\_ACEOF
30002 #define wxUSE_XML 1
30003 _ACEOF
30004
30005
30006 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
30007 { echo "$as_me:$LINENO: checking for expat.h" >&5
30008 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
30009 if test "${ac_cv_header_expat_h+set}" = set; then
30010 echo $ECHO_N "(cached) $ECHO_C" >&6
30011 else
30012 cat >conftest.$ac_ext <<_ACEOF
30013 /* confdefs.h. */
30014 _ACEOF
30015 cat confdefs.h >>conftest.$ac_ext
30016 cat >>conftest.$ac_ext <<_ACEOF
30017 /* end confdefs.h. */
30018
30019
30020 #include <expat.h>
30021 _ACEOF
30022 rm -f conftest.$ac_objext
30023 if { (ac_try="$ac_compile"
30024 case "(($ac_try" in
30025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30026 *) ac_try_echo=$ac_try;;
30027 esac
30028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30029 (eval "$ac_compile") 2>conftest.er1
30030 ac_status=$?
30031 grep -v '^ *+' conftest.er1 >conftest.err
30032 rm -f conftest.er1
30033 cat conftest.err >&5
30034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30035 (exit $ac_status); } && {
30036 test -z "$ac_c_werror_flag" ||
30037 test ! -s conftest.err
30038 } && test -s conftest.$ac_objext; then
30039 ac_cv_header_expat_h=yes
30040 else
30041 echo "$as_me: failed program was:" >&5
30042 sed 's/^/| /' conftest.$ac_ext >&5
30043
30044 ac_cv_header_expat_h=no
30045 fi
30046
30047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30048 fi
30049 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
30050 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
30051 if test $ac_cv_header_expat_h = yes; then
30052 found_expat_h=1
30053 fi
30054
30055
30056 if test "x$found_expat_h" = "x1"; then
30057 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
30058 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
30059 if test "${wx_cv_expat_is_not_broken+set}" = set; then
30060 echo $ECHO_N "(cached) $ECHO_C" >&6
30061 else
30062
30063 ac_ext=cpp
30064 ac_cpp='$CXXCPP $CPPFLAGS'
30065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30068
30069 cat >conftest.$ac_ext <<_ACEOF
30070 /* confdefs.h. */
30071 _ACEOF
30072 cat confdefs.h >>conftest.$ac_ext
30073 cat >>conftest.$ac_ext <<_ACEOF
30074 /* end confdefs.h. */
30075 #include <expat.h>
30076 int
30077 main ()
30078 {
30079
30080 ;
30081 return 0;
30082 }
30083 _ACEOF
30084 rm -f conftest.$ac_objext
30085 if { (ac_try="$ac_compile"
30086 case "(($ac_try" in
30087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30088 *) ac_try_echo=$ac_try;;
30089 esac
30090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30091 (eval "$ac_compile") 2>conftest.er1
30092 ac_status=$?
30093 grep -v '^ *+' conftest.er1 >conftest.err
30094 rm -f conftest.er1
30095 cat conftest.err >&5
30096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30097 (exit $ac_status); } && {
30098 test -z "$ac_cxx_werror_flag" ||
30099 test ! -s conftest.err
30100 } && test -s conftest.$ac_objext; then
30101 wx_cv_expat_is_not_broken=yes
30102 else
30103 echo "$as_me: failed program was:" >&5
30104 sed 's/^/| /' conftest.$ac_ext >&5
30105
30106 wx_cv_expat_is_not_broken=no
30107
30108 fi
30109
30110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30111 ac_ext=c
30112 ac_cpp='$CPP $CPPFLAGS'
30113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30116
30117
30118
30119 fi
30120 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
30121 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
30122 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
30123 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
30124 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
30125 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
30126 echo $ECHO_N "(cached) $ECHO_C" >&6
30127 else
30128 ac_check_lib_save_LIBS=$LIBS
30129 LIBS="-lexpat $LIBS"
30130 cat >conftest.$ac_ext <<_ACEOF
30131 /* confdefs.h. */
30132 _ACEOF
30133 cat confdefs.h >>conftest.$ac_ext
30134 cat >>conftest.$ac_ext <<_ACEOF
30135 /* end confdefs.h. */
30136
30137 /* Override any GCC internal prototype to avoid an error.
30138 Use char because int might match the return type of a GCC
30139 builtin and then its argument prototype would still apply. */
30140 #ifdef __cplusplus
30141 extern "C"
30142 #endif
30143 char XML_ParserCreate ();
30144 int
30145 main ()
30146 {
30147 return XML_ParserCreate ();
30148 ;
30149 return 0;
30150 }
30151 _ACEOF
30152 rm -f conftest.$ac_objext conftest$ac_exeext
30153 if { (ac_try="$ac_link"
30154 case "(($ac_try" in
30155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30156 *) ac_try_echo=$ac_try;;
30157 esac
30158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30159 (eval "$ac_link") 2>conftest.er1
30160 ac_status=$?
30161 grep -v '^ *+' conftest.er1 >conftest.err
30162 rm -f conftest.er1
30163 cat conftest.err >&5
30164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30165 (exit $ac_status); } && {
30166 test -z "$ac_c_werror_flag" ||
30167 test ! -s conftest.err
30168 } && test -s conftest$ac_exeext &&
30169 $as_test_x conftest$ac_exeext; then
30170 ac_cv_lib_expat_XML_ParserCreate=yes
30171 else
30172 echo "$as_me: failed program was:" >&5
30173 sed 's/^/| /' conftest.$ac_ext >&5
30174
30175 ac_cv_lib_expat_XML_ParserCreate=no
30176 fi
30177
30178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30179 conftest$ac_exeext conftest.$ac_ext
30180 LIBS=$ac_check_lib_save_LIBS
30181 fi
30182 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
30183 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
30184 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
30185 EXPAT_LINK=" -lexpat"
30186 fi
30187
30188 fi
30189 fi
30190 if test "x$EXPAT_LINK" = "x" ; then
30191 if test "$wxUSE_EXPAT" = "sys" ; then
30192 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
30193 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
30194 { (exit 1); exit 1; }; }
30195 else
30196 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
30197 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
30198 wxUSE_EXPAT=builtin
30199 fi
30200 else
30201 wxUSE_EXPAT=sys
30202 fi
30203 fi
30204 if test "$wxUSE_EXPAT" = "builtin" ; then
30205 subdirs="$subdirs src/expat"
30206
30207 fi
30208 fi
30209
30210
30211
30212 if test "$wxUSE_LIBMSPACK" != "no"; then
30213 { echo "$as_me:$LINENO: checking for mspack.h" >&5
30214 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
30215 if test "${ac_cv_header_mspack_h+set}" = set; then
30216 echo $ECHO_N "(cached) $ECHO_C" >&6
30217 else
30218 cat >conftest.$ac_ext <<_ACEOF
30219 /* confdefs.h. */
30220 _ACEOF
30221 cat confdefs.h >>conftest.$ac_ext
30222 cat >>conftest.$ac_ext <<_ACEOF
30223 /* end confdefs.h. */
30224
30225
30226 #include <mspack.h>
30227 _ACEOF
30228 rm -f conftest.$ac_objext
30229 if { (ac_try="$ac_compile"
30230 case "(($ac_try" in
30231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30232 *) ac_try_echo=$ac_try;;
30233 esac
30234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30235 (eval "$ac_compile") 2>conftest.er1
30236 ac_status=$?
30237 grep -v '^ *+' conftest.er1 >conftest.err
30238 rm -f conftest.er1
30239 cat conftest.err >&5
30240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30241 (exit $ac_status); } && {
30242 test -z "$ac_c_werror_flag" ||
30243 test ! -s conftest.err
30244 } && test -s conftest.$ac_objext; then
30245 ac_cv_header_mspack_h=yes
30246 else
30247 echo "$as_me: failed program was:" >&5
30248 sed 's/^/| /' conftest.$ac_ext >&5
30249
30250 ac_cv_header_mspack_h=no
30251 fi
30252
30253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30254 fi
30255 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
30256 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30257 if test $ac_cv_header_mspack_h = yes; then
30258 found_mspack_h=1
30259 fi
30260
30261
30262 if test "x$found_mspack_h" = "x1"; then
30263 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
30264 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
30265 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
30266 echo $ECHO_N "(cached) $ECHO_C" >&6
30267 else
30268 ac_check_lib_save_LIBS=$LIBS
30269 LIBS="-lmspack $LIBS"
30270 cat >conftest.$ac_ext <<_ACEOF
30271 /* confdefs.h. */
30272 _ACEOF
30273 cat confdefs.h >>conftest.$ac_ext
30274 cat >>conftest.$ac_ext <<_ACEOF
30275 /* end confdefs.h. */
30276
30277 /* Override any GCC internal prototype to avoid an error.
30278 Use char because int might match the return type of a GCC
30279 builtin and then its argument prototype would still apply. */
30280 #ifdef __cplusplus
30281 extern "C"
30282 #endif
30283 char mspack_create_chm_decompressor ();
30284 int
30285 main ()
30286 {
30287 return mspack_create_chm_decompressor ();
30288 ;
30289 return 0;
30290 }
30291 _ACEOF
30292 rm -f conftest.$ac_objext conftest$ac_exeext
30293 if { (ac_try="$ac_link"
30294 case "(($ac_try" in
30295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30296 *) ac_try_echo=$ac_try;;
30297 esac
30298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30299 (eval "$ac_link") 2>conftest.er1
30300 ac_status=$?
30301 grep -v '^ *+' conftest.er1 >conftest.err
30302 rm -f conftest.er1
30303 cat conftest.err >&5
30304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30305 (exit $ac_status); } && {
30306 test -z "$ac_c_werror_flag" ||
30307 test ! -s conftest.err
30308 } && test -s conftest$ac_exeext &&
30309 $as_test_x conftest$ac_exeext; then
30310 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
30311 else
30312 echo "$as_me: failed program was:" >&5
30313 sed 's/^/| /' conftest.$ac_ext >&5
30314
30315 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
30316 fi
30317
30318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30319 conftest$ac_exeext conftest.$ac_ext
30320 LIBS=$ac_check_lib_save_LIBS
30321 fi
30322 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
30323 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
30324 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
30325 MSPACK_LINK=" -lmspack"
30326 fi
30327
30328 fi
30329 if test "x$MSPACK_LINK" = "x" ; then
30330 wxUSE_LIBMSPACK=no
30331 fi
30332 fi
30333
30334 if test "$wxUSE_LIBMSPACK" != "no"; then
30335 cat >>confdefs.h <<\_ACEOF
30336 #define wxUSE_LIBMSPACK 1
30337 _ACEOF
30338
30339 fi
30340
30341
30342
30343 AFMINSTALL=
30344 WIN32INSTALL=
30345
30346 TOOLKIT=
30347 TOOLKIT_INCLUDE=
30348 WIDGET_SET=
30349
30350 if test "$USE_WIN32" = 1 ; then
30351
30352 for ac_header in w32api.h
30353 do
30354 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30355 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30356 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30357 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30358 echo $ECHO_N "(cached) $ECHO_C" >&6
30359 else
30360 cat >conftest.$ac_ext <<_ACEOF
30361 /* confdefs.h. */
30362 _ACEOF
30363 cat confdefs.h >>conftest.$ac_ext
30364 cat >>conftest.$ac_ext <<_ACEOF
30365 /* end confdefs.h. */
30366
30367
30368 #include <$ac_header>
30369 _ACEOF
30370 rm -f conftest.$ac_objext
30371 if { (ac_try="$ac_compile"
30372 case "(($ac_try" in
30373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30374 *) ac_try_echo=$ac_try;;
30375 esac
30376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30377 (eval "$ac_compile") 2>conftest.er1
30378 ac_status=$?
30379 grep -v '^ *+' conftest.er1 >conftest.err
30380 rm -f conftest.er1
30381 cat conftest.err >&5
30382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30383 (exit $ac_status); } && {
30384 test -z "$ac_c_werror_flag" ||
30385 test ! -s conftest.err
30386 } && test -s conftest.$ac_objext; then
30387 eval "$as_ac_Header=yes"
30388 else
30389 echo "$as_me: failed program was:" >&5
30390 sed 's/^/| /' conftest.$ac_ext >&5
30391
30392 eval "$as_ac_Header=no"
30393 fi
30394
30395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30396 fi
30397 ac_res=`eval echo '${'$as_ac_Header'}'`
30398 { echo "$as_me:$LINENO: result: $ac_res" >&5
30399 echo "${ECHO_T}$ac_res" >&6; }
30400 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30401 cat >>confdefs.h <<_ACEOF
30402 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30403 _ACEOF
30404
30405 fi
30406
30407 done
30408
30409 { echo "$as_me:$LINENO: checking for windows.h" >&5
30410 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
30411 if test "${ac_cv_header_windows_h+set}" = set; then
30412 echo $ECHO_N "(cached) $ECHO_C" >&6
30413 else
30414 cat >conftest.$ac_ext <<_ACEOF
30415 /* confdefs.h. */
30416 _ACEOF
30417 cat confdefs.h >>conftest.$ac_ext
30418 cat >>conftest.$ac_ext <<_ACEOF
30419 /* end confdefs.h. */
30420
30421
30422 #include <windows.h>
30423 _ACEOF
30424 rm -f conftest.$ac_objext
30425 if { (ac_try="$ac_compile"
30426 case "(($ac_try" in
30427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30428 *) ac_try_echo=$ac_try;;
30429 esac
30430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30431 (eval "$ac_compile") 2>conftest.er1
30432 ac_status=$?
30433 grep -v '^ *+' conftest.er1 >conftest.err
30434 rm -f conftest.er1
30435 cat conftest.err >&5
30436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30437 (exit $ac_status); } && {
30438 test -z "$ac_c_werror_flag" ||
30439 test ! -s conftest.err
30440 } && test -s conftest.$ac_objext; then
30441 ac_cv_header_windows_h=yes
30442 else
30443 echo "$as_me: failed program was:" >&5
30444 sed 's/^/| /' conftest.$ac_ext >&5
30445
30446 ac_cv_header_windows_h=no
30447 fi
30448
30449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30450 fi
30451 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
30452 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30453 if test $ac_cv_header_windows_h = yes; then
30454 :
30455 else
30456
30457 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
30458 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
30459 { (exit 1); exit 1; }; }
30460
30461 fi
30462
30463
30464
30465 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30466
30467 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30468 LIBS="$LIBS -loleacc"
30469 fi
30470
30471 case "${host}" in
30472 *-*-cygwin* )
30473 LIBS="$LIBS -lkernel32 -luser32"
30474 esac
30475
30476 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30477 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
30478
30479 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30480
30481 WIN32INSTALL=win32install
30482
30483 { echo "$as_me:$LINENO: checking for pbt.h" >&5
30484 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
30485 if test "${ac_cv_header_pbt_h+set}" = set; then
30486 echo $ECHO_N "(cached) $ECHO_C" >&6
30487 else
30488 cat >conftest.$ac_ext <<_ACEOF
30489 /* confdefs.h. */
30490 _ACEOF
30491 cat confdefs.h >>conftest.$ac_ext
30492 cat >>conftest.$ac_ext <<_ACEOF
30493 /* end confdefs.h. */
30494
30495
30496 #include <pbt.h>
30497 _ACEOF
30498 rm -f conftest.$ac_objext
30499 if { (ac_try="$ac_compile"
30500 case "(($ac_try" in
30501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30502 *) ac_try_echo=$ac_try;;
30503 esac
30504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30505 (eval "$ac_compile") 2>conftest.er1
30506 ac_status=$?
30507 grep -v '^ *+' conftest.er1 >conftest.err
30508 rm -f conftest.er1
30509 cat conftest.err >&5
30510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30511 (exit $ac_status); } && {
30512 test -z "$ac_c_werror_flag" ||
30513 test ! -s conftest.err
30514 } && test -s conftest.$ac_objext; then
30515 ac_cv_header_pbt_h=yes
30516 else
30517 echo "$as_me: failed program was:" >&5
30518 sed 's/^/| /' conftest.$ac_ext >&5
30519
30520 ac_cv_header_pbt_h=no
30521 fi
30522
30523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30524 fi
30525 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
30526 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30527 if test $ac_cv_header_pbt_h = yes; then
30528 :
30529 else
30530 cat >>confdefs.h <<\_ACEOF
30531 #define NEED_PBT_H 1
30532 _ACEOF
30533
30534 fi
30535
30536
30537 fi
30538
30539 if test "$wxUSE_GUI" = "yes"; then
30540 USE_GUI=1
30541
30542 GUI_TK_LIBRARY=
30543
30544 WXGTK12=
30545 WXGTK127=
30546 WXGTK2=
30547 WXGPE=
30548
30549 if test "$wxUSE_COCOA" = 1 ; then
30550 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30551 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
30552 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
30553 wxUSE_PRINTING_ARCHITECTURE=no
30554 fi
30555 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30556 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
30557 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
30558 wxUSE_DRAG_AND_DROP=no
30559 fi
30560 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30561 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
30562 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
30563 wxUSE_DRAGIMAGE=no
30564 fi
30565 fi
30566
30567 if test "$wxUSE_MSW" = 1 ; then
30568 TOOLKIT=MSW
30569 GUIDIST=MSW_DIST
30570
30571 case "${host}" in
30572 *-*-mingw32* )
30573 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
30574 esac
30575 fi
30576
30577 if test "$wxUSE_GTK" = 1; then
30578 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30579 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30580
30581 gtk_version_cached=1
30582 if test "${wx_cv_lib_gtk+set}" = set; then
30583 echo $ECHO_N "(cached) $ECHO_C" >&6
30584 else
30585
30586 gtk_version_cached=0
30587 { echo "$as_me:$LINENO: result: " >&5
30588 echo "${ECHO_T}" >&6; }
30589
30590 GTK_MODULES=
30591 if test "$wxUSE_THREADS" = "yes"; then
30592 GTK_MODULES=gthread
30593 fi
30594
30595 wx_cv_lib_gtk=
30596 if test "x$wxGTK_VERSION" != "x1"
30597 then
30598 case "${host}" in
30599 *-*-solaris2* )
30600 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30601 enable_gtktest=no
30602 fi
30603 esac
30604
30605 # Check whether --enable-gtktest was given.
30606 if test "${enable_gtktest+set}" = set; then
30607 enableval=$enable_gtktest;
30608 else
30609 enable_gtktest=yes
30610 fi
30611
30612
30613 pkg_config_args=gtk+-2.0
30614 for module in . $GTK_MODULES
30615 do
30616 case "$module" in
30617 gthread)
30618 pkg_config_args="$pkg_config_args gthread-2.0"
30619 ;;
30620 esac
30621 done
30622
30623 no_gtk=""
30624
30625 # Extract the first word of "pkg-config", so it can be a program name with args.
30626 set dummy pkg-config; ac_word=$2
30627 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30629 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30630 echo $ECHO_N "(cached) $ECHO_C" >&6
30631 else
30632 case $PKG_CONFIG in
30633 [\\/]* | ?:[\\/]*)
30634 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30635 ;;
30636 *)
30637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30638 for as_dir in $PATH
30639 do
30640 IFS=$as_save_IFS
30641 test -z "$as_dir" && as_dir=.
30642 for ac_exec_ext in '' $ac_executable_extensions; do
30643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30644 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30646 break 2
30647 fi
30648 done
30649 done
30650 IFS=$as_save_IFS
30651
30652 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30653 ;;
30654 esac
30655 fi
30656 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30657 if test -n "$PKG_CONFIG"; then
30658 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30659 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30660 else
30661 { echo "$as_me:$LINENO: result: no" >&5
30662 echo "${ECHO_T}no" >&6; }
30663 fi
30664
30665
30666
30667 if test x$PKG_CONFIG != xno ; then
30668 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30669 :
30670 else
30671 echo "*** pkg-config too old; version 0.7 or better required."
30672 no_gtk=yes
30673 PKG_CONFIG=no
30674 fi
30675 else
30676 no_gtk=yes
30677 fi
30678
30679 min_gtk_version=2.4.0
30680 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30681 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30682
30683 if test x$PKG_CONFIG != xno ; then
30684 ## don't try to run the test against uninstalled libtool libs
30685 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30686 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30687 enable_gtktest=no
30688 fi
30689
30690 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30691 :
30692 else
30693 no_gtk=yes
30694 fi
30695 fi
30696
30697 if test x"$no_gtk" = x ; then
30698 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30699 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30700 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30701 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30702 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30703 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30704 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30705 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30706 if test "x$enable_gtktest" = "xyes" ; then
30707 ac_save_CFLAGS="$CFLAGS"
30708 ac_save_LIBS="$LIBS"
30709 CFLAGS="$CFLAGS $GTK_CFLAGS"
30710 LIBS="$GTK_LIBS $LIBS"
30711 rm -f conf.gtktest
30712 if test "$cross_compiling" = yes; then
30713 echo $ac_n "cross compiling; assumed OK... $ac_c"
30714 else
30715 cat >conftest.$ac_ext <<_ACEOF
30716 /* confdefs.h. */
30717 _ACEOF
30718 cat confdefs.h >>conftest.$ac_ext
30719 cat >>conftest.$ac_ext <<_ACEOF
30720 /* end confdefs.h. */
30721
30722 #include <gtk/gtk.h>
30723 #include <stdio.h>
30724 #include <stdlib.h>
30725
30726 int
30727 main ()
30728 {
30729 int major, minor, micro;
30730 char *tmp_version;
30731
30732 system ("touch conf.gtktest");
30733
30734 /* HP/UX 9 (%@#!) writes to sscanf strings */
30735 tmp_version = g_strdup("$min_gtk_version");
30736 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30737 printf("%s, bad version string\n", "$min_gtk_version");
30738 exit(1);
30739 }
30740
30741 if ((gtk_major_version != $gtk_config_major_version) ||
30742 (gtk_minor_version != $gtk_config_minor_version) ||
30743 (gtk_micro_version != $gtk_config_micro_version))
30744 {
30745 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30746 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30747 gtk_major_version, gtk_minor_version, gtk_micro_version);
30748 printf ("*** was found! If pkg-config was correct, then it is best\n");
30749 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30750 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30751 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30752 printf("*** required on your system.\n");
30753 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30754 printf("*** to point to the correct configuration files\n");
30755 }
30756 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30757 (gtk_minor_version != GTK_MINOR_VERSION) ||
30758 (gtk_micro_version != GTK_MICRO_VERSION))
30759 {
30760 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30761 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30762 printf("*** library (version %d.%d.%d)\n",
30763 gtk_major_version, gtk_minor_version, gtk_micro_version);
30764 }
30765 else
30766 {
30767 if ((gtk_major_version > major) ||
30768 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30769 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30770 {
30771 return 0;
30772 }
30773 else
30774 {
30775 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30776 gtk_major_version, gtk_minor_version, gtk_micro_version);
30777 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30778 major, minor, micro);
30779 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30780 printf("***\n");
30781 printf("*** If you have already installed a sufficiently new version, this error\n");
30782 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30783 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30784 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30785 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30786 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30787 printf("*** so that the correct libraries are found at run-time))\n");
30788 }
30789 }
30790 return 1;
30791 }
30792
30793 _ACEOF
30794 rm -f conftest$ac_exeext
30795 if { (ac_try="$ac_link"
30796 case "(($ac_try" in
30797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30798 *) ac_try_echo=$ac_try;;
30799 esac
30800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30801 (eval "$ac_link") 2>&5
30802 ac_status=$?
30803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30804 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30805 { (case "(($ac_try" in
30806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30807 *) ac_try_echo=$ac_try;;
30808 esac
30809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30810 (eval "$ac_try") 2>&5
30811 ac_status=$?
30812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30813 (exit $ac_status); }; }; then
30814 :
30815 else
30816 echo "$as_me: program exited with status $ac_status" >&5
30817 echo "$as_me: failed program was:" >&5
30818 sed 's/^/| /' conftest.$ac_ext >&5
30819
30820 ( exit $ac_status )
30821 no_gtk=yes
30822 fi
30823 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30824 fi
30825
30826
30827 CFLAGS="$ac_save_CFLAGS"
30828 LIBS="$ac_save_LIBS"
30829 fi
30830 fi
30831 if test "x$no_gtk" = x ; then
30832 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30833 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30834 wx_cv_lib_gtk=2.0
30835 else
30836 { echo "$as_me:$LINENO: result: no" >&5
30837 echo "${ECHO_T}no" >&6; }
30838 if test "$PKG_CONFIG" = "no" ; then
30839 echo "*** A new enough version of pkg-config was not found."
30840 echo "*** See http://pkgconfig.sourceforge.net"
30841 else
30842 if test -f conf.gtktest ; then
30843 :
30844 else
30845 echo "*** Could not run GTK+ test program, checking why..."
30846 ac_save_CFLAGS="$CFLAGS"
30847 ac_save_LIBS="$LIBS"
30848 CFLAGS="$CFLAGS $GTK_CFLAGS"
30849 LIBS="$LIBS $GTK_LIBS"
30850 cat >conftest.$ac_ext <<_ACEOF
30851 /* confdefs.h. */
30852 _ACEOF
30853 cat confdefs.h >>conftest.$ac_ext
30854 cat >>conftest.$ac_ext <<_ACEOF
30855 /* end confdefs.h. */
30856
30857 #include <gtk/gtk.h>
30858 #include <stdio.h>
30859
30860 int
30861 main ()
30862 {
30863 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30864 ;
30865 return 0;
30866 }
30867 _ACEOF
30868 rm -f conftest.$ac_objext conftest$ac_exeext
30869 if { (ac_try="$ac_link"
30870 case "(($ac_try" in
30871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30872 *) ac_try_echo=$ac_try;;
30873 esac
30874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30875 (eval "$ac_link") 2>conftest.er1
30876 ac_status=$?
30877 grep -v '^ *+' conftest.er1 >conftest.err
30878 rm -f conftest.er1
30879 cat conftest.err >&5
30880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30881 (exit $ac_status); } && {
30882 test -z "$ac_c_werror_flag" ||
30883 test ! -s conftest.err
30884 } && test -s conftest$ac_exeext &&
30885 $as_test_x conftest$ac_exeext; then
30886 echo "*** The test program compiled, but did not run. This usually means"
30887 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30888 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30889 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30890 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30891 echo "*** is required on your system"
30892 echo "***"
30893 echo "*** If you have an old version installed, it is best to remove it, although"
30894 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30895 else
30896 echo "$as_me: failed program was:" >&5
30897 sed 's/^/| /' conftest.$ac_ext >&5
30898
30899 echo "*** The test program failed to compile or link. See the file config.log for the"
30900 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30901 fi
30902
30903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30904 conftest$ac_exeext conftest.$ac_ext
30905 CFLAGS="$ac_save_CFLAGS"
30906 LIBS="$ac_save_LIBS"
30907 fi
30908 fi
30909 GTK_CFLAGS=""
30910 GTK_LIBS=""
30911 :
30912 fi
30913
30914
30915 rm -f conf.gtktest
30916
30917
30918 case "${host}" in
30919 *-*-solaris2* )
30920 if test "$wxUSE_SHARED" != "yes"; then
30921 GTK_LIBS="$GTK_LIBS -lX11"
30922 fi
30923 esac
30924 fi
30925
30926 if test -z "$wx_cv_lib_gtk"; then
30927 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30928
30929 # Check whether --with-gtk-prefix was given.
30930 if test "${with_gtk_prefix+set}" = set; then
30931 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30932 else
30933 gtk_config_prefix=""
30934 fi
30935
30936
30937 # Check whether --with-gtk-exec-prefix was given.
30938 if test "${with_gtk_exec_prefix+set}" = set; then
30939 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30940 else
30941 gtk_config_exec_prefix=""
30942 fi
30943
30944 # Check whether --enable-gtktest was given.
30945 if test "${enable_gtktest+set}" = set; then
30946 enableval=$enable_gtktest;
30947 else
30948 enable_gtktest=yes
30949 fi
30950
30951
30952 for module in . $GTK_MODULES
30953 do
30954 case "$module" in
30955 gthread)
30956 gtk_config_args="$gtk_config_args gthread"
30957 ;;
30958 esac
30959 done
30960
30961 if test x$gtk_config_exec_prefix != x ; then
30962 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30963 if test x${GTK_CONFIG+set} != xset ; then
30964 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30965 fi
30966 fi
30967 if test x$gtk_config_prefix != x ; then
30968 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30969 if test x${GTK_CONFIG+set} != xset ; then
30970 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30971 fi
30972 fi
30973
30974 # Extract the first word of "gtk-config", so it can be a program name with args.
30975 set dummy gtk-config; ac_word=$2
30976 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30978 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30979 echo $ECHO_N "(cached) $ECHO_C" >&6
30980 else
30981 case $GTK_CONFIG in
30982 [\\/]* | ?:[\\/]*)
30983 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30984 ;;
30985 *)
30986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30987 for as_dir in $PATH
30988 do
30989 IFS=$as_save_IFS
30990 test -z "$as_dir" && as_dir=.
30991 for ac_exec_ext in '' $ac_executable_extensions; do
30992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30993 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30995 break 2
30996 fi
30997 done
30998 done
30999 IFS=$as_save_IFS
31000
31001 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31002 ;;
31003 esac
31004 fi
31005 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31006 if test -n "$GTK_CONFIG"; then
31007 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31008 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31009 else
31010 { echo "$as_me:$LINENO: result: no" >&5
31011 echo "${ECHO_T}no" >&6; }
31012 fi
31013
31014
31015 min_gtk_version=1.2.7
31016 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31017 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31018 no_gtk=""
31019 if test "$GTK_CONFIG" = "no" ; then
31020 no_gtk=yes
31021 else
31022 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31023 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31024 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31025 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31026 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31027 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31028 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31029 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31030 if test "x$enable_gtktest" = "xyes" ; then
31031 ac_save_CFLAGS="$CFLAGS"
31032 ac_save_LIBS="$LIBS"
31033 CFLAGS="$CFLAGS $GTK_CFLAGS"
31034 LIBS="$GTK_LIBS $LIBS"
31035 rm -f conf.gtktest
31036 if test "$cross_compiling" = yes; then
31037 echo $ac_n "cross compiling; assumed OK... $ac_c"
31038 else
31039 cat >conftest.$ac_ext <<_ACEOF
31040 /* confdefs.h. */
31041 _ACEOF
31042 cat confdefs.h >>conftest.$ac_ext
31043 cat >>conftest.$ac_ext <<_ACEOF
31044 /* end confdefs.h. */
31045
31046 #include <gtk/gtk.h>
31047 #include <stdio.h>
31048 #include <stdlib.h>
31049
31050 int
31051 main ()
31052 {
31053 int major, minor, micro;
31054 char *tmp_version;
31055
31056 system ("touch conf.gtktest");
31057
31058 /* HP/UX 9 (%@#!) writes to sscanf strings */
31059 tmp_version = g_strdup("$min_gtk_version");
31060 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
31061 printf("%s, bad version string\n", "$min_gtk_version");
31062 exit(1);
31063 }
31064
31065 if ((gtk_major_version != $gtk_config_major_version) ||
31066 (gtk_minor_version != $gtk_config_minor_version) ||
31067 (gtk_micro_version != $gtk_config_micro_version))
31068 {
31069 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31070 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31071 gtk_major_version, gtk_minor_version, gtk_micro_version);
31072 printf ("*** was found! If gtk-config was correct, then it is best\n");
31073 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31074 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31075 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31076 printf("*** required on your system.\n");
31077 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31078 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31079 printf("*** before re-running configure\n");
31080 }
31081 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31082 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31083 (gtk_minor_version != GTK_MINOR_VERSION) ||
31084 (gtk_micro_version != GTK_MICRO_VERSION))
31085 {
31086 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31087 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31088 printf("*** library (version %d.%d.%d)\n",
31089 gtk_major_version, gtk_minor_version, gtk_micro_version);
31090 }
31091 #endif /* defined (GTK_MAJOR_VERSION) ... */
31092 else
31093 {
31094 if ((gtk_major_version > major) ||
31095 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31096 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31097 {
31098 return 0;
31099 }
31100 else
31101 {
31102 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31103 gtk_major_version, gtk_minor_version, gtk_micro_version);
31104 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31105 major, minor, micro);
31106 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31107 printf("***\n");
31108 printf("*** If you have already installed a sufficiently new version, this error\n");
31109 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31110 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31111 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31112 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31113 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31114 printf("*** so that the correct libraries are found at run-time))\n");
31115 }
31116 }
31117 return 1;
31118 }
31119
31120 _ACEOF
31121 rm -f conftest$ac_exeext
31122 if { (ac_try="$ac_link"
31123 case "(($ac_try" in
31124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31125 *) ac_try_echo=$ac_try;;
31126 esac
31127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31128 (eval "$ac_link") 2>&5
31129 ac_status=$?
31130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31131 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31132 { (case "(($ac_try" in
31133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31134 *) ac_try_echo=$ac_try;;
31135 esac
31136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31137 (eval "$ac_try") 2>&5
31138 ac_status=$?
31139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31140 (exit $ac_status); }; }; then
31141 :
31142 else
31143 echo "$as_me: program exited with status $ac_status" >&5
31144 echo "$as_me: failed program was:" >&5
31145 sed 's/^/| /' conftest.$ac_ext >&5
31146
31147 ( exit $ac_status )
31148 no_gtk=yes
31149 fi
31150 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31151 fi
31152
31153
31154 CFLAGS="$ac_save_CFLAGS"
31155 LIBS="$ac_save_LIBS"
31156 fi
31157 fi
31158 if test "x$no_gtk" = x ; then
31159 { echo "$as_me:$LINENO: result: yes" >&5
31160 echo "${ECHO_T}yes" >&6; }
31161 wx_cv_lib_gtk=1.2.7
31162 else
31163 { echo "$as_me:$LINENO: result: no" >&5
31164 echo "${ECHO_T}no" >&6; }
31165 if test "$GTK_CONFIG" = "no" ; then
31166 echo "*** The gtk-config script installed by GTK could not be found"
31167 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31168 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31169 echo "*** full path to gtk-config."
31170 else
31171 if test -f conf.gtktest ; then
31172 :
31173 else
31174 echo "*** Could not run GTK test program, checking why..."
31175 CFLAGS="$CFLAGS $GTK_CFLAGS"
31176 LIBS="$LIBS $GTK_LIBS"
31177 cat >conftest.$ac_ext <<_ACEOF
31178 /* confdefs.h. */
31179 _ACEOF
31180 cat confdefs.h >>conftest.$ac_ext
31181 cat >>conftest.$ac_ext <<_ACEOF
31182 /* end confdefs.h. */
31183
31184 #include <gtk/gtk.h>
31185 #include <stdio.h>
31186
31187 int
31188 main ()
31189 {
31190 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31191 ;
31192 return 0;
31193 }
31194 _ACEOF
31195 rm -f conftest.$ac_objext conftest$ac_exeext
31196 if { (ac_try="$ac_link"
31197 case "(($ac_try" in
31198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31199 *) ac_try_echo=$ac_try;;
31200 esac
31201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31202 (eval "$ac_link") 2>conftest.er1
31203 ac_status=$?
31204 grep -v '^ *+' conftest.er1 >conftest.err
31205 rm -f conftest.er1
31206 cat conftest.err >&5
31207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31208 (exit $ac_status); } && {
31209 test -z "$ac_c_werror_flag" ||
31210 test ! -s conftest.err
31211 } && test -s conftest$ac_exeext &&
31212 $as_test_x conftest$ac_exeext; then
31213 echo "*** The test program compiled, but did not run. This usually means"
31214 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31215 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31216 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31217 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31218 echo "*** is required on your system"
31219 echo "***"
31220 echo "*** If you have an old version installed, it is best to remove it, although"
31221 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31222 echo "***"
31223 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31224 echo "*** came with the system with the command"
31225 echo "***"
31226 echo "*** rpm --erase --nodeps gtk gtk-devel"
31227 else
31228 echo "$as_me: failed program was:" >&5
31229 sed 's/^/| /' conftest.$ac_ext >&5
31230
31231 echo "*** The test program failed to compile or link. See the file config.log for the"
31232 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31233 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31234 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31235 fi
31236
31237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31238 conftest$ac_exeext conftest.$ac_ext
31239 CFLAGS="$ac_save_CFLAGS"
31240 LIBS="$ac_save_LIBS"
31241 fi
31242 fi
31243 GTK_CFLAGS=""
31244 GTK_LIBS=""
31245 :
31246 fi
31247
31248
31249 rm -f conf.gtktest
31250
31251
31252 if test -z "$wx_cv_lib_gtk"; then
31253
31254 # Check whether --with-gtk-prefix was given.
31255 if test "${with_gtk_prefix+set}" = set; then
31256 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31257 else
31258 gtk_config_prefix=""
31259 fi
31260
31261
31262 # Check whether --with-gtk-exec-prefix was given.
31263 if test "${with_gtk_exec_prefix+set}" = set; then
31264 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31265 else
31266 gtk_config_exec_prefix=""
31267 fi
31268
31269 # Check whether --enable-gtktest was given.
31270 if test "${enable_gtktest+set}" = set; then
31271 enableval=$enable_gtktest;
31272 else
31273 enable_gtktest=yes
31274 fi
31275
31276
31277 for module in . $GTK_MODULES
31278 do
31279 case "$module" in
31280 gthread)
31281 gtk_config_args="$gtk_config_args gthread"
31282 ;;
31283 esac
31284 done
31285
31286 if test x$gtk_config_exec_prefix != x ; then
31287 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31288 if test x${GTK_CONFIG+set} != xset ; then
31289 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31290 fi
31291 fi
31292 if test x$gtk_config_prefix != x ; then
31293 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31294 if test x${GTK_CONFIG+set} != xset ; then
31295 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31296 fi
31297 fi
31298
31299 # Extract the first word of "gtk-config", so it can be a program name with args.
31300 set dummy gtk-config; ac_word=$2
31301 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31303 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31304 echo $ECHO_N "(cached) $ECHO_C" >&6
31305 else
31306 case $GTK_CONFIG in
31307 [\\/]* | ?:[\\/]*)
31308 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31309 ;;
31310 *)
31311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31312 for as_dir in $PATH
31313 do
31314 IFS=$as_save_IFS
31315 test -z "$as_dir" && as_dir=.
31316 for ac_exec_ext in '' $ac_executable_extensions; do
31317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31318 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31320 break 2
31321 fi
31322 done
31323 done
31324 IFS=$as_save_IFS
31325
31326 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31327 ;;
31328 esac
31329 fi
31330 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31331 if test -n "$GTK_CONFIG"; then
31332 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31333 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31334 else
31335 { echo "$as_me:$LINENO: result: no" >&5
31336 echo "${ECHO_T}no" >&6; }
31337 fi
31338
31339
31340 min_gtk_version=1.2.3
31341 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31342 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31343 no_gtk=""
31344 if test "$GTK_CONFIG" = "no" ; then
31345 no_gtk=yes
31346 else
31347 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31348 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31349 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31350 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31351 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31352 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31353 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31354 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31355 if test "x$enable_gtktest" = "xyes" ; then
31356 ac_save_CFLAGS="$CFLAGS"
31357 ac_save_LIBS="$LIBS"
31358 CFLAGS="$CFLAGS $GTK_CFLAGS"
31359 LIBS="$GTK_LIBS $LIBS"
31360 rm -f conf.gtktest
31361 if test "$cross_compiling" = yes; then
31362 echo $ac_n "cross compiling; assumed OK... $ac_c"
31363 else
31364 cat >conftest.$ac_ext <<_ACEOF
31365 /* confdefs.h. */
31366 _ACEOF
31367 cat confdefs.h >>conftest.$ac_ext
31368 cat >>conftest.$ac_ext <<_ACEOF
31369 /* end confdefs.h. */
31370
31371 #include <gtk/gtk.h>
31372 #include <stdio.h>
31373 #include <stdlib.h>
31374
31375 int
31376 main ()
31377 {
31378 int major, minor, micro;
31379 char *tmp_version;
31380
31381 system ("touch conf.gtktest");
31382
31383 /* HP/UX 9 (%@#!) writes to sscanf strings */
31384 tmp_version = g_strdup("$min_gtk_version");
31385 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
31386 printf("%s, bad version string\n", "$min_gtk_version");
31387 exit(1);
31388 }
31389
31390 if ((gtk_major_version != $gtk_config_major_version) ||
31391 (gtk_minor_version != $gtk_config_minor_version) ||
31392 (gtk_micro_version != $gtk_config_micro_version))
31393 {
31394 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31395 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31396 gtk_major_version, gtk_minor_version, gtk_micro_version);
31397 printf ("*** was found! If gtk-config was correct, then it is best\n");
31398 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31399 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31400 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31401 printf("*** required on your system.\n");
31402 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31403 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31404 printf("*** before re-running configure\n");
31405 }
31406 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31407 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31408 (gtk_minor_version != GTK_MINOR_VERSION) ||
31409 (gtk_micro_version != GTK_MICRO_VERSION))
31410 {
31411 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31412 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31413 printf("*** library (version %d.%d.%d)\n",
31414 gtk_major_version, gtk_minor_version, gtk_micro_version);
31415 }
31416 #endif /* defined (GTK_MAJOR_VERSION) ... */
31417 else
31418 {
31419 if ((gtk_major_version > major) ||
31420 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31421 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31422 {
31423 return 0;
31424 }
31425 else
31426 {
31427 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31428 gtk_major_version, gtk_minor_version, gtk_micro_version);
31429 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31430 major, minor, micro);
31431 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31432 printf("***\n");
31433 printf("*** If you have already installed a sufficiently new version, this error\n");
31434 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31435 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31436 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31437 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31438 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31439 printf("*** so that the correct libraries are found at run-time))\n");
31440 }
31441 }
31442 return 1;
31443 }
31444
31445 _ACEOF
31446 rm -f conftest$ac_exeext
31447 if { (ac_try="$ac_link"
31448 case "(($ac_try" in
31449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31450 *) ac_try_echo=$ac_try;;
31451 esac
31452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31453 (eval "$ac_link") 2>&5
31454 ac_status=$?
31455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31456 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31457 { (case "(($ac_try" in
31458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31459 *) ac_try_echo=$ac_try;;
31460 esac
31461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31462 (eval "$ac_try") 2>&5
31463 ac_status=$?
31464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31465 (exit $ac_status); }; }; then
31466 :
31467 else
31468 echo "$as_me: program exited with status $ac_status" >&5
31469 echo "$as_me: failed program was:" >&5
31470 sed 's/^/| /' conftest.$ac_ext >&5
31471
31472 ( exit $ac_status )
31473 no_gtk=yes
31474 fi
31475 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31476 fi
31477
31478
31479 CFLAGS="$ac_save_CFLAGS"
31480 LIBS="$ac_save_LIBS"
31481 fi
31482 fi
31483 if test "x$no_gtk" = x ; then
31484 { echo "$as_me:$LINENO: result: yes" >&5
31485 echo "${ECHO_T}yes" >&6; }
31486 wx_cv_lib_gtk=1.2.3
31487 else
31488 { echo "$as_me:$LINENO: result: no" >&5
31489 echo "${ECHO_T}no" >&6; }
31490 if test "$GTK_CONFIG" = "no" ; then
31491 echo "*** The gtk-config script installed by GTK could not be found"
31492 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31493 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31494 echo "*** full path to gtk-config."
31495 else
31496 if test -f conf.gtktest ; then
31497 :
31498 else
31499 echo "*** Could not run GTK test program, checking why..."
31500 CFLAGS="$CFLAGS $GTK_CFLAGS"
31501 LIBS="$LIBS $GTK_LIBS"
31502 cat >conftest.$ac_ext <<_ACEOF
31503 /* confdefs.h. */
31504 _ACEOF
31505 cat confdefs.h >>conftest.$ac_ext
31506 cat >>conftest.$ac_ext <<_ACEOF
31507 /* end confdefs.h. */
31508
31509 #include <gtk/gtk.h>
31510 #include <stdio.h>
31511
31512 int
31513 main ()
31514 {
31515 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31516 ;
31517 return 0;
31518 }
31519 _ACEOF
31520 rm -f conftest.$ac_objext conftest$ac_exeext
31521 if { (ac_try="$ac_link"
31522 case "(($ac_try" in
31523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31524 *) ac_try_echo=$ac_try;;
31525 esac
31526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31527 (eval "$ac_link") 2>conftest.er1
31528 ac_status=$?
31529 grep -v '^ *+' conftest.er1 >conftest.err
31530 rm -f conftest.er1
31531 cat conftest.err >&5
31532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31533 (exit $ac_status); } && {
31534 test -z "$ac_c_werror_flag" ||
31535 test ! -s conftest.err
31536 } && test -s conftest$ac_exeext &&
31537 $as_test_x conftest$ac_exeext; then
31538 echo "*** The test program compiled, but did not run. This usually means"
31539 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31540 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31541 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31542 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31543 echo "*** is required on your system"
31544 echo "***"
31545 echo "*** If you have an old version installed, it is best to remove it, although"
31546 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31547 echo "***"
31548 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31549 echo "*** came with the system with the command"
31550 echo "***"
31551 echo "*** rpm --erase --nodeps gtk gtk-devel"
31552 else
31553 echo "$as_me: failed program was:" >&5
31554 sed 's/^/| /' conftest.$ac_ext >&5
31555
31556 echo "*** The test program failed to compile or link. See the file config.log for the"
31557 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31558 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31559 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31560 fi
31561
31562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31563 conftest$ac_exeext conftest.$ac_ext
31564 CFLAGS="$ac_save_CFLAGS"
31565 LIBS="$ac_save_LIBS"
31566 fi
31567 fi
31568 GTK_CFLAGS=""
31569 GTK_LIBS=""
31570 :
31571 fi
31572
31573
31574 rm -f conf.gtktest
31575
31576 fi
31577 fi
31578 fi
31579
31580 if test -z "$wx_cv_lib_gtk"; then
31581 wx_cv_lib_gtk=none
31582 else
31583 wx_cv_cflags_gtk=$GTK_CFLAGS
31584 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
31585 fi
31586
31587
31588 fi
31589
31590
31591 if test "$gtk_version_cached" = 1; then
31592 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31593 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31594 fi
31595
31596 case "$wx_cv_lib_gtk" in
31597 2.0) WXGTK2=1
31598 TOOLKIT_VERSION=2
31599 ;;
31600 1.2.7) WXGTK127=1
31601 WXGTK12=1
31602 ;;
31603 1.2.3) WXGTK12=1
31604 ;;
31605 *) { { echo "$as_me:$LINENO: error:
31606 The development files for GTK+ were not found. For GTK+ 2, please
31607 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31608 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31609 and that the version is 1.2.3 or above. Also check that the
31610 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31611 --libs' are in the LD_LIBRARY_PATH or equivalent.
31612 " >&5
31613 echo "$as_me: error:
31614 The development files for GTK+ were not found. For GTK+ 2, please
31615 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31616 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31617 and that the version is 1.2.3 or above. Also check that the
31618 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31619 --libs' are in the LD_LIBRARY_PATH or equivalent.
31620 " >&2;}
31621 { (exit 1); exit 1; }; }
31622 ;;
31623 esac
31624
31625 if test "$WXGTK2" = 1; then
31626 save_CFLAGS="$CFLAGS"
31627 save_LIBS="$LIBS"
31628 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31629 LIBS="$LIBS $wx_cv_libs_gtk"
31630
31631 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31632 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31633 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31634 echo $ECHO_N "(cached) $ECHO_C" >&6
31635 else
31636 cat >conftest.$ac_ext <<_ACEOF
31637 /* confdefs.h. */
31638 _ACEOF
31639 cat confdefs.h >>conftest.$ac_ext
31640 cat >>conftest.$ac_ext <<_ACEOF
31641 /* end confdefs.h. */
31642 #include <gtk/gtk.h>
31643
31644 int
31645 main ()
31646 {
31647 #ifndef gtk_icon_size_lookup
31648 (void) gtk_icon_size_lookup;
31649 #endif
31650
31651 ;
31652 return 0;
31653 }
31654 _ACEOF
31655 rm -f conftest.$ac_objext
31656 if { (ac_try="$ac_compile"
31657 case "(($ac_try" in
31658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31659 *) ac_try_echo=$ac_try;;
31660 esac
31661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31662 (eval "$ac_compile") 2>conftest.er1
31663 ac_status=$?
31664 grep -v '^ *+' conftest.er1 >conftest.err
31665 rm -f conftest.er1
31666 cat conftest.err >&5
31667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31668 (exit $ac_status); } && {
31669 test -z "$ac_c_werror_flag" ||
31670 test ! -s conftest.err
31671 } && test -s conftest.$ac_objext; then
31672 ac_cv_have_decl_gtk_icon_size_lookup=yes
31673 else
31674 echo "$as_me: failed program was:" >&5
31675 sed 's/^/| /' conftest.$ac_ext >&5
31676
31677 ac_cv_have_decl_gtk_icon_size_lookup=no
31678 fi
31679
31680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31681 fi
31682 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31683 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31684 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31685
31686 cat >>confdefs.h <<_ACEOF
31687 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31688 _ACEOF
31689
31690
31691 else
31692 cat >>confdefs.h <<_ACEOF
31693 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31694 _ACEOF
31695
31696 cat >>confdefs.h <<\_ACEOF
31697 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31698 _ACEOF
31699
31700 fi
31701
31702
31703
31704
31705 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31706 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31707 cat >conftest.$ac_ext <<_ACEOF
31708 /* confdefs.h. */
31709 _ACEOF
31710 cat confdefs.h >>conftest.$ac_ext
31711 cat >>conftest.$ac_ext <<_ACEOF
31712 /* end confdefs.h. */
31713
31714 #include <gtk/gtk.h>
31715
31716 int
31717 main ()
31718 {
31719
31720 #if !GTK_CHECK_VERSION(2,10,0)
31721 Not GTK+ 2.10
31722 #endif
31723
31724 ;
31725 return 0;
31726 }
31727 _ACEOF
31728 rm -f conftest.$ac_objext
31729 if { (ac_try="$ac_compile"
31730 case "(($ac_try" in
31731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31732 *) ac_try_echo=$ac_try;;
31733 esac
31734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31735 (eval "$ac_compile") 2>conftest.er1
31736 ac_status=$?
31737 grep -v '^ *+' conftest.er1 >conftest.err
31738 rm -f conftest.er1
31739 cat conftest.err >&5
31740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31741 (exit $ac_status); } && {
31742 test -z "$ac_c_werror_flag" ||
31743 test ! -s conftest.err
31744 } && test -s conftest.$ac_objext; then
31745
31746 cat >>confdefs.h <<\_ACEOF
31747 #define __WXGTK210__ 1
31748 _ACEOF
31749
31750 cat >>confdefs.h <<\_ACEOF
31751 #define __WXGTK26__ 1
31752 _ACEOF
31753
31754 { echo "$as_me:$LINENO: result: yes" >&5
31755 echo "${ECHO_T}yes" >&6; }
31756 ac_wxgtk210=1
31757
31758 else
31759 echo "$as_me: failed program was:" >&5
31760 sed 's/^/| /' conftest.$ac_ext >&5
31761
31762
31763 { echo "$as_me:$LINENO: result: no" >&5
31764 echo "${ECHO_T}no" >&6; }
31765 ac_wxgtk210=0
31766
31767 fi
31768
31769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31770
31771 if test "$ac_wxgtk210" = 0; then
31772 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31773 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31774 cat >conftest.$ac_ext <<_ACEOF
31775 /* confdefs.h. */
31776 _ACEOF
31777 cat confdefs.h >>conftest.$ac_ext
31778 cat >>conftest.$ac_ext <<_ACEOF
31779 /* end confdefs.h. */
31780
31781 #include <gtk/gtk.h>
31782
31783 int
31784 main ()
31785 {
31786
31787 #if !GTK_CHECK_VERSION(2,6,0)
31788 Not GTK+ 2.6
31789 #endif
31790
31791 ;
31792 return 0;
31793 }
31794 _ACEOF
31795 rm -f conftest.$ac_objext
31796 if { (ac_try="$ac_compile"
31797 case "(($ac_try" in
31798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31799 *) ac_try_echo=$ac_try;;
31800 esac
31801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31802 (eval "$ac_compile") 2>conftest.er1
31803 ac_status=$?
31804 grep -v '^ *+' conftest.er1 >conftest.err
31805 rm -f conftest.er1
31806 cat conftest.err >&5
31807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31808 (exit $ac_status); } && {
31809 test -z "$ac_c_werror_flag" ||
31810 test ! -s conftest.err
31811 } && test -s conftest.$ac_objext; then
31812
31813 cat >>confdefs.h <<\_ACEOF
31814 #define __WXGTK26__ 1
31815 _ACEOF
31816
31817 { echo "$as_me:$LINENO: result: yes" >&5
31818 echo "${ECHO_T}yes" >&6; }
31819 ac_wxgtk26=1
31820
31821 else
31822 echo "$as_me: failed program was:" >&5
31823 sed 's/^/| /' conftest.$ac_ext >&5
31824
31825
31826 { echo "$as_me:$LINENO: result: no" >&5
31827 echo "${ECHO_T}no" >&6; }
31828 ac_wxgtk26=0
31829
31830 fi
31831
31832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31833 fi
31834
31835 CFLAGS="$save_CFLAGS"
31836 LIBS="$save_LIBS"
31837 else
31838 if test "$wxUSE_UNICODE" = "yes"; then
31839 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31840 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31841 wxUSE_UNICODE=no
31842 fi
31843
31844 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31845 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31846 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31847 echo $ECHO_N "(cached) $ECHO_C" >&6
31848 else
31849 ac_check_lib_save_LIBS=$LIBS
31850 LIBS="-lgdk $LIBS"
31851 cat >conftest.$ac_ext <<_ACEOF
31852 /* confdefs.h. */
31853 _ACEOF
31854 cat confdefs.h >>conftest.$ac_ext
31855 cat >>conftest.$ac_ext <<_ACEOF
31856 /* end confdefs.h. */
31857
31858 /* Override any GCC internal prototype to avoid an error.
31859 Use char because int might match the return type of a GCC
31860 builtin and then its argument prototype would still apply. */
31861 #ifdef __cplusplus
31862 extern "C"
31863 #endif
31864 char gdk_im_open ();
31865 int
31866 main ()
31867 {
31868 return gdk_im_open ();
31869 ;
31870 return 0;
31871 }
31872 _ACEOF
31873 rm -f conftest.$ac_objext conftest$ac_exeext
31874 if { (ac_try="$ac_link"
31875 case "(($ac_try" in
31876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31877 *) ac_try_echo=$ac_try;;
31878 esac
31879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31880 (eval "$ac_link") 2>conftest.er1
31881 ac_status=$?
31882 grep -v '^ *+' conftest.er1 >conftest.err
31883 rm -f conftest.er1
31884 cat conftest.err >&5
31885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31886 (exit $ac_status); } && {
31887 test -z "$ac_c_werror_flag" ||
31888 test ! -s conftest.err
31889 } && test -s conftest$ac_exeext &&
31890 $as_test_x conftest$ac_exeext; then
31891 ac_cv_lib_gdk_gdk_im_open=yes
31892 else
31893 echo "$as_me: failed program was:" >&5
31894 sed 's/^/| /' conftest.$ac_ext >&5
31895
31896 ac_cv_lib_gdk_gdk_im_open=no
31897 fi
31898
31899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31900 conftest$ac_exeext conftest.$ac_ext
31901 LIBS=$ac_check_lib_save_LIBS
31902 fi
31903 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31904 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31905 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31906 cat >>confdefs.h <<\_ACEOF
31907 #define HAVE_XIM 1
31908 _ACEOF
31909
31910 fi
31911
31912
31913 if test "$USE_DARWIN" != 1; then
31914
31915 for ac_func in poll
31916 do
31917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31918 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31920 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31921 echo $ECHO_N "(cached) $ECHO_C" >&6
31922 else
31923 cat >conftest.$ac_ext <<_ACEOF
31924 /* confdefs.h. */
31925 _ACEOF
31926 cat confdefs.h >>conftest.$ac_ext
31927 cat >>conftest.$ac_ext <<_ACEOF
31928 /* end confdefs.h. */
31929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31931 #define $ac_func innocuous_$ac_func
31932
31933 /* System header to define __stub macros and hopefully few prototypes,
31934 which can conflict with char $ac_func (); below.
31935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31936 <limits.h> exists even on freestanding compilers. */
31937
31938 #ifdef __STDC__
31939 # include <limits.h>
31940 #else
31941 # include <assert.h>
31942 #endif
31943
31944 #undef $ac_func
31945
31946 /* Override any GCC internal prototype to avoid an error.
31947 Use char because int might match the return type of a GCC
31948 builtin and then its argument prototype would still apply. */
31949 #ifdef __cplusplus
31950 extern "C"
31951 #endif
31952 char $ac_func ();
31953 /* The GNU C library defines this for functions which it implements
31954 to always fail with ENOSYS. Some functions are actually named
31955 something starting with __ and the normal name is an alias. */
31956 #if defined __stub_$ac_func || defined __stub___$ac_func
31957 choke me
31958 #endif
31959
31960 int
31961 main ()
31962 {
31963 return $ac_func ();
31964 ;
31965 return 0;
31966 }
31967 _ACEOF
31968 rm -f conftest.$ac_objext conftest$ac_exeext
31969 if { (ac_try="$ac_link"
31970 case "(($ac_try" in
31971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31972 *) ac_try_echo=$ac_try;;
31973 esac
31974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31975 (eval "$ac_link") 2>conftest.er1
31976 ac_status=$?
31977 grep -v '^ *+' conftest.er1 >conftest.err
31978 rm -f conftest.er1
31979 cat conftest.err >&5
31980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31981 (exit $ac_status); } && {
31982 test -z "$ac_c_werror_flag" ||
31983 test ! -s conftest.err
31984 } && test -s conftest$ac_exeext &&
31985 $as_test_x conftest$ac_exeext; then
31986 eval "$as_ac_var=yes"
31987 else
31988 echo "$as_me: failed program was:" >&5
31989 sed 's/^/| /' conftest.$ac_ext >&5
31990
31991 eval "$as_ac_var=no"
31992 fi
31993
31994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31995 conftest$ac_exeext conftest.$ac_ext
31996 fi
31997 ac_res=`eval echo '${'$as_ac_var'}'`
31998 { echo "$as_me:$LINENO: result: $ac_res" >&5
31999 echo "${ECHO_T}$ac_res" >&6; }
32000 if test `eval echo '${'$as_ac_var'}'` = yes; then
32001 cat >>confdefs.h <<_ACEOF
32002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32003 _ACEOF
32004
32005 fi
32006 done
32007
32008 fi
32009 fi
32010
32011 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
32012 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
32013
32014 AFMINSTALL=afminstall
32015 TOOLKIT=GTK
32016 GUIDIST=GTK_DIST
32017
32018 if test "$wxUSE_GPE" = "yes"; then
32019 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
32020 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
32021
32022 ac_find_libraries=
32023 for ac_dir in $SEARCH_LIB;
32024 do
32025 for ac_extension in a so sl dylib dll.a; do
32026 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
32027 ac_find_libraries=$ac_dir
32028 break 2
32029 fi
32030 done
32031 done
32032
32033 if test "$ac_find_libraries" != "" ; then
32034
32035 if test "$ac_find_libraries" = "default location"; then
32036 ac_path_to_link=""
32037 else
32038 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32039 result=$?
32040 if test $result = 0; then
32041 ac_path_to_link=""
32042 else
32043 ac_path_to_link=" -L$ac_find_libraries"
32044 fi
32045 fi
32046
32047 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
32048 WXGPE=1
32049 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32050 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32051 else
32052 { echo "$as_me:$LINENO: result: not found" >&5
32053 echo "${ECHO_T}not found" >&6; }
32054 fi
32055
32056 fi
32057 fi
32058
32059 if test "$wxUSE_MGL" = 1; then
32060 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
32061 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
32062 if test "x$MGL_ROOT" = x ; then
32063 { echo "$as_me:$LINENO: result: not found" >&5
32064 echo "${ECHO_T}not found" >&6; }
32065 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
32066 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
32067 { (exit 1); exit 1; }; }
32068 else
32069 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
32070 echo "${ECHO_T}$MGL_ROOT" >&6; }
32071 fi
32072
32073 { echo "$as_me:$LINENO: checking for libmgl location" >&5
32074 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
32075 case "${host}" in
32076 *-*-linux* )
32077 if test "x$wxUSE_SHARED" = xyes ; then
32078 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
32079 else
32080 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
32081 fi
32082 ;;
32083 *-pc-msdosdjgpp )
32084 mgl_os_candidates="dos32/dj2"
32085 ;;
32086 *)
32087 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
32088 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
32089 { (exit 1); exit 1; }; }
32090 esac
32091
32092 mgl_lib_type=""
32093 mgl_os=""
32094
32095 for mgl_os_i in $mgl_os_candidates ; do
32096 if test "x$mgl_os" = x ; then
32097 if test "$wxUSE_DEBUG_FLAG" = yes ; then
32098 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
32099 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
32100 mgl_lib_type=debug
32101 mgl_os=$mgl_os_i
32102 fi
32103 fi
32104 if test "x$mgl_lib_type" = x ; then
32105 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
32106 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
32107 mgl_lib_type=release
32108 mgl_os=$mgl_os_i
32109 fi
32110 fi
32111 fi
32112 done
32113
32114 if test "x$mgl_os" = x ; then
32115 { echo "$as_me:$LINENO: result: not found" >&5
32116 echo "${ECHO_T}not found" >&6; }
32117 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
32118 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
32119 { (exit 1); exit 1; }; }
32120 fi
32121 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
32122 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
32123
32124 wxUSE_UNIVERSAL="yes"
32125
32126 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
32127 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
32128
32129 AFMINSTALL=afminstall
32130 TOOLKIT=MGL
32131 GUIDIST=MGL_DIST
32132 fi
32133
32134 if test "$wxUSE_DFB" = 1; then
32135
32136
32137 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32138 if test -n "$ac_tool_prefix"; then
32139 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32140 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32143 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32144 echo $ECHO_N "(cached) $ECHO_C" >&6
32145 else
32146 case $PKG_CONFIG in
32147 [\\/]* | ?:[\\/]*)
32148 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32149 ;;
32150 *)
32151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32152 for as_dir in $PATH
32153 do
32154 IFS=$as_save_IFS
32155 test -z "$as_dir" && as_dir=.
32156 for ac_exec_ext in '' $ac_executable_extensions; do
32157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32158 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32160 break 2
32161 fi
32162 done
32163 done
32164 IFS=$as_save_IFS
32165
32166 ;;
32167 esac
32168 fi
32169 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32170 if test -n "$PKG_CONFIG"; then
32171 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32172 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32173 else
32174 { echo "$as_me:$LINENO: result: no" >&5
32175 echo "${ECHO_T}no" >&6; }
32176 fi
32177
32178
32179 fi
32180 if test -z "$ac_cv_path_PKG_CONFIG"; then
32181 ac_pt_PKG_CONFIG=$PKG_CONFIG
32182 # Extract the first word of "pkg-config", so it can be a program name with args.
32183 set dummy pkg-config; ac_word=$2
32184 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32186 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32187 echo $ECHO_N "(cached) $ECHO_C" >&6
32188 else
32189 case $ac_pt_PKG_CONFIG in
32190 [\\/]* | ?:[\\/]*)
32191 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32192 ;;
32193 *)
32194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32195 for as_dir in $PATH
32196 do
32197 IFS=$as_save_IFS
32198 test -z "$as_dir" && as_dir=.
32199 for ac_exec_ext in '' $ac_executable_extensions; do
32200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32201 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32203 break 2
32204 fi
32205 done
32206 done
32207 IFS=$as_save_IFS
32208
32209 ;;
32210 esac
32211 fi
32212 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32213 if test -n "$ac_pt_PKG_CONFIG"; then
32214 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32215 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32216 else
32217 { echo "$as_me:$LINENO: result: no" >&5
32218 echo "${ECHO_T}no" >&6; }
32219 fi
32220
32221 if test "x$ac_pt_PKG_CONFIG" = x; then
32222 PKG_CONFIG=""
32223 else
32224 case $cross_compiling:$ac_tool_warned in
32225 yes:)
32226 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32227 whose name does not start with the host triplet. If you think this
32228 configuration is useful to you, please write to autoconf@gnu.org." >&5
32229 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32230 whose name does not start with the host triplet. If you think this
32231 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32232 ac_tool_warned=yes ;;
32233 esac
32234 PKG_CONFIG=$ac_pt_PKG_CONFIG
32235 fi
32236 else
32237 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32238 fi
32239
32240 fi
32241 if test -n "$PKG_CONFIG"; then
32242 _pkg_min_version=0.9.0
32243 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32244 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32245 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32246 { echo "$as_me:$LINENO: result: yes" >&5
32247 echo "${ECHO_T}yes" >&6; }
32248 else
32249 { echo "$as_me:$LINENO: result: no" >&5
32250 echo "${ECHO_T}no" >&6; }
32251 PKG_CONFIG=""
32252 fi
32253
32254 fi
32255
32256
32257 pkg_failed=no
32258 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
32259 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
32260
32261 if test -n "$PKG_CONFIG"; then
32262 if test -n "$DIRECTFB_CFLAGS"; then
32263 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32264 else
32265 if test -n "$PKG_CONFIG" && \
32266 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32267 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32268 ac_status=$?
32269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32270 (exit $ac_status); }; then
32271 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32272 else
32273 pkg_failed=yes
32274 fi
32275 fi
32276 else
32277 pkg_failed=untried
32278 fi
32279 if test -n "$PKG_CONFIG"; then
32280 if test -n "$DIRECTFB_LIBS"; then
32281 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32282 else
32283 if test -n "$PKG_CONFIG" && \
32284 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32285 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32286 ac_status=$?
32287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32288 (exit $ac_status); }; then
32289 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32290 else
32291 pkg_failed=yes
32292 fi
32293 fi
32294 else
32295 pkg_failed=untried
32296 fi
32297
32298
32299
32300 if test $pkg_failed = yes; then
32301
32302 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32303 _pkg_short_errors_supported=yes
32304 else
32305 _pkg_short_errors_supported=no
32306 fi
32307 if test $_pkg_short_errors_supported = yes; then
32308 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32309 else
32310 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32311 fi
32312 # Put the nasty error message in config.log where it belongs
32313 echo "$DIRECTFB_PKG_ERRORS" >&5
32314
32315
32316 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32317 echo "$as_me: error: DirectFB not found." >&2;}
32318 { (exit 1); exit 1; }; }
32319
32320
32321 elif test $pkg_failed = untried; then
32322
32323 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32324 echo "$as_me: error: DirectFB not found." >&2;}
32325 { (exit 1); exit 1; }; }
32326
32327
32328 else
32329 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32330 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32331 { echo "$as_me:$LINENO: result: yes" >&5
32332 echo "${ECHO_T}yes" >&6; }
32333
32334 wxUSE_UNIVERSAL="yes"
32335 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32336 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32337 TOOLKIT=DFB
32338 GUIDIST=DFB_DIST
32339
32340 fi
32341 fi
32342
32343 if test "$wxUSE_MICROWIN" = 1; then
32344 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32345 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32346 if test "x$MICROWINDOWS" = x ; then
32347 { echo "$as_me:$LINENO: result: not found" >&5
32348 echo "${ECHO_T}not found" >&6; }
32349 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32350 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32351 { (exit 1); exit 1; }; }
32352 else
32353 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32354 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32355 fi
32356
32357 if test -f $MICROWINDOWS/lib/libmwin.a; then
32358 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
32359 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
32360 else
32361 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32362 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32363 { (exit 1); exit 1; }; }
32364 fi
32365
32366 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32367 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32368
32369 wxUSE_UNIVERSAL="yes"
32370
32371 AFMINSTALL=afminstall
32372 TOOLKIT=MICROWIN
32373 GUIDIST=MICROWIN_DIST
32374
32375 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32376 fi
32377
32378 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32379 { echo "$as_me:$LINENO: checking for X" >&5
32380 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32381
32382
32383 # Check whether --with-x was given.
32384 if test "${with_x+set}" = set; then
32385 withval=$with_x;
32386 fi
32387
32388 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
32389 if test "x$with_x" = xno; then
32390 # The user explicitly disabled X.
32391 have_x=disabled
32392 else
32393 case $x_includes,$x_libraries in #(
32394 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32395 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
32396 { (exit 1); exit 1; }; };; #(
32397 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32398 echo $ECHO_N "(cached) $ECHO_C" >&6
32399 else
32400 # One or both of the vars are not set, and there is no cached value.
32401 ac_x_includes=no ac_x_libraries=no
32402 rm -f -r conftest.dir
32403 if mkdir conftest.dir; then
32404 cd conftest.dir
32405 cat >Imakefile <<'_ACEOF'
32406 incroot:
32407 @echo incroot='${INCROOT}'
32408 usrlibdir:
32409 @echo usrlibdir='${USRLIBDIR}'
32410 libdir:
32411 @echo libdir='${LIBDIR}'
32412 _ACEOF
32413 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32414 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32415 for ac_var in incroot usrlibdir libdir; do
32416 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
32417 done
32418 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32419 for ac_extension in a so sl; do
32420 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32421 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32422 ac_im_usrlibdir=$ac_im_libdir; break
32423 fi
32424 done
32425 # Screen out bogus values from the imake configuration. They are
32426 # bogus both because they are the default anyway, and because
32427 # using them would break gcc on systems where it needs fixed includes.
32428 case $ac_im_incroot in
32429 /usr/include) ac_x_includes= ;;
32430 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32431 esac
32432 case $ac_im_usrlibdir in
32433 /usr/lib | /lib) ;;
32434 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32435 esac
32436 fi
32437 cd ..
32438 rm -f -r conftest.dir
32439 fi
32440
32441 # Standard set of common directories for X headers.
32442 # Check X11 before X11Rn because it is often a symlink to the current release.
32443 ac_x_header_dirs='
32444 /usr/X11/include
32445 /usr/X11R6/include
32446 /usr/X11R5/include
32447 /usr/X11R4/include
32448
32449 /usr/include/X11
32450 /usr/include/X11R6
32451 /usr/include/X11R5
32452 /usr/include/X11R4
32453
32454 /usr/local/X11/include
32455 /usr/local/X11R6/include
32456 /usr/local/X11R5/include
32457 /usr/local/X11R4/include
32458
32459 /usr/local/include/X11
32460 /usr/local/include/X11R6
32461 /usr/local/include/X11R5
32462 /usr/local/include/X11R4
32463
32464 /usr/X386/include
32465 /usr/x386/include
32466 /usr/XFree86/include/X11
32467
32468 /usr/include
32469 /usr/local/include
32470 /usr/unsupported/include
32471 /usr/athena/include
32472 /usr/local/x11r5/include
32473 /usr/lpp/Xamples/include
32474
32475 /usr/openwin/include
32476 /usr/openwin/share/include'
32477
32478 if test "$ac_x_includes" = no; then
32479 # Guess where to find include files, by looking for Xlib.h.
32480 # First, try using that file with no special directory specified.
32481 cat >conftest.$ac_ext <<_ACEOF
32482 /* confdefs.h. */
32483 _ACEOF
32484 cat confdefs.h >>conftest.$ac_ext
32485 cat >>conftest.$ac_ext <<_ACEOF
32486 /* end confdefs.h. */
32487 #include <X11/Xlib.h>
32488 _ACEOF
32489 if { (ac_try="$ac_cpp conftest.$ac_ext"
32490 case "(($ac_try" in
32491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32492 *) ac_try_echo=$ac_try;;
32493 esac
32494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32495 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32496 ac_status=$?
32497 grep -v '^ *+' conftest.er1 >conftest.err
32498 rm -f conftest.er1
32499 cat conftest.err >&5
32500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32501 (exit $ac_status); } >/dev/null && {
32502 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32503 test ! -s conftest.err
32504 }; then
32505 # We can compile using X headers with no special include directory.
32506 ac_x_includes=
32507 else
32508 echo "$as_me: failed program was:" >&5
32509 sed 's/^/| /' conftest.$ac_ext >&5
32510
32511 for ac_dir in $ac_x_header_dirs; do
32512 if test -r "$ac_dir/X11/Xlib.h"; then
32513 ac_x_includes=$ac_dir
32514 break
32515 fi
32516 done
32517 fi
32518
32519 rm -f conftest.err conftest.$ac_ext
32520 fi # $ac_x_includes = no
32521
32522 if test "$ac_x_libraries" = no; then
32523 # Check for the libraries.
32524 # See if we find them without any special options.
32525 # Don't add to $LIBS permanently.
32526 ac_save_LIBS=$LIBS
32527 LIBS="-lX11 $LIBS"
32528 cat >conftest.$ac_ext <<_ACEOF
32529 /* confdefs.h. */
32530 _ACEOF
32531 cat confdefs.h >>conftest.$ac_ext
32532 cat >>conftest.$ac_ext <<_ACEOF
32533 /* end confdefs.h. */
32534 #include <X11/Xlib.h>
32535 int
32536 main ()
32537 {
32538 XrmInitialize ()
32539 ;
32540 return 0;
32541 }
32542 _ACEOF
32543 rm -f conftest.$ac_objext conftest$ac_exeext
32544 if { (ac_try="$ac_link"
32545 case "(($ac_try" in
32546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32547 *) ac_try_echo=$ac_try;;
32548 esac
32549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32550 (eval "$ac_link") 2>conftest.er1
32551 ac_status=$?
32552 grep -v '^ *+' conftest.er1 >conftest.err
32553 rm -f conftest.er1
32554 cat conftest.err >&5
32555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32556 (exit $ac_status); } && {
32557 test -z "$ac_c_werror_flag" ||
32558 test ! -s conftest.err
32559 } && test -s conftest$ac_exeext &&
32560 $as_test_x conftest$ac_exeext; then
32561 LIBS=$ac_save_LIBS
32562 # We can link X programs with no special library path.
32563 ac_x_libraries=
32564 else
32565 echo "$as_me: failed program was:" >&5
32566 sed 's/^/| /' conftest.$ac_ext >&5
32567
32568 LIBS=$ac_save_LIBS
32569 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32570 do
32571 # Don't even attempt the hair of trying to link an X program!
32572 for ac_extension in a so sl; do
32573 if test -r "$ac_dir/libX11.$ac_extension"; then
32574 ac_x_libraries=$ac_dir
32575 break 2
32576 fi
32577 done
32578 done
32579 fi
32580
32581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32582 conftest$ac_exeext conftest.$ac_ext
32583 fi # $ac_x_libraries = no
32584
32585 case $ac_x_includes,$ac_x_libraries in #(
32586 no,* | *,no | *\'*)
32587 # Didn't find X, or a directory has "'" in its name.
32588 ac_cv_have_x="have_x=no";; #(
32589 *)
32590 # Record where we found X for the cache.
32591 ac_cv_have_x="have_x=yes\
32592 ac_x_includes='$ac_x_includes'\
32593 ac_x_libraries='$ac_x_libraries'"
32594 esac
32595 fi
32596 ;; #(
32597 *) have_x=yes;;
32598 esac
32599 eval "$ac_cv_have_x"
32600 fi # $with_x != no
32601
32602 if test "$have_x" != yes; then
32603 { echo "$as_me:$LINENO: result: $have_x" >&5
32604 echo "${ECHO_T}$have_x" >&6; }
32605 no_x=yes
32606 else
32607 # If each of the values was on the command line, it overrides each guess.
32608 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32609 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32610 # Update the cache value to reflect the command line values.
32611 ac_cv_have_x="have_x=yes\
32612 ac_x_includes='$x_includes'\
32613 ac_x_libraries='$x_libraries'"
32614 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32615 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32616 fi
32617
32618 if test "$no_x" = yes; then
32619 # Not all programs may use this symbol, but it does not hurt to define it.
32620
32621 cat >>confdefs.h <<\_ACEOF
32622 #define X_DISPLAY_MISSING 1
32623 _ACEOF
32624
32625 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32626 else
32627 if test -n "$x_includes"; then
32628 X_CFLAGS="$X_CFLAGS -I$x_includes"
32629 fi
32630
32631 # It would also be nice to do this for all -L options, not just this one.
32632 if test -n "$x_libraries"; then
32633 X_LIBS="$X_LIBS -L$x_libraries"
32634 # For Solaris; some versions of Sun CC require a space after -R and
32635 # others require no space. Words are not sufficient . . . .
32636 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32637 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32638 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32639 ac_xsave_c_werror_flag=$ac_c_werror_flag
32640 ac_c_werror_flag=yes
32641 cat >conftest.$ac_ext <<_ACEOF
32642 /* confdefs.h. */
32643 _ACEOF
32644 cat confdefs.h >>conftest.$ac_ext
32645 cat >>conftest.$ac_ext <<_ACEOF
32646 /* end confdefs.h. */
32647
32648 int
32649 main ()
32650 {
32651
32652 ;
32653 return 0;
32654 }
32655 _ACEOF
32656 rm -f conftest.$ac_objext conftest$ac_exeext
32657 if { (ac_try="$ac_link"
32658 case "(($ac_try" in
32659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32660 *) ac_try_echo=$ac_try;;
32661 esac
32662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32663 (eval "$ac_link") 2>conftest.er1
32664 ac_status=$?
32665 grep -v '^ *+' conftest.er1 >conftest.err
32666 rm -f conftest.er1
32667 cat conftest.err >&5
32668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32669 (exit $ac_status); } && {
32670 test -z "$ac_c_werror_flag" ||
32671 test ! -s conftest.err
32672 } && test -s conftest$ac_exeext &&
32673 $as_test_x conftest$ac_exeext; then
32674 { echo "$as_me:$LINENO: result: no" >&5
32675 echo "${ECHO_T}no" >&6; }
32676 X_LIBS="$X_LIBS -R$x_libraries"
32677 else
32678 echo "$as_me: failed program was:" >&5
32679 sed 's/^/| /' conftest.$ac_ext >&5
32680
32681 LIBS="$ac_xsave_LIBS -R $x_libraries"
32682 cat >conftest.$ac_ext <<_ACEOF
32683 /* confdefs.h. */
32684 _ACEOF
32685 cat confdefs.h >>conftest.$ac_ext
32686 cat >>conftest.$ac_ext <<_ACEOF
32687 /* end confdefs.h. */
32688
32689 int
32690 main ()
32691 {
32692
32693 ;
32694 return 0;
32695 }
32696 _ACEOF
32697 rm -f conftest.$ac_objext conftest$ac_exeext
32698 if { (ac_try="$ac_link"
32699 case "(($ac_try" in
32700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32701 *) ac_try_echo=$ac_try;;
32702 esac
32703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32704 (eval "$ac_link") 2>conftest.er1
32705 ac_status=$?
32706 grep -v '^ *+' conftest.er1 >conftest.err
32707 rm -f conftest.er1
32708 cat conftest.err >&5
32709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32710 (exit $ac_status); } && {
32711 test -z "$ac_c_werror_flag" ||
32712 test ! -s conftest.err
32713 } && test -s conftest$ac_exeext &&
32714 $as_test_x conftest$ac_exeext; then
32715 { echo "$as_me:$LINENO: result: yes" >&5
32716 echo "${ECHO_T}yes" >&6; }
32717 X_LIBS="$X_LIBS -R $x_libraries"
32718 else
32719 echo "$as_me: failed program was:" >&5
32720 sed 's/^/| /' conftest.$ac_ext >&5
32721
32722 { echo "$as_me:$LINENO: result: neither works" >&5
32723 echo "${ECHO_T}neither works" >&6; }
32724 fi
32725
32726 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32727 conftest$ac_exeext conftest.$ac_ext
32728 fi
32729
32730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32731 conftest$ac_exeext conftest.$ac_ext
32732 ac_c_werror_flag=$ac_xsave_c_werror_flag
32733 LIBS=$ac_xsave_LIBS
32734 fi
32735
32736 # Check for system-dependent libraries X programs must link with.
32737 # Do this before checking for the system-independent R6 libraries
32738 # (-lICE), since we may need -lsocket or whatever for X linking.
32739
32740 if test "$ISC" = yes; then
32741 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32742 else
32743 # Martyn Johnson says this is needed for Ultrix, if the X
32744 # libraries were built with DECnet support. And Karl Berry says
32745 # the Alpha needs dnet_stub (dnet does not exist).
32746 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32747 cat >conftest.$ac_ext <<_ACEOF
32748 /* confdefs.h. */
32749 _ACEOF
32750 cat confdefs.h >>conftest.$ac_ext
32751 cat >>conftest.$ac_ext <<_ACEOF
32752 /* end confdefs.h. */
32753
32754 /* Override any GCC internal prototype to avoid an error.
32755 Use char because int might match the return type of a GCC
32756 builtin and then its argument prototype would still apply. */
32757 #ifdef __cplusplus
32758 extern "C"
32759 #endif
32760 char XOpenDisplay ();
32761 int
32762 main ()
32763 {
32764 return XOpenDisplay ();
32765 ;
32766 return 0;
32767 }
32768 _ACEOF
32769 rm -f conftest.$ac_objext conftest$ac_exeext
32770 if { (ac_try="$ac_link"
32771 case "(($ac_try" in
32772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32773 *) ac_try_echo=$ac_try;;
32774 esac
32775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32776 (eval "$ac_link") 2>conftest.er1
32777 ac_status=$?
32778 grep -v '^ *+' conftest.er1 >conftest.err
32779 rm -f conftest.er1
32780 cat conftest.err >&5
32781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32782 (exit $ac_status); } && {
32783 test -z "$ac_c_werror_flag" ||
32784 test ! -s conftest.err
32785 } && test -s conftest$ac_exeext &&
32786 $as_test_x conftest$ac_exeext; then
32787 :
32788 else
32789 echo "$as_me: failed program was:" >&5
32790 sed 's/^/| /' conftest.$ac_ext >&5
32791
32792 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32793 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32794 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32795 echo $ECHO_N "(cached) $ECHO_C" >&6
32796 else
32797 ac_check_lib_save_LIBS=$LIBS
32798 LIBS="-ldnet $LIBS"
32799 cat >conftest.$ac_ext <<_ACEOF
32800 /* confdefs.h. */
32801 _ACEOF
32802 cat confdefs.h >>conftest.$ac_ext
32803 cat >>conftest.$ac_ext <<_ACEOF
32804 /* end confdefs.h. */
32805
32806 /* Override any GCC internal prototype to avoid an error.
32807 Use char because int might match the return type of a GCC
32808 builtin and then its argument prototype would still apply. */
32809 #ifdef __cplusplus
32810 extern "C"
32811 #endif
32812 char dnet_ntoa ();
32813 int
32814 main ()
32815 {
32816 return dnet_ntoa ();
32817 ;
32818 return 0;
32819 }
32820 _ACEOF
32821 rm -f conftest.$ac_objext conftest$ac_exeext
32822 if { (ac_try="$ac_link"
32823 case "(($ac_try" in
32824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32825 *) ac_try_echo=$ac_try;;
32826 esac
32827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32828 (eval "$ac_link") 2>conftest.er1
32829 ac_status=$?
32830 grep -v '^ *+' conftest.er1 >conftest.err
32831 rm -f conftest.er1
32832 cat conftest.err >&5
32833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32834 (exit $ac_status); } && {
32835 test -z "$ac_c_werror_flag" ||
32836 test ! -s conftest.err
32837 } && test -s conftest$ac_exeext &&
32838 $as_test_x conftest$ac_exeext; then
32839 ac_cv_lib_dnet_dnet_ntoa=yes
32840 else
32841 echo "$as_me: failed program was:" >&5
32842 sed 's/^/| /' conftest.$ac_ext >&5
32843
32844 ac_cv_lib_dnet_dnet_ntoa=no
32845 fi
32846
32847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32848 conftest$ac_exeext conftest.$ac_ext
32849 LIBS=$ac_check_lib_save_LIBS
32850 fi
32851 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32852 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32853 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32854 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32855 fi
32856
32857 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32858 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32859 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32860 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32861 echo $ECHO_N "(cached) $ECHO_C" >&6
32862 else
32863 ac_check_lib_save_LIBS=$LIBS
32864 LIBS="-ldnet_stub $LIBS"
32865 cat >conftest.$ac_ext <<_ACEOF
32866 /* confdefs.h. */
32867 _ACEOF
32868 cat confdefs.h >>conftest.$ac_ext
32869 cat >>conftest.$ac_ext <<_ACEOF
32870 /* end confdefs.h. */
32871
32872 /* Override any GCC internal prototype to avoid an error.
32873 Use char because int might match the return type of a GCC
32874 builtin and then its argument prototype would still apply. */
32875 #ifdef __cplusplus
32876 extern "C"
32877 #endif
32878 char dnet_ntoa ();
32879 int
32880 main ()
32881 {
32882 return dnet_ntoa ();
32883 ;
32884 return 0;
32885 }
32886 _ACEOF
32887 rm -f conftest.$ac_objext conftest$ac_exeext
32888 if { (ac_try="$ac_link"
32889 case "(($ac_try" in
32890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32891 *) ac_try_echo=$ac_try;;
32892 esac
32893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32894 (eval "$ac_link") 2>conftest.er1
32895 ac_status=$?
32896 grep -v '^ *+' conftest.er1 >conftest.err
32897 rm -f conftest.er1
32898 cat conftest.err >&5
32899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32900 (exit $ac_status); } && {
32901 test -z "$ac_c_werror_flag" ||
32902 test ! -s conftest.err
32903 } && test -s conftest$ac_exeext &&
32904 $as_test_x conftest$ac_exeext; then
32905 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32906 else
32907 echo "$as_me: failed program was:" >&5
32908 sed 's/^/| /' conftest.$ac_ext >&5
32909
32910 ac_cv_lib_dnet_stub_dnet_ntoa=no
32911 fi
32912
32913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32914 conftest$ac_exeext conftest.$ac_ext
32915 LIBS=$ac_check_lib_save_LIBS
32916 fi
32917 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32918 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32919 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32920 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32921 fi
32922
32923 fi
32924 fi
32925
32926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32927 conftest$ac_exeext conftest.$ac_ext
32928 LIBS="$ac_xsave_LIBS"
32929
32930 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32931 # to get the SysV transport functions.
32932 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32933 # needs -lnsl.
32934 # The nsl library prevents programs from opening the X display
32935 # on Irix 5.2, according to T.E. Dickey.
32936 # The functions gethostbyname, getservbyname, and inet_addr are
32937 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32938 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32939 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32940 if test "${ac_cv_func_gethostbyname+set}" = set; then
32941 echo $ECHO_N "(cached) $ECHO_C" >&6
32942 else
32943 cat >conftest.$ac_ext <<_ACEOF
32944 /* confdefs.h. */
32945 _ACEOF
32946 cat confdefs.h >>conftest.$ac_ext
32947 cat >>conftest.$ac_ext <<_ACEOF
32948 /* end confdefs.h. */
32949 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32951 #define gethostbyname innocuous_gethostbyname
32952
32953 /* System header to define __stub macros and hopefully few prototypes,
32954 which can conflict with char gethostbyname (); below.
32955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32956 <limits.h> exists even on freestanding compilers. */
32957
32958 #ifdef __STDC__
32959 # include <limits.h>
32960 #else
32961 # include <assert.h>
32962 #endif
32963
32964 #undef gethostbyname
32965
32966 /* Override any GCC internal prototype to avoid an error.
32967 Use char because int might match the return type of a GCC
32968 builtin and then its argument prototype would still apply. */
32969 #ifdef __cplusplus
32970 extern "C"
32971 #endif
32972 char gethostbyname ();
32973 /* The GNU C library defines this for functions which it implements
32974 to always fail with ENOSYS. Some functions are actually named
32975 something starting with __ and the normal name is an alias. */
32976 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32977 choke me
32978 #endif
32979
32980 int
32981 main ()
32982 {
32983 return gethostbyname ();
32984 ;
32985 return 0;
32986 }
32987 _ACEOF
32988 rm -f conftest.$ac_objext conftest$ac_exeext
32989 if { (ac_try="$ac_link"
32990 case "(($ac_try" in
32991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32992 *) ac_try_echo=$ac_try;;
32993 esac
32994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32995 (eval "$ac_link") 2>conftest.er1
32996 ac_status=$?
32997 grep -v '^ *+' conftest.er1 >conftest.err
32998 rm -f conftest.er1
32999 cat conftest.err >&5
33000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33001 (exit $ac_status); } && {
33002 test -z "$ac_c_werror_flag" ||
33003 test ! -s conftest.err
33004 } && test -s conftest$ac_exeext &&
33005 $as_test_x conftest$ac_exeext; then
33006 ac_cv_func_gethostbyname=yes
33007 else
33008 echo "$as_me: failed program was:" >&5
33009 sed 's/^/| /' conftest.$ac_ext >&5
33010
33011 ac_cv_func_gethostbyname=no
33012 fi
33013
33014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33015 conftest$ac_exeext conftest.$ac_ext
33016 fi
33017 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
33018 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
33019
33020 if test $ac_cv_func_gethostbyname = no; then
33021 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
33022 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
33023 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
33024 echo $ECHO_N "(cached) $ECHO_C" >&6
33025 else
33026 ac_check_lib_save_LIBS=$LIBS
33027 LIBS="-lnsl $LIBS"
33028 cat >conftest.$ac_ext <<_ACEOF
33029 /* confdefs.h. */
33030 _ACEOF
33031 cat confdefs.h >>conftest.$ac_ext
33032 cat >>conftest.$ac_ext <<_ACEOF
33033 /* end confdefs.h. */
33034
33035 /* Override any GCC internal prototype to avoid an error.
33036 Use char because int might match the return type of a GCC
33037 builtin and then its argument prototype would still apply. */
33038 #ifdef __cplusplus
33039 extern "C"
33040 #endif
33041 char gethostbyname ();
33042 int
33043 main ()
33044 {
33045 return gethostbyname ();
33046 ;
33047 return 0;
33048 }
33049 _ACEOF
33050 rm -f conftest.$ac_objext conftest$ac_exeext
33051 if { (ac_try="$ac_link"
33052 case "(($ac_try" in
33053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33054 *) ac_try_echo=$ac_try;;
33055 esac
33056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33057 (eval "$ac_link") 2>conftest.er1
33058 ac_status=$?
33059 grep -v '^ *+' conftest.er1 >conftest.err
33060 rm -f conftest.er1
33061 cat conftest.err >&5
33062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33063 (exit $ac_status); } && {
33064 test -z "$ac_c_werror_flag" ||
33065 test ! -s conftest.err
33066 } && test -s conftest$ac_exeext &&
33067 $as_test_x conftest$ac_exeext; then
33068 ac_cv_lib_nsl_gethostbyname=yes
33069 else
33070 echo "$as_me: failed program was:" >&5
33071 sed 's/^/| /' conftest.$ac_ext >&5
33072
33073 ac_cv_lib_nsl_gethostbyname=no
33074 fi
33075
33076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33077 conftest$ac_exeext conftest.$ac_ext
33078 LIBS=$ac_check_lib_save_LIBS
33079 fi
33080 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
33081 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
33082 if test $ac_cv_lib_nsl_gethostbyname = yes; then
33083 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
33084 fi
33085
33086 if test $ac_cv_lib_nsl_gethostbyname = no; then
33087 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
33088 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
33089 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
33090 echo $ECHO_N "(cached) $ECHO_C" >&6
33091 else
33092 ac_check_lib_save_LIBS=$LIBS
33093 LIBS="-lbsd $LIBS"
33094 cat >conftest.$ac_ext <<_ACEOF
33095 /* confdefs.h. */
33096 _ACEOF
33097 cat confdefs.h >>conftest.$ac_ext
33098 cat >>conftest.$ac_ext <<_ACEOF
33099 /* end confdefs.h. */
33100
33101 /* Override any GCC internal prototype to avoid an error.
33102 Use char because int might match the return type of a GCC
33103 builtin and then its argument prototype would still apply. */
33104 #ifdef __cplusplus
33105 extern "C"
33106 #endif
33107 char gethostbyname ();
33108 int
33109 main ()
33110 {
33111 return gethostbyname ();
33112 ;
33113 return 0;
33114 }
33115 _ACEOF
33116 rm -f conftest.$ac_objext conftest$ac_exeext
33117 if { (ac_try="$ac_link"
33118 case "(($ac_try" in
33119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33120 *) ac_try_echo=$ac_try;;
33121 esac
33122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33123 (eval "$ac_link") 2>conftest.er1
33124 ac_status=$?
33125 grep -v '^ *+' conftest.er1 >conftest.err
33126 rm -f conftest.er1
33127 cat conftest.err >&5
33128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33129 (exit $ac_status); } && {
33130 test -z "$ac_c_werror_flag" ||
33131 test ! -s conftest.err
33132 } && test -s conftest$ac_exeext &&
33133 $as_test_x conftest$ac_exeext; then
33134 ac_cv_lib_bsd_gethostbyname=yes
33135 else
33136 echo "$as_me: failed program was:" >&5
33137 sed 's/^/| /' conftest.$ac_ext >&5
33138
33139 ac_cv_lib_bsd_gethostbyname=no
33140 fi
33141
33142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33143 conftest$ac_exeext conftest.$ac_ext
33144 LIBS=$ac_check_lib_save_LIBS
33145 fi
33146 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
33147 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
33148 if test $ac_cv_lib_bsd_gethostbyname = yes; then
33149 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
33150 fi
33151
33152 fi
33153 fi
33154
33155 # lieder@skyler.mavd.honeywell.com says without -lsocket,
33156 # socket/setsockopt and other routines are undefined under SCO ODT
33157 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
33158 # on later versions), says Simon Leinen: it contains gethostby*
33159 # variants that don't use the name server (or something). -lsocket
33160 # must be given before -lnsl if both are needed. We assume that
33161 # if connect needs -lnsl, so does gethostbyname.
33162 { echo "$as_me:$LINENO: checking for connect" >&5
33163 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
33164 if test "${ac_cv_func_connect+set}" = set; then
33165 echo $ECHO_N "(cached) $ECHO_C" >&6
33166 else
33167 cat >conftest.$ac_ext <<_ACEOF
33168 /* confdefs.h. */
33169 _ACEOF
33170 cat confdefs.h >>conftest.$ac_ext
33171 cat >>conftest.$ac_ext <<_ACEOF
33172 /* end confdefs.h. */
33173 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
33174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33175 #define connect innocuous_connect
33176
33177 /* System header to define __stub macros and hopefully few prototypes,
33178 which can conflict with char connect (); below.
33179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33180 <limits.h> exists even on freestanding compilers. */
33181
33182 #ifdef __STDC__
33183 # include <limits.h>
33184 #else
33185 # include <assert.h>
33186 #endif
33187
33188 #undef connect
33189
33190 /* Override any GCC internal prototype to avoid an error.
33191 Use char because int might match the return type of a GCC
33192 builtin and then its argument prototype would still apply. */
33193 #ifdef __cplusplus
33194 extern "C"
33195 #endif
33196 char connect ();
33197 /* The GNU C library defines this for functions which it implements
33198 to always fail with ENOSYS. Some functions are actually named
33199 something starting with __ and the normal name is an alias. */
33200 #if defined __stub_connect || defined __stub___connect
33201 choke me
33202 #endif
33203
33204 int
33205 main ()
33206 {
33207 return connect ();
33208 ;
33209 return 0;
33210 }
33211 _ACEOF
33212 rm -f conftest.$ac_objext conftest$ac_exeext
33213 if { (ac_try="$ac_link"
33214 case "(($ac_try" in
33215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33216 *) ac_try_echo=$ac_try;;
33217 esac
33218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33219 (eval "$ac_link") 2>conftest.er1
33220 ac_status=$?
33221 grep -v '^ *+' conftest.er1 >conftest.err
33222 rm -f conftest.er1
33223 cat conftest.err >&5
33224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33225 (exit $ac_status); } && {
33226 test -z "$ac_c_werror_flag" ||
33227 test ! -s conftest.err
33228 } && test -s conftest$ac_exeext &&
33229 $as_test_x conftest$ac_exeext; then
33230 ac_cv_func_connect=yes
33231 else
33232 echo "$as_me: failed program was:" >&5
33233 sed 's/^/| /' conftest.$ac_ext >&5
33234
33235 ac_cv_func_connect=no
33236 fi
33237
33238 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33239 conftest$ac_exeext conftest.$ac_ext
33240 fi
33241 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
33242 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
33243
33244 if test $ac_cv_func_connect = no; then
33245 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
33246 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
33247 if test "${ac_cv_lib_socket_connect+set}" = set; then
33248 echo $ECHO_N "(cached) $ECHO_C" >&6
33249 else
33250 ac_check_lib_save_LIBS=$LIBS
33251 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
33252 cat >conftest.$ac_ext <<_ACEOF
33253 /* confdefs.h. */
33254 _ACEOF
33255 cat confdefs.h >>conftest.$ac_ext
33256 cat >>conftest.$ac_ext <<_ACEOF
33257 /* end confdefs.h. */
33258
33259 /* Override any GCC internal prototype to avoid an error.
33260 Use char because int might match the return type of a GCC
33261 builtin and then its argument prototype would still apply. */
33262 #ifdef __cplusplus
33263 extern "C"
33264 #endif
33265 char connect ();
33266 int
33267 main ()
33268 {
33269 return connect ();
33270 ;
33271 return 0;
33272 }
33273 _ACEOF
33274 rm -f conftest.$ac_objext conftest$ac_exeext
33275 if { (ac_try="$ac_link"
33276 case "(($ac_try" in
33277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33278 *) ac_try_echo=$ac_try;;
33279 esac
33280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33281 (eval "$ac_link") 2>conftest.er1
33282 ac_status=$?
33283 grep -v '^ *+' conftest.er1 >conftest.err
33284 rm -f conftest.er1
33285 cat conftest.err >&5
33286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33287 (exit $ac_status); } && {
33288 test -z "$ac_c_werror_flag" ||
33289 test ! -s conftest.err
33290 } && test -s conftest$ac_exeext &&
33291 $as_test_x conftest$ac_exeext; then
33292 ac_cv_lib_socket_connect=yes
33293 else
33294 echo "$as_me: failed program was:" >&5
33295 sed 's/^/| /' conftest.$ac_ext >&5
33296
33297 ac_cv_lib_socket_connect=no
33298 fi
33299
33300 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33301 conftest$ac_exeext conftest.$ac_ext
33302 LIBS=$ac_check_lib_save_LIBS
33303 fi
33304 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
33305 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33306 if test $ac_cv_lib_socket_connect = yes; then
33307 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33308 fi
33309
33310 fi
33311
33312 # Guillermo Gomez says -lposix is necessary on A/UX.
33313 { echo "$as_me:$LINENO: checking for remove" >&5
33314 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33315 if test "${ac_cv_func_remove+set}" = set; then
33316 echo $ECHO_N "(cached) $ECHO_C" >&6
33317 else
33318 cat >conftest.$ac_ext <<_ACEOF
33319 /* confdefs.h. */
33320 _ACEOF
33321 cat confdefs.h >>conftest.$ac_ext
33322 cat >>conftest.$ac_ext <<_ACEOF
33323 /* end confdefs.h. */
33324 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33326 #define remove innocuous_remove
33327
33328 /* System header to define __stub macros and hopefully few prototypes,
33329 which can conflict with char remove (); below.
33330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33331 <limits.h> exists even on freestanding compilers. */
33332
33333 #ifdef __STDC__
33334 # include <limits.h>
33335 #else
33336 # include <assert.h>
33337 #endif
33338
33339 #undef remove
33340
33341 /* Override any GCC internal prototype to avoid an error.
33342 Use char because int might match the return type of a GCC
33343 builtin and then its argument prototype would still apply. */
33344 #ifdef __cplusplus
33345 extern "C"
33346 #endif
33347 char remove ();
33348 /* The GNU C library defines this for functions which it implements
33349 to always fail with ENOSYS. Some functions are actually named
33350 something starting with __ and the normal name is an alias. */
33351 #if defined __stub_remove || defined __stub___remove
33352 choke me
33353 #endif
33354
33355 int
33356 main ()
33357 {
33358 return remove ();
33359 ;
33360 return 0;
33361 }
33362 _ACEOF
33363 rm -f conftest.$ac_objext conftest$ac_exeext
33364 if { (ac_try="$ac_link"
33365 case "(($ac_try" in
33366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33367 *) ac_try_echo=$ac_try;;
33368 esac
33369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33370 (eval "$ac_link") 2>conftest.er1
33371 ac_status=$?
33372 grep -v '^ *+' conftest.er1 >conftest.err
33373 rm -f conftest.er1
33374 cat conftest.err >&5
33375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33376 (exit $ac_status); } && {
33377 test -z "$ac_c_werror_flag" ||
33378 test ! -s conftest.err
33379 } && test -s conftest$ac_exeext &&
33380 $as_test_x conftest$ac_exeext; then
33381 ac_cv_func_remove=yes
33382 else
33383 echo "$as_me: failed program was:" >&5
33384 sed 's/^/| /' conftest.$ac_ext >&5
33385
33386 ac_cv_func_remove=no
33387 fi
33388
33389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33390 conftest$ac_exeext conftest.$ac_ext
33391 fi
33392 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33393 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33394
33395 if test $ac_cv_func_remove = no; then
33396 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33397 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33398 if test "${ac_cv_lib_posix_remove+set}" = set; then
33399 echo $ECHO_N "(cached) $ECHO_C" >&6
33400 else
33401 ac_check_lib_save_LIBS=$LIBS
33402 LIBS="-lposix $LIBS"
33403 cat >conftest.$ac_ext <<_ACEOF
33404 /* confdefs.h. */
33405 _ACEOF
33406 cat confdefs.h >>conftest.$ac_ext
33407 cat >>conftest.$ac_ext <<_ACEOF
33408 /* end confdefs.h. */
33409
33410 /* Override any GCC internal prototype to avoid an error.
33411 Use char because int might match the return type of a GCC
33412 builtin and then its argument prototype would still apply. */
33413 #ifdef __cplusplus
33414 extern "C"
33415 #endif
33416 char remove ();
33417 int
33418 main ()
33419 {
33420 return remove ();
33421 ;
33422 return 0;
33423 }
33424 _ACEOF
33425 rm -f conftest.$ac_objext conftest$ac_exeext
33426 if { (ac_try="$ac_link"
33427 case "(($ac_try" in
33428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33429 *) ac_try_echo=$ac_try;;
33430 esac
33431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33432 (eval "$ac_link") 2>conftest.er1
33433 ac_status=$?
33434 grep -v '^ *+' conftest.er1 >conftest.err
33435 rm -f conftest.er1
33436 cat conftest.err >&5
33437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33438 (exit $ac_status); } && {
33439 test -z "$ac_c_werror_flag" ||
33440 test ! -s conftest.err
33441 } && test -s conftest$ac_exeext &&
33442 $as_test_x conftest$ac_exeext; then
33443 ac_cv_lib_posix_remove=yes
33444 else
33445 echo "$as_me: failed program was:" >&5
33446 sed 's/^/| /' conftest.$ac_ext >&5
33447
33448 ac_cv_lib_posix_remove=no
33449 fi
33450
33451 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33452 conftest$ac_exeext conftest.$ac_ext
33453 LIBS=$ac_check_lib_save_LIBS
33454 fi
33455 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33456 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33457 if test $ac_cv_lib_posix_remove = yes; then
33458 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33459 fi
33460
33461 fi
33462
33463 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33464 { echo "$as_me:$LINENO: checking for shmat" >&5
33465 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33466 if test "${ac_cv_func_shmat+set}" = set; then
33467 echo $ECHO_N "(cached) $ECHO_C" >&6
33468 else
33469 cat >conftest.$ac_ext <<_ACEOF
33470 /* confdefs.h. */
33471 _ACEOF
33472 cat confdefs.h >>conftest.$ac_ext
33473 cat >>conftest.$ac_ext <<_ACEOF
33474 /* end confdefs.h. */
33475 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33477 #define shmat innocuous_shmat
33478
33479 /* System header to define __stub macros and hopefully few prototypes,
33480 which can conflict with char shmat (); below.
33481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33482 <limits.h> exists even on freestanding compilers. */
33483
33484 #ifdef __STDC__
33485 # include <limits.h>
33486 #else
33487 # include <assert.h>
33488 #endif
33489
33490 #undef shmat
33491
33492 /* Override any GCC internal prototype to avoid an error.
33493 Use char because int might match the return type of a GCC
33494 builtin and then its argument prototype would still apply. */
33495 #ifdef __cplusplus
33496 extern "C"
33497 #endif
33498 char shmat ();
33499 /* The GNU C library defines this for functions which it implements
33500 to always fail with ENOSYS. Some functions are actually named
33501 something starting with __ and the normal name is an alias. */
33502 #if defined __stub_shmat || defined __stub___shmat
33503 choke me
33504 #endif
33505
33506 int
33507 main ()
33508 {
33509 return shmat ();
33510 ;
33511 return 0;
33512 }
33513 _ACEOF
33514 rm -f conftest.$ac_objext conftest$ac_exeext
33515 if { (ac_try="$ac_link"
33516 case "(($ac_try" in
33517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33518 *) ac_try_echo=$ac_try;;
33519 esac
33520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33521 (eval "$ac_link") 2>conftest.er1
33522 ac_status=$?
33523 grep -v '^ *+' conftest.er1 >conftest.err
33524 rm -f conftest.er1
33525 cat conftest.err >&5
33526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33527 (exit $ac_status); } && {
33528 test -z "$ac_c_werror_flag" ||
33529 test ! -s conftest.err
33530 } && test -s conftest$ac_exeext &&
33531 $as_test_x conftest$ac_exeext; then
33532 ac_cv_func_shmat=yes
33533 else
33534 echo "$as_me: failed program was:" >&5
33535 sed 's/^/| /' conftest.$ac_ext >&5
33536
33537 ac_cv_func_shmat=no
33538 fi
33539
33540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33541 conftest$ac_exeext conftest.$ac_ext
33542 fi
33543 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33544 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33545
33546 if test $ac_cv_func_shmat = no; then
33547 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33548 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33549 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33550 echo $ECHO_N "(cached) $ECHO_C" >&6
33551 else
33552 ac_check_lib_save_LIBS=$LIBS
33553 LIBS="-lipc $LIBS"
33554 cat >conftest.$ac_ext <<_ACEOF
33555 /* confdefs.h. */
33556 _ACEOF
33557 cat confdefs.h >>conftest.$ac_ext
33558 cat >>conftest.$ac_ext <<_ACEOF
33559 /* end confdefs.h. */
33560
33561 /* Override any GCC internal prototype to avoid an error.
33562 Use char because int might match the return type of a GCC
33563 builtin and then its argument prototype would still apply. */
33564 #ifdef __cplusplus
33565 extern "C"
33566 #endif
33567 char shmat ();
33568 int
33569 main ()
33570 {
33571 return shmat ();
33572 ;
33573 return 0;
33574 }
33575 _ACEOF
33576 rm -f conftest.$ac_objext conftest$ac_exeext
33577 if { (ac_try="$ac_link"
33578 case "(($ac_try" in
33579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33580 *) ac_try_echo=$ac_try;;
33581 esac
33582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33583 (eval "$ac_link") 2>conftest.er1
33584 ac_status=$?
33585 grep -v '^ *+' conftest.er1 >conftest.err
33586 rm -f conftest.er1
33587 cat conftest.err >&5
33588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33589 (exit $ac_status); } && {
33590 test -z "$ac_c_werror_flag" ||
33591 test ! -s conftest.err
33592 } && test -s conftest$ac_exeext &&
33593 $as_test_x conftest$ac_exeext; then
33594 ac_cv_lib_ipc_shmat=yes
33595 else
33596 echo "$as_me: failed program was:" >&5
33597 sed 's/^/| /' conftest.$ac_ext >&5
33598
33599 ac_cv_lib_ipc_shmat=no
33600 fi
33601
33602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33603 conftest$ac_exeext conftest.$ac_ext
33604 LIBS=$ac_check_lib_save_LIBS
33605 fi
33606 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33607 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33608 if test $ac_cv_lib_ipc_shmat = yes; then
33609 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33610 fi
33611
33612 fi
33613 fi
33614
33615 # Check for libraries that X11R6 Xt/Xaw programs need.
33616 ac_save_LDFLAGS=$LDFLAGS
33617 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33618 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33619 # check for ICE first), but we must link in the order -lSM -lICE or
33620 # we get undefined symbols. So assume we have SM if we have ICE.
33621 # These have to be linked with before -lX11, unlike the other
33622 # libraries we check for below, so use a different variable.
33623 # John Interrante, Karl Berry
33624 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33625 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33626 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33627 echo $ECHO_N "(cached) $ECHO_C" >&6
33628 else
33629 ac_check_lib_save_LIBS=$LIBS
33630 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33631 cat >conftest.$ac_ext <<_ACEOF
33632 /* confdefs.h. */
33633 _ACEOF
33634 cat confdefs.h >>conftest.$ac_ext
33635 cat >>conftest.$ac_ext <<_ACEOF
33636 /* end confdefs.h. */
33637
33638 /* Override any GCC internal prototype to avoid an error.
33639 Use char because int might match the return type of a GCC
33640 builtin and then its argument prototype would still apply. */
33641 #ifdef __cplusplus
33642 extern "C"
33643 #endif
33644 char IceConnectionNumber ();
33645 int
33646 main ()
33647 {
33648 return IceConnectionNumber ();
33649 ;
33650 return 0;
33651 }
33652 _ACEOF
33653 rm -f conftest.$ac_objext conftest$ac_exeext
33654 if { (ac_try="$ac_link"
33655 case "(($ac_try" in
33656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33657 *) ac_try_echo=$ac_try;;
33658 esac
33659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33660 (eval "$ac_link") 2>conftest.er1
33661 ac_status=$?
33662 grep -v '^ *+' conftest.er1 >conftest.err
33663 rm -f conftest.er1
33664 cat conftest.err >&5
33665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33666 (exit $ac_status); } && {
33667 test -z "$ac_c_werror_flag" ||
33668 test ! -s conftest.err
33669 } && test -s conftest$ac_exeext &&
33670 $as_test_x conftest$ac_exeext; then
33671 ac_cv_lib_ICE_IceConnectionNumber=yes
33672 else
33673 echo "$as_me: failed program was:" >&5
33674 sed 's/^/| /' conftest.$ac_ext >&5
33675
33676 ac_cv_lib_ICE_IceConnectionNumber=no
33677 fi
33678
33679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33680 conftest$ac_exeext conftest.$ac_ext
33681 LIBS=$ac_check_lib_save_LIBS
33682 fi
33683 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33684 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33685 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33686 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33687 fi
33688
33689 LDFLAGS=$ac_save_LDFLAGS
33690
33691 fi
33692
33693
33694 if test "$no_x" = "yes"; then
33695 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33696 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33697 { (exit 1); exit 1; }; }
33698 fi
33699
33700 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33701 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33702 AFMINSTALL=afminstall
33703 COMPILED_X_PROGRAM=0
33704
33705 fi
33706
33707 if test "$wxUSE_X11" = 1; then
33708 if test "$wxUSE_NANOX" = "yes"; then
33709 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33710 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33711 if test "x$MICROWIN" = x ; then
33712 { echo "$as_me:$LINENO: result: not found" >&5
33713 echo "${ECHO_T}not found" >&6; }
33714 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33715 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33716 { (exit 1); exit 1; }; }
33717 else
33718 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33719 echo "${ECHO_T}$MICROWIN" >&6; }
33720 cat >>confdefs.h <<\_ACEOF
33721 #define wxUSE_NANOX 1
33722 _ACEOF
33723
33724 fi
33725 fi
33726
33727 if test "$wxUSE_UNICODE" = "yes"; then
33728
33729
33730 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33731 if test -n "$ac_tool_prefix"; then
33732 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33733 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33734 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33736 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33737 echo $ECHO_N "(cached) $ECHO_C" >&6
33738 else
33739 case $PKG_CONFIG in
33740 [\\/]* | ?:[\\/]*)
33741 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33742 ;;
33743 *)
33744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33745 for as_dir in $PATH
33746 do
33747 IFS=$as_save_IFS
33748 test -z "$as_dir" && as_dir=.
33749 for ac_exec_ext in '' $ac_executable_extensions; do
33750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33751 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33753 break 2
33754 fi
33755 done
33756 done
33757 IFS=$as_save_IFS
33758
33759 ;;
33760 esac
33761 fi
33762 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33763 if test -n "$PKG_CONFIG"; then
33764 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33765 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33766 else
33767 { echo "$as_me:$LINENO: result: no" >&5
33768 echo "${ECHO_T}no" >&6; }
33769 fi
33770
33771
33772 fi
33773 if test -z "$ac_cv_path_PKG_CONFIG"; then
33774 ac_pt_PKG_CONFIG=$PKG_CONFIG
33775 # Extract the first word of "pkg-config", so it can be a program name with args.
33776 set dummy pkg-config; ac_word=$2
33777 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33779 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33780 echo $ECHO_N "(cached) $ECHO_C" >&6
33781 else
33782 case $ac_pt_PKG_CONFIG in
33783 [\\/]* | ?:[\\/]*)
33784 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33785 ;;
33786 *)
33787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33788 for as_dir in $PATH
33789 do
33790 IFS=$as_save_IFS
33791 test -z "$as_dir" && as_dir=.
33792 for ac_exec_ext in '' $ac_executable_extensions; do
33793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33794 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33796 break 2
33797 fi
33798 done
33799 done
33800 IFS=$as_save_IFS
33801
33802 ;;
33803 esac
33804 fi
33805 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33806 if test -n "$ac_pt_PKG_CONFIG"; then
33807 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33808 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33809 else
33810 { echo "$as_me:$LINENO: result: no" >&5
33811 echo "${ECHO_T}no" >&6; }
33812 fi
33813
33814 if test "x$ac_pt_PKG_CONFIG" = x; then
33815 PKG_CONFIG=""
33816 else
33817 case $cross_compiling:$ac_tool_warned in
33818 yes:)
33819 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33820 whose name does not start with the host triplet. If you think this
33821 configuration is useful to you, please write to autoconf@gnu.org." >&5
33822 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33823 whose name does not start with the host triplet. If you think this
33824 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33825 ac_tool_warned=yes ;;
33826 esac
33827 PKG_CONFIG=$ac_pt_PKG_CONFIG
33828 fi
33829 else
33830 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33831 fi
33832
33833 fi
33834 if test -n "$PKG_CONFIG"; then
33835 _pkg_min_version=0.9.0
33836 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33837 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33838 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33839 { echo "$as_me:$LINENO: result: yes" >&5
33840 echo "${ECHO_T}yes" >&6; }
33841 else
33842 { echo "$as_me:$LINENO: result: no" >&5
33843 echo "${ECHO_T}no" >&6; }
33844 PKG_CONFIG=""
33845 fi
33846
33847 fi
33848
33849
33850 pkg_failed=no
33851 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33852 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33853
33854 if test -n "$PKG_CONFIG"; then
33855 if test -n "$PANGOX_CFLAGS"; then
33856 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33857 else
33858 if test -n "$PKG_CONFIG" && \
33859 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33860 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33861 ac_status=$?
33862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33863 (exit $ac_status); }; then
33864 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33865 else
33866 pkg_failed=yes
33867 fi
33868 fi
33869 else
33870 pkg_failed=untried
33871 fi
33872 if test -n "$PKG_CONFIG"; then
33873 if test -n "$PANGOX_LIBS"; then
33874 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33875 else
33876 if test -n "$PKG_CONFIG" && \
33877 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33878 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33879 ac_status=$?
33880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33881 (exit $ac_status); }; then
33882 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33883 else
33884 pkg_failed=yes
33885 fi
33886 fi
33887 else
33888 pkg_failed=untried
33889 fi
33890
33891
33892
33893 if test $pkg_failed = yes; then
33894
33895 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33896 _pkg_short_errors_supported=yes
33897 else
33898 _pkg_short_errors_supported=no
33899 fi
33900 if test $_pkg_short_errors_supported = yes; then
33901 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33902 else
33903 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33904 fi
33905 # Put the nasty error message in config.log where it belongs
33906 echo "$PANGOX_PKG_ERRORS" >&5
33907
33908
33909 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33910 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33911 { (exit 1); exit 1; }; }
33912
33913
33914 elif test $pkg_failed = untried; then
33915
33916 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33917 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33918 { (exit 1); exit 1; }; }
33919
33920
33921 else
33922 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33923 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33924 { echo "$as_me:$LINENO: result: yes" >&5
33925 echo "${ECHO_T}yes" >&6; }
33926
33927 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33928 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33929 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33930
33931 fi
33932
33933 pkg_failed=no
33934 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33935 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33936
33937 if test -n "$PKG_CONFIG"; then
33938 if test -n "$PANGOFT2_CFLAGS"; then
33939 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33940 else
33941 if test -n "$PKG_CONFIG" && \
33942 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33943 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33944 ac_status=$?
33945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33946 (exit $ac_status); }; then
33947 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33948 else
33949 pkg_failed=yes
33950 fi
33951 fi
33952 else
33953 pkg_failed=untried
33954 fi
33955 if test -n "$PKG_CONFIG"; then
33956 if test -n "$PANGOFT2_LIBS"; then
33957 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33958 else
33959 if test -n "$PKG_CONFIG" && \
33960 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33961 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33962 ac_status=$?
33963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33964 (exit $ac_status); }; then
33965 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33966 else
33967 pkg_failed=yes
33968 fi
33969 fi
33970 else
33971 pkg_failed=untried
33972 fi
33973
33974
33975
33976 if test $pkg_failed = yes; then
33977
33978 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33979 _pkg_short_errors_supported=yes
33980 else
33981 _pkg_short_errors_supported=no
33982 fi
33983 if test $_pkg_short_errors_supported = yes; then
33984 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33985 else
33986 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33987 fi
33988 # Put the nasty error message in config.log where it belongs
33989 echo "$PANGOFT2_PKG_ERRORS" >&5
33990
33991
33992 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33993 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33994 wxUSE_PRINTING_ARCHITECTURE="no"
33995
33996
33997 elif test $pkg_failed = untried; then
33998
33999 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
34000 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
34001 wxUSE_PRINTING_ARCHITECTURE="no"
34002
34003
34004 else
34005 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
34006 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
34007 { echo "$as_me:$LINENO: result: yes" >&5
34008 echo "${ECHO_T}yes" >&6; }
34009
34010 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
34011 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
34012 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
34013
34014 fi
34015
34016 pkg_failed=no
34017 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
34018 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
34019
34020 if test -n "$PKG_CONFIG"; then
34021 if test -n "$PANGOXFT_CFLAGS"; then
34022 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
34023 else
34024 if test -n "$PKG_CONFIG" && \
34025 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34026 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34027 ac_status=$?
34028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34029 (exit $ac_status); }; then
34030 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
34031 else
34032 pkg_failed=yes
34033 fi
34034 fi
34035 else
34036 pkg_failed=untried
34037 fi
34038 if test -n "$PKG_CONFIG"; then
34039 if test -n "$PANGOXFT_LIBS"; then
34040 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
34041 else
34042 if test -n "$PKG_CONFIG" && \
34043 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
34044 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
34045 ac_status=$?
34046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34047 (exit $ac_status); }; then
34048 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
34049 else
34050 pkg_failed=yes
34051 fi
34052 fi
34053 else
34054 pkg_failed=untried
34055 fi
34056
34057
34058
34059 if test $pkg_failed = yes; then
34060
34061 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34062 _pkg_short_errors_supported=yes
34063 else
34064 _pkg_short_errors_supported=no
34065 fi
34066 if test $_pkg_short_errors_supported = yes; then
34067 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
34068 else
34069 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
34070 fi
34071 # Put the nasty error message in config.log where it belongs
34072 echo "$PANGOXFT_PKG_ERRORS" >&5
34073
34074
34075 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34076 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34077
34078
34079 elif test $pkg_failed = untried; then
34080
34081 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
34082 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
34083
34084
34085 else
34086 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
34087 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
34088 { echo "$as_me:$LINENO: result: yes" >&5
34089 echo "${ECHO_T}yes" >&6; }
34090
34091 cat >>confdefs.h <<\_ACEOF
34092 #define HAVE_PANGO_XFT 1
34093 _ACEOF
34094
34095 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
34096 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
34097 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
34098
34099 fi
34100 save_LIBS="$LIBS"
34101 LIBS="$LIBS $PANGOX_LIBS"
34102
34103 for ac_func in pango_font_family_is_monospace
34104 do
34105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34106 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34108 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34109 echo $ECHO_N "(cached) $ECHO_C" >&6
34110 else
34111 cat >conftest.$ac_ext <<_ACEOF
34112 /* confdefs.h. */
34113 _ACEOF
34114 cat confdefs.h >>conftest.$ac_ext
34115 cat >>conftest.$ac_ext <<_ACEOF
34116 /* end confdefs.h. */
34117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34119 #define $ac_func innocuous_$ac_func
34120
34121 /* System header to define __stub macros and hopefully few prototypes,
34122 which can conflict with char $ac_func (); below.
34123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34124 <limits.h> exists even on freestanding compilers. */
34125
34126 #ifdef __STDC__
34127 # include <limits.h>
34128 #else
34129 # include <assert.h>
34130 #endif
34131
34132 #undef $ac_func
34133
34134 /* Override any GCC internal prototype to avoid an error.
34135 Use char because int might match the return type of a GCC
34136 builtin and then its argument prototype would still apply. */
34137 #ifdef __cplusplus
34138 extern "C"
34139 #endif
34140 char $ac_func ();
34141 /* The GNU C library defines this for functions which it implements
34142 to always fail with ENOSYS. Some functions are actually named
34143 something starting with __ and the normal name is an alias. */
34144 #if defined __stub_$ac_func || defined __stub___$ac_func
34145 choke me
34146 #endif
34147
34148 int
34149 main ()
34150 {
34151 return $ac_func ();
34152 ;
34153 return 0;
34154 }
34155 _ACEOF
34156 rm -f conftest.$ac_objext conftest$ac_exeext
34157 if { (ac_try="$ac_link"
34158 case "(($ac_try" in
34159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34160 *) ac_try_echo=$ac_try;;
34161 esac
34162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34163 (eval "$ac_link") 2>conftest.er1
34164 ac_status=$?
34165 grep -v '^ *+' conftest.er1 >conftest.err
34166 rm -f conftest.er1
34167 cat conftest.err >&5
34168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34169 (exit $ac_status); } && {
34170 test -z "$ac_c_werror_flag" ||
34171 test ! -s conftest.err
34172 } && test -s conftest$ac_exeext &&
34173 $as_test_x conftest$ac_exeext; then
34174 eval "$as_ac_var=yes"
34175 else
34176 echo "$as_me: failed program was:" >&5
34177 sed 's/^/| /' conftest.$ac_ext >&5
34178
34179 eval "$as_ac_var=no"
34180 fi
34181
34182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34183 conftest$ac_exeext conftest.$ac_ext
34184 fi
34185 ac_res=`eval echo '${'$as_ac_var'}'`
34186 { echo "$as_me:$LINENO: result: $ac_res" >&5
34187 echo "${ECHO_T}$ac_res" >&6; }
34188 if test `eval echo '${'$as_ac_var'}'` = yes; then
34189 cat >>confdefs.h <<_ACEOF
34190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34191 _ACEOF
34192
34193 fi
34194 done
34195
34196 LIBS="$save_LIBS"
34197 fi
34198
34199 wxUSE_UNIVERSAL="yes"
34200
34201 if test "$wxUSE_NANOX" = "yes"; then
34202 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
34203 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"
34204 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
34205 else
34206 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
34207 fi
34208
34209 TOOLKIT=X11
34210 GUIDIST=X11_DIST
34211 fi
34212
34213 if test "$wxUSE_MOTIF" = 1; then
34214 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
34215 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
34216
34217 ac_find_includes=
34218 for ac_dir in $SEARCH_INCLUDE /usr/include;
34219 do
34220 if test -f "$ac_dir/Xm/Xm.h"; then
34221 ac_find_includes=$ac_dir
34222 break
34223 fi
34224 done
34225
34226 if test "$ac_find_includes" != "" ; then
34227 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34228 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34229
34230 if test "x$ac_find_includes" = "x/usr/include"; then
34231 ac_path_to_include=""
34232 else
34233 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
34234 result=$?
34235 if test $result = 0; then
34236 ac_path_to_include=""
34237 else
34238 ac_path_to_include=" -I$ac_find_includes"
34239 fi
34240 fi
34241
34242 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
34243 else
34244 save_CFLAGS=$CFLAGS
34245 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34246
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
34254 #include <Xm/Xm.h>
34255
34256 int
34257 main ()
34258 {
34259
34260 int version;
34261 version = xmUseVersion;
34262
34263 ;
34264 return 0;
34265 }
34266 _ACEOF
34267 rm -f conftest.$ac_objext
34268 if { (ac_try="$ac_compile"
34269 case "(($ac_try" in
34270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34271 *) ac_try_echo=$ac_try;;
34272 esac
34273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34274 (eval "$ac_compile") 2>conftest.er1
34275 ac_status=$?
34276 grep -v '^ *+' conftest.er1 >conftest.err
34277 rm -f conftest.er1
34278 cat conftest.err >&5
34279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34280 (exit $ac_status); } && {
34281 test -z "$ac_c_werror_flag" ||
34282 test ! -s conftest.err
34283 } && test -s conftest.$ac_objext; then
34284
34285 { echo "$as_me:$LINENO: result: found in default search path" >&5
34286 echo "${ECHO_T}found in default search path" >&6; }
34287 COMPILED_X_PROGRAM=1
34288
34289 else
34290 echo "$as_me: failed program was:" >&5
34291 sed 's/^/| /' conftest.$ac_ext >&5
34292
34293
34294 { echo "$as_me:$LINENO: result: no" >&5
34295 echo "${ECHO_T}no" >&6; }
34296 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34297 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34298 { (exit 1); exit 1; }; }
34299
34300
34301 fi
34302
34303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34304
34305 CFLAGS=$save_CFLAGS
34306 fi
34307
34308
34309 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34310 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34311
34312 ac_find_libraries=
34313 for ac_dir in $SEARCH_LIB;
34314 do
34315 for ac_extension in a so sl dylib dll.a; do
34316 if test -f "$ac_dir/libXm.$ac_extension"; then
34317 ac_find_libraries=$ac_dir
34318 break 2
34319 fi
34320 done
34321 done
34322
34323
34324 if test "x$ac_find_libraries" != "x" ; then
34325 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34326 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34327
34328
34329 if test "$ac_find_libraries" = "default location"; then
34330 ac_path_to_link=""
34331 else
34332 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34333 result=$?
34334 if test $result = 0; then
34335 ac_path_to_link=""
34336 else
34337 ac_path_to_link=" -L$ac_find_libraries"
34338 fi
34339 fi
34340
34341 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34342 else
34343 save_CFLAGS=$CFLAGS
34344 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34345 save_LIBS="$LIBS"
34346 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34347
34348 cat >conftest.$ac_ext <<_ACEOF
34349 /* confdefs.h. */
34350 _ACEOF
34351 cat confdefs.h >>conftest.$ac_ext
34352 cat >>conftest.$ac_ext <<_ACEOF
34353 /* end confdefs.h. */
34354
34355 #include <Xm/Xm.h>
34356
34357 int
34358 main ()
34359 {
34360
34361 int version;
34362 version = xmUseVersion;
34363
34364 ;
34365 return 0;
34366 }
34367 _ACEOF
34368 rm -f conftest.$ac_objext conftest$ac_exeext
34369 if { (ac_try="$ac_link"
34370 case "(($ac_try" in
34371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34372 *) ac_try_echo=$ac_try;;
34373 esac
34374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34375 (eval "$ac_link") 2>conftest.er1
34376 ac_status=$?
34377 grep -v '^ *+' conftest.er1 >conftest.err
34378 rm -f conftest.er1
34379 cat conftest.err >&5
34380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34381 (exit $ac_status); } && {
34382 test -z "$ac_c_werror_flag" ||
34383 test ! -s conftest.err
34384 } && test -s conftest$ac_exeext &&
34385 $as_test_x conftest$ac_exeext; then
34386
34387 { echo "$as_me:$LINENO: result: found in default search path" >&5
34388 echo "${ECHO_T}found in default search path" >&6; }
34389 COMPILED_X_PROGRAM=1
34390
34391 else
34392 echo "$as_me: failed program was:" >&5
34393 sed 's/^/| /' conftest.$ac_ext >&5
34394
34395
34396 { echo "$as_me:$LINENO: result: no" >&5
34397 echo "${ECHO_T}no" >&6; }
34398 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34399 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34400 { (exit 1); exit 1; }; }
34401
34402
34403 fi
34404
34405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34406 conftest$ac_exeext conftest.$ac_ext
34407
34408 CFLAGS=$save_CFLAGS
34409 LIBS="$save_LIBS"
34410 fi
34411
34412 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34413 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34414 libp_link=""
34415 libsm_ice_link=""
34416 libs_found=0
34417 for libp in "" " -lXp"; do
34418 if test "$libs_found" = 0; then
34419 for libsm_ice in "" " -lSM -lICE"; do
34420 if test "$libs_found" = 0; then
34421 save_LIBS="$LIBS"
34422 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34423 save_CFLAGS=$CFLAGS
34424 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34425
34426 cat >conftest.$ac_ext <<_ACEOF
34427 /* confdefs.h. */
34428 _ACEOF
34429 cat confdefs.h >>conftest.$ac_ext
34430 cat >>conftest.$ac_ext <<_ACEOF
34431 /* end confdefs.h. */
34432
34433 #include <Xm/Xm.h>
34434 #include <Xm/List.h>
34435
34436 int
34437 main ()
34438 {
34439
34440 XmString string = NULL;
34441 Widget w = NULL;
34442 int position = 0;
34443 XmListAddItem(w, string, position);
34444
34445 ;
34446 return 0;
34447 }
34448 _ACEOF
34449 rm -f conftest.$ac_objext conftest$ac_exeext
34450 if { (ac_try="$ac_link"
34451 case "(($ac_try" in
34452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34453 *) ac_try_echo=$ac_try;;
34454 esac
34455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34456 (eval "$ac_link") 2>conftest.er1
34457 ac_status=$?
34458 grep -v '^ *+' conftest.er1 >conftest.err
34459 rm -f conftest.er1
34460 cat conftest.err >&5
34461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34462 (exit $ac_status); } && {
34463 test -z "$ac_c_werror_flag" ||
34464 test ! -s conftest.err
34465 } && test -s conftest$ac_exeext &&
34466 $as_test_x conftest$ac_exeext; then
34467
34468 libp_link="$libp"
34469 libsm_ice_link="$libsm_ice"
34470 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34471 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34472 libs_found=1
34473
34474 else
34475 echo "$as_me: failed program was:" >&5
34476 sed 's/^/| /' conftest.$ac_ext >&5
34477
34478
34479
34480 fi
34481
34482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34483 conftest$ac_exeext conftest.$ac_ext
34484
34485 LIBS="$save_LIBS"
34486 CFLAGS=$save_CFLAGS
34487 fi
34488 done
34489 fi
34490 done
34491
34492 if test "$libs_found" = 0; then
34493 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34494 echo "${ECHO_T}can't find the right libraries" >&6; }
34495 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34496 echo "$as_me: error: can't link a simple motif program" >&2;}
34497 { (exit 1); exit 1; }; }
34498 fi
34499
34500 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34501 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34502 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34503 echo $ECHO_N "(cached) $ECHO_C" >&6
34504 else
34505 ac_check_lib_save_LIBS=$LIBS
34506 LIBS="-lSgm $LIBS"
34507 cat >conftest.$ac_ext <<_ACEOF
34508 /* confdefs.h. */
34509 _ACEOF
34510 cat confdefs.h >>conftest.$ac_ext
34511 cat >>conftest.$ac_ext <<_ACEOF
34512 /* end confdefs.h. */
34513
34514 /* Override any GCC internal prototype to avoid an error.
34515 Use char because int might match the return type of a GCC
34516 builtin and then its argument prototype would still apply. */
34517 #ifdef __cplusplus
34518 extern "C"
34519 #endif
34520 char SgCreateList ();
34521 int
34522 main ()
34523 {
34524 return SgCreateList ();
34525 ;
34526 return 0;
34527 }
34528 _ACEOF
34529 rm -f conftest.$ac_objext conftest$ac_exeext
34530 if { (ac_try="$ac_link"
34531 case "(($ac_try" in
34532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34533 *) ac_try_echo=$ac_try;;
34534 esac
34535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34536 (eval "$ac_link") 2>conftest.er1
34537 ac_status=$?
34538 grep -v '^ *+' conftest.er1 >conftest.err
34539 rm -f conftest.er1
34540 cat conftest.err >&5
34541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34542 (exit $ac_status); } && {
34543 test -z "$ac_c_werror_flag" ||
34544 test ! -s conftest.err
34545 } && test -s conftest$ac_exeext &&
34546 $as_test_x conftest$ac_exeext; then
34547 ac_cv_lib_Sgm_SgCreateList=yes
34548 else
34549 echo "$as_me: failed program was:" >&5
34550 sed 's/^/| /' conftest.$ac_ext >&5
34551
34552 ac_cv_lib_Sgm_SgCreateList=no
34553 fi
34554
34555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34556 conftest$ac_exeext conftest.$ac_ext
34557 LIBS=$ac_check_lib_save_LIBS
34558 fi
34559 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34560 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34561 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34562 libsgm_link=" -lSgm"
34563 fi
34564
34565
34566 save_CFLAGS=$CFLAGS
34567 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34568
34569 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34570 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34571 if test "${wx_cv_lib_motif2+set}" = set; then
34572 echo $ECHO_N "(cached) $ECHO_C" >&6
34573 else
34574 cat >conftest.$ac_ext <<_ACEOF
34575 /* confdefs.h. */
34576 _ACEOF
34577 cat confdefs.h >>conftest.$ac_ext
34578 cat >>conftest.$ac_ext <<_ACEOF
34579 /* end confdefs.h. */
34580
34581 #include <Xm/Xm.h>
34582
34583 int
34584 main ()
34585 {
34586
34587 #if XmVersion < 2000
34588 Not Motif 2
34589 #endif
34590
34591 ;
34592 return 0;
34593 }
34594 _ACEOF
34595 rm -f conftest.$ac_objext
34596 if { (ac_try="$ac_compile"
34597 case "(($ac_try" in
34598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34599 *) ac_try_echo=$ac_try;;
34600 esac
34601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34602 (eval "$ac_compile") 2>conftest.er1
34603 ac_status=$?
34604 grep -v '^ *+' conftest.er1 >conftest.err
34605 rm -f conftest.er1
34606 cat conftest.err >&5
34607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34608 (exit $ac_status); } && {
34609 test -z "$ac_c_werror_flag" ||
34610 test ! -s conftest.err
34611 } && test -s conftest.$ac_objext; then
34612 wx_cv_lib_motif2="yes"
34613 else
34614 echo "$as_me: failed program was:" >&5
34615 sed 's/^/| /' conftest.$ac_ext >&5
34616
34617 wx_cv_lib_motif2="no"
34618 fi
34619
34620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34621 fi
34622 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34623 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34624 if test "$wx_cv_lib_motif2" = "yes"; then
34625 cat >>confdefs.h <<\_ACEOF
34626 #define __WXMOTIF20__ 1
34627 _ACEOF
34628
34629 else
34630 cat >>confdefs.h <<\_ACEOF
34631 #define __WXMOTIF20__ 0
34632 _ACEOF
34633
34634 fi
34635
34636 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34637 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34638 if test "${wx_cv_lib_lesstif+set}" = set; then
34639 echo $ECHO_N "(cached) $ECHO_C" >&6
34640 else
34641 cat >conftest.$ac_ext <<_ACEOF
34642 /* confdefs.h. */
34643 _ACEOF
34644 cat confdefs.h >>conftest.$ac_ext
34645 cat >>conftest.$ac_ext <<_ACEOF
34646 /* end confdefs.h. */
34647
34648 #include <Xm/Xm.h>
34649
34650 int
34651 main ()
34652 {
34653
34654 #if !defined(LesstifVersion) || LesstifVersion <= 0
34655 Not Lesstif
34656 #endif
34657
34658 ;
34659 return 0;
34660 }
34661 _ACEOF
34662 rm -f conftest.$ac_objext
34663 if { (ac_try="$ac_compile"
34664 case "(($ac_try" in
34665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34666 *) ac_try_echo=$ac_try;;
34667 esac
34668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34669 (eval "$ac_compile") 2>conftest.er1
34670 ac_status=$?
34671 grep -v '^ *+' conftest.er1 >conftest.err
34672 rm -f conftest.er1
34673 cat conftest.err >&5
34674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34675 (exit $ac_status); } && {
34676 test -z "$ac_c_werror_flag" ||
34677 test ! -s conftest.err
34678 } && test -s conftest.$ac_objext; then
34679 wx_cv_lib_lesstif="yes"
34680 else
34681 echo "$as_me: failed program was:" >&5
34682 sed 's/^/| /' conftest.$ac_ext >&5
34683
34684 wx_cv_lib_lesstif="no"
34685 fi
34686
34687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34688
34689 fi
34690 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34691 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34692 if test "$wx_cv_lib_lesstif" = "yes"; then
34693 cat >>confdefs.h <<\_ACEOF
34694 #define __WXLESSTIF__ 1
34695 _ACEOF
34696
34697 else
34698 cat >>confdefs.h <<\_ACEOF
34699 #define __WXLESSTIF__ 0
34700 _ACEOF
34701
34702 fi
34703
34704 CFLAGS=$save_CFLAGS
34705
34706 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34707 TOOLKIT=MOTIF
34708 GUIDIST=MOTIF_DIST
34709 fi
34710
34711 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34712 if test "$wxUSE_LIBXPM" = "sys"; then
34713 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34714 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34715
34716 ac_find_libraries=
34717 for ac_dir in $SEARCH_LIB;
34718 do
34719 for ac_extension in a so sl dylib dll.a; do
34720 if test -f "$ac_dir/libXpm.$ac_extension"; then
34721 ac_find_libraries=$ac_dir
34722 break 2
34723 fi
34724 done
34725 done
34726
34727 if test "$ac_find_libraries" != "" ; then
34728
34729 if test "$ac_find_libraries" = "default location"; then
34730 ac_path_to_link=""
34731 else
34732 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34733 result=$?
34734 if test $result = 0; then
34735 ac_path_to_link=""
34736 else
34737 ac_path_to_link=" -L$ac_find_libraries"
34738 fi
34739 fi
34740
34741 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34742 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34743 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34744
34745 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34746 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34747 if test "${wx_cv_x11_xpm_h+set}" = set; then
34748 echo $ECHO_N "(cached) $ECHO_C" >&6
34749 else
34750
34751 save_CFLAGS=$CFLAGS
34752 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34753
34754 cat >conftest.$ac_ext <<_ACEOF
34755 /* confdefs.h. */
34756 _ACEOF
34757 cat confdefs.h >>conftest.$ac_ext
34758 cat >>conftest.$ac_ext <<_ACEOF
34759 /* end confdefs.h. */
34760
34761 #include <X11/xpm.h>
34762
34763 int
34764 main ()
34765 {
34766
34767 int version;
34768 version = XpmLibraryVersion();
34769
34770 ;
34771 return 0;
34772 }
34773 _ACEOF
34774 rm -f conftest.$ac_objext
34775 if { (ac_try="$ac_compile"
34776 case "(($ac_try" in
34777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34778 *) ac_try_echo=$ac_try;;
34779 esac
34780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34781 (eval "$ac_compile") 2>conftest.er1
34782 ac_status=$?
34783 grep -v '^ *+' conftest.er1 >conftest.err
34784 rm -f conftest.er1
34785 cat conftest.err >&5
34786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34787 (exit $ac_status); } && {
34788 test -z "$ac_c_werror_flag" ||
34789 test ! -s conftest.err
34790 } && test -s conftest.$ac_objext; then
34791 wx_cv_x11_xpm_h=yes
34792 else
34793 echo "$as_me: failed program was:" >&5
34794 sed 's/^/| /' conftest.$ac_ext >&5
34795
34796 wx_cv_x11_xpm_h=no
34797
34798 fi
34799
34800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34801
34802 CFLAGS=$save_CFLAGS
34803
34804
34805 fi
34806 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34807 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34808
34809 if test $wx_cv_x11_xpm_h = "yes"; then
34810 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34811 cat >>confdefs.h <<\_ACEOF
34812 #define wxHAVE_LIB_XPM 1
34813 _ACEOF
34814
34815 else
34816 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34817 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34818 fi
34819 fi
34820
34821 fi
34822
34823 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34824 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34825 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34826 echo $ECHO_N "(cached) $ECHO_C" >&6
34827 else
34828 ac_check_lib_save_LIBS=$LIBS
34829 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34830 cat >conftest.$ac_ext <<_ACEOF
34831 /* confdefs.h. */
34832 _ACEOF
34833 cat confdefs.h >>conftest.$ac_ext
34834 cat >>conftest.$ac_ext <<_ACEOF
34835 /* end confdefs.h. */
34836
34837 /* Override any GCC internal prototype to avoid an error.
34838 Use char because int might match the return type of a GCC
34839 builtin and then its argument prototype would still apply. */
34840 #ifdef __cplusplus
34841 extern "C"
34842 #endif
34843 char XShapeQueryExtension ();
34844 int
34845 main ()
34846 {
34847 return XShapeQueryExtension ();
34848 ;
34849 return 0;
34850 }
34851 _ACEOF
34852 rm -f conftest.$ac_objext conftest$ac_exeext
34853 if { (ac_try="$ac_link"
34854 case "(($ac_try" in
34855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34856 *) ac_try_echo=$ac_try;;
34857 esac
34858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34859 (eval "$ac_link") 2>conftest.er1
34860 ac_status=$?
34861 grep -v '^ *+' conftest.er1 >conftest.err
34862 rm -f conftest.er1
34863 cat conftest.err >&5
34864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34865 (exit $ac_status); } && {
34866 test -z "$ac_c_werror_flag" ||
34867 test ! -s conftest.err
34868 } && test -s conftest$ac_exeext &&
34869 $as_test_x conftest$ac_exeext; then
34870 ac_cv_lib_Xext_XShapeQueryExtension=yes
34871 else
34872 echo "$as_me: failed program was:" >&5
34873 sed 's/^/| /' conftest.$ac_ext >&5
34874
34875 ac_cv_lib_Xext_XShapeQueryExtension=no
34876 fi
34877
34878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34879 conftest$ac_exeext conftest.$ac_ext
34880 LIBS=$ac_check_lib_save_LIBS
34881 fi
34882 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34883 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34884 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34885
34886 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34887 wxHAVE_XEXT_LIB=1
34888
34889 fi
34890
34891
34892 if test "$wxHAVE_XEXT_LIB" = 1; then
34893 save_CFLAGS="$CFLAGS"
34894 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34895
34896 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34897 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34898 cat >conftest.$ac_ext <<_ACEOF
34899 /* confdefs.h. */
34900 _ACEOF
34901 cat confdefs.h >>conftest.$ac_ext
34902 cat >>conftest.$ac_ext <<_ACEOF
34903 /* end confdefs.h. */
34904
34905 #include <X11/Xlib.h>
34906 #include <X11/extensions/shape.h>
34907
34908 int
34909 main ()
34910 {
34911
34912 int dummy1, dummy2;
34913 XShapeQueryExtension((Display*)NULL,
34914 (int*)NULL, (int*)NULL);
34915
34916 ;
34917 return 0;
34918 }
34919 _ACEOF
34920 rm -f conftest.$ac_objext
34921 if { (ac_try="$ac_compile"
34922 case "(($ac_try" in
34923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34924 *) ac_try_echo=$ac_try;;
34925 esac
34926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34927 (eval "$ac_compile") 2>conftest.er1
34928 ac_status=$?
34929 grep -v '^ *+' conftest.er1 >conftest.err
34930 rm -f conftest.er1
34931 cat conftest.err >&5
34932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34933 (exit $ac_status); } && {
34934 test -z "$ac_c_werror_flag" ||
34935 test ! -s conftest.err
34936 } && test -s conftest.$ac_objext; then
34937
34938 cat >>confdefs.h <<\_ACEOF
34939 #define HAVE_XSHAPE 1
34940 _ACEOF
34941
34942 { echo "$as_me:$LINENO: result: found" >&5
34943 echo "${ECHO_T}found" >&6; }
34944
34945 else
34946 echo "$as_me: failed program was:" >&5
34947 sed 's/^/| /' conftest.$ac_ext >&5
34948
34949
34950 { echo "$as_me:$LINENO: result: not found" >&5
34951 echo "${ECHO_T}not found" >&6; }
34952
34953 fi
34954
34955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34956 CFLAGS="$save_CFLAGS"
34957
34958 fi
34959 fi
34960
34961 if test "$wxUSE_MAC" = 1; then
34962 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34963 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34964 if test "$GCC" = yes; then
34965 { echo "$as_me:$LINENO: result: gcc" >&5
34966 echo "${ECHO_T}gcc" >&6; }
34967 CPPFLAGS_PASCAL="-fpascal-strings"
34968 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34969 { echo "$as_me:$LINENO: result: xlc" >&5
34970 echo "${ECHO_T}xlc" >&6; }
34971 CPPFLAGS_PASCAL="-qmacpstr"
34972 else
34973 { echo "$as_me:$LINENO: result: none" >&5
34974 echo "${ECHO_T}none" >&6; }
34975 fi
34976
34977 if test "x$wxUSE_UNIX" = "xyes"; then
34978 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34979 else
34980 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34981 fi
34982
34983 TOOLKIT=MAC
34984 GUIDIST=MACX_DIST
34985 WXBASEPORT="_carbon"
34986 fi
34987
34988 if test "$wxUSE_COCOA" = 1; then
34989 TOOLKIT=COCOA
34990 GUIDIST=COCOA_DIST
34991 fi
34992
34993 if test "$wxUSE_PM" = 1; then
34994 TOOLKIT=PM
34995 GUIDIST=PM_DIST
34996 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34997 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34998 if test "${wx_cv_spbcdata+set}" = set; then
34999 echo $ECHO_N "(cached) $ECHO_C" >&6
35000 else
35001
35002 cat >conftest.$ac_ext <<_ACEOF
35003 /* confdefs.h. */
35004 _ACEOF
35005 cat confdefs.h >>conftest.$ac_ext
35006 cat >>conftest.$ac_ext <<_ACEOF
35007 /* end confdefs.h. */
35008
35009 #define INCL_PM
35010 #include <os2.h>
35011
35012 int
35013 main ()
35014 {
35015
35016 SPBCDATA test;
35017
35018 ;
35019 return 0;
35020 }
35021 _ACEOF
35022 rm -f conftest.$ac_objext
35023 if { (ac_try="$ac_compile"
35024 case "(($ac_try" in
35025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35026 *) ac_try_echo=$ac_try;;
35027 esac
35028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35029 (eval "$ac_compile") 2>conftest.er1
35030 ac_status=$?
35031 grep -v '^ *+' conftest.er1 >conftest.err
35032 rm -f conftest.er1
35033 cat conftest.err >&5
35034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35035 (exit $ac_status); } && {
35036 test -z "$ac_c_werror_flag" ||
35037 test ! -s conftest.err
35038 } && test -s conftest.$ac_objext; then
35039 wx_cv_spbcdata=yes
35040 else
35041 echo "$as_me: failed program was:" >&5
35042 sed 's/^/| /' conftest.$ac_ext >&5
35043
35044 wx_cv_spbcdata=no
35045
35046 fi
35047
35048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35049
35050
35051 fi
35052 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
35053 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
35054
35055 if test $wx_cv_spbcdata = "yes"; then
35056 cat >>confdefs.h <<\_ACEOF
35057 #define HAVE_SPBCDATA 1
35058 _ACEOF
35059
35060 fi
35061 fi
35062
35063 if test "$TOOLKIT" = "PM" ; then
35064 TOOLKIT_DIR="os2"
35065 else
35066 TOOLKIT_DIR=`echo ${TOOLKIT} | tr A-Z a-z`
35067 fi
35068
35069 if test "$wxUSE_UNIVERSAL" = "yes"; then
35070 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
35071 WIDGET_SET=univ
35072 fi
35073
35074 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
35075 DISTDIR="wx\$(TOOLKIT)"
35076 else
35077 USE_GUI=0
35078
35079 TOOLKIT_DIR="base"
35080
35081 if test "$USE_WIN32" = 1 ; then
35082 TOOLKIT="MSW"
35083 fi
35084
35085 GUIDIST="BASE_DIST"
35086 DISTDIR="wxBase"
35087 fi
35088
35089
35090
35091 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
35092 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
35093 wxUSE_UNICODE_UTF8=yes
35094 elif test "$USE_OS2" = 1 ; then
35095 wxUSE_UNICODE_UTF8=yes
35096 else
35097 wxUSE_UNICODE_UTF8=no
35098 fi
35099 fi
35100
35101
35102 if test "$wxUSE_GUI" = "yes"; then
35103 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
35104
35105 for ac_header in X11/Xlib.h
35106 do
35107 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35108 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35110 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35111 echo $ECHO_N "(cached) $ECHO_C" >&6
35112 else
35113 cat >conftest.$ac_ext <<_ACEOF
35114 /* confdefs.h. */
35115 _ACEOF
35116 cat confdefs.h >>conftest.$ac_ext
35117 cat >>conftest.$ac_ext <<_ACEOF
35118 /* end confdefs.h. */
35119
35120
35121 #include <$ac_header>
35122 _ACEOF
35123 rm -f conftest.$ac_objext
35124 if { (ac_try="$ac_compile"
35125 case "(($ac_try" in
35126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35127 *) ac_try_echo=$ac_try;;
35128 esac
35129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35130 (eval "$ac_compile") 2>conftest.er1
35131 ac_status=$?
35132 grep -v '^ *+' conftest.er1 >conftest.err
35133 rm -f conftest.er1
35134 cat conftest.err >&5
35135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35136 (exit $ac_status); } && {
35137 test -z "$ac_c_werror_flag" ||
35138 test ! -s conftest.err
35139 } && test -s conftest.$ac_objext; then
35140 eval "$as_ac_Header=yes"
35141 else
35142 echo "$as_me: failed program was:" >&5
35143 sed 's/^/| /' conftest.$ac_ext >&5
35144
35145 eval "$as_ac_Header=no"
35146 fi
35147
35148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35149 fi
35150 ac_res=`eval echo '${'$as_ac_Header'}'`
35151 { echo "$as_me:$LINENO: result: $ac_res" >&5
35152 echo "${ECHO_T}$ac_res" >&6; }
35153 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35154 cat >>confdefs.h <<_ACEOF
35155 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35156 _ACEOF
35157
35158 fi
35159
35160 done
35161
35162
35163 for ac_header in X11/XKBlib.h
35164 do
35165 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35166 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35167 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35168 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35169 echo $ECHO_N "(cached) $ECHO_C" >&6
35170 else
35171 cat >conftest.$ac_ext <<_ACEOF
35172 /* confdefs.h. */
35173 _ACEOF
35174 cat confdefs.h >>conftest.$ac_ext
35175 cat >>conftest.$ac_ext <<_ACEOF
35176 /* end confdefs.h. */
35177
35178 #if HAVE_X11_XLIB_H
35179 #include <X11/Xlib.h>
35180 #endif
35181
35182
35183 #include <$ac_header>
35184 _ACEOF
35185 rm -f conftest.$ac_objext
35186 if { (ac_try="$ac_compile"
35187 case "(($ac_try" in
35188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35189 *) ac_try_echo=$ac_try;;
35190 esac
35191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35192 (eval "$ac_compile") 2>conftest.er1
35193 ac_status=$?
35194 grep -v '^ *+' conftest.er1 >conftest.err
35195 rm -f conftest.er1
35196 cat conftest.err >&5
35197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35198 (exit $ac_status); } && {
35199 test -z "$ac_c_werror_flag" ||
35200 test ! -s conftest.err
35201 } && test -s conftest.$ac_objext; then
35202 eval "$as_ac_Header=yes"
35203 else
35204 echo "$as_me: failed program was:" >&5
35205 sed 's/^/| /' conftest.$ac_ext >&5
35206
35207 eval "$as_ac_Header=no"
35208 fi
35209
35210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35211 fi
35212 ac_res=`eval echo '${'$as_ac_Header'}'`
35213 { echo "$as_me:$LINENO: result: $ac_res" >&5
35214 echo "${ECHO_T}$ac_res" >&6; }
35215 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35216 cat >>confdefs.h <<_ACEOF
35217 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35218 _ACEOF
35219
35220 fi
35221
35222 done
35223
35224 fi
35225 fi
35226
35227
35228
35229 if test "$wxUSE_DISPLAY" = "yes"; then
35230 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35231 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35232 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35233
35234 ac_find_libraries=
35235 for ac_dir in $SEARCH_LIB;
35236 do
35237 for ac_extension in a so sl dylib dll.a; do
35238 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35239 ac_find_libraries=$ac_dir
35240 break 2
35241 fi
35242 done
35243 done
35244
35245 if test "$ac_find_libraries" != "" ; then
35246
35247 if test "$ac_find_libraries" = "default location"; then
35248 ac_path_to_link=""
35249 else
35250 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35251 result=$?
35252 if test $result = 0; then
35253 ac_path_to_link=""
35254 else
35255 ac_path_to_link=" -L$ac_find_libraries"
35256 fi
35257 fi
35258
35259 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35260 LDFLAGS="$LDFLAGS $ac_path_to_link"
35261 fi
35262 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35263 { echo "$as_me:$LINENO: result: yes" >&5
35264 echo "${ECHO_T}yes" >&6; }
35265
35266 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35267 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35268
35269 ac_find_libraries=
35270 for ac_dir in $SEARCH_LIB;
35271 do
35272 for ac_extension in a so sl dylib dll.a; do
35273 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35274 ac_find_libraries=$ac_dir
35275 break 2
35276 fi
35277 done
35278 done
35279
35280 if test "$ac_find_libraries" != "" ; then
35281 { echo "$as_me:$LINENO: result: yes" >&5
35282 echo "${ECHO_T}yes" >&6; }
35283
35284 for ac_header in X11/extensions/xf86vmode.h
35285 do
35286 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35287 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35288 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35289 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35290 echo $ECHO_N "(cached) $ECHO_C" >&6
35291 else
35292 cat >conftest.$ac_ext <<_ACEOF
35293 /* confdefs.h. */
35294 _ACEOF
35295 cat confdefs.h >>conftest.$ac_ext
35296 cat >>conftest.$ac_ext <<_ACEOF
35297 /* end confdefs.h. */
35298
35299 #if HAVE_X11_XLIB_H
35300 #include <X11/Xlib.h>
35301 #endif
35302
35303
35304 #include <$ac_header>
35305 _ACEOF
35306 rm -f conftest.$ac_objext
35307 if { (ac_try="$ac_compile"
35308 case "(($ac_try" in
35309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35310 *) ac_try_echo=$ac_try;;
35311 esac
35312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35313 (eval "$ac_compile") 2>conftest.er1
35314 ac_status=$?
35315 grep -v '^ *+' conftest.er1 >conftest.err
35316 rm -f conftest.er1
35317 cat conftest.err >&5
35318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35319 (exit $ac_status); } && {
35320 test -z "$ac_c_werror_flag" ||
35321 test ! -s conftest.err
35322 } && test -s conftest.$ac_objext; then
35323 eval "$as_ac_Header=yes"
35324 else
35325 echo "$as_me: failed program was:" >&5
35326 sed 's/^/| /' conftest.$ac_ext >&5
35327
35328 eval "$as_ac_Header=no"
35329 fi
35330
35331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35332 fi
35333 ac_res=`eval echo '${'$as_ac_Header'}'`
35334 { echo "$as_me:$LINENO: result: $ac_res" >&5
35335 echo "${ECHO_T}$ac_res" >&6; }
35336 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35337 cat >>confdefs.h <<_ACEOF
35338 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35339 _ACEOF
35340
35341 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35342
35343 fi
35344
35345 done
35346
35347 else
35348 { echo "$as_me:$LINENO: result: no" >&5
35349 echo "${ECHO_T}no" >&6; }
35350 fi
35351
35352 else
35353 { echo "$as_me:$LINENO: result: no" >&5
35354 echo "${ECHO_T}no" >&6; }
35355 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35356 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35357 wxUSE_DISPLAY="no"
35358 fi
35359 elif test "$wxUSE_MSW" = 1; then
35360 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35361 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35362 if test "${ac_cv_header_ddraw_h+set}" = set; then
35363 echo $ECHO_N "(cached) $ECHO_C" >&6
35364 else
35365 cat >conftest.$ac_ext <<_ACEOF
35366 /* confdefs.h. */
35367 _ACEOF
35368 cat confdefs.h >>conftest.$ac_ext
35369 cat >>conftest.$ac_ext <<_ACEOF
35370 /* end confdefs.h. */
35371 #include <windows.h>
35372
35373 #include <ddraw.h>
35374 _ACEOF
35375 rm -f conftest.$ac_objext
35376 if { (ac_try="$ac_compile"
35377 case "(($ac_try" in
35378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35379 *) ac_try_echo=$ac_try;;
35380 esac
35381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35382 (eval "$ac_compile") 2>conftest.er1
35383 ac_status=$?
35384 grep -v '^ *+' conftest.er1 >conftest.err
35385 rm -f conftest.er1
35386 cat conftest.err >&5
35387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35388 (exit $ac_status); } && {
35389 test -z "$ac_c_werror_flag" ||
35390 test ! -s conftest.err
35391 } && test -s conftest.$ac_objext; then
35392 ac_cv_header_ddraw_h=yes
35393 else
35394 echo "$as_me: failed program was:" >&5
35395 sed 's/^/| /' conftest.$ac_ext >&5
35396
35397 ac_cv_header_ddraw_h=no
35398 fi
35399
35400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35401 fi
35402 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35403 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35404
35405
35406 fi
35407 fi
35408
35409 if test "$wxUSE_DETECT_SM" = "yes"; then
35410 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35411 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35412 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35413
35414 ac_find_libraries=
35415 for ac_dir in $SEARCH_LIB;
35416 do
35417 for ac_extension in a so sl dylib dll.a; do
35418 if test -f "$ac_dir/libSM.$ac_extension"; then
35419 ac_find_libraries=$ac_dir
35420 break 2
35421 fi
35422 done
35423 done
35424
35425 if test "$ac_find_libraries" != "" ; then
35426
35427 if test "$ac_find_libraries" = "default location"; then
35428 ac_path_to_link=""
35429 else
35430 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35431 result=$?
35432 if test $result = 0; then
35433 ac_path_to_link=""
35434 else
35435 ac_path_to_link=" -L$ac_find_libraries"
35436 fi
35437 fi
35438
35439 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35440 LDFLAGS="$LDFLAGS $ac_path_to_link"
35441 fi
35442 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35443 { echo "$as_me:$LINENO: result: yes" >&5
35444 echo "${ECHO_T}yes" >&6; }
35445 else
35446 { echo "$as_me:$LINENO: result: no" >&5
35447 echo "${ECHO_T}no" >&6; }
35448 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35449 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35450 wxUSE_DETECT_SM="no"
35451 fi
35452 else
35453 wxUSE_DETECT_SM="no"
35454 fi
35455 fi
35456
35457
35458
35459 USE_OPENGL=0
35460 if test "$wxUSE_OPENGL" = "yes"; then
35461 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
35462 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35463 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35464 wxUSE_OPENGL="no"
35465 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
35466 OPENGL_LIBS="-framework OpenGL -framework AGL"
35467 elif test "$wxUSE_MSW" = 1; then
35468 OPENGL_LIBS="-lopengl32 -lglu32"
35469 else
35470 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35471 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35472
35473 ac_find_includes=
35474 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35475 do
35476 if test -f "$ac_dir/GL/gl.h"; then
35477 ac_find_includes=$ac_dir
35478 break
35479 fi
35480 done
35481
35482 if test "$ac_find_includes" != "" ; then
35483 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35484 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35485
35486 if test "x$ac_find_includes" = "x/usr/include"; then
35487 ac_path_to_include=""
35488 else
35489 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35490 result=$?
35491 if test $result = 0; then
35492 ac_path_to_include=""
35493 else
35494 ac_path_to_include=" -I$ac_find_includes"
35495 fi
35496 fi
35497
35498 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35499 else
35500 { echo "$as_me:$LINENO: result: not found" >&5
35501 echo "${ECHO_T}not found" >&6; }
35502 fi
35503
35504 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35505 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35506 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35507 echo $ECHO_N "(cached) $ECHO_C" >&6
35508 else
35509 cat >conftest.$ac_ext <<_ACEOF
35510 /* confdefs.h. */
35511 _ACEOF
35512 cat confdefs.h >>conftest.$ac_ext
35513 cat >>conftest.$ac_ext <<_ACEOF
35514 /* end confdefs.h. */
35515
35516
35517 #include <GL/gl.h>
35518 _ACEOF
35519 rm -f conftest.$ac_objext
35520 if { (ac_try="$ac_compile"
35521 case "(($ac_try" in
35522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35523 *) ac_try_echo=$ac_try;;
35524 esac
35525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35526 (eval "$ac_compile") 2>conftest.er1
35527 ac_status=$?
35528 grep -v '^ *+' conftest.er1 >conftest.err
35529 rm -f conftest.er1
35530 cat conftest.err >&5
35531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35532 (exit $ac_status); } && {
35533 test -z "$ac_c_werror_flag" ||
35534 test ! -s conftest.err
35535 } && test -s conftest.$ac_objext; then
35536 ac_cv_header_GL_gl_h=yes
35537 else
35538 echo "$as_me: failed program was:" >&5
35539 sed 's/^/| /' conftest.$ac_ext >&5
35540
35541 ac_cv_header_GL_gl_h=no
35542 fi
35543
35544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35545 fi
35546 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35547 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35548 if test $ac_cv_header_GL_gl_h = yes; then
35549
35550 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35551 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35552 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35553 echo $ECHO_N "(cached) $ECHO_C" >&6
35554 else
35555 cat >conftest.$ac_ext <<_ACEOF
35556 /* confdefs.h. */
35557 _ACEOF
35558 cat confdefs.h >>conftest.$ac_ext
35559 cat >>conftest.$ac_ext <<_ACEOF
35560 /* end confdefs.h. */
35561
35562
35563 #include <GL/glu.h>
35564 _ACEOF
35565 rm -f conftest.$ac_objext
35566 if { (ac_try="$ac_compile"
35567 case "(($ac_try" in
35568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35569 *) ac_try_echo=$ac_try;;
35570 esac
35571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35572 (eval "$ac_compile") 2>conftest.er1
35573 ac_status=$?
35574 grep -v '^ *+' conftest.er1 >conftest.err
35575 rm -f conftest.er1
35576 cat conftest.err >&5
35577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35578 (exit $ac_status); } && {
35579 test -z "$ac_c_werror_flag" ||
35580 test ! -s conftest.err
35581 } && test -s conftest.$ac_objext; then
35582 ac_cv_header_GL_glu_h=yes
35583 else
35584 echo "$as_me: failed program was:" >&5
35585 sed 's/^/| /' conftest.$ac_ext >&5
35586
35587 ac_cv_header_GL_glu_h=no
35588 fi
35589
35590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35591 fi
35592 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35593 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35594 if test $ac_cv_header_GL_glu_h = yes; then
35595
35596 found_gl=0
35597
35598 { echo "$as_me:$LINENO: checking for -lGL" >&5
35599 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35600
35601 ac_find_libraries=
35602 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35603 do
35604 for ac_extension in a so sl dylib dll.a; do
35605 if test -f "$ac_dir/libGL.$ac_extension"; then
35606 ac_find_libraries=$ac_dir
35607 break 2
35608 fi
35609 done
35610 done
35611
35612 if test "$ac_find_libraries" != "" ; then
35613 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35614 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35615
35616
35617 if test "$ac_find_libraries" = "default location"; then
35618 ac_path_to_link=""
35619 else
35620 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35621 result=$?
35622 if test $result = 0; then
35623 ac_path_to_link=""
35624 else
35625 ac_path_to_link=" -L$ac_find_libraries"
35626 fi
35627 fi
35628
35629 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35630 LDFLAGS_GL="$ac_path_to_link"
35631 fi
35632
35633 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35634 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35635
35636 ac_find_libraries=
35637 for ac_dir in $SEARCH_LIB;
35638 do
35639 for ac_extension in a so sl dylib dll.a; do
35640 if test -f "$ac_dir/libGLU.$ac_extension"; then
35641 ac_find_libraries=$ac_dir
35642 break 2
35643 fi
35644 done
35645 done
35646
35647 if test "$ac_find_libraries" != "" ; then
35648
35649 if test "$ac_find_libraries" = "default location"; then
35650 ac_path_to_link=""
35651 else
35652 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35653 result=$?
35654 if test $result = 0; then
35655 ac_path_to_link=""
35656 else
35657 ac_path_to_link=" -L$ac_find_libraries"
35658 fi
35659 fi
35660
35661 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35662 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35663 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35664 fi
35665
35666 found_gl=1
35667 OPENGL_LIBS="-lGL -lGLU"
35668 { echo "$as_me:$LINENO: result: yes" >&5
35669 echo "${ECHO_T}yes" >&6; }
35670 else
35671 { echo "$as_me:$LINENO: result: no" >&5
35672 echo "${ECHO_T}no" >&6; }
35673 fi
35674 else
35675 { echo "$as_me:$LINENO: result: no" >&5
35676 echo "${ECHO_T}no" >&6; }
35677 fi
35678
35679 if test "$found_gl" != 1; then
35680 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35681 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35682
35683 ac_find_libraries=
35684 for ac_dir in $SEARCH_LIB;
35685 do
35686 for ac_extension in a so sl dylib dll.a; do
35687 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35688 ac_find_libraries=$ac_dir
35689 break 2
35690 fi
35691 done
35692 done
35693
35694 if test "$ac_find_libraries" != "" ; then
35695
35696 if test "$ac_find_libraries" = "default location"; then
35697 ac_path_to_link=""
35698 else
35699 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35700 result=$?
35701 if test $result = 0; then
35702 ac_path_to_link=""
35703 else
35704 ac_path_to_link=" -L$ac_find_libraries"
35705 fi
35706 fi
35707
35708 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35709 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35710 { echo "$as_me:$LINENO: result: yes" >&5
35711 echo "${ECHO_T}yes" >&6; }
35712 else
35713 { echo "$as_me:$LINENO: result: no" >&5
35714 echo "${ECHO_T}no" >&6; }
35715 fi
35716 fi
35717
35718 fi
35719
35720
35721
35722 fi
35723
35724
35725
35726 if test "x$OPENGL_LIBS" = "x"; then
35727 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35728 echo "$as_me: error: OpenGL libraries not available" >&2;}
35729 { (exit 1); exit 1; }; }
35730 fi
35731 fi
35732
35733 if test "$wxUSE_OPENGL" = "yes"; then
35734 USE_OPENGL=1
35735 cat >>confdefs.h <<\_ACEOF
35736 #define wxUSE_OPENGL 1
35737 _ACEOF
35738
35739 cat >>confdefs.h <<\_ACEOF
35740 #define wxUSE_GLCANVAS 1
35741 _ACEOF
35742
35743 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35744 fi
35745 fi
35746
35747
35748 if test -n "$TOOLKIT" ; then
35749 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35750 fi
35751
35752
35753
35754 if test "$wxUSE_SHARED" = "yes"; then
35755 case "${host}" in
35756 *-pc-msdosdjgpp )
35757 wxUSE_SHARED=no
35758 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35759 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35760 ;;
35761 esac
35762 fi
35763
35764 if test "$wxUSE_SHARED" = "yes"; then
35765
35766
35767 case "${host}" in
35768 *-*-cygwin* | *-*-mingw* )
35769 wx_cv_version_script=no
35770 ;;
35771
35772 *)
35773 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35774 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35775 if test "${wx_cv_version_script+set}" = set; then
35776 echo $ECHO_N "(cached) $ECHO_C" >&6
35777 else
35778
35779 echo "VER_1 { *; };" >conftest.sym
35780 echo "int main() { return 0; }" >conftest.cpp
35781
35782 if { ac_try='
35783 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35784 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35786 (eval $ac_try) 2>&5
35787 ac_status=$?
35788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35789 (exit $ac_status); }; } ; then
35790 if test -s conftest.stderr ; then
35791 wx_cv_version_script=no
35792 else
35793 wx_cv_version_script=yes
35794 fi
35795 else
35796 wx_cv_version_script=no
35797 fi
35798
35799 if test $wx_cv_version_script = yes
35800 then
35801 echo "struct B { virtual ~B() { } }; \
35802 struct D : public B { }; \
35803 void F() { D d; }" > conftest.cpp
35804
35805 if { ac_try='
35806 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35807 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35809 (eval $ac_try) 2>&5
35810 ac_status=$?
35811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35812 (exit $ac_status); }; } &&
35813 { ac_try='
35814 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35815 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35817 (eval $ac_try) 2>&5
35818 ac_status=$?
35819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35820 (exit $ac_status); }; }
35821 then
35822 if { ac_try='
35823 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35824 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35826 (eval $ac_try) 2>&5
35827 ac_status=$?
35828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35829 (exit $ac_status); }; }
35830 then
35831 wx_cv_version_script=yes
35832 else
35833 wx_cv_version_script=no
35834 fi
35835 fi
35836 fi
35837
35838 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35839 rm -f conftest1.output conftest2.output conftest3.output
35840
35841 fi
35842 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35843 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35844
35845 if test $wx_cv_version_script = yes ; then
35846 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35847 fi
35848 ;;
35849 esac
35850
35851
35852 if test "$wxUSE_VISIBILITY" != "no"; then
35853
35854
35855 if test -n "$GCC"; then
35856 CFLAGS_VISIBILITY="-fvisibility=hidden"
35857 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35858 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35859 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35860 if test "${wx_cv_cc_visibility+set}" = set; then
35861 echo $ECHO_N "(cached) $ECHO_C" >&6
35862 else
35863
35864 wx_save_CXXFLAGS="$CXXFLAGS"
35865 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35866 ac_ext=cpp
35867 ac_cpp='$CXXCPP $CPPFLAGS'
35868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35871
35872 cat >conftest.$ac_ext <<_ACEOF
35873 /* confdefs.h. */
35874 _ACEOF
35875 cat confdefs.h >>conftest.$ac_ext
35876 cat >>conftest.$ac_ext <<_ACEOF
35877 /* end confdefs.h. */
35878
35879 /* we need gcc >= 4.0, older versions with visibility support
35880 didn't have class visibility: */
35881 #if defined(__GNUC__) && __GNUC__ < 4
35882 error this gcc is too old;
35883 #endif
35884
35885 /* visibility only makes sense for ELF shared libs: */
35886 #if !defined(__ELF__) && !defined(__APPLE__)
35887 error this platform has no visibility;
35888 #endif
35889
35890 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35891 extern __attribute__((__visibility__("default"))) int exportedvar;
35892 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35893 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35894 class __attribute__((__visibility__("default"))) Foo {
35895 Foo() {}
35896 };
35897
35898 int
35899 main ()
35900 {
35901
35902 ;
35903 return 0;
35904 }
35905 _ACEOF
35906 rm -f conftest.$ac_objext
35907 if { (ac_try="$ac_compile"
35908 case "(($ac_try" in
35909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35910 *) ac_try_echo=$ac_try;;
35911 esac
35912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35913 (eval "$ac_compile") 2>conftest.er1
35914 ac_status=$?
35915 grep -v '^ *+' conftest.er1 >conftest.err
35916 rm -f conftest.er1
35917 cat conftest.err >&5
35918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35919 (exit $ac_status); } && {
35920 test -z "$ac_cxx_werror_flag" ||
35921 test ! -s conftest.err
35922 } && test -s conftest.$ac_objext; then
35923 wx_cv_cc_visibility=yes
35924 else
35925 echo "$as_me: failed program was:" >&5
35926 sed 's/^/| /' conftest.$ac_ext >&5
35927
35928 wx_cv_cc_visibility=no
35929 fi
35930
35931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35932 ac_ext=c
35933 ac_cpp='$CPP $CPPFLAGS'
35934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35937
35938 CXXFLAGS="$wx_save_CXXFLAGS"
35939 fi
35940
35941 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35942 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35943 if test $wx_cv_cc_visibility = yes; then
35944 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
35945 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
35946 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
35947 echo $ECHO_N "(cached) $ECHO_C" >&6
35948 else
35949
35950 wx_save_CXXFLAGS="$CXXFLAGS"
35951 wx_save_LDFLAGS="$LDFLAGS"
35952 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35953 LDFLAGS="$LDFLAGS -shared -fPIC"
35954 ac_ext=cpp
35955 ac_cpp='$CXXCPP $CPPFLAGS'
35956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35959
35960 cat >conftest.$ac_ext <<_ACEOF
35961 /* confdefs.h. */
35962 _ACEOF
35963 cat confdefs.h >>conftest.$ac_ext
35964 cat >>conftest.$ac_ext <<_ACEOF
35965 /* end confdefs.h. */
35966
35967 #include <string>
35968
35969 int
35970 main ()
35971 {
35972
35973 std::string s("hello");
35974 return s.length();
35975
35976 ;
35977 return 0;
35978 }
35979 _ACEOF
35980 rm -f conftest.$ac_objext conftest$ac_exeext
35981 if { (ac_try="$ac_link"
35982 case "(($ac_try" in
35983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35984 *) ac_try_echo=$ac_try;;
35985 esac
35986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35987 (eval "$ac_link") 2>conftest.er1
35988 ac_status=$?
35989 grep -v '^ *+' conftest.er1 >conftest.err
35990 rm -f conftest.er1
35991 cat conftest.err >&5
35992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35993 (exit $ac_status); } && {
35994 test -z "$ac_cxx_werror_flag" ||
35995 test ! -s conftest.err
35996 } && test -s conftest$ac_exeext &&
35997 $as_test_x conftest$ac_exeext; then
35998 wx_cv_cc_broken_libstdcxx_visibility=no
35999 else
36000 echo "$as_me: failed program was:" >&5
36001 sed 's/^/| /' conftest.$ac_ext >&5
36002
36003 wx_cv_cc_broken_libstdcxx_visibility=yes
36004 fi
36005
36006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36007 conftest$ac_exeext conftest.$ac_ext
36008 ac_ext=c
36009 ac_cpp='$CPP $CPPFLAGS'
36010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36013
36014 CXXFLAGS="$wx_save_CXXFLAGS"
36015 LDFLAGS="$wx_save_LDFLAGS"
36016 fi
36017
36018 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
36019 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
36020
36021 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36022 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
36023 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
36024 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
36025 echo $ECHO_N "(cached) $ECHO_C" >&6
36026 else
36027
36028 ac_ext=cpp
36029 ac_cpp='$CXXCPP $CPPFLAGS'
36030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36033
36034 cat >conftest.$ac_ext <<_ACEOF
36035 /* confdefs.h. */
36036 _ACEOF
36037 cat confdefs.h >>conftest.$ac_ext
36038 cat >>conftest.$ac_ext <<_ACEOF
36039 /* end confdefs.h. */
36040
36041 #pragma GCC visibility push(default)
36042 #include <string>
36043 #pragma GCC visibility pop
36044
36045 int
36046 main ()
36047 {
36048
36049 std::string s("hello");
36050 return s.length();
36051
36052 ;
36053 return 0;
36054 }
36055 _ACEOF
36056 rm -f conftest.$ac_objext conftest$ac_exeext
36057 if { (ac_try="$ac_link"
36058 case "(($ac_try" in
36059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36060 *) ac_try_echo=$ac_try;;
36061 esac
36062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36063 (eval "$ac_link") 2>conftest.er1
36064 ac_status=$?
36065 grep -v '^ *+' conftest.er1 >conftest.err
36066 rm -f conftest.er1
36067 cat conftest.err >&5
36068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36069 (exit $ac_status); } && {
36070 test -z "$ac_cxx_werror_flag" ||
36071 test ! -s conftest.err
36072 } && test -s conftest$ac_exeext &&
36073 $as_test_x conftest$ac_exeext; then
36074 wx_cv_cc_visibility_workaround=no
36075 else
36076 echo "$as_me: failed program was:" >&5
36077 sed 's/^/| /' conftest.$ac_ext >&5
36078
36079 wx_cv_cc_visibility_workaround=yes
36080 fi
36081
36082 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36083 conftest$ac_exeext conftest.$ac_ext
36084 ac_ext=c
36085 ac_cpp='$CPP $CPPFLAGS'
36086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36089
36090
36091 fi
36092
36093 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
36094 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
36095
36096 if test $wx_cv_cc_visibility_workaround = no; then
36097 wx_cv_cc_visibility=no
36098 fi
36099 fi
36100 fi
36101
36102 if test $wx_cv_cc_visibility = yes; then
36103 cat >>confdefs.h <<\_ACEOF
36104 #define HAVE_VISIBILITY 1
36105 _ACEOF
36106
36107 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
36108 cat >>confdefs.h <<\_ACEOF
36109 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
36110 _ACEOF
36111
36112 fi
36113 else
36114 CFLAGS_VISIBILITY=""
36115 CXXFLAGS_VISIBILITY=""
36116 fi
36117
36118
36119 fi
36120
36121 fi
36122
36123 if test "x$SUNCXX" = xyes; then
36124 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
36125 WXCONFIG_RPATH="-R\$libdir"
36126 else
36127 case "${host}" in
36128 *-*-linux* | *-*-gnu* )
36129 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36130 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36131 ;;
36132
36133 *-*-solaris2* )
36134
36135 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
36136
36137 saveLdflags="$LDFLAGS"
36138 LDFLAGS="$saveLdflags -Wl,-rpath,/"
36139 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36140 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36141 cat >conftest.$ac_ext <<_ACEOF
36142 /* confdefs.h. */
36143 _ACEOF
36144 cat confdefs.h >>conftest.$ac_ext
36145 cat >>conftest.$ac_ext <<_ACEOF
36146 /* end confdefs.h. */
36147
36148 int
36149 main ()
36150 {
36151
36152 ;
36153 return 0;
36154 }
36155 _ACEOF
36156 rm -f conftest.$ac_objext conftest$ac_exeext
36157 if { (ac_try="$ac_link"
36158 case "(($ac_try" in
36159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36160 *) ac_try_echo=$ac_try;;
36161 esac
36162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36163 (eval "$ac_link") 2>conftest.er1
36164 ac_status=$?
36165 grep -v '^ *+' conftest.er1 >conftest.err
36166 rm -f conftest.er1
36167 cat conftest.err >&5
36168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36169 (exit $ac_status); } && {
36170 test -z "$ac_c_werror_flag" ||
36171 test ! -s conftest.err
36172 } && test -s conftest$ac_exeext &&
36173 $as_test_x conftest$ac_exeext; then
36174
36175 { echo "$as_me:$LINENO: result: yes" >&5
36176 echo "${ECHO_T}yes" >&6; }
36177 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36178 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36179
36180 else
36181 echo "$as_me: failed program was:" >&5
36182 sed 's/^/| /' conftest.$ac_ext >&5
36183
36184
36185 { echo "$as_me:$LINENO: result: no" >&5
36186 echo "${ECHO_T}no" >&6; }
36187 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36188 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36189 LDFLAGS="$saveLdflags -Wl,-R,/"
36190 cat >conftest.$ac_ext <<_ACEOF
36191 /* confdefs.h. */
36192 _ACEOF
36193 cat confdefs.h >>conftest.$ac_ext
36194 cat >>conftest.$ac_ext <<_ACEOF
36195 /* end confdefs.h. */
36196
36197 int
36198 main ()
36199 {
36200
36201 ;
36202 return 0;
36203 }
36204 _ACEOF
36205 rm -f conftest.$ac_objext conftest$ac_exeext
36206 if { (ac_try="$ac_link"
36207 case "(($ac_try" in
36208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36209 *) ac_try_echo=$ac_try;;
36210 esac
36211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36212 (eval "$ac_link") 2>conftest.er1
36213 ac_status=$?
36214 grep -v '^ *+' conftest.er1 >conftest.err
36215 rm -f conftest.er1
36216 cat conftest.err >&5
36217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36218 (exit $ac_status); } && {
36219 test -z "$ac_c_werror_flag" ||
36220 test ! -s conftest.err
36221 } && test -s conftest$ac_exeext &&
36222 $as_test_x conftest$ac_exeext; then
36223
36224 { echo "$as_me:$LINENO: result: yes" >&5
36225 echo "${ECHO_T}yes" >&6; }
36226 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36227 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36228
36229 else
36230 echo "$as_me: failed program was:" >&5
36231 sed 's/^/| /' conftest.$ac_ext >&5
36232
36233
36234 { echo "$as_me:$LINENO: result: no" >&5
36235 echo "${ECHO_T}no" >&6; }
36236
36237 fi
36238
36239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36240 conftest$ac_exeext conftest.$ac_ext
36241
36242 fi
36243
36244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36245 conftest$ac_exeext conftest.$ac_ext
36246 LDFLAGS="$saveLdflags"
36247 ;;
36248
36249 *-*-darwin* )
36250 install_name_tool=`which install_name_tool`
36251 if test "$install_name_tool" -a -x "$install_name_tool"; then
36252 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36253 cat <<EOF >change-install-names
36254 #!/bin/sh
36255 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36256 inst_cmd="install_name_tool "
36257 for i in \${libnames} ; do
36258 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36259 done
36260 \${inst_cmd} \${3}
36261 EOF
36262 chmod +x change-install-names
36263 fi
36264 ;;
36265
36266 *-*-cygwin* | *-*-mingw32* )
36267 ;;
36268
36269 *-*-hpux* )
36270 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36271 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36272 ;;
36273
36274 esac
36275 fi
36276
36277 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36278
36279 if test $wxUSE_RPATH = "no"; then
36280 SAMPLES_RPATH_FLAG=''
36281 SAMPLES_RPATH_POSTLINK=''
36282 WXCONFIG_RPATH=''
36283 fi
36284
36285 SHARED=1
36286
36287 else
36288
36289 config_linkage_component="-static"
36290 SHARED=0
36291
36292 fi
36293
36294
36295 UNICODE=0
36296 lib_unicode_suffix=
36297 WX_CHARTYPE="ansi"
36298 if test "$wxUSE_UNICODE" = "yes"; then
36299 lib_unicode_suffix=u
36300 WX_CHARTYPE="unicode"
36301 UNICODE=1
36302 fi
36303
36304 lib_debug_suffix=
36305 WX_DEBUGTYPE="release"
36306 DEBUG_FLAG=0
36307 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36308 lib_debug_suffix=d
36309 WX_DEBUGTYPE="debug"
36310 DEBUG_FLAG=1
36311 fi
36312
36313 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36314 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36315
36316 DEBUG_INFO=0
36317 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36318 DEBUG_INFO=1
36319 fi
36320
36321 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr a-z A-Z`
36322
36323 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36324
36325 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36326
36327 if test "$cross_compiling" = "yes"; then
36328 HOST_SUFFIX="-$host_alias"
36329 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36330 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36331 fi
36332
36333 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36334 if test "${TOOLKIT_DIR}" = "os2"; then
36335 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36336 else
36337 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36338 fi
36339
36340
36341
36342 if test "$wxUSE_COCOA" = 1; then
36343
36344 ac_ext=c
36345 ac_cpp='$CPP $CPPFLAGS'
36346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36349
36350 ac_ext=m
36351
36352 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36353 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36354 cat >conftest.$ac_ext <<_ACEOF
36355 /* confdefs.h. */
36356 _ACEOF
36357 cat confdefs.h >>conftest.$ac_ext
36358 cat >>conftest.$ac_ext <<_ACEOF
36359 /* end confdefs.h. */
36360 #include <AppKit/NSEvent.h>
36361 #include <CoreFoundation/CoreFoundation.h>
36362
36363 int
36364 main ()
36365 {
36366
36367 ;
36368 return 0;
36369 }
36370 _ACEOF
36371 rm -f conftest.$ac_objext
36372 if { (ac_try="$ac_compile"
36373 case "(($ac_try" in
36374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36375 *) ac_try_echo=$ac_try;;
36376 esac
36377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36378 (eval "$ac_compile") 2>conftest.er1
36379 ac_status=$?
36380 grep -v '^ *+' conftest.er1 >conftest.err
36381 rm -f conftest.er1
36382 cat conftest.err >&5
36383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36384 (exit $ac_status); } && {
36385 test -z "$ac_c_werror_flag" ||
36386 test ! -s conftest.err
36387 } && test -s conftest.$ac_objext; then
36388 { echo "$as_me:$LINENO: result: no" >&5
36389 echo "${ECHO_T}no" >&6; }
36390 else
36391 echo "$as_me: failed program was:" >&5
36392 sed 's/^/| /' conftest.$ac_ext >&5
36393
36394 { echo "$as_me:$LINENO: result: yes" >&5
36395 echo "${ECHO_T}yes" >&6; }
36396 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36397 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36398 cat >conftest.$ac_ext <<_ACEOF
36399 /* confdefs.h. */
36400 _ACEOF
36401 cat confdefs.h >>conftest.$ac_ext
36402 cat >>conftest.$ac_ext <<_ACEOF
36403 /* end confdefs.h. */
36404 #define __Point__ 1
36405 #include <AppKit/NSEvent.h>
36406 #include <CoreFoundation/CoreFoundation.h>
36407
36408 int
36409 main ()
36410 {
36411
36412 ;
36413 return 0;
36414 }
36415 _ACEOF
36416 rm -f conftest.$ac_objext
36417 if { (ac_try="$ac_compile"
36418 case "(($ac_try" in
36419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36420 *) ac_try_echo=$ac_try;;
36421 esac
36422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36423 (eval "$ac_compile") 2>conftest.er1
36424 ac_status=$?
36425 grep -v '^ *+' conftest.er1 >conftest.err
36426 rm -f conftest.er1
36427 cat conftest.err >&5
36428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36429 (exit $ac_status); } && {
36430 test -z "$ac_c_werror_flag" ||
36431 test ! -s conftest.err
36432 } && test -s conftest.$ac_objext; then
36433 { echo "$as_me:$LINENO: result: yes" >&5
36434 echo "${ECHO_T}yes" >&6; }
36435 cat >>confdefs.h <<\_ACEOF
36436 #define __Point__ 1
36437 _ACEOF
36438
36439
36440 else
36441 echo "$as_me: failed program was:" >&5
36442 sed 's/^/| /' conftest.$ac_ext >&5
36443
36444 { { echo "$as_me:$LINENO: error: no
36445 See \`config.log' for more details." >&5
36446 echo "$as_me: error: no
36447 See \`config.log' for more details." >&2;}
36448 { (exit 1); exit 1; }; }
36449
36450 fi
36451
36452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36453
36454 fi
36455
36456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36457 ac_ext=c
36458 ac_cpp='$CPP $CPPFLAGS'
36459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36462
36463 fi
36464
36465
36466 { echo "$as_me:$LINENO: checking for mode_t" >&5
36467 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36468 if test "${ac_cv_type_mode_t+set}" = set; then
36469 echo $ECHO_N "(cached) $ECHO_C" >&6
36470 else
36471 cat >conftest.$ac_ext <<_ACEOF
36472 /* confdefs.h. */
36473 _ACEOF
36474 cat confdefs.h >>conftest.$ac_ext
36475 cat >>conftest.$ac_ext <<_ACEOF
36476 /* end confdefs.h. */
36477 $ac_includes_default
36478 typedef mode_t ac__type_new_;
36479 int
36480 main ()
36481 {
36482 if ((ac__type_new_ *) 0)
36483 return 0;
36484 if (sizeof (ac__type_new_))
36485 return 0;
36486 ;
36487 return 0;
36488 }
36489 _ACEOF
36490 rm -f conftest.$ac_objext
36491 if { (ac_try="$ac_compile"
36492 case "(($ac_try" in
36493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36494 *) ac_try_echo=$ac_try;;
36495 esac
36496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36497 (eval "$ac_compile") 2>conftest.er1
36498 ac_status=$?
36499 grep -v '^ *+' conftest.er1 >conftest.err
36500 rm -f conftest.er1
36501 cat conftest.err >&5
36502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36503 (exit $ac_status); } && {
36504 test -z "$ac_c_werror_flag" ||
36505 test ! -s conftest.err
36506 } && test -s conftest.$ac_objext; then
36507 ac_cv_type_mode_t=yes
36508 else
36509 echo "$as_me: failed program was:" >&5
36510 sed 's/^/| /' conftest.$ac_ext >&5
36511
36512 ac_cv_type_mode_t=no
36513 fi
36514
36515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36516 fi
36517 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36518 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36519 if test $ac_cv_type_mode_t = yes; then
36520 :
36521 else
36522
36523 cat >>confdefs.h <<_ACEOF
36524 #define mode_t int
36525 _ACEOF
36526
36527 fi
36528
36529 { echo "$as_me:$LINENO: checking for off_t" >&5
36530 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36531 if test "${ac_cv_type_off_t+set}" = set; then
36532 echo $ECHO_N "(cached) $ECHO_C" >&6
36533 else
36534 cat >conftest.$ac_ext <<_ACEOF
36535 /* confdefs.h. */
36536 _ACEOF
36537 cat confdefs.h >>conftest.$ac_ext
36538 cat >>conftest.$ac_ext <<_ACEOF
36539 /* end confdefs.h. */
36540 $ac_includes_default
36541 typedef off_t ac__type_new_;
36542 int
36543 main ()
36544 {
36545 if ((ac__type_new_ *) 0)
36546 return 0;
36547 if (sizeof (ac__type_new_))
36548 return 0;
36549 ;
36550 return 0;
36551 }
36552 _ACEOF
36553 rm -f conftest.$ac_objext
36554 if { (ac_try="$ac_compile"
36555 case "(($ac_try" in
36556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36557 *) ac_try_echo=$ac_try;;
36558 esac
36559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36560 (eval "$ac_compile") 2>conftest.er1
36561 ac_status=$?
36562 grep -v '^ *+' conftest.er1 >conftest.err
36563 rm -f conftest.er1
36564 cat conftest.err >&5
36565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36566 (exit $ac_status); } && {
36567 test -z "$ac_c_werror_flag" ||
36568 test ! -s conftest.err
36569 } && test -s conftest.$ac_objext; then
36570 ac_cv_type_off_t=yes
36571 else
36572 echo "$as_me: failed program was:" >&5
36573 sed 's/^/| /' conftest.$ac_ext >&5
36574
36575 ac_cv_type_off_t=no
36576 fi
36577
36578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36579 fi
36580 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36581 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36582 if test $ac_cv_type_off_t = yes; then
36583 :
36584 else
36585
36586 cat >>confdefs.h <<_ACEOF
36587 #define off_t long int
36588 _ACEOF
36589
36590 fi
36591
36592 { echo "$as_me:$LINENO: checking for pid_t" >&5
36593 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36594 if test "${ac_cv_type_pid_t+set}" = set; then
36595 echo $ECHO_N "(cached) $ECHO_C" >&6
36596 else
36597 cat >conftest.$ac_ext <<_ACEOF
36598 /* confdefs.h. */
36599 _ACEOF
36600 cat confdefs.h >>conftest.$ac_ext
36601 cat >>conftest.$ac_ext <<_ACEOF
36602 /* end confdefs.h. */
36603 $ac_includes_default
36604 typedef pid_t ac__type_new_;
36605 int
36606 main ()
36607 {
36608 if ((ac__type_new_ *) 0)
36609 return 0;
36610 if (sizeof (ac__type_new_))
36611 return 0;
36612 ;
36613 return 0;
36614 }
36615 _ACEOF
36616 rm -f conftest.$ac_objext
36617 if { (ac_try="$ac_compile"
36618 case "(($ac_try" in
36619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36620 *) ac_try_echo=$ac_try;;
36621 esac
36622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36623 (eval "$ac_compile") 2>conftest.er1
36624 ac_status=$?
36625 grep -v '^ *+' conftest.er1 >conftest.err
36626 rm -f conftest.er1
36627 cat conftest.err >&5
36628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36629 (exit $ac_status); } && {
36630 test -z "$ac_c_werror_flag" ||
36631 test ! -s conftest.err
36632 } && test -s conftest.$ac_objext; then
36633 ac_cv_type_pid_t=yes
36634 else
36635 echo "$as_me: failed program was:" >&5
36636 sed 's/^/| /' conftest.$ac_ext >&5
36637
36638 ac_cv_type_pid_t=no
36639 fi
36640
36641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36642 fi
36643 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36644 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36645 if test $ac_cv_type_pid_t = yes; then
36646 :
36647 else
36648
36649 cat >>confdefs.h <<_ACEOF
36650 #define pid_t int
36651 _ACEOF
36652
36653 fi
36654
36655 { echo "$as_me:$LINENO: checking for size_t" >&5
36656 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36657 if test "${ac_cv_type_size_t+set}" = set; then
36658 echo $ECHO_N "(cached) $ECHO_C" >&6
36659 else
36660 cat >conftest.$ac_ext <<_ACEOF
36661 /* confdefs.h. */
36662 _ACEOF
36663 cat confdefs.h >>conftest.$ac_ext
36664 cat >>conftest.$ac_ext <<_ACEOF
36665 /* end confdefs.h. */
36666 $ac_includes_default
36667 typedef size_t ac__type_new_;
36668 int
36669 main ()
36670 {
36671 if ((ac__type_new_ *) 0)
36672 return 0;
36673 if (sizeof (ac__type_new_))
36674 return 0;
36675 ;
36676 return 0;
36677 }
36678 _ACEOF
36679 rm -f conftest.$ac_objext
36680 if { (ac_try="$ac_compile"
36681 case "(($ac_try" in
36682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36683 *) ac_try_echo=$ac_try;;
36684 esac
36685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36686 (eval "$ac_compile") 2>conftest.er1
36687 ac_status=$?
36688 grep -v '^ *+' conftest.er1 >conftest.err
36689 rm -f conftest.er1
36690 cat conftest.err >&5
36691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36692 (exit $ac_status); } && {
36693 test -z "$ac_c_werror_flag" ||
36694 test ! -s conftest.err
36695 } && test -s conftest.$ac_objext; then
36696 ac_cv_type_size_t=yes
36697 else
36698 echo "$as_me: failed program was:" >&5
36699 sed 's/^/| /' conftest.$ac_ext >&5
36700
36701 ac_cv_type_size_t=no
36702 fi
36703
36704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36705 fi
36706 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36707 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36708 if test $ac_cv_type_size_t = yes; then
36709 :
36710 else
36711
36712 cat >>confdefs.h <<_ACEOF
36713 #define size_t unsigned int
36714 _ACEOF
36715
36716 fi
36717
36718 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36719 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36720 if test "${ac_cv_type_uid_t+set}" = set; then
36721 echo $ECHO_N "(cached) $ECHO_C" >&6
36722 else
36723 cat >conftest.$ac_ext <<_ACEOF
36724 /* confdefs.h. */
36725 _ACEOF
36726 cat confdefs.h >>conftest.$ac_ext
36727 cat >>conftest.$ac_ext <<_ACEOF
36728 /* end confdefs.h. */
36729 #include <sys/types.h>
36730
36731 _ACEOF
36732 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36733 $EGREP "uid_t" >/dev/null 2>&1; then
36734 ac_cv_type_uid_t=yes
36735 else
36736 ac_cv_type_uid_t=no
36737 fi
36738 rm -f conftest*
36739
36740 fi
36741 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36742 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36743 if test $ac_cv_type_uid_t = no; then
36744
36745 cat >>confdefs.h <<\_ACEOF
36746 #define uid_t int
36747 _ACEOF
36748
36749
36750 cat >>confdefs.h <<\_ACEOF
36751 #define gid_t int
36752 _ACEOF
36753
36754 fi
36755
36756
36757 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36758 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36759 if test "${ac_cv_type_ssize_t+set}" = set; then
36760 echo $ECHO_N "(cached) $ECHO_C" >&6
36761 else
36762 cat >conftest.$ac_ext <<_ACEOF
36763 /* confdefs.h. */
36764 _ACEOF
36765 cat confdefs.h >>conftest.$ac_ext
36766 cat >>conftest.$ac_ext <<_ACEOF
36767 /* end confdefs.h. */
36768 $ac_includes_default
36769 typedef ssize_t ac__type_new_;
36770 int
36771 main ()
36772 {
36773 if ((ac__type_new_ *) 0)
36774 return 0;
36775 if (sizeof (ac__type_new_))
36776 return 0;
36777 ;
36778 return 0;
36779 }
36780 _ACEOF
36781 rm -f conftest.$ac_objext
36782 if { (ac_try="$ac_compile"
36783 case "(($ac_try" in
36784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36785 *) ac_try_echo=$ac_try;;
36786 esac
36787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36788 (eval "$ac_compile") 2>conftest.er1
36789 ac_status=$?
36790 grep -v '^ *+' conftest.er1 >conftest.err
36791 rm -f conftest.er1
36792 cat conftest.err >&5
36793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36794 (exit $ac_status); } && {
36795 test -z "$ac_c_werror_flag" ||
36796 test ! -s conftest.err
36797 } && test -s conftest.$ac_objext; then
36798 ac_cv_type_ssize_t=yes
36799 else
36800 echo "$as_me: failed program was:" >&5
36801 sed 's/^/| /' conftest.$ac_ext >&5
36802
36803 ac_cv_type_ssize_t=no
36804 fi
36805
36806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36807 fi
36808 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36809 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36810 if test $ac_cv_type_ssize_t = yes; then
36811
36812 cat >>confdefs.h <<_ACEOF
36813 #define HAVE_SSIZE_T 1
36814 _ACEOF
36815
36816
36817 fi
36818
36819
36820 ac_ext=cpp
36821 ac_cpp='$CXXCPP $CPPFLAGS'
36822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36825 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36826 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
36827 if test "${wx_cv_size_t_is_uint+set}" = set; then
36828 echo $ECHO_N "(cached) $ECHO_C" >&6
36829 else
36830
36831 cat >conftest.$ac_ext <<_ACEOF
36832 /* confdefs.h. */
36833 _ACEOF
36834 cat confdefs.h >>conftest.$ac_ext
36835 cat >>conftest.$ac_ext <<_ACEOF
36836 /* end confdefs.h. */
36837 #include <stddef.h>
36838 int
36839 main ()
36840 {
36841
36842 return 0; }
36843
36844 struct Foo { void foo(size_t); void foo(unsigned int); };
36845
36846 int bar() {
36847
36848 ;
36849 return 0;
36850 }
36851 _ACEOF
36852 rm -f conftest.$ac_objext
36853 if { (ac_try="$ac_compile"
36854 case "(($ac_try" in
36855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36856 *) ac_try_echo=$ac_try;;
36857 esac
36858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36859 (eval "$ac_compile") 2>conftest.er1
36860 ac_status=$?
36861 grep -v '^ *+' conftest.er1 >conftest.err
36862 rm -f conftest.er1
36863 cat conftest.err >&5
36864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36865 (exit $ac_status); } && {
36866 test -z "$ac_cxx_werror_flag" ||
36867 test ! -s conftest.err
36868 } && test -s conftest.$ac_objext; then
36869 wx_cv_size_t_is_uint=no
36870 else
36871 echo "$as_me: failed program was:" >&5
36872 sed 's/^/| /' conftest.$ac_ext >&5
36873
36874 wx_cv_size_t_is_uint=yes
36875
36876 fi
36877
36878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36879
36880
36881 fi
36882 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36883 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36884
36885 if test "$wx_cv_size_t_is_uint" = "yes"; then
36886 cat >>confdefs.h <<\_ACEOF
36887 #define wxSIZE_T_IS_UINT 1
36888 _ACEOF
36889
36890 else
36891 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36892 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36893 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36894 echo $ECHO_N "(cached) $ECHO_C" >&6
36895 else
36896 cat >conftest.$ac_ext <<_ACEOF
36897 /* confdefs.h. */
36898 _ACEOF
36899 cat confdefs.h >>conftest.$ac_ext
36900 cat >>conftest.$ac_ext <<_ACEOF
36901 /* end confdefs.h. */
36902 #include <stddef.h>
36903 int
36904 main ()
36905 {
36906
36907 return 0; }
36908
36909 struct Foo { void foo(size_t); void foo(unsigned long); };
36910
36911 int bar() {
36912
36913 ;
36914 return 0;
36915 }
36916 _ACEOF
36917 rm -f conftest.$ac_objext
36918 if { (ac_try="$ac_compile"
36919 case "(($ac_try" in
36920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36921 *) ac_try_echo=$ac_try;;
36922 esac
36923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36924 (eval "$ac_compile") 2>conftest.er1
36925 ac_status=$?
36926 grep -v '^ *+' conftest.er1 >conftest.err
36927 rm -f conftest.er1
36928 cat conftest.err >&5
36929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36930 (exit $ac_status); } && {
36931 test -z "$ac_cxx_werror_flag" ||
36932 test ! -s conftest.err
36933 } && test -s conftest.$ac_objext; then
36934 wx_cv_size_t_is_ulong=no
36935 else
36936 echo "$as_me: failed program was:" >&5
36937 sed 's/^/| /' conftest.$ac_ext >&5
36938
36939 wx_cv_size_t_is_ulong=yes
36940
36941 fi
36942
36943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36944
36945 fi
36946 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36947 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36948
36949 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36950 cat >>confdefs.h <<\_ACEOF
36951 #define wxSIZE_T_IS_ULONG 1
36952 _ACEOF
36953
36954 fi
36955 fi
36956
36957 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36958 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36959 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36960 echo $ECHO_N "(cached) $ECHO_C" >&6
36961 else
36962 cat >conftest.$ac_ext <<_ACEOF
36963 /* confdefs.h. */
36964 _ACEOF
36965 cat confdefs.h >>conftest.$ac_ext
36966 cat >>conftest.$ac_ext <<_ACEOF
36967 /* end confdefs.h. */
36968 #include <wchar.h>
36969 int
36970 main ()
36971 {
36972
36973 return 0; }
36974
36975 struct Foo { void foo(wchar_t);
36976 void foo(unsigned short);
36977 void foo(unsigned int);
36978 void foo(unsigned long); };
36979
36980 int bar() {
36981
36982 ;
36983 return 0;
36984 }
36985 _ACEOF
36986 rm -f conftest.$ac_objext
36987 if { (ac_try="$ac_compile"
36988 case "(($ac_try" in
36989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36990 *) ac_try_echo=$ac_try;;
36991 esac
36992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36993 (eval "$ac_compile") 2>conftest.er1
36994 ac_status=$?
36995 grep -v '^ *+' conftest.er1 >conftest.err
36996 rm -f conftest.er1
36997 cat conftest.err >&5
36998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36999 (exit $ac_status); } && {
37000 test -z "$ac_cxx_werror_flag" ||
37001 test ! -s conftest.err
37002 } && test -s conftest.$ac_objext; then
37003 wx_cv_wchar_t_is_separate_type=yes
37004 else
37005 echo "$as_me: failed program was:" >&5
37006 sed 's/^/| /' conftest.$ac_ext >&5
37007
37008 wx_cv_wchar_t_is_separate_type=no
37009
37010 fi
37011
37012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37013
37014 fi
37015 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
37016 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37017
37018 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37019 cat >>confdefs.h <<\_ACEOF
37020 #define wxWCHAR_T_IS_REAL_TYPE 1
37021 _ACEOF
37022
37023 else
37024 cat >>confdefs.h <<\_ACEOF
37025 #define wxWCHAR_T_IS_REAL_TYPE 0
37026 _ACEOF
37027
37028 fi
37029
37030 ac_ext=c
37031 ac_cpp='$CPP $CPPFLAGS'
37032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37035
37036
37037 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37038 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37039 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37040 echo $ECHO_N "(cached) $ECHO_C" >&6
37041 else
37042
37043 cat >conftest.$ac_ext <<_ACEOF
37044 /* confdefs.h. */
37045 _ACEOF
37046 cat confdefs.h >>conftest.$ac_ext
37047 cat >>conftest.$ac_ext <<_ACEOF
37048 /* end confdefs.h. */
37049 #include <pwd.h>
37050 int
37051 main ()
37052 {
37053
37054 char *p;
37055 struct passwd *pw;
37056 p = pw->pw_gecos;
37057
37058 ;
37059 return 0;
37060 }
37061 _ACEOF
37062 rm -f conftest.$ac_objext
37063 if { (ac_try="$ac_compile"
37064 case "(($ac_try" in
37065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37066 *) ac_try_echo=$ac_try;;
37067 esac
37068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37069 (eval "$ac_compile") 2>conftest.er1
37070 ac_status=$?
37071 grep -v '^ *+' conftest.er1 >conftest.err
37072 rm -f conftest.er1
37073 cat conftest.err >&5
37074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37075 (exit $ac_status); } && {
37076 test -z "$ac_c_werror_flag" ||
37077 test ! -s conftest.err
37078 } && test -s conftest.$ac_objext; then
37079
37080 wx_cv_struct_pw_gecos=yes
37081
37082 else
37083 echo "$as_me: failed program was:" >&5
37084 sed 's/^/| /' conftest.$ac_ext >&5
37085
37086
37087 wx_cv_struct_pw_gecos=no
37088
37089
37090 fi
37091
37092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37093
37094
37095 fi
37096 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37097 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37098
37099 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37100 cat >>confdefs.h <<\_ACEOF
37101 #define HAVE_PW_GECOS 1
37102 _ACEOF
37103
37104 fi
37105
37106
37107 if test "$wxUSE_WCHAR_T" = "yes"; then
37108 cat >>confdefs.h <<\_ACEOF
37109 #define wxUSE_WCHAR_T 1
37110 _ACEOF
37111
37112
37113 WCSLEN_FOUND=0
37114 WCHAR_LINK=
37115
37116 for ac_func in wcslen
37117 do
37118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37119 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37121 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37122 echo $ECHO_N "(cached) $ECHO_C" >&6
37123 else
37124 cat >conftest.$ac_ext <<_ACEOF
37125 /* confdefs.h. */
37126 _ACEOF
37127 cat confdefs.h >>conftest.$ac_ext
37128 cat >>conftest.$ac_ext <<_ACEOF
37129 /* end confdefs.h. */
37130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37132 #define $ac_func innocuous_$ac_func
37133
37134 /* System header to define __stub macros and hopefully few prototypes,
37135 which can conflict with char $ac_func (); below.
37136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37137 <limits.h> exists even on freestanding compilers. */
37138
37139 #ifdef __STDC__
37140 # include <limits.h>
37141 #else
37142 # include <assert.h>
37143 #endif
37144
37145 #undef $ac_func
37146
37147 /* Override any GCC internal prototype to avoid an error.
37148 Use char because int might match the return type of a GCC
37149 builtin and then its argument prototype would still apply. */
37150 #ifdef __cplusplus
37151 extern "C"
37152 #endif
37153 char $ac_func ();
37154 /* The GNU C library defines this for functions which it implements
37155 to always fail with ENOSYS. Some functions are actually named
37156 something starting with __ and the normal name is an alias. */
37157 #if defined __stub_$ac_func || defined __stub___$ac_func
37158 choke me
37159 #endif
37160
37161 int
37162 main ()
37163 {
37164 return $ac_func ();
37165 ;
37166 return 0;
37167 }
37168 _ACEOF
37169 rm -f conftest.$ac_objext conftest$ac_exeext
37170 if { (ac_try="$ac_link"
37171 case "(($ac_try" in
37172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37173 *) ac_try_echo=$ac_try;;
37174 esac
37175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37176 (eval "$ac_link") 2>conftest.er1
37177 ac_status=$?
37178 grep -v '^ *+' conftest.er1 >conftest.err
37179 rm -f conftest.er1
37180 cat conftest.err >&5
37181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37182 (exit $ac_status); } && {
37183 test -z "$ac_c_werror_flag" ||
37184 test ! -s conftest.err
37185 } && test -s conftest$ac_exeext &&
37186 $as_test_x conftest$ac_exeext; then
37187 eval "$as_ac_var=yes"
37188 else
37189 echo "$as_me: failed program was:" >&5
37190 sed 's/^/| /' conftest.$ac_ext >&5
37191
37192 eval "$as_ac_var=no"
37193 fi
37194
37195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37196 conftest$ac_exeext conftest.$ac_ext
37197 fi
37198 ac_res=`eval echo '${'$as_ac_var'}'`
37199 { echo "$as_me:$LINENO: result: $ac_res" >&5
37200 echo "${ECHO_T}$ac_res" >&6; }
37201 if test `eval echo '${'$as_ac_var'}'` = yes; then
37202 cat >>confdefs.h <<_ACEOF
37203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37204 _ACEOF
37205 WCSLEN_FOUND=1
37206 fi
37207 done
37208
37209
37210 if test "$WCSLEN_FOUND" = 0; then
37211 if test "$TOOLKIT" = "MSW"; then
37212 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37213 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37214 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37215 echo $ECHO_N "(cached) $ECHO_C" >&6
37216 else
37217 ac_check_lib_save_LIBS=$LIBS
37218 LIBS="-lmsvcrt $LIBS"
37219 cat >conftest.$ac_ext <<_ACEOF
37220 /* confdefs.h. */
37221 _ACEOF
37222 cat confdefs.h >>conftest.$ac_ext
37223 cat >>conftest.$ac_ext <<_ACEOF
37224 /* end confdefs.h. */
37225
37226 /* Override any GCC internal prototype to avoid an error.
37227 Use char because int might match the return type of a GCC
37228 builtin and then its argument prototype would still apply. */
37229 #ifdef __cplusplus
37230 extern "C"
37231 #endif
37232 char wcslen ();
37233 int
37234 main ()
37235 {
37236 return wcslen ();
37237 ;
37238 return 0;
37239 }
37240 _ACEOF
37241 rm -f conftest.$ac_objext conftest$ac_exeext
37242 if { (ac_try="$ac_link"
37243 case "(($ac_try" in
37244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37245 *) ac_try_echo=$ac_try;;
37246 esac
37247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37248 (eval "$ac_link") 2>conftest.er1
37249 ac_status=$?
37250 grep -v '^ *+' conftest.er1 >conftest.err
37251 rm -f conftest.er1
37252 cat conftest.err >&5
37253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37254 (exit $ac_status); } && {
37255 test -z "$ac_c_werror_flag" ||
37256 test ! -s conftest.err
37257 } && test -s conftest$ac_exeext &&
37258 $as_test_x conftest$ac_exeext; then
37259 ac_cv_lib_msvcrt_wcslen=yes
37260 else
37261 echo "$as_me: failed program was:" >&5
37262 sed 's/^/| /' conftest.$ac_ext >&5
37263
37264 ac_cv_lib_msvcrt_wcslen=no
37265 fi
37266
37267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37268 conftest$ac_exeext conftest.$ac_ext
37269 LIBS=$ac_check_lib_save_LIBS
37270 fi
37271 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37272 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37273 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37274 WCHAR_OK=1
37275 fi
37276
37277 else
37278 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37279 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37280 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37281 echo $ECHO_N "(cached) $ECHO_C" >&6
37282 else
37283 ac_check_lib_save_LIBS=$LIBS
37284 LIBS="-lw $LIBS"
37285 cat >conftest.$ac_ext <<_ACEOF
37286 /* confdefs.h. */
37287 _ACEOF
37288 cat confdefs.h >>conftest.$ac_ext
37289 cat >>conftest.$ac_ext <<_ACEOF
37290 /* end confdefs.h. */
37291
37292 /* Override any GCC internal prototype to avoid an error.
37293 Use char because int might match the return type of a GCC
37294 builtin and then its argument prototype would still apply. */
37295 #ifdef __cplusplus
37296 extern "C"
37297 #endif
37298 char wcslen ();
37299 int
37300 main ()
37301 {
37302 return wcslen ();
37303 ;
37304 return 0;
37305 }
37306 _ACEOF
37307 rm -f conftest.$ac_objext conftest$ac_exeext
37308 if { (ac_try="$ac_link"
37309 case "(($ac_try" in
37310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37311 *) ac_try_echo=$ac_try;;
37312 esac
37313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37314 (eval "$ac_link") 2>conftest.er1
37315 ac_status=$?
37316 grep -v '^ *+' conftest.er1 >conftest.err
37317 rm -f conftest.er1
37318 cat conftest.err >&5
37319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37320 (exit $ac_status); } && {
37321 test -z "$ac_c_werror_flag" ||
37322 test ! -s conftest.err
37323 } && test -s conftest$ac_exeext &&
37324 $as_test_x conftest$ac_exeext; then
37325 ac_cv_lib_w_wcslen=yes
37326 else
37327 echo "$as_me: failed program was:" >&5
37328 sed 's/^/| /' conftest.$ac_ext >&5
37329
37330 ac_cv_lib_w_wcslen=no
37331 fi
37332
37333 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37334 conftest$ac_exeext conftest.$ac_ext
37335 LIBS=$ac_check_lib_save_LIBS
37336 fi
37337 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37338 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37339 if test $ac_cv_lib_w_wcslen = yes; then
37340
37341 WCHAR_LINK=" -lw"
37342 WCSLEN_FOUND=1
37343
37344 fi
37345
37346 fi
37347 fi
37348
37349 if test "$WCSLEN_FOUND" = 1; then
37350 cat >>confdefs.h <<\_ACEOF
37351 #define HAVE_WCSLEN 1
37352 _ACEOF
37353
37354 fi
37355
37356
37357 for ac_func in wcsdup
37358 do
37359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37360 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37362 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37363 echo $ECHO_N "(cached) $ECHO_C" >&6
37364 else
37365 cat >conftest.$ac_ext <<_ACEOF
37366 /* confdefs.h. */
37367 _ACEOF
37368 cat confdefs.h >>conftest.$ac_ext
37369 cat >>conftest.$ac_ext <<_ACEOF
37370 /* end confdefs.h. */
37371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37373 #define $ac_func innocuous_$ac_func
37374
37375 /* System header to define __stub macros and hopefully few prototypes,
37376 which can conflict with char $ac_func (); below.
37377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37378 <limits.h> exists even on freestanding compilers. */
37379
37380 #ifdef __STDC__
37381 # include <limits.h>
37382 #else
37383 # include <assert.h>
37384 #endif
37385
37386 #undef $ac_func
37387
37388 /* Override any GCC internal prototype to avoid an error.
37389 Use char because int might match the return type of a GCC
37390 builtin and then its argument prototype would still apply. */
37391 #ifdef __cplusplus
37392 extern "C"
37393 #endif
37394 char $ac_func ();
37395 /* The GNU C library defines this for functions which it implements
37396 to always fail with ENOSYS. Some functions are actually named
37397 something starting with __ and the normal name is an alias. */
37398 #if defined __stub_$ac_func || defined __stub___$ac_func
37399 choke me
37400 #endif
37401
37402 int
37403 main ()
37404 {
37405 return $ac_func ();
37406 ;
37407 return 0;
37408 }
37409 _ACEOF
37410 rm -f conftest.$ac_objext conftest$ac_exeext
37411 if { (ac_try="$ac_link"
37412 case "(($ac_try" in
37413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37414 *) ac_try_echo=$ac_try;;
37415 esac
37416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37417 (eval "$ac_link") 2>conftest.er1
37418 ac_status=$?
37419 grep -v '^ *+' conftest.er1 >conftest.err
37420 rm -f conftest.er1
37421 cat conftest.err >&5
37422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37423 (exit $ac_status); } && {
37424 test -z "$ac_c_werror_flag" ||
37425 test ! -s conftest.err
37426 } && test -s conftest$ac_exeext &&
37427 $as_test_x conftest$ac_exeext; then
37428 eval "$as_ac_var=yes"
37429 else
37430 echo "$as_me: failed program was:" >&5
37431 sed 's/^/| /' conftest.$ac_ext >&5
37432
37433 eval "$as_ac_var=no"
37434 fi
37435
37436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37437 conftest$ac_exeext conftest.$ac_ext
37438 fi
37439 ac_res=`eval echo '${'$as_ac_var'}'`
37440 { echo "$as_me:$LINENO: result: $ac_res" >&5
37441 echo "${ECHO_T}$ac_res" >&6; }
37442 if test `eval echo '${'$as_ac_var'}'` = yes; then
37443 cat >>confdefs.h <<_ACEOF
37444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37445 _ACEOF
37446
37447 fi
37448 done
37449
37450
37451 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37452 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37453 fi
37454
37455 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37456 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37457 if test "${ac_cv_type_mbstate_t+set}" = set; then
37458 echo $ECHO_N "(cached) $ECHO_C" >&6
37459 else
37460 cat >conftest.$ac_ext <<_ACEOF
37461 /* confdefs.h. */
37462 _ACEOF
37463 cat confdefs.h >>conftest.$ac_ext
37464 cat >>conftest.$ac_ext <<_ACEOF
37465 /* end confdefs.h. */
37466 #include <wchar.h>
37467
37468 typedef mbstate_t ac__type_new_;
37469 int
37470 main ()
37471 {
37472 if ((ac__type_new_ *) 0)
37473 return 0;
37474 if (sizeof (ac__type_new_))
37475 return 0;
37476 ;
37477 return 0;
37478 }
37479 _ACEOF
37480 rm -f conftest.$ac_objext
37481 if { (ac_try="$ac_compile"
37482 case "(($ac_try" in
37483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37484 *) ac_try_echo=$ac_try;;
37485 esac
37486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37487 (eval "$ac_compile") 2>conftest.er1
37488 ac_status=$?
37489 grep -v '^ *+' conftest.er1 >conftest.err
37490 rm -f conftest.er1
37491 cat conftest.err >&5
37492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37493 (exit $ac_status); } && {
37494 test -z "$ac_c_werror_flag" ||
37495 test ! -s conftest.err
37496 } && test -s conftest.$ac_objext; then
37497 ac_cv_type_mbstate_t=yes
37498 else
37499 echo "$as_me: failed program was:" >&5
37500 sed 's/^/| /' conftest.$ac_ext >&5
37501
37502 ac_cv_type_mbstate_t=no
37503 fi
37504
37505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37506 fi
37507 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37508 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37509 if test $ac_cv_type_mbstate_t = yes; then
37510
37511 cat >>confdefs.h <<_ACEOF
37512 #define HAVE_MBSTATE_T 1
37513 _ACEOF
37514
37515
37516 for ac_func in wcsrtombs
37517 do
37518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37519 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37521 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37522 echo $ECHO_N "(cached) $ECHO_C" >&6
37523 else
37524 cat >conftest.$ac_ext <<_ACEOF
37525 /* confdefs.h. */
37526 _ACEOF
37527 cat confdefs.h >>conftest.$ac_ext
37528 cat >>conftest.$ac_ext <<_ACEOF
37529 /* end confdefs.h. */
37530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37532 #define $ac_func innocuous_$ac_func
37533
37534 /* System header to define __stub macros and hopefully few prototypes,
37535 which can conflict with char $ac_func (); below.
37536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37537 <limits.h> exists even on freestanding compilers. */
37538
37539 #ifdef __STDC__
37540 # include <limits.h>
37541 #else
37542 # include <assert.h>
37543 #endif
37544
37545 #undef $ac_func
37546
37547 /* Override any GCC internal prototype to avoid an error.
37548 Use char because int might match the return type of a GCC
37549 builtin and then its argument prototype would still apply. */
37550 #ifdef __cplusplus
37551 extern "C"
37552 #endif
37553 char $ac_func ();
37554 /* The GNU C library defines this for functions which it implements
37555 to always fail with ENOSYS. Some functions are actually named
37556 something starting with __ and the normal name is an alias. */
37557 #if defined __stub_$ac_func || defined __stub___$ac_func
37558 choke me
37559 #endif
37560
37561 int
37562 main ()
37563 {
37564 return $ac_func ();
37565 ;
37566 return 0;
37567 }
37568 _ACEOF
37569 rm -f conftest.$ac_objext conftest$ac_exeext
37570 if { (ac_try="$ac_link"
37571 case "(($ac_try" in
37572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37573 *) ac_try_echo=$ac_try;;
37574 esac
37575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37576 (eval "$ac_link") 2>conftest.er1
37577 ac_status=$?
37578 grep -v '^ *+' conftest.er1 >conftest.err
37579 rm -f conftest.er1
37580 cat conftest.err >&5
37581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37582 (exit $ac_status); } && {
37583 test -z "$ac_c_werror_flag" ||
37584 test ! -s conftest.err
37585 } && test -s conftest$ac_exeext &&
37586 $as_test_x conftest$ac_exeext; then
37587 eval "$as_ac_var=yes"
37588 else
37589 echo "$as_me: failed program was:" >&5
37590 sed 's/^/| /' conftest.$ac_ext >&5
37591
37592 eval "$as_ac_var=no"
37593 fi
37594
37595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37596 conftest$ac_exeext conftest.$ac_ext
37597 fi
37598 ac_res=`eval echo '${'$as_ac_var'}'`
37599 { echo "$as_me:$LINENO: result: $ac_res" >&5
37600 echo "${ECHO_T}$ac_res" >&6; }
37601 if test `eval echo '${'$as_ac_var'}'` = yes; then
37602 cat >>confdefs.h <<_ACEOF
37603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37604 _ACEOF
37605
37606 fi
37607 done
37608
37609 fi
37610
37611 else
37612 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37613 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37614 fi
37615
37616
37617
37618 for ac_func in snprintf vsnprintf
37619 do
37620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37621 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37623 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37624 echo $ECHO_N "(cached) $ECHO_C" >&6
37625 else
37626 cat >conftest.$ac_ext <<_ACEOF
37627 /* confdefs.h. */
37628 _ACEOF
37629 cat confdefs.h >>conftest.$ac_ext
37630 cat >>conftest.$ac_ext <<_ACEOF
37631 /* end confdefs.h. */
37632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37634 #define $ac_func innocuous_$ac_func
37635
37636 /* System header to define __stub macros and hopefully few prototypes,
37637 which can conflict with char $ac_func (); below.
37638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37639 <limits.h> exists even on freestanding compilers. */
37640
37641 #ifdef __STDC__
37642 # include <limits.h>
37643 #else
37644 # include <assert.h>
37645 #endif
37646
37647 #undef $ac_func
37648
37649 /* Override any GCC internal prototype to avoid an error.
37650 Use char because int might match the return type of a GCC
37651 builtin and then its argument prototype would still apply. */
37652 #ifdef __cplusplus
37653 extern "C"
37654 #endif
37655 char $ac_func ();
37656 /* The GNU C library defines this for functions which it implements
37657 to always fail with ENOSYS. Some functions are actually named
37658 something starting with __ and the normal name is an alias. */
37659 #if defined __stub_$ac_func || defined __stub___$ac_func
37660 choke me
37661 #endif
37662
37663 int
37664 main ()
37665 {
37666 return $ac_func ();
37667 ;
37668 return 0;
37669 }
37670 _ACEOF
37671 rm -f conftest.$ac_objext conftest$ac_exeext
37672 if { (ac_try="$ac_link"
37673 case "(($ac_try" in
37674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37675 *) ac_try_echo=$ac_try;;
37676 esac
37677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37678 (eval "$ac_link") 2>conftest.er1
37679 ac_status=$?
37680 grep -v '^ *+' conftest.er1 >conftest.err
37681 rm -f conftest.er1
37682 cat conftest.err >&5
37683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37684 (exit $ac_status); } && {
37685 test -z "$ac_c_werror_flag" ||
37686 test ! -s conftest.err
37687 } && test -s conftest$ac_exeext &&
37688 $as_test_x conftest$ac_exeext; then
37689 eval "$as_ac_var=yes"
37690 else
37691 echo "$as_me: failed program was:" >&5
37692 sed 's/^/| /' conftest.$ac_ext >&5
37693
37694 eval "$as_ac_var=no"
37695 fi
37696
37697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37698 conftest$ac_exeext conftest.$ac_ext
37699 fi
37700 ac_res=`eval echo '${'$as_ac_var'}'`
37701 { echo "$as_me:$LINENO: result: $ac_res" >&5
37702 echo "${ECHO_T}$ac_res" >&6; }
37703 if test `eval echo '${'$as_ac_var'}'` = yes; then
37704 cat >>confdefs.h <<_ACEOF
37705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37706 _ACEOF
37707
37708 fi
37709 done
37710
37711
37712 if test "$ac_cv_func_vsnprintf" = "yes"; then
37713 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37714 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37715 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37716 echo $ECHO_N "(cached) $ECHO_C" >&6
37717 else
37718
37719 cat >conftest.$ac_ext <<_ACEOF
37720 /* confdefs.h. */
37721 _ACEOF
37722 cat confdefs.h >>conftest.$ac_ext
37723 cat >>conftest.$ac_ext <<_ACEOF
37724 /* end confdefs.h. */
37725
37726 #include <stdio.h>
37727 #include <stdarg.h>
37728 #ifdef __MSL__
37729 #if __MSL__ >= 0x6000
37730 namespace std {}
37731 using namespace std;
37732 #endif
37733 #endif
37734
37735 int
37736 main ()
37737 {
37738
37739 char *buf;
37740 va_list ap;
37741 vsnprintf(buf, 10u, "%s", ap);
37742
37743 ;
37744 return 0;
37745 }
37746 _ACEOF
37747 rm -f conftest.$ac_objext
37748 if { (ac_try="$ac_compile"
37749 case "(($ac_try" in
37750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37751 *) ac_try_echo=$ac_try;;
37752 esac
37753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37754 (eval "$ac_compile") 2>conftest.er1
37755 ac_status=$?
37756 grep -v '^ *+' conftest.er1 >conftest.err
37757 rm -f conftest.er1
37758 cat conftest.err >&5
37759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37760 (exit $ac_status); } && {
37761 test -z "$ac_c_werror_flag" ||
37762 test ! -s conftest.err
37763 } && test -s conftest.$ac_objext; then
37764 wx_cv_func_vsnprintf_decl=yes
37765 else
37766 echo "$as_me: failed program was:" >&5
37767 sed 's/^/| /' conftest.$ac_ext >&5
37768
37769 wx_cv_func_vsnprintf_decl=no
37770
37771 fi
37772
37773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37774
37775
37776 fi
37777 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37778 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37779
37780 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37781 cat >>confdefs.h <<\_ACEOF
37782 #define HAVE_VSNPRINTF_DECL 1
37783 _ACEOF
37784
37785
37786 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37787 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37788 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37789 echo $ECHO_N "(cached) $ECHO_C" >&6
37790 else
37791
37792 cat >conftest.$ac_ext <<_ACEOF
37793 /* confdefs.h. */
37794 _ACEOF
37795 cat confdefs.h >>conftest.$ac_ext
37796 cat >>conftest.$ac_ext <<_ACEOF
37797 /* end confdefs.h. */
37798
37799 #include <stdio.h>
37800 #include <stdarg.h>
37801 #ifdef __MSL__
37802 #if __MSL__ >= 0x6000
37803 namespace std {}
37804 using namespace std;
37805 #endif
37806 #endif
37807
37808 int
37809 main ()
37810 {
37811
37812 char *buf;
37813 va_list ap;
37814 const char *fmt = "%s";
37815 vsnprintf(buf, 10u, fmt, ap);
37816
37817 ;
37818 return 0;
37819 }
37820 _ACEOF
37821 rm -f conftest.$ac_objext
37822 if { (ac_try="$ac_compile"
37823 case "(($ac_try" in
37824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37825 *) ac_try_echo=$ac_try;;
37826 esac
37827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37828 (eval "$ac_compile") 2>conftest.er1
37829 ac_status=$?
37830 grep -v '^ *+' conftest.er1 >conftest.err
37831 rm -f conftest.er1
37832 cat conftest.err >&5
37833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37834 (exit $ac_status); } && {
37835 test -z "$ac_c_werror_flag" ||
37836 test ! -s conftest.err
37837 } && test -s conftest.$ac_objext; then
37838 wx_cv_func_broken_vsnprintf_decl=no
37839 else
37840 echo "$as_me: failed program was:" >&5
37841 sed 's/^/| /' conftest.$ac_ext >&5
37842
37843 wx_cv_func_broken_vsnprintf_decl=yes
37844
37845 fi
37846
37847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37848
37849
37850 fi
37851 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37852 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37853
37854 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37855 cat >>confdefs.h <<\_ACEOF
37856 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37857 _ACEOF
37858
37859 fi
37860 fi
37861 fi
37862
37863 if test "$ac_cv_func_snprintf" = "yes"; then
37864 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37865 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37866 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37867 echo $ECHO_N "(cached) $ECHO_C" >&6
37868 else
37869
37870 cat >conftest.$ac_ext <<_ACEOF
37871 /* confdefs.h. */
37872 _ACEOF
37873 cat confdefs.h >>conftest.$ac_ext
37874 cat >>conftest.$ac_ext <<_ACEOF
37875 /* end confdefs.h. */
37876
37877 #include <stdio.h>
37878 #include <stdarg.h>
37879 #ifdef __MSL__
37880 #if __MSL__ >= 0x6000
37881 namespace std {}
37882 using namespace std;
37883 #endif
37884 #endif
37885
37886 int
37887 main ()
37888 {
37889
37890 char *buf;
37891 snprintf(buf, 10u, "%s", "wx");
37892
37893 ;
37894 return 0;
37895 }
37896 _ACEOF
37897 rm -f conftest.$ac_objext
37898 if { (ac_try="$ac_compile"
37899 case "(($ac_try" in
37900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37901 *) ac_try_echo=$ac_try;;
37902 esac
37903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37904 (eval "$ac_compile") 2>conftest.er1
37905 ac_status=$?
37906 grep -v '^ *+' conftest.er1 >conftest.err
37907 rm -f conftest.er1
37908 cat conftest.err >&5
37909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37910 (exit $ac_status); } && {
37911 test -z "$ac_c_werror_flag" ||
37912 test ! -s conftest.err
37913 } && test -s conftest.$ac_objext; then
37914 wx_cv_func_snprintf_decl=yes
37915 else
37916 echo "$as_me: failed program was:" >&5
37917 sed 's/^/| /' conftest.$ac_ext >&5
37918
37919 wx_cv_func_snprintf_decl=no
37920
37921 fi
37922
37923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37924
37925
37926 fi
37927 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
37928 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37929
37930 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37931 cat >>confdefs.h <<\_ACEOF
37932 #define HAVE_SNPRINTF_DECL 1
37933 _ACEOF
37934
37935 fi
37936
37937 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37938
37939 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37940 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37941 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37942 echo $ECHO_N "(cached) $ECHO_C" >&6
37943 else
37944
37945 if test "$cross_compiling" = yes; then
37946
37947 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37948 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37949 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37950 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37951 wx_cv_func_snprintf_pos_params=no
37952
37953
37954 else
37955 cat >conftest.$ac_ext <<_ACEOF
37956 /* confdefs.h. */
37957 _ACEOF
37958 cat confdefs.h >>conftest.$ac_ext
37959 cat >>conftest.$ac_ext <<_ACEOF
37960 /* end confdefs.h. */
37961
37962 #include <stdio.h>
37963
37964 int main (void)
37965 {
37966 char buffer[128];
37967 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37968 if (strcmp ("2 3 1", buffer) == 0)
37969 exit (0);
37970 exit (1);
37971 }
37972
37973 _ACEOF
37974 rm -f conftest$ac_exeext
37975 if { (ac_try="$ac_link"
37976 case "(($ac_try" in
37977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37978 *) ac_try_echo=$ac_try;;
37979 esac
37980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37981 (eval "$ac_link") 2>&5
37982 ac_status=$?
37983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37984 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37985 { (case "(($ac_try" in
37986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37987 *) ac_try_echo=$ac_try;;
37988 esac
37989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37990 (eval "$ac_try") 2>&5
37991 ac_status=$?
37992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37993 (exit $ac_status); }; }; then
37994 wx_cv_func_snprintf_pos_params=no
37995 else
37996 echo "$as_me: program exited with status $ac_status" >&5
37997 echo "$as_me: failed program was:" >&5
37998 sed 's/^/| /' conftest.$ac_ext >&5
37999
38000 ( exit $ac_status )
38001 wx_cv_func_snprintf_pos_params=yes
38002 fi
38003 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38004 fi
38005
38006
38007
38008
38009 fi
38010 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38011 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38012
38013 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38014 cat >>confdefs.h <<\_ACEOF
38015 #define HAVE_UNIX98_PRINTF 1
38016 _ACEOF
38017
38018 fi
38019 fi
38020 fi
38021
38022 if test "$wxUSE_UNICODE" = yes; then
38023
38024 wchar_headers="#include <stdio.h>
38025 #include <wchar.h>"
38026 case "${host}" in
38027 *-*-solaris2* )
38028
38029 for ac_header in widec.h
38030 do
38031 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38032 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38033 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38034 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38035 echo $ECHO_N "(cached) $ECHO_C" >&6
38036 else
38037 cat >conftest.$ac_ext <<_ACEOF
38038 /* confdefs.h. */
38039 _ACEOF
38040 cat confdefs.h >>conftest.$ac_ext
38041 cat >>conftest.$ac_ext <<_ACEOF
38042 /* end confdefs.h. */
38043 $ac_includes_default
38044
38045 #include <$ac_header>
38046 _ACEOF
38047 rm -f conftest.$ac_objext
38048 if { (ac_try="$ac_compile"
38049 case "(($ac_try" in
38050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38051 *) ac_try_echo=$ac_try;;
38052 esac
38053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38054 (eval "$ac_compile") 2>conftest.er1
38055 ac_status=$?
38056 grep -v '^ *+' conftest.er1 >conftest.err
38057 rm -f conftest.er1
38058 cat conftest.err >&5
38059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38060 (exit $ac_status); } && {
38061 test -z "$ac_c_werror_flag" ||
38062 test ! -s conftest.err
38063 } && test -s conftest.$ac_objext; then
38064 eval "$as_ac_Header=yes"
38065 else
38066 echo "$as_me: failed program was:" >&5
38067 sed 's/^/| /' conftest.$ac_ext >&5
38068
38069 eval "$as_ac_Header=no"
38070 fi
38071
38072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38073 fi
38074 ac_res=`eval echo '${'$as_ac_Header'}'`
38075 { echo "$as_me:$LINENO: result: $ac_res" >&5
38076 echo "${ECHO_T}$ac_res" >&6; }
38077 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38078 cat >>confdefs.h <<_ACEOF
38079 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38080 _ACEOF
38081
38082 fi
38083
38084 done
38085
38086 if test "$ac_cv_header_widec_h" = "yes"; then
38087 wchar_headers="$wchar_headers
38088 #include <widec.h>"
38089 fi
38090 esac
38091
38092
38093 for wx_func in putws fputws wprintf vswprintf
38094 do
38095 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38096 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38097 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38098 echo $ECHO_N "(cached) $ECHO_C" >&6
38099 else
38100
38101 cat >conftest.$ac_ext <<_ACEOF
38102
38103 /* confdefs.h. */
38104 _ACEOF
38105 cat confdefs.h >>conftest.$ac_ext
38106 cat >>conftest.$ac_ext <<_ACEOF
38107 /* end confdefs.h. */
38108
38109 $wchar_headers
38110 $ac_includes_default
38111
38112 int
38113 main ()
38114 {
38115
38116 #ifndef $wx_func
38117 &$wx_func;
38118 #endif
38119
38120
38121 ;
38122 return 0;
38123 }
38124
38125 _ACEOF
38126 rm -f conftest.$ac_objext conftest$ac_exeext
38127 if { (ac_try="$ac_link"
38128 case "(($ac_try" in
38129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38130 *) ac_try_echo=$ac_try;;
38131 esac
38132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38133 (eval "$ac_link") 2>conftest.er1
38134 ac_status=$?
38135 grep -v '^ *+' conftest.er1 >conftest.err
38136 rm -f conftest.er1
38137 cat conftest.err >&5
38138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38139 (exit $ac_status); } && {
38140 test -z "$ac_c_werror_flag" ||
38141 test ! -s conftest.err
38142 } && test -s conftest$ac_exeext &&
38143 $as_test_x conftest$ac_exeext; then
38144 eval wx_cv_func_$wx_func=yes
38145 else
38146 echo "$as_me: failed program was:" >&5
38147 sed 's/^/| /' conftest.$ac_ext >&5
38148
38149 eval wx_cv_func_$wx_func=no
38150 fi
38151
38152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38153 conftest$ac_exeext conftest.$ac_ext
38154
38155 fi
38156 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38157 { echo "$as_me:$LINENO: result: $ac_res" >&5
38158 echo "${ECHO_T}$ac_res" >&6; }
38159
38160 if eval test \$wx_cv_func_$wx_func = yes
38161 then
38162 cat >>confdefs.h <<_ACEOF
38163 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38164 _ACEOF
38165
38166
38167 else
38168 :
38169
38170 fi
38171 done
38172
38173
38174 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38175 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38176 cat >conftest.$ac_ext <<_ACEOF
38177 /* confdefs.h. */
38178 _ACEOF
38179 cat confdefs.h >>conftest.$ac_ext
38180 cat >>conftest.$ac_ext <<_ACEOF
38181 /* end confdefs.h. */
38182 #include <wchar.h>
38183 int
38184 main ()
38185 {
38186 &_vsnwprintf;
38187 ;
38188 return 0;
38189 }
38190 _ACEOF
38191 rm -f conftest.$ac_objext
38192 if { (ac_try="$ac_compile"
38193 case "(($ac_try" in
38194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38195 *) ac_try_echo=$ac_try;;
38196 esac
38197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38198 (eval "$ac_compile") 2>conftest.er1
38199 ac_status=$?
38200 grep -v '^ *+' conftest.er1 >conftest.err
38201 rm -f conftest.er1
38202 cat conftest.err >&5
38203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38204 (exit $ac_status); } && {
38205 test -z "$ac_c_werror_flag" ||
38206 test ! -s conftest.err
38207 } && test -s conftest.$ac_objext; then
38208 { echo "$as_me:$LINENO: result: yes" >&5
38209 echo "${ECHO_T}yes" >&6; }
38210 cat >>confdefs.h <<\_ACEOF
38211 #define HAVE__VSNWPRINTF 1
38212 _ACEOF
38213
38214 else
38215 echo "$as_me: failed program was:" >&5
38216 sed 's/^/| /' conftest.$ac_ext >&5
38217
38218 { echo "$as_me:$LINENO: result: no" >&5
38219 echo "${ECHO_T}no" >&6; }
38220 fi
38221
38222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38223 fi
38224
38225 if test "$wxUSE_FILE" = "yes"; then
38226
38227 for wx_func in fsync
38228 do
38229 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38230 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38231 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38232 echo $ECHO_N "(cached) $ECHO_C" >&6
38233 else
38234
38235 cat >conftest.$ac_ext <<_ACEOF
38236
38237 /* confdefs.h. */
38238 _ACEOF
38239 cat confdefs.h >>conftest.$ac_ext
38240 cat >>conftest.$ac_ext <<_ACEOF
38241 /* end confdefs.h. */
38242
38243
38244 $ac_includes_default
38245
38246 int
38247 main ()
38248 {
38249
38250 #ifndef $wx_func
38251 &$wx_func;
38252 #endif
38253
38254
38255 ;
38256 return 0;
38257 }
38258
38259 _ACEOF
38260 rm -f conftest.$ac_objext conftest$ac_exeext
38261 if { (ac_try="$ac_link"
38262 case "(($ac_try" in
38263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38264 *) ac_try_echo=$ac_try;;
38265 esac
38266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38267 (eval "$ac_link") 2>conftest.er1
38268 ac_status=$?
38269 grep -v '^ *+' conftest.er1 >conftest.err
38270 rm -f conftest.er1
38271 cat conftest.err >&5
38272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38273 (exit $ac_status); } && {
38274 test -z "$ac_c_werror_flag" ||
38275 test ! -s conftest.err
38276 } && test -s conftest$ac_exeext &&
38277 $as_test_x conftest$ac_exeext; then
38278 eval wx_cv_func_$wx_func=yes
38279 else
38280 echo "$as_me: failed program was:" >&5
38281 sed 's/^/| /' conftest.$ac_ext >&5
38282
38283 eval wx_cv_func_$wx_func=no
38284 fi
38285
38286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38287 conftest$ac_exeext conftest.$ac_ext
38288
38289 fi
38290 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38291 { echo "$as_me:$LINENO: result: $ac_res" >&5
38292 echo "${ECHO_T}$ac_res" >&6; }
38293
38294 if eval test \$wx_cv_func_$wx_func = yes
38295 then
38296 cat >>confdefs.h <<_ACEOF
38297 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38298 _ACEOF
38299
38300
38301 else
38302 :
38303
38304 fi
38305 done
38306
38307 fi
38308
38309 ac_ext=cpp
38310 ac_cpp='$CXXCPP $CPPFLAGS'
38311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38314
38315
38316 for wx_func in round
38317 do
38318 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38319 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38320 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38321 echo $ECHO_N "(cached) $ECHO_C" >&6
38322 else
38323
38324 cat >conftest.$ac_ext <<_ACEOF
38325
38326 /* confdefs.h. */
38327 _ACEOF
38328 cat confdefs.h >>conftest.$ac_ext
38329 cat >>conftest.$ac_ext <<_ACEOF
38330 /* end confdefs.h. */
38331
38332 #include <math.h>
38333 $ac_includes_default
38334
38335 int
38336 main ()
38337 {
38338
38339 #ifndef $wx_func
38340 &$wx_func;
38341 #endif
38342
38343
38344 ;
38345 return 0;
38346 }
38347
38348 _ACEOF
38349 rm -f conftest.$ac_objext conftest$ac_exeext
38350 if { (ac_try="$ac_link"
38351 case "(($ac_try" in
38352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38353 *) ac_try_echo=$ac_try;;
38354 esac
38355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38356 (eval "$ac_link") 2>conftest.er1
38357 ac_status=$?
38358 grep -v '^ *+' conftest.er1 >conftest.err
38359 rm -f conftest.er1
38360 cat conftest.err >&5
38361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38362 (exit $ac_status); } && {
38363 test -z "$ac_cxx_werror_flag" ||
38364 test ! -s conftest.err
38365 } && test -s conftest$ac_exeext &&
38366 $as_test_x conftest$ac_exeext; then
38367 eval wx_cv_func_$wx_func=yes
38368 else
38369 echo "$as_me: failed program was:" >&5
38370 sed 's/^/| /' conftest.$ac_ext >&5
38371
38372 eval wx_cv_func_$wx_func=no
38373 fi
38374
38375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38376 conftest$ac_exeext conftest.$ac_ext
38377
38378 fi
38379 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38380 { echo "$as_me:$LINENO: result: $ac_res" >&5
38381 echo "${ECHO_T}$ac_res" >&6; }
38382
38383 if eval test \$wx_cv_func_$wx_func = yes
38384 then
38385 cat >>confdefs.h <<_ACEOF
38386 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38387 _ACEOF
38388
38389
38390 else
38391 :
38392
38393 fi
38394 done
38395
38396 ac_ext=c
38397 ac_cpp='$CPP $CPPFLAGS'
38398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38401
38402
38403 if test "$TOOLKIT" != "MSW"; then
38404
38405
38406
38407
38408
38409 # Check whether --with-libiconv-prefix was given.
38410 if test "${with_libiconv_prefix+set}" = set; then
38411 withval=$with_libiconv_prefix;
38412 for dir in `echo "$withval" | tr : ' '`; do
38413 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
38414 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
38415 done
38416
38417 fi
38418
38419
38420 { echo "$as_me:$LINENO: checking for iconv" >&5
38421 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38422 if test "${am_cv_func_iconv+set}" = set; then
38423 echo $ECHO_N "(cached) $ECHO_C" >&6
38424 else
38425
38426 am_cv_func_iconv="no, consider installing GNU libiconv"
38427 am_cv_lib_iconv=no
38428 cat >conftest.$ac_ext <<_ACEOF
38429 /* confdefs.h. */
38430 _ACEOF
38431 cat confdefs.h >>conftest.$ac_ext
38432 cat >>conftest.$ac_ext <<_ACEOF
38433 /* end confdefs.h. */
38434 #include <stdlib.h>
38435 #include <iconv.h>
38436 int
38437 main ()
38438 {
38439 iconv_t cd = iconv_open("","");
38440 iconv(cd,NULL,NULL,NULL,NULL);
38441 iconv_close(cd);
38442 ;
38443 return 0;
38444 }
38445 _ACEOF
38446 rm -f conftest.$ac_objext conftest$ac_exeext
38447 if { (ac_try="$ac_link"
38448 case "(($ac_try" in
38449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38450 *) ac_try_echo=$ac_try;;
38451 esac
38452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38453 (eval "$ac_link") 2>conftest.er1
38454 ac_status=$?
38455 grep -v '^ *+' conftest.er1 >conftest.err
38456 rm -f conftest.er1
38457 cat conftest.err >&5
38458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38459 (exit $ac_status); } && {
38460 test -z "$ac_c_werror_flag" ||
38461 test ! -s conftest.err
38462 } && test -s conftest$ac_exeext &&
38463 $as_test_x conftest$ac_exeext; then
38464 am_cv_func_iconv=yes
38465 else
38466 echo "$as_me: failed program was:" >&5
38467 sed 's/^/| /' conftest.$ac_ext >&5
38468
38469
38470 fi
38471
38472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38473 conftest$ac_exeext conftest.$ac_ext
38474 if test "$am_cv_func_iconv" != yes; then
38475 am_save_LIBS="$LIBS"
38476 LIBS="$LIBS -liconv"
38477 cat >conftest.$ac_ext <<_ACEOF
38478 /* confdefs.h. */
38479 _ACEOF
38480 cat confdefs.h >>conftest.$ac_ext
38481 cat >>conftest.$ac_ext <<_ACEOF
38482 /* end confdefs.h. */
38483 #include <stdlib.h>
38484 #include <iconv.h>
38485 int
38486 main ()
38487 {
38488 iconv_t cd = iconv_open("","");
38489 iconv(cd,NULL,NULL,NULL,NULL);
38490 iconv_close(cd);
38491 ;
38492 return 0;
38493 }
38494 _ACEOF
38495 rm -f conftest.$ac_objext conftest$ac_exeext
38496 if { (ac_try="$ac_link"
38497 case "(($ac_try" in
38498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38499 *) ac_try_echo=$ac_try;;
38500 esac
38501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38502 (eval "$ac_link") 2>conftest.er1
38503 ac_status=$?
38504 grep -v '^ *+' conftest.er1 >conftest.err
38505 rm -f conftest.er1
38506 cat conftest.err >&5
38507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38508 (exit $ac_status); } && {
38509 test -z "$ac_c_werror_flag" ||
38510 test ! -s conftest.err
38511 } && test -s conftest$ac_exeext &&
38512 $as_test_x conftest$ac_exeext; then
38513 am_cv_lib_iconv=yes
38514 am_cv_func_iconv=yes
38515 else
38516 echo "$as_me: failed program was:" >&5
38517 sed 's/^/| /' conftest.$ac_ext >&5
38518
38519
38520 fi
38521
38522 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38523 conftest$ac_exeext conftest.$ac_ext
38524 LIBS="$am_save_LIBS"
38525 fi
38526
38527 fi
38528 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38529 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38530 if test "$am_cv_func_iconv" = yes; then
38531
38532 cat >>confdefs.h <<\_ACEOF
38533 #define HAVE_ICONV 1
38534 _ACEOF
38535
38536 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38537 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38538 if test "${wx_cv_func_iconv_const+set}" = set; then
38539 echo $ECHO_N "(cached) $ECHO_C" >&6
38540 else
38541 cat >conftest.$ac_ext <<_ACEOF
38542 /* confdefs.h. */
38543 _ACEOF
38544 cat confdefs.h >>conftest.$ac_ext
38545 cat >>conftest.$ac_ext <<_ACEOF
38546 /* end confdefs.h. */
38547
38548 #include <stdlib.h>
38549 #include <iconv.h>
38550 extern
38551 #ifdef __cplusplus
38552 "C"
38553 #endif
38554 #if defined(__STDC__) || defined(__cplusplus)
38555 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38556 #else
38557 size_t iconv();
38558 #endif
38559
38560 int
38561 main ()
38562 {
38563
38564 ;
38565 return 0;
38566 }
38567 _ACEOF
38568 rm -f conftest.$ac_objext
38569 if { (ac_try="$ac_compile"
38570 case "(($ac_try" in
38571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38572 *) ac_try_echo=$ac_try;;
38573 esac
38574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38575 (eval "$ac_compile") 2>conftest.er1
38576 ac_status=$?
38577 grep -v '^ *+' conftest.er1 >conftest.err
38578 rm -f conftest.er1
38579 cat conftest.err >&5
38580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38581 (exit $ac_status); } && {
38582 test -z "$ac_c_werror_flag" ||
38583 test ! -s conftest.err
38584 } && test -s conftest.$ac_objext; then
38585 wx_cv_func_iconv_const="no"
38586 else
38587 echo "$as_me: failed program was:" >&5
38588 sed 's/^/| /' conftest.$ac_ext >&5
38589
38590 wx_cv_func_iconv_const="yes"
38591
38592 fi
38593
38594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38595
38596 fi
38597 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38598 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38599
38600 iconv_const=
38601 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38602 iconv_const="const"
38603 fi
38604
38605
38606 cat >>confdefs.h <<_ACEOF
38607 #define ICONV_CONST $iconv_const
38608 _ACEOF
38609
38610 fi
38611 LIBICONV=
38612 if test "$am_cv_lib_iconv" = yes; then
38613 LIBICONV="-liconv"
38614 fi
38615
38616
38617 LIBS="$LIBICONV $LIBS"
38618
38619 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38620
38621 for ac_func in sigaction
38622 do
38623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38624 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38626 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38627 echo $ECHO_N "(cached) $ECHO_C" >&6
38628 else
38629 cat >conftest.$ac_ext <<_ACEOF
38630 /* confdefs.h. */
38631 _ACEOF
38632 cat confdefs.h >>conftest.$ac_ext
38633 cat >>conftest.$ac_ext <<_ACEOF
38634 /* end confdefs.h. */
38635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38637 #define $ac_func innocuous_$ac_func
38638
38639 /* System header to define __stub macros and hopefully few prototypes,
38640 which can conflict with char $ac_func (); below.
38641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38642 <limits.h> exists even on freestanding compilers. */
38643
38644 #ifdef __STDC__
38645 # include <limits.h>
38646 #else
38647 # include <assert.h>
38648 #endif
38649
38650 #undef $ac_func
38651
38652 /* Override any GCC internal prototype to avoid an error.
38653 Use char because int might match the return type of a GCC
38654 builtin and then its argument prototype would still apply. */
38655 #ifdef __cplusplus
38656 extern "C"
38657 #endif
38658 char $ac_func ();
38659 /* The GNU C library defines this for functions which it implements
38660 to always fail with ENOSYS. Some functions are actually named
38661 something starting with __ and the normal name is an alias. */
38662 #if defined __stub_$ac_func || defined __stub___$ac_func
38663 choke me
38664 #endif
38665
38666 int
38667 main ()
38668 {
38669 return $ac_func ();
38670 ;
38671 return 0;
38672 }
38673 _ACEOF
38674 rm -f conftest.$ac_objext conftest$ac_exeext
38675 if { (ac_try="$ac_link"
38676 case "(($ac_try" in
38677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38678 *) ac_try_echo=$ac_try;;
38679 esac
38680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38681 (eval "$ac_link") 2>conftest.er1
38682 ac_status=$?
38683 grep -v '^ *+' conftest.er1 >conftest.err
38684 rm -f conftest.er1
38685 cat conftest.err >&5
38686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38687 (exit $ac_status); } && {
38688 test -z "$ac_c_werror_flag" ||
38689 test ! -s conftest.err
38690 } && test -s conftest$ac_exeext &&
38691 $as_test_x conftest$ac_exeext; then
38692 eval "$as_ac_var=yes"
38693 else
38694 echo "$as_me: failed program was:" >&5
38695 sed 's/^/| /' conftest.$ac_ext >&5
38696
38697 eval "$as_ac_var=no"
38698 fi
38699
38700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38701 conftest$ac_exeext conftest.$ac_ext
38702 fi
38703 ac_res=`eval echo '${'$as_ac_var'}'`
38704 { echo "$as_me:$LINENO: result: $ac_res" >&5
38705 echo "${ECHO_T}$ac_res" >&6; }
38706 if test `eval echo '${'$as_ac_var'}'` = yes; then
38707 cat >>confdefs.h <<_ACEOF
38708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38709 _ACEOF
38710
38711 fi
38712 done
38713
38714
38715 if test "$ac_cv_func_sigaction" = "no"; then
38716 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38717 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38718 wxUSE_ON_FATAL_EXCEPTION=no
38719 fi
38720
38721 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38722 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
38723 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
38724 if test "${wx_cv_type_sa_handler+set}" = set; then
38725 echo $ECHO_N "(cached) $ECHO_C" >&6
38726 else
38727
38728 ac_ext=cpp
38729 ac_cpp='$CXXCPP $CPPFLAGS'
38730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38733
38734 cat >conftest.$ac_ext <<_ACEOF
38735 /* confdefs.h. */
38736 _ACEOF
38737 cat confdefs.h >>conftest.$ac_ext
38738 cat >>conftest.$ac_ext <<_ACEOF
38739 /* end confdefs.h. */
38740 #include <signal.h>
38741 int
38742 main ()
38743 {
38744
38745 extern void testSigHandler(int);
38746
38747 struct sigaction sa;
38748 sa.sa_handler = testSigHandler;
38749
38750 ;
38751 return 0;
38752 }
38753 _ACEOF
38754 rm -f conftest.$ac_objext
38755 if { (ac_try="$ac_compile"
38756 case "(($ac_try" in
38757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38758 *) ac_try_echo=$ac_try;;
38759 esac
38760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38761 (eval "$ac_compile") 2>conftest.er1
38762 ac_status=$?
38763 grep -v '^ *+' conftest.er1 >conftest.err
38764 rm -f conftest.er1
38765 cat conftest.err >&5
38766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38767 (exit $ac_status); } && {
38768 test -z "$ac_cxx_werror_flag" ||
38769 test ! -s conftest.err
38770 } && test -s conftest.$ac_objext; then
38771
38772 wx_cv_type_sa_handler=int
38773
38774 else
38775 echo "$as_me: failed program was:" >&5
38776 sed 's/^/| /' conftest.$ac_ext >&5
38777
38778
38779 wx_cv_type_sa_handler=void
38780
38781 fi
38782
38783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38784 ac_ext=c
38785 ac_cpp='$CPP $CPPFLAGS'
38786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38789
38790
38791 fi
38792 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38793 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
38794
38795 cat >>confdefs.h <<_ACEOF
38796 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38797 _ACEOF
38798
38799 fi
38800 fi
38801
38802 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38803 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38804 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
38805 if test "${wx_cv_func_backtrace+set}" = set; then
38806 echo $ECHO_N "(cached) $ECHO_C" >&6
38807 else
38808
38809 ac_ext=cpp
38810 ac_cpp='$CXXCPP $CPPFLAGS'
38811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38814
38815 cat >conftest.$ac_ext <<_ACEOF
38816 /* confdefs.h. */
38817 _ACEOF
38818 cat confdefs.h >>conftest.$ac_ext
38819 cat >>conftest.$ac_ext <<_ACEOF
38820 /* end confdefs.h. */
38821 #include <execinfo.h>
38822 int
38823 main ()
38824 {
38825
38826 void *trace[1];
38827 char **messages;
38828
38829 backtrace(trace, 1);
38830 messages = backtrace_symbols(trace, 1);
38831
38832 ;
38833 return 0;
38834 }
38835 _ACEOF
38836 rm -f conftest.$ac_objext
38837 if { (ac_try="$ac_compile"
38838 case "(($ac_try" in
38839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38840 *) ac_try_echo=$ac_try;;
38841 esac
38842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38843 (eval "$ac_compile") 2>conftest.er1
38844 ac_status=$?
38845 grep -v '^ *+' conftest.er1 >conftest.err
38846 rm -f conftest.er1
38847 cat conftest.err >&5
38848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38849 (exit $ac_status); } && {
38850 test -z "$ac_cxx_werror_flag" ||
38851 test ! -s conftest.err
38852 } && test -s conftest.$ac_objext; then
38853 wx_cv_func_backtrace=yes
38854 else
38855 echo "$as_me: failed program was:" >&5
38856 sed 's/^/| /' conftest.$ac_ext >&5
38857
38858 wx_cv_func_backtrace=no
38859
38860 fi
38861
38862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38863 ac_ext=c
38864 ac_cpp='$CPP $CPPFLAGS'
38865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38868
38869
38870
38871 fi
38872 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38873 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
38874
38875
38876 if test "$wx_cv_func_backtrace" = "no"; then
38877 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38878 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38879 wxUSE_STACKWALKER=no
38880 else
38881 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38882 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
38883 if test "${wx_cv_func_cxa_demangle+set}" = set; then
38884 echo $ECHO_N "(cached) $ECHO_C" >&6
38885 else
38886
38887 ac_ext=cpp
38888 ac_cpp='$CXXCPP $CPPFLAGS'
38889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38892
38893 cat >conftest.$ac_ext <<_ACEOF
38894 /* confdefs.h. */
38895 _ACEOF
38896 cat confdefs.h >>conftest.$ac_ext
38897 cat >>conftest.$ac_ext <<_ACEOF
38898 /* end confdefs.h. */
38899 #include <cxxabi.h>
38900 int
38901 main ()
38902 {
38903
38904 int rc;
38905 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38906
38907 ;
38908 return 0;
38909 }
38910 _ACEOF
38911 rm -f conftest.$ac_objext conftest$ac_exeext
38912 if { (ac_try="$ac_link"
38913 case "(($ac_try" in
38914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38915 *) ac_try_echo=$ac_try;;
38916 esac
38917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38918 (eval "$ac_link") 2>conftest.er1
38919 ac_status=$?
38920 grep -v '^ *+' conftest.er1 >conftest.err
38921 rm -f conftest.er1
38922 cat conftest.err >&5
38923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38924 (exit $ac_status); } && {
38925 test -z "$ac_cxx_werror_flag" ||
38926 test ! -s conftest.err
38927 } && test -s conftest$ac_exeext &&
38928 $as_test_x conftest$ac_exeext; then
38929 wx_cv_func_cxa_demangle=yes
38930 else
38931 echo "$as_me: failed program was:" >&5
38932 sed 's/^/| /' conftest.$ac_ext >&5
38933
38934 wx_cv_func_cxa_demangle=no
38935
38936 fi
38937
38938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38939 conftest$ac_exeext conftest.$ac_ext
38940 ac_ext=c
38941 ac_cpp='$CPP $CPPFLAGS'
38942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38945
38946
38947
38948 fi
38949 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
38950 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
38951
38952 if test "$wx_cv_func_cxa_demangle" = "yes"; then
38953 cat >>confdefs.h <<\_ACEOF
38954 #define HAVE_CXA_DEMANGLE 1
38955 _ACEOF
38956
38957 fi
38958 fi
38959 fi
38960
38961 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
38962 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
38963 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
38964 wxUSE_STACKWALKER=no
38965 fi
38966
38967
38968
38969
38970 for ac_func in mkstemp mktemp
38971 do
38972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38973 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38975 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38976 echo $ECHO_N "(cached) $ECHO_C" >&6
38977 else
38978 cat >conftest.$ac_ext <<_ACEOF
38979 /* confdefs.h. */
38980 _ACEOF
38981 cat confdefs.h >>conftest.$ac_ext
38982 cat >>conftest.$ac_ext <<_ACEOF
38983 /* end confdefs.h. */
38984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38986 #define $ac_func innocuous_$ac_func
38987
38988 /* System header to define __stub macros and hopefully few prototypes,
38989 which can conflict with char $ac_func (); below.
38990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38991 <limits.h> exists even on freestanding compilers. */
38992
38993 #ifdef __STDC__
38994 # include <limits.h>
38995 #else
38996 # include <assert.h>
38997 #endif
38998
38999 #undef $ac_func
39000
39001 /* Override any GCC internal prototype to avoid an error.
39002 Use char because int might match the return type of a GCC
39003 builtin and then its argument prototype would still apply. */
39004 #ifdef __cplusplus
39005 extern "C"
39006 #endif
39007 char $ac_func ();
39008 /* The GNU C library defines this for functions which it implements
39009 to always fail with ENOSYS. Some functions are actually named
39010 something starting with __ and the normal name is an alias. */
39011 #if defined __stub_$ac_func || defined __stub___$ac_func
39012 choke me
39013 #endif
39014
39015 int
39016 main ()
39017 {
39018 return $ac_func ();
39019 ;
39020 return 0;
39021 }
39022 _ACEOF
39023 rm -f conftest.$ac_objext conftest$ac_exeext
39024 if { (ac_try="$ac_link"
39025 case "(($ac_try" in
39026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39027 *) ac_try_echo=$ac_try;;
39028 esac
39029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39030 (eval "$ac_link") 2>conftest.er1
39031 ac_status=$?
39032 grep -v '^ *+' conftest.er1 >conftest.err
39033 rm -f conftest.er1
39034 cat conftest.err >&5
39035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39036 (exit $ac_status); } && {
39037 test -z "$ac_c_werror_flag" ||
39038 test ! -s conftest.err
39039 } && test -s conftest$ac_exeext &&
39040 $as_test_x conftest$ac_exeext; then
39041 eval "$as_ac_var=yes"
39042 else
39043 echo "$as_me: failed program was:" >&5
39044 sed 's/^/| /' conftest.$ac_ext >&5
39045
39046 eval "$as_ac_var=no"
39047 fi
39048
39049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39050 conftest$ac_exeext conftest.$ac_ext
39051 fi
39052 ac_res=`eval echo '${'$as_ac_var'}'`
39053 { echo "$as_me:$LINENO: result: $ac_res" >&5
39054 echo "${ECHO_T}$ac_res" >&6; }
39055 if test `eval echo '${'$as_ac_var'}'` = yes; then
39056 cat >>confdefs.h <<_ACEOF
39057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39058 _ACEOF
39059 break
39060 fi
39061 done
39062
39063
39064 { echo "$as_me:$LINENO: checking for statfs" >&5
39065 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39066 if test "${wx_cv_func_statfs+set}" = set; then
39067 echo $ECHO_N "(cached) $ECHO_C" >&6
39068 else
39069 cat >conftest.$ac_ext <<_ACEOF
39070 /* confdefs.h. */
39071 _ACEOF
39072 cat confdefs.h >>conftest.$ac_ext
39073 cat >>conftest.$ac_ext <<_ACEOF
39074 /* end confdefs.h. */
39075
39076 #if defined(__BSD__)
39077 #include <sys/param.h>
39078 #include <sys/mount.h>
39079 #else
39080 #include <sys/vfs.h>
39081 #endif
39082
39083 int
39084 main ()
39085 {
39086
39087 long l;
39088 struct statfs fs;
39089 statfs("/", &fs);
39090 l = fs.f_bsize;
39091 l += fs.f_blocks;
39092 l += fs.f_bavail;
39093
39094 ;
39095 return 0;
39096 }
39097 _ACEOF
39098 rm -f conftest.$ac_objext
39099 if { (ac_try="$ac_compile"
39100 case "(($ac_try" in
39101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39102 *) ac_try_echo=$ac_try;;
39103 esac
39104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39105 (eval "$ac_compile") 2>conftest.er1
39106 ac_status=$?
39107 grep -v '^ *+' conftest.er1 >conftest.err
39108 rm -f conftest.er1
39109 cat conftest.err >&5
39110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39111 (exit $ac_status); } && {
39112 test -z "$ac_c_werror_flag" ||
39113 test ! -s conftest.err
39114 } && test -s conftest.$ac_objext; then
39115 wx_cv_func_statfs=yes
39116 else
39117 echo "$as_me: failed program was:" >&5
39118 sed 's/^/| /' conftest.$ac_ext >&5
39119
39120 wx_cv_func_statfs=no
39121
39122 fi
39123
39124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39125
39126 fi
39127 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39128 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39129
39130 if test "$wx_cv_func_statfs" = "yes"; then
39131 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39132 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39133 if test "${wx_cv_func_statfs_decl+set}" = set; then
39134 echo $ECHO_N "(cached) $ECHO_C" >&6
39135 else
39136 ac_ext=cpp
39137 ac_cpp='$CXXCPP $CPPFLAGS'
39138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39141
39142 cat >conftest.$ac_ext <<_ACEOF
39143 /* confdefs.h. */
39144 _ACEOF
39145 cat confdefs.h >>conftest.$ac_ext
39146 cat >>conftest.$ac_ext <<_ACEOF
39147 /* end confdefs.h. */
39148
39149 #if defined(__BSD__)
39150 #include <sys/param.h>
39151 #include <sys/mount.h>
39152 #else
39153 #include <sys/vfs.h>
39154 #endif
39155
39156 int
39157 main ()
39158 {
39159
39160 struct statfs fs;
39161 statfs("", &fs);
39162
39163 ;
39164 return 0;
39165 }
39166 _ACEOF
39167 rm -f conftest.$ac_objext
39168 if { (ac_try="$ac_compile"
39169 case "(($ac_try" in
39170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39171 *) ac_try_echo=$ac_try;;
39172 esac
39173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39174 (eval "$ac_compile") 2>conftest.er1
39175 ac_status=$?
39176 grep -v '^ *+' conftest.er1 >conftest.err
39177 rm -f conftest.er1
39178 cat conftest.err >&5
39179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39180 (exit $ac_status); } && {
39181 test -z "$ac_cxx_werror_flag" ||
39182 test ! -s conftest.err
39183 } && test -s conftest.$ac_objext; then
39184 wx_cv_func_statfs_decl=yes
39185 else
39186 echo "$as_me: failed program was:" >&5
39187 sed 's/^/| /' conftest.$ac_ext >&5
39188
39189 wx_cv_func_statfs_decl=no
39190
39191 fi
39192
39193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39194 ac_ext=c
39195 ac_cpp='$CPP $CPPFLAGS'
39196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39199
39200
39201 fi
39202 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39203 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39204
39205 if test "$wx_cv_func_statfs_decl" = "yes"; then
39206 cat >>confdefs.h <<\_ACEOF
39207 #define HAVE_STATFS_DECL 1
39208 _ACEOF
39209
39210 fi
39211
39212 wx_cv_type_statvfs_t="struct statfs"
39213 cat >>confdefs.h <<\_ACEOF
39214 #define HAVE_STATFS 1
39215 _ACEOF
39216
39217 else
39218 { echo "$as_me:$LINENO: checking for statvfs" >&5
39219 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39220 if test "${wx_cv_func_statvfs+set}" = set; then
39221 echo $ECHO_N "(cached) $ECHO_C" >&6
39222 else
39223 cat >conftest.$ac_ext <<_ACEOF
39224 /* confdefs.h. */
39225 _ACEOF
39226 cat confdefs.h >>conftest.$ac_ext
39227 cat >>conftest.$ac_ext <<_ACEOF
39228 /* end confdefs.h. */
39229
39230 #include <stddef.h>
39231 #include <sys/statvfs.h>
39232
39233 int
39234 main ()
39235 {
39236
39237 statvfs("/", NULL);
39238
39239 ;
39240 return 0;
39241 }
39242 _ACEOF
39243 rm -f conftest.$ac_objext
39244 if { (ac_try="$ac_compile"
39245 case "(($ac_try" in
39246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39247 *) ac_try_echo=$ac_try;;
39248 esac
39249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39250 (eval "$ac_compile") 2>conftest.er1
39251 ac_status=$?
39252 grep -v '^ *+' conftest.er1 >conftest.err
39253 rm -f conftest.er1
39254 cat conftest.err >&5
39255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39256 (exit $ac_status); } && {
39257 test -z "$ac_c_werror_flag" ||
39258 test ! -s conftest.err
39259 } && test -s conftest.$ac_objext; then
39260 wx_cv_func_statvfs=yes
39261 else
39262 echo "$as_me: failed program was:" >&5
39263 sed 's/^/| /' conftest.$ac_ext >&5
39264
39265 wx_cv_func_statvfs=no
39266
39267 fi
39268
39269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39270
39271 fi
39272 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39273 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39274
39275 if test "$wx_cv_func_statvfs" = "yes"; then
39276 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39277 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39278 if test "${wx_cv_type_statvfs_t+set}" = set; then
39279 echo $ECHO_N "(cached) $ECHO_C" >&6
39280 else
39281 ac_ext=cpp
39282 ac_cpp='$CXXCPP $CPPFLAGS'
39283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39286
39287 cat >conftest.$ac_ext <<_ACEOF
39288 /* confdefs.h. */
39289 _ACEOF
39290 cat confdefs.h >>conftest.$ac_ext
39291 cat >>conftest.$ac_ext <<_ACEOF
39292 /* end confdefs.h. */
39293
39294 #include <sys/statvfs.h>
39295
39296 int
39297 main ()
39298 {
39299
39300 long l;
39301 statvfs_t fs;
39302 statvfs("/", &fs);
39303 l = fs.f_bsize;
39304 l += fs.f_blocks;
39305 l += fs.f_bavail;
39306
39307 ;
39308 return 0;
39309 }
39310 _ACEOF
39311 rm -f conftest.$ac_objext
39312 if { (ac_try="$ac_compile"
39313 case "(($ac_try" in
39314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39315 *) ac_try_echo=$ac_try;;
39316 esac
39317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39318 (eval "$ac_compile") 2>conftest.er1
39319 ac_status=$?
39320 grep -v '^ *+' conftest.er1 >conftest.err
39321 rm -f conftest.er1
39322 cat conftest.err >&5
39323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39324 (exit $ac_status); } && {
39325 test -z "$ac_cxx_werror_flag" ||
39326 test ! -s conftest.err
39327 } && test -s conftest.$ac_objext; then
39328 wx_cv_type_statvfs_t=statvfs_t
39329 else
39330 echo "$as_me: failed program was:" >&5
39331 sed 's/^/| /' conftest.$ac_ext >&5
39332
39333
39334 cat >conftest.$ac_ext <<_ACEOF
39335 /* confdefs.h. */
39336 _ACEOF
39337 cat confdefs.h >>conftest.$ac_ext
39338 cat >>conftest.$ac_ext <<_ACEOF
39339 /* end confdefs.h. */
39340
39341 #include <sys/statvfs.h>
39342
39343 int
39344 main ()
39345 {
39346
39347 long l;
39348 struct statvfs fs;
39349 statvfs("/", &fs);
39350 l = fs.f_bsize;
39351 l += fs.f_blocks;
39352 l += fs.f_bavail;
39353
39354 ;
39355 return 0;
39356 }
39357 _ACEOF
39358 rm -f conftest.$ac_objext
39359 if { (ac_try="$ac_compile"
39360 case "(($ac_try" in
39361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39362 *) ac_try_echo=$ac_try;;
39363 esac
39364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39365 (eval "$ac_compile") 2>conftest.er1
39366 ac_status=$?
39367 grep -v '^ *+' conftest.er1 >conftest.err
39368 rm -f conftest.er1
39369 cat conftest.err >&5
39370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39371 (exit $ac_status); } && {
39372 test -z "$ac_cxx_werror_flag" ||
39373 test ! -s conftest.err
39374 } && test -s conftest.$ac_objext; then
39375 wx_cv_type_statvfs_t="struct statvfs"
39376 else
39377 echo "$as_me: failed program was:" >&5
39378 sed 's/^/| /' conftest.$ac_ext >&5
39379
39380 wx_cv_type_statvfs_t="unknown"
39381
39382 fi
39383
39384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39385
39386
39387 fi
39388
39389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39390 ac_ext=c
39391 ac_cpp='$CPP $CPPFLAGS'
39392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39395
39396
39397 fi
39398 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39399 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39400
39401 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39402 cat >>confdefs.h <<\_ACEOF
39403 #define HAVE_STATVFS 1
39404 _ACEOF
39405
39406 fi
39407 else
39408 wx_cv_type_statvfs_t="unknown"
39409 fi
39410 fi
39411
39412 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39413 cat >>confdefs.h <<_ACEOF
39414 #define WX_STATFS_T $wx_cv_type_statvfs_t
39415 _ACEOF
39416
39417 else
39418 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39419 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39420 fi
39421
39422 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39423
39424
39425 for ac_func in fcntl flock
39426 do
39427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39428 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39430 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39431 echo $ECHO_N "(cached) $ECHO_C" >&6
39432 else
39433 cat >conftest.$ac_ext <<_ACEOF
39434 /* confdefs.h. */
39435 _ACEOF
39436 cat confdefs.h >>conftest.$ac_ext
39437 cat >>conftest.$ac_ext <<_ACEOF
39438 /* end confdefs.h. */
39439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39441 #define $ac_func innocuous_$ac_func
39442
39443 /* System header to define __stub macros and hopefully few prototypes,
39444 which can conflict with char $ac_func (); below.
39445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39446 <limits.h> exists even on freestanding compilers. */
39447
39448 #ifdef __STDC__
39449 # include <limits.h>
39450 #else
39451 # include <assert.h>
39452 #endif
39453
39454 #undef $ac_func
39455
39456 /* Override any GCC internal prototype to avoid an error.
39457 Use char because int might match the return type of a GCC
39458 builtin and then its argument prototype would still apply. */
39459 #ifdef __cplusplus
39460 extern "C"
39461 #endif
39462 char $ac_func ();
39463 /* The GNU C library defines this for functions which it implements
39464 to always fail with ENOSYS. Some functions are actually named
39465 something starting with __ and the normal name is an alias. */
39466 #if defined __stub_$ac_func || defined __stub___$ac_func
39467 choke me
39468 #endif
39469
39470 int
39471 main ()
39472 {
39473 return $ac_func ();
39474 ;
39475 return 0;
39476 }
39477 _ACEOF
39478 rm -f conftest.$ac_objext conftest$ac_exeext
39479 if { (ac_try="$ac_link"
39480 case "(($ac_try" in
39481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39482 *) ac_try_echo=$ac_try;;
39483 esac
39484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39485 (eval "$ac_link") 2>conftest.er1
39486 ac_status=$?
39487 grep -v '^ *+' conftest.er1 >conftest.err
39488 rm -f conftest.er1
39489 cat conftest.err >&5
39490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39491 (exit $ac_status); } && {
39492 test -z "$ac_c_werror_flag" ||
39493 test ! -s conftest.err
39494 } && test -s conftest$ac_exeext &&
39495 $as_test_x conftest$ac_exeext; then
39496 eval "$as_ac_var=yes"
39497 else
39498 echo "$as_me: failed program was:" >&5
39499 sed 's/^/| /' conftest.$ac_ext >&5
39500
39501 eval "$as_ac_var=no"
39502 fi
39503
39504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39505 conftest$ac_exeext conftest.$ac_ext
39506 fi
39507 ac_res=`eval echo '${'$as_ac_var'}'`
39508 { echo "$as_me:$LINENO: result: $ac_res" >&5
39509 echo "${ECHO_T}$ac_res" >&6; }
39510 if test `eval echo '${'$as_ac_var'}'` = yes; then
39511 cat >>confdefs.h <<_ACEOF
39512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39513 _ACEOF
39514 break
39515 fi
39516 done
39517
39518
39519 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39520 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39521 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39522 wxUSE_SNGLINST_CHECKER=no
39523 fi
39524 fi
39525
39526
39527
39528 for ac_func in setenv putenv
39529 do
39530 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39531 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39533 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39534 echo $ECHO_N "(cached) $ECHO_C" >&6
39535 else
39536 cat >conftest.$ac_ext <<_ACEOF
39537 /* confdefs.h. */
39538 _ACEOF
39539 cat confdefs.h >>conftest.$ac_ext
39540 cat >>conftest.$ac_ext <<_ACEOF
39541 /* end confdefs.h. */
39542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39544 #define $ac_func innocuous_$ac_func
39545
39546 /* System header to define __stub macros and hopefully few prototypes,
39547 which can conflict with char $ac_func (); below.
39548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39549 <limits.h> exists even on freestanding compilers. */
39550
39551 #ifdef __STDC__
39552 # include <limits.h>
39553 #else
39554 # include <assert.h>
39555 #endif
39556
39557 #undef $ac_func
39558
39559 /* Override any GCC internal prototype to avoid an error.
39560 Use char because int might match the return type of a GCC
39561 builtin and then its argument prototype would still apply. */
39562 #ifdef __cplusplus
39563 extern "C"
39564 #endif
39565 char $ac_func ();
39566 /* The GNU C library defines this for functions which it implements
39567 to always fail with ENOSYS. Some functions are actually named
39568 something starting with __ and the normal name is an alias. */
39569 #if defined __stub_$ac_func || defined __stub___$ac_func
39570 choke me
39571 #endif
39572
39573 int
39574 main ()
39575 {
39576 return $ac_func ();
39577 ;
39578 return 0;
39579 }
39580 _ACEOF
39581 rm -f conftest.$ac_objext conftest$ac_exeext
39582 if { (ac_try="$ac_link"
39583 case "(($ac_try" in
39584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39585 *) ac_try_echo=$ac_try;;
39586 esac
39587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39588 (eval "$ac_link") 2>conftest.er1
39589 ac_status=$?
39590 grep -v '^ *+' conftest.er1 >conftest.err
39591 rm -f conftest.er1
39592 cat conftest.err >&5
39593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39594 (exit $ac_status); } && {
39595 test -z "$ac_c_werror_flag" ||
39596 test ! -s conftest.err
39597 } && test -s conftest$ac_exeext &&
39598 $as_test_x conftest$ac_exeext; then
39599 eval "$as_ac_var=yes"
39600 else
39601 echo "$as_me: failed program was:" >&5
39602 sed 's/^/| /' conftest.$ac_ext >&5
39603
39604 eval "$as_ac_var=no"
39605 fi
39606
39607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39608 conftest$ac_exeext conftest.$ac_ext
39609 fi
39610 ac_res=`eval echo '${'$as_ac_var'}'`
39611 { echo "$as_me:$LINENO: result: $ac_res" >&5
39612 echo "${ECHO_T}$ac_res" >&6; }
39613 if test `eval echo '${'$as_ac_var'}'` = yes; then
39614 cat >>confdefs.h <<_ACEOF
39615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39616 _ACEOF
39617 break
39618 fi
39619 done
39620
39621 if test "$ac_cv_func_setenv" = "yes"; then
39622
39623 for ac_func in unsetenv
39624 do
39625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39626 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39628 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39629 echo $ECHO_N "(cached) $ECHO_C" >&6
39630 else
39631 cat >conftest.$ac_ext <<_ACEOF
39632 /* confdefs.h. */
39633 _ACEOF
39634 cat confdefs.h >>conftest.$ac_ext
39635 cat >>conftest.$ac_ext <<_ACEOF
39636 /* end confdefs.h. */
39637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39639 #define $ac_func innocuous_$ac_func
39640
39641 /* System header to define __stub macros and hopefully few prototypes,
39642 which can conflict with char $ac_func (); below.
39643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39644 <limits.h> exists even on freestanding compilers. */
39645
39646 #ifdef __STDC__
39647 # include <limits.h>
39648 #else
39649 # include <assert.h>
39650 #endif
39651
39652 #undef $ac_func
39653
39654 /* Override any GCC internal prototype to avoid an error.
39655 Use char because int might match the return type of a GCC
39656 builtin and then its argument prototype would still apply. */
39657 #ifdef __cplusplus
39658 extern "C"
39659 #endif
39660 char $ac_func ();
39661 /* The GNU C library defines this for functions which it implements
39662 to always fail with ENOSYS. Some functions are actually named
39663 something starting with __ and the normal name is an alias. */
39664 #if defined __stub_$ac_func || defined __stub___$ac_func
39665 choke me
39666 #endif
39667
39668 int
39669 main ()
39670 {
39671 return $ac_func ();
39672 ;
39673 return 0;
39674 }
39675 _ACEOF
39676 rm -f conftest.$ac_objext conftest$ac_exeext
39677 if { (ac_try="$ac_link"
39678 case "(($ac_try" in
39679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39680 *) ac_try_echo=$ac_try;;
39681 esac
39682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39683 (eval "$ac_link") 2>conftest.er1
39684 ac_status=$?
39685 grep -v '^ *+' conftest.er1 >conftest.err
39686 rm -f conftest.er1
39687 cat conftest.err >&5
39688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39689 (exit $ac_status); } && {
39690 test -z "$ac_c_werror_flag" ||
39691 test ! -s conftest.err
39692 } && test -s conftest$ac_exeext &&
39693 $as_test_x conftest$ac_exeext; then
39694 eval "$as_ac_var=yes"
39695 else
39696 echo "$as_me: failed program was:" >&5
39697 sed 's/^/| /' conftest.$ac_ext >&5
39698
39699 eval "$as_ac_var=no"
39700 fi
39701
39702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39703 conftest$ac_exeext conftest.$ac_ext
39704 fi
39705 ac_res=`eval echo '${'$as_ac_var'}'`
39706 { echo "$as_me:$LINENO: result: $ac_res" >&5
39707 echo "${ECHO_T}$ac_res" >&6; }
39708 if test `eval echo '${'$as_ac_var'}'` = yes; then
39709 cat >>confdefs.h <<_ACEOF
39710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39711 _ACEOF
39712
39713 fi
39714 done
39715
39716 fi
39717
39718 HAVE_SOME_SLEEP_FUNC=0
39719 if test "$USE_BEOS" = 1; then
39720 cat >>confdefs.h <<\_ACEOF
39721 #define HAVE_SLEEP 1
39722 _ACEOF
39723
39724 HAVE_SOME_SLEEP_FUNC=1
39725 fi
39726
39727 if test "$USE_DARWIN" = 1; then
39728 cat >>confdefs.h <<\_ACEOF
39729 #define HAVE_USLEEP 1
39730 _ACEOF
39731
39732 HAVE_SOME_SLEEP_FUNC=1
39733 fi
39734
39735 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
39736 POSIX4_LINK=
39737
39738 for ac_func in nanosleep
39739 do
39740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39741 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39743 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39744 echo $ECHO_N "(cached) $ECHO_C" >&6
39745 else
39746 cat >conftest.$ac_ext <<_ACEOF
39747 /* confdefs.h. */
39748 _ACEOF
39749 cat confdefs.h >>conftest.$ac_ext
39750 cat >>conftest.$ac_ext <<_ACEOF
39751 /* end confdefs.h. */
39752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39754 #define $ac_func innocuous_$ac_func
39755
39756 /* System header to define __stub macros and hopefully few prototypes,
39757 which can conflict with char $ac_func (); below.
39758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39759 <limits.h> exists even on freestanding compilers. */
39760
39761 #ifdef __STDC__
39762 # include <limits.h>
39763 #else
39764 # include <assert.h>
39765 #endif
39766
39767 #undef $ac_func
39768
39769 /* Override any GCC internal prototype to avoid an error.
39770 Use char because int might match the return type of a GCC
39771 builtin and then its argument prototype would still apply. */
39772 #ifdef __cplusplus
39773 extern "C"
39774 #endif
39775 char $ac_func ();
39776 /* The GNU C library defines this for functions which it implements
39777 to always fail with ENOSYS. Some functions are actually named
39778 something starting with __ and the normal name is an alias. */
39779 #if defined __stub_$ac_func || defined __stub___$ac_func
39780 choke me
39781 #endif
39782
39783 int
39784 main ()
39785 {
39786 return $ac_func ();
39787 ;
39788 return 0;
39789 }
39790 _ACEOF
39791 rm -f conftest.$ac_objext conftest$ac_exeext
39792 if { (ac_try="$ac_link"
39793 case "(($ac_try" in
39794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39795 *) ac_try_echo=$ac_try;;
39796 esac
39797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39798 (eval "$ac_link") 2>conftest.er1
39799 ac_status=$?
39800 grep -v '^ *+' conftest.er1 >conftest.err
39801 rm -f conftest.er1
39802 cat conftest.err >&5
39803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39804 (exit $ac_status); } && {
39805 test -z "$ac_c_werror_flag" ||
39806 test ! -s conftest.err
39807 } && test -s conftest$ac_exeext &&
39808 $as_test_x conftest$ac_exeext; then
39809 eval "$as_ac_var=yes"
39810 else
39811 echo "$as_me: failed program was:" >&5
39812 sed 's/^/| /' conftest.$ac_ext >&5
39813
39814 eval "$as_ac_var=no"
39815 fi
39816
39817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39818 conftest$ac_exeext conftest.$ac_ext
39819 fi
39820 ac_res=`eval echo '${'$as_ac_var'}'`
39821 { echo "$as_me:$LINENO: result: $ac_res" >&5
39822 echo "${ECHO_T}$ac_res" >&6; }
39823 if test `eval echo '${'$as_ac_var'}'` = yes; then
39824 cat >>confdefs.h <<_ACEOF
39825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39826 _ACEOF
39827 cat >>confdefs.h <<\_ACEOF
39828 #define HAVE_NANOSLEEP 1
39829 _ACEOF
39830
39831 else
39832
39833 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
39834 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
39835 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
39836 echo $ECHO_N "(cached) $ECHO_C" >&6
39837 else
39838 ac_check_lib_save_LIBS=$LIBS
39839 LIBS="-lposix4 $LIBS"
39840 cat >conftest.$ac_ext <<_ACEOF
39841 /* confdefs.h. */
39842 _ACEOF
39843 cat confdefs.h >>conftest.$ac_ext
39844 cat >>conftest.$ac_ext <<_ACEOF
39845 /* end confdefs.h. */
39846
39847 /* Override any GCC internal prototype to avoid an error.
39848 Use char because int might match the return type of a GCC
39849 builtin and then its argument prototype would still apply. */
39850 #ifdef __cplusplus
39851 extern "C"
39852 #endif
39853 char nanosleep ();
39854 int
39855 main ()
39856 {
39857 return nanosleep ();
39858 ;
39859 return 0;
39860 }
39861 _ACEOF
39862 rm -f conftest.$ac_objext conftest$ac_exeext
39863 if { (ac_try="$ac_link"
39864 case "(($ac_try" in
39865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39866 *) ac_try_echo=$ac_try;;
39867 esac
39868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39869 (eval "$ac_link") 2>conftest.er1
39870 ac_status=$?
39871 grep -v '^ *+' conftest.er1 >conftest.err
39872 rm -f conftest.er1
39873 cat conftest.err >&5
39874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39875 (exit $ac_status); } && {
39876 test -z "$ac_c_werror_flag" ||
39877 test ! -s conftest.err
39878 } && test -s conftest$ac_exeext &&
39879 $as_test_x conftest$ac_exeext; then
39880 ac_cv_lib_posix4_nanosleep=yes
39881 else
39882 echo "$as_me: failed program was:" >&5
39883 sed 's/^/| /' conftest.$ac_ext >&5
39884
39885 ac_cv_lib_posix4_nanosleep=no
39886 fi
39887
39888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39889 conftest$ac_exeext conftest.$ac_ext
39890 LIBS=$ac_check_lib_save_LIBS
39891 fi
39892 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39893 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
39894 if test $ac_cv_lib_posix4_nanosleep = yes; then
39895
39896 cat >>confdefs.h <<\_ACEOF
39897 #define HAVE_NANOSLEEP 1
39898 _ACEOF
39899
39900 POSIX4_LINK=" -lposix4"
39901
39902 else
39903
39904
39905 for wx_func in usleep
39906 do
39907 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39908 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39909 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39910 echo $ECHO_N "(cached) $ECHO_C" >&6
39911 else
39912
39913 cat >conftest.$ac_ext <<_ACEOF
39914
39915 /* confdefs.h. */
39916 _ACEOF
39917 cat confdefs.h >>conftest.$ac_ext
39918 cat >>conftest.$ac_ext <<_ACEOF
39919 /* end confdefs.h. */
39920
39921
39922 $ac_includes_default
39923
39924 int
39925 main ()
39926 {
39927
39928 #ifndef $wx_func
39929 &$wx_func;
39930 #endif
39931
39932
39933 ;
39934 return 0;
39935 }
39936
39937 _ACEOF
39938 rm -f conftest.$ac_objext conftest$ac_exeext
39939 if { (ac_try="$ac_link"
39940 case "(($ac_try" in
39941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39942 *) ac_try_echo=$ac_try;;
39943 esac
39944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39945 (eval "$ac_link") 2>conftest.er1
39946 ac_status=$?
39947 grep -v '^ *+' conftest.er1 >conftest.err
39948 rm -f conftest.er1
39949 cat conftest.err >&5
39950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39951 (exit $ac_status); } && {
39952 test -z "$ac_c_werror_flag" ||
39953 test ! -s conftest.err
39954 } && test -s conftest$ac_exeext &&
39955 $as_test_x conftest$ac_exeext; then
39956 eval wx_cv_func_$wx_func=yes
39957 else
39958 echo "$as_me: failed program was:" >&5
39959 sed 's/^/| /' conftest.$ac_ext >&5
39960
39961 eval wx_cv_func_$wx_func=no
39962 fi
39963
39964 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39965 conftest$ac_exeext conftest.$ac_ext
39966
39967 fi
39968 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39969 { echo "$as_me:$LINENO: result: $ac_res" >&5
39970 echo "${ECHO_T}$ac_res" >&6; }
39971
39972 if eval test \$wx_cv_func_$wx_func = yes
39973 then
39974 cat >>confdefs.h <<_ACEOF
39975 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39976 _ACEOF
39977
39978
39979 else
39980 :
39981 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39982 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39983
39984 fi
39985 done
39986
39987
39988
39989 fi
39990
39991
39992
39993 fi
39994 done
39995
39996 fi
39997
39998
39999 for wx_func in uname
40000 do
40001 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40002 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40003 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40004 echo $ECHO_N "(cached) $ECHO_C" >&6
40005 else
40006
40007 cat >conftest.$ac_ext <<_ACEOF
40008
40009 /* confdefs.h. */
40010 _ACEOF
40011 cat confdefs.h >>conftest.$ac_ext
40012 cat >>conftest.$ac_ext <<_ACEOF
40013 /* end confdefs.h. */
40014
40015 #include <sys/utsname.h>
40016 $ac_includes_default
40017
40018 int
40019 main ()
40020 {
40021
40022 #ifndef $wx_func
40023 &$wx_func;
40024 #endif
40025
40026
40027 ;
40028 return 0;
40029 }
40030
40031 _ACEOF
40032 rm -f conftest.$ac_objext conftest$ac_exeext
40033 if { (ac_try="$ac_link"
40034 case "(($ac_try" in
40035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40036 *) ac_try_echo=$ac_try;;
40037 esac
40038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40039 (eval "$ac_link") 2>conftest.er1
40040 ac_status=$?
40041 grep -v '^ *+' conftest.er1 >conftest.err
40042 rm -f conftest.er1
40043 cat conftest.err >&5
40044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40045 (exit $ac_status); } && {
40046 test -z "$ac_c_werror_flag" ||
40047 test ! -s conftest.err
40048 } && test -s conftest$ac_exeext &&
40049 $as_test_x conftest$ac_exeext; then
40050 eval wx_cv_func_$wx_func=yes
40051 else
40052 echo "$as_me: failed program was:" >&5
40053 sed 's/^/| /' conftest.$ac_ext >&5
40054
40055 eval wx_cv_func_$wx_func=no
40056 fi
40057
40058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40059 conftest$ac_exeext conftest.$ac_ext
40060
40061 fi
40062 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40063 { echo "$as_me:$LINENO: result: $ac_res" >&5
40064 echo "${ECHO_T}$ac_res" >&6; }
40065
40066 if eval test \$wx_cv_func_$wx_func = yes
40067 then
40068 cat >>confdefs.h <<_ACEOF
40069 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40070 _ACEOF
40071
40072
40073 else
40074 :
40075
40076 fi
40077 done
40078
40079 if test "$wx_cv_func_uname" != yes; then
40080
40081 for wx_func in gethostname
40082 do
40083 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40084 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40085 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40086 echo $ECHO_N "(cached) $ECHO_C" >&6
40087 else
40088
40089 cat >conftest.$ac_ext <<_ACEOF
40090
40091 /* confdefs.h. */
40092 _ACEOF
40093 cat confdefs.h >>conftest.$ac_ext
40094 cat >>conftest.$ac_ext <<_ACEOF
40095 /* end confdefs.h. */
40096
40097
40098 $ac_includes_default
40099
40100 int
40101 main ()
40102 {
40103
40104 #ifndef $wx_func
40105 &$wx_func;
40106 #endif
40107
40108
40109 ;
40110 return 0;
40111 }
40112
40113 _ACEOF
40114 rm -f conftest.$ac_objext conftest$ac_exeext
40115 if { (ac_try="$ac_link"
40116 case "(($ac_try" in
40117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40118 *) ac_try_echo=$ac_try;;
40119 esac
40120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40121 (eval "$ac_link") 2>conftest.er1
40122 ac_status=$?
40123 grep -v '^ *+' conftest.er1 >conftest.err
40124 rm -f conftest.er1
40125 cat conftest.err >&5
40126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40127 (exit $ac_status); } && {
40128 test -z "$ac_c_werror_flag" ||
40129 test ! -s conftest.err
40130 } && test -s conftest$ac_exeext &&
40131 $as_test_x conftest$ac_exeext; then
40132 eval wx_cv_func_$wx_func=yes
40133 else
40134 echo "$as_me: failed program was:" >&5
40135 sed 's/^/| /' conftest.$ac_ext >&5
40136
40137 eval wx_cv_func_$wx_func=no
40138 fi
40139
40140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40141 conftest$ac_exeext conftest.$ac_ext
40142
40143 fi
40144 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40145 { echo "$as_me:$LINENO: result: $ac_res" >&5
40146 echo "${ECHO_T}$ac_res" >&6; }
40147
40148 if eval test \$wx_cv_func_$wx_func = yes
40149 then
40150 cat >>confdefs.h <<_ACEOF
40151 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40152 _ACEOF
40153
40154
40155 else
40156 :
40157
40158 fi
40159 done
40160
40161 fi
40162
40163
40164 for wx_func in strtok_r
40165 do
40166 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40167 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40168 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40169 echo $ECHO_N "(cached) $ECHO_C" >&6
40170 else
40171
40172 cat >conftest.$ac_ext <<_ACEOF
40173
40174 /* confdefs.h. */
40175 _ACEOF
40176 cat confdefs.h >>conftest.$ac_ext
40177 cat >>conftest.$ac_ext <<_ACEOF
40178 /* end confdefs.h. */
40179
40180 #define _REENTRANT
40181 $ac_includes_default
40182
40183 int
40184 main ()
40185 {
40186
40187 #ifndef $wx_func
40188 &$wx_func;
40189 #endif
40190
40191
40192 ;
40193 return 0;
40194 }
40195
40196 _ACEOF
40197 rm -f conftest.$ac_objext conftest$ac_exeext
40198 if { (ac_try="$ac_link"
40199 case "(($ac_try" in
40200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40201 *) ac_try_echo=$ac_try;;
40202 esac
40203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40204 (eval "$ac_link") 2>conftest.er1
40205 ac_status=$?
40206 grep -v '^ *+' conftest.er1 >conftest.err
40207 rm -f conftest.er1
40208 cat conftest.err >&5
40209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40210 (exit $ac_status); } && {
40211 test -z "$ac_c_werror_flag" ||
40212 test ! -s conftest.err
40213 } && test -s conftest$ac_exeext &&
40214 $as_test_x conftest$ac_exeext; then
40215 eval wx_cv_func_$wx_func=yes
40216 else
40217 echo "$as_me: failed program was:" >&5
40218 sed 's/^/| /' conftest.$ac_ext >&5
40219
40220 eval wx_cv_func_$wx_func=no
40221 fi
40222
40223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40224 conftest$ac_exeext conftest.$ac_ext
40225
40226 fi
40227 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40228 { echo "$as_me:$LINENO: result: $ac_res" >&5
40229 echo "${ECHO_T}$ac_res" >&6; }
40230
40231 if eval test \$wx_cv_func_$wx_func = yes
40232 then
40233 cat >>confdefs.h <<_ACEOF
40234 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40235 _ACEOF
40236
40237
40238 else
40239 :
40240
40241 fi
40242 done
40243
40244
40245 INET_LINK=
40246
40247 for ac_func in inet_addr
40248 do
40249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40250 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40252 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40253 echo $ECHO_N "(cached) $ECHO_C" >&6
40254 else
40255 cat >conftest.$ac_ext <<_ACEOF
40256 /* confdefs.h. */
40257 _ACEOF
40258 cat confdefs.h >>conftest.$ac_ext
40259 cat >>conftest.$ac_ext <<_ACEOF
40260 /* end confdefs.h. */
40261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40263 #define $ac_func innocuous_$ac_func
40264
40265 /* System header to define __stub macros and hopefully few prototypes,
40266 which can conflict with char $ac_func (); below.
40267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40268 <limits.h> exists even on freestanding compilers. */
40269
40270 #ifdef __STDC__
40271 # include <limits.h>
40272 #else
40273 # include <assert.h>
40274 #endif
40275
40276 #undef $ac_func
40277
40278 /* Override any GCC internal prototype to avoid an error.
40279 Use char because int might match the return type of a GCC
40280 builtin and then its argument prototype would still apply. */
40281 #ifdef __cplusplus
40282 extern "C"
40283 #endif
40284 char $ac_func ();
40285 /* The GNU C library defines this for functions which it implements
40286 to always fail with ENOSYS. Some functions are actually named
40287 something starting with __ and the normal name is an alias. */
40288 #if defined __stub_$ac_func || defined __stub___$ac_func
40289 choke me
40290 #endif
40291
40292 int
40293 main ()
40294 {
40295 return $ac_func ();
40296 ;
40297 return 0;
40298 }
40299 _ACEOF
40300 rm -f conftest.$ac_objext conftest$ac_exeext
40301 if { (ac_try="$ac_link"
40302 case "(($ac_try" in
40303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40304 *) ac_try_echo=$ac_try;;
40305 esac
40306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40307 (eval "$ac_link") 2>conftest.er1
40308 ac_status=$?
40309 grep -v '^ *+' conftest.er1 >conftest.err
40310 rm -f conftest.er1
40311 cat conftest.err >&5
40312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40313 (exit $ac_status); } && {
40314 test -z "$ac_c_werror_flag" ||
40315 test ! -s conftest.err
40316 } && test -s conftest$ac_exeext &&
40317 $as_test_x conftest$ac_exeext; then
40318 eval "$as_ac_var=yes"
40319 else
40320 echo "$as_me: failed program was:" >&5
40321 sed 's/^/| /' conftest.$ac_ext >&5
40322
40323 eval "$as_ac_var=no"
40324 fi
40325
40326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40327 conftest$ac_exeext conftest.$ac_ext
40328 fi
40329 ac_res=`eval echo '${'$as_ac_var'}'`
40330 { echo "$as_me:$LINENO: result: $ac_res" >&5
40331 echo "${ECHO_T}$ac_res" >&6; }
40332 if test `eval echo '${'$as_ac_var'}'` = yes; then
40333 cat >>confdefs.h <<_ACEOF
40334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40335 _ACEOF
40336 cat >>confdefs.h <<\_ACEOF
40337 #define HAVE_INET_ADDR 1
40338 _ACEOF
40339
40340 else
40341
40342 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40343 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40344 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40345 echo $ECHO_N "(cached) $ECHO_C" >&6
40346 else
40347 ac_check_lib_save_LIBS=$LIBS
40348 LIBS="-lnsl $LIBS"
40349 cat >conftest.$ac_ext <<_ACEOF
40350 /* confdefs.h. */
40351 _ACEOF
40352 cat confdefs.h >>conftest.$ac_ext
40353 cat >>conftest.$ac_ext <<_ACEOF
40354 /* end confdefs.h. */
40355
40356 /* Override any GCC internal prototype to avoid an error.
40357 Use char because int might match the return type of a GCC
40358 builtin and then its argument prototype would still apply. */
40359 #ifdef __cplusplus
40360 extern "C"
40361 #endif
40362 char inet_addr ();
40363 int
40364 main ()
40365 {
40366 return inet_addr ();
40367 ;
40368 return 0;
40369 }
40370 _ACEOF
40371 rm -f conftest.$ac_objext conftest$ac_exeext
40372 if { (ac_try="$ac_link"
40373 case "(($ac_try" in
40374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40375 *) ac_try_echo=$ac_try;;
40376 esac
40377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40378 (eval "$ac_link") 2>conftest.er1
40379 ac_status=$?
40380 grep -v '^ *+' conftest.er1 >conftest.err
40381 rm -f conftest.er1
40382 cat conftest.err >&5
40383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40384 (exit $ac_status); } && {
40385 test -z "$ac_c_werror_flag" ||
40386 test ! -s conftest.err
40387 } && test -s conftest$ac_exeext &&
40388 $as_test_x conftest$ac_exeext; then
40389 ac_cv_lib_nsl_inet_addr=yes
40390 else
40391 echo "$as_me: failed program was:" >&5
40392 sed 's/^/| /' conftest.$ac_ext >&5
40393
40394 ac_cv_lib_nsl_inet_addr=no
40395 fi
40396
40397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40398 conftest$ac_exeext conftest.$ac_ext
40399 LIBS=$ac_check_lib_save_LIBS
40400 fi
40401 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40402 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40403 if test $ac_cv_lib_nsl_inet_addr = yes; then
40404 INET_LINK="nsl"
40405 else
40406
40407 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40408 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40409 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40410 echo $ECHO_N "(cached) $ECHO_C" >&6
40411 else
40412 ac_check_lib_save_LIBS=$LIBS
40413 LIBS="-lresolv $LIBS"
40414 cat >conftest.$ac_ext <<_ACEOF
40415 /* confdefs.h. */
40416 _ACEOF
40417 cat confdefs.h >>conftest.$ac_ext
40418 cat >>conftest.$ac_ext <<_ACEOF
40419 /* end confdefs.h. */
40420
40421 /* Override any GCC internal prototype to avoid an error.
40422 Use char because int might match the return type of a GCC
40423 builtin and then its argument prototype would still apply. */
40424 #ifdef __cplusplus
40425 extern "C"
40426 #endif
40427 char inet_addr ();
40428 int
40429 main ()
40430 {
40431 return inet_addr ();
40432 ;
40433 return 0;
40434 }
40435 _ACEOF
40436 rm -f conftest.$ac_objext conftest$ac_exeext
40437 if { (ac_try="$ac_link"
40438 case "(($ac_try" in
40439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40440 *) ac_try_echo=$ac_try;;
40441 esac
40442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40443 (eval "$ac_link") 2>conftest.er1
40444 ac_status=$?
40445 grep -v '^ *+' conftest.er1 >conftest.err
40446 rm -f conftest.er1
40447 cat conftest.err >&5
40448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40449 (exit $ac_status); } && {
40450 test -z "$ac_c_werror_flag" ||
40451 test ! -s conftest.err
40452 } && test -s conftest$ac_exeext &&
40453 $as_test_x conftest$ac_exeext; then
40454 ac_cv_lib_resolv_inet_addr=yes
40455 else
40456 echo "$as_me: failed program was:" >&5
40457 sed 's/^/| /' conftest.$ac_ext >&5
40458
40459 ac_cv_lib_resolv_inet_addr=no
40460 fi
40461
40462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40463 conftest$ac_exeext conftest.$ac_ext
40464 LIBS=$ac_check_lib_save_LIBS
40465 fi
40466 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40467 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40468 if test $ac_cv_lib_resolv_inet_addr = yes; then
40469 INET_LINK="resolv"
40470 else
40471
40472 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40473 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40474 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40475 echo $ECHO_N "(cached) $ECHO_C" >&6
40476 else
40477 ac_check_lib_save_LIBS=$LIBS
40478 LIBS="-lsocket $LIBS"
40479 cat >conftest.$ac_ext <<_ACEOF
40480 /* confdefs.h. */
40481 _ACEOF
40482 cat confdefs.h >>conftest.$ac_ext
40483 cat >>conftest.$ac_ext <<_ACEOF
40484 /* end confdefs.h. */
40485
40486 /* Override any GCC internal prototype to avoid an error.
40487 Use char because int might match the return type of a GCC
40488 builtin and then its argument prototype would still apply. */
40489 #ifdef __cplusplus
40490 extern "C"
40491 #endif
40492 char inet_addr ();
40493 int
40494 main ()
40495 {
40496 return inet_addr ();
40497 ;
40498 return 0;
40499 }
40500 _ACEOF
40501 rm -f conftest.$ac_objext conftest$ac_exeext
40502 if { (ac_try="$ac_link"
40503 case "(($ac_try" in
40504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40505 *) ac_try_echo=$ac_try;;
40506 esac
40507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40508 (eval "$ac_link") 2>conftest.er1
40509 ac_status=$?
40510 grep -v '^ *+' conftest.er1 >conftest.err
40511 rm -f conftest.er1
40512 cat conftest.err >&5
40513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40514 (exit $ac_status); } && {
40515 test -z "$ac_c_werror_flag" ||
40516 test ! -s conftest.err
40517 } && test -s conftest$ac_exeext &&
40518 $as_test_x conftest$ac_exeext; then
40519 ac_cv_lib_socket_inet_addr=yes
40520 else
40521 echo "$as_me: failed program was:" >&5
40522 sed 's/^/| /' conftest.$ac_ext >&5
40523
40524 ac_cv_lib_socket_inet_addr=no
40525 fi
40526
40527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40528 conftest$ac_exeext conftest.$ac_ext
40529 LIBS=$ac_check_lib_save_LIBS
40530 fi
40531 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40532 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40533 if test $ac_cv_lib_socket_inet_addr = yes; then
40534 INET_LINK="socket"
40535
40536 fi
40537
40538
40539
40540 fi
40541
40542
40543
40544 fi
40545
40546
40547
40548 fi
40549 done
40550
40551
40552
40553 for ac_func in inet_aton
40554 do
40555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40556 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40558 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40559 echo $ECHO_N "(cached) $ECHO_C" >&6
40560 else
40561 cat >conftest.$ac_ext <<_ACEOF
40562 /* confdefs.h. */
40563 _ACEOF
40564 cat confdefs.h >>conftest.$ac_ext
40565 cat >>conftest.$ac_ext <<_ACEOF
40566 /* end confdefs.h. */
40567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40569 #define $ac_func innocuous_$ac_func
40570
40571 /* System header to define __stub macros and hopefully few prototypes,
40572 which can conflict with char $ac_func (); below.
40573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40574 <limits.h> exists even on freestanding compilers. */
40575
40576 #ifdef __STDC__
40577 # include <limits.h>
40578 #else
40579 # include <assert.h>
40580 #endif
40581
40582 #undef $ac_func
40583
40584 /* Override any GCC internal prototype to avoid an error.
40585 Use char because int might match the return type of a GCC
40586 builtin and then its argument prototype would still apply. */
40587 #ifdef __cplusplus
40588 extern "C"
40589 #endif
40590 char $ac_func ();
40591 /* The GNU C library defines this for functions which it implements
40592 to always fail with ENOSYS. Some functions are actually named
40593 something starting with __ and the normal name is an alias. */
40594 #if defined __stub_$ac_func || defined __stub___$ac_func
40595 choke me
40596 #endif
40597
40598 int
40599 main ()
40600 {
40601 return $ac_func ();
40602 ;
40603 return 0;
40604 }
40605 _ACEOF
40606 rm -f conftest.$ac_objext conftest$ac_exeext
40607 if { (ac_try="$ac_link"
40608 case "(($ac_try" in
40609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40610 *) ac_try_echo=$ac_try;;
40611 esac
40612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40613 (eval "$ac_link") 2>conftest.er1
40614 ac_status=$?
40615 grep -v '^ *+' conftest.er1 >conftest.err
40616 rm -f conftest.er1
40617 cat conftest.err >&5
40618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40619 (exit $ac_status); } && {
40620 test -z "$ac_c_werror_flag" ||
40621 test ! -s conftest.err
40622 } && test -s conftest$ac_exeext &&
40623 $as_test_x conftest$ac_exeext; then
40624 eval "$as_ac_var=yes"
40625 else
40626 echo "$as_me: failed program was:" >&5
40627 sed 's/^/| /' conftest.$ac_ext >&5
40628
40629 eval "$as_ac_var=no"
40630 fi
40631
40632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40633 conftest$ac_exeext conftest.$ac_ext
40634 fi
40635 ac_res=`eval echo '${'$as_ac_var'}'`
40636 { echo "$as_me:$LINENO: result: $ac_res" >&5
40637 echo "${ECHO_T}$ac_res" >&6; }
40638 if test `eval echo '${'$as_ac_var'}'` = yes; then
40639 cat >>confdefs.h <<_ACEOF
40640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40641 _ACEOF
40642 cat >>confdefs.h <<\_ACEOF
40643 #define HAVE_INET_ATON 1
40644 _ACEOF
40645
40646 else
40647
40648 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40649 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40650 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
40651 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
40652 echo $ECHO_N "(cached) $ECHO_C" >&6
40653 else
40654 ac_check_lib_save_LIBS=$LIBS
40655 LIBS="-l$INET_LINK $LIBS"
40656 cat >conftest.$ac_ext <<_ACEOF
40657 /* confdefs.h. */
40658 _ACEOF
40659 cat confdefs.h >>conftest.$ac_ext
40660 cat >>conftest.$ac_ext <<_ACEOF
40661 /* end confdefs.h. */
40662
40663 /* Override any GCC internal prototype to avoid an error.
40664 Use char because int might match the return type of a GCC
40665 builtin and then its argument prototype would still apply. */
40666 #ifdef __cplusplus
40667 extern "C"
40668 #endif
40669 char inet_aton ();
40670 int
40671 main ()
40672 {
40673 return inet_aton ();
40674 ;
40675 return 0;
40676 }
40677 _ACEOF
40678 rm -f conftest.$ac_objext conftest$ac_exeext
40679 if { (ac_try="$ac_link"
40680 case "(($ac_try" in
40681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40682 *) ac_try_echo=$ac_try;;
40683 esac
40684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40685 (eval "$ac_link") 2>conftest.er1
40686 ac_status=$?
40687 grep -v '^ *+' conftest.er1 >conftest.err
40688 rm -f conftest.er1
40689 cat conftest.err >&5
40690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40691 (exit $ac_status); } && {
40692 test -z "$ac_c_werror_flag" ||
40693 test ! -s conftest.err
40694 } && test -s conftest$ac_exeext &&
40695 $as_test_x conftest$ac_exeext; then
40696 eval "$as_ac_Lib=yes"
40697 else
40698 echo "$as_me: failed program was:" >&5
40699 sed 's/^/| /' conftest.$ac_ext >&5
40700
40701 eval "$as_ac_Lib=no"
40702 fi
40703
40704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40705 conftest$ac_exeext conftest.$ac_ext
40706 LIBS=$ac_check_lib_save_LIBS
40707 fi
40708 ac_res=`eval echo '${'$as_ac_Lib'}'`
40709 { echo "$as_me:$LINENO: result: $ac_res" >&5
40710 echo "${ECHO_T}$ac_res" >&6; }
40711 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40712 cat >>confdefs.h <<\_ACEOF
40713 #define HAVE_INET_ATON 1
40714 _ACEOF
40715
40716 fi
40717
40718
40719 fi
40720 done
40721
40722
40723 if test "x$INET_LINK" != "x"; then
40724 cat >>confdefs.h <<\_ACEOF
40725 #define HAVE_INET_ADDR 1
40726 _ACEOF
40727
40728 INET_LINK=" -l$INET_LINK"
40729 fi
40730
40731
40732 for wx_func in fdopen
40733 do
40734 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40735 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40736 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40737 echo $ECHO_N "(cached) $ECHO_C" >&6
40738 else
40739
40740 cat >conftest.$ac_ext <<_ACEOF
40741
40742 /* confdefs.h. */
40743 _ACEOF
40744 cat confdefs.h >>conftest.$ac_ext
40745 cat >>conftest.$ac_ext <<_ACEOF
40746 /* end confdefs.h. */
40747
40748
40749 $ac_includes_default
40750
40751 int
40752 main ()
40753 {
40754
40755 #ifndef $wx_func
40756 &$wx_func;
40757 #endif
40758
40759
40760 ;
40761 return 0;
40762 }
40763
40764 _ACEOF
40765 rm -f conftest.$ac_objext conftest$ac_exeext
40766 if { (ac_try="$ac_link"
40767 case "(($ac_try" in
40768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40769 *) ac_try_echo=$ac_try;;
40770 esac
40771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40772 (eval "$ac_link") 2>conftest.er1
40773 ac_status=$?
40774 grep -v '^ *+' conftest.er1 >conftest.err
40775 rm -f conftest.er1
40776 cat conftest.err >&5
40777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40778 (exit $ac_status); } && {
40779 test -z "$ac_c_werror_flag" ||
40780 test ! -s conftest.err
40781 } && test -s conftest$ac_exeext &&
40782 $as_test_x conftest$ac_exeext; then
40783 eval wx_cv_func_$wx_func=yes
40784 else
40785 echo "$as_me: failed program was:" >&5
40786 sed 's/^/| /' conftest.$ac_ext >&5
40787
40788 eval wx_cv_func_$wx_func=no
40789 fi
40790
40791 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40792 conftest$ac_exeext conftest.$ac_ext
40793
40794 fi
40795 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40796 { echo "$as_me:$LINENO: result: $ac_res" >&5
40797 echo "${ECHO_T}$ac_res" >&6; }
40798
40799 if eval test \$wx_cv_func_$wx_func = yes
40800 then
40801 cat >>confdefs.h <<_ACEOF
40802 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40803 _ACEOF
40804
40805
40806 else
40807 :
40808
40809 fi
40810 done
40811
40812
40813 if test "$wxUSE_TARSTREAM" = "yes"; then
40814
40815 for wx_func in sysconf
40816 do
40817 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40818 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40819 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40820 echo $ECHO_N "(cached) $ECHO_C" >&6
40821 else
40822
40823 cat >conftest.$ac_ext <<_ACEOF
40824
40825 /* confdefs.h. */
40826 _ACEOF
40827 cat confdefs.h >>conftest.$ac_ext
40828 cat >>conftest.$ac_ext <<_ACEOF
40829 /* end confdefs.h. */
40830
40831
40832 $ac_includes_default
40833
40834 int
40835 main ()
40836 {
40837
40838 #ifndef $wx_func
40839 &$wx_func;
40840 #endif
40841
40842
40843 ;
40844 return 0;
40845 }
40846
40847 _ACEOF
40848 rm -f conftest.$ac_objext conftest$ac_exeext
40849 if { (ac_try="$ac_link"
40850 case "(($ac_try" in
40851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40852 *) ac_try_echo=$ac_try;;
40853 esac
40854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40855 (eval "$ac_link") 2>conftest.er1
40856 ac_status=$?
40857 grep -v '^ *+' conftest.er1 >conftest.err
40858 rm -f conftest.er1
40859 cat conftest.err >&5
40860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40861 (exit $ac_status); } && {
40862 test -z "$ac_c_werror_flag" ||
40863 test ! -s conftest.err
40864 } && test -s conftest$ac_exeext &&
40865 $as_test_x conftest$ac_exeext; then
40866 eval wx_cv_func_$wx_func=yes
40867 else
40868 echo "$as_me: failed program was:" >&5
40869 sed 's/^/| /' conftest.$ac_ext >&5
40870
40871 eval wx_cv_func_$wx_func=no
40872 fi
40873
40874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40875 conftest$ac_exeext conftest.$ac_ext
40876
40877 fi
40878 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40879 { echo "$as_me:$LINENO: result: $ac_res" >&5
40880 echo "${ECHO_T}$ac_res" >&6; }
40881
40882 if eval test \$wx_cv_func_$wx_func = yes
40883 then
40884 cat >>confdefs.h <<_ACEOF
40885 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40886 _ACEOF
40887
40888
40889 else
40890 :
40891
40892 fi
40893 done
40894
40895
40896
40897 for wx_func in getpwuid_r
40898 do
40899 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40900 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40901 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40902 echo $ECHO_N "(cached) $ECHO_C" >&6
40903 else
40904
40905 cat >conftest.$ac_ext <<_ACEOF
40906
40907 /* confdefs.h. */
40908 _ACEOF
40909 cat confdefs.h >>conftest.$ac_ext
40910 cat >>conftest.$ac_ext <<_ACEOF
40911 /* end confdefs.h. */
40912
40913
40914 #define _REENTRANT
40915 #include <pwd.h>
40916
40917 $ac_includes_default
40918
40919 int
40920 main ()
40921 {
40922
40923 #ifndef $wx_func
40924 &$wx_func;
40925 #endif
40926
40927 struct passwd pw, *ppw;
40928 char buf[1024];
40929 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
40930
40931
40932 ;
40933 return 0;
40934 }
40935
40936 _ACEOF
40937 rm -f conftest.$ac_objext conftest$ac_exeext
40938 if { (ac_try="$ac_link"
40939 case "(($ac_try" in
40940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40941 *) ac_try_echo=$ac_try;;
40942 esac
40943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40944 (eval "$ac_link") 2>conftest.er1
40945 ac_status=$?
40946 grep -v '^ *+' conftest.er1 >conftest.err
40947 rm -f conftest.er1
40948 cat conftest.err >&5
40949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40950 (exit $ac_status); } && {
40951 test -z "$ac_c_werror_flag" ||
40952 test ! -s conftest.err
40953 } && test -s conftest$ac_exeext &&
40954 $as_test_x conftest$ac_exeext; then
40955 eval wx_cv_func_$wx_func=yes
40956 else
40957 echo "$as_me: failed program was:" >&5
40958 sed 's/^/| /' conftest.$ac_ext >&5
40959
40960 eval wx_cv_func_$wx_func=no
40961 fi
40962
40963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40964 conftest$ac_exeext conftest.$ac_ext
40965
40966 fi
40967 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40968 { echo "$as_me:$LINENO: result: $ac_res" >&5
40969 echo "${ECHO_T}$ac_res" >&6; }
40970
40971 if eval test \$wx_cv_func_$wx_func = yes
40972 then
40973 cat >>confdefs.h <<_ACEOF
40974 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40975 _ACEOF
40976
40977
40978 else
40979 :
40980
40981 fi
40982 done
40983
40984
40985
40986 for wx_func in getgrgid_r
40987 do
40988 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40989 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40990 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40991 echo $ECHO_N "(cached) $ECHO_C" >&6
40992 else
40993
40994 cat >conftest.$ac_ext <<_ACEOF
40995
40996 /* confdefs.h. */
40997 _ACEOF
40998 cat confdefs.h >>conftest.$ac_ext
40999 cat >>conftest.$ac_ext <<_ACEOF
41000 /* end confdefs.h. */
41001
41002
41003 #define _REENTRANT
41004 #include <grp.h>
41005
41006 $ac_includes_default
41007
41008 int
41009 main ()
41010 {
41011
41012 #ifndef $wx_func
41013 &$wx_func;
41014 #endif
41015
41016 struct group grp, *pgrp;
41017 char buf[1024];
41018 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
41019
41020
41021 ;
41022 return 0;
41023 }
41024
41025 _ACEOF
41026 rm -f conftest.$ac_objext conftest$ac_exeext
41027 if { (ac_try="$ac_link"
41028 case "(($ac_try" in
41029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41030 *) ac_try_echo=$ac_try;;
41031 esac
41032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41033 (eval "$ac_link") 2>conftest.er1
41034 ac_status=$?
41035 grep -v '^ *+' conftest.er1 >conftest.err
41036 rm -f conftest.er1
41037 cat conftest.err >&5
41038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41039 (exit $ac_status); } && {
41040 test -z "$ac_c_werror_flag" ||
41041 test ! -s conftest.err
41042 } && test -s conftest$ac_exeext &&
41043 $as_test_x conftest$ac_exeext; then
41044 eval wx_cv_func_$wx_func=yes
41045 else
41046 echo "$as_me: failed program was:" >&5
41047 sed 's/^/| /' conftest.$ac_ext >&5
41048
41049 eval wx_cv_func_$wx_func=no
41050 fi
41051
41052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41053 conftest$ac_exeext conftest.$ac_ext
41054
41055 fi
41056 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41057 { echo "$as_me:$LINENO: result: $ac_res" >&5
41058 echo "${ECHO_T}$ac_res" >&6; }
41059
41060 if eval test \$wx_cv_func_$wx_func = yes
41061 then
41062 cat >>confdefs.h <<_ACEOF
41063 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41064 _ACEOF
41065
41066
41067 else
41068 :
41069
41070 fi
41071 done
41072
41073 fi
41074
41075 fi
41076
41077
41078
41079 cat >confcache <<\_ACEOF
41080 # This file is a shell script that caches the results of configure
41081 # tests run on this system so they can be shared between configure
41082 # scripts and configure runs, see configure's option --config-cache.
41083 # It is not useful on other systems. If it contains results you don't
41084 # want to keep, you may remove or edit it.
41085 #
41086 # config.status only pays attention to the cache file if you give it
41087 # the --recheck option to rerun configure.
41088 #
41089 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41090 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41091 # following values.
41092
41093 _ACEOF
41094
41095 # The following way of writing the cache mishandles newlines in values,
41096 # but we know of no workaround that is simple, portable, and efficient.
41097 # So, we kill variables containing newlines.
41098 # Ultrix sh set writes to stderr and can't be redirected directly,
41099 # and sets the high bit in the cache file unless we assign to the vars.
41100 (
41101 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41102 eval ac_val=\$$ac_var
41103 case $ac_val in #(
41104 *${as_nl}*)
41105 case $ac_var in #(
41106 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41107 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41108 esac
41109 case $ac_var in #(
41110 _ | IFS | as_nl) ;; #(
41111 *) $as_unset $ac_var ;;
41112 esac ;;
41113 esac
41114 done
41115
41116 (set) 2>&1 |
41117 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41118 *${as_nl}ac_space=\ *)
41119 # `set' does not quote correctly, so add quotes (double-quote
41120 # substitution turns \\\\ into \\, and sed turns \\ into \).
41121 sed -n \
41122 "s/'/'\\\\''/g;
41123 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41124 ;; #(
41125 *)
41126 # `set' quotes correctly as required by POSIX, so do not add quotes.
41127 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41128 ;;
41129 esac |
41130 sort
41131 ) |
41132 sed '
41133 /^ac_cv_env_/b end
41134 t clear
41135 :clear
41136 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41137 t end
41138 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41139 :end' >>confcache
41140 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41141 if test -w "$cache_file"; then
41142 test "x$cache_file" != "x/dev/null" &&
41143 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41144 echo "$as_me: updating cache $cache_file" >&6;}
41145 cat confcache >$cache_file
41146 else
41147 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41148 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41149 fi
41150 fi
41151 rm -f confcache
41152
41153
41154 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41155
41156
41157 THREADS_LINK=
41158 THREADS_CFLAGS=
41159
41160 if test "$wxUSE_THREADS" = "yes" ; then
41161 if test "$USE_BEOS" = 1; then
41162 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41163 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41164 wxUSE_THREADS="no"
41165 fi
41166 fi
41167
41168 if test "$wxUSE_THREADS" = "yes" ; then
41169
41170
41171 THREAD_OPTS="-pthread"
41172 if test "x$SUNCXX" = xyes; then
41173 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41174 fi
41175
41176 case "${host}" in
41177 *-*-solaris2* | *-*-sunos4* )
41178 if test "x$GCC" = "xyes"; then
41179 THREAD_OPTS="-pthreads $THREAD_OPTS"
41180 fi
41181 ;;
41182 *-*-freebsd*)
41183 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41184 ;;
41185 *-*-darwin* | *-*-cygwin* )
41186 THREAD_OPTS=""
41187 ;;
41188 *-*-aix*)
41189 THREAD_OPTS="pthreads"
41190 ;;
41191 *-hp-hpux* )
41192 if test "x$GCC" = "xyes"; then
41193 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41194 THREAD_OPTS=""
41195 else
41196 THREAD_OPTS="-mt"
41197 fi
41198 ;;
41199
41200 *-*-irix* )
41201 if test "x$GCC" = "xyes"; then
41202 THREAD_OPTS=""
41203 fi
41204 ;;
41205
41206 *-*-*UnixWare*)
41207 if test "x$GCC" != "xyes"; then
41208 THREAD_OPTS="-Ethread"
41209 fi
41210 ;;
41211 esac
41212
41213 THREAD_OPTS="$THREAD_OPTS pthread none"
41214
41215 THREADS_OK=no
41216 for flag in $THREAD_OPTS; do
41217 case $flag in
41218 none)
41219 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41220 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41221 ;;
41222
41223 -*)
41224 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41225 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41226 THREADS_CFLAGS="$flag"
41227 ;;
41228
41229 *)
41230 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41231 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41232 THREADS_LINK="-l$flag"
41233 ;;
41234 esac
41235
41236 save_LIBS="$LIBS"
41237 save_CFLAGS="$CFLAGS"
41238 LIBS="$THREADS_LINK $LIBS"
41239 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41240
41241 cat >conftest.$ac_ext <<_ACEOF
41242 /* confdefs.h. */
41243 _ACEOF
41244 cat confdefs.h >>conftest.$ac_ext
41245 cat >>conftest.$ac_ext <<_ACEOF
41246 /* end confdefs.h. */
41247 #include <pthread.h>
41248 int
41249 main ()
41250 {
41251 pthread_create(0,0,0,0);
41252 ;
41253 return 0;
41254 }
41255 _ACEOF
41256 rm -f conftest.$ac_objext conftest$ac_exeext
41257 if { (ac_try="$ac_link"
41258 case "(($ac_try" in
41259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41260 *) ac_try_echo=$ac_try;;
41261 esac
41262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41263 (eval "$ac_link") 2>conftest.er1
41264 ac_status=$?
41265 grep -v '^ *+' conftest.er1 >conftest.err
41266 rm -f conftest.er1
41267 cat conftest.err >&5
41268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41269 (exit $ac_status); } && {
41270 test -z "$ac_c_werror_flag" ||
41271 test ! -s conftest.err
41272 } && test -s conftest$ac_exeext &&
41273 $as_test_x conftest$ac_exeext; then
41274 THREADS_OK=yes
41275 else
41276 echo "$as_me: failed program was:" >&5
41277 sed 's/^/| /' conftest.$ac_ext >&5
41278
41279
41280 fi
41281
41282 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41283 conftest$ac_exeext conftest.$ac_ext
41284
41285 LIBS="$save_LIBS"
41286 CFLAGS="$save_CFLAGS"
41287
41288 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41289 echo "${ECHO_T}$THREADS_OK" >&6; }
41290 if test "x$THREADS_OK" = "xyes"; then
41291 break;
41292 fi
41293
41294 THREADS_LINK=""
41295 THREADS_CFLAGS=""
41296 done
41297
41298 if test "x$THREADS_OK" != "xyes"; then
41299 wxUSE_THREADS=no
41300 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41301 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41302 else
41303 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41304 LIBS="$THREADS_LINK $LIBS"
41305
41306 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41307 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41308 flag=no
41309 case "${host}" in
41310 *-aix*)
41311 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41312 flag="-D_THREAD_SAFE"
41313 ;;
41314 *-freebsd*)
41315 flag="-D_THREAD_SAFE"
41316 ;;
41317 *-hp-hpux* )
41318 flag="-D_REENTRANT"
41319 if test "x$GCC" != "xyes"; then
41320 flag="$flag -D_RWSTD_MULTI_THREAD"
41321 fi
41322 ;;
41323 *solaris* | alpha*-osf*)
41324 flag="-D_REENTRANT"
41325 ;;
41326 esac
41327 { echo "$as_me:$LINENO: result: ${flag}" >&5
41328 echo "${ECHO_T}${flag}" >&6; }
41329 if test "x$flag" != xno; then
41330 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41331 fi
41332
41333 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41334 fi
41335 fi
41336
41337 if test "$wxUSE_THREADS" = "yes" ; then
41338
41339 for ac_func in thr_setconcurrency
41340 do
41341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41342 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41344 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41345 echo $ECHO_N "(cached) $ECHO_C" >&6
41346 else
41347 cat >conftest.$ac_ext <<_ACEOF
41348 /* confdefs.h. */
41349 _ACEOF
41350 cat confdefs.h >>conftest.$ac_ext
41351 cat >>conftest.$ac_ext <<_ACEOF
41352 /* end confdefs.h. */
41353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41355 #define $ac_func innocuous_$ac_func
41356
41357 /* System header to define __stub macros and hopefully few prototypes,
41358 which can conflict with char $ac_func (); below.
41359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41360 <limits.h> exists even on freestanding compilers. */
41361
41362 #ifdef __STDC__
41363 # include <limits.h>
41364 #else
41365 # include <assert.h>
41366 #endif
41367
41368 #undef $ac_func
41369
41370 /* Override any GCC internal prototype to avoid an error.
41371 Use char because int might match the return type of a GCC
41372 builtin and then its argument prototype would still apply. */
41373 #ifdef __cplusplus
41374 extern "C"
41375 #endif
41376 char $ac_func ();
41377 /* The GNU C library defines this for functions which it implements
41378 to always fail with ENOSYS. Some functions are actually named
41379 something starting with __ and the normal name is an alias. */
41380 #if defined __stub_$ac_func || defined __stub___$ac_func
41381 choke me
41382 #endif
41383
41384 int
41385 main ()
41386 {
41387 return $ac_func ();
41388 ;
41389 return 0;
41390 }
41391 _ACEOF
41392 rm -f conftest.$ac_objext conftest$ac_exeext
41393 if { (ac_try="$ac_link"
41394 case "(($ac_try" in
41395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41396 *) ac_try_echo=$ac_try;;
41397 esac
41398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41399 (eval "$ac_link") 2>conftest.er1
41400 ac_status=$?
41401 grep -v '^ *+' conftest.er1 >conftest.err
41402 rm -f conftest.er1
41403 cat conftest.err >&5
41404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41405 (exit $ac_status); } && {
41406 test -z "$ac_c_werror_flag" ||
41407 test ! -s conftest.err
41408 } && test -s conftest$ac_exeext &&
41409 $as_test_x conftest$ac_exeext; then
41410 eval "$as_ac_var=yes"
41411 else
41412 echo "$as_me: failed program was:" >&5
41413 sed 's/^/| /' conftest.$ac_ext >&5
41414
41415 eval "$as_ac_var=no"
41416 fi
41417
41418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41419 conftest$ac_exeext conftest.$ac_ext
41420 fi
41421 ac_res=`eval echo '${'$as_ac_var'}'`
41422 { echo "$as_me:$LINENO: result: $ac_res" >&5
41423 echo "${ECHO_T}$ac_res" >&6; }
41424 if test `eval echo '${'$as_ac_var'}'` = yes; then
41425 cat >>confdefs.h <<_ACEOF
41426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41427 _ACEOF
41428
41429 fi
41430 done
41431
41432
41433 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41434 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41435 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41436 echo $ECHO_N "(cached) $ECHO_C" >&6
41437 else
41438
41439 ac_ext=cpp
41440 ac_cpp='$CXXCPP $CPPFLAGS'
41441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41444
41445 cat >conftest.$ac_ext <<_ACEOF
41446 /* confdefs.h. */
41447 _ACEOF
41448 cat confdefs.h >>conftest.$ac_ext
41449 cat >>conftest.$ac_ext <<_ACEOF
41450 /* end confdefs.h. */
41451 #include <pthread.h>
41452 void ThreadCleanupFunc(void *p);
41453
41454 int
41455 main ()
41456 {
41457
41458 void *p;
41459 pthread_cleanup_push(ThreadCleanupFunc, p);
41460 pthread_cleanup_pop(0);
41461
41462 ;
41463 return 0;
41464 }
41465 _ACEOF
41466 rm -f conftest.$ac_objext
41467 if { (ac_try="$ac_compile"
41468 case "(($ac_try" in
41469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41470 *) ac_try_echo=$ac_try;;
41471 esac
41472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41473 (eval "$ac_compile") 2>conftest.er1
41474 ac_status=$?
41475 grep -v '^ *+' conftest.er1 >conftest.err
41476 rm -f conftest.er1
41477 cat conftest.err >&5
41478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41479 (exit $ac_status); } && {
41480 test -z "$ac_cxx_werror_flag" ||
41481 test ! -s conftest.err
41482 } && test -s conftest.$ac_objext; then
41483
41484 wx_cv_func_pthread_cleanup=yes
41485
41486 else
41487 echo "$as_me: failed program was:" >&5
41488 sed 's/^/| /' conftest.$ac_ext >&5
41489
41490
41491 wx_cv_func_pthread_cleanup=no
41492
41493
41494 fi
41495
41496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41497 ac_ext=c
41498 ac_cpp='$CPP $CPPFLAGS'
41499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41502
41503
41504 fi
41505 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41506 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41507 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41508 cat >>confdefs.h <<\_ACEOF
41509 #define wxHAVE_PTHREAD_CLEANUP 1
41510 _ACEOF
41511
41512 fi
41513
41514
41515 for ac_header in sched.h
41516 do
41517 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41518 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41519 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41520 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41521 echo $ECHO_N "(cached) $ECHO_C" >&6
41522 else
41523 cat >conftest.$ac_ext <<_ACEOF
41524 /* confdefs.h. */
41525 _ACEOF
41526 cat confdefs.h >>conftest.$ac_ext
41527 cat >>conftest.$ac_ext <<_ACEOF
41528 /* end confdefs.h. */
41529 $ac_includes_default
41530
41531 #include <$ac_header>
41532 _ACEOF
41533 rm -f conftest.$ac_objext
41534 if { (ac_try="$ac_compile"
41535 case "(($ac_try" in
41536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41537 *) ac_try_echo=$ac_try;;
41538 esac
41539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41540 (eval "$ac_compile") 2>conftest.er1
41541 ac_status=$?
41542 grep -v '^ *+' conftest.er1 >conftest.err
41543 rm -f conftest.er1
41544 cat conftest.err >&5
41545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41546 (exit $ac_status); } && {
41547 test -z "$ac_c_werror_flag" ||
41548 test ! -s conftest.err
41549 } && test -s conftest.$ac_objext; then
41550 eval "$as_ac_Header=yes"
41551 else
41552 echo "$as_me: failed program was:" >&5
41553 sed 's/^/| /' conftest.$ac_ext >&5
41554
41555 eval "$as_ac_Header=no"
41556 fi
41557
41558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41559 fi
41560 ac_res=`eval echo '${'$as_ac_Header'}'`
41561 { echo "$as_me:$LINENO: result: $ac_res" >&5
41562 echo "${ECHO_T}$ac_res" >&6; }
41563 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41564 cat >>confdefs.h <<_ACEOF
41565 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41566 _ACEOF
41567
41568 fi
41569
41570 done
41571
41572 if test "$ac_cv_header_sched_h" = "yes"; then
41573 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41574 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41575 if test "${ac_cv_func_sched_yield+set}" = set; then
41576 echo $ECHO_N "(cached) $ECHO_C" >&6
41577 else
41578 cat >conftest.$ac_ext <<_ACEOF
41579 /* confdefs.h. */
41580 _ACEOF
41581 cat confdefs.h >>conftest.$ac_ext
41582 cat >>conftest.$ac_ext <<_ACEOF
41583 /* end confdefs.h. */
41584 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41586 #define sched_yield innocuous_sched_yield
41587
41588 /* System header to define __stub macros and hopefully few prototypes,
41589 which can conflict with char sched_yield (); below.
41590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41591 <limits.h> exists even on freestanding compilers. */
41592
41593 #ifdef __STDC__
41594 # include <limits.h>
41595 #else
41596 # include <assert.h>
41597 #endif
41598
41599 #undef sched_yield
41600
41601 /* Override any GCC internal prototype to avoid an error.
41602 Use char because int might match the return type of a GCC
41603 builtin and then its argument prototype would still apply. */
41604 #ifdef __cplusplus
41605 extern "C"
41606 #endif
41607 char sched_yield ();
41608 /* The GNU C library defines this for functions which it implements
41609 to always fail with ENOSYS. Some functions are actually named
41610 something starting with __ and the normal name is an alias. */
41611 #if defined __stub_sched_yield || defined __stub___sched_yield
41612 choke me
41613 #endif
41614
41615 int
41616 main ()
41617 {
41618 return sched_yield ();
41619 ;
41620 return 0;
41621 }
41622 _ACEOF
41623 rm -f conftest.$ac_objext conftest$ac_exeext
41624 if { (ac_try="$ac_link"
41625 case "(($ac_try" in
41626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41627 *) ac_try_echo=$ac_try;;
41628 esac
41629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41630 (eval "$ac_link") 2>conftest.er1
41631 ac_status=$?
41632 grep -v '^ *+' conftest.er1 >conftest.err
41633 rm -f conftest.er1
41634 cat conftest.err >&5
41635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41636 (exit $ac_status); } && {
41637 test -z "$ac_c_werror_flag" ||
41638 test ! -s conftest.err
41639 } && test -s conftest$ac_exeext &&
41640 $as_test_x conftest$ac_exeext; then
41641 ac_cv_func_sched_yield=yes
41642 else
41643 echo "$as_me: failed program was:" >&5
41644 sed 's/^/| /' conftest.$ac_ext >&5
41645
41646 ac_cv_func_sched_yield=no
41647 fi
41648
41649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41650 conftest$ac_exeext conftest.$ac_ext
41651 fi
41652 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41653 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41654 if test $ac_cv_func_sched_yield = yes; then
41655 cat >>confdefs.h <<\_ACEOF
41656 #define HAVE_SCHED_YIELD 1
41657 _ACEOF
41658
41659 else
41660
41661 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41662 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41663 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41664 echo $ECHO_N "(cached) $ECHO_C" >&6
41665 else
41666 ac_check_lib_save_LIBS=$LIBS
41667 LIBS="-lposix4 $LIBS"
41668 cat >conftest.$ac_ext <<_ACEOF
41669 /* confdefs.h. */
41670 _ACEOF
41671 cat confdefs.h >>conftest.$ac_ext
41672 cat >>conftest.$ac_ext <<_ACEOF
41673 /* end confdefs.h. */
41674
41675 /* Override any GCC internal prototype to avoid an error.
41676 Use char because int might match the return type of a GCC
41677 builtin and then its argument prototype would still apply. */
41678 #ifdef __cplusplus
41679 extern "C"
41680 #endif
41681 char sched_yield ();
41682 int
41683 main ()
41684 {
41685 return sched_yield ();
41686 ;
41687 return 0;
41688 }
41689 _ACEOF
41690 rm -f conftest.$ac_objext conftest$ac_exeext
41691 if { (ac_try="$ac_link"
41692 case "(($ac_try" in
41693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41694 *) ac_try_echo=$ac_try;;
41695 esac
41696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41697 (eval "$ac_link") 2>conftest.er1
41698 ac_status=$?
41699 grep -v '^ *+' conftest.er1 >conftest.err
41700 rm -f conftest.er1
41701 cat conftest.err >&5
41702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41703 (exit $ac_status); } && {
41704 test -z "$ac_c_werror_flag" ||
41705 test ! -s conftest.err
41706 } && test -s conftest$ac_exeext &&
41707 $as_test_x conftest$ac_exeext; then
41708 ac_cv_lib_posix4_sched_yield=yes
41709 else
41710 echo "$as_me: failed program was:" >&5
41711 sed 's/^/| /' conftest.$ac_ext >&5
41712
41713 ac_cv_lib_posix4_sched_yield=no
41714 fi
41715
41716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41717 conftest$ac_exeext conftest.$ac_ext
41718 LIBS=$ac_check_lib_save_LIBS
41719 fi
41720 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41721 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41722 if test $ac_cv_lib_posix4_sched_yield = yes; then
41723 cat >>confdefs.h <<\_ACEOF
41724 #define HAVE_SCHED_YIELD 1
41725 _ACEOF
41726 POSIX4_LINK=" -lposix4"
41727 else
41728 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41729 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41730
41731 fi
41732
41733
41734
41735 fi
41736
41737 fi
41738
41739 HAVE_PRIOR_FUNCS=0
41740 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41741 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41742 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41743 echo $ECHO_N "(cached) $ECHO_C" >&6
41744 else
41745 cat >conftest.$ac_ext <<_ACEOF
41746 /* confdefs.h. */
41747 _ACEOF
41748 cat confdefs.h >>conftest.$ac_ext
41749 cat >>conftest.$ac_ext <<_ACEOF
41750 /* end confdefs.h. */
41751 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41753 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41754
41755 /* System header to define __stub macros and hopefully few prototypes,
41756 which can conflict with char pthread_attr_getschedpolicy (); below.
41757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41758 <limits.h> exists even on freestanding compilers. */
41759
41760 #ifdef __STDC__
41761 # include <limits.h>
41762 #else
41763 # include <assert.h>
41764 #endif
41765
41766 #undef pthread_attr_getschedpolicy
41767
41768 /* Override any GCC internal prototype to avoid an error.
41769 Use char because int might match the return type of a GCC
41770 builtin and then its argument prototype would still apply. */
41771 #ifdef __cplusplus
41772 extern "C"
41773 #endif
41774 char pthread_attr_getschedpolicy ();
41775 /* The GNU C library defines this for functions which it implements
41776 to always fail with ENOSYS. Some functions are actually named
41777 something starting with __ and the normal name is an alias. */
41778 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41779 choke me
41780 #endif
41781
41782 int
41783 main ()
41784 {
41785 return pthread_attr_getschedpolicy ();
41786 ;
41787 return 0;
41788 }
41789 _ACEOF
41790 rm -f conftest.$ac_objext conftest$ac_exeext
41791 if { (ac_try="$ac_link"
41792 case "(($ac_try" in
41793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41794 *) ac_try_echo=$ac_try;;
41795 esac
41796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41797 (eval "$ac_link") 2>conftest.er1
41798 ac_status=$?
41799 grep -v '^ *+' conftest.er1 >conftest.err
41800 rm -f conftest.er1
41801 cat conftest.err >&5
41802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41803 (exit $ac_status); } && {
41804 test -z "$ac_c_werror_flag" ||
41805 test ! -s conftest.err
41806 } && test -s conftest$ac_exeext &&
41807 $as_test_x conftest$ac_exeext; then
41808 ac_cv_func_pthread_attr_getschedpolicy=yes
41809 else
41810 echo "$as_me: failed program was:" >&5
41811 sed 's/^/| /' conftest.$ac_ext >&5
41812
41813 ac_cv_func_pthread_attr_getschedpolicy=no
41814 fi
41815
41816 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41817 conftest$ac_exeext conftest.$ac_ext
41818 fi
41819 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41820 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41821 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41822 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41823 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41824 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41825 echo $ECHO_N "(cached) $ECHO_C" >&6
41826 else
41827 cat >conftest.$ac_ext <<_ACEOF
41828 /* confdefs.h. */
41829 _ACEOF
41830 cat confdefs.h >>conftest.$ac_ext
41831 cat >>conftest.$ac_ext <<_ACEOF
41832 /* end confdefs.h. */
41833 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41835 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41836
41837 /* System header to define __stub macros and hopefully few prototypes,
41838 which can conflict with char pthread_attr_setschedparam (); below.
41839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41840 <limits.h> exists even on freestanding compilers. */
41841
41842 #ifdef __STDC__
41843 # include <limits.h>
41844 #else
41845 # include <assert.h>
41846 #endif
41847
41848 #undef pthread_attr_setschedparam
41849
41850 /* Override any GCC internal prototype to avoid an error.
41851 Use char because int might match the return type of a GCC
41852 builtin and then its argument prototype would still apply. */
41853 #ifdef __cplusplus
41854 extern "C"
41855 #endif
41856 char pthread_attr_setschedparam ();
41857 /* The GNU C library defines this for functions which it implements
41858 to always fail with ENOSYS. Some functions are actually named
41859 something starting with __ and the normal name is an alias. */
41860 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41861 choke me
41862 #endif
41863
41864 int
41865 main ()
41866 {
41867 return pthread_attr_setschedparam ();
41868 ;
41869 return 0;
41870 }
41871 _ACEOF
41872 rm -f conftest.$ac_objext conftest$ac_exeext
41873 if { (ac_try="$ac_link"
41874 case "(($ac_try" in
41875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41876 *) ac_try_echo=$ac_try;;
41877 esac
41878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41879 (eval "$ac_link") 2>conftest.er1
41880 ac_status=$?
41881 grep -v '^ *+' conftest.er1 >conftest.err
41882 rm -f conftest.er1
41883 cat conftest.err >&5
41884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41885 (exit $ac_status); } && {
41886 test -z "$ac_c_werror_flag" ||
41887 test ! -s conftest.err
41888 } && test -s conftest$ac_exeext &&
41889 $as_test_x conftest$ac_exeext; then
41890 ac_cv_func_pthread_attr_setschedparam=yes
41891 else
41892 echo "$as_me: failed program was:" >&5
41893 sed 's/^/| /' conftest.$ac_ext >&5
41894
41895 ac_cv_func_pthread_attr_setschedparam=no
41896 fi
41897
41898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41899 conftest$ac_exeext conftest.$ac_ext
41900 fi
41901 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41902 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41903 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41904 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41905 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41906 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41907 echo $ECHO_N "(cached) $ECHO_C" >&6
41908 else
41909 cat >conftest.$ac_ext <<_ACEOF
41910 /* confdefs.h. */
41911 _ACEOF
41912 cat confdefs.h >>conftest.$ac_ext
41913 cat >>conftest.$ac_ext <<_ACEOF
41914 /* end confdefs.h. */
41915 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41917 #define sched_get_priority_max innocuous_sched_get_priority_max
41918
41919 /* System header to define __stub macros and hopefully few prototypes,
41920 which can conflict with char sched_get_priority_max (); below.
41921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41922 <limits.h> exists even on freestanding compilers. */
41923
41924 #ifdef __STDC__
41925 # include <limits.h>
41926 #else
41927 # include <assert.h>
41928 #endif
41929
41930 #undef sched_get_priority_max
41931
41932 /* Override any GCC internal prototype to avoid an error.
41933 Use char because int might match the return type of a GCC
41934 builtin and then its argument prototype would still apply. */
41935 #ifdef __cplusplus
41936 extern "C"
41937 #endif
41938 char sched_get_priority_max ();
41939 /* The GNU C library defines this for functions which it implements
41940 to always fail with ENOSYS. Some functions are actually named
41941 something starting with __ and the normal name is an alias. */
41942 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41943 choke me
41944 #endif
41945
41946 int
41947 main ()
41948 {
41949 return sched_get_priority_max ();
41950 ;
41951 return 0;
41952 }
41953 _ACEOF
41954 rm -f conftest.$ac_objext conftest$ac_exeext
41955 if { (ac_try="$ac_link"
41956 case "(($ac_try" in
41957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41958 *) ac_try_echo=$ac_try;;
41959 esac
41960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41961 (eval "$ac_link") 2>conftest.er1
41962 ac_status=$?
41963 grep -v '^ *+' conftest.er1 >conftest.err
41964 rm -f conftest.er1
41965 cat conftest.err >&5
41966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41967 (exit $ac_status); } && {
41968 test -z "$ac_c_werror_flag" ||
41969 test ! -s conftest.err
41970 } && test -s conftest$ac_exeext &&
41971 $as_test_x conftest$ac_exeext; then
41972 ac_cv_func_sched_get_priority_max=yes
41973 else
41974 echo "$as_me: failed program was:" >&5
41975 sed 's/^/| /' conftest.$ac_ext >&5
41976
41977 ac_cv_func_sched_get_priority_max=no
41978 fi
41979
41980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41981 conftest$ac_exeext conftest.$ac_ext
41982 fi
41983 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41984 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41985 if test $ac_cv_func_sched_get_priority_max = yes; then
41986 HAVE_PRIOR_FUNCS=1
41987 else
41988 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41989 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41990 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41991 echo $ECHO_N "(cached) $ECHO_C" >&6
41992 else
41993 ac_check_lib_save_LIBS=$LIBS
41994 LIBS="-lposix4 $LIBS"
41995 cat >conftest.$ac_ext <<_ACEOF
41996 /* confdefs.h. */
41997 _ACEOF
41998 cat confdefs.h >>conftest.$ac_ext
41999 cat >>conftest.$ac_ext <<_ACEOF
42000 /* end confdefs.h. */
42001
42002 /* Override any GCC internal prototype to avoid an error.
42003 Use char because int might match the return type of a GCC
42004 builtin and then its argument prototype would still apply. */
42005 #ifdef __cplusplus
42006 extern "C"
42007 #endif
42008 char sched_get_priority_max ();
42009 int
42010 main ()
42011 {
42012 return sched_get_priority_max ();
42013 ;
42014 return 0;
42015 }
42016 _ACEOF
42017 rm -f conftest.$ac_objext conftest$ac_exeext
42018 if { (ac_try="$ac_link"
42019 case "(($ac_try" in
42020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42021 *) ac_try_echo=$ac_try;;
42022 esac
42023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42024 (eval "$ac_link") 2>conftest.er1
42025 ac_status=$?
42026 grep -v '^ *+' conftest.er1 >conftest.err
42027 rm -f conftest.er1
42028 cat conftest.err >&5
42029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42030 (exit $ac_status); } && {
42031 test -z "$ac_c_werror_flag" ||
42032 test ! -s conftest.err
42033 } && test -s conftest$ac_exeext &&
42034 $as_test_x conftest$ac_exeext; then
42035 ac_cv_lib_posix4_sched_get_priority_max=yes
42036 else
42037 echo "$as_me: failed program was:" >&5
42038 sed 's/^/| /' conftest.$ac_ext >&5
42039
42040 ac_cv_lib_posix4_sched_get_priority_max=no
42041 fi
42042
42043 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42044 conftest$ac_exeext conftest.$ac_ext
42045 LIBS=$ac_check_lib_save_LIBS
42046 fi
42047 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42048 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42049 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42050
42051 HAVE_PRIOR_FUNCS=1
42052 POSIX4_LINK=" -lposix4"
42053
42054 fi
42055
42056
42057 fi
42058
42059
42060 fi
42061
42062
42063 fi
42064
42065
42066 if test "$HAVE_PRIOR_FUNCS" = 1; then
42067 cat >>confdefs.h <<\_ACEOF
42068 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42069 _ACEOF
42070
42071 else
42072 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42073 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42074 fi
42075
42076 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42077 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42078 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42079 echo $ECHO_N "(cached) $ECHO_C" >&6
42080 else
42081 cat >conftest.$ac_ext <<_ACEOF
42082 /* confdefs.h. */
42083 _ACEOF
42084 cat confdefs.h >>conftest.$ac_ext
42085 cat >>conftest.$ac_ext <<_ACEOF
42086 /* end confdefs.h. */
42087 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42089 #define pthread_cancel innocuous_pthread_cancel
42090
42091 /* System header to define __stub macros and hopefully few prototypes,
42092 which can conflict with char pthread_cancel (); below.
42093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42094 <limits.h> exists even on freestanding compilers. */
42095
42096 #ifdef __STDC__
42097 # include <limits.h>
42098 #else
42099 # include <assert.h>
42100 #endif
42101
42102 #undef pthread_cancel
42103
42104 /* Override any GCC internal prototype to avoid an error.
42105 Use char because int might match the return type of a GCC
42106 builtin and then its argument prototype would still apply. */
42107 #ifdef __cplusplus
42108 extern "C"
42109 #endif
42110 char pthread_cancel ();
42111 /* The GNU C library defines this for functions which it implements
42112 to always fail with ENOSYS. Some functions are actually named
42113 something starting with __ and the normal name is an alias. */
42114 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42115 choke me
42116 #endif
42117
42118 int
42119 main ()
42120 {
42121 return pthread_cancel ();
42122 ;
42123 return 0;
42124 }
42125 _ACEOF
42126 rm -f conftest.$ac_objext conftest$ac_exeext
42127 if { (ac_try="$ac_link"
42128 case "(($ac_try" in
42129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42130 *) ac_try_echo=$ac_try;;
42131 esac
42132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42133 (eval "$ac_link") 2>conftest.er1
42134 ac_status=$?
42135 grep -v '^ *+' conftest.er1 >conftest.err
42136 rm -f conftest.er1
42137 cat conftest.err >&5
42138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42139 (exit $ac_status); } && {
42140 test -z "$ac_c_werror_flag" ||
42141 test ! -s conftest.err
42142 } && test -s conftest$ac_exeext &&
42143 $as_test_x conftest$ac_exeext; then
42144 ac_cv_func_pthread_cancel=yes
42145 else
42146 echo "$as_me: failed program was:" >&5
42147 sed 's/^/| /' conftest.$ac_ext >&5
42148
42149 ac_cv_func_pthread_cancel=no
42150 fi
42151
42152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42153 conftest$ac_exeext conftest.$ac_ext
42154 fi
42155 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42156 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42157 if test $ac_cv_func_pthread_cancel = yes; then
42158 cat >>confdefs.h <<\_ACEOF
42159 #define HAVE_PTHREAD_CANCEL 1
42160 _ACEOF
42161
42162 else
42163 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42164 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42165 fi
42166
42167
42168 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42169 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42170 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42171 echo $ECHO_N "(cached) $ECHO_C" >&6
42172 else
42173 cat >conftest.$ac_ext <<_ACEOF
42174 /* confdefs.h. */
42175 _ACEOF
42176 cat confdefs.h >>conftest.$ac_ext
42177 cat >>conftest.$ac_ext <<_ACEOF
42178 /* end confdefs.h. */
42179 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42181 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42182
42183 /* System header to define __stub macros and hopefully few prototypes,
42184 which can conflict with char pthread_mutex_timedlock (); below.
42185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42186 <limits.h> exists even on freestanding compilers. */
42187
42188 #ifdef __STDC__
42189 # include <limits.h>
42190 #else
42191 # include <assert.h>
42192 #endif
42193
42194 #undef pthread_mutex_timedlock
42195
42196 /* Override any GCC internal prototype to avoid an error.
42197 Use char because int might match the return type of a GCC
42198 builtin and then its argument prototype would still apply. */
42199 #ifdef __cplusplus
42200 extern "C"
42201 #endif
42202 char pthread_mutex_timedlock ();
42203 /* The GNU C library defines this for functions which it implements
42204 to always fail with ENOSYS. Some functions are actually named
42205 something starting with __ and the normal name is an alias. */
42206 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42207 choke me
42208 #endif
42209
42210 int
42211 main ()
42212 {
42213 return pthread_mutex_timedlock ();
42214 ;
42215 return 0;
42216 }
42217 _ACEOF
42218 rm -f conftest.$ac_objext conftest$ac_exeext
42219 if { (ac_try="$ac_link"
42220 case "(($ac_try" in
42221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42222 *) ac_try_echo=$ac_try;;
42223 esac
42224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42225 (eval "$ac_link") 2>conftest.er1
42226 ac_status=$?
42227 grep -v '^ *+' conftest.er1 >conftest.err
42228 rm -f conftest.er1
42229 cat conftest.err >&5
42230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42231 (exit $ac_status); } && {
42232 test -z "$ac_c_werror_flag" ||
42233 test ! -s conftest.err
42234 } && test -s conftest$ac_exeext &&
42235 $as_test_x conftest$ac_exeext; then
42236 ac_cv_func_pthread_mutex_timedlock=yes
42237 else
42238 echo "$as_me: failed program was:" >&5
42239 sed 's/^/| /' conftest.$ac_ext >&5
42240
42241 ac_cv_func_pthread_mutex_timedlock=no
42242 fi
42243
42244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42245 conftest$ac_exeext conftest.$ac_ext
42246 fi
42247 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42248 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42249 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42250 cat >>confdefs.h <<\_ACEOF
42251 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42252 _ACEOF
42253
42254 else
42255 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42256 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42257 fi
42258
42259
42260 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42261 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42262 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42263 echo $ECHO_N "(cached) $ECHO_C" >&6
42264 else
42265 cat >conftest.$ac_ext <<_ACEOF
42266 /* confdefs.h. */
42267 _ACEOF
42268 cat confdefs.h >>conftest.$ac_ext
42269 cat >>conftest.$ac_ext <<_ACEOF
42270 /* end confdefs.h. */
42271 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42273 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42274
42275 /* System header to define __stub macros and hopefully few prototypes,
42276 which can conflict with char pthread_attr_setstacksize (); below.
42277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42278 <limits.h> exists even on freestanding compilers. */
42279
42280 #ifdef __STDC__
42281 # include <limits.h>
42282 #else
42283 # include <assert.h>
42284 #endif
42285
42286 #undef pthread_attr_setstacksize
42287
42288 /* Override any GCC internal prototype to avoid an error.
42289 Use char because int might match the return type of a GCC
42290 builtin and then its argument prototype would still apply. */
42291 #ifdef __cplusplus
42292 extern "C"
42293 #endif
42294 char pthread_attr_setstacksize ();
42295 /* The GNU C library defines this for functions which it implements
42296 to always fail with ENOSYS. Some functions are actually named
42297 something starting with __ and the normal name is an alias. */
42298 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42299 choke me
42300 #endif
42301
42302 int
42303 main ()
42304 {
42305 return pthread_attr_setstacksize ();
42306 ;
42307 return 0;
42308 }
42309 _ACEOF
42310 rm -f conftest.$ac_objext conftest$ac_exeext
42311 if { (ac_try="$ac_link"
42312 case "(($ac_try" in
42313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42314 *) ac_try_echo=$ac_try;;
42315 esac
42316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42317 (eval "$ac_link") 2>conftest.er1
42318 ac_status=$?
42319 grep -v '^ *+' conftest.er1 >conftest.err
42320 rm -f conftest.er1
42321 cat conftest.err >&5
42322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42323 (exit $ac_status); } && {
42324 test -z "$ac_c_werror_flag" ||
42325 test ! -s conftest.err
42326 } && test -s conftest$ac_exeext &&
42327 $as_test_x conftest$ac_exeext; then
42328 ac_cv_func_pthread_attr_setstacksize=yes
42329 else
42330 echo "$as_me: failed program was:" >&5
42331 sed 's/^/| /' conftest.$ac_ext >&5
42332
42333 ac_cv_func_pthread_attr_setstacksize=no
42334 fi
42335
42336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42337 conftest$ac_exeext conftest.$ac_ext
42338 fi
42339 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42340 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42341 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42342 cat >>confdefs.h <<\_ACEOF
42343 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42344 _ACEOF
42345
42346 fi
42347
42348
42349
42350 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42351 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42352 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42353 echo $ECHO_N "(cached) $ECHO_C" >&6
42354 else
42355
42356 cat >conftest.$ac_ext <<_ACEOF
42357 /* confdefs.h. */
42358 _ACEOF
42359 cat confdefs.h >>conftest.$ac_ext
42360 cat >>conftest.$ac_ext <<_ACEOF
42361 /* end confdefs.h. */
42362 #include <pthread.h>
42363 int
42364 main ()
42365 {
42366
42367 pthread_mutexattr_t attr;
42368 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42369
42370 ;
42371 return 0;
42372 }
42373 _ACEOF
42374 rm -f conftest.$ac_objext
42375 if { (ac_try="$ac_compile"
42376 case "(($ac_try" in
42377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42378 *) ac_try_echo=$ac_try;;
42379 esac
42380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42381 (eval "$ac_compile") 2>conftest.er1
42382 ac_status=$?
42383 grep -v '^ *+' conftest.er1 >conftest.err
42384 rm -f conftest.er1
42385 cat conftest.err >&5
42386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42387 (exit $ac_status); } && {
42388 test -z "$ac_c_werror_flag" ||
42389 test ! -s conftest.err
42390 } && test -s conftest.$ac_objext; then
42391 wx_cv_type_pthread_mutexattr_t=yes
42392 else
42393 echo "$as_me: failed program was:" >&5
42394 sed 's/^/| /' conftest.$ac_ext >&5
42395
42396 wx_cv_type_pthread_mutexattr_t=no
42397
42398 fi
42399
42400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42401
42402 fi
42403 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42404 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42405
42406 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42407 cat >>confdefs.h <<\_ACEOF
42408 #define HAVE_PTHREAD_MUTEXATTR_T 1
42409 _ACEOF
42410
42411
42412 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42413 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42414 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42415 echo $ECHO_N "(cached) $ECHO_C" >&6
42416 else
42417
42418 cat >conftest.$ac_ext <<_ACEOF
42419 /* confdefs.h. */
42420 _ACEOF
42421 cat confdefs.h >>conftest.$ac_ext
42422 cat >>conftest.$ac_ext <<_ACEOF
42423 /* end confdefs.h. */
42424 #include <pthread.h>
42425 int
42426 main ()
42427 {
42428
42429 pthread_mutexattr_t attr;
42430 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42431
42432 ;
42433 return 0;
42434 }
42435 _ACEOF
42436 rm -f conftest.$ac_objext
42437 if { (ac_try="$ac_compile"
42438 case "(($ac_try" in
42439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42440 *) ac_try_echo=$ac_try;;
42441 esac
42442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42443 (eval "$ac_compile") 2>conftest.er1
42444 ac_status=$?
42445 grep -v '^ *+' conftest.er1 >conftest.err
42446 rm -f conftest.er1
42447 cat conftest.err >&5
42448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42449 (exit $ac_status); } && {
42450 test -z "$ac_c_werror_flag" ||
42451 test ! -s conftest.err
42452 } && test -s conftest.$ac_objext; then
42453 wx_cv_func_pthread_mutexattr_settype_decl=yes
42454 else
42455 echo "$as_me: failed program was:" >&5
42456 sed 's/^/| /' conftest.$ac_ext >&5
42457
42458 wx_cv_func_pthread_mutexattr_settype_decl=no
42459
42460 fi
42461
42462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42463
42464 fi
42465 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42466 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42467 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42468 cat >>confdefs.h <<\_ACEOF
42469 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42470 _ACEOF
42471
42472 fi
42473 else
42474 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42475 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42476 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42477 echo $ECHO_N "(cached) $ECHO_C" >&6
42478 else
42479
42480 cat >conftest.$ac_ext <<_ACEOF
42481 /* confdefs.h. */
42482 _ACEOF
42483 cat confdefs.h >>conftest.$ac_ext
42484 cat >>conftest.$ac_ext <<_ACEOF
42485 /* end confdefs.h. */
42486 #include <pthread.h>
42487 int
42488 main ()
42489 {
42490
42491 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42492
42493 ;
42494 return 0;
42495 }
42496 _ACEOF
42497 rm -f conftest.$ac_objext
42498 if { (ac_try="$ac_compile"
42499 case "(($ac_try" in
42500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42501 *) ac_try_echo=$ac_try;;
42502 esac
42503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42504 (eval "$ac_compile") 2>conftest.er1
42505 ac_status=$?
42506 grep -v '^ *+' conftest.er1 >conftest.err
42507 rm -f conftest.er1
42508 cat conftest.err >&5
42509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42510 (exit $ac_status); } && {
42511 test -z "$ac_c_werror_flag" ||
42512 test ! -s conftest.err
42513 } && test -s conftest.$ac_objext; then
42514
42515 wx_cv_type_pthread_rec_mutex_init=yes
42516
42517 else
42518 echo "$as_me: failed program was:" >&5
42519 sed 's/^/| /' conftest.$ac_ext >&5
42520
42521
42522 wx_cv_type_pthread_rec_mutex_init=no
42523
42524
42525 fi
42526
42527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42528
42529 fi
42530 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42531 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42532 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42533 cat >>confdefs.h <<\_ACEOF
42534 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42535 _ACEOF
42536
42537 else
42538 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42539 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42540 fi
42541 fi
42542 fi
42543
42544 else
42545 if test "$wxUSE_THREADS" = "yes" ; then
42546 case "${host}" in
42547 *-*-mingw32* )
42548 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42549 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42550 if test "${wx_cv_cflags_mthread+set}" = set; then
42551 echo $ECHO_N "(cached) $ECHO_C" >&6
42552 else
42553
42554 CFLAGS_OLD="$CFLAGS"
42555 CFLAGS="-mthreads $CFLAGS"
42556 cat >conftest.$ac_ext <<_ACEOF
42557 /* confdefs.h. */
42558 _ACEOF
42559 cat confdefs.h >>conftest.$ac_ext
42560 cat >>conftest.$ac_ext <<_ACEOF
42561 /* end confdefs.h. */
42562
42563 int
42564 main ()
42565 {
42566
42567 ;
42568 return 0;
42569 }
42570 _ACEOF
42571 rm -f conftest.$ac_objext
42572 if { (ac_try="$ac_compile"
42573 case "(($ac_try" in
42574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42575 *) ac_try_echo=$ac_try;;
42576 esac
42577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42578 (eval "$ac_compile") 2>conftest.er1
42579 ac_status=$?
42580 grep -v '^ *+' conftest.er1 >conftest.err
42581 rm -f conftest.er1
42582 cat conftest.err >&5
42583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42584 (exit $ac_status); } && {
42585 test -z "$ac_c_werror_flag" ||
42586 test ! -s conftest.err
42587 } && test -s conftest.$ac_objext; then
42588 wx_cv_cflags_mthread=yes
42589 else
42590 echo "$as_me: failed program was:" >&5
42591 sed 's/^/| /' conftest.$ac_ext >&5
42592
42593 wx_cv_cflags_mthread=no
42594
42595 fi
42596
42597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42598
42599
42600 fi
42601 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42602 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42603
42604 if test "$wx_cv_cflags_mthread" = "yes"; then
42605 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42606 LDFLAGS="$LDFLAGS -mthreads"
42607 else
42608 CFLAGS="$CFLAGS_OLD"
42609 fi
42610 ;;
42611 *-pc-os2*emx )
42612 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42613 LDFLAGS="$LDFLAGS -Zmt"
42614 ;;
42615 esac
42616 fi
42617 fi
42618
42619 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42620 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42621 if test "${ac_cv_func_localtime_r+set}" = set; then
42622 echo $ECHO_N "(cached) $ECHO_C" >&6
42623 else
42624 cat >conftest.$ac_ext <<_ACEOF
42625 /* confdefs.h. */
42626 _ACEOF
42627 cat confdefs.h >>conftest.$ac_ext
42628 cat >>conftest.$ac_ext <<_ACEOF
42629 /* end confdefs.h. */
42630 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42632 #define localtime_r innocuous_localtime_r
42633
42634 /* System header to define __stub macros and hopefully few prototypes,
42635 which can conflict with char localtime_r (); below.
42636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42637 <limits.h> exists even on freestanding compilers. */
42638
42639 #ifdef __STDC__
42640 # include <limits.h>
42641 #else
42642 # include <assert.h>
42643 #endif
42644
42645 #undef localtime_r
42646
42647 /* Override any GCC internal prototype to avoid an error.
42648 Use char because int might match the return type of a GCC
42649 builtin and then its argument prototype would still apply. */
42650 #ifdef __cplusplus
42651 extern "C"
42652 #endif
42653 char localtime_r ();
42654 /* The GNU C library defines this for functions which it implements
42655 to always fail with ENOSYS. Some functions are actually named
42656 something starting with __ and the normal name is an alias. */
42657 #if defined __stub_localtime_r || defined __stub___localtime_r
42658 choke me
42659 #endif
42660
42661 int
42662 main ()
42663 {
42664 return localtime_r ();
42665 ;
42666 return 0;
42667 }
42668 _ACEOF
42669 rm -f conftest.$ac_objext conftest$ac_exeext
42670 if { (ac_try="$ac_link"
42671 case "(($ac_try" in
42672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42673 *) ac_try_echo=$ac_try;;
42674 esac
42675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42676 (eval "$ac_link") 2>conftest.er1
42677 ac_status=$?
42678 grep -v '^ *+' conftest.er1 >conftest.err
42679 rm -f conftest.er1
42680 cat conftest.err >&5
42681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42682 (exit $ac_status); } && {
42683 test -z "$ac_c_werror_flag" ||
42684 test ! -s conftest.err
42685 } && test -s conftest$ac_exeext &&
42686 $as_test_x conftest$ac_exeext; then
42687 ac_cv_func_localtime_r=yes
42688 else
42689 echo "$as_me: failed program was:" >&5
42690 sed 's/^/| /' conftest.$ac_ext >&5
42691
42692 ac_cv_func_localtime_r=no
42693 fi
42694
42695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42696 conftest$ac_exeext conftest.$ac_ext
42697 fi
42698 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42699 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42700 if test $ac_cv_func_localtime_r = yes; then
42701 cat >>confdefs.h <<\_ACEOF
42702 #define HAVE_LOCALTIME_R 1
42703 _ACEOF
42704
42705 fi
42706
42707 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42708 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42709 if test "${ac_cv_func_gmtime_r+set}" = set; then
42710 echo $ECHO_N "(cached) $ECHO_C" >&6
42711 else
42712 cat >conftest.$ac_ext <<_ACEOF
42713 /* confdefs.h. */
42714 _ACEOF
42715 cat confdefs.h >>conftest.$ac_ext
42716 cat >>conftest.$ac_ext <<_ACEOF
42717 /* end confdefs.h. */
42718 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42720 #define gmtime_r innocuous_gmtime_r
42721
42722 /* System header to define __stub macros and hopefully few prototypes,
42723 which can conflict with char gmtime_r (); below.
42724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42725 <limits.h> exists even on freestanding compilers. */
42726
42727 #ifdef __STDC__
42728 # include <limits.h>
42729 #else
42730 # include <assert.h>
42731 #endif
42732
42733 #undef gmtime_r
42734
42735 /* Override any GCC internal prototype to avoid an error.
42736 Use char because int might match the return type of a GCC
42737 builtin and then its argument prototype would still apply. */
42738 #ifdef __cplusplus
42739 extern "C"
42740 #endif
42741 char gmtime_r ();
42742 /* The GNU C library defines this for functions which it implements
42743 to always fail with ENOSYS. Some functions are actually named
42744 something starting with __ and the normal name is an alias. */
42745 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42746 choke me
42747 #endif
42748
42749 int
42750 main ()
42751 {
42752 return gmtime_r ();
42753 ;
42754 return 0;
42755 }
42756 _ACEOF
42757 rm -f conftest.$ac_objext conftest$ac_exeext
42758 if { (ac_try="$ac_link"
42759 case "(($ac_try" in
42760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42761 *) ac_try_echo=$ac_try;;
42762 esac
42763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42764 (eval "$ac_link") 2>conftest.er1
42765 ac_status=$?
42766 grep -v '^ *+' conftest.er1 >conftest.err
42767 rm -f conftest.er1
42768 cat conftest.err >&5
42769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42770 (exit $ac_status); } && {
42771 test -z "$ac_c_werror_flag" ||
42772 test ! -s conftest.err
42773 } && test -s conftest$ac_exeext &&
42774 $as_test_x conftest$ac_exeext; then
42775 ac_cv_func_gmtime_r=yes
42776 else
42777 echo "$as_me: failed program was:" >&5
42778 sed 's/^/| /' conftest.$ac_ext >&5
42779
42780 ac_cv_func_gmtime_r=no
42781 fi
42782
42783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42784 conftest$ac_exeext conftest.$ac_ext
42785 fi
42786 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42787 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42788 if test $ac_cv_func_gmtime_r = yes; then
42789 cat >>confdefs.h <<\_ACEOF
42790 #define HAVE_GMTIME_R 1
42791 _ACEOF
42792
42793 fi
42794
42795
42796
42797
42798 ac_ext=c
42799 ac_cpp='$CPP $CPPFLAGS'
42800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42803
42804 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42805 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42806
42807 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42808 echo $ECHO_N "(cached) $ECHO_C" >&6
42809 else
42810
42811
42812 ################################################################
42813
42814 ac_cv_func_which_gethostbyname_r=unknown
42815
42816 #
42817 # ONE ARGUMENT (sanity check)
42818 #
42819
42820 # This should fail, as there is no variant of gethostbyname_r() that takes
42821 # a single argument. If it actually compiles, then we can assume that
42822 # netdb.h is not declaring the function, and the compiler is thereby
42823 # assuming an implicit prototype. In which case, we're out of luck.
42824 #
42825 cat >conftest.$ac_ext <<_ACEOF
42826 /* confdefs.h. */
42827 _ACEOF
42828 cat confdefs.h >>conftest.$ac_ext
42829 cat >>conftest.$ac_ext <<_ACEOF
42830 /* end confdefs.h. */
42831 #include <netdb.h>
42832 int
42833 main ()
42834 {
42835
42836 char *name = "www.gnu.org";
42837 (void)gethostbyname_r(name) /* ; */
42838
42839 ;
42840 return 0;
42841 }
42842 _ACEOF
42843 rm -f conftest.$ac_objext
42844 if { (ac_try="$ac_compile"
42845 case "(($ac_try" in
42846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42847 *) ac_try_echo=$ac_try;;
42848 esac
42849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42850 (eval "$ac_compile") 2>conftest.er1
42851 ac_status=$?
42852 grep -v '^ *+' conftest.er1 >conftest.err
42853 rm -f conftest.er1
42854 cat conftest.err >&5
42855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42856 (exit $ac_status); } && {
42857 test -z "$ac_c_werror_flag" ||
42858 test ! -s conftest.err
42859 } && test -s conftest.$ac_objext; then
42860 ac_cv_func_which_gethostbyname_r=no
42861 else
42862 echo "$as_me: failed program was:" >&5
42863 sed 's/^/| /' conftest.$ac_ext >&5
42864
42865
42866 fi
42867
42868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42869
42870 #
42871 # SIX ARGUMENTS
42872 # (e.g. Linux)
42873 #
42874
42875 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42876
42877 cat >conftest.$ac_ext <<_ACEOF
42878 /* confdefs.h. */
42879 _ACEOF
42880 cat confdefs.h >>conftest.$ac_ext
42881 cat >>conftest.$ac_ext <<_ACEOF
42882 /* end confdefs.h. */
42883 #include <netdb.h>
42884 int
42885 main ()
42886 {
42887
42888 char *name = "www.gnu.org";
42889 struct hostent ret, *retp;
42890 char buf[1024];
42891 int buflen = 1024;
42892 int my_h_errno;
42893 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42894
42895 ;
42896 return 0;
42897 }
42898 _ACEOF
42899 rm -f conftest.$ac_objext
42900 if { (ac_try="$ac_compile"
42901 case "(($ac_try" in
42902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42903 *) ac_try_echo=$ac_try;;
42904 esac
42905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42906 (eval "$ac_compile") 2>conftest.er1
42907 ac_status=$?
42908 grep -v '^ *+' conftest.er1 >conftest.err
42909 rm -f conftest.er1
42910 cat conftest.err >&5
42911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42912 (exit $ac_status); } && {
42913 test -z "$ac_c_werror_flag" ||
42914 test ! -s conftest.err
42915 } && test -s conftest.$ac_objext; then
42916 ac_cv_func_which_gethostbyname_r=six
42917 else
42918 echo "$as_me: failed program was:" >&5
42919 sed 's/^/| /' conftest.$ac_ext >&5
42920
42921
42922 fi
42923
42924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42925
42926 fi
42927
42928 #
42929 # FIVE ARGUMENTS
42930 # (e.g. Solaris)
42931 #
42932
42933 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42934
42935 cat >conftest.$ac_ext <<_ACEOF
42936 /* confdefs.h. */
42937 _ACEOF
42938 cat confdefs.h >>conftest.$ac_ext
42939 cat >>conftest.$ac_ext <<_ACEOF
42940 /* end confdefs.h. */
42941 #include <netdb.h>
42942 int
42943 main ()
42944 {
42945
42946 char *name = "www.gnu.org";
42947 struct hostent ret;
42948 char buf[1024];
42949 int buflen = 1024;
42950 int my_h_errno;
42951 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42952
42953 ;
42954 return 0;
42955 }
42956 _ACEOF
42957 rm -f conftest.$ac_objext
42958 if { (ac_try="$ac_compile"
42959 case "(($ac_try" in
42960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42961 *) ac_try_echo=$ac_try;;
42962 esac
42963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42964 (eval "$ac_compile") 2>conftest.er1
42965 ac_status=$?
42966 grep -v '^ *+' conftest.er1 >conftest.err
42967 rm -f conftest.er1
42968 cat conftest.err >&5
42969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42970 (exit $ac_status); } && {
42971 test -z "$ac_c_werror_flag" ||
42972 test ! -s conftest.err
42973 } && test -s conftest.$ac_objext; then
42974 ac_cv_func_which_gethostbyname_r=five
42975 else
42976 echo "$as_me: failed program was:" >&5
42977 sed 's/^/| /' conftest.$ac_ext >&5
42978
42979
42980 fi
42981
42982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42983
42984 fi
42985
42986 #
42987 # THREE ARGUMENTS
42988 # (e.g. AIX, HP-UX, Tru64)
42989 #
42990
42991 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42992
42993 cat >conftest.$ac_ext <<_ACEOF
42994 /* confdefs.h. */
42995 _ACEOF
42996 cat confdefs.h >>conftest.$ac_ext
42997 cat >>conftest.$ac_ext <<_ACEOF
42998 /* end confdefs.h. */
42999 #include <netdb.h>
43000 int
43001 main ()
43002 {
43003
43004 char *name = "www.gnu.org";
43005 struct hostent ret;
43006 struct hostent_data data;
43007 (void)gethostbyname_r(name, &ret, &data) /* ; */
43008
43009 ;
43010 return 0;
43011 }
43012 _ACEOF
43013 rm -f conftest.$ac_objext
43014 if { (ac_try="$ac_compile"
43015 case "(($ac_try" in
43016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43017 *) ac_try_echo=$ac_try;;
43018 esac
43019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43020 (eval "$ac_compile") 2>conftest.er1
43021 ac_status=$?
43022 grep -v '^ *+' conftest.er1 >conftest.err
43023 rm -f conftest.er1
43024 cat conftest.err >&5
43025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43026 (exit $ac_status); } && {
43027 test -z "$ac_c_werror_flag" ||
43028 test ! -s conftest.err
43029 } && test -s conftest.$ac_objext; then
43030 ac_cv_func_which_gethostbyname_r=three
43031 else
43032 echo "$as_me: failed program was:" >&5
43033 sed 's/^/| /' conftest.$ac_ext >&5
43034
43035
43036 fi
43037
43038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43039
43040 fi
43041
43042 ################################################################
43043
43044
43045 fi
43046
43047 case "$ac_cv_func_which_gethostbyname_r" in
43048 three)
43049 { echo "$as_me:$LINENO: result: three" >&5
43050 echo "${ECHO_T}three" >&6; }
43051 cat >>confdefs.h <<\_ACEOF
43052 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43053 _ACEOF
43054
43055 ;;
43056
43057 five)
43058 { echo "$as_me:$LINENO: result: five" >&5
43059 echo "${ECHO_T}five" >&6; }
43060 cat >>confdefs.h <<\_ACEOF
43061 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43062 _ACEOF
43063
43064 ;;
43065
43066 six)
43067 { echo "$as_me:$LINENO: result: six" >&5
43068 echo "${ECHO_T}six" >&6; }
43069 cat >>confdefs.h <<\_ACEOF
43070 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43071 _ACEOF
43072
43073 ;;
43074
43075 no)
43076 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43077 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43078 ;;
43079
43080 unknown)
43081 { echo "$as_me:$LINENO: result: can't tell" >&5
43082 echo "${ECHO_T}can't tell" >&6; }
43083 ;;
43084
43085 *)
43086 { { echo "$as_me:$LINENO: error: internal error" >&5
43087 echo "$as_me: error: internal error" >&2;}
43088 { (exit 1); exit 1; }; }
43089 ;;
43090 esac
43091
43092 ac_ext=c
43093 ac_cpp='$CPP $CPPFLAGS'
43094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43097
43098
43099
43100 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43101 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43102 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43103 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43104 if test "${ac_cv_func_gethostbyname+set}" = set; then
43105 echo $ECHO_N "(cached) $ECHO_C" >&6
43106 else
43107 cat >conftest.$ac_ext <<_ACEOF
43108 /* confdefs.h. */
43109 _ACEOF
43110 cat confdefs.h >>conftest.$ac_ext
43111 cat >>conftest.$ac_ext <<_ACEOF
43112 /* end confdefs.h. */
43113 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43115 #define gethostbyname innocuous_gethostbyname
43116
43117 /* System header to define __stub macros and hopefully few prototypes,
43118 which can conflict with char gethostbyname (); below.
43119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43120 <limits.h> exists even on freestanding compilers. */
43121
43122 #ifdef __STDC__
43123 # include <limits.h>
43124 #else
43125 # include <assert.h>
43126 #endif
43127
43128 #undef gethostbyname
43129
43130 /* Override any GCC internal prototype to avoid an error.
43131 Use char because int might match the return type of a GCC
43132 builtin and then its argument prototype would still apply. */
43133 #ifdef __cplusplus
43134 extern "C"
43135 #endif
43136 char gethostbyname ();
43137 /* The GNU C library defines this for functions which it implements
43138 to always fail with ENOSYS. Some functions are actually named
43139 something starting with __ and the normal name is an alias. */
43140 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43141 choke me
43142 #endif
43143
43144 int
43145 main ()
43146 {
43147 return gethostbyname ();
43148 ;
43149 return 0;
43150 }
43151 _ACEOF
43152 rm -f conftest.$ac_objext conftest$ac_exeext
43153 if { (ac_try="$ac_link"
43154 case "(($ac_try" in
43155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43156 *) ac_try_echo=$ac_try;;
43157 esac
43158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43159 (eval "$ac_link") 2>conftest.er1
43160 ac_status=$?
43161 grep -v '^ *+' conftest.er1 >conftest.err
43162 rm -f conftest.er1
43163 cat conftest.err >&5
43164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43165 (exit $ac_status); } && {
43166 test -z "$ac_c_werror_flag" ||
43167 test ! -s conftest.err
43168 } && test -s conftest$ac_exeext &&
43169 $as_test_x conftest$ac_exeext; then
43170 ac_cv_func_gethostbyname=yes
43171 else
43172 echo "$as_me: failed program was:" >&5
43173 sed 's/^/| /' conftest.$ac_ext >&5
43174
43175 ac_cv_func_gethostbyname=no
43176 fi
43177
43178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43179 conftest$ac_exeext conftest.$ac_ext
43180 fi
43181 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43182 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43183 if test $ac_cv_func_gethostbyname = yes; then
43184 cat >>confdefs.h <<\_ACEOF
43185 #define HAVE_GETHOSTBYNAME 1
43186 _ACEOF
43187
43188 fi
43189
43190 fi
43191
43192 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43193 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43194 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43195 echo $ECHO_N "(cached) $ECHO_C" >&6
43196 else
43197
43198 ac_ext=cpp
43199 ac_cpp='$CXXCPP $CPPFLAGS'
43200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43203
43204
43205 cat >conftest.$ac_ext <<_ACEOF
43206 /* confdefs.h. */
43207 _ACEOF
43208 cat confdefs.h >>conftest.$ac_ext
43209 cat >>conftest.$ac_ext <<_ACEOF
43210 /* end confdefs.h. */
43211 #include <netdb.h>
43212 int
43213 main ()
43214 {
43215
43216 char *name;
43217 char *proto;
43218 struct servent *se, *res;
43219 char buffer[2048];
43220 int buflen = 2048;
43221 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43222
43223 ;
43224 return 0;
43225 }
43226 _ACEOF
43227 rm -f conftest.$ac_objext
43228 if { (ac_try="$ac_compile"
43229 case "(($ac_try" in
43230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43231 *) ac_try_echo=$ac_try;;
43232 esac
43233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43234 (eval "$ac_compile") 2>conftest.er1
43235 ac_status=$?
43236 grep -v '^ *+' conftest.er1 >conftest.err
43237 rm -f conftest.er1
43238 cat conftest.err >&5
43239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43240 (exit $ac_status); } && {
43241 test -z "$ac_cxx_werror_flag" ||
43242 test ! -s conftest.err
43243 } && test -s conftest.$ac_objext; then
43244 ac_cv_func_which_getservbyname_r=six
43245 else
43246 echo "$as_me: failed program was:" >&5
43247 sed 's/^/| /' conftest.$ac_ext >&5
43248
43249
43250 cat >conftest.$ac_ext <<_ACEOF
43251 /* confdefs.h. */
43252 _ACEOF
43253 cat confdefs.h >>conftest.$ac_ext
43254 cat >>conftest.$ac_ext <<_ACEOF
43255 /* end confdefs.h. */
43256 #include <netdb.h>
43257 int
43258 main ()
43259 {
43260
43261 char *name;
43262 char *proto;
43263 struct servent *se;
43264 char buffer[2048];
43265 int buflen = 2048;
43266 (void) getservbyname_r(name, proto, se, buffer, buflen)
43267
43268 ;
43269 return 0;
43270 }
43271 _ACEOF
43272 rm -f conftest.$ac_objext
43273 if { (ac_try="$ac_compile"
43274 case "(($ac_try" in
43275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43276 *) ac_try_echo=$ac_try;;
43277 esac
43278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43279 (eval "$ac_compile") 2>conftest.er1
43280 ac_status=$?
43281 grep -v '^ *+' conftest.er1 >conftest.err
43282 rm -f conftest.er1
43283 cat conftest.err >&5
43284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43285 (exit $ac_status); } && {
43286 test -z "$ac_cxx_werror_flag" ||
43287 test ! -s conftest.err
43288 } && test -s conftest.$ac_objext; then
43289 ac_cv_func_which_getservbyname_r=five
43290 else
43291 echo "$as_me: failed program was:" >&5
43292 sed 's/^/| /' conftest.$ac_ext >&5
43293
43294
43295 cat >conftest.$ac_ext <<_ACEOF
43296 /* confdefs.h. */
43297 _ACEOF
43298 cat confdefs.h >>conftest.$ac_ext
43299 cat >>conftest.$ac_ext <<_ACEOF
43300 /* end confdefs.h. */
43301 #include <netdb.h>
43302 int
43303 main ()
43304 {
43305
43306 char *name;
43307 char *proto;
43308 struct servent *se;
43309 struct servent_data data;
43310 (void) getservbyname_r(name, proto, se, &data);
43311
43312 ;
43313 return 0;
43314 }
43315 _ACEOF
43316 rm -f conftest.$ac_objext
43317 if { (ac_try="$ac_compile"
43318 case "(($ac_try" in
43319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43320 *) ac_try_echo=$ac_try;;
43321 esac
43322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43323 (eval "$ac_compile") 2>conftest.er1
43324 ac_status=$?
43325 grep -v '^ *+' conftest.er1 >conftest.err
43326 rm -f conftest.er1
43327 cat conftest.err >&5
43328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43329 (exit $ac_status); } && {
43330 test -z "$ac_cxx_werror_flag" ||
43331 test ! -s conftest.err
43332 } && test -s conftest.$ac_objext; then
43333 ac_cv_func_which_getservbyname_r=four
43334 else
43335 echo "$as_me: failed program was:" >&5
43336 sed 's/^/| /' conftest.$ac_ext >&5
43337
43338 ac_cv_func_which_getservbyname_r=no
43339
43340 fi
43341
43342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43343
43344
43345 fi
43346
43347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43348
43349
43350 fi
43351
43352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43353 ac_ext=c
43354 ac_cpp='$CPP $CPPFLAGS'
43355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43358
43359
43360
43361 fi
43362 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43363 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43364
43365 if test $ac_cv_func_which_getservbyname_r = six; then
43366 cat >>confdefs.h <<\_ACEOF
43367 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43368 _ACEOF
43369
43370 elif test $ac_cv_func_which_getservbyname_r = five; then
43371 cat >>confdefs.h <<\_ACEOF
43372 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43373 _ACEOF
43374
43375 elif test $ac_cv_func_which_getservbyname_r = four; then
43376 cat >>confdefs.h <<\_ACEOF
43377 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43378 _ACEOF
43379
43380 fi
43381
43382
43383 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43384 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43385
43386 for ac_func in getservbyname
43387 do
43388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43389 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43391 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43392 echo $ECHO_N "(cached) $ECHO_C" >&6
43393 else
43394 cat >conftest.$ac_ext <<_ACEOF
43395 /* confdefs.h. */
43396 _ACEOF
43397 cat confdefs.h >>conftest.$ac_ext
43398 cat >>conftest.$ac_ext <<_ACEOF
43399 /* end confdefs.h. */
43400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43402 #define $ac_func innocuous_$ac_func
43403
43404 /* System header to define __stub macros and hopefully few prototypes,
43405 which can conflict with char $ac_func (); below.
43406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43407 <limits.h> exists even on freestanding compilers. */
43408
43409 #ifdef __STDC__
43410 # include <limits.h>
43411 #else
43412 # include <assert.h>
43413 #endif
43414
43415 #undef $ac_func
43416
43417 /* Override any GCC internal prototype to avoid an error.
43418 Use char because int might match the return type of a GCC
43419 builtin and then its argument prototype would still apply. */
43420 #ifdef __cplusplus
43421 extern "C"
43422 #endif
43423 char $ac_func ();
43424 /* The GNU C library defines this for functions which it implements
43425 to always fail with ENOSYS. Some functions are actually named
43426 something starting with __ and the normal name is an alias. */
43427 #if defined __stub_$ac_func || defined __stub___$ac_func
43428 choke me
43429 #endif
43430
43431 int
43432 main ()
43433 {
43434 return $ac_func ();
43435 ;
43436 return 0;
43437 }
43438 _ACEOF
43439 rm -f conftest.$ac_objext conftest$ac_exeext
43440 if { (ac_try="$ac_link"
43441 case "(($ac_try" in
43442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43443 *) ac_try_echo=$ac_try;;
43444 esac
43445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43446 (eval "$ac_link") 2>conftest.er1
43447 ac_status=$?
43448 grep -v '^ *+' conftest.er1 >conftest.err
43449 rm -f conftest.er1
43450 cat conftest.err >&5
43451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43452 (exit $ac_status); } && {
43453 test -z "$ac_c_werror_flag" ||
43454 test ! -s conftest.err
43455 } && test -s conftest$ac_exeext &&
43456 $as_test_x conftest$ac_exeext; then
43457 eval "$as_ac_var=yes"
43458 else
43459 echo "$as_me: failed program was:" >&5
43460 sed 's/^/| /' conftest.$ac_ext >&5
43461
43462 eval "$as_ac_var=no"
43463 fi
43464
43465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43466 conftest$ac_exeext conftest.$ac_ext
43467 fi
43468 ac_res=`eval echo '${'$as_ac_var'}'`
43469 { echo "$as_me:$LINENO: result: $ac_res" >&5
43470 echo "${ECHO_T}$ac_res" >&6; }
43471 if test `eval echo '${'$as_ac_var'}'` = yes; then
43472 cat >>confdefs.h <<_ACEOF
43473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43474 _ACEOF
43475 cat >>confdefs.h <<\_ACEOF
43476 #define HAVE_GETSERVBYNAME 1
43477 _ACEOF
43478
43479 fi
43480 done
43481
43482 fi
43483
43484 if test "$wxUSE_THREADS" = "yes"; then
43485 cat >>confdefs.h <<\_ACEOF
43486 #define wxUSE_THREADS 1
43487 _ACEOF
43488
43489
43490 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43491 else
43492 if test "$wx_cv_func_strtok_r" = "yes"; then
43493 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43494 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43495 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43496 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43497 { echo "$as_me:$LINENO: result: yes" >&5
43498 echo "${ECHO_T}yes" >&6; }
43499 else
43500 { echo "$as_me:$LINENO: result: no" >&5
43501 echo "${ECHO_T}no" >&6; }
43502 fi
43503 fi
43504 fi
43505
43506 if test "$WXGTK2" = 1 ; then
43507 cat >>confdefs.h <<_ACEOF
43508 #define __WXGTK20__ $WXGTK2
43509 _ACEOF
43510
43511 WXGTK12=1
43512 fi
43513
43514 if test "$WXGTK12" = 1 ; then
43515 cat >>confdefs.h <<_ACEOF
43516 #define __WXGTK12__ $WXGTK12
43517 _ACEOF
43518
43519 fi
43520
43521 if test "$WXGTK127" = 1 ; then
43522 cat >>confdefs.h <<_ACEOF
43523 #define __WXGTK127__ $WXGTK127
43524 _ACEOF
43525
43526 fi
43527
43528 if test "$WXGPE" = 1 ; then
43529 cat >>confdefs.h <<_ACEOF
43530 #define __WXGPE__ $WXGPE
43531 _ACEOF
43532
43533 fi
43534
43535 DEBUG_CFLAGS=
43536 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43537 DEBUG_CFLAGS="-g"
43538 wxUSE_OPTIMISE=no
43539 fi
43540
43541 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43542 wxUSE_DEBUG_INFO=yes
43543 if test "$GCC" = yes; then
43544 DEBUG_CFLAGS="-ggdb"
43545 fi
43546 fi
43547
43548 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43549 cat >>confdefs.h <<\_ACEOF
43550 #define WXDEBUG 1
43551 _ACEOF
43552
43553 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43554 else
43555 if test "$wxUSE_GTK" = 1 ; then
43556 if test "x$wxGTK_VERSION" = "x1" ; then
43557 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43558 fi
43559 fi
43560 fi
43561
43562 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43563 cat >>confdefs.h <<\_ACEOF
43564 #define wxUSE_MEMORY_TRACING 1
43565 _ACEOF
43566
43567 cat >>confdefs.h <<\_ACEOF
43568 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43569 _ACEOF
43570
43571 cat >>confdefs.h <<\_ACEOF
43572 #define wxUSE_DEBUG_NEW_ALWAYS 1
43573 _ACEOF
43574
43575 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43576 fi
43577
43578 if test "$wxUSE_DMALLOC" = "yes" ; then
43579 DMALLOC_LIBS="-ldmallocthcxx"
43580 fi
43581
43582 PROFILE_FLAGS=
43583 if test "$wxUSE_PROFILE" = "yes" ; then
43584 PROFILE_FLAGS=" -pg"
43585 fi
43586
43587 if test "$GCC" = "yes" ; then
43588 if test "$wxUSE_NO_RTTI" = "yes" ; then
43589 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
43590 fi
43591 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43592 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43593 fi
43594 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43595 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43596 fi
43597
43598 case "${host}" in
43599 powerpc*-*-aix* )
43600 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43601 ;;
43602 *-hppa* )
43603 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43604 ;;
43605 esac
43606 fi
43607
43608 OPTIMISE_CFLAGS=
43609 if test "$wxUSE_OPTIMISE" = "no" ; then
43610 if test "$GCC" = yes ; then
43611 OPTIMISE_CFLAGS="-O0"
43612 fi
43613 else
43614 if test "$GCC" = yes ; then
43615 case "${host}" in
43616 *-pc-os2_emx | *-pc-os2-emx )
43617 OPTIMISE_CFLAGS="-O2"
43618 ;;
43619 *)
43620 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43621 ;;
43622 esac
43623 else
43624 OPTIMISE_CFLAGS="-O"
43625 fi
43626 fi
43627
43628
43629 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43630 cat >>confdefs.h <<\_ACEOF
43631 #define WXWIN_COMPATIBILITY_2_6 1
43632 _ACEOF
43633
43634
43635 WXWIN_COMPATIBILITY_2_8="yes"
43636 fi
43637
43638 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43639 cat >>confdefs.h <<\_ACEOF
43640 #define WXWIN_COMPATIBILITY_2_8 1
43641 _ACEOF
43642
43643 fi
43644
43645
43646 if test "$wxUSE_GUI" = "yes"; then
43647 cat >>confdefs.h <<\_ACEOF
43648 #define wxUSE_GUI 1
43649 _ACEOF
43650
43651
43652 fi
43653
43654
43655 if test "$wxUSE_UNIX" = "yes"; then
43656 cat >>confdefs.h <<\_ACEOF
43657 #define wxUSE_UNIX 1
43658 _ACEOF
43659
43660 fi
43661
43662
43663 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43664
43665 HAVE_DL_FUNCS=0
43666 HAVE_SHL_FUNCS=0
43667 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43668 if test "$USE_DARWIN" = 1; then
43669 HAVE_DL_FUNCS=1
43670 elif test "$USE_DOS" = 1; then
43671 HAVE_DL_FUNCS=0
43672 else
43673
43674 for ac_func in dlopen
43675 do
43676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43677 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43679 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43680 echo $ECHO_N "(cached) $ECHO_C" >&6
43681 else
43682 cat >conftest.$ac_ext <<_ACEOF
43683 /* confdefs.h. */
43684 _ACEOF
43685 cat confdefs.h >>conftest.$ac_ext
43686 cat >>conftest.$ac_ext <<_ACEOF
43687 /* end confdefs.h. */
43688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43690 #define $ac_func innocuous_$ac_func
43691
43692 /* System header to define __stub macros and hopefully few prototypes,
43693 which can conflict with char $ac_func (); below.
43694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43695 <limits.h> exists even on freestanding compilers. */
43696
43697 #ifdef __STDC__
43698 # include <limits.h>
43699 #else
43700 # include <assert.h>
43701 #endif
43702
43703 #undef $ac_func
43704
43705 /* Override any GCC internal prototype to avoid an error.
43706 Use char because int might match the return type of a GCC
43707 builtin and then its argument prototype would still apply. */
43708 #ifdef __cplusplus
43709 extern "C"
43710 #endif
43711 char $ac_func ();
43712 /* The GNU C library defines this for functions which it implements
43713 to always fail with ENOSYS. Some functions are actually named
43714 something starting with __ and the normal name is an alias. */
43715 #if defined __stub_$ac_func || defined __stub___$ac_func
43716 choke me
43717 #endif
43718
43719 int
43720 main ()
43721 {
43722 return $ac_func ();
43723 ;
43724 return 0;
43725 }
43726 _ACEOF
43727 rm -f conftest.$ac_objext conftest$ac_exeext
43728 if { (ac_try="$ac_link"
43729 case "(($ac_try" in
43730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43731 *) ac_try_echo=$ac_try;;
43732 esac
43733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43734 (eval "$ac_link") 2>conftest.er1
43735 ac_status=$?
43736 grep -v '^ *+' conftest.er1 >conftest.err
43737 rm -f conftest.er1
43738 cat conftest.err >&5
43739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43740 (exit $ac_status); } && {
43741 test -z "$ac_c_werror_flag" ||
43742 test ! -s conftest.err
43743 } && test -s conftest$ac_exeext &&
43744 $as_test_x conftest$ac_exeext; then
43745 eval "$as_ac_var=yes"
43746 else
43747 echo "$as_me: failed program was:" >&5
43748 sed 's/^/| /' conftest.$ac_ext >&5
43749
43750 eval "$as_ac_var=no"
43751 fi
43752
43753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43754 conftest$ac_exeext conftest.$ac_ext
43755 fi
43756 ac_res=`eval echo '${'$as_ac_var'}'`
43757 { echo "$as_me:$LINENO: result: $ac_res" >&5
43758 echo "${ECHO_T}$ac_res" >&6; }
43759 if test `eval echo '${'$as_ac_var'}'` = yes; then
43760 cat >>confdefs.h <<_ACEOF
43761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43762 _ACEOF
43763
43764 cat >>confdefs.h <<\_ACEOF
43765 #define HAVE_DLOPEN 1
43766 _ACEOF
43767
43768 HAVE_DL_FUNCS=1
43769
43770 else
43771
43772 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43773 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43774 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43775 echo $ECHO_N "(cached) $ECHO_C" >&6
43776 else
43777 ac_check_lib_save_LIBS=$LIBS
43778 LIBS="-ldl $LIBS"
43779 cat >conftest.$ac_ext <<_ACEOF
43780 /* confdefs.h. */
43781 _ACEOF
43782 cat confdefs.h >>conftest.$ac_ext
43783 cat >>conftest.$ac_ext <<_ACEOF
43784 /* end confdefs.h. */
43785
43786 /* Override any GCC internal prototype to avoid an error.
43787 Use char because int might match the return type of a GCC
43788 builtin and then its argument prototype would still apply. */
43789 #ifdef __cplusplus
43790 extern "C"
43791 #endif
43792 char dlopen ();
43793 int
43794 main ()
43795 {
43796 return dlopen ();
43797 ;
43798 return 0;
43799 }
43800 _ACEOF
43801 rm -f conftest.$ac_objext conftest$ac_exeext
43802 if { (ac_try="$ac_link"
43803 case "(($ac_try" in
43804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43805 *) ac_try_echo=$ac_try;;
43806 esac
43807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43808 (eval "$ac_link") 2>conftest.er1
43809 ac_status=$?
43810 grep -v '^ *+' conftest.er1 >conftest.err
43811 rm -f conftest.er1
43812 cat conftest.err >&5
43813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43814 (exit $ac_status); } && {
43815 test -z "$ac_c_werror_flag" ||
43816 test ! -s conftest.err
43817 } && test -s conftest$ac_exeext &&
43818 $as_test_x conftest$ac_exeext; then
43819 ac_cv_lib_dl_dlopen=yes
43820 else
43821 echo "$as_me: failed program was:" >&5
43822 sed 's/^/| /' conftest.$ac_ext >&5
43823
43824 ac_cv_lib_dl_dlopen=no
43825 fi
43826
43827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43828 conftest$ac_exeext conftest.$ac_ext
43829 LIBS=$ac_check_lib_save_LIBS
43830 fi
43831 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43832 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43833 if test $ac_cv_lib_dl_dlopen = yes; then
43834
43835 cat >>confdefs.h <<\_ACEOF
43836 #define HAVE_DLOPEN 1
43837 _ACEOF
43838
43839 HAVE_DL_FUNCS=1
43840 DL_LINK=" -ldl$DL_LINK"
43841
43842 else
43843
43844
43845 for ac_func in shl_load
43846 do
43847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43848 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43850 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43851 echo $ECHO_N "(cached) $ECHO_C" >&6
43852 else
43853 cat >conftest.$ac_ext <<_ACEOF
43854 /* confdefs.h. */
43855 _ACEOF
43856 cat confdefs.h >>conftest.$ac_ext
43857 cat >>conftest.$ac_ext <<_ACEOF
43858 /* end confdefs.h. */
43859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43861 #define $ac_func innocuous_$ac_func
43862
43863 /* System header to define __stub macros and hopefully few prototypes,
43864 which can conflict with char $ac_func (); below.
43865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43866 <limits.h> exists even on freestanding compilers. */
43867
43868 #ifdef __STDC__
43869 # include <limits.h>
43870 #else
43871 # include <assert.h>
43872 #endif
43873
43874 #undef $ac_func
43875
43876 /* Override any GCC internal prototype to avoid an error.
43877 Use char because int might match the return type of a GCC
43878 builtin and then its argument prototype would still apply. */
43879 #ifdef __cplusplus
43880 extern "C"
43881 #endif
43882 char $ac_func ();
43883 /* The GNU C library defines this for functions which it implements
43884 to always fail with ENOSYS. Some functions are actually named
43885 something starting with __ and the normal name is an alias. */
43886 #if defined __stub_$ac_func || defined __stub___$ac_func
43887 choke me
43888 #endif
43889
43890 int
43891 main ()
43892 {
43893 return $ac_func ();
43894 ;
43895 return 0;
43896 }
43897 _ACEOF
43898 rm -f conftest.$ac_objext conftest$ac_exeext
43899 if { (ac_try="$ac_link"
43900 case "(($ac_try" in
43901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43902 *) ac_try_echo=$ac_try;;
43903 esac
43904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43905 (eval "$ac_link") 2>conftest.er1
43906 ac_status=$?
43907 grep -v '^ *+' conftest.er1 >conftest.err
43908 rm -f conftest.er1
43909 cat conftest.err >&5
43910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43911 (exit $ac_status); } && {
43912 test -z "$ac_c_werror_flag" ||
43913 test ! -s conftest.err
43914 } && test -s conftest$ac_exeext &&
43915 $as_test_x conftest$ac_exeext; then
43916 eval "$as_ac_var=yes"
43917 else
43918 echo "$as_me: failed program was:" >&5
43919 sed 's/^/| /' conftest.$ac_ext >&5
43920
43921 eval "$as_ac_var=no"
43922 fi
43923
43924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43925 conftest$ac_exeext conftest.$ac_ext
43926 fi
43927 ac_res=`eval echo '${'$as_ac_var'}'`
43928 { echo "$as_me:$LINENO: result: $ac_res" >&5
43929 echo "${ECHO_T}$ac_res" >&6; }
43930 if test `eval echo '${'$as_ac_var'}'` = yes; then
43931 cat >>confdefs.h <<_ACEOF
43932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43933 _ACEOF
43934
43935 cat >>confdefs.h <<\_ACEOF
43936 #define HAVE_SHL_LOAD 1
43937 _ACEOF
43938
43939 HAVE_SHL_FUNCS=1
43940
43941 else
43942
43943 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43944 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43945 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43946 echo $ECHO_N "(cached) $ECHO_C" >&6
43947 else
43948 ac_check_lib_save_LIBS=$LIBS
43949 LIBS="-lshl_load $LIBS"
43950 cat >conftest.$ac_ext <<_ACEOF
43951 /* confdefs.h. */
43952 _ACEOF
43953 cat confdefs.h >>conftest.$ac_ext
43954 cat >>conftest.$ac_ext <<_ACEOF
43955 /* end confdefs.h. */
43956
43957 /* Override any GCC internal prototype to avoid an error.
43958 Use char because int might match the return type of a GCC
43959 builtin and then its argument prototype would still apply. */
43960 #ifdef __cplusplus
43961 extern "C"
43962 #endif
43963 char dld ();
43964 int
43965 main ()
43966 {
43967 return dld ();
43968 ;
43969 return 0;
43970 }
43971 _ACEOF
43972 rm -f conftest.$ac_objext conftest$ac_exeext
43973 if { (ac_try="$ac_link"
43974 case "(($ac_try" in
43975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43976 *) ac_try_echo=$ac_try;;
43977 esac
43978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43979 (eval "$ac_link") 2>conftest.er1
43980 ac_status=$?
43981 grep -v '^ *+' conftest.er1 >conftest.err
43982 rm -f conftest.er1
43983 cat conftest.err >&5
43984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43985 (exit $ac_status); } && {
43986 test -z "$ac_c_werror_flag" ||
43987 test ! -s conftest.err
43988 } && test -s conftest$ac_exeext &&
43989 $as_test_x conftest$ac_exeext; then
43990 ac_cv_lib_shl_load_dld=yes
43991 else
43992 echo "$as_me: failed program was:" >&5
43993 sed 's/^/| /' conftest.$ac_ext >&5
43994
43995 ac_cv_lib_shl_load_dld=no
43996 fi
43997
43998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43999 conftest$ac_exeext conftest.$ac_ext
44000 LIBS=$ac_check_lib_save_LIBS
44001 fi
44002 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44003 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44004 if test $ac_cv_lib_shl_load_dld = yes; then
44005
44006 HAVE_SHL_FUNCS=1
44007 DL_LINK=" -ldld$DL_LINK"
44008
44009 fi
44010
44011
44012 fi
44013 done
44014
44015
44016 fi
44017
44018
44019 fi
44020 done
44021
44022
44023 if test "$HAVE_DL_FUNCS" = 1; then
44024
44025 for ac_func in dlerror
44026 do
44027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44028 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44030 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44031 echo $ECHO_N "(cached) $ECHO_C" >&6
44032 else
44033 cat >conftest.$ac_ext <<_ACEOF
44034 /* confdefs.h. */
44035 _ACEOF
44036 cat confdefs.h >>conftest.$ac_ext
44037 cat >>conftest.$ac_ext <<_ACEOF
44038 /* end confdefs.h. */
44039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44041 #define $ac_func innocuous_$ac_func
44042
44043 /* System header to define __stub macros and hopefully few prototypes,
44044 which can conflict with char $ac_func (); below.
44045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44046 <limits.h> exists even on freestanding compilers. */
44047
44048 #ifdef __STDC__
44049 # include <limits.h>
44050 #else
44051 # include <assert.h>
44052 #endif
44053
44054 #undef $ac_func
44055
44056 /* Override any GCC internal prototype to avoid an error.
44057 Use char because int might match the return type of a GCC
44058 builtin and then its argument prototype would still apply. */
44059 #ifdef __cplusplus
44060 extern "C"
44061 #endif
44062 char $ac_func ();
44063 /* The GNU C library defines this for functions which it implements
44064 to always fail with ENOSYS. Some functions are actually named
44065 something starting with __ and the normal name is an alias. */
44066 #if defined __stub_$ac_func || defined __stub___$ac_func
44067 choke me
44068 #endif
44069
44070 int
44071 main ()
44072 {
44073 return $ac_func ();
44074 ;
44075 return 0;
44076 }
44077 _ACEOF
44078 rm -f conftest.$ac_objext conftest$ac_exeext
44079 if { (ac_try="$ac_link"
44080 case "(($ac_try" in
44081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44082 *) ac_try_echo=$ac_try;;
44083 esac
44084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44085 (eval "$ac_link") 2>conftest.er1
44086 ac_status=$?
44087 grep -v '^ *+' conftest.er1 >conftest.err
44088 rm -f conftest.er1
44089 cat conftest.err >&5
44090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44091 (exit $ac_status); } && {
44092 test -z "$ac_c_werror_flag" ||
44093 test ! -s conftest.err
44094 } && test -s conftest$ac_exeext &&
44095 $as_test_x conftest$ac_exeext; then
44096 eval "$as_ac_var=yes"
44097 else
44098 echo "$as_me: failed program was:" >&5
44099 sed 's/^/| /' conftest.$ac_ext >&5
44100
44101 eval "$as_ac_var=no"
44102 fi
44103
44104 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44105 conftest$ac_exeext conftest.$ac_ext
44106 fi
44107 ac_res=`eval echo '${'$as_ac_var'}'`
44108 { echo "$as_me:$LINENO: result: $ac_res" >&5
44109 echo "${ECHO_T}$ac_res" >&6; }
44110 if test `eval echo '${'$as_ac_var'}'` = yes; then
44111 cat >>confdefs.h <<_ACEOF
44112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44113 _ACEOF
44114 cat >>confdefs.h <<\_ACEOF
44115 #define HAVE_DLERROR 1
44116 _ACEOF
44117
44118 else
44119
44120 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44121 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44122 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44123 echo $ECHO_N "(cached) $ECHO_C" >&6
44124 else
44125 ac_check_lib_save_LIBS=$LIBS
44126 LIBS="-ldl $LIBS"
44127 cat >conftest.$ac_ext <<_ACEOF
44128 /* confdefs.h. */
44129 _ACEOF
44130 cat confdefs.h >>conftest.$ac_ext
44131 cat >>conftest.$ac_ext <<_ACEOF
44132 /* end confdefs.h. */
44133
44134 /* Override any GCC internal prototype to avoid an error.
44135 Use char because int might match the return type of a GCC
44136 builtin and then its argument prototype would still apply. */
44137 #ifdef __cplusplus
44138 extern "C"
44139 #endif
44140 char dlerror ();
44141 int
44142 main ()
44143 {
44144 return dlerror ();
44145 ;
44146 return 0;
44147 }
44148 _ACEOF
44149 rm -f conftest.$ac_objext conftest$ac_exeext
44150 if { (ac_try="$ac_link"
44151 case "(($ac_try" in
44152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44153 *) ac_try_echo=$ac_try;;
44154 esac
44155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44156 (eval "$ac_link") 2>conftest.er1
44157 ac_status=$?
44158 grep -v '^ *+' conftest.er1 >conftest.err
44159 rm -f conftest.er1
44160 cat conftest.err >&5
44161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44162 (exit $ac_status); } && {
44163 test -z "$ac_c_werror_flag" ||
44164 test ! -s conftest.err
44165 } && test -s conftest$ac_exeext &&
44166 $as_test_x conftest$ac_exeext; then
44167 ac_cv_lib_dl_dlerror=yes
44168 else
44169 echo "$as_me: failed program was:" >&5
44170 sed 's/^/| /' conftest.$ac_ext >&5
44171
44172 ac_cv_lib_dl_dlerror=no
44173 fi
44174
44175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44176 conftest$ac_exeext conftest.$ac_ext
44177 LIBS=$ac_check_lib_save_LIBS
44178 fi
44179 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44180 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44181 if test $ac_cv_lib_dl_dlerror = yes; then
44182 cat >>confdefs.h <<\_ACEOF
44183 #define HAVE_DLERROR 1
44184 _ACEOF
44185
44186 fi
44187
44188
44189
44190 fi
44191 done
44192
44193 fi
44194 fi
44195
44196 if test "$HAVE_DL_FUNCS" = 0; then
44197 if test "$HAVE_SHL_FUNCS" = 0; then
44198 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44199 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44200 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44201 wxUSE_DYNAMIC_LOADER=no
44202 wxUSE_DYNLIB_CLASS=no
44203 else
44204 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44205 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44206 fi
44207 fi
44208 fi
44209 fi
44210 fi
44211
44212 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44213 cat >>confdefs.h <<\_ACEOF
44214 #define wxUSE_DYNAMIC_LOADER 1
44215 _ACEOF
44216
44217 fi
44218 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44219 cat >>confdefs.h <<\_ACEOF
44220 #define wxUSE_DYNLIB_CLASS 1
44221 _ACEOF
44222
44223 fi
44224
44225
44226
44227 if test "$wxUSE_PLUGINS" = "yes" ; then
44228 if test "$wxUSE_SHARED" = "no" ; then
44229 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44230 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44231 wxUSE_PLUGINS=no
44232 fi
44233 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44234 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44235 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44236 wxUSE_PLUGINS=no
44237 fi
44238 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44239 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44240 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44241 wxUSE_PLUGINS=no
44242 fi
44243 if test "$wxUSE_PLUGINS" = "yes" ; then
44244 cat >>confdefs.h <<\_ACEOF
44245 #define wxUSE_PLUGINS 1
44246 _ACEOF
44247
44248 fi
44249 fi
44250
44251
44252 if test "$wxUSE_STL" = "yes"; then
44253 cat >>confdefs.h <<\_ACEOF
44254 #define wxUSE_STL 1
44255 _ACEOF
44256
44257 fi
44258
44259 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44260 cat >>confdefs.h <<\_ACEOF
44261 #define wxUSE_EXTENDED_RTTI 1
44262 _ACEOF
44263
44264 fi
44265
44266 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44267 cat >>confdefs.h <<\_ACEOF
44268 #define wxUSE_APPLE_IEEE 1
44269 _ACEOF
44270
44271 fi
44272
44273 if test "$wxUSE_TIMER" = "yes"; then
44274 cat >>confdefs.h <<\_ACEOF
44275 #define wxUSE_TIMER 1
44276 _ACEOF
44277
44278 fi
44279
44280 if test "$USE_UNIX" = 1 ; then
44281 if test "$wxUSE_MGL" != 1; then
44282 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44283 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44284 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44285 echo $ECHO_N "(cached) $ECHO_C" >&6
44286 else
44287
44288 cat >conftest.$ac_ext <<_ACEOF
44289 /* confdefs.h. */
44290 _ACEOF
44291 cat confdefs.h >>conftest.$ac_ext
44292 cat >>conftest.$ac_ext <<_ACEOF
44293 /* end confdefs.h. */
44294
44295 #include <sys/ioctl.h>
44296 #include <sys/soundcard.h>
44297
44298 int
44299 main ()
44300 {
44301
44302 ioctl(0, SNDCTL_DSP_SPEED, 0);
44303
44304 ;
44305 return 0;
44306 }
44307 _ACEOF
44308 rm -f conftest.$ac_objext conftest$ac_exeext
44309 if { (ac_try="$ac_link"
44310 case "(($ac_try" in
44311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44312 *) ac_try_echo=$ac_try;;
44313 esac
44314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44315 (eval "$ac_link") 2>conftest.er1
44316 ac_status=$?
44317 grep -v '^ *+' conftest.er1 >conftest.err
44318 rm -f conftest.er1
44319 cat conftest.err >&5
44320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44321 (exit $ac_status); } && {
44322 test -z "$ac_c_werror_flag" ||
44323 test ! -s conftest.err
44324 } && test -s conftest$ac_exeext &&
44325 $as_test_x conftest$ac_exeext; then
44326 ac_cv_header_sys_soundcard=yes
44327 else
44328 echo "$as_me: failed program was:" >&5
44329 sed 's/^/| /' conftest.$ac_ext >&5
44330
44331
44332 saveLibs="$LIBS"
44333 LIBS="$saveLibs -lossaudio"
44334 cat >conftest.$ac_ext <<_ACEOF
44335 /* confdefs.h. */
44336 _ACEOF
44337 cat confdefs.h >>conftest.$ac_ext
44338 cat >>conftest.$ac_ext <<_ACEOF
44339 /* end confdefs.h. */
44340
44341 #include <sys/ioctl.h>
44342 #include <sys/soundcard.h>
44343
44344 int
44345 main ()
44346 {
44347
44348 ioctl(0, SNDCTL_DSP_SPEED, 0);
44349
44350 ;
44351 return 0;
44352 }
44353 _ACEOF
44354 rm -f conftest.$ac_objext conftest$ac_exeext
44355 if { (ac_try="$ac_link"
44356 case "(($ac_try" in
44357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44358 *) ac_try_echo=$ac_try;;
44359 esac
44360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44361 (eval "$ac_link") 2>conftest.er1
44362 ac_status=$?
44363 grep -v '^ *+' conftest.er1 >conftest.err
44364 rm -f conftest.er1
44365 cat conftest.err >&5
44366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44367 (exit $ac_status); } && {
44368 test -z "$ac_c_werror_flag" ||
44369 test ! -s conftest.err
44370 } && test -s conftest$ac_exeext &&
44371 $as_test_x conftest$ac_exeext; then
44372 ac_cv_header_sys_soundcard=yes
44373 else
44374 echo "$as_me: failed program was:" >&5
44375 sed 's/^/| /' conftest.$ac_ext >&5
44376
44377
44378 LIBS="$saveLibs"
44379 ac_cv_header_sys_soundcard=no
44380
44381
44382 fi
44383
44384 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44385 conftest$ac_exeext conftest.$ac_ext
44386
44387
44388 fi
44389
44390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44391 conftest$ac_exeext conftest.$ac_ext
44392
44393 fi
44394 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44395 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44396 fi
44397
44398 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44399 cat >>confdefs.h <<\_ACEOF
44400 #define HAVE_SYS_SOUNDCARD_H 1
44401 _ACEOF
44402
44403 fi
44404 fi
44405
44406 WITH_PLUGIN_SDL=0
44407 if test "$wxUSE_SOUND" = "yes"; then
44408 if test "$USE_UNIX" = 1 ; then
44409 if test "$wxUSE_LIBSDL" != "no"; then
44410
44411 # Check whether --with-sdl-prefix was given.
44412 if test "${with_sdl_prefix+set}" = set; then
44413 withval=$with_sdl_prefix; sdl_prefix="$withval"
44414 else
44415 sdl_prefix=""
44416 fi
44417
44418
44419 # Check whether --with-sdl-exec-prefix was given.
44420 if test "${with_sdl_exec_prefix+set}" = set; then
44421 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44422 else
44423 sdl_exec_prefix=""
44424 fi
44425
44426 # Check whether --enable-sdltest was given.
44427 if test "${enable_sdltest+set}" = set; then
44428 enableval=$enable_sdltest;
44429 else
44430 enable_sdltest=yes
44431 fi
44432
44433
44434 if test x$sdl_exec_prefix != x ; then
44435 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44436 if test x${SDL_CONFIG+set} != xset ; then
44437 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44438 fi
44439 fi
44440 if test x$sdl_prefix != x ; then
44441 sdl_args="$sdl_args --prefix=$sdl_prefix"
44442 if test x${SDL_CONFIG+set} != xset ; then
44443 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44444 fi
44445 fi
44446
44447 if test "x$prefix" != xNONE; then
44448 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44449 fi
44450 # Extract the first word of "sdl-config", so it can be a program name with args.
44451 set dummy sdl-config; ac_word=$2
44452 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44454 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44455 echo $ECHO_N "(cached) $ECHO_C" >&6
44456 else
44457 case $SDL_CONFIG in
44458 [\\/]* | ?:[\\/]*)
44459 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44460 ;;
44461 *)
44462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44463 for as_dir in $PATH
44464 do
44465 IFS=$as_save_IFS
44466 test -z "$as_dir" && as_dir=.
44467 for ac_exec_ext in '' $ac_executable_extensions; do
44468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44469 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44471 break 2
44472 fi
44473 done
44474 done
44475 IFS=$as_save_IFS
44476
44477 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44478 ;;
44479 esac
44480 fi
44481 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44482 if test -n "$SDL_CONFIG"; then
44483 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44484 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44485 else
44486 { echo "$as_me:$LINENO: result: no" >&5
44487 echo "${ECHO_T}no" >&6; }
44488 fi
44489
44490
44491 min_sdl_version=1.2.0
44492 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44493 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44494 no_sdl=""
44495 if test "$SDL_CONFIG" = "no" ; then
44496 no_sdl=yes
44497 else
44498 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44499 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44500
44501 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44502 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44503 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44504 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44505 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44506 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44507 if test "x$enable_sdltest" = "xyes" ; then
44508 ac_save_CFLAGS="$CFLAGS"
44509 ac_save_CXXFLAGS="$CXXFLAGS"
44510 ac_save_LIBS="$LIBS"
44511 CFLAGS="$CFLAGS $SDL_CFLAGS"
44512 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44513 LIBS="$LIBS $SDL_LIBS"
44514 rm -f conf.sdltest
44515 if test "$cross_compiling" = yes; then
44516 echo $ac_n "cross compiling; assumed OK... $ac_c"
44517 else
44518 cat >conftest.$ac_ext <<_ACEOF
44519 /* confdefs.h. */
44520 _ACEOF
44521 cat confdefs.h >>conftest.$ac_ext
44522 cat >>conftest.$ac_ext <<_ACEOF
44523 /* end confdefs.h. */
44524
44525 #include <stdio.h>
44526 #include <stdlib.h>
44527 #include <string.h>
44528 #include "SDL.h"
44529
44530 char*
44531 my_strdup (char *str)
44532 {
44533 char *new_str;
44534
44535 if (str)
44536 {
44537 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44538 strcpy (new_str, str);
44539 }
44540 else
44541 new_str = NULL;
44542
44543 return new_str;
44544 }
44545
44546 int main (int argc, char *argv[])
44547 {
44548 int major, minor, micro;
44549 char *tmp_version;
44550
44551 /* This hangs on some systems (?)
44552 system ("touch conf.sdltest");
44553 */
44554 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44555
44556 /* HP/UX 9 (%@#!) writes to sscanf strings */
44557 tmp_version = my_strdup("$min_sdl_version");
44558 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
44559 printf("%s, bad version string\n", "$min_sdl_version");
44560 exit(1);
44561 }
44562
44563 if (($sdl_major_version > major) ||
44564 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44565 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44566 {
44567 return 0;
44568 }
44569 else
44570 {
44571 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44572 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44573 printf("*** best to upgrade to the required version.\n");
44574 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44575 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44576 printf("*** config.cache before re-running configure\n");
44577 return 1;
44578 }
44579 }
44580
44581
44582 _ACEOF
44583 rm -f conftest$ac_exeext
44584 if { (ac_try="$ac_link"
44585 case "(($ac_try" in
44586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44587 *) ac_try_echo=$ac_try;;
44588 esac
44589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44590 (eval "$ac_link") 2>&5
44591 ac_status=$?
44592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44593 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44594 { (case "(($ac_try" in
44595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44596 *) ac_try_echo=$ac_try;;
44597 esac
44598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44599 (eval "$ac_try") 2>&5
44600 ac_status=$?
44601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44602 (exit $ac_status); }; }; then
44603 :
44604 else
44605 echo "$as_me: program exited with status $ac_status" >&5
44606 echo "$as_me: failed program was:" >&5
44607 sed 's/^/| /' conftest.$ac_ext >&5
44608
44609 ( exit $ac_status )
44610 no_sdl=yes
44611 fi
44612 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44613 fi
44614
44615
44616 CFLAGS="$ac_save_CFLAGS"
44617 CXXFLAGS="$ac_save_CXXFLAGS"
44618 LIBS="$ac_save_LIBS"
44619 fi
44620 fi
44621 if test "x$no_sdl" = x ; then
44622 { echo "$as_me:$LINENO: result: yes" >&5
44623 echo "${ECHO_T}yes" >&6; }
44624
44625 EXTRALIBS_SDL="$SDL_LIBS"
44626 CFLAGS="$SDL_CFLAGS $CFLAGS"
44627 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44628 cat >>confdefs.h <<\_ACEOF
44629 #define wxUSE_LIBSDL 1
44630 _ACEOF
44631
44632
44633 else
44634 { echo "$as_me:$LINENO: result: no" >&5
44635 echo "${ECHO_T}no" >&6; }
44636 if test "$SDL_CONFIG" = "no" ; then
44637 echo "*** The sdl-config script installed by SDL could not be found"
44638 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44639 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44640 echo "*** full path to sdl-config."
44641 else
44642 if test -f conf.sdltest ; then
44643 :
44644 else
44645 echo "*** Could not run SDL test program, checking why..."
44646 CFLAGS="$CFLAGS $SDL_CFLAGS"
44647 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44648 LIBS="$LIBS $SDL_LIBS"
44649 cat >conftest.$ac_ext <<_ACEOF
44650 /* confdefs.h. */
44651 _ACEOF
44652 cat confdefs.h >>conftest.$ac_ext
44653 cat >>conftest.$ac_ext <<_ACEOF
44654 /* end confdefs.h. */
44655
44656 #include <stdio.h>
44657 #include "SDL.h"
44658
44659 int main(int argc, char *argv[])
44660 { return 0; }
44661 #undef main
44662 #define main K_and_R_C_main
44663
44664 int
44665 main ()
44666 {
44667 return 0;
44668 ;
44669 return 0;
44670 }
44671 _ACEOF
44672 rm -f conftest.$ac_objext conftest$ac_exeext
44673 if { (ac_try="$ac_link"
44674 case "(($ac_try" in
44675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44676 *) ac_try_echo=$ac_try;;
44677 esac
44678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44679 (eval "$ac_link") 2>conftest.er1
44680 ac_status=$?
44681 grep -v '^ *+' conftest.er1 >conftest.err
44682 rm -f conftest.er1
44683 cat conftest.err >&5
44684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44685 (exit $ac_status); } && {
44686 test -z "$ac_c_werror_flag" ||
44687 test ! -s conftest.err
44688 } && test -s conftest$ac_exeext &&
44689 $as_test_x conftest$ac_exeext; then
44690 echo "*** The test program compiled, but did not run. This usually means"
44691 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44692 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44693 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44694 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44695 echo "*** is required on your system"
44696 echo "***"
44697 echo "*** If you have an old version installed, it is best to remove it, although"
44698 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44699 else
44700 echo "$as_me: failed program was:" >&5
44701 sed 's/^/| /' conftest.$ac_ext >&5
44702
44703 echo "*** The test program failed to compile or link. See the file config.log for the"
44704 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44705 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44706 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44707 fi
44708
44709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44710 conftest$ac_exeext conftest.$ac_ext
44711 CFLAGS="$ac_save_CFLAGS"
44712 CXXFLAGS="$ac_save_CXXFLAGS"
44713 LIBS="$ac_save_LIBS"
44714 fi
44715 fi
44716 SDL_CFLAGS=""
44717 SDL_LIBS=""
44718 wxUSE_LIBSDL="no"
44719 fi
44720
44721
44722 rm -f conf.sdltest
44723
44724 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44725 WITH_PLUGIN_SDL=1
44726 fi
44727 fi
44728 else
44729 if test "$wxUSE_MGL" = 1; then
44730 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44731 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44732 wxUSE_SOUND="no"
44733 fi
44734 fi
44735 fi
44736
44737 if test "$wxUSE_SOUND" = "yes"; then
44738 cat >>confdefs.h <<\_ACEOF
44739 #define wxUSE_SOUND 1
44740 _ACEOF
44741
44742 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44743 fi
44744
44745 if test "$WXGTK2" = 1; then
44746
44747
44748 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44749 if test -n "$ac_tool_prefix"; then
44750 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44751 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44752 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44754 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44755 echo $ECHO_N "(cached) $ECHO_C" >&6
44756 else
44757 case $PKG_CONFIG in
44758 [\\/]* | ?:[\\/]*)
44759 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44760 ;;
44761 *)
44762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44763 for as_dir in $PATH
44764 do
44765 IFS=$as_save_IFS
44766 test -z "$as_dir" && as_dir=.
44767 for ac_exec_ext in '' $ac_executable_extensions; do
44768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44769 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44771 break 2
44772 fi
44773 done
44774 done
44775 IFS=$as_save_IFS
44776
44777 ;;
44778 esac
44779 fi
44780 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44781 if test -n "$PKG_CONFIG"; then
44782 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44783 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44784 else
44785 { echo "$as_me:$LINENO: result: no" >&5
44786 echo "${ECHO_T}no" >&6; }
44787 fi
44788
44789
44790 fi
44791 if test -z "$ac_cv_path_PKG_CONFIG"; then
44792 ac_pt_PKG_CONFIG=$PKG_CONFIG
44793 # Extract the first word of "pkg-config", so it can be a program name with args.
44794 set dummy pkg-config; ac_word=$2
44795 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44797 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44798 echo $ECHO_N "(cached) $ECHO_C" >&6
44799 else
44800 case $ac_pt_PKG_CONFIG in
44801 [\\/]* | ?:[\\/]*)
44802 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44803 ;;
44804 *)
44805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44806 for as_dir in $PATH
44807 do
44808 IFS=$as_save_IFS
44809 test -z "$as_dir" && as_dir=.
44810 for ac_exec_ext in '' $ac_executable_extensions; do
44811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44812 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44814 break 2
44815 fi
44816 done
44817 done
44818 IFS=$as_save_IFS
44819
44820 ;;
44821 esac
44822 fi
44823 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44824 if test -n "$ac_pt_PKG_CONFIG"; then
44825 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44826 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44827 else
44828 { echo "$as_me:$LINENO: result: no" >&5
44829 echo "${ECHO_T}no" >&6; }
44830 fi
44831
44832 if test "x$ac_pt_PKG_CONFIG" = x; then
44833 PKG_CONFIG=""
44834 else
44835 case $cross_compiling:$ac_tool_warned in
44836 yes:)
44837 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44838 whose name does not start with the host triplet. If you think this
44839 configuration is useful to you, please write to autoconf@gnu.org." >&5
44840 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44841 whose name does not start with the host triplet. If you think this
44842 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44843 ac_tool_warned=yes ;;
44844 esac
44845 PKG_CONFIG=$ac_pt_PKG_CONFIG
44846 fi
44847 else
44848 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44849 fi
44850
44851 fi
44852 if test -n "$PKG_CONFIG"; then
44853 _pkg_min_version=0.9.0
44854 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44855 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44856 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44857 { echo "$as_me:$LINENO: result: yes" >&5
44858 echo "${ECHO_T}yes" >&6; }
44859 else
44860 { echo "$as_me:$LINENO: result: no" >&5
44861 echo "${ECHO_T}no" >&6; }
44862 PKG_CONFIG=""
44863 fi
44864
44865 fi
44866
44867 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44868
44869 if test "$wxUSE_GTKPRINT" = "yes" ; then
44870
44871
44872 pkg_failed=no
44873 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44874 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44875
44876 if test -n "$PKG_CONFIG"; then
44877 if test -n "$GTKPRINT_CFLAGS"; then
44878 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44879 else
44880 if test -n "$PKG_CONFIG" && \
44881 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44882 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44883 ac_status=$?
44884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44885 (exit $ac_status); }; then
44886 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44887 else
44888 pkg_failed=yes
44889 fi
44890 fi
44891 else
44892 pkg_failed=untried
44893 fi
44894 if test -n "$PKG_CONFIG"; then
44895 if test -n "$GTKPRINT_LIBS"; then
44896 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44897 else
44898 if test -n "$PKG_CONFIG" && \
44899 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44900 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44901 ac_status=$?
44902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44903 (exit $ac_status); }; then
44904 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44905 else
44906 pkg_failed=yes
44907 fi
44908 fi
44909 else
44910 pkg_failed=untried
44911 fi
44912
44913
44914
44915 if test $pkg_failed = yes; then
44916
44917 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44918 _pkg_short_errors_supported=yes
44919 else
44920 _pkg_short_errors_supported=no
44921 fi
44922 if test $_pkg_short_errors_supported = yes; then
44923 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44924 else
44925 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44926 fi
44927 # Put the nasty error message in config.log where it belongs
44928 echo "$GTKPRINT_PKG_ERRORS" >&5
44929
44930
44931 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44932 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44933 wxUSE_GTKPRINT="no"
44934
44935
44936 elif test $pkg_failed = untried; then
44937
44938 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44939 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44940 wxUSE_GTKPRINT="no"
44941
44942
44943 else
44944 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44945 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44946 { echo "$as_me:$LINENO: result: yes" >&5
44947 echo "${ECHO_T}yes" >&6; }
44948
44949 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
44950 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
44951 cat >>confdefs.h <<\_ACEOF
44952 #define wxUSE_GTKPRINT 1
44953 _ACEOF
44954
44955
44956 fi
44957 fi
44958
44959 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44960
44961
44962 pkg_failed=no
44963 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44964 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44965
44966 if test -n "$PKG_CONFIG"; then
44967 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44968 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44969 else
44970 if test -n "$PKG_CONFIG" && \
44971 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44972 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44973 ac_status=$?
44974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44975 (exit $ac_status); }; then
44976 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44977 else
44978 pkg_failed=yes
44979 fi
44980 fi
44981 else
44982 pkg_failed=untried
44983 fi
44984 if test -n "$PKG_CONFIG"; then
44985 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44986 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44987 else
44988 if test -n "$PKG_CONFIG" && \
44989 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44990 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44991 ac_status=$?
44992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44993 (exit $ac_status); }; then
44994 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44995 else
44996 pkg_failed=yes
44997 fi
44998 fi
44999 else
45000 pkg_failed=untried
45001 fi
45002
45003
45004
45005 if test $pkg_failed = yes; then
45006
45007 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45008 _pkg_short_errors_supported=yes
45009 else
45010 _pkg_short_errors_supported=no
45011 fi
45012 if test $_pkg_short_errors_supported = yes; then
45013 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45014 else
45015 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45016 fi
45017 # Put the nasty error message in config.log where it belongs
45018 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45019
45020
45021 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45022 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45023 wxUSE_LIBGNOMEPRINT="no"
45024
45025
45026 elif test $pkg_failed = untried; then
45027
45028 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45029 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45030 wxUSE_LIBGNOMEPRINT="no"
45031
45032
45033 else
45034 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45035 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45036 { echo "$as_me:$LINENO: result: yes" >&5
45037 echo "${ECHO_T}yes" >&6; }
45038
45039 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45040 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45041 cat >>confdefs.h <<\_ACEOF
45042 #define wxUSE_LIBGNOMEPRINT 1
45043 _ACEOF
45044
45045
45046 fi
45047 fi
45048 fi
45049
45050 if test "$wxUSE_MIMETYPE" = "yes" ; then
45051 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45052
45053
45054 pkg_failed=no
45055 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45056 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45057
45058 if test -n "$PKG_CONFIG"; then
45059 if test -n "$GNOMEVFS_CFLAGS"; then
45060 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45061 else
45062 if test -n "$PKG_CONFIG" && \
45063 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45064 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45065 ac_status=$?
45066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45067 (exit $ac_status); }; then
45068 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45069 else
45070 pkg_failed=yes
45071 fi
45072 fi
45073 else
45074 pkg_failed=untried
45075 fi
45076 if test -n "$PKG_CONFIG"; then
45077 if test -n "$GNOMEVFS_LIBS"; then
45078 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45079 else
45080 if test -n "$PKG_CONFIG" && \
45081 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45082 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45083 ac_status=$?
45084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45085 (exit $ac_status); }; then
45086 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45087 else
45088 pkg_failed=yes
45089 fi
45090 fi
45091 else
45092 pkg_failed=untried
45093 fi
45094
45095
45096
45097 if test $pkg_failed = yes; then
45098
45099 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45100 _pkg_short_errors_supported=yes
45101 else
45102 _pkg_short_errors_supported=no
45103 fi
45104 if test $_pkg_short_errors_supported = yes; then
45105 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45106 else
45107 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45108 fi
45109 # Put the nasty error message in config.log where it belongs
45110 echo "$GNOMEVFS_PKG_ERRORS" >&5
45111
45112
45113 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45114 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45115 wxUSE_LIBGNOMEVFS="no"
45116
45117
45118 elif test $pkg_failed = untried; then
45119
45120 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45121 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45122 wxUSE_LIBGNOMEVFS="no"
45123
45124
45125 else
45126 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45127 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45128 { echo "$as_me:$LINENO: result: yes" >&5
45129 echo "${ECHO_T}yes" >&6; }
45130
45131 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45132 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45133 cat >>confdefs.h <<\_ACEOF
45134 #define wxUSE_LIBGNOMEVFS 1
45135 _ACEOF
45136
45137
45138 fi
45139 fi
45140 fi
45141
45142 if test "$wxUSE_LIBHILDON" = "yes" ; then
45143
45144 pkg_failed=no
45145 { echo "$as_me:$LINENO: checking for HILDON" >&5
45146 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45147
45148 if test -n "$PKG_CONFIG"; then
45149 if test -n "$HILDON_CFLAGS"; then
45150 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45151 else
45152 if test -n "$PKG_CONFIG" && \
45153 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45154 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45155 ac_status=$?
45156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45157 (exit $ac_status); }; then
45158 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45159 else
45160 pkg_failed=yes
45161 fi
45162 fi
45163 else
45164 pkg_failed=untried
45165 fi
45166 if test -n "$PKG_CONFIG"; then
45167 if test -n "$HILDON_LIBS"; then
45168 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45169 else
45170 if test -n "$PKG_CONFIG" && \
45171 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45172 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45173 ac_status=$?
45174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45175 (exit $ac_status); }; then
45176 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45177 else
45178 pkg_failed=yes
45179 fi
45180 fi
45181 else
45182 pkg_failed=untried
45183 fi
45184
45185
45186
45187 if test $pkg_failed = yes; then
45188
45189 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45190 _pkg_short_errors_supported=yes
45191 else
45192 _pkg_short_errors_supported=no
45193 fi
45194 if test $_pkg_short_errors_supported = yes; then
45195 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45196 else
45197 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45198 fi
45199 # Put the nasty error message in config.log where it belongs
45200 echo "$HILDON_PKG_ERRORS" >&5
45201
45202
45203 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45204 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45205 wxUSE_LIBHILDON="no"
45206
45207
45208 elif test $pkg_failed = untried; then
45209
45210 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45211 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45212 wxUSE_LIBHILDON="no"
45213
45214
45215 else
45216 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45217 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45218 { echo "$as_me:$LINENO: result: yes" >&5
45219 echo "${ECHO_T}yes" >&6; }
45220
45221 EXTRALIBS_HILDON="$HILDON_LIBS"
45222 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45223 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45224 cat >>confdefs.h <<\_ACEOF
45225 #define wxUSE_LIBHILDON 1
45226 _ACEOF
45227
45228
45229 fi
45230 fi
45231 fi
45232
45233 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45234 cat >>confdefs.h <<\_ACEOF
45235 #define wxUSE_CMDLINE_PARSER 1
45236 _ACEOF
45237
45238 fi
45239
45240 if test "$wxUSE_STOPWATCH" = "yes"; then
45241 cat >>confdefs.h <<\_ACEOF
45242 #define wxUSE_STOPWATCH 1
45243 _ACEOF
45244
45245 fi
45246
45247 if test "$wxUSE_DATETIME" = "yes"; then
45248 cat >>confdefs.h <<\_ACEOF
45249 #define wxUSE_DATETIME 1
45250 _ACEOF
45251
45252 fi
45253
45254 if test "$wxUSE_FILE" = "yes"; then
45255 cat >>confdefs.h <<\_ACEOF
45256 #define wxUSE_FILE 1
45257 _ACEOF
45258
45259 fi
45260
45261 if test "$wxUSE_FFILE" = "yes"; then
45262 cat >>confdefs.h <<\_ACEOF
45263 #define wxUSE_FFILE 1
45264 _ACEOF
45265
45266 fi
45267
45268 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45269 if test "$wxUSE_STREAMS" != yes; then
45270 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45271 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45272 wxUSE_ARCHIVE_STREAMS=no
45273 else
45274 cat >>confdefs.h <<\_ACEOF
45275 #define wxUSE_ARCHIVE_STREAMS 1
45276 _ACEOF
45277
45278 fi
45279 fi
45280
45281 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45282 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45283 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45284 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45285 elif test "$wxUSE_ZLIB" = "no"; then
45286 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45287 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45288 else
45289 cat >>confdefs.h <<\_ACEOF
45290 #define wxUSE_ZIPSTREAM 1
45291 _ACEOF
45292
45293 fi
45294 fi
45295
45296 if test "$wxUSE_TARSTREAM" = "yes"; then
45297 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45298 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45299 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45300 else
45301 cat >>confdefs.h <<\_ACEOF
45302 #define wxUSE_TARSTREAM 1
45303 _ACEOF
45304
45305 fi
45306 fi
45307
45308 if test "$wxUSE_FILESYSTEM" = "yes"; then
45309 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45310 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45311 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45312 wxUSE_FILESYSTEM=no
45313 else
45314 cat >>confdefs.h <<\_ACEOF
45315 #define wxUSE_FILESYSTEM 1
45316 _ACEOF
45317
45318 fi
45319 fi
45320
45321 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45322 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45323 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45324 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45325 else
45326 cat >>confdefs.h <<\_ACEOF
45327 #define wxUSE_FS_ARCHIVE 1
45328 _ACEOF
45329
45330 fi
45331 fi
45332
45333 if test "$wxUSE_FS_ZIP" = "yes"; then
45334 if test "$wxUSE_FS_ARCHIVE" != yes; then
45335 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45336 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45337 else
45338 cat >>confdefs.h <<\_ACEOF
45339 #define wxUSE_FS_ZIP 1
45340 _ACEOF
45341
45342 fi
45343 fi
45344
45345 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45346 if test "$USE_UNIX" != 1; then
45347 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45348 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45349 wxUSE_ON_FATAL_EXCEPTION=no
45350 else
45351 cat >>confdefs.h <<\_ACEOF
45352 #define wxUSE_ON_FATAL_EXCEPTION 1
45353 _ACEOF
45354
45355 fi
45356 fi
45357
45358 if test "$wxUSE_STACKWALKER" = "yes"; then
45359 cat >>confdefs.h <<\_ACEOF
45360 #define wxUSE_STACKWALKER 1
45361 _ACEOF
45362
45363 fi
45364
45365 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45366 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
45367 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45368 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45369 wxUSE_DEBUGREPORT=no
45370 else
45371 cat >>confdefs.h <<\_ACEOF
45372 #define wxUSE_DEBUGREPORT 1
45373 _ACEOF
45374
45375 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45376 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45377 fi
45378 fi
45379 fi
45380
45381 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45382 cat >>confdefs.h <<\_ACEOF
45383 #define wxUSE_SNGLINST_CHECKER 1
45384 _ACEOF
45385
45386 fi
45387
45388 if test "$wxUSE_BUSYINFO" = "yes"; then
45389 cat >>confdefs.h <<\_ACEOF
45390 #define wxUSE_BUSYINFO 1
45391 _ACEOF
45392
45393 fi
45394
45395 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45396 cat >>confdefs.h <<\_ACEOF
45397 #define wxUSE_STD_IOSTREAM 1
45398 _ACEOF
45399
45400 fi
45401
45402 if test "$wxUSE_STD_STRING" = "yes"; then
45403 cat >>confdefs.h <<\_ACEOF
45404 #define wxUSE_STD_STRING 1
45405 _ACEOF
45406
45407 fi
45408
45409 if test "$wxUSE_STDPATHS" = "yes"; then
45410 cat >>confdefs.h <<\_ACEOF
45411 #define wxUSE_STDPATHS 1
45412 _ACEOF
45413
45414 fi
45415
45416 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45417 cat >>confdefs.h <<\_ACEOF
45418 #define wxUSE_TEXTBUFFER 1
45419 _ACEOF
45420
45421 fi
45422
45423 if test "$wxUSE_TEXTFILE" = "yes"; then
45424 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45425 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45426 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45427 else
45428 cat >>confdefs.h <<\_ACEOF
45429 #define wxUSE_TEXTFILE 1
45430 _ACEOF
45431
45432 fi
45433 fi
45434
45435 if test "$wxUSE_CONFIG" = "yes" ; then
45436 if test "$wxUSE_TEXTFILE" != "yes"; then
45437 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45438 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45439 else
45440 cat >>confdefs.h <<\_ACEOF
45441 #define wxUSE_CONFIG 1
45442 _ACEOF
45443
45444 cat >>confdefs.h <<\_ACEOF
45445 #define wxUSE_CONFIG_NATIVE 1
45446 _ACEOF
45447
45448 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45449 fi
45450 fi
45451
45452 if test "$wxUSE_INTL" = "yes" ; then
45453 if test "$wxUSE_FILE" != "yes"; then
45454 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45455 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45456 else
45457 cat >>confdefs.h <<\_ACEOF
45458 #define wxUSE_INTL 1
45459 _ACEOF
45460
45461 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45462 GUIDIST="$GUIDIST INTL_DIST"
45463 fi
45464 fi
45465
45466 if test "$wxUSE_LOG" = "yes"; then
45467 cat >>confdefs.h <<\_ACEOF
45468 #define wxUSE_LOG 1
45469 _ACEOF
45470
45471
45472 if test "$wxUSE_LOGGUI" = "yes"; then
45473 cat >>confdefs.h <<\_ACEOF
45474 #define wxUSE_LOGGUI 1
45475 _ACEOF
45476
45477 fi
45478
45479 if test "$wxUSE_LOGWINDOW" = "yes"; then
45480 cat >>confdefs.h <<\_ACEOF
45481 #define wxUSE_LOGWINDOW 1
45482 _ACEOF
45483
45484 fi
45485
45486 if test "$wxUSE_LOGDIALOG" = "yes"; then
45487 cat >>confdefs.h <<\_ACEOF
45488 #define wxUSE_LOG_DIALOG 1
45489 _ACEOF
45490
45491 fi
45492
45493 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45494 fi
45495
45496 if test "$wxUSE_LONGLONG" = "yes"; then
45497 cat >>confdefs.h <<\_ACEOF
45498 #define wxUSE_LONGLONG 1
45499 _ACEOF
45500
45501 fi
45502
45503 if test "$wxUSE_GEOMETRY" = "yes"; then
45504 cat >>confdefs.h <<\_ACEOF
45505 #define wxUSE_GEOMETRY 1
45506 _ACEOF
45507
45508 fi
45509
45510 if test "$wxUSE_BASE64" = "yes"; then
45511 cat >>confdefs.h <<\_ACEOF
45512 #define wxUSE_BASE64 1
45513 _ACEOF
45514
45515 fi
45516
45517 if test "$wxUSE_STREAMS" = "yes" ; then
45518 cat >>confdefs.h <<\_ACEOF
45519 #define wxUSE_STREAMS 1
45520 _ACEOF
45521
45522 fi
45523
45524 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45525 cat >>confdefs.h <<\_ACEOF
45526 #define wxUSE_PRINTF_POS_PARAMS 1
45527 _ACEOF
45528
45529 fi
45530
45531 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45532 cat >>confdefs.h <<\_ACEOF
45533 #define wxUSE_OBJC_UNIQUIFYING 1
45534 _ACEOF
45535
45536 fi
45537
45538
45539 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45540 cat >>confdefs.h <<\_ACEOF
45541 #define wxUSE_CONSOLE_EVENTLOOP 1
45542 _ACEOF
45543
45544
45545 if test "$wxUSE_UNIX" = "yes"; then
45546 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45547 cat >>confdefs.h <<\_ACEOF
45548 #define wxUSE_SELECT_DISPATCHER 1
45549 _ACEOF
45550
45551 fi
45552
45553 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45554
45555 for ac_header in sys/epoll.h
45556 do
45557 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45558 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45560 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45561 echo $ECHO_N "(cached) $ECHO_C" >&6
45562 else
45563 cat >conftest.$ac_ext <<_ACEOF
45564 /* confdefs.h. */
45565 _ACEOF
45566 cat confdefs.h >>conftest.$ac_ext
45567 cat >>conftest.$ac_ext <<_ACEOF
45568 /* end confdefs.h. */
45569 $ac_includes_default
45570
45571 #include <$ac_header>
45572 _ACEOF
45573 rm -f conftest.$ac_objext
45574 if { (ac_try="$ac_compile"
45575 case "(($ac_try" in
45576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45577 *) ac_try_echo=$ac_try;;
45578 esac
45579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45580 (eval "$ac_compile") 2>conftest.er1
45581 ac_status=$?
45582 grep -v '^ *+' conftest.er1 >conftest.err
45583 rm -f conftest.er1
45584 cat conftest.err >&5
45585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45586 (exit $ac_status); } && {
45587 test -z "$ac_c_werror_flag" ||
45588 test ! -s conftest.err
45589 } && test -s conftest.$ac_objext; then
45590 eval "$as_ac_Header=yes"
45591 else
45592 echo "$as_me: failed program was:" >&5
45593 sed 's/^/| /' conftest.$ac_ext >&5
45594
45595 eval "$as_ac_Header=no"
45596 fi
45597
45598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45599 fi
45600 ac_res=`eval echo '${'$as_ac_Header'}'`
45601 { echo "$as_me:$LINENO: result: $ac_res" >&5
45602 echo "${ECHO_T}$ac_res" >&6; }
45603 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45604 cat >>confdefs.h <<_ACEOF
45605 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45606 _ACEOF
45607
45608 fi
45609
45610 done
45611
45612 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45613 cat >>confdefs.h <<\_ACEOF
45614 #define wxUSE_EPOLL_DISPATCHER 1
45615 _ACEOF
45616
45617 else
45618 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45619 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45620 fi
45621 fi
45622 fi
45623 fi
45624
45625
45626
45627
45628 for ac_func in gettimeofday ftime
45629 do
45630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45631 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45633 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45634 echo $ECHO_N "(cached) $ECHO_C" >&6
45635 else
45636 cat >conftest.$ac_ext <<_ACEOF
45637 /* confdefs.h. */
45638 _ACEOF
45639 cat confdefs.h >>conftest.$ac_ext
45640 cat >>conftest.$ac_ext <<_ACEOF
45641 /* end confdefs.h. */
45642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45644 #define $ac_func innocuous_$ac_func
45645
45646 /* System header to define __stub macros and hopefully few prototypes,
45647 which can conflict with char $ac_func (); below.
45648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45649 <limits.h> exists even on freestanding compilers. */
45650
45651 #ifdef __STDC__
45652 # include <limits.h>
45653 #else
45654 # include <assert.h>
45655 #endif
45656
45657 #undef $ac_func
45658
45659 /* Override any GCC internal prototype to avoid an error.
45660 Use char because int might match the return type of a GCC
45661 builtin and then its argument prototype would still apply. */
45662 #ifdef __cplusplus
45663 extern "C"
45664 #endif
45665 char $ac_func ();
45666 /* The GNU C library defines this for functions which it implements
45667 to always fail with ENOSYS. Some functions are actually named
45668 something starting with __ and the normal name is an alias. */
45669 #if defined __stub_$ac_func || defined __stub___$ac_func
45670 choke me
45671 #endif
45672
45673 int
45674 main ()
45675 {
45676 return $ac_func ();
45677 ;
45678 return 0;
45679 }
45680 _ACEOF
45681 rm -f conftest.$ac_objext conftest$ac_exeext
45682 if { (ac_try="$ac_link"
45683 case "(($ac_try" in
45684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45685 *) ac_try_echo=$ac_try;;
45686 esac
45687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45688 (eval "$ac_link") 2>conftest.er1
45689 ac_status=$?
45690 grep -v '^ *+' conftest.er1 >conftest.err
45691 rm -f conftest.er1
45692 cat conftest.err >&5
45693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45694 (exit $ac_status); } && {
45695 test -z "$ac_c_werror_flag" ||
45696 test ! -s conftest.err
45697 } && test -s conftest$ac_exeext &&
45698 $as_test_x conftest$ac_exeext; then
45699 eval "$as_ac_var=yes"
45700 else
45701 echo "$as_me: failed program was:" >&5
45702 sed 's/^/| /' conftest.$ac_ext >&5
45703
45704 eval "$as_ac_var=no"
45705 fi
45706
45707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45708 conftest$ac_exeext conftest.$ac_ext
45709 fi
45710 ac_res=`eval echo '${'$as_ac_var'}'`
45711 { echo "$as_me:$LINENO: result: $ac_res" >&5
45712 echo "${ECHO_T}$ac_res" >&6; }
45713 if test `eval echo '${'$as_ac_var'}'` = yes; then
45714 cat >>confdefs.h <<_ACEOF
45715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45716 _ACEOF
45717 break
45718 fi
45719 done
45720
45721
45722 if test "$ac_cv_func_gettimeofday" = "yes"; then
45723 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45724 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45725 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45726 echo $ECHO_N "(cached) $ECHO_C" >&6
45727 else
45728
45729 cat >conftest.$ac_ext <<_ACEOF
45730 /* confdefs.h. */
45731 _ACEOF
45732 cat confdefs.h >>conftest.$ac_ext
45733 cat >>conftest.$ac_ext <<_ACEOF
45734 /* end confdefs.h. */
45735
45736 #include <sys/time.h>
45737 #include <unistd.h>
45738
45739 int
45740 main ()
45741 {
45742
45743 struct timeval tv;
45744 gettimeofday(&tv, NULL);
45745
45746 ;
45747 return 0;
45748 }
45749 _ACEOF
45750 rm -f conftest.$ac_objext
45751 if { (ac_try="$ac_compile"
45752 case "(($ac_try" in
45753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45754 *) ac_try_echo=$ac_try;;
45755 esac
45756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45757 (eval "$ac_compile") 2>conftest.er1
45758 ac_status=$?
45759 grep -v '^ *+' conftest.er1 >conftest.err
45760 rm -f conftest.er1
45761 cat conftest.err >&5
45762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45763 (exit $ac_status); } && {
45764 test -z "$ac_c_werror_flag" ||
45765 test ! -s conftest.err
45766 } && test -s conftest.$ac_objext; then
45767 wx_cv_func_gettimeofday_has_2_args=yes
45768 else
45769 echo "$as_me: failed program was:" >&5
45770 sed 's/^/| /' conftest.$ac_ext >&5
45771
45772 cat >conftest.$ac_ext <<_ACEOF
45773 /* confdefs.h. */
45774 _ACEOF
45775 cat confdefs.h >>conftest.$ac_ext
45776 cat >>conftest.$ac_ext <<_ACEOF
45777 /* end confdefs.h. */
45778
45779 #include <sys/time.h>
45780 #include <unistd.h>
45781
45782 int
45783 main ()
45784 {
45785
45786 struct timeval tv;
45787 gettimeofday(&tv);
45788
45789 ;
45790 return 0;
45791 }
45792 _ACEOF
45793 rm -f conftest.$ac_objext
45794 if { (ac_try="$ac_compile"
45795 case "(($ac_try" in
45796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45797 *) ac_try_echo=$ac_try;;
45798 esac
45799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45800 (eval "$ac_compile") 2>conftest.er1
45801 ac_status=$?
45802 grep -v '^ *+' conftest.er1 >conftest.err
45803 rm -f conftest.er1
45804 cat conftest.err >&5
45805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45806 (exit $ac_status); } && {
45807 test -z "$ac_c_werror_flag" ||
45808 test ! -s conftest.err
45809 } && test -s conftest.$ac_objext; then
45810 wx_cv_func_gettimeofday_has_2_args=no
45811 else
45812 echo "$as_me: failed program was:" >&5
45813 sed 's/^/| /' conftest.$ac_ext >&5
45814
45815
45816 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45817 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45818 wx_cv_func_gettimeofday_has_2_args=unknown
45819
45820
45821 fi
45822
45823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45824
45825 fi
45826
45827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45828
45829 fi
45830 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45831 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45832
45833 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45834 cat >>confdefs.h <<\_ACEOF
45835 #define WX_GETTIMEOFDAY_NO_TZ 1
45836 _ACEOF
45837
45838 fi
45839 fi
45840
45841 if test "$wxUSE_DATETIME" = "yes"; then
45842 { echo "$as_me:$LINENO: checking for strptime" >&5
45843 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
45844 if test "${ac_cv_func_strptime+set}" = set; then
45845 echo $ECHO_N "(cached) $ECHO_C" >&6
45846 else
45847 cat >conftest.$ac_ext <<_ACEOF
45848 /* confdefs.h. */
45849 _ACEOF
45850 cat confdefs.h >>conftest.$ac_ext
45851 cat >>conftest.$ac_ext <<_ACEOF
45852 /* end confdefs.h. */
45853 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
45854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45855 #define strptime innocuous_strptime
45856
45857 /* System header to define __stub macros and hopefully few prototypes,
45858 which can conflict with char strptime (); below.
45859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45860 <limits.h> exists even on freestanding compilers. */
45861
45862 #ifdef __STDC__
45863 # include <limits.h>
45864 #else
45865 # include <assert.h>
45866 #endif
45867
45868 #undef strptime
45869
45870 /* Override any GCC internal prototype to avoid an error.
45871 Use char because int might match the return type of a GCC
45872 builtin and then its argument prototype would still apply. */
45873 #ifdef __cplusplus
45874 extern "C"
45875 #endif
45876 char strptime ();
45877 /* The GNU C library defines this for functions which it implements
45878 to always fail with ENOSYS. Some functions are actually named
45879 something starting with __ and the normal name is an alias. */
45880 #if defined __stub_strptime || defined __stub___strptime
45881 choke me
45882 #endif
45883
45884 int
45885 main ()
45886 {
45887 return strptime ();
45888 ;
45889 return 0;
45890 }
45891 _ACEOF
45892 rm -f conftest.$ac_objext conftest$ac_exeext
45893 if { (ac_try="$ac_link"
45894 case "(($ac_try" in
45895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45896 *) ac_try_echo=$ac_try;;
45897 esac
45898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45899 (eval "$ac_link") 2>conftest.er1
45900 ac_status=$?
45901 grep -v '^ *+' conftest.er1 >conftest.err
45902 rm -f conftest.er1
45903 cat conftest.err >&5
45904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45905 (exit $ac_status); } && {
45906 test -z "$ac_c_werror_flag" ||
45907 test ! -s conftest.err
45908 } && test -s conftest$ac_exeext &&
45909 $as_test_x conftest$ac_exeext; then
45910 ac_cv_func_strptime=yes
45911 else
45912 echo "$as_me: failed program was:" >&5
45913 sed 's/^/| /' conftest.$ac_ext >&5
45914
45915 ac_cv_func_strptime=no
45916 fi
45917
45918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45919 conftest$ac_exeext conftest.$ac_ext
45920 fi
45921 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
45922 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
45923
45924 if test "$ac_cv_func_strptime" = "yes"; then
45925 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
45926 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
45927 if test "${wx_cv_func_strptime_decl+set}" = set; then
45928 echo $ECHO_N "(cached) $ECHO_C" >&6
45929 else
45930
45931 ac_ext=cpp
45932 ac_cpp='$CXXCPP $CPPFLAGS'
45933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45936
45937 cat >conftest.$ac_ext <<_ACEOF
45938 /* confdefs.h. */
45939 _ACEOF
45940 cat confdefs.h >>conftest.$ac_ext
45941 cat >>conftest.$ac_ext <<_ACEOF
45942 /* end confdefs.h. */
45943
45944 #include <time.h>
45945
45946 int
45947 main ()
45948 {
45949
45950 struct tm t;
45951 strptime("foo", "bar", &t);
45952
45953 ;
45954 return 0;
45955 }
45956 _ACEOF
45957 rm -f conftest.$ac_objext
45958 if { (ac_try="$ac_compile"
45959 case "(($ac_try" in
45960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45961 *) ac_try_echo=$ac_try;;
45962 esac
45963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45964 (eval "$ac_compile") 2>conftest.er1
45965 ac_status=$?
45966 grep -v '^ *+' conftest.er1 >conftest.err
45967 rm -f conftest.er1
45968 cat conftest.err >&5
45969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45970 (exit $ac_status); } && {
45971 test -z "$ac_cxx_werror_flag" ||
45972 test ! -s conftest.err
45973 } && test -s conftest.$ac_objext; then
45974 wx_cv_func_strptime_decl=yes
45975 else
45976 echo "$as_me: failed program was:" >&5
45977 sed 's/^/| /' conftest.$ac_ext >&5
45978
45979 wx_cv_func_strptime_decl=no
45980
45981 fi
45982
45983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45984 ac_ext=c
45985 ac_cpp='$CPP $CPPFLAGS'
45986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45989
45990
45991
45992 fi
45993 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
45994 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
45995 fi
45996 if test "$wx_cv_func_strptime_decl" = "yes"; then
45997 cat >>confdefs.h <<\_ACEOF
45998 #define HAVE_STRPTIME_DECL 1
45999 _ACEOF
46000
46001 else
46002 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46003 fi
46004 if test "$ac_cv_func_strptime" = "yes"; then
46005 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46006 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46007 if test "${wx_cv_func_strptime_ok+set}" = set; then
46008 echo $ECHO_N "(cached) $ECHO_C" >&6
46009 else
46010 if test "$cross_compiling" = yes; then
46011 wx_cv_func_strptime_ok=no
46012
46013 else
46014 cat >conftest.$ac_ext <<_ACEOF
46015
46016 #include <stdlib.h>
46017 #include <time.h>
46018 #include "confdefs.h"
46019
46020 $wx_strptime_decl
46021
46022 int main()
46023 {
46024 struct tm t;
46025 return !!strptime("", "%x", &t);
46026 }
46027
46028 _ACEOF
46029 rm -f conftest$ac_exeext
46030 if { (ac_try="$ac_link"
46031 case "(($ac_try" in
46032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46033 *) ac_try_echo=$ac_try;;
46034 esac
46035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46036 (eval "$ac_link") 2>&5
46037 ac_status=$?
46038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46039 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46040 { (case "(($ac_try" in
46041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46042 *) ac_try_echo=$ac_try;;
46043 esac
46044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46045 (eval "$ac_try") 2>&5
46046 ac_status=$?
46047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46048 (exit $ac_status); }; }; then
46049 wx_cv_func_strptime_ok=yes
46050 else
46051 echo "$as_me: program exited with status $ac_status" >&5
46052 echo "$as_me: failed program was:" >&5
46053 sed 's/^/| /' conftest.$ac_ext >&5
46054
46055 ( exit $ac_status )
46056 wx_cv_func_strptime_ok=no
46057 fi
46058 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46059 fi
46060
46061
46062
46063 fi
46064 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46065 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46066
46067 if test "$wx_cv_func_strptime_ok" = "yes"; then
46068 cat >>confdefs.h <<\_ACEOF
46069 #define HAVE_STRPTIME 1
46070 _ACEOF
46071
46072 fi
46073 fi
46074
46075 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46076 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46077 if test "${wx_cv_var_timezone+set}" = set; then
46078 echo $ECHO_N "(cached) $ECHO_C" >&6
46079 else
46080
46081 ac_ext=cpp
46082 ac_cpp='$CXXCPP $CPPFLAGS'
46083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46086
46087 cat >conftest.$ac_ext <<_ACEOF
46088 /* confdefs.h. */
46089 _ACEOF
46090 cat confdefs.h >>conftest.$ac_ext
46091 cat >>conftest.$ac_ext <<_ACEOF
46092 /* end confdefs.h. */
46093
46094 #include <time.h>
46095
46096 int
46097 main ()
46098 {
46099
46100 int tz;
46101 tz = timezone;
46102
46103 ;
46104 return 0;
46105 }
46106 _ACEOF
46107 rm -f conftest.$ac_objext
46108 if { (ac_try="$ac_compile"
46109 case "(($ac_try" in
46110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46111 *) ac_try_echo=$ac_try;;
46112 esac
46113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46114 (eval "$ac_compile") 2>conftest.er1
46115 ac_status=$?
46116 grep -v '^ *+' conftest.er1 >conftest.err
46117 rm -f conftest.er1
46118 cat conftest.err >&5
46119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46120 (exit $ac_status); } && {
46121 test -z "$ac_cxx_werror_flag" ||
46122 test ! -s conftest.err
46123 } && test -s conftest.$ac_objext; then
46124
46125 wx_cv_var_timezone=timezone
46126
46127 else
46128 echo "$as_me: failed program was:" >&5
46129 sed 's/^/| /' conftest.$ac_ext >&5
46130
46131
46132 cat >conftest.$ac_ext <<_ACEOF
46133 /* confdefs.h. */
46134 _ACEOF
46135 cat confdefs.h >>conftest.$ac_ext
46136 cat >>conftest.$ac_ext <<_ACEOF
46137 /* end confdefs.h. */
46138
46139 #include <time.h>
46140
46141 int
46142 main ()
46143 {
46144
46145 int tz;
46146 tz = _timezone;
46147
46148 ;
46149 return 0;
46150 }
46151 _ACEOF
46152 rm -f conftest.$ac_objext
46153 if { (ac_try="$ac_compile"
46154 case "(($ac_try" in
46155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46156 *) ac_try_echo=$ac_try;;
46157 esac
46158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46159 (eval "$ac_compile") 2>conftest.er1
46160 ac_status=$?
46161 grep -v '^ *+' conftest.er1 >conftest.err
46162 rm -f conftest.er1
46163 cat conftest.err >&5
46164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46165 (exit $ac_status); } && {
46166 test -z "$ac_cxx_werror_flag" ||
46167 test ! -s conftest.err
46168 } && test -s conftest.$ac_objext; then
46169
46170 wx_cv_var_timezone=_timezone
46171
46172 else
46173 echo "$as_me: failed program was:" >&5
46174 sed 's/^/| /' conftest.$ac_ext >&5
46175
46176
46177 cat >conftest.$ac_ext <<_ACEOF
46178 /* confdefs.h. */
46179 _ACEOF
46180 cat confdefs.h >>conftest.$ac_ext
46181 cat >>conftest.$ac_ext <<_ACEOF
46182 /* end confdefs.h. */
46183
46184 #include <time.h>
46185
46186 int
46187 main ()
46188 {
46189
46190 int tz;
46191 tz = __timezone;
46192
46193 ;
46194 return 0;
46195 }
46196 _ACEOF
46197 rm -f conftest.$ac_objext
46198 if { (ac_try="$ac_compile"
46199 case "(($ac_try" in
46200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46201 *) ac_try_echo=$ac_try;;
46202 esac
46203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46204 (eval "$ac_compile") 2>conftest.er1
46205 ac_status=$?
46206 grep -v '^ *+' conftest.er1 >conftest.err
46207 rm -f conftest.er1
46208 cat conftest.err >&5
46209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46210 (exit $ac_status); } && {
46211 test -z "$ac_cxx_werror_flag" ||
46212 test ! -s conftest.err
46213 } && test -s conftest.$ac_objext; then
46214
46215 wx_cv_var_timezone=__timezone
46216
46217 else
46218 echo "$as_me: failed program was:" >&5
46219 sed 's/^/| /' conftest.$ac_ext >&5
46220
46221
46222 if test "$USE_DOS" = 0 ; then
46223 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46224 echo "$as_me: WARNING: no timezone variable" >&2;}
46225 fi
46226
46227
46228 fi
46229
46230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46231
46232
46233 fi
46234
46235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46236
46237
46238 fi
46239
46240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46241 ac_ext=c
46242 ac_cpp='$CPP $CPPFLAGS'
46243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46246
46247
46248
46249 fi
46250 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46251 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46252
46253 if test "x$wx_cv_var_timezone" != x ; then
46254 cat >>confdefs.h <<_ACEOF
46255 #define WX_TIMEZONE $wx_cv_var_timezone
46256 _ACEOF
46257
46258 fi
46259
46260
46261 for ac_func in localtime
46262 do
46263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46264 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46266 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46267 echo $ECHO_N "(cached) $ECHO_C" >&6
46268 else
46269 cat >conftest.$ac_ext <<_ACEOF
46270 /* confdefs.h. */
46271 _ACEOF
46272 cat confdefs.h >>conftest.$ac_ext
46273 cat >>conftest.$ac_ext <<_ACEOF
46274 /* end confdefs.h. */
46275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46277 #define $ac_func innocuous_$ac_func
46278
46279 /* System header to define __stub macros and hopefully few prototypes,
46280 which can conflict with char $ac_func (); below.
46281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46282 <limits.h> exists even on freestanding compilers. */
46283
46284 #ifdef __STDC__
46285 # include <limits.h>
46286 #else
46287 # include <assert.h>
46288 #endif
46289
46290 #undef $ac_func
46291
46292 /* Override any GCC internal prototype to avoid an error.
46293 Use char because int might match the return type of a GCC
46294 builtin and then its argument prototype would still apply. */
46295 #ifdef __cplusplus
46296 extern "C"
46297 #endif
46298 char $ac_func ();
46299 /* The GNU C library defines this for functions which it implements
46300 to always fail with ENOSYS. Some functions are actually named
46301 something starting with __ and the normal name is an alias. */
46302 #if defined __stub_$ac_func || defined __stub___$ac_func
46303 choke me
46304 #endif
46305
46306 int
46307 main ()
46308 {
46309 return $ac_func ();
46310 ;
46311 return 0;
46312 }
46313 _ACEOF
46314 rm -f conftest.$ac_objext conftest$ac_exeext
46315 if { (ac_try="$ac_link"
46316 case "(($ac_try" in
46317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46318 *) ac_try_echo=$ac_try;;
46319 esac
46320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46321 (eval "$ac_link") 2>conftest.er1
46322 ac_status=$?
46323 grep -v '^ *+' conftest.er1 >conftest.err
46324 rm -f conftest.er1
46325 cat conftest.err >&5
46326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46327 (exit $ac_status); } && {
46328 test -z "$ac_c_werror_flag" ||
46329 test ! -s conftest.err
46330 } && test -s conftest$ac_exeext &&
46331 $as_test_x conftest$ac_exeext; then
46332 eval "$as_ac_var=yes"
46333 else
46334 echo "$as_me: failed program was:" >&5
46335 sed 's/^/| /' conftest.$ac_ext >&5
46336
46337 eval "$as_ac_var=no"
46338 fi
46339
46340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46341 conftest$ac_exeext conftest.$ac_ext
46342 fi
46343 ac_res=`eval echo '${'$as_ac_var'}'`
46344 { echo "$as_me:$LINENO: result: $ac_res" >&5
46345 echo "${ECHO_T}$ac_res" >&6; }
46346 if test `eval echo '${'$as_ac_var'}'` = yes; then
46347 cat >>confdefs.h <<_ACEOF
46348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46349 _ACEOF
46350
46351 fi
46352 done
46353
46354
46355 if test "$ac_cv_func_localtime" = "yes"; then
46356 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46357 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46358 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46359 echo $ECHO_N "(cached) $ECHO_C" >&6
46360 else
46361
46362 cat >conftest.$ac_ext <<_ACEOF
46363 /* confdefs.h. */
46364 _ACEOF
46365 cat confdefs.h >>conftest.$ac_ext
46366 cat >>conftest.$ac_ext <<_ACEOF
46367 /* end confdefs.h. */
46368
46369 #include <time.h>
46370
46371 int
46372 main ()
46373 {
46374
46375 struct tm tm;
46376 tm.tm_gmtoff++;
46377
46378 ;
46379 return 0;
46380 }
46381 _ACEOF
46382 rm -f conftest.$ac_objext
46383 if { (ac_try="$ac_compile"
46384 case "(($ac_try" in
46385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46386 *) ac_try_echo=$ac_try;;
46387 esac
46388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46389 (eval "$ac_compile") 2>conftest.er1
46390 ac_status=$?
46391 grep -v '^ *+' conftest.er1 >conftest.err
46392 rm -f conftest.er1
46393 cat conftest.err >&5
46394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46395 (exit $ac_status); } && {
46396 test -z "$ac_c_werror_flag" ||
46397 test ! -s conftest.err
46398 } && test -s conftest.$ac_objext; then
46399
46400 wx_cv_struct_tm_has_gmtoff=yes
46401
46402 else
46403 echo "$as_me: failed program was:" >&5
46404 sed 's/^/| /' conftest.$ac_ext >&5
46405
46406 wx_cv_struct_tm_has_gmtoff=no
46407
46408 fi
46409
46410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46411
46412 fi
46413 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46414 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46415 fi
46416
46417 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46418 cat >>confdefs.h <<\_ACEOF
46419 #define WX_GMTOFF_IN_TM 1
46420 _ACEOF
46421
46422 fi
46423
46424 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46425 fi
46426
46427
46428 if test "$wxUSE_SOCKETS" = "yes"; then
46429 if test "$wxUSE_MGL" = 1; then
46430 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46431 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46432 wxUSE_SOCKETS="no"
46433 fi
46434 fi
46435
46436 if test "$wxUSE_SOCKETS" = "yes"; then
46437 if test "$TOOLKIT" != "MSW"; then
46438 { echo "$as_me:$LINENO: checking for socket" >&5
46439 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46440 if test "${ac_cv_func_socket+set}" = set; then
46441 echo $ECHO_N "(cached) $ECHO_C" >&6
46442 else
46443 cat >conftest.$ac_ext <<_ACEOF
46444 /* confdefs.h. */
46445 _ACEOF
46446 cat confdefs.h >>conftest.$ac_ext
46447 cat >>conftest.$ac_ext <<_ACEOF
46448 /* end confdefs.h. */
46449 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46451 #define socket innocuous_socket
46452
46453 /* System header to define __stub macros and hopefully few prototypes,
46454 which can conflict with char socket (); below.
46455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46456 <limits.h> exists even on freestanding compilers. */
46457
46458 #ifdef __STDC__
46459 # include <limits.h>
46460 #else
46461 # include <assert.h>
46462 #endif
46463
46464 #undef socket
46465
46466 /* Override any GCC internal prototype to avoid an error.
46467 Use char because int might match the return type of a GCC
46468 builtin and then its argument prototype would still apply. */
46469 #ifdef __cplusplus
46470 extern "C"
46471 #endif
46472 char socket ();
46473 /* The GNU C library defines this for functions which it implements
46474 to always fail with ENOSYS. Some functions are actually named
46475 something starting with __ and the normal name is an alias. */
46476 #if defined __stub_socket || defined __stub___socket
46477 choke me
46478 #endif
46479
46480 int
46481 main ()
46482 {
46483 return socket ();
46484 ;
46485 return 0;
46486 }
46487 _ACEOF
46488 rm -f conftest.$ac_objext conftest$ac_exeext
46489 if { (ac_try="$ac_link"
46490 case "(($ac_try" in
46491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46492 *) ac_try_echo=$ac_try;;
46493 esac
46494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46495 (eval "$ac_link") 2>conftest.er1
46496 ac_status=$?
46497 grep -v '^ *+' conftest.er1 >conftest.err
46498 rm -f conftest.er1
46499 cat conftest.err >&5
46500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46501 (exit $ac_status); } && {
46502 test -z "$ac_c_werror_flag" ||
46503 test ! -s conftest.err
46504 } && test -s conftest$ac_exeext &&
46505 $as_test_x conftest$ac_exeext; then
46506 ac_cv_func_socket=yes
46507 else
46508 echo "$as_me: failed program was:" >&5
46509 sed 's/^/| /' conftest.$ac_ext >&5
46510
46511 ac_cv_func_socket=no
46512 fi
46513
46514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46515 conftest$ac_exeext conftest.$ac_ext
46516 fi
46517 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46518 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46519 if test $ac_cv_func_socket = yes; then
46520 :
46521 else
46522
46523 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46524 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46525 if test "${ac_cv_lib_socket_socket+set}" = set; then
46526 echo $ECHO_N "(cached) $ECHO_C" >&6
46527 else
46528 ac_check_lib_save_LIBS=$LIBS
46529 LIBS="-lsocket $LIBS"
46530 cat >conftest.$ac_ext <<_ACEOF
46531 /* confdefs.h. */
46532 _ACEOF
46533 cat confdefs.h >>conftest.$ac_ext
46534 cat >>conftest.$ac_ext <<_ACEOF
46535 /* end confdefs.h. */
46536
46537 /* Override any GCC internal prototype to avoid an error.
46538 Use char because int might match the return type of a GCC
46539 builtin and then its argument prototype would still apply. */
46540 #ifdef __cplusplus
46541 extern "C"
46542 #endif
46543 char socket ();
46544 int
46545 main ()
46546 {
46547 return socket ();
46548 ;
46549 return 0;
46550 }
46551 _ACEOF
46552 rm -f conftest.$ac_objext conftest$ac_exeext
46553 if { (ac_try="$ac_link"
46554 case "(($ac_try" in
46555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46556 *) ac_try_echo=$ac_try;;
46557 esac
46558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46559 (eval "$ac_link") 2>conftest.er1
46560 ac_status=$?
46561 grep -v '^ *+' conftest.er1 >conftest.err
46562 rm -f conftest.er1
46563 cat conftest.err >&5
46564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46565 (exit $ac_status); } && {
46566 test -z "$ac_c_werror_flag" ||
46567 test ! -s conftest.err
46568 } && test -s conftest$ac_exeext &&
46569 $as_test_x conftest$ac_exeext; then
46570 ac_cv_lib_socket_socket=yes
46571 else
46572 echo "$as_me: failed program was:" >&5
46573 sed 's/^/| /' conftest.$ac_ext >&5
46574
46575 ac_cv_lib_socket_socket=no
46576 fi
46577
46578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46579 conftest$ac_exeext conftest.$ac_ext
46580 LIBS=$ac_check_lib_save_LIBS
46581 fi
46582 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46583 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46584 if test $ac_cv_lib_socket_socket = yes; then
46585 if test "$INET_LINK" != " -lsocket"; then
46586 INET_LINK="$INET_LINK -lsocket"
46587 fi
46588 else
46589
46590 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46591 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46592 wxUSE_SOCKETS=no
46593
46594
46595 fi
46596
46597
46598
46599 fi
46600
46601 fi
46602 fi
46603
46604 if test "$wxUSE_SOCKETS" = "yes" ; then
46605 if test "$TOOLKIT" != "MSW"; then
46606 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46607 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46608 if test "${wx_cv_type_getsockname3+set}" = set; then
46609 echo $ECHO_N "(cached) $ECHO_C" >&6
46610 else
46611
46612 ac_ext=cpp
46613 ac_cpp='$CXXCPP $CPPFLAGS'
46614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46617
46618 cat >conftest.$ac_ext <<_ACEOF
46619 /* confdefs.h. */
46620 _ACEOF
46621 cat confdefs.h >>conftest.$ac_ext
46622 cat >>conftest.$ac_ext <<_ACEOF
46623 /* end confdefs.h. */
46624
46625 #include <sys/types.h>
46626 #include <sys/socket.h>
46627
46628 int
46629 main ()
46630 {
46631
46632 socklen_t len;
46633 getsockname(0, 0, &len);
46634
46635 ;
46636 return 0;
46637 }
46638 _ACEOF
46639 rm -f conftest.$ac_objext
46640 if { (ac_try="$ac_compile"
46641 case "(($ac_try" in
46642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46643 *) ac_try_echo=$ac_try;;
46644 esac
46645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46646 (eval "$ac_compile") 2>conftest.er1
46647 ac_status=$?
46648 grep -v '^ *+' conftest.er1 >conftest.err
46649 rm -f conftest.er1
46650 cat conftest.err >&5
46651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46652 (exit $ac_status); } && {
46653 test -z "$ac_cxx_werror_flag" ||
46654 test ! -s conftest.err
46655 } && test -s conftest.$ac_objext; then
46656 wx_cv_type_getsockname3=socklen_t
46657 else
46658 echo "$as_me: failed program was:" >&5
46659 sed 's/^/| /' conftest.$ac_ext >&5
46660
46661
46662 CFLAGS_OLD="$CFLAGS"
46663 if test "$GCC" = yes ; then
46664 CFLAGS="-Werror $CFLAGS"
46665 fi
46666
46667 cat >conftest.$ac_ext <<_ACEOF
46668 /* confdefs.h. */
46669 _ACEOF
46670 cat confdefs.h >>conftest.$ac_ext
46671 cat >>conftest.$ac_ext <<_ACEOF
46672 /* end confdefs.h. */
46673
46674 #include <sys/types.h>
46675 #include <sys/socket.h>
46676
46677 int
46678 main ()
46679 {
46680
46681 size_t len;
46682 getsockname(0, 0, &len);
46683
46684 ;
46685 return 0;
46686 }
46687 _ACEOF
46688 rm -f conftest.$ac_objext
46689 if { (ac_try="$ac_compile"
46690 case "(($ac_try" in
46691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46692 *) ac_try_echo=$ac_try;;
46693 esac
46694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46695 (eval "$ac_compile") 2>conftest.er1
46696 ac_status=$?
46697 grep -v '^ *+' conftest.er1 >conftest.err
46698 rm -f conftest.er1
46699 cat conftest.err >&5
46700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46701 (exit $ac_status); } && {
46702 test -z "$ac_cxx_werror_flag" ||
46703 test ! -s conftest.err
46704 } && test -s conftest.$ac_objext; then
46705 wx_cv_type_getsockname3=size_t
46706 else
46707 echo "$as_me: failed program was:" >&5
46708 sed 's/^/| /' conftest.$ac_ext >&5
46709
46710 cat >conftest.$ac_ext <<_ACEOF
46711 /* confdefs.h. */
46712 _ACEOF
46713 cat confdefs.h >>conftest.$ac_ext
46714 cat >>conftest.$ac_ext <<_ACEOF
46715 /* end confdefs.h. */
46716
46717 #include <sys/types.h>
46718 #include <sys/socket.h>
46719
46720 int
46721 main ()
46722 {
46723
46724 int len;
46725 getsockname(0, 0, &len);
46726
46727 ;
46728 return 0;
46729 }
46730 _ACEOF
46731 rm -f conftest.$ac_objext
46732 if { (ac_try="$ac_compile"
46733 case "(($ac_try" in
46734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46735 *) ac_try_echo=$ac_try;;
46736 esac
46737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46738 (eval "$ac_compile") 2>conftest.er1
46739 ac_status=$?
46740 grep -v '^ *+' conftest.er1 >conftest.err
46741 rm -f conftest.er1
46742 cat conftest.err >&5
46743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46744 (exit $ac_status); } && {
46745 test -z "$ac_cxx_werror_flag" ||
46746 test ! -s conftest.err
46747 } && test -s conftest.$ac_objext; then
46748 wx_cv_type_getsockname3=int
46749 else
46750 echo "$as_me: failed program was:" >&5
46751 sed 's/^/| /' conftest.$ac_ext >&5
46752
46753 wx_cv_type_getsockname3=unknown
46754
46755 fi
46756
46757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46758
46759 fi
46760
46761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46762
46763 CFLAGS="$CFLAGS_OLD"
46764
46765
46766 fi
46767
46768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46769 ac_ext=c
46770 ac_cpp='$CPP $CPPFLAGS'
46771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46774
46775
46776 fi
46777 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46778 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46779
46780 if test "$wx_cv_type_getsockname3" = "unknown"; then
46781 wxUSE_SOCKETS=no
46782 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46783 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46784 else
46785 cat >>confdefs.h <<_ACEOF
46786 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46787 _ACEOF
46788
46789 fi
46790 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46791 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46792 if test "${wx_cv_type_getsockopt5+set}" = set; then
46793 echo $ECHO_N "(cached) $ECHO_C" >&6
46794 else
46795
46796 ac_ext=cpp
46797 ac_cpp='$CXXCPP $CPPFLAGS'
46798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46801
46802 cat >conftest.$ac_ext <<_ACEOF
46803 /* confdefs.h. */
46804 _ACEOF
46805 cat confdefs.h >>conftest.$ac_ext
46806 cat >>conftest.$ac_ext <<_ACEOF
46807 /* end confdefs.h. */
46808
46809 #include <sys/types.h>
46810 #include <sys/socket.h>
46811
46812 int
46813 main ()
46814 {
46815
46816 socklen_t len;
46817 getsockopt(0, 0, 0, 0, &len);
46818
46819 ;
46820 return 0;
46821 }
46822 _ACEOF
46823 rm -f conftest.$ac_objext
46824 if { (ac_try="$ac_compile"
46825 case "(($ac_try" in
46826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46827 *) ac_try_echo=$ac_try;;
46828 esac
46829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46830 (eval "$ac_compile") 2>conftest.er1
46831 ac_status=$?
46832 grep -v '^ *+' conftest.er1 >conftest.err
46833 rm -f conftest.er1
46834 cat conftest.err >&5
46835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46836 (exit $ac_status); } && {
46837 test -z "$ac_cxx_werror_flag" ||
46838 test ! -s conftest.err
46839 } && test -s conftest.$ac_objext; then
46840 wx_cv_type_getsockopt5=socklen_t
46841 else
46842 echo "$as_me: failed program was:" >&5
46843 sed 's/^/| /' conftest.$ac_ext >&5
46844
46845
46846 cat >conftest.$ac_ext <<_ACEOF
46847 /* confdefs.h. */
46848 _ACEOF
46849 cat confdefs.h >>conftest.$ac_ext
46850 cat >>conftest.$ac_ext <<_ACEOF
46851 /* end confdefs.h. */
46852
46853 #include <sys/types.h>
46854 #include <sys/socket.h>
46855
46856 int
46857 main ()
46858 {
46859
46860 size_t len;
46861 getsockopt(0, 0, 0, 0, &len);
46862
46863 ;
46864 return 0;
46865 }
46866 _ACEOF
46867 rm -f conftest.$ac_objext
46868 if { (ac_try="$ac_compile"
46869 case "(($ac_try" in
46870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46871 *) ac_try_echo=$ac_try;;
46872 esac
46873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46874 (eval "$ac_compile") 2>conftest.er1
46875 ac_status=$?
46876 grep -v '^ *+' conftest.er1 >conftest.err
46877 rm -f conftest.er1
46878 cat conftest.err >&5
46879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46880 (exit $ac_status); } && {
46881 test -z "$ac_cxx_werror_flag" ||
46882 test ! -s conftest.err
46883 } && test -s conftest.$ac_objext; then
46884 wx_cv_type_getsockopt5=size_t
46885 else
46886 echo "$as_me: failed program was:" >&5
46887 sed 's/^/| /' conftest.$ac_ext >&5
46888
46889 cat >conftest.$ac_ext <<_ACEOF
46890 /* confdefs.h. */
46891 _ACEOF
46892 cat confdefs.h >>conftest.$ac_ext
46893 cat >>conftest.$ac_ext <<_ACEOF
46894 /* end confdefs.h. */
46895
46896 #include <sys/types.h>
46897 #include <sys/socket.h>
46898
46899 int
46900 main ()
46901 {
46902
46903 int len;
46904 getsockopt(0, 0, 0, 0, &len);
46905
46906 ;
46907 return 0;
46908 }
46909 _ACEOF
46910 rm -f conftest.$ac_objext
46911 if { (ac_try="$ac_compile"
46912 case "(($ac_try" in
46913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46914 *) ac_try_echo=$ac_try;;
46915 esac
46916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46917 (eval "$ac_compile") 2>conftest.er1
46918 ac_status=$?
46919 grep -v '^ *+' conftest.er1 >conftest.err
46920 rm -f conftest.er1
46921 cat conftest.err >&5
46922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46923 (exit $ac_status); } && {
46924 test -z "$ac_cxx_werror_flag" ||
46925 test ! -s conftest.err
46926 } && test -s conftest.$ac_objext; then
46927 wx_cv_type_getsockopt5=int
46928 else
46929 echo "$as_me: failed program was:" >&5
46930 sed 's/^/| /' conftest.$ac_ext >&5
46931
46932 wx_cv_type_getsockopt5=unknown
46933
46934 fi
46935
46936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46937
46938 fi
46939
46940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46941
46942
46943 fi
46944
46945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46946 ac_ext=c
46947 ac_cpp='$CPP $CPPFLAGS'
46948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46951
46952
46953 fi
46954 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46955 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46956
46957 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46958 wxUSE_SOCKETS=no
46959 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46960 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46961 else
46962 cat >>confdefs.h <<_ACEOF
46963 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46964 _ACEOF
46965
46966 fi
46967 fi
46968 fi
46969
46970 if test "$wxUSE_SOCKETS" = "yes" ; then
46971 if test "$wxUSE_IPV6" = "yes"; then
46972 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46973 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46974 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46975 echo $ECHO_N "(cached) $ECHO_C" >&6
46976 else
46977
46978 cat >conftest.$ac_ext <<_ACEOF
46979 /* confdefs.h. */
46980 _ACEOF
46981 cat confdefs.h >>conftest.$ac_ext
46982 cat >>conftest.$ac_ext <<_ACEOF
46983 /* end confdefs.h. */
46984
46985 #include <sys/types.h>
46986 #include <sys/socket.h>
46987 #include <netinet/in.h>
46988
46989 int
46990 main ()
46991 {
46992
46993 struct sockaddr_in6 sa6;
46994
46995 ;
46996 return 0;
46997 }
46998 _ACEOF
46999 rm -f conftest.$ac_objext
47000 if { (ac_try="$ac_compile"
47001 case "(($ac_try" in
47002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47003 *) ac_try_echo=$ac_try;;
47004 esac
47005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47006 (eval "$ac_compile") 2>conftest.er1
47007 ac_status=$?
47008 grep -v '^ *+' conftest.er1 >conftest.err
47009 rm -f conftest.er1
47010 cat conftest.err >&5
47011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47012 (exit $ac_status); } && {
47013 test -z "$ac_c_werror_flag" ||
47014 test ! -s conftest.err
47015 } && test -s conftest.$ac_objext; then
47016 wx_cv_type_sockaddr_in6=yes
47017 else
47018 echo "$as_me: failed program was:" >&5
47019 sed 's/^/| /' conftest.$ac_ext >&5
47020
47021 wx_cv_type_sockaddr_in6=no
47022
47023 fi
47024
47025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47026
47027
47028 fi
47029 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
47030 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
47031
47032 if test "$wx_cv_type_sockaddr_in6"="yes"; then
47033 cat >>confdefs.h <<\_ACEOF
47034 #define wxUSE_IPV6 1
47035 _ACEOF
47036
47037 else
47038 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
47039 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
47040 fi
47041 fi
47042
47043 cat >>confdefs.h <<\_ACEOF
47044 #define wxUSE_SOCKETS 1
47045 _ACEOF
47046
47047 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47048 fi
47049
47050 if test "$wxUSE_PROTOCOL" = "yes"; then
47051 if test "$wxUSE_SOCKETS" != "yes"; then
47052 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47053 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47054 wxUSE_PROTOCOL=no
47055 fi
47056 fi
47057
47058 if test "$wxUSE_PROTOCOL" = "yes"; then
47059 cat >>confdefs.h <<\_ACEOF
47060 #define wxUSE_PROTOCOL 1
47061 _ACEOF
47062
47063
47064 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47065 cat >>confdefs.h <<\_ACEOF
47066 #define wxUSE_PROTOCOL_HTTP 1
47067 _ACEOF
47068
47069 fi
47070 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47071 cat >>confdefs.h <<\_ACEOF
47072 #define wxUSE_PROTOCOL_FTP 1
47073 _ACEOF
47074
47075 fi
47076 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47077 cat >>confdefs.h <<\_ACEOF
47078 #define wxUSE_PROTOCOL_FILE 1
47079 _ACEOF
47080
47081 fi
47082 else
47083 if test "$wxUSE_FS_INET" = "yes"; then
47084 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47085 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47086 wxUSE_FS_INET="no"
47087 fi
47088 fi
47089
47090 if test "$wxUSE_URL" = "yes"; then
47091 if test "$wxUSE_PROTOCOL" != "yes"; then
47092 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47093 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47094 wxUSE_URL=no
47095 fi
47096 if test "$wxUSE_URL" = "yes"; then
47097 cat >>confdefs.h <<\_ACEOF
47098 #define wxUSE_URL 1
47099 _ACEOF
47100
47101 fi
47102 fi
47103
47104 if test "$wxUSE_VARIANT" = "yes"; then
47105 cat >>confdefs.h <<\_ACEOF
47106 #define wxUSE_VARIANT 1
47107 _ACEOF
47108
47109 fi
47110
47111 if test "$wxUSE_FS_INET" = "yes"; then
47112 cat >>confdefs.h <<\_ACEOF
47113 #define wxUSE_FS_INET 1
47114 _ACEOF
47115
47116 fi
47117
47118
47119 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47120 wxUSE_JOYSTICK=no
47121
47122 if test "$TOOLKIT" = "MSW"; then
47123 wxUSE_JOYSTICK=yes
47124
47125 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47126 if test "$USE_DARWIN" = 1; then
47127 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47128 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47129 ac_ext=cpp
47130 ac_cpp='$CXXCPP $CPPFLAGS'
47131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47134
47135 cat >conftest.$ac_ext <<_ACEOF
47136 /* confdefs.h. */
47137 _ACEOF
47138 cat confdefs.h >>conftest.$ac_ext
47139 cat >>conftest.$ac_ext <<_ACEOF
47140 /* end confdefs.h. */
47141 #include <IOKit/hid/IOHIDLib.h>
47142 int
47143 main ()
47144 {
47145 IOHIDQueueInterface *qi = NULL;
47146 IOHIDCallbackFunction cb = NULL;
47147 qi->setEventCallout(NULL, cb, NULL, NULL);
47148 ;
47149 return 0;
47150 }
47151 _ACEOF
47152 rm -f conftest.$ac_objext
47153 if { (ac_try="$ac_compile"
47154 case "(($ac_try" in
47155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47156 *) ac_try_echo=$ac_try;;
47157 esac
47158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47159 (eval "$ac_compile") 2>conftest.er1
47160 ac_status=$?
47161 grep -v '^ *+' conftest.er1 >conftest.err
47162 rm -f conftest.er1
47163 cat conftest.err >&5
47164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47165 (exit $ac_status); } && {
47166 test -z "$ac_cxx_werror_flag" ||
47167 test ! -s conftest.err
47168 } && test -s conftest.$ac_objext; then
47169 wxUSE_JOYSTICK=yes
47170
47171 else
47172 echo "$as_me: failed program was:" >&5
47173 sed 's/^/| /' conftest.$ac_ext >&5
47174
47175
47176 fi
47177
47178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47179 ac_ext=c
47180 ac_cpp='$CPP $CPPFLAGS'
47181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47184
47185 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47186 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47187 fi
47188
47189 else
47190 if test "$wxUSE_MGL" != 1; then
47191
47192 for ac_header in linux/joystick.h
47193 do
47194 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47195 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47196 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47197 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47198 echo $ECHO_N "(cached) $ECHO_C" >&6
47199 else
47200 cat >conftest.$ac_ext <<_ACEOF
47201 /* confdefs.h. */
47202 _ACEOF
47203 cat confdefs.h >>conftest.$ac_ext
47204 cat >>conftest.$ac_ext <<_ACEOF
47205 /* end confdefs.h. */
47206 $ac_includes_default
47207
47208 #include <$ac_header>
47209 _ACEOF
47210 rm -f conftest.$ac_objext
47211 if { (ac_try="$ac_compile"
47212 case "(($ac_try" in
47213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47214 *) ac_try_echo=$ac_try;;
47215 esac
47216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47217 (eval "$ac_compile") 2>conftest.er1
47218 ac_status=$?
47219 grep -v '^ *+' conftest.er1 >conftest.err
47220 rm -f conftest.er1
47221 cat conftest.err >&5
47222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47223 (exit $ac_status); } && {
47224 test -z "$ac_c_werror_flag" ||
47225 test ! -s conftest.err
47226 } && test -s conftest.$ac_objext; then
47227 eval "$as_ac_Header=yes"
47228 else
47229 echo "$as_me: failed program was:" >&5
47230 sed 's/^/| /' conftest.$ac_ext >&5
47231
47232 eval "$as_ac_Header=no"
47233 fi
47234
47235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47236 fi
47237 ac_res=`eval echo '${'$as_ac_Header'}'`
47238 { echo "$as_me:$LINENO: result: $ac_res" >&5
47239 echo "${ECHO_T}$ac_res" >&6; }
47240 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47241 cat >>confdefs.h <<_ACEOF
47242 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47243 _ACEOF
47244 wxUSE_JOYSTICK=yes
47245 fi
47246
47247 done
47248
47249 fi
47250 fi
47251
47252 if test "$wxUSE_JOYSTICK" = "yes"; then
47253 cat >>confdefs.h <<\_ACEOF
47254 #define wxUSE_JOYSTICK 1
47255 _ACEOF
47256
47257 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47258 else
47259 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47260 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47261 fi
47262 fi
47263
47264
47265
47266 if test "$wxUSE_FONTENUM" = "yes" ; then
47267 cat >>confdefs.h <<\_ACEOF
47268 #define wxUSE_FONTENUM 1
47269 _ACEOF
47270
47271 fi
47272
47273 if test "$wxUSE_FONTMAP" = "yes" ; then
47274 cat >>confdefs.h <<\_ACEOF
47275 #define wxUSE_FONTMAP 1
47276 _ACEOF
47277
47278 fi
47279
47280 if test "$wxUSE_UNICODE" = "yes" ; then
47281 cat >>confdefs.h <<\_ACEOF
47282 #define wxUSE_UNICODE 1
47283 _ACEOF
47284
47285
47286 if test "$USE_WIN32" != 1; then
47287 wxUSE_UNICODE_MSLU=no
47288 fi
47289
47290 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47291 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47292 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47293 if test "${ac_cv_lib_unicows_main+set}" = set; then
47294 echo $ECHO_N "(cached) $ECHO_C" >&6
47295 else
47296 ac_check_lib_save_LIBS=$LIBS
47297 LIBS="-lunicows $LIBS"
47298 cat >conftest.$ac_ext <<_ACEOF
47299 /* confdefs.h. */
47300 _ACEOF
47301 cat confdefs.h >>conftest.$ac_ext
47302 cat >>conftest.$ac_ext <<_ACEOF
47303 /* end confdefs.h. */
47304
47305
47306 int
47307 main ()
47308 {
47309 return main ();
47310 ;
47311 return 0;
47312 }
47313 _ACEOF
47314 rm -f conftest.$ac_objext conftest$ac_exeext
47315 if { (ac_try="$ac_link"
47316 case "(($ac_try" in
47317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47318 *) ac_try_echo=$ac_try;;
47319 esac
47320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47321 (eval "$ac_link") 2>conftest.er1
47322 ac_status=$?
47323 grep -v '^ *+' conftest.er1 >conftest.err
47324 rm -f conftest.er1
47325 cat conftest.err >&5
47326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47327 (exit $ac_status); } && {
47328 test -z "$ac_c_werror_flag" ||
47329 test ! -s conftest.err
47330 } && test -s conftest$ac_exeext &&
47331 $as_test_x conftest$ac_exeext; then
47332 ac_cv_lib_unicows_main=yes
47333 else
47334 echo "$as_me: failed program was:" >&5
47335 sed 's/^/| /' conftest.$ac_ext >&5
47336
47337 ac_cv_lib_unicows_main=no
47338 fi
47339
47340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47341 conftest$ac_exeext conftest.$ac_ext
47342 LIBS=$ac_check_lib_save_LIBS
47343 fi
47344 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47345 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47346 if test $ac_cv_lib_unicows_main = yes; then
47347
47348 cat >>confdefs.h <<\_ACEOF
47349 #define wxUSE_UNICODE_MSLU 1
47350 _ACEOF
47351
47352
47353 else
47354
47355 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47356 Applications will only run on Windows NT/2000/XP!" >&5
47357 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47358 Applications will only run on Windows NT/2000/XP!" >&2;}
47359 wxUSE_UNICODE_MSLU=no
47360
47361 fi
47362
47363 fi
47364 fi
47365
47366 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47367 cat >>confdefs.h <<\_ACEOF
47368 #define wxUSE_UNICODE_UTF8 1
47369 _ACEOF
47370
47371
47372 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47373 cat >>confdefs.h <<\_ACEOF
47374 #define wxUSE_UTF8_LOCALE_ONLY 1
47375 _ACEOF
47376
47377 fi
47378 fi
47379
47380
47381 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47382 cat >>confdefs.h <<\_ACEOF
47383 #define wxUSE_CONSTRAINTS 1
47384 _ACEOF
47385
47386 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47387 fi
47388
47389 if test "$wxUSE_MDI" = "yes"; then
47390 cat >>confdefs.h <<\_ACEOF
47391 #define wxUSE_MDI 1
47392 _ACEOF
47393
47394
47395 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47396 cat >>confdefs.h <<\_ACEOF
47397 #define wxUSE_MDI_ARCHITECTURE 1
47398 _ACEOF
47399
47400 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47401 fi
47402 fi
47403
47404 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47405 cat >>confdefs.h <<\_ACEOF
47406 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47407 _ACEOF
47408
47409 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47410 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47411 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47412 fi
47413 fi
47414
47415 if test "$wxUSE_HELP" = "yes"; then
47416 cat >>confdefs.h <<\_ACEOF
47417 #define wxUSE_HELP 1
47418 _ACEOF
47419
47420 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47421
47422 if test "$wxUSE_MSW" = 1; then
47423 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47424 cat >>confdefs.h <<\_ACEOF
47425 #define wxUSE_MS_HTML_HELP 1
47426 _ACEOF
47427
47428 fi
47429 fi
47430
47431 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47432 if test "$wxUSE_HTML" = "yes"; then
47433 cat >>confdefs.h <<\_ACEOF
47434 #define wxUSE_WXHTML_HELP 1
47435 _ACEOF
47436
47437 else
47438 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47439 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47440 wxUSE_WXHTML_HELP=no
47441 fi
47442 fi
47443 fi
47444
47445 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47446 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47447 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47448 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47449 else
47450 cat >>confdefs.h <<\_ACEOF
47451 #define wxUSE_PRINTING_ARCHITECTURE 1
47452 _ACEOF
47453
47454 fi
47455 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47456 fi
47457
47458 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47459 cat >>confdefs.h <<\_ACEOF
47460 #define wxUSE_POSTSCRIPT 1
47461 _ACEOF
47462
47463 fi
47464
47465 cat >>confdefs.h <<\_ACEOF
47466 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47467 _ACEOF
47468
47469
47470 if test "$wxUSE_SVG" = "yes"; then
47471 cat >>confdefs.h <<\_ACEOF
47472 #define wxUSE_SVG 1
47473 _ACEOF
47474
47475 fi
47476
47477
47478 if test "$wxUSE_METAFILE" = "yes"; then
47479 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47480 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47481 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47482 wxUSE_METAFILE=no
47483 fi
47484 fi
47485
47486
47487 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47488 -o "$wxUSE_CLIPBOARD" = "yes" \
47489 -o "$wxUSE_OLE" = "yes" \
47490 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47491 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47492 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47493 if test "${ac_cv_header_ole2_h+set}" = set; then
47494 echo $ECHO_N "(cached) $ECHO_C" >&6
47495 else
47496 cat >conftest.$ac_ext <<_ACEOF
47497 /* confdefs.h. */
47498 _ACEOF
47499 cat confdefs.h >>conftest.$ac_ext
47500 cat >>conftest.$ac_ext <<_ACEOF
47501 /* end confdefs.h. */
47502
47503
47504 #include <ole2.h>
47505 _ACEOF
47506 rm -f conftest.$ac_objext
47507 if { (ac_try="$ac_compile"
47508 case "(($ac_try" in
47509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47510 *) ac_try_echo=$ac_try;;
47511 esac
47512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47513 (eval "$ac_compile") 2>conftest.er1
47514 ac_status=$?
47515 grep -v '^ *+' conftest.er1 >conftest.err
47516 rm -f conftest.er1
47517 cat conftest.err >&5
47518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47519 (exit $ac_status); } && {
47520 test -z "$ac_c_werror_flag" ||
47521 test ! -s conftest.err
47522 } && test -s conftest.$ac_objext; then
47523 ac_cv_header_ole2_h=yes
47524 else
47525 echo "$as_me: failed program was:" >&5
47526 sed 's/^/| /' conftest.$ac_ext >&5
47527
47528 ac_cv_header_ole2_h=no
47529 fi
47530
47531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47532 fi
47533 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47534 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47535
47536
47537
47538 if test "$ac_cv_header_ole2_h" = "yes" ; then
47539 if test "$GCC" = yes ; then
47540 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47541 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47542 cat >conftest.$ac_ext <<_ACEOF
47543 /* confdefs.h. */
47544 _ACEOF
47545 cat confdefs.h >>conftest.$ac_ext
47546 cat >>conftest.$ac_ext <<_ACEOF
47547 /* end confdefs.h. */
47548 #include <windows.h>
47549 #include <ole2.h>
47550 int
47551 main ()
47552 {
47553
47554 ;
47555 return 0;
47556 }
47557 _ACEOF
47558 rm -f conftest.$ac_objext
47559 if { (ac_try="$ac_compile"
47560 case "(($ac_try" in
47561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47562 *) ac_try_echo=$ac_try;;
47563 esac
47564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47565 (eval "$ac_compile") 2>conftest.er1
47566 ac_status=$?
47567 grep -v '^ *+' conftest.er1 >conftest.err
47568 rm -f conftest.er1
47569 cat conftest.err >&5
47570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47571 (exit $ac_status); } && {
47572 test -z "$ac_c_werror_flag" ||
47573 test ! -s conftest.err
47574 } && test -s conftest.$ac_objext; then
47575 { echo "$as_me:$LINENO: result: no" >&5
47576 echo "${ECHO_T}no" >&6; }
47577 else
47578 echo "$as_me: failed program was:" >&5
47579 sed 's/^/| /' conftest.$ac_ext >&5
47580
47581 { echo "$as_me:$LINENO: result: yes" >&5
47582 echo "${ECHO_T}yes" >&6; }
47583 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47584 fi
47585
47586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47587 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47588 if test "$wxUSE_OLE" = "yes" ; then
47589 cat >>confdefs.h <<\_ACEOF
47590 #define wxUSE_OLE 1
47591 _ACEOF
47592
47593 cat >>confdefs.h <<\_ACEOF
47594 #define wxUSE_OLE_AUTOMATION 1
47595 _ACEOF
47596
47597 cat >>confdefs.h <<\_ACEOF
47598 #define wxUSE_ACTIVEX 1
47599 _ACEOF
47600
47601 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47602 fi
47603 fi
47604
47605 if test "$wxUSE_DATAOBJ" = "yes" ; then
47606 cat >>confdefs.h <<\_ACEOF
47607 #define wxUSE_DATAOBJ 1
47608 _ACEOF
47609
47610 fi
47611 else
47612 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47613 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47614
47615 wxUSE_CLIPBOARD=no
47616 wxUSE_DRAG_AND_DROP=no
47617 wxUSE_DATAOBJ=no
47618 wxUSE_OLE=no
47619 fi
47620
47621 if test "$wxUSE_METAFILE" = "yes"; then
47622 cat >>confdefs.h <<\_ACEOF
47623 #define wxUSE_METAFILE 1
47624 _ACEOF
47625
47626
47627 cat >>confdefs.h <<\_ACEOF
47628 #define wxUSE_ENH_METAFILE 1
47629 _ACEOF
47630
47631 fi
47632 fi
47633
47634 if test "$wxUSE_IPC" = "yes"; then
47635 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47636 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47637 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47638 wxUSE_IPC=no
47639 fi
47640
47641 if test "$wxUSE_IPC" = "yes"; then
47642 cat >>confdefs.h <<\_ACEOF
47643 #define wxUSE_IPC 1
47644 _ACEOF
47645
47646 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47647 fi
47648 fi
47649
47650 if test "$wxUSE_DATAOBJ" = "yes"; then
47651 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47652 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47653 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47654 wxUSE_DATAOBJ=no
47655 else
47656 cat >>confdefs.h <<\_ACEOF
47657 #define wxUSE_DATAOBJ 1
47658 _ACEOF
47659
47660 fi
47661 else
47662 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47663 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47664 wxUSE_CLIPBOARD=no
47665 wxUSE_DRAG_AND_DROP=no
47666 fi
47667
47668 if test "$wxUSE_CLIPBOARD" = "yes"; then
47669 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47670 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47671 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47672 wxUSE_CLIPBOARD=no
47673 fi
47674
47675 if test "$wxUSE_CLIPBOARD" = "yes"; then
47676 cat >>confdefs.h <<\_ACEOF
47677 #define wxUSE_CLIPBOARD 1
47678 _ACEOF
47679
47680 fi
47681 fi
47682
47683 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47684 if test "$wxUSE_GTK" = 1; then
47685 if test "$WXGTK12" != 1; then
47686 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47687 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47688 wxUSE_DRAG_AND_DROP=no
47689 fi
47690 fi
47691
47692 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47693 "$wxUSE_DFB" = 1; then
47694 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47695 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47696 wxUSE_DRAG_AND_DROP=no
47697 fi
47698
47699 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47700 cat >>confdefs.h <<\_ACEOF
47701 #define wxUSE_DRAG_AND_DROP 1
47702 _ACEOF
47703
47704 fi
47705
47706 fi
47707
47708 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47709 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47710 fi
47711
47712 if test "$wxUSE_SPLINES" = "yes" ; then
47713 cat >>confdefs.h <<\_ACEOF
47714 #define wxUSE_SPLINES 1
47715 _ACEOF
47716
47717 fi
47718
47719 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47720 cat >>confdefs.h <<\_ACEOF
47721 #define wxUSE_MOUSEWHEEL 1
47722 _ACEOF
47723
47724 fi
47725
47726
47727 USES_CONTROLS=0
47728 if test "$wxUSE_CONTROLS" = "yes"; then
47729 USES_CONTROLS=1
47730 fi
47731
47732 if test "$wxUSE_ACCEL" = "yes"; then
47733 cat >>confdefs.h <<\_ACEOF
47734 #define wxUSE_ACCEL 1
47735 _ACEOF
47736
47737 USES_CONTROLS=1
47738 fi
47739
47740 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47741 cat >>confdefs.h <<\_ACEOF
47742 #define wxUSE_ANIMATIONCTRL 1
47743 _ACEOF
47744
47745 USES_CONTROLS=1
47746 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47747 fi
47748
47749 if test "$wxUSE_BUTTON" = "yes"; then
47750 cat >>confdefs.h <<\_ACEOF
47751 #define wxUSE_BUTTON 1
47752 _ACEOF
47753
47754 USES_CONTROLS=1
47755 fi
47756
47757 if test "$wxUSE_BMPBUTTON" = "yes"; then
47758 cat >>confdefs.h <<\_ACEOF
47759 #define wxUSE_BMPBUTTON 1
47760 _ACEOF
47761
47762 USES_CONTROLS=1
47763 fi
47764
47765 if test "$wxUSE_CALCTRL" = "yes"; then
47766 cat >>confdefs.h <<\_ACEOF
47767 #define wxUSE_CALENDARCTRL 1
47768 _ACEOF
47769
47770 USES_CONTROLS=1
47771 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47772 fi
47773
47774 if test "$wxUSE_CARET" = "yes"; then
47775 cat >>confdefs.h <<\_ACEOF
47776 #define wxUSE_CARET 1
47777 _ACEOF
47778
47779 USES_CONTROLS=1
47780 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47781 fi
47782
47783 if test "$wxUSE_COLLPANE" = "yes"; then
47784 cat >>confdefs.h <<\_ACEOF
47785 #define wxUSE_COLLPANE 1
47786 _ACEOF
47787
47788 USES_CONTROLS=1
47789 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47790 fi
47791
47792 if test "$wxUSE_COMBOBOX" = "yes"; then
47793 cat >>confdefs.h <<\_ACEOF
47794 #define wxUSE_COMBOBOX 1
47795 _ACEOF
47796
47797 USES_CONTROLS=1
47798 fi
47799
47800 if test "$wxUSE_COMBOCTRL" = "yes"; then
47801 cat >>confdefs.h <<\_ACEOF
47802 #define wxUSE_COMBOCTRL 1
47803 _ACEOF
47804
47805 USES_CONTROLS=1
47806 fi
47807
47808 if test "$wxUSE_CHOICE" = "yes"; then
47809 cat >>confdefs.h <<\_ACEOF
47810 #define wxUSE_CHOICE 1
47811 _ACEOF
47812
47813 USES_CONTROLS=1
47814 fi
47815
47816 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47817 cat >>confdefs.h <<\_ACEOF
47818 #define wxUSE_CHOICEBOOK 1
47819 _ACEOF
47820
47821 USES_CONTROLS=1
47822 fi
47823
47824 if test "$wxUSE_CHECKBOX" = "yes"; then
47825 cat >>confdefs.h <<\_ACEOF
47826 #define wxUSE_CHECKBOX 1
47827 _ACEOF
47828
47829 USES_CONTROLS=1
47830 fi
47831
47832 if test "$wxUSE_CHECKLST" = "yes"; then
47833 cat >>confdefs.h <<\_ACEOF
47834 #define wxUSE_CHECKLISTBOX 1
47835 _ACEOF
47836
47837 USES_CONTROLS=1
47838 fi
47839
47840 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47841 cat >>confdefs.h <<\_ACEOF
47842 #define wxUSE_COLOURPICKERCTRL 1
47843 _ACEOF
47844
47845 USES_CONTROLS=1
47846 fi
47847
47848 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47849 cat >>confdefs.h <<\_ACEOF
47850 #define wxUSE_DATEPICKCTRL 1
47851 _ACEOF
47852
47853 USES_CONTROLS=1
47854 fi
47855
47856 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47857 cat >>confdefs.h <<\_ACEOF
47858 #define wxUSE_DIRPICKERCTRL 1
47859 _ACEOF
47860
47861 USES_CONTROLS=1
47862 fi
47863
47864 if test "$wxUSE_FILECTRL" = "yes"; then
47865 cat >>confdefs.h <<\_ACEOF
47866 #define wxUSE_FILECTRL 1
47867 _ACEOF
47868
47869 USES_CONTROLS=1
47870 fi
47871
47872 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47873 cat >>confdefs.h <<\_ACEOF
47874 #define wxUSE_FILEPICKERCTRL 1
47875 _ACEOF
47876
47877 USES_CONTROLS=1
47878 fi
47879
47880 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47881 cat >>confdefs.h <<\_ACEOF
47882 #define wxUSE_FONTPICKERCTRL 1
47883 _ACEOF
47884
47885 USES_CONTROLS=1
47886 fi
47887
47888 if test "$wxUSE_DISPLAY" = "yes"; then
47889 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47890 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47891 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47892 wxUSE_DISPLAY=no
47893 else
47894 cat >>confdefs.h <<\_ACEOF
47895 #define wxUSE_DISPLAY 1
47896 _ACEOF
47897
47898 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47899 fi
47900 fi
47901
47902 if test "$wxUSE_DETECT_SM" = "yes"; then
47903 cat >>confdefs.h <<\_ACEOF
47904 #define wxUSE_DETECT_SM 1
47905 _ACEOF
47906
47907 fi
47908
47909 if test "$wxUSE_GAUGE" = "yes"; then
47910 cat >>confdefs.h <<\_ACEOF
47911 #define wxUSE_GAUGE 1
47912 _ACEOF
47913
47914 USES_CONTROLS=1
47915 fi
47916
47917 if test "$wxUSE_GRID" = "yes"; then
47918 cat >>confdefs.h <<\_ACEOF
47919 #define wxUSE_GRID 1
47920 _ACEOF
47921
47922 USES_CONTROLS=1
47923 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47924 fi
47925
47926 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47927 cat >>confdefs.h <<\_ACEOF
47928 #define wxUSE_HYPERLINKCTRL 1
47929 _ACEOF
47930
47931 USES_CONTROLS=1
47932 fi
47933
47934 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47935 cat >>confdefs.h <<\_ACEOF
47936 #define wxUSE_BITMAPCOMBOBOX 1
47937 _ACEOF
47938
47939 USES_CONTROLS=1
47940 fi
47941
47942 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47943 cat >>confdefs.h <<\_ACEOF
47944 #define wxUSE_DATAVIEWCTRL 1
47945 _ACEOF
47946
47947 USES_CONTROLS=1
47948 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47949 fi
47950
47951 if test "$wxUSE_IMAGLIST" = "yes"; then
47952 cat >>confdefs.h <<\_ACEOF
47953 #define wxUSE_IMAGLIST 1
47954 _ACEOF
47955
47956 fi
47957
47958 if test "$wxUSE_LISTBOOK" = "yes"; then
47959 cat >>confdefs.h <<\_ACEOF
47960 #define wxUSE_LISTBOOK 1
47961 _ACEOF
47962
47963 USES_CONTROLS=1
47964 fi
47965
47966 if test "$wxUSE_LISTBOX" = "yes"; then
47967 cat >>confdefs.h <<\_ACEOF
47968 #define wxUSE_LISTBOX 1
47969 _ACEOF
47970
47971 USES_CONTROLS=1
47972 fi
47973
47974 if test "$wxUSE_LISTCTRL" = "yes"; then
47975 if test "$wxUSE_IMAGLIST" = "yes"; then
47976 cat >>confdefs.h <<\_ACEOF
47977 #define wxUSE_LISTCTRL 1
47978 _ACEOF
47979
47980 USES_CONTROLS=1
47981 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47982 else
47983 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47984 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47985 fi
47986 fi
47987
47988 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47989 cat >>confdefs.h <<\_ACEOF
47990 #define wxUSE_EDITABLELISTBOX 1
47991 _ACEOF
47992
47993 USES_CONTROLS=1
47994 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
47995 fi
47996
47997 if test "$wxUSE_NOTEBOOK" = "yes"; then
47998 cat >>confdefs.h <<\_ACEOF
47999 #define wxUSE_NOTEBOOK 1
48000 _ACEOF
48001
48002 USES_CONTROLS=1
48003 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
48004 fi
48005
48006 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48007 cat >>confdefs.h <<\_ACEOF
48008 #define wxUSE_ODCOMBOBOX 1
48009 _ACEOF
48010
48011 USES_CONTROLS=1
48012 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
48013 fi
48014
48015 if test "$wxUSE_RADIOBOX" = "yes"; then
48016 cat >>confdefs.h <<\_ACEOF
48017 #define wxUSE_RADIOBOX 1
48018 _ACEOF
48019
48020 USES_CONTROLS=1
48021 fi
48022
48023 if test "$wxUSE_RADIOBTN" = "yes"; then
48024 cat >>confdefs.h <<\_ACEOF
48025 #define wxUSE_RADIOBTN 1
48026 _ACEOF
48027
48028 USES_CONTROLS=1
48029 fi
48030
48031 if test "$wxUSE_SASH" = "yes"; then
48032 cat >>confdefs.h <<\_ACEOF
48033 #define wxUSE_SASH 1
48034 _ACEOF
48035
48036 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48037 fi
48038
48039 if test "$wxUSE_SCROLLBAR" = "yes"; then
48040 cat >>confdefs.h <<\_ACEOF
48041 #define wxUSE_SCROLLBAR 1
48042 _ACEOF
48043
48044 USES_CONTROLS=1
48045 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48046 fi
48047
48048 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48049 cat >>confdefs.h <<\_ACEOF
48050 #define wxUSE_SEARCHCTRL 1
48051 _ACEOF
48052
48053 USES_CONTROLS=1
48054 fi
48055
48056 if test "$wxUSE_SLIDER" = "yes"; then
48057 cat >>confdefs.h <<\_ACEOF
48058 #define wxUSE_SLIDER 1
48059 _ACEOF
48060
48061 USES_CONTROLS=1
48062 fi
48063
48064 if test "$wxUSE_SPINBTN" = "yes"; then
48065 cat >>confdefs.h <<\_ACEOF
48066 #define wxUSE_SPINBTN 1
48067 _ACEOF
48068
48069 USES_CONTROLS=1
48070 fi
48071
48072 if test "$wxUSE_SPINCTRL" = "yes"; then
48073 cat >>confdefs.h <<\_ACEOF
48074 #define wxUSE_SPINCTRL 1
48075 _ACEOF
48076
48077 USES_CONTROLS=1
48078 fi
48079
48080 if test "$wxUSE_SPLITTER" = "yes"; then
48081 cat >>confdefs.h <<\_ACEOF
48082 #define wxUSE_SPLITTER 1
48083 _ACEOF
48084
48085 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48086 fi
48087
48088 if test "$wxUSE_STATBMP" = "yes"; then
48089 cat >>confdefs.h <<\_ACEOF
48090 #define wxUSE_STATBMP 1
48091 _ACEOF
48092
48093 USES_CONTROLS=1
48094 fi
48095
48096 if test "$wxUSE_STATBOX" = "yes"; then
48097 cat >>confdefs.h <<\_ACEOF
48098 #define wxUSE_STATBOX 1
48099 _ACEOF
48100
48101 USES_CONTROLS=1
48102 fi
48103
48104 if test "$wxUSE_STATTEXT" = "yes"; then
48105 cat >>confdefs.h <<\_ACEOF
48106 #define wxUSE_STATTEXT 1
48107 _ACEOF
48108
48109 USES_CONTROLS=1
48110 fi
48111
48112 if test "$wxUSE_STATLINE" = "yes"; then
48113 cat >>confdefs.h <<\_ACEOF
48114 #define wxUSE_STATLINE 1
48115 _ACEOF
48116
48117 USES_CONTROLS=1
48118 fi
48119
48120 if test "$wxUSE_STATUSBAR" = "yes"; then
48121 cat >>confdefs.h <<\_ACEOF
48122 #define wxUSE_NATIVE_STATUSBAR 1
48123 _ACEOF
48124
48125 cat >>confdefs.h <<\_ACEOF
48126 #define wxUSE_STATUSBAR 1
48127 _ACEOF
48128
48129 USES_CONTROLS=1
48130
48131 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48132 fi
48133
48134 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48135 cat >>confdefs.h <<\_ACEOF
48136 #define wxUSE_TAB_DIALOG 1
48137 _ACEOF
48138
48139 fi
48140
48141 if test "$wxUSE_TEXTCTRL" = "yes"; then
48142 cat >>confdefs.h <<\_ACEOF
48143 #define wxUSE_TEXTCTRL 1
48144 _ACEOF
48145
48146 USES_CONTROLS=1
48147 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48148 fi
48149
48150 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48151 if test "$wxUSE_COCOA" = 1 ; then
48152 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48153 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48154 wxUSE_TOGGLEBTN=no
48155 fi
48156
48157 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48158 cat >>confdefs.h <<\_ACEOF
48159 #define wxUSE_TOGGLEBTN 1
48160 _ACEOF
48161
48162 USES_CONTROLS=1
48163 fi
48164 fi
48165
48166 if test "$wxUSE_TOOLBAR" = "yes"; then
48167 cat >>confdefs.h <<\_ACEOF
48168 #define wxUSE_TOOLBAR 1
48169 _ACEOF
48170
48171 USES_CONTROLS=1
48172
48173 if test "$wxUSE_UNIVERSAL" = "yes"; then
48174 wxUSE_TOOLBAR_NATIVE="no"
48175 else
48176 wxUSE_TOOLBAR_NATIVE="yes"
48177 cat >>confdefs.h <<\_ACEOF
48178 #define wxUSE_TOOLBAR_NATIVE 1
48179 _ACEOF
48180
48181 fi
48182
48183 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48184 fi
48185
48186 if test "$wxUSE_TOOLTIPS" = "yes"; then
48187 if test "$wxUSE_MOTIF" = 1; then
48188 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48189 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48190 else
48191 if test "$wxUSE_UNIVERSAL" = "yes"; then
48192 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48193 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48194 else
48195 cat >>confdefs.h <<\_ACEOF
48196 #define wxUSE_TOOLTIPS 1
48197 _ACEOF
48198
48199 fi
48200 fi
48201 fi
48202
48203 if test "$wxUSE_TREEBOOK" = "yes"; then
48204 cat >>confdefs.h <<\_ACEOF
48205 #define wxUSE_TREEBOOK 1
48206 _ACEOF
48207
48208 USES_CONTROLS=1
48209 fi
48210
48211 if test "$wxUSE_TOOLBOOK" = "yes"; then
48212 cat >>confdefs.h <<\_ACEOF
48213 #define wxUSE_TOOLBOOK 1
48214 _ACEOF
48215
48216 USES_CONTROLS=1
48217 fi
48218
48219 if test "$wxUSE_TREECTRL" = "yes"; then
48220 if test "$wxUSE_IMAGLIST" = "yes"; then
48221 cat >>confdefs.h <<\_ACEOF
48222 #define wxUSE_TREECTRL 1
48223 _ACEOF
48224
48225 USES_CONTROLS=1
48226 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48227 else
48228 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48229 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48230 fi
48231 fi
48232
48233 if test "$wxUSE_POPUPWIN" = "yes"; then
48234 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48235 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48236 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48237 else
48238 if test "$wxUSE_PM" = 1; then
48239 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48240 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48241 else
48242 cat >>confdefs.h <<\_ACEOF
48243 #define wxUSE_POPUPWIN 1
48244 _ACEOF
48245
48246 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48247
48248 USES_CONTROLS=1
48249 fi
48250 fi
48251 fi
48252
48253 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48254 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48255 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48256 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48257 else
48258 cat >>confdefs.h <<\_ACEOF
48259 #define wxUSE_DIALUP_MANAGER 1
48260 _ACEOF
48261
48262 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48263 fi
48264 fi
48265
48266 if test "$wxUSE_TIPWINDOW" = "yes"; then
48267 if test "$wxUSE_PM" = 1; then
48268 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48269 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48270 else
48271 cat >>confdefs.h <<\_ACEOF
48272 #define wxUSE_TIPWINDOW 1
48273 _ACEOF
48274
48275 fi
48276 fi
48277
48278 if test "$USES_CONTROLS" = 1; then
48279 cat >>confdefs.h <<\_ACEOF
48280 #define wxUSE_CONTROLS 1
48281 _ACEOF
48282
48283 fi
48284
48285
48286 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48287 cat >>confdefs.h <<\_ACEOF
48288 #define wxUSE_ACCESSIBILITY 1
48289 _ACEOF
48290
48291 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48292 fi
48293
48294 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48295 cat >>confdefs.h <<\_ACEOF
48296 #define wxUSE_DRAGIMAGE 1
48297 _ACEOF
48298
48299 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48300 fi
48301
48302 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48303 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48304 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48305 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48306 else
48307 cat >>confdefs.h <<\_ACEOF
48308 #define wxUSE_EXCEPTIONS 1
48309 _ACEOF
48310
48311 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48312 fi
48313 fi
48314
48315 USE_HTML=0
48316 if test "$wxUSE_HTML" = "yes"; then
48317 cat >>confdefs.h <<\_ACEOF
48318 #define wxUSE_HTML 1
48319 _ACEOF
48320
48321 USE_HTML=1
48322 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48323 if test "$wxUSE_MAC" = 1; then
48324 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48325 fi
48326 fi
48327 if test "$wxUSE_WEBKIT" = "yes"; then
48328 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48329 old_CPPFLAGS="$CPPFLAGS"
48330 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48331 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48332 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48333 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48334 echo $ECHO_N "(cached) $ECHO_C" >&6
48335 else
48336 cat >conftest.$ac_ext <<_ACEOF
48337 /* confdefs.h. */
48338 _ACEOF
48339 cat confdefs.h >>conftest.$ac_ext
48340 cat >>conftest.$ac_ext <<_ACEOF
48341 /* end confdefs.h. */
48342
48343 #include <Carbon/Carbon.h>
48344 #include <WebKit/WebKit.h>
48345
48346
48347 #include <WebKit/HIWebView.h>
48348 _ACEOF
48349 rm -f conftest.$ac_objext
48350 if { (ac_try="$ac_compile"
48351 case "(($ac_try" in
48352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48353 *) ac_try_echo=$ac_try;;
48354 esac
48355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48356 (eval "$ac_compile") 2>conftest.er1
48357 ac_status=$?
48358 grep -v '^ *+' conftest.er1 >conftest.err
48359 rm -f conftest.er1
48360 cat conftest.err >&5
48361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48362 (exit $ac_status); } && {
48363 test -z "$ac_c_werror_flag" ||
48364 test ! -s conftest.err
48365 } && test -s conftest.$ac_objext; then
48366 ac_cv_header_WebKit_HIWebView_h=yes
48367 else
48368 echo "$as_me: failed program was:" >&5
48369 sed 's/^/| /' conftest.$ac_ext >&5
48370
48371 ac_cv_header_WebKit_HIWebView_h=no
48372 fi
48373
48374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48375 fi
48376 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48377 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48378 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48379
48380 cat >>confdefs.h <<\_ACEOF
48381 #define wxUSE_WEBKIT 1
48382 _ACEOF
48383
48384 WEBKIT_LINK="-framework WebKit"
48385
48386 else
48387
48388 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48389 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48390 wxUSE_WEBKIT=no
48391
48392 fi
48393
48394
48395 CPPFLAGS="$old_CPPFLAGS"
48396 elif test "$wxUSE_COCOA" = 1; then
48397 cat >>confdefs.h <<\_ACEOF
48398 #define wxUSE_WEBKIT 1
48399 _ACEOF
48400
48401 else
48402 wxUSE_WEBKIT=no
48403 fi
48404 fi
48405
48406 USE_XRC=0
48407 if test "$wxUSE_XRC" = "yes"; then
48408 if test "$wxUSE_XML" != "yes"; then
48409 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48410 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48411 wxUSE_XRC=no
48412 else
48413 cat >>confdefs.h <<\_ACEOF
48414 #define wxUSE_XRC 1
48415 _ACEOF
48416
48417 USE_XRC=1
48418 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48419 fi
48420 fi
48421
48422 USE_AUI=0
48423 if test "$wxUSE_AUI" = "yes"; then
48424 cat >>confdefs.h <<\_ACEOF
48425 #define wxUSE_AUI 1
48426 _ACEOF
48427
48428 USE_AUI=1
48429 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48430 fi
48431
48432 USE_STC=0
48433 if test "$wxUSE_STC" = "yes"; then
48434 cat >>confdefs.h <<\_ACEOF
48435 #define wxUSE_STC 1
48436 _ACEOF
48437
48438 USE_STC=1
48439 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48440 fi
48441
48442 if test "$wxUSE_MENUS" = "yes"; then
48443 cat >>confdefs.h <<\_ACEOF
48444 #define wxUSE_MENUS 1
48445 _ACEOF
48446
48447 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48448 fi
48449
48450 if test "$wxUSE_METAFILE" = "yes"; then
48451 cat >>confdefs.h <<\_ACEOF
48452 #define wxUSE_METAFILE 1
48453 _ACEOF
48454
48455 fi
48456
48457 if test "$wxUSE_MIMETYPE" = "yes"; then
48458 cat >>confdefs.h <<\_ACEOF
48459 #define wxUSE_MIMETYPE 1
48460 _ACEOF
48461
48462 fi
48463
48464 if test "$wxUSE_MINIFRAME" = "yes"; then
48465 cat >>confdefs.h <<\_ACEOF
48466 #define wxUSE_MINIFRAME 1
48467 _ACEOF
48468
48469 fi
48470
48471 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48472 cat >>confdefs.h <<\_ACEOF
48473 #define wxUSE_SYSTEM_OPTIONS 1
48474 _ACEOF
48475
48476 fi
48477
48478 if test "$wxUSE_TASKBARICON" = "yes"; then
48479 cat >>confdefs.h <<\_ACEOF
48480 #define wxUSE_TASKBARICON 1
48481 _ACEOF
48482
48483 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48484 fi
48485
48486
48487 if test "$wxUSE_VALIDATORS" = "yes"; then
48488 cat >>confdefs.h <<\_ACEOF
48489 #define wxUSE_VALIDATORS 1
48490 _ACEOF
48491
48492 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48493 fi
48494
48495 if test "$wxUSE_PALETTE" = "yes" ; then
48496 if test "$wxUSE_DFB" = 1; then
48497 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48498 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48499 wxUSE_PALETTE=no
48500 else
48501 cat >>confdefs.h <<\_ACEOF
48502 #define wxUSE_PALETTE 1
48503 _ACEOF
48504
48505 fi
48506 fi
48507
48508 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48509 LIBS=" -lunicows $LIBS"
48510 fi
48511
48512 USE_RICHTEXT=0
48513 if test "$wxUSE_RICHTEXT" = "yes"; then
48514 cat >>confdefs.h <<\_ACEOF
48515 #define wxUSE_RICHTEXT 1
48516 _ACEOF
48517
48518 USE_RICHTEXT=1
48519 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48520 fi
48521
48522
48523 if test "$wxUSE_IMAGE" = "yes" ; then
48524 cat >>confdefs.h <<\_ACEOF
48525 #define wxUSE_IMAGE 1
48526 _ACEOF
48527
48528
48529 if test "$wxUSE_GIF" = "yes" ; then
48530 cat >>confdefs.h <<\_ACEOF
48531 #define wxUSE_GIF 1
48532 _ACEOF
48533
48534 fi
48535
48536 if test "$wxUSE_PCX" = "yes" ; then
48537 cat >>confdefs.h <<\_ACEOF
48538 #define wxUSE_PCX 1
48539 _ACEOF
48540
48541 fi
48542
48543 if test "$wxUSE_TGA" = "yes" ; then
48544 cat >>confdefs.h <<\_ACEOF
48545 #define wxUSE_TGA 1
48546 _ACEOF
48547
48548 fi
48549
48550 if test "$wxUSE_IFF" = "yes" ; then
48551 cat >>confdefs.h <<\_ACEOF
48552 #define wxUSE_IFF 1
48553 _ACEOF
48554
48555 fi
48556
48557 if test "$wxUSE_PNM" = "yes" ; then
48558 cat >>confdefs.h <<\_ACEOF
48559 #define wxUSE_PNM 1
48560 _ACEOF
48561
48562 fi
48563
48564 if test "$wxUSE_XPM" = "yes" ; then
48565 cat >>confdefs.h <<\_ACEOF
48566 #define wxUSE_XPM 1
48567 _ACEOF
48568
48569 fi
48570
48571 if test "$wxUSE_ICO_CUR" = "yes" ; then
48572 cat >>confdefs.h <<\_ACEOF
48573 #define wxUSE_ICO_CUR 1
48574 _ACEOF
48575
48576 fi
48577 fi
48578
48579
48580 if test "$wxUSE_ABOUTDLG" = "yes"; then
48581 cat >>confdefs.h <<\_ACEOF
48582 #define wxUSE_ABOUTDLG 1
48583 _ACEOF
48584
48585 fi
48586
48587 if test "$wxUSE_CHOICEDLG" = "yes"; then
48588 cat >>confdefs.h <<\_ACEOF
48589 #define wxUSE_CHOICEDLG 1
48590 _ACEOF
48591
48592 fi
48593
48594 if test "$wxUSE_COLOURDLG" = "yes"; then
48595 cat >>confdefs.h <<\_ACEOF
48596 #define wxUSE_COLOURDLG 1
48597 _ACEOF
48598
48599 fi
48600
48601 if test "$wxUSE_FILEDLG" = "yes"; then
48602 cat >>confdefs.h <<\_ACEOF
48603 #define wxUSE_FILEDLG 1
48604 _ACEOF
48605
48606 fi
48607
48608 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48609 cat >>confdefs.h <<\_ACEOF
48610 #define wxUSE_FINDREPLDLG 1
48611 _ACEOF
48612
48613 fi
48614
48615 if test "$wxUSE_FONTDLG" = "yes"; then
48616 cat >>confdefs.h <<\_ACEOF
48617 #define wxUSE_FONTDLG 1
48618 _ACEOF
48619
48620 fi
48621
48622 if test "$wxUSE_DIRDLG" = "yes"; then
48623 if test "$wxUSE_TREECTRL" != "yes"; then
48624 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48625 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48626 else
48627 cat >>confdefs.h <<\_ACEOF
48628 #define wxUSE_DIRDLG 1
48629 _ACEOF
48630
48631 fi
48632 fi
48633
48634 if test "$wxUSE_MSGDLG" = "yes"; then
48635 cat >>confdefs.h <<\_ACEOF
48636 #define wxUSE_MSGDLG 1
48637 _ACEOF
48638
48639 fi
48640
48641 if test "$wxUSE_NUMBERDLG" = "yes"; then
48642 cat >>confdefs.h <<\_ACEOF
48643 #define wxUSE_NUMBERDLG 1
48644 _ACEOF
48645
48646 fi
48647
48648 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48649 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48650 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48651 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48652 else
48653 cat >>confdefs.h <<\_ACEOF
48654 #define wxUSE_PROGRESSDLG 1
48655 _ACEOF
48656
48657 fi
48658 fi
48659
48660 if test "$wxUSE_SPLASH" = "yes"; then
48661 cat >>confdefs.h <<\_ACEOF
48662 #define wxUSE_SPLASH 1
48663 _ACEOF
48664
48665 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48666 fi
48667
48668 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48669 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48670 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48671 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48672 else
48673 cat >>confdefs.h <<\_ACEOF
48674 #define wxUSE_STARTUP_TIPS 1
48675 _ACEOF
48676
48677 fi
48678 fi
48679
48680 if test "$wxUSE_TEXTDLG" = "yes"; then
48681 cat >>confdefs.h <<\_ACEOF
48682 #define wxUSE_TEXTDLG 1
48683 _ACEOF
48684
48685 fi
48686
48687 if test "$wxUSE_WIZARDDLG" = "yes"; then
48688 cat >>confdefs.h <<\_ACEOF
48689 #define wxUSE_WIZARDDLG 1
48690 _ACEOF
48691
48692 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48693 fi
48694
48695
48696 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48697 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48698 cat >>confdefs.h <<\_ACEOF
48699 #define wxUSE_OWNER_DRAWN 1
48700 _ACEOF
48701
48702 fi
48703 fi
48704
48705
48706 if test "$wxUSE_MSW" = 1 ; then
48707
48708 if test "$wxUSE_DC_CACHEING" = "yes"; then
48709 cat >>confdefs.h <<\_ACEOF
48710 #define wxUSE_DC_CACHEING 1
48711 _ACEOF
48712
48713 fi
48714
48715 if test "$wxUSE_DIB" = "yes"; then
48716 cat >>confdefs.h <<\_ACEOF
48717 #define wxUSE_WXDIB 1
48718 _ACEOF
48719
48720 fi
48721
48722 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48723 cat >>confdefs.h <<\_ACEOF
48724 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48725 _ACEOF
48726
48727 fi
48728
48729 if test "$wxUSE_UXTHEME" = "yes"; then
48730 cat >>confdefs.h <<\_ACEOF
48731 #define wxUSE_UXTHEME 1
48732 _ACEOF
48733
48734 fi
48735
48736 fi
48737
48738
48739 if test "$USE_WIN32" = 1 ; then
48740 if test "$wxUSE_INICONF" = "yes"; then
48741 cat >>confdefs.h <<\_ACEOF
48742 #define wxUSE_INICONF 1
48743 _ACEOF
48744
48745 fi
48746
48747 if test "$wxUSE_REGKEY" = "yes"; then
48748 cat >>confdefs.h <<\_ACEOF
48749 #define wxUSE_REGKEY 1
48750 _ACEOF
48751
48752 fi
48753 fi
48754
48755
48756 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48757 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
48758 cat >>confdefs.h <<\_ACEOF
48759 #define wxUSE_GRAPHICS_CONTEXT 1
48760 _ACEOF
48761
48762 elif test "$wxUSE_GTK" != 1; then
48763 cat >>confdefs.h <<\_ACEOF
48764 #define wxUSE_GRAPHICS_CONTEXT 1
48765 _ACEOF
48766
48767 else
48768
48769 pkg_failed=no
48770 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48771 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48772
48773 if test -n "$PKG_CONFIG"; then
48774 if test -n "$CAIRO_CFLAGS"; then
48775 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48776 else
48777 if test -n "$PKG_CONFIG" && \
48778 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48779 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48780 ac_status=$?
48781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48782 (exit $ac_status); }; then
48783 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48784 else
48785 pkg_failed=yes
48786 fi
48787 fi
48788 else
48789 pkg_failed=untried
48790 fi
48791 if test -n "$PKG_CONFIG"; then
48792 if test -n "$CAIRO_LIBS"; then
48793 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48794 else
48795 if test -n "$PKG_CONFIG" && \
48796 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48797 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48798 ac_status=$?
48799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48800 (exit $ac_status); }; then
48801 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48802 else
48803 pkg_failed=yes
48804 fi
48805 fi
48806 else
48807 pkg_failed=untried
48808 fi
48809
48810
48811
48812 if test $pkg_failed = yes; then
48813
48814 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48815 _pkg_short_errors_supported=yes
48816 else
48817 _pkg_short_errors_supported=no
48818 fi
48819 if test $_pkg_short_errors_supported = yes; then
48820 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48821 else
48822 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48823 fi
48824 # Put the nasty error message in config.log where it belongs
48825 echo "$CAIRO_PKG_ERRORS" >&5
48826
48827 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48828 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48829
48830 elif test $pkg_failed = untried; then
48831 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48832 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48833
48834 else
48835 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48836 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48837 { echo "$as_me:$LINENO: result: yes" >&5
48838 echo "${ECHO_T}yes" >&6; }
48839 cat >>confdefs.h <<\_ACEOF
48840 #define wxUSE_GRAPHICS_CONTEXT 1
48841 _ACEOF
48842
48843 fi
48844 fi
48845 fi
48846
48847
48848 USE_MEDIA=0
48849
48850 if test "$wxUSE_MEDIACTRL" = "yes"; then
48851 USE_MEDIA=1
48852
48853 if test "$wxUSE_GTK" = 1; then
48854 wxUSE_GSTREAMER="no"
48855
48856 GST_VERSION_MAJOR=0
48857 GST_VERSION_MINOR=10
48858 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48859
48860 if test "$wxUSE_GSTREAMER8" = "no"; then
48861
48862 pkg_failed=no
48863 { echo "$as_me:$LINENO: checking for GST" >&5
48864 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48865
48866 if test -n "$PKG_CONFIG"; then
48867 if test -n "$GST_CFLAGS"; then
48868 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48869 else
48870 if test -n "$PKG_CONFIG" && \
48871 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48872 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48873 ac_status=$?
48874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48875 (exit $ac_status); }; then
48876 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48877 else
48878 pkg_failed=yes
48879 fi
48880 fi
48881 else
48882 pkg_failed=untried
48883 fi
48884 if test -n "$PKG_CONFIG"; then
48885 if test -n "$GST_LIBS"; then
48886 pkg_cv_GST_LIBS="$GST_LIBS"
48887 else
48888 if test -n "$PKG_CONFIG" && \
48889 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48890 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48891 ac_status=$?
48892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48893 (exit $ac_status); }; then
48894 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48895 else
48896 pkg_failed=yes
48897 fi
48898 fi
48899 else
48900 pkg_failed=untried
48901 fi
48902
48903
48904
48905 if test $pkg_failed = yes; then
48906
48907 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48908 _pkg_short_errors_supported=yes
48909 else
48910 _pkg_short_errors_supported=no
48911 fi
48912 if test $_pkg_short_errors_supported = yes; then
48913 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48914 else
48915 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48916 fi
48917 # Put the nasty error message in config.log where it belongs
48918 echo "$GST_PKG_ERRORS" >&5
48919
48920
48921 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48922 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48923 GST_VERSION_MINOR=8
48924
48925
48926 elif test $pkg_failed = untried; then
48927
48928 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48929 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48930 GST_VERSION_MINOR=8
48931
48932
48933 else
48934 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48935 GST_LIBS=$pkg_cv_GST_LIBS
48936 { echo "$as_me:$LINENO: result: yes" >&5
48937 echo "${ECHO_T}yes" >&6; }
48938
48939 wxUSE_GSTREAMER="yes"
48940 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48941
48942 fi
48943 else
48944 GST_VERSION_MINOR=8
48945 fi
48946
48947 if test $GST_VERSION_MINOR = "8"; then
48948 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48949
48950 pkg_failed=no
48951 { echo "$as_me:$LINENO: checking for GST" >&5
48952 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48953
48954 if test -n "$PKG_CONFIG"; then
48955 if test -n "$GST_CFLAGS"; then
48956 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48957 else
48958 if test -n "$PKG_CONFIG" && \
48959 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48960 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48961 ac_status=$?
48962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48963 (exit $ac_status); }; then
48964 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48965 else
48966 pkg_failed=yes
48967 fi
48968 fi
48969 else
48970 pkg_failed=untried
48971 fi
48972 if test -n "$PKG_CONFIG"; then
48973 if test -n "$GST_LIBS"; then
48974 pkg_cv_GST_LIBS="$GST_LIBS"
48975 else
48976 if test -n "$PKG_CONFIG" && \
48977 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48978 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48979 ac_status=$?
48980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48981 (exit $ac_status); }; then
48982 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48983 else
48984 pkg_failed=yes
48985 fi
48986 fi
48987 else
48988 pkg_failed=untried
48989 fi
48990
48991
48992
48993 if test $pkg_failed = yes; then
48994
48995 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48996 _pkg_short_errors_supported=yes
48997 else
48998 _pkg_short_errors_supported=no
48999 fi
49000 if test $_pkg_short_errors_supported = yes; then
49001 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49002 else
49003 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49004 fi
49005 # Put the nasty error message in config.log where it belongs
49006 echo "$GST_PKG_ERRORS" >&5
49007
49008
49009 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49010 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49011
49012 elif test $pkg_failed = untried; then
49013
49014 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49015 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49016
49017 else
49018 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49019 GST_LIBS=$pkg_cv_GST_LIBS
49020 { echo "$as_me:$LINENO: result: yes" >&5
49021 echo "${ECHO_T}yes" >&6; }
49022 wxUSE_GSTREAMER="yes"
49023 fi
49024 fi
49025
49026
49027 if test "$wxUSE_GSTREAMER" = "yes"; then
49028 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
49029 EXTRALIBS_MEDIA="$GST_LIBS"
49030
49031 cat >>confdefs.h <<\_ACEOF
49032 #define wxUSE_GSTREAMER 1
49033 _ACEOF
49034
49035 else
49036 USE_MEDIA=0
49037 fi
49038 fi
49039
49040 if test $USE_MEDIA = 1; then
49041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
49042 cat >>confdefs.h <<\_ACEOF
49043 #define wxUSE_MEDIACTRL 1
49044 _ACEOF
49045
49046 fi
49047 fi
49048
49049
49050 if test "$cross_compiling" = "yes"; then
49051 OSINFO="\"$host\""
49052 else
49053 OSINFO=`uname -s -r -m`
49054 OSINFO="\"$OSINFO\""
49055 fi
49056
49057 cat >>confdefs.h <<_ACEOF
49058 #define WXWIN_OS_DESCRIPTION $OSINFO
49059 _ACEOF
49060
49061
49062
49063 if test "x$prefix" != "xNONE"; then
49064 wxPREFIX=$prefix
49065 else
49066 wxPREFIX=$ac_default_prefix
49067 fi
49068
49069 cat >>confdefs.h <<_ACEOF
49070 #define wxINSTALL_PREFIX "$wxPREFIX"
49071 _ACEOF
49072
49073
49074
49075
49076 STD_BASE_LIBS="base"
49077 STD_GUI_LIBS=""
49078 BUILT_WX_LIBS="base"
49079 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
49080
49081 if test "$wxUSE_SOCKETS" = "yes" ; then
49082 STD_BASE_LIBS="net $STD_BASE_LIBS"
49083 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49084 fi
49085 if test "$wxUSE_XML" = "yes" ; then
49086 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49087 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49088 fi
49089
49090 if test "$wxUSE_GUI" = "yes"; then
49091 STD_GUI_LIBS="adv core"
49092 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49093
49094 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49095 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49096 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49097 fi
49098 if test "$wxUSE_HTML" = "yes" ; then
49099 STD_GUI_LIBS="html $STD_GUI_LIBS"
49100 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49101 fi
49102 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49103 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49104 fi
49105 if test "$wxUSE_OPENGL" = "yes" ; then
49106 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49107 fi
49108 if test "$wxUSE_AUI" = "yes" ; then
49109 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49110 fi
49111 if test "$wxUSE_STC" = "yes" ; then
49112 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49113 fi
49114 if test "$wxUSE_XRC" = "yes" ; then
49115 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49116 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49117 fi
49118 fi
49119
49120
49121
49122
49123
49124
49125
49126
49127 if test "$wxUSE_MAC" = 1 ; then
49128 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49129 if test "$USE_DARWIN" = 1; then
49130 LDFLAGS="$LDFLAGS -framework QuickTime"
49131 else
49132 LDFLAGS="$LDFLAGS -lQuickTimeLib"
49133 fi
49134 fi
49135 if test "$USE_DARWIN" = 1; then
49136 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49137 else
49138 LDFLAGS="$LDFLAGS -lCarbonLib"
49139 fi
49140 fi
49141 if test "$wxUSE_COCOA" = 1 ; then
49142 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
49143 if test "$wxUSE_MEDIACTRL" = "yes"; then
49144 LDFLAGS="$LDFLAGS -framework QuickTime"
49145 fi
49146 fi
49147 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49148 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49149 fi
49150
49151 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49152
49153 if test "$wxUSE_GUI" = "yes"; then
49154
49155
49156 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49157 erase event exec font image minimal mobile \
49158 mobile/wxedit mobile/styles render \
49159 shaped svg taborder vscroll widgets"
49160
49161 if test "$wxUSE_MONOLITHIC" != "yes"; then
49162 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49163 fi
49164 if test "$TOOLKIT" = "MSW"; then
49165 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49166 if test "$wxUSE_UNIVERSAL" != "yes"; then
49167 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49168 fi
49169 fi
49170 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49171 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49172 fi
49173 else
49174 SAMPLES_SUBDIRS="console"
49175 fi
49176
49177
49178 if test "x$INTELCC" = "xyes" ; then
49179 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49180 elif test "$GCC" = yes ; then
49181 CWARNINGS="-Wall -Wundef"
49182 fi
49183
49184 if test "x$INTELCXX" = "xyes" ; then
49185 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49186 elif test "$GXX" = yes ; then
49187 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
49188 fi
49189
49190
49191 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49192 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49193
49194
49195 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49196 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49197 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49198 $CPPFLAGS `
49199
49200 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49201 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49202 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49203
49204 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49205
49206
49207 if test "x$MWCC" = "xyes"; then
49208
49209 CC="$CC -cwd source -I-"
49210 CXX="$CXX -cwd source -I-"
49211 fi
49212
49213
49214 LIBS=`echo $LIBS`
49215 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49216 EXTRALIBS_XML="$EXPAT_LINK"
49217 EXTRALIBS_HTML="$MSPACK_LINK"
49218 EXTRALIBS_MEDIA="$GST_LIBS"
49219 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49220 if test "$wxUSE_GUI" = "yes"; then
49221 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49222 fi
49223 if test "$wxUSE_OPENGL" = "yes"; then
49224 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49225 fi
49226
49227 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49228
49229 WXCONFIG_LIBS="$LIBS"
49230
49231 if test "$wxUSE_REGEX" = "builtin" ; then
49232 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49233 fi
49234 if test "$wxUSE_EXPAT" = "builtin" ; then
49235 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49236 fi
49237 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49238 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49239 fi
49240 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49241 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49242 fi
49243 if test "$wxUSE_LIBPNG" = "builtin" ; then
49244 wxconfig_3rdparty="png $wxconfig_3rdparty"
49245 fi
49246 if test "$wxUSE_ZLIB" = "builtin" ; then
49247 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49248 fi
49249
49250 for i in $wxconfig_3rdparty ; do
49251 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49252 done
49253
49254
49255 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49256 WXUNIV=1
49257
49258 case "$wxUNIV_THEMES" in
49259 ''|all)
49260 cat >>confdefs.h <<\_ACEOF
49261 #define wxUSE_ALL_THEMES 1
49262 _ACEOF
49263
49264 ;;
49265
49266 *)
49267 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49268 cat >>confdefs.h <<_ACEOF
49269 #define wxUSE_THEME_$t 1
49270 _ACEOF
49271
49272 done
49273 esac
49274 else
49275 WXUNIV=0
49276 fi
49277
49278
49279
49280
49281
49282
49283
49284
49285 if test $wxUSE_MONOLITHIC = "yes" ; then
49286 MONOLITHIC=1
49287 else
49288 MONOLITHIC=0
49289 fi
49290
49291 if test $wxUSE_PLUGINS = "yes" ; then
49292 USE_PLUGINS=1
49293 else
49294 USE_PLUGINS=0
49295 fi
49296
49297 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49298 USE_QA=1
49299 else
49300 USE_QA=0
49301 fi
49302
49303 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49304 OFFICIAL_BUILD=1
49305 else
49306 OFFICIAL_BUILD=0
49307 fi
49308
49309
49310
49311
49312
49313
49314
49315
49316
49317
49318
49319
49320
49321
49322
49323
49324
49325
49326
49327
49328
49329
49330
49331
49332
49333
49334
49335 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr A-Z a-z`
49336
49337
49338
49339
49340
49341
49342
49343
49344 case "$TOOLKIT" in
49345 GTK)
49346 TOOLKIT_DESC="GTK+"
49347 if test "$WXGTK2" = 1; then
49348 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49349 if test "$wxUSE_GTKPRINT" = "yes" ; then
49350 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
49351 fi
49352 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49353 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49354 fi
49355 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49356 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49357 fi
49358 if test "$wxUSE_LIBHILDON" = "yes"; then
49359 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49360 fi
49361
49362 if test "$TOOLKIT_EXTRA" != ""; then
49363 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49364 fi
49365 fi
49366 ;;
49367
49368 ?*)
49369 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49370 ;;
49371
49372 *)
49373 TOOLKIT_DESC="base only"
49374 ;;
49375 esac
49376
49377 if test "$wxUSE_WINE" = "yes"; then
49378 BAKEFILE_FORCE_PLATFORM=win32
49379 fi
49380
49381 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49382 then
49383 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49384 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49385 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49386 echo $ECHO_N "(cached) $ECHO_C" >&6
49387 else
49388
49389 echo '#include <stdio.h>
49390 const wchar_t test_var[] = L"awidetest";' > conftest.h
49391
49392 echo '#include "conftest.h"
49393 int main()
49394 {
49395 printf("%ls", test_var);
49396 return 0;
49397 }' > conftest.cpp
49398
49399 wx_cv_gcc_pch_bug="pch not supported"
49400
49401 if $CXX conftest.h >/dev/null 2>&1
49402 then
49403 wx_cv_gcc_pch_bug=
49404
49405 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49406 then
49407 if tr -dc a-z < conftest$PROGRAM_EXT |
49408 grep awidetest >/dev/null
49409 then
49410 wx_cv_gcc_pch_bug=no
49411 else
49412 wx_cv_gcc_pch_bug=yes
49413 fi
49414 fi
49415 fi
49416
49417 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49418
49419 fi
49420 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49421 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49422
49423 if test "$wx_cv_gcc_pch_bug" = yes; then
49424 bk_use_pch=no
49425 fi
49426 fi
49427
49428
49429
49430
49431 if test "x$BAKEFILE_HOST" = "x"; then
49432 if test "x${host}" = "x" ; then
49433 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49434 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49435 { (exit 1); exit 1; }; }
49436 fi
49437
49438 BAKEFILE_HOST="${host}"
49439 fi
49440
49441 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49442
49443 if test -n "$ac_tool_prefix"; then
49444 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49445 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49446 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49448 if test "${ac_cv_prog_RANLIB+set}" = set; then
49449 echo $ECHO_N "(cached) $ECHO_C" >&6
49450 else
49451 if test -n "$RANLIB"; then
49452 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49453 else
49454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49455 for as_dir in $PATH
49456 do
49457 IFS=$as_save_IFS
49458 test -z "$as_dir" && as_dir=.
49459 for ac_exec_ext in '' $ac_executable_extensions; do
49460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49461 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49463 break 2
49464 fi
49465 done
49466 done
49467 IFS=$as_save_IFS
49468
49469 fi
49470 fi
49471 RANLIB=$ac_cv_prog_RANLIB
49472 if test -n "$RANLIB"; then
49473 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49474 echo "${ECHO_T}$RANLIB" >&6; }
49475 else
49476 { echo "$as_me:$LINENO: result: no" >&5
49477 echo "${ECHO_T}no" >&6; }
49478 fi
49479
49480
49481 fi
49482 if test -z "$ac_cv_prog_RANLIB"; then
49483 ac_ct_RANLIB=$RANLIB
49484 # Extract the first word of "ranlib", so it can be a program name with args.
49485 set dummy ranlib; ac_word=$2
49486 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49488 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49489 echo $ECHO_N "(cached) $ECHO_C" >&6
49490 else
49491 if test -n "$ac_ct_RANLIB"; then
49492 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49493 else
49494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49495 for as_dir in $PATH
49496 do
49497 IFS=$as_save_IFS
49498 test -z "$as_dir" && as_dir=.
49499 for ac_exec_ext in '' $ac_executable_extensions; do
49500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49501 ac_cv_prog_ac_ct_RANLIB="ranlib"
49502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49503 break 2
49504 fi
49505 done
49506 done
49507 IFS=$as_save_IFS
49508
49509 fi
49510 fi
49511 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49512 if test -n "$ac_ct_RANLIB"; then
49513 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49514 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49515 else
49516 { echo "$as_me:$LINENO: result: no" >&5
49517 echo "${ECHO_T}no" >&6; }
49518 fi
49519
49520 if test "x$ac_ct_RANLIB" = x; then
49521 RANLIB=":"
49522 else
49523 case $cross_compiling:$ac_tool_warned in
49524 yes:)
49525 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49526 whose name does not start with the host triplet. If you think this
49527 configuration is useful to you, please write to autoconf@gnu.org." >&5
49528 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49529 whose name does not start with the host triplet. If you think this
49530 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49531 ac_tool_warned=yes ;;
49532 esac
49533 RANLIB=$ac_ct_RANLIB
49534 fi
49535 else
49536 RANLIB="$ac_cv_prog_RANLIB"
49537 fi
49538
49539 # Find a good install program. We prefer a C program (faster),
49540 # so one script is as good as another. But avoid the broken or
49541 # incompatible versions:
49542 # SysV /etc/install, /usr/sbin/install
49543 # SunOS /usr/etc/install
49544 # IRIX /sbin/install
49545 # AIX /bin/install
49546 # AmigaOS /C/install, which installs bootblocks on floppy discs
49547 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49548 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49549 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49550 # OS/2's system install, which has a completely different semantic
49551 # ./install, which can be erroneously created by make from ./install.sh.
49552 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49553 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49554 if test -z "$INSTALL"; then
49555 if test "${ac_cv_path_install+set}" = set; then
49556 echo $ECHO_N "(cached) $ECHO_C" >&6
49557 else
49558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49559 for as_dir in $PATH
49560 do
49561 IFS=$as_save_IFS
49562 test -z "$as_dir" && as_dir=.
49563 # Account for people who put trailing slashes in PATH elements.
49564 case $as_dir/ in
49565 ./ | .// | /cC/* | \
49566 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49567 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49568 /usr/ucb/* ) ;;
49569 *)
49570 # OSF1 and SCO ODT 3.0 have their own names for install.
49571 # Don't use installbsd from OSF since it installs stuff as root
49572 # by default.
49573 for ac_prog in ginstall scoinst install; do
49574 for ac_exec_ext in '' $ac_executable_extensions; do
49575 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49576 if test $ac_prog = install &&
49577 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49578 # AIX install. It has an incompatible calling convention.
49579 :
49580 elif test $ac_prog = install &&
49581 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49582 # program-specific install script used by HP pwplus--don't use.
49583 :
49584 else
49585 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49586 break 3
49587 fi
49588 fi
49589 done
49590 done
49591 ;;
49592 esac
49593 done
49594 IFS=$as_save_IFS
49595
49596
49597 fi
49598 if test "${ac_cv_path_install+set}" = set; then
49599 INSTALL=$ac_cv_path_install
49600 else
49601 # As a last resort, use the slow shell script. Don't cache a
49602 # value for INSTALL within a source directory, because that will
49603 # break other packages using the cache if that directory is
49604 # removed, or if the value is a relative name.
49605 INSTALL=$ac_install_sh
49606 fi
49607 fi
49608 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49609 echo "${ECHO_T}$INSTALL" >&6; }
49610
49611 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49612 # It thinks the first close brace ends the variable substitution.
49613 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49614
49615 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49616
49617 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49618
49619 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49620 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49621 LN_S=$as_ln_s
49622 if test "$LN_S" = "ln -s"; then
49623 { echo "$as_me:$LINENO: result: yes" >&5
49624 echo "${ECHO_T}yes" >&6; }
49625 else
49626 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49627 echo "${ECHO_T}no, using $LN_S" >&6; }
49628 fi
49629
49630
49631 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49632 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49633 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49634 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49635 echo $ECHO_N "(cached) $ECHO_C" >&6
49636 else
49637 cat >conftest.make <<\_ACEOF
49638 SHELL = /bin/sh
49639 all:
49640 @echo '@@@%%%=$(MAKE)=@@@%%%'
49641 _ACEOF
49642 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49643 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49644 *@@@%%%=?*=@@@%%%*)
49645 eval ac_cv_prog_make_${ac_make}_set=yes;;
49646 *)
49647 eval ac_cv_prog_make_${ac_make}_set=no;;
49648 esac
49649 rm -f conftest.make
49650 fi
49651 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49652 { echo "$as_me:$LINENO: result: yes" >&5
49653 echo "${ECHO_T}yes" >&6; }
49654 SET_MAKE=
49655 else
49656 { echo "$as_me:$LINENO: result: no" >&5
49657 echo "${ECHO_T}no" >&6; }
49658 SET_MAKE="MAKE=${MAKE-make}"
49659 fi
49660
49661
49662
49663 if test "x$SUNCXX" = "xyes"; then
49664 AR=$CXX
49665 AROPTIONS="-xar -o"
49666
49667 elif test "x$SGICC" = "xyes"; then
49668 AR=$CXX
49669 AROPTIONS="-ar -o"
49670
49671 else
49672 if test -n "$ac_tool_prefix"; then
49673 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49674 set dummy ${ac_tool_prefix}ar; ac_word=$2
49675 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49677 if test "${ac_cv_prog_AR+set}" = set; then
49678 echo $ECHO_N "(cached) $ECHO_C" >&6
49679 else
49680 if test -n "$AR"; then
49681 ac_cv_prog_AR="$AR" # Let the user override the test.
49682 else
49683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49684 for as_dir in $PATH
49685 do
49686 IFS=$as_save_IFS
49687 test -z "$as_dir" && as_dir=.
49688 for ac_exec_ext in '' $ac_executable_extensions; do
49689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49690 ac_cv_prog_AR="${ac_tool_prefix}ar"
49691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49692 break 2
49693 fi
49694 done
49695 done
49696 IFS=$as_save_IFS
49697
49698 fi
49699 fi
49700 AR=$ac_cv_prog_AR
49701 if test -n "$AR"; then
49702 { echo "$as_me:$LINENO: result: $AR" >&5
49703 echo "${ECHO_T}$AR" >&6; }
49704 else
49705 { echo "$as_me:$LINENO: result: no" >&5
49706 echo "${ECHO_T}no" >&6; }
49707 fi
49708
49709
49710 fi
49711 if test -z "$ac_cv_prog_AR"; then
49712 ac_ct_AR=$AR
49713 # Extract the first word of "ar", so it can be a program name with args.
49714 set dummy ar; ac_word=$2
49715 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49717 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49718 echo $ECHO_N "(cached) $ECHO_C" >&6
49719 else
49720 if test -n "$ac_ct_AR"; then
49721 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49722 else
49723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49724 for as_dir in $PATH
49725 do
49726 IFS=$as_save_IFS
49727 test -z "$as_dir" && as_dir=.
49728 for ac_exec_ext in '' $ac_executable_extensions; do
49729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49730 ac_cv_prog_ac_ct_AR="ar"
49731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49732 break 2
49733 fi
49734 done
49735 done
49736 IFS=$as_save_IFS
49737
49738 fi
49739 fi
49740 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49741 if test -n "$ac_ct_AR"; then
49742 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49743 echo "${ECHO_T}$ac_ct_AR" >&6; }
49744 else
49745 { echo "$as_me:$LINENO: result: no" >&5
49746 echo "${ECHO_T}no" >&6; }
49747 fi
49748
49749 if test "x$ac_ct_AR" = x; then
49750 AR="ar"
49751 else
49752 case $cross_compiling:$ac_tool_warned in
49753 yes:)
49754 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49755 whose name does not start with the host triplet. If you think this
49756 configuration is useful to you, please write to autoconf@gnu.org." >&5
49757 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49758 whose name does not start with the host triplet. If you think this
49759 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49760 ac_tool_warned=yes ;;
49761 esac
49762 AR=$ac_ct_AR
49763 fi
49764 else
49765 AR="$ac_cv_prog_AR"
49766 fi
49767
49768 AROPTIONS=rcu
49769 fi
49770
49771
49772 if test -n "$ac_tool_prefix"; then
49773 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49774 set dummy ${ac_tool_prefix}strip; ac_word=$2
49775 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49777 if test "${ac_cv_prog_STRIP+set}" = set; then
49778 echo $ECHO_N "(cached) $ECHO_C" >&6
49779 else
49780 if test -n "$STRIP"; then
49781 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49782 else
49783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49784 for as_dir in $PATH
49785 do
49786 IFS=$as_save_IFS
49787 test -z "$as_dir" && as_dir=.
49788 for ac_exec_ext in '' $ac_executable_extensions; do
49789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49790 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49792 break 2
49793 fi
49794 done
49795 done
49796 IFS=$as_save_IFS
49797
49798 fi
49799 fi
49800 STRIP=$ac_cv_prog_STRIP
49801 if test -n "$STRIP"; then
49802 { echo "$as_me:$LINENO: result: $STRIP" >&5
49803 echo "${ECHO_T}$STRIP" >&6; }
49804 else
49805 { echo "$as_me:$LINENO: result: no" >&5
49806 echo "${ECHO_T}no" >&6; }
49807 fi
49808
49809
49810 fi
49811 if test -z "$ac_cv_prog_STRIP"; then
49812 ac_ct_STRIP=$STRIP
49813 # Extract the first word of "strip", so it can be a program name with args.
49814 set dummy strip; ac_word=$2
49815 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49817 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49818 echo $ECHO_N "(cached) $ECHO_C" >&6
49819 else
49820 if test -n "$ac_ct_STRIP"; then
49821 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49822 else
49823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49824 for as_dir in $PATH
49825 do
49826 IFS=$as_save_IFS
49827 test -z "$as_dir" && as_dir=.
49828 for ac_exec_ext in '' $ac_executable_extensions; do
49829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49830 ac_cv_prog_ac_ct_STRIP="strip"
49831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49832 break 2
49833 fi
49834 done
49835 done
49836 IFS=$as_save_IFS
49837
49838 fi
49839 fi
49840 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49841 if test -n "$ac_ct_STRIP"; then
49842 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49843 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49844 else
49845 { echo "$as_me:$LINENO: result: no" >&5
49846 echo "${ECHO_T}no" >&6; }
49847 fi
49848
49849 if test "x$ac_ct_STRIP" = x; then
49850 STRIP=":"
49851 else
49852 case $cross_compiling:$ac_tool_warned in
49853 yes:)
49854 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49855 whose name does not start with the host triplet. If you think this
49856 configuration is useful to you, please write to autoconf@gnu.org." >&5
49857 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49858 whose name does not start with the host triplet. If you think this
49859 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49860 ac_tool_warned=yes ;;
49861 esac
49862 STRIP=$ac_ct_STRIP
49863 fi
49864 else
49865 STRIP="$ac_cv_prog_STRIP"
49866 fi
49867
49868 if test -n "$ac_tool_prefix"; then
49869 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49870 set dummy ${ac_tool_prefix}nm; ac_word=$2
49871 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49873 if test "${ac_cv_prog_NM+set}" = set; then
49874 echo $ECHO_N "(cached) $ECHO_C" >&6
49875 else
49876 if test -n "$NM"; then
49877 ac_cv_prog_NM="$NM" # Let the user override the test.
49878 else
49879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49880 for as_dir in $PATH
49881 do
49882 IFS=$as_save_IFS
49883 test -z "$as_dir" && as_dir=.
49884 for ac_exec_ext in '' $ac_executable_extensions; do
49885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49886 ac_cv_prog_NM="${ac_tool_prefix}nm"
49887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49888 break 2
49889 fi
49890 done
49891 done
49892 IFS=$as_save_IFS
49893
49894 fi
49895 fi
49896 NM=$ac_cv_prog_NM
49897 if test -n "$NM"; then
49898 { echo "$as_me:$LINENO: result: $NM" >&5
49899 echo "${ECHO_T}$NM" >&6; }
49900 else
49901 { echo "$as_me:$LINENO: result: no" >&5
49902 echo "${ECHO_T}no" >&6; }
49903 fi
49904
49905
49906 fi
49907 if test -z "$ac_cv_prog_NM"; then
49908 ac_ct_NM=$NM
49909 # Extract the first word of "nm", so it can be a program name with args.
49910 set dummy nm; ac_word=$2
49911 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49913 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49914 echo $ECHO_N "(cached) $ECHO_C" >&6
49915 else
49916 if test -n "$ac_ct_NM"; then
49917 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49918 else
49919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49920 for as_dir in $PATH
49921 do
49922 IFS=$as_save_IFS
49923 test -z "$as_dir" && as_dir=.
49924 for ac_exec_ext in '' $ac_executable_extensions; do
49925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49926 ac_cv_prog_ac_ct_NM="nm"
49927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49928 break 2
49929 fi
49930 done
49931 done
49932 IFS=$as_save_IFS
49933
49934 fi
49935 fi
49936 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49937 if test -n "$ac_ct_NM"; then
49938 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49939 echo "${ECHO_T}$ac_ct_NM" >&6; }
49940 else
49941 { echo "$as_me:$LINENO: result: no" >&5
49942 echo "${ECHO_T}no" >&6; }
49943 fi
49944
49945 if test "x$ac_ct_NM" = x; then
49946 NM=":"
49947 else
49948 case $cross_compiling:$ac_tool_warned in
49949 yes:)
49950 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49951 whose name does not start with the host triplet. If you think this
49952 configuration is useful to you, please write to autoconf@gnu.org." >&5
49953 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49954 whose name does not start with the host triplet. If you think this
49955 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49956 ac_tool_warned=yes ;;
49957 esac
49958 NM=$ac_ct_NM
49959 fi
49960 else
49961 NM="$ac_cv_prog_NM"
49962 fi
49963
49964
49965 case ${BAKEFILE_HOST} in
49966 *-hp-hpux* )
49967 INSTALL_DIR="mkdir -p"
49968 ;;
49969 * )
49970 INSTALL_DIR='$(INSTALL) -d'
49971 ;;
49972 esac
49973
49974
49975 LDFLAGS_GUI=
49976 case ${BAKEFILE_HOST} in
49977 *-*-cygwin* | *-*-mingw32* )
49978 LDFLAGS_GUI="-mwindows"
49979 esac
49980
49981
49982 fi
49983
49984 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49985 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49986 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49987 echo $ECHO_N "(cached) $ECHO_C" >&6
49988 else
49989
49990 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49991 egrep -s GNU > /dev/null); then
49992 bakefile_cv_prog_makeisgnu="yes"
49993 else
49994 bakefile_cv_prog_makeisgnu="no"
49995 fi
49996
49997 fi
49998 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49999 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50000
50001 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50002 IF_GNU_MAKE=""
50003 else
50004 IF_GNU_MAKE="#"
50005 fi
50006
50007
50008
50009 PLATFORM_UNIX=0
50010 PLATFORM_WIN32=0
50011 PLATFORM_MSDOS=0
50012 PLATFORM_MAC=0
50013 PLATFORM_MACOS=0
50014 PLATFORM_MACOSX=0
50015 PLATFORM_OS2=0
50016 PLATFORM_BEOS=0
50017
50018 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50019 case "${BAKEFILE_HOST}" in
50020 *-*-mingw32* )
50021 PLATFORM_WIN32=1
50022 ;;
50023 *-pc-msdosdjgpp )
50024 PLATFORM_MSDOS=1
50025 ;;
50026 *-pc-os2_emx | *-pc-os2-emx )
50027 PLATFORM_OS2=1
50028 ;;
50029 *-*-darwin* )
50030 PLATFORM_MAC=1
50031 PLATFORM_MACOSX=1
50032 ;;
50033 *-*-beos* )
50034 PLATFORM_BEOS=1
50035 ;;
50036 powerpc-apple-macos* )
50037 PLATFORM_MAC=1
50038 PLATFORM_MACOS=1
50039 ;;
50040 * )
50041 PLATFORM_UNIX=1
50042 ;;
50043 esac
50044 else
50045 case "$BAKEFILE_FORCE_PLATFORM" in
50046 win32 )
50047 PLATFORM_WIN32=1
50048 ;;
50049 msdos )
50050 PLATFORM_MSDOS=1
50051 ;;
50052 os2 )
50053 PLATFORM_OS2=1
50054 ;;
50055 darwin )
50056 PLATFORM_MAC=1
50057 PLATFORM_MACOSX=1
50058 ;;
50059 unix )
50060 PLATFORM_UNIX=1
50061 ;;
50062 beos )
50063 PLATFORM_BEOS=1
50064 ;;
50065 * )
50066 ;;
50067 esac
50068 fi
50069
50070
50071
50072
50073
50074
50075
50076
50077
50078
50079
50080 # Check whether --enable-omf was given.
50081 if test "${enable_omf+set}" = set; then
50082 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50083 fi
50084
50085
50086 case "${BAKEFILE_HOST}" in
50087 *-*-darwin* )
50088 if test "x$GCC" = "xyes"; then
50089 CFLAGS="$CFLAGS -fno-common"
50090 CXXFLAGS="$CXXFLAGS -fno-common"
50091 fi
50092 if test "x$XLCC" = "xyes"; then
50093 CFLAGS="$CFLAGS -qnocommon"
50094 CXXFLAGS="$CXXFLAGS -qnocommon"
50095 fi
50096 ;;
50097
50098 *-pc-os2_emx | *-pc-os2-emx )
50099 if test "x$bk_os2_use_omf" = "xyes" ; then
50100 AR=emxomfar
50101 RANLIB=:
50102 LDFLAGS="-Zomf $LDFLAGS"
50103 CFLAGS="-Zomf $CFLAGS"
50104 CXXFLAGS="-Zomf $CXXFLAGS"
50105 OS2_LIBEXT="lib"
50106 else
50107 OS2_LIBEXT="a"
50108 fi
50109 ;;
50110
50111 i*86-*-beos* )
50112 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50113 ;;
50114 esac
50115
50116
50117 SO_SUFFIX="so"
50118 SO_SUFFIX_MODULE="so"
50119 EXEEXT=""
50120 LIBPREFIX="lib"
50121 LIBEXT=".a"
50122 DLLPREFIX="lib"
50123 DLLPREFIX_MODULE=""
50124 DLLIMP_SUFFIX=""
50125 dlldir="$libdir"
50126
50127 case "${BAKEFILE_HOST}" in
50128 *-hp-hpux* )
50129 SO_SUFFIX="sl"
50130 SO_SUFFIX_MODULE="sl"
50131 ;;
50132 *-*-aix* )
50133 SO_SUFFIX="a"
50134 SO_SUFFIX_MODULE="a"
50135 ;;
50136 *-*-cygwin* )
50137 SO_SUFFIX="dll"
50138 SO_SUFFIX_MODULE="dll"
50139 DLLIMP_SUFFIX="dll.a"
50140 EXEEXT=".exe"
50141 DLLPREFIX="cyg"
50142 dlldir="$bindir"
50143 ;;
50144 *-*-mingw32* )
50145 SO_SUFFIX="dll"
50146 SO_SUFFIX_MODULE="dll"
50147 DLLIMP_SUFFIX="dll.a"
50148 EXEEXT=".exe"
50149 DLLPREFIX=""
50150 dlldir="$bindir"
50151 ;;
50152 *-pc-msdosdjgpp )
50153 EXEEXT=".exe"
50154 DLLPREFIX=""
50155 dlldir="$bindir"
50156 ;;
50157 *-pc-os2_emx | *-pc-os2-emx )
50158 SO_SUFFIX="dll"
50159 SO_SUFFIX_MODULE="dll"
50160 DLLIMP_SUFFIX=$OS2_LIBEXT
50161 EXEEXT=".exe"
50162 DLLPREFIX=""
50163 LIBPREFIX=""
50164 LIBEXT=".$OS2_LIBEXT"
50165 dlldir="$bindir"
50166 ;;
50167 *-*-darwin* )
50168 SO_SUFFIX="dylib"
50169 SO_SUFFIX_MODULE="bundle"
50170 ;;
50171 esac
50172
50173 if test "x$DLLIMP_SUFFIX" = "x" ; then
50174 DLLIMP_SUFFIX="$SO_SUFFIX"
50175 fi
50176
50177
50178
50179
50180
50181
50182
50183
50184
50185
50186
50187
50188 PIC_FLAG=""
50189 if test "x$GCC" = "xyes"; then
50190 PIC_FLAG="-fPIC"
50191 fi
50192
50193 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50194 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50195 WINDOWS_IMPLIB=0
50196
50197 case "${BAKEFILE_HOST}" in
50198 *-hp-hpux* )
50199 if test "x$GCC" != "xyes"; then
50200 LDFLAGS="$LDFLAGS -L/usr/lib"
50201
50202 SHARED_LD_CC="${CC} -b -o"
50203 SHARED_LD_CXX="${CXX} -b -o"
50204 PIC_FLAG="+Z"
50205 fi
50206 ;;
50207
50208 *-*-linux* )
50209 if test "$INTELCC" = "yes"; then
50210 PIC_FLAG="-KPIC"
50211 elif test "x$SUNCXX" = "xyes"; then
50212 SHARED_LD_CC="${CC} -G -o"
50213 SHARED_LD_CXX="${CXX} -G -o"
50214 PIC_FLAG="-KPIC"
50215 fi
50216 ;;
50217
50218 *-*-solaris2* )
50219 if test "x$SUNCXX" = xyes ; then
50220 SHARED_LD_CC="${CC} -G -o"
50221 SHARED_LD_CXX="${CXX} -G -o"
50222 PIC_FLAG="-KPIC"
50223 fi
50224 ;;
50225
50226 *-*-darwin* )
50227
50228 D='$'
50229 cat <<EOF >shared-ld-sh
50230 #!/bin/sh
50231 #-----------------------------------------------------------------------------
50232 #-- Name: distrib/mac/shared-ld-sh
50233 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50234 #-- Author: Gilles Depeyrot
50235 #-- Copyright: (c) 2002 Gilles Depeyrot
50236 #-- Licence: any use permitted
50237 #-----------------------------------------------------------------------------
50238
50239 verbose=0
50240 args=""
50241 objects=""
50242 linking_flag="-dynamiclib"
50243 ldargs="-r -keep_private_externs -nostdlib"
50244
50245 while test ${D}# -gt 0; do
50246 case ${D}1 in
50247
50248 -v)
50249 verbose=1
50250 ;;
50251
50252 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50253 # collect these options and values
50254 args="${D}{args} ${D}1 ${D}2"
50255 shift
50256 ;;
50257
50258 -s|-Wl,*)
50259 # collect these load args
50260 ldargs="${D}{ldargs} ${D}1"
50261 ;;
50262
50263 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50264 # collect these options
50265 args="${D}{args} ${D}1"
50266 ;;
50267
50268 -dynamiclib|-bundle)
50269 linking_flag="${D}1"
50270 ;;
50271
50272 -*)
50273 echo "shared-ld: unhandled option '${D}1'"
50274 exit 1
50275 ;;
50276
50277 *.o | *.a | *.dylib)
50278 # collect object files
50279 objects="${D}{objects} ${D}1"
50280 ;;
50281
50282 *)
50283 echo "shared-ld: unhandled argument '${D}1'"
50284 exit 1
50285 ;;
50286
50287 esac
50288 shift
50289 done
50290
50291 status=0
50292
50293 #
50294 # Link one module containing all the others
50295 #
50296 if test ${D}{verbose} = 1; then
50297 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50298 fi
50299 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50300 status=${D}?
50301
50302 #
50303 # Link the shared library from the single module created, but only if the
50304 # previous command didn't fail:
50305 #
50306 if test ${D}{status} = 0; then
50307 if test ${D}{verbose} = 1; then
50308 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50309 fi
50310 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50311 status=${D}?
50312 fi
50313
50314 #
50315 # Remove intermediate module
50316 #
50317 rm -f master.${D}${D}.o
50318
50319 exit ${D}status
50320 EOF
50321
50322 chmod +x shared-ld-sh
50323
50324 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50325 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50326
50327
50328 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50329 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50330 if test "${bakefile_cv_gcc31+set}" = set; then
50331 echo $ECHO_N "(cached) $ECHO_C" >&6
50332 else
50333
50334 cat >conftest.$ac_ext <<_ACEOF
50335 /* confdefs.h. */
50336 _ACEOF
50337 cat confdefs.h >>conftest.$ac_ext
50338 cat >>conftest.$ac_ext <<_ACEOF
50339 /* end confdefs.h. */
50340
50341 int
50342 main ()
50343 {
50344
50345 #if (__GNUC__ < 3) || \
50346 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50347 This is old gcc
50348 #endif
50349
50350 ;
50351 return 0;
50352 }
50353 _ACEOF
50354 rm -f conftest.$ac_objext
50355 if { (ac_try="$ac_compile"
50356 case "(($ac_try" in
50357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50358 *) ac_try_echo=$ac_try;;
50359 esac
50360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50361 (eval "$ac_compile") 2>conftest.er1
50362 ac_status=$?
50363 grep -v '^ *+' conftest.er1 >conftest.err
50364 rm -f conftest.er1
50365 cat conftest.err >&5
50366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50367 (exit $ac_status); } && {
50368 test -z "$ac_c_werror_flag" ||
50369 test ! -s conftest.err
50370 } && test -s conftest.$ac_objext; then
50371
50372 bakefile_cv_gcc31=yes
50373
50374 else
50375 echo "$as_me: failed program was:" >&5
50376 sed 's/^/| /' conftest.$ac_ext >&5
50377
50378
50379 bakefile_cv_gcc31=no
50380
50381
50382 fi
50383
50384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50385
50386 fi
50387 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50388 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50389 if test "$bakefile_cv_gcc31" = "no"; then
50390 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50391 SHARED_LD_CXX="$SHARED_LD_CC"
50392 else
50393 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50394 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50395 fi
50396
50397 if test "x$GCC" == "xyes"; then
50398 PIC_FLAG="-dynamic -fPIC"
50399 fi
50400 if test "x$XLCC" = "xyes"; then
50401 PIC_FLAG="-dynamic -DPIC"
50402 fi
50403 ;;
50404
50405 *-*-aix* )
50406 if test "x$GCC" = "xyes"; then
50407 PIC_FLAG=""
50408
50409 case "${BAKEFILE_HOST}" in
50410 *-*-aix5* )
50411 LD_EXPFULL="-Wl,-bexpfull"
50412 ;;
50413 esac
50414
50415 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50416 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50417 else
50418 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50419 set dummy makeC++SharedLib; ac_word=$2
50420 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50421 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50422 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50423 echo $ECHO_N "(cached) $ECHO_C" >&6
50424 else
50425 if test -n "$AIX_CXX_LD"; then
50426 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50427 else
50428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50429 for as_dir in $PATH
50430 do
50431 IFS=$as_save_IFS
50432 test -z "$as_dir" && as_dir=.
50433 for ac_exec_ext in '' $ac_executable_extensions; do
50434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50435 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50437 break 2
50438 fi
50439 done
50440 done
50441 IFS=$as_save_IFS
50442
50443 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50444 fi
50445 fi
50446 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50447 if test -n "$AIX_CXX_LD"; then
50448 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50449 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50450 else
50451 { echo "$as_me:$LINENO: result: no" >&5
50452 echo "${ECHO_T}no" >&6; }
50453 fi
50454
50455
50456 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50457 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50458 fi
50459 ;;
50460
50461 *-*-beos* )
50462 SHARED_LD_CC="${LD} -nostart -o"
50463 SHARED_LD_CXX="${LD} -nostart -o"
50464 ;;
50465
50466 *-*-irix* )
50467 if test "x$GCC" != "xyes"; then
50468 PIC_FLAG="-KPIC"
50469 fi
50470 ;;
50471
50472 *-*-cygwin* | *-*-mingw32* )
50473 PIC_FLAG=""
50474 SHARED_LD_CC="\$(CC) -shared -o"
50475 SHARED_LD_CXX="\$(CXX) -shared -o"
50476 WINDOWS_IMPLIB=1
50477 ;;
50478
50479 *-pc-os2_emx | *-pc-os2-emx )
50480 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50481 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50482 PIC_FLAG=""
50483
50484 D='$'
50485 cat <<EOF >dllar.sh
50486 #!/bin/sh
50487 #
50488 # dllar - a tool to build both a .dll and an .a file
50489 # from a set of object (.o) files for EMX/OS2.
50490 #
50491 # Written by Andrew Zabolotny, bit@freya.etu.ru
50492 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50493 #
50494 # This script will accept a set of files on the command line.
50495 # All the public symbols from the .o files will be exported into
50496 # a .DEF file, then linker will be run (through gcc) against them to
50497 # build a shared library consisting of all given .o files. All libraries
50498 # (.a) will be first decompressed into component .o files then act as
50499 # described above. You can optionally give a description (-d "description")
50500 # which will be put into .DLL. To see the list of accepted options (as well
50501 # as command-line format) simply run this program without options. The .DLL
50502 # is built to be imported by name (there is no guarantee that new versions
50503 # of the library you build will have same ordinals for same symbols).
50504 #
50505 # dllar is free software; you can redistribute it and/or modify
50506 # it under the terms of the GNU General Public License as published by
50507 # the Free Software Foundation; either version 2, or (at your option)
50508 # any later version.
50509 #
50510 # dllar is distributed in the hope that it will be useful,
50511 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50512 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50513 # GNU General Public License for more details.
50514 #
50515 # You should have received a copy of the GNU General Public License
50516 # along with dllar; see the file COPYING. If not, write to the Free
50517 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50518 # 02111-1307, USA.
50519
50520 # To successfuly run this program you will need:
50521 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50522 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50523 # - gcc
50524 # (used to build the .dll)
50525 # - emxexp
50526 # (used to create .def file from .o files)
50527 # - emximp
50528 # (used to create .a file from .def file)
50529 # - GNU text utilites (cat, sort, uniq)
50530 # used to process emxexp output
50531 # - GNU file utilities (mv, rm)
50532 # - GNU sed
50533 # - lxlite (optional, see flag below)
50534 # (used for general .dll cleanup)
50535 #
50536
50537 flag_USE_LXLITE=1;
50538
50539 #
50540 # helper functions
50541 # basnam, variant of basename, which does _not_ remove the path, _iff_
50542 # second argument (suffix to remove) is given
50543 basnam(){
50544 case ${D}# in
50545 1)
50546 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50547 ;;
50548 2)
50549 echo ${D}1 | sed 's/'${D}2'${D}//'
50550 ;;
50551 *)
50552 echo "error in basnam ${D}*"
50553 exit 8
50554 ;;
50555 esac
50556 }
50557
50558 # Cleanup temporary files and output
50559 CleanUp() {
50560 cd ${D}curDir
50561 for i in ${D}inputFiles ; do
50562 case ${D}i in
50563 *!)
50564 rm -rf \`basnam ${D}i !\`
50565 ;;
50566 *)
50567 ;;
50568 esac
50569 done
50570
50571 # Kill result in case of failure as there is just to many stupid make/nmake
50572 # things out there which doesn't do this.
50573 if [ ${D}# -eq 0 ]; then
50574 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50575 fi
50576 }
50577
50578 # Print usage and exit script with rc=1.
50579 PrintHelp() {
50580 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50581 echo ' [-name-mangler-script script.sh]'
50582 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50583 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50584 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50585 echo ' [*.o] [*.a]'
50586 echo '*> "output_file" should have no extension.'
50587 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50588 echo ' The import library name is derived from this and is set to "name".a,'
50589 echo ' unless overridden by -import'
50590 echo '*> "importlib_name" should have no extension.'
50591 echo ' If it has the .o, or .a extension, it is automatically removed.'
50592 echo ' This name is used as the import library name and may be longer and'
50593 echo ' more descriptive than the DLL name which has to follow the old '
50594 echo ' 8.3 convention of FAT.'
50595 echo '*> "script.sh may be given to override the output_file name by a'
50596 echo ' different name. It is mainly useful if the regular make process'
50597 echo ' of some package does not take into account OS/2 restriction of'
50598 echo ' DLL name lengths. It takes the importlib name as input and is'
50599 echo ' supposed to procude a shorter name as output. The script should'
50600 echo ' expect to get importlib_name without extension and should produce'
50601 echo ' a (max.) 8 letter name without extension.'
50602 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50603 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50604 echo ' These flags will be put at the start of GCC command line.'
50605 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50606 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50607 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50608 echo ' If the last character of a symbol is "*", all symbols beginning'
50609 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50610 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50611 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50612 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50613 echo ' C runtime DLLs.'
50614 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50615 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50616 echo ' unchanged to GCC at the end of command line.'
50617 echo '*> If you create a DLL from a library and you do not specify -o,'
50618 echo ' the basename for DLL and import library will be set to library name,'
50619 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50620 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50621 echo ' library will be renamed into gcc_s.a.'
50622 echo '--------'
50623 echo 'Example:'
50624 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50625 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50626 CleanUp
50627 exit 1
50628 }
50629
50630 # Execute a command.
50631 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50632 # @Uses Whatever CleanUp() uses.
50633 doCommand() {
50634 echo "${D}*"
50635 eval ${D}*
50636 rcCmd=${D}?
50637
50638 if [ ${D}rcCmd -ne 0 ]; then
50639 echo "command failed, exit code="${D}rcCmd
50640 CleanUp
50641 exit ${D}rcCmd
50642 fi
50643 }
50644
50645 # main routine
50646 # setup globals
50647 cmdLine=${D}*
50648 outFile=""
50649 outimpFile=""
50650 inputFiles=""
50651 renameScript=""
50652 description=""
50653 CC=gcc.exe
50654 CFLAGS="-s -Zcrtdll"
50655 EXTRA_CFLAGS=""
50656 EXPORT_BY_ORDINALS=0
50657 exclude_symbols=""
50658 library_flags=""
50659 curDir=\`pwd\`
50660 curDirS=curDir
50661 case ${D}curDirS in
50662 */)
50663 ;;
50664 *)
50665 curDirS=${D}{curDirS}"/"
50666 ;;
50667 esac
50668 # Parse commandline
50669 libsToLink=0
50670 omfLinking=0
50671 while [ ${D}1 ]; do
50672 case ${D}1 in
50673 -ord*)
50674 EXPORT_BY_ORDINALS=1;
50675 ;;
50676 -o*)
50677 shift
50678 outFile=${D}1
50679 ;;
50680 -i*)
50681 shift
50682 outimpFile=${D}1
50683 ;;
50684 -name-mangler-script)
50685 shift
50686 renameScript=${D}1
50687 ;;
50688 -d*)
50689 shift
50690 description=${D}1
50691 ;;
50692 -f*)
50693 shift
50694 CFLAGS=${D}1
50695 ;;
50696 -c*)
50697 shift
50698 CC=${D}1
50699 ;;
50700 -h*)
50701 PrintHelp
50702 ;;
50703 -ex*)
50704 shift
50705 exclude_symbols=${D}{exclude_symbols}${D}1" "
50706 ;;
50707 -libf*)
50708 shift
50709 library_flags=${D}{library_flags}${D}1" "
50710 ;;
50711 -nocrt*)
50712 CFLAGS="-s"
50713 ;;
50714 -nolxl*)
50715 flag_USE_LXLITE=0
50716 ;;
50717 -* | /*)
50718 case ${D}1 in
50719 -L* | -l*)
50720 libsToLink=1
50721 ;;
50722 -Zomf)
50723 omfLinking=1
50724 ;;
50725 *)
50726 ;;
50727 esac
50728 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50729 ;;
50730 *.dll)
50731 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50732 if [ ${D}omfLinking -eq 1 ]; then
50733 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50734 else
50735 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50736 fi
50737 ;;
50738 *)
50739 found=0;
50740 if [ ${D}libsToLink -ne 0 ]; then
50741 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50742 else
50743 for file in ${D}1 ; do
50744 if [ -f ${D}file ]; then
50745 inputFiles="${D}{inputFiles} ${D}file"
50746 found=1
50747 fi
50748 done
50749 if [ ${D}found -eq 0 ]; then
50750 echo "ERROR: No file(s) found: "${D}1
50751 exit 8
50752 fi
50753 fi
50754 ;;
50755 esac
50756 shift
50757 done # iterate cmdline words
50758
50759 #
50760 if [ -z "${D}inputFiles" ]; then
50761 echo "dllar: no input files"
50762 PrintHelp
50763 fi
50764
50765 # Now extract all .o files from .a files
50766 newInputFiles=""
50767 for file in ${D}inputFiles ; do
50768 case ${D}file in
50769 *.a | *.lib)
50770 case ${D}file in
50771 *.a)
50772 suffix=".a"
50773 AR="ar"
50774 ;;
50775 *.lib)
50776 suffix=".lib"
50777 AR="emxomfar"
50778 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50779 ;;
50780 *)
50781 ;;
50782 esac
50783 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50784 mkdir ${D}dirname
50785 if [ ${D}? -ne 0 ]; then
50786 echo "Failed to create subdirectory ./${D}dirname"
50787 CleanUp
50788 exit 8;
50789 fi
50790 # Append '!' to indicate archive
50791 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50792 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50793 cd ${D}curDir
50794 found=0;
50795 for subfile in ${D}dirname/*.o* ; do
50796 if [ -f ${D}subfile ]; then
50797 found=1
50798 if [ -s ${D}subfile ]; then
50799 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50800 newInputFiles="${D}newInputFiles ${D}subfile"
50801 fi
50802 fi
50803 done
50804 if [ ${D}found -eq 0 ]; then
50805 echo "WARNING: there are no files in archive \\'${D}file\\'"
50806 fi
50807 ;;
50808 *)
50809 newInputFiles="${D}{newInputFiles} ${D}file"
50810 ;;
50811 esac
50812 done
50813 inputFiles="${D}newInputFiles"
50814
50815 # Output filename(s).
50816 do_backup=0;
50817 if [ -z ${D}outFile ]; then
50818 do_backup=1;
50819 set outFile ${D}inputFiles; outFile=${D}2
50820 fi
50821
50822 # If it is an archive, remove the '!' and the '_%' suffixes
50823 case ${D}outFile in
50824 *_%!)
50825 outFile=\`basnam ${D}outFile _%!\`
50826 ;;
50827 *)
50828 ;;
50829 esac
50830 case ${D}outFile in
50831 *.dll)
50832 outFile=\`basnam ${D}outFile .dll\`
50833 ;;
50834 *.DLL)
50835 outFile=\`basnam ${D}outFile .DLL\`
50836 ;;
50837 *.o)
50838 outFile=\`basnam ${D}outFile .o\`
50839 ;;
50840 *.obj)
50841 outFile=\`basnam ${D}outFile .obj\`
50842 ;;
50843 *.a)
50844 outFile=\`basnam ${D}outFile .a\`
50845 ;;
50846 *.lib)
50847 outFile=\`basnam ${D}outFile .lib\`
50848 ;;
50849 *)
50850 ;;
50851 esac
50852 case ${D}outimpFile in
50853 *.a)
50854 outimpFile=\`basnam ${D}outimpFile .a\`
50855 ;;
50856 *.lib)
50857 outimpFile=\`basnam ${D}outimpFile .lib\`
50858 ;;
50859 *)
50860 ;;
50861 esac
50862 if [ -z ${D}outimpFile ]; then
50863 outimpFile=${D}outFile
50864 fi
50865 defFile="${D}{outFile}.def"
50866 arcFile="${D}{outimpFile}.a"
50867 arcFile2="${D}{outimpFile}.lib"
50868
50869 #create ${D}dllFile as something matching 8.3 restrictions,
50870 if [ -z ${D}renameScript ] ; then
50871 dllFile="${D}outFile"
50872 else
50873 dllFile=\`${D}renameScript ${D}outimpFile\`
50874 fi
50875
50876 if [ ${D}do_backup -ne 0 ] ; then
50877 if [ -f ${D}arcFile ] ; then
50878 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50879 fi
50880 if [ -f ${D}arcFile2 ] ; then
50881 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50882 fi
50883 fi
50884
50885 # Extract public symbols from all the object files.
50886 tmpdefFile=${D}{defFile}_%
50887 rm -f ${D}tmpdefFile
50888 for file in ${D}inputFiles ; do
50889 case ${D}file in
50890 *!)
50891 ;;
50892 *)
50893 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50894 ;;
50895 esac
50896 done
50897
50898 # Create the def file.
50899 rm -f ${D}defFile
50900 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50901 dllFile="${D}{dllFile}.dll"
50902 if [ ! -z ${D}description ]; then
50903 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50904 fi
50905 echo "EXPORTS" >> ${D}defFile
50906
50907 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50908 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50909
50910 # Checks if the export is ok or not.
50911 for word in ${D}exclude_symbols; do
50912 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50913 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50914 done
50915
50916
50917 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50918 sed "=" < ${D}tmpdefFile | \\
50919 sed '
50920 N
50921 : loop
50922 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50923 t loop
50924 ' > ${D}{tmpdefFile}%
50925 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50926 else
50927 rm -f ${D}{tmpdefFile}%
50928 fi
50929 cat ${D}tmpdefFile >> ${D}defFile
50930 rm -f ${D}tmpdefFile
50931
50932 # Do linking, create implib, and apply lxlite.
50933 gccCmdl="";
50934 for file in ${D}inputFiles ; do
50935 case ${D}file in
50936 *!)
50937 ;;
50938 *)
50939 gccCmdl="${D}gccCmdl ${D}file"
50940 ;;
50941 esac
50942 done
50943 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50944 touch "${D}{outFile}.dll"
50945
50946 doCommand "emximp -o ${D}arcFile ${D}defFile"
50947 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50948 add_flags="";
50949 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50950 add_flags="-ynd"
50951 fi
50952 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50953 fi
50954 doCommand "emxomf -s -l ${D}arcFile"
50955
50956 # Successful exit.
50957 CleanUp 1
50958 exit 0
50959 EOF
50960
50961 chmod +x dllar.sh
50962 ;;
50963
50964 powerpc-apple-macos* | \
50965 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50966 *-*-mirbsd* | \
50967 *-*-sunos4* | \
50968 *-*-osf* | \
50969 *-*-dgux5* | \
50970 *-*-sysv5* | \
50971 *-pc-msdosdjgpp )
50972 ;;
50973
50974 *)
50975 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50976 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50977 { (exit 1); exit 1; }; }
50978 esac
50979
50980 if test "x$PIC_FLAG" != "x" ; then
50981 PIC_FLAG="$PIC_FLAG -DPIC"
50982 fi
50983
50984 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50985 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50986 fi
50987 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50988 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50989 fi
50990
50991
50992
50993
50994
50995
50996
50997
50998
50999 USE_SOVERSION=0
51000 USE_SOVERLINUX=0
51001 USE_SOVERSOLARIS=0
51002 USE_SOVERCYGWIN=0
51003 USE_SOSYMLINKS=0
51004 USE_MACVERSION=0
51005 SONAME_FLAG=
51006
51007 case "${BAKEFILE_HOST}" in
51008 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
51009 if test "x$SUNCXX" = "xyes"; then
51010 SONAME_FLAG="-h "
51011 else
51012 SONAME_FLAG="-Wl,-soname,"
51013 fi
51014 USE_SOVERSION=1
51015 USE_SOVERLINUX=1
51016 USE_SOSYMLINKS=1
51017 ;;
51018
51019 *-*-solaris2* )
51020 SONAME_FLAG="-h "
51021 USE_SOVERSION=1
51022 USE_SOVERSOLARIS=1
51023 USE_SOSYMLINKS=1
51024 ;;
51025
51026 *-*-darwin* )
51027 USE_MACVERSION=1
51028 USE_SOVERSION=1
51029 USE_SOSYMLINKS=1
51030 ;;
51031
51032 *-*-cygwin* )
51033 USE_SOVERSION=1
51034 USE_SOVERCYGWIN=1
51035 ;;
51036 esac
51037
51038
51039
51040
51041
51042
51043
51044
51045
51046
51047 # Check whether --enable-dependency-tracking was given.
51048 if test "${enable_dependency_tracking+set}" = set; then
51049 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51050 fi
51051
51052
51053 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51054 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51055
51056 BK_DEPS=""
51057 if test "x$bk_use_trackdeps" = "xno" ; then
51058 DEPS_TRACKING=0
51059 { echo "$as_me:$LINENO: result: disabled" >&5
51060 echo "${ECHO_T}disabled" >&6; }
51061 else
51062 DEPS_TRACKING=1
51063
51064 if test "x$GCC" = "xyes"; then
51065 DEPSMODE=gcc
51066 case "${BAKEFILE_HOST}" in
51067 *-*-darwin* )
51068 DEPSFLAG="-no-cpp-precomp -MMD"
51069 ;;
51070 * )
51071 DEPSFLAG="-MMD"
51072 ;;
51073 esac
51074 { echo "$as_me:$LINENO: result: gcc" >&5
51075 echo "${ECHO_T}gcc" >&6; }
51076 elif test "x$MWCC" = "xyes"; then
51077 DEPSMODE=mwcc
51078 DEPSFLAG="-MM"
51079 { echo "$as_me:$LINENO: result: mwcc" >&5
51080 echo "${ECHO_T}mwcc" >&6; }
51081 elif test "x$SUNCC" = "xyes"; then
51082 DEPSMODE=unixcc
51083 DEPSFLAG="-xM1"
51084 { echo "$as_me:$LINENO: result: Sun cc" >&5
51085 echo "${ECHO_T}Sun cc" >&6; }
51086 elif test "x$SGICC" = "xyes"; then
51087 DEPSMODE=unixcc
51088 DEPSFLAG="-M"
51089 { echo "$as_me:$LINENO: result: SGI cc" >&5
51090 echo "${ECHO_T}SGI cc" >&6; }
51091 elif test "x$HPCC" = "xyes"; then
51092 DEPSMODE=unixcc
51093 DEPSFLAG="+make"
51094 { echo "$as_me:$LINENO: result: HP cc" >&5
51095 echo "${ECHO_T}HP cc" >&6; }
51096 elif test "x$COMPAQCC" = "xyes"; then
51097 DEPSMODE=gcc
51098 DEPSFLAG="-MD"
51099 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51100 echo "${ECHO_T}Compaq cc" >&6; }
51101 else
51102 DEPS_TRACKING=0
51103 { echo "$as_me:$LINENO: result: none" >&5
51104 echo "${ECHO_T}none" >&6; }
51105 fi
51106
51107 if test $DEPS_TRACKING = 1 ; then
51108
51109 D='$'
51110 cat <<EOF >bk-deps
51111 #!/bin/sh
51112
51113 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51114 # script. It is used to track C/C++ files dependencies in portable way.
51115 #
51116 # Permission is given to use this file in any way.
51117
51118 DEPSMODE=${DEPSMODE}
51119 DEPSDIR=.deps
51120 DEPSFLAG="${DEPSFLAG}"
51121
51122 mkdir -p ${D}DEPSDIR
51123
51124 if test ${D}DEPSMODE = gcc ; then
51125 ${D}* ${D}{DEPSFLAG}
51126 status=${D}?
51127 if test ${D}{status} != 0 ; then
51128 exit ${D}{status}
51129 fi
51130 # move created file to the location we want it in:
51131 while test ${D}# -gt 0; do
51132 case "${D}1" in
51133 -o )
51134 shift
51135 objfile=${D}1
51136 ;;
51137 -* )
51138 ;;
51139 * )
51140 srcfile=${D}1
51141 ;;
51142 esac
51143 shift
51144 done
51145 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51146 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51147 if test -f ${D}depfile ; then
51148 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51149 rm -f ${D}depfile
51150 else
51151 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51152 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51153 if test ! -f ${D}depfile ; then
51154 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51155 depfile="${D}objfile.d"
51156 fi
51157 if test -f ${D}depfile ; then
51158 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51159 rm -f ${D}depfile
51160 fi
51161 fi
51162 exit 0
51163 elif test ${D}DEPSMODE = mwcc ; then
51164 ${D}* || exit ${D}?
51165 # Run mwcc again with -MM and redirect into the dep file we want
51166 # NOTE: We can't use shift here because we need ${D}* to be valid
51167 prevarg=
51168 for arg in ${D}* ; do
51169 if test "${D}prevarg" = "-o"; then
51170 objfile=${D}arg
51171 else
51172 case "${D}arg" in
51173 -* )
51174 ;;
51175 * )
51176 srcfile=${D}arg
51177 ;;
51178 esac
51179 fi
51180 prevarg="${D}arg"
51181 done
51182 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51183 exit 0
51184 elif test ${D}DEPSMODE = unixcc; then
51185 ${D}* || exit ${D}?
51186 # Run compiler again with deps flag and redirect into the dep file.
51187 # It doesn't work if the '-o FILE' option is used, but without it the
51188 # dependency file will contain the wrong name for the object. So it is
51189 # removed from the command line, and the dep file is fixed with sed.
51190 cmd=""
51191 while test ${D}# -gt 0; do
51192 case "${D}1" in
51193 -o )
51194 shift
51195 objfile=${D}1
51196 ;;
51197 * )
51198 eval arg${D}#=\\${D}1
51199 cmd="${D}cmd \\${D}arg${D}#"
51200 ;;
51201 esac
51202 shift
51203 done
51204 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51205 exit 0
51206 else
51207 ${D}*
51208 exit ${D}?
51209 fi
51210 EOF
51211
51212 chmod +x bk-deps
51213 BK_DEPS="`pwd`/bk-deps"
51214 fi
51215 fi
51216
51217
51218
51219
51220
51221 case ${BAKEFILE_HOST} in
51222 *-*-cygwin* | *-*-mingw32* )
51223 if test -n "$ac_tool_prefix"; then
51224 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51225 set dummy ${ac_tool_prefix}windres; ac_word=$2
51226 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51228 if test "${ac_cv_prog_WINDRES+set}" = set; then
51229 echo $ECHO_N "(cached) $ECHO_C" >&6
51230 else
51231 if test -n "$WINDRES"; then
51232 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51233 else
51234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51235 for as_dir in $PATH
51236 do
51237 IFS=$as_save_IFS
51238 test -z "$as_dir" && as_dir=.
51239 for ac_exec_ext in '' $ac_executable_extensions; do
51240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51241 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51243 break 2
51244 fi
51245 done
51246 done
51247 IFS=$as_save_IFS
51248
51249 fi
51250 fi
51251 WINDRES=$ac_cv_prog_WINDRES
51252 if test -n "$WINDRES"; then
51253 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51254 echo "${ECHO_T}$WINDRES" >&6; }
51255 else
51256 { echo "$as_me:$LINENO: result: no" >&5
51257 echo "${ECHO_T}no" >&6; }
51258 fi
51259
51260
51261 fi
51262 if test -z "$ac_cv_prog_WINDRES"; then
51263 ac_ct_WINDRES=$WINDRES
51264 # Extract the first word of "windres", so it can be a program name with args.
51265 set dummy windres; ac_word=$2
51266 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51268 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51269 echo $ECHO_N "(cached) $ECHO_C" >&6
51270 else
51271 if test -n "$ac_ct_WINDRES"; then
51272 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51273 else
51274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51275 for as_dir in $PATH
51276 do
51277 IFS=$as_save_IFS
51278 test -z "$as_dir" && as_dir=.
51279 for ac_exec_ext in '' $ac_executable_extensions; do
51280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51281 ac_cv_prog_ac_ct_WINDRES="windres"
51282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51283 break 2
51284 fi
51285 done
51286 done
51287 IFS=$as_save_IFS
51288
51289 fi
51290 fi
51291 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51292 if test -n "$ac_ct_WINDRES"; then
51293 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51294 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51295 else
51296 { echo "$as_me:$LINENO: result: no" >&5
51297 echo "${ECHO_T}no" >&6; }
51298 fi
51299
51300 if test "x$ac_ct_WINDRES" = x; then
51301 WINDRES=""
51302 else
51303 case $cross_compiling:$ac_tool_warned in
51304 yes:)
51305 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51306 whose name does not start with the host triplet. If you think this
51307 configuration is useful to you, please write to autoconf@gnu.org." >&5
51308 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51309 whose name does not start with the host triplet. If you think this
51310 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51311 ac_tool_warned=yes ;;
51312 esac
51313 WINDRES=$ac_ct_WINDRES
51314 fi
51315 else
51316 WINDRES="$ac_cv_prog_WINDRES"
51317 fi
51318
51319 ;;
51320
51321 *-*-darwin* | powerpc-apple-macos* )
51322 # Extract the first word of "Rez", so it can be a program name with args.
51323 set dummy Rez; ac_word=$2
51324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51326 if test "${ac_cv_prog_REZ+set}" = set; then
51327 echo $ECHO_N "(cached) $ECHO_C" >&6
51328 else
51329 if test -n "$REZ"; then
51330 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51331 else
51332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51333 for as_dir in $PATH
51334 do
51335 IFS=$as_save_IFS
51336 test -z "$as_dir" && as_dir=.
51337 for ac_exec_ext in '' $ac_executable_extensions; do
51338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51339 ac_cv_prog_REZ="Rez"
51340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51341 break 2
51342 fi
51343 done
51344 done
51345 IFS=$as_save_IFS
51346
51347 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51348 fi
51349 fi
51350 REZ=$ac_cv_prog_REZ
51351 if test -n "$REZ"; then
51352 { echo "$as_me:$LINENO: result: $REZ" >&5
51353 echo "${ECHO_T}$REZ" >&6; }
51354 else
51355 { echo "$as_me:$LINENO: result: no" >&5
51356 echo "${ECHO_T}no" >&6; }
51357 fi
51358
51359
51360 # Extract the first word of "SetFile", so it can be a program name with args.
51361 set dummy SetFile; ac_word=$2
51362 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51364 if test "${ac_cv_prog_SETFILE+set}" = set; then
51365 echo $ECHO_N "(cached) $ECHO_C" >&6
51366 else
51367 if test -n "$SETFILE"; then
51368 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51369 else
51370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51371 for as_dir in $PATH
51372 do
51373 IFS=$as_save_IFS
51374 test -z "$as_dir" && as_dir=.
51375 for ac_exec_ext in '' $ac_executable_extensions; do
51376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51377 ac_cv_prog_SETFILE="SetFile"
51378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51379 break 2
51380 fi
51381 done
51382 done
51383 IFS=$as_save_IFS
51384
51385 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51386 fi
51387 fi
51388 SETFILE=$ac_cv_prog_SETFILE
51389 if test -n "$SETFILE"; then
51390 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51391 echo "${ECHO_T}$SETFILE" >&6; }
51392 else
51393 { echo "$as_me:$LINENO: result: no" >&5
51394 echo "${ECHO_T}no" >&6; }
51395 fi
51396
51397
51398 ;;
51399 esac
51400
51401
51402
51403
51404
51405
51406 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51407
51408
51409 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51410
51411
51412
51413 # Check whether --enable-precomp-headers was given.
51414 if test "${enable_precomp_headers+set}" = set; then
51415 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51416 fi
51417
51418
51419 GCC_PCH=0
51420 ICC_PCH=0
51421 USE_PCH=0
51422 BK_MAKE_PCH=""
51423
51424 case ${BAKEFILE_HOST} in
51425 *-*-cygwin* )
51426 bk_use_pch="no"
51427 ;;
51428 esac
51429
51430 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51431 if test "x$GCC" = "xyes"; then
51432 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51433 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51434 cat >conftest.$ac_ext <<_ACEOF
51435 /* confdefs.h. */
51436 _ACEOF
51437 cat confdefs.h >>conftest.$ac_ext
51438 cat >>conftest.$ac_ext <<_ACEOF
51439 /* end confdefs.h. */
51440
51441 int
51442 main ()
51443 {
51444
51445 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51446 There is no PCH support
51447 #endif
51448 #if (__GNUC__ < 3)
51449 There is no PCH support
51450 #endif
51451 #if (__GNUC__ == 3) && \
51452 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51453 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51454 ( defined(__INTEL_COMPILER) )
51455 There is no PCH support
51456 #endif
51457
51458 ;
51459 return 0;
51460 }
51461 _ACEOF
51462 rm -f conftest.$ac_objext
51463 if { (ac_try="$ac_compile"
51464 case "(($ac_try" in
51465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51466 *) ac_try_echo=$ac_try;;
51467 esac
51468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51469 (eval "$ac_compile") 2>conftest.er1
51470 ac_status=$?
51471 grep -v '^ *+' conftest.er1 >conftest.err
51472 rm -f conftest.er1
51473 cat conftest.err >&5
51474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51475 (exit $ac_status); } && {
51476 test -z "$ac_c_werror_flag" ||
51477 test ! -s conftest.err
51478 } && test -s conftest.$ac_objext; then
51479
51480 { echo "$as_me:$LINENO: result: yes" >&5
51481 echo "${ECHO_T}yes" >&6; }
51482 GCC_PCH=1
51483
51484 else
51485 echo "$as_me: failed program was:" >&5
51486 sed 's/^/| /' conftest.$ac_ext >&5
51487
51488
51489 cat >conftest.$ac_ext <<_ACEOF
51490 /* confdefs.h. */
51491 _ACEOF
51492 cat confdefs.h >>conftest.$ac_ext
51493 cat >>conftest.$ac_ext <<_ACEOF
51494 /* end confdefs.h. */
51495
51496 int
51497 main ()
51498 {
51499
51500 #if !defined(__INTEL_COMPILER) || \
51501 (__INTEL_COMPILER < 800)
51502 There is no PCH support
51503 #endif
51504
51505 ;
51506 return 0;
51507 }
51508 _ACEOF
51509 rm -f conftest.$ac_objext
51510 if { (ac_try="$ac_compile"
51511 case "(($ac_try" in
51512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51513 *) ac_try_echo=$ac_try;;
51514 esac
51515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51516 (eval "$ac_compile") 2>conftest.er1
51517 ac_status=$?
51518 grep -v '^ *+' conftest.er1 >conftest.err
51519 rm -f conftest.er1
51520 cat conftest.err >&5
51521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51522 (exit $ac_status); } && {
51523 test -z "$ac_c_werror_flag" ||
51524 test ! -s conftest.err
51525 } && test -s conftest.$ac_objext; then
51526
51527 { echo "$as_me:$LINENO: result: yes" >&5
51528 echo "${ECHO_T}yes" >&6; }
51529 ICC_PCH=1
51530
51531 else
51532 echo "$as_me: failed program was:" >&5
51533 sed 's/^/| /' conftest.$ac_ext >&5
51534
51535
51536 { echo "$as_me:$LINENO: result: no" >&5
51537 echo "${ECHO_T}no" >&6; }
51538
51539 fi
51540
51541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51542
51543 fi
51544
51545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51546 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51547 USE_PCH=1
51548
51549 D='$'
51550 cat <<EOF >bk-make-pch
51551 #!/bin/sh
51552
51553 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51554 # script. It is used to generated precompiled headers.
51555 #
51556 # Permission is given to use this file in any way.
51557
51558 outfile="${D}{1}"
51559 header="${D}{2}"
51560 shift
51561 shift
51562
51563 compiler=""
51564 headerfile=""
51565
51566 while test ${D}{#} -gt 0; do
51567 add_to_cmdline=1
51568 case "${D}{1}" in
51569 -I* )
51570 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51571 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51572 headerfile="${D}{incdir}/${D}{header}"
51573 fi
51574 ;;
51575 -use-pch|-use_pch )
51576 shift
51577 add_to_cmdline=0
51578 ;;
51579 esac
51580 if test ${D}add_to_cmdline = 1 ; then
51581 compiler="${D}{compiler} ${D}{1}"
51582 fi
51583 shift
51584 done
51585
51586 if test "x${D}{headerfile}" = "x" ; then
51587 echo "error: can't find header ${D}{header} in include paths" >&2
51588 else
51589 if test -f ${D}{outfile} ; then
51590 rm -f ${D}{outfile}
51591 else
51592 mkdir -p \`dirname ${D}{outfile}\`
51593 fi
51594 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51595 mkdir -p .deps
51596 if test "x${GCC_PCH}" = "x1" ; then
51597 # can do this because gcc is >= 3.4:
51598 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51599 elif test "x${ICC_PCH}" = "x1" ; then
51600 filename=pch_gen-${D}${D}
51601 file=${D}{filename}.c
51602 dfile=${D}{filename}.d
51603 cat > ${D}file <<EOT
51604 #include "${D}header"
51605 EOT
51606 # using -MF icc complains about differing command lines in creation/use
51607 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51608 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51609 rm -f ${D}file ${D}dfile ${D}{filename}.o
51610 fi
51611 exit ${D}{?}
51612 fi
51613 EOF
51614
51615 chmod +x bk-make-pch
51616 BK_MAKE_PCH="`pwd`/bk-make-pch"
51617 fi
51618 fi
51619 fi
51620
51621
51622
51623
51624
51625 COND_BUILD_DEBUG="#"
51626 if test "x$BUILD" = "xdebug" ; then
51627 COND_BUILD_DEBUG=""
51628 fi
51629
51630 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51631 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51632 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51633 fi
51634
51635 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51636 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51637 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51638 fi
51639
51640 COND_BUILD_DEBUG_UNICODE_0="#"
51641 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51642 COND_BUILD_DEBUG_UNICODE_0=""
51643 fi
51644
51645 COND_BUILD_DEBUG_UNICODE_1="#"
51646 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51647 COND_BUILD_DEBUG_UNICODE_1=""
51648 fi
51649
51650 COND_BUILD_RELEASE="#"
51651 if test "x$BUILD" = "xrelease" ; then
51652 COND_BUILD_RELEASE=""
51653 fi
51654
51655 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51656 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51657 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51658 fi
51659
51660 COND_BUILD_RELEASE_UNICODE_0="#"
51661 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51662 COND_BUILD_RELEASE_UNICODE_0=""
51663 fi
51664
51665 COND_BUILD_RELEASE_UNICODE_1="#"
51666 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51667 COND_BUILD_RELEASE_UNICODE_1=""
51668 fi
51669
51670 COND_DEBUG_FLAG_1="#"
51671 if test "x$DEBUG_FLAG" = "x1" ; then
51672 COND_DEBUG_FLAG_1=""
51673 fi
51674
51675 COND_DEBUG_INFO_0="#"
51676 if test "x$DEBUG_INFO" = "x0" ; then
51677 COND_DEBUG_INFO_0=""
51678 fi
51679
51680 COND_DEBUG_INFO_1="#"
51681 if test "x$DEBUG_INFO" = "x1" ; then
51682 COND_DEBUG_INFO_1=""
51683 fi
51684
51685 COND_DEPS_TRACKING_0="#"
51686 if test "x$DEPS_TRACKING" = "x0" ; then
51687 COND_DEPS_TRACKING_0=""
51688 fi
51689
51690 COND_DEPS_TRACKING_1="#"
51691 if test "x$DEPS_TRACKING" = "x1" ; then
51692 COND_DEPS_TRACKING_1=""
51693 fi
51694
51695 COND_GCC_PCH_1="#"
51696 if test "x$GCC_PCH" = "x1" ; then
51697 COND_GCC_PCH_1=""
51698 fi
51699
51700 COND_ICC_PCH_1="#"
51701 if test "x$ICC_PCH" = "x1" ; then
51702 COND_ICC_PCH_1=""
51703 fi
51704
51705 COND_MONOLITHIC_0="#"
51706 if test "x$MONOLITHIC" = "x0" ; then
51707 COND_MONOLITHIC_0=""
51708 fi
51709
51710 COND_MONOLITHIC_0_SHARED_0="#"
51711 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51712 COND_MONOLITHIC_0_SHARED_0=""
51713 fi
51714
51715 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51716 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51717 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51718 fi
51719
51720 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51721 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51722 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51723 fi
51724
51725 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51726 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51727 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51728 fi
51729
51730 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51731 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51732 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51733 fi
51734
51735 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51736 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51737 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51738 fi
51739
51740 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51741 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51742 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51743 fi
51744
51745 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51746 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51747 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51748 fi
51749
51750 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51751 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51752 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51753 fi
51754
51755 COND_MONOLITHIC_0_SHARED_1="#"
51756 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51757 COND_MONOLITHIC_0_SHARED_1=""
51758 fi
51759
51760 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51761 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51762 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51763 fi
51764
51765 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51766 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51767 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51768 fi
51769
51770 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51771 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51772 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51773 fi
51774
51775 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51776 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51777 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51778 fi
51779
51780 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51781 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51782 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51783 fi
51784
51785 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51786 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51787 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51788 fi
51789
51790 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51791 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51792 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51793 fi
51794
51795 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51796 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51797 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51798 fi
51799
51800 COND_MONOLITHIC_0_USE_AUI_1="#"
51801 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51802 COND_MONOLITHIC_0_USE_AUI_1=""
51803 fi
51804
51805 COND_MONOLITHIC_0_USE_GUI_1="#"
51806 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51807 COND_MONOLITHIC_0_USE_GUI_1=""
51808 fi
51809
51810 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51811 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51812 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51813 fi
51814
51815 COND_MONOLITHIC_0_USE_HTML_1="#"
51816 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51817 COND_MONOLITHIC_0_USE_HTML_1=""
51818 fi
51819
51820 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51821 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51822 COND_MONOLITHIC_0_USE_MEDIA_1=""
51823 fi
51824
51825 COND_MONOLITHIC_0_USE_QA_1="#"
51826 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51827 COND_MONOLITHIC_0_USE_QA_1=""
51828 fi
51829
51830 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51831 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51832 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51833 fi
51834
51835 COND_MONOLITHIC_0_USE_STC_1="#"
51836 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51837 COND_MONOLITHIC_0_USE_STC_1=""
51838 fi
51839
51840 COND_MONOLITHIC_0_USE_XRC_1="#"
51841 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51842 COND_MONOLITHIC_0_USE_XRC_1=""
51843 fi
51844
51845 COND_MONOLITHIC_1="#"
51846 if test "x$MONOLITHIC" = "x1" ; then
51847 COND_MONOLITHIC_1=""
51848 fi
51849
51850 COND_MONOLITHIC_1_SHARED_0="#"
51851 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51852 COND_MONOLITHIC_1_SHARED_0=""
51853 fi
51854
51855 COND_MONOLITHIC_1_SHARED_1="#"
51856 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51857 COND_MONOLITHIC_1_SHARED_1=""
51858 fi
51859
51860 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51861 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51862 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51863 fi
51864
51865 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51866 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51867 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51868 fi
51869
51870 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51871 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51872 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51873 fi
51874
51875 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51876 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51877 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51878 fi
51879
51880 COND_PLATFORM_MACOSX_1="#"
51881 if test "x$PLATFORM_MACOSX" = "x1" ; then
51882 COND_PLATFORM_MACOSX_1=""
51883 fi
51884
51885 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
51886 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
51887 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
51888 fi
51889
51890 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
51891 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
51892 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
51893 fi
51894
51895 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
51896 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
51897 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
51898 fi
51899
51900 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
51901 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
51902 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
51903 fi
51904
51905 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
51906 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51907 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
51908 fi
51909
51910 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
51911 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
51912 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
51913 fi
51914
51915 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
51916 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
51917 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
51918 fi
51919
51920 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51921 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51922 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51923 fi
51924
51925 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51926 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51927 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51928 fi
51929
51930 COND_PLATFORM_MACOS_1="#"
51931 if test "x$PLATFORM_MACOS" = "x1" ; then
51932 COND_PLATFORM_MACOS_1=""
51933 fi
51934
51935 COND_PLATFORM_MAC_1="#"
51936 if test "x$PLATFORM_MAC" = "x1" ; then
51937 COND_PLATFORM_MAC_1=""
51938 fi
51939
51940 COND_PLATFORM_MSDOS_1="#"
51941 if test "x$PLATFORM_MSDOS" = "x1" ; then
51942 COND_PLATFORM_MSDOS_1=""
51943 fi
51944
51945 COND_PLATFORM_OS2_1="#"
51946 if test "x$PLATFORM_OS2" = "x1" ; then
51947 COND_PLATFORM_OS2_1=""
51948 fi
51949
51950 COND_PLATFORM_UNIX_0="#"
51951 if test "x$PLATFORM_UNIX" = "x0" ; then
51952 COND_PLATFORM_UNIX_0=""
51953 fi
51954
51955 COND_PLATFORM_UNIX_1="#"
51956 if test "x$PLATFORM_UNIX" = "x1" ; then
51957 COND_PLATFORM_UNIX_1=""
51958 fi
51959
51960 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51961 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51962 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51963 fi
51964
51965 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51966 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51967 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51968 fi
51969
51970 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51971 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51972 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51973 fi
51974
51975 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51976 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51977 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51978 fi
51979
51980 COND_PLATFORM_WIN32_0="#"
51981 if test "x$PLATFORM_WIN32" = "x0" ; then
51982 COND_PLATFORM_WIN32_0=""
51983 fi
51984
51985 COND_PLATFORM_WIN32_1="#"
51986 if test "x$PLATFORM_WIN32" = "x1" ; then
51987 COND_PLATFORM_WIN32_1=""
51988 fi
51989
51990 COND_SHARED_0="#"
51991 if test "x$SHARED" = "x0" ; then
51992 COND_SHARED_0=""
51993 fi
51994
51995 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51996 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51997 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51998 fi
51999
52000 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52001 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52002 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52003 fi
52004
52005 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52006 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52007 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52008 fi
52009
52010 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52011 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52012 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52013 fi
52014
52015 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52016 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52017 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52018 fi
52019
52020 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52021 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52022 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52023 fi
52024
52025 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52026 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52027 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52028 fi
52029
52030 COND_SHARED_0_USE_STC_1="#"
52031 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52032 COND_SHARED_0_USE_STC_1=""
52033 fi
52034
52035 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52036 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52037 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52038 fi
52039
52040 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52041 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52042 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52043 fi
52044
52045 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52046 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52047 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52048 fi
52049
52050 COND_SHARED_1="#"
52051 if test "x$SHARED" = "x1" ; then
52052 COND_SHARED_1=""
52053 fi
52054
52055 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52056 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52057 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52058 fi
52059
52060 COND_TOOLKIT_="#"
52061 if test "x$TOOLKIT" = "x" ; then
52062 COND_TOOLKIT_=""
52063 fi
52064
52065 COND_TOOLKIT_COCOA="#"
52066 if test "x$TOOLKIT" = "xCOCOA" ; then
52067 COND_TOOLKIT_COCOA=""
52068 fi
52069
52070 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52071 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52072 COND_TOOLKIT_COCOA_USE_GUI_1=""
52073 fi
52074
52075 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52076 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52077 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52078 fi
52079
52080 COND_TOOLKIT_DFB="#"
52081 if test "x$TOOLKIT" = "xDFB" ; then
52082 COND_TOOLKIT_DFB=""
52083 fi
52084
52085 COND_TOOLKIT_DFB_USE_GUI_1="#"
52086 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52087 COND_TOOLKIT_DFB_USE_GUI_1=""
52088 fi
52089
52090 COND_TOOLKIT_GTK="#"
52091 if test "x$TOOLKIT" = "xGTK" ; then
52092 COND_TOOLKIT_GTK=""
52093 fi
52094
52095 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52096 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52097 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52098 fi
52099
52100 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52101 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52102 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52103 fi
52104
52105 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52106 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52107 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52108 fi
52109
52110 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52111 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52112 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52113 fi
52114
52115 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
52116 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
52117 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
52118 fi
52119
52120 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52121 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52122 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52123 fi
52124
52125 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52126 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52127 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52128 fi
52129
52130 COND_TOOLKIT_GTK_USE_GUI_1="#"
52131 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52132 COND_TOOLKIT_GTK_USE_GUI_1=""
52133 fi
52134
52135 COND_TOOLKIT_MAC="#"
52136 if test "x$TOOLKIT" = "xMAC" ; then
52137 COND_TOOLKIT_MAC=""
52138 fi
52139
52140 COND_TOOLKIT_MAC_USE_GUI_1="#"
52141 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52142 COND_TOOLKIT_MAC_USE_GUI_1=""
52143 fi
52144
52145 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52146 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52147 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52148 fi
52149
52150 COND_TOOLKIT_MGL="#"
52151 if test "x$TOOLKIT" = "xMGL" ; then
52152 COND_TOOLKIT_MGL=""
52153 fi
52154
52155 COND_TOOLKIT_MGL_USE_GUI_1="#"
52156 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52157 COND_TOOLKIT_MGL_USE_GUI_1=""
52158 fi
52159
52160 COND_TOOLKIT_MOTIF="#"
52161 if test "x$TOOLKIT" = "xMOTIF" ; then
52162 COND_TOOLKIT_MOTIF=""
52163 fi
52164
52165 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52166 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52167 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52168 fi
52169
52170 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52171 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52172 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52173 fi
52174
52175 COND_TOOLKIT_MSW="#"
52176 if test "x$TOOLKIT" = "xMSW" ; then
52177 COND_TOOLKIT_MSW=""
52178 fi
52179
52180 COND_TOOLKIT_MSW_USE_GUI_1="#"
52181 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52182 COND_TOOLKIT_MSW_USE_GUI_1=""
52183 fi
52184
52185 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52186 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52187 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52188 fi
52189
52190 COND_TOOLKIT_MSW_WXUNIV_0="#"
52191 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52192 COND_TOOLKIT_MSW_WXUNIV_0=""
52193 fi
52194
52195 COND_TOOLKIT_PM="#"
52196 if test "x$TOOLKIT" = "xPM" ; then
52197 COND_TOOLKIT_PM=""
52198 fi
52199
52200 COND_TOOLKIT_PM_USE_GUI_1="#"
52201 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52202 COND_TOOLKIT_PM_USE_GUI_1=""
52203 fi
52204
52205 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52206 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52207 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52208 fi
52209
52210 COND_TOOLKIT_WINCE="#"
52211 if test "x$TOOLKIT" = "xWINCE" ; then
52212 COND_TOOLKIT_WINCE=""
52213 fi
52214
52215 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52216 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52217 COND_TOOLKIT_WINCE_USE_GUI_1=""
52218 fi
52219
52220 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52221 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52222 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52223 fi
52224
52225 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52226 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52227 COND_TOOLKIT_WINCE_WXUNIV_0=""
52228 fi
52229
52230 COND_TOOLKIT_X11="#"
52231 if test "x$TOOLKIT" = "xX11" ; then
52232 COND_TOOLKIT_X11=""
52233 fi
52234
52235 COND_TOOLKIT_X11_USE_GUI_1="#"
52236 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52237 COND_TOOLKIT_X11_USE_GUI_1=""
52238 fi
52239
52240 COND_UNICODE_1="#"
52241 if test "x$UNICODE" = "x1" ; then
52242 COND_UNICODE_1=""
52243 fi
52244
52245 COND_USE_EXCEPTIONS_0="#"
52246 if test "x$USE_EXCEPTIONS" = "x0" ; then
52247 COND_USE_EXCEPTIONS_0=""
52248 fi
52249
52250 COND_USE_EXCEPTIONS_1="#"
52251 if test "x$USE_EXCEPTIONS" = "x1" ; then
52252 COND_USE_EXCEPTIONS_1=""
52253 fi
52254
52255 COND_USE_GUI_0="#"
52256 if test "x$USE_GUI" = "x0" ; then
52257 COND_USE_GUI_0=""
52258 fi
52259
52260 COND_USE_GUI_1="#"
52261 if test "x$USE_GUI" = "x1" ; then
52262 COND_USE_GUI_1=""
52263 fi
52264
52265 COND_USE_GUI_1_USE_OPENGL_1="#"
52266 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52267 COND_USE_GUI_1_USE_OPENGL_1=""
52268 fi
52269
52270 COND_USE_GUI_1_WXUNIV_0="#"
52271 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52272 COND_USE_GUI_1_WXUNIV_0=""
52273 fi
52274
52275 COND_USE_GUI_1_WXUNIV_1="#"
52276 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52277 COND_USE_GUI_1_WXUNIV_1=""
52278 fi
52279
52280 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52281 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52282 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52283 fi
52284
52285 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52286 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52287 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52288 fi
52289
52290 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52291 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52292 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52293 fi
52294
52295 COND_USE_PCH_1="#"
52296 if test "x$USE_PCH" = "x1" ; then
52297 COND_USE_PCH_1=""
52298 fi
52299
52300 COND_USE_PLUGINS_0="#"
52301 if test "x$USE_PLUGINS" = "x0" ; then
52302 COND_USE_PLUGINS_0=""
52303 fi
52304
52305 COND_USE_RTTI_0="#"
52306 if test "x$USE_RTTI" = "x0" ; then
52307 COND_USE_RTTI_0=""
52308 fi
52309
52310 COND_USE_RTTI_1="#"
52311 if test "x$USE_RTTI" = "x1" ; then
52312 COND_USE_RTTI_1=""
52313 fi
52314
52315 COND_USE_SOSYMLINKS_1="#"
52316 if test "x$USE_SOSYMLINKS" = "x1" ; then
52317 COND_USE_SOSYMLINKS_1=""
52318 fi
52319
52320 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52321 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52322 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52323 fi
52324
52325 COND_USE_SOVERLINUX_1="#"
52326 if test "x$USE_SOVERLINUX" = "x1" ; then
52327 COND_USE_SOVERLINUX_1=""
52328 fi
52329
52330 COND_USE_SOVERSION_0="#"
52331 if test "x$USE_SOVERSION" = "x0" ; then
52332 COND_USE_SOVERSION_0=""
52333 fi
52334
52335 COND_USE_SOVERSOLARIS_1="#"
52336 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52337 COND_USE_SOVERSOLARIS_1=""
52338 fi
52339
52340 COND_USE_STC_1="#"
52341 if test "x$USE_STC" = "x1" ; then
52342 COND_USE_STC_1=""
52343 fi
52344
52345 COND_USE_THREADS_0="#"
52346 if test "x$USE_THREADS" = "x0" ; then
52347 COND_USE_THREADS_0=""
52348 fi
52349
52350 COND_USE_THREADS_1="#"
52351 if test "x$USE_THREADS" = "x1" ; then
52352 COND_USE_THREADS_1=""
52353 fi
52354
52355 COND_USE_XRC_1="#"
52356 if test "x$USE_XRC" = "x1" ; then
52357 COND_USE_XRC_1=""
52358 fi
52359
52360 COND_WINDOWS_IMPLIB_1="#"
52361 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52362 COND_WINDOWS_IMPLIB_1=""
52363 fi
52364
52365 COND_WITH_PLUGIN_SDL_1="#"
52366 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52367 COND_WITH_PLUGIN_SDL_1=""
52368 fi
52369
52370 COND_WXUNIV_0="#"
52371 if test "x$WXUNIV" = "x0" ; then
52372 COND_WXUNIV_0=""
52373 fi
52374
52375 COND_WXUNIV_1="#"
52376 if test "x$WXUNIV" = "x1" ; then
52377 COND_WXUNIV_1=""
52378 fi
52379
52380 COND_WXUSE_EXPAT_BUILTIN="#"
52381 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52382 COND_WXUSE_EXPAT_BUILTIN=""
52383 fi
52384
52385 COND_WXUSE_LIBJPEG_BUILTIN="#"
52386 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52387 COND_WXUSE_LIBJPEG_BUILTIN=""
52388 fi
52389
52390 COND_WXUSE_LIBPNG_BUILTIN="#"
52391 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52392 COND_WXUSE_LIBPNG_BUILTIN=""
52393 fi
52394
52395 COND_WXUSE_LIBTIFF_BUILTIN="#"
52396 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52397 COND_WXUSE_LIBTIFF_BUILTIN=""
52398 fi
52399
52400 COND_WXUSE_REGEX_BUILTIN="#"
52401 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52402 COND_WXUSE_REGEX_BUILTIN=""
52403 fi
52404
52405 COND_WXUSE_ZLIB_BUILTIN="#"
52406 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52407 COND_WXUSE_ZLIB_BUILTIN=""
52408 fi
52409
52410
52411
52412 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52413 { { 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
52414 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;}
52415 { (exit 1); exit 1; }; }
52416 fi
52417
52418 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52419 { { 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
52420 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;}
52421 { (exit 1); exit 1; }; }
52422 fi
52423
52424
52425 case ${INSTALL} in
52426 /* ) # Absolute
52427 ;;
52428 ?:* ) # Drive letter, considered as absolute.
52429 ;;
52430 *)
52431 INSTALL=`pwd`/${INSTALL} ;;
52432 esac
52433
52434 if test "$wxUSE_GUI" = "yes"; then
52435
52436 if test "$wxUSE_MSW" = 1 ; then
52437 if test "x$WINDRES" = "x"; then
52438 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52439 echo "$as_me: error: Required windres program not found" >&2;}
52440 { (exit 1); exit 1; }; }
52441 fi
52442
52443 RESCOMP="$WINDRES"
52444 fi
52445
52446 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
52447 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52448 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52449
52450 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52451
52452 # Extract the first word of "DeRez", so it can be a program name with args.
52453 set dummy DeRez; ac_word=$2
52454 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52456 if test "${ac_cv_prog_DEREZ+set}" = set; then
52457 echo $ECHO_N "(cached) $ECHO_C" >&6
52458 else
52459 if test -n "$DEREZ"; then
52460 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52461 else
52462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52463 for as_dir in $PATH
52464 do
52465 IFS=$as_save_IFS
52466 test -z "$as_dir" && as_dir=.
52467 for ac_exec_ext in '' $ac_executable_extensions; do
52468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52469 ac_cv_prog_DEREZ="DeRez"
52470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52471 break 2
52472 fi
52473 done
52474 done
52475 IFS=$as_save_IFS
52476
52477 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52478 fi
52479 fi
52480 DEREZ=$ac_cv_prog_DEREZ
52481 if test -n "$DEREZ"; then
52482 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52483 echo "${ECHO_T}$DEREZ" >&6; }
52484 else
52485 { echo "$as_me:$LINENO: result: no" >&5
52486 echo "${ECHO_T}no" >&6; }
52487 fi
52488
52489
52490
52491 MACSETFILE="\$(SETFILE)"
52492
52493 if test "$wxUSE_MAC" = 1; then
52494 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52495 RESCOMP="$REZ"
52496 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52497 else
52498 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52499 RESCOMP="cat /dev/null \| $REZ"
52500 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52501 fi
52502
52503 else
52504 MACSETFILE="@true"
52505
52506 if test "$wxUSE_PM" = 1; then
52507 RESCOMP="emxbind"
52508 WXCONFIG_RESFLAGS="-ep"
52509
52510 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52511 else
52512 POSTLINK_COMMAND="@true"
52513 fi
52514 fi
52515
52516 fi
52517
52518
52519 if test $GCC_PCH = 1
52520 then
52521 if test "$wx_cv_gcc_pch_bug" = yes; then
52522 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52523 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52524 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52525 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52526 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52527 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52528 fi
52529
52530 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52531 fi
52532
52533
52534 if test "$wxUSE_MAC" = 1 ; then
52535 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52536 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52537 mv temp bk-deps
52538 chmod +x bk-deps
52539 fi
52540 fi
52541
52542 if test "$wxUSE_SHARED" = "yes"; then
52543 case "${host}" in
52544 *-pc-os2_emx | *-pc-os2-emx )
52545 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52546 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52547 cp -p ${srcdir}/src/os2/dllnames.sh .
52548 cp -p ${srcdir}/src/os2/dllar.sh .
52549 ;;
52550 esac
52551 fi
52552 if test "$wxUSE_OMF" = "yes"; then
52553 case "${host}" in
52554 *-pc-os2_emx | *-pc-os2-emx )
52555 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52556 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52557 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52558 ;;
52559 esac
52560 fi
52561
52562 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52563
52564
52565 case "${host}" in
52566 *-*-solaris2* )
52567 if test "$GCC" = yes; then
52568 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52569 LIBS=`echo $LIBS | sed 's/-mt//'`
52570 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52571 fi
52572 ;;
52573
52574 *-*-linux* )
52575 if test "x$SUNCXX" = xyes; then
52576 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52577 LIBS=`echo $LIBS | sed 's/-pthread//'`
52578 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52579 fi
52580 ;;
52581 esac
52582
52583 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52584 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52585
52586 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52587
52588
52589
52590
52591
52592
52593
52594
52595
52596
52597
52598
52599
52600
52601
52602
52603
52604
52605
52606
52607
52608
52609
52610
52611
52612
52613
52614
52615
52616
52617
52618
52619
52620
52621
52622
52623
52624
52625
52626
52627
52628
52629
52630
52631
52632
52633
52634
52635
52636
52637
52638
52639
52640
52641
52642
52643
52644
52645
52646
52647 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52648 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52649 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52650 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52651 echo $ECHO_N "(cached) $ECHO_C" >&6
52652 else
52653 cat >conftest.make <<\_ACEOF
52654 SHELL = /bin/sh
52655 all:
52656 @echo '@@@%%%=$(MAKE)=@@@%%%'
52657 _ACEOF
52658 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52659 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52660 *@@@%%%=?*=@@@%%%*)
52661 eval ac_cv_prog_make_${ac_make}_set=yes;;
52662 *)
52663 eval ac_cv_prog_make_${ac_make}_set=no;;
52664 esac
52665 rm -f conftest.make
52666 fi
52667 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52668 { echo "$as_me:$LINENO: result: yes" >&5
52669 echo "${ECHO_T}yes" >&6; }
52670 SET_MAKE=
52671 else
52672 { echo "$as_me:$LINENO: result: no" >&5
52673 echo "${ECHO_T}no" >&6; }
52674 SET_MAKE="MAKE=${MAKE-make}"
52675 fi
52676
52677
52678
52679 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52680
52681
52682 if test "$USE_WIN32" = 1; then
52683 ac_config_commands="$ac_config_commands
52684 rcdefs.h
52685 "
52686
52687 fi
52688
52689 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52690
52691
52692 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52693
52694
52695 if test "$wx_cv_version_script" = "yes"; then
52696 ac_config_files="$ac_config_files version-script"
52697
52698 fi
52699 ac_config_files="$ac_config_files Makefile"
52700
52701
52702 ac_config_commands="$ac_config_commands wx-config"
52703
52704
52705
52706 if test "$wxWITH_SUBDIRS" != "no"; then
52707 if test "$wxUSE_GUI" = "yes"; then
52708 SUBDIRS="samples demos utils"
52709 else
52710 SUBDIRS="samples utils"
52711 fi
52712
52713
52714
52715 # Check whether --with-cppunit-prefix was given.
52716 if test "${with_cppunit_prefix+set}" = set; then
52717 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52718 else
52719 cppunit_config_prefix=""
52720 fi
52721
52722
52723 # Check whether --with-cppunit-exec-prefix was given.
52724 if test "${with_cppunit_exec_prefix+set}" = set; then
52725 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52726 else
52727 cppunit_config_exec_prefix=""
52728 fi
52729
52730
52731 if test x$cppunit_config_exec_prefix != x ; then
52732 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52733 if test x${CPPUNIT_CONFIG+set} != xset ; then
52734 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52735 fi
52736 fi
52737 if test x$cppunit_config_prefix != x ; then
52738 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52739 if test x${CPPUNIT_CONFIG+set} != xset ; then
52740 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52741 fi
52742 fi
52743
52744 # Extract the first word of "cppunit-config", so it can be a program name with args.
52745 set dummy cppunit-config; ac_word=$2
52746 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52748 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52749 echo $ECHO_N "(cached) $ECHO_C" >&6
52750 else
52751 case $CPPUNIT_CONFIG in
52752 [\\/]* | ?:[\\/]*)
52753 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52754 ;;
52755 *)
52756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52757 for as_dir in $PATH
52758 do
52759 IFS=$as_save_IFS
52760 test -z "$as_dir" && as_dir=.
52761 for ac_exec_ext in '' $ac_executable_extensions; do
52762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52763 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52765 break 2
52766 fi
52767 done
52768 done
52769 IFS=$as_save_IFS
52770
52771 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52772 ;;
52773 esac
52774 fi
52775 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52776 if test -n "$CPPUNIT_CONFIG"; then
52777 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52778 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52779 else
52780 { echo "$as_me:$LINENO: result: no" >&5
52781 echo "${ECHO_T}no" >&6; }
52782 fi
52783
52784
52785 cppunit_version_min=1.8.0
52786
52787 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52788 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52789 no_cppunit=""
52790 if test "$CPPUNIT_CONFIG" = "no" ; then
52791 { echo "$as_me:$LINENO: result: no" >&5
52792 echo "${ECHO_T}no" >&6; }
52793 no_cppunit=yes
52794 else
52795 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52796 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52797 cppunit_version=`$CPPUNIT_CONFIG --version`
52798
52799 cppunit_major_version=`echo $cppunit_version | \
52800 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52801 cppunit_minor_version=`echo $cppunit_version | \
52802 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52803 cppunit_micro_version=`echo $cppunit_version | \
52804 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52805
52806 cppunit_major_min=`echo $cppunit_version_min | \
52807 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52808 cppunit_minor_min=`echo $cppunit_version_min | \
52809 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52810 cppunit_micro_min=`echo $cppunit_version_min | \
52811 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52812
52813 cppunit_version_proper=`expr \
52814 $cppunit_major_version \> $cppunit_major_min \| \
52815 $cppunit_major_version \= $cppunit_major_min \& \
52816 $cppunit_minor_version \> $cppunit_minor_min \| \
52817 $cppunit_major_version \= $cppunit_major_min \& \
52818 $cppunit_minor_version \= $cppunit_minor_min \& \
52819 $cppunit_micro_version \>= $cppunit_micro_min `
52820
52821 if test "$cppunit_version_proper" = "1" ; then
52822 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52823 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52824 else
52825 { echo "$as_me:$LINENO: result: no" >&5
52826 echo "${ECHO_T}no" >&6; }
52827 no_cppunit=yes
52828 fi
52829 fi
52830
52831 if test "x$no_cppunit" = x ; then
52832 SUBDIRS="$SUBDIRS tests"
52833 else
52834 CPPUNIT_CFLAGS=""
52835 CPPUNIT_LIBS=""
52836 :
52837 fi
52838
52839
52840
52841
52842
52843 for subdir in $SUBDIRS; do
52844 if test -d ${srcdir}/${subdir} ; then
52845 if test "$wxUSE_GUI" = "yes"; then
52846 if test ${subdir} = "samples"; then
52847 makefiles="samples/Makefile.in $makefiles"
52848 for sample in $SAMPLES_SUBDIRS; do
52849 if test -d $srcdir/samples/$sample; then
52850 makefiles="samples/$sample/Makefile.in $makefiles"
52851 fi
52852 done
52853 else
52854 disabled_var=DISABLED_`echo $subdir | tr a-z A-Z`
52855 eval "disabled=\$$disabled_var"
52856 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52857 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52858 fi
52859 else
52860 if test ${subdir} = "samples"; then
52861 makefiles="samples/Makefile.in samples/console/Makefile.in"
52862 elif test ${subdir} = "utils"; then
52863 makefiles=""
52864 for util in HelpGen tex2rtf ; do
52865 if test -d $srcdir/utils/$util ; then
52866 makefiles="utils/$util/Makefile.in \
52867 utils/$util/src/Makefile.in \
52868 $makefiles"
52869 fi
52870 done
52871 else
52872 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52873 fi
52874 fi
52875
52876 for mkin in $makefiles ; do
52877 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52878 ac_config_files="$ac_config_files $mk"
52879
52880 done
52881 fi
52882 done
52883 fi
52884 cat >confcache <<\_ACEOF
52885 # This file is a shell script that caches the results of configure
52886 # tests run on this system so they can be shared between configure
52887 # scripts and configure runs, see configure's option --config-cache.
52888 # It is not useful on other systems. If it contains results you don't
52889 # want to keep, you may remove or edit it.
52890 #
52891 # config.status only pays attention to the cache file if you give it
52892 # the --recheck option to rerun configure.
52893 #
52894 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52895 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52896 # following values.
52897
52898 _ACEOF
52899
52900 # The following way of writing the cache mishandles newlines in values,
52901 # but we know of no workaround that is simple, portable, and efficient.
52902 # So, we kill variables containing newlines.
52903 # Ultrix sh set writes to stderr and can't be redirected directly,
52904 # and sets the high bit in the cache file unless we assign to the vars.
52905 (
52906 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52907 eval ac_val=\$$ac_var
52908 case $ac_val in #(
52909 *${as_nl}*)
52910 case $ac_var in #(
52911 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52912 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52913 esac
52914 case $ac_var in #(
52915 _ | IFS | as_nl) ;; #(
52916 *) $as_unset $ac_var ;;
52917 esac ;;
52918 esac
52919 done
52920
52921 (set) 2>&1 |
52922 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52923 *${as_nl}ac_space=\ *)
52924 # `set' does not quote correctly, so add quotes (double-quote
52925 # substitution turns \\\\ into \\, and sed turns \\ into \).
52926 sed -n \
52927 "s/'/'\\\\''/g;
52928 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52929 ;; #(
52930 *)
52931 # `set' quotes correctly as required by POSIX, so do not add quotes.
52932 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52933 ;;
52934 esac |
52935 sort
52936 ) |
52937 sed '
52938 /^ac_cv_env_/b end
52939 t clear
52940 :clear
52941 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52942 t end
52943 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52944 :end' >>confcache
52945 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
52946 if test -w "$cache_file"; then
52947 test "x$cache_file" != "x/dev/null" &&
52948 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52949 echo "$as_me: updating cache $cache_file" >&6;}
52950 cat confcache >$cache_file
52951 else
52952 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52953 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52954 fi
52955 fi
52956 rm -f confcache
52957
52958 test "x$prefix" = xNONE && prefix=$ac_default_prefix
52959 # Let make expand exec_prefix.
52960 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
52961
52962 DEFS=-DHAVE_CONFIG_H
52963
52964 ac_libobjs=
52965 ac_ltlibobjs=
52966 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
52967 # 1. Remove the extension, and $U if already installed.
52968 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
52969 ac_i=`echo "$ac_i" | sed "$ac_script"`
52970 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52971 # will be set to the directory where LIBOBJS objects are built.
52972 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52973 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52974 done
52975 LIBOBJS=$ac_libobjs
52976
52977 LTLIBOBJS=$ac_ltlibobjs
52978
52979
52980
52981 : ${CONFIG_STATUS=./config.status}
52982 ac_clean_files_save=$ac_clean_files
52983 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
52984 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52985 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52986 cat >$CONFIG_STATUS <<_ACEOF
52987 #! $SHELL
52988 # Generated by $as_me.
52989 # Run this file to recreate the current configuration.
52990 # Compiler output produced by configure, useful for debugging
52991 # configure, is in config.log if it exists.
52992
52993 debug=false
52994 ac_cs_recheck=false
52995 ac_cs_silent=false
52996 SHELL=\${CONFIG_SHELL-$SHELL}
52997 _ACEOF
52998
52999 cat >>$CONFIG_STATUS <<\_ACEOF
53000 ## --------------------- ##
53001 ## M4sh Initialization. ##
53002 ## --------------------- ##
53003
53004 # Be more Bourne compatible
53005 DUALCASE=1; export DUALCASE # for MKS sh
53006 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53007 emulate sh
53008 NULLCMD=:
53009 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53010 # is contrary to our usage. Disable this feature.
53011 alias -g '${1+"$@"}'='"$@"'
53012 setopt NO_GLOB_SUBST
53013 else
53014 case `(set -o) 2>/dev/null` in
53015 *posix*) set -o posix ;;
53016 esac
53017
53018 fi
53019
53020
53021
53022
53023 # PATH needs CR
53024 # Avoid depending upon Character Ranges.
53025 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53026 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53027 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53028 as_cr_digits='0123456789'
53029 as_cr_alnum=$as_cr_Letters$as_cr_digits
53030
53031 # The user is always right.
53032 if test "${PATH_SEPARATOR+set}" != set; then
53033 echo "#! /bin/sh" >conf$$.sh
53034 echo "exit 0" >>conf$$.sh
53035 chmod +x conf$$.sh
53036 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53037 PATH_SEPARATOR=';'
53038 else
53039 PATH_SEPARATOR=:
53040 fi
53041 rm -f conf$$.sh
53042 fi
53043
53044 # Support unset when possible.
53045 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53046 as_unset=unset
53047 else
53048 as_unset=false
53049 fi
53050
53051
53052 # IFS
53053 # We need space, tab and new line, in precisely that order. Quoting is
53054 # there to prevent editors from complaining about space-tab.
53055 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53056 # splitting by setting IFS to empty value.)
53057 as_nl='
53058 '
53059 IFS=" "" $as_nl"
53060
53061 # Find who we are. Look in the path if we contain no directory separator.
53062 case $0 in
53063 *[\\/]* ) as_myself=$0 ;;
53064 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53065 for as_dir in $PATH
53066 do
53067 IFS=$as_save_IFS
53068 test -z "$as_dir" && as_dir=.
53069 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53070 done
53071 IFS=$as_save_IFS
53072
53073 ;;
53074 esac
53075 # We did not find ourselves, most probably we were run as `sh COMMAND'
53076 # in which case we are not to be found in the path.
53077 if test "x$as_myself" = x; then
53078 as_myself=$0
53079 fi
53080 if test ! -f "$as_myself"; then
53081 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53082 { (exit 1); exit 1; }
53083 fi
53084
53085 # Work around bugs in pre-3.0 UWIN ksh.
53086 for as_var in ENV MAIL MAILPATH
53087 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53088 done
53089 PS1='$ '
53090 PS2='> '
53091 PS4='+ '
53092
53093 # NLS nuisances.
53094 for as_var in \
53095 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53096 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53097 LC_TELEPHONE LC_TIME
53098 do
53099 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53100 eval $as_var=C; export $as_var
53101 else
53102 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53103 fi
53104 done
53105
53106 # Required to use basename.
53107 if expr a : '\(a\)' >/dev/null 2>&1 &&
53108 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53109 as_expr=expr
53110 else
53111 as_expr=false
53112 fi
53113
53114 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53115 as_basename=basename
53116 else
53117 as_basename=false
53118 fi
53119
53120
53121 # Name of the executable.
53122 as_me=`$as_basename -- "$0" ||
53123 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53124 X"$0" : 'X\(//\)$' \| \
53125 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53126 echo X/"$0" |
53127 sed '/^.*\/\([^/][^/]*\)\/*$/{
53128 s//\1/
53129 q
53130 }
53131 /^X\/\(\/\/\)$/{
53132 s//\1/
53133 q
53134 }
53135 /^X\/\(\/\).*/{
53136 s//\1/
53137 q
53138 }
53139 s/.*/./; q'`
53140
53141 # CDPATH.
53142 $as_unset CDPATH
53143
53144
53145
53146 as_lineno_1=$LINENO
53147 as_lineno_2=$LINENO
53148 test "x$as_lineno_1" != "x$as_lineno_2" &&
53149 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53150
53151 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53152 # uniformly replaced by the line number. The first 'sed' inserts a
53153 # line-number line after each line using $LINENO; the second 'sed'
53154 # does the real work. The second script uses 'N' to pair each
53155 # line-number line with the line containing $LINENO, and appends
53156 # trailing '-' during substitution so that $LINENO is not a special
53157 # case at line end.
53158 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53159 # scripts with optimization help from Paolo Bonzini. Blame Lee
53160 # E. McMahon (1931-1989) for sed's syntax. :-)
53161 sed -n '
53162 p
53163 /[$]LINENO/=
53164 ' <$as_myself |
53165 sed '
53166 s/[$]LINENO.*/&-/
53167 t lineno
53168 b
53169 :lineno
53170 N
53171 :loop
53172 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53173 t loop
53174 s/-\n.*//
53175 ' >$as_me.lineno &&
53176 chmod +x "$as_me.lineno" ||
53177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53178 { (exit 1); exit 1; }; }
53179
53180 # Don't try to exec as it changes $[0], causing all sort of problems
53181 # (the dirname of $[0] is not the place where we might find the
53182 # original and so on. Autoconf is especially sensitive to this).
53183 . "./$as_me.lineno"
53184 # Exit status is that of the last command.
53185 exit
53186 }
53187
53188
53189 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53190 as_dirname=dirname
53191 else
53192 as_dirname=false
53193 fi
53194
53195 ECHO_C= ECHO_N= ECHO_T=
53196 case `echo -n x` in
53197 -n*)
53198 case `echo 'x\c'` in
53199 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53200 *) ECHO_C='\c';;
53201 esac;;
53202 *)
53203 ECHO_N='-n';;
53204 esac
53205
53206 if expr a : '\(a\)' >/dev/null 2>&1 &&
53207 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53208 as_expr=expr
53209 else
53210 as_expr=false
53211 fi
53212
53213 rm -f conf$$ conf$$.exe conf$$.file
53214 if test -d conf$$.dir; then
53215 rm -f conf$$.dir/conf$$.file
53216 else
53217 rm -f conf$$.dir
53218 mkdir conf$$.dir
53219 fi
53220 echo >conf$$.file
53221 if ln -s conf$$.file conf$$ 2>/dev/null; then
53222 as_ln_s='ln -s'
53223 # ... but there are two gotchas:
53224 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53225 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53226 # In both cases, we have to default to `cp -p'.
53227 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53228 as_ln_s='cp -p'
53229 elif ln conf$$.file conf$$ 2>/dev/null; then
53230 as_ln_s=ln
53231 else
53232 as_ln_s='cp -p'
53233 fi
53234 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53235 rmdir conf$$.dir 2>/dev/null
53236
53237 if mkdir -p . 2>/dev/null; then
53238 as_mkdir_p=:
53239 else
53240 test -d ./-p && rmdir ./-p
53241 as_mkdir_p=false
53242 fi
53243
53244 if test -x / >/dev/null 2>&1; then
53245 as_test_x='test -x'
53246 else
53247 if ls -dL / >/dev/null 2>&1; then
53248 as_ls_L_option=L
53249 else
53250 as_ls_L_option=
53251 fi
53252 as_test_x='
53253 eval sh -c '\''
53254 if test -d "$1"; then
53255 test -d "$1/.";
53256 else
53257 case $1 in
53258 -*)set "./$1";;
53259 esac;
53260 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53261 ???[sx]*):;;*)false;;esac;fi
53262 '\'' sh
53263 '
53264 fi
53265 as_executable_p=$as_test_x
53266
53267 # Sed expression to map a string onto a valid CPP name.
53268 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53269
53270 # Sed expression to map a string onto a valid variable name.
53271 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53272
53273
53274 exec 6>&1
53275
53276 # Save the log message, to keep $[0] and so on meaningful, and to
53277 # report actual input values of CONFIG_FILES etc. instead of their
53278 # values after options handling.
53279 ac_log="
53280 This file was extended by wxWidgets $as_me 2.9.0, which was
53281 generated by GNU Autoconf 2.61. Invocation command line was
53282
53283 CONFIG_FILES = $CONFIG_FILES
53284 CONFIG_HEADERS = $CONFIG_HEADERS
53285 CONFIG_LINKS = $CONFIG_LINKS
53286 CONFIG_COMMANDS = $CONFIG_COMMANDS
53287 $ $0 $@
53288
53289 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53290 "
53291
53292 _ACEOF
53293
53294 cat >>$CONFIG_STATUS <<_ACEOF
53295 # Files that config.status was made for.
53296 config_files="$ac_config_files"
53297 config_headers="$ac_config_headers"
53298 config_commands="$ac_config_commands"
53299
53300 _ACEOF
53301
53302 cat >>$CONFIG_STATUS <<\_ACEOF
53303 ac_cs_usage="\
53304 \`$as_me' instantiates files from templates according to the
53305 current configuration.
53306
53307 Usage: $0 [OPTIONS] [FILE]...
53308
53309 -h, --help print this help, then exit
53310 -V, --version print version number and configuration settings, then exit
53311 -q, --quiet do not print progress messages
53312 -d, --debug don't remove temporary files
53313 --recheck update $as_me by reconfiguring in the same conditions
53314 --file=FILE[:TEMPLATE]
53315 instantiate the configuration file FILE
53316 --header=FILE[:TEMPLATE]
53317 instantiate the configuration header FILE
53318
53319 Configuration files:
53320 $config_files
53321
53322 Configuration headers:
53323 $config_headers
53324
53325 Configuration commands:
53326 $config_commands
53327
53328 Report bugs to <bug-autoconf@gnu.org>."
53329
53330 _ACEOF
53331 cat >>$CONFIG_STATUS <<_ACEOF
53332 ac_cs_version="\\
53333 wxWidgets config.status 2.9.0
53334 configured by $0, generated by GNU Autoconf 2.61,
53335 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53336
53337 Copyright (C) 2006 Free Software Foundation, Inc.
53338 This config.status script is free software; the Free Software Foundation
53339 gives unlimited permission to copy, distribute and modify it."
53340
53341 ac_pwd='$ac_pwd'
53342 srcdir='$srcdir'
53343 INSTALL='$INSTALL'
53344 _ACEOF
53345
53346 cat >>$CONFIG_STATUS <<\_ACEOF
53347 # If no file are specified by the user, then we need to provide default
53348 # value. By we need to know if files were specified by the user.
53349 ac_need_defaults=:
53350 while test $# != 0
53351 do
53352 case $1 in
53353 --*=*)
53354 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53355 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53356 ac_shift=:
53357 ;;
53358 *)
53359 ac_option=$1
53360 ac_optarg=$2
53361 ac_shift=shift
53362 ;;
53363 esac
53364
53365 case $ac_option in
53366 # Handling of the options.
53367 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53368 ac_cs_recheck=: ;;
53369 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53370 echo "$ac_cs_version"; exit ;;
53371 --debug | --debu | --deb | --de | --d | -d )
53372 debug=: ;;
53373 --file | --fil | --fi | --f )
53374 $ac_shift
53375 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53376 ac_need_defaults=false;;
53377 --header | --heade | --head | --hea )
53378 $ac_shift
53379 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53380 ac_need_defaults=false;;
53381 --he | --h)
53382 # Conflict between --help and --header
53383 { echo "$as_me: error: ambiguous option: $1
53384 Try \`$0 --help' for more information." >&2
53385 { (exit 1); exit 1; }; };;
53386 --help | --hel | -h )
53387 echo "$ac_cs_usage"; exit ;;
53388 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53389 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53390 ac_cs_silent=: ;;
53391
53392 # This is an error.
53393 -*) { echo "$as_me: error: unrecognized option: $1
53394 Try \`$0 --help' for more information." >&2
53395 { (exit 1); exit 1; }; } ;;
53396
53397 *) ac_config_targets="$ac_config_targets $1"
53398 ac_need_defaults=false ;;
53399
53400 esac
53401 shift
53402 done
53403
53404 ac_configure_extra_args=
53405
53406 if $ac_cs_silent; then
53407 exec 6>/dev/null
53408 ac_configure_extra_args="$ac_configure_extra_args --silent"
53409 fi
53410
53411 _ACEOF
53412 cat >>$CONFIG_STATUS <<_ACEOF
53413 if \$ac_cs_recheck; then
53414 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53415 CONFIG_SHELL=$SHELL
53416 export CONFIG_SHELL
53417 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53418 fi
53419
53420 _ACEOF
53421 cat >>$CONFIG_STATUS <<\_ACEOF
53422 exec 5>>config.log
53423 {
53424 echo
53425 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53426 ## Running $as_me. ##
53427 _ASBOX
53428 echo "$ac_log"
53429 } >&5
53430
53431 _ACEOF
53432 cat >>$CONFIG_STATUS <<_ACEOF
53433 #
53434 # INIT-COMMANDS
53435 #
53436
53437 CPP="$CPP"
53438 infile="$srcdir/include/wx/msw/genrcdefs.h"
53439 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53440
53441
53442 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53443 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53444 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53445 LN_S="${LN_S}"
53446
53447
53448 _ACEOF
53449
53450 cat >>$CONFIG_STATUS <<\_ACEOF
53451
53452 # Handling of arguments.
53453 for ac_config_target in $ac_config_targets
53454 do
53455 case $ac_config_target in
53456 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53457 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53458 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53459 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53460 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53461 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53462 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53463 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53464
53465 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53466 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53467 { (exit 1); exit 1; }; };;
53468 esac
53469 done
53470
53471
53472 # If the user did not use the arguments to specify the items to instantiate,
53473 # then the envvar interface is used. Set only those that are not.
53474 # We use the long form for the default assignment because of an extremely
53475 # bizarre bug on SunOS 4.1.3.
53476 if $ac_need_defaults; then
53477 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53478 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53479 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53480 fi
53481
53482 # Have a temporary directory for convenience. Make it in the build tree
53483 # simply because there is no reason against having it here, and in addition,
53484 # creating and moving files from /tmp can sometimes cause problems.
53485 # Hook for its removal unless debugging.
53486 # Note that there is a small window in which the directory will not be cleaned:
53487 # after its creation but before its name has been assigned to `$tmp'.
53488 $debug ||
53489 {
53490 tmp=
53491 trap 'exit_status=$?
53492 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53493 ' 0
53494 trap '{ (exit 1); exit 1; }' 1 2 13 15
53495 }
53496 # Create a (secure) tmp directory for tmp files.
53497
53498 {
53499 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53500 test -n "$tmp" && test -d "$tmp"
53501 } ||
53502 {
53503 tmp=./conf$$-$RANDOM
53504 (umask 077 && mkdir "$tmp")
53505 } ||
53506 {
53507 echo "$me: cannot create a temporary directory in ." >&2
53508 { (exit 1); exit 1; }
53509 }
53510
53511 #
53512 # Set up the sed scripts for CONFIG_FILES section.
53513 #
53514
53515 # No need to generate the scripts if there are no CONFIG_FILES.
53516 # This happens for instance when ./config.status config.h
53517 if test -n "$CONFIG_FILES"; then
53518
53519 _ACEOF
53520
53521
53522
53523 ac_delim='%!_!# '
53524 for ac_last_try in false false false false false :; do
53525 cat >conf$$subs.sed <<_ACEOF
53526 SHELL!$SHELL$ac_delim
53527 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53528 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53529 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53530 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53531 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53532 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53533 exec_prefix!$exec_prefix$ac_delim
53534 prefix!$prefix$ac_delim
53535 program_transform_name!$program_transform_name$ac_delim
53536 bindir!$bindir$ac_delim
53537 sbindir!$sbindir$ac_delim
53538 libexecdir!$libexecdir$ac_delim
53539 datarootdir!$datarootdir$ac_delim
53540 datadir!$datadir$ac_delim
53541 sysconfdir!$sysconfdir$ac_delim
53542 sharedstatedir!$sharedstatedir$ac_delim
53543 localstatedir!$localstatedir$ac_delim
53544 includedir!$includedir$ac_delim
53545 oldincludedir!$oldincludedir$ac_delim
53546 docdir!$docdir$ac_delim
53547 infodir!$infodir$ac_delim
53548 htmldir!$htmldir$ac_delim
53549 dvidir!$dvidir$ac_delim
53550 pdfdir!$pdfdir$ac_delim
53551 psdir!$psdir$ac_delim
53552 libdir!$libdir$ac_delim
53553 localedir!$localedir$ac_delim
53554 mandir!$mandir$ac_delim
53555 DEFS!$DEFS$ac_delim
53556 ECHO_C!$ECHO_C$ac_delim
53557 ECHO_N!$ECHO_N$ac_delim
53558 ECHO_T!$ECHO_T$ac_delim
53559 LIBS!$LIBS$ac_delim
53560 build_alias!$build_alias$ac_delim
53561 host_alias!$host_alias$ac_delim
53562 target_alias!$target_alias$ac_delim
53563 build!$build$ac_delim
53564 build_cpu!$build_cpu$ac_delim
53565 build_vendor!$build_vendor$ac_delim
53566 build_os!$build_os$ac_delim
53567 host!$host$ac_delim
53568 host_cpu!$host_cpu$ac_delim
53569 host_vendor!$host_vendor$ac_delim
53570 host_os!$host_os$ac_delim
53571 target!$target$ac_delim
53572 target_cpu!$target_cpu$ac_delim
53573 target_vendor!$target_vendor$ac_delim
53574 target_os!$target_os$ac_delim
53575 wx_top_builddir!$wx_top_builddir$ac_delim
53576 CC!$CC$ac_delim
53577 CFLAGS!$CFLAGS$ac_delim
53578 LDFLAGS!$LDFLAGS$ac_delim
53579 CPPFLAGS!$CPPFLAGS$ac_delim
53580 ac_ct_CC!$ac_ct_CC$ac_delim
53581 EXEEXT!$EXEEXT$ac_delim
53582 OBJEXT!$OBJEXT$ac_delim
53583 CPP!$CPP$ac_delim
53584 GREP!$GREP$ac_delim
53585 EGREP!$EGREP$ac_delim
53586 CXX!$CXX$ac_delim
53587 CXXFLAGS!$CXXFLAGS$ac_delim
53588 ac_ct_CXX!$ac_ct_CXX$ac_delim
53589 AR!$AR$ac_delim
53590 subdirs!$subdirs$ac_delim
53591 PKG_CONFIG!$PKG_CONFIG$ac_delim
53592 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53593 GTK_LIBS!$GTK_LIBS$ac_delim
53594 GTK_CONFIG!$GTK_CONFIG$ac_delim
53595 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53596 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53597 XMKMF!$XMKMF$ac_delim
53598 X_CFLAGS!$X_CFLAGS$ac_delim
53599 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53600 X_LIBS!$X_LIBS$ac_delim
53601 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53602 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53603 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53604 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53605 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53606 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53607 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53608 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53609 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53610 LIBICONV!$LIBICONV$ac_delim
53611 SDL_CONFIG!$SDL_CONFIG$ac_delim
53612 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53613 SDL_LIBS!$SDL_LIBS$ac_delim
53614 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53615 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53616 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53617 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53618 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53619 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53620 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53621 HILDON_LIBS!$HILDON_LIBS$ac_delim
53622 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53623 _ACEOF
53624
53625 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53626 break
53627 elif $ac_last_try; then
53628 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53629 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53630 { (exit 1); exit 1; }; }
53631 else
53632 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53633 fi
53634 done
53635
53636 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53637 if test -n "$ac_eof"; then
53638 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53639 ac_eof=`expr $ac_eof + 1`
53640 fi
53641
53642 cat >>$CONFIG_STATUS <<_ACEOF
53643 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53644 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53645 _ACEOF
53646 sed '
53647 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53648 s/^/s,@/; s/!/@,|#_!!_#|/
53649 :n
53650 t n
53651 s/'"$ac_delim"'$/,g/; t
53652 s/$/\\/; p
53653 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53654 ' >>$CONFIG_STATUS <conf$$subs.sed
53655 rm -f conf$$subs.sed
53656 cat >>$CONFIG_STATUS <<_ACEOF
53657 CEOF$ac_eof
53658 _ACEOF
53659
53660
53661 ac_delim='%!_!# '
53662 for ac_last_try in false false false false false :; do
53663 cat >conf$$subs.sed <<_ACEOF
53664 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53665 GST_CFLAGS!$GST_CFLAGS$ac_delim
53666 GST_LIBS!$GST_LIBS$ac_delim
53667 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53668 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53669 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53670 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53671 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53672 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53673 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53674 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53675 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53676 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53677 VENDOR!$VENDOR$ac_delim
53678 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53679 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53680 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53681 WXUNIV!$WXUNIV$ac_delim
53682 MONOLITHIC!$MONOLITHIC$ac_delim
53683 USE_PLUGINS!$USE_PLUGINS$ac_delim
53684 CXXWARNINGS!$CXXWARNINGS$ac_delim
53685 EXTRALIBS!$EXTRALIBS$ac_delim
53686 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53687 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53688 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
53689 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53690 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53691 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53692 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53693 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53694 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53695 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53696 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53697 UNICODE!$UNICODE$ac_delim
53698 BUILD!$BUILD$ac_delim
53699 DEBUG_INFO!$DEBUG_INFO$ac_delim
53700 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53701 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53702 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53703 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53704 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53705 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53706 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53707 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53708 RANLIB!$RANLIB$ac_delim
53709 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53710 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53711 INSTALL_DATA!$INSTALL_DATA$ac_delim
53712 LN_S!$LN_S$ac_delim
53713 SET_MAKE!$SET_MAKE$ac_delim
53714 MAKE_SET!$MAKE_SET$ac_delim
53715 AROPTIONS!$AROPTIONS$ac_delim
53716 STRIP!$STRIP$ac_delim
53717 NM!$NM$ac_delim
53718 INSTALL_DIR!$INSTALL_DIR$ac_delim
53719 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53720 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53721 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53722 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53723 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53724 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53725 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53726 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53727 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53728 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53729 SO_SUFFIX!$SO_SUFFIX$ac_delim
53730 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53731 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53732 LIBPREFIX!$LIBPREFIX$ac_delim
53733 LIBEXT!$LIBEXT$ac_delim
53734 DLLPREFIX!$DLLPREFIX$ac_delim
53735 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53736 dlldir!$dlldir$ac_delim
53737 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53738 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53739 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53740 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53741 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53742 PIC_FLAG!$PIC_FLAG$ac_delim
53743 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53744 USE_SOVERSION!$USE_SOVERSION$ac_delim
53745 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53746 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53747 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53748 USE_MACVERSION!$USE_MACVERSION$ac_delim
53749 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53750 SONAME_FLAG!$SONAME_FLAG$ac_delim
53751 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53752 BK_DEPS!$BK_DEPS$ac_delim
53753 WINDRES!$WINDRES$ac_delim
53754 REZ!$REZ$ac_delim
53755 SETFILE!$SETFILE$ac_delim
53756 GCC_PCH!$GCC_PCH$ac_delim
53757 ICC_PCH!$ICC_PCH$ac_delim
53758 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53759 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53760 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53761 _ACEOF
53762
53763 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53764 break
53765 elif $ac_last_try; then
53766 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53767 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53768 { (exit 1); exit 1; }; }
53769 else
53770 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53771 fi
53772 done
53773
53774 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53775 if test -n "$ac_eof"; then
53776 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53777 ac_eof=`expr $ac_eof + 1`
53778 fi
53779
53780 cat >>$CONFIG_STATUS <<_ACEOF
53781 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53782 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53783 _ACEOF
53784 sed '
53785 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53786 s/^/s,@/; s/!/@,|#_!!_#|/
53787 :n
53788 t n
53789 s/'"$ac_delim"'$/,g/; t
53790 s/$/\\/; p
53791 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53792 ' >>$CONFIG_STATUS <conf$$subs.sed
53793 rm -f conf$$subs.sed
53794 cat >>$CONFIG_STATUS <<_ACEOF
53795 CEOF$ac_eof
53796 _ACEOF
53797
53798
53799 ac_delim='%!_!# '
53800 for ac_last_try in false false false false false :; do
53801 cat >conf$$subs.sed <<_ACEOF
53802 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53803 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53804 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53805 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53806 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53807 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53808 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53809 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53810 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53811 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53812 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53813 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53814 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53815 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53816 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53817 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53818 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53819 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53820 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53821 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53822 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53823 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53824 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53825 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53826 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53827 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53828 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53829 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53830 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53831 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53832 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53833 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53834 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53835 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53836 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53837 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53838 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53839 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53840 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53841 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53842 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53843 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53844 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53845 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53846 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53847 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53848 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53849 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53850 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53851 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53852 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
53853 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
53854 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
53855 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
53856 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
53857 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
53858 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
53859 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53860 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53861 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53862 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53863 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53864 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53865 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53866 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53867 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53868 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53869 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53870 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53871 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53872 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53873 COND_SHARED_0!$COND_SHARED_0$ac_delim
53874 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53875 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53876 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53877 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53878 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53879 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53880 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53881 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53882 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
53883 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
53884 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
53885 COND_SHARED_1!$COND_SHARED_1$ac_delim
53886 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53887 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53888 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53889 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53890 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53891 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53892 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53893 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53894 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53895 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53896 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53897 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53898 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
53899 _ACEOF
53900
53901 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53902 break
53903 elif $ac_last_try; then
53904 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53905 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53906 { (exit 1); exit 1; }; }
53907 else
53908 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53909 fi
53910 done
53911
53912 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53913 if test -n "$ac_eof"; then
53914 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53915 ac_eof=`expr $ac_eof + 1`
53916 fi
53917
53918 cat >>$CONFIG_STATUS <<_ACEOF
53919 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53920 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53921 _ACEOF
53922 sed '
53923 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53924 s/^/s,@/; s/!/@,|#_!!_#|/
53925 :n
53926 t n
53927 s/'"$ac_delim"'$/,g/; t
53928 s/$/\\/; p
53929 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53930 ' >>$CONFIG_STATUS <conf$$subs.sed
53931 rm -f conf$$subs.sed
53932 cat >>$CONFIG_STATUS <<_ACEOF
53933 CEOF$ac_eof
53934 _ACEOF
53935
53936
53937 ac_delim='%!_!# '
53938 for ac_last_try in false false false false false :; do
53939 cat >conf$$subs.sed <<_ACEOF
53940 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53941 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53942 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53943 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53944 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
53945 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
53946 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53947 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53948 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53949 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53950 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53951 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53952 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53953 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53954 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53955 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53956 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53957 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53958 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53959 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53960 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53961 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53962 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53963 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53964 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53965 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53966 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53967 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53968 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53969 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53970 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53971 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53972 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53973 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53974 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53975 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53976 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53977 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53978 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53979 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
53980 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53981 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53982 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53983 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53984 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53985 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53986 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53987 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53988 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53989 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53990 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53991 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53992 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53993 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53994 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53995 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53996 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53997 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53998 DEREZ!$DEREZ$ac_delim
53999 SHARED!$SHARED$ac_delim
54000 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54001 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54002 USE_GUI!$USE_GUI$ac_delim
54003 AFMINSTALL!$AFMINSTALL$ac_delim
54004 WIN32INSTALL!$WIN32INSTALL$ac_delim
54005 TOOLKIT!$TOOLKIT$ac_delim
54006 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54007 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54008 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54009 cross_compiling!$cross_compiling$ac_delim
54010 WIDGET_SET!$WIDGET_SET$ac_delim
54011 WX_RELEASE!$WX_RELEASE$ac_delim
54012 WX_VERSION!$WX_VERSION$ac_delim
54013 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54014 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54015 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
54016 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54017 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54018 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54019 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54020 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54021 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54022 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54023 GUIDIST!$GUIDIST$ac_delim
54024 DISTDIR!$DISTDIR$ac_delim
54025 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54026 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54027 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54028 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54029 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54030 RESCOMP!$RESCOMP$ac_delim
54031 RESFLAGS!$RESFLAGS$ac_delim
54032 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54033 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54034 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54035 LIBWXMACRES!$LIBWXMACRES$ac_delim
54036 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54037 _ACEOF
54038
54039 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54040 break
54041 elif $ac_last_try; then
54042 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54043 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54044 { (exit 1); exit 1; }; }
54045 else
54046 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54047 fi
54048 done
54049
54050 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54051 if test -n "$ac_eof"; then
54052 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54053 ac_eof=`expr $ac_eof + 1`
54054 fi
54055
54056 cat >>$CONFIG_STATUS <<_ACEOF
54057 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54058 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54059 _ACEOF
54060 sed '
54061 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54062 s/^/s,@/; s/!/@,|#_!!_#|/
54063 :n
54064 t n
54065 s/'"$ac_delim"'$/,g/; t
54066 s/$/\\/; p
54067 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54068 ' >>$CONFIG_STATUS <conf$$subs.sed
54069 rm -f conf$$subs.sed
54070 cat >>$CONFIG_STATUS <<_ACEOF
54071 CEOF$ac_eof
54072 _ACEOF
54073
54074
54075 ac_delim='%!_!# '
54076 for ac_last_try in false false false false false :; do
54077 cat >conf$$subs.sed <<_ACEOF
54078 MACSETFILE!$MACSETFILE$ac_delim
54079 GCC!$GCC$ac_delim
54080 DLLTOOL!$DLLTOOL$ac_delim
54081 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54082 LIBOBJS!$LIBOBJS$ac_delim
54083 LTLIBOBJS!$LTLIBOBJS$ac_delim
54084 _ACEOF
54085
54086 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 6; then
54087 break
54088 elif $ac_last_try; then
54089 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54090 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54091 { (exit 1); exit 1; }; }
54092 else
54093 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54094 fi
54095 done
54096
54097 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54098 if test -n "$ac_eof"; then
54099 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54100 ac_eof=`expr $ac_eof + 1`
54101 fi
54102
54103 cat >>$CONFIG_STATUS <<_ACEOF
54104 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54105 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54106 _ACEOF
54107 sed '
54108 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54109 s/^/s,@/; s/!/@,|#_!!_#|/
54110 :n
54111 t n
54112 s/'"$ac_delim"'$/,g/; t
54113 s/$/\\/; p
54114 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54115 ' >>$CONFIG_STATUS <conf$$subs.sed
54116 rm -f conf$$subs.sed
54117 cat >>$CONFIG_STATUS <<_ACEOF
54118 :end
54119 s/|#_!!_#|//g
54120 CEOF$ac_eof
54121 _ACEOF
54122
54123
54124 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54125 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54126 # trailing colons and then remove the whole line if VPATH becomes empty
54127 # (actually we leave an empty line to preserve line numbers).
54128 if test "x$srcdir" = x.; then
54129 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54130 s/:*\$(srcdir):*/:/
54131 s/:*\${srcdir}:*/:/
54132 s/:*@srcdir@:*/:/
54133 s/^\([^=]*=[ ]*\):*/\1/
54134 s/:*$//
54135 s/^[^=]*=[ ]*$//
54136 }'
54137 fi
54138
54139 cat >>$CONFIG_STATUS <<\_ACEOF
54140 fi # test -n "$CONFIG_FILES"
54141
54142
54143 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54144 do
54145 case $ac_tag in
54146 :[FHLC]) ac_mode=$ac_tag; continue;;
54147 esac
54148 case $ac_mode$ac_tag in
54149 :[FHL]*:*);;
54150 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54151 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54152 { (exit 1); exit 1; }; };;
54153 :[FH]-) ac_tag=-:-;;
54154 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54155 esac
54156 ac_save_IFS=$IFS
54157 IFS=:
54158 set x $ac_tag
54159 IFS=$ac_save_IFS
54160 shift
54161 ac_file=$1
54162 shift
54163
54164 case $ac_mode in
54165 :L) ac_source=$1;;
54166 :[FH])
54167 ac_file_inputs=
54168 for ac_f
54169 do
54170 case $ac_f in
54171 -) ac_f="$tmp/stdin";;
54172 *) # Look for the file first in the build tree, then in the source tree
54173 # (if the path is not absolute). The absolute path cannot be DOS-style,
54174 # because $ac_f cannot contain `:'.
54175 test -f "$ac_f" ||
54176 case $ac_f in
54177 [\\/$]*) false;;
54178 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54179 esac ||
54180 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54181 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54182 { (exit 1); exit 1; }; };;
54183 esac
54184 ac_file_inputs="$ac_file_inputs $ac_f"
54185 done
54186
54187 # Let's still pretend it is `configure' which instantiates (i.e., don't
54188 # use $as_me), people would be surprised to read:
54189 # /* config.h. Generated by config.status. */
54190 configure_input="Generated from "`IFS=:
54191 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54192 if test x"$ac_file" != x-; then
54193 configure_input="$ac_file. $configure_input"
54194 { echo "$as_me:$LINENO: creating $ac_file" >&5
54195 echo "$as_me: creating $ac_file" >&6;}
54196 fi
54197
54198 case $ac_tag in
54199 *:-:* | *:-) cat >"$tmp/stdin";;
54200 esac
54201 ;;
54202 esac
54203
54204 ac_dir=`$as_dirname -- "$ac_file" ||
54205 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54206 X"$ac_file" : 'X\(//\)[^/]' \| \
54207 X"$ac_file" : 'X\(//\)$' \| \
54208 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54209 echo X"$ac_file" |
54210 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54211 s//\1/
54212 q
54213 }
54214 /^X\(\/\/\)[^/].*/{
54215 s//\1/
54216 q
54217 }
54218 /^X\(\/\/\)$/{
54219 s//\1/
54220 q
54221 }
54222 /^X\(\/\).*/{
54223 s//\1/
54224 q
54225 }
54226 s/.*/./; q'`
54227 { as_dir="$ac_dir"
54228 case $as_dir in #(
54229 -*) as_dir=./$as_dir;;
54230 esac
54231 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54232 as_dirs=
54233 while :; do
54234 case $as_dir in #(
54235 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54236 *) as_qdir=$as_dir;;
54237 esac
54238 as_dirs="'$as_qdir' $as_dirs"
54239 as_dir=`$as_dirname -- "$as_dir" ||
54240 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54241 X"$as_dir" : 'X\(//\)[^/]' \| \
54242 X"$as_dir" : 'X\(//\)$' \| \
54243 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54244 echo X"$as_dir" |
54245 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54246 s//\1/
54247 q
54248 }
54249 /^X\(\/\/\)[^/].*/{
54250 s//\1/
54251 q
54252 }
54253 /^X\(\/\/\)$/{
54254 s//\1/
54255 q
54256 }
54257 /^X\(\/\).*/{
54258 s//\1/
54259 q
54260 }
54261 s/.*/./; q'`
54262 test -d "$as_dir" && break
54263 done
54264 test -z "$as_dirs" || eval "mkdir $as_dirs"
54265 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54266 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54267 { (exit 1); exit 1; }; }; }
54268 ac_builddir=.
54269
54270 case "$ac_dir" in
54271 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54272 *)
54273 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54274 # A ".." for each directory in $ac_dir_suffix.
54275 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54276 case $ac_top_builddir_sub in
54277 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54278 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54279 esac ;;
54280 esac
54281 ac_abs_top_builddir=$ac_pwd
54282 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54283 # for backward compatibility:
54284 ac_top_builddir=$ac_top_build_prefix
54285
54286 case $srcdir in
54287 .) # We are building in place.
54288 ac_srcdir=.
54289 ac_top_srcdir=$ac_top_builddir_sub
54290 ac_abs_top_srcdir=$ac_pwd ;;
54291 [\\/]* | ?:[\\/]* ) # Absolute name.
54292 ac_srcdir=$srcdir$ac_dir_suffix;
54293 ac_top_srcdir=$srcdir
54294 ac_abs_top_srcdir=$srcdir ;;
54295 *) # Relative name.
54296 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54297 ac_top_srcdir=$ac_top_build_prefix$srcdir
54298 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54299 esac
54300 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54301
54302
54303 case $ac_mode in
54304 :F)
54305 #
54306 # CONFIG_FILE
54307 #
54308
54309 case $INSTALL in
54310 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54311 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54312 esac
54313 _ACEOF
54314
54315 cat >>$CONFIG_STATUS <<\_ACEOF
54316 # If the template does not know about datarootdir, expand it.
54317 # FIXME: This hack should be removed a few years after 2.60.
54318 ac_datarootdir_hack=; ac_datarootdir_seen=
54319
54320 case `sed -n '/datarootdir/ {
54321 p
54322 q
54323 }
54324 /@datadir@/p
54325 /@docdir@/p
54326 /@infodir@/p
54327 /@localedir@/p
54328 /@mandir@/p
54329 ' $ac_file_inputs` in
54330 *datarootdir*) ac_datarootdir_seen=yes;;
54331 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54332 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54333 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54334 _ACEOF
54335 cat >>$CONFIG_STATUS <<_ACEOF
54336 ac_datarootdir_hack='
54337 s&@datadir@&$datadir&g
54338 s&@docdir@&$docdir&g
54339 s&@infodir@&$infodir&g
54340 s&@localedir@&$localedir&g
54341 s&@mandir@&$mandir&g
54342 s&\\\${datarootdir}&$datarootdir&g' ;;
54343 esac
54344 _ACEOF
54345
54346 # Neutralize VPATH when `$srcdir' = `.'.
54347 # Shell code in configure.ac might set extrasub.
54348 # FIXME: do we really want to maintain this feature?
54349 cat >>$CONFIG_STATUS <<_ACEOF
54350 sed "$ac_vpsub
54351 $extrasub
54352 _ACEOF
54353 cat >>$CONFIG_STATUS <<\_ACEOF
54354 :t
54355 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54356 s&@configure_input@&$configure_input&;t t
54357 s&@top_builddir@&$ac_top_builddir_sub&;t t
54358 s&@srcdir@&$ac_srcdir&;t t
54359 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54360 s&@top_srcdir@&$ac_top_srcdir&;t t
54361 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54362 s&@builddir@&$ac_builddir&;t t
54363 s&@abs_builddir@&$ac_abs_builddir&;t t
54364 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54365 s&@INSTALL@&$ac_INSTALL&;t t
54366 $ac_datarootdir_hack
54367 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" | sed -f "$tmp/subs-4.sed" | sed -f "$tmp/subs-5.sed" >$tmp/out
54368
54369 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54370 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54371 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54372 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54373 which seems to be undefined. Please make sure it is defined." >&5
54374 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54375 which seems to be undefined. Please make sure it is defined." >&2;}
54376
54377 rm -f "$tmp/stdin"
54378 case $ac_file in
54379 -) cat "$tmp/out"; rm -f "$tmp/out";;
54380 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54381 esac
54382 ;;
54383 :H)
54384 #
54385 # CONFIG_HEADER
54386 #
54387 _ACEOF
54388
54389 # Transform confdefs.h into a sed script `conftest.defines', that
54390 # substitutes the proper values into config.h.in to produce config.h.
54391 rm -f conftest.defines conftest.tail
54392 # First, append a space to every undef/define line, to ease matching.
54393 echo 's/$/ /' >conftest.defines
54394 # Then, protect against being on the right side of a sed subst, or in
54395 # an unquoted here document, in config.status. If some macros were
54396 # called several times there might be several #defines for the same
54397 # symbol, which is useless. But do not sort them, since the last
54398 # AC_DEFINE must be honored.
54399 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54400 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54401 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54402 # PARAMS is the parameter list in the macro definition--in most cases, it's
54403 # just an empty string.
54404 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54405 ac_dB='\\)[ (].*,\\1define\\2'
54406 ac_dC=' '
54407 ac_dD=' ,'
54408
54409 uniq confdefs.h |
54410 sed -n '
54411 t rset
54412 :rset
54413 s/^[ ]*#[ ]*define[ ][ ]*//
54414 t ok
54415 d
54416 :ok
54417 s/[\\&,]/\\&/g
54418 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54419 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54420 ' >>conftest.defines
54421
54422 # Remove the space that was appended to ease matching.
54423 # Then replace #undef with comments. This is necessary, for
54424 # example, in the case of _POSIX_SOURCE, which is predefined and required
54425 # on some systems where configure will not decide to define it.
54426 # (The regexp can be short, since the line contains either #define or #undef.)
54427 echo 's/ $//
54428 s,^[ #]*u.*,/* & */,' >>conftest.defines
54429
54430 # Break up conftest.defines:
54431 ac_max_sed_lines=50
54432
54433 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54434 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54435 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54436 # et cetera.
54437 ac_in='$ac_file_inputs'
54438 ac_out='"$tmp/out1"'
54439 ac_nxt='"$tmp/out2"'
54440
54441 while :
54442 do
54443 # Write a here document:
54444 cat >>$CONFIG_STATUS <<_ACEOF
54445 # First, check the format of the line:
54446 cat >"\$tmp/defines.sed" <<\\CEOF
54447 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54448 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54449 b
54450 :def
54451 _ACEOF
54452 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54453 echo 'CEOF
54454 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54455 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54456 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54457 grep . conftest.tail >/dev/null || break
54458 rm -f conftest.defines
54459 mv conftest.tail conftest.defines
54460 done
54461 rm -f conftest.defines conftest.tail
54462
54463 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54464 cat >>$CONFIG_STATUS <<\_ACEOF
54465 if test x"$ac_file" != x-; then
54466 echo "/* $configure_input */" >"$tmp/config.h"
54467 cat "$ac_result" >>"$tmp/config.h"
54468 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54469 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54470 echo "$as_me: $ac_file is unchanged" >&6;}
54471 else
54472 rm -f $ac_file
54473 mv "$tmp/config.h" $ac_file
54474 fi
54475 else
54476 echo "/* $configure_input */"
54477 cat "$ac_result"
54478 fi
54479 rm -f "$tmp/out12"
54480 ;;
54481
54482 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54483 echo "$as_me: executing $ac_file commands" >&6;}
54484 ;;
54485 esac
54486
54487
54488 case $ac_file$ac_mode in
54489 "rcdefs.h":C)
54490 mkdir -p $outdir &&
54491 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54492 ;;
54493 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54494 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54495 "wx-config":C) rm -f wx-config
54496 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54497 ;;
54498
54499 esac
54500 done # for ac_tag
54501
54502
54503 { (exit 0); exit 0; }
54504 _ACEOF
54505 chmod +x $CONFIG_STATUS
54506 ac_clean_files=$ac_clean_files_save
54507
54508
54509 # configure is writing to config.log, and then calls config.status.
54510 # config.status does its own redirection, appending to config.log.
54511 # Unfortunately, on DOS this fails, as config.log is still kept open
54512 # by configure, so config.status won't be able to write to it; its
54513 # output is simply discarded. So we exec the FD to /dev/null,
54514 # effectively closing config.log, so it can be properly (re)opened and
54515 # appended to by config.status. When coming back to configure, we
54516 # need to make the FD available again.
54517 if test "$no_create" != yes; then
54518 ac_cs_success=:
54519 ac_config_status_args=
54520 test "$silent" = yes &&
54521 ac_config_status_args="$ac_config_status_args --quiet"
54522 exec 5>/dev/null
54523 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54524 exec 5>>config.log
54525 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54526 # would make configure fail if this is the last instruction.
54527 $ac_cs_success || { (exit 1); exit 1; }
54528 fi
54529
54530 #
54531 # CONFIG_SUBDIRS section.
54532 #
54533 if test "$no_recursion" != yes; then
54534
54535 # Remove --cache-file and --srcdir arguments so they do not pile up.
54536 ac_sub_configure_args=
54537 ac_prev=
54538 eval "set x $ac_configure_args"
54539 shift
54540 for ac_arg
54541 do
54542 if test -n "$ac_prev"; then
54543 ac_prev=
54544 continue
54545 fi
54546 case $ac_arg in
54547 -cache-file | --cache-file | --cache-fil | --cache-fi \
54548 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54549 ac_prev=cache_file ;;
54550 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54551 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54552 | --c=*)
54553 ;;
54554 --config-cache | -C)
54555 ;;
54556 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54557 ac_prev=srcdir ;;
54558 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54559 ;;
54560 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54561 ac_prev=prefix ;;
54562 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54563 ;;
54564 *)
54565 case $ac_arg in
54566 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54567 esac
54568 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54569 esac
54570 done
54571
54572 # Always prepend --prefix to ensure using the same prefix
54573 # in subdir configurations.
54574 ac_arg="--prefix=$prefix"
54575 case $ac_arg in
54576 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54577 esac
54578 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54579
54580 # Pass --silent
54581 if test "$silent" = yes; then
54582 ac_sub_configure_args="--silent $ac_sub_configure_args"
54583 fi
54584
54585 ac_popdir=`pwd`
54586 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54587
54588 # Do not complain, so a configure script can configure whichever
54589 # parts of a large source tree are present.
54590 test -d "$srcdir/$ac_dir" || continue
54591
54592 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54593 echo "$as_me:$LINENO: $ac_msg" >&5
54594 echo "$ac_msg" >&6
54595 { as_dir="$ac_dir"
54596 case $as_dir in #(
54597 -*) as_dir=./$as_dir;;
54598 esac
54599 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54600 as_dirs=
54601 while :; do
54602 case $as_dir in #(
54603 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54604 *) as_qdir=$as_dir;;
54605 esac
54606 as_dirs="'$as_qdir' $as_dirs"
54607 as_dir=`$as_dirname -- "$as_dir" ||
54608 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54609 X"$as_dir" : 'X\(//\)[^/]' \| \
54610 X"$as_dir" : 'X\(//\)$' \| \
54611 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54612 echo X"$as_dir" |
54613 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54614 s//\1/
54615 q
54616 }
54617 /^X\(\/\/\)[^/].*/{
54618 s//\1/
54619 q
54620 }
54621 /^X\(\/\/\)$/{
54622 s//\1/
54623 q
54624 }
54625 /^X\(\/\).*/{
54626 s//\1/
54627 q
54628 }
54629 s/.*/./; q'`
54630 test -d "$as_dir" && break
54631 done
54632 test -z "$as_dirs" || eval "mkdir $as_dirs"
54633 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54634 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54635 { (exit 1); exit 1; }; }; }
54636 ac_builddir=.
54637
54638 case "$ac_dir" in
54639 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54640 *)
54641 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54642 # A ".." for each directory in $ac_dir_suffix.
54643 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54644 case $ac_top_builddir_sub in
54645 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54646 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54647 esac ;;
54648 esac
54649 ac_abs_top_builddir=$ac_pwd
54650 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54651 # for backward compatibility:
54652 ac_top_builddir=$ac_top_build_prefix
54653
54654 case $srcdir in
54655 .) # We are building in place.
54656 ac_srcdir=.
54657 ac_top_srcdir=$ac_top_builddir_sub
54658 ac_abs_top_srcdir=$ac_pwd ;;
54659 [\\/]* | ?:[\\/]* ) # Absolute name.
54660 ac_srcdir=$srcdir$ac_dir_suffix;
54661 ac_top_srcdir=$srcdir
54662 ac_abs_top_srcdir=$srcdir ;;
54663 *) # Relative name.
54664 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54665 ac_top_srcdir=$ac_top_build_prefix$srcdir
54666 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54667 esac
54668 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54669
54670
54671 cd "$ac_dir"
54672
54673 # Check for guested configure; otherwise get Cygnus style configure.
54674 if test -f "$ac_srcdir/configure.gnu"; then
54675 ac_sub_configure=$ac_srcdir/configure.gnu
54676 elif test -f "$ac_srcdir/configure"; then
54677 ac_sub_configure=$ac_srcdir/configure
54678 elif test -f "$ac_srcdir/configure.in"; then
54679 # This should be Cygnus configure.
54680 ac_sub_configure=$ac_aux_dir/configure
54681 else
54682 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54683 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54684 ac_sub_configure=
54685 fi
54686
54687 # The recursion is here.
54688 if test -n "$ac_sub_configure"; then
54689 # Make the cache file name correct relative to the subdirectory.
54690 case $cache_file in
54691 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54692 *) # Relative name.
54693 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54694 esac
54695
54696 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54697 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54698 # The eval makes quoting arguments work.
54699 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54700 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54701 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54702 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54703 { (exit 1); exit 1; }; }
54704 fi
54705
54706 cd "$ac_popdir"
54707 done
54708 fi
54709
54710
54711 echo
54712 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54713 echo ""
54714 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54715 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54716
54717 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54718 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54719 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54720 if test "$wxUSE_UNICODE" = "yes"; then
54721 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54722 echo " (using UTF-8)"
54723 else
54724 echo " (using wchar_t)"
54725 fi
54726 else
54727 echo
54728 fi
54729
54730 echo " What level of wxWidgets compatibility should be enabled?"
54731 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54732 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54733
54734 echo " Which libraries should wxWidgets use?"
54735 echo " STL ${wxUSE_STL}"
54736 echo " jpeg ${wxUSE_LIBJPEG-none}"
54737 echo " png ${wxUSE_LIBPNG-none}"
54738 echo " regex ${wxUSE_REGEX}"
54739 echo " tiff ${wxUSE_LIBTIFF-none}"
54740 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54741 echo " xpm ${wxUSE_LIBXPM-none}"
54742 fi
54743 echo " zlib ${wxUSE_ZLIB}"
54744 echo " expat ${wxUSE_EXPAT}"
54745 echo " libmspack ${wxUSE_LIBMSPACK}"
54746 echo " sdl ${wxUSE_LIBSDL}"
54747
54748 echo ""
54749